1 diff -ruN libsigcx-0.6.4-patched/Makefile.in libsigcx-0.6.4-regen/Makefile.in
2 --- libsigcx-0.6.4-patched/Makefile.in 2003-06-03 10:02:24.000000000 -0700
3 +++ libsigcx-0.6.4-regen/Makefile.in 2005-05-06 21:21:31.000000000 -0700
5 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
7 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
9 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
10 -# Free Software Foundation, Inc.
11 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12 # This Makefile.in is free software; the Free Software Foundation
13 # gives unlimited permission to copy and/or distribute it,
14 # with or without modifications, as long as this notice is preserved.
16 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
24 top_srcdir = @top_srcdir@
27 +exec_prefix = @exec_prefix@
31 +libexecdir = @libexecdir@
33 +sysconfdir = @sysconfdir@
34 +sharedstatedir = @sharedstatedir@
35 +localstatedir = @localstatedir@
39 +includedir = @includedir@
40 +oldincludedir = /usr/include
44 pkgdatadir = $(datadir)/@PACKAGE@
45 pkglibdir = $(libdir)/@PACKAGE@
46 pkgincludedir = $(includedir)/@PACKAGE@
50 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
52 +AUTOCONF = @AUTOCONF@
53 +AUTOMAKE = @AUTOMAKE@
54 +AUTOHEADER = @AUTOHEADER@
57 -install_sh_DATA = $(install_sh) -c -m 644
58 -install_sh_PROGRAM = $(install_sh) -c
59 -install_sh_SCRIPT = $(install_sh) -c
60 -INSTALL_HEADER = $(INSTALL_DATA)
61 -transform = $(program_transform_name)
62 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
63 +INSTALL_DATA = @INSTALL_DATA@
64 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
65 +transform = @program_transform_name@
73 +host_alias = @host_alias@
76 -AMDEP_FALSE = @AMDEP_FALSE@
77 -AMDEP_TRUE = @AMDEP_TRUE@
80 -AUTOCONF = @AUTOCONF@
81 -AUTOHEADER = @AUTOHEADER@
82 -AUTOMAKE = @AUTOMAKE@
86 -CCDEPMODE = @CCDEPMODE@
89 -CPPFLAGS = @CPPFLAGS@
92 -CXXDEPMODE = @CXXDEPMODE@
94 -CYGPATH_W = @CYGPATH_W@
107 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
108 -GTHREAD_LIBS = @GTHREAD_LIBS@
110 +GCJFLAGS = @GCJFLAGS@
112 GTK_CFLAGS = @GTK_CFLAGS@
113 GTK_LIBS = @GTK_LIBS@
114 -INSTALL_DATA = @INSTALL_DATA@
115 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
116 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
117 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
118 +HAVE_LIB = @HAVE_LIB@
126 -LTLIBOBJS = @LTLIBOBJS@
129 MAKEINFO = @MAKEINFO@
130 MAYBE_DOC = @MAYBE_DOC@
134 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
135 -PACKAGE_NAME = @PACKAGE_NAME@
136 -PACKAGE_STRING = @PACKAGE_STRING@
137 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
138 -PACKAGE_VERSION = @PACKAGE_VERSION@
139 -PATH_SEPARATOR = @PATH_SEPARATOR@
141 PKG_CONFIG = @PKG_CONFIG@
142 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
143 PTHREAD_LIBS = @PTHREAD_LIBS@
145 -SET_MAKE = @SET_MAKE@
148 SIGCX_BRANCH = @SIGCX_BRANCH@
149 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
150 SIGC_CFLAGS = @SIGC_CFLAGS@
151 SIGC_LIBS = @SIGC_LIBS@
152 +SIGC_MACROS = @SIGC_MACROS@
154 THREADS_USED = @THREADS_USED@
155 THREAD_CFLAGS = @THREAD_CFLAGS@
156 THREAD_LIBS = @THREAD_LIBS@
158 -ac_ct_AR = @ac_ct_AR@
159 -ac_ct_CC = @ac_ct_CC@
160 -ac_ct_CXX = @ac_ct_CXX@
161 -ac_ct_F77 = @ac_ct_F77@
162 -ac_ct_RANLIB = @ac_ct_RANLIB@
163 -ac_ct_STRIP = @ac_ct_STRIP@
164 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
165 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
166 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
167 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
168 -am__include = @am__include@
169 -am__leading_dot = @am__leading_dot@
170 -am__quote = @am__quote@
173 -build_alias = @build_alias@
174 -build_cpu = @build_cpu@
175 -build_os = @build_os@
176 -build_vendor = @build_vendor@
178 -exec_prefix = @exec_prefix@
180 -host_alias = @host_alias@
181 -host_cpu = @host_cpu@
183 -host_vendor = @host_vendor@
184 -includedir = @includedir@
186 -install_sh = @install_sh@
188 -libexecdir = @libexecdir@
189 -localstatedir = @localstatedir@
191 -oldincludedir = @oldincludedir@
193 -program_transform_name = @program_transform_name@
195 -sharedstatedir = @sharedstatedir@
196 -sysconfdir = @sysconfdir@
197 -target_alias = @target_alias@
199 SUBDIRS = sigcx tests @MAYBE_DOC@
200 DIST_SUBDIRS = sigcx tests examples doc scripts
201 +EXTRA_DIST = autogen.sh
203 ACLOCAL_AMFLAGS = -I scripts
205 @@ -158,87 +116,79 @@
206 libinc_HEADERS = sigcxconfig.h
208 DISTCLEANFILES = sigcxconfig.h
210 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
211 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
212 CONFIG_HEADER = config.h
213 -CONFIG_CLEAN_FILES =
215 -HEADERS = $(libinc_HEADERS)
216 +CONFIG_CLEAN_FILES =
217 +HEADERS = $(libinc_HEADERS)
219 +DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
220 +Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \
223 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
224 - ps-recursive install-info-recursive uninstall-info-recursive \
225 - all-recursive install-data-recursive install-exec-recursive \
226 - installdirs-recursive install-recursive uninstall-recursive \
227 - check-recursive installcheck-recursive
228 -DIST_COMMON = README $(libinc_HEADERS) AUTHORS COPYING ChangeLog \
229 - INSTALL Makefile.am Makefile.in NEWS aclocal.m4 config.h.in \
230 - configure configure.ac
232 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
234 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
240 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
241 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
243 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
245 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
246 - cd $(top_srcdir) && \
247 - $(AUTOMAKE) --gnu Makefile
248 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
249 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
250 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
251 + cd $(top_builddir) \
252 + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
254 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
255 +$(ACLOCAL_M4): configure.ac scripts/macros.m4 scripts/pthread.m4
256 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
258 +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
259 $(SHELL) ./config.status --recheck
260 -$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
261 +$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
262 cd $(srcdir) && $(AUTOCONF)
264 -$(ACLOCAL_M4): configure.ac scripts/libtool.m4 scripts/macros.m4 scripts/pthread.m4
265 - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
269 @if test ! -f $@; then \
271 - $(MAKE) stamp-h1; \
275 +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
276 + cd $(top_builddir) \
277 + && CONFIG_FILES= CONFIG_HEADERS=config.h \
278 + $(SHELL) ./config.status
279 + @echo timestamp > stamp-h 2> /dev/null
280 +$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
281 + @if test ! -f $@; then \
282 + rm -f $(srcdir)/stamp-h.in; \
283 + $(MAKE) $(srcdir)/stamp-h.in; \
285 +$(srcdir)/stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
286 + cd $(top_srcdir) && $(AUTOHEADER)
287 + @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
289 -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
291 - cd $(top_builddir) && $(SHELL) ./config.status config.h
294 -$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
295 - cd $(top_srcdir) && $(AUTOHEADER)
296 - touch $(srcdir)/config.h.in
300 - -rm -f config.h stamp-h1
303 -mostlyclean-libtool:
305 +maintainer-clean-hdr:
308 - -rm -rf .libs _libs
313 -libincHEADERS_INSTALL = $(INSTALL_HEADER)
314 install-libincHEADERS: $(libinc_HEADERS)
316 $(mkinstalldirs) $(DESTDIR)$(libincdir)
317 @list='$(libinc_HEADERS)'; for p in $$list; do \
318 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
319 - f="`echo $$p | sed -e 's|^.*/||'`"; \
320 - echo " $(libincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libincdir)/$$f"; \
321 - $(libincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libincdir)/$$f; \
322 + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
323 + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libincdir)/$$p"; \
324 + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libincdir)/$$p; \
327 uninstall-libincHEADERS:
329 - @list='$(libinc_HEADERS)'; for p in $$list; do \
330 - f="`echo $$p | sed -e 's|^.*/||'`"; \
331 - echo " rm -f $(DESTDIR)$(libincdir)/$$f"; \
332 - rm -f $(DESTDIR)$(libincdir)/$$f; \
333 + list='$(libinc_HEADERS)'; for p in $$list; do \
334 + rm -f $(DESTDIR)$(libincdir)/$$p; \
337 # This directory's subdirectories are mostly independent; you can cd
339 # (1) if the variable is set in `config.status', edit `config.status'
340 # (which will cause the Makefiles to be regenerated when you run `make');
341 # (2) otherwise, pass the desired values on the `make' command line.
342 -$(RECURSIVE_TARGETS):
343 - @set fnord $$MAKEFLAGS; amf=$$2; \
347 +all-recursive install-data-recursive install-exec-recursive \
348 +installdirs-recursive install-recursive uninstall-recursive \
349 +check-recursive installcheck-recursive info-recursive dvi-recursive:
350 + @set fnord $(MAKEFLAGS); amf=$$2; \
352 target=`echo $@ | sed s/-recursive//`; \
353 list='$(SUBDIRS)'; for subdir in $$list; do \
354 @@ -268,18 +223,13 @@
356 mostlyclean-recursive clean-recursive distclean-recursive \
357 maintainer-clean-recursive:
358 - @set fnord $$MAKEFLAGS; amf=$$2; \
359 + @set fnord $(MAKEFLAGS); amf=$$2; \
362 - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
363 - *) list='$(SUBDIRS)' ;; \
365 - rev=''; for subdir in $$list; do \
366 - if test "$$subdir" = "."; then :; else \
367 - rev="$$subdir $$rev"; \
369 + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
370 + rev="$$subdir $$rev"; \
371 + test "$$subdir" != "." || dot_seen=yes; \
374 + test "$$dot_seen" = "no" && rev=". $$rev"; \
375 target=`echo $@ | sed s/-recursive//`; \
376 for subdir in $$rev; do \
377 echo "Making $$target in $$subdir"; \
378 @@ -295,300 +245,176 @@
379 list='$(SUBDIRS)'; for subdir in $$list; do \
380 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
383 - list='$(SUBDIRS)'; for subdir in $$list; do \
384 - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
395 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
396 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
397 - unique=`for i in $$list; do \
398 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
400 - $(AWK) ' { files[$$0] = 1; } \
401 +ID: $(HEADERS) $(SOURCES) $(LISP)
402 + list='$(SOURCES) $(HEADERS)'; \
403 + unique=`for i in $$list; do echo $$i; done | \
404 + awk ' { files[$$0] = 1; } \
405 END { for (i in files) print i; }'`; \
407 + here=`pwd` && cd $(srcdir) \
408 + && mkid -f$$here/ID $$unique $(LISP)
410 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
411 - $(TAGS_FILES) $(LISP)
412 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
415 - if (etags --etags-include --version) >/dev/null 2>&1; then \
416 - include_option=--etags-include; \
418 - include_option=--include; \
420 list='$(SUBDIRS)'; for subdir in $$list; do \
421 - if test "$$subdir" = .; then :; else \
422 - test -f $$subdir/TAGS && \
423 - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
425 + if test "$$subdir" = .; then :; else \
426 + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
429 - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
430 - unique=`for i in $$list; do \
431 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 - $(AWK) ' { files[$$0] = 1; } \
434 - END { for (i in files) print i; }'`; \
435 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
436 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
440 -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
441 - $(TAGS_FILES) $(LISP)
444 - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
445 - unique=`for i in $$list; do \
446 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448 - $(AWK) ' { files[$$0] = 1; } \
449 + list='$(SOURCES) $(HEADERS)'; \
450 + unique=`for i in $$list; do echo $$i; done | \
451 + awk ' { files[$$0] = 1; } \
452 END { for (i in files) print i; }'`; \
453 - test -z "$(CTAGS_ARGS)$$tags$$unique" \
454 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
458 - here=`$(am__cd) $(top_builddir) && pwd` \
459 - && cd $(top_srcdir) \
460 - && gtags -i $(GTAGS_ARGS) $$here
461 + test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
462 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
465 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
466 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
470 -distdir = $(PACKAGE)-$(VERSION)
473 -am__remove_distdir = \
474 - { test ! -d $(distdir) \
475 - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
476 - && rm -fr $(distdir); }; }
481 -distuninstallcheck_listfiles = find . -type f -print
482 -distcleancheck_listfiles = find . -type f -print
483 +maintainer-clean-tags:
485 +distdir = $(PACKAGE)-$(VERSION)
486 +top_distdir = $(distdir)
488 +# This target untars the dist file and tries a VPATH configuration. Then
489 +# it guarantees that the distribution is self-contained by making another
493 + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
494 + mkdir $(distdir)/=build
495 + mkdir $(distdir)/=inst
496 + dc_install_base=`cd $(distdir)/=inst && pwd`; \
497 + cd $(distdir)/=build \
498 + && ../configure --srcdir=.. --prefix=$$dc_install_base \
499 + && $(MAKE) $(AM_MAKEFLAGS) \
500 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
501 + && $(MAKE) $(AM_MAKEFLAGS) check \
502 + && $(MAKE) $(AM_MAKEFLAGS) install \
503 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
504 + && $(MAKE) $(AM_MAKEFLAGS) dist
506 + @banner="$(distdir).tar.gz is ready for distribution"; \
507 + dashes=`echo "$$banner" | sed s/./=/g`; \
512 + -chmod -R a+r $(distdir)
513 + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
516 + -chmod -R a+r $(distdir)
517 + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
519 distdir: $(DISTFILES)
520 - $(am__remove_distdir)
523 - $(mkinstalldirs) $(distdir)/sigcx
524 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
525 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
526 - list='$(DISTFILES)'; for file in $$list; do \
528 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
529 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
531 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
532 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
533 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
535 - $(mkinstalldirs) "$(distdir)$$dir"; \
539 + -chmod 777 $(distdir)
540 + @for file in $(DISTFILES); do \
542 if test -d $$d/$$file; then \
543 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
544 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
546 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
547 + cp -pr $$d/$$file $(distdir)/$$file; \
549 test -f $(distdir)/$$file \
550 - || cp -p $$d/$$file $(distdir)/$$file \
552 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
553 + || cp -p $$d/$$file $(distdir)/$$file || :; \
556 - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
557 + for subdir in $(DIST_SUBDIRS); do \
558 if test "$$subdir" = .; then :; else \
559 test -d $(distdir)/$$subdir \
560 || mkdir $(distdir)/$$subdir \
563 - $(MAKE) $(AM_MAKEFLAGS) \
564 - top_distdir="$(top_distdir)" \
565 - distdir=../$(distdir)/$$subdir \
567 + chmod 777 $(distdir)/$$subdir; \
568 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
572 - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
573 - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
574 - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
575 - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
576 - || chmod -R a+r $(distdir)
578 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
579 - $(am__remove_distdir)
581 -dist dist-all: distdir
582 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
583 - $(am__remove_distdir)
585 -# This target untars the dist file and tries a VPATH configuration. Then
586 -# it guarantees that the distribution is self-contained by making another
589 - $(am__remove_distdir)
590 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
591 - chmod -R a-w $(distdir); chmod a+w $(distdir)
592 - mkdir $(distdir)/_build
593 - mkdir $(distdir)/_inst
594 - chmod a-w $(distdir)
595 - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
596 - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
597 - && cd $(distdir)/_build \
598 - && ../configure --srcdir=.. --prefix="$$dc_install_base" \
599 - $(DISTCHECK_CONFIGURE_FLAGS) \
600 - && $(MAKE) $(AM_MAKEFLAGS) \
601 - && $(MAKE) $(AM_MAKEFLAGS) dvi \
602 - && $(MAKE) $(AM_MAKEFLAGS) check \
603 - && $(MAKE) $(AM_MAKEFLAGS) install \
604 - && $(MAKE) $(AM_MAKEFLAGS) installcheck \
605 - && $(MAKE) $(AM_MAKEFLAGS) uninstall \
606 - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
607 - distuninstallcheck \
608 - && chmod -R a-w "$$dc_install_base" \
610 - (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
611 - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
612 - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
613 - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
614 - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
615 - } || { rm -rf "$$dc_destdir"; exit 1; }) \
616 - && rm -rf "$$dc_destdir" \
617 - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
618 - && rm -f $(distdir).tar.gz \
619 - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
620 - $(am__remove_distdir)
621 - @echo "$(distdir).tar.gz is ready for distribution" | \
622 - sed 'h;s/./=/g;p;x;p;x'
624 - @cd $(distuninstallcheck_dir) \
625 - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
626 - || { echo "ERROR: files left after uninstall:" ; \
627 - if test -n "$(DESTDIR)"; then \
628 - echo " (check DESTDIR support)"; \
630 - $(distuninstallcheck_listfiles) ; \
632 -distcleancheck: distclean
633 - @if test '$(srcdir)' = . ; then \
634 - echo "ERROR: distcleancheck can only run from a VPATH build" ; \
637 - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
638 - || { echo "ERROR: files left in build directory after distclean:" ; \
639 - $(distcleancheck_listfiles) ; \
642 +info: info-recursive
646 check: check-recursive
647 -all-am: Makefile $(HEADERS) config.h
648 -installdirs: installdirs-recursive
650 - $(mkinstalldirs) $(DESTDIR)$(libincdir)
652 +installcheck: installcheck-recursive
653 +all-recursive-am: config.h
654 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
656 -install: install-recursive
658 install-exec: install-exec-recursive
660 +install-data-am: install-libincHEADERS
661 install-data: install-data-recursive
662 -uninstall: uninstall-recursive
665 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
667 -installcheck: installcheck-recursive
668 +install: install-recursive
669 +uninstall-am: uninstall-libincHEADERS
670 +uninstall: uninstall-recursive
671 +all-am: Makefile $(HEADERS) config.h
672 +all-redirect: all-recursive-am
674 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
675 - INSTALL_STRIP_FLAG=-s \
676 - `test -z '$(STRIP)' || \
677 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
678 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
679 +installdirs: installdirs-recursive
681 + $(mkinstalldirs) $(DESTDIR)$(libincdir)
689 -rm -f Makefile $(CONFIG_CLEAN_FILES)
690 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
691 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
693 maintainer-clean-generic:
694 - @echo "This command is intended for maintainers to use"
695 - @echo "it deletes files that may require special tools to rebuild."
696 -clean: clean-recursive
698 -clean-am: clean-generic clean-libtool mostlyclean-am
699 +mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
701 -distclean: distclean-recursive
702 - -rm -f $(am__CONFIG_DISTCLEAN_FILES)
703 -distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
710 -info: info-recursive
713 +mostlyclean: mostlyclean-recursive
715 -install-data-am: install-libincHEADERS
716 +clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
719 +clean: clean-recursive
721 -install-info: install-info-recursive
722 +distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
726 +distclean: distclean-recursive
727 + -rm -f config.status
730 +maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
731 + maintainer-clean-generic distclean-am
732 + @echo "This command is intended for maintainers to use;"
733 + @echo "it deletes files that may require special tools to rebuild."
735 maintainer-clean: maintainer-clean-recursive
736 - -rm -f $(am__CONFIG_DISTCLEAN_FILES)
737 - -rm -rf autom4te.cache
738 -maintainer-clean-am: distclean-am maintainer-clean-generic
740 -mostlyclean: mostlyclean-recursive
742 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
747 + -rm -f config.status
750 +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
751 +uninstall-libincHEADERS install-libincHEADERS install-data-recursive \
752 +uninstall-data-recursive install-exec-recursive \
753 +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
754 +all-recursive check-recursive installcheck-recursive info-recursive \
755 +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
756 +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
757 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
758 +dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
759 +install-exec-am install-exec install-data-am install-data install-am \
760 +install uninstall-am uninstall all-redirect all-am all installdirs-am \
761 +installdirs mostlyclean-generic distclean-generic clean-generic \
762 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
766 -uninstall-am: uninstall-info-am uninstall-libincHEADERS
768 -uninstall-info: uninstall-info-recursive
770 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
771 - clean-generic clean-libtool clean-recursive ctags \
772 - ctags-recursive dist dist-all dist-gzip distcheck distclean \
773 - distclean-generic distclean-hdr distclean-libtool \
774 - distclean-recursive distclean-tags distcleancheck distdir \
775 - distuninstallcheck dvi dvi-am dvi-recursive info info-am \
776 - info-recursive install install-am install-data install-data-am \
777 - install-data-recursive install-exec install-exec-am \
778 - install-exec-recursive install-info install-info-am \
779 - install-info-recursive install-libincHEADERS install-man \
780 - install-recursive install-strip installcheck installcheck-am \
781 - installdirs installdirs-am installdirs-recursive \
782 - maintainer-clean maintainer-clean-generic \
783 - maintainer-clean-recursive mostlyclean mostlyclean-generic \
784 - mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
785 - pdf-recursive ps ps-am ps-recursive tags tags-recursive \
786 - uninstall uninstall-am uninstall-info-am \
787 - uninstall-info-recursive uninstall-libincHEADERS \
788 - uninstall-recursive
790 # Tell versions [3.59,3.63) of GNU make to not export all variables.
791 # Otherwise a system limit (for SysV at least) may be exceeded.
792 diff -ruN libsigcx-0.6.4-patched/aclocal.m4 libsigcx-0.6.4-regen/aclocal.m4
793 --- libsigcx-0.6.4-patched/aclocal.m4 2003-06-03 10:02:17.000000000 -0700
794 +++ libsigcx-0.6.4-regen/aclocal.m4 2005-05-06 21:21:15.000000000 -0700
796 -# generated automatically by aclocal 1.7.5 -*- Autoconf -*-
797 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
799 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
800 -# Free Software Foundation, Inc.
801 -# This file is free software; the Free Software Foundation
802 -# gives unlimited permission to copy and/or distribute it,
803 -# with or without modifications, as long as this notice is preserved.
805 -# This program is distributed in the hope that it will be useful,
806 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
807 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
808 -# PARTICULAR PURPOSE.
810 -# Do all the work for Automake. -*- Autoconf -*-
812 -# This macro actually does too much some checks are only needed if
813 -# your package does certain things. But this isn't really a big deal.
815 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
816 -# Free Software Foundation, Inc.
818 -# This program is free software; you can redistribute it and/or modify
819 -# it under the terms of the GNU General Public License as published by
820 -# the Free Software Foundation; either version 2, or (at your option)
821 -# any later version.
823 -# This program is distributed in the hope that it will be useful,
824 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
825 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
826 -# GNU General Public License for more details.
828 -# You should have received a copy of the GNU General Public License
829 -# along with this program; if not, write to the Free Software
830 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
837 -# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
838 -# the ones we care about.
839 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
841 -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
842 -# AM_INIT_AUTOMAKE([OPTIONS])
843 -# -----------------------------------------------
844 -# The call with PACKAGE and VERSION arguments is the old style
845 -# call (pre autoconf-2.50), which is being phased out. PACKAGE
846 -# and VERSION should now be passed to AC_INIT and removed from
847 -# the call to AM_INIT_AUTOMAKE.
848 -# We support both call styles for the transition. After
849 -# the next Automake release, Autoconf can make the AC_INIT
850 -# arguments mandatory, and then we can depend on a new Autoconf
851 -# release and drop the old call support.
852 -AC_DEFUN([AM_INIT_AUTOMAKE],
853 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
854 - AC_REQUIRE([AC_PROG_INSTALL])dnl
855 -# test to see if srcdir already configured
856 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
857 - test -f $srcdir/config.status; then
858 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
861 -# test whether we have cygpath
862 -if test -z "$CYGPATH_W"; then
863 - if (cygpath --version) >/dev/null 2>/dev/null; then
864 - CYGPATH_W='cygpath -w'
867 +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
868 +dnl This file is free software; the Free Software Foundation
869 +dnl gives unlimited permission to copy and/or distribute it,
870 +dnl with or without modifications, as long as this notice is preserved.
872 +dnl This program is distributed in the hope that it will be useful,
873 +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
874 +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
875 +dnl PARTICULAR PURPOSE.
877 +# lib-prefix.m4 serial 3 (gettext-0.13)
878 +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
879 +dnl This file is free software, distributed under the terms of the GNU
880 +dnl General Public License. As a special exception to the GNU General
881 +dnl Public License, this file may be distributed as part of a program
882 +dnl that contains a configuration script generated by Autoconf, under
883 +dnl the same distribution terms as the rest of that program.
885 +dnl From Bruno Haible.
887 +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
888 +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
889 +dnl require excessive bracketing.
890 +ifdef([AC_HELP_STRING],
891 +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
892 +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
894 +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
895 +dnl to access previously installed libraries. The basic assumption is that
896 +dnl a user will want packages to use other packages he previously installed
897 +dnl with the same --prefix option.
898 +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
899 +dnl libraries, but is otherwise very convenient.
900 +AC_DEFUN([AC_LIB_PREFIX],
902 + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
903 + AC_REQUIRE([AC_PROG_CC])
904 + AC_REQUIRE([AC_CANONICAL_HOST])
905 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
906 + dnl By default, look in $includedir and $libdir.
908 + AC_LIB_WITH_FINAL_PREFIX([
909 + eval additional_includedir=\"$includedir\"
910 + eval additional_libdir=\"$libdir\"
912 + AC_LIB_ARG_WITH([lib-prefix],
913 +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
914 + --without-lib-prefix don't search for libraries in includedir and libdir],
916 + if test "X$withval" = "Xno"; then
919 + if test "X$withval" = "X"; then
920 + AC_LIB_WITH_FINAL_PREFIX([
921 + eval additional_includedir=\"$includedir\"
922 + eval additional_libdir=\"$libdir\"
925 + additional_includedir="$withval/include"
926 + additional_libdir="$withval/lib"
930 + if test $use_additional = yes; then
931 + dnl Potentially add $additional_includedir to $CPPFLAGS.
932 + dnl But don't add it
933 + dnl 1. if it's the standard /usr/include,
934 + dnl 2. if it's already present in $CPPFLAGS,
935 + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
936 + dnl 4. if it doesn't exist as a directory.
937 + if test "X$additional_includedir" != "X/usr/include"; then
939 + for x in $CPPFLAGS; do
940 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
941 + if test "X$x" = "X-I$additional_includedir"; then
946 + if test -z "$haveit"; then
947 + if test "X$additional_includedir" = "X/usr/local/include"; then
948 + if test -n "$GCC"; then
950 + linux*) haveit=yes;;
954 + if test -z "$haveit"; then
955 + if test -d "$additional_includedir"; then
956 + dnl Really add $additional_includedir to $CPPFLAGS.
957 + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
962 + dnl Potentially add $additional_libdir to $LDFLAGS.
963 + dnl But don't add it
964 + dnl 1. if it's the standard /usr/lib,
965 + dnl 2. if it's already present in $LDFLAGS,
966 + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
967 + dnl 4. if it doesn't exist as a directory.
968 + if test "X$additional_libdir" != "X/usr/lib"; then
970 + for x in $LDFLAGS; do
971 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
972 + if test "X$x" = "X-L$additional_libdir"; then
977 + if test -z "$haveit"; then
978 + if test "X$additional_libdir" = "X/usr/local/lib"; then
979 + if test -n "$GCC"; then
981 + linux*) haveit=yes;;
985 + if test -z "$haveit"; then
986 + if test -d "$additional_libdir"; then
987 + dnl Really add $additional_libdir to $LDFLAGS.
988 + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
995 -AC_SUBST([CYGPATH_W])
997 -# Define the identity of the package.
998 -dnl Distinguish between old-style and new-style calls.
1000 -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1001 - AC_SUBST([PACKAGE], [$1])dnl
1002 - AC_SUBST([VERSION], [$2])],
1003 -[_AM_SET_OPTIONS([$1])dnl
1004 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1005 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1007 -_AM_IF_OPTION([no-define],,
1008 -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1009 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1011 -# Some tools Automake needs.
1012 -AC_REQUIRE([AM_SANITY_CHECK])dnl
1013 -AC_REQUIRE([AC_ARG_PROGRAM])dnl
1014 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1015 -AM_MISSING_PROG(AUTOCONF, autoconf)
1016 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1017 -AM_MISSING_PROG(AUTOHEADER, autoheader)
1018 -AM_MISSING_PROG(MAKEINFO, makeinfo)
1019 -AM_MISSING_PROG(AMTAR, tar)
1021 -AM_PROG_INSTALL_STRIP
1022 -# We need awk for the "check" target. The system "awk" is bad on
1024 -AC_REQUIRE([AC_PROG_AWK])dnl
1025 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1026 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1028 -_AM_IF_OPTION([no-dependencies],,
1029 -[AC_PROVIDE_IFELSE([AC_PROG_CC],
1030 - [_AM_DEPENDENCIES(CC)],
1031 - [define([AC_PROG_CC],
1032 - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1033 -AC_PROVIDE_IFELSE([AC_PROG_CXX],
1034 - [_AM_DEPENDENCIES(CXX)],
1035 - [define([AC_PROG_CXX],
1036 - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1041 -# When config.status generates a header, we must update the stamp-h file.
1042 -# This file resides in the same directory as the config header
1043 -# that is generated. The stamp files are numbered to have different names.
1045 -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1046 -# loop where config.status creates the headers, so we can generate
1047 -# our stamp files there.
1048 -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1049 -[# Compute $1's index in $config_headers.
1051 -for _am_header in $config_headers :; do
1052 - case $_am_header in
1056 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1059 -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1061 -# Copyright 2002 Free Software Foundation, Inc.
1063 -# This program is free software; you can redistribute it and/or modify
1064 -# it under the terms of the GNU General Public License as published by
1065 -# the Free Software Foundation; either version 2, or (at your option)
1066 -# any later version.
1068 -# This program is distributed in the hope that it will be useful,
1069 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1070 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1071 -# GNU General Public License for more details.
1073 -# You should have received a copy of the GNU General Public License
1074 -# along with this program; if not, write to the Free Software
1075 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1077 -# AM_AUTOMAKE_VERSION(VERSION)
1078 -# ----------------------------
1079 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
1080 -# generated from the m4 files accompanying Automake X.Y.
1081 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
1083 -# AM_SET_CURRENT_AUTOMAKE_VERSION
1084 -# -------------------------------
1085 -# Call AM_AUTOMAKE_VERSION so it can be traced.
1086 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1087 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1088 - [AM_AUTOMAKE_VERSION([1.7.5])])
1090 -# Helper functions for option handling. -*- Autoconf -*-
1092 -# Copyright 2001, 2002 Free Software Foundation, Inc.
1094 -# This program is free software; you can redistribute it and/or modify
1095 -# it under the terms of the GNU General Public License as published by
1096 -# the Free Software Foundation; either version 2, or (at your option)
1097 -# any later version.
1099 -# This program is distributed in the hope that it will be useful,
1100 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1101 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1102 -# GNU General Public License for more details.
1104 -# You should have received a copy of the GNU General Public License
1105 -# along with this program; if not, write to the Free Software
1106 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1111 -# _AM_MANGLE_OPTION(NAME)
1112 -# -----------------------
1113 -AC_DEFUN([_AM_MANGLE_OPTION],
1114 -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1116 -# _AM_SET_OPTION(NAME)
1117 -# ------------------------------
1118 -# Set option NAME. Presently that only means defining a flag for this option.
1119 -AC_DEFUN([_AM_SET_OPTION],
1120 -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1122 -# _AM_SET_OPTIONS(OPTIONS)
1123 -# ----------------------------------
1124 -# OPTIONS is a space-separated list of Automake options.
1125 -AC_DEFUN([_AM_SET_OPTIONS],
1126 -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1128 -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1129 -# -------------------------------------------
1130 -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1131 -AC_DEFUN([_AM_IF_OPTION],
1132 -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1135 -# Check to make sure that the build environment is sane.
1138 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1140 -# This program is free software; you can redistribute it and/or modify
1141 -# it under the terms of the GNU General Public License as published by
1142 -# the Free Software Foundation; either version 2, or (at your option)
1143 -# any later version.
1145 -# This program is distributed in the hope that it will be useful,
1146 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1147 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1148 -# GNU General Public License for more details.
1150 -# You should have received a copy of the GNU General Public License
1151 -# along with this program; if not, write to the Free Software
1152 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1159 -AC_DEFUN([AM_SANITY_CHECK],
1160 -[AC_MSG_CHECKING([whether build environment is sane])
1163 -echo timestamp > conftest.file
1164 -# Do `set' in a subshell so we don't clobber the current shell's
1165 -# arguments. Must try -L first in case configure is actually a
1166 -# symlink; some systems play weird games with the mod time of symlinks
1167 -# (eg FreeBSD returns the mod time of the symlink's containing
1170 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1171 - if test "$[*]" = "X"; then
1173 - set X `ls -t $srcdir/configure conftest.file`
1175 - rm -f conftest.file
1176 - if test "$[*]" != "X $srcdir/configure conftest.file" \
1177 - && test "$[*]" != "X conftest.file $srcdir/configure"; then
1179 - # If neither matched, then we have a broken ls. This can happen
1180 - # if, for instance, CONFIG_SHELL is bash and it inherits a
1181 - # broken ls alias from the environment. This has actually
1182 - # happened. Such a system could not be considered "sane".
1183 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1184 -alias in your environment])
1187 - test "$[2]" = conftest.file
1193 - AC_MSG_ERROR([newly created file is older than distributed files!
1194 -Check your system clock])
1196 -AC_MSG_RESULT(yes)])
1201 -# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
1203 -# This program is free software; you can redistribute it and/or modify
1204 -# it under the terms of the GNU General Public License as published by
1205 -# the Free Software Foundation; either version 2, or (at your option)
1206 -# any later version.
1208 -# This program is distributed in the hope that it will be useful,
1209 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1210 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1211 -# GNU General Public License for more details.
1213 -# You should have received a copy of the GNU General Public License
1214 -# along with this program; if not, write to the Free Software
1215 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1220 -# AM_MISSING_PROG(NAME, PROGRAM)
1221 -# ------------------------------
1222 -AC_DEFUN([AM_MISSING_PROG],
1223 -[AC_REQUIRE([AM_MISSING_HAS_RUN])
1224 -$1=${$1-"${am_missing_run}$2"}
1228 -# AM_MISSING_HAS_RUN
1229 -# ------------------
1230 -# Define MISSING if not defined so far and test if it supports --run.
1231 -# If it does, set am_missing_run to use it, otherwise, to nothing.
1232 -AC_DEFUN([AM_MISSING_HAS_RUN],
1233 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1234 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1235 -# Use eval to expand $SHELL
1236 -if eval "$MISSING --run true"; then
1237 - am_missing_run="$MISSING --run "
1240 - AC_MSG_WARN([`missing' script is too old or missing])
1244 -# AM_AUX_DIR_EXPAND
1246 -# Copyright 2001 Free Software Foundation, Inc.
1248 -# This program is free software; you can redistribute it and/or modify
1249 -# it under the terms of the GNU General Public License as published by
1250 -# the Free Software Foundation; either version 2, or (at your option)
1251 -# any later version.
1253 -# This program is distributed in the hope that it will be useful,
1254 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1255 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1256 -# GNU General Public License for more details.
1258 -# You should have received a copy of the GNU General Public License
1259 -# along with this program; if not, write to the Free Software
1260 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1263 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1264 -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
1265 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1267 -# Of course, Automake must honor this variable whenever it calls a
1268 -# tool from the auxiliary directory. The problem is that $srcdir (and
1269 -# therefore $ac_aux_dir as well) can be either absolute or relative,
1270 -# depending on how configure is run. This is pretty annoying, since
1271 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1272 -# source directory, any form will work fine, but in subdirectories a
1273 -# relative path needs to be adjusted first.
1275 -# $ac_aux_dir/missing
1276 -# fails when called from a subdirectory if $ac_aux_dir is relative
1277 -# $top_srcdir/$ac_aux_dir/missing
1278 -# fails if $ac_aux_dir is absolute,
1279 -# fails when called from a subdirectory in a VPATH build with
1280 -# a relative $ac_aux_dir
1282 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1283 -# are both prefixed by $srcdir. In an in-source build this is usually
1284 -# harmless because $srcdir is `.', but things will broke when you
1285 -# start a VPATH build or use an absolute $srcdir.
1287 -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1288 -# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1289 -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1290 -# and then we would define $MISSING as
1291 -# MISSING="\${SHELL} $am_aux_dir/missing"
1292 -# This will work as long as MISSING is not called from configure, because
1293 -# unfortunately $(top_srcdir) has no meaning in configure.
1294 -# However there are other variables, like CC, which are often used in
1295 -# configure, and could therefore not use this "fixed" $ac_aux_dir.
1297 -# Another solution, used here, is to always expand $ac_aux_dir to an
1298 -# absolute PATH. The drawback is that using absolute paths prevent a
1299 -# configured tree to be moved without reconfiguration.
1301 -# Rely on autoconf to set up CDPATH properly.
1304 -AC_DEFUN([AM_AUX_DIR_EXPAND], [
1305 -# expand $ac_aux_dir to an absolute path
1306 -am_aux_dir=`cd $ac_aux_dir && pwd`
1307 +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1308 +dnl acl_final_exec_prefix, containing the values to which $prefix and
1309 +dnl $exec_prefix will expand at the end of the configure script.
1310 +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1312 + dnl Unfortunately, prefix and exec_prefix get only finally determined
1313 + dnl at the end of configure.
1314 + if test "X$prefix" = "XNONE"; then
1315 + acl_final_prefix="$ac_default_prefix"
1317 + acl_final_prefix="$prefix"
1319 + if test "X$exec_prefix" = "XNONE"; then
1320 + acl_final_exec_prefix='${prefix}'
1322 + acl_final_exec_prefix="$exec_prefix"
1324 + acl_save_prefix="$prefix"
1325 + prefix="$acl_final_prefix"
1326 + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1327 + prefix="$acl_save_prefix"
1330 -# AM_PROG_INSTALL_SH
1331 -# ------------------
1332 -# Define $install_sh.
1334 -# Copyright 2001 Free Software Foundation, Inc.
1336 -# This program is free software; you can redistribute it and/or modify
1337 -# it under the terms of the GNU General Public License as published by
1338 -# the Free Software Foundation; either version 2, or (at your option)
1339 -# any later version.
1341 -# This program is distributed in the hope that it will be useful,
1342 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1343 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1344 -# GNU General Public License for more details.
1346 -# You should have received a copy of the GNU General Public License
1347 -# along with this program; if not, write to the Free Software
1348 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1351 -AC_DEFUN([AM_PROG_INSTALL_SH],
1352 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1353 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
1354 -AC_SUBST(install_sh)])
1356 -# AM_PROG_INSTALL_STRIP
1358 -# Copyright 2001 Free Software Foundation, Inc.
1360 -# This program is free software; you can redistribute it and/or modify
1361 -# it under the terms of the GNU General Public License as published by
1362 -# the Free Software Foundation; either version 2, or (at your option)
1363 -# any later version.
1365 -# This program is distributed in the hope that it will be useful,
1366 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1367 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1368 -# GNU General Public License for more details.
1370 -# You should have received a copy of the GNU General Public License
1371 -# along with this program; if not, write to the Free Software
1372 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1375 -# One issue with vendor `install' (even GNU) is that you can't
1376 -# specify the program used to strip binaries. This is especially
1377 -# annoying in cross-compiling environments, where the build's strip
1378 -# is unlikely to handle the host's binaries.
1379 -# Fortunately install-sh will honor a STRIPPROG variable, so we
1380 -# always use install-sh in `make install-strip', and initialize
1381 -# STRIPPROG with the value of the STRIP variable (set by the user).
1382 -AC_DEFUN([AM_PROG_INSTALL_STRIP],
1383 -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1384 -# Installed binaries are usually stripped using `strip' when the user
1385 -# run `make install-strip'. However `strip' might not be the right
1386 -# tool to use in cross-compilation environments, therefore Automake
1387 -# will honor the `STRIP' environment variable to overrule this program.
1388 -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1389 -if test "$cross_compiling" != no; then
1390 - AC_CHECK_TOOL([STRIP], [strip], :)
1392 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1393 -AC_SUBST([INSTALL_STRIP_PROGRAM])])
1396 -# Copyright (C) 2003 Free Software Foundation, Inc.
1398 -# This program is free software; you can redistribute it and/or modify
1399 -# it under the terms of the GNU General Public License as published by
1400 -# the Free Software Foundation; either version 2, or (at your option)
1401 -# any later version.
1403 -# This program is distributed in the hope that it will be useful,
1404 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1405 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1406 -# GNU General Public License for more details.
1408 -# You should have received a copy of the GNU General Public License
1409 -# along with this program; if not, write to the Free Software
1410 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1415 -# Check whether the underlying file-system supports filenames
1416 -# with a leading dot. For instance MS-DOS doesn't.
1417 -AC_DEFUN([AM_SET_LEADING_DOT],
1418 -[rm -rf .tst 2>/dev/null
1419 -mkdir .tst 2>/dev/null
1420 -if test -d .tst; then
1425 -rmdir .tst 2>/dev/null
1426 -AC_SUBST([am__leading_dot])])
1428 -# serial 5 -*- Autoconf -*-
1430 -# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
1432 -# This program is free software; you can redistribute it and/or modify
1433 -# it under the terms of the GNU General Public License as published by
1434 -# the Free Software Foundation; either version 2, or (at your option)
1435 -# any later version.
1437 -# This program is distributed in the hope that it will be useful,
1438 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1439 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1440 -# GNU General Public License for more details.
1442 -# You should have received a copy of the GNU General Public License
1443 -# along with this program; if not, write to the Free Software
1444 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1448 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1449 -# written in clear, in which case automake, when reading aclocal.m4,
1450 -# will think it sees a *use*, and therefore will trigger all it's
1451 -# C support machinery. Also note that it means that autoscan, seeing
1452 -# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1456 -# _AM_DEPENDENCIES(NAME)
1457 -# ----------------------
1458 -# See how the compiler implements dependency checking.
1459 -# NAME is "CC", "CXX", "GCJ", or "OBJC".
1460 -# We try a few techniques and use that to set a single cache variable.
1462 -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1463 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1464 -# dependency, and given that the user is not expected to run this macro,
1465 -# just rely on AC_PROG_CC.
1466 -AC_DEFUN([_AM_DEPENDENCIES],
1467 -[AC_REQUIRE([AM_SET_DEPDIR])dnl
1468 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1469 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1470 -AC_REQUIRE([AM_DEP_TRACK])dnl
1472 -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1473 - [$1], CXX, [depcc="$CXX" am_compiler_list=],
1474 - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1475 - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1476 - [depcc="$$1" am_compiler_list=])
1478 -AC_CACHE_CHECK([dependency style of $depcc],
1479 - [am_cv_$1_dependencies_compiler_type],
1480 -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1481 - # We make a subdir and do the tests there. Otherwise we can end up
1482 - # making bogus files that we don't know about and never remove. For
1483 - # instance it was reported that on HP-UX the gcc test will end up
1484 - # making a dummy file named `D' -- because `-MD' means `put the output
1486 - mkdir conftest.dir
1487 - # Copy depcomp to subdir because otherwise we won't find it if we're
1488 - # using a relative directory.
1489 - cp "$am_depcomp" conftest.dir
1492 - am_cv_$1_dependencies_compiler_type=none
1493 - if test "$am_compiler_list" = ""; then
1494 - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1496 - for depmode in $am_compiler_list; do
1497 - # We need to recreate these files for each test, as the compiler may
1498 - # overwrite some of them when testing with obscure command lines.
1499 - # This happens at least with the AIX C compiler.
1500 - echo '#include "conftest.h"' > conftest.c
1501 - echo 'int i;' > conftest.h
1502 - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
1506 - # after this tag, mechanisms are not by side-effect, so they'll
1507 - # only be used when explicitly requested
1508 - if test "x$enable_dependency_tracking" = xyes; then
1510 +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
1511 +dnl variables prefix and exec_prefix bound to the values they will have
1512 +dnl at the end of the configure script.
1513 +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
1515 + acl_save_prefix="$prefix"
1516 + prefix="$acl_final_prefix"
1517 + acl_save_exec_prefix="$exec_prefix"
1518 + exec_prefix="$acl_final_exec_prefix"
1520 + exec_prefix="$acl_save_exec_prefix"
1521 + prefix="$acl_save_prefix"
1524 +# lib-link.m4 serial 4 (gettext-0.12)
1525 +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
1526 +dnl This file is free software, distributed under the terms of the GNU
1527 +dnl General Public License. As a special exception to the GNU General
1528 +dnl Public License, this file may be distributed as part of a program
1529 +dnl that contains a configuration script generated by Autoconf, under
1530 +dnl the same distribution terms as the rest of that program.
1532 +dnl From Bruno Haible.
1534 +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1535 +dnl the libraries corresponding to explicit and implicit dependencies.
1536 +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1537 +dnl augments the CPPFLAGS variable.
1538 +AC_DEFUN([AC_LIB_LINKFLAGS],
1540 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1541 + AC_REQUIRE([AC_LIB_RPATH])
1542 + define([Name],[translit([$1],[./-], [___])])
1543 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1544 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1545 + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1546 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
1547 + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1548 + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1549 + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
1551 + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1552 + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1553 + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
1554 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1555 + AC_SUBST([LIB]NAME)
1556 + AC_SUBST([LTLIB]NAME)
1557 + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1558 + dnl results of this search when this library appears as a dependency.
1559 + HAVE_LIB[]NAME=yes
1564 +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
1565 +dnl searches for libname and the libraries corresponding to explicit and
1566 +dnl implicit dependencies, together with the specified include files and
1567 +dnl the ability to compile and link the specified testcode. If found, it
1568 +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
1569 +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
1570 +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1571 +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
1572 +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
1574 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1575 + AC_REQUIRE([AC_LIB_RPATH])
1576 + define([Name],[translit([$1],[./-], [___])])
1577 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1578 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1580 + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1582 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
1584 + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1585 + dnl because if the user has installed lib[]Name and not disabled its use
1586 + dnl via --without-lib[]Name-prefix, he wants to use it.
1587 + ac_save_CPPFLAGS="$CPPFLAGS"
1588 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1590 + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1591 + ac_save_LIBS="$LIBS"
1592 + LIBS="$LIBS $LIB[]NAME"
1593 + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
1594 + LIBS="$ac_save_LIBS"
1596 + if test "$ac_cv_lib[]Name" = yes; then
1597 + HAVE_LIB[]NAME=yes
1598 + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
1599 + AC_MSG_CHECKING([how to link with lib[]$1])
1600 + AC_MSG_RESULT([$LIB[]NAME])
1603 + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1604 + dnl $INC[]NAME either.
1605 + CPPFLAGS="$ac_save_CPPFLAGS"
1609 + AC_SUBST([HAVE_LIB]NAME)
1610 + AC_SUBST([LIB]NAME)
1611 + AC_SUBST([LTLIB]NAME)
1616 +dnl Determine the platform dependent parameters needed to use rpath:
1617 +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
1618 +dnl hardcode_direct, hardcode_minus_L.
1619 +AC_DEFUN([AC_LIB_RPATH],
1621 + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
1622 + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
1623 + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
1624 + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
1625 + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
1626 + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
1627 + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
1629 + rm -f ./conftest.sh
1633 + libext="$acl_cv_libext"
1634 + shlibext="$acl_cv_shlibext"
1635 + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1636 + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
1637 + hardcode_direct="$acl_cv_hardcode_direct"
1638 + hardcode_minus_L="$acl_cv_hardcode_minus_L"
1639 + dnl Determine whether the user wants rpath handling at all.
1640 + AC_ARG_ENABLE(rpath,
1641 + [ --disable-rpath do not hardcode runtime library paths],
1642 + :, enable_rpath=yes)
1645 +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
1646 +dnl the libraries corresponding to explicit and implicit dependencies.
1647 +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
1648 +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
1650 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1651 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1652 + dnl By default, look in $includedir and $libdir.
1653 + use_additional=yes
1654 + AC_LIB_WITH_FINAL_PREFIX([
1655 + eval additional_includedir=\"$includedir\"
1656 + eval additional_libdir=\"$libdir\"
1658 + AC_LIB_ARG_WITH([lib$1-prefix],
1659 +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
1660 + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
1662 + if test "X$withval" = "Xno"; then
1665 + if test "X$withval" = "X"; then
1666 + AC_LIB_WITH_FINAL_PREFIX([
1667 + eval additional_includedir=\"$includedir\"
1668 + eval additional_libdir=\"$libdir\"
1676 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1677 - # mode. It turns out that the SunPro C++ compiler does not properly
1678 - # handle `-M -o', and we need to detect this.
1679 - if depmode=$depmode \
1680 - source=conftest.c object=conftest.o \
1681 - depfile=conftest.Po tmpdepfile=conftest.TPo \
1682 - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
1683 - >/dev/null 2>conftest.err &&
1684 - grep conftest.h conftest.Po > /dev/null 2>&1 &&
1685 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1686 - # icc doesn't choke on unknown options, it will just issue warnings
1687 - # (even with -Werror). So we grep stderr for any message
1688 - # that says an option was ignored.
1689 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
1690 - am_cv_$1_dependencies_compiler_type=$depmode
1692 + additional_includedir="$withval/include"
1693 + additional_libdir="$withval/lib"
1699 - rm -rf conftest.dir
1701 - am_cv_$1_dependencies_compiler_type=none
1704 -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1705 -AM_CONDITIONAL([am__fastdep$1], [
1706 - test "x$enable_dependency_tracking" != xno \
1707 - && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1708 + dnl Search the library and its dependencies in $additional_libdir and
1709 + dnl $LDFLAGS. Using breadth-first-seach.
1715 + names_already_handled=
1716 + names_next_round='$1 $2'
1717 + while test -n "$names_next_round"; do
1718 + names_this_round="$names_next_round"
1720 + for name in $names_this_round; do
1722 + for n in $names_already_handled; do
1723 + if test "$n" = "$name"; then
1724 + already_handled=yes
1728 + if test -z "$already_handled"; then
1729 + names_already_handled="$names_already_handled $name"
1730 + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1731 + dnl or AC_LIB_HAVE_LINKFLAGS call.
1732 + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1733 + eval value=\"\$HAVE_LIB$uppername\"
1734 + if test -n "$value"; then
1735 + if test "$value" = yes; then
1736 + eval value=\"\$LIB$uppername\"
1737 + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1738 + eval value=\"\$LTLIB$uppername\"
1739 + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1741 + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1742 + dnl that this library doesn't exist. So just drop it.
1746 + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1747 + dnl and the already constructed $LIBNAME/$LTLIBNAME.
1752 + if test $use_additional = yes; then
1753 + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
1754 + found_dir="$additional_libdir"
1755 + found_so="$additional_libdir/lib$name.$shlibext"
1756 + if test -f "$additional_libdir/lib$name.la"; then
1757 + found_la="$additional_libdir/lib$name.la"
1760 + if test -f "$additional_libdir/lib$name.$libext"; then
1761 + found_dir="$additional_libdir"
1762 + found_a="$additional_libdir/lib$name.$libext"
1763 + if test -f "$additional_libdir/lib$name.la"; then
1764 + found_la="$additional_libdir/lib$name.la"
1769 + if test "X$found_dir" = "X"; then
1770 + for x in $LDFLAGS $LTLIB[]NAME; do
1771 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1774 + dir=`echo "X$x" | sed -e 's/^X-L//'`
1775 + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1777 + found_so="$dir/lib$name.$shlibext"
1778 + if test -f "$dir/lib$name.la"; then
1779 + found_la="$dir/lib$name.la"
1782 + if test -f "$dir/lib$name.$libext"; then
1784 + found_a="$dir/lib$name.$libext"
1785 + if test -f "$dir/lib$name.la"; then
1786 + found_la="$dir/lib$name.la"
1792 + if test "X$found_dir" != "X"; then
1797 + if test "X$found_dir" != "X"; then
1798 + dnl Found the library.
1799 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1800 + if test "X$found_so" != "X"; then
1801 + dnl Linking with a shared library. We attempt to hardcode its
1802 + dnl directory into the executable's runpath, unless it's the
1803 + dnl standard /usr/lib.
1804 + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1805 + dnl No hardcoding is needed.
1806 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1808 + dnl Use an explicit option to hardcode DIR into the resulting
1810 + dnl Potentially add DIR to ltrpathdirs.
1811 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1813 + for x in $ltrpathdirs; do
1814 + if test "X$x" = "X$found_dir"; then
1819 + if test -z "$haveit"; then
1820 + ltrpathdirs="$ltrpathdirs $found_dir"
1822 + dnl The hardcoding into $LIBNAME is system dependent.
1823 + if test "$hardcode_direct" = yes; then
1824 + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1825 + dnl resulting binary.
1826 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1828 + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1829 + dnl Use an explicit option to hardcode DIR into the resulting
1831 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1832 + dnl Potentially add DIR to rpathdirs.
1833 + dnl The rpathdirs will be appended to $LIBNAME at the end.
1835 + for x in $rpathdirs; do
1836 + if test "X$x" = "X$found_dir"; then
1841 + if test -z "$haveit"; then
1842 + rpathdirs="$rpathdirs $found_dir"
1845 + dnl Rely on "-L$found_dir".
1846 + dnl But don't add it if it's already contained in the LDFLAGS
1847 + dnl or the already constructed $LIBNAME
1849 + for x in $LDFLAGS $LIB[]NAME; do
1850 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1851 + if test "X$x" = "X-L$found_dir"; then
1856 + if test -z "$haveit"; then
1857 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1859 + if test "$hardcode_minus_L" != no; then
1860 + dnl FIXME: Not sure whether we should use
1861 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1863 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1865 + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
1866 + dnl here, because this doesn't fit in flags passed to the
1867 + dnl compiler. So give up. No hardcoding. This affects only
1868 + dnl very old systems.
1869 + dnl FIXME: Not sure whether we should use
1870 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1872 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1878 + if test "X$found_a" != "X"; then
1879 + dnl Linking with a static library.
1880 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1882 + dnl We shouldn't come here, but anyway it's good to have a
1884 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1887 + dnl Assume the include files are nearby.
1888 + additional_includedir=
1889 + case "$found_dir" in
1891 + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1892 + additional_includedir="$basedir/include"
1895 + if test "X$additional_includedir" != "X"; then
1896 + dnl Potentially add $additional_includedir to $INCNAME.
1897 + dnl But don't add it
1898 + dnl 1. if it's the standard /usr/include,
1899 + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1900 + dnl 3. if it's already present in $CPPFLAGS or the already
1901 + dnl constructed $INCNAME,
1902 + dnl 4. if it doesn't exist as a directory.
1903 + if test "X$additional_includedir" != "X/usr/include"; then
1905 + if test "X$additional_includedir" = "X/usr/local/include"; then
1906 + if test -n "$GCC"; then
1908 + linux*) haveit=yes;;
1912 + if test -z "$haveit"; then
1913 + for x in $CPPFLAGS $INC[]NAME; do
1914 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1915 + if test "X$x" = "X-I$additional_includedir"; then
1920 + if test -z "$haveit"; then
1921 + if test -d "$additional_includedir"; then
1922 + dnl Really add $additional_includedir to $INCNAME.
1923 + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1929 + dnl Look for dependencies.
1930 + if test -n "$found_la"; then
1931 + dnl Read the .la file. It defines the variables
1932 + dnl dlname, library_names, old_library, dependency_libs, current,
1933 + dnl age, revision, installed, dlopen, dlpreopen, libdir.
1934 + save_libdir="$libdir"
1935 + case "$found_la" in
1936 + */* | *\\*) . "$found_la" ;;
1937 + *) . "./$found_la" ;;
1939 + libdir="$save_libdir"
1940 + dnl We use only dependency_libs.
1941 + for dep in $dependency_libs; do
1944 + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1945 + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1946 + dnl But don't add it
1947 + dnl 1. if it's the standard /usr/lib,
1948 + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1949 + dnl 3. if it's already present in $LDFLAGS or the already
1950 + dnl constructed $LIBNAME,
1951 + dnl 4. if it doesn't exist as a directory.
1952 + if test "X$additional_libdir" != "X/usr/lib"; then
1954 + if test "X$additional_libdir" = "X/usr/local/lib"; then
1955 + if test -n "$GCC"; then
1957 + linux*) haveit=yes;;
1961 + if test -z "$haveit"; then
1963 + for x in $LDFLAGS $LIB[]NAME; do
1964 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1965 + if test "X$x" = "X-L$additional_libdir"; then
1970 + if test -z "$haveit"; then
1971 + if test -d "$additional_libdir"; then
1972 + dnl Really add $additional_libdir to $LIBNAME.
1973 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1977 + for x in $LDFLAGS $LTLIB[]NAME; do
1978 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1979 + if test "X$x" = "X-L$additional_libdir"; then
1984 + if test -z "$haveit"; then
1985 + if test -d "$additional_libdir"; then
1986 + dnl Really add $additional_libdir to $LTLIBNAME.
1987 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1994 + dir=`echo "X$dep" | sed -e 's/^X-R//'`
1995 + if test "$enable_rpath" != no; then
1996 + dnl Potentially add DIR to rpathdirs.
1997 + dnl The rpathdirs will be appended to $LIBNAME at the end.
1999 + for x in $rpathdirs; do
2000 + if test "X$x" = "X$dir"; then
2005 + if test -z "$haveit"; then
2006 + rpathdirs="$rpathdirs $dir"
2008 + dnl Potentially add DIR to ltrpathdirs.
2009 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2011 + for x in $ltrpathdirs; do
2012 + if test "X$x" = "X$dir"; then
2017 + if test -z "$haveit"; then
2018 + ltrpathdirs="$ltrpathdirs $dir"
2023 + dnl Handle this in the next round.
2024 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
2027 + dnl Handle this in the next round. Throw away the .la's
2028 + dnl directory; it is already contained in a preceding -L
2030 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
2033 + dnl Most likely an immediate library name.
2034 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
2035 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
2041 + dnl Didn't find the library; assume it is in the system directories
2042 + dnl known to the linker and runtime loader. (All the system
2043 + dnl directories known to the linker should also be known to the
2044 + dnl runtime loader, otherwise the system is severely misconfigured.)
2045 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2046 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
2052 + if test "X$rpathdirs" != "X"; then
2053 + if test -n "$hardcode_libdir_separator"; then
2054 + dnl Weird platform: only the last -rpath option counts, the user must
2055 + dnl pass all path elements in one option. We can arrange that for a
2056 + dnl single library, but not when more than one $LIBNAMEs are used.
2058 + for found_dir in $rpathdirs; do
2059 + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
2061 + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
2062 + acl_save_libdir="$libdir"
2064 + eval flag=\"$hardcode_libdir_flag_spec\"
2065 + libdir="$acl_save_libdir"
2066 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2068 + dnl The -rpath options are cumulative.
2069 + for found_dir in $rpathdirs; do
2070 + acl_save_libdir="$libdir"
2071 + libdir="$found_dir"
2072 + eval flag=\"$hardcode_libdir_flag_spec\"
2073 + libdir="$acl_save_libdir"
2074 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2078 + if test "X$ltrpathdirs" != "X"; then
2079 + dnl When using libtool, the option that works for both libraries and
2080 + dnl executables is -R. The -R options are cumulative.
2081 + for found_dir in $ltrpathdirs; do
2082 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
2090 -# Choose a directory name for dependency files.
2091 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2092 -AC_DEFUN([AM_SET_DEPDIR],
2093 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2094 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
2095 +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
2096 +dnl unless already present in VAR.
2097 +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
2098 +dnl contains two or three consecutive elements that belong together.
2099 +AC_DEFUN([AC_LIB_APPENDTOVAR],
2101 + for element in [$2]; do
2103 + for x in $[$1]; do
2104 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2105 + if test "X$x" = "X$element"; then
2110 + if test -z "$haveit"; then
2111 + [$1]="${[$1]}${[$1]:+ }$element"
2119 -AC_DEFUN([AM_DEP_TRACK],
2120 -[AC_ARG_ENABLE(dependency-tracking,
2121 -[ --disable-dependency-tracking Speeds up one-time builds
2122 - --enable-dependency-tracking Do not reject slow dependency extractors])
2123 -if test "x$enable_dependency_tracking" != xno; then
2124 - am_depcomp="$ac_aux_dir/depcomp"
2125 - AMDEPBACKSLASH='\'
2127 -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2128 -AC_SUBST([AMDEPBACKSLASH])
2129 +# lib-ld.m4 serial 3 (gettext-0.13)
2130 +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
2131 +dnl This file is free software, distributed under the terms of the GNU
2132 +dnl General Public License. As a special exception to the GNU General
2133 +dnl Public License, this file may be distributed as part of a program
2134 +dnl that contains a configuration script generated by Autoconf, under
2135 +dnl the same distribution terms as the rest of that program.
2137 +dnl Subroutines of libtool.m4,
2138 +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
2139 +dnl with libtool.m4.
2141 +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
2142 +AC_DEFUN([AC_LIB_PROG_LD_GNU],
2143 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
2144 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2145 +case `$LD -v 2>&1 </dev/null` in
2146 +*GNU* | *'with BFD'*)
2147 + acl_cv_prog_gnu_ld=yes ;;
2149 + acl_cv_prog_gnu_ld=no ;;
2151 +with_gnu_ld=$acl_cv_prog_gnu_ld
2154 -# Generate code to set up dependency tracking. -*- Autoconf -*-
2156 -# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2158 -# This program is free software; you can redistribute it and/or modify
2159 -# it under the terms of the GNU General Public License as published by
2160 -# the Free Software Foundation; either version 2, or (at your option)
2161 -# any later version.
2163 -# This program is distributed in the hope that it will be useful,
2164 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2165 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2166 -# GNU General Public License for more details.
2168 -# You should have received a copy of the GNU General Public License
2169 -# along with this program; if not, write to the Free Software
2170 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2175 -# _AM_OUTPUT_DEPENDENCY_COMMANDS
2176 -# ------------------------------
2177 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2178 -[for mf in $CONFIG_FILES; do
2179 - # Strip MF so we end up with the name of the file.
2180 - mf=`echo "$mf" | sed -e 's/:.*$//'`
2181 - # Check whether this is an Automake generated Makefile or not.
2182 - # We used to match only the files named `Makefile.in', but
2183 - # some people rename them; so instead we look at the file content.
2184 - # Grep'ing the first line is not enough: some people post-process
2185 - # each Makefile.in and add a new line on top of each file to say so.
2186 - # So let's grep whole file.
2187 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
2188 - dirpart=`AS_DIRNAME("$mf")`
2189 +dnl From libtool-1.4. Sets the variable LD.
2190 +AC_DEFUN([AC_LIB_PROG_LD],
2191 +[AC_ARG_WITH(gnu-ld,
2192 +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
2193 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
2194 +AC_REQUIRE([AC_PROG_CC])dnl
2195 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
2196 +# Prepare PATH_SEPARATOR.
2197 +# The user is always right.
2198 +if test "${PATH_SEPARATOR+set}" != set; then
2199 + echo "#! /bin/sh" >conf$$.sh
2200 + echo "exit 0" >>conf$$.sh
2201 + chmod +x conf$$.sh
2202 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2203 + PATH_SEPARATOR=';'
2208 - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
2209 - # Extract the definition of DEP_FILES from the Makefile without
2211 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2212 - test -z "$DEPDIR" && continue
2213 - # When using ansi2knr, U may be empty or an underscore; expand it
2214 - U=`sed -n -e '/^U = / s///p' < "$mf"`
2215 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2216 - # We invoke sed twice because it is the simplest approach to
2217 - # changing $(DEPDIR) to its actual value in the expansion.
2218 - for file in `sed -n -e '
2219 - /^DEP_FILES = .*\\\\$/ {
2228 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2229 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2230 - # Make sure the directory exists.
2231 - test -f "$dirpart/$file" && continue
2232 - fdir=`AS_DIRNAME(["$file"])`
2233 - AS_MKDIR_P([$dirpart/$fdir])
2234 - # echo "creating $dirpart/$file"
2235 - echo '# dummy' > "$dirpart/$file"
2239 +if test "$GCC" = yes; then
2240 + # Check if gcc -print-prog-name=ld gives a path.
2241 + AC_MSG_CHECKING([for ld used by GCC])
2244 + # gcc leaves a trailing carriage return which upsets mingw
2245 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2247 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2250 + # Accept absolute paths.
2251 + [[\\/]* | [A-Za-z]:[\\/]*)]
2252 + [re_direlt='/[^/][^/]*/\.\./']
2253 + # Canonicalize the path of ld
2254 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2255 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2256 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2258 + test -z "$LD" && LD="$ac_prog"
2261 + # If it fails, then pretend we aren't using GCC.
2265 + # If it is relative, then search for the first ld in PATH.
2266 + with_gnu_ld=unknown
2269 +elif test "$with_gnu_ld" = yes; then
2270 + AC_MSG_CHECKING([for GNU ld])
2272 + AC_MSG_CHECKING([for non-GNU ld])
2274 +AC_CACHE_VAL(acl_cv_path_LD,
2275 +[if test -z "$LD"; then
2276 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2277 + for ac_dir in $PATH; do
2278 + test -z "$ac_dir" && ac_dir=.
2279 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2280 + acl_cv_path_LD="$ac_dir/$ac_prog"
2281 + # Check to see if the program is GNU ld. I'd rather use --version,
2282 + # but apparently some GNU ld's only accept -v.
2283 + # Break only if it was the GNU/non-GNU ld that we prefer.
2284 + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2285 + *GNU* | *'with BFD'*)
2286 + test "$with_gnu_ld" != no && break ;;
2288 + test "$with_gnu_ld" != yes && break ;;
2293 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2296 -# AM_OUTPUT_DEPENDENCY_COMMANDS
2297 -# -----------------------------
2298 -# This macro should only be invoked once -- use via AC_REQUIRE.
2300 -# This code is only required when automatic dependency tracking
2301 -# is enabled. FIXME. This creates each `.P' file that we will
2302 -# need in order to bootstrap the dependency handling code.
2303 -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
2304 -[AC_CONFIG_COMMANDS([depfiles],
2305 - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
2306 - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
2307 + IFS="$ac_save_ifs"
2309 + acl_cv_path_LD="$LD" # Let the user override the test with a path.
2311 +LD="$acl_cv_path_LD"
2312 +if test -n "$LD"; then
2313 + AC_MSG_RESULT($LD)
2317 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2321 -# Check to see how 'make' treats includes. -*- Autoconf -*-
2323 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2325 -# This program is free software; you can redistribute it and/or modify
2326 -# it under the terms of the GNU General Public License as published by
2327 -# the Free Software Foundation; either version 2, or (at your option)
2328 -# any later version.
2330 -# This program is distributed in the hope that it will be useful,
2331 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2332 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2333 -# GNU General Public License for more details.
2334 +# Do all the work for Automake. This macro actually does too much --
2335 +# some checks are only needed if your package does certain things.
2336 +# But this isn't really a big deal.
2338 -# You should have received a copy of the GNU General Public License
2339 -# along with this program; if not, write to the Free Software
2340 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2346 +dnl AM_INIT_AUTOMAKE(package,version, [no-define])
2348 -# AM_MAKE_INCLUDE()
2349 -# -----------------
2350 -# Check to see how make treats includes.
2351 -AC_DEFUN([AM_MAKE_INCLUDE],
2352 -[am_make=${MAKE-make}
2353 -cat > confinc << 'END'
2358 -# If we don't find an include directive, just comment out the code.
2359 -AC_MSG_CHECKING([for style of include used by $am_make])
2363 -# First try GNU make style include.
2364 -echo "include confinc" > confmf
2365 -# We grep out `Entering directory' and `Leaving directory'
2366 -# messages which can occur if `w' ends up in MAKEFLAGS.
2367 -# In particular we don't look at `^make:' because GNU make might
2368 -# be invoked under some other name (usually "gmake"), in which
2369 -# case it prints its new name instead of `make'.
2370 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2371 - am__include=include
2375 -# Now try BSD make style include.
2376 -if test "$am__include" = "#"; then
2377 - echo '.include "confinc"' > confmf
2378 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2379 - am__include=.include
2383 +AC_DEFUN([AM_INIT_AUTOMAKE],
2384 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
2385 +AC_REQUIRE([AC_PROG_INSTALL])
2390 +dnl test to see if srcdir already configured
2391 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2392 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2394 -AC_SUBST([am__include])
2395 -AC_SUBST([am__quote])
2396 -AC_MSG_RESULT([$_am_result])
2397 -rm -f confinc confmf
2400 -# AM_CONDITIONAL -*- Autoconf -*-
2402 +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2403 +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
2404 +AC_REQUIRE([AM_SANITY_CHECK])
2405 +AC_REQUIRE([AC_ARG_PROGRAM])
2406 +dnl FIXME This is truly gross.
2407 +missing_dir=`cd $ac_aux_dir && pwd`
2408 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
2409 +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
2410 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
2411 +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
2412 +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
2413 +AC_REQUIRE([AC_PROG_MAKE_SET])])
2415 -# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
2416 +# Copyright 2002 Free Software Foundation, Inc.
2418 # This program is free software; you can redistribute it and/or modify
2419 # it under the terms of the GNU General Public License as published by
2420 @@ -791,62 +880,106 @@
2421 # You should have received a copy of the GNU General Public License
2422 # along with this program; if not, write to the Free Software
2423 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2430 -# AM_CONDITIONAL(NAME, SHELL-CONDITION)
2431 -# -------------------------------------
2432 -# Define a conditional.
2433 -AC_DEFUN([AM_CONDITIONAL],
2434 -[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
2435 - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2436 -AC_SUBST([$1_TRUE])
2437 -AC_SUBST([$1_FALSE])
2445 -AC_CONFIG_COMMANDS_PRE(
2446 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2447 - AC_MSG_ERROR([conditional "$1" was never defined.
2448 -Usually this means the macro was only invoked conditionally.])
2450 +# AM_AUTOMAKE_VERSION(VERSION)
2451 +# ----------------------------
2452 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
2453 +# generated from the m4 files accompanying Automake X.Y.
2454 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
2456 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
2457 +# AM_SET_CURRENT_AUTOMAKE_VERSION
2458 +# -------------------------------
2459 +# Call AM_AUTOMAKE_VERSION so it can be traced.
2460 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
2461 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2462 + [AM_AUTOMAKE_VERSION([1.4-p6])])
2464 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
2466 +# Check to make sure that the build environment is sane.
2469 -# This program is free software; you can redistribute it and/or modify
2470 -# it under the terms of the GNU General Public License as published by
2471 -# the Free Software Foundation; either version 2, or (at your option)
2472 -# any later version.
2473 +AC_DEFUN([AM_SANITY_CHECK],
2474 +[AC_MSG_CHECKING([whether build environment is sane])
2477 +echo timestamp > conftestfile
2478 +# Do `set' in a subshell so we don't clobber the current shell's
2479 +# arguments. Must try -L first in case configure is actually a
2480 +# symlink; some systems play weird games with the mod time of symlinks
2481 +# (eg FreeBSD returns the mod time of the symlink's containing
2484 + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2485 + if test "[$]*" = "X"; then
2487 + set X `ls -t $srcdir/configure conftestfile`
2489 + if test "[$]*" != "X $srcdir/configure conftestfile" \
2490 + && test "[$]*" != "X conftestfile $srcdir/configure"; then
2492 -# This program is distributed in the hope that it will be useful,
2493 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2494 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2495 -# GNU General Public License for more details.
2496 + # If neither matched, then we have a broken ls. This can happen
2497 + # if, for instance, CONFIG_SHELL is bash and it inherits a
2498 + # broken ls alias from the environment. This has actually
2499 + # happened. Such a system could not be considered "sane".
2500 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2501 +alias in your environment])
2504 -# You should have received a copy of the GNU General Public License
2505 -# along with this program; if not, write to the Free Software
2506 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2508 + test "[$]2" = conftestfile
2514 + AC_MSG_ERROR([newly created file is older than distributed files!
2515 +Check your system clock])
2518 +AC_MSG_RESULT(yes)])
2521 +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
2522 +dnl The program must properly implement --version.
2523 +AC_DEFUN([AM_MISSING_PROG],
2524 +[AC_MSG_CHECKING(for working $2)
2525 +# Run test in a subshell; some versions of sh will print an error if
2526 +# an executable is not found, even if stderr is redirected.
2527 +# Redirect stdin to placate older versions of autoconf. Sigh.
2528 +if ($2 --version) < /dev/null > /dev/null 2>&1; then
2530 + AC_MSG_RESULT(found)
2532 + $1="$3/missing $2"
2533 + AC_MSG_RESULT(missing)
2538 +# Like AC_CONFIG_HEADER, but automatically create stamp file.
2540 -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
2541 -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
2542 +AC_DEFUN([AM_CONFIG_HEADER],
2544 +AC_CONFIG_HEADER([$1])
2545 +dnl When config.status generates a header, we must update the stamp-h file.
2546 +dnl This file resides in the same directory as the config header
2547 +dnl that is generated. We must strip everything past the first ":",
2548 +dnl and everything past the last "/".
2549 +AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
2550 +ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
2551 +<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
2553 +for am_file in <<$1>>; do
2554 + case " <<$>>CONFIG_HEADERS " in
2555 + *" <<$>>am_file "*<<)>>
2556 + echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
2559 + am_indx=`expr "<<$>>am_indx" + 1`
2561 +changequote([,]))])
2563 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2565 # serial 47 AC_PROG_LIBTOOL
2566 +# Debian $Rev: 214 $
2569 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2570 @@ -1324,7 +1457,7 @@
2572 LD="${LD-ld} -m elf_i386"
2575 + ppc64-*linux*|powerpc64-*linux*)
2576 LD="${LD-ld} -m elf32ppclinux"
2579 @@ -1388,7 +1521,8 @@
2580 # ----------------------------------------------------------------
2581 # Check whether the given compiler option works
2582 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
2583 -[AC_CACHE_CHECK([$1], [$2],
2584 +[AC_REQUIRE([LT_AC_PROG_SED])
2585 +AC_CACHE_CHECK([$1], [$2],
2587 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2588 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2589 @@ -1464,7 +1598,7 @@
2590 AC_MSG_CHECKING([the maximum length of command line arguments])
2591 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2598 @@ -1493,20 +1627,26 @@
2599 lt_cv_sys_max_cmd_len=8192;
2603 + # On AmigaOS with pdksh, this test takes hours, literally.
2604 + # So we just punt and use a minimum line length of 8192.
2605 + lt_cv_sys_max_cmd_len=8192;
2609 # If test is not a shell built-in, we'll probably end up computing a
2610 # maximum length that is only half of the actual maximum length, but
2612 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
2613 - = "XX$testring") >/dev/null 2>&1 &&
2614 - new_result=`expr "X$testring" : ".*" 2>&1` &&
2615 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
2616 + = "XX$teststring") >/dev/null 2>&1 &&
2617 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
2618 lt_cv_sys_max_cmd_len=$new_result &&
2619 test $i != 17 # 1/2 MB should be enough
2622 - testring=$testring$testring
2623 + teststring=$teststring$teststring
2627 # Add a significant safety factor because C++ compilers can tack on massive
2628 # amounts of additional arguments before passing them to the linker.
2629 # It appears as though 1/2 is a usable value.
2630 @@ -1656,7 +1796,7 @@
2631 lt_cv_dlopen_self=yes
2637 AC_CHECK_FUNC([shl_load],
2638 [lt_cv_dlopen="shl_load"],
2639 @@ -1745,13 +1885,6 @@
2641 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2643 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
2644 - # that will create temporary files in the current directory regardless of
2645 - # the output directory. Thus, making CWD read-only will cause this test
2646 - # to fail, enabling locking or at least warning the user not to do parallel
2650 lt_compiler_flag="-o out/conftest2.$ac_objext"
2651 # Insert the option either (1) after the last *FLAGS variable, or
2652 # (2) before a word containing "conftest.", or (3) at the end.
2653 @@ -1775,8 +1908,11 @@
2657 - $rm conftest* out/*
2660 + # SGI C++ compiler will create directory out/ii_files/ for
2661 + # template instantiation
2662 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2663 + $rm out/* && rmdir out
2667 @@ -1893,7 +2029,7 @@
2674 ])# AC_LIBTOOL_SYS_LIB_STRIP
2676 @@ -1906,7 +2042,7 @@
2678 libname_spec='lib$name'
2685 @@ -1994,7 +2130,7 @@
2687 library_names_spec='$libname.ixlibrary $libname.a'
2688 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2689 - 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'
2690 + 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'
2694 @@ -2019,7 +2155,7 @@
2696 cygwin* | mingw* | pw32*)
2697 version_type=windows
2699 + shrext_cmds=".dll"
2703 @@ -2041,7 +2177,7 @@
2705 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2706 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2707 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
2708 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2711 # MinGW DLLs use traditional 'lib' prefix
2712 @@ -2080,17 +2216,16 @@
2716 - # FIXME: Relying on posixy $() will cause problems for
2717 - # cross-compilation, but unfortunately the echo tests do not
2718 - # yet detect zsh echo's removal of \ escapes.
2719 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2720 soname_spec='${libname}${release}${major}$shared_ext'
2721 shlibpath_overrides_runpath=yes
2722 shlibpath_var=DYLD_LIBRARY_PATH
2723 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
2724 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
2725 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2726 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
2727 - 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"`
2728 + if test "$GCC" = yes; then
2729 + 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"`
2731 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2733 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2735 @@ -2108,6 +2243,18 @@
2740 + version_type=linux
2741 + need_lib_prefix=no
2743 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2744 + soname_spec='${libname}${release}${shared_ext}$major'
2745 + shlibpath_var=LD_LIBRARY_PATH
2746 + shlibpath_overrides_runpath=no
2747 + hardcode_into_libs=yes
2748 + dynamic_linker='GNU ld.so'
2752 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
2753 version_type=freebsd-$objformat
2754 @@ -2156,7 +2303,7 @@
2760 hardcode_into_libs=yes
2761 dynamic_linker="$host_os dld.so"
2762 shlibpath_var=LD_LIBRARY_PATH
2763 @@ -2171,7 +2318,7 @@
2764 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2769 hardcode_into_libs=yes
2770 dynamic_linker="$host_os dld.sl"
2771 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2772 @@ -2182,7 +2329,7 @@
2773 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2778 dynamic_linker="$host_os dld.sl"
2779 shlibpath_var=SHLIB_PATH
2780 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2781 @@ -2251,6 +2398,12 @@
2782 # before this can be enabled.
2783 hardcode_into_libs=yes
2785 + # Append ld.so.conf contents to the search path
2786 + if test -f /etc/ld.so.conf; then
2787 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
2788 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2791 # We used to test for /lib/ld.so.1 and disable shared libraries on
2792 # powerpc, because MkLinux only supported shared libraries with the
2793 # GNU dynamic linker. Since this was broken with cross compilers,
2794 @@ -2260,6 +2413,30 @@
2795 dynamic_linker='GNU/Linux ld.so'
2799 + version_type=linux
2800 + need_lib_prefix=no
2802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2803 + soname_spec='${libname}${release}${shared_ext}$major'
2804 + shlibpath_var=LD_LIBRARY_PATH
2805 + shlibpath_overrides_runpath=no
2806 + hardcode_into_libs=yes
2807 + dynamic_linker='NetBSD ld.elf_so'
2811 + version_type=linux
2812 + need_lib_prefix=no
2814 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2815 + soname_spec='${libname}${release}${shared_ext}$major'
2816 + shlibpath_var=LD_LIBRARY_PATH
2817 + shlibpath_overrides_runpath=no
2818 + hardcode_into_libs=yes
2819 + dynamic_linker='GNU ld.so'
2825 @@ -2269,7 +2446,7 @@
2826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2827 dynamic_linker='NetBSD (a.out) ld.so'
2829 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
2830 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2831 soname_spec='${libname}${release}${shared_ext}$major'
2832 dynamic_linker='NetBSD ld.elf_so'
2834 @@ -2285,7 +2462,7 @@
2835 shlibpath_overrides_runpath=yes
2843 @@ -2298,7 +2475,7 @@
2849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2850 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2851 shlibpath_var=LD_LIBRARY_PATH
2852 @@ -2318,7 +2495,7 @@
2855 libname_spec='$name'
2857 + shrext_cmds=".dll"
2859 library_names_spec='$libname${shared_ext} $libname.a'
2860 dynamic_linker='OS/2 ld.exe'
2861 @@ -2754,7 +2931,7 @@
2865 -# find the path to the GNU or non-GNU linker
2866 +# find the pathname to the GNU or non-GNU linker
2867 AC_DEFUN([AC_PROG_LD],
2868 [AC_ARG_WITH([gnu-ld],
2869 [AC_HELP_STRING([--with-gnu-ld],
2870 @@ -2780,7 +2957,7 @@
2871 # Accept absolute paths.
2872 [[\\/]]* | ?:[[\\/]]*)
2873 re_direlt='/[[^/]][[^/]]*/\.\./'
2874 - # Canonicalize the path of ld
2875 + # Canonicalize the pathname of ld
2876 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2877 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2878 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2879 @@ -2843,7 +3020,7 @@
2880 [AC_REQUIRE([AC_PROG_EGREP])dnl
2881 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2882 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2883 -case `"$LD" -v 2>&1 </dev/null` in
2884 +case `$LD -v 2>&1 </dev/null` in
2885 *GNU* | *'with BFD'*)
2886 lt_cv_prog_gnu_ld=yes
2888 @@ -2908,28 +3085,24 @@
2889 lt_cv_file_magic_test_file=/shlib/libc.so
2892 -cygwin* | mingw* | pw32*)
2893 - # win32_libid is a shell function defined in ltmain.sh
2895 + # func_win32_libid is a shell function defined in ltmain.sh
2896 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2897 - lt_cv_file_magic_cmd='win32_libid'
2898 + lt_cv_file_magic_cmd='func_win32_libid'
2902 + # Base MSYS/MinGW do not provide the 'file' command needed by
2903 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2904 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2905 + lt_cv_file_magic_cmd='$OBJDUMP -f'
2908 darwin* | rhapsody*)
2909 - # this will be overwritten by pass_all, but leave it in just in case
2910 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2911 - lt_cv_file_magic_cmd='/usr/bin/file -L'
2912 - case "$host_os" in
2913 - rhapsody* | darwin1.[[012]])
2914 - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
2916 - *) # Darwin 1.3 on
2917 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2920 lt_cv_deplibs_check_method=pass_all
2924 +freebsd* | kfreebsd*-gnu)
2925 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2928 @@ -2968,39 +3141,21 @@
2931 irix5* | irix6* | nonstopux*)
2933 - irix5* | nonstopux*)
2934 - # this will be overridden with pass_all, but let us keep it just in case
2935 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2939 - *-32|*"-32 ") libmagic=32-bit;;
2940 - *-n32|*"-n32 ") libmagic=N32;;
2941 - *-64|*"-64 ") libmagic=64-bit;;
2942 - *) libmagic=never-match;;
2944 - # this will be overridden with pass_all, but let us keep it just in case
2945 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
2948 + *-32|*"-32 ") libmagic=32-bit;;
2949 + *-n32|*"-n32 ") libmagic=N32;;
2950 + *-64|*"-64 ") libmagic=64-bit;;
2951 + *) libmagic=never-match;;
2953 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2954 lt_cv_deplibs_check_method=pass_all
2957 # This must be Linux ELF.
2960 - alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
2961 - lt_cv_deplibs_check_method=pass_all ;;
2963 - # glibc up to 2.1.1 does not perform some relocations on ARM
2964 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
2966 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2967 + lt_cv_deplibs_check_method=pass_all
2971 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2972 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2973 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2975 @@ -3014,7 +3169,7 @@
2976 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2981 lt_cv_deplibs_check_method=unknown
2984 @@ -3029,9 +3184,6 @@
2987 osf3* | osf4* | osf5*)
2988 - # this will be overridden with pass_all, but let us keep it just in case
2989 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2990 - lt_cv_file_magic_test_file=/shlib/libc.so
2991 lt_cv_deplibs_check_method=pass_all
2994 @@ -3041,7 +3193,6 @@
2997 lt_cv_deplibs_check_method=pass_all
2998 - lt_cv_file_magic_test_file=/lib/libc.so
3001 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3002 @@ -3081,7 +3232,7 @@
3006 -# find the path to a BSD-compatible name lister
3007 +# find the pathname to a BSD-compatible name lister
3008 AC_DEFUN([AC_PROG_NM],
3009 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3010 [if test -n "$NM"; then
3011 @@ -3219,7 +3370,7 @@
3012 AC_DEFUN([_LT_AC_LANG_CXX],
3013 [AC_REQUIRE([AC_PROG_CXX])
3014 AC_REQUIRE([AC_PROG_CXXCPP])
3015 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
3016 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3020 @@ -3235,7 +3386,7 @@
3022 AC_DEFUN([_LT_AC_LANG_F77],
3023 [AC_REQUIRE([AC_PROG_F77])
3024 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
3025 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3029 @@ -3256,7 +3407,7 @@
3030 [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3031 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3032 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3033 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
3034 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3038 @@ -3265,7 +3416,7 @@
3039 # enable support for Windows resource files
3040 AC_DEFUN([AC_LIBTOOL_RC],
3041 [AC_REQUIRE([LT_AC_PROG_RC])
3042 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
3043 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3047 @@ -3307,7 +3458,7 @@
3049 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3050 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3051 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
3052 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3054 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3055 _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3056 @@ -3330,9 +3481,9 @@
3057 AC_LIBTOOL_PROG_CC_C_O($1)
3058 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3059 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3060 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3061 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3062 AC_LIBTOOL_SYS_LIB_STRIP
3063 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3064 AC_LIBTOOL_DLOPEN_SELF($1)
3066 # Report which librarie types wil actually be built
3067 @@ -3353,39 +3504,48 @@
3073 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3074 test "$enable_shared" = yes && enable_static=no
3077 darwin* | rhapsody*)
3078 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3079 + if test "$GCC" = yes; then
3080 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3082 rhapsody* | darwin1.[[012]])
3083 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3086 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3087 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3088 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3090 + case ${MACOSX_DEPLOYMENT_TARGET} in
3092 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3095 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3101 - # FIXME: Relying on posixy $() will cause problems for
3102 - # cross-compilation, but unfortunately the echo tests do not
3103 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
3104 - # `"' quotes if we put them in here... so don't!
3105 - output_verbose_link_cmd='echo'
3106 + output_verbose_link_cmd='echo'
3107 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
3108 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3109 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3110 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3111 - _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}'
3112 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3113 + _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}'
3114 + _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}'
3115 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3116 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3117 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3118 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3119 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3123 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3127 AC_MSG_RESULT([$enable_shared])
3129 @@ -3520,7 +3680,7 @@
3130 # linker, instead of GNU ld. If possible, this setting should
3131 # overridden to take advantage of the native linker features on
3132 # the platform it is being used on.
3133 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3134 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3137 # Commands to make compiler produce verbose output that lists
3138 @@ -3687,41 +3847,54 @@
3141 darwin* | rhapsody*)
3142 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3143 + if test "$GXX" = yes; then
3144 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3146 rhapsody* | darwin1.[[012]])
3147 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3150 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3151 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3152 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3154 + case ${MACOSX_DEPLOYMENT_TARGET} in
3156 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3159 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3165 - lt_int_apple_cc_single_mod=no
3166 - output_verbose_link_cmd='echo'
3167 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3168 - lt_int_apple_cc_single_mod=yes
3170 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3171 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3173 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
3175 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3176 + lt_int_apple_cc_single_mod=no
3177 + output_verbose_link_cmd='echo'
3178 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3179 + lt_int_apple_cc_single_mod=yes
3181 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3182 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3184 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
3186 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3188 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3189 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3190 - _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}'
3192 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
3194 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3195 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3196 + _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}'
3198 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
3200 + _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}'
3201 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3202 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3203 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3204 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3205 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3208 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3213 @@ -3748,7 +3921,7 @@
3215 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3218 + freebsd* | kfreebsd*-gnu)
3219 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3221 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3222 @@ -3779,7 +3952,7 @@
3223 # explicitly linking system object files so we need to strip them
3224 # from the output so that they don't get included in the library
3226 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3227 + 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'
3230 if test "$GXX" = yes; then
3231 @@ -3976,7 +4149,7 @@
3236 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3237 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3238 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3240 @@ -4258,9 +4431,9 @@
3241 AC_LIBTOOL_PROG_CC_C_O($1)
3242 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3243 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3244 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3245 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3246 AC_LIBTOOL_SYS_LIB_STRIP
3247 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3248 AC_LIBTOOL_DLOPEN_SELF($1)
3250 AC_LIBTOOL_CONFIG($1)
3251 @@ -4482,7 +4655,7 @@
3252 postinstall_cmds='$RANLIB $lib'
3257 test "$enable_shared" = yes && enable_static=no
3260 @@ -4502,9 +4675,10 @@
3261 AC_LIBTOOL_PROG_CC_C_O($1)
3262 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3263 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3264 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3265 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3266 AC_LIBTOOL_SYS_LIB_STRIP
3267 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3270 AC_LIBTOOL_CONFIG($1)
3272 @@ -4552,9 +4726,9 @@
3273 AC_LIBTOOL_PROG_CC_C_O($1)
3274 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3275 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3276 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3277 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3278 AC_LIBTOOL_SYS_LIB_STRIP
3279 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3280 AC_LIBTOOL_DLOPEN_SELF($1)
3282 AC_LIBTOOL_CONFIG($1)
3283 @@ -4619,11 +4793,12 @@
3284 # without removal of \ escapes.
3285 if test -n "${ZSH_VERSION+set}" ; then
3286 setopt NO_GLOB_SUBST
3289 # Now quote all the things that may contain metacharacters while being
3290 # careful not to overquote the AC_SUBSTed values. We take copies of the
3291 # variables and quote the copies for generation of the libtool script.
3292 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
3293 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3295 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3296 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3297 deplibs_check_method reload_flag reload_cmds need_locks \
3298 @@ -4673,7 +4848,7 @@
3299 _LT_AC_TAGVAR(archive_cmds, $1) | \
3300 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
3301 _LT_AC_TAGVAR(module_cmds, $1) | \
3302 - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
3303 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
3304 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
3305 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
3306 extract_expsyms_cmds | reload_cmds | finish_cmds | \
3307 @@ -4804,7 +4979,7 @@
3310 # A symbol stripping program
3314 # Used to examine libraries when file_magic_cmd begins "file"
3315 MAGIC_CMD=$MAGIC_CMD
3316 @@ -4835,7 +5010,7 @@
3319 # Shared library suffix (normally ".so").
3321 +shrext_cmds='$shrext_cmds'
3323 # Executable file suffix (normally "").
3325 @@ -5079,7 +5254,10 @@
3326 # If there is no Makefile yet, we rely on a make rule to execute
3327 # `config.status --recheck' to rerun these tests and create the
3328 # libtool script then.
3329 - test -f Makefile && make "$ltmain"
3330 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
3331 + if test -f "$ltmain_in"; then
3332 + test -f Makefile && make "$ltmain"
3335 ])# AC_LIBTOOL_CONFIG
3337 @@ -5152,7 +5330,7 @@
3338 symcode='[[BCDEGQRST]]'
3342 + symcode='[[BDRT]]'
3345 symcode='[[DFNSTU]]'
3346 @@ -5170,7 +5348,7 @@
3347 # If we're using GNU nm, then use its standard symbol codes.
3348 case `$NM -V 2>&1` in
3349 *GNU* | *'with BFD'*)
3350 - symcode='[[ABCDGISTW]]' ;;
3351 + symcode='[[ABCDGIRSTW]]' ;;
3354 # Try without a prefix undercore, then with it.
3355 @@ -5385,7 +5563,7 @@
3360 + freebsd* | kfreebsd*-gnu)
3361 # FreeBSD uses GNU C++
3363 hpux9* | hpux10* | hpux11*)
3364 @@ -5436,7 +5614,7 @@
3365 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3366 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3367 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3372 # Make sure the PIC flag is empty. It appears that all Alpha
3373 @@ -5461,7 +5639,7 @@
3378 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3380 osf3* | osf4* | osf5*)
3381 case $cc_basename in
3382 @@ -5661,12 +5839,12 @@
3388 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3389 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3390 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3394 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3395 # All Alpha code is PIC.
3396 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3397 @@ -5772,6 +5950,9 @@
3399 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3402 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3405 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3407 @@ -5796,7 +5977,7 @@
3408 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3409 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
3410 _LT_AC_TAGVAR(module_cmds, $1)=
3411 - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3412 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3413 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3414 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3415 # include_expsyms should be a list of space-separated symbols to be *always*
3416 @@ -5901,7 +6082,7 @@
3421 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3422 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3423 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3425 @@ -5939,6 +6120,32 @@
3426 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3430 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3431 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3432 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3433 + supports_anon_versioning=no
3434 + case `$LD -v 2>/dev/null` in
3435 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3436 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3437 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3438 + *\ 2.11.*) ;; # other 2.11 versions
3439 + *) supports_anon_versioning=yes ;;
3441 + if test $supports_anon_versioning = yes; then
3442 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3443 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3444 +$echo "local: *; };" >> $output_objdir/$libname.ver~
3445 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3447 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3449 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3451 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3456 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3457 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3458 @@ -6115,7 +6322,7 @@
3459 # Tell ltmain to make .lib files, not .a files.
3461 # Tell ltmain to make .dll files, not .so files.
3463 + shrext_cmds=".dll"
3464 # FIXME: Setting linknames here is a bad hack.
3465 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
3466 # The linker will automatically build a .lib file if we build a DLL.
3467 @@ -6127,20 +6334,27 @@
3470 darwin* | rhapsody*)
3471 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3472 + if test "$GXX" = yes ; then
3473 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3475 rhapsody* | darwin1.[[012]])
3476 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3479 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3480 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3481 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3483 + case ${MACOSX_DEPLOYMENT_TARGET} in
3485 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3488 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3494 - # FIXME: Relying on posixy $() will cause problems for
3495 - # cross-compilation, but unfortunately the echo tests do not
3496 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
3497 - # `"' quotes if we put them in here... so don't!
3498 lt_int_apple_cc_single_mod=no
3499 output_verbose_link_cmd='echo'
3500 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3501 @@ -6151,20 +6365,22 @@
3503 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
3505 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3506 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3507 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3508 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3509 _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}'
3511 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
3513 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3514 + _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}'
3515 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3516 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3517 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3518 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3519 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3522 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3527 @@ -6197,7 +6413,7 @@
3530 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3532 + freebsd* | kfreebsd*-gnu)
3533 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3534 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3535 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3536 @@ -6284,7 +6500,7 @@
3537 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3541 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3542 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3543 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3545 @@ -6514,7 +6730,7 @@
3546 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
3548 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3551 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
3554 @@ -6676,63 +6892,120 @@
3555 AC_MSG_RESULT([$SED])
3558 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
3560 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
3562 +# This program is free software; you can redistribute it and/or modify
3563 +# it under the terms of the GNU General Public License as published by
3564 +# the Free Software Foundation; either version 2 of the License, or
3565 +# (at your option) any later version.
3567 +# This program is distributed in the hope that it will be useful, but
3568 +# WITHOUT ANY WARRANTY; without even the implied warranty of
3569 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3570 +# General Public License for more details.
3572 +# You should have received a copy of the GNU General Public License
3573 +# along with this program; if not, write to the Free Software
3574 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
3576 +# As a special exception to the GNU General Public License, if you
3577 +# distribute this file as part of a program that contains a
3578 +# configuration script generated by Autoconf, you may include it under
3579 +# the same distribution terms that you use for the rest of that program.
3581 -dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
3582 -dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
3583 -dnl also defines GSTUFF_PKG_ERRORS on error
3584 -AC_DEFUN(PKG_CHECK_MODULES, [
3587 - if test -z "$PKG_CONFIG"; then
3588 - AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
3591 - if test "$PKG_CONFIG" = "no" ; then
3592 - echo "*** The pkg-config script could not be found. Make sure it is"
3593 - echo "*** in your path, or set the PKG_CONFIG environment variable"
3594 - echo "*** to the full path to pkg-config."
3595 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3597 - PKG_CONFIG_MIN_VERSION=0.9.0
3598 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3599 - AC_MSG_CHECKING(for $2)
3601 - if $PKG_CONFIG --exists "$2" ; then
3602 - AC_MSG_RESULT(yes)
3605 - AC_MSG_CHECKING($1_CFLAGS)
3606 - $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
3607 - AC_MSG_RESULT($$1_CFLAGS)
3609 - AC_MSG_CHECKING($1_LIBS)
3610 - $1_LIBS=`$PKG_CONFIG --libs "$2"`
3611 - AC_MSG_RESULT($$1_LIBS)
3615 - ## If we have a custom action on failure, don't print errors, but
3616 - ## do set a variable so people can do so.
3617 - $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
3618 - ifelse([$4], ,echo $$1_PKG_ERRORS,)
3621 - AC_SUBST($1_CFLAGS)
3624 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3625 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
3629 - if test $succeeded = yes; then
3630 - ifelse([$3], , :, [$3])
3632 - ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
3635 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
3636 +# ----------------------------------
3637 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
3638 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
3639 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3640 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
3641 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3642 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
3644 +if test -n "$PKG_CONFIG"; then
3645 + _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
3646 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
3647 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3648 + AC_MSG_RESULT([yes])
3650 + AC_MSG_RESULT([no])
3655 +])# PKG_PROG_PKG_CONFIG
3657 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
3658 +# ---------------------------------------------
3659 +m4_define([_PKG_CONFIG],
3660 +[if test "x$ac_cv_env_[]$1[]_set" = "xset"; then
3661 + pkg_cv_[]$1=$ac_cv_env_[]$1[]_value
3662 +elif test -n "$PKG_CONFIG"; then
3663 + if AC_RUN_LOG([$PKG_CONFIG --exists "$3" >/dev/null 2>&1]); then
3664 + pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
3669 + pkg_failed=untried
3673 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
3674 +# [ACTION-IF-NOT-FOUND])
3677 +# Note that if there is a possibility the first call to
3678 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
3679 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.in
3682 +# --------------------------------------------------------------
3683 +AC_DEFUN([PKG_CHECK_MODULES],
3684 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
3685 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
3686 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
3689 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
3690 + [_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
3691 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
3692 + [_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
3694 +if test $pkg_failed = yes; then
3695 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
3696 + # Put the nasty error message in config.log where it belongs
3697 + echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
3699 + ifelse([$4], , [AC_MSG_ERROR(dnl
3700 +[Package requirements ($2) were not met.
3701 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
3702 +installed software in a non-standard prefix.
3704 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
3705 +to avoid the need to call pkg-config. See the pkg-config man page for
3708 +elif test $pkg_failed = untried; then
3709 + ifelse([$4], , [AC_MSG_FAILURE(dnl
3710 +[The pkg-config script could not be found or is too old. Make sure it
3711 +is in your PATH or set the PKG_CONFIG environment variable to the full
3712 +path to pkg-config.
3714 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
3715 +to avoid the need to call pkg-config. See the pkg-config man page for
3718 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
3721 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
3722 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
3723 + ifelse([$3], , :, [$3])
3725 +])# PKG_CHECK_MODULES
3727 # Select a pthread library & setup some build variables
3728 # by Eric Crahen <crahen@cs.buffalo.edu>
3729 @@ -7061,6 +7334,10 @@
3730 AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS) has correct exception handling])
3731 AC_CACHE_VAL(ac_cv_cxx_eh,
3733 +if test x"$cross_compiling" = x"yes"; then
3734 + dnl Assume true when cross compiling.
3739 #include <stdexcept>
3740 @@ -7085,7 +7362,7 @@
3746 AC_MSG_RESULT([$ac_cv_cxx_eh])
3747 if test "x$ac_cv_cxx_eh" = "xyes"
3749 @@ -7161,3 +7438,4 @@
3754 diff -ruN libsigcx-0.6.4-patched/configure libsigcx-0.6.4-regen/configure
3755 --- libsigcx-0.6.4-patched/configure 2003-06-03 10:02:26.000000000 -0700
3756 +++ libsigcx-0.6.4-regen/configure 2005-05-06 21:21:19.000000000 -0700
3759 # Guess values for system-dependent variables and create Makefiles.
3760 -# Generated by GNU Autoconf 2.57.
3761 +# Generated by GNU Autoconf 2.59.
3763 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3764 -# Free Software Foundation, Inc.
3765 +# Copyright (C) 2003 Free Software Foundation, Inc.
3766 # This configure script is free software; the Free Software Foundation
3767 # gives unlimited permission to copy, distribute and modify it.
3768 ## --------------------- ##
3770 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3773 +DUALCASE=1; export DUALCASE # for MKS sh
3775 # Support unset when possible.
3776 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3777 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3782 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3783 LC_TELEPHONE LC_TIME
3785 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3786 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3787 eval $as_var=C; export $as_var
3790 @@ -218,16 +218,17 @@
3791 if mkdir -p . 2>/dev/null; then
3794 + test -d ./-p && rmdir ./-p
3798 as_executable_p="test -f"
3800 # Sed expression to map a string onto a valid CPP name.
3801 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3802 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3804 # Sed expression to map a string onto a valid variable name.
3805 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3806 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3814 -tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
3815 +tagnames=${tagnames+${tagnames},}CXX
3817 -tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
3818 +tagnames=${tagnames+${tagnames},}F77
3821 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3823 # include <unistd.h>
3826 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os M4 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SIGCX_BRANCH SIGCX_DEVBRANCH PKG_CONFIG SIGC_CFLAGS SIGC_LIBS PTHREAD_CFLAGS PTHREAD_LIBS GTHREAD_CFLAGS GTHREAD_LIBS THREADS_USED THREAD_LIBS THREAD_CFLAGS GTK_CFLAGS GTK_LIBS GTKLIB DOXYGEN PERL MAYBE_DOC LIBOBJS LTLIBOBJS'
3827 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os M4 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SIGCX_BRANCH SIGCX_DEVBRANCH PKG_CONFIG ac_pt_PKG_CONFIG SIGC_CFLAGS SIGC_LIBS SIGC_MACROS PTHREAD_CFLAGS PTHREAD_LIBS GTHREAD_CFLAGS GTHREAD_LIBS THREADS_USED THREAD_LIBS THREAD_CFLAGS GTK_CFLAGS GTK_LIBS GTKLIB DOXYGEN PERL MAYBE_DOC LIBOBJS LTLIBOBJS'
3830 # Initialize some variables set by options.
3833 # Be sure to have absolute paths.
3834 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
3835 - localstatedir libdir includedir oldincludedir infodir mandir
3836 + localstatedir libdir includedir oldincludedir infodir mandir
3838 eval ac_val=$`echo $ac_var`
3840 @@ -861,10 +862,10 @@
3841 # Try the directory containing this script, then its parent.
3842 ac_confdir=`(dirname "$0") 2>/dev/null ||
3843 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3844 - X"$0" : 'X\(//\)[^/]' \| \
3845 - X"$0" : 'X\(//\)$' \| \
3846 - X"$0" : 'X\(/\)' \| \
3847 - . : '\(.\)' 2>/dev/null ||
3848 + X"$0" : 'X\(//\)[^/]' \| \
3849 + X"$0" : 'X\(//\)$' \| \
3850 + X"$0" : 'X\(/\)' \| \
3851 + . : '\(.\)' 2>/dev/null ||
3853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3854 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3855 @@ -943,6 +944,34 @@
3856 ac_env_FFLAGS_value=$FFLAGS
3857 ac_cv_env_FFLAGS_set=${FFLAGS+set}
3858 ac_cv_env_FFLAGS_value=$FFLAGS
3859 +ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
3860 +ac_env_PKG_CONFIG_value=$PKG_CONFIG
3861 +ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
3862 +ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
3863 +ac_env_SIGC_CFLAGS_set=${SIGC_CFLAGS+set}
3864 +ac_env_SIGC_CFLAGS_value=$SIGC_CFLAGS
3865 +ac_cv_env_SIGC_CFLAGS_set=${SIGC_CFLAGS+set}
3866 +ac_cv_env_SIGC_CFLAGS_value=$SIGC_CFLAGS
3867 +ac_env_SIGC_LIBS_set=${SIGC_LIBS+set}
3868 +ac_env_SIGC_LIBS_value=$SIGC_LIBS
3869 +ac_cv_env_SIGC_LIBS_set=${SIGC_LIBS+set}
3870 +ac_cv_env_SIGC_LIBS_value=$SIGC_LIBS
3871 +ac_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
3872 +ac_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
3873 +ac_cv_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
3874 +ac_cv_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
3875 +ac_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
3876 +ac_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
3877 +ac_cv_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
3878 +ac_cv_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
3879 +ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
3880 +ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
3881 +ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
3882 +ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
3883 +ac_env_GTK_LIBS_set=${GTK_LIBS+set}
3884 +ac_env_GTK_LIBS_value=$GTK_LIBS
3885 +ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
3886 +ac_cv_env_GTK_LIBS_value=$GTK_LIBS
3889 # Report the --help message.
3890 @@ -976,9 +1005,9 @@
3892 Installation directories:
3893 --prefix=PREFIX install architecture-independent files in PREFIX
3894 - [$ac_default_prefix]
3895 + [$ac_default_prefix]
3896 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
3900 By default, \`make install' will install all the files in
3901 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
3902 @@ -1022,8 +1051,6 @@
3904 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3905 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
3906 - --disable-dependency-tracking Speeds up one-time builds
3907 - --enable-dependency-tracking Do not reject slow dependency extractors
3908 --enable-static[=PKGS]
3909 build static libraries [default=no]
3910 --enable-shared[=PKGS]
3911 @@ -1058,6 +1085,15 @@
3912 CXXCPP C++ preprocessor
3913 F77 Fortran 77 compiler command
3914 FFLAGS Fortran 77 compiler flags
3915 + PKG_CONFIG path to pkg-config utility
3916 + SIGC_CFLAGS C compiler flags for SIGC, overriding pkg-config
3917 + SIGC_LIBS linker flags for SIGC, overriding pkg-config
3919 + C compiler flags for GTHREAD, overriding pkg-config
3921 + linker flags for GTHREAD, overriding pkg-config
3922 + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
3923 + GTK_LIBS linker flags for GTK, overriding pkg-config
3925 Use these variables to override the choices made by `configure' or to help
3926 it to find libraries and programs with nonstandard names/locations.
3927 @@ -1095,12 +1131,45 @@
3928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3929 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3931 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3933 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3934 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3935 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3936 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3938 +# Do not use `cd foo && pwd` to compute absolute paths, because
3939 +# the directories may not exist.
3941 +.) ac_abs_builddir="$ac_dir";;
3944 + .) ac_abs_builddir=`pwd`;;
3945 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3946 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
3949 +case $ac_abs_builddir in
3950 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
3952 + case ${ac_top_builddir}. in
3953 + .) ac_abs_top_builddir=$ac_abs_builddir;;
3954 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3955 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3958 +case $ac_abs_builddir in
3959 +.) ac_abs_srcdir=$ac_srcdir;;
3961 + case $ac_srcdir in
3962 + .) ac_abs_srcdir=$ac_abs_builddir;;
3963 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3964 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3967 +case $ac_abs_builddir in
3968 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
3970 + case $ac_top_srcdir in
3971 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
3972 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3973 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3978 # Check for guested configure; otherwise get Cygnus style configure.
3979 @@ -1111,13 +1180,13 @@
3981 $SHELL $ac_srcdir/configure --help=recursive
3982 elif test -f $ac_srcdir/configure.ac ||
3983 - test -f $ac_srcdir/configure.in; then
3984 + test -f $ac_srcdir/configure.in; then
3986 $ac_configure --help
3988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3995 @@ -1125,8 +1194,7 @@
3996 if $ac_init_version; then
3999 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
4000 -Free Software Foundation, Inc.
4001 +Copyright (C) 2003 Free Software Foundation, Inc.
4002 This configure script is free software; the Free Software Foundation
4003 gives unlimited permission to copy, distribute and modify it.
4005 @@ -1138,7 +1206,7 @@
4006 running configure, to aid debugging if configure makes a mistake.
4008 It was created by $as_me, which was
4009 -generated by GNU Autoconf 2.57. Invocation command line was
4010 +generated by GNU Autoconf 2.59. Invocation command line was
4014 @@ -1215,19 +1283,19 @@
4016 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
4017 if test $ac_must_keep_next = true; then
4018 - ac_must_keep_next=false # Got value, back to normal.
4019 + ac_must_keep_next=false # Got value, back to normal.
4022 - *=* | --config-cache | -C | -disable-* | --disable-* \
4023 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4024 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4025 - | -with-* | --with-* | -without-* | --without-* | --x)
4026 - case "$ac_configure_args0 " in
4027 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4030 - -* ) ac_must_keep_next=true ;;
4033 + *=* | --config-cache | -C | -disable-* | --disable-* \
4034 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4035 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4036 + | -with-* | --with-* | -without-* | --without-* | --x)
4037 + case "$ac_configure_args0 " in
4038 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4041 + -* ) ac_must_keep_next=true ;;
4044 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4045 # Get rid of the leading space.
4046 @@ -1261,12 +1329,12 @@
4047 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
4050 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4051 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4052 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4053 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4057 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4058 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4062 @@ -1295,7 +1363,7 @@
4063 for ac_var in $ac_subst_files
4065 eval ac_val=$`echo $ac_var`
4066 - echo "$ac_var='"'"'$ac_val'"'"'"
4067 + echo "$ac_var='"'"'$ac_val'"'"'"
4071 @@ -1314,7 +1382,7 @@
4072 echo "$as_me: caught signal $ac_signal"
4073 echo "$as_me: exit $exit_status"
4075 - rm -f core core.* *.core &&
4076 + rm -f core *.core &&
4077 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
4080 @@ -1394,7 +1462,7 @@
4082 ac_cache_corrupted=false
4083 for ac_var in `(set) 2>&1 |
4084 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4085 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4086 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4087 eval ac_new_set=\$ac_env_${ac_var}_set
4088 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4089 @@ -1411,13 +1479,13 @@
4092 if test "x$ac_old_val" != "x$ac_new_val"; then
4093 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4094 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4095 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4096 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
4097 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
4098 echo "$as_me: former value: $ac_old_val" >&2;}
4099 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
4100 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
4101 echo "$as_me: current value: $ac_new_val" >&2;}
4102 - ac_cache_corrupted=:
4103 + ac_cache_corrupted=:
4106 # Pass precious variables to config.status.
4107 @@ -1490,7 +1558,7 @@
4108 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4109 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4111 -am__api_version="1.7"
4112 +am__api_version="1.4"
4113 # Find a good install program. We prefer a C program (faster),
4114 # so one script is as good as another. But avoid the broken or
4115 # incompatible versions:
4116 @@ -1502,6 +1570,7 @@
4117 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4118 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4119 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4120 +# OS/2's system install, which has a completely different semantic
4121 # ./install, which can be erroneously created by make from ./install.sh.
4122 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4123 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4124 @@ -1518,6 +1587,7 @@
4126 ./ | .// | /cC/* | \
4127 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4128 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4131 # OSF1 and SCO ODT 3.0 have their own names for install.
4132 @@ -1525,20 +1595,20 @@
4134 for ac_prog in ginstall scoinst install; do
4135 for ac_exec_ext in '' $ac_executable_extensions; do
4136 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4137 - if test $ac_prog = install &&
4138 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4139 - # AIX install. It has an incompatible calling convention.
4141 - elif test $ac_prog = install &&
4142 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4143 - # program-specific install script used by HP pwplus--don't use.
4146 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4150 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4151 + if test $ac_prog = install &&
4152 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4153 + # AIX install. It has an incompatible calling convention.
4155 + elif test $ac_prog = install &&
4156 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4157 + # program-specific install script used by HP pwplus--don't use.
4160 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4167 @@ -1572,21 +1642,20 @@
4168 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
4171 -echo timestamp > conftest.file
4172 +echo timestamp > conftestfile
4173 # Do `set' in a subshell so we don't clobber the current shell's
4174 # arguments. Must try -L first in case configure is actually a
4175 # symlink; some systems play weird games with the mod time of symlinks
4176 # (eg FreeBSD returns the mod time of the symlink's containing
4179 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4180 + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
4181 if test "$*" = "X"; then
4183 - set X `ls -t $srcdir/configure conftest.file`
4184 + set X `ls -t $srcdir/configure conftestfile`
4186 - rm -f conftest.file
4187 - if test "$*" != "X $srcdir/configure conftest.file" \
4188 - && test "$*" != "X conftest.file $srcdir/configure"; then
4189 + if test "$*" != "X $srcdir/configure conftestfile" \
4190 + && test "$*" != "X conftestfile $srcdir/configure"; then
4192 # If neither matched, then we have a broken ls. This can happen
4193 # if, for instance, CONFIG_SHELL is bash and it inherits a
4194 @@ -1599,7 +1668,7 @@
4195 { (exit 1); exit 1; }; }
4198 - test "$2" = conftest.file
4199 + test "$2" = conftestfile
4203 @@ -1611,6 +1680,7 @@
4204 Check your system clock" >&2;}
4205 { (exit 1); exit 1; }; }
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 test "$program_prefix" != NONE &&
4211 @@ -1626,63 +1696,9 @@
4212 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4216 -# expand $ac_aux_dir to an absolute path
4217 -am_aux_dir=`cd $ac_aux_dir && pwd`
4219 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4220 -# Use eval to expand $SHELL
4221 -if eval "$MISSING --run true"; then
4222 - am_missing_run="$MISSING --run "
4225 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4226 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4229 -for ac_prog in gawk mawk nawk awk
4231 - # Extract the first word of "$ac_prog", so it can be a program name with args.
4232 -set dummy $ac_prog; ac_word=$2
4233 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 -if test "${ac_cv_prog_AWK+set}" = set; then
4236 - echo $ECHO_N "(cached) $ECHO_C" >&6
4238 - if test -n "$AWK"; then
4239 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
4241 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 -for as_dir in $PATH
4245 - test -z "$as_dir" && as_dir=.
4246 - for ac_exec_ext in '' $ac_executable_extensions; do
4247 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248 - ac_cv_prog_AWK="$ac_prog"
4249 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 -AWK=$ac_cv_prog_AWK
4258 -if test -n "$AWK"; then
4259 - echo "$as_me:$LINENO: result: $AWK" >&5
4260 -echo "${ECHO_T}$AWK" >&6
4262 - echo "$as_me:$LINENO: result: no" >&5
4263 -echo "${ECHO_T}no" >&6
4266 - test -n "$AWK" && break
4269 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4270 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4271 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4272 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
4273 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 @@ -1709,38 +1725,17 @@
4277 SET_MAKE="MAKE=${MAKE-make}"
4280 -rm -rf .tst 2>/dev/null
4281 -mkdir .tst 2>/dev/null
4282 -if test -d .tst; then
4287 -rmdir .tst 2>/dev/null
4289 - # test to see if srcdir already configured
4290 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
4291 - test -f $srcdir/config.status; then
4297 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
4298 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4299 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4300 { (exit 1); exit 1; }; }
4303 -# test whether we have cygpath
4304 -if test -z "$CYGPATH_W"; then
4305 - if (cygpath --version) >/dev/null 2>/dev/null; then
4306 - CYGPATH_W='cygpath -w'
4313 -# Define the identity of the package.
4318 cat >>confdefs.h <<_ACEOF
4319 #define PACKAGE "$PACKAGE"
4321 @@ -1750,122 +1745,90 @@
4322 #define VERSION "$VERSION"
4325 -# Some tools Automake needs.
4327 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4330 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4333 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4336 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4339 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4342 -AMTAR=${AMTAR-"${am_missing_run}tar"}
4344 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
4346 -# Installed binaries are usually stripped using `strip' when the user
4347 -# run `make install-strip'. However `strip' might not be the right
4348 -# tool to use in cross-compilation environments, therefore Automake
4349 -# will honor the `STRIP' environment variable to overrule this program.
4350 -if test "$cross_compiling" != no; then
4351 - if test -n "$ac_tool_prefix"; then
4352 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4353 -set dummy ${ac_tool_prefix}strip; ac_word=$2
4354 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4355 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4356 -if test "${ac_cv_prog_STRIP+set}" = set; then
4357 - echo $ECHO_N "(cached) $ECHO_C" >&6
4359 - if test -n "$STRIP"; then
4360 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4362 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 -for as_dir in $PATH
4366 - test -z "$as_dir" && as_dir=.
4367 - for ac_exec_ext in '' $ac_executable_extensions; do
4368 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4370 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 -STRIP=$ac_cv_prog_STRIP
4379 -if test -n "$STRIP"; then
4380 - echo "$as_me:$LINENO: result: $STRIP" >&5
4381 -echo "${ECHO_T}$STRIP" >&6
4383 - echo "$as_me:$LINENO: result: no" >&5
4384 -echo "${ECHO_T}no" >&6
4388 -if test -z "$ac_cv_prog_STRIP"; then
4389 - ac_ct_STRIP=$STRIP
4390 - # Extract the first word of "strip", so it can be a program name with args.
4391 -set dummy strip; ac_word=$2
4392 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4395 - echo $ECHO_N "(cached) $ECHO_C" >&6
4397 - if test -n "$ac_ct_STRIP"; then
4398 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4400 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 -for as_dir in $PATH
4404 - test -z "$as_dir" && as_dir=.
4405 - for ac_exec_ext in '' $ac_executable_extensions; do
4406 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 - ac_cv_prog_ac_ct_STRIP="strip"
4408 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4417 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4418 -if test -n "$ac_ct_STRIP"; then
4419 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4420 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4422 - echo "$as_me:$LINENO: result: no" >&5
4423 -echo "${ECHO_T}no" >&6
4426 - STRIP=$ac_ct_STRIP
4428 - STRIP="$ac_cv_prog_STRIP"
4431 +missing_dir=`cd $ac_aux_dir && pwd`
4432 +echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
4433 +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
4434 +# Run test in a subshell; some versions of sh will print an error if
4435 +# an executable is not found, even if stderr is redirected.
4436 +# Redirect stdin to placate older versions of autoconf. Sigh.
4437 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
4438 + ACLOCAL=aclocal-${am__api_version}
4439 + echo "$as_me:$LINENO: result: found" >&5
4440 +echo "${ECHO_T}found" >&6
4442 + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
4443 + echo "$as_me:$LINENO: result: missing" >&5
4444 +echo "${ECHO_T}missing" >&6
4447 +echo "$as_me:$LINENO: checking for working autoconf" >&5
4448 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
4449 +# Run test in a subshell; some versions of sh will print an error if
4450 +# an executable is not found, even if stderr is redirected.
4451 +# Redirect stdin to placate older versions of autoconf. Sigh.
4452 +if (autoconf --version) < /dev/null > /dev/null 2>&1; then
4454 + echo "$as_me:$LINENO: result: found" >&5
4455 +echo "${ECHO_T}found" >&6
4457 + AUTOCONF="$missing_dir/missing autoconf"
4458 + echo "$as_me:$LINENO: result: missing" >&5
4459 +echo "${ECHO_T}missing" >&6
4462 +echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
4463 +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
4464 +# Run test in a subshell; some versions of sh will print an error if
4465 +# an executable is not found, even if stderr is redirected.
4466 +# Redirect stdin to placate older versions of autoconf. Sigh.
4467 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
4468 + AUTOMAKE=automake-${am__api_version}
4469 + echo "$as_me:$LINENO: result: found" >&5
4470 +echo "${ECHO_T}found" >&6
4472 + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
4473 + echo "$as_me:$LINENO: result: missing" >&5
4474 +echo "${ECHO_T}missing" >&6
4477 +echo "$as_me:$LINENO: checking for working autoheader" >&5
4478 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
4479 +# Run test in a subshell; some versions of sh will print an error if
4480 +# an executable is not found, even if stderr is redirected.
4481 +# Redirect stdin to placate older versions of autoconf. Sigh.
4482 +if (autoheader --version) < /dev/null > /dev/null 2>&1; then
4483 + AUTOHEADER=autoheader
4484 + echo "$as_me:$LINENO: result: found" >&5
4485 +echo "${ECHO_T}found" >&6
4487 + AUTOHEADER="$missing_dir/missing autoheader"
4488 + echo "$as_me:$LINENO: result: missing" >&5
4489 +echo "${ECHO_T}missing" >&6
4492 +echo "$as_me:$LINENO: checking for working makeinfo" >&5
4493 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
4494 +# Run test in a subshell; some versions of sh will print an error if
4495 +# an executable is not found, even if stderr is redirected.
4496 +# Redirect stdin to placate older versions of autoconf. Sigh.
4497 +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
4499 + echo "$as_me:$LINENO: result: found" >&5
4500 +echo "${ECHO_T}found" >&6
4502 + MAKEINFO="$missing_dir/missing makeinfo"
4503 + echo "$as_me:$LINENO: result: missing" >&5
4504 +echo "${ECHO_T}missing" >&6
4506 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4508 -# We need awk for the "check" target. The system "awk" is bad on
4513 ac_config_headers="$ac_config_headers config.h"
4515 + ac_config_commands="$ac_config_commands default-1"
4520 @@ -1987,6 +1950,7 @@
4521 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4524 +# OS/2's system install, which has a completely different semantic
4525 # ./install, which can be erroneously created by make from ./install.sh.
4526 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4527 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4528 @@ -2003,6 +1967,7 @@
4530 ./ | .// | /cC/* | \
4531 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4532 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4535 # OSF1 and SCO ODT 3.0 have their own names for install.
4536 @@ -2010,20 +1975,20 @@
4538 for ac_prog in ginstall scoinst install; do
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4541 - if test $ac_prog = install &&
4542 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4543 - # AIX install. It has an incompatible calling convention.
4545 - elif test $ac_prog = install &&
4546 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4547 - # program-specific install script used by HP pwplus--don't use.
4550 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4554 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4555 + if test $ac_prog = install &&
4556 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4557 + # AIX install. It has an incompatible calling convention.
4559 + elif test $ac_prog = install &&
4560 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4561 + # program-specific install script used by HP pwplus--don't use.
4564 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4571 @@ -2389,7 +2354,6 @@
4572 (exit $ac_status); }
4574 cat >conftest.$ac_ext <<_ACEOF
4575 -#line $LINENO "configure"
4578 cat confdefs.h >>conftest.$ac_ext
4579 @@ -2409,8 +2373,8 @@
4580 # Try to create an executable without -o first, disregard a.out.
4581 # It will help us diagnose broken compilers, and finding out an intuition
4583 -echo "$as_me:$LINENO: checking for C compiler default output" >&5
4584 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
4585 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4586 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4587 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4588 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4589 (eval $ac_link_default) 2>&5
4590 @@ -2430,23 +2394,23 @@
4591 test -f "$ac_file" || continue
4593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4597 - # This is the source file.
4599 + # This is the source file.
4602 - # We found the default executable, but exeext='' is most
4603 - # certainly right.
4605 + # We found the default executable, but exeext='' is most
4606 + # certainly right.
4609 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4610 - # FIXME: I believe we export ac_cv_exeext for Libtool,
4611 - # but it would be cool to find out if it's true. Does anybody
4612 - # maintain Libtool? --akim.
4613 - export ac_cv_exeext
4615 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4616 + # FIXME: I believe we export ac_cv_exeext for Libtool,
4617 + # but it would be cool to find out if it's true. Does anybody
4618 + # maintain Libtool? --akim.
4619 + export ac_cv_exeext
4627 @@ -2520,8 +2484,8 @@
4629 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4630 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4631 - export ac_cv_exeext
4633 + export ac_cv_exeext
4638 @@ -2546,7 +2510,6 @@
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.$ac_ext <<_ACEOF
4642 -#line $LINENO "configure"
4645 cat confdefs.h >>conftest.$ac_ext
4646 @@ -2597,7 +2560,6 @@
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 cat >conftest.$ac_ext <<_ACEOF
4650 -#line $LINENO "configure"
4653 cat confdefs.h >>conftest.$ac_ext
4654 @@ -2617,11 +2579,20 @@
4656 rm -f conftest.$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 - (eval $ac_compile) 2>&5
4659 + (eval $ac_compile) 2>conftest.er1
4661 + grep -v '^ *+' conftest.er1 >conftest.err
4662 + rm -f conftest.er1
4663 + cat conftest.err >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } &&
4666 - { ac_try='test -s conftest.$ac_objext'
4667 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4668 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 + (eval $ac_try) 2>&5
4671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 + (exit $ac_status); }; } &&
4673 + { ac_try='test -s conftest.$ac_objext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 @@ -2634,7 +2605,7 @@
4681 -rm -f conftest.$ac_objext conftest.$ac_ext
4682 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4686 @@ -2650,7 +2621,6 @@
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 cat >conftest.$ac_ext <<_ACEOF
4690 -#line $LINENO "configure"
4693 cat confdefs.h >>conftest.$ac_ext
4694 @@ -2667,11 +2637,20 @@
4696 rm -f conftest.$ac_objext
4697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4698 - (eval $ac_compile) 2>&5
4699 + (eval $ac_compile) 2>conftest.er1
4701 + grep -v '^ *+' conftest.er1 >conftest.err
4702 + rm -f conftest.er1
4703 + cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } &&
4706 - { ac_try='test -s conftest.$ac_objext'
4707 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4708 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709 + (eval $ac_try) 2>&5
4711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 + (exit $ac_status); }; } &&
4713 + { ac_try='test -s conftest.$ac_objext'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 @@ -2684,7 +2663,7 @@
4721 -rm -f conftest.$ac_objext conftest.$ac_ext
4722 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4724 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4725 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4726 @@ -2711,7 +2690,6 @@
4727 ac_cv_prog_cc_stdc=no
4729 cat >conftest.$ac_ext <<_ACEOF
4730 -#line $LINENO "configure"
4733 cat confdefs.h >>conftest.$ac_ext
4734 @@ -2739,6 +2717,16 @@
4739 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4740 + function prototypes and stuff, but not '\xHH' hex character constants.
4741 + These don't provoke an error unfortunately, instead are silently treated
4742 + as 'x'. The following induces an error, until -std1 is added to get
4743 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4744 + array size at least. It's necessary to write '\x00'==0 to get something
4745 + that's true only with -std1. */
4746 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4748 int test (int i, double x);
4749 struct s1 {int (*f) (int a);};
4750 struct s2 {int (*f) (double a);};
4751 @@ -2765,11 +2753,20 @@
4752 CC="$ac_save_CC $ac_arg"
4753 rm -f conftest.$ac_objext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755 - (eval $ac_compile) 2>&5
4756 + (eval $ac_compile) 2>conftest.er1
4758 + grep -v '^ *+' conftest.er1 >conftest.err
4759 + rm -f conftest.er1
4760 + cat conftest.err >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } &&
4763 - { ac_try='test -s conftest.$ac_objext'
4764 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4765 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 + (eval $ac_try) 2>&5
4768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 + (exit $ac_status); }; } &&
4770 + { ac_try='test -s conftest.$ac_objext'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 @@ -2782,7 +2779,7 @@
4775 sed 's/^/| /' conftest.$ac_ext >&5
4778 -rm -f conftest.$ac_objext
4779 +rm -f conftest.err conftest.$ac_objext
4781 rm -f conftest.$ac_ext conftest.$ac_objext
4783 @@ -2810,34 +2807,41 @@
4785 rm -f conftest.$ac_objext
4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 - (eval $ac_compile) 2>&5
4788 + (eval $ac_compile) 2>conftest.er1
4790 + grep -v '^ *+' conftest.er1 >conftest.err
4791 + rm -f conftest.er1
4792 + cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 - { ac_try='test -s conftest.$ac_objext'
4796 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4797 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 + (eval $ac_try) 2>&5
4800 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 + (exit $ac_status); }; } &&
4802 + { ac_try='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 for ac_declaration in \
4811 'extern "C" void std::exit (int) throw (); using std::exit;' \
4812 'extern "C" void std::exit (int); using std::exit;' \
4813 'extern "C" void exit (int) throw ();' \
4814 'extern "C" void exit (int);' \
4815 - 'void exit (int);' \
4816 - '#include <stdlib.h>'
4817 + 'void exit (int);'
4819 cat >conftest.$ac_ext <<_ACEOF
4820 -#line $LINENO "configure"
4823 cat confdefs.h >>conftest.$ac_ext
4824 cat >>conftest.$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4826 -#include <stdlib.h>
4828 +#include <stdlib.h>
4832 @@ -2848,11 +2852,20 @@
4834 rm -f conftest.$ac_objext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836 - (eval $ac_compile) 2>&5
4837 + (eval $ac_compile) 2>conftest.er1
4839 + grep -v '^ *+' conftest.er1 >conftest.err
4840 + rm -f conftest.er1
4841 + cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 - { ac_try='test -s conftest.$ac_objext'
4845 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 + (eval $ac_try) 2>&5
4849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 + (exit $ac_status); }; } &&
4851 + { ac_try='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 @@ -2865,9 +2878,8 @@
4859 -rm -f conftest.$ac_objext conftest.$ac_ext
4860 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4861 cat >conftest.$ac_ext <<_ACEOF
4862 -#line $LINENO "configure"
4865 cat confdefs.h >>conftest.$ac_ext
4866 @@ -2884,11 +2896,20 @@
4868 rm -f conftest.$ac_objext
4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870 - (eval $ac_compile) 2>&5
4871 + (eval $ac_compile) 2>conftest.er1
4873 + grep -v '^ *+' conftest.er1 >conftest.err
4874 + rm -f conftest.er1
4875 + cat conftest.err >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } &&
4878 - { ac_try='test -s conftest.$ac_objext'
4879 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4880 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 + (eval $ac_try) 2>&5
4883 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 + (exit $ac_status); }; } &&
4885 + { ac_try='test -s conftest.$ac_objext'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 @@ -2900,7 +2921,7 @@
4890 sed 's/^/| /' conftest.$ac_ext >&5
4893 -rm -f conftest.$ac_objext conftest.$ac_ext
4894 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4897 if test -n "$ac_declaration"; then
4898 @@ -2914,178 +2935,26 @@
4899 sed 's/^/| /' conftest.$ac_ext >&5
4902 -rm -f conftest.$ac_objext conftest.$ac_ext
4903 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4909 -DEPDIR="${am__leading_dot}deps"
4911 - ac_config_commands="$ac_config_commands depfiles"
4914 -am_make=${MAKE-make}
4915 -cat > confinc << 'END'
4920 -# If we don't find an include directive, just comment out the code.
4921 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4922 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
4926 -# First try GNU make style include.
4927 -echo "include confinc" > confmf
4928 -# We grep out `Entering directory' and `Leaving directory'
4929 -# messages which can occur if `w' ends up in MAKEFLAGS.
4930 -# In particular we don't look at `^make:' because GNU make might
4931 -# be invoked under some other name (usually "gmake"), in which
4932 -# case it prints its new name instead of `make'.
4933 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4934 - am__include=include
4938 -# Now try BSD make style include.
4939 -if test "$am__include" = "#"; then
4940 - echo '.include "confinc"' > confmf
4941 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4942 - am__include=.include
4949 -echo "$as_me:$LINENO: result: $_am_result" >&5
4950 -echo "${ECHO_T}$_am_result" >&6
4951 -rm -f confinc confmf
4953 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
4954 -if test "${enable_dependency_tracking+set}" = set; then
4955 - enableval="$enable_dependency_tracking"
4958 -if test "x$enable_dependency_tracking" != xno; then
4959 - am_depcomp="$ac_aux_dir/depcomp"
4960 - AMDEPBACKSLASH='\'
4964 -if test "x$enable_dependency_tracking" != xno; then
4975 -depcc="$CC" am_compiler_list=
4977 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4978 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4979 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4980 - echo $ECHO_N "(cached) $ECHO_C" >&6
4982 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4983 - # We make a subdir and do the tests there. Otherwise we can end up
4984 - # making bogus files that we don't know about and never remove. For
4985 - # instance it was reported that on HP-UX the gcc test will end up
4986 - # making a dummy file named `D' -- because `-MD' means `put the output
4988 - mkdir conftest.dir
4989 - # Copy depcomp to subdir because otherwise we won't find it if we're
4990 - # using a relative directory.
4991 - cp "$am_depcomp" conftest.dir
4994 - am_cv_CC_dependencies_compiler_type=none
4995 - if test "$am_compiler_list" = ""; then
4996 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4998 - for depmode in $am_compiler_list; do
4999 - # We need to recreate these files for each test, as the compiler may
5000 - # overwrite some of them when testing with obscure command lines.
5001 - # This happens at least with the AIX C compiler.
5002 - echo '#include "conftest.h"' > conftest.c
5003 - echo 'int i;' > conftest.h
5004 - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5008 - # after this tag, mechanisms are not by side-effect, so they'll
5009 - # only be used when explicitly requested
5010 - if test "x$enable_dependency_tracking" = xyes; then
5018 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5019 - # mode. It turns out that the SunPro C++ compiler does not properly
5020 - # handle `-M -o', and we need to detect this.
5021 - if depmode=$depmode \
5022 - source=conftest.c object=conftest.o \
5023 - depfile=conftest.Po tmpdepfile=conftest.TPo \
5024 - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
5025 - >/dev/null 2>conftest.err &&
5026 - grep conftest.h conftest.Po > /dev/null 2>&1 &&
5027 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5028 - # icc doesn't choke on unknown options, it will just issue warnings
5029 - # (even with -Werror). So we grep stderr for any message
5030 - # that says an option was ignored.
5031 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
5032 - am_cv_CC_dependencies_compiler_type=$depmode
5039 - rm -rf conftest.dir
5041 - am_cv_CC_dependencies_compiler_type=none
5045 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5046 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5047 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5052 - test "x$enable_dependency_tracking" != xno \
5053 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5054 - am__fastdepCC_TRUE=
5055 - am__fastdepCC_FALSE='#'
5057 - am__fastdepCC_TRUE='#'
5058 - am__fastdepCC_FALSE=
5063 -ac_cpp='$CXXCPP $CPPFLAGS'
5064 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5067 -if test -n "$ac_tool_prefix"; then
5068 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5070 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5071 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5072 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 -if test "${ac_cv_prog_CXX+set}" = set; then
5076 +ac_cpp='$CXXCPP $CPPFLAGS'
5077 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5080 +if test -n "$ac_tool_prefix"; then
5081 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5083 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5084 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5085 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5087 +if test "${ac_cv_prog_CXX+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 if test -n "$CXX"; then
5091 @@ -3192,7 +3061,6 @@
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 cat >conftest.$ac_ext <<_ACEOF
5095 -#line $LINENO "configure"
5098 cat confdefs.h >>conftest.$ac_ext
5099 @@ -3212,11 +3080,20 @@
5101 rm -f conftest.$ac_objext
5102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5103 - (eval $ac_compile) 2>&5
5104 + (eval $ac_compile) 2>conftest.er1
5106 + grep -v '^ *+' conftest.er1 >conftest.err
5107 + rm -f conftest.er1
5108 + cat conftest.err >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 - { ac_try='test -s conftest.$ac_objext'
5112 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5113 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 + (eval $ac_try) 2>&5
5116 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 + (exit $ac_status); }; } &&
5118 + { ac_try='test -s conftest.$ac_objext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 @@ -3229,7 +3106,7 @@
5126 -rm -f conftest.$ac_objext conftest.$ac_ext
5127 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5128 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5131 @@ -3245,7 +3122,6 @@
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 cat >conftest.$ac_ext <<_ACEOF
5135 -#line $LINENO "configure"
5138 cat confdefs.h >>conftest.$ac_ext
5139 @@ -3262,11 +3138,20 @@
5141 rm -f conftest.$ac_objext
5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5143 - (eval $ac_compile) 2>&5
5144 + (eval $ac_compile) 2>conftest.er1
5146 + grep -v '^ *+' conftest.er1 >conftest.err
5147 + rm -f conftest.er1
5148 + cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } &&
5151 - { ac_try='test -s conftest.$ac_objext'
5152 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5153 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5154 + (eval $ac_try) 2>&5
5156 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 + (exit $ac_status); }; } &&
5158 + { ac_try='test -s conftest.$ac_objext'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 @@ -3279,7 +3164,7 @@
5166 -rm -f conftest.$ac_objext conftest.$ac_ext
5167 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5169 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5170 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5171 @@ -3299,23 +3184,21 @@
5174 for ac_declaration in \
5177 'extern "C" void std::exit (int) throw (); using std::exit;' \
5178 'extern "C" void std::exit (int); using std::exit;' \
5179 'extern "C" void exit (int) throw ();' \
5180 'extern "C" void exit (int);' \
5181 - 'void exit (int);' \
5182 - '#include <stdlib.h>'
5183 + 'void exit (int);'
5185 cat >conftest.$ac_ext <<_ACEOF
5186 -#line $LINENO "configure"
5189 cat confdefs.h >>conftest.$ac_ext
5190 cat >>conftest.$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5192 -#include <stdlib.h>
5194 +#include <stdlib.h>
5198 @@ -3326,11 +3209,20 @@
5200 rm -f conftest.$ac_objext
5201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5202 - (eval $ac_compile) 2>&5
5203 + (eval $ac_compile) 2>conftest.er1
5205 + grep -v '^ *+' conftest.er1 >conftest.err
5206 + rm -f conftest.er1
5207 + cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 - { ac_try='test -s conftest.$ac_objext'
5211 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5212 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 + (eval $ac_try) 2>&5
5215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 + (exit $ac_status); }; } &&
5217 + { ac_try='test -s conftest.$ac_objext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 @@ -3343,9 +3235,8 @@
5225 -rm -f conftest.$ac_objext conftest.$ac_ext
5226 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5227 cat >conftest.$ac_ext <<_ACEOF
5228 -#line $LINENO "configure"
5231 cat confdefs.h >>conftest.$ac_ext
5232 @@ -3362,11 +3253,20 @@
5234 rm -f conftest.$ac_objext
5235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5236 - (eval $ac_compile) 2>&5
5237 + (eval $ac_compile) 2>conftest.er1
5239 + grep -v '^ *+' conftest.er1 >conftest.err
5240 + rm -f conftest.er1
5241 + cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } &&
5244 - { ac_try='test -s conftest.$ac_objext'
5245 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5246 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 + (eval $ac_try) 2>&5
5249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 + (exit $ac_status); }; } &&
5251 + { ac_try='test -s conftest.$ac_objext'
5252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5255 @@ -3378,7 +3278,7 @@
5256 sed 's/^/| /' conftest.$ac_ext >&5
5259 -rm -f conftest.$ac_objext conftest.$ac_ext
5260 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5263 if test -n "$ac_declaration"; then
5264 @@ -3393,93 +3293,6 @@
5265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5268 -depcc="$CXX" am_compiler_list=
5270 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5271 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5272 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5273 - echo $ECHO_N "(cached) $ECHO_C" >&6
5275 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5276 - # We make a subdir and do the tests there. Otherwise we can end up
5277 - # making bogus files that we don't know about and never remove. For
5278 - # instance it was reported that on HP-UX the gcc test will end up
5279 - # making a dummy file named `D' -- because `-MD' means `put the output
5281 - mkdir conftest.dir
5282 - # Copy depcomp to subdir because otherwise we won't find it if we're
5283 - # using a relative directory.
5284 - cp "$am_depcomp" conftest.dir
5287 - am_cv_CXX_dependencies_compiler_type=none
5288 - if test "$am_compiler_list" = ""; then
5289 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5291 - for depmode in $am_compiler_list; do
5292 - # We need to recreate these files for each test, as the compiler may
5293 - # overwrite some of them when testing with obscure command lines.
5294 - # This happens at least with the AIX C compiler.
5295 - echo '#include "conftest.h"' > conftest.c
5296 - echo 'int i;' > conftest.h
5297 - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5301 - # after this tag, mechanisms are not by side-effect, so they'll
5302 - # only be used when explicitly requested
5303 - if test "x$enable_dependency_tracking" = xyes; then
5311 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5312 - # mode. It turns out that the SunPro C++ compiler does not properly
5313 - # handle `-M -o', and we need to detect this.
5314 - if depmode=$depmode \
5315 - source=conftest.c object=conftest.o \
5316 - depfile=conftest.Po tmpdepfile=conftest.TPo \
5317 - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
5318 - >/dev/null 2>conftest.err &&
5319 - grep conftest.h conftest.Po > /dev/null 2>&1 &&
5320 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5321 - # icc doesn't choke on unknown options, it will just issue warnings
5322 - # (even with -Werror). So we grep stderr for any message
5323 - # that says an option was ignored.
5324 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
5325 - am_cv_CXX_dependencies_compiler_type=$depmode
5332 - rm -rf conftest.dir
5334 - am_cv_CXX_dependencies_compiler_type=none
5338 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5339 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5340 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5345 - test "x$enable_dependency_tracking" != xno \
5346 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5347 - am__fastdepCXX_TRUE=
5348 - am__fastdepCXX_FALSE='#'
5350 - am__fastdepCXX_TRUE='#'
5351 - am__fastdepCXX_FALSE=
5356 # Check whether --enable-static or --disable-static was given.
5357 if test "${enable_static+set}" = set; then
5358 @@ -3650,7 +3463,7 @@
5359 # Accept absolute paths.
5361 re_direlt='/[^/][^/]*/\.\./'
5362 - # Canonicalize the path of ld
5363 + # Canonicalize the pathname of ld
5364 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5365 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5366 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5367 @@ -3719,7 +3532,7 @@
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5371 -case `"$LD" -v 2>&1 </dev/null` in
5372 +case `$LD -v 2>&1 </dev/null` in
5373 *GNU* | *'with BFD'*)
5374 lt_cv_prog_gnu_ld=yes
5376 @@ -3840,28 +3653,24 @@
5377 lt_cv_file_magic_test_file=/shlib/libc.so
5380 -cygwin* | mingw* | pw32*)
5381 - # win32_libid is a shell function defined in ltmain.sh
5383 + # func_win32_libid is a shell function defined in ltmain.sh
5384 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5385 - lt_cv_file_magic_cmd='win32_libid'
5386 + lt_cv_file_magic_cmd='func_win32_libid'
5390 + # Base MSYS/MinGW do not provide the 'file' command needed by
5391 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5392 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5393 + lt_cv_file_magic_cmd='$OBJDUMP -f'
5396 darwin* | rhapsody*)
5397 - # this will be overwritten by pass_all, but leave it in just in case
5398 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5399 - lt_cv_file_magic_cmd='/usr/bin/file -L'
5400 - case "$host_os" in
5401 - rhapsody* | darwin1.[012])
5402 - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
5404 - *) # Darwin 1.3 on
5405 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5408 lt_cv_deplibs_check_method=pass_all
5412 +freebsd* | kfreebsd*-gnu)
5413 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5416 @@ -3900,39 +3709,21 @@
5419 irix5* | irix6* | nonstopux*)
5421 - irix5* | nonstopux*)
5422 - # this will be overridden with pass_all, but let us keep it just in case
5423 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5427 - *-32|*"-32 ") libmagic=32-bit;;
5428 - *-n32|*"-n32 ") libmagic=N32;;
5429 - *-64|*"-64 ") libmagic=64-bit;;
5430 - *) libmagic=never-match;;
5432 - # this will be overridden with pass_all, but let us keep it just in case
5433 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5436 + *-32|*"-32 ") libmagic=32-bit;;
5437 + *-n32|*"-n32 ") libmagic=N32;;
5438 + *-64|*"-64 ") libmagic=64-bit;;
5439 + *) libmagic=never-match;;
5441 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5442 lt_cv_deplibs_check_method=pass_all
5445 # This must be Linux ELF.
5448 - alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
5449 - lt_cv_deplibs_check_method=pass_all ;;
5451 - # glibc up to 2.1.1 does not perform some relocations on ARM
5452 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5454 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5455 + lt_cv_deplibs_check_method=pass_all
5459 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5460 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5463 @@ -3946,7 +3737,7 @@
5464 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5469 lt_cv_deplibs_check_method=unknown
5472 @@ -3961,9 +3752,6 @@
5475 osf3* | osf4* | osf5*)
5476 - # this will be overridden with pass_all, but let us keep it just in case
5477 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5478 - lt_cv_file_magic_test_file=/shlib/libc.so
5479 lt_cv_deplibs_check_method=pass_all
5482 @@ -3973,7 +3761,6 @@
5485 lt_cv_deplibs_check_method=pass_all
5486 - lt_cv_file_magic_test_file=/lib/libc.so
5489 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5490 @@ -4053,7 +3840,7 @@
5493 # Find out which ABI we are using.
5494 - echo '#line 4056 "configure"' > conftest.$ac_ext
5495 + echo '#line 3843 "configure"' > conftest.$ac_ext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497 (eval $ac_compile) 2>&5
5499 @@ -4102,7 +3889,7 @@
5501 LD="${LD-ld} -m elf_i386"
5504 + ppc64-*linux*|powerpc64-*linux*)
5505 LD="${LD-ld} -m elf32ppclinux"
5508 @@ -4150,7 +3937,6 @@
5509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5511 cat >conftest.$ac_ext <<_ACEOF
5512 -#line $LINENO "configure"
5515 cat confdefs.h >>conftest.$ac_ext
5516 @@ -4167,11 +3953,20 @@
5518 rm -f conftest.$ac_objext conftest$ac_exeext
5519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5520 - (eval $ac_link) 2>&5
5521 + (eval $ac_link) 2>conftest.er1
5523 + grep -v '^ *+' conftest.er1 >conftest.err
5524 + rm -f conftest.er1
5525 + cat conftest.err >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 - { ac_try='test -s conftest$ac_exeext'
5529 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5530 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 + (eval $ac_try) 2>&5
5533 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 + (exit $ac_status); }; } &&
5535 + { ac_try='test -s conftest$ac_exeext'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 @@ -4184,7 +3979,8 @@
5541 lt_cv_cc_needs_belf=no
5543 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5544 +rm -f conftest.err conftest.$ac_objext \
5545 + conftest$ac_exeext conftest.$ac_ext
5547 ac_cpp='$CPP $CPPFLAGS'
5548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549 @@ -4233,7 +4029,6 @@
5550 # On the NeXT, cc -E runs the code through the compiler's parser,
5551 # not just through cpp. "Syntax error" is here to catch this case.
5552 cat >conftest.$ac_ext <<_ACEOF
5553 -#line $LINENO "configure"
5556 cat confdefs.h >>conftest.$ac_ext
5557 @@ -4244,7 +4039,7 @@
5559 # include <assert.h>
5564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5566 @@ -4256,6 +4051,7 @@
5567 (exit $ac_status); } >/dev/null; then
5568 if test -s conftest.err; then
5569 ac_cpp_err=$ac_c_preproc_warn_flag
5570 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5574 @@ -4276,7 +4072,6 @@
5575 # OK, works on sane cases. Now check whether non-existent headers
5576 # can be detected and how.
5577 cat >conftest.$ac_ext <<_ACEOF
5578 -#line $LINENO "configure"
5581 cat confdefs.h >>conftest.$ac_ext
5582 @@ -4294,6 +4089,7 @@
5583 (exit $ac_status); } >/dev/null; then
5584 if test -s conftest.err; then
5585 ac_cpp_err=$ac_c_preproc_warn_flag
5586 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5590 @@ -4340,7 +4136,6 @@
5591 # On the NeXT, cc -E runs the code through the compiler's parser,
5592 # not just through cpp. "Syntax error" is here to catch this case.
5593 cat >conftest.$ac_ext <<_ACEOF
5594 -#line $LINENO "configure"
5597 cat confdefs.h >>conftest.$ac_ext
5598 @@ -4351,7 +4146,7 @@
5600 # include <assert.h>
5605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5607 @@ -4363,6 +4158,7 @@
5608 (exit $ac_status); } >/dev/null; then
5609 if test -s conftest.err; then
5610 ac_cpp_err=$ac_c_preproc_warn_flag
5611 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5615 @@ -4383,7 +4179,6 @@
5616 # OK, works on sane cases. Now check whether non-existent headers
5617 # can be detected and how.
5618 cat >conftest.$ac_ext <<_ACEOF
5619 -#line $LINENO "configure"
5622 cat confdefs.h >>conftest.$ac_ext
5623 @@ -4401,6 +4196,7 @@
5624 (exit $ac_status); } >/dev/null; then
5625 if test -s conftest.err; then
5626 ac_cpp_err=$ac_c_preproc_warn_flag
5627 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5631 @@ -4446,7 +4242,6 @@
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 cat >conftest.$ac_ext <<_ACEOF
5635 -#line $LINENO "configure"
5638 cat confdefs.h >>conftest.$ac_ext
5639 @@ -4467,11 +4262,20 @@
5641 rm -f conftest.$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 - (eval $ac_compile) 2>&5
5644 + (eval $ac_compile) 2>conftest.er1
5646 + grep -v '^ *+' conftest.er1 >conftest.err
5647 + rm -f conftest.er1
5648 + cat conftest.err >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } &&
5651 - { ac_try='test -s conftest.$ac_objext'
5652 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5653 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 + (eval $ac_try) 2>&5
5656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 + (exit $ac_status); }; } &&
5658 + { ac_try='test -s conftest.$ac_objext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 @@ -4484,12 +4288,11 @@
5664 ac_cv_header_stdc=no
5666 -rm -f conftest.$ac_objext conftest.$ac_ext
5667 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5669 if test $ac_cv_header_stdc = yes; then
5670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5671 cat >conftest.$ac_ext <<_ACEOF
5672 -#line $LINENO "configure"
5675 cat confdefs.h >>conftest.$ac_ext
5676 @@ -4511,7 +4314,6 @@
5677 if test $ac_cv_header_stdc = yes; then
5678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5679 cat >conftest.$ac_ext <<_ACEOF
5680 -#line $LINENO "configure"
5683 cat confdefs.h >>conftest.$ac_ext
5684 @@ -4536,7 +4338,6 @@
5687 cat >conftest.$ac_ext <<_ACEOF
5688 -#line $LINENO "configure"
5691 cat confdefs.h >>conftest.$ac_ext
5692 @@ -4548,9 +4349,9 @@
5693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5695 # define ISLOWER(c) \
5696 - (('a' <= (c) && (c) <= 'i') \
5697 - || ('j' <= (c) && (c) <= 'r') \
5698 - || ('s' <= (c) && (c) <= 'z'))
5699 + (('a' <= (c) && (c) <= 'i') \
5700 + || ('j' <= (c) && (c) <= 'r') \
5701 + || ('s' <= (c) && (c) <= 'z'))
5702 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5705 @@ -4561,7 +4362,7 @@
5707 for (i = 0; i < 256; i++)
5708 if (XOR (islower (i), ISLOWER (i))
5709 - || toupper (i) != TOUPPER (i))
5710 + || toupper (i) != TOUPPER (i))
5714 @@ -4586,7 +4387,7 @@
5716 ac_cv_header_stdc=no
5718 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5719 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5723 @@ -4611,7 +4412,7 @@
5726 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5727 - inttypes.h stdint.h unistd.h
5728 + inttypes.h stdint.h unistd.h
5730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5731 echo "$as_me:$LINENO: checking for $ac_header" >&5
5732 @@ -4620,7 +4421,6 @@
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 cat >conftest.$ac_ext <<_ACEOF
5736 -#line $LINENO "configure"
5739 cat confdefs.h >>conftest.$ac_ext
5740 @@ -4632,11 +4432,20 @@
5742 rm -f conftest.$ac_objext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 - (eval $ac_compile) 2>&5
5745 + (eval $ac_compile) 2>conftest.er1
5747 + grep -v '^ *+' conftest.er1 >conftest.err
5748 + rm -f conftest.er1
5749 + cat conftest.err >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } &&
5752 - { ac_try='test -s conftest.$ac_objext'
5753 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5755 + (eval $ac_try) 2>&5
5757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 + (exit $ac_status); }; } &&
5759 + { ac_try='test -s conftest.$ac_objext'
5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763 @@ -4649,7 +4458,7 @@
5765 eval "$as_ac_Header=no"
5767 -rm -f conftest.$ac_objext conftest.$ac_ext
5768 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5772 @@ -4680,7 +4489,6 @@
5773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5775 cat >conftest.$ac_ext <<_ACEOF
5776 -#line $LINENO "configure"
5779 cat confdefs.h >>conftest.$ac_ext
5780 @@ -4691,11 +4499,20 @@
5782 rm -f conftest.$ac_objext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5784 - (eval $ac_compile) 2>&5
5785 + (eval $ac_compile) 2>conftest.er1
5787 + grep -v '^ *+' conftest.er1 >conftest.err
5788 + rm -f conftest.er1
5789 + cat conftest.err >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 - { ac_try='test -s conftest.$ac_objext'
5793 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5794 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 + (eval $ac_try) 2>&5
5797 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 + (exit $ac_status); }; } &&
5799 + { ac_try='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 @@ -4708,7 +4525,7 @@
5805 ac_header_compiler=no
5807 -rm -f conftest.$ac_objext conftest.$ac_ext
5808 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5810 echo "${ECHO_T}$ac_header_compiler" >&6
5812 @@ -4716,7 +4533,6 @@
5813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5815 cat >conftest.$ac_ext <<_ACEOF
5816 -#line $LINENO "configure"
5819 cat confdefs.h >>conftest.$ac_ext
5820 @@ -4734,6 +4550,7 @@
5821 (exit $ac_status); } >/dev/null; then
5822 if test -s conftest.err; then
5823 ac_cpp_err=$ac_c_preproc_warn_flag
5824 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5828 @@ -4753,33 +4570,32 @@
5829 echo "${ECHO_T}$ac_header_preproc" >&6
5831 # So? What about this header?
5832 -case $ac_header_compiler:$ac_header_preproc in
5834 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5838 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5839 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5842 -## ------------------------------------ ##
5843 -## Report this to bug-autoconf@gnu.org. ##
5844 -## ------------------------------------ ##
5847 - sed "s/^/$as_me: WARNING: /" >&2
5848 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5849 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5850 + ac_header_preproc=yes
5854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5856 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5857 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5858 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5859 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5860 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5861 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5862 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5863 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5866 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5867 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5870 -## ------------------------------------ ##
5871 -## Report this to bug-autoconf@gnu.org. ##
5872 -## ------------------------------------ ##
5873 +## ------------------------------------------ ##
5874 +## Report this to the AC_PACKAGE_NAME lists. ##
5875 +## ------------------------------------------ ##
5878 sed "s/^/$as_me: WARNING: /" >&2
5879 @@ -4790,7 +4606,7 @@
5880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 - eval "$as_ac_Header=$ac_header_preproc"
5884 + eval "$as_ac_Header=\$ac_header_preproc"
5886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5888 @@ -4829,7 +4645,6 @@
5889 # On the NeXT, cc -E runs the code through the compiler's parser,
5890 # not just through cpp. "Syntax error" is here to catch this case.
5891 cat >conftest.$ac_ext <<_ACEOF
5892 -#line $LINENO "configure"
5895 cat confdefs.h >>conftest.$ac_ext
5896 @@ -4840,7 +4655,7 @@
5898 # include <assert.h>
5903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5905 @@ -4852,6 +4667,7 @@
5906 (exit $ac_status); } >/dev/null; then
5907 if test -s conftest.err; then
5908 ac_cpp_err=$ac_cxx_preproc_warn_flag
5909 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5913 @@ -4872,7 +4688,6 @@
5914 # OK, works on sane cases. Now check whether non-existent headers
5915 # can be detected and how.
5916 cat >conftest.$ac_ext <<_ACEOF
5917 -#line $LINENO "configure"
5920 cat confdefs.h >>conftest.$ac_ext
5921 @@ -4890,6 +4705,7 @@
5922 (exit $ac_status); } >/dev/null; then
5923 if test -s conftest.err; then
5924 ac_cpp_err=$ac_cxx_preproc_warn_flag
5925 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5929 @@ -4936,7 +4752,6 @@
5930 # On the NeXT, cc -E runs the code through the compiler's parser,
5931 # not just through cpp. "Syntax error" is here to catch this case.
5932 cat >conftest.$ac_ext <<_ACEOF
5933 -#line $LINENO "configure"
5936 cat confdefs.h >>conftest.$ac_ext
5937 @@ -4947,7 +4762,7 @@
5939 # include <assert.h>
5944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5946 @@ -4959,6 +4774,7 @@
5947 (exit $ac_status); } >/dev/null; then
5948 if test -s conftest.err; then
5949 ac_cpp_err=$ac_cxx_preproc_warn_flag
5950 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5954 @@ -4979,7 +4795,6 @@
5955 # OK, works on sane cases. Now check whether non-existent headers
5956 # can be detected and how.
5957 cat >conftest.$ac_ext <<_ACEOF
5958 -#line $LINENO "configure"
5961 cat confdefs.h >>conftest.$ac_ext
5962 @@ -4997,6 +4812,7 @@
5963 (exit $ac_status); } >/dev/null; then
5964 if test -s conftest.err; then
5965 ac_cpp_err=$ac_cxx_preproc_warn_flag
5966 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5970 @@ -5041,7 +4857,7 @@
5971 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5972 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5973 if test -n "$ac_tool_prefix"; then
5974 - for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5975 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5979 @@ -5083,7 +4899,7 @@
5981 if test -z "$F77"; then
5983 - for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5984 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 @@ -5128,7 +4944,7 @@
5991 # Provide some information about the compiler.
5992 -echo "$as_me:5131:" \
5993 +echo "$as_me:4947:" \
5994 "checking for Fortran 77 compiler version" >&5
5995 ac_compiler=`set X $ac_compile; echo $2`
5996 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5997 @@ -5146,9 +4962,10 @@
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }
6003 # If we don't use `.F' as extension, the preprocessor is not run on the
6005 +# input file. (Note that this only needs to work for GNU compilers.)
6008 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6009 @@ -5166,11 +4983,20 @@
6011 rm -f conftest.$ac_objext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013 - (eval $ac_compile) 2>&5
6014 + (eval $ac_compile) 2>conftest.er1
6016 + grep -v '^ *+' conftest.er1 >conftest.err
6017 + rm -f conftest.er1
6018 + cat conftest.err >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } &&
6021 - { ac_try='test -s conftest.$ac_objext'
6022 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6023 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 + (eval $ac_try) 2>&5
6026 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 + (exit $ac_status); }; } &&
6028 + { ac_try='test -s conftest.$ac_objext'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 @@ -5183,14 +5009,13 @@
6036 -rm -f conftest.$ac_objext conftest.$ac_ext
6037 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6038 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6041 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6042 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6044 -G77=`test $ac_compiler_gnu = yes && echo yes`
6045 ac_test_FFLAGS=${FFLAGS+set}
6046 ac_save_FFLAGS=$FFLAGS
6048 @@ -5207,11 +5032,20 @@
6050 rm -f conftest.$ac_objext
6051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6052 - (eval $ac_compile) 2>&5
6053 + (eval $ac_compile) 2>conftest.er1
6055 + grep -v '^ *+' conftest.er1 >conftest.err
6056 + rm -f conftest.er1
6057 + cat conftest.err >&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); } &&
6060 - { ac_try='test -s conftest.$ac_objext'
6061 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6062 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6063 + (eval $ac_try) 2>&5
6065 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 + (exit $ac_status); }; } &&
6067 + { ac_try='test -s conftest.$ac_objext'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 @@ -5224,7 +5058,7 @@
6075 -rm -f conftest.$ac_objext conftest.$ac_ext
6076 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6079 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6080 @@ -5232,18 +5066,20 @@
6081 if test "$ac_test_FFLAGS" = set; then
6082 FFLAGS=$ac_save_FFLAGS
6083 elif test $ac_cv_prog_f77_g = yes; then
6084 - if test "$G77" = yes; then
6085 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6091 - if test "$G77" = yes; then
6092 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6099 +G77=`test $ac_compiler_gnu = yes && echo yes`
6101 ac_cpp='$CPP $CPPFLAGS'
6102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103 @@ -5261,7 +5097,7 @@
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 @@ -5290,20 +5126,26 @@
6113 lt_cv_sys_max_cmd_len=8192;
6117 + # On AmigaOS with pdksh, this test takes hours, literally.
6118 + # So we just punt and use a minimum line length of 8192.
6119 + lt_cv_sys_max_cmd_len=8192;
6123 # If test is not a shell built-in, we'll probably end up computing a
6124 # maximum length that is only half of the actual maximum length, but
6126 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
6127 - = "XX$testring") >/dev/null 2>&1 &&
6128 - new_result=`expr "X$testring" : ".*" 2>&1` &&
6129 + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6130 + = "XX$teststring") >/dev/null 2>&1 &&
6131 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
6132 lt_cv_sys_max_cmd_len=$new_result &&
6133 test $i != 17 # 1/2 MB should be enough
6136 - testring=$testring$testring
6137 + teststring=$teststring$teststring
6141 # Add a significant safety factor because C++ compilers can tack on massive
6142 # amounts of additional arguments before passing them to the linker.
6143 # It appears as though 1/2 is a usable value.
6144 @@ -5371,7 +5213,7 @@
6145 symcode='[BCDEGQRST]'
6153 @@ -5389,7 +5231,7 @@
6154 # If we're using GNU nm, then use its standard symbol codes.
6155 case `$NM -V 2>&1` in
6156 *GNU* | *'with BFD'*)
6157 - symcode='[ABCDGISTW]' ;;
6158 + symcode='[ABCDGIRSTW]' ;;
6161 # Try without a prefix undercore, then with it.
6162 @@ -6115,7 +5957,8 @@
6163 if test "$GCC" = yes; then
6164 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6166 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6168 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6169 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6170 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 @@ -6133,11 +5976,11 @@
6173 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6175 -e 's:$: $lt_compiler_flag:'`
6176 - (eval echo "\"\$as_me:6136: $lt_compile\"" >&5)
6177 + (eval echo "\"\$as_me:5979: $lt_compile\"" >&5)
6178 (eval "$lt_compile" 2>conftest.err)
6180 cat conftest.err >&5
6181 - echo "$as_me:6140: \$? = $ac_status" >&5
6182 + echo "$as_me:5983: \$? = $ac_status" >&5
6183 if (exit $ac_status) && test -s "$ac_outfile"; then
6184 # The compiler can only warn and ignore the option if not recognized
6185 # So say no if there are warnings
6186 @@ -6280,12 +6123,12 @@
6192 lt_prog_compiler_wl='-Wl,'
6193 lt_prog_compiler_pic='-KPIC'
6194 lt_prog_compiler_static='-static'
6198 lt_prog_compiler_wl='-Wl,'
6199 # All Alpha code is PIC.
6200 lt_prog_compiler_static='-non_shared'
6201 @@ -6347,7 +6190,8 @@
6202 # Check to make sure the PIC flag actually works.
6204 if test -n "$lt_prog_compiler_pic"; then
6205 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6207 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6208 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6209 if test "${lt_prog_compiler_pic_works+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 @@ -6365,11 +6209,11 @@
6212 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6214 -e 's:$: $lt_compiler_flag:'`
6215 - (eval echo "\"\$as_me:6368: $lt_compile\"" >&5)
6216 + (eval echo "\"\$as_me:6212: $lt_compile\"" >&5)
6217 (eval "$lt_compile" 2>conftest.err)
6219 cat conftest.err >&5
6220 - echo "$as_me:6372: \$? = $ac_status" >&5
6221 + echo "$as_me:6216: \$? = $ac_status" >&5
6222 if (exit $ac_status) && test -s "$ac_outfile"; then
6223 # The compiler can only warn and ignore the option if not recognized
6224 # So say no if there are warnings
6225 @@ -6416,13 +6260,6 @@
6227 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6229 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6230 - # that will create temporary files in the current directory regardless of
6231 - # the output directory. Thus, making CWD read-only will cause this test
6232 - # to fail, enabling locking or at least warning the user not to do parallel
6236 lt_compiler_flag="-o out/conftest2.$ac_objext"
6237 # Insert the option either (1) after the last *FLAGS variable, or
6238 # (2) before a word containing "conftest.", or (3) at the end.
6239 @@ -6432,11 +6269,11 @@
6240 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6242 -e 's:$: $lt_compiler_flag:'`
6243 - (eval echo "\"\$as_me:6435: $lt_compile\"" >&5)
6244 + (eval echo "\"\$as_me:6272: $lt_compile\"" >&5)
6245 (eval "$lt_compile" 2>out/conftest.err)
6247 cat out/conftest.err >&5
6248 - echo "$as_me:6439: \$? = $ac_status" >&5
6249 + echo "$as_me:6276: \$? = $ac_status" >&5
6250 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6252 # The compiler can only warn and ignore the option if not recognized
6253 @@ -6446,8 +6283,11 @@
6257 - $rm conftest* out/*
6260 + # SGI C++ compiler will create directory out/ii_files/ for
6261 + # template instantiation
6262 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6263 + $rm out/* && rmdir out
6267 @@ -6606,7 +6446,7 @@
6272 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6273 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6274 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6276 @@ -6644,6 +6484,32 @@
6277 hardcode_shlibpath_var=no
6281 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6282 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6283 + archive_cmds="$tmp_archive_cmds"
6284 + supports_anon_versioning=no
6285 + case `$LD -v 2>/dev/null` in
6286 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6287 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6288 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6289 + *\ 2.11.*) ;; # other 2.11 versions
6290 + *) supports_anon_versioning=yes ;;
6292 + if test $supports_anon_versioning = yes; then
6293 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6294 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6295 +$echo "local: *; };" >> $output_objdir/$libname.ver~
6296 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6298 + archive_expsym_cmds="$tmp_archive_cmds"
6300 + link_all_deplibs=no
6307 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6308 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6309 @@ -6772,7 +6638,6 @@
6310 allow_undefined_flag='-berok'
6311 # Determine the default libpath from the value encoded in an empty executable.
6312 cat >conftest.$ac_ext <<_ACEOF
6313 -#line $LINENO "configure"
6316 cat confdefs.h >>conftest.$ac_ext
6317 @@ -6789,11 +6654,20 @@
6319 rm -f conftest.$ac_objext conftest$ac_exeext
6320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6321 - (eval $ac_link) 2>&5
6322 + (eval $ac_link) 2>conftest.er1
6324 + grep -v '^ *+' conftest.er1 >conftest.err
6325 + rm -f conftest.er1
6326 + cat conftest.err >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } &&
6329 - { ac_try='test -s conftest$ac_exeext'
6330 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6331 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 + (eval $ac_try) 2>&5
6334 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 + (exit $ac_status); }; } &&
6336 + { ac_try='test -s conftest$ac_exeext'
6337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6340 @@ -6810,7 +6684,8 @@
6341 sed 's/^/| /' conftest.$ac_ext >&5
6344 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6345 +rm -f conftest.err conftest.$ac_objext \
6346 + conftest$ac_exeext conftest.$ac_ext
6347 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6349 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6350 @@ -6823,7 +6698,6 @@
6352 # Determine the default libpath from the value encoded in an empty executable.
6353 cat >conftest.$ac_ext <<_ACEOF
6354 -#line $LINENO "configure"
6357 cat confdefs.h >>conftest.$ac_ext
6358 @@ -6840,11 +6714,20 @@
6360 rm -f conftest.$ac_objext conftest$ac_exeext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6362 - (eval $ac_link) 2>&5
6363 + (eval $ac_link) 2>conftest.er1
6365 + grep -v '^ *+' conftest.er1 >conftest.err
6366 + rm -f conftest.er1
6367 + cat conftest.err >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } &&
6370 - { ac_try='test -s conftest$ac_exeext'
6371 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6372 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 + (eval $ac_try) 2>&5
6375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 + (exit $ac_status); }; } &&
6377 + { ac_try='test -s conftest$ac_exeext'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 @@ -6861,7 +6744,8 @@
6382 sed 's/^/| /' conftest.$ac_ext >&5
6385 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6386 +rm -f conftest.err conftest.$ac_objext \
6387 + conftest$ac_exeext conftest.$ac_ext
6388 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6390 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6391 @@ -6902,7 +6786,7 @@
6392 # Tell ltmain to make .lib files, not .a files.
6394 # Tell ltmain to make .dll files, not .so files.
6396 + shrext_cmds=".dll"
6397 # FIXME: Setting linknames here is a bad hack.
6398 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6399 # The linker will automatically build a .lib file if we build a DLL.
6400 @@ -6914,20 +6798,27 @@
6403 darwin* | rhapsody*)
6404 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6405 + if test "$GXX" = yes ; then
6406 archive_cmds_need_lc=no
6408 rhapsody* | darwin1.[012])
6409 allow_undefined_flag='-undefined suppress'
6412 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
6413 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6414 + allow_undefined_flag='-flat_namespace -undefined suppress'
6416 + case ${MACOSX_DEPLOYMENT_TARGET} in
6418 + allow_undefined_flag='-flat_namespace -undefined suppress'
6421 + allow_undefined_flag='-undefined dynamic_lookup'
6427 - # FIXME: Relying on posixy $() will cause problems for
6428 - # cross-compilation, but unfortunately the echo tests do not
6429 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6430 - # `"' quotes if we put them in here... so don't!
6431 lt_int_apple_cc_single_mod=no
6432 output_verbose_link_cmd='echo'
6433 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6434 @@ -6938,19 +6829,21 @@
6436 archive_cmds='$CC -r ${wl}-bind_at_load -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'
6438 - module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
6439 + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6440 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6441 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6442 archive_expsym_cmds='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}'
6444 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
6446 - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6447 + 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}'
6449 hardcode_automatic=yes
6450 hardcode_shlibpath_var=unsupported
6451 whole_archive_flag_spec='-all_load $convenience'
6452 link_all_deplibs=yes
6458 @@ -6984,7 +6877,7 @@
6461 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6463 + freebsd* | kfreebsd*-gnu)
6464 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6465 hardcode_libdir_flag_spec='-R$libdir'
6467 @@ -7071,7 +6964,7 @@
6468 link_all_deplibs=yes
6472 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6473 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6474 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6476 @@ -7344,100 +7237,34 @@
6480 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6481 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6483 -if test -n "$hardcode_libdir_flag_spec" || \
6484 - test -n "$runpath_var " || \
6485 - test "X$hardcode_automatic"="Xyes" ; then
6487 - # We can hardcode non-existant directories.
6488 - if test "$hardcode_direct" != no &&
6489 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
6490 - # have to relink, otherwise we might link with an installed library
6491 - # when we should be linking with a yet-to-be-installed one
6492 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6493 - test "$hardcode_minus_L" != no; then
6494 - # Linking always hardcodes the temporary library directory.
6495 - hardcode_action=relink
6496 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6497 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6498 +library_names_spec=
6499 +libname_spec='lib$name'
6503 +postuninstall_cmds=
6507 +shlibpath_overrides_runpath=unknown
6509 +dynamic_linker="$host_os ld.so"
6510 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6511 +if test "$GCC" = yes; then
6512 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6513 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6514 + # if the path contains ";" then we assume it to be the separator
6515 + # otherwise default to the standard path separator (i.e. ":") - it is
6516 + # assumed that no part of a normal pathname contains ";" but that should
6517 + # okay in the real world where ";" in dirpaths is itself problematic.
6518 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6520 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
6521 - hardcode_action=immediate
6522 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6525 - # We cannot hardcode anything, or else we can only hardcode existing
6527 - hardcode_action=unsupported
6529 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
6530 -echo "${ECHO_T}$hardcode_action" >&6
6532 -if test "$hardcode_action" = relink; then
6533 - # Fast installation is not supported
6534 - enable_fast_install=no
6535 -elif test "$shlibpath_overrides_runpath" = yes ||
6536 - test "$enable_shared" = no; then
6537 - # Fast installation is not necessary
6538 - enable_fast_install=needless
6543 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6544 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6545 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6546 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6547 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6548 - echo "$as_me:$LINENO: result: yes" >&5
6549 -echo "${ECHO_T}yes" >&6
6551 -# FIXME - insert some real tests, host_os isn't really good enough
6554 - if test -n "$STRIP" ; then
6555 - striplib="$STRIP -x"
6556 - echo "$as_me:$LINENO: result: yes" >&5
6557 -echo "${ECHO_T}yes" >&6
6559 - echo "$as_me:$LINENO: result: no" >&5
6560 -echo "${ECHO_T}no" >&6
6564 - echo "$as_me:$LINENO: result: no" >&5
6565 -echo "${ECHO_T}no" >&6
6570 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6571 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6572 -library_names_spec=
6573 -libname_spec='lib$name'
6577 -postuninstall_cmds=
6581 -shlibpath_overrides_runpath=unknown
6583 -dynamic_linker="$host_os ld.so"
6584 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6585 -if test "$GCC" = yes; then
6586 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6587 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6588 - # if the path contains ";" then we assume it to be the separator
6589 - # otherwise default to the standard path separator (i.e. ":") - it is
6590 - # assumed that no part of a normal pathname contains ";" but that should
6591 - # okay in the real world where ";" in dirpaths is itself problematic.
6592 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6594 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6597 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6598 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6600 need_lib_prefix=unknown
6601 hardcode_into_libs=no
6602 @@ -7503,7 +7330,7 @@
6604 library_names_spec='$libname.ixlibrary $libname.a'
6605 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6606 - 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'
6607 + 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'
6611 @@ -7528,7 +7355,7 @@
6613 cygwin* | mingw* | pw32*)
6614 version_type=windows
6616 + shrext_cmds=".dll"
6620 @@ -7550,7 +7377,7 @@
6622 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6623 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6624 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
6625 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6628 # MinGW DLLs use traditional 'lib' prefix
6629 @@ -7589,17 +7416,16 @@
6633 - # FIXME: Relying on posixy $() will cause problems for
6634 - # cross-compilation, but unfortunately the echo tests do not
6635 - # yet detect zsh echo's removal of \ escapes.
6636 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6637 soname_spec='${libname}${release}${major}$shared_ext'
6638 shlibpath_overrides_runpath=yes
6639 shlibpath_var=DYLD_LIBRARY_PATH
6640 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
6641 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
6642 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6643 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6644 - 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"`
6645 + if test "$GCC" = yes; then
6646 + 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"`
6648 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6650 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6652 @@ -7617,6 +7443,18 @@
6657 + version_type=linux
6658 + need_lib_prefix=no
6660 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6661 + soname_spec='${libname}${release}${shared_ext}$major'
6662 + shlibpath_var=LD_LIBRARY_PATH
6663 + shlibpath_overrides_runpath=no
6664 + hardcode_into_libs=yes
6665 + dynamic_linker='GNU ld.so'
6669 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6670 version_type=freebsd-$objformat
6671 @@ -7665,7 +7503,7 @@
6677 hardcode_into_libs=yes
6678 dynamic_linker="$host_os dld.so"
6679 shlibpath_var=LD_LIBRARY_PATH
6680 @@ -7680,7 +7518,7 @@
6681 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6686 hardcode_into_libs=yes
6687 dynamic_linker="$host_os dld.sl"
6688 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6689 @@ -7691,7 +7529,7 @@
6690 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6695 dynamic_linker="$host_os dld.sl"
6696 shlibpath_var=SHLIB_PATH
6697 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6698 @@ -7760,6 +7598,12 @@
6699 # before this can be enabled.
6700 hardcode_into_libs=yes
6702 + # Append ld.so.conf contents to the search path
6703 + if test -f /etc/ld.so.conf; then
6704 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
6705 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6708 # We used to test for /lib/ld.so.1 and disable shared libraries on
6709 # powerpc, because MkLinux only supported shared libraries with the
6710 # GNU dynamic linker. Since this was broken with cross compilers,
6711 @@ -7769,6 +7613,30 @@
6712 dynamic_linker='GNU/Linux ld.so'
6716 + version_type=linux
6717 + need_lib_prefix=no
6719 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6720 + soname_spec='${libname}${release}${shared_ext}$major'
6721 + shlibpath_var=LD_LIBRARY_PATH
6722 + shlibpath_overrides_runpath=no
6723 + hardcode_into_libs=yes
6724 + dynamic_linker='NetBSD ld.elf_so'
6728 + version_type=linux
6729 + need_lib_prefix=no
6731 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6732 + soname_spec='${libname}${release}${shared_ext}$major'
6733 + shlibpath_var=LD_LIBRARY_PATH
6734 + shlibpath_overrides_runpath=no
6735 + hardcode_into_libs=yes
6736 + dynamic_linker='GNU ld.so'
6742 @@ -7778,7 +7646,7 @@
6743 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6744 dynamic_linker='NetBSD (a.out) ld.so'
6746 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6747 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6748 soname_spec='${libname}${release}${shared_ext}$major'
6749 dynamic_linker='NetBSD ld.elf_so'
6751 @@ -7794,7 +7662,7 @@
6752 shlibpath_overrides_runpath=yes
6760 @@ -7807,7 +7675,7 @@
6766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6767 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6768 shlibpath_var=LD_LIBRARY_PATH
6769 @@ -7827,7 +7695,7 @@
6772 libname_spec='$name'
6774 + shrext_cmds=".dll"
6776 library_names_spec='$libname${shared_ext} $libname.a'
6777 dynamic_linker='OS/2 ld.exe'
6778 @@ -7925,6 +7793,72 @@
6779 echo "${ECHO_T}$dynamic_linker" >&6
6780 test "$dynamic_linker" = no && can_build_shared=no
6782 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6783 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6785 +if test -n "$hardcode_libdir_flag_spec" || \
6786 + test -n "$runpath_var " || \
6787 + test "X$hardcode_automatic"="Xyes" ; then
6789 + # We can hardcode non-existant directories.
6790 + if test "$hardcode_direct" != no &&
6791 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
6792 + # have to relink, otherwise we might link with an installed library
6793 + # when we should be linking with a yet-to-be-installed one
6794 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6795 + test "$hardcode_minus_L" != no; then
6796 + # Linking always hardcodes the temporary library directory.
6797 + hardcode_action=relink
6799 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
6800 + hardcode_action=immediate
6803 + # We cannot hardcode anything, or else we can only hardcode existing
6805 + hardcode_action=unsupported
6807 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
6808 +echo "${ECHO_T}$hardcode_action" >&6
6810 +if test "$hardcode_action" = relink; then
6811 + # Fast installation is not supported
6812 + enable_fast_install=no
6813 +elif test "$shlibpath_overrides_runpath" = yes ||
6814 + test "$enable_shared" = no; then
6815 + # Fast installation is not necessary
6816 + enable_fast_install=needless
6821 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6822 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6823 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6824 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6825 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6826 + echo "$as_me:$LINENO: result: yes" >&5
6827 +echo "${ECHO_T}yes" >&6
6829 +# FIXME - insert some real tests, host_os isn't really good enough
6832 + if test -n "$STRIP" ; then
6833 + striplib="$STRIP -x"
6834 + echo "$as_me:$LINENO: result: yes" >&5
6835 +echo "${ECHO_T}yes" >&6
6837 + echo "$as_me:$LINENO: result: no" >&5
6838 +echo "${ECHO_T}no" >&6
6842 + echo "$as_me:$LINENO: result: no" >&5
6843 +echo "${ECHO_T}no" >&6
6848 if test "x$enable_dlopen" != xyes; then
6849 enable_dlopen=unknown
6850 enable_dlopen_self=unknown
6851 @@ -7960,7 +7894,6 @@
6852 ac_check_lib_save_LIBS=$LIBS
6854 cat >conftest.$ac_ext <<_ACEOF
6855 -#line $LINENO "configure"
6858 cat confdefs.h >>conftest.$ac_ext
6859 @@ -7984,11 +7917,20 @@
6861 rm -f conftest.$ac_objext conftest$ac_exeext
6862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6863 - (eval $ac_link) 2>&5
6864 + (eval $ac_link) 2>conftest.er1
6866 + grep -v '^ *+' conftest.er1 >conftest.err
6867 + rm -f conftest.er1
6868 + cat conftest.err >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } &&
6871 - { ac_try='test -s conftest$ac_exeext'
6872 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6873 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874 + (eval $ac_try) 2>&5
6876 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 + (exit $ac_status); }; } &&
6878 + { ac_try='test -s conftest$ac_exeext'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 @@ -8001,7 +7943,8 @@
6884 ac_cv_lib_dl_dlopen=no
6886 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6887 +rm -f conftest.err conftest.$ac_objext \
6888 + conftest$ac_exeext conftest.$ac_ext
6889 LIBS=$ac_check_lib_save_LIBS
6891 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6892 @@ -8025,21 +7968,28 @@
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 cat >conftest.$ac_ext <<_ACEOF
6896 -#line $LINENO "configure"
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6902 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6903 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6904 +#define shl_load innocuous_shl_load
6906 /* System header to define __stub macros and hopefully few prototypes,
6907 which can conflict with char shl_load (); below.
6908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6909 <limits.h> exists even on freestanding compilers. */
6912 # include <limits.h>
6914 # include <assert.h>
6919 /* Override any gcc2 internal prototype to avoid an error. */
6922 @@ -8070,11 +8020,20 @@
6924 rm -f conftest.$ac_objext conftest$ac_exeext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6926 - (eval $ac_link) 2>&5
6927 + (eval $ac_link) 2>conftest.er1
6929 + grep -v '^ *+' conftest.er1 >conftest.err
6930 + rm -f conftest.er1
6931 + cat conftest.err >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 - { ac_try='test -s conftest$ac_exeext'
6935 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6936 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937 + (eval $ac_try) 2>&5
6939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 + (exit $ac_status); }; } &&
6941 + { ac_try='test -s conftest$ac_exeext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 @@ -8087,7 +8046,8 @@
6947 ac_cv_func_shl_load=no
6949 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6950 +rm -f conftest.err conftest.$ac_objext \
6951 + conftest$ac_exeext conftest.$ac_ext
6953 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6954 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6955 @@ -8102,7 +8062,6 @@
6956 ac_check_lib_save_LIBS=$LIBS
6958 cat >conftest.$ac_ext <<_ACEOF
6959 -#line $LINENO "configure"
6962 cat confdefs.h >>conftest.$ac_ext
6963 @@ -8126,11 +8085,20 @@
6965 rm -f conftest.$ac_objext conftest$ac_exeext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 - (eval $ac_link) 2>&5
6968 + (eval $ac_link) 2>conftest.er1
6970 + grep -v '^ *+' conftest.er1 >conftest.err
6971 + rm -f conftest.er1
6972 + cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 - { ac_try='test -s conftest$ac_exeext'
6976 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6977 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 + (eval $ac_try) 2>&5
6980 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 + (exit $ac_status); }; } &&
6982 + { ac_try='test -s conftest$ac_exeext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 @@ -8143,7 +8111,8 @@
6988 ac_cv_lib_dld_shl_load=no
6990 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6991 +rm -f conftest.err conftest.$ac_objext \
6992 + conftest$ac_exeext conftest.$ac_ext
6993 LIBS=$ac_check_lib_save_LIBS
6995 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6996 @@ -8157,21 +8126,28 @@
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 cat >conftest.$ac_ext <<_ACEOF
7000 -#line $LINENO "configure"
7003 cat confdefs.h >>conftest.$ac_ext
7004 cat >>conftest.$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7006 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7007 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7008 +#define dlopen innocuous_dlopen
7010 /* System header to define __stub macros and hopefully few prototypes,
7011 which can conflict with char dlopen (); below.
7012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013 <limits.h> exists even on freestanding compilers. */
7016 # include <limits.h>
7018 # include <assert.h>
7023 /* Override any gcc2 internal prototype to avoid an error. */
7026 @@ -8202,11 +8178,20 @@
7028 rm -f conftest.$ac_objext conftest$ac_exeext
7029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7030 - (eval $ac_link) 2>&5
7031 + (eval $ac_link) 2>conftest.er1
7033 + grep -v '^ *+' conftest.er1 >conftest.err
7034 + rm -f conftest.er1
7035 + cat conftest.err >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } &&
7038 - { ac_try='test -s conftest$ac_exeext'
7039 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7040 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 + (eval $ac_try) 2>&5
7043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 + (exit $ac_status); }; } &&
7045 + { ac_try='test -s conftest$ac_exeext'
7046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7049 @@ -8219,7 +8204,8 @@
7051 ac_cv_func_dlopen=no
7053 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7054 +rm -f conftest.err conftest.$ac_objext \
7055 + conftest$ac_exeext conftest.$ac_ext
7057 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7058 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7059 @@ -8234,7 +8220,6 @@
7060 ac_check_lib_save_LIBS=$LIBS
7062 cat >conftest.$ac_ext <<_ACEOF
7063 -#line $LINENO "configure"
7066 cat confdefs.h >>conftest.$ac_ext
7067 @@ -8258,11 +8243,20 @@
7069 rm -f conftest.$ac_objext conftest$ac_exeext
7070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7071 - (eval $ac_link) 2>&5
7072 + (eval $ac_link) 2>conftest.er1
7074 + grep -v '^ *+' conftest.er1 >conftest.err
7075 + rm -f conftest.er1
7076 + cat conftest.err >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 - { ac_try='test -s conftest$ac_exeext'
7080 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7081 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 + (eval $ac_try) 2>&5
7084 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 + (exit $ac_status); }; } &&
7086 + { ac_try='test -s conftest$ac_exeext'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 @@ -8275,7 +8269,8 @@
7092 ac_cv_lib_dl_dlopen=no
7094 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7095 +rm -f conftest.err conftest.$ac_objext \
7096 + conftest$ac_exeext conftest.$ac_ext
7097 LIBS=$ac_check_lib_save_LIBS
7099 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7100 @@ -8291,7 +8286,6 @@
7101 ac_check_lib_save_LIBS=$LIBS
7103 cat >conftest.$ac_ext <<_ACEOF
7104 -#line $LINENO "configure"
7107 cat confdefs.h >>conftest.$ac_ext
7108 @@ -8315,11 +8309,20 @@
7110 rm -f conftest.$ac_objext conftest$ac_exeext
7111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7112 - (eval $ac_link) 2>&5
7113 + (eval $ac_link) 2>conftest.er1
7115 + grep -v '^ *+' conftest.er1 >conftest.err
7116 + rm -f conftest.er1
7117 + cat conftest.err >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); } &&
7120 - { ac_try='test -s conftest$ac_exeext'
7121 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7122 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 + (eval $ac_try) 2>&5
7125 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 + (exit $ac_status); }; } &&
7127 + { ac_try='test -s conftest$ac_exeext'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 @@ -8332,7 +8335,8 @@
7133 ac_cv_lib_svld_dlopen=no
7135 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7136 +rm -f conftest.err conftest.$ac_objext \
7137 + conftest$ac_exeext conftest.$ac_ext
7138 LIBS=$ac_check_lib_save_LIBS
7140 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7141 @@ -8348,7 +8352,6 @@
7142 ac_check_lib_save_LIBS=$LIBS
7144 cat >conftest.$ac_ext <<_ACEOF
7145 -#line $LINENO "configure"
7148 cat confdefs.h >>conftest.$ac_ext
7149 @@ -8372,11 +8375,20 @@
7151 rm -f conftest.$ac_objext conftest$ac_exeext
7152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7153 - (eval $ac_link) 2>&5
7154 + (eval $ac_link) 2>conftest.er1
7156 + grep -v '^ *+' conftest.er1 >conftest.err
7157 + rm -f conftest.er1
7158 + cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } &&
7161 - { ac_try='test -s conftest$ac_exeext'
7162 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7163 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 + (eval $ac_try) 2>&5
7166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 + (exit $ac_status); }; } &&
7168 + { ac_try='test -s conftest$ac_exeext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 @@ -8389,7 +8401,8 @@
7174 ac_cv_lib_dld_dld_link=no
7176 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7177 +rm -f conftest.err conftest.$ac_objext \
7178 + conftest$ac_exeext conftest.$ac_ext
7179 LIBS=$ac_check_lib_save_LIBS
7181 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7182 @@ -8444,7 +8457,7 @@
7183 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7184 lt_status=$lt_dlunknown
7185 cat > conftest.$ac_ext <<EOF
7186 -#line 8447 "configure"
7187 +#line 8460 "configure"
7188 #include "confdefs.h"
7191 @@ -8542,7 +8555,7 @@
7192 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7193 lt_status=$lt_dlunknown
7194 cat > conftest.$ac_ext <<EOF
7195 -#line 8545 "configure"
7196 +#line 8558 "configure"
7197 #include "confdefs.h"
7200 @@ -8667,38 +8680,47 @@
7206 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7207 test "$enable_shared" = yes && enable_static=no
7210 darwin* | rhapsody*)
7211 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7212 + if test "$GCC" = yes; then
7213 archive_cmds_need_lc=no
7215 rhapsody* | darwin1.[012])
7216 allow_undefined_flag='-undefined suppress'
7219 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7220 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7221 + allow_undefined_flag='-flat_namespace -undefined suppress'
7223 + case ${MACOSX_DEPLOYMENT_TARGET} in
7225 + allow_undefined_flag='-flat_namespace -undefined suppress'
7228 + allow_undefined_flag='-undefined dynamic_lookup'
7234 - # FIXME: Relying on posixy $() will cause problems for
7235 - # cross-compilation, but unfortunately the echo tests do not
7236 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7237 - # `"' quotes if we put them in here... so don't!
7238 - output_verbose_link_cmd='echo'
7239 + output_verbose_link_cmd='echo'
7240 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
7241 - module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7242 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7243 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7244 - 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}'
7245 - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7246 + 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}'
7247 + 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}'
7249 hardcode_automatic=yes
7250 hardcode_shlibpath_var=unsupported
7251 whole_archive_flag_spec='-all_load $convenience'
7252 link_all_deplibs=yes
7259 echo "$as_me:$LINENO: result: $enable_shared" >&5
7260 @@ -8724,7 +8746,8 @@
7261 # Now quote all the things that may contain metacharacters while being
7262 # careful not to overquote the AC_SUBSTed values. We take copies of the
7263 # variables and quote the copies for generation of the libtool script.
7264 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
7265 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7267 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7268 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7269 deplibs_check_method reload_flag reload_cmds need_locks \
7270 @@ -8902,7 +8925,7 @@
7273 # A symbol stripping program
7277 # Used to examine libraries when file_magic_cmd begins "file"
7278 MAGIC_CMD=$MAGIC_CMD
7279 @@ -8933,7 +8956,7 @@
7282 # Shared library suffix (normally ".so").
7284 +shrext_cmds='$shrext_cmds'
7286 # Executable file suffix (normally "").
7288 @@ -9175,7 +9198,10 @@
7289 # If there is no Makefile yet, we rely on a make rule to execute
7290 # `config.status --recheck' to rerun these tests and create the
7291 # libtool script then.
7292 - test -f Makefile && make "$ltmain"
7293 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7294 + if test -f "$ltmain_in"; then
7295 + test -f Makefile && make "$ltmain"
7300 @@ -9356,7 +9382,7 @@
7301 # Accept absolute paths.
7303 re_direlt='/[^/][^/]*/\.\./'
7304 - # Canonicalize the path of ld
7305 + # Canonicalize the pathname of ld
7306 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7307 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7308 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7309 @@ -9425,7 +9451,7 @@
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7313 -case `"$LD" -v 2>&1 </dev/null` in
7314 +case `$LD -v 2>&1 </dev/null` in
7315 *GNU* | *'with BFD'*)
7316 lt_cv_prog_gnu_ld=yes
7318 @@ -9470,7 +9496,7 @@
7319 # linker, instead of GNU ld. If possible, this setting should
7320 # overridden to take advantage of the native linker features on
7321 # the platform it is being used on.
7322 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7323 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7326 # Commands to make compiler produce verbose output that lists
7327 @@ -9578,7 +9604,6 @@
7328 allow_undefined_flag_CXX='-berok'
7329 # Determine the default libpath from the value encoded in an empty executable.
7330 cat >conftest.$ac_ext <<_ACEOF
7331 -#line $LINENO "configure"
7334 cat confdefs.h >>conftest.$ac_ext
7335 @@ -9595,11 +9620,20 @@
7337 rm -f conftest.$ac_objext conftest$ac_exeext
7338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7339 - (eval $ac_link) 2>&5
7340 + (eval $ac_link) 2>conftest.er1
7342 + grep -v '^ *+' conftest.er1 >conftest.err
7343 + rm -f conftest.er1
7344 + cat conftest.err >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); } &&
7347 - { ac_try='test -s conftest$ac_exeext'
7348 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7349 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 + (eval $ac_try) 2>&5
7352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 + (exit $ac_status); }; } &&
7354 + { ac_try='test -s conftest$ac_exeext'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 @@ -9616,7 +9650,8 @@
7359 sed 's/^/| /' conftest.$ac_ext >&5
7362 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7363 +rm -f conftest.err conftest.$ac_objext \
7364 + conftest$ac_exeext conftest.$ac_ext
7365 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7367 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7368 @@ -9630,7 +9665,6 @@
7370 # Determine the default libpath from the value encoded in an empty executable.
7371 cat >conftest.$ac_ext <<_ACEOF
7372 -#line $LINENO "configure"
7375 cat confdefs.h >>conftest.$ac_ext
7376 @@ -9647,18 +9681,27 @@
7378 rm -f conftest.$ac_objext conftest$ac_exeext
7379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380 - (eval $ac_link) 2>&5
7381 + (eval $ac_link) 2>conftest.er1
7383 + grep -v '^ *+' conftest.er1 >conftest.err
7384 + rm -f conftest.er1
7385 + cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } &&
7388 - { ac_try='test -s conftest$ac_exeext'
7389 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 - (exit $ac_status); }; }; then
7396 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7397 + (exit $ac_status); }; } &&
7398 + { ac_try='test -s conftest$ac_exeext'
7399 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 + (eval $ac_try) 2>&5
7402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 + (exit $ac_status); }; }; then
7405 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7407 # Check for a 64-bit object if we didn't find anything.
7408 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; }
7409 @@ -9668,7 +9711,8 @@
7410 sed 's/^/| /' conftest.$ac_ext >&5
7413 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7414 +rm -f conftest.err conftest.$ac_objext \
7415 + conftest$ac_exeext conftest.$ac_ext
7416 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7418 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7419 @@ -9720,41 +9764,54 @@
7422 darwin* | rhapsody*)
7423 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7424 + if test "$GXX" = yes; then
7425 archive_cmds_need_lc_CXX=no
7427 rhapsody* | darwin1.[012])
7428 allow_undefined_flag_CXX='-undefined suppress'
7431 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7432 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7433 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7435 + case ${MACOSX_DEPLOYMENT_TARGET} in
7437 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7440 + allow_undefined_flag_CXX='-undefined dynamic_lookup'
7446 - lt_int_apple_cc_single_mod=no
7447 - output_verbose_link_cmd='echo'
7448 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7449 - lt_int_apple_cc_single_mod=yes
7451 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7452 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7454 - archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
7456 - module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7457 + lt_int_apple_cc_single_mod=no
7458 + output_verbose_link_cmd='echo'
7459 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7460 + lt_int_apple_cc_single_mod=yes
7462 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7463 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7465 + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
7467 + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7469 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7470 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7471 - 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}'
7473 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
7475 - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7476 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7477 + 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}'
7479 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
7481 + 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}'
7482 hardcode_direct_CXX=no
7483 hardcode_automatic_CXX=yes
7484 hardcode_shlibpath_var_CXX=unsupported
7485 whole_archive_flag_spec_CXX='-all_load $convenience'
7486 link_all_deplibs_CXX=yes
7494 @@ -9781,7 +9838,7 @@
7496 archive_cmds_need_lc_CXX=no
7499 + freebsd* | kfreebsd*-gnu)
7500 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
7503 @@ -9812,7 +9869,7 @@
7504 # explicitly linking system object files so we need to strip them
7505 # from the output so that they don't get included in the library
7507 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
7508 + 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'
7511 if test "$GXX" = yes; then
7512 @@ -10009,7 +10066,7 @@
7517 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7518 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7519 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7521 @@ -10488,7 +10545,7 @@
7526 + freebsd* | kfreebsd*-gnu)
7527 # FreeBSD uses GNU C++
7529 hpux9* | hpux10* | hpux11*)
7530 @@ -10564,7 +10621,7 @@
7535 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7537 osf3* | osf4* | osf5*)
7538 case $cc_basename in
7539 @@ -10656,7 +10713,8 @@
7540 # Check to make sure the PIC flag actually works.
7542 if test -n "$lt_prog_compiler_pic_CXX"; then
7543 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
7545 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
7546 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
7547 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 @@ -10674,11 +10732,11 @@
7550 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7552 -e 's:$: $lt_compiler_flag:'`
7553 - (eval echo "\"\$as_me:10677: $lt_compile\"" >&5)
7554 + (eval echo "\"\$as_me:10735: $lt_compile\"" >&5)
7555 (eval "$lt_compile" 2>conftest.err)
7557 cat conftest.err >&5
7558 - echo "$as_me:10681: \$? = $ac_status" >&5
7559 + echo "$as_me:10739: \$? = $ac_status" >&5
7560 if (exit $ac_status) && test -s "$ac_outfile"; then
7561 # The compiler can only warn and ignore the option if not recognized
7562 # So say no if there are warnings
7563 @@ -10725,13 +10783,6 @@
7565 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7567 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7568 - # that will create temporary files in the current directory regardless of
7569 - # the output directory. Thus, making CWD read-only will cause this test
7570 - # to fail, enabling locking or at least warning the user not to do parallel
7574 lt_compiler_flag="-o out/conftest2.$ac_objext"
7575 # Insert the option either (1) after the last *FLAGS variable, or
7576 # (2) before a word containing "conftest.", or (3) at the end.
7577 @@ -10741,11 +10792,11 @@
7578 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580 -e 's:$: $lt_compiler_flag:'`
7581 - (eval echo "\"\$as_me:10744: $lt_compile\"" >&5)
7582 + (eval echo "\"\$as_me:10795: $lt_compile\"" >&5)
7583 (eval "$lt_compile" 2>out/conftest.err)
7585 cat out/conftest.err >&5
7586 - echo "$as_me:10748: \$? = $ac_status" >&5
7587 + echo "$as_me:10799: \$? = $ac_status" >&5
7588 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7590 # The compiler can only warn and ignore the option if not recognized
7591 @@ -10755,8 +10806,11 @@
7595 - $rm conftest* out/*
7598 + # SGI C++ compiler will create directory out/ii_files/ for
7599 + # template instantiation
7600 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7601 + $rm out/* && rmdir out
7605 @@ -10808,6 +10862,9 @@
7607 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7610 + link_all_deplibs_CXX=no
7613 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7615 @@ -10884,78 +10941,12 @@
7619 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7620 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7621 -hardcode_action_CXX=
7622 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
7623 - test -n "$runpath_var CXX" || \
7624 - test "X$hardcode_automatic_CXX"="Xyes" ; then
7626 - # We can hardcode non-existant directories.
7627 - if test "$hardcode_direct_CXX" != no &&
7628 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
7629 - # have to relink, otherwise we might link with an installed library
7630 - # when we should be linking with a yet-to-be-installed one
7631 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
7632 - test "$hardcode_minus_L_CXX" != no; then
7633 - # Linking always hardcodes the temporary library directory.
7634 - hardcode_action_CXX=relink
7636 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
7637 - hardcode_action_CXX=immediate
7640 - # We cannot hardcode anything, or else we can only hardcode existing
7642 - hardcode_action_CXX=unsupported
7644 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
7645 -echo "${ECHO_T}$hardcode_action_CXX" >&6
7647 -if test "$hardcode_action_CXX" = relink; then
7648 - # Fast installation is not supported
7649 - enable_fast_install=no
7650 -elif test "$shlibpath_overrides_runpath" = yes ||
7651 - test "$enable_shared" = no; then
7652 - # Fast installation is not necessary
7653 - enable_fast_install=needless
7658 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7659 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7660 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7661 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7662 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7663 - echo "$as_me:$LINENO: result: yes" >&5
7664 -echo "${ECHO_T}yes" >&6
7666 -# FIXME - insert some real tests, host_os isn't really good enough
7669 - if test -n "$STRIP" ; then
7670 - striplib="$STRIP -x"
7671 - echo "$as_me:$LINENO: result: yes" >&5
7672 -echo "${ECHO_T}yes" >&6
7674 - echo "$as_me:$LINENO: result: no" >&5
7675 -echo "${ECHO_T}no" >&6
7679 - echo "$as_me:$LINENO: result: no" >&5
7680 -echo "${ECHO_T}no" >&6
7685 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7686 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7688 libname_spec='lib$name'
7695 @@ -11043,7 +11034,7 @@
7697 library_names_spec='$libname.ixlibrary $libname.a'
7698 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7699 - 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'
7700 + 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'
7704 @@ -11068,7 +11059,7 @@
7706 cygwin* | mingw* | pw32*)
7707 version_type=windows
7709 + shrext_cmds=".dll"
7713 @@ -11090,7 +11081,7 @@
7715 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7716 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7717 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7718 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7721 # MinGW DLLs use traditional 'lib' prefix
7722 @@ -11129,17 +11120,16 @@
7726 - # FIXME: Relying on posixy $() will cause problems for
7727 - # cross-compilation, but unfortunately the echo tests do not
7728 - # yet detect zsh echo's removal of \ escapes.
7729 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7730 soname_spec='${libname}${release}${major}$shared_ext'
7731 shlibpath_overrides_runpath=yes
7732 shlibpath_var=DYLD_LIBRARY_PATH
7733 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7734 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
7735 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7736 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7737 - 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"`
7738 + if test "$GCC" = yes; then
7739 + 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"`
7741 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7743 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7745 @@ -11157,6 +11147,18 @@
7750 + version_type=linux
7751 + need_lib_prefix=no
7753 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7754 + soname_spec='${libname}${release}${shared_ext}$major'
7755 + shlibpath_var=LD_LIBRARY_PATH
7756 + shlibpath_overrides_runpath=no
7757 + hardcode_into_libs=yes
7758 + dynamic_linker='GNU ld.so'
7762 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7763 version_type=freebsd-$objformat
7764 @@ -11205,7 +11207,7 @@
7770 hardcode_into_libs=yes
7771 dynamic_linker="$host_os dld.so"
7772 shlibpath_var=LD_LIBRARY_PATH
7773 @@ -11220,7 +11222,7 @@
7774 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7779 hardcode_into_libs=yes
7780 dynamic_linker="$host_os dld.sl"
7781 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7782 @@ -11231,7 +11233,7 @@
7783 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7788 dynamic_linker="$host_os dld.sl"
7789 shlibpath_var=SHLIB_PATH
7790 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7791 @@ -11300,6 +11302,12 @@
7792 # before this can be enabled.
7793 hardcode_into_libs=yes
7795 + # Append ld.so.conf contents to the search path
7796 + if test -f /etc/ld.so.conf; then
7797 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
7798 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7801 # We used to test for /lib/ld.so.1 and disable shared libraries on
7802 # powerpc, because MkLinux only supported shared libraries with the
7803 # GNU dynamic linker. Since this was broken with cross compilers,
7804 @@ -11309,6 +11317,30 @@
7805 dynamic_linker='GNU/Linux ld.so'
7809 + version_type=linux
7810 + need_lib_prefix=no
7812 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7813 + soname_spec='${libname}${release}${shared_ext}$major'
7814 + shlibpath_var=LD_LIBRARY_PATH
7815 + shlibpath_overrides_runpath=no
7816 + hardcode_into_libs=yes
7817 + dynamic_linker='NetBSD ld.elf_so'
7821 + version_type=linux
7822 + need_lib_prefix=no
7824 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7825 + soname_spec='${libname}${release}${shared_ext}$major'
7826 + shlibpath_var=LD_LIBRARY_PATH
7827 + shlibpath_overrides_runpath=no
7828 + hardcode_into_libs=yes
7829 + dynamic_linker='GNU ld.so'
7835 @@ -11318,7 +11350,7 @@
7836 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7837 dynamic_linker='NetBSD (a.out) ld.so'
7839 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7840 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7841 soname_spec='${libname}${release}${shared_ext}$major'
7842 dynamic_linker='NetBSD ld.elf_so'
7844 @@ -11334,7 +11366,7 @@
7845 shlibpath_overrides_runpath=yes
7853 @@ -11347,7 +11379,7 @@
7859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7860 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7861 shlibpath_var=LD_LIBRARY_PATH
7862 @@ -11367,7 +11399,7 @@
7865 libname_spec='$name'
7867 + shrext_cmds=".dll"
7869 library_names_spec='$libname${shared_ext} $libname.a'
7870 dynamic_linker='OS/2 ld.exe'
7871 @@ -11465,6 +11497,72 @@
7872 echo "${ECHO_T}$dynamic_linker" >&6
7873 test "$dynamic_linker" = no && can_build_shared=no
7875 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7876 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7877 +hardcode_action_CXX=
7878 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
7879 + test -n "$runpath_var CXX" || \
7880 + test "X$hardcode_automatic_CXX"="Xyes" ; then
7882 + # We can hardcode non-existant directories.
7883 + if test "$hardcode_direct_CXX" != no &&
7884 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
7885 + # have to relink, otherwise we might link with an installed library
7886 + # when we should be linking with a yet-to-be-installed one
7887 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
7888 + test "$hardcode_minus_L_CXX" != no; then
7889 + # Linking always hardcodes the temporary library directory.
7890 + hardcode_action_CXX=relink
7892 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
7893 + hardcode_action_CXX=immediate
7896 + # We cannot hardcode anything, or else we can only hardcode existing
7898 + hardcode_action_CXX=unsupported
7900 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
7901 +echo "${ECHO_T}$hardcode_action_CXX" >&6
7903 +if test "$hardcode_action_CXX" = relink; then
7904 + # Fast installation is not supported
7905 + enable_fast_install=no
7906 +elif test "$shlibpath_overrides_runpath" = yes ||
7907 + test "$enable_shared" = no; then
7908 + # Fast installation is not necessary
7909 + enable_fast_install=needless
7914 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7915 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7916 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7917 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7918 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7919 + echo "$as_me:$LINENO: result: yes" >&5
7920 +echo "${ECHO_T}yes" >&6
7922 +# FIXME - insert some real tests, host_os isn't really good enough
7925 + if test -n "$STRIP" ; then
7926 + striplib="$STRIP -x"
7927 + echo "$as_me:$LINENO: result: yes" >&5
7928 +echo "${ECHO_T}yes" >&6
7930 + echo "$as_me:$LINENO: result: no" >&5
7931 +echo "${ECHO_T}no" >&6
7935 + echo "$as_me:$LINENO: result: no" >&5
7936 +echo "${ECHO_T}no" >&6
7941 if test "x$enable_dlopen" != xyes; then
7942 enable_dlopen=unknown
7943 enable_dlopen_self=unknown
7944 @@ -11500,7 +11598,6 @@
7945 ac_check_lib_save_LIBS=$LIBS
7947 cat >conftest.$ac_ext <<_ACEOF
7948 -#line $LINENO "configure"
7951 cat confdefs.h >>conftest.$ac_ext
7952 @@ -11524,11 +11621,20 @@
7954 rm -f conftest.$ac_objext conftest$ac_exeext
7955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7956 - (eval $ac_link) 2>&5
7957 + (eval $ac_link) 2>conftest.er1
7959 + grep -v '^ *+' conftest.er1 >conftest.err
7960 + rm -f conftest.er1
7961 + cat conftest.err >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); } &&
7964 - { ac_try='test -s conftest$ac_exeext'
7965 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7966 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 + (eval $ac_try) 2>&5
7969 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 + (exit $ac_status); }; } &&
7971 + { ac_try='test -s conftest$ac_exeext'
7972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 @@ -11541,7 +11647,8 @@
7977 ac_cv_lib_dl_dlopen=no
7979 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7980 +rm -f conftest.err conftest.$ac_objext \
7981 + conftest$ac_exeext conftest.$ac_ext
7982 LIBS=$ac_check_lib_save_LIBS
7984 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7985 @@ -11565,21 +11672,28 @@
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 cat >conftest.$ac_ext <<_ACEOF
7989 -#line $LINENO "configure"
7992 cat confdefs.h >>conftest.$ac_ext
7993 cat >>conftest.$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7995 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7996 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7997 +#define shl_load innocuous_shl_load
7999 /* System header to define __stub macros and hopefully few prototypes,
8000 which can conflict with char shl_load (); below.
8001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8002 <limits.h> exists even on freestanding compilers. */
8005 # include <limits.h>
8007 # include <assert.h>
8012 /* Override any gcc2 internal prototype to avoid an error. */
8015 @@ -11610,11 +11724,20 @@
8017 rm -f conftest.$ac_objext conftest$ac_exeext
8018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8019 - (eval $ac_link) 2>&5
8020 + (eval $ac_link) 2>conftest.er1
8022 + grep -v '^ *+' conftest.er1 >conftest.err
8023 + rm -f conftest.er1
8024 + cat conftest.err >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } &&
8027 - { ac_try='test -s conftest$ac_exeext'
8028 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8029 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 + (eval $ac_try) 2>&5
8032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 + (exit $ac_status); }; } &&
8034 + { ac_try='test -s conftest$ac_exeext'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 @@ -11627,7 +11750,8 @@
8040 ac_cv_func_shl_load=no
8042 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8043 +rm -f conftest.err conftest.$ac_objext \
8044 + conftest$ac_exeext conftest.$ac_ext
8046 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8047 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8048 @@ -11642,7 +11766,6 @@
8049 ac_check_lib_save_LIBS=$LIBS
8051 cat >conftest.$ac_ext <<_ACEOF
8052 -#line $LINENO "configure"
8055 cat confdefs.h >>conftest.$ac_ext
8056 @@ -11666,11 +11789,20 @@
8058 rm -f conftest.$ac_objext conftest$ac_exeext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8060 - (eval $ac_link) 2>&5
8061 + (eval $ac_link) 2>conftest.er1
8063 + grep -v '^ *+' conftest.er1 >conftest.err
8064 + rm -f conftest.er1
8065 + cat conftest.err >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); } &&
8068 - { ac_try='test -s conftest$ac_exeext'
8069 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8070 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 + (eval $ac_try) 2>&5
8073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 + (exit $ac_status); }; } &&
8075 + { ac_try='test -s conftest$ac_exeext'
8076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079 @@ -11683,7 +11815,8 @@
8081 ac_cv_lib_dld_shl_load=no
8083 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8084 +rm -f conftest.err conftest.$ac_objext \
8085 + conftest$ac_exeext conftest.$ac_ext
8086 LIBS=$ac_check_lib_save_LIBS
8088 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8089 @@ -11697,21 +11830,28 @@
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 cat >conftest.$ac_ext <<_ACEOF
8093 -#line $LINENO "configure"
8096 cat confdefs.h >>conftest.$ac_ext
8097 cat >>conftest.$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8099 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8100 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
8101 +#define dlopen innocuous_dlopen
8103 /* System header to define __stub macros and hopefully few prototypes,
8104 which can conflict with char dlopen (); below.
8105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8106 <limits.h> exists even on freestanding compilers. */
8109 # include <limits.h>
8111 # include <assert.h>
8116 /* Override any gcc2 internal prototype to avoid an error. */
8119 @@ -11742,11 +11882,20 @@
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8123 - (eval $ac_link) 2>&5
8124 + (eval $ac_link) 2>conftest.er1
8126 + grep -v '^ *+' conftest.er1 >conftest.err
8127 + rm -f conftest.er1
8128 + cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 - { ac_try='test -s conftest$ac_exeext'
8132 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8133 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 + (eval $ac_try) 2>&5
8136 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 + (exit $ac_status); }; } &&
8138 + { ac_try='test -s conftest$ac_exeext'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 @@ -11759,7 +11908,8 @@
8144 ac_cv_func_dlopen=no
8146 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8147 +rm -f conftest.err conftest.$ac_objext \
8148 + conftest$ac_exeext conftest.$ac_ext
8150 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8151 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8152 @@ -11774,7 +11924,6 @@
8153 ac_check_lib_save_LIBS=$LIBS
8155 cat >conftest.$ac_ext <<_ACEOF
8156 -#line $LINENO "configure"
8159 cat confdefs.h >>conftest.$ac_ext
8160 @@ -11798,11 +11947,20 @@
8162 rm -f conftest.$ac_objext conftest$ac_exeext
8163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8164 - (eval $ac_link) 2>&5
8165 + (eval $ac_link) 2>conftest.er1
8167 + grep -v '^ *+' conftest.er1 >conftest.err
8168 + rm -f conftest.er1
8169 + cat conftest.err >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } &&
8172 - { ac_try='test -s conftest$ac_exeext'
8173 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8174 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 + (eval $ac_try) 2>&5
8177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 + (exit $ac_status); }; } &&
8179 + { ac_try='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 @@ -11815,7 +11973,8 @@
8185 ac_cv_lib_dl_dlopen=no
8187 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8188 +rm -f conftest.err conftest.$ac_objext \
8189 + conftest$ac_exeext conftest.$ac_ext
8190 LIBS=$ac_check_lib_save_LIBS
8192 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8193 @@ -11831,7 +11990,6 @@
8194 ac_check_lib_save_LIBS=$LIBS
8196 cat >conftest.$ac_ext <<_ACEOF
8197 -#line $LINENO "configure"
8200 cat confdefs.h >>conftest.$ac_ext
8201 @@ -11855,24 +12013,34 @@
8203 rm -f conftest.$ac_objext conftest$ac_exeext
8204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8205 - (eval $ac_link) 2>&5
8206 + (eval $ac_link) 2>conftest.er1
8208 + grep -v '^ *+' conftest.er1 >conftest.err
8209 + rm -f conftest.er1
8210 + cat conftest.err >&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } &&
8213 - { ac_try='test -s conftest$ac_exeext'
8214 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 - (exit $ac_status); }; }; then
8220 - ac_cv_lib_svld_dlopen=yes
8221 + (exit $ac_status); }; } &&
8222 + { ac_try='test -s conftest$ac_exeext'
8223 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 + (eval $ac_try) 2>&5
8226 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 + (exit $ac_status); }; }; then
8228 + ac_cv_lib_svld_dlopen=yes
8230 echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.$ac_ext >&5
8233 ac_cv_lib_svld_dlopen=no
8235 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8236 +rm -f conftest.err conftest.$ac_objext \
8237 + conftest$ac_exeext conftest.$ac_ext
8238 LIBS=$ac_check_lib_save_LIBS
8240 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8241 @@ -11888,7 +12056,6 @@
8242 ac_check_lib_save_LIBS=$LIBS
8244 cat >conftest.$ac_ext <<_ACEOF
8245 -#line $LINENO "configure"
8248 cat confdefs.h >>conftest.$ac_ext
8249 @@ -11912,11 +12079,20 @@
8251 rm -f conftest.$ac_objext conftest$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 - (eval $ac_link) 2>&5
8254 + (eval $ac_link) 2>conftest.er1
8256 + grep -v '^ *+' conftest.er1 >conftest.err
8257 + rm -f conftest.er1
8258 + cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 - { ac_try='test -s conftest$ac_exeext'
8262 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 + (eval $ac_try) 2>&5
8266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 + (exit $ac_status); }; } &&
8268 + { ac_try='test -s conftest$ac_exeext'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 @@ -11929,7 +12105,8 @@
8274 ac_cv_lib_dld_dld_link=no
8276 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8277 +rm -f conftest.err conftest.$ac_objext \
8278 + conftest$ac_exeext conftest.$ac_ext
8279 LIBS=$ac_check_lib_save_LIBS
8281 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8282 @@ -11984,7 +12161,7 @@
8283 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8284 lt_status=$lt_dlunknown
8285 cat > conftest.$ac_ext <<EOF
8286 -#line 11987 "configure"
8287 +#line 12164 "configure"
8288 #include "confdefs.h"
8291 @@ -12082,7 +12259,7 @@
8292 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8293 lt_status=$lt_dlunknown
8294 cat > conftest.$ac_ext <<EOF
8295 -#line 12085 "configure"
8296 +#line 12262 "configure"
8297 #include "confdefs.h"
8300 @@ -12199,7 +12376,8 @@
8301 # Now quote all the things that may contain metacharacters while being
8302 # careful not to overquote the AC_SUBSTed values. We take copies of the
8303 # variables and quote the copies for generation of the libtool script.
8304 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8305 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8307 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8308 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8309 deplibs_check_method reload_flag reload_cmds need_locks \
8310 @@ -12329,7 +12507,7 @@
8313 # A symbol stripping program
8317 # Used to examine libraries when file_magic_cmd begins "file"
8318 MAGIC_CMD=$MAGIC_CMD
8319 @@ -12360,7 +12538,7 @@
8322 # Shared library suffix (normally ".so").
8324 +shrext_cmds='$shrext_cmds'
8326 # Executable file suffix (normally "").
8328 @@ -12577,7 +12755,10 @@
8329 # If there is no Makefile yet, we rely on a make rule to execute
8330 # `config.status --recheck' to rerun these tests and create the
8331 # libtool script then.
8332 - test -f Makefile && make "$ltmain"
8333 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
8334 + if test -f "$ltmain_in"; then
8335 + test -f Makefile && make "$ltmain"
8340 @@ -12679,7 +12860,7 @@
8341 postinstall_cmds='$RANLIB $lib'
8346 test "$enable_shared" = yes && enable_static=no
8349 @@ -12819,12 +13000,12 @@
8355 lt_prog_compiler_wl_F77='-Wl,'
8356 lt_prog_compiler_pic_F77='-KPIC'
8357 lt_prog_compiler_static_F77='-static'
8361 lt_prog_compiler_wl_F77='-Wl,'
8362 # All Alpha code is PIC.
8363 lt_prog_compiler_static_F77='-non_shared'
8364 @@ -12886,7 +13067,8 @@
8365 # Check to make sure the PIC flag actually works.
8367 if test -n "$lt_prog_compiler_pic_F77"; then
8368 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
8370 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
8371 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
8372 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 @@ -12904,11 +13086,11 @@
8375 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 - (eval echo "\"\$as_me:12907: $lt_compile\"" >&5)
8379 + (eval echo "\"\$as_me:13089: $lt_compile\"" >&5)
8380 (eval "$lt_compile" 2>conftest.err)
8382 cat conftest.err >&5
8383 - echo "$as_me:12911: \$? = $ac_status" >&5
8384 + echo "$as_me:13093: \$? = $ac_status" >&5
8385 if (exit $ac_status) && test -s "$ac_outfile"; then
8386 # The compiler can only warn and ignore the option if not recognized
8387 # So say no if there are warnings
8388 @@ -12955,13 +13137,6 @@
8390 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8392 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
8393 - # that will create temporary files in the current directory regardless of
8394 - # the output directory. Thus, making CWD read-only will cause this test
8395 - # to fail, enabling locking or at least warning the user not to do parallel
8399 lt_compiler_flag="-o out/conftest2.$ac_objext"
8400 # Insert the option either (1) after the last *FLAGS variable, or
8401 # (2) before a word containing "conftest.", or (3) at the end.
8402 @@ -12971,11 +13146,11 @@
8403 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405 -e 's:$: $lt_compiler_flag:'`
8406 - (eval echo "\"\$as_me:12974: $lt_compile\"" >&5)
8407 + (eval echo "\"\$as_me:13149: $lt_compile\"" >&5)
8408 (eval "$lt_compile" 2>out/conftest.err)
8410 cat out/conftest.err >&5
8411 - echo "$as_me:12978: \$? = $ac_status" >&5
8412 + echo "$as_me:13153: \$? = $ac_status" >&5
8413 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8415 # The compiler can only warn and ignore the option if not recognized
8416 @@ -12985,8 +13160,11 @@
8420 - $rm conftest* out/*
8423 + # SGI C++ compiler will create directory out/ii_files/ for
8424 + # template instantiation
8425 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8426 + $rm out/* && rmdir out
8430 @@ -13145,7 +13323,7 @@
8435 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8436 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8437 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8439 @@ -13183,6 +13361,32 @@
8440 hardcode_shlibpath_var_F77=no
8444 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8445 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8446 + archive_cmds_F77="$tmp_archive_cmds"
8447 + supports_anon_versioning=no
8448 + case `$LD -v 2>/dev/null` in
8449 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8450 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8451 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8452 + *\ 2.11.*) ;; # other 2.11 versions
8453 + *) supports_anon_versioning=yes ;;
8455 + if test $supports_anon_versioning = yes; then
8456 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
8457 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8458 +$echo "local: *; };" >> $output_objdir/$libname.ver~
8459 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8461 + archive_expsym_cmds_F77="$tmp_archive_cmds"
8463 + link_all_deplibs_F77=no
8470 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8471 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472 @@ -13317,11 +13521,20 @@
8474 rm -f conftest.$ac_objext conftest$ac_exeext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 - (eval $ac_link) 2>&5
8477 + (eval $ac_link) 2>conftest.er1
8479 + grep -v '^ *+' conftest.er1 >conftest.err
8480 + rm -f conftest.er1
8481 + cat conftest.err >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); } &&
8484 - { ac_try='test -s conftest$ac_exeext'
8485 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
8486 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 + (eval $ac_try) 2>&5
8489 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 + (exit $ac_status); }; } &&
8491 + { ac_try='test -s conftest$ac_exeext'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 @@ -13338,7 +13551,8 @@
8496 sed 's/^/| /' conftest.$ac_ext >&5
8499 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8500 +rm -f conftest.err conftest.$ac_objext \
8501 + conftest$ac_exeext conftest.$ac_ext
8502 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8504 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
8505 @@ -13357,11 +13571,20 @@
8507 rm -f conftest.$ac_objext conftest$ac_exeext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8509 - (eval $ac_link) 2>&5
8510 + (eval $ac_link) 2>conftest.er1
8512 + grep -v '^ *+' conftest.er1 >conftest.err
8513 + rm -f conftest.er1
8514 + cat conftest.err >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 - { ac_try='test -s conftest$ac_exeext'
8518 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
8519 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 + (eval $ac_try) 2>&5
8522 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 + (exit $ac_status); }; } &&
8524 + { ac_try='test -s conftest$ac_exeext'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 @@ -13378,7 +13601,8 @@
8529 sed 's/^/| /' conftest.$ac_ext >&5
8532 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8533 +rm -f conftest.err conftest.$ac_objext \
8534 + conftest$ac_exeext conftest.$ac_ext
8535 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8537 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
8538 @@ -13419,7 +13643,7 @@
8539 # Tell ltmain to make .lib files, not .a files.
8541 # Tell ltmain to make .dll files, not .so files.
8543 + shrext_cmds=".dll"
8544 # FIXME: Setting linknames here is a bad hack.
8545 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8546 # The linker will automatically build a .lib file if we build a DLL.
8547 @@ -13431,20 +13655,27 @@
8550 darwin* | rhapsody*)
8551 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8552 + if test "$GXX" = yes ; then
8553 archive_cmds_need_lc_F77=no
8555 rhapsody* | darwin1.[012])
8556 allow_undefined_flag_F77='-undefined suppress'
8559 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8560 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8561 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8563 + case ${MACOSX_DEPLOYMENT_TARGET} in
8565 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8568 + allow_undefined_flag_F77='-undefined dynamic_lookup'
8574 - # FIXME: Relying on posixy $() will cause problems for
8575 - # cross-compilation, but unfortunately the echo tests do not
8576 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8577 - # `"' quotes if we put them in here... so don't!
8578 lt_int_apple_cc_single_mod=no
8579 output_verbose_link_cmd='echo'
8580 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8581 @@ -13455,19 +13686,21 @@
8583 archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
8585 - module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8586 + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8588 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8589 archive_expsym_cmds_F77='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}'
8591 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
8593 - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8594 + 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}'
8595 hardcode_direct_F77=no
8596 hardcode_automatic_F77=yes
8597 hardcode_shlibpath_var_F77=unsupported
8598 whole_archive_flag_spec_F77='-all_load $convenience'
8599 link_all_deplibs_F77=yes
8605 @@ -13501,7 +13734,7 @@
8608 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8610 + freebsd* | kfreebsd*-gnu)
8611 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8612 hardcode_libdir_flag_spec_F77='-R$libdir'
8613 hardcode_direct_F77=yes
8614 @@ -13588,7 +13821,7 @@
8615 link_all_deplibs_F77=yes
8619 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8620 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8621 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8623 @@ -13861,78 +14094,12 @@
8627 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8628 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8629 -hardcode_action_F77=
8630 -if test -n "$hardcode_libdir_flag_spec_F77" || \
8631 - test -n "$runpath_var F77" || \
8632 - test "X$hardcode_automatic_F77"="Xyes" ; then
8634 - # We can hardcode non-existant directories.
8635 - if test "$hardcode_direct_F77" != no &&
8636 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
8637 - # have to relink, otherwise we might link with an installed library
8638 - # when we should be linking with a yet-to-be-installed one
8639 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
8640 - test "$hardcode_minus_L_F77" != no; then
8641 - # Linking always hardcodes the temporary library directory.
8642 - hardcode_action_F77=relink
8644 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
8645 - hardcode_action_F77=immediate
8648 - # We cannot hardcode anything, or else we can only hardcode existing
8650 - hardcode_action_F77=unsupported
8652 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
8653 -echo "${ECHO_T}$hardcode_action_F77" >&6
8655 -if test "$hardcode_action_F77" = relink; then
8656 - # Fast installation is not supported
8657 - enable_fast_install=no
8658 -elif test "$shlibpath_overrides_runpath" = yes ||
8659 - test "$enable_shared" = no; then
8660 - # Fast installation is not necessary
8661 - enable_fast_install=needless
8666 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8667 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8668 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8669 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8670 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8671 - echo "$as_me:$LINENO: result: yes" >&5
8672 -echo "${ECHO_T}yes" >&6
8674 -# FIXME - insert some real tests, host_os isn't really good enough
8677 - if test -n "$STRIP" ; then
8678 - striplib="$STRIP -x"
8679 - echo "$as_me:$LINENO: result: yes" >&5
8680 -echo "${ECHO_T}yes" >&6
8682 - echo "$as_me:$LINENO: result: no" >&5
8683 -echo "${ECHO_T}no" >&6
8687 - echo "$as_me:$LINENO: result: no" >&5
8688 -echo "${ECHO_T}no" >&6
8693 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8694 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8696 libname_spec='lib$name'
8703 @@ -14020,7 +14187,7 @@
8705 library_names_spec='$libname.ixlibrary $libname.a'
8706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 - 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'
8708 + 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'
8712 @@ -14045,7 +14212,7 @@
8714 cygwin* | mingw* | pw32*)
8715 version_type=windows
8717 + shrext_cmds=".dll"
8721 @@ -14067,7 +14234,7 @@
8723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8724 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8725 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
8726 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8729 # MinGW DLLs use traditional 'lib' prefix
8730 @@ -14106,17 +14273,16 @@
8734 - # FIXME: Relying on posixy $() will cause problems for
8735 - # cross-compilation, but unfortunately the echo tests do not
8736 - # yet detect zsh echo's removal of \ escapes.
8737 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8738 soname_spec='${libname}${release}${major}$shared_ext'
8739 shlibpath_overrides_runpath=yes
8740 shlibpath_var=DYLD_LIBRARY_PATH
8741 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
8742 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
8743 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8744 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8745 - 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"`
8746 + if test "$GCC" = yes; then
8747 + 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"`
8749 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8751 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8753 @@ -14134,6 +14300,18 @@
8758 + version_type=linux
8759 + need_lib_prefix=no
8761 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8762 + soname_spec='${libname}${release}${shared_ext}$major'
8763 + shlibpath_var=LD_LIBRARY_PATH
8764 + shlibpath_overrides_runpath=no
8765 + hardcode_into_libs=yes
8766 + dynamic_linker='GNU ld.so'
8770 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8771 version_type=freebsd-$objformat
8772 @@ -14182,7 +14360,7 @@
8778 hardcode_into_libs=yes
8779 dynamic_linker="$host_os dld.so"
8780 shlibpath_var=LD_LIBRARY_PATH
8781 @@ -14197,7 +14375,7 @@
8782 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8787 hardcode_into_libs=yes
8788 dynamic_linker="$host_os dld.sl"
8789 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8790 @@ -14208,7 +14386,7 @@
8791 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8796 dynamic_linker="$host_os dld.sl"
8797 shlibpath_var=SHLIB_PATH
8798 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8799 @@ -14277,6 +14455,12 @@
8800 # before this can be enabled.
8801 hardcode_into_libs=yes
8803 + # Append ld.so.conf contents to the search path
8804 + if test -f /etc/ld.so.conf; then
8805 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8806 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8809 # We used to test for /lib/ld.so.1 and disable shared libraries on
8810 # powerpc, because MkLinux only supported shared libraries with the
8811 # GNU dynamic linker. Since this was broken with cross compilers,
8812 @@ -14286,6 +14470,30 @@
8813 dynamic_linker='GNU/Linux ld.so'
8817 + version_type=linux
8818 + need_lib_prefix=no
8820 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8821 + soname_spec='${libname}${release}${shared_ext}$major'
8822 + shlibpath_var=LD_LIBRARY_PATH
8823 + shlibpath_overrides_runpath=no
8824 + hardcode_into_libs=yes
8825 + dynamic_linker='NetBSD ld.elf_so'
8829 + version_type=linux
8830 + need_lib_prefix=no
8832 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8833 + soname_spec='${libname}${release}${shared_ext}$major'
8834 + shlibpath_var=LD_LIBRARY_PATH
8835 + shlibpath_overrides_runpath=no
8836 + hardcode_into_libs=yes
8837 + dynamic_linker='GNU ld.so'
8843 @@ -14295,7 +14503,7 @@
8844 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8845 dynamic_linker='NetBSD (a.out) ld.so'
8847 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8848 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8849 soname_spec='${libname}${release}${shared_ext}$major'
8850 dynamic_linker='NetBSD ld.elf_so'
8852 @@ -14311,7 +14519,7 @@
8853 shlibpath_overrides_runpath=yes
8861 @@ -14324,7 +14532,7 @@
8867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8868 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8869 shlibpath_var=LD_LIBRARY_PATH
8870 @@ -14344,7 +14552,7 @@
8873 libname_spec='$name'
8875 + shrext_cmds=".dll"
8877 library_names_spec='$libname${shared_ext} $libname.a'
8878 dynamic_linker='OS/2 ld.exe'
8879 @@ -14442,6 +14650,73 @@
8880 echo "${ECHO_T}$dynamic_linker" >&6
8881 test "$dynamic_linker" = no && can_build_shared=no
8883 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8884 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8885 +hardcode_action_F77=
8886 +if test -n "$hardcode_libdir_flag_spec_F77" || \
8887 + test -n "$runpath_var F77" || \
8888 + test "X$hardcode_automatic_F77"="Xyes" ; then
8890 + # We can hardcode non-existant directories.
8891 + if test "$hardcode_direct_F77" != no &&
8892 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
8893 + # have to relink, otherwise we might link with an installed library
8894 + # when we should be linking with a yet-to-be-installed one
8895 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
8896 + test "$hardcode_minus_L_F77" != no; then
8897 + # Linking always hardcodes the temporary library directory.
8898 + hardcode_action_F77=relink
8900 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
8901 + hardcode_action_F77=immediate
8904 + # We cannot hardcode anything, or else we can only hardcode existing
8906 + hardcode_action_F77=unsupported
8908 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
8909 +echo "${ECHO_T}$hardcode_action_F77" >&6
8911 +if test "$hardcode_action_F77" = relink; then
8912 + # Fast installation is not supported
8913 + enable_fast_install=no
8914 +elif test "$shlibpath_overrides_runpath" = yes ||
8915 + test "$enable_shared" = no; then
8916 + # Fast installation is not necessary
8917 + enable_fast_install=needless
8922 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8923 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8924 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8925 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8926 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8927 + echo "$as_me:$LINENO: result: yes" >&5
8928 +echo "${ECHO_T}yes" >&6
8930 +# FIXME - insert some real tests, host_os isn't really good enough
8933 + if test -n "$STRIP" ; then
8934 + striplib="$STRIP -x"
8935 + echo "$as_me:$LINENO: result: yes" >&5
8936 +echo "${ECHO_T}yes" >&6
8938 + echo "$as_me:$LINENO: result: no" >&5
8939 +echo "${ECHO_T}no" >&6
8943 + echo "$as_me:$LINENO: result: no" >&5
8944 +echo "${ECHO_T}no" >&6
8951 # The else clause should only fire when bootstrapping the
8952 # libtool distribution, otherwise you forgot to ship ltmain.sh
8953 @@ -14456,7 +14731,8 @@
8954 # Now quote all the things that may contain metacharacters while being
8955 # careful not to overquote the AC_SUBSTed values. We take copies of the
8956 # variables and quote the copies for generation of the libtool script.
8957 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8958 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8960 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8961 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8962 deplibs_check_method reload_flag reload_cmds need_locks \
8963 @@ -14586,7 +14862,7 @@
8966 # A symbol stripping program
8970 # Used to examine libraries when file_magic_cmd begins "file"
8971 MAGIC_CMD=$MAGIC_CMD
8972 @@ -14617,7 +14893,7 @@
8975 # Shared library suffix (normally ".so").
8977 +shrext_cmds='$shrext_cmds'
8979 # Executable file suffix (normally "").
8981 @@ -14834,7 +15110,10 @@
8982 # If there is no Makefile yet, we rely on a make rule to execute
8983 # `config.status --recheck' to rerun these tests and create the
8984 # libtool script then.
8985 - test -f Makefile && make "$ltmain"
8986 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
8987 + if test -f "$ltmain_in"; then
8988 + test -f Makefile && make "$ltmain"
8993 @@ -14893,7 +15172,8 @@
8994 if test "$GCC" = yes; then
8995 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
8997 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8999 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9000 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9001 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 @@ -14911,11 +15191,11 @@
9004 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9006 -e 's:$: $lt_compiler_flag:'`
9007 - (eval echo "\"\$as_me:14914: $lt_compile\"" >&5)
9008 + (eval echo "\"\$as_me:15194: $lt_compile\"" >&5)
9009 (eval "$lt_compile" 2>conftest.err)
9011 cat conftest.err >&5
9012 - echo "$as_me:14918: \$? = $ac_status" >&5
9013 + echo "$as_me:15198: \$? = $ac_status" >&5
9014 if (exit $ac_status) && test -s "$ac_outfile"; then
9015 # The compiler can only warn and ignore the option if not recognized
9016 # So say no if there are warnings
9017 @@ -15058,12 +15338,12 @@
9023 lt_prog_compiler_wl_GCJ='-Wl,'
9024 lt_prog_compiler_pic_GCJ='-KPIC'
9025 lt_prog_compiler_static_GCJ='-static'
9029 lt_prog_compiler_wl_GCJ='-Wl,'
9030 # All Alpha code is PIC.
9031 lt_prog_compiler_static_GCJ='-non_shared'
9032 @@ -15125,7 +15405,8 @@
9033 # Check to make sure the PIC flag actually works.
9035 if test -n "$lt_prog_compiler_pic_GCJ"; then
9036 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
9038 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
9039 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
9040 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 @@ -15143,11 +15424,11 @@
9043 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9045 -e 's:$: $lt_compiler_flag:'`
9046 - (eval echo "\"\$as_me:15146: $lt_compile\"" >&5)
9047 + (eval echo "\"\$as_me:15427: $lt_compile\"" >&5)
9048 (eval "$lt_compile" 2>conftest.err)
9050 cat conftest.err >&5
9051 - echo "$as_me:15150: \$? = $ac_status" >&5
9052 + echo "$as_me:15431: \$? = $ac_status" >&5
9053 if (exit $ac_status) && test -s "$ac_outfile"; then
9054 # The compiler can only warn and ignore the option if not recognized
9055 # So say no if there are warnings
9056 @@ -15194,13 +15475,6 @@
9058 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9060 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9061 - # that will create temporary files in the current directory regardless of
9062 - # the output directory. Thus, making CWD read-only will cause this test
9063 - # to fail, enabling locking or at least warning the user not to do parallel
9067 lt_compiler_flag="-o out/conftest2.$ac_objext"
9068 # Insert the option either (1) after the last *FLAGS variable, or
9069 # (2) before a word containing "conftest.", or (3) at the end.
9070 @@ -15210,11 +15484,11 @@
9071 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9073 -e 's:$: $lt_compiler_flag:'`
9074 - (eval echo "\"\$as_me:15213: $lt_compile\"" >&5)
9075 + (eval echo "\"\$as_me:15487: $lt_compile\"" >&5)
9076 (eval "$lt_compile" 2>out/conftest.err)
9078 cat out/conftest.err >&5
9079 - echo "$as_me:15217: \$? = $ac_status" >&5
9080 + echo "$as_me:15491: \$? = $ac_status" >&5
9081 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9083 # The compiler can only warn and ignore the option if not recognized
9084 @@ -15224,8 +15498,11 @@
9088 - $rm conftest* out/*
9091 + # SGI C++ compiler will create directory out/ii_files/ for
9092 + # template instantiation
9093 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9094 + $rm out/* && rmdir out
9098 @@ -15384,7 +15661,7 @@
9103 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9104 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9105 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9107 @@ -15422,6 +15699,32 @@
9108 hardcode_shlibpath_var_GCJ=no
9112 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9113 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 + archive_cmds_GCJ="$tmp_archive_cmds"
9115 + supports_anon_versioning=no
9116 + case `$LD -v 2>/dev/null` in
9117 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9118 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9119 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9120 + *\ 2.11.*) ;; # other 2.11 versions
9121 + *) supports_anon_versioning=yes ;;
9123 + if test $supports_anon_versioning = yes; then
9124 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
9125 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126 +$echo "local: *; };" >> $output_objdir/$libname.ver~
9127 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9129 + archive_expsym_cmds_GCJ="$tmp_archive_cmds"
9131 + link_all_deplibs_GCJ=no
9138 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9139 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140 @@ -15550,7 +15853,6 @@
9141 allow_undefined_flag_GCJ='-berok'
9142 # Determine the default libpath from the value encoded in an empty executable.
9143 cat >conftest.$ac_ext <<_ACEOF
9144 -#line $LINENO "configure"
9147 cat confdefs.h >>conftest.$ac_ext
9148 @@ -15567,11 +15869,20 @@
9150 rm -f conftest.$ac_objext conftest$ac_exeext
9151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9152 - (eval $ac_link) 2>&5
9153 + (eval $ac_link) 2>conftest.er1
9155 + grep -v '^ *+' conftest.er1 >conftest.err
9156 + rm -f conftest.er1
9157 + cat conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 - { ac_try='test -s conftest$ac_exeext'
9161 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9162 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163 + (eval $ac_try) 2>&5
9165 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 + (exit $ac_status); }; } &&
9167 + { ac_try='test -s conftest$ac_exeext'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 @@ -15588,7 +15899,8 @@
9172 sed 's/^/| /' conftest.$ac_ext >&5
9175 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176 +rm -f conftest.err conftest.$ac_objext \
9177 + conftest$ac_exeext conftest.$ac_ext
9178 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9180 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
9181 @@ -15601,7 +15913,6 @@
9183 # Determine the default libpath from the value encoded in an empty executable.
9184 cat >conftest.$ac_ext <<_ACEOF
9185 -#line $LINENO "configure"
9188 cat confdefs.h >>conftest.$ac_ext
9189 @@ -15618,11 +15929,20 @@
9191 rm -f conftest.$ac_objext conftest$ac_exeext
9192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9193 - (eval $ac_link) 2>&5
9194 + (eval $ac_link) 2>conftest.er1
9196 + grep -v '^ *+' conftest.er1 >conftest.err
9197 + rm -f conftest.er1
9198 + cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); } &&
9201 - { ac_try='test -s conftest$ac_exeext'
9202 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9203 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 + (eval $ac_try) 2>&5
9206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 + (exit $ac_status); }; } &&
9208 + { ac_try='test -s conftest$ac_exeext'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 @@ -15639,7 +15959,8 @@
9213 sed 's/^/| /' conftest.$ac_ext >&5
9216 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9217 +rm -f conftest.err conftest.$ac_objext \
9218 + conftest$ac_exeext conftest.$ac_ext
9219 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9221 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
9222 @@ -15680,7 +16001,7 @@
9223 # Tell ltmain to make .lib files, not .a files.
9225 # Tell ltmain to make .dll files, not .so files.
9227 + shrext_cmds=".dll"
9228 # FIXME: Setting linknames here is a bad hack.
9229 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9230 # The linker will automatically build a .lib file if we build a DLL.
9231 @@ -15692,20 +16013,27 @@
9234 darwin* | rhapsody*)
9235 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9236 + if test "$GXX" = yes ; then
9237 archive_cmds_need_lc_GCJ=no
9239 rhapsody* | darwin1.[012])
9240 allow_undefined_flag_GCJ='-undefined suppress'
9243 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9244 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9245 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9247 + case ${MACOSX_DEPLOYMENT_TARGET} in
9249 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9252 + allow_undefined_flag_GCJ='-undefined dynamic_lookup'
9258 - # FIXME: Relying on posixy $() will cause problems for
9259 - # cross-compilation, but unfortunately the echo tests do not
9260 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9261 - # `"' quotes if we put them in here... so don't!
9262 lt_int_apple_cc_single_mod=no
9263 output_verbose_link_cmd='echo'
9264 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9265 @@ -15716,19 +16044,21 @@
9267 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
9269 - module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9270 + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9271 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9272 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9273 archive_expsym_cmds_GCJ='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}'
9275 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
9277 - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9278 + 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}'
9279 hardcode_direct_GCJ=no
9280 hardcode_automatic_GCJ=yes
9281 hardcode_shlibpath_var_GCJ=unsupported
9282 whole_archive_flag_spec_GCJ='-all_load $convenience'
9283 link_all_deplibs_GCJ=yes
9289 @@ -15762,7 +16092,7 @@
9292 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9294 + freebsd* | kfreebsd*-gnu)
9295 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9296 hardcode_libdir_flag_spec_GCJ='-R$libdir'
9297 hardcode_direct_GCJ=yes
9298 @@ -15849,7 +16179,7 @@
9299 link_all_deplibs_GCJ=yes
9303 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9304 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9305 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9307 @@ -16122,78 +16452,12 @@
9311 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9312 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9313 -hardcode_action_GCJ=
9314 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
9315 - test -n "$runpath_var GCJ" || \
9316 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
9318 - # We can hardcode non-existant directories.
9319 - if test "$hardcode_direct_GCJ" != no &&
9320 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
9321 - # have to relink, otherwise we might link with an installed library
9322 - # when we should be linking with a yet-to-be-installed one
9323 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
9324 - test "$hardcode_minus_L_GCJ" != no; then
9325 - # Linking always hardcodes the temporary library directory.
9326 - hardcode_action_GCJ=relink
9328 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
9329 - hardcode_action_GCJ=immediate
9332 - # We cannot hardcode anything, or else we can only hardcode existing
9334 - hardcode_action_GCJ=unsupported
9336 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
9337 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
9339 -if test "$hardcode_action_GCJ" = relink; then
9340 - # Fast installation is not supported
9341 - enable_fast_install=no
9342 -elif test "$shlibpath_overrides_runpath" = yes ||
9343 - test "$enable_shared" = no; then
9344 - # Fast installation is not necessary
9345 - enable_fast_install=needless
9350 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9351 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9352 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9353 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9354 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9355 - echo "$as_me:$LINENO: result: yes" >&5
9356 -echo "${ECHO_T}yes" >&6
9358 -# FIXME - insert some real tests, host_os isn't really good enough
9361 - if test -n "$STRIP" ; then
9362 - striplib="$STRIP -x"
9363 - echo "$as_me:$LINENO: result: yes" >&5
9364 -echo "${ECHO_T}yes" >&6
9366 - echo "$as_me:$LINENO: result: no" >&5
9367 -echo "${ECHO_T}no" >&6
9371 - echo "$as_me:$LINENO: result: no" >&5
9372 -echo "${ECHO_T}no" >&6
9377 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9378 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9380 libname_spec='lib$name'
9387 @@ -16281,7 +16545,7 @@
9389 library_names_spec='$libname.ixlibrary $libname.a'
9390 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9391 - 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'
9392 + 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'
9396 @@ -16306,7 +16570,7 @@
9398 cygwin* | mingw* | pw32*)
9399 version_type=windows
9401 + shrext_cmds=".dll"
9405 @@ -16328,7 +16592,7 @@
9407 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9408 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9409 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
9410 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9413 # MinGW DLLs use traditional 'lib' prefix
9414 @@ -16367,17 +16631,16 @@
9418 - # FIXME: Relying on posixy $() will cause problems for
9419 - # cross-compilation, but unfortunately the echo tests do not
9420 - # yet detect zsh echo's removal of \ escapes.
9421 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9422 soname_spec='${libname}${release}${major}$shared_ext'
9423 shlibpath_overrides_runpath=yes
9424 shlibpath_var=DYLD_LIBRARY_PATH
9425 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
9426 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
9427 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9428 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9429 - 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"`
9430 + if test "$GCC" = yes; then
9431 + 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"`
9433 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9435 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9437 @@ -16395,6 +16658,18 @@
9442 + version_type=linux
9443 + need_lib_prefix=no
9445 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9446 + soname_spec='${libname}${release}${shared_ext}$major'
9447 + shlibpath_var=LD_LIBRARY_PATH
9448 + shlibpath_overrides_runpath=no
9449 + hardcode_into_libs=yes
9450 + dynamic_linker='GNU ld.so'
9454 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9455 version_type=freebsd-$objformat
9456 @@ -16443,7 +16718,7 @@
9462 hardcode_into_libs=yes
9463 dynamic_linker="$host_os dld.so"
9464 shlibpath_var=LD_LIBRARY_PATH
9465 @@ -16458,7 +16733,7 @@
9466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9471 hardcode_into_libs=yes
9472 dynamic_linker="$host_os dld.sl"
9473 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9474 @@ -16469,7 +16744,7 @@
9475 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9480 dynamic_linker="$host_os dld.sl"
9481 shlibpath_var=SHLIB_PATH
9482 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9483 @@ -16538,6 +16813,12 @@
9484 # before this can be enabled.
9485 hardcode_into_libs=yes
9487 + # Append ld.so.conf contents to the search path
9488 + if test -f /etc/ld.so.conf; then
9489 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
9490 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9493 # We used to test for /lib/ld.so.1 and disable shared libraries on
9494 # powerpc, because MkLinux only supported shared libraries with the
9495 # GNU dynamic linker. Since this was broken with cross compilers,
9496 @@ -16547,6 +16828,30 @@
9497 dynamic_linker='GNU/Linux ld.so'
9501 + version_type=linux
9502 + need_lib_prefix=no
9504 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9505 + soname_spec='${libname}${release}${shared_ext}$major'
9506 + shlibpath_var=LD_LIBRARY_PATH
9507 + shlibpath_overrides_runpath=no
9508 + hardcode_into_libs=yes
9509 + dynamic_linker='NetBSD ld.elf_so'
9513 + version_type=linux
9514 + need_lib_prefix=no
9516 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9517 + soname_spec='${libname}${release}${shared_ext}$major'
9518 + shlibpath_var=LD_LIBRARY_PATH
9519 + shlibpath_overrides_runpath=no
9520 + hardcode_into_libs=yes
9521 + dynamic_linker='GNU ld.so'
9527 @@ -16556,7 +16861,7 @@
9528 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9529 dynamic_linker='NetBSD (a.out) ld.so'
9531 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
9532 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9533 soname_spec='${libname}${release}${shared_ext}$major'
9534 dynamic_linker='NetBSD ld.elf_so'
9536 @@ -16572,7 +16877,7 @@
9537 shlibpath_overrides_runpath=yes
9545 @@ -16585,7 +16890,7 @@
9551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9552 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9553 shlibpath_var=LD_LIBRARY_PATH
9554 @@ -16605,7 +16910,7 @@
9557 libname_spec='$name'
9559 + shrext_cmds=".dll"
9561 library_names_spec='$libname${shared_ext} $libname.a'
9562 dynamic_linker='OS/2 ld.exe'
9563 @@ -16703,6 +17008,72 @@
9564 echo "${ECHO_T}$dynamic_linker" >&6
9565 test "$dynamic_linker" = no && can_build_shared=no
9567 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9568 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9569 +hardcode_action_GCJ=
9570 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
9571 + test -n "$runpath_var GCJ" || \
9572 + test "X$hardcode_automatic_GCJ"="Xyes" ; then
9574 + # We can hardcode non-existant directories.
9575 + if test "$hardcode_direct_GCJ" != no &&
9576 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
9577 + # have to relink, otherwise we might link with an installed library
9578 + # when we should be linking with a yet-to-be-installed one
9579 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
9580 + test "$hardcode_minus_L_GCJ" != no; then
9581 + # Linking always hardcodes the temporary library directory.
9582 + hardcode_action_GCJ=relink
9584 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
9585 + hardcode_action_GCJ=immediate
9588 + # We cannot hardcode anything, or else we can only hardcode existing
9590 + hardcode_action_GCJ=unsupported
9592 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
9593 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
9595 +if test "$hardcode_action_GCJ" = relink; then
9596 + # Fast installation is not supported
9597 + enable_fast_install=no
9598 +elif test "$shlibpath_overrides_runpath" = yes ||
9599 + test "$enable_shared" = no; then
9600 + # Fast installation is not necessary
9601 + enable_fast_install=needless
9606 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9607 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9608 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9609 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9610 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9611 + echo "$as_me:$LINENO: result: yes" >&5
9612 +echo "${ECHO_T}yes" >&6
9614 +# FIXME - insert some real tests, host_os isn't really good enough
9617 + if test -n "$STRIP" ; then
9618 + striplib="$STRIP -x"
9619 + echo "$as_me:$LINENO: result: yes" >&5
9620 +echo "${ECHO_T}yes" >&6
9622 + echo "$as_me:$LINENO: result: no" >&5
9623 +echo "${ECHO_T}no" >&6
9627 + echo "$as_me:$LINENO: result: no" >&5
9628 +echo "${ECHO_T}no" >&6
9633 if test "x$enable_dlopen" != xyes; then
9634 enable_dlopen=unknown
9635 enable_dlopen_self=unknown
9636 @@ -16738,7 +17109,6 @@
9637 ac_check_lib_save_LIBS=$LIBS
9639 cat >conftest.$ac_ext <<_ACEOF
9640 -#line $LINENO "configure"
9643 cat confdefs.h >>conftest.$ac_ext
9644 @@ -16762,11 +17132,20 @@
9646 rm -f conftest.$ac_objext conftest$ac_exeext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9648 - (eval $ac_link) 2>&5
9649 + (eval $ac_link) 2>conftest.er1
9651 + grep -v '^ *+' conftest.er1 >conftest.err
9652 + rm -f conftest.er1
9653 + cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } &&
9656 - { ac_try='test -s conftest$ac_exeext'
9657 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9658 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 + (eval $ac_try) 2>&5
9661 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 + (exit $ac_status); }; } &&
9663 + { ac_try='test -s conftest$ac_exeext'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 @@ -16779,7 +17158,8 @@
9669 ac_cv_lib_dl_dlopen=no
9671 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9672 +rm -f conftest.err conftest.$ac_objext \
9673 + conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_lib_save_LIBS
9676 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9677 @@ -16803,21 +17183,28 @@
9678 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 cat >conftest.$ac_ext <<_ACEOF
9681 -#line $LINENO "configure"
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9687 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9688 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
9689 +#define shl_load innocuous_shl_load
9691 /* System header to define __stub macros and hopefully few prototypes,
9692 which can conflict with char shl_load (); below.
9693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9694 <limits.h> exists even on freestanding compilers. */
9697 # include <limits.h>
9699 # include <assert.h>
9704 /* Override any gcc2 internal prototype to avoid an error. */
9707 @@ -16848,11 +17235,20 @@
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9711 - (eval $ac_link) 2>&5
9712 + (eval $ac_link) 2>conftest.er1
9714 + grep -v '^ *+' conftest.er1 >conftest.err
9715 + rm -f conftest.er1
9716 + cat conftest.err >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 - { ac_try='test -s conftest$ac_exeext'
9720 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9721 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 + (eval $ac_try) 2>&5
9724 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 + (exit $ac_status); }; } &&
9726 + { ac_try='test -s conftest$ac_exeext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 @@ -16865,7 +17261,8 @@
9732 ac_cv_func_shl_load=no
9734 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9735 +rm -f conftest.err conftest.$ac_objext \
9736 + conftest$ac_exeext conftest.$ac_ext
9738 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9739 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9740 @@ -16880,7 +17277,6 @@
9741 ac_check_lib_save_LIBS=$LIBS
9743 cat >conftest.$ac_ext <<_ACEOF
9744 -#line $LINENO "configure"
9747 cat confdefs.h >>conftest.$ac_ext
9748 @@ -16904,11 +17300,20 @@
9750 rm -f conftest.$ac_objext conftest$ac_exeext
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 - (eval $ac_link) 2>&5
9753 + (eval $ac_link) 2>conftest.er1
9755 + grep -v '^ *+' conftest.er1 >conftest.err
9756 + rm -f conftest.er1
9757 + cat conftest.err >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } &&
9760 - { ac_try='test -s conftest$ac_exeext'
9761 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9762 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 + (eval $ac_try) 2>&5
9765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 + (exit $ac_status); }; } &&
9767 + { ac_try='test -s conftest$ac_exeext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 @@ -16921,7 +17326,8 @@
9773 ac_cv_lib_dld_shl_load=no
9775 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9776 +rm -f conftest.err conftest.$ac_objext \
9777 + conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9781 @@ -16935,21 +17341,28 @@
9782 echo $ECHO_N "(cached) $ECHO_C" >&6
9784 cat >conftest.$ac_ext <<_ACEOF
9785 -#line $LINENO "configure"
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9792 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
9793 +#define dlopen innocuous_dlopen
9795 /* System header to define __stub macros and hopefully few prototypes,
9796 which can conflict with char dlopen (); below.
9797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9798 <limits.h> exists even on freestanding compilers. */
9801 # include <limits.h>
9803 # include <assert.h>
9808 /* Override any gcc2 internal prototype to avoid an error. */
9811 @@ -16980,11 +17393,20 @@
9813 rm -f conftest.$ac_objext conftest$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 - (eval $ac_link) 2>&5
9816 + (eval $ac_link) 2>conftest.er1
9818 + grep -v '^ *+' conftest.er1 >conftest.err
9819 + rm -f conftest.er1
9820 + cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 - { ac_try='test -s conftest$ac_exeext'
9824 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 + (eval $ac_try) 2>&5
9828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 + (exit $ac_status); }; } &&
9830 + { ac_try='test -s conftest$ac_exeext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 @@ -16997,7 +17419,8 @@
9836 ac_cv_func_dlopen=no
9838 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9839 +rm -f conftest.err conftest.$ac_objext \
9840 + conftest$ac_exeext conftest.$ac_ext
9842 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9843 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9844 @@ -17012,7 +17435,6 @@
9845 ac_check_lib_save_LIBS=$LIBS
9847 cat >conftest.$ac_ext <<_ACEOF
9848 -#line $LINENO "configure"
9851 cat confdefs.h >>conftest.$ac_ext
9852 @@ -17036,11 +17458,20 @@
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9856 - (eval $ac_link) 2>&5
9857 + (eval $ac_link) 2>conftest.er1
9859 + grep -v '^ *+' conftest.er1 >conftest.err
9860 + rm -f conftest.er1
9861 + cat conftest.err >&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); } &&
9864 - { ac_try='test -s conftest$ac_exeext'
9865 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9866 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 + (eval $ac_try) 2>&5
9869 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 + (exit $ac_status); }; } &&
9871 + { ac_try='test -s conftest$ac_exeext'
9872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875 @@ -17053,7 +17484,8 @@
9877 ac_cv_lib_dl_dlopen=no
9879 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9880 +rm -f conftest.err conftest.$ac_objext \
9881 + conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9885 @@ -17069,7 +17501,6 @@
9886 ac_check_lib_save_LIBS=$LIBS
9888 cat >conftest.$ac_ext <<_ACEOF
9889 -#line $LINENO "configure"
9892 cat confdefs.h >>conftest.$ac_ext
9893 @@ -17093,11 +17524,20 @@
9895 rm -f conftest.$ac_objext conftest$ac_exeext
9896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9897 - (eval $ac_link) 2>&5
9898 + (eval $ac_link) 2>conftest.er1
9900 + grep -v '^ *+' conftest.er1 >conftest.err
9901 + rm -f conftest.er1
9902 + cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } &&
9905 - { ac_try='test -s conftest$ac_exeext'
9906 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9907 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 + (eval $ac_try) 2>&5
9910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 + (exit $ac_status); }; } &&
9912 + { ac_try='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 @@ -17110,7 +17550,8 @@
9918 ac_cv_lib_svld_dlopen=no
9920 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9921 +rm -f conftest.err conftest.$ac_objext \
9922 + conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9926 @@ -17126,7 +17567,6 @@
9927 ac_check_lib_save_LIBS=$LIBS
9929 cat >conftest.$ac_ext <<_ACEOF
9930 -#line $LINENO "configure"
9933 cat confdefs.h >>conftest.$ac_ext
9934 @@ -17150,11 +17590,20 @@
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9938 - (eval $ac_link) 2>&5
9939 + (eval $ac_link) 2>conftest.er1
9941 + grep -v '^ *+' conftest.er1 >conftest.err
9942 + rm -f conftest.er1
9943 + cat conftest.err >&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } &&
9946 - { ac_try='test -s conftest$ac_exeext'
9947 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9948 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 + (eval $ac_try) 2>&5
9951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 + (exit $ac_status); }; } &&
9953 + { ac_try='test -s conftest$ac_exeext'
9954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957 @@ -17167,7 +17616,8 @@
9959 ac_cv_lib_dld_dld_link=no
9961 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9962 +rm -f conftest.err conftest.$ac_objext \
9963 + conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9967 @@ -17222,7 +17672,7 @@
9968 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9969 lt_status=$lt_dlunknown
9970 cat > conftest.$ac_ext <<EOF
9971 -#line 17225 "configure"
9972 +#line 17675 "configure"
9973 #include "confdefs.h"
9976 @@ -17320,7 +17770,7 @@
9977 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9978 lt_status=$lt_dlunknown
9979 cat > conftest.$ac_ext <<EOF
9980 -#line 17323 "configure"
9981 +#line 17773 "configure"
9982 #include "confdefs.h"
9985 @@ -17437,7 +17887,8 @@
9986 # Now quote all the things that may contain metacharacters while being
9987 # careful not to overquote the AC_SUBSTed values. We take copies of the
9988 # variables and quote the copies for generation of the libtool script.
9989 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9990 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9992 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9993 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9994 deplibs_check_method reload_flag reload_cmds need_locks \
9995 @@ -17567,7 +18018,7 @@
9998 # A symbol stripping program
10002 # Used to examine libraries when file_magic_cmd begins "file"
10003 MAGIC_CMD=$MAGIC_CMD
10004 @@ -17598,7 +18049,7 @@
10007 # Shared library suffix (normally ".so").
10009 +shrext_cmds='$shrext_cmds'
10011 # Executable file suffix (normally "").
10013 @@ -17815,7 +18266,10 @@
10014 # If there is no Makefile yet, we rely on a make rule to execute
10015 # `config.status --recheck' to rerun these tests and create the
10016 # libtool script then.
10017 - test -f Makefile && make "$ltmain"
10018 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10019 + if test -f "$ltmain_in"; then
10020 + test -f Makefile && make "$ltmain"
10025 @@ -17878,7 +18332,8 @@
10026 # Now quote all the things that may contain metacharacters while being
10027 # careful not to overquote the AC_SUBSTed values. We take copies of the
10028 # variables and quote the copies for generation of the libtool script.
10029 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
10030 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10031 + SED SHELL STRIP \
10032 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10033 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10034 deplibs_check_method reload_flag reload_cmds need_locks \
10035 @@ -18008,7 +18463,7 @@
10038 # A symbol stripping program
10042 # Used to examine libraries when file_magic_cmd begins "file"
10043 MAGIC_CMD=$MAGIC_CMD
10044 @@ -18039,7 +18494,7 @@
10047 # Shared library suffix (normally ".so").
10049 +shrext_cmds='$shrext_cmds'
10051 # Executable file suffix (normally "").
10053 @@ -18256,7 +18711,10 @@
10054 # If there is no Makefile yet, we rely on a make rule to execute
10055 # `config.status --recheck' to rerun these tests and create the
10056 # libtool script then.
10057 - test -f Makefile && make "$ltmain"
10058 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10059 + if test -f "$ltmain_in"; then
10060 + test -f Makefile && make "$ltmain"
10065 @@ -18364,11 +18822,11 @@
10071 - if test -z "$PKG_CONFIG"; then
10072 - # Extract the first word of "pkg-config", so it can be a program name with args.
10073 -set dummy pkg-config; ac_word=$2
10074 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10075 + if test -n "$ac_tool_prefix"; then
10076 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10077 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10078 echo "$as_me:$LINENO: checking for $ac_word" >&5
10079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10081 @@ -18393,7 +18851,6 @@
10085 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10089 @@ -18407,62 +18864,179 @@
10090 echo "${ECHO_T}no" >&6
10094 +if test -z "$ac_cv_path_PKG_CONFIG"; then
10095 + ac_pt_PKG_CONFIG=$PKG_CONFIG
10096 + # Extract the first word of "pkg-config", so it can be a program name with args.
10097 +set dummy pkg-config; ac_word=$2
10098 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10099 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10100 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
10101 + echo $ECHO_N "(cached) $ECHO_C" >&6
10103 + case $ac_pt_PKG_CONFIG in
10104 + [\\/]* | ?:[\\/]*)
10105 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10108 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 +for as_dir in $PATH
10112 + test -z "$as_dir" && as_dir=.
10113 + for ac_exec_ext in '' $ac_executable_extensions; do
10114 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10115 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10116 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 - if test "$PKG_CONFIG" = "no" ; then
10123 - echo "*** The pkg-config script could not be found. Make sure it is"
10124 - echo "*** in your path, or set the PKG_CONFIG environment variable"
10125 - echo "*** to the full path to pkg-config."
10126 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10128 - PKG_CONFIG_MIN_VERSION=0.9.0
10129 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10130 - echo "$as_me:$LINENO: checking for sigc++-1.2" >&5
10131 -echo $ECHO_N "checking for sigc++-1.2... $ECHO_C" >&6
10133 - if $PKG_CONFIG --exists "sigc++-1.2" ; then
10134 - echo "$as_me:$LINENO: result: yes" >&5
10135 -echo "${ECHO_T}yes" >&6
10140 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10142 - echo "$as_me:$LINENO: checking SIGC_CFLAGS" >&5
10143 -echo $ECHO_N "checking SIGC_CFLAGS... $ECHO_C" >&6
10144 - SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-1.2"`
10145 - echo "$as_me:$LINENO: result: $SIGC_CFLAGS" >&5
10146 -echo "${ECHO_T}$SIGC_CFLAGS" >&6
10148 - echo "$as_me:$LINENO: checking SIGC_LIBS" >&5
10149 -echo $ECHO_N "checking SIGC_LIBS... $ECHO_C" >&6
10150 - SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-1.2"`
10151 - echo "$as_me:$LINENO: result: $SIGC_LIBS" >&5
10152 -echo "${ECHO_T}$SIGC_LIBS" >&6
10156 - ## If we have a custom action on failure, don't print errors, but
10157 - ## do set a variable so people can do so.
10158 - SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-1.2"`
10159 - echo $SIGC_PKG_ERRORS
10161 +if test -n "$ac_pt_PKG_CONFIG"; then
10162 + echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
10163 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
10165 + echo "$as_me:$LINENO: result: no" >&5
10166 +echo "${ECHO_T}no" >&6
10169 + PKG_CONFIG=$ac_pt_PKG_CONFIG
10171 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10175 +if test -n "$PKG_CONFIG"; then
10176 + _pkg_min_version=0.9.0
10177 + echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
10178 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
10179 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10180 + echo "$as_me:$LINENO: result: yes" >&5
10181 +echo "${ECHO_T}yes" >&6
10183 + echo "$as_me:$LINENO: result: no" >&5
10184 +echo "${ECHO_T}no" >&6
10189 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10190 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
10195 - if test $succeeded = yes; then
10198 - { { echo "$as_me:$LINENO: error: Library requirements (sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
10199 -echo "$as_me: error: Library requirements (sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
10201 +echo "$as_me:$LINENO: checking for SIGC_CFLAGS" >&5
10202 +echo $ECHO_N "checking for SIGC_CFLAGS... $ECHO_C" >&6
10203 +if test "${pkg_cv_SIGC_CFLAGS+set}" = set; then
10204 + echo $ECHO_N "(cached) $ECHO_C" >&6
10206 + if test "x$ac_cv_env_SIGC_CFLAGS_set" = "xset"; then
10207 + pkg_cv_SIGC_CFLAGS=$ac_cv_env_SIGC_CFLAGS_value
10208 +elif test -n "$PKG_CONFIG"; then
10209 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"sigc++-1.2\" >/dev/null 2>&1") >&5
10210 + ($PKG_CONFIG --exists "sigc++-1.2" >/dev/null 2>&1) 2>&5
10212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 + (exit $ac_status); }; then
10214 + pkg_cv_SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-1.2" 2>/dev/null`
10219 + pkg_failed=untried
10222 +echo "$as_me:$LINENO: result: $pkg_cv_SIGC_CFLAGS" >&5
10223 +echo "${ECHO_T}$pkg_cv_SIGC_CFLAGS" >&6
10224 +echo "$as_me:$LINENO: checking for SIGC_LIBS" >&5
10225 +echo $ECHO_N "checking for SIGC_LIBS... $ECHO_C" >&6
10226 +if test "${pkg_cv_SIGC_LIBS+set}" = set; then
10227 + echo $ECHO_N "(cached) $ECHO_C" >&6
10229 + if test "x$ac_cv_env_SIGC_LIBS_set" = "xset"; then
10230 + pkg_cv_SIGC_LIBS=$ac_cv_env_SIGC_LIBS_value
10231 +elif test -n "$PKG_CONFIG"; then
10232 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"sigc++-1.2\" >/dev/null 2>&1") >&5
10233 + ($PKG_CONFIG --exists "sigc++-1.2" >/dev/null 2>&1) 2>&5
10235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 + (exit $ac_status); }; then
10237 + pkg_cv_SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-1.2" 2>/dev/null`
10242 + pkg_failed=untried
10245 +echo "$as_me:$LINENO: result: $pkg_cv_SIGC_LIBS" >&5
10246 +echo "${ECHO_T}$pkg_cv_SIGC_LIBS" >&6
10248 +if test $pkg_failed = yes; then
10249 + SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-1.2"`
10250 + # Put the nasty error message in config.log where it belongs
10251 + echo "$SIGC_PKG_ERRORS" 1>&5
10253 + { { echo "$as_me:$LINENO: error: Package requirements (sigc++-1.2) were not met.
10254 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10255 +installed software in a non-standard prefix.
10257 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10258 +to avoid the need to call pkg-config. See the pkg-config man page for
10259 +more details." >&5
10260 +echo "$as_me: error: Package requirements (sigc++-1.2) were not met.
10261 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10262 +installed software in a non-standard prefix.
10264 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10265 +to avoid the need to call pkg-config. See the pkg-config man page for
10266 +more details." >&2;}
10267 { (exit 1); exit 1; }; }
10269 +elif test $pkg_failed = untried; then
10270 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10271 +is in your PATH or set the PKG_CONFIG environment variable to the full
10272 +path to pkg-config.
10274 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10275 +to avoid the need to call pkg-config. See the pkg-config man page for
10278 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10279 +See \`config.log' for more details." >&5
10280 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10281 +is in your PATH or set the PKG_CONFIG environment variable to the full
10282 +path to pkg-config.
10284 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10285 +to avoid the need to call pkg-config. See the pkg-config man page for
10288 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10289 +See \`config.log' for more details." >&2;}
10290 + { (exit 1); exit 1; }; }
10292 + SIGC_CFLAGS=$pkg_cv_SIGC_CFLAGS
10293 + SIGC_LIBS=$pkg_cv_SIGC_LIBS
10300 +echo "$as_me:$LINENO: checking for SigC++ macros" >&5
10301 +echo $ECHO_N "checking for SigC++ macros... $ECHO_C" >&6
10302 +SIGC_MACROS="`pkg-config --variable=prefix sigc++-1.2`/include/sigc++-1.2/sigc++/macros"
10303 +if test "$?" != "0"; then
10304 + { { echo "$as_me:$LINENO: error: failed to locate the SigC++ macros" >&5
10305 +echo "$as_me: error: failed to locate the SigC++ macros" >&2;}
10306 + { (exit 1); exit 1; }; }
10308 + echo "$as_me:$LINENO: result: $SIGC_MACROS" >&5
10309 +echo "${ECHO_T}$SIGC_MACROS" >&6
10314 @@ -18537,7 +19111,6 @@
10315 LIBS="$ac_orig_LIBS $PTHREAD_LIBS"
10317 cat >conftest.$ac_ext <<_ACEOF
10318 -#line $LINENO "configure"
10321 cat confdefs.h >>conftest.$ac_ext
10322 @@ -18554,11 +19127,20 @@
10324 rm -f conftest.$ac_objext conftest$ac_exeext
10325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10326 - (eval $ac_link) 2>&5
10327 + (eval $ac_link) 2>conftest.er1
10329 + grep -v '^ *+' conftest.er1 >conftest.err
10330 + rm -f conftest.er1
10331 + cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 - { ac_try='test -s conftest$ac_exeext'
10335 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10336 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 + (eval $ac_try) 2>&5
10339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 + (exit $ac_status); }; } &&
10341 + { ac_try='test -s conftest$ac_exeext'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 @@ -18580,7 +19162,6 @@
10346 LIBS="$ac_orig_LIBS $PTHREAD_LIBS"
10348 cat >conftest.$ac_ext <<_ACEOF
10349 -#line $LINENO "configure"
10352 cat confdefs.h >>conftest.$ac_ext
10353 @@ -18597,11 +19178,20 @@
10355 rm -f conftest.$ac_objext conftest$ac_exeext
10356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10357 - (eval $ac_link) 2>&5
10358 + (eval $ac_link) 2>conftest.er1
10360 + grep -v '^ *+' conftest.er1 >conftest.err
10361 + rm -f conftest.er1
10362 + cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 - { ac_try='test -s conftest$ac_exeext'
10366 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10367 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 + (eval $ac_try) 2>&5
10370 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 + (exit $ac_status); }; } &&
10372 + { ac_try='test -s conftest$ac_exeext'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 @@ -18622,11 +19212,13 @@
10377 PTHREAD_LIBS="$ac_save_PTHREAD_LIBS"
10380 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10381 +rm -f conftest.err conftest.$ac_objext \
10382 + conftest$ac_exeext conftest.$ac_ext
10386 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10387 +rm -f conftest.err conftest.$ac_objext \
10388 + conftest$ac_exeext conftest.$ac_ext
10390 echo "$as_me:$LINENO: checking for compiler with -mt flag" >&5
10391 echo $ECHO_N "checking for compiler with -mt flag... $ECHO_C" >&6
10392 @@ -18634,7 +19226,6 @@
10393 PTHREAD_CFLAGS="-mt $PTHREAD_CFLAGS"
10394 CFLAGS="$ac_orig_CFLAGS $PTHREAD_CFLAGS"
10395 cat >conftest.$ac_ext <<_ACEOF
10396 -#line $LINENO "configure"
10399 cat confdefs.h >>conftest.$ac_ext
10400 @@ -18651,11 +19242,20 @@
10402 rm -f conftest.$ac_objext conftest$ac_exeext
10403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10404 - (eval $ac_link) 2>&5
10405 + (eval $ac_link) 2>conftest.er1
10407 + grep -v '^ *+' conftest.er1 >conftest.err
10408 + rm -f conftest.er1
10409 + cat conftest.err >&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } &&
10412 - { ac_try='test -s conftest$ac_exeext'
10413 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10414 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10415 + (eval $ac_try) 2>&5
10417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 + (exit $ac_status); }; } &&
10419 + { ac_try='test -s conftest$ac_exeext'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 @@ -18672,7 +19272,8 @@
10424 PTHREAD_CFLAGS="$ac_save_PTHREAD_CFLAGS"
10427 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10428 +rm -f conftest.err conftest.$ac_objext \
10429 + conftest$ac_exeext conftest.$ac_ext
10433 @@ -18694,7 +19295,6 @@
10434 ac_check_lib_save_LIBS=$LIBS
10436 cat >conftest.$ac_ext <<_ACEOF
10437 -#line $LINENO "configure"
10440 cat confdefs.h >>conftest.$ac_ext
10441 @@ -18718,11 +19318,20 @@
10443 rm -f conftest.$ac_objext conftest$ac_exeext
10444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10445 - (eval $ac_link) 2>&5
10446 + (eval $ac_link) 2>conftest.er1
10448 + grep -v '^ *+' conftest.er1 >conftest.err
10449 + rm -f conftest.er1
10450 + cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 - { ac_try='test -s conftest$ac_exeext'
10454 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10455 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 + (eval $ac_try) 2>&5
10458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 + (exit $ac_status); }; } &&
10460 + { ac_try='test -s conftest$ac_exeext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 @@ -18735,7 +19344,8 @@
10466 ac_cv_lib_rt_sched_get_priority_max=no
10468 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10469 +rm -f conftest.err conftest.$ac_objext \
10470 + conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10473 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_get_priority_max" >&5
10474 @@ -18758,7 +19368,6 @@
10475 echo "$as_me:$LINENO: checking for pthread_yield" >&5
10476 echo $ECHO_N "checking for pthread_yield... $ECHO_C" >&6;
10477 cat >conftest.$ac_ext <<_ACEOF
10478 -#line $LINENO "configure"
10481 cat confdefs.h >>conftest.$ac_ext
10482 @@ -18775,11 +19384,20 @@
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10486 - (eval $ac_link) 2>&5
10487 + (eval $ac_link) 2>conftest.er1
10489 + grep -v '^ *+' conftest.er1 >conftest.err
10490 + rm -f conftest.er1
10491 + cat conftest.err >&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } &&
10494 - { ac_try='test -s conftest$ac_exeext'
10495 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10496 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 + (eval $ac_try) 2>&5
10499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 + (exit $ac_status); }; } &&
10501 + { ac_try='test -s conftest$ac_exeext'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5
10505 @@ -18800,12 +19418,12 @@
10506 echo "$as_me:$LINENO: result: no" >&5
10507 echo "${ECHO_T}no" >&6
10509 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10510 +rm -f conftest.err conftest.$ac_objext \
10511 + conftest$ac_exeext conftest.$ac_ext
10513 echo "$as_me:$LINENO: checking for sched_yield" >&5
10514 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6;
10515 cat >conftest.$ac_ext <<_ACEOF
10516 -#line $LINENO "configure"
10519 cat confdefs.h >>conftest.$ac_ext
10520 @@ -18822,11 +19440,20 @@
10522 rm -f conftest.$ac_objext conftest$ac_exeext
10523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10524 - (eval $ac_link) 2>&5
10525 + (eval $ac_link) 2>conftest.er1
10527 + grep -v '^ *+' conftest.er1 >conftest.err
10528 + rm -f conftest.er1
10529 + cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 - { ac_try='test -s conftest$ac_exeext'
10533 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10534 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 + (eval $ac_try) 2>&5
10537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 + (exit $ac_status); }; } &&
10539 + { ac_try='test -s conftest$ac_exeext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10543 @@ -18847,13 +19474,13 @@
10544 echo "$as_me:$LINENO: result: no" >&5
10545 echo "${ECHO_T}no" >&6
10547 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10548 +rm -f conftest.err conftest.$ac_objext \
10549 + conftest$ac_exeext conftest.$ac_ext
10552 echo "$as_me:$LINENO: checking for pthread_sigmask" >&5
10553 echo $ECHO_N "checking for pthread_sigmask... $ECHO_C" >&6;
10554 cat >conftest.$ac_ext <<_ACEOF
10555 -#line $LINENO "configure"
10558 cat confdefs.h >>conftest.$ac_ext
10559 @@ -18870,11 +19497,20 @@
10561 rm -f conftest.$ac_objext conftest$ac_exeext
10562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10563 - (eval $ac_link) 2>&5
10564 + (eval $ac_link) 2>conftest.er1
10566 + grep -v '^ *+' conftest.er1 >conftest.err
10567 + rm -f conftest.er1
10568 + cat conftest.err >&5
10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); } &&
10571 - { ac_try='test -s conftest$ac_exeext'
10572 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10573 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 + (eval $ac_try) 2>&5
10576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 + (exit $ac_status); }; } &&
10578 + { ac_try='test -s conftest$ac_exeext'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 @@ -18895,13 +19531,13 @@
10583 echo "$as_me:$LINENO: result: no" >&5
10584 echo "${ECHO_T}no" >&6
10586 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10587 +rm -f conftest.err conftest.$ac_objext \
10588 + conftest$ac_exeext conftest.$ac_ext
10591 echo "$as_me:$LINENO: checking for pthread_key_create" >&5
10592 echo $ECHO_N "checking for pthread_key_create... $ECHO_C" >&6
10593 cat >conftest.$ac_ext <<_ACEOF
10594 -#line $LINENO "configure"
10597 cat confdefs.h >>conftest.$ac_ext
10598 @@ -18918,11 +19554,20 @@
10600 rm -f conftest.$ac_objext conftest$ac_exeext
10601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10602 - (eval $ac_link) 2>&5
10603 + (eval $ac_link) 2>conftest.er1
10605 + grep -v '^ *+' conftest.er1 >conftest.err
10606 + rm -f conftest.er1
10607 + cat conftest.err >&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } &&
10610 - { ac_try='test -s conftest$ac_exeext'
10611 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10612 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 + (eval $ac_try) 2>&5
10615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 + (exit $ac_status); }; } &&
10617 + { ac_try='test -s conftest$ac_exeext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 @@ -18946,7 +19591,6 @@
10622 echo $ECHO_N "checking for pthread_keycreate... $ECHO_C" >&6
10624 cat >conftest.$ac_ext <<_ACEOF
10625 -#line $LINENO "configure"
10628 cat confdefs.h >>conftest.$ac_ext
10629 @@ -18963,11 +19607,20 @@
10631 rm -f conftest.$ac_objext conftest$ac_exeext
10632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10633 - (eval $ac_link) 2>&5
10634 + (eval $ac_link) 2>conftest.er1
10636 + grep -v '^ *+' conftest.er1 >conftest.err
10637 + rm -f conftest.er1
10638 + cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } &&
10641 - { ac_try='test -s conftest$ac_exeext'
10642 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 + (eval $ac_try) 2>&5
10646 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 + (exit $ac_status); }; } &&
10648 + { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 @@ -18988,18 +19641,19 @@
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10656 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10657 +rm -f conftest.err conftest.$ac_objext \
10658 + conftest$ac_exeext conftest.$ac_ext
10662 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10663 +rm -f conftest.err conftest.$ac_objext \
10664 + conftest$ac_exeext conftest.$ac_ext
10667 echo "$as_me:$LINENO: checking for pthread_mutexattr_setkind_np" >&5
10668 echo $ECHO_N "checking for pthread_mutexattr_setkind_np... $ECHO_C" >&6;
10669 pthread_xtra_defs=""
10670 cat >conftest.$ac_ext <<_ACEOF
10671 -#line $LINENO "configure"
10674 cat confdefs.h >>conftest.$ac_ext
10675 @@ -19016,11 +19670,20 @@
10677 rm -f conftest.$ac_objext conftest$ac_exeext
10678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10679 - (eval $ac_link) 2>&5
10680 + (eval $ac_link) 2>conftest.er1
10682 + grep -v '^ *+' conftest.er1 >conftest.err
10683 + rm -f conftest.er1
10684 + cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } &&
10687 - { ac_try='test -s conftest$ac_exeext'
10688 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10689 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 + (eval $ac_try) 2>&5
10692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 + (exit $ac_status); }; } &&
10694 + { ac_try='test -s conftest$ac_exeext'
10695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696 (eval $ac_try) 2>&5
10698 @@ -19051,7 +19714,6 @@
10701 cat >conftest.$ac_ext <<_ACEOF
10702 -#line $LINENO "configure"
10705 cat confdefs.h >>conftest.$ac_ext
10706 @@ -19068,11 +19730,20 @@
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10710 - (eval $ac_link) 2>&5
10711 + (eval $ac_link) 2>conftest.er1
10713 + grep -v '^ *+' conftest.er1 >conftest.err
10714 + rm -f conftest.er1
10715 + cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 - { ac_try='test -s conftest$ac_exeext'
10719 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10720 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 + (eval $ac_try) 2>&5
10723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 + (exit $ac_status); }; } &&
10725 + { ac_try='test -s conftest$ac_exeext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 @@ -19097,17 +19768,18 @@
10730 CFLAGS="$ac_save_CFLAGS"
10733 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10734 +rm -f conftest.err conftest.$ac_objext \
10735 + conftest$ac_exeext conftest.$ac_ext
10739 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10740 +rm -f conftest.err conftest.$ac_objext \
10741 + conftest$ac_exeext conftest.$ac_ext
10743 echo "$as_me:$LINENO: checking for pthread_condattr_setkind_np" >&5
10744 echo $ECHO_N "checking for pthread_condattr_setkind_np... $ECHO_C" >&6;
10745 pthread_xtra_defs=""
10746 cat >conftest.$ac_ext <<_ACEOF
10747 -#line $LINENO "configure"
10750 cat confdefs.h >>conftest.$ac_ext
10751 @@ -19124,11 +19796,20 @@
10753 rm -f conftest.$ac_objext conftest$ac_exeext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10755 - (eval $ac_link) 2>&5
10756 + (eval $ac_link) 2>conftest.er1
10758 + grep -v '^ *+' conftest.er1 >conftest.err
10759 + rm -f conftest.er1
10760 + cat conftest.err >&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } &&
10763 - { ac_try='test -s conftest$ac_exeext'
10764 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10765 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 + (eval $ac_try) 2>&5
10768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 + (exit $ac_status); }; } &&
10770 + { ac_try='test -s conftest$ac_exeext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 @@ -19159,7 +19840,6 @@
10777 cat >conftest.$ac_ext <<_ACEOF
10778 -#line $LINENO "configure"
10781 cat confdefs.h >>conftest.$ac_ext
10782 @@ -19176,11 +19856,20 @@
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 - (eval $ac_link) 2>&5
10787 + (eval $ac_link) 2>conftest.er1
10789 + grep -v '^ *+' conftest.er1 >conftest.err
10790 + rm -f conftest.er1
10791 + cat conftest.err >&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); } &&
10794 - { ac_try='test -s conftest$ac_exeext'
10795 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10796 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10797 + (eval $ac_try) 2>&5
10799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 + (exit $ac_status); }; } &&
10801 + { ac_try='test -s conftest$ac_exeext'
10802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10803 (eval $ac_try) 2>&5
10805 @@ -19205,11 +19894,13 @@
10806 CFLAGS="$ac_save_CFLAGS"
10809 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10810 +rm -f conftest.err conftest.$ac_objext \
10811 + conftest$ac_exeext conftest.$ac_ext
10815 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10816 +rm -f conftest.err conftest.$ac_objext \
10817 + conftest$ac_exeext conftest.$ac_ext
10820 PTHREAD_LIBS="$LIBS"
10821 @@ -19230,103 +19921,101 @@
10827 - if test -z "$PKG_CONFIG"; then
10828 - # Extract the first word of "pkg-config", so it can be a program name with args.
10829 -set dummy pkg-config; ac_word=$2
10830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10832 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10834 +echo "$as_me:$LINENO: checking for GTHREAD_CFLAGS" >&5
10835 +echo $ECHO_N "checking for GTHREAD_CFLAGS... $ECHO_C" >&6
10836 +if test "${pkg_cv_GTHREAD_CFLAGS+set}" = set; then
10837 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 - case $PKG_CONFIG in
10840 - [\\/]* | ?:[\\/]*)
10841 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10844 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 -for as_dir in $PATH
10848 - test -z "$as_dir" && as_dir=.
10849 - for ac_exec_ext in '' $ac_executable_extensions; do
10850 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10852 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10858 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10861 + if test "x$ac_cv_env_GTHREAD_CFLAGS_set" = "xset"; then
10862 + pkg_cv_GTHREAD_CFLAGS=$ac_cv_env_GTHREAD_CFLAGS_value
10863 +elif test -n "$PKG_CONFIG"; then
10864 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gthread-2.0\" >/dev/null 2>&1") >&5
10865 + ($PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1) 2>&5
10867 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 + (exit $ac_status); }; then
10869 + pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10874 + pkg_failed=untried
10876 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10878 -if test -n "$PKG_CONFIG"; then
10879 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10880 -echo "${ECHO_T}$PKG_CONFIG" >&6
10882 +echo "$as_me:$LINENO: result: $pkg_cv_GTHREAD_CFLAGS" >&5
10883 +echo "${ECHO_T}$pkg_cv_GTHREAD_CFLAGS" >&6
10884 +echo "$as_me:$LINENO: checking for GTHREAD_LIBS" >&5
10885 +echo $ECHO_N "checking for GTHREAD_LIBS... $ECHO_C" >&6
10886 +if test "${pkg_cv_GTHREAD_LIBS+set}" = set; then
10887 + echo $ECHO_N "(cached) $ECHO_C" >&6
10889 - echo "$as_me:$LINENO: result: no" >&5
10890 -echo "${ECHO_T}no" >&6
10891 + if test "x$ac_cv_env_GTHREAD_LIBS_set" = "xset"; then
10892 + pkg_cv_GTHREAD_LIBS=$ac_cv_env_GTHREAD_LIBS_value
10893 +elif test -n "$PKG_CONFIG"; then
10894 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gthread-2.0\" >/dev/null 2>&1") >&5
10895 + ($PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1) 2>&5
10897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 + (exit $ac_status); }; then
10899 + pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10904 + pkg_failed=untried
10907 +echo "$as_me:$LINENO: result: $pkg_cv_GTHREAD_LIBS" >&5
10908 +echo "${ECHO_T}$pkg_cv_GTHREAD_LIBS" >&6
10912 - if test "$PKG_CONFIG" = "no" ; then
10913 - echo "*** The pkg-config script could not be found. Make sure it is"
10914 - echo "*** in your path, or set the PKG_CONFIG environment variable"
10915 - echo "*** to the full path to pkg-config."
10916 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10918 - PKG_CONFIG_MIN_VERSION=0.9.0
10919 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10920 - echo "$as_me:$LINENO: checking for gthread-2.0" >&5
10921 -echo $ECHO_N "checking for gthread-2.0... $ECHO_C" >&6
10923 - if $PKG_CONFIG --exists "gthread-2.0" ; then
10924 - echo "$as_me:$LINENO: result: yes" >&5
10925 -echo "${ECHO_T}yes" >&6
10928 - echo "$as_me:$LINENO: checking GTHREAD_CFLAGS" >&5
10929 -echo $ECHO_N "checking GTHREAD_CFLAGS... $ECHO_C" >&6
10930 - GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
10931 - echo "$as_me:$LINENO: result: $GTHREAD_CFLAGS" >&5
10932 -echo "${ECHO_T}$GTHREAD_CFLAGS" >&6
10934 - echo "$as_me:$LINENO: checking GTHREAD_LIBS" >&5
10935 -echo $ECHO_N "checking GTHREAD_LIBS... $ECHO_C" >&6
10936 - GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
10937 - echo "$as_me:$LINENO: result: $GTHREAD_LIBS" >&5
10938 -echo "${ECHO_T}$GTHREAD_LIBS" >&6
10940 - GTHREAD_CFLAGS=""
10942 - ## If we have a custom action on failure, don't print errors, but
10943 - ## do set a variable so people can do so.
10944 - GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
10945 - echo $GTHREAD_PKG_ERRORS
10949 +if test $pkg_failed = yes; then
10950 + GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
10951 + # Put the nasty error message in config.log where it belongs
10952 + echo "$GTHREAD_PKG_ERRORS" 1>&5
10954 + { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met.
10955 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10956 +installed software in a non-standard prefix.
10958 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10959 +to avoid the need to call pkg-config. See the pkg-config man page for
10960 +more details." >&5
10961 +echo "$as_me: error: Package requirements (gthread-2.0) were not met.
10962 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10963 +installed software in a non-standard prefix.
10965 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10966 +to avoid the need to call pkg-config. See the pkg-config man page for
10967 +more details." >&2;}
10968 + { (exit 1); exit 1; }; }
10969 +elif test $pkg_failed = untried; then
10970 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10971 +is in your PATH or set the PKG_CONFIG environment variable to the full
10972 +path to pkg-config.
10974 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10975 +to avoid the need to call pkg-config. See the pkg-config man page for
10979 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10980 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
10983 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10984 +See \`config.log' for more details." >&5
10985 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10986 +is in your PATH or set the PKG_CONFIG environment variable to the full
10987 +path to pkg-config.
10989 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10990 +to avoid the need to call pkg-config. See the pkg-config man page for
10993 - if test $succeeded = yes; then
10994 - THREADS_USED=glib
10996 - { { echo "$as_me:$LINENO: error: Library requirements (gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
10997 -echo "$as_me: error: Library requirements (gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
10998 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10999 +See \`config.log' for more details." >&2;}
11000 { (exit 1); exit 1; }; }
11004 + GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
11005 + GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
11006 + THREADS_USED=glib
11008 THREAD_LIBS=$GTHREAD_LIBS
11009 THREAD_CFLAGS=$GTHREAD_CFLAGS
11011 @@ -19364,101 +20053,67 @@
11013 if test "$CHECK_GTK" = "yes"; then
11017 - if test -z "$PKG_CONFIG"; then
11018 - # Extract the first word of "pkg-config", so it can be a program name with args.
11019 -set dummy pkg-config; ac_word=$2
11020 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11021 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11022 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11024 +echo "$as_me:$LINENO: checking for GTK_CFLAGS" >&5
11025 +echo $ECHO_N "checking for GTK_CFLAGS... $ECHO_C" >&6
11026 +if test "${pkg_cv_GTK_CFLAGS+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 - case $PKG_CONFIG in
11030 - [\\/]* | ?:[\\/]*)
11031 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11034 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11035 -for as_dir in $PATH
11038 - test -z "$as_dir" && as_dir=.
11039 - for ac_exec_ext in '' $ac_executable_extensions; do
11040 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11041 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11042 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11048 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11051 + if test "x$ac_cv_env_GTK_CFLAGS_set" = "xset"; then
11052 + pkg_cv_GTK_CFLAGS=$ac_cv_env_GTK_CFLAGS_value
11053 +elif test -n "$PKG_CONFIG"; then
11054 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gtk+-2.0\" >/dev/null 2>&1") >&5
11055 + ($PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1) 2>&5
11057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 + (exit $ac_status); }; then
11059 + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
11064 + pkg_failed=untried
11066 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11068 -if test -n "$PKG_CONFIG"; then
11069 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11070 -echo "${ECHO_T}$PKG_CONFIG" >&6
11072 +echo "$as_me:$LINENO: result: $pkg_cv_GTK_CFLAGS" >&5
11073 +echo "${ECHO_T}$pkg_cv_GTK_CFLAGS" >&6
11074 +echo "$as_me:$LINENO: checking for GTK_LIBS" >&5
11075 +echo $ECHO_N "checking for GTK_LIBS... $ECHO_C" >&6
11076 +if test "${pkg_cv_GTK_LIBS+set}" = set; then
11077 + echo $ECHO_N "(cached) $ECHO_C" >&6
11079 - echo "$as_me:$LINENO: result: no" >&5
11080 -echo "${ECHO_T}no" >&6
11081 + if test "x$ac_cv_env_GTK_LIBS_set" = "xset"; then
11082 + pkg_cv_GTK_LIBS=$ac_cv_env_GTK_LIBS_value
11083 +elif test -n "$PKG_CONFIG"; then
11084 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gtk+-2.0\" >/dev/null 2>&1") >&5
11085 + ($PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1) 2>&5
11087 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 + (exit $ac_status); }; then
11089 + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
11094 + pkg_failed=untried
11097 +echo "$as_me:$LINENO: result: $pkg_cv_GTK_LIBS" >&5
11098 +echo "${ECHO_T}$pkg_cv_GTK_LIBS" >&6
11102 - if test "$PKG_CONFIG" = "no" ; then
11103 - echo "*** The pkg-config script could not be found. Make sure it is"
11104 - echo "*** in your path, or set the PKG_CONFIG environment variable"
11105 - echo "*** to the full path to pkg-config."
11106 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11108 - PKG_CONFIG_MIN_VERSION=0.9.0
11109 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11110 - echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
11111 -echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
11113 - if $PKG_CONFIG --exists "gtk+-2.0" ; then
11114 - echo "$as_me:$LINENO: result: yes" >&5
11115 -echo "${ECHO_T}yes" >&6
11118 - echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11119 -echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11120 - GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
11121 - echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11122 -echo "${ECHO_T}$GTK_CFLAGS" >&6
11124 - echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11125 -echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11126 - GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
11127 - echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11128 -echo "${ECHO_T}$GTK_LIBS" >&6
11132 - ## If we have a custom action on failure, don't print errors, but
11133 - ## do set a variable so people can do so.
11134 - GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
11141 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11142 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
11146 - if test $succeeded = yes; then
11151 +if test $pkg_failed = yes; then
11152 + GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
11153 + # Put the nasty error message in config.log where it belongs
11154 + echo "$GTK_PKG_ERRORS" 1>&5
11157 +elif test $pkg_failed = untried; then
11160 + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11161 + GTK_LIBS=$pkg_cv_GTK_LIBS
11164 if test "$HAVE_GTK" = "yes"; then
11167 @@ -19480,7 +20135,6 @@
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 cat >conftest.$ac_ext <<_ACEOF
11171 -#line $LINENO "configure"
11174 cat confdefs.h >>conftest.$ac_ext
11175 @@ -19501,11 +20155,20 @@
11177 rm -f conftest.$ac_objext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11179 - (eval $ac_compile) 2>&5
11180 + (eval $ac_compile) 2>conftest.er1
11182 + grep -v '^ *+' conftest.er1 >conftest.err
11183 + rm -f conftest.er1
11184 + cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 - { ac_try='test -s conftest.$ac_objext'
11188 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11189 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 + (eval $ac_try) 2>&5
11192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 + (exit $ac_status); }; } &&
11194 + { ac_try='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 @@ -19518,12 +20181,11 @@
11200 ac_cv_header_stdc=no
11202 -rm -f conftest.$ac_objext conftest.$ac_ext
11203 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11205 if test $ac_cv_header_stdc = yes; then
11206 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11207 cat >conftest.$ac_ext <<_ACEOF
11208 -#line $LINENO "configure"
11211 cat confdefs.h >>conftest.$ac_ext
11212 @@ -19545,7 +20207,6 @@
11213 if test $ac_cv_header_stdc = yes; then
11214 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11215 cat >conftest.$ac_ext <<_ACEOF
11216 -#line $LINENO "configure"
11219 cat confdefs.h >>conftest.$ac_ext
11220 @@ -19570,7 +20231,6 @@
11223 cat >conftest.$ac_ext <<_ACEOF
11224 -#line $LINENO "configure"
11227 cat confdefs.h >>conftest.$ac_ext
11228 @@ -19582,9 +20242,9 @@
11229 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11231 # define ISLOWER(c) \
11232 - (('a' <= (c) && (c) <= 'i') \
11233 - || ('j' <= (c) && (c) <= 'r') \
11234 - || ('s' <= (c) && (c) <= 'z'))
11235 + (('a' <= (c) && (c) <= 'i') \
11236 + || ('j' <= (c) && (c) <= 'r') \
11237 + || ('s' <= (c) && (c) <= 'z'))
11238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11241 @@ -19595,7 +20255,7 @@
11243 for (i = 0; i < 256; i++)
11244 if (XOR (islower (i), ISLOWER (i))
11245 - || toupper (i) != TOUPPER (i))
11246 + || toupper (i) != TOUPPER (i))
11250 @@ -19620,7 +20280,7 @@
11251 ( exit $ac_status )
11252 ac_cv_header_stdc=no
11254 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11255 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11259 @@ -19651,7 +20311,6 @@
11260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11262 cat >conftest.$ac_ext <<_ACEOF
11263 -#line $LINENO "configure"
11266 cat confdefs.h >>conftest.$ac_ext
11267 @@ -19662,11 +20321,20 @@
11269 rm -f conftest.$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 - (eval $ac_compile) 2>&5
11272 + (eval $ac_compile) 2>conftest.er1
11274 + grep -v '^ *+' conftest.er1 >conftest.err
11275 + rm -f conftest.er1
11276 + cat conftest.err >&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } &&
11279 - { ac_try='test -s conftest.$ac_objext'
11280 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11281 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11282 + (eval $ac_try) 2>&5
11284 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 + (exit $ac_status); }; } &&
11286 + { ac_try='test -s conftest.$ac_objext'
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5
11290 @@ -19679,7 +20347,7 @@
11292 ac_header_compiler=no
11294 -rm -f conftest.$ac_objext conftest.$ac_ext
11295 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11297 echo "${ECHO_T}$ac_header_compiler" >&6
11299 @@ -19687,7 +20355,6 @@
11300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11302 cat >conftest.$ac_ext <<_ACEOF
11303 -#line $LINENO "configure"
11306 cat confdefs.h >>conftest.$ac_ext
11307 @@ -19705,6 +20372,7 @@
11308 (exit $ac_status); } >/dev/null; then
11309 if test -s conftest.err; then
11310 ac_cpp_err=$ac_c_preproc_warn_flag
11311 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11315 @@ -19724,33 +20392,32 @@
11316 echo "${ECHO_T}$ac_header_preproc" >&6
11318 # So? What about this header?
11319 -case $ac_header_compiler:$ac_header_preproc in
11321 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11325 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11326 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11329 -## ------------------------------------ ##
11330 -## Report this to bug-autoconf@gnu.org. ##
11331 -## ------------------------------------ ##
11334 - sed "s/^/$as_me: WARNING: /" >&2
11335 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11336 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11337 + ac_header_preproc=yes
11341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11343 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11344 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11345 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11346 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11347 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11348 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11349 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11350 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11353 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11354 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11357 -## ------------------------------------ ##
11358 -## Report this to bug-autoconf@gnu.org. ##
11359 -## ------------------------------------ ##
11360 +## ------------------------------------------ ##
11361 +## Report this to the AC_PACKAGE_NAME lists. ##
11362 +## ------------------------------------------ ##
11365 sed "s/^/$as_me: WARNING: /" >&2
11366 @@ -19761,7 +20428,7 @@
11367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 - eval "$as_ac_Header=$ac_header_preproc"
11371 + eval "$as_ac_Header=\$ac_header_preproc"
11373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11375 @@ -19792,6 +20459,9 @@
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11379 +if test x"$cross_compiling" = x"yes"; then
11382 if test "$cross_compiling" = yes; then
11383 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11384 See \`config.log' for more details." >&5
11385 @@ -19800,7 +20470,6 @@
11386 { (exit 1); exit 1; }; }
11388 cat >conftest.$ac_ext <<_ACEOF
11389 -#line $LINENO "configure"
11392 cat confdefs.h >>conftest.$ac_ext
11393 @@ -19848,9 +20517,9 @@
11394 ( exit $ac_status )
11397 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11398 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11404 echo "$as_me:$LINENO: result: $ac_cv_cxx_eh" >&5
11405 @@ -19893,7 +20562,6 @@
11408 cat >conftest.$ac_ext <<_ACEOF
11409 -#line $LINENO "configure"
11412 cat confdefs.h >>conftest.$ac_ext
11413 @@ -19918,11 +20586,20 @@
11415 rm -f conftest.$ac_objext
11416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11417 - (eval $ac_compile) 2>&5
11418 + (eval $ac_compile) 2>conftest.er1
11420 + grep -v '^ *+' conftest.er1 >conftest.err
11421 + rm -f conftest.er1
11422 + cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 - { ac_try='test -s conftest.$ac_objext'
11426 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11427 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 + (eval $ac_try) 2>&5
11430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 + (exit $ac_status); }; } &&
11432 + { ac_try='test -s conftest.$ac_objext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 @@ -19935,7 +20612,7 @@
11440 -rm -f conftest.$ac_objext conftest.$ac_ext
11441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11445 @@ -19981,7 +20658,6 @@
11448 cat >conftest.$ac_ext <<_ACEOF
11449 -#line $LINENO "configure"
11452 cat confdefs.h >>conftest.$ac_ext
11453 @@ -20006,11 +20682,20 @@
11455 rm -f conftest.$ac_objext
11456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11457 - (eval $ac_compile) 2>&5
11458 + (eval $ac_compile) 2>conftest.er1
11460 + grep -v '^ *+' conftest.er1 >conftest.err
11461 + rm -f conftest.er1
11462 + cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 - { ac_try='test -s conftest.$ac_objext'
11466 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 + (eval $ac_try) 2>&5
11470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 + (exit $ac_status); }; } &&
11472 + { ac_try='test -s conftest.$ac_objext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 @@ -20023,7 +20708,7 @@
11480 -rm -f conftest.$ac_objext conftest.$ac_ext
11481 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11485 @@ -20062,21 +20747,28 @@
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 cat >conftest.$ac_ext <<_ACEOF
11489 -#line $LINENO "configure"
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11496 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11497 +#define $ac_func innocuous_$ac_func
11499 /* System header to define __stub macros and hopefully few prototypes,
11500 which can conflict with char $ac_func (); below.
11501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11502 <limits.h> exists even on freestanding compilers. */
11505 # include <limits.h>
11507 # include <assert.h>
11512 /* Override any gcc2 internal prototype to avoid an error. */
11515 @@ -20107,11 +20799,20 @@
11517 rm -f conftest.$ac_objext conftest$ac_exeext
11518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 - (eval $ac_link) 2>&5
11520 + (eval $ac_link) 2>conftest.er1
11522 + grep -v '^ *+' conftest.er1 >conftest.err
11523 + rm -f conftest.er1
11524 + cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 - { ac_try='test -s conftest$ac_exeext'
11528 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11529 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 + (eval $ac_try) 2>&5
11532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 + (exit $ac_status); }; } &&
11534 + { ac_try='test -s conftest$ac_exeext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11538 @@ -20124,7 +20825,8 @@
11540 eval "$as_ac_var=no"
11542 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11543 +rm -f conftest.err conftest.$ac_objext \
11544 + conftest$ac_exeext conftest.$ac_ext
11546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11548 @@ -20261,13 +20963,13 @@
11549 # `set' does not quote correctly, so add quotes (double-quote
11550 # substitution turns \\\\ into \\, and sed turns \\ into \).
11553 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11555 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11558 # `set' quotes correctly as required by POSIX, so do not add quotes.
11560 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11561 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11565 @@ -20297,13 +20999,13 @@
11566 # trailing colons and then remove the whole line if VPATH becomes empty
11567 # (actually we leave an empty line to preserve line numbers).
11568 if test "x$srcdir" = x.; then
11569 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
11570 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
11571 s/:*\$(srcdir):*/:/;
11572 s/:*\${srcdir}:*/:/;
11574 -s/^\([^=]*=[ ]*\):*/\1/;
11575 +s/^\([^=]*=[ ]*\):*/\1/;
11582 @@ -20314,7 +21016,7 @@
11583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11584 # 1. Remove the extension, and $U if already installed.
11585 ac_i=`echo "$ac_i" |
11586 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11587 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11589 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11590 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11591 @@ -20324,27 +21026,6 @@
11592 LTLIBOBJS=$ac_ltlibobjs
11595 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11596 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11597 -Usually this means the macro was only invoked conditionally." >&5
11598 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
11599 -Usually this means the macro was only invoked conditionally." >&2;}
11600 - { (exit 1); exit 1; }; }
11602 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11603 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11604 -Usually this means the macro was only invoked conditionally." >&5
11605 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11606 -Usually this means the macro was only invoked conditionally." >&2;}
11607 - { (exit 1); exit 1; }; }
11609 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11610 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11611 -Usually this means the macro was only invoked conditionally." >&5
11612 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11613 -Usually this means the macro was only invoked conditionally." >&2;}
11614 - { (exit 1); exit 1; }; }
11617 : ${CONFIG_STATUS=./config.status}
11618 ac_clean_files_save=$ac_clean_files
11619 @@ -20379,9 +21060,10 @@
11620 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11623 +DUALCASE=1; export DUALCASE # for MKS sh
11625 # Support unset when possible.
11626 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11627 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11631 @@ -20400,7 +21082,7 @@
11632 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11633 LC_TELEPHONE LC_TIME
11635 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11636 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11637 eval $as_var=C; export $as_var
11640 @@ -20579,16 +21261,17 @@
11641 if mkdir -p . 2>/dev/null; then
11644 + test -d ./-p && rmdir ./-p
11648 as_executable_p="test -f"
11650 # Sed expression to map a string onto a valid CPP name.
11651 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11652 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11654 # Sed expression to map a string onto a valid variable name.
11655 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11656 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11660 @@ -20615,7 +21298,7 @@
11663 This file was extended by $as_me, which was
11664 -generated by GNU Autoconf 2.57. Invocation command line was
11665 +generated by GNU Autoconf 2.59. Invocation command line was
11667 CONFIG_FILES = $CONFIG_FILES
11668 CONFIG_HEADERS = $CONFIG_HEADERS
11669 @@ -20659,9 +21342,9 @@
11670 -d, --debug don't remove temporary files
11671 --recheck update $as_me by reconfiguring in the same conditions
11672 --file=FILE[:TEMPLATE]
11673 - instantiate the configuration file FILE
11674 + instantiate the configuration file FILE
11675 --header=FILE[:TEMPLATE]
11676 - instantiate the configuration header FILE
11677 + instantiate the configuration header FILE
11679 Configuration files:
11681 @@ -20678,11 +21361,10 @@
11682 cat >>$CONFIG_STATUS <<_ACEOF
11685 -configured by $0, generated by GNU Autoconf 2.57,
11686 +configured by $0, generated by GNU Autoconf 2.59,
11687 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11689 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
11690 -Free Software Foundation, Inc.
11691 +Copyright (C) 2003 Free Software Foundation, Inc.
11692 This config.status script is free software; the Free Software Foundation
11693 gives unlimited permission to copy, distribute and modify it."
11695 @@ -20777,7 +21459,7 @@
11696 # INIT-COMMANDS section.
11699 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11704 @@ -20797,7 +21479,7 @@
11705 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
11706 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
11707 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
11708 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11709 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11710 "sigcxconfig.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS sigcxconfig.h" ;;
11711 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11712 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11713 @@ -20888,7 +21570,6 @@
11714 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11715 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11716 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11717 -s,@CYGPATH_W@,$CYGPATH_W,;t t
11718 s,@PACKAGE@,$PACKAGE,;t t
11719 s,@VERSION@,$VERSION,;t t
11720 s,@ACLOCAL@,$ACLOCAL,;t t
11721 @@ -20896,14 +21577,7 @@
11722 s,@AUTOMAKE@,$AUTOMAKE,;t t
11723 s,@AUTOHEADER@,$AUTOHEADER,;t t
11724 s,@MAKEINFO@,$MAKEINFO,;t t
11725 -s,@AMTAR@,$AMTAR,;t t
11726 -s,@install_sh@,$install_sh,;t t
11727 -s,@STRIP@,$STRIP,;t t
11728 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11729 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11731 s,@SET_MAKE@,$SET_MAKE,;t t
11732 -s,@am__leading_dot@,$am__leading_dot,;t t
11733 s,@ISODATE@,$ISODATE,;t t
11734 s,@build@,$build,;t t
11735 s,@build_cpu@,$build_cpu,;t t
11736 @@ -20921,21 +21595,9 @@
11737 s,@ac_ct_CC@,$ac_ct_CC,;t t
11738 s,@EXEEXT@,$EXEEXT,;t t
11739 s,@OBJEXT@,$OBJEXT,;t t
11740 -s,@DEPDIR@,$DEPDIR,;t t
11741 -s,@am__include@,$am__include,;t t
11742 -s,@am__quote@,$am__quote,;t t
11743 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11744 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11745 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11746 -s,@CCDEPMODE@,$CCDEPMODE,;t t
11747 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11748 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11750 s,@CXXFLAGS@,$CXXFLAGS,;t t
11751 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11752 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
11753 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
11754 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
11755 s,@EGREP@,$EGREP,;t t
11756 s,@LN_S@,$LN_S,;t t
11757 s,@ECHO@,$ECHO,;t t
11758 @@ -20943,6 +21605,8 @@
11759 s,@ac_ct_AR@,$ac_ct_AR,;t t
11760 s,@RANLIB@,$RANLIB,;t t
11761 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11762 +s,@STRIP@,$STRIP,;t t
11763 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11765 s,@CXXCPP@,$CXXCPP,;t t
11767 @@ -20952,8 +21616,10 @@
11768 s,@SIGCX_BRANCH@,$SIGCX_BRANCH,;t t
11769 s,@SIGCX_DEVBRANCH@,$SIGCX_DEVBRANCH,;t t
11770 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
11771 +s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
11772 s,@SIGC_CFLAGS@,$SIGC_CFLAGS,;t t
11773 s,@SIGC_LIBS@,$SIGC_LIBS,;t t
11774 +s,@SIGC_MACROS@,$SIGC_MACROS,;t t
11775 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
11776 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
11777 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
11778 @@ -20998,9 +21664,9 @@
11780 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11781 if test -z "$ac_sed_cmds"; then
11782 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11783 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11785 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11786 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11788 ac_sed_frag=`expr $ac_sed_frag + 1`
11790 @@ -21018,21 +21684,21 @@
11791 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11793 - | *:- | *:-:* ) # input from stdin
11795 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11796 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11798 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11799 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11800 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11801 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11802 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11803 * ) ac_file_in=$ac_file.in ;;
11806 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11807 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11808 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11809 - X"$ac_file" : 'X\(//\)[^/]' \| \
11810 - X"$ac_file" : 'X\(//\)$' \| \
11811 - X"$ac_file" : 'X\(/\)' \| \
11812 - . : '\(.\)' 2>/dev/null ||
11813 + X"$ac_file" : 'X\(//\)[^/]' \| \
11814 + X"$ac_file" : 'X\(//\)$' \| \
11815 + X"$ac_file" : 'X\(/\)' \| \
11816 + . : '\(.\)' 2>/dev/null ||
11818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11820 @@ -21048,10 +21714,10 @@
11821 as_dirs="$as_dir $as_dirs"
11822 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11824 - X"$as_dir" : 'X\(//\)[^/]' \| \
11825 - X"$as_dir" : 'X\(//\)$' \| \
11826 - X"$as_dir" : 'X\(/\)' \| \
11827 - . : '\(.\)' 2>/dev/null ||
11828 + X"$as_dir" : 'X\(//\)[^/]' \| \
11829 + X"$as_dir" : 'X\(//\)$' \| \
11830 + X"$as_dir" : 'X\(/\)' \| \
11831 + . : '\(.\)' 2>/dev/null ||
11833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11835 @@ -21089,12 +21755,45 @@
11836 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11837 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11839 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11841 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
11842 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11843 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11844 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11846 +# Do not use `cd foo && pwd` to compute absolute paths, because
11847 +# the directories may not exist.
11849 +.) ac_abs_builddir="$ac_dir";;
11851 + case "$ac_dir" in
11852 + .) ac_abs_builddir=`pwd`;;
11853 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11854 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
11857 +case $ac_abs_builddir in
11858 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
11860 + case ${ac_top_builddir}. in
11861 + .) ac_abs_top_builddir=$ac_abs_builddir;;
11862 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11863 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11866 +case $ac_abs_builddir in
11867 +.) ac_abs_srcdir=$ac_srcdir;;
11869 + case $ac_srcdir in
11870 + .) ac_abs_srcdir=$ac_abs_builddir;;
11871 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11872 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11875 +case $ac_abs_builddir in
11876 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
11878 + case $ac_top_srcdir in
11879 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
11880 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11881 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11887 @@ -21102,11 +21801,6 @@
11888 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11891 - if test x"$ac_file" != x-; then
11892 - { echo "$as_me:$LINENO: creating $ac_file" >&5
11893 -echo "$as_me: creating $ac_file" >&6;}
11896 # Let's still pretend it is `configure' which instantiates (i.e., don't
11897 # use $as_me), people would be surprised to read:
11898 # /* config.h. Generated by config.status. */
11899 @@ -21116,7 +21810,7 @@
11900 configure_input="$ac_file. "
11902 configure_input=$configure_input"Generated from `echo $ac_file_in |
11903 - sed 's,.*/,,'` by configure."
11904 + sed 's,.*/,,'` by configure."
11906 # First look for the input files in the build tree, otherwise in the
11908 @@ -21125,26 +21819,32 @@
11910 -) echo $tmp/stdin ;;
11912 - # Absolute (can't be DOS-style, as IFS=:)
11913 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11914 + # Absolute (can't be DOS-style, as IFS=:)
11915 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11916 echo "$as_me: error: cannot find input file: $f" >&2;}
11917 { (exit 1); exit 1; }; }
11921 - if test -f "$f"; then
11924 - elif test -f "$srcdir/$f"; then
11929 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11930 + if test -f "$f"; then
11933 + elif test -f "$srcdir/$f"; then
11935 + echo "$srcdir/$f"
11938 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11939 echo "$as_me: error: cannot find input file: $f" >&2;}
11940 { (exit 1); exit 1; }; }
11944 done` || { (exit 1); exit 1; }
11946 + if test x"$ac_file" != x-; then
11947 + { echo "$as_me:$LINENO: creating $ac_file" >&5
11948 +echo "$as_me: creating $ac_file" >&6;}
11952 cat >>$CONFIG_STATUS <<_ACEOF
11954 @@ -21184,12 +21884,12 @@
11955 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11957 # ac_d sets the value in "#define NAME VALUE" lines.
11958 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11959 -ac_dB='[ ].*$,\1#\2'
11960 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11961 +ac_dB='[ ].*$,\1#\2'
11964 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11965 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11966 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11967 ac_uB='$,\1#\2define\3'
11970 @@ -21198,11 +21898,11 @@
11971 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11973 - | *:- | *:-:* ) # input from stdin
11975 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11976 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11978 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11979 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11980 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11981 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11982 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11983 * ) ac_file_in=$ac_file.in ;;
11986 @@ -21216,28 +21916,29 @@
11988 -) echo $tmp/stdin ;;
11990 - # Absolute (can't be DOS-style, as IFS=:)
11991 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11992 + # Absolute (can't be DOS-style, as IFS=:)
11993 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11994 echo "$as_me: error: cannot find input file: $f" >&2;}
11995 { (exit 1); exit 1; }; }
11997 + # Do quote $f, to prevent DOS paths from being IFS'd.
12000 - if test -f "$f"; then
12003 - elif test -f "$srcdir/$f"; then
12008 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12009 + if test -f "$f"; then
12012 + elif test -f "$srcdir/$f"; then
12014 + echo "$srcdir/$f"
12017 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12018 echo "$as_me: error: cannot find input file: $f" >&2;}
12019 { (exit 1); exit 1; }; }
12023 done` || { (exit 1); exit 1; }
12024 # Remove the trailing spaces.
12025 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12026 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12030 @@ -21260,9 +21961,9 @@
12034 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12035 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12037 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12038 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12041 # If some macros were called several times there might be several times
12042 @@ -21276,13 +21977,13 @@
12043 # example, in the case of _POSIX_SOURCE, which is predefined and required
12044 # on some systems where configure will not decide to define it.
12045 cat >>conftest.undefs <<\_ACEOF
12046 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12047 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12050 # Break up conftest.defines because some shells have a limit on the size
12051 # of here documents, and old seds have small limits too (100 cmds).
12052 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12053 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12054 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12055 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12056 echo ' :' >>$CONFIG_STATUS
12057 rm -f conftest.tail
12058 @@ -21291,7 +21992,7 @@
12059 # Write a limited-size here document to $tmp/defines.sed.
12060 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12061 # Speed up: don't consider the non `#define' lines.
12062 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12063 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12064 # Work around the forget-to-reset-the-flag bug.
12065 echo 't clr' >>$CONFIG_STATUS
12066 echo ': clr' >>$CONFIG_STATUS
12067 @@ -21318,7 +22019,7 @@
12068 # Write a limited-size here document to $tmp/undefs.sed.
12069 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12070 # Speed up: don't consider the non `#undef'
12071 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12072 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12073 # Work around the forget-to-reset-the-flag bug.
12074 echo 't clr' >>$CONFIG_STATUS
12075 echo ': clr' >>$CONFIG_STATUS
12076 @@ -21352,10 +22053,10 @@
12078 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12080 - X"$ac_file" : 'X\(//\)[^/]' \| \
12081 - X"$ac_file" : 'X\(//\)$' \| \
12082 - X"$ac_file" : 'X\(/\)' \| \
12083 - . : '\(.\)' 2>/dev/null ||
12084 + X"$ac_file" : 'X\(//\)[^/]' \| \
12085 + X"$ac_file" : 'X\(//\)$' \| \
12086 + X"$ac_file" : 'X\(/\)' \| \
12087 + . : '\(.\)' 2>/dev/null ||
12089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12091 @@ -21371,10 +22072,10 @@
12092 as_dirs="$as_dir $as_dirs"
12093 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12095 - X"$as_dir" : 'X\(//\)[^/]' \| \
12096 - X"$as_dir" : 'X\(//\)$' \| \
12097 - X"$as_dir" : 'X\(/\)' \| \
12098 - . : '\(.\)' 2>/dev/null ||
12099 + X"$as_dir" : 'X\(//\)[^/]' \| \
12100 + X"$as_dir" : 'X\(//\)$' \| \
12101 + X"$as_dir" : 'X\(/\)' \| \
12102 + . : '\(.\)' 2>/dev/null ||
12104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12106 @@ -21394,28 +22095,6 @@
12108 rm -f $tmp/config.h
12110 -# Compute $ac_file's index in $config_headers.
12112 -for _am_header in $config_headers :; do
12113 - case $_am_header in
12114 - $ac_file | $ac_file:* )
12117 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12120 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12121 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12122 - X$ac_file : 'X\(//\)[^/]' \| \
12123 - X$ac_file : 'X\(//\)$' \| \
12124 - X$ac_file : 'X\(/\)' \| \
12125 - . : '\(.\)' 2>/dev/null ||
12127 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12128 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12129 - /^X\(\/\/\)$/{ s//\1/; q; }
12130 - /^X\(\/\).*/{ s//\1/; q; }
12131 - s/.*/./; q'`/stamp-h$_am_stamp_count
12134 cat >>$CONFIG_STATUS <<\_ACEOF
12135 @@ -21428,16 +22107,41 @@
12136 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12137 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12138 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12139 - X"$ac_dest" : 'X\(//\)[^/]' \| \
12140 - X"$ac_dest" : 'X\(//\)$' \| \
12141 - X"$ac_dest" : 'X\(/\)' \| \
12142 - . : '\(.\)' 2>/dev/null ||
12143 + X"$ac_dest" : 'X\(//\)[^/]' \| \
12144 + X"$ac_dest" : 'X\(//\)$' \| \
12145 + X"$ac_dest" : 'X\(/\)' \| \
12146 + . : '\(.\)' 2>/dev/null ||
12148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12150 /^X\(\/\/\)$/{ s//\1/; q; }
12151 /^X\(\/\).*/{ s//\1/; q; }
12153 + { if $as_mkdir_p; then
12154 + mkdir -p "$ac_dir"
12158 + while test ! -d "$as_dir"; do
12159 + as_dirs="$as_dir $as_dirs"
12160 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
12161 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12162 + X"$as_dir" : 'X\(//\)[^/]' \| \
12163 + X"$as_dir" : 'X\(//\)$' \| \
12164 + X"$as_dir" : 'X\(/\)' \| \
12165 + . : '\(.\)' 2>/dev/null ||
12167 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12168 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12169 + /^X\(\/\/\)$/{ s//\1/; q; }
12170 + /^X\(\/\).*/{ s//\1/; q; }
12173 + test ! -n "$as_dirs" || mkdir $as_dirs
12174 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12175 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12176 + { (exit 1); exit 1; }; }; }
12180 if test "$ac_dir" != .; then
12181 @@ -21463,108 +22167,51 @@
12182 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12183 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12185 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12187 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12188 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12189 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12190 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12192 +# Do not use `cd foo && pwd` to compute absolute paths, because
12193 +# the directories may not exist.
12195 +.) ac_abs_builddir="$ac_dir";;
12197 + case "$ac_dir" in
12198 + .) ac_abs_builddir=`pwd`;;
12199 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12200 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
12203 +case $ac_abs_builddir in
12204 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
12206 + case ${ac_top_builddir}. in
12207 + .) ac_abs_top_builddir=$ac_abs_builddir;;
12208 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12209 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12212 +case $ac_abs_builddir in
12213 +.) ac_abs_srcdir=$ac_srcdir;;
12215 + case $ac_srcdir in
12216 + .) ac_abs_srcdir=$ac_abs_builddir;;
12217 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12218 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12221 +case $ac_abs_builddir in
12222 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
12224 + case $ac_top_srcdir in
12225 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
12226 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12227 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12232 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12233 echo "$as_me: executing $ac_dest commands" >&6;}
12235 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12236 - # Strip MF so we end up with the name of the file.
12237 - mf=`echo "$mf" | sed -e 's/:.*$//'`
12238 - # Check whether this is an Automake generated Makefile or not.
12239 - # We used to match only the files named `Makefile.in', but
12240 - # some people rename them; so instead we look at the file content.
12241 - # Grep'ing the first line is not enough: some people post-process
12242 - # each Makefile.in and add a new line on top of each file to say so.
12243 - # So let's grep whole file.
12244 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12245 - dirpart=`(dirname "$mf") 2>/dev/null ||
12246 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12247 - X"$mf" : 'X\(//\)[^/]' \| \
12248 - X"$mf" : 'X\(//\)$' \| \
12249 - X"$mf" : 'X\(/\)' \| \
12250 - . : '\(.\)' 2>/dev/null ||
12252 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12253 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12254 - /^X\(\/\/\)$/{ s//\1/; q; }
12255 - /^X\(\/\).*/{ s//\1/; q; }
12260 - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
12261 - # Extract the definition of DEP_FILES from the Makefile without
12262 - # running `make'.
12263 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
12264 - test -z "$DEPDIR" && continue
12265 - # When using ansi2knr, U may be empty or an underscore; expand it
12266 - U=`sed -n -e '/^U = / s///p' < "$mf"`
12267 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
12268 - # We invoke sed twice because it is the simplest approach to
12269 - # changing $(DEPDIR) to its actual value in the expansion.
12270 - for file in `sed -n -e '
12271 - /^DEP_FILES = .*\\\\$/ {
12272 - s/^DEP_FILES = //
12280 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12281 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12282 - # Make sure the directory exists.
12283 - test -f "$dirpart/$file" && continue
12284 - fdir=`(dirname "$file") 2>/dev/null ||
12285 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12286 - X"$file" : 'X\(//\)[^/]' \| \
12287 - X"$file" : 'X\(//\)$' \| \
12288 - X"$file" : 'X\(/\)' \| \
12289 - . : '\(.\)' 2>/dev/null ||
12291 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12292 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12293 - /^X\(\/\/\)$/{ s//\1/; q; }
12294 - /^X\(\/\).*/{ s//\1/; q; }
12296 - { if $as_mkdir_p; then
12297 - mkdir -p $dirpart/$fdir
12299 - as_dir=$dirpart/$fdir
12301 - while test ! -d "$as_dir"; do
12302 - as_dirs="$as_dir $as_dirs"
12303 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
12304 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12305 - X"$as_dir" : 'X\(//\)[^/]' \| \
12306 - X"$as_dir" : 'X\(//\)$' \| \
12307 - X"$as_dir" : 'X\(/\)' \| \
12308 - . : '\(.\)' 2>/dev/null ||
12310 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12311 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12312 - /^X\(\/\/\)$/{ s//\1/; q; }
12313 - /^X\(\/\).*/{ s//\1/; q; }
12316 - test ! -n "$as_dirs" || mkdir $as_dirs
12317 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12318 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12319 - { (exit 1); exit 1; }; }; }
12321 - # echo "creating $dirpart/$file"
12322 - echo '# dummy' > "$dirpart/$file"
12326 + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
12329 ## Generate `sigcxconfig.h' in two cases
12330 diff -ruN libsigcx-0.6.4-patched/doc/Makefile.in libsigcx-0.6.4-regen/doc/Makefile.in
12331 --- libsigcx-0.6.4-patched/doc/Makefile.in 2003-06-03 10:02:57.000000000 -0700
12332 +++ libsigcx-0.6.4-regen/doc/Makefile.in 2005-05-06 21:21:32.000000000 -0700
12334 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
12335 -# @configure_input@
12336 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
12338 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
12339 -# Free Software Foundation, Inc.
12340 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12341 # This Makefile.in is free software; the Free Software Foundation
12342 # gives unlimited permission to copy and/or distribute it,
12343 # with or without modifications, as long as this notice is preserved.
12344 @@ -12,143 +10,102 @@
12345 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12346 # PARTICULAR PURPOSE.
12353 top_srcdir = @top_srcdir@
12356 +exec_prefix = @exec_prefix@
12359 +sbindir = @sbindir@
12360 +libexecdir = @libexecdir@
12361 +datadir = @datadir@
12362 +sysconfdir = @sysconfdir@
12363 +sharedstatedir = @sharedstatedir@
12364 +localstatedir = @localstatedir@
12366 +infodir = @infodir@
12368 +includedir = @includedir@
12369 +oldincludedir = /usr/include
12373 pkgdatadir = $(datadir)/@PACKAGE@
12374 pkglibdir = $(libdir)/@PACKAGE@
12375 pkgincludedir = $(includedir)/@PACKAGE@
12379 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
12380 +ACLOCAL = @ACLOCAL@
12381 +AUTOCONF = @AUTOCONF@
12382 +AUTOMAKE = @AUTOMAKE@
12383 +AUTOHEADER = @AUTOHEADER@
12385 INSTALL = @INSTALL@
12386 -install_sh_DATA = $(install_sh) -c -m 644
12387 -install_sh_PROGRAM = $(install_sh) -c
12388 -install_sh_SCRIPT = $(install_sh) -c
12389 -INSTALL_HEADER = $(INSTALL_DATA)
12390 -transform = $(program_transform_name)
12391 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
12392 +INSTALL_DATA = @INSTALL_DATA@
12393 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
12394 +transform = @program_transform_name@
12399 NORMAL_UNINSTALL = :
12402 +host_alias = @host_alias@
12403 host_triplet = @host@
12404 -ACLOCAL = @ACLOCAL@
12405 -AMDEP_FALSE = @AMDEP_FALSE@
12406 -AMDEP_TRUE = @AMDEP_TRUE@
12409 -AUTOCONF = @AUTOCONF@
12410 -AUTOHEADER = @AUTOHEADER@
12411 -AUTOMAKE = @AUTOMAKE@
12415 -CCDEPMODE = @CCDEPMODE@
12418 -CPPFLAGS = @CPPFLAGS@
12421 -CXXDEPMODE = @CXXDEPMODE@
12422 CXXFLAGS = @CXXFLAGS@
12423 -CYGPATH_W = @CYGPATH_W@
12426 +DLLTOOL = @DLLTOOL@
12427 DOXYGEN = @DOXYGEN@
12436 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
12437 -GTHREAD_LIBS = @GTHREAD_LIBS@
12439 +GCJFLAGS = @GCJFLAGS@
12441 GTK_CFLAGS = @GTK_CFLAGS@
12442 GTK_LIBS = @GTK_LIBS@
12443 -INSTALL_DATA = @INSTALL_DATA@
12444 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
12445 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
12446 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
12447 +HAVE_LIB = @HAVE_LIB@
12448 ISODATE = @ISODATE@
12449 LDFLAGS = @LDFLAGS@
12450 -LIBOBJS = @LIBOBJS@
12453 LIBTOOL = @LIBTOOL@
12455 -LTLIBOBJS = @LTLIBOBJS@
12458 MAKEINFO = @MAKEINFO@
12459 MAYBE_DOC = @MAYBE_DOC@
12460 +OBJDUMP = @OBJDUMP@
12462 PACKAGE = @PACKAGE@
12463 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
12464 -PACKAGE_NAME = @PACKAGE_NAME@
12465 -PACKAGE_STRING = @PACKAGE_STRING@
12466 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
12467 -PACKAGE_VERSION = @PACKAGE_VERSION@
12468 -PATH_SEPARATOR = @PATH_SEPARATOR@
12470 PKG_CONFIG = @PKG_CONFIG@
12471 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
12472 PTHREAD_LIBS = @PTHREAD_LIBS@
12474 -SET_MAKE = @SET_MAKE@
12477 SIGCX_BRANCH = @SIGCX_BRANCH@
12478 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
12479 SIGC_CFLAGS = @SIGC_CFLAGS@
12480 SIGC_LIBS = @SIGC_LIBS@
12481 +SIGC_MACROS = @SIGC_MACROS@
12483 THREADS_USED = @THREADS_USED@
12484 THREAD_CFLAGS = @THREAD_CFLAGS@
12485 THREAD_LIBS = @THREAD_LIBS@
12486 VERSION = @VERSION@
12487 -ac_ct_AR = @ac_ct_AR@
12488 -ac_ct_CC = @ac_ct_CC@
12489 -ac_ct_CXX = @ac_ct_CXX@
12490 -ac_ct_F77 = @ac_ct_F77@
12491 -ac_ct_RANLIB = @ac_ct_RANLIB@
12492 -ac_ct_STRIP = @ac_ct_STRIP@
12493 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
12494 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
12495 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
12496 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
12497 -am__include = @am__include@
12498 -am__leading_dot = @am__leading_dot@
12499 -am__quote = @am__quote@
12502 -build_alias = @build_alias@
12503 -build_cpu = @build_cpu@
12504 -build_os = @build_os@
12505 -build_vendor = @build_vendor@
12506 -datadir = @datadir@
12507 -exec_prefix = @exec_prefix@
12509 -host_alias = @host_alias@
12510 -host_cpu = @host_cpu@
12511 -host_os = @host_os@
12512 -host_vendor = @host_vendor@
12513 -includedir = @includedir@
12514 -infodir = @infodir@
12515 -install_sh = @install_sh@
12517 -libexecdir = @libexecdir@
12518 -localstatedir = @localstatedir@
12520 -oldincludedir = @oldincludedir@
12522 -program_transform_name = @program_transform_name@
12523 -sbindir = @sbindir@
12524 -sharedstatedir = @sharedstatedir@
12525 -sysconfdir = @sysconfdir@
12526 -target_alias = @target_alias@
12528 doc_dir = $(datadir)/doc/sigcx-@SIGCX_DEVBRANCH@
12531 @@ -162,17 +119,10 @@
12533 tagsdir = $(datadir)/sigcx-@SIGCX_DEVBRANCH@
12536 -$(incdir)/timeval.h \
12537 -$(incdir)/dispatch.h \
12538 -$(incdir)/gtk_dispatch.h \
12539 -$(incdir)/thread.h \
12540 -$(incdir)/tunnel.h \
12541 -$(incdir)/thread_tunnel.h
12542 +docheaders = $(incdir)/timeval.h $(incdir)/dispatch.h $(incdir)/gtk_dispatch.h $(incdir)/thread.h $(incdir)/tunnel.h $(incdir)/thread_tunnel.h
12546 -$(exdir)/hello_world.cc
12547 +docexamples = $(exdir)/hello_world.cc
12550 docdeps = doxy.conf index.doxy
12551 @@ -182,109 +132,92 @@
12552 tags_DATA = sigcx.tags
12554 EXTRA_DIST = $(docdeps)
12556 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
12557 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
12558 -CONFIG_HEADER = $(top_builddir)/config.h
12559 -CONFIG_CLEAN_FILES =
12561 -DATA = $(tags_DATA)
12562 +CONFIG_HEADER = ../config.h
12563 +CONFIG_CLEAN_FILES =
12564 +DATA = $(tags_DATA)
12566 +DIST_COMMON = Makefile.am Makefile.in
12568 -DIST_COMMON = Makefile.am Makefile.in
12571 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
12577 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
12578 - cd $(top_srcdir) && \
12579 - $(AUTOMAKE) --gnu doc/Makefile
12580 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
12581 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
12582 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
12583 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
12585 -mostlyclean-libtool:
12587 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
12588 + cd $(top_builddir) \
12589 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
12592 - -rm -rf .libs _libs
12594 -distclean-libtool:
12596 -uninstall-info-am:
12597 -tagsDATA_INSTALL = $(INSTALL_DATA)
12598 install-tagsDATA: $(tags_DATA)
12600 $(mkinstalldirs) $(DESTDIR)$(tagsdir)
12601 @list='$(tags_DATA)'; for p in $$list; do \
12602 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
12603 - f="`echo $$p | sed -e 's|^.*/||'`"; \
12604 - echo " $(tagsDATA_INSTALL) $$d$$p $(DESTDIR)$(tagsdir)/$$f"; \
12605 - $(tagsDATA_INSTALL) $$d$$p $(DESTDIR)$(tagsdir)/$$f; \
12606 + if test -f $(srcdir)/$$p; then \
12607 + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(tagsdir)/$$p"; \
12608 + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(tagsdir)/$$p; \
12609 + else if test -f $$p; then \
12610 + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(tagsdir)/$$p"; \
12611 + $(INSTALL_DATA) $$p $(DESTDIR)$(tagsdir)/$$p; \
12615 uninstall-tagsDATA:
12616 @$(NORMAL_UNINSTALL)
12617 - @list='$(tags_DATA)'; for p in $$list; do \
12618 - f="`echo $$p | sed -e 's|^.*/||'`"; \
12619 - echo " rm -f $(DESTDIR)$(tagsdir)/$$f"; \
12620 - rm -f $(DESTDIR)$(tagsdir)/$$f; \
12621 + list='$(tags_DATA)'; for p in $$list; do \
12622 + rm -f $(DESTDIR)$(tagsdir)/$$p; \
12630 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
12631 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
12634 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
12637 distdir: $(DISTFILES)
12638 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
12639 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
12640 - list='$(DISTFILES)'; for file in $$list; do \
12642 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
12643 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
12645 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
12646 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
12647 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
12649 - $(mkinstalldirs) "$(distdir)$$dir"; \
12653 + @for file in $(DISTFILES); do \
12655 if test -d $$d/$$file; then \
12656 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
12657 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
12659 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
12660 + cp -pr $$d/$$file $(distdir)/$$file; \
12662 test -f $(distdir)/$$file \
12663 - || cp -p $$d/$$file $(distdir)/$$file \
12665 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
12666 + || cp -p $$d/$$file $(distdir)/$$file || :; \
12675 -all-am: Makefile $(DATA)
12678 - $(mkinstalldirs) $(DESTDIR)$(tagsdir)
12679 -install: install-am
12681 +installcheck: installcheck-am
12683 install-exec: install-exec-am
12685 +install-data-am: install-tagsDATA install-data-local
12686 install-data: install-data-am
12687 -uninstall: uninstall-am
12690 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
12692 -installcheck: installcheck-am
12693 +install: install-am
12694 +uninstall-am: uninstall-tagsDATA uninstall-local
12695 +uninstall: uninstall-am
12696 +all-am: Makefile $(DATA)
12697 +all-redirect: all-am
12699 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
12700 - INSTALL_STRIP_FLAG=-s \
12701 - `test -z '$(STRIP)' || \
12702 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
12703 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
12705 + $(mkinstalldirs) $(DESTDIR)$(tagsdir)
12708 mostlyclean-generic:
12711 @@ -292,65 +225,35 @@
12714 -rm -f Makefile $(CONFIG_CLEAN_FILES)
12715 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
12717 maintainer-clean-generic:
12718 - @echo "This command is intended for maintainers to use"
12719 - @echo "it deletes files that may require special tools to rebuild."
12722 -clean-am: clean-generic clean-libtool clean-local mostlyclean-am
12724 -distclean: distclean-am
12726 -distclean-am: clean-am distclean-generic distclean-libtool
12736 -install-data-am: install-data-local install-tagsDATA
12740 -install-info: install-info-am
12746 -maintainer-clean: maintainer-clean-am
12748 -maintainer-clean-am: distclean-am maintainer-clean-generic \
12749 - maintainer-clean-local
12750 +mostlyclean-am: mostlyclean-generic
12752 mostlyclean: mostlyclean-am
12754 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
12755 +clean-am: clean-generic mostlyclean-am clean-local
12761 +distclean-am: distclean-generic clean-am
12765 +distclean: distclean-am
12768 +maintainer-clean-am: maintainer-clean-generic distclean-am \
12769 + maintainer-clean-local
12770 + @echo "This command is intended for maintainers to use;"
12771 + @echo "it deletes files that may require special tools to rebuild."
12773 -uninstall-am: uninstall-info-am uninstall-local uninstall-tagsDATA
12774 +maintainer-clean: maintainer-clean-am
12776 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \
12777 - clean-local distclean distclean-generic distclean-libtool \
12778 - distdir dvi dvi-am info info-am install install-am install-data \
12779 - install-data-am install-data-local install-exec install-exec-am \
12780 - install-info install-info-am install-man install-strip \
12781 - install-tagsDATA installcheck installcheck-am installdirs \
12782 - maintainer-clean maintainer-clean-generic \
12783 - maintainer-clean-local mostlyclean mostlyclean-generic \
12784 - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
12785 - uninstall-info-am uninstall-local uninstall-tagsDATA
12786 +.PHONY: uninstall-tagsDATA install-tagsDATA tags distdir info-am info \
12787 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
12788 +install-exec install-data-local install-data-am install-data install-am \
12789 +install uninstall-local uninstall-am uninstall all-redirect all-am all \
12790 +installdirs mostlyclean-generic distclean-generic clean-generic \
12791 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
12795 @@ -391,6 +294,7 @@
12797 maintainer-clean-local:
12798 rm -f $(stamp) $(doc_local_files)
12800 # Tell versions [3.59,3.63) of GNU make to not export all variables.
12801 # Otherwise a system limit (for SysV at least) may be exceeded.
12803 diff -ruN libsigcx-0.6.4-patched/examples/Makefile.in libsigcx-0.6.4-regen/examples/Makefile.in
12804 --- libsigcx-0.6.4-patched/examples/Makefile.in 2003-06-03 10:02:54.000000000 -0700
12805 +++ libsigcx-0.6.4-regen/examples/Makefile.in 2005-05-06 21:21:31.000000000 -0700
12807 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
12808 -# @configure_input@
12809 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
12811 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
12812 -# Free Software Foundation, Inc.
12813 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12814 # This Makefile.in is free software; the Free Software Foundation
12815 # gives unlimited permission to copy and/or distribute it,
12816 # with or without modifications, as long as this notice is preserved.
12817 @@ -12,143 +10,102 @@
12818 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12819 # PARTICULAR PURPOSE.
12826 top_srcdir = @top_srcdir@
12829 +exec_prefix = @exec_prefix@
12832 +sbindir = @sbindir@
12833 +libexecdir = @libexecdir@
12834 +datadir = @datadir@
12835 +sysconfdir = @sysconfdir@
12836 +sharedstatedir = @sharedstatedir@
12837 +localstatedir = @localstatedir@
12839 +infodir = @infodir@
12841 +includedir = @includedir@
12842 +oldincludedir = /usr/include
12846 pkgdatadir = $(datadir)/@PACKAGE@
12847 pkglibdir = $(libdir)/@PACKAGE@
12848 pkgincludedir = $(includedir)/@PACKAGE@
12852 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
12853 +ACLOCAL = @ACLOCAL@
12854 +AUTOCONF = @AUTOCONF@
12855 +AUTOMAKE = @AUTOMAKE@
12856 +AUTOHEADER = @AUTOHEADER@
12858 INSTALL = @INSTALL@
12859 -install_sh_DATA = $(install_sh) -c -m 644
12860 -install_sh_PROGRAM = $(install_sh) -c
12861 -install_sh_SCRIPT = $(install_sh) -c
12862 -INSTALL_HEADER = $(INSTALL_DATA)
12863 -transform = $(program_transform_name)
12864 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
12865 +INSTALL_DATA = @INSTALL_DATA@
12866 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
12867 +transform = @program_transform_name@
12872 NORMAL_UNINSTALL = :
12875 +host_alias = @host_alias@
12876 host_triplet = @host@
12877 -ACLOCAL = @ACLOCAL@
12878 -AMDEP_FALSE = @AMDEP_FALSE@
12879 -AMDEP_TRUE = @AMDEP_TRUE@
12882 -AUTOCONF = @AUTOCONF@
12883 -AUTOHEADER = @AUTOHEADER@
12884 -AUTOMAKE = @AUTOMAKE@
12888 -CCDEPMODE = @CCDEPMODE@
12891 -CPPFLAGS = @CPPFLAGS@
12894 -CXXDEPMODE = @CXXDEPMODE@
12895 CXXFLAGS = @CXXFLAGS@
12896 -CYGPATH_W = @CYGPATH_W@
12899 +DLLTOOL = @DLLTOOL@
12900 DOXYGEN = @DOXYGEN@
12909 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
12910 -GTHREAD_LIBS = @GTHREAD_LIBS@
12912 +GCJFLAGS = @GCJFLAGS@
12914 GTK_CFLAGS = @GTK_CFLAGS@
12915 GTK_LIBS = @GTK_LIBS@
12916 -INSTALL_DATA = @INSTALL_DATA@
12917 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
12918 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
12919 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
12920 +HAVE_LIB = @HAVE_LIB@
12921 ISODATE = @ISODATE@
12922 LDFLAGS = @LDFLAGS@
12923 -LIBOBJS = @LIBOBJS@
12926 LIBTOOL = @LIBTOOL@
12928 -LTLIBOBJS = @LTLIBOBJS@
12931 MAKEINFO = @MAKEINFO@
12932 MAYBE_DOC = @MAYBE_DOC@
12933 +OBJDUMP = @OBJDUMP@
12935 PACKAGE = @PACKAGE@
12936 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
12937 -PACKAGE_NAME = @PACKAGE_NAME@
12938 -PACKAGE_STRING = @PACKAGE_STRING@
12939 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
12940 -PACKAGE_VERSION = @PACKAGE_VERSION@
12941 -PATH_SEPARATOR = @PATH_SEPARATOR@
12943 PKG_CONFIG = @PKG_CONFIG@
12944 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
12945 PTHREAD_LIBS = @PTHREAD_LIBS@
12947 -SET_MAKE = @SET_MAKE@
12950 SIGCX_BRANCH = @SIGCX_BRANCH@
12951 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
12952 SIGC_CFLAGS = @SIGC_CFLAGS@
12953 SIGC_LIBS = @SIGC_LIBS@
12954 +SIGC_MACROS = @SIGC_MACROS@
12956 THREADS_USED = @THREADS_USED@
12957 THREAD_CFLAGS = @THREAD_CFLAGS@
12958 THREAD_LIBS = @THREAD_LIBS@
12959 VERSION = @VERSION@
12960 -ac_ct_AR = @ac_ct_AR@
12961 -ac_ct_CC = @ac_ct_CC@
12962 -ac_ct_CXX = @ac_ct_CXX@
12963 -ac_ct_F77 = @ac_ct_F77@
12964 -ac_ct_RANLIB = @ac_ct_RANLIB@
12965 -ac_ct_STRIP = @ac_ct_STRIP@
12966 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
12967 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
12968 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
12969 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
12970 -am__include = @am__include@
12971 -am__leading_dot = @am__leading_dot@
12972 -am__quote = @am__quote@
12975 -build_alias = @build_alias@
12976 -build_cpu = @build_cpu@
12977 -build_os = @build_os@
12978 -build_vendor = @build_vendor@
12979 -datadir = @datadir@
12980 -exec_prefix = @exec_prefix@
12982 -host_alias = @host_alias@
12983 -host_cpu = @host_cpu@
12984 -host_os = @host_os@
12985 -host_vendor = @host_vendor@
12986 -includedir = @includedir@
12987 -infodir = @infodir@
12988 -install_sh = @install_sh@
12990 -libexecdir = @libexecdir@
12991 -localstatedir = @localstatedir@
12993 -oldincludedir = @oldincludedir@
12995 -program_transform_name = @program_transform_name@
12996 -sbindir = @sbindir@
12997 -sharedstatedir = @sharedstatedir@
12998 -sysconfdir = @sysconfdir@
12999 -target_alias = @target_alias@
13001 noinst_PROGRAMS = hello_world
13003 sigcx_libs = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la $(SIGC_LIBS) $(THREAD_LIBS)
13004 @@ -158,99 +115,87 @@
13005 AM_CPPFLAGS = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS)
13007 EXTRA_DIST = gtkmm_example.cc
13009 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
13010 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
13011 -CONFIG_HEADER = $(top_builddir)/config.h
13012 -CONFIG_CLEAN_FILES =
13013 -noinst_PROGRAMS = hello_world$(EXEEXT)
13014 -PROGRAMS = $(noinst_PROGRAMS)
13016 -am_hello_world_OBJECTS = hello_world.$(OBJEXT)
13017 -hello_world_OBJECTS = $(am_hello_world_OBJECTS)
13018 -hello_world_DEPENDENCIES = \
13019 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
13020 -hello_world_LDFLAGS =
13022 -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
13023 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
13024 -am__depfiles_maybe = depfiles
13025 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hello_world.Po
13026 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
13027 - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13028 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
13029 - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
13030 - $(AM_CXXFLAGS) $(CXXFLAGS)
13031 +CONFIG_HEADER = ../config.h
13032 +CONFIG_CLEAN_FILES =
13033 +noinst_PROGRAMS = hello_world$(EXEEXT)
13034 +PROGRAMS = $(noinst_PROGRAMS)
13037 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
13038 +CPPFLAGS = @CPPFLAGS@
13040 +hello_world_OBJECTS = hello_world.$(OBJEXT)
13041 +hello_world_DEPENDENCIES = \
13042 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
13043 +hello_world_LDFLAGS =
13044 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13045 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13047 -CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
13048 - $(AM_LDFLAGS) $(LDFLAGS) -o $@
13049 -DIST_SOURCES = $(hello_world_SOURCES)
13050 -DIST_COMMON = README Makefile.am Makefile.in
13051 -SOURCES = $(hello_world_SOURCES)
13052 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
13053 +DIST_COMMON = README Makefile.am Makefile.in
13057 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
13061 +SOURCES = $(hello_world_SOURCES)
13062 +OBJECTS = $(hello_world_OBJECTS)
13066 -.SUFFIXES: .cc .lo .o .obj
13067 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13068 - cd $(top_srcdir) && \
13069 - $(AUTOMAKE) --gnu examples/Makefile
13070 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
13071 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
13072 +.SUFFIXES: .S .c .cc .lo .o .obj .s
13073 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13074 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
13076 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
13077 + cd $(top_builddir) \
13078 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
13081 +mostlyclean-noinstPROGRAMS:
13083 clean-noinstPROGRAMS:
13084 - @list='$(noinst_PROGRAMS)'; for p in $$list; do \
13085 - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
13086 - echo " rm -f $$p $$f"; \
13087 - rm -f $$p $$f ; \
13089 -hello_world$(EXEEXT): $(hello_world_OBJECTS) $(hello_world_DEPENDENCIES)
13090 - @rm -f hello_world$(EXEEXT)
13091 - $(CXXLINK) $(hello_world_LDFLAGS) $(hello_world_OBJECTS) $(hello_world_LDADD) $(LIBS)
13092 + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
13094 +distclean-noinstPROGRAMS:
13096 +maintainer-clean-noinstPROGRAMS:
13101 +# FIXME: We should only use cygpath when building on Windows,
13102 +# and only if it is available.
13104 + $(COMPILE) -c `cygpath -w $<`
13112 mostlyclean-compile:
13113 - -rm -f *.$(OBJEXT) core *.core
13114 + -rm -f *.o core *.core
13115 + -rm -f *.$(OBJEXT)
13122 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello_world.Po@am__quote@
13123 +maintainer-clean-compile:
13126 - -rm -rf ./$(DEPDIR)
13128 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13131 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13132 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
13133 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
13134 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13135 -@am__fastdepCXX_TRUE@ fi
13136 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13137 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
13138 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13139 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
13141 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13144 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13145 -@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
13146 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
13147 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13148 -@am__fastdepCXX_TRUE@ fi
13149 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13150 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
13151 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13152 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
13155 -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13156 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
13157 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
13158 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13159 -@am__fastdepCXX_TRUE@ fi
13160 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
13161 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
13162 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13163 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
13165 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13167 mostlyclean-libtool:
13169 @@ -259,181 +204,137 @@
13170 -rm -rf .libs _libs
13174 -uninstall-info-am:
13178 +maintainer-clean-libtool:
13182 +hello_world$(EXEEXT): $(hello_world_OBJECTS) $(hello_world_DEPENDENCIES)
13183 + @rm -f hello_world$(EXEEXT)
13184 + $(CXXLINK) $(hello_world_LDFLAGS) $(hello_world_OBJECTS) $(hello_world_LDADD) $(LIBS)
13186 + $(CXXCOMPILE) -c $<
13188 + $(CXXCOMPILE) -c `cygpath -w $<`
13190 + $(LTCXXCOMPILE) -c $<
13194 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
13195 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
13196 - unique=`for i in $$list; do \
13197 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13199 - $(AWK) ' { files[$$0] = 1; } \
13200 +ID: $(HEADERS) $(SOURCES) $(LISP)
13201 + list='$(SOURCES) $(HEADERS)'; \
13202 + unique=`for i in $$list; do echo $$i; done | \
13203 + awk ' { files[$$0] = 1; } \
13204 END { for (i in files) print i; }'`; \
13205 - mkid -fID $$unique
13206 + here=`pwd` && cd $(srcdir) \
13207 + && mkid -f$$here/ID $$unique $(LISP)
13209 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
13210 - $(TAGS_FILES) $(LISP)
13211 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
13214 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
13215 - unique=`for i in $$list; do \
13216 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13218 - $(AWK) ' { files[$$0] = 1; } \
13219 + list='$(SOURCES) $(HEADERS)'; \
13220 + unique=`for i in $$list; do echo $$i; done | \
13221 + awk ' { files[$$0] = 1; } \
13222 END { for (i in files) print i; }'`; \
13223 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
13224 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
13228 -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
13229 - $(TAGS_FILES) $(LISP)
13232 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
13233 - unique=`for i in $$list; do \
13234 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13236 - $(AWK) ' { files[$$0] = 1; } \
13237 - END { for (i in files) print i; }'`; \
13238 - test -z "$(CTAGS_ARGS)$$tags$$unique" \
13239 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
13243 - here=`$(am__cd) $(top_builddir) && pwd` \
13244 - && cd $(top_srcdir) \
13245 - && gtags -i $(GTAGS_ARGS) $$here
13246 + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
13247 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
13254 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
13255 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
13258 +maintainer-clean-tags:
13261 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
13262 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13266 distdir: $(DISTFILES)
13267 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
13268 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
13269 - list='$(DISTFILES)'; for file in $$list; do \
13271 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
13272 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
13274 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
13275 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
13276 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
13278 - $(mkinstalldirs) "$(distdir)$$dir"; \
13282 + @for file in $(DISTFILES); do \
13284 if test -d $$d/$$file; then \
13285 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
13286 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
13288 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
13289 + cp -pr $$d/$$file $(distdir)/$$file; \
13291 test -f $(distdir)/$$file \
13292 - || cp -p $$d/$$file $(distdir)/$$file \
13294 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
13295 + || cp -p $$d/$$file $(distdir)/$$file || :; \
13305 -all-am: Makefile $(PROGRAMS)
13308 -install: install-am
13310 +installcheck: installcheck-am
13312 install-exec: install-exec-am
13315 install-data: install-data-am
13316 -uninstall: uninstall-am
13319 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
13321 -installcheck: installcheck-am
13322 +install: install-am
13324 +uninstall: uninstall-am
13325 +all-am: Makefile $(PROGRAMS)
13326 +all-redirect: all-am
13328 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
13329 - INSTALL_STRIP_FLAG=-s \
13330 - `test -z '$(STRIP)' || \
13331 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
13332 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
13336 mostlyclean-generic:
13341 -rm -f Makefile $(CONFIG_CLEAN_FILES)
13342 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
13344 maintainer-clean-generic:
13345 - @echo "This command is intended for maintainers to use"
13346 - @echo "it deletes files that may require special tools to rebuild."
13349 -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
13352 -distclean: distclean-am
13354 -distclean-am: clean-am distclean-compile distclean-depend \
13355 - distclean-generic distclean-libtool distclean-tags
13362 +mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
13363 + mostlyclean-libtool mostlyclean-tags \
13364 + mostlyclean-generic
13367 +mostlyclean: mostlyclean-am
13370 +clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
13371 + clean-generic mostlyclean-am
13376 -install-info: install-info-am
13377 +distclean-am: distclean-noinstPROGRAMS distclean-compile \
13378 + distclean-libtool distclean-tags distclean-generic \
13383 +distclean: distclean-am
13386 +maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
13387 + maintainer-clean-compile maintainer-clean-libtool \
13388 + maintainer-clean-tags maintainer-clean-generic \
13390 + @echo "This command is intended for maintainers to use;"
13391 + @echo "it deletes files that may require special tools to rebuild."
13393 maintainer-clean: maintainer-clean-am
13395 -maintainer-clean-am: distclean-am maintainer-clean-generic
13397 -mostlyclean: mostlyclean-am
13399 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
13400 - mostlyclean-libtool
13410 -uninstall-am: uninstall-info-am
13412 -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
13413 - clean-libtool clean-noinstPROGRAMS ctags distclean \
13414 - distclean-compile distclean-depend distclean-generic \
13415 - distclean-libtool distclean-tags distdir dvi dvi-am info \
13416 - info-am install install-am install-data install-data-am \
13417 - install-exec install-exec-am install-info install-info-am \
13418 - install-man install-strip installcheck installcheck-am \
13419 - installdirs maintainer-clean maintainer-clean-generic \
13420 - mostlyclean mostlyclean-compile mostlyclean-generic \
13421 - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
13422 - uninstall-am uninstall-info-am
13423 +.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
13424 +clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
13425 +mostlyclean-compile distclean-compile clean-compile \
13426 +maintainer-clean-compile mostlyclean-libtool distclean-libtool \
13427 +clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
13428 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
13429 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
13430 +install-exec install-data-am install-data install-am install \
13431 +uninstall-am uninstall all-redirect all-am all installdirs \
13432 +mostlyclean-generic distclean-generic clean-generic \
13433 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
13436 # Rules for gtkmm example
13437 @@ -442,6 +343,7 @@
13439 gtkmm_example.lo: gtkmm_example.cc
13440 libtool --mode=compile $(CXX) $(CXXFLAGS) $(AM_CPPFLAGS) `pkg-config --cflags gtkmm-2.0` -c -o $@ $^
13442 # Tell versions [3.59,3.63) of GNU make to not export all variables.
13443 # Otherwise a system limit (for SysV at least) may be exceeded.
13445 diff -ruN libsigcx-0.6.4-patched/scripts/Makefile.in libsigcx-0.6.4-regen/scripts/Makefile.in
13446 --- libsigcx-0.6.4-patched/scripts/Makefile.in 2003-06-03 10:02:59.000000000 -0700
13447 +++ libsigcx-0.6.4-regen/scripts/Makefile.in 2005-05-06 21:21:32.000000000 -0700
13449 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
13450 -# @configure_input@
13451 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
13453 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
13454 -# Free Software Foundation, Inc.
13455 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
13456 # This Makefile.in is free software; the Free Software Foundation
13457 # gives unlimited permission to copy and/or distribute it,
13458 # with or without modifications, as long as this notice is preserved.
13459 @@ -12,290 +10,203 @@
13460 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13461 # PARTICULAR PURPOSE.
13468 top_srcdir = @top_srcdir@
13471 +exec_prefix = @exec_prefix@
13474 +sbindir = @sbindir@
13475 +libexecdir = @libexecdir@
13476 +datadir = @datadir@
13477 +sysconfdir = @sysconfdir@
13478 +sharedstatedir = @sharedstatedir@
13479 +localstatedir = @localstatedir@
13481 +infodir = @infodir@
13483 +includedir = @includedir@
13484 +oldincludedir = /usr/include
13488 pkgdatadir = $(datadir)/@PACKAGE@
13489 pkglibdir = $(libdir)/@PACKAGE@
13490 pkgincludedir = $(includedir)/@PACKAGE@
13494 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
13495 +ACLOCAL = @ACLOCAL@
13496 +AUTOCONF = @AUTOCONF@
13497 +AUTOMAKE = @AUTOMAKE@
13498 +AUTOHEADER = @AUTOHEADER@
13500 INSTALL = @INSTALL@
13501 -install_sh_DATA = $(install_sh) -c -m 644
13502 -install_sh_PROGRAM = $(install_sh) -c
13503 -install_sh_SCRIPT = $(install_sh) -c
13504 -INSTALL_HEADER = $(INSTALL_DATA)
13505 -transform = $(program_transform_name)
13506 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
13507 +INSTALL_DATA = @INSTALL_DATA@
13508 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
13509 +transform = @program_transform_name@
13514 NORMAL_UNINSTALL = :
13517 +host_alias = @host_alias@
13518 host_triplet = @host@
13519 -ACLOCAL = @ACLOCAL@
13520 -AMDEP_FALSE = @AMDEP_FALSE@
13521 -AMDEP_TRUE = @AMDEP_TRUE@
13524 -AUTOCONF = @AUTOCONF@
13525 -AUTOHEADER = @AUTOHEADER@
13526 -AUTOMAKE = @AUTOMAKE@
13530 -CCDEPMODE = @CCDEPMODE@
13533 -CPPFLAGS = @CPPFLAGS@
13536 -CXXDEPMODE = @CXXDEPMODE@
13537 CXXFLAGS = @CXXFLAGS@
13538 -CYGPATH_W = @CYGPATH_W@
13541 +DLLTOOL = @DLLTOOL@
13542 DOXYGEN = @DOXYGEN@
13551 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
13552 -GTHREAD_LIBS = @GTHREAD_LIBS@
13554 +GCJFLAGS = @GCJFLAGS@
13556 GTK_CFLAGS = @GTK_CFLAGS@
13557 GTK_LIBS = @GTK_LIBS@
13558 -INSTALL_DATA = @INSTALL_DATA@
13559 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
13560 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
13561 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
13562 +HAVE_LIB = @HAVE_LIB@
13563 ISODATE = @ISODATE@
13564 LDFLAGS = @LDFLAGS@
13565 -LIBOBJS = @LIBOBJS@
13568 LIBTOOL = @LIBTOOL@
13570 -LTLIBOBJS = @LTLIBOBJS@
13573 MAKEINFO = @MAKEINFO@
13574 MAYBE_DOC = @MAYBE_DOC@
13575 +OBJDUMP = @OBJDUMP@
13577 PACKAGE = @PACKAGE@
13578 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
13579 -PACKAGE_NAME = @PACKAGE_NAME@
13580 -PACKAGE_STRING = @PACKAGE_STRING@
13581 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
13582 -PACKAGE_VERSION = @PACKAGE_VERSION@
13583 -PATH_SEPARATOR = @PATH_SEPARATOR@
13585 PKG_CONFIG = @PKG_CONFIG@
13586 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
13587 PTHREAD_LIBS = @PTHREAD_LIBS@
13589 -SET_MAKE = @SET_MAKE@
13592 SIGCX_BRANCH = @SIGCX_BRANCH@
13593 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
13594 SIGC_CFLAGS = @SIGC_CFLAGS@
13595 SIGC_LIBS = @SIGC_LIBS@
13596 +SIGC_MACROS = @SIGC_MACROS@
13598 THREADS_USED = @THREADS_USED@
13599 THREAD_CFLAGS = @THREAD_CFLAGS@
13600 THREAD_LIBS = @THREAD_LIBS@
13601 VERSION = @VERSION@
13602 -ac_ct_AR = @ac_ct_AR@
13603 -ac_ct_CC = @ac_ct_CC@
13604 -ac_ct_CXX = @ac_ct_CXX@
13605 -ac_ct_F77 = @ac_ct_F77@
13606 -ac_ct_RANLIB = @ac_ct_RANLIB@
13607 -ac_ct_STRIP = @ac_ct_STRIP@
13608 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
13609 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
13610 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
13611 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
13612 -am__include = @am__include@
13613 -am__leading_dot = @am__leading_dot@
13614 -am__quote = @am__quote@
13617 -build_alias = @build_alias@
13618 -build_cpu = @build_cpu@
13619 -build_os = @build_os@
13620 -build_vendor = @build_vendor@
13621 -datadir = @datadir@
13622 -exec_prefix = @exec_prefix@
13624 -host_alias = @host_alias@
13625 -host_cpu = @host_cpu@
13626 -host_os = @host_os@
13627 -host_vendor = @host_vendor@
13628 -includedir = @includedir@
13629 -infodir = @infodir@
13630 -install_sh = @install_sh@
13632 -libexecdir = @libexecdir@
13633 -localstatedir = @localstatedir@
13635 -oldincludedir = @oldincludedir@
13637 -program_transform_name = @program_transform_name@
13638 -sbindir = @sbindir@
13639 -sharedstatedir = @sharedstatedir@
13640 -sysconfdir = @sysconfdir@
13641 -target_alias = @target_alias@
13642 -EXTRA_DIST = macros.m4 pthread.m4 libtool.m4
13644 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
13646 +EXTRA_DIST = macros.m4 pthread.m4
13647 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
13648 -CONFIG_HEADER = $(top_builddir)/config.h
13649 -CONFIG_CLEAN_FILES =
13651 -DIST_COMMON = Makefile.am Makefile.in config.guess config.sub depcomp \
13652 - install-sh ltmain.sh missing mkinstalldirs
13654 +CONFIG_HEADER = ../config.h
13655 +CONFIG_CLEAN_FILES =
13656 +DIST_COMMON = Makefile.am Makefile.in config.guess config.sub \
13657 +install-sh ltmain.sh missing mkinstalldirs
13660 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13661 - cd $(top_srcdir) && \
13662 - $(AUTOMAKE) --gnu scripts/Makefile
13663 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
13664 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
13666 -mostlyclean-libtool:
13668 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
13671 - -rm -rf .libs _libs
13676 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13677 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps scripts/Makefile
13679 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
13680 + cd $(top_builddir) \
13681 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
13683 -distclean-libtool:
13685 -uninstall-info-am:
13692 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
13693 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13696 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
13699 distdir: $(DISTFILES)
13700 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
13701 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
13702 - list='$(DISTFILES)'; for file in $$list; do \
13704 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
13705 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
13707 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
13708 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
13709 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
13711 - $(mkinstalldirs) "$(distdir)$$dir"; \
13715 + @for file in $(DISTFILES); do \
13717 if test -d $$d/$$file; then \
13718 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
13719 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
13721 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
13722 + cp -pr $$d/$$file $(distdir)/$$file; \
13724 test -f $(distdir)/$$file \
13725 - || cp -p $$d/$$file $(distdir)/$$file \
13727 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
13728 + || cp -p $$d/$$file $(distdir)/$$file || :; \
13740 -install: install-am
13742 +installcheck: installcheck-am
13744 install-exec: install-exec-am
13747 install-data: install-data-am
13748 -uninstall: uninstall-am
13751 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
13753 -installcheck: installcheck-am
13754 +install: install-am
13756 +uninstall: uninstall-am
13758 +all-redirect: all-am
13760 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
13761 - INSTALL_STRIP_FLAG=-s \
13762 - `test -z '$(STRIP)' || \
13763 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
13764 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
13768 mostlyclean-generic:
13773 -rm -f Makefile $(CONFIG_CLEAN_FILES)
13774 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
13776 maintainer-clean-generic:
13777 - @echo "This command is intended for maintainers to use"
13778 - @echo "it deletes files that may require special tools to rebuild."
13780 +mostlyclean-am: mostlyclean-generic
13782 -clean-am: clean-generic clean-libtool mostlyclean-am
13784 -distclean: distclean-am
13786 -distclean-am: clean-am distclean-generic distclean-libtool
13795 +mostlyclean: mostlyclean-am
13798 +clean-am: clean-generic mostlyclean-am
13803 -install-info: install-info-am
13804 +distclean-am: distclean-generic clean-am
13808 +distclean: distclean-am
13811 +maintainer-clean-am: maintainer-clean-generic distclean-am
13812 + @echo "This command is intended for maintainers to use;"
13813 + @echo "it deletes files that may require special tools to rebuild."
13815 maintainer-clean: maintainer-clean-am
13817 -maintainer-clean-am: distclean-am maintainer-clean-generic
13819 -mostlyclean: mostlyclean-am
13821 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
13831 -uninstall-am: uninstall-info-am
13832 +.PHONY: tags distdir info-am info dvi-am dvi check check-am \
13833 +installcheck-am installcheck install-exec-am install-exec \
13834 +install-data-am install-data install-am install uninstall-am uninstall \
13835 +all-redirect all-am all installdirs mostlyclean-generic \
13836 +distclean-generic clean-generic maintainer-clean-generic clean \
13837 +mostlyclean distclean maintainer-clean
13839 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \
13840 - distclean distclean-generic distclean-libtool distdir dvi \
13841 - dvi-am info info-am install install-am install-data \
13842 - install-data-am install-exec install-exec-am install-info \
13843 - install-info-am install-man install-strip installcheck \
13844 - installcheck-am installdirs maintainer-clean \
13845 - maintainer-clean-generic mostlyclean mostlyclean-generic \
13846 - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
13847 - uninstall-info-am
13849 # Tell versions [3.59,3.63) of GNU make to not export all variables.
13850 # Otherwise a system limit (for SysV at least) may be exceeded.
13851 diff -ruN libsigcx-0.6.4-patched/scripts/config.guess libsigcx-0.6.4-regen/scripts/config.guess
13852 --- libsigcx-0.6.4-patched/scripts/config.guess 2003-04-21 12:13:43.000000000 -0700
13853 +++ libsigcx-0.6.4-regen/scripts/config.guess 2005-04-24 13:01:25.000000000 -0700
13856 # Attempt to guess a canonical system name.
13857 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
13858 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
13859 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
13861 -timestamp='2003-02-22'
13862 +timestamp='2005-04-22'
13864 # This file is free software; you can redistribute it and/or modify it
13865 # under the terms of the GNU General Public License as published by
13867 GNU config.guess ($timestamp)
13869 Originally written by Per Bothner.
13870 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
13871 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
13872 Free Software Foundation, Inc.
13874 This is free software; see the source for copying conditions. There is NO
13875 @@ -106,6 +106,7 @@
13877 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
13878 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
13879 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
13880 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
13882 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
13883 @@ -196,15 +197,21 @@
13884 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
13885 echo "${machine}-${os}${release}"
13887 + amd64:OpenBSD:*:*)
13888 + echo x86_64-unknown-openbsd${UNAME_RELEASE}
13891 echo m68k-unknown-openbsd${UNAME_RELEASE}
13894 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
13895 + cats:OpenBSD:*:*)
13896 + echo arm-unknown-openbsd${UNAME_RELEASE}
13899 echo m68k-unknown-openbsd${UNAME_RELEASE}
13901 + luna88k:OpenBSD:*:*)
13902 + echo m88k-unknown-openbsd${UNAME_RELEASE}
13904 mac68k:OpenBSD:*:*)
13905 echo m68k-unknown-openbsd${UNAME_RELEASE}
13907 @@ -220,25 +227,33 @@
13908 mvmeppc:OpenBSD:*:*)
13909 echo powerpc-unknown-openbsd${UNAME_RELEASE}
13911 - pmax:OpenBSD:*:*)
13912 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
13915 - echo mipseb-unknown-openbsd${UNAME_RELEASE}
13916 + echo mips64-unknown-openbsd${UNAME_RELEASE}
13919 echo m68k-unknown-openbsd${UNAME_RELEASE}
13921 - wgrisc:OpenBSD:*:*)
13922 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
13925 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
13928 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
13930 + macppc:MirBSD:*:*)
13931 + echo powerppc-unknown-mirbsd${UNAME_RELEASE}
13934 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
13937 - if test $UNAME_RELEASE = "V4.0"; then
13938 + case $UNAME_RELEASE in
13940 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
13944 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
13947 # According to Compaq, /usr/sbin/psrinfo has been available on
13948 # OSF/1 and Tru64 systems produced since 1995. I hope that
13949 # covers most systems running today. This code pipes the CPU
13950 @@ -276,11 +291,12 @@
13952 UNAME_MACHINE="alphaev79" ;;
13954 + # A Pn.n version is a patched version.
13955 # A Vn.n version is a released version.
13956 # A Tn.n version is a released field test version.
13957 # A Xn.n version is an unreleased experimental baselevel.
13958 # 1.2 uses "1.2" for uname -r.
13959 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
13960 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
13962 Alpha\ *:Windows_NT*:*)
13963 # How do we know it's Interix rather than the generic POSIX subsystem?
13964 @@ -303,6 +319,12 @@
13966 echo i370-ibm-openedition
13969 + echo s390-ibm-zvmoe
13972 + echo powerpc-ibm-os400
13974 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
13975 echo arm-acorn-riscix${UNAME_RELEASE}
13977 @@ -320,7 +342,10 @@
13979 echo pyramid-pyramid-svr4
13981 - DRS?6000:UNIX_SV:4.2*:7*)
13982 + DRS?6000:unix:4.0:6*)
13983 + echo sparc-icl-nx6
13985 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
13986 case `/usr/bin/uname -p` in
13987 sparc) echo sparc-icl-nx7 && exit 0 ;;
13989 @@ -392,6 +417,9 @@
13990 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
13991 echo m68k-unknown-mint${UNAME_RELEASE}
13993 + m68k:machten:*:*)
13994 + echo m68k-apple-machten${UNAME_RELEASE}
13996 powerpc:machten:*:*)
13997 echo powerpc-apple-machten${UNAME_RELEASE}
13999 @@ -727,7 +755,7 @@
14000 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
14003 - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
14004 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
14006 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
14007 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
14008 @@ -735,6 +763,11 @@
14009 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
14010 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
14012 + 5000:UNIX_System_V:4.*:*)
14013 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
14014 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
14015 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
14017 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
14018 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
14020 @@ -745,18 +778,7 @@
14021 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
14024 - # Determine whether the default compiler uses glibc.
14025 - eval $set_cc_for_build
14026 - sed 's/^ //' << EOF >$dummy.c
14027 - #include <features.h>
14028 - #if __GLIBC__ >= 2
14034 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
14035 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
14036 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
14039 echo ${UNAME_MACHINE}-pc-cygwin
14040 @@ -767,8 +789,8 @@
14042 echo ${UNAME_MACHINE}-pc-pw32
14045 - echo i586-pc-interix3
14046 + x86:Interix*:[34]*)
14047 + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
14049 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
14050 echo i${UNAME_MACHINE}-pc-mks
14051 @@ -782,6 +804,9 @@
14053 echo ${UNAME_MACHINE}-pc-uwin
14055 + amd64:CYGWIN*:*:*)
14056 + echo x86_64-unknown-cygwin
14059 echo powerpcle-unknown-cygwin
14061 @@ -789,17 +814,34 @@
14062 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
14066 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
14069 + # other systems with GNU libc and userland
14070 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
14073 echo ${UNAME_MACHINE}-pc-minix
14076 echo ${UNAME_MACHINE}-unknown-linux-gnu
14079 + echo cris-axis-linux-gnu
14081 + crisv32:Linux:*:*)
14082 + echo crisv32-axis-linux-gnu
14085 + echo frv-unknown-linux-gnu
14088 echo ${UNAME_MACHINE}-unknown-linux-gnu
14091 + echo ${UNAME_MACHINE}-unknown-linux-gnu
14094 echo ${UNAME_MACHINE}-unknown-linux-gnu
14096 @@ -875,6 +917,9 @@
14097 s390:Linux:*:* | s390x:Linux:*:*)
14098 echo ${UNAME_MACHINE}-ibm-linux
14101 + echo ${UNAME_MACHINE}-unknown-linux-gnu
14104 echo ${UNAME_MACHINE}-unknown-linux-gnu
14106 @@ -932,6 +977,9 @@
14110 + #ifdef __dietlibc__
14114 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
14115 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
14116 @@ -962,6 +1010,9 @@
14118 echo ${UNAME_MACHINE}-unknown-atheos
14120 + i*86:syllable:*:*)
14121 + echo ${UNAME_MACHINE}-pc-syllable
14123 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
14124 echo i386-unknown-lynxos${UNAME_RELEASE}
14126 @@ -1031,9 +1082,9 @@
14127 M680?0:D-NIX:5.3:*)
14128 echo m68k-diab-dnix
14130 - M68*:*:R3V[567]*:*)
14131 + M68*:*:R3V[5678]*:*)
14132 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
14133 - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
14134 + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
14136 test -r /etc/.relid \
14137 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
14138 @@ -1089,6 +1140,10 @@
14139 # From seanf@swdc.stratus.com.
14140 echo i860-stratus-sysv4
14143 + # From Paul.Green@stratus.com.
14144 + echo ${UNAME_MACHINE}-stratus-vos
14147 # From Paul.Green@stratus.com.
14148 echo hppa1.1-stratus-vos
14149 @@ -1131,9 +1186,10 @@
14150 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
14153 - case `uname -p` in
14154 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
14155 + case $UNAME_PROCESSOR in
14156 *86) UNAME_PROCESSOR=i686 ;;
14157 - powerpc) UNAME_PROCESSOR=powerpc ;;
14158 + unknown) UNAME_PROCESSOR=powerpc ;;
14160 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
14162 @@ -1148,7 +1204,10 @@
14166 - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
14167 + NSE-?:NONSTOP_KERNEL:*:*)
14168 + echo nse-tandem-nsk${UNAME_RELEASE}
14170 + NSR-?:NONSTOP_KERNEL:*:*)
14171 echo nsr-tandem-nsk${UNAME_RELEASE}
14174 @@ -1189,6 +1248,22 @@
14176 echo pdp10-unknown-its
14179 + echo mips-sei-seiux${UNAME_RELEASE}
14182 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
14185 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
14186 + case "${UNAME_MACHINE}" in
14187 + A*) echo alpha-dec-vms && exit 0 ;;
14188 + I*) echo ia64-dec-vms && exit 0 ;;
14189 + V*) echo vax-dec-vms && exit 0 ;;
14192 + echo i386-pc-xenix
14196 #echo '(No uname command or uname output not recognized.)' 1>&2
14197 @@ -1348,7 +1423,9 @@
14198 the operating system you are using. It is advised that you
14199 download the most up to date version of the config scripts from
14201 - ftp://ftp.gnu.org/pub/gnu/config/
14202 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
14204 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
14206 If the version you run ($0) is already up to date, please
14207 send the following data and any information you think might be
14208 diff -ruN libsigcx-0.6.4-patched/scripts/config.sub libsigcx-0.6.4-regen/scripts/config.sub
14209 --- libsigcx-0.6.4-patched/scripts/config.sub 2003-04-21 12:13:43.000000000 -0700
14210 +++ libsigcx-0.6.4-regen/scripts/config.sub 2005-04-24 13:01:25.000000000 -0700
14213 # Configuration validation subroutine script.
14214 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
14215 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
14216 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
14218 -timestamp='2003-02-22'
14219 +timestamp='2005-04-22'
14221 # This file is (in principle) common to ALL GNU software.
14222 # The presence of a machine in this file suggests that SOME GNU software
14225 GNU config.sub ($timestamp)
14227 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
14228 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
14229 Free Software Foundation, Inc.
14231 This is free software; see the source for copying conditions. There is NO
14232 @@ -118,7 +118,8 @@
14233 # Here we must recognize all the valid KERNEL-OS combinations.
14234 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
14236 - nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
14237 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
14238 + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
14240 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
14242 @@ -144,7 +145,7 @@
14243 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
14244 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
14245 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
14247 + -apple | -axis | -knuth | -cray)
14251 @@ -228,14 +229,16 @@
14253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
14254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
14256 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
14259 + | c4x | clipper \
14260 | d10v | d30v | dlx | dsp16xx \
14262 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
14263 | i370 | i860 | i960 | ia64 \
14265 - | m32r | m68000 | m68k | m88k | mcore \
14266 + | ip2k | iq2000 \
14267 + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
14268 | mips | mipsbe | mipseb | mipsel | mipsle \
14270 | mips64 | mips64el \
14271 @@ -247,6 +250,7 @@
14272 | mipsisa32 | mipsisa32el \
14273 | mipsisa32r2 | mipsisa32r2el \
14274 | mipsisa64 | mipsisa64el \
14275 + | mipsisa64r2 | mipsisa64r2el \
14276 | mipsisa64sb1 | mipsisa64sb1el \
14277 | mipsisa64sr71k | mipsisa64sr71kel \
14278 | mipstx39 | mipstx39el \
14279 @@ -259,12 +263,13 @@
14281 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
14283 - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
14284 + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
14285 + | sparcv8 | sparcv9 | sparcv9b \
14287 - | tahoe | thumb | tic80 | tron \
14288 + | tahoe | thumb | tic4x | tic80 | tron \
14291 - | x86 | xscale | xstormy16 | xtensa \
14292 + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
14294 basic_machine=$basic_machine-unknown
14296 @@ -295,19 +300,19 @@
14297 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
14298 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
14301 + | bfin-* | bs2000-* \
14302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
14303 - | clipper-* | cydra-* \
14304 + | clipper-* | craynv-* | cydra-* \
14305 | d10v-* | d30v-* | dlx-* \
14307 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
14308 | h8300-* | h8500-* \
14309 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
14310 | i*86-* | i860-* | i960-* | ia64-* \
14313 + | ip2k-* | iq2000-* \
14314 + | m32r-* | m32rle-* \
14315 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
14316 - | m88110-* | m88k-* | mcore-* \
14317 + | m88110-* | m88k-* | maxq-* | mcore-* \
14318 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
14320 | mips64-* | mips64el-* \
14321 @@ -319,11 +324,13 @@
14322 | mipsisa32-* | mipsisa32el-* \
14323 | mipsisa32r2-* | mipsisa32r2el-* \
14324 | mipsisa64-* | mipsisa64el-* \
14325 + | mipsisa64r2-* | mipsisa64r2el-* \
14326 | mipsisa64sb1-* | mipsisa64sb1el-* \
14327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
14328 | mipstx39-* | mipstx39el-* \
14331 - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
14332 + | none-* | np1-* | ns16k-* | ns32k-* \
14334 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
14335 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
14336 @@ -331,15 +338,16 @@
14337 | romp-* | rs6000-* \
14338 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
14339 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
14340 - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
14341 - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14342 + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
14344 + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14345 | tahoe-* | thumb-* \
14346 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
14348 | v850-* | v850e-* | vax-* \
14350 - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
14352 + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
14353 + | xstormy16-* | xtensa-* \
14357 @@ -359,6 +367,9 @@
14358 basic_machine=a29k-amd
14362 + basic_machine=abacus-unknown
14365 basic_machine=m68010-adobe
14367 @@ -373,6 +384,12 @@
14368 basic_machine=a29k-none
14372 + basic_machine=x86_64-pc
14375 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
14378 basic_machine=580-amdahl
14380 @@ -432,12 +449,27 @@
14381 basic_machine=j90-cray
14385 + basic_machine=craynv-cray
14389 + basic_machine=cr16c-unknown
14393 basic_machine=m68k-crds
14395 + crisv32 | crisv32-* | etraxfs*)
14396 + basic_machine=crisv32-axis
14398 cris | cris-* | etrax*)
14399 basic_machine=cris-axis
14402 + basic_machine=crx-unknown
14406 basic_machine=m68k-da30
14408 @@ -460,6 +492,10 @@
14409 basic_machine=m88k-motorola
14413 + basic_machine=i586-pc
14417 basic_machine=rs6000-bull
14419 @@ -638,10 +674,6 @@
14421 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
14424 - basic_machine=mmix-knuth
14428 basic_machine=m68k-rom68k
14430 @@ -722,10 +754,6 @@
14432 basic_machine=np1-gould
14435 - basic_machine=nv1-cray
14439 basic_machine=nsr-tandem
14441 @@ -737,6 +765,10 @@
14442 basic_machine=or32-unknown
14446 + basic_machine=powerpc-ibm
14449 OSE68000 | ose68000)
14450 basic_machine=m68000-ericsson
14452 @@ -768,18 +800,24 @@
14453 pentiumpro | p6 | 6x86 | athlon | athlon_*)
14454 basic_machine=i686-pc
14456 - pentiumii | pentium2)
14457 + pentiumii | pentium2 | pentiumiii | pentium3)
14458 basic_machine=i686-pc
14461 + basic_machine=i786-pc
14463 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
14464 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
14466 pentiumpro-* | p6-* | 6x86-* | athlon-*)
14467 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14469 - pentiumii-* | pentium2-*)
14470 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
14471 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14474 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
14477 basic_machine=pn-gould
14479 @@ -838,6 +876,10 @@
14481 basic_machine=mipsisa64sb1el-unknown
14484 + basic_machine=mips-sei
14488 basic_machine=i386-sequent
14490 @@ -845,6 +887,9 @@
14491 basic_machine=sh-hitachi
14495 + basic_machine=sh64-unknown
14497 sparclite-wrs | simso-wrs)
14498 basic_machine=sparclite-wrs
14500 @@ -919,10 +964,6 @@
14501 basic_machine=t90-cray
14505 - basic_machine=tic4x-unknown
14509 basic_machine=tic54x-unknown
14511 @@ -948,6 +989,10 @@
14513 basic_machine=m68k-ncr
14516 + basic_machine=s390x-ibm
14520 basic_machine=a29k-amd
14522 @@ -991,6 +1036,10 @@
14523 basic_machine=hppa1.1-winbond
14527 + basic_machine=i686-pc
14531 basic_machine=xps100-honeywell
14533 @@ -1021,6 +1070,9 @@
14535 basic_machine=romp-ibm
14538 + basic_machine=mmix-knuth
14541 basic_machine=rs6000-ibm
14543 @@ -1043,7 +1095,7 @@
14545 basic_machine=sh64-unknown
14547 - sparc | sparcv9 | sparcv9b)
14548 + sparc | sparcv8 | sparcv9 | sparcv9b)
14549 basic_machine=sparc-sun
14552 @@ -1116,19 +1168,20 @@
14554 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
14555 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
14556 - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
14557 - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14558 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
14559 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
14560 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14561 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
14562 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
14563 | -chorusos* | -chorusrdb* \
14564 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
14565 - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
14566 + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
14567 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
14568 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14569 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
14570 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
14571 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14572 - | -powermax* | -dnix*)
14573 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
14574 # Remember, each alternative MUST END IN *, to match a version number.
14577 @@ -1152,6 +1205,9 @@
14579 os=`echo $os | sed -e 's|mac|macos|'`
14582 + os=-linux-dietlibc
14585 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14587 @@ -1164,6 +1220,9 @@
14597 @@ -1185,6 +1244,9 @@
14607 @@ -1207,6 +1269,9 @@
14617 @@ -1243,6 +1308,9 @@
14627 @@ -1274,6 +1342,9 @@
14634 # This must come before the *-dec entry.
14637 @@ -1320,6 +1391,9 @@
14647 @@ -1452,9 +1526,15 @@
14660 -vxsim* | -vxworks* | -windiss*)
14663 diff -ruN libsigcx-0.6.4-patched/scripts/depcomp libsigcx-0.6.4-regen/scripts/depcomp
14664 --- libsigcx-0.6.4-patched/scripts/depcomp 2003-05-19 11:10:58.000000000 -0700
14665 +++ libsigcx-0.6.4-regen/scripts/depcomp 1969-12-31 16:00:00.000000000 -0800
14669 -# depcomp - compile a program generating dependencies as side-effects
14670 -# Copyright 1999, 2000 Free Software Foundation, Inc.
14672 -# This program is free software; you can redistribute it and/or modify
14673 -# it under the terms of the GNU General Public License as published by
14674 -# the Free Software Foundation; either version 2, or (at your option)
14675 -# any later version.
14677 -# This program is distributed in the hope that it will be useful,
14678 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14679 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14680 -# GNU General Public License for more details.
14682 -# You should have received a copy of the GNU General Public License
14683 -# along with this program; if not, write to the Free Software
14684 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
14685 -# 02111-1307, USA.
14687 -# As a special exception to the GNU General Public License, if you
14688 -# distribute this file as part of a program that contains a
14689 -# configuration script generated by Autoconf, you may include it under
14690 -# the same distribution terms that you use for the rest of that program.
14692 -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
14694 -if test -z "$depmode" || test -z "$source" || test -z "$object"; then
14695 - echo "depcomp: Variables source, object and depmode must be set" 1>&2
14698 -# `libtool' can also be set to `yes' or `no'.
14700 -if test -z "$depfile"; then
14701 - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
14702 - dir=`echo "$object" | sed 's,/.*$,/,'`
14703 - if test "$dir" = "$object"; then
14706 - # FIXME: should be _deps on DOS.
14707 - depfile="$dir.deps/$base"
14710 -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
14712 -rm -f "$tmpdepfile"
14714 -# Some modes work just like other modes, but use different flags. We
14715 -# parameterize here, but still list the modes in the big case below,
14716 -# to make depend.m4 easier to write. Note that we *cannot* use a case
14717 -# here, because this file can only contain one case statement.
14718 -if test "$depmode" = hp; then
14719 - # HP compiler uses -M and no extra arg.
14724 -if test "$depmode" = dashXmstdout; then
14725 - # This is just like dashmstdout with a different argument.
14727 - depmode=dashmstdout
14730 -case "$depmode" in
14732 -## gcc 3 implements dependency tracking that does exactly what
14733 -## we want. Yay! Note: for some reason libtool 1.4 doesn't like
14734 -## it if -MD -MP comes after the -MF stuff. Hmm.
14735 - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
14737 - if test $stat -eq 0; then :
14739 - rm -f "$tmpdepfile"
14742 - mv "$tmpdepfile" "$depfile"
14746 -## There are various ways to get dependency output from gcc. Here's
14747 -## why we pick this rather obscure method:
14748 -## - Don't want to use -MD because we'd like the dependencies to end
14749 -## up in a subdir. Having to rename by hand is ugly.
14750 -## (We might end up doing this anyway to support other compilers.)
14751 -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
14752 -## -MM, not -M (despite what the docs say).
14753 -## - Using -M directly means running the compiler twice (even worse
14754 -## than renaming).
14755 - if test -z "$gccflag"; then
14758 - "$@" -Wp,"$gccflag$tmpdepfile"
14760 - if test $stat -eq 0; then :
14762 - rm -f "$tmpdepfile"
14766 - echo "$object : \\" > "$depfile"
14767 - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
14768 -## The second -e expression handles DOS-style file names with drive letters.
14769 - sed -e 's/^[^:]*: / /' \
14770 - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
14771 -## This next piece of magic avoids the `deleted header file' problem.
14772 -## The problem is that when a header file which appears in a .P file
14773 -## is deleted, the dependency causes make to die (because there is
14774 -## typically no way to rebuild the header). We avoid this by adding
14775 -## dummy dependencies for each header file. Too bad gcc doesn't do
14776 -## this for us directly.
14778 -' < "$tmpdepfile" |
14779 -## Some versions of gcc put a space before the `:'. On the theory
14780 -## that the space means something, we add a space to the output as
14782 -## Some versions of the HPUX 10.20 sed can't process this invocation
14783 -## correctly. Breaking it into two sed invocations is a workaround.
14784 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
14785 - rm -f "$tmpdepfile"
14789 - # This case exists only to let depend.m4 do its work. It works by
14790 - # looking at the text of this script. This case will never be run,
14791 - # since it is checked for above.
14796 - if test "$libtool" = yes; then
14797 - "$@" "-Wp,-MDupdate,$tmpdepfile"
14799 - "$@" -MDupdate "$tmpdepfile"
14802 - if test $stat -eq 0; then :
14804 - rm -f "$tmpdepfile"
14809 - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
14810 - echo "$object : \\" > "$depfile"
14812 - # Clip off the initial element (the dependent). Don't try to be
14813 - # clever and replace this with sed code, as IRIX sed won't handle
14814 - # lines with more than a fixed number of characters (4096 in
14815 - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
14816 - # the IRIX cc adds comments like `#:fec' to the end of the
14817 - # dependency line.
14819 -' < "$tmpdepfile" \
14820 - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
14825 - # The second pass generates a dummy entry for each header file.
14827 -' < "$tmpdepfile" \
14828 - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
14831 - # The sourcefile does not contain any dependencies, so just
14832 - # store a dummy comment line, to avoid errors with the Makefile
14833 - # "include basename.Plo" scheme.
14834 - echo "#dummy" > "$depfile"
14836 - rm -f "$tmpdepfile"
14840 - # The C for AIX Compiler uses -M and outputs the dependencies
14841 - # in a .u file. This file always lives in the current directory.
14842 - # Also, the AIX compiler puts `$object:' at the start of each line;
14843 - # $object doesn't have directory information.
14844 - stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
14845 - tmpdepfile="$stripped.u"
14846 - outname="$stripped.o"
14847 - if test "$libtool" = yes; then
14854 - if test $stat -eq 0; then :
14856 - rm -f "$tmpdepfile"
14860 - if test -f "$tmpdepfile"; then
14861 - # Each line is of the form `foo.o: dependent.h'.
14862 - # Do two passes, one to just change these to
14863 - # `$object: dependent.h' and one to simply `dependent.h:'.
14864 - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
14865 - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
14867 - # The sourcefile does not contain any dependencies, so just
14868 - # store a dummy comment line, to avoid errors with the Makefile
14869 - # "include basename.Plo" scheme.
14870 - echo "#dummy" > "$depfile"
14872 - rm -f "$tmpdepfile"
14876 - # Must come before tru64.
14878 - # Intel's C compiler understands `-MD -MF file'. However
14879 - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
14880 - # will fill foo.d with something like
14881 - # foo.o: sub/foo.c
14882 - # foo.o: sub/foo.h
14883 - # which is wrong. We want:
14884 - # sub/foo.o: sub/foo.c
14885 - # sub/foo.o: sub/foo.h
14889 - "$@" -MD -MF "$tmpdepfile"
14891 - if test $stat -eq 0; then :
14893 - rm -f "$tmpdepfile"
14897 - # Each line is of the form `foo.o: dependent.h'.
14898 - # Do two passes, one to just change these to
14899 - # `$object: dependent.h' and one to simply `dependent.h:'.
14900 - sed -e "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
14901 - sed -e "s,^[^:]*: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
14902 - rm -f "$tmpdepfile"
14906 - # The Tru64 compiler uses -MD to generate dependencies as a side
14907 - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
14908 - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
14909 - # dependencies in `foo.d' instead, so we check for that too.
14910 - # Subdirectories are respected.
14911 - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
14912 - test "x$dir" = "x$object" && dir=
14913 - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
14915 - if test "$libtool" = yes; then
14916 - tmpdepfile1="$dir.libs/$base.lo.d"
14917 - tmpdepfile2="$dir.libs/$base.d"
14920 - tmpdepfile1="$dir$base.o.d"
14921 - tmpdepfile2="$dir$base.d"
14926 - if test $stat -eq 0; then :
14928 - rm -f "$tmpdepfile1" "$tmpdepfile2"
14932 - if test -f "$tmpdepfile1"; then
14933 - tmpdepfile="$tmpdepfile1"
14935 - tmpdepfile="$tmpdepfile2"
14937 - if test -f "$tmpdepfile"; then
14938 - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
14939 - # That's a space and a tab in the [].
14940 - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
14942 - echo "#dummy" > "$depfile"
14944 - rm -f "$tmpdepfile"
14948 - # This comment above is used by automake to tell side-effect
14949 - # dependency tracking mechanisms from slower ones.
14952 - # Important note: in order to support this mode, a compiler *must*
14953 - # always write the proprocessed file to stdout, regardless of -o.
14956 - # Remove the call to Libtool.
14957 - if test "$libtool" = yes; then
14958 - while test $1 != '--mode=compile'; do
14964 - # Remove `-o $object'.
14976 - set fnord "$@" "$arg"
14983 - test -z "$dashmflag" && dashmflag=-M
14984 - # Require at least two characters before searching for `:'
14985 - # in the target name. This is to cope with DOS-style filenames:
14986 - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
14987 - "$@" $dashmflag |
14988 - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
14990 - cat < "$tmpdepfile" > "$depfile"
14992 -' < "$tmpdepfile" | \
14993 -## Some versions of the HPUX 10.20 sed can't process this invocation
14994 -## correctly. Breaking it into two sed invocations is a workaround.
14995 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
14996 - rm -f "$tmpdepfile"
15000 - # This case only exists to satisfy depend.m4. It is never actually
15001 - # run, as this mode is specially recognized in the preamble.
15007 - # Remove any Libtool call
15008 - if test "$libtool" = yes; then
15009 - while test $1 != '--mode=compile'; do
15017 - for arg in "$@"; do
15025 - set fnord "$@" "$arg"; shift ;;
15026 - # Strip any option that makedepend may not understand. Remove
15027 - # the object too, otherwise makedepend will parse it as a source file.
15031 - set fnord "$@" "$arg"; shift ;;
15034 - obj_suffix="`echo $object | sed 's/^.*\././'`"
15035 - touch "$tmpdepfile"
15036 - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
15038 - cat < "$tmpdepfile" > "$depfile"
15039 - sed '1,2d' "$tmpdepfile" | tr ' ' '
15041 -## Some versions of the HPUX 10.20 sed can't process this invocation
15042 -## correctly. Breaking it into two sed invocations is a workaround.
15043 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15044 - rm -f "$tmpdepfile" "$tmpdepfile".bak
15048 - # Important note: in order to support this mode, a compiler *must*
15049 - # always write the proprocessed file to stdout.
15052 - # Remove the call to Libtool.
15053 - if test "$libtool" = yes; then
15054 - while test $1 != '--mode=compile'; do
15060 - # Remove `-o $object'.
15072 - set fnord "$@" "$arg"
15080 - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
15081 - sed '$ s: \\$::' > "$tmpdepfile"
15083 - echo "$object : \\" > "$depfile"
15084 - cat < "$tmpdepfile" >> "$depfile"
15085 - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
15086 - rm -f "$tmpdepfile"
15090 - # Important note: in order to support this mode, a compiler *must*
15091 - # always write the proprocessed file to stdout, regardless of -o,
15092 - # because we must use -o when running libtool.
15098 - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
15104 - set fnord "$@" "$arg"
15111 - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
15113 - echo "$object : \\" > "$depfile"
15114 - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
15115 - echo " " >> "$depfile"
15116 - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
15117 - rm -f "$tmpdepfile"
15125 - echo "Unknown depmode $depmode" 1>&2
15131 diff -ruN libsigcx-0.6.4-patched/scripts/install-sh libsigcx-0.6.4-regen/scripts/install-sh
15132 --- libsigcx-0.6.4-patched/scripts/install-sh 2003-05-19 11:10:58.000000000 -0700
15133 +++ libsigcx-0.6.4-regen/scripts/install-sh 2005-02-05 22:18:29.000000000 -0800
15136 while [ x"$1" != x ]; do
15138 - -c) instcmd=$cpprog
15139 + -c) instcmd="$cpprog"
15147 - -s) stripcmd=$stripprog
15148 + -s) stripcmd="$stripprog"
15152 @@ -124,132 +124,128 @@
15156 - echo "$0: no input file specified" >&2
15157 + echo "install: no input file specified"
15164 if [ x"$dir_arg" != x ]; then
15168 - if [ -d "$dst" ]; then
15170 + if [ -d $dst ]; then
15174 - instcmd=$mkdirprog
15179 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
15180 -# might cause directories to be created, which would be especially bad
15181 +# might cause directories to be created, which would be especially bad
15182 # if $src (and thus $dsttmp) contains '*'.
15184 - if [ -f "$src" ] || [ -d "$src" ]
15185 + if [ -f $src -o -d $src ]
15190 - echo "$0: $src does not exist" >&2
15191 + echo "install: $src does not exist"
15198 - echo "$0: no destination specified" >&2
15199 + echo "install: no destination specified"
15206 # If destination is a directory, append the input filename; if your system
15207 # does not like double slashes in filenames, you may need to add some logic
15212 - dst=$dst/`basename "$src"`
15213 + dst="$dst"/`basename $src`
15220 ## this sed command emulates the dirname command
15221 -dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
15222 +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
15224 # Make sure that the destination directory exists.
15225 # this part is taken from Noah Friedman's mkinstalldirs script
15227 # Skip lots of stat calls in the usual case.
15228 if [ ! -d "$dstdir" ]; then
15231 -IFS="${IFS-$defaultIFS}"
15234 +IFS="${IFS-${defaultIFS}}"
15238 # Some sh's can't handle IFS=/ for some reason.
15240 -set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
15242 +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
15247 while [ $# -ne 0 ] ; do
15248 - pathcomp=$pathcomp$1
15249 + pathcomp="${pathcomp}${1}"
15252 - if [ ! -d "$pathcomp" ] ;
15253 + if [ ! -d "${pathcomp}" ] ;
15255 - $mkdirprog "$pathcomp"
15256 + $mkdirprog "${pathcomp}"
15262 - pathcomp=$pathcomp/
15263 + pathcomp="${pathcomp}/"
15267 if [ x"$dir_arg" != x ]
15269 - $doit $instcmd "$dst" &&
15270 + $doit $instcmd $dst &&
15272 - if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
15273 - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
15274 - if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
15275 - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
15276 + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
15277 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
15278 + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
15279 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
15282 # If we're going to rename the final executable, determine the name now.
15284 - if [ x"$transformarg" = x ]
15285 + if [ x"$transformarg" = x ]
15287 - dstfile=`basename "$dst"`
15288 + dstfile=`basename $dst`
15290 - dstfile=`basename "$dst" $transformbasename |
15291 + dstfile=`basename $dst $transformbasename |
15292 sed $transformarg`$transformbasename
15295 # don't allow the sed command to completely eliminate the filename
15297 - if [ x"$dstfile" = x ]
15298 + if [ x"$dstfile" = x ]
15300 - dstfile=`basename "$dst"`
15301 + dstfile=`basename $dst`
15307 -# Make a couple of temp file names in the proper directory.
15308 +# Make a temp file name in the proper directory.
15310 dsttmp=$dstdir/#inst.$$#
15311 - rmtmp=$dstdir/#rm.$$#
15313 -# Trap to clean up temp files at exit.
15315 - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
15316 - trap '(exit $?); exit' 1 2 13 15
15318 # Move or copy the file name to the temp name
15320 - $doit $instcmd "$src" "$dsttmp" &&
15321 + $doit $instcmd $src $dsttmp &&
15323 + trap "rm -f ${dsttmp}" 0 &&
15325 # and set any options; do chmod last to preserve setuid bits
15327 @@ -257,38 +253,17 @@
15328 # ignore errors from any of these, just make sure not to ignore
15329 # errors from the above "$doit $instcmd $src $dsttmp" command.
15331 - if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
15332 - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
15333 - if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
15334 - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
15336 -# Now remove or move aside any old file at destination location. We try this
15337 -# two ways since rm can't unlink itself on some systems and the destination
15338 -# file might be busy for other reasons. In this case, the final cleanup
15339 -# might fail but the new file should still install successfully.
15342 - if [ -f "$dstdir/$dstfile" ]
15344 - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
15345 - $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
15347 - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
15354 + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
15355 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
15356 + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
15357 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
15359 # Now rename the file to the real destination.
15361 - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
15362 + $doit $rmcmd -f $dstdir/$dstfile &&
15363 + $doit $mvcmd $dsttmp $dstdir/$dstfile
15367 -# The final little trick to "correctly" pass the exit status to the exit trap.
15373 diff -ruN libsigcx-0.6.4-patched/scripts/libtool.m4 libsigcx-0.6.4-regen/scripts/libtool.m4
15374 --- libsigcx-0.6.4-patched/scripts/libtool.m4 2003-04-22 10:28:48.000000000 -0700
15375 +++ libsigcx-0.6.4-regen/scripts/libtool.m4 1969-12-31 16:00:00.000000000 -0800
15377 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15378 -## Copyright 1996, 1997, 1998, 1999, 2000, 2001
15379 -## Free Software Foundation, Inc.
15380 -## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15382 -## This program is free software; you can redistribute it and/or modify
15383 -## it under the terms of the GNU General Public License as published by
15384 -## the Free Software Foundation; either version 2 of the License, or
15385 -## (at your option) any later version.
15387 -## This program is distributed in the hope that it will be useful, but
15388 -## WITHOUT ANY WARRANTY; without even the implied warranty of
15389 -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15390 -## General Public License for more details.
15392 -## You should have received a copy of the GNU General Public License
15393 -## along with this program; if not, write to the Free Software
15394 -## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15396 -## As a special exception to the GNU General Public License, if you
15397 -## distribute this file as part of a program that contains a
15398 -## configuration script generated by Autoconf, you may include it under
15399 -## the same distribution terms that you use for the rest of that program.
15401 -# serial 47 AC_PROG_LIBTOOL
15404 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
15405 -# -----------------------------------------------------------
15406 -# If this macro is not defined by Autoconf, define it here.
15407 -m4_ifdef([AC_PROVIDE_IFELSE],
15409 - [m4_define([AC_PROVIDE_IFELSE],
15410 - [m4_ifdef([AC_PROVIDE_$1],
15416 -AC_DEFUN([AC_PROG_LIBTOOL],
15417 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
15418 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
15419 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
15420 - AC_PROVIDE_IFELSE([AC_PROG_CXX],
15421 - [AC_LIBTOOL_CXX],
15422 - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
15424 -dnl And a similar setup for Fortran 77 support
15425 - AC_PROVIDE_IFELSE([AC_PROG_F77],
15426 - [AC_LIBTOOL_F77],
15427 - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
15430 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
15431 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
15432 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
15433 - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
15434 - [AC_LIBTOOL_GCJ],
15435 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
15436 - [AC_LIBTOOL_GCJ],
15437 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
15438 - [AC_LIBTOOL_GCJ],
15439 - [ifdef([AC_PROG_GCJ],
15440 - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
15441 - ifdef([A][M_PROG_GCJ],
15442 - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
15443 - ifdef([LT_AC_PROG_GCJ],
15444 - [define([LT_AC_PROG_GCJ],
15445 - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
15446 -])])# AC_PROG_LIBTOOL
15449 -# _AC_PROG_LIBTOOL
15450 -# ----------------
15451 -AC_DEFUN([_AC_PROG_LIBTOOL],
15452 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
15453 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
15454 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
15455 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
15457 -# This can be used to rebuild libtool when needed
15458 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
15460 -# Always use our own libtool.
15461 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15462 -AC_SUBST(LIBTOOL)dnl
15464 -# Prevent multiple expansion
15465 -define([AC_PROG_LIBTOOL], [])
15466 -])# _AC_PROG_LIBTOOL
15469 -# AC_LIBTOOL_SETUP
15470 -# ----------------
15471 -AC_DEFUN([AC_LIBTOOL_SETUP],
15472 -[AC_PREREQ(2.50)dnl
15473 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
15474 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
15475 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
15476 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
15477 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
15478 -AC_REQUIRE([AC_PROG_CC])dnl
15479 -AC_REQUIRE([AC_PROG_LD])dnl
15480 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
15481 -AC_REQUIRE([AC_PROG_NM])dnl
15483 -AC_REQUIRE([AC_PROG_LN_S])dnl
15484 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
15485 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
15486 -AC_REQUIRE([AC_OBJEXT])dnl
15487 -AC_REQUIRE([AC_EXEEXT])dnl
15490 -AC_LIBTOOL_SYS_MAX_CMD_LEN
15491 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
15494 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
15495 -_LT_AC_PROG_ECHO_BACKSLASH
15499 - # AIX sometimes has problems with the GCC collect2 program. For some
15500 - # reason, if we set the COLLECT_NAMES environment variable, the problems
15501 - # vanish in a puff of smoke.
15502 - if test "X${COLLECT_NAMES+set}" != Xset; then
15504 - export COLLECT_NAMES
15509 -# Sed substitution that helps us do robust quoting. It backslashifies
15510 -# metacharacters that are still active within double-quoted strings.
15511 -Xsed='sed -e s/^X//'
15512 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
15514 -# Same as above, but do not quote variable references.
15515 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
15517 -# Sed substitution to delay expansion of an escaped shell variable in a
15518 -# double_quote_subst'ed string.
15519 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
15521 -# Sed substitution to avoid accidental globbing in evaled expressions
15522 -no_glob_subst='s/\*/\\\*/g'
15527 -# Global variables:
15528 -default_ofile=libtool
15529 -can_build_shared=yes
15531 -# All known linkers require a `.a' archive for static linking (except M$VC,
15532 -# which needs '.lib').
15534 -ltmain="$ac_aux_dir/ltmain.sh"
15535 -ofile="$default_ofile"
15536 -with_gnu_ld="$lt_cv_prog_gnu_ld"
15538 -AC_CHECK_TOOL(AR, ar, false)
15539 -AC_CHECK_TOOL(RANLIB, ranlib, :)
15540 -AC_CHECK_TOOL(STRIP, strip, :)
15543 -old_CFLAGS="$CFLAGS"
15545 -# Set sane defaults for various variables
15546 -test -z "$AR" && AR=ar
15547 -test -z "$AR_FLAGS" && AR_FLAGS=cru
15548 -test -z "$AS" && AS=as
15549 -test -z "$CC" && CC=cc
15550 -test -z "$LTCC" && LTCC=$CC
15551 -test -z "$DLLTOOL" && DLLTOOL=dlltool
15552 -test -z "$LD" && LD=ld
15553 -test -z "$LN_S" && LN_S="ln -s"
15554 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
15555 -test -z "$NM" && NM=nm
15556 -test -z "$SED" && SED=sed
15557 -test -z "$OBJDUMP" && OBJDUMP=objdump
15558 -test -z "$RANLIB" && RANLIB=:
15559 -test -z "$STRIP" && STRIP=:
15560 -test -z "$ac_objext" && ac_objext=o
15562 -# Determine commands to create old-style static archives.
15563 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
15564 -old_postinstall_cmds='chmod 644 $oldlib'
15565 -old_postuninstall_cmds=
15567 -if test -n "$RANLIB"; then
15570 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
15573 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
15576 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
15579 -# Only perform the check for file, if the check method requires it
15580 -case $deplibs_check_method in
15582 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15588 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
15589 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
15590 -enable_win32_dll=yes, enable_win32_dll=no)
15592 -AC_ARG_ENABLE([libtool-lock],
15593 - [AC_HELP_STRING([--disable-libtool-lock],
15594 - [avoid locking (might break parallel builds)])])
15595 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15597 -AC_ARG_WITH([pic],
15598 - [AC_HELP_STRING([--with-pic],
15599 - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
15600 - [pic_mode="$withval"],
15601 - [pic_mode=default])
15602 -test -z "$pic_mode" && pic_mode=default
15604 -# Use C for the default configuration in the libtool script
15606 -AC_LIBTOOL_LANG_C_CONFIG
15608 -])# AC_LIBTOOL_SETUP
15611 -# _LT_AC_SYS_COMPILER
15612 -# -------------------
15613 -AC_DEFUN([_LT_AC_SYS_COMPILER],
15614 -[AC_REQUIRE([AC_PROG_CC])dnl
15616 -# If no C compiler was specified, use CC.
15617 -LTCC=${LTCC-"$CC"}
15619 -# Allow CC to be a program name with arguments.
15621 -])# _LT_AC_SYS_COMPILER
15624 -# _LT_AC_SYS_LIBPATH_AIX
15625 -# ----------------------
15626 -# Links a minimal program and checks the executable
15627 -# for the system default hardcoded library path. In most cases,
15628 -# this is /usr/lib:/lib, but when the MPI compilers are used
15629 -# the location of the communication and MPI libs are included too.
15630 -# If we don't find anything, use the default library path according
15631 -# to the aix ld manual.
15632 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
15633 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
15634 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15636 -# Check for a 64-bit object if we didn't find anything.
15637 -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; }
15639 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15640 -])# _LT_AC_SYS_LIBPATH_AIX
15643 -# _LT_AC_SHELL_INIT(ARG)
15644 -# ----------------------
15645 -AC_DEFUN([_LT_AC_SHELL_INIT],
15646 -[ifdef([AC_DIVERSION_NOTICE],
15647 - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
15648 - [AC_DIVERT_PUSH(NOTICE)])
15651 -])# _LT_AC_SHELL_INIT
15654 -# _LT_AC_PROG_ECHO_BACKSLASH
15655 -# --------------------------
15656 -# Add some code to the start of the generated configure script which
15657 -# will find an echo command which doesn't interpret backslashes.
15658 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
15659 -[_LT_AC_SHELL_INIT([
15660 -# Check that we are running under the correct shell.
15661 -SHELL=${CONFIG_SHELL-/bin/sh}
15664 -X*--fallback-echo)
15665 - # Remove one level of quotation (which was required for Make).
15666 - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
15671 -if test "X[$]1" = X--no-reexec; then
15672 - # Discard the --no-reexec flag, and continue.
15674 -elif test "X[$]1" = X--fallback-echo; then
15675 - # Avoid inline document here, it may be left over
15677 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
15678 - # Yippee, $echo works!
15681 - # Restart under the correct shell.
15682 - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
15685 -if test "X[$]1" = X--fallback-echo; then
15686 - # used as fallback echo
15694 -# The HP-UX ksh and POSIX shell print the target directory to stdout
15695 -# if CDPATH is set.
15696 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
15698 -if test -z "$ECHO"; then
15699 -if test "X${echo_test_string+set}" != Xset; then
15700 -# find a string as large as possible, as long as the shell can cope with it
15701 - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
15702 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
15703 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
15704 - echo_test_string="`eval $cmd`" &&
15705 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
15712 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15713 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15714 - test "X$echo_testing_string" = "X$echo_test_string"; then
15717 - # The Solaris, AIX, and Digital Unix default echo programs unquote
15718 - # backslashes. This makes it impossible to quote backslashes using
15719 - # echo "$something" | sed 's/\\/\\\\/g'
15721 - # So, first we look for a working echo in the user's PATH.
15723 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15724 - for dir in $PATH /usr/ucb; do
15725 - IFS="$lt_save_ifs"
15726 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
15727 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
15728 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
15729 - test "X$echo_testing_string" = "X$echo_test_string"; then
15734 - IFS="$lt_save_ifs"
15736 - if test "X$echo" = Xecho; then
15737 - # We didn't find a better echo, so look for alternatives.
15738 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
15739 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
15740 - test "X$echo_testing_string" = "X$echo_test_string"; then
15741 - # This shell has a builtin print -r that does the trick.
15743 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
15744 - test "X$CONFIG_SHELL" != X/bin/ksh; then
15745 - # If we have ksh, try running configure again with it.
15746 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15747 - export ORIGINAL_CONFIG_SHELL
15748 - CONFIG_SHELL=/bin/ksh
15749 - export CONFIG_SHELL
15750 - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
15752 - # Try using printf.
15753 - echo='printf %s\n'
15754 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15755 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15756 - test "X$echo_testing_string" = "X$echo_test_string"; then
15757 - # Cool, printf works
15759 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
15760 - test "X$echo_testing_string" = 'X\t' &&
15761 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15762 - test "X$echo_testing_string" = "X$echo_test_string"; then
15763 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
15764 - export CONFIG_SHELL
15765 - SHELL="$CONFIG_SHELL"
15767 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
15768 - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
15769 - test "X$echo_testing_string" = 'X\t' &&
15770 - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15771 - test "X$echo_testing_string" = "X$echo_test_string"; then
15772 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
15774 - # maybe with a smaller string...
15777 - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
15778 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
15785 - if test "$prev" != 'sed 50q "[$]0"'; then
15786 - echo_test_string=`eval $prev`
15787 - export echo_test_string
15788 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
15790 - # Oops. We lost completely, so just stick with echo.
15799 -# Copy echo and quote the copy suitably for passing to libtool from
15800 -# the Makefile, instead of quoting the original, which is used later.
15802 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
15803 - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
15807 -])])# _LT_AC_PROG_ECHO_BACKSLASH
15812 -AC_DEFUN([_LT_AC_LOCK],
15813 -[AC_ARG_ENABLE([libtool-lock],
15814 - [AC_HELP_STRING([--disable-libtool-lock],
15815 - [avoid locking (might break parallel builds)])])
15816 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15818 -# Some flags need to be propagated to the compiler or linker for good
15819 -# libtool support.
15822 - # Find out which ABI we are using.
15823 - echo 'int i;' > conftest.$ac_ext
15824 - if AC_TRY_EVAL(ac_compile); then
15825 - case `/usr/bin/file conftest.$ac_objext` in
15827 - HPUX_IA64_MODE="32"
15830 - HPUX_IA64_MODE="64"
15837 - # Find out which ABI we are using.
15838 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
15839 - if AC_TRY_EVAL(ac_compile); then
15840 - if test "$lt_cv_prog_gnu_ld" = yes; then
15841 - case `/usr/bin/file conftest.$ac_objext` in
15843 - LD="${LD-ld} -melf32bsmip"
15846 - LD="${LD-ld} -melf32bmipn32"
15849 - LD="${LD-ld} -melf64bmip"
15853 - case `/usr/bin/file conftest.$ac_objext` in
15855 - LD="${LD-ld} -32"
15858 - LD="${LD-ld} -n32"
15861 - LD="${LD-ld} -64"
15869 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
15870 - # Find out which ABI we are using.
15871 - echo 'int i;' > conftest.$ac_ext
15872 - if AC_TRY_EVAL(ac_compile); then
15873 - case "`/usr/bin/file conftest.o`" in
15877 - LD="${LD-ld} -m elf_i386"
15880 - LD="${LD-ld} -m elf32ppclinux"
15883 - LD="${LD-ld} -m elf_s390"
15886 - LD="${LD-ld} -m elf32_sparc"
15893 - LD="${LD-ld} -m elf_x86_64"
15895 - ppc*-*linux*|powerpc*-*linux*)
15896 - LD="${LD-ld} -m elf64ppc"
15899 - LD="${LD-ld} -m elf64_s390"
15902 - LD="${LD-ld} -m elf64_sparc"
15912 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15913 - SAVE_CFLAGS="$CFLAGS"
15914 - CFLAGS="$CFLAGS -belf"
15915 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
15917 - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
15919 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15920 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15921 - CFLAGS="$SAVE_CFLAGS"
15924 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
15925 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
15926 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
15927 - AC_CHECK_TOOL(AS, as, false)
15928 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
15933 -need_locks="$enable_libtool_lock"
15938 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
15939 -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
15940 -# ----------------------------------------------------------------
15941 -# Check whether the given compiler option works
15942 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
15943 -[AC_CACHE_CHECK([$1], [$2],
15945 - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
15946 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15947 - lt_compiler_flag="$3"
15948 - # Insert the option either (1) after the last *FLAGS variable, or
15949 - # (2) before a word containing "conftest.", or (3) at the end.
15950 - # Note that $ac_compile itself does not contain backslashes and begins
15951 - # with a dollar sign (not a hyphen), so the echo should work correctly.
15952 - # The option is referenced via a variable to avoid confusing sed.
15953 - lt_compile=`echo "$ac_compile" | $SED \
15954 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15955 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
15956 - -e 's:$: $lt_compiler_flag:'`
15957 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
15958 - (eval "$lt_compile" 2>conftest.err)
15960 - cat conftest.err >&AS_MESSAGE_LOG_FD
15961 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
15962 - if (exit $ac_status) && test -s "$ac_outfile"; then
15963 - # The compiler can only warn and ignore the option if not recognized
15964 - # So say no if there are warnings
15965 - if test ! -s conftest.err; then
15972 -if test x"[$]$2" = xyes; then
15973 - ifelse([$5], , :, [$5])
15975 - ifelse([$6], , :, [$6])
15977 -])# AC_LIBTOOL_COMPILER_OPTION
15980 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
15981 -# [ACTION-SUCCESS], [ACTION-FAILURE])
15982 -# ------------------------------------------------------------
15983 -# Check whether the given compiler option works
15984 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
15985 -[AC_CACHE_CHECK([$1], [$2],
15987 - save_LDFLAGS="$LDFLAGS"
15988 - LDFLAGS="$LDFLAGS $3"
15989 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
15990 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15991 - # The compiler can only warn and ignore the option if not recognized
15992 - # So say no if there are warnings
15993 - if test -s conftest.err; then
15994 - # Append any errors to the config.log.
15995 - cat conftest.err 1>&AS_MESSAGE_LOG_FD
16001 - LDFLAGS="$save_LDFLAGS"
16004 -if test x"[$]$2" = xyes; then
16005 - ifelse([$4], , :, [$4])
16007 - ifelse([$5], , :, [$5])
16009 -])# AC_LIBTOOL_LINKER_OPTION
16012 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
16013 -# --------------------------
16014 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
16015 -[# find the maximum length of command line arguments
16016 -AC_MSG_CHECKING([the maximum length of command line arguments])
16017 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
16021 - case $build_os in
16023 - # On DJGPP, this test can blow up pretty badly due to problems in libc
16024 - # (any single argument exceeding 2000 bytes causes a buffer overrun
16025 - # during glob expansion). Even if it were fixed, the result of this
16026 - # check would be larger than it should be.
16027 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
16031 - # Under GNU Hurd, this test is not required because there is
16032 - # no limit to the length of command line arguments.
16033 - # Libtool will interpret -1 as no limit whatsoever
16034 - lt_cv_sys_max_cmd_len=-1;
16037 - cygwin* | mingw*)
16038 - # On Win9x/ME, this test blows up -- it succeeds, but takes
16039 - # about 5 minutes as the teststring grows exponentially.
16040 - # Worse, since 9x/ME are not pre-emptively multitasking,
16041 - # you end up with a "frozen" computer, even though with patience
16042 - # the test eventually succeeds (with a max line length of 256k).
16043 - # Instead, let's just punt: use the minimum linelength reported by
16044 - # all of the supported platforms: 8192 (on NT/2K/XP).
16045 - lt_cv_sys_max_cmd_len=8192;
16049 - # If test is not a shell built-in, we'll probably end up computing a
16050 - # maximum length that is only half of the actual maximum length, but
16052 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
16053 - = "XX$testring") >/dev/null 2>&1 &&
16054 - new_result=`expr "X$testring" : ".*" 2>&1` &&
16055 - lt_cv_sys_max_cmd_len=$new_result &&
16056 - test $i != 17 # 1/2 MB should be enough
16059 - testring=$testring$testring
16062 - # Add a significant safety factor because C++ compilers can tack on massive
16063 - # amounts of additional arguments before passing them to the linker.
16064 - # It appears as though 1/2 is a usable value.
16065 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16069 -if test -n $lt_cv_sys_max_cmd_len ; then
16070 - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
16072 - AC_MSG_RESULT(none)
16074 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
16077 -# _LT_AC_CHECK_DLFCN
16078 -# --------------------
16079 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
16080 -[AC_CHECK_HEADERS(dlfcn.h)dnl
16081 -])# _LT_AC_CHECK_DLFCN
16084 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
16085 -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
16086 -# ------------------------------------------------------------------
16087 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
16088 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16089 -if test "$cross_compiling" = yes; then :
16092 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16093 - lt_status=$lt_dlunknown
16094 - cat > conftest.$ac_ext <<EOF
16095 -[#line __oline__ "configure"
16096 -#include "confdefs.h"
16099 -#include <dlfcn.h>
16102 -#include <stdio.h>
16104 -#ifdef RTLD_GLOBAL
16105 -# define LT_DLGLOBAL RTLD_GLOBAL
16108 -# define LT_DLGLOBAL DL_GLOBAL
16110 -# define LT_DLGLOBAL 0
16114 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16115 - find out it does not work in some platform. */
16116 -#ifndef LT_DLLAZY_OR_NOW
16118 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
16121 -# define LT_DLLAZY_OR_NOW DL_LAZY
16124 -# define LT_DLLAZY_OR_NOW RTLD_NOW
16127 -# define LT_DLLAZY_OR_NOW DL_NOW
16129 -# define LT_DLLAZY_OR_NOW 0
16136 -#ifdef __cplusplus
16137 -extern "C" void exit (int);
16140 -void fnord() { int i=42;}
16143 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16144 - int status = $lt_dlunknown;
16148 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16149 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16150 - /* dlclose (self); */
16156 - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
16157 - (./conftest; exit; ) 2>/dev/null
16159 - case x$lt_status in
16160 - x$lt_dlno_uscore) $1 ;;
16161 - x$lt_dlneed_uscore) $2 ;;
16162 - x$lt_unknown|x*) $3 ;;
16165 - # compilation failed
16170 -])# _LT_AC_TRY_DLOPEN_SELF
16173 -# AC_LIBTOOL_DLOPEN_SELF
16174 -# -------------------
16175 -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
16176 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16177 -if test "x$enable_dlopen" != xyes; then
16178 - enable_dlopen=unknown
16179 - enable_dlopen_self=unknown
16180 - enable_dlopen_self_static=unknown
16183 - lt_cv_dlopen_libs=
16187 - lt_cv_dlopen="load_add_on"
16188 - lt_cv_dlopen_libs=
16189 - lt_cv_dlopen_self=yes
16193 - lt_cv_dlopen="LoadLibrary"
16194 - lt_cv_dlopen_libs=
16198 - lt_cv_dlopen="dlopen"
16199 - lt_cv_dlopen_libs=
16203 - # if libdl is installed we need to link against it
16204 - AC_CHECK_LIB([dl], [dlopen],
16205 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
16206 - lt_cv_dlopen="dyld"
16207 - lt_cv_dlopen_libs=
16208 - lt_cv_dlopen_self=yes
16213 - AC_CHECK_FUNC([shl_load],
16214 - [lt_cv_dlopen="shl_load"],
16215 - [AC_CHECK_LIB([dld], [shl_load],
16216 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
16217 - [AC_CHECK_FUNC([dlopen],
16218 - [lt_cv_dlopen="dlopen"],
16219 - [AC_CHECK_LIB([dl], [dlopen],
16220 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
16221 - [AC_CHECK_LIB([svld], [dlopen],
16222 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
16223 - [AC_CHECK_LIB([dld], [dld_link],
16224 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
16233 - if test "x$lt_cv_dlopen" != xno; then
16234 - enable_dlopen=yes
16239 - case $lt_cv_dlopen in
16241 - save_CPPFLAGS="$CPPFLAGS"
16242 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16244 - save_LDFLAGS="$LDFLAGS"
16245 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16247 - save_LIBS="$LIBS"
16248 - LIBS="$lt_cv_dlopen_libs $LIBS"
16250 - AC_CACHE_CHECK([whether a program can dlopen itself],
16251 - lt_cv_dlopen_self, [dnl
16252 - _LT_AC_TRY_DLOPEN_SELF(
16253 - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
16254 - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
16257 - if test "x$lt_cv_dlopen_self" = xyes; then
16258 - LDFLAGS="$LDFLAGS $link_static_flag"
16259 - AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
16260 - lt_cv_dlopen_self_static, [dnl
16261 - _LT_AC_TRY_DLOPEN_SELF(
16262 - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
16263 - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
16267 - CPPFLAGS="$save_CPPFLAGS"
16268 - LDFLAGS="$save_LDFLAGS"
16269 - LIBS="$save_LIBS"
16273 - case $lt_cv_dlopen_self in
16274 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16275 - *) enable_dlopen_self=unknown ;;
16278 - case $lt_cv_dlopen_self_static in
16279 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16280 - *) enable_dlopen_self_static=unknown ;;
16283 -])# AC_LIBTOOL_DLOPEN_SELF
16286 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
16287 -# ---------------------------------
16288 -# Check to see if options -c and -o are simultaneously supported by compiler
16289 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
16290 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16291 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
16292 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
16293 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
16294 - $rm -r conftest 2>/dev/null
16298 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16300 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16301 - # that will create temporary files in the current directory regardless of
16302 - # the output directory. Thus, making CWD read-only will cause this test
16303 - # to fail, enabling locking or at least warning the user not to do parallel
16307 - lt_compiler_flag="-o out/conftest2.$ac_objext"
16308 - # Insert the option either (1) after the last *FLAGS variable, or
16309 - # (2) before a word containing "conftest.", or (3) at the end.
16310 - # Note that $ac_compile itself does not contain backslashes and begins
16311 - # with a dollar sign (not a hyphen), so the echo should work correctly.
16312 - lt_compile=`echo "$ac_compile" | $SED \
16313 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16314 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
16315 - -e 's:$: $lt_compiler_flag:'`
16316 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
16317 - (eval "$lt_compile" 2>out/conftest.err)
16319 - cat out/conftest.err >&AS_MESSAGE_LOG_FD
16320 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16321 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
16323 - # The compiler can only warn and ignore the option if not recognized
16324 - # So say no if there are warnings
16325 - if test ! -s out/conftest.err; then
16326 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
16330 - $rm conftest* out/*
16336 -])# AC_LIBTOOL_PROG_CC_C_O
16339 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
16340 -# -----------------------------------------
16341 -# Check to see if we can do hard links to lock some files if needed
16342 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
16343 -[AC_REQUIRE([_LT_AC_LOCK])dnl
16345 -hard_links="nottested"
16346 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
16347 - # do not overwrite the value of need_locks provided by the user
16348 - AC_MSG_CHECKING([if we can lock with hard links])
16351 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
16353 - ln conftest.a conftest.b 2>&5 || hard_links=no
16354 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
16355 - AC_MSG_RESULT([$hard_links])
16356 - if test "$hard_links" = no; then
16357 - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
16363 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
16366 -# AC_LIBTOOL_OBJDIR
16367 -# -----------------
16368 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
16369 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
16370 -[rm -f .libs 2>/dev/null
16371 -mkdir .libs 2>/dev/null
16372 -if test -d .libs; then
16373 - lt_cv_objdir=.libs
16375 - # MS-DOS does not allow filenames that begin with a dot.
16376 - lt_cv_objdir=_libs
16378 -rmdir .libs 2>/dev/null])
16379 -objdir=$lt_cv_objdir
16380 -])# AC_LIBTOOL_OBJDIR
16383 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
16384 -# ----------------------------------------------
16385 -# Check hardcoding attributes.
16386 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
16387 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
16388 -_LT_AC_TAGVAR(hardcode_action, $1)=
16389 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
16390 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
16391 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
16393 - # We can hardcode non-existant directories.
16394 - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
16395 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
16396 - # have to relink, otherwise we might link with an installed library
16397 - # when we should be linking with a yet-to-be-installed one
16398 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
16399 - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
16400 - # Linking always hardcodes the temporary library directory.
16401 - _LT_AC_TAGVAR(hardcode_action, $1)=relink
16403 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
16404 - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
16407 - # We cannot hardcode anything, or else we can only hardcode existing
16409 - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
16411 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
16413 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
16414 - # Fast installation is not supported
16415 - enable_fast_install=no
16416 -elif test "$shlibpath_overrides_runpath" = yes ||
16417 - test "$enable_shared" = no; then
16418 - # Fast installation is not necessary
16419 - enable_fast_install=needless
16421 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
16424 -# AC_LIBTOOL_SYS_LIB_STRIP
16425 -# ------------------------
16426 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
16429 -AC_MSG_CHECKING([whether stripping libraries is possible])
16430 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16431 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16432 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16433 - AC_MSG_RESULT([yes])
16435 -# FIXME - insert some real tests, host_os isn't really good enough
16438 - if test -n "$STRIP" ; then
16439 - striplib="$STRIP -x"
16440 - AC_MSG_RESULT([yes])
16442 - AC_MSG_RESULT([no])
16446 - AC_MSG_RESULT([no])
16450 -])# AC_LIBTOOL_SYS_LIB_STRIP
16453 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
16454 -# -----------------------------
16455 -# PORTME Fill in your ld.so characteristics
16456 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
16457 -[AC_MSG_CHECKING([dynamic linker characteristics])
16458 -library_names_spec=
16459 -libname_spec='lib$name'
16463 -postuninstall_cmds=
16467 -shlibpath_overrides_runpath=unknown
16469 -dynamic_linker="$host_os ld.so"
16470 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
16471 -if test "$GCC" = yes; then
16472 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16473 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16474 - # if the path contains ";" then we assume it to be the separator
16475 - # otherwise default to the standard path separator (i.e. ":") - it is
16476 - # assumed that no part of a normal pathname contains ";" but that should
16477 - # okay in the real world where ";" in dirpaths is itself problematic.
16478 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16480 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16483 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16485 -need_lib_prefix=unknown
16486 -hardcode_into_libs=no
16488 -# when you set need_version to no, make sure it does not cause -set_version
16489 -# flags to be left without arguments
16490 -need_version=unknown
16494 - version_type=linux
16495 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16496 - shlibpath_var=LIBPATH
16498 - # AIX 3 has no versioning support, so we append a major version to the name.
16499 - soname_spec='${libname}${release}${shared_ext}$major'
16503 - version_type=linux
16504 - need_lib_prefix=no
16506 - hardcode_into_libs=yes
16507 - if test "$host_cpu" = ia64; then
16508 - # AIX 5 supports IA64
16509 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16510 - shlibpath_var=LD_LIBRARY_PATH
16512 - # With GCC up to 2.95.x, collect2 would create an import file
16513 - # for dependence libraries. The import file would start with
16514 - # the line `#! .'. This would cause the generated library to
16515 - # depend on `.', always an invalid library. This was fixed in
16516 - # development snapshots of GCC prior to 3.0.
16518 - aix4 | aix4.[[01]] | aix4.[[01]].*)
16519 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16521 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16524 - can_build_shared=no
16528 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16529 - # soname into executable. Probably we can add versioning support to
16530 - # collect2, so additional links can be useful in future.
16531 - if test "$aix_use_runtimelinking" = yes; then
16532 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16533 - # instead of lib<name>.a to let people know that these are not
16534 - # typical AIX shared libraries.
16535 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16537 - # We preserve .a as extension for shared libraries through AIX4.2
16538 - # and later when we are not doing run time linking.
16539 - library_names_spec='${libname}${release}.a $libname.a'
16540 - soname_spec='${libname}${release}${shared_ext}$major'
16542 - shlibpath_var=LIBPATH
16547 - library_names_spec='$libname.ixlibrary $libname.a'
16548 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
16549 - 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'
16553 - library_names_spec='${libname}${shared_ext}'
16554 - dynamic_linker="$host_os ld.so"
16555 - shlibpath_var=LIBRARY_PATH
16559 - version_type=linux
16561 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16562 - soname_spec='${libname}${release}${shared_ext}$major'
16563 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16564 - shlibpath_var=LD_LIBRARY_PATH
16565 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16566 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16567 - # the default ld.so.conf also contains /usr/contrib/lib and
16568 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16569 - # libtool to hard-code these into programs
16572 -cygwin* | mingw* | pw32*)
16573 - version_type=windows
16576 - need_lib_prefix=no
16578 - case $GCC,$host_os in
16579 - yes,cygwin* | yes,mingw* | yes,pw32*)
16580 - library_names_spec='$libname.dll.a'
16581 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
16582 - postinstall_cmds='base_file=`basename \${file}`~
16583 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16584 - dldir=$destdir/`dirname \$dlpath`~
16585 - test -d \$dldir || mkdir -p \$dldir~
16586 - $install_prog $dir/$dlname \$dldir/$dlname'
16587 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16588 - dlpath=$dir/\$dldll~
16590 - shlibpath_overrides_runpath=yes
16594 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16595 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16596 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16599 - # MinGW DLLs use traditional 'lib' prefix
16600 - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16601 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16602 - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
16603 - # It is most probably a Windows format PATH printed by
16604 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
16605 - # path with ; separators, and with drive letters. We can handle the
16606 - # drive letters (cygwin fileutils understands them), so leave them,
16607 - # especially as we might pass files found there to a mingw objdump,
16608 - # which wouldn't understand a cygwinified path. Ahh.
16609 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16611 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16615 - # pw32 DLLs use 'pw' prefix rather than 'lib'
16616 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16622 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
16625 - dynamic_linker='Win32 ld.exe'
16626 - # FIXME: first we should search . and the directory the executable is in
16627 - shlibpath_var=PATH
16630 -darwin* | rhapsody*)
16631 - dynamic_linker="$host_os dyld"
16632 - version_type=darwin
16633 - need_lib_prefix=no
16635 - # FIXME: Relying on posixy $() will cause problems for
16636 - # cross-compilation, but unfortunately the echo tests do not
16637 - # yet detect zsh echo's removal of \ escapes.
16638 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16639 - soname_spec='${libname}${release}${major}$shared_ext'
16640 - shlibpath_overrides_runpath=yes
16641 - shlibpath_var=DYLD_LIBRARY_PATH
16642 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16643 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16644 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16645 - 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"`
16647 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16651 - version_type=linux
16652 - need_lib_prefix=no
16654 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16655 - soname_spec='${libname}${release}${shared_ext}$major'
16656 - shlibpath_var=LD_LIBRARY_PATH
16660 - dynamic_linker=no
16664 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16665 - version_type=freebsd-$objformat
16666 - case $version_type in
16668 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16670 - need_lib_prefix=no
16673 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16677 - shlibpath_var=LD_LIBRARY_PATH
16680 - shlibpath_overrides_runpath=yes
16682 - freebsd3.[01]* | freebsdelf3.[01]*)
16683 - shlibpath_overrides_runpath=yes
16684 - hardcode_into_libs=yes
16687 - shlibpath_overrides_runpath=no
16688 - hardcode_into_libs=yes
16694 - version_type=linux
16695 - need_lib_prefix=no
16697 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16698 - soname_spec='${libname}${release}${shared_ext}$major'
16699 - shlibpath_var=LD_LIBRARY_PATH
16700 - hardcode_into_libs=yes
16703 -hpux9* | hpux10* | hpux11*)
16704 - # Give a soname corresponding to the major version so that dld.sl refuses to
16705 - # link against other versions.
16706 - version_type=sunos
16707 - need_lib_prefix=no
16709 - case "$host_cpu" in
16712 - hardcode_into_libs=yes
16713 - dynamic_linker="$host_os dld.so"
16714 - shlibpath_var=LD_LIBRARY_PATH
16715 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16716 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16717 - soname_spec='${libname}${release}${shared_ext}$major'
16718 - if test "X$HPUX_IA64_MODE" = X32; then
16719 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16721 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16723 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16727 - hardcode_into_libs=yes
16728 - dynamic_linker="$host_os dld.sl"
16729 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16730 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16731 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 - soname_spec='${libname}${release}${shared_ext}$major'
16733 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16734 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16738 - dynamic_linker="$host_os dld.sl"
16739 - shlibpath_var=SHLIB_PATH
16740 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16741 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16742 - soname_spec='${libname}${release}${shared_ext}$major'
16745 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
16746 - postinstall_cmds='chmod 555 $lib'
16749 -irix5* | irix6* | nonstopux*)
16751 - nonstopux*) version_type=nonstopux ;;
16753 - if test "$lt_cv_prog_gnu_ld" = yes; then
16754 - version_type=linux
16756 - version_type=irix
16759 - need_lib_prefix=no
16761 - soname_spec='${libname}${release}${shared_ext}$major'
16762 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16764 - irix5* | nonstopux*)
16765 - libsuff= shlibsuff=
16768 - case $LD in # libtool.m4 will add one of these switches to LD
16769 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16770 - libsuff= shlibsuff= libmagic=32-bit;;
16771 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16772 - libsuff=32 shlibsuff=N32 libmagic=N32;;
16773 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16774 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
16775 - *) libsuff= shlibsuff= libmagic=never-match;;
16779 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16780 - shlibpath_overrides_runpath=no
16781 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16782 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16783 - hardcode_into_libs=yes
16786 -# No shared lib support for Linux oldld, aout, or coff.
16787 -linux*oldld* | linux*aout* | linux*coff*)
16788 - dynamic_linker=no
16791 -# This must be Linux ELF.
16793 - version_type=linux
16794 - need_lib_prefix=no
16796 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16797 - soname_spec='${libname}${release}${shared_ext}$major'
16798 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16799 - shlibpath_var=LD_LIBRARY_PATH
16800 - shlibpath_overrides_runpath=no
16801 - # This implies no fast_install, which is unacceptable.
16802 - # Some rework will be needed to allow for fast_install
16803 - # before this can be enabled.
16804 - hardcode_into_libs=yes
16806 - # We used to test for /lib/ld.so.1 and disable shared libraries on
16807 - # powerpc, because MkLinux only supported shared libraries with the
16808 - # GNU dynamic linker. Since this was broken with cross compilers,
16809 - # most powerpc-linux boxes support dynamic linking these days and
16810 - # people can always --disable-shared, the test was removed, and we
16811 - # assume the GNU/Linux dynamic linker is in use.
16812 - dynamic_linker='GNU/Linux ld.so'
16816 - version_type=sunos
16817 - need_lib_prefix=no
16819 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16820 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16821 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16822 - dynamic_linker='NetBSD (a.out) ld.so'
16824 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16825 - soname_spec='${libname}${release}${shared_ext}$major'
16826 - dynamic_linker='NetBSD ld.elf_so'
16828 - shlibpath_var=LD_LIBRARY_PATH
16829 - shlibpath_overrides_runpath=yes
16830 - hardcode_into_libs=yes
16834 - version_type=linux
16835 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16836 - shlibpath_var=LD_LIBRARY_PATH
16837 - shlibpath_overrides_runpath=yes
16841 - version_type=linux
16842 - need_lib_prefix=no
16844 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16845 - soname_spec='${libname}${release}${shared_ext}$major'
16846 - shlibpath_var=LD_LIBRARY_PATH
16847 - shlibpath_overrides_runpath=yes
16851 - version_type=sunos
16852 - need_lib_prefix=no
16854 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16855 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16856 - shlibpath_var=LD_LIBRARY_PATH
16857 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16859 - openbsd2.[[89]] | openbsd2.[[89]].*)
16860 - shlibpath_overrides_runpath=no
16863 - shlibpath_overrides_runpath=yes
16867 - shlibpath_overrides_runpath=yes
16872 - libname_spec='$name'
16874 - need_lib_prefix=no
16875 - library_names_spec='$libname${shared_ext} $libname.a'
16876 - dynamic_linker='OS/2 ld.exe'
16877 - shlibpath_var=LIBPATH
16880 -osf3* | osf4* | osf5*)
16882 - need_lib_prefix=no
16884 - soname_spec='${libname}${release}${shared_ext}$major'
16885 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16886 - shlibpath_var=LD_LIBRARY_PATH
16887 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16888 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16893 - soname_spec='${libname}${release}${shared_ext}$major'
16894 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16895 - shlibpath_var=LD_LIBRARY_PATH
16899 - version_type=linux
16900 - need_lib_prefix=no
16902 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16903 - soname_spec='${libname}${release}${shared_ext}$major'
16904 - shlibpath_var=LD_LIBRARY_PATH
16905 - shlibpath_overrides_runpath=yes
16906 - hardcode_into_libs=yes
16907 - # ldd complains unless libraries are executable
16908 - postinstall_cmds='chmod +x $lib'
16912 - version_type=sunos
16913 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16914 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16915 - shlibpath_var=LD_LIBRARY_PATH
16916 - shlibpath_overrides_runpath=yes
16917 - if test "$with_gnu_ld" = yes; then
16918 - need_lib_prefix=no
16923 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16924 - version_type=linux
16925 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16926 - soname_spec='${libname}${release}${shared_ext}$major'
16927 - shlibpath_var=LD_LIBRARY_PATH
16928 - case $host_vendor in
16930 - shlibpath_overrides_runpath=no
16931 - need_lib_prefix=no
16932 - export_dynamic_flag_spec='${wl}-Blargedynsym'
16933 - runpath_var=LD_RUN_PATH
16936 - need_lib_prefix=no
16939 - need_lib_prefix=no
16941 - shlibpath_overrides_runpath=no
16942 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16948 - if test -d /usr/nec ;then
16949 - version_type=linux
16950 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16951 - soname_spec='$libname${shared_ext}.$major'
16952 - shlibpath_var=LD_LIBRARY_PATH
16957 - version_type=linux
16958 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16959 - soname_spec='${libname}${release}${shared_ext}$major'
16960 - shlibpath_var=LD_LIBRARY_PATH
16964 - dynamic_linker=no
16967 -AC_MSG_RESULT([$dynamic_linker])
16968 -test "$dynamic_linker" = no && can_build_shared=no
16969 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
16972 -# _LT_AC_TAGCONFIG
16973 -# ----------------
16974 -AC_DEFUN([_LT_AC_TAGCONFIG],
16975 -[AC_ARG_WITH([tags],
16976 - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
16977 - [include additional configurations @<:@automatic@:>@])],
16978 - [tagnames="$withval"])
16980 -if test -f "$ltmain" && test -n "$tagnames"; then
16981 - if test ! -f "${ofile}"; then
16982 - AC_MSG_WARN([output file `$ofile' does not exist])
16985 - if test -z "$LTCC"; then
16986 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16987 - if test -z "$LTCC"; then
16988 - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
16990 - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
16994 - # Extract list of available tagged configurations in $ofile.
16995 - # Note that this assumes the entire list is on one line.
16996 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16998 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16999 - for tagname in $tagnames; do
17000 - IFS="$lt_save_ifs"
17001 - # Check whether tagname contains only valid characters
17002 - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
17004 - *) AC_MSG_ERROR([invalid tag name: $tagname])
17008 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17010 - AC_MSG_ERROR([tag name \"$tagname\" already exists])
17013 - # Update the list of available tags.
17014 - if test -n "$tagname"; then
17015 - echo appending configuration tag \"$tagname\" to $ofile
17019 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
17020 - AC_LIBTOOL_LANG_CXX_CONFIG
17027 - if test -n "$F77" && test "X$F77" != "Xno"; then
17028 - AC_LIBTOOL_LANG_F77_CONFIG
17035 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17036 - AC_LIBTOOL_LANG_GCJ_CONFIG
17043 - AC_LIBTOOL_LANG_RC_CONFIG
17047 - AC_MSG_ERROR([Unsupported tag name: $tagname])
17051 - # Append the new tag name to the list of available tags.
17052 - if test -n "$tagname" ; then
17053 - available_tags="$available_tags $tagname"
17057 - IFS="$lt_save_ifs"
17059 - # Now substitute the updated list of available tags.
17060 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
17061 - mv "${ofile}T" "$ofile"
17062 - chmod +x "$ofile"
17064 - rm -f "${ofile}T"
17065 - AC_MSG_ERROR([unable to update list of available tagged configurations.])
17068 -])# _LT_AC_TAGCONFIG
17071 -# AC_LIBTOOL_DLOPEN
17072 -# -----------------
17073 -# enable checks for dlopen support
17074 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
17075 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
17076 -])# AC_LIBTOOL_DLOPEN
17079 -# AC_LIBTOOL_WIN32_DLL
17080 -# --------------------
17081 -# declare package support for building win32 dll's
17082 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
17083 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
17084 -])# AC_LIBTOOL_WIN32_DLL
17087 -# AC_ENABLE_SHARED([DEFAULT])
17088 -# ---------------------------
17089 -# implement the --enable-shared flag
17090 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
17091 -AC_DEFUN([AC_ENABLE_SHARED],
17092 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
17093 -AC_ARG_ENABLE([shared],
17094 - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
17095 - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
17096 - [p=${PACKAGE-default}
17097 - case $enableval in
17098 - yes) enable_shared=yes ;;
17099 - no) enable_shared=no ;;
17102 - # Look at the argument we got. We use all the common list separators.
17103 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17104 - for pkg in $enableval; do
17105 - IFS="$lt_save_ifs"
17106 - if test "X$pkg" = "X$p"; then
17107 - enable_shared=yes
17110 - IFS="$lt_save_ifs"
17113 - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
17114 -])# AC_ENABLE_SHARED
17117 -# AC_DISABLE_SHARED
17118 -# -----------------
17119 -#- set the default shared flag to --disable-shared
17120 -AC_DEFUN([AC_DISABLE_SHARED],
17121 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17122 -AC_ENABLE_SHARED(no)
17123 -])# AC_DISABLE_SHARED
17126 -# AC_ENABLE_STATIC([DEFAULT])
17127 -# ---------------------------
17128 -# implement the --enable-static flag
17129 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
17130 -AC_DEFUN([AC_ENABLE_STATIC],
17131 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
17132 -AC_ARG_ENABLE([static],
17133 - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
17134 - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
17135 - [p=${PACKAGE-default}
17136 - case $enableval in
17137 - yes) enable_static=yes ;;
17138 - no) enable_static=no ;;
17141 - # Look at the argument we got. We use all the common list separators.
17142 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17143 - for pkg in $enableval; do
17144 - IFS="$lt_save_ifs"
17145 - if test "X$pkg" = "X$p"; then
17146 - enable_static=yes
17149 - IFS="$lt_save_ifs"
17152 - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
17153 -])# AC_ENABLE_STATIC
17156 -# AC_DISABLE_STATIC
17157 -# -----------------
17158 -# set the default static flag to --disable-static
17159 -AC_DEFUN([AC_DISABLE_STATIC],
17160 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17161 -AC_ENABLE_STATIC(no)
17162 -])# AC_DISABLE_STATIC
17165 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
17166 -# ---------------------------------
17167 -# implement the --enable-fast-install flag
17168 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
17169 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
17170 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
17171 -AC_ARG_ENABLE([fast-install],
17172 - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
17173 - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
17174 - [p=${PACKAGE-default}
17175 - case $enableval in
17176 - yes) enable_fast_install=yes ;;
17177 - no) enable_fast_install=no ;;
17179 - enable_fast_install=no
17180 - # Look at the argument we got. We use all the common list separators.
17181 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17182 - for pkg in $enableval; do
17183 - IFS="$lt_save_ifs"
17184 - if test "X$pkg" = "X$p"; then
17185 - enable_fast_install=yes
17188 - IFS="$lt_save_ifs"
17191 - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
17192 -])# AC_ENABLE_FAST_INSTALL
17195 -# AC_DISABLE_FAST_INSTALL
17196 -# -----------------------
17197 -# set the default to --disable-fast-install
17198 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
17199 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17200 -AC_ENABLE_FAST_INSTALL(no)
17201 -])# AC_DISABLE_FAST_INSTALL
17204 -# AC_LIBTOOL_PICMODE([MODE])
17205 -# --------------------------
17206 -# implement the --with-pic flag
17207 -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
17208 -AC_DEFUN([AC_LIBTOOL_PICMODE],
17209 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17210 -pic_mode=ifelse($#,1,$1,default)
17211 -])# AC_LIBTOOL_PICMODE
17216 -# This is predefined starting with Autoconf 2.54, so this conditional
17217 -# definition can be removed once we require Autoconf 2.54 or later.
17218 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
17219 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
17220 - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
17221 - then ac_cv_prog_egrep='grep -E'
17222 - else ac_cv_prog_egrep='egrep'
17224 - EGREP=$ac_cv_prog_egrep
17225 - AC_SUBST([EGREP])
17229 -# AC_PATH_TOOL_PREFIX
17230 -# -------------------
17231 -# find a file program which can recognise shared library
17232 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
17233 -[AC_REQUIRE([AC_PROG_EGREP])dnl
17234 -AC_MSG_CHECKING([for $1])
17235 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
17236 -[case $MAGIC_CMD in
17237 -[[\\/*] | ?:[\\/]*])
17238 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
17241 - lt_save_MAGIC_CMD="$MAGIC_CMD"
17242 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17243 -dnl $ac_dummy forces splitting on constant user-supplied paths.
17244 -dnl POSIX.2 word splitting is done only on the output of word expansions,
17245 -dnl not every word. This closes a longstanding sh security hole.
17246 - ac_dummy="ifelse([$2], , $PATH, [$2])"
17247 - for ac_dir in $ac_dummy; do
17248 - IFS="$lt_save_ifs"
17249 - test -z "$ac_dir" && ac_dir=.
17250 - if test -f $ac_dir/$1; then
17251 - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
17252 - if test -n "$file_magic_test_file"; then
17253 - case $deplibs_check_method in
17255 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
17256 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17257 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
17258 - $EGREP "$file_magic_regex" > /dev/null; then
17263 -*** Warning: the command libtool uses to detect shared libraries,
17264 -*** $file_magic_cmd, produces output that libtool cannot recognize.
17265 -*** The result is that libtool may fail to recognize shared libraries
17266 -*** as such. This will affect the creation of libtool libraries that
17267 -*** depend on shared libraries, but programs linked with such libtool
17268 -*** libraries will work regardless of this problem. Nevertheless, you
17269 -*** may want to report the problem to your system manager and/or to
17270 -*** bug-libtool@gnu.org
17279 - IFS="$lt_save_ifs"
17280 - MAGIC_CMD="$lt_save_MAGIC_CMD"
17283 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17284 -if test -n "$MAGIC_CMD"; then
17285 - AC_MSG_RESULT($MAGIC_CMD)
17287 - AC_MSG_RESULT(no)
17289 -])# AC_PATH_TOOL_PREFIX
17294 -# find a file program which can recognise a shared library
17295 -AC_DEFUN([AC_PATH_MAGIC],
17296 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
17297 -if test -z "$lt_cv_path_MAGIC_CMD"; then
17298 - if test -n "$ac_tool_prefix"; then
17299 - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
17309 -# find the path to the GNU or non-GNU linker
17310 -AC_DEFUN([AC_PROG_LD],
17311 -[AC_ARG_WITH([gnu-ld],
17312 - [AC_HELP_STRING([--with-gnu-ld],
17313 - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
17314 - [test "$withval" = no || with_gnu_ld=yes],
17315 - [with_gnu_ld=no])
17316 -AC_REQUIRE([LT_AC_PROG_SED])dnl
17317 -AC_REQUIRE([AC_PROG_CC])dnl
17318 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
17319 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
17321 -if test "$GCC" = yes; then
17322 - # Check if gcc -print-prog-name=ld gives a path.
17323 - AC_MSG_CHECKING([for ld used by $CC])
17326 - # gcc leaves a trailing carriage return which upsets mingw
17327 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17329 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17332 - # Accept absolute paths.
17333 - [[\\/]]* | ?:[[\\/]]*)
17334 - re_direlt='/[[^/]][[^/]]*/\.\./'
17335 - # Canonicalize the path of ld
17336 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
17337 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17338 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
17340 - test -z "$LD" && LD="$ac_prog"
17343 - # If it fails, then pretend we aren't using GCC.
17347 - # If it is relative, then search for the first ld in PATH.
17348 - with_gnu_ld=unknown
17351 -elif test "$with_gnu_ld" = yes; then
17352 - AC_MSG_CHECKING([for GNU ld])
17354 - AC_MSG_CHECKING([for non-GNU ld])
17356 -AC_CACHE_VAL(lt_cv_path_LD,
17357 -[if test -z "$LD"; then
17358 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17359 - for ac_dir in $PATH; do
17360 - IFS="$lt_save_ifs"
17361 - test -z "$ac_dir" && ac_dir=.
17362 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17363 - lt_cv_path_LD="$ac_dir/$ac_prog"
17364 - # Check to see if the program is GNU ld. I'd rather use --version,
17365 - # but apparently some GNU ld's only accept -v.
17366 - # Break only if it was the GNU/non-GNU ld that we prefer.
17367 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17368 - *GNU* | *'with BFD'*)
17369 - test "$with_gnu_ld" != no && break
17372 - test "$with_gnu_ld" != yes && break
17377 - IFS="$lt_save_ifs"
17379 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
17381 -LD="$lt_cv_path_LD"
17382 -if test -n "$LD"; then
17383 - AC_MSG_RESULT($LD)
17385 - AC_MSG_RESULT(no)
17387 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
17394 -AC_DEFUN([AC_PROG_LD_GNU],
17395 -[AC_REQUIRE([AC_PROG_EGREP])dnl
17396 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
17397 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
17398 -case `"$LD" -v 2>&1 </dev/null` in
17399 -*GNU* | *'with BFD'*)
17400 - lt_cv_prog_gnu_ld=yes
17403 - lt_cv_prog_gnu_ld=no
17406 -with_gnu_ld=$lt_cv_prog_gnu_ld
17407 -])# AC_PROG_LD_GNU
17410 -# AC_PROG_LD_RELOAD_FLAG
17411 -# ----------------------
17412 -# find reload flag for linker
17413 -# -- PORTME Some linkers may need a different reload flag.
17414 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
17415 -[AC_CACHE_CHECK([for $LD option to reload object files],
17416 - lt_cv_ld_reload_flag,
17417 - [lt_cv_ld_reload_flag='-r'])
17418 -reload_flag=$lt_cv_ld_reload_flag
17419 -case $reload_flag in
17421 -*) reload_flag=" $reload_flag" ;;
17423 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
17424 -])# AC_PROG_LD_RELOAD_FLAG
17427 -# AC_DEPLIBS_CHECK_METHOD
17428 -# -----------------------
17429 -# how to check for library dependencies
17430 -# -- PORTME fill in with the dynamic library characteristics
17431 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
17432 -[AC_CACHE_CHECK([how to recognise dependent libraries],
17433 -lt_cv_deplibs_check_method,
17434 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
17435 -lt_cv_file_magic_test_file=
17436 -lt_cv_deplibs_check_method='unknown'
17437 -# Need to set the preceding variable on all platforms that support
17438 -# interlibrary dependencies.
17439 -# 'none' -- dependencies not supported.
17440 -# `unknown' -- same as none, but documents that we really don't know.
17441 -# 'pass_all' -- all dependencies passed with no checks.
17442 -# 'test_compile' -- check by making test program.
17443 -# 'file_magic [[regex]]' -- check by looking for files in library path
17444 -# which responds to the $file_magic_cmd with a given extended regex.
17445 -# If you have `file' or equivalent on your system and you're not sure
17446 -# whether `pass_all' will *always* work, you probably want this one.
17450 - lt_cv_deplibs_check_method=pass_all
17454 - lt_cv_deplibs_check_method=pass_all
17458 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
17459 - lt_cv_file_magic_cmd='/usr/bin/file -L'
17460 - lt_cv_file_magic_test_file=/shlib/libc.so
17463 -cygwin* | mingw* | pw32*)
17464 - # win32_libid is a shell function defined in ltmain.sh
17465 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
17466 - lt_cv_file_magic_cmd='win32_libid'
17469 -darwin* | rhapsody*)
17470 - # this will be overwritten by pass_all, but leave it in just in case
17471 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
17472 - lt_cv_file_magic_cmd='/usr/bin/file -L'
17473 - case "$host_os" in
17474 - rhapsody* | darwin1.[[012]])
17475 - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
17477 - *) # Darwin 1.3 on
17478 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
17481 - lt_cv_deplibs_check_method=pass_all
17485 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
17486 - case $host_cpu in
17488 - # Not sure whether the presence of OpenBSD here was a mistake.
17489 - # Let's accept both of them until this is cleared up.
17490 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
17491 - lt_cv_file_magic_cmd=/usr/bin/file
17492 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
17496 - lt_cv_deplibs_check_method=pass_all
17501 - lt_cv_deplibs_check_method=pass_all
17504 -hpux10.20* | hpux11*)
17505 - lt_cv_file_magic_cmd=/usr/bin/file
17506 - case "$host_cpu" in
17508 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
17509 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
17512 - [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]']
17513 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
17516 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
17517 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
17522 -irix5* | irix6* | nonstopux*)
17524 - irix5* | nonstopux*)
17525 - # this will be overridden with pass_all, but let us keep it just in case
17526 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
17530 - *-32|*"-32 ") libmagic=32-bit;;
17531 - *-n32|*"-n32 ") libmagic=N32;;
17532 - *-64|*"-64 ") libmagic=64-bit;;
17533 - *) libmagic=never-match;;
17535 - # this will be overridden with pass_all, but let us keep it just in case
17536 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
17539 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
17540 - lt_cv_deplibs_check_method=pass_all
17543 -# This must be Linux ELF.
17545 - case $host_cpu in
17546 - alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
17547 - lt_cv_deplibs_check_method=pass_all ;;
17549 - # glibc up to 2.1.1 does not perform some relocations on ARM
17550 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
17552 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
17556 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
17557 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
17559 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
17564 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
17565 - lt_cv_file_magic_cmd=/usr/bin/file
17566 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
17570 - lt_cv_deplibs_check_method=unknown
17574 - lt_cv_file_magic_cmd=/usr/bin/file
17575 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
17576 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17577 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
17579 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
17583 -osf3* | osf4* | osf5*)
17584 - # this will be overridden with pass_all, but let us keep it just in case
17585 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
17586 - lt_cv_file_magic_test_file=/shlib/libc.so
17587 - lt_cv_deplibs_check_method=pass_all
17591 - lt_cv_deplibs_check_method=pass_all
17595 - lt_cv_deplibs_check_method=pass_all
17596 - lt_cv_file_magic_test_file=/lib/libc.so
17599 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17600 - case $host_vendor in
17602 - 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]]'
17603 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
17606 - lt_cv_deplibs_check_method=pass_all
17609 - lt_cv_file_magic_cmd='/bin/file'
17610 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
17613 - lt_cv_file_magic_cmd='/bin/file'
17614 - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
17615 - lt_cv_file_magic_test_file=/lib/libc.so
17618 - lt_cv_deplibs_check_method=pass_all
17623 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
17624 - lt_cv_deplibs_check_method=pass_all
17628 -file_magic_cmd=$lt_cv_file_magic_cmd
17629 -deplibs_check_method=$lt_cv_deplibs_check_method
17630 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
17631 -])# AC_DEPLIBS_CHECK_METHOD
17636 -# find the path to a BSD-compatible name lister
17637 -AC_DEFUN([AC_PROG_NM],
17638 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
17639 -[if test -n "$NM"; then
17640 - # Let the user override the test.
17641 - lt_cv_path_NM="$NM"
17643 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17644 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
17645 - IFS="$lt_save_ifs"
17646 - test -z "$ac_dir" && ac_dir=.
17647 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
17648 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
17649 - # Check to see if the nm accepts a BSD-compat flag.
17650 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
17651 - # nm: unknown option "B" ignored
17652 - # Tru64's nm complains that /dev/null is an invalid object file
17653 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
17654 - */dev/null* | *'Invalid file or object type'*)
17655 - lt_cv_path_NM="$tmp_nm -B"
17659 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
17661 - lt_cv_path_NM="$tmp_nm -p"
17665 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
17666 - continue # so that we can try to find one that supports BSD flags
17672 - IFS="$lt_save_ifs"
17673 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
17675 -NM="$lt_cv_path_NM"
17681 -# check for math library
17682 -AC_DEFUN([AC_CHECK_LIBM],
17683 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
17686 -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
17687 - # These system don't have libm, or don't need it
17690 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
17691 - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
17694 - AC_CHECK_LIB(m, cos, LIBM="-lm")
17700 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
17701 -# -----------------------------------
17702 -# sets LIBLTDL to the link flags for the libltdl convenience library and
17703 -# LTDLINCL to the include flags for the libltdl header and adds
17704 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
17705 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
17706 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
17707 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
17708 -# '${top_srcdir}/' (note the single quotes!). If your package is not
17709 -# flat and you're not using automake, define top_builddir and
17710 -# top_srcdir appropriately in the Makefiles.
17711 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
17712 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17713 - case $enable_ltdl_convenience in
17714 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
17715 - "") enable_ltdl_convenience=yes
17716 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
17718 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
17719 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
17720 - # For backwards non-gettext consistent compatibility...
17721 - INCLTDL="$LTDLINCL"
17722 -])# AC_LIBLTDL_CONVENIENCE
17725 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
17726 -# -----------------------------------
17727 -# sets LIBLTDL to the link flags for the libltdl installable library and
17728 -# LTDLINCL to the include flags for the libltdl header and adds
17729 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
17730 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
17731 -# DIRECTORY is not provided and an installed libltdl is not found, it is
17732 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
17733 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
17734 -# quotes!). If your package is not flat and you're not using automake,
17735 -# define top_builddir and top_srcdir appropriately in the Makefiles.
17736 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
17737 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
17738 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17739 - AC_CHECK_LIB(ltdl, lt_dlinit,
17740 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
17741 - [if test x"$enable_ltdl_install" = xno; then
17742 - AC_MSG_WARN([libltdl not installed, but installation disabled])
17744 - enable_ltdl_install=yes
17747 - if test x"$enable_ltdl_install" = x"yes"; then
17748 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
17749 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
17750 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
17752 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
17756 - # For backwards non-gettext consistent compatibility...
17757 - INCLTDL="$LTDLINCL"
17758 -])# AC_LIBLTDL_INSTALLABLE
17763 -# enable support for C++ libraries
17764 -AC_DEFUN([AC_LIBTOOL_CXX],
17765 -[AC_REQUIRE([_LT_AC_LANG_CXX])
17766 -])# AC_LIBTOOL_CXX
17771 -AC_DEFUN([_LT_AC_LANG_CXX],
17772 -[AC_REQUIRE([AC_PROG_CXX])
17773 -AC_REQUIRE([AC_PROG_CXXCPP])
17774 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
17775 -])# _LT_AC_LANG_CXX
17780 -# enable support for Fortran 77 libraries
17781 -AC_DEFUN([AC_LIBTOOL_F77],
17782 -[AC_REQUIRE([_LT_AC_LANG_F77])
17783 -])# AC_LIBTOOL_F77
17788 -AC_DEFUN([_LT_AC_LANG_F77],
17789 -[AC_REQUIRE([AC_PROG_F77])
17790 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
17791 -])# _LT_AC_LANG_F77
17796 -# enable support for GCJ libraries
17797 -AC_DEFUN([AC_LIBTOOL_GCJ],
17798 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
17799 -])# AC_LIBTOOL_GCJ
17804 -AC_DEFUN([_LT_AC_LANG_GCJ],
17805 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
17806 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
17807 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
17808 - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
17809 - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
17810 - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
17811 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
17812 -])# _LT_AC_LANG_GCJ
17817 -# enable support for Windows resource files
17818 -AC_DEFUN([AC_LIBTOOL_RC],
17819 -[AC_REQUIRE([LT_AC_PROG_RC])
17820 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
17824 -# AC_LIBTOOL_LANG_C_CONFIG
17825 -# ------------------------
17826 -# Ensure that the configuration vars for the C compiler are
17827 -# suitably defined. Those variables are subsequently used by
17828 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
17829 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
17830 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
17834 -# Source file extension for C test sources.
17837 -# Object file extension for compiled C test sources.
17839 -_LT_AC_TAGVAR(objext, $1)=$objext
17841 -# Code to be used in simple compile tests
17842 -lt_simple_compile_test_code="int some_variable = 0;\n"
17844 -# Code to be used in simple link tests
17845 -lt_simple_link_test_code='int main(){return(0);}\n'
17847 -_LT_AC_SYS_COMPILER
17850 -# Check for any special shared library compilation flags.
17852 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
17853 -if test "$GCC" = no; then
17856 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
17860 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
17861 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
17862 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
17864 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
17865 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
17871 -# Check to make sure the static flag actually works.
17873 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
17874 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
17875 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
17877 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
17881 -## There is no encapsulation within the following macros, do not change
17882 -## the running order or otherwise move them around unless you know exactly
17883 -## what you are doing...
17884 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
17885 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
17886 -AC_LIBTOOL_PROG_CC_C_O($1)
17887 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
17888 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
17889 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
17890 -AC_LIBTOOL_SYS_LIB_STRIP
17891 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
17892 -AC_LIBTOOL_DLOPEN_SELF($1)
17894 -# Report which librarie types wil actually be built
17895 -AC_MSG_CHECKING([if libtool supports shared libraries])
17896 -AC_MSG_RESULT([$can_build_shared])
17898 -AC_MSG_CHECKING([whether to build shared libraries])
17899 -test "$can_build_shared" = "no" && enable_shared=no
17901 -# On AIX, shared libraries and static libraries use the same namespace, and
17902 -# are all built from PIC.
17903 -case "$host_os" in
17905 - test "$enable_shared" = yes && enable_static=no
17906 - if test -n "$RANLIB"; then
17907 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
17908 - postinstall_cmds='$RANLIB $lib'
17913 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17914 - test "$enable_shared" = yes && enable_static=no
17917 - darwin* | rhapsody*)
17918 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
17919 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17920 - case "$host_os" in
17921 - rhapsody* | darwin1.[[012]])
17922 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
17924 - *) # Darwin 1.3 on
17925 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
17928 - # FIXME: Relying on posixy $() will cause problems for
17929 - # cross-compilation, but unfortunately the echo tests do not
17930 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
17931 - # `"' quotes if we put them in here... so don't!
17932 - output_verbose_link_cmd='echo'
17933 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
17934 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
17935 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17936 - _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}'
17937 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17938 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
17939 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
17940 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
17941 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
17942 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17946 -AC_MSG_RESULT([$enable_shared])
17948 -AC_MSG_CHECKING([whether to build static libraries])
17949 -# Make sure either enable_shared or enable_static is yes.
17950 -test "$enable_shared" = yes || enable_static=yes
17951 -AC_MSG_RESULT([$enable_static])
17953 -AC_LIBTOOL_CONFIG($1)
17957 -])# AC_LIBTOOL_LANG_C_CONFIG
17960 -# AC_LIBTOOL_LANG_CXX_CONFIG
17961 -# --------------------------
17962 -# Ensure that the configuration vars for the C compiler are
17963 -# suitably defined. Those variables are subsequently used by
17964 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
17965 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
17966 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
17967 -[AC_LANG_PUSH(C++)
17968 -AC_REQUIRE([AC_PROG_CXX])
17969 -AC_REQUIRE([AC_PROG_CXXCPP])
17971 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17972 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
17973 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
17974 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
17975 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
17976 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
17977 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
17978 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
17979 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
17980 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
17981 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
17982 -_LT_AC_TAGVAR(module_cmds, $1)=
17983 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
17984 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
17985 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
17986 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
17987 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
17988 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
17990 -# Dependencies to place before and after the object being linked:
17991 -_LT_AC_TAGVAR(predep_objects, $1)=
17992 -_LT_AC_TAGVAR(postdep_objects, $1)=
17993 -_LT_AC_TAGVAR(predeps, $1)=
17994 -_LT_AC_TAGVAR(postdeps, $1)=
17995 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
17997 -# Source file extension for C++ test sources.
18000 -# Object file extension for compiled C++ test sources.
18002 -_LT_AC_TAGVAR(objext, $1)=$objext
18004 -# Code to be used in simple compile tests
18005 -lt_simple_compile_test_code="int some_variable = 0;\n"
18007 -# Code to be used in simple link tests
18008 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18010 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18011 -_LT_AC_SYS_COMPILER
18013 -# Allow CC to be a program name with arguments.
18018 -lt_save_with_gnu_ld=$with_gnu_ld
18019 -lt_save_path_LD=$lt_cv_path_LD
18020 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18021 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18023 - unset lt_cv_prog_gnu_ld
18025 -if test -n "${lt_cv_path_LDCXX+set}"; then
18026 - lt_cv_path_LD=$lt_cv_path_LDCXX
18028 - unset lt_cv_path_LD
18030 -test -z "${LDCXX+set}" || LD=$LDCXX
18033 -_LT_AC_TAGVAR(compiler, $1)=$CC
18034 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
18036 -# We don't want -fno-exception wen compiling C++ code, so set the
18037 -# no_builtin_flag separately
18038 -if test "$GXX" = yes; then
18039 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
18041 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
18044 -if test "$GXX" = yes; then
18045 - # Set up default GNU C++ configuration
18049 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
18050 - # archiving commands below assume that GNU ld is being used.
18051 - if test "$with_gnu_ld" = yes; then
18052 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18053 - _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'
18055 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
18056 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18058 - # If archive_cmds runs LD, not CC, wlarc should be empty
18059 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18060 - # investigate it a little bit more. (MM)
18063 - # ancient GNU ld didn't support --whole-archive et. al.
18064 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18065 - grep 'no-whole-archive' > /dev/null; then
18066 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18068 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
18074 - # A generic and very simple default shared library creation
18075 - # command for GNU C++ for the case where it uses the native
18076 - # linker, instead of GNU ld. If possible, this setting should
18077 - # overridden to take advantage of the native linker features on
18078 - # the platform it is being used on.
18079 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18082 - # Commands to make compiler produce verbose output that lists
18083 - # what "hidden" libraries, object files and flags are used when
18084 - # linking a shared library.
18085 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18093 -# PORTME: fill in a description of your system's C++ link characteristics
18094 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
18095 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
18098 - # FIXME: insert proper C++ library support
18099 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18102 - if test "$host_cpu" = ia64; then
18103 - # On IA64, the linker does run time linking by default, so we don't
18104 - # have to do anything special.
18105 - aix_use_runtimelinking=no
18106 - exp_sym_flag='-Bexport'
18109 - aix_use_runtimelinking=no
18111 - # Test if we are trying to use run time linking or normal
18112 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18113 - # need to do runtime linking.
18114 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
18115 - for ld_flag in $LDFLAGS; do
18118 - aix_use_runtimelinking=yes
18125 - exp_sym_flag='-bexport'
18126 - no_entry_flag='-bnoentry'
18129 - # When large executables or shared objects are built, AIX ld can
18130 - # have problems creating the table of contents. If linking a library
18131 - # or program results in "error TOC overflow" add -mminimal-toc to
18132 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18133 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18135 - _LT_AC_TAGVAR(archive_cmds, $1)=''
18136 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18137 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
18138 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18140 - if test "$GXX" = yes; then
18141 - case $host_os in aix4.[012]|aix4.[012].*)
18142 - # We only want to do this on AIX 4.2 and lower, the check
18143 - # below for broken collect2 doesn't work under 4.3+
18144 - collect2name=`${CC} -print-prog-name=collect2`
18145 - if test -f "$collect2name" && \
18146 - strings "$collect2name" | grep resolve_lib_name >/dev/null
18148 - # We have reworked collect2
18149 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18151 - # We have old collect2
18152 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
18153 - # It fails to find uninstalled libraries when the uninstalled
18154 - # path is not listed in the libpath. Setting hardcode_minus_L
18155 - # to unsupported forces relinking
18156 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18157 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18158 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
18161 - shared_flag='-shared'
18164 - if test "$host_cpu" = ia64; then
18165 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18166 - # chokes on -Wl,-G. The following line is correct:
18169 - if test "$aix_use_runtimelinking" = yes; then
18170 - shared_flag='${wl}-G'
18172 - shared_flag='${wl}-bM:SRE'
18177 - # It seems that -bexpall does not export symbols beginning with
18178 - # underscore (_), so it is better to generate a list of symbols to export.
18179 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
18180 - if test "$aix_use_runtimelinking" = yes; then
18181 - # Warning - without using the other runtime loading flags (-brtl),
18182 - # -berok will link without error, but may produce a broken library.
18183 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
18184 - # Determine the default libpath from the value encoded in an empty executable.
18185 - _LT_AC_SYS_LIBPATH_AIX
18186 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18188 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18190 - if test "$host_cpu" = ia64; then
18191 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
18192 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
18193 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18195 - # Determine the default libpath from the value encoded in an empty executable.
18196 - _LT_AC_SYS_LIBPATH_AIX
18197 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18198 - # Warning - without using the other run time loading flags,
18199 - # -berok will link without error, but may produce a broken library.
18200 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
18201 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
18202 - # -bexpall does not export symbols beginning with underscore (_)
18203 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
18204 - # Exported symbols can be pulled into shared objects from archives
18205 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
18206 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
18207 - # This is similar to how AIX traditionally builds it's shared libraries.
18208 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18213 - case $cc_basename in
18215 - # FIXME: insert proper C++ library support
18216 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18221 - cygwin* | mingw* | pw32*)
18222 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
18223 - # as there is no search path for DLLs.
18224 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18225 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
18226 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
18227 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18229 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18230 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18231 - # If the export-symbols file already is a .def file (1st line
18232 - # is EXPORTS), use it as is; otherwise, prepend...
18233 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18234 - cp $export_symbols $output_objdir/$soname.def;
18236 - echo EXPORTS > $output_objdir/$soname.def;
18237 - cat $export_symbols >> $output_objdir/$soname.def;
18239 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18241 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18245 - darwin* | rhapsody*)
18246 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
18247 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18248 - case "$host_os" in
18249 - rhapsody* | darwin1.[[012]])
18250 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
18252 - *) # Darwin 1.3 on
18253 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
18256 - lt_int_apple_cc_single_mod=no
18257 - output_verbose_link_cmd='echo'
18258 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18259 - lt_int_apple_cc_single_mod=yes
18261 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18262 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18264 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
18266 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
18268 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18269 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18270 - _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}'
18272 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
18274 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18275 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
18276 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
18277 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18278 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
18279 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18284 - case $cc_basename in
18286 - # FIXME: insert proper C++ library support
18287 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18290 - # Green Hills C++ Compiler
18291 - # FIXME: insert proper C++ library support
18292 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18295 - # FIXME: insert proper C++ library support
18296 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18301 - # C++ shared libraries reported to be fairly broken before switch to ELF
18302 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18305 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18308 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18310 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
18315 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18316 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18317 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18318 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18319 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18320 - # but as the default
18321 - # location of the library.
18323 - case $cc_basename in
18325 - # FIXME: insert proper C++ library support
18326 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18329 - _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'
18330 - # Commands to make compiler produce verbose output that lists
18331 - # what "hidden" libraries, object files and flags are used when
18332 - # linking a shared library.
18334 - # There doesn't appear to be a way to prevent this compiler from
18335 - # explicitly linking system object files so we need to strip them
18336 - # from the output so that they don't get included in the library
18338 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
18341 - if test "$GXX" = yes; then
18342 - _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'
18344 - # FIXME: insert proper C++ library support
18345 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18351 - if test $with_gnu_ld = no; then
18352 - case "$host_cpu" in
18354 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18355 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
18356 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18359 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18362 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18363 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18364 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18368 - case "$host_cpu" in
18370 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
18371 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18374 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
18375 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18376 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18377 - # but as the default
18378 - # location of the library.
18381 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18382 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18383 - # but as the default
18384 - # location of the library.
18388 - case $cc_basename in
18390 - # FIXME: insert proper C++ library support
18391 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18394 - case "$host_cpu" in
18396 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
18399 - _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'
18402 - # Commands to make compiler produce verbose output that lists
18403 - # what "hidden" libraries, object files and flags are used when
18404 - # linking a shared library.
18406 - # There doesn't appear to be a way to prevent this compiler from
18407 - # explicitly linking system object files so we need to strip them
18408 - # from the output so that they don't get included in the library
18410 - 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'
18413 - if test "$GXX" = yes; then
18414 - if test $with_gnu_ld = no; then
18415 - case "$host_cpu" in
18417 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
18420 - _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'
18425 - # FIXME: insert proper C++ library support
18426 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18432 - case $cc_basename in
18435 - _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 ${objdir}/so_locations -o $lib'
18437 - # Archives containing C++ object files must be created using
18438 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18439 - # necessary to make sure instantiated templates are included
18440 - # in the archive.
18441 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
18444 - if test "$GXX" = yes; then
18445 - if test "$with_gnu_ld" = no; then
18446 - _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}${objdir}/so_locations -o $lib'
18448 - _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'
18451 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18454 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18455 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18458 - case $cc_basename in
18460 - # Kuck and Associates, Inc. (KAI) C++ Compiler
18462 - # KCC will only create a shared library if the output file
18463 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
18464 - # to its proper name (with version) after linking.
18465 - _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'
18466 - _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'
18467 - # Commands to make compiler produce verbose output that lists
18468 - # what "hidden" libraries, object files and flags are used when
18469 - # linking a shared library.
18471 - # There doesn't appear to be a way to prevent this compiler from
18472 - # explicitly linking system object files so we need to strip them
18473 - # from the output so that they don't get included in the library
18475 - 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'
18477 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
18478 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18480 - # Archives containing C++ object files must be created using
18481 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18482 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
18487 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18488 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18489 - _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'
18490 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18491 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18492 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18496 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18497 - _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'
18499 - runpath_var=LD_RUN_PATH
18500 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18501 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18503 - # Commands to make compiler produce verbose output that lists
18504 - # what "hidden" libraries, object files and flags are used when
18505 - # linking a shared library.
18507 - # There doesn't appear to be a way to prevent this compiler from
18508 - # explicitly linking system object files so we need to strip them
18509 - # from the output so that they don't get included in the library
18511 - 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'
18516 - # FIXME: insert proper C++ library support
18517 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18520 - # FIXME: insert proper C++ library support
18521 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18524 - case $cc_basename in
18526 - # FIXME: insert proper C++ library support
18527 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18530 - # FIXME: insert proper C++ library support
18531 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18536 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18537 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18539 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18540 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18541 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18543 - # Workaround some broken pre-1.5 toolchains
18544 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18547 - case $cc_basename in
18549 - # Kuck and Associates, Inc. (KAI) C++ Compiler
18551 - # KCC will only create a shared library if the output file
18552 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
18553 - # to its proper name (with version) after linking.
18554 - _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'
18556 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18557 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18559 - # Archives containing C++ object files must be created using
18560 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18561 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
18565 - # Rational C++ 2.4.1
18566 - # FIXME: insert proper C++ library support
18567 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18570 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18571 - _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 ${objdir}/so_locations -o $lib'
18573 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18574 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18576 - # Commands to make compiler produce verbose output that lists
18577 - # what "hidden" libraries, object files and flags are used when
18578 - # linking a shared library.
18580 - # There doesn't appear to be a way to prevent this compiler from
18581 - # explicitly linking system object files so we need to strip them
18582 - # from the output so that they don't get included in the library
18584 - 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'
18587 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18588 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18589 - _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}${objdir}/so_locations -o $lib'
18591 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18592 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18594 - # Commands to make compiler produce verbose output that lists
18595 - # what "hidden" libraries, object files and flags are used when
18596 - # linking a shared library.
18597 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18600 - # FIXME: insert proper C++ library support
18601 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18607 - case $cc_basename in
18609 - # Kuck and Associates, Inc. (KAI) C++ Compiler
18611 - # KCC will only create a shared library if the output file
18612 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
18613 - # to its proper name (with version) after linking.
18614 - _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'
18616 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18617 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18619 - # Archives containing C++ object files must be created using
18620 - # the KAI C++ compiler.
18621 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
18624 - # Rational C++ 2.4.1
18625 - # FIXME: insert proper C++ library support
18626 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18629 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18630 - _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 ${objdir}/so_locations -o $lib'
18631 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18632 - echo "-hidden">> $lib.exp~
18633 - $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 $objdir/so_locations -o $lib~
18636 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18637 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18639 - # Commands to make compiler produce verbose output that lists
18640 - # what "hidden" libraries, object files and flags are used when
18641 - # linking a shared library.
18643 - # There doesn't appear to be a way to prevent this compiler from
18644 - # explicitly linking system object files so we need to strip them
18645 - # from the output so that they don't get included in the library
18647 - 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'
18650 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18651 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18652 - _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}${objdir}/so_locations -o $lib'
18654 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18655 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18657 - # Commands to make compiler produce verbose output that lists
18658 - # what "hidden" libraries, object files and flags are used when
18659 - # linking a shared library.
18660 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18663 - # FIXME: insert proper C++ library support
18664 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18670 - # FIXME: insert proper C++ library support
18671 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18674 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18675 - case $cc_basename in
18677 - # FIXME: insert proper C++ library support
18678 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18681 - # FIXME: insert proper C++ library support
18682 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18687 - case $cc_basename in
18690 - # FIXME: insert proper C++ library support
18691 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18695 - # FIXME: insert proper C++ library support
18696 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18699 - # FIXME: insert proper C++ library support
18700 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18705 - case $cc_basename in
18707 - # Sun C++ 4.2, 5.x and Centerline C++
18708 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
18709 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18710 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18711 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18713 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18714 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18716 - solaris2.[0-5] | solaris2.[0-5].*) ;;
18718 - # The C++ compiler is used as linker so we must use $wl
18719 - # flag to pass the commands to the underlying system
18721 - # Supported since Solaris 2.6 (maybe 2.5.1?)
18722 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18725 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18727 - # Commands to make compiler produce verbose output that lists
18728 - # what "hidden" libraries, object files and flags are used when
18729 - # linking a shared library.
18731 - # There doesn't appear to be a way to prevent this compiler from
18732 - # explicitly linking system object files so we need to strip them
18733 - # from the output so that they don't get included in the library
18735 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
18737 - # Archives containing C++ object files must be created using
18738 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
18739 - # necessary to make sure instantiated templates are included
18740 - # in the archive.
18741 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
18744 - # Green Hills C++ Compiler
18745 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18747 - # The C++ compiler must be used to create the archive.
18748 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18751 - # GNU C++ compiler with Solaris linker
18752 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18753 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
18754 - if $CC --version | grep -v '^2\.7' > /dev/null; then
18755 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18756 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18757 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18759 - # Commands to make compiler produce verbose output that lists
18760 - # what "hidden" libraries, object files and flags are used when
18761 - # linking a shared library.
18762 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18764 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
18766 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18767 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18768 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18770 - # Commands to make compiler produce verbose output that lists
18771 - # what "hidden" libraries, object files and flags are used when
18772 - # linking a shared library.
18773 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18776 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
18781 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
18782 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18785 - case $cc_basename in
18787 - # NonStop-UX NCC 3.20
18788 - # FIXME: insert proper C++ library support
18789 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18792 - # FIXME: insert proper C++ library support
18793 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18798 - # FIXME: insert proper C++ library support
18799 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18802 - # FIXME: insert proper C++ library support
18803 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
18806 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
18807 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
18809 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
18810 -_LT_AC_TAGVAR(LD, $1)="$LD"
18813 -## There is no encapsulation within the following macros, do not change
18814 -## the running order or otherwise move them around unless you know exactly
18815 -## what you are doing...
18816 -AC_LIBTOOL_POSTDEP_PREDEP($1)
18817 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
18818 -AC_LIBTOOL_PROG_CC_C_O($1)
18819 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
18820 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
18821 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
18822 -AC_LIBTOOL_SYS_LIB_STRIP
18823 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
18824 -AC_LIBTOOL_DLOPEN_SELF($1)
18826 -AC_LIBTOOL_CONFIG($1)
18833 -with_gnu_ldcxx=$with_gnu_ld
18834 -with_gnu_ld=$lt_save_with_gnu_ld
18835 -lt_cv_path_LDCXX=$lt_cv_path_LD
18836 -lt_cv_path_LD=$lt_save_path_LD
18837 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18838 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18839 -])# AC_LIBTOOL_LANG_CXX_CONFIG
18841 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
18842 -# ------------------------
18843 -# Figure out "hidden" library dependencies from verbose
18844 -# compiler output when linking a shared library.
18845 -# Parse the compiler output and extract the necessary
18846 -# objects, libraries and library flags.
18847 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
18848 -dnl we can't use the lt_simple_compile_test_code here,
18849 -dnl because it contains code intended for an executable,
18850 -dnl not a library. It's possible we should let each
18851 -dnl tag define a new lt_????_link_test_code variable,
18852 -dnl but it's only used here...
18853 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
18855 -void foo (void) { a = 0; }
18857 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
18861 - Foo (void) { a = 0; }
18866 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
18874 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
18875 -public class foo {
18877 - public void bar (void) {
18883 -dnl Parse the compiler output and extract the necessary
18884 -dnl objects, libraries and library flags.
18885 -if AC_TRY_EVAL(ac_compile); then
18886 - # Parse the compiler output and extract the necessary
18887 - # objects, libraries and library flags.
18889 - # Sentinel used to keep track of whether or not we are before
18890 - # the conftest object file.
18891 - pre_test_object_deps_done=no
18893 - # The `*' in the case matches for architectures that use `case' in
18894 - # $output_verbose_cmd can trigger glob expansion during the loop
18895 - # eval without this substitution.
18896 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
18898 - for p in `eval $output_verbose_link_cmd`; do
18902 - # Some compilers place space between "-{L,R}" and the path.
18903 - # Remove the space.
18904 - if test $p = "-L" \
18905 - || test $p = "-R"; then
18912 - if test "$pre_test_object_deps_done" = no; then
18915 - # Internal compiler library paths should come after those
18916 - # provided the user. The postdeps already come after the
18917 - # user supplied libs so there is no need to process them.
18918 - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
18919 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
18921 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
18924 - # The "-l" case would never come before the object being
18925 - # linked, so don't bother handling this case.
18928 - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
18929 - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
18931 - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
18937 - # This assumes that the test object file only shows up
18938 - # once in the compiler output.
18939 - if test "$p" = "conftest.$objext"; then
18940 - pre_test_object_deps_done=yes
18944 - if test "$pre_test_object_deps_done" = no; then
18945 - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
18946 - _LT_AC_TAGVAR(predep_objects, $1)="$p"
18948 - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
18951 - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
18952 - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
18954 - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
18959 - *) ;; # Ignore the rest.
18965 - rm -f a.out a.exe
18967 - echo "libtool.m4: error: problem compiling $1 test program"
18970 -$rm -f confest.$objext
18972 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
18973 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
18975 -])# AC_LIBTOOL_POSTDEP_PREDEP
18977 -# AC_LIBTOOL_LANG_F77_CONFIG
18978 -# ------------------------
18979 -# Ensure that the configuration vars for the C compiler are
18980 -# suitably defined. Those variables are subsequently used by
18981 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
18982 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
18983 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
18984 -[AC_REQUIRE([AC_PROG_F77])
18985 -AC_LANG_PUSH(Fortran 77)
18987 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18988 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
18989 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
18990 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
18991 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
18992 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
18993 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
18994 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18995 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
18996 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
18997 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
18998 -_LT_AC_TAGVAR(module_cmds, $1)=
18999 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
19000 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
19001 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
19002 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
19003 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
19004 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
19006 -# Source file extension for f77 test sources.
19009 -# Object file extension for compiled f77 test sources.
19011 -_LT_AC_TAGVAR(objext, $1)=$objext
19013 -# Code to be used in simple compile tests
19014 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19016 -# Code to be used in simple link tests
19017 -lt_simple_link_test_code=" program t\n end\n"
19019 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19020 -_LT_AC_SYS_COMPILER
19022 -# Allow CC to be a program name with arguments.
19026 -_LT_AC_TAGVAR(compiler, $1)=$CC
19027 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
19029 -AC_MSG_CHECKING([if libtool supports shared libraries])
19030 -AC_MSG_RESULT([$can_build_shared])
19032 -AC_MSG_CHECKING([whether to build shared libraries])
19033 -test "$can_build_shared" = "no" && enable_shared=no
19035 -# On AIX, shared libraries and static libraries use the same namespace, and
19036 -# are all built from PIC.
19037 -case "$host_os" in
19039 - test "$enable_shared" = yes && enable_static=no
19040 - if test -n "$RANLIB"; then
19041 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
19042 - postinstall_cmds='$RANLIB $lib'
19046 - test "$enable_shared" = yes && enable_static=no
19049 -AC_MSG_RESULT([$enable_shared])
19051 -AC_MSG_CHECKING([whether to build static libraries])
19052 -# Make sure either enable_shared or enable_static is yes.
19053 -test "$enable_shared" = yes || enable_static=yes
19054 -AC_MSG_RESULT([$enable_static])
19056 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
19058 -_LT_AC_TAGVAR(GCC, $1)="$G77"
19059 -_LT_AC_TAGVAR(LD, $1)="$LD"
19061 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
19062 -AC_LIBTOOL_PROG_CC_C_O($1)
19063 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
19064 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
19065 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
19066 -AC_LIBTOOL_SYS_LIB_STRIP
19067 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
19069 -AC_LIBTOOL_CONFIG($1)
19073 -])# AC_LIBTOOL_LANG_F77_CONFIG
19076 -# AC_LIBTOOL_LANG_GCJ_CONFIG
19077 -# --------------------------
19078 -# Ensure that the configuration vars for the C compiler are
19079 -# suitably defined. Those variables are subsequently used by
19080 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
19081 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
19082 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
19085 -# Source file extension for Java test sources.
19088 -# Object file extension for compiled Java test sources.
19090 -_LT_AC_TAGVAR(objext, $1)=$objext
19092 -# Code to be used in simple compile tests
19093 -lt_simple_compile_test_code="class foo {}\n"
19095 -# Code to be used in simple link tests
19096 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
19098 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19099 -_LT_AC_SYS_COMPILER
19101 -# Allow CC to be a program name with arguments.
19105 -_LT_AC_TAGVAR(compiler, $1)=$CC
19107 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
19108 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
19111 -## There is no encapsulation within the following macros, do not change
19112 -## the running order or otherwise move them around unless you know exactly
19113 -## what you are doing...
19114 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
19115 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
19116 -AC_LIBTOOL_PROG_CC_C_O($1)
19117 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
19118 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
19119 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
19120 -AC_LIBTOOL_SYS_LIB_STRIP
19121 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
19122 -AC_LIBTOOL_DLOPEN_SELF($1)
19124 -AC_LIBTOOL_CONFIG($1)
19128 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
19131 -# AC_LIBTOOL_LANG_RC_CONFIG
19132 -# --------------------------
19133 -# Ensure that the configuration vars for the Windows resource compiler are
19134 -# suitably defined. Those variables are subsequently used by
19135 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
19136 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
19137 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
19140 -# Source file extension for RC test sources.
19143 -# Object file extension for compiled RC test sources.
19145 -_LT_AC_TAGVAR(objext, $1)=$objext
19147 -# Code to be used in simple compile tests
19148 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19150 -# Code to be used in simple link tests
19151 -lt_simple_link_test_code="$lt_simple_compile_test_code"
19153 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19154 -_LT_AC_SYS_COMPILER
19156 -# Allow CC to be a program name with arguments.
19158 -CC=${RC-"windres"}
19160 -_LT_AC_TAGVAR(compiler, $1)=$CC
19161 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
19163 -AC_LIBTOOL_CONFIG($1)
19167 -])# AC_LIBTOOL_LANG_RC_CONFIG
19170 -# AC_LIBTOOL_CONFIG([TAGNAME])
19171 -# ----------------------------
19172 -# If TAGNAME is not passed, then create an initial libtool script
19173 -# with a default configuration from the untagged config vars. Otherwise
19174 -# add code to config.status for appending the configuration named by
19175 -# TAGNAME from the matching tagged config vars.
19176 -AC_DEFUN([AC_LIBTOOL_CONFIG],
19177 -[# The else clause should only fire when bootstrapping the
19178 -# libtool distribution, otherwise you forgot to ship ltmain.sh
19179 -# with your package, and you will get complaints that there are
19180 -# no rules to generate ltmain.sh.
19181 -if test -f "$ltmain"; then
19182 - # See if we are running on zsh, and set the options which allow our commands through
19183 - # without removal of \ escapes.
19184 - if test -n "${ZSH_VERSION+set}" ; then
19185 - setopt NO_GLOB_SUBST
19187 - # Now quote all the things that may contain metacharacters while being
19188 - # careful not to overquote the AC_SUBSTed values. We take copies of the
19189 - # variables and quote the copies for generation of the libtool script.
19190 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
19191 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19192 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19193 - deplibs_check_method reload_flag reload_cmds need_locks \
19194 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19195 - lt_cv_sys_global_symbol_to_c_name_address \
19196 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19197 - old_postinstall_cmds old_postuninstall_cmds \
19198 - _LT_AC_TAGVAR(compiler, $1) \
19199 - _LT_AC_TAGVAR(CC, $1) \
19200 - _LT_AC_TAGVAR(LD, $1) \
19201 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
19202 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
19203 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
19204 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
19205 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
19206 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
19207 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
19208 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
19209 - _LT_AC_TAGVAR(old_archive_cmds, $1) \
19210 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
19211 - _LT_AC_TAGVAR(predep_objects, $1) \
19212 - _LT_AC_TAGVAR(postdep_objects, $1) \
19213 - _LT_AC_TAGVAR(predeps, $1) \
19214 - _LT_AC_TAGVAR(postdeps, $1) \
19215 - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
19216 - _LT_AC_TAGVAR(archive_cmds, $1) \
19217 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
19218 - _LT_AC_TAGVAR(postinstall_cmds, $1) \
19219 - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
19220 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
19221 - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
19222 - _LT_AC_TAGVAR(no_undefined_flag, $1) \
19223 - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
19224 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
19225 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
19226 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
19227 - _LT_AC_TAGVAR(hardcode_automatic, $1) \
19228 - _LT_AC_TAGVAR(module_cmds, $1) \
19229 - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
19230 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
19231 - _LT_AC_TAGVAR(exclude_expsyms, $1) \
19232 - _LT_AC_TAGVAR(include_expsyms, $1); do
19235 - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
19236 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
19237 - _LT_AC_TAGVAR(archive_cmds, $1) | \
19238 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
19239 - _LT_AC_TAGVAR(module_cmds, $1) | \
19240 - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
19241 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
19242 - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
19243 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
19244 - postinstall_cmds | postuninstall_cmds | \
19245 - old_postinstall_cmds | old_postuninstall_cmds | \
19246 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19247 - # Double-quote double-evaled strings.
19248 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19251 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19257 - *'\[$]0 --fallback-echo"')
19258 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
19263 - [cfgfile="${ofile}T"
19264 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
19265 - $rm -f "$cfgfile"
19266 - AC_MSG_NOTICE([creating $ofile])],
19267 - [cfgfile="$ofile"])
19269 - cat <<__EOF__ >> "$cfgfile"
19273 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19274 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
19275 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19277 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
19278 -# Free Software Foundation, Inc.
19280 -# This file is part of GNU Libtool:
19281 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
19283 -# This program is free software; you can redistribute it and/or modify
19284 -# it under the terms of the GNU General Public License as published by
19285 -# the Free Software Foundation; either version 2 of the License, or
19286 -# (at your option) any later version.
19288 -# This program is distributed in the hope that it will be useful, but
19289 -# WITHOUT ANY WARRANTY; without even the implied warranty of
19290 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19291 -# General Public License for more details.
19293 -# You should have received a copy of the GNU General Public License
19294 -# along with this program; if not, write to the Free Software
19295 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19297 -# As a special exception to the GNU General Public License, if you
19298 -# distribute this file as part of a program that contains a
19299 -# configuration script generated by Autoconf, you may include it under
19300 -# the same distribution terms that you use for the rest of that program.
19302 -# A sed program that does not truncate output.
19305 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19306 -Xsed="$SED -e s/^X//"
19308 -# The HP-UX ksh and POSIX shell print the target directory to stdout
19309 -# if CDPATH is set.
19310 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
19312 -# The names of the tagged configurations supported by this script.
19315 -# ### BEGIN LIBTOOL CONFIG],
19316 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
19318 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19320 -# Shell to use when invoking shell scripts.
19323 -# Whether or not to build shared libraries.
19324 -build_libtool_libs=$enable_shared
19326 -# Whether or not to build static libraries.
19327 -build_old_libs=$enable_static
19329 -# Whether or not to add -lc for building shared libraries.
19330 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
19332 -# Whether or not to disallow shared libs when runtime libs are static
19333 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
19335 -# Whether or not to optimize for fast installation.
19336 -fast_install=$enable_fast_install
19338 -# The host system.
19339 -host_alias=$host_alias
19342 -# An echo program that does not interpret backslashes.
19347 -AR_FLAGS=$lt_AR_FLAGS
19352 -# A language-specific compiler.
19353 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
19355 -# Is the compiler the GNU C compiler?
19356 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
19361 -# The linker used to build libraries.
19362 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
19364 -# Whether we need hard or soft links.
19367 -# A BSD-compatible nm program.
19370 -# A symbol stripping program
19373 -# Used to examine libraries when file_magic_cmd begins "file"
19374 -MAGIC_CMD=$MAGIC_CMD
19376 -# Used on cygwin: DLL creation program.
19377 -DLLTOOL="$DLLTOOL"
19379 -# Used on cygwin: object dumper.
19380 -OBJDUMP="$OBJDUMP"
19382 -# Used on cygwin: assembler.
19385 -# The name of the directory that contains temporary libtool files.
19388 -# How to create reloadable object files.
19389 -reload_flag=$lt_reload_flag
19390 -reload_cmds=$lt_reload_cmds
19392 -# How to pass a linker flag through the compiler.
19393 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
19395 -# Object file suffix (normally "o").
19396 -objext="$ac_objext"
19398 -# Old archive suffix (normally "a").
19401 -# Shared library suffix (normally ".so").
19404 -# Executable file suffix (normally "").
19407 -# Additional compiler flags for building library objects.
19408 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
19409 -pic_mode=$pic_mode
19411 -# What is the maximum length of a command?
19412 -max_cmd_len=$lt_cv_sys_max_cmd_len
19414 -# Does compiler simultaneously support -c and -o options?
19415 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
19417 -# Must we lock files when doing compilation ?
19418 -need_locks=$lt_need_locks
19420 -# Do we need the lib prefix for modules?
19421 -need_lib_prefix=$need_lib_prefix
19423 -# Do we need a version for libraries?
19424 -need_version=$need_version
19426 -# Whether dlopen is supported.
19427 -dlopen_support=$enable_dlopen
19429 -# Whether dlopen of programs is supported.
19430 -dlopen_self=$enable_dlopen_self
19432 -# Whether dlopen of statically linked programs is supported.
19433 -dlopen_self_static=$enable_dlopen_self_static
19435 -# Compiler flag to prevent dynamic linking.
19436 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
19438 -# Compiler flag to turn off builtin functions.
19439 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
19441 -# Compiler flag to allow reflexive dlopens.
19442 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
19444 -# Compiler flag to generate shared objects directly from archives.
19445 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
19447 -# Compiler flag to generate thread-safe objects.
19448 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
19450 -# Library versioning type.
19451 -version_type=$version_type
19453 -# Format of library name prefix.
19454 -libname_spec=$lt_libname_spec
19456 -# List of archive names. First name is the real one, the rest are links.
19457 -# The last name is the one that the linker finds with -lNAME.
19458 -library_names_spec=$lt_library_names_spec
19460 -# The coded name of the library, if different from the real name.
19461 -soname_spec=$lt_soname_spec
19463 -# Commands used to build and install an old-style archive.
19465 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
19466 -old_postinstall_cmds=$lt_old_postinstall_cmds
19467 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
19469 -# Create an old-style archive from a shared archive.
19470 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
19472 -# Create a temporary old-style archive to link instead of a shared archive.
19473 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
19475 -# Commands used to build and install a shared archive.
19476 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
19477 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
19478 -postinstall_cmds=$lt_postinstall_cmds
19479 -postuninstall_cmds=$lt_postuninstall_cmds
19481 -# Commands used to build a loadable module (assumed same as above if empty)
19482 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
19483 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
19485 -# Commands to strip libraries.
19486 -old_striplib=$lt_old_striplib
19487 -striplib=$lt_striplib
19489 -# Dependencies to place before the objects being linked to create a
19491 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
19493 -# Dependencies to place after the objects being linked to create a
19495 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
19497 -# Dependencies to place before the objects being linked to create a
19499 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
19501 -# Dependencies to place after the objects being linked to create a
19503 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
19505 -# The library search path used internally by the compiler when linking
19506 -# a shared library.
19507 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
19509 -# Method to check whether dependent libraries are shared objects.
19510 -deplibs_check_method=$lt_deplibs_check_method
19512 -# Command to use when deplibs_check_method == file_magic.
19513 -file_magic_cmd=$lt_file_magic_cmd
19515 -# Flag that allows shared libraries with undefined symbols to be built.
19516 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
19518 -# Flag that forces no undefined symbols.
19519 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
19521 -# Commands used to finish a libtool library installation in a directory.
19522 -finish_cmds=$lt_finish_cmds
19524 -# Same as above, but a single script fragment to be evaled but not shown.
19525 -finish_eval=$lt_finish_eval
19527 -# Take the output of nm and produce a listing of raw symbols and C names.
19528 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19530 -# Transform the output of nm in a proper C declaration
19531 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19533 -# Transform the output of nm in a C name address pair
19534 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19536 -# This is the shared library runtime path variable.
19537 -runpath_var=$runpath_var
19539 -# This is the shared library path variable.
19540 -shlibpath_var=$shlibpath_var
19542 -# Is shlibpath searched before the hard-coded library search path?
19543 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19545 -# How to hardcode a shared library path into an executable.
19546 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
19548 -# Whether we should hardcode library paths into libraries.
19549 -hardcode_into_libs=$hardcode_into_libs
19551 -# Flag to hardcode \$libdir into a binary during linking.
19552 -# This must work even if \$libdir does not exist.
19553 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
19555 -# If ld is used when linking, flag to hardcode \$libdir into
19556 -# a binary during linking. This must work even if \$libdir does
19558 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
19560 -# Whether we need a single -rpath flag with a separated argument.
19561 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
19563 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19564 -# resulting binary.
19565 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
19567 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19568 -# resulting binary.
19569 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
19571 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19572 -# the resulting binary.
19573 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
19575 -# Set to yes if building a shared library automatically hardcodes DIR into the library
19576 -# and all subsequent libraries and executables linked against it.
19577 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
19579 -# Variables whose values should be saved in libtool wrapper scripts and
19580 -# restored at relink time.
19581 -variables_saved_for_relink="$variables_saved_for_relink"
19583 -# Whether libtool must link a program against all its dependency libraries.
19584 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
19586 -# Compile-time system search path for libraries
19587 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19589 -# Run-time system search path for libraries
19590 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19592 -# Fix the shell variable \$srcfile for the compiler.
19593 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
19595 -# Set to yes if exported symbols are required.
19596 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
19598 -# The commands to list exported symbols.
19599 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
19601 -# The commands to extract the exported symbol list from a shared archive.
19602 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
19604 -# Symbols that should not be listed in the preloaded symbols.
19605 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
19607 -# Symbols that must always be exported.
19608 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
19611 -[# ### END LIBTOOL CONFIG],
19612 -[# ### END LIBTOOL TAG CONFIG: $tagname])
19619 - cat <<\EOF >> "$cfgfile"
19621 -# AIX sometimes has problems with the GCC collect2 program. For some
19622 -# reason, if we set the COLLECT_NAMES environment variable, the problems
19623 -# vanish in a puff of smoke.
19624 -if test "X${COLLECT_NAMES+set}" != Xset; then
19626 - export COLLECT_NAMES
19632 - # We use sed instead of cat because bash on DJGPP gets confused if
19633 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
19634 - # text mode, it properly converts lines to CR/LF. This bash problem
19635 - # is reportedly fixed, but why not run on old versions too?
19636 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
19638 - mv -f "$cfgfile" "$ofile" || \
19639 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19640 - chmod +x "$ofile"
19643 - # If there is no Makefile yet, we rely on a make rule to execute
19644 - # `config.status --recheck' to rerun these tests and create the
19645 - # libtool script then.
19646 - test -f Makefile && make "$ltmain"
19648 -])# AC_LIBTOOL_CONFIG
19651 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
19652 -# -------------------------------------------
19653 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
19654 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
19656 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
19658 -if test "$GCC" = yes; then
19659 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
19661 - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
19662 - lt_cv_prog_compiler_rtti_exceptions,
19663 - [-fno-rtti -fno-exceptions], [],
19664 - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
19666 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
19669 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
19670 -# ---------------------------------
19671 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
19672 -[AC_REQUIRE([AC_CANONICAL_HOST])
19673 -AC_REQUIRE([AC_PROG_NM])
19674 -AC_REQUIRE([AC_OBJEXT])
19675 -# Check for command to grab the raw symbol name followed by C symbol from nm.
19676 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
19677 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
19679 -# These are sane defaults that work on at least a few old systems.
19680 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
19682 -# Character class describing NM global symbol codes.
19683 -symcode='[[BCDEGRST]]'
19685 -# Regexp to match symbols that can be accessed directly from C.
19686 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
19688 -# Transform the above into a raw symbol and a C symbol.
19689 -symxfrm='\1 \2\3 \3'
19691 -# Transform an extracted symbol line into a proper C declaration
19692 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
19694 -# Transform an extracted symbol line into symbol name and symbol address
19695 -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'"
19697 -# Define system-specific variables.
19700 - symcode='[[BCDT]]'
19702 -cygwin* | mingw* | pw32*)
19703 - symcode='[[ABCDGISTW]]'
19705 -hpux*) # Its linker distinguishes data from code symbols
19706 - if test "$host_cpu" = ia64; then
19707 - symcode='[[ABCDEGRST]]'
19709 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
19710 - 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'"
19712 -irix* | nonstopux*)
19713 - symcode='[[BCDEGRST]]'
19716 - symcode='[[BCDEGQRST]]'
19718 -solaris* | sysv5*)
19719 - symcode='[[BDT]]'
19722 - symcode='[[DFNSTU]]'
19726 -# Handle CRLF in mingw tool chain
19730 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
19734 -# If we're using GNU nm, then use its standard symbol codes.
19735 -case `$NM -V 2>&1` in
19736 -*GNU* | *'with BFD'*)
19737 - symcode='[[ABCDGISTW]]' ;;
19740 -# Try without a prefix undercore, then with it.
19741 -for ac_symprfx in "" "_"; do
19743 - # Write the raw and C identifiers.
19744 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
19746 - # Check to see that the pipe works correctly.
19750 - cat > conftest.$ac_ext <<EOF
19751 -#ifdef __cplusplus
19755 -void nm_test_func(){}
19756 -#ifdef __cplusplus
19759 -int main(){nm_test_var='a';nm_test_func();return(0);}
19762 - if AC_TRY_EVAL(ac_compile); then
19763 - # Now try to grab the symbols.
19764 - nlist=conftest.nm
19765 - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
19766 - # Try sorting and uniquifying the output.
19767 - if sort "$nlist" | uniq > "$nlist"T; then
19768 - mv -f "$nlist"T "$nlist"
19773 - # Make sure that we snagged all the symbols we need.
19774 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
19775 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
19776 - cat <<EOF > conftest.$ac_ext
19777 -#ifdef __cplusplus
19782 - # Now generate the symbol file.
19783 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
19785 - cat <<EOF >> conftest.$ac_ext
19786 -#if defined (__STDC__) && __STDC__
19787 -# define lt_ptr_t void *
19789 -# define lt_ptr_t char *
19793 -/* The mapping between symbol names and symbols. */
19795 - const char *name;
19796 - lt_ptr_t address;
19798 -lt_preloaded_symbols[[]] =
19801 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
19802 - cat <<\EOF >> conftest.$ac_ext
19803 - {0, (lt_ptr_t) 0}
19806 -#ifdef __cplusplus
19810 - # Now try linking the two files.
19811 - mv conftest.$ac_objext conftstm.$ac_objext
19812 - lt_save_LIBS="$LIBS"
19813 - lt_save_CFLAGS="$CFLAGS"
19814 - LIBS="conftstm.$ac_objext"
19815 - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
19816 - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
19819 - LIBS="$lt_save_LIBS"
19820 - CFLAGS="$lt_save_CFLAGS"
19822 - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
19825 - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
19828 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
19831 - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
19832 - cat conftest.$ac_ext >&5
19834 - rm -f conftest* conftst*
19836 - # Do not use the global_symbol_pipe unless it works.
19837 - if test "$pipe_works" = yes; then
19840 - lt_cv_sys_global_symbol_pipe=
19844 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
19845 - lt_cv_sys_global_symbol_to_cdecl=
19847 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
19848 - AC_MSG_RESULT(failed)
19850 - AC_MSG_RESULT(ok)
19852 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
19855 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
19856 -# ---------------------------------------
19857 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
19858 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
19859 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
19860 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
19862 -AC_MSG_CHECKING([for $compiler option to produce PIC])
19863 - ifelse([$1],[CXX],[
19864 - # C++ specific cases for pic, static, wl, etc.
19865 - if test "$GXX" = yes; then
19866 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19867 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
19871 - # All AIX code is PIC.
19872 - if test "$host_cpu" = ia64; then
19873 - # AIX 5 now supports IA64 processor
19874 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
19878 - # FIXME: we need at least 68020 code to build shared libraries, but
19879 - # adding the `-m68020' flag to GCC prevents building anything better,
19880 - # like `-m68040'.
19881 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
19883 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19884 - # PIC is the default for these OSes.
19886 - mingw* | os2* | pw32*)
19887 - # This hack is so that the source file can tell whether it is being
19888 - # built for inclusion in a dll (and should export symbols for example).
19889 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
19891 - darwin* | rhapsody*)
19892 - # PIC is the default on this platform
19893 - # Common symbols not allowed in MH_DYLIB files
19894 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
19897 - # DJGPP does not support shared libraries at all
19898 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
19901 - if test -d /usr/nec; then
19902 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
19906 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19907 - # not for PA HP-UX.
19908 - case "$host_cpu" in
19912 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
19917 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
19923 - # All AIX code is PIC.
19924 - if test "$host_cpu" = ia64; then
19925 - # AIX 5 now supports IA64 processor
19926 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
19928 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
19932 - case $cc_basename in
19934 - # Green Hills C++ Compiler
19935 - # _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"
19940 - case $cc_basename in
19942 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
19945 - # Green Hills C++ Compiler
19946 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
19953 - # FreeBSD uses GNU C++
19955 - hpux9* | hpux10* | hpux11*)
19956 - case $cc_basename in
19958 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19959 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
19960 - if test "$host_cpu" != ia64; then
19961 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
19965 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19966 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
19967 - case "$host_cpu" in
19972 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
19980 - irix5* | irix6* | nonstopux*)
19981 - case $cc_basename in
19983 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19984 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
19985 - # CC pic flag -KPIC is the default.
19992 - case $cc_basename in
19994 - # KAI C++ Compiler
19995 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
19996 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20000 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20001 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20002 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20006 - # Make sure the PIC flag is empty. It appears that all Alpha
20007 - # Linux and Compaq Tru64 Unix objects are PIC.
20008 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20009 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20020 - case $cc_basename in
20022 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
20030 - osf3* | osf4* | osf5*)
20031 - case $cc_basename in
20033 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
20036 - # Rational C++ 2.4.1
20037 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20040 - # Digital/Compaq C++
20041 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20042 - # Make sure the PIC flag is empty. It appears that all Alpha
20043 - # Linux and Compaq Tru64 Unix objects are PIC.
20044 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20045 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20054 - case $cc_basename in
20056 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20063 - case $cc_basename in
20065 - # Sun C++ 4.2, 5.x and Centerline C++
20066 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20067 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20068 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
20071 - # Green Hills C++ Compiler
20072 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
20079 - case $cc_basename in
20082 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20083 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20087 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20094 - case $cc_basename in
20096 - # NonStop-UX NCC 3.20
20097 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20108 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20114 - if test "$GCC" = yes; then
20115 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20116 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20120 - # All AIX code is PIC.
20121 - if test "$host_cpu" = ia64; then
20122 - # AIX 5 now supports IA64 processor
20123 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20128 - # FIXME: we need at least 68020 code to build shared libraries, but
20129 - # adding the `-m68020' flag to GCC prevents building anything better,
20130 - # like `-m68040'.
20131 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
20134 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20135 - # PIC is the default for these OSes.
20138 - mingw* | pw32* | os2*)
20139 - # This hack is so that the source file can tell whether it is being
20140 - # built for inclusion in a dll (and should export symbols for example).
20141 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
20144 - darwin* | rhapsody*)
20145 - # PIC is the default on this platform
20146 - # Common symbols not allowed in MH_DYLIB files
20147 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
20151 - # Just because we use GCC doesn't mean we suddenly get shared libraries
20152 - # on systems that don't support them.
20153 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20158 - if test -d /usr/nec; then
20159 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
20164 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20165 - # not for PA HP-UX.
20166 - case "$host_cpu" in
20171 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20177 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20181 - # PORTME Check for flag to pass linker flags through the system compiler.
20184 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20185 - if test "$host_cpu" = ia64; then
20186 - # AIX 5 now supports IA64 processor
20187 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20189 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
20193 - mingw* | pw32* | os2*)
20194 - # This hack is so that the source file can tell whether it is being
20195 - # built for inclusion in a dll (and should export symbols for example).
20196 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
20199 - hpux9* | hpux10* | hpux11*)
20200 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20201 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20202 - # not for PA HP-UX.
20203 - case "$host_cpu" in
20208 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
20211 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
20212 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
20215 - irix5* | irix6* | nonstopux*)
20216 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20217 - # PIC (with -KPIC) is the default.
20218 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20222 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20223 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20229 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20230 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20231 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20234 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20235 - # All Alpha code is PIC.
20236 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20241 - osf3* | osf4* | osf5*)
20242 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20243 - # All OSF/1 code is PIC.
20244 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20248 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
20249 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
20253 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20254 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20255 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20259 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
20260 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
20261 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20264 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20265 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20266 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20267 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20271 - if test -d /usr/nec ;then
20272 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
20273 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20278 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20279 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20283 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20288 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
20291 -# Check to make sure the PIC flag actually works.
20293 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
20294 - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
20295 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
20296 - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
20297 - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
20299 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
20301 - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20302 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
20304 -case "$host_os" in
20305 - # For platforms which do not support PIC, -DPIC is meaningless:
20307 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20310 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
20316 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
20317 -# ------------------------------------
20318 -# See if the linker supports building shared libraries.
20319 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
20320 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
20321 -ifelse([$1],[CXX],[
20322 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20325 - # If we're using GNU nm, then we don't want the "-C" option.
20326 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
20327 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20328 - _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'
20330 - _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'
20334 - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
20336 - cygwin* | mingw*)
20337 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
20340 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20345 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
20346 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
20347 - _LT_AC_TAGVAR(archive_cmds, $1)=
20348 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
20349 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
20350 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
20351 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
20352 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
20353 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
20354 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
20355 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
20356 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
20357 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
20358 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
20359 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
20360 - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
20361 - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
20362 - _LT_AC_TAGVAR(module_cmds, $1)=
20363 - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
20364 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
20365 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20366 - # include_expsyms should be a list of space-separated symbols to be *always*
20367 - # included in the symbol list
20368 - _LT_AC_TAGVAR(include_expsyms, $1)=
20369 - # exclude_expsyms can be an extended regexp of symbols to exclude
20370 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
20371 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20372 - # as well as any symbol that contains `d'.
20373 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
20374 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20375 - # platforms (ab)use it in PIC code, but their linkers get confused if
20376 - # the symbol is explicitly referenced. Since portable code cannot
20377 - # rely on this symbol name, it's probably fine to never include it in
20378 - # preloaded symbol tables.
20379 - extract_expsyms_cmds=
20382 - cygwin* | mingw* | pw32*)
20383 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
20384 - # When not using gcc, we currently assume that we are using
20385 - # Microsoft Visual C++.
20386 - if test "$GCC" != yes; then
20395 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
20396 - if test "$with_gnu_ld" = yes; then
20397 - # If archive_cmds runs LD, not CC, wlarc should be empty
20400 - # See if GNU ld supports shared libraries.
20402 - aix3* | aix4* | aix5*)
20403 - # On AIX/PPC, the GNU linker is very broken
20404 - if test "$host_cpu" != ia64; then
20405 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20408 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
20409 -*** to be unable to reliably create shared libraries on AIX.
20410 -*** Therefore, libtool is disabling shared libraries support. If you
20411 -*** really care for shared libraries, you may want to modify your PATH
20412 -*** so that a non-GNU linker is found, and then restart.
20419 - _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)'
20420 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20421 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20423 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20424 - # that the semantics of dynamic libraries on AmigaOS, at least up
20425 - # to version 4, is to share data among multiple programs linked
20426 - # with the same dynamic library. Since this doesn't match the
20427 - # behavior of shared libraries on other platforms, we can't use
20429 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20433 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20434 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20435 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20436 - # support --undefined. This deserves some investigation. FIXME
20437 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20439 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20443 - cygwin* | mingw* | pw32*)
20444 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
20445 - # as there is no search path for DLLs.
20446 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20447 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20448 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
20449 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
20450 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
20452 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20453 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20454 - # If the export-symbols file already is a .def file (1st line
20455 - # is EXPORTS), use it as is; otherwise, prepend...
20456 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20457 - cp $export_symbols $output_objdir/$soname.def;
20459 - echo EXPORTS > $output_objdir/$soname.def;
20460 - cat $export_symbols >> $output_objdir/$soname.def;
20462 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20469 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20470 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20473 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20474 - _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'
20478 - solaris* | sysv5*)
20479 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20480 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20483 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
20484 -*** create shared libraries on Solaris systems. Therefore, libtool
20485 -*** is disabling shared libraries support. We urge you to upgrade GNU
20486 -*** binutils to release 2.9.1 or newer. Another option is to modify
20487 -*** your PATH or compiler configuration so that the native linker is
20488 -*** used, and then restart.
20491 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20492 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20493 - _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'
20495 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20500 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20502 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20503 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20507 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20508 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20509 - _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'
20511 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20516 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
20517 - runpath_var=LD_RUN_PATH
20518 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
20519 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
20520 - # ancient GNU ld didn't support --whole-archive et. al.
20521 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20522 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20524 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
20528 - # PORTME fill in a description of your system's linker (not GNU ld)
20531 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20532 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20533 - _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'
20534 - # Note: this linker hardcodes the directories in LIBPATH if there
20535 - # are no directories specified by -L.
20536 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20537 - if test "$GCC" = yes && test -z "$link_static_flag"; then
20538 - # Neither direct hardcoding nor static linking is supported with a
20539 - # broken collect2.
20540 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
20545 - if test "$host_cpu" = ia64; then
20546 - # On IA64, the linker does run time linking by default, so we don't
20547 - # have to do anything special.
20548 - aix_use_runtimelinking=no
20549 - exp_sym_flag='-Bexport'
20552 - # If we're using GNU nm, then we don't want the "-C" option.
20553 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
20554 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20555 - _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'
20557 - _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'
20559 - aix_use_runtimelinking=no
20561 - # Test if we are trying to use run time linking or normal
20562 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20563 - # need to do runtime linking.
20564 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
20565 - for ld_flag in $LDFLAGS; do
20566 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20567 - aix_use_runtimelinking=yes
20573 - exp_sym_flag='-bexport'
20574 - no_entry_flag='-bnoentry'
20577 - # When large executables or shared objects are built, AIX ld can
20578 - # have problems creating the table of contents. If linking a library
20579 - # or program results in "error TOC overflow" add -mminimal-toc to
20580 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20581 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20583 - _LT_AC_TAGVAR(archive_cmds, $1)=''
20584 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20585 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
20586 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20588 - if test "$GCC" = yes; then
20589 - case $host_os in aix4.[012]|aix4.[012].*)
20590 - # We only want to do this on AIX 4.2 and lower, the check
20591 - # below for broken collect2 doesn't work under 4.3+
20592 - collect2name=`${CC} -print-prog-name=collect2`
20593 - if test -f "$collect2name" && \
20594 - strings "$collect2name" | grep resolve_lib_name >/dev/null
20596 - # We have reworked collect2
20597 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20599 - # We have old collect2
20600 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
20601 - # It fails to find uninstalled libraries when the uninstalled
20602 - # path is not listed in the libpath. Setting hardcode_minus_L
20603 - # to unsupported forces relinking
20604 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20605 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20606 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
20609 - shared_flag='-shared'
20612 - if test "$host_cpu" = ia64; then
20613 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20614 - # chokes on -Wl,-G. The following line is correct:
20617 - if test "$aix_use_runtimelinking" = yes; then
20618 - shared_flag='${wl}-G'
20620 - shared_flag='${wl}-bM:SRE'
20625 - # It seems that -bexpall does not export symbols beginning with
20626 - # underscore (_), so it is better to generate a list of symbols to export.
20627 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20628 - if test "$aix_use_runtimelinking" = yes; then
20629 - # Warning - without using the other runtime loading flags (-brtl),
20630 - # -berok will link without error, but may produce a broken library.
20631 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
20632 - # Determine the default libpath from the value encoded in an empty executable.
20633 - _LT_AC_SYS_LIBPATH_AIX
20634 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
20635 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20637 - if test "$host_cpu" = ia64; then
20638 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
20639 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
20640 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20642 - # Determine the default libpath from the value encoded in an empty executable.
20643 - _LT_AC_SYS_LIBPATH_AIX
20644 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
20645 - # Warning - without using the other run time loading flags,
20646 - # -berok will link without error, but may produce a broken library.
20647 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
20648 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
20649 - # -bexpall does not export symbols beginning with underscore (_)
20650 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20651 - # Exported symbols can be pulled into shared objects from archives
20652 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
20653 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
20654 - # This is similar to how AIX traditionally builds it's shared libraries.
20655 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20661 - _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)'
20662 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20663 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20664 - # see comment about different semantics on the GNU ld section
20665 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20669 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
20672 - cygwin* | mingw* | pw32*)
20673 - # When not using gcc, we currently assume that we are using
20674 - # Microsoft Visual C++.
20675 - # hardcode_libdir_flag_spec is actually meaningless, as there is
20676 - # no search path for DLLs.
20677 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
20678 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20679 - # Tell ltmain to make .lib files, not .a files.
20681 - # Tell ltmain to make .dll files, not .so files.
20683 - # FIXME: Setting linknames here is a bad hack.
20684 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20685 - # The linker will automatically build a .lib file if we build a DLL.
20686 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
20687 - # FIXME: Should let the user specify the lib program.
20688 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
20689 - fix_srcfile_path='`cygpath -w "$srcfile"`'
20690 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
20693 - darwin* | rhapsody*)
20694 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
20695 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
20696 - case "$host_os" in
20697 - rhapsody* | darwin1.[[012]])
20698 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
20700 - *) # Darwin 1.3 on
20701 - test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
20704 - # FIXME: Relying on posixy $() will cause problems for
20705 - # cross-compilation, but unfortunately the echo tests do not
20706 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
20707 - # `"' quotes if we put them in here... so don't!
20708 - lt_int_apple_cc_single_mod=no
20709 - output_verbose_link_cmd='echo'
20710 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20711 - lt_int_apple_cc_single_mod=yes
20713 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20714 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20716 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
20718 - _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
20719 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20720 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20721 - _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}'
20723 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
20725 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20726 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
20727 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
20728 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
20729 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
20730 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20735 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20736 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20737 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20741 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
20744 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20745 - # support. Future versions do this automatically, but an explicit c++rt0.o
20746 - # does not break anything, and helps significantly (at the cost of a little
20749 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20750 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20751 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20752 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20755 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20757 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20758 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20759 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20760 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20763 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20765 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20766 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20767 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20768 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20772 - if test "$GCC" = yes; then
20773 - _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'
20775 - _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'
20777 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20778 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20779 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20781 - # hardcode_minus_L: Not really in the search PATH,
20782 - # but as the default location of the library.
20783 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20784 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20787 - hpux10* | hpux11*)
20788 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20789 - case "$host_cpu" in
20791 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20794 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20798 - case "$host_cpu" in
20800 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20803 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20807 - if test "$with_gnu_ld" = no; then
20808 - case "$host_cpu" in
20810 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20811 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
20812 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20813 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
20814 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20817 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20818 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
20819 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20821 - # hardcode_minus_L: Not really in the search PATH,
20822 - # but as the default location of the library.
20823 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20826 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20827 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20828 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20829 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20831 - # hardcode_minus_L: Not really in the search PATH,
20832 - # but as the default location of the library.
20833 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20839 - irix5* | irix6* | nonstopux*)
20840 - if test "$GCC" = yes; then
20841 - _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'
20843 - _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'
20844 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
20846 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20847 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20848 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20852 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20853 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20855 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20857 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20858 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20859 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20863 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20864 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20865 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20866 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20867 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20871 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20872 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20873 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20874 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20875 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
20876 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20879 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
20880 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20881 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20884 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20885 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
20892 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20893 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20894 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20895 - _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'
20896 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20900 - if test "$GCC" = yes; then
20901 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
20902 - _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'
20904 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
20905 - _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'
20907 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20908 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20911 - osf4* | osf5*) # as osf3* with the addition of -msym flag
20912 - if test "$GCC" = yes; then
20913 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
20914 - _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'
20915 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20917 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
20918 - _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'
20919 - _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~
20920 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
20922 - # Both c and cxx compiler support -rpath directly
20923 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
20925 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20929 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20930 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20931 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
20932 - runpath_var=LD_RUN_PATH
20933 - hardcode_runpath_var=yes
20937 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
20938 - if test "$GCC" = yes; then
20939 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20940 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20941 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20943 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20944 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20945 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20947 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20948 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20950 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
20951 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20952 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
20954 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20958 - if test "x$host_vendor" = xsequent; then
20959 - # Use $CC to link under sequent, because it throws in some extra .o
20960 - # files that make .init and .fini sections work.
20961 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20963 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20965 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20966 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20967 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20968 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20972 - case $host_vendor in
20974 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20975 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
20978 - ## LD is ld it makes a PLAMLIB
20979 - ## CC just makes a GrossModule.
20980 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20981 - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
20982 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
20985 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20986 - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
20989 - runpath_var='LD_RUN_PATH'
20990 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20994 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20995 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20996 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
21000 - if test -d /usr/nec; then
21001 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21002 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21003 - runpath_var=LD_RUN_PATH
21004 - hardcode_runpath_var=yes
21005 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
21010 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21011 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
21012 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
21013 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21014 - hardcode_runpath_var=yes
21015 - runpath_var=LD_RUN_PATH
21018 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
21019 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
21020 - if test "$GCC" = yes; then
21021 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21023 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21025 - runpath_var='LD_RUN_PATH'
21026 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21030 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
21031 - # $CC -shared without GNU ld will not create a library from C++
21032 - # object files and a static libstdc++, better avoid it by now
21033 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21034 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21035 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21036 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
21037 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21038 - runpath_var='LD_RUN_PATH'
21042 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21043 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
21044 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21048 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
21053 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
21054 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
21056 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21057 -if test "$GCC" = yes; then
21058 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21062 -# Do we need to explicitly link libc?
21064 -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
21066 - # Assume -lc should be added
21067 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
21069 - if test "$enable_shared" = yes && test "$GCC" = yes; then
21070 - case $_LT_AC_TAGVAR(archive_cmds, $1) in
21072 - # FIXME: we may have to deal with multi-command sequences.
21075 - # Test whether the compiler implicitly links with -lc since on some
21076 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
21077 - # to ld, don't add -lc before -lgcc.
21078 - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
21080 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21082 - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
21085 - libobjs=conftest.$ac_objext
21087 - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
21088 - compiler_flags=-v
21093 - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
21094 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
21095 - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
21097 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
21099 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
21101 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
21103 - cat conftest.err 1>&5
21106 - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
21112 -])# AC_LIBTOOL_PROG_LD_SHLIBS
21115 -# _LT_AC_FILE_LTDLL_C
21116 -# -------------------
21117 -# Be careful that the start marker always follows a newline.
21118 -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
21119 -# /* ltdll.c starts here */
21120 -# #define WIN32_LEAN_AND_MEAN
21121 -# #include <windows.h>
21122 -# #undef WIN32_LEAN_AND_MEAN
21123 -# #include <stdio.h>
21125 -# #ifndef __CYGWIN__
21126 -# # ifdef __CYGWIN32__
21127 -# # define __CYGWIN__ __CYGWIN32__
21131 -# #ifdef __cplusplus
21134 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
21135 -# #ifdef __cplusplus
21139 -# #ifdef __CYGWIN__
21140 -# #include <cygwin/cygwin_dll.h>
21141 -# DECLARE_CYGWIN_DLL( DllMain );
21143 -# HINSTANCE __hDllInstance_base;
21146 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
21148 -# __hDllInstance_base = hInst;
21151 -# /* ltdll.c ends here */
21152 -])# _LT_AC_FILE_LTDLL_C
21155 -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
21156 -# ---------------------------------
21157 -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
21161 -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
21162 -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
21163 -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
21164 -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
21165 -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
21166 -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
21167 -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
21169 -# This is just to silence aclocal about the macro not being used
21170 -ifelse([AC_DISABLE_FAST_INSTALL])
21172 -AC_DEFUN([LT_AC_PROG_GCJ],
21173 -[AC_CHECK_TOOL(GCJ, gcj, no)
21174 - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
21175 - AC_SUBST(GCJFLAGS)
21178 -AC_DEFUN([LT_AC_PROG_RC],
21179 -[AC_CHECK_TOOL(RC, windres, no)
21182 -############################################################
21183 -# NOTE: This macro has been submitted for inclusion into #
21184 -# GNU Autoconf as AC_PROG_SED. When it is available in #
21185 -# a released version of Autoconf we should remove this #
21186 -# macro and use it instead. #
21187 -############################################################
21190 -# Check for a fully-functional sed program, that truncates
21191 -# as few characters as possible. Prefer GNU sed if found.
21192 -AC_DEFUN([LT_AC_PROG_SED],
21193 -[AC_MSG_CHECKING([for a sed that does not truncate output])
21194 -AC_CACHE_VAL(lt_cv_path_SED,
21195 -[# Loop through the user's path and test for sed and gsed.
21196 -# Then use that list of sed's as ones to test for truncation.
21197 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21198 -for as_dir in $PATH
21201 - test -z "$as_dir" && as_dir=.
21202 - for lt_ac_prog in sed gsed; do
21203 - for ac_exec_ext in '' $ac_executable_extensions; do
21204 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
21205 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
21212 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
21213 -# along with /bin/sed that truncates output.
21214 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
21215 - test ! -f $lt_ac_sed && break
21216 - cat /dev/null > conftest.in
21218 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
21219 - # Check for GNU sed and select it if it is found.
21220 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
21221 - lt_cv_path_SED=$lt_ac_sed
21225 - cat conftest.in conftest.in >conftest.tmp
21226 - mv conftest.tmp conftest.in
21227 - cp conftest.in conftest.nl
21228 - echo >>conftest.nl
21229 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
21230 - cmp -s conftest.out conftest.nl || break
21231 - # 10000 chars as input seems more than enough
21232 - test $lt_ac_count -gt 10 && break
21233 - lt_ac_count=`expr $lt_ac_count + 1`
21234 - if test $lt_ac_count -gt $lt_ac_max; then
21235 - lt_ac_max=$lt_ac_count
21236 - lt_cv_path_SED=$lt_ac_sed
21240 -SED=$lt_cv_path_SED
21242 -AC_MSG_RESULT([$SED])
21244 diff -ruN libsigcx-0.6.4-patched/scripts/ltmain.sh libsigcx-0.6.4-regen/scripts/ltmain.sh
21245 --- libsigcx-0.6.4-patched/scripts/ltmain.sh 2003-04-21 12:13:43.000000000 -0700
21246 +++ libsigcx-0.6.4-regen/scripts/ltmain.sh 2005-03-31 16:47:06.000000000 -0800
21248 # ltmain.sh - Provide generalized library-building support services.
21249 # NOTE: Changing this file will not affect anything until you rerun configure.
21251 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
21252 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
21253 # Free Software Foundation, Inc.
21254 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21257 # configuration script generated by Autoconf, you may include it under
21258 # the same distribution terms that you use for the rest of that program.
21260 +basename="s,^.*/,,g"
21262 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
21263 +# is ksh but when the shell is invoked as "sh" and the current value of
21264 +# the _XPG environment variable is not equal to 1 (one), the special
21265 +# positional parameter $0, within a function call, is the name of the
21269 +# The name of this program:
21270 +progname=`echo "$progpath" | $SED $basename`
21271 +modename="$progname"
21273 +# Global variables:
21280 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
21283 # Check that we have a working $echo.
21284 if test "X$1" = X--no-reexec; then
21285 # Discard the --no-reexec flag, and continue.
21289 # Restart under the correct shell, and then maybe $echo will work.
21290 - exec $SHELL "$0" --no-reexec ${1+"$@"}
21291 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
21294 if test "X$1" = X--fallback-echo; then
21300 + exit $EXIT_SUCCESS
21303 -# The name of this program.
21304 -progname=`$echo "$0" | ${SED} 's%^.*/%%'`
21305 -modename="$progname"
21311 -TIMESTAMP=" (1.1220 2003/04/05 19:32:58)"
21314 help="Try \`$progname --help' for more information."
21315 magic="%%%MAGIC variable%%%"
21317 Xsed="${SED}"' -e 1s/^X//'
21318 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
21319 # test EBCDIC or ASCII
21320 -case `echo A|od -x` in
21321 - *[Cc]1*) # EBCDIC based system
21322 +case `echo A|tr A '\301'` in
21323 + A) # EBCDIC based system
21324 SP2NL="tr '\100' '\n'"
21325 NL2SP="tr '\r\n' '\100\100'"
21327 @@ -94,12 +107,13 @@
21330 # Make sure IFS has a sensible default
21335 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
21336 $echo "$modename: not configured to build any kind of library" 1>&2
21337 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
21339 + exit $EXIT_FAILURE
21342 # Global variables.
21343 @@ -118,10 +132,13 @@
21344 # Shell function definitions:
21345 # This seems to be the best place for them
21347 +# func_win32_libid arg
21348 +# return the library type of file 'arg'
21350 # Need a lot of goo to handle *both* DLLs and import libs
21351 # Has to be a shell function in order to 'eat' the argument
21352 # that is supplied when $file_magic_command is called.
21354 +func_win32_libid () {
21355 win32_libid_type="unknown"
21356 win32_fileres=`file -L $1 2>/dev/null`
21357 case $win32_fileres in
21358 @@ -130,7 +147,7 @@
21360 *ar\ archive*) # could be an import, or static
21361 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
21362 - grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
21363 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
21364 win32_nmres=`eval $NM -f posix -A $1 | \
21365 sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
21366 if test "X$win32_nmres" = "Ximport" ; then
21367 @@ -140,7 +157,7 @@
21373 win32_libid_type="x86 DLL"
21375 *executable*) # but shell scripts are "executable" too...
21376 @@ -154,9 +171,76 @@
21377 $echo $win32_libid_type
21381 +# func_infer_tag arg
21382 +# Infer tagged configuration to use if any are available and
21383 +# if one wasn't chosen via the "--tag" command line option.
21384 +# Only attempt this if the compiler in the base compile
21385 +# command doesn't match the default compiler.
21386 +# arg is usually of the form 'gcc ...'
21387 +func_infer_tag () {
21388 + if test -n "$available_tags" && test -z "$tagname"; then
21390 + for arg in $CC; do
21392 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
21396 + CC_quoted="$CC_quoted $arg"
21399 + # Blanks in the command may have been stripped by the calling shell,
21400 + # but not from the CC environment variable when configure was run.
21401 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
21402 + # Blanks at the start of $base_compile will cause this to fail
21403 + # if we don't check for them as well.
21405 + for z in $available_tags; do
21406 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
21407 + # Evaluate the configuration.
21408 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
21410 + for arg in $CC; do
21411 + # Double-quote args containing other shell metacharacters.
21413 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
21417 + CC_quoted="$CC_quoted $arg"
21420 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
21421 + # The compiler in the base compile command matches
21422 + # the one in the tagged configuration.
21423 + # Assume this is the tagged configuration we want.
21430 + # If $tagname still isn't set, then no tagged configuration
21431 + # was found and let the user know that the "--tag" command
21432 + # line option must be used.
21433 + if test -z "$tagname"; then
21434 + $echo "$modename: unable to infer tagged configuration"
21435 + $echo "$modename: specify a tag with \`--tag'" 1>&2
21436 + exit $EXIT_FAILURE
21438 +# $echo "$modename: using $tagname tagged configuration"
21444 # End of Shell function definitions
21445 #####################################
21448 +eval std_shrext=\"$shrext_cmds\"
21450 # Parse our command line options once, thoroughly.
21451 while test "$#" -gt 0
21453 @@ -176,12 +260,13 @@
21457 + preserve_args="${preserve_args}=$arg"
21459 # Check whether tagname contains only valid characters
21461 *[!-_A-Za-z0-9,/]*)
21462 $echo "$progname: invalid tag name: $tagname" 1>&2
21464 + exit $EXIT_FAILURE
21468 @@ -191,10 +276,10 @@
21469 # not specially marked.
21472 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
21473 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
21474 taglist="$taglist $tagname"
21475 # Evaluate the configuration.
21476 - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
21477 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
21479 $echo "$progname: ignoring unknown tag $tagname" 1>&2
21481 @@ -223,21 +308,22 @@
21482 $echo "Copyright (C) 2003 Free Software Foundation, Inc."
21483 $echo "This is free software; see the source for copying conditions. There is NO"
21484 $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
21486 + exit $EXIT_SUCCESS
21490 - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
21491 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
21492 # Now print the configurations for the tags.
21493 for tagname in $taglist; do
21494 - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
21495 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
21498 + exit $EXIT_SUCCESS
21502 $echo "$progname: enabling shell trace mode"
21504 + preserve_args="$preserve_args $arg"
21508 @@ -256,7 +342,7 @@
21510 $echo "disable static libraries"
21513 + exit $EXIT_SUCCESS
21516 --finish) mode="finish" ;;
21517 @@ -268,6 +354,7 @@
21519 --quiet | --silent)
21521 + preserve_args="$preserve_args $arg"
21524 --tag) prevopt="--tag" prev=tag ;;
21525 @@ -275,6 +362,7 @@
21526 set tag "$optarg" ${1+"$@"}
21529 + preserve_args="$preserve_args --tag"
21533 @@ -285,7 +373,7 @@
21535 $echo "$modename: unrecognized option \`$arg'" 1>&2
21538 + exit $EXIT_FAILURE
21542 @@ -298,7 +386,7 @@
21543 if test -n "$prevopt"; then
21544 $echo "$modename: option \`$prevopt' requires an argument" 1>&2
21547 + exit $EXIT_FAILURE
21550 # If this variable is set in any of the actions, the command in it
21551 @@ -354,7 +442,7 @@
21552 if test -n "$execute_dlfiles" && test "$mode" != execute; then
21553 $echo "$modename: unrecognized option \`-dlopen'" 1>&2
21556 + exit $EXIT_FAILURE
21559 # Change the help message to a mode-specific one.
21560 @@ -369,9 +457,11 @@
21561 # Get the compilation command and the source file.
21563 srcfile="$nonopt" # always keep a non-empty value in "srcfile"
21572 @@ -394,24 +484,19 @@
21574 if test -n "$libobj" ; then
21575 $echo "$modename: you cannot specify \`-o' more than once" 1>&2
21577 + exit $EXIT_FAILURE
21584 - build_old_libs=yes
21585 + -static | -prefer-pic | -prefer-non-pic)
21586 + later="$later $arg"
21602 @@ -424,7 +509,7 @@
21603 args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
21605 save_ifs="$IFS"; IFS=','
21606 - for arg in $args; do
21607 + for arg in $args; do
21610 # Double-quote args containing other shell metacharacters.
21611 @@ -474,11 +559,11 @@
21614 $echo "$modename: you must specify an argument for -Xcompile"
21616 + exit $EXIT_FAILURE
21619 $echo "$modename: you must specify a target with \`-o'" 1>&2
21621 + exit $EXIT_FAILURE
21624 # Get the name of the library object.
21625 @@ -511,50 +596,30 @@
21626 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
21628 $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
21630 + exit $EXIT_FAILURE
21634 - # Infer tagged configuration to use if any are available and
21635 - # if one wasn't chosen via the "--tag" command line option.
21636 - # Only attempt this if the compiler in the base compile
21637 - # command doesn't match the default compiler.
21638 - if test -n "$available_tags" && test -z "$tagname"; then
21639 - case $base_compile in
21640 - # Blanks in the command may have been stripped by the calling shell,
21641 - # but not from the CC environment variable when configure was run.
21642 - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
21643 - # Blanks at the start of $base_compile will cause this to fail
21644 - # if we don't check for them as well.
21646 - for z in $available_tags; do
21647 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
21648 - # Evaluate the configuration.
21649 - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
21650 - case "$base_compile " in
21651 - "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
21652 - # The compiler in the base compile command matches
21653 - # the one in the tagged configuration.
21654 - # Assume this is the tagged configuration we want.
21661 - # If $tagname still isn't set, then no tagged configuration
21662 - # was found and let the user know that the "--tag" command
21663 - # line option must be used.
21664 - if test -z "$tagname"; then
21665 - $echo "$modename: unable to infer tagged configuration"
21666 - $echo "$modename: specify a tag with \`--tag'" 1>&2
21669 -# $echo "$modename: using $tagname tagged configuration"
21671 + func_infer_tag $base_compile
21673 + for arg in $later; do
21676 + build_old_libs=yes
21693 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
21694 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
21695 @@ -568,7 +633,7 @@
21696 if test -z "$base_compile"; then
21697 $echo "$modename: you must specify a compilation command" 1>&2
21700 + exit $EXIT_FAILURE
21703 # Delete any leftover library objects.
21704 @@ -579,7 +644,7 @@
21707 $run $rm $removelist
21708 - trap "$run $rm $removelist; exit 1" 1 2 15
21709 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
21711 # On Cygwin there's no "real" PIC flag so we must build both object types
21713 @@ -598,7 +663,7 @@
21714 output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
21715 lockfile="$output_obj.lock"
21716 removelist="$removelist $output_obj $lockfile"
21717 - trap "$run $rm $removelist; exit 1" 1 2 15
21718 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
21722 @@ -608,7 +673,7 @@
21723 # Lock this critical section if it is needed
21724 # We use this script file to make the link, it avoids creating a new file
21725 if test "$need_locks" = yes; then
21726 - until $run ln "$0" "$lockfile" 2>/dev/null; do
21727 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
21728 $show "Waiting for $lockfile to be removed"
21731 @@ -626,7 +691,7 @@
21734 $run $rm $removelist
21736 + exit $EXIT_FAILURE
21738 $echo $srcfile > "$lockfile"
21740 @@ -681,7 +746,7 @@
21741 if $run eval "$command"; then :
21743 test -n "$output_obj" && $run $rm $removelist
21745 + exit $EXIT_FAILURE
21748 if test "$need_locks" = warn &&
21749 @@ -701,7 +766,7 @@
21752 $run $rm $removelist
21754 + exit $EXIT_FAILURE
21757 # Just move the object if needed, then go on to compile the next one
21758 @@ -722,7 +787,9 @@
21761 # Allow error messages only from the first compilation.
21762 - suppress_output=' >/dev/null 2>&1'
21763 + if test "$suppress_opt" = yes; then
21764 + suppress_output=' >/dev/null 2>&1'
21767 # No PIC object so indicate it doesn't exist in the libtool
21769 @@ -751,7 +818,7 @@
21770 if $run eval "$command"; then :
21772 $run $rm $removelist
21774 + exit $EXIT_FAILURE
21777 if test "$need_locks" = warn &&
21778 @@ -771,7 +838,7 @@
21781 $run $rm $removelist
21783 + exit $EXIT_FAILURE
21786 # Just move the object if needed
21787 @@ -809,7 +876,7 @@
21788 $run $rm "$lockfile"
21792 + exit $EXIT_SUCCESS
21795 # libtool link mode
21796 @@ -835,7 +902,7 @@
21799 libtool_args="$nonopt"
21800 - base_compile="$nonopt"
21801 + base_compile="$nonopt $@"
21802 compile_command="$nonopt"
21803 finalize_command="$nonopt"
21805 @@ -867,6 +934,7 @@
21809 + precious_files_regex=
21810 prefer_static_libs=no
21813 @@ -880,6 +948,8 @@
21817 + func_infer_tag $base_compile
21819 # We need to know -static, to get the right output filenames.
21822 @@ -911,7 +981,6 @@
21823 # Go through the arguments, transforming them on the way.
21824 while test "$#" -gt 0; do
21826 - base_compile="$base_compile $arg"
21829 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
21830 @@ -975,7 +1044,7 @@
21831 export_symbols="$arg"
21832 if test ! -f "$arg"; then
21833 $echo "$modename: symbol file \`$arg' does not exist"
21835 + exit $EXIT_FAILURE
21839 @@ -990,6 +1059,11 @@
21844 + precious_files_regex="$arg"
21851 @@ -1022,7 +1096,7 @@
21852 test "$pic_object" = none && \
21853 test "$non_pic_object" = none; then
21854 $echo "$modename: cannot find name of object for \`$arg'" 1>&2
21856 + exit $EXIT_FAILURE
21859 # Extract subdirectory from the argument.
21860 @@ -1075,7 +1149,7 @@
21861 # Only an error if not doing a dry-run.
21862 if test -z "$run"; then
21863 $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
21865 + exit $EXIT_FAILURE
21869 @@ -1096,7 +1170,7 @@
21872 $echo "$modename: link input file \`$save_arg' does not exist"
21874 + exit $EXIT_FAILURE
21878 @@ -1108,7 +1182,7 @@
21879 [\\/]* | [A-Za-z]:[\\/]*) ;;
21881 $echo "$modename: only absolute run-paths are allowed" 1>&2
21883 + exit $EXIT_FAILURE
21886 if test "$prev" = rpath; then
21887 @@ -1148,6 +1222,11 @@
21888 finalize_command="$finalize_command $qarg"
21892 + shrext_cmds="$arg"
21897 eval "$prev=\"\$arg\""
21899 @@ -1196,7 +1275,7 @@
21900 -export-symbols | -export-symbols-regex)
21901 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
21902 $echo "$modename: more than one -exported-symbols argument is not allowed"
21904 + exit $EXIT_FAILURE
21906 if test "X$arg" = "X-export-symbols"; then
21908 @@ -1232,7 +1311,7 @@
21909 absdir=`cd "$dir" && pwd`
21910 if test -z "$absdir"; then
21911 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
21913 + exit $EXIT_FAILURE
21917 @@ -1287,6 +1366,11 @@
21921 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
21922 + deplibs="$deplibs $arg"
21929 @@ -1351,6 +1435,11 @@
21933 + -precious-files-regex)
21934 + prev=precious_regex
21941 @@ -1373,7 +1462,7 @@
21942 [\\/]* | [A-Za-z]:[\\/]*) ;;
21944 $echo "$modename: only absolute run-paths are allowed" 1>&2
21946 + exit $EXIT_FAILURE
21950 @@ -1496,7 +1585,7 @@
21951 test "$pic_object" = none && \
21952 test "$non_pic_object" = none; then
21953 $echo "$modename: cannot find name of object for \`$arg'" 1>&2
21955 + exit $EXIT_FAILURE
21958 # Extract subdirectory from the argument.
21959 @@ -1549,7 +1638,7 @@
21960 # Only an error if not doing a dry-run.
21961 if test -z "$run"; then
21962 $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
21964 + exit $EXIT_FAILURE
21968 @@ -1616,48 +1705,7 @@
21969 if test -n "$prev"; then
21970 $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
21975 - # Infer tagged configuration to use if any are available and
21976 - # if one wasn't chosen via the "--tag" command line option.
21977 - # Only attempt this if the compiler in the base link
21978 - # command doesn't match the default compiler.
21979 - if test -n "$available_tags" && test -z "$tagname"; then
21980 - case $base_compile in
21981 - # Blanks in the command may have been stripped by the calling shell,
21982 - # but not from the CC environment variable when configure was run.
21983 - "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
21984 - # Blanks at the start of $base_compile will cause this to fail
21985 - # if we don't check for them as well.
21987 - for z in $available_tags; do
21988 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
21989 - # Evaluate the configuration.
21990 - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
21991 - case $base_compile in
21992 - "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
21993 - # The compiler in $compile_command matches
21994 - # the one in the tagged configuration.
21995 - # Assume this is the tagged configuration we want.
22002 - # If $tagname still isn't set, then no tagged configuration
22003 - # was found and let the user know that the "--tag" command
22004 - # line option must be used.
22005 - if test -z "$tagname"; then
22006 - $echo "$modename: unable to infer tagged configuration"
22007 - $echo "$modename: specify a tag with \`--tag'" 1>&2
22010 -# $echo "$modename: using $tagname tagged configuration"
22014 + exit $EXIT_FAILURE
22017 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
22018 @@ -1701,7 +1749,7 @@
22020 $echo "$modename: you must specify an output file" 1>&2
22023 + exit $EXIT_FAILURE
22025 *.$libext) linkmode=oldlib ;;
22026 *.lo | *.$objext) linkmode=obj ;;
22027 @@ -1711,7 +1759,7 @@
22030 *cygwin* | *mingw* | *pw32*)
22031 - # don't eliminate duplcations in $postdeps and $predeps
22032 + # don't eliminate duplications in $postdeps and $predeps
22033 duplicate_compiler_generated_deps=yes
22036 @@ -1764,7 +1812,7 @@
22039 $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
22041 + exit $EXIT_FAILURE
22045 @@ -1790,7 +1838,10 @@
22047 dlopen) libs="$dlfiles" ;;
22048 dlpreopen) libs="$dlprefiles" ;;
22049 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
22051 + libs="$deplibs %DEPLIBS%"
22052 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
22056 if test "$pass" = dlopen; then
22057 @@ -1802,23 +1853,34 @@
22061 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
22062 + if test "$linkmode,$pass" = "prog,link"; then
22063 + compile_deplibs="$deplib $compile_deplibs"
22064 + finalize_deplibs="$deplib $finalize_deplibs"
22066 + deplibs="$deplib $deplibs"
22071 if test "$linkmode" != lib && test "$linkmode" != prog; then
22072 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
22075 - if test "$pass" = conv; then
22076 - deplibs="$deplib $deplibs"
22079 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
22080 for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
22081 - # Search the libtool library
22082 - lib="$searchdir/lib${name}.la"
22083 - if test -f "$lib"; then
22087 + for search_ext in .la $std_shrext .so .a; do
22088 + # Search the libtool library
22089 + lib="$searchdir/lib${name}${search_ext}"
22090 + if test -f "$lib"; then
22091 + if test "$search_ext" = ".la"; then
22100 if test "$found" != yes; then
22101 # deplib doesn't seem to be a libtool library
22102 @@ -1883,11 +1945,11 @@
22104 if test "$pass" = scan; then
22105 deplibs="$deplib $deplibs"
22106 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
22108 compile_deplibs="$deplib $compile_deplibs"
22109 finalize_deplibs="$deplib $finalize_deplibs"
22111 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
22114 $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
22115 @@ -1966,14 +2028,14 @@
22116 if test "$found" = yes || test -f "$lib"; then :
22118 $echo "$modename: cannot find the library \`$lib'" 1>&2
22120 + exit $EXIT_FAILURE
22123 # Check to see that this really is a libtool archive.
22124 if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
22126 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22128 + exit $EXIT_FAILURE
22131 ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
22132 @@ -2009,7 +2071,7 @@
22133 if test -z "$libdir"; then
22134 if test -z "$old_library"; then
22135 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
22137 + exit $EXIT_FAILURE
22139 # It is a libtool convenience library, so add in its objects.
22140 convenience="$convenience $ladir/$objdir/$old_library"
22141 @@ -2026,12 +2088,12 @@
22143 elif test "$linkmode" != prog && test "$linkmode" != lib; then
22144 $echo "$modename: \`$lib' is not a convenience library" 1>&2
22146 + exit $EXIT_FAILURE
22153 # Get the name of the library we link against.
22155 for l in $old_library $library_names; do
22156 @@ -2039,16 +2101,18 @@
22158 if test -z "$linklib"; then
22159 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
22161 + exit $EXIT_FAILURE
22164 # This library was specified with -dlopen.
22165 if test "$pass" = dlopen; then
22166 if test -z "$libdir"; then
22167 $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
22169 + exit $EXIT_FAILURE
22171 - if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
22172 + if test -z "$dlname" ||
22173 + test "$dlopen_support" != yes ||
22174 + test "$build_libtool_libs" = no; then
22175 # If there is no dlname, no dlopen support or we're linking
22176 # statically, we need to preload. We also need to preload any
22177 # dependent libraries so libltdl's deplib preloader doesn't
22178 @@ -2097,7 +2161,7 @@
22179 if test "$pass" = dlpreopen; then
22180 if test -z "$libdir"; then
22181 $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
22183 + exit $EXIT_FAILURE
22185 # Prefer using a static library (so that no silly _DYNAMIC symbols
22186 # are required to link).
22187 @@ -2124,7 +2188,7 @@
22193 if test "$linkmode" = prog && test "$pass" != link; then
22194 newlib_search_path="$newlib_search_path $ladir"
22195 deplibs="$lib $deplibs"
22196 @@ -2211,17 +2275,18 @@
22199 # This is a shared library
22201 - # Warn about portability, can't link against -module's on some systems (darwin)
22202 - if test "$shouldnotlink" = yes && test "$pass" = link ; then
22204 + # Warn about portability, can't link against -module's on
22205 + # some systems (darwin)
22206 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
22208 if test "$linkmode" = prog; then
22209 $echo "*** Warning: Linking the executable $output against the loadable module"
22211 $echo "*** Warning: Linking the shared library $output against the loadable module"
22213 - $echo "*** $linklib is not portable!"
22215 + $echo "*** $linklib is not portable!"
22217 if test "$linkmode" = lib &&
22218 test "$hardcode_into_libs" = yes; then
22219 # Hardcode the library path.
22220 @@ -2279,9 +2344,10 @@
22222 $show "extracting exported symbol list from \`$soname'"
22223 save_ifs="$IFS"; IFS='~'
22224 - eval cmds=\"$extract_expsyms_cmds\"
22225 + cmds=$extract_expsyms_cmds
22226 for cmd in $cmds; do
22228 + eval cmd=\"$cmd\"
22230 $run eval "$cmd" || exit $?
22232 @@ -2292,9 +2358,10 @@
22233 if test -f "$output_objdir/$newlib"; then :; else
22234 $show "generating import library for \`$soname'"
22235 save_ifs="$IFS"; IFS='~'
22236 - eval cmds=\"$old_archive_from_expsyms_cmds\"
22237 + cmds=$old_archive_from_expsyms_cmds
22238 for cmd in $cmds; do
22240 + eval cmd=\"$cmd\"
22242 $run eval "$cmd" || exit $?
22244 @@ -2317,9 +2384,9 @@
22246 *-*-sco3.2v5* ) add_dir="-L$dir" ;;
22248 - # if the lib is a module then we can not link against it, someone
22249 - # is ignoring the new warnings I added
22250 - if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
22251 + # if the lib is a module then we can not link against
22252 + # it, someone is ignoring the new warnings I added
22253 + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
22254 $echo "** Warning, lib $linklib is a module, not a shared library"
22255 if test -z "$old_library" ; then
22257 @@ -2327,7 +2394,7 @@
22258 $echo "** The link will probably fail, sorry"
22260 add="$dir/$old_library"
22265 elif test "$hardcode_minus_L" = no; then
22266 @@ -2352,7 +2419,7 @@
22267 if test -n "$inst_prefix_dir"; then
22270 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
22271 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
22275 @@ -2369,7 +2436,7 @@
22277 if test "$lib_linked" != yes; then
22278 $echo "$modename: configuration error: unsupported hardcode properties"
22280 + exit $EXIT_FAILURE
22283 if test -n "$add_shlibpath"; then
22284 @@ -2412,7 +2479,8 @@
22287 elif test "$hardcode_automatic" = yes; then
22288 - if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
22289 + if test -n "$inst_prefix_dir" &&
22290 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
22291 add="$inst_prefix_dir$libdir/$linklib"
22293 add="$libdir/$linklib"
22294 @@ -2424,7 +2492,7 @@
22295 if test -n "$inst_prefix_dir"; then
22298 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
22299 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
22303 @@ -2492,7 +2560,8 @@
22305 if test "$linkmode" = lib; then
22306 if test -n "$dependency_libs" &&
22307 - { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
22308 + { test "$hardcode_into_libs" != yes ||
22309 + test "$build_old_libs" = yes ||
22310 test "$link_static" = yes; }; then
22311 # Extract -R from dependency_libs
22313 @@ -2549,7 +2618,7 @@
22314 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
22315 if test -z "$libdir"; then
22316 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
22318 + exit $EXIT_FAILURE
22320 if test "$absdir" != "$libdir"; then
22321 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
22322 @@ -2559,7 +2628,8 @@
22326 - # we do not want to link against static libs, but need to link against shared
22327 + # we do not want to link against static libs,
22328 + # but need to link against shared
22329 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
22330 if test -n "$deplibrary_names" ; then
22331 for tmp in $deplibrary_names ; do
22332 @@ -2567,39 +2637,42 @@
22334 if test -f "$path/$depdepl" ; then
22335 depdepl="$path/$depdepl"
22337 - newlib_search_path="$newlib_search_path $path"
22340 + # do not add paths which are already there
22341 + case " $newlib_search_path " in
22343 + *) newlib_search_path="$newlib_search_path $path";;
22361 - # Again, we only want to link against shared libraries
22362 - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
22363 - for tmp in $newlib_search_path ; do
22364 - if test -f "$tmp/lib$tmp_libs.dylib" ; then
22365 - eval depdepl="$tmp/lib$tmp_libs.dylib"
22370 + # Again, we only want to link against shared libraries
22371 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
22372 + for tmp in $newlib_search_path ; do
22373 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
22374 + eval depdepl="$tmp/lib$tmp_libs.dylib"
22386 case " $deplibs " in
22388 - *) deplibs="$deplibs $depdepl" ;;
22390 + *) deplibs="$depdepl $deplibs" ;;
22392 case " $deplibs " in
22394 *) deplibs="$deplibs $path" ;;
22395 @@ -2689,7 +2762,8 @@
22396 eval $var=\"$tmp_libs\"
22399 - # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
22400 + # Last step: remove runtime libs from dependency_libs
22401 + # (they stay in deplibs)
22403 for i in $dependency_libs ; do
22404 case " $predeps $postdeps $compiler_lib_search_path " in
22405 @@ -2749,19 +2823,19 @@
22406 case $outputname in
22408 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
22409 - eval shared_ext=\"$shrext\"
22410 + eval shared_ext=\"$shrext_cmds\"
22411 eval libname=\"$libname_spec\"
22414 if test "$module" = no; then
22415 $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
22418 + exit $EXIT_FAILURE
22420 if test "$need_lib_prefix" != no; then
22421 # Add the "lib" prefix for modules if required
22422 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
22423 - eval shared_ext=\"$shrext\"
22424 + eval shared_ext=\"$shrext_cmds\"
22425 eval libname=\"$libname_spec\"
22427 libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
22428 @@ -2772,7 +2846,7 @@
22429 if test -n "$objs"; then
22430 if test "$deplibs_check_method" != pass_all; then
22431 $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
22433 + exit $EXIT_FAILURE
22436 $echo "*** Warning: Linking the shared library $output against the non-libtool"
22437 @@ -2820,13 +2894,13 @@
22438 if test -n "$8"; then
22439 $echo "$modename: too many parameters to \`-version-info'" 1>&2
22442 + exit $EXIT_FAILURE
22445 # convert absolute version numbers to libtool ages
22446 # this retains compatibility with .la files and attempts
22447 # to make the code below a bit more comprehensible
22450 case $vinfo_number in
22453 @@ -2855,6 +2929,11 @@
22454 age="$number_minor"
22455 revision="$number_minor"
22458 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
22459 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
22460 + exit $EXIT_FAILURE
22465 @@ -2866,36 +2945,36 @@
22467 # Check that each of the things are valid numbers.
22469 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22470 + 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]) ;;
22472 $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
22473 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22475 + exit $EXIT_FAILURE
22480 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22481 + 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]) ;;
22483 $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
22484 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22486 + exit $EXIT_FAILURE
22491 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22492 + 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]) ;;
22494 $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
22495 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22497 + exit $EXIT_FAILURE
22501 if test "$age" -gt "$current"; then
22502 $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
22503 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22505 + exit $EXIT_FAILURE
22508 # Calculate the version variables.
22509 @@ -2984,7 +3063,7 @@
22511 $echo "$modename: unknown library version type \`$version_type'" 1>&2
22512 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
22514 + exit $EXIT_FAILURE
22518 @@ -3038,6 +3117,12 @@
22521 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
22522 + if test "X$precious_files_regex" != "X"; then
22523 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
22528 removelist="$removelist $p"
22531 @@ -3517,7 +3602,7 @@
22534 # Get the real and link names of the library.
22535 - eval shared_ext=\"$shrext\"
22536 + eval shared_ext=\"$shrext_cmds\"
22537 eval library_names=\"$library_names_spec\"
22538 set dummy $library_names
22540 @@ -3547,10 +3632,11 @@
22541 $show "generating symbol list for \`$libname.la'"
22542 export_symbols="$output_objdir/$libname.exp"
22543 $run $rm $export_symbols
22544 - eval cmds=\"$export_symbols_cmds\"
22545 + cmds=$export_symbols_cmds
22546 save_ifs="$IFS"; IFS='~'
22547 for cmd in $cmds; do
22549 + eval cmd=\"$cmd\"
22550 if len=`expr "X$cmd" : ".*"` &&
22551 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22553 @@ -3580,12 +3666,12 @@
22554 for test_deplib in $deplibs; do
22555 case " $convenience " in
22556 *" $test_deplib "*) ;;
22559 tmp_deplibs="$tmp_deplibs $test_deplib"
22563 - deplibs="$tmp_deplibs"
22564 + deplibs="$tmp_deplibs"
22566 if test -n "$convenience"; then
22567 if test -n "$whole_archive_flag_spec"; then
22568 @@ -3667,19 +3753,23 @@
22569 # Do each of the archive commands.
22570 if test "$module" = yes && test -n "$module_cmds" ; then
22571 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
22572 - eval cmds=\"$module_expsym_cmds\"
22573 + eval test_cmds=\"$module_expsym_cmds\"
22574 + cmds=$module_expsym_cmds
22576 - eval cmds=\"$module_cmds\"
22577 + eval test_cmds=\"$module_cmds\"
22578 + cmds=$module_cmds
22581 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
22582 - eval cmds=\"$archive_expsym_cmds\"
22583 + eval test_cmds=\"$archive_expsym_cmds\"
22584 + cmds=$archive_expsym_cmds
22586 - eval cmds=\"$archive_cmds\"
22587 + eval test_cmds=\"$archive_cmds\"
22588 + cmds=$archive_cmds
22592 - if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
22593 + if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
22594 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22597 @@ -3780,19 +3870,28 @@
22598 # value of $libobjs for piecewise linking.
22600 # Do each of the archive commands.
22601 + if test "$module" = yes && test -n "$module_cmds" ; then
22602 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
22603 + cmds=$module_expsym_cmds
22605 + cmds=$module_cmds
22608 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
22609 - eval cmds=\"$archive_expsym_cmds\"
22610 + cmds=$archive_expsym_cmds
22612 - eval cmds=\"$archive_cmds\"
22613 + cmds=$archive_cmds
22617 # Append the command to remove the reloadable object files
22618 # to the just-reset $cmds.
22619 - eval cmds=\"\$cmds~$rm $delfiles\"
22620 + eval cmds=\"\$cmds~\$rm $delfiles\"
22622 save_ifs="$IFS"; IFS='~'
22623 for cmd in $cmds; do
22625 + eval cmd=\"$cmd\"
22627 $run eval "$cmd" || exit $?
22629 @@ -3801,7 +3900,7 @@
22630 # Restore the uninstalled library and exit
22631 if test "$mode" = relink; then
22632 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
22634 + exit $EXIT_SUCCESS
22637 # Create links to the real library.
22638 @@ -3849,7 +3948,7 @@
22640 if test -n "$objs$old_deplibs"; then
22641 $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
22643 + exit $EXIT_FAILURE
22646 obj=`$echo "X$output" | $Xsed -e "$lo2o"`
22647 @@ -3943,10 +4042,11 @@
22648 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
22651 - eval cmds=\"$reload_cmds\"
22652 + cmds=$reload_cmds
22653 save_ifs="$IFS"; IFS='~'
22654 for cmd in $cmds; do
22656 + eval cmd=\"$cmd\"
22658 $run eval "$cmd" || exit $?
22660 @@ -3959,7 +4059,7 @@
22661 $run ${rm}r $gentop
22665 + exit $EXIT_SUCCESS
22668 if test "$build_libtool_libs" != yes; then
22669 @@ -3972,17 +4072,18 @@
22670 # accidentally link it into a program.
22671 # $show "echo timestamp > $libobj"
22672 # $run eval "echo timestamp > $libobj" || exit $?
22674 + exit $EXIT_SUCCESS
22677 if test -n "$pic_flag" || test "$pic_mode" != default; then
22678 # Only do commands if we really have different PIC objects.
22679 reload_objs="$libobjs $reload_conv_objs"
22681 - eval cmds=\"$reload_cmds\"
22682 + cmds=$reload_cmds
22683 save_ifs="$IFS"; IFS='~'
22684 for cmd in $cmds; do
22686 + eval cmd=\"$cmd\"
22688 $run eval "$cmd" || exit $?
22690 @@ -3994,7 +4095,7 @@
22691 $run ${rm}r $gentop
22695 + exit $EXIT_SUCCESS
22699 @@ -4312,7 +4413,7 @@
22702 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
22704 + exit $EXIT_FAILURE
22708 @@ -4400,7 +4501,7 @@
22709 # Link the executable and exit
22710 $show "$link_command"
22711 $run eval "$link_command" || exit $?
22713 + exit $EXIT_SUCCESS
22716 if test "$hardcode_action" = relink; then
22717 @@ -4455,10 +4556,10 @@
22720 # Quote $echo for shipping.
22721 - if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
22723 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
22724 - *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
22725 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
22726 + case $progpath in
22727 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
22728 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
22730 qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
22732 @@ -4484,7 +4585,7 @@
22733 cwrappersource=`$echo ${objdir}/lt-${output}.c`
22734 cwrapper=`$echo ${output}.exe`
22735 $rm $cwrappersource $cwrapper
22736 - trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
22737 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
22739 cat > $cwrappersource <<EOF
22741 @@ -4493,7 +4594,7 @@
22743 The $output program cannot be directly executed until all the libtool
22744 libraries that it depends on are installed.
22747 This wrapper executable should never be moved out of the build directory.
22748 If it is, it will not operate correctly.
22750 @@ -4525,7 +4626,7 @@
22751 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
22753 #define HAVE_DOS_BASED_FILE_SYSTEM
22754 -#ifndef DIR_SEPARATOR_2
22755 +#ifndef DIR_SEPARATOR_2
22756 #define DIR_SEPARATOR_2 '\\'
22759 @@ -4556,7 +4657,7 @@
22765 program_name = (char *) xstrdup ((char *) basename (argv[0]));
22766 newargz = XMALLOC(char *, argc+2);
22768 @@ -4569,7 +4670,7 @@
22769 newargz[1] = fnqualify(argv[0]);
22770 /* we know the script has the same name, without the .exe */
22771 /* so make sure newargz[1] doesn't end in .exe */
22772 - strendzap(newargz[1],".exe");
22773 + strendzap(newargz[1],".exe");
22774 for (i = 1; i < argc; i++)
22775 newargz[i+1] = xstrdup(argv[i]);
22776 newargz[argc+1] = NULL;
22777 @@ -4592,7 +4693,7 @@
22783 xstrdup (const char *string)
22785 return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
22786 @@ -4606,7 +4707,7 @@
22788 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
22789 /* Skip over the disk name in MSDOS pathnames. */
22790 - if (isalpha (name[0]) && name[1] == ':')
22791 + if (isalpha (name[0]) && name[1] == ':')
22795 @@ -4616,7 +4717,7 @@
22796 return (char *) base;
22801 fnqualify(const char *path)
22804 @@ -4644,7 +4745,7 @@
22808 -strendzap(char *str, const char *pat)
22809 +strendzap(char *str, const char *pat)
22811 size_t len, patlen;
22813 @@ -4664,7 +4765,7 @@
22817 -lt_error_core (int exit_status, const char * mode,
22818 +lt_error_core (int exit_status, const char * mode,
22819 const char * message, va_list ap)
22821 fprintf (stderr, "%s: %s: ", program_name, mode);
22822 @@ -4693,7 +4794,7 @@
22826 - trap "$rm $output; exit 1" 1 2 15
22827 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
22831 @@ -4793,7 +4894,7 @@
22833 $echo \"\$relink_command_output\" >&2
22834 $rm \"\$progdir/\$file\"
22836 + exit $EXIT_FAILURE
22840 @@ -4855,20 +4956,20 @@
22842 $echo >> $output "\
22843 \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
22845 + exit $EXIT_FAILURE
22848 # The program doesn't exist.
22849 \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
22850 \$echo \"This script is just a wrapper for \$program.\" 1>&2
22851 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
22853 + exit $EXIT_FAILURE
22860 + exit $EXIT_SUCCESS
22864 @@ -4954,13 +5055,13 @@
22866 # Do each command in the archive commands.
22867 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
22868 - eval cmds=\"$old_archive_from_new_cmds\"
22869 + cmds=$old_archive_from_new_cmds
22871 eval cmds=\"$old_archive_cmds\"
22873 if len=`expr "X$cmds" : ".*"` &&
22874 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22876 + cmds=$old_archive_cmds
22878 # the command line is too long to link in one step, link in parts
22879 $echo "using piecewise archive linking..."
22880 @@ -4987,7 +5088,7 @@
22881 for obj in $save_oldobjs
22886 for obj in $save_oldobjs
22888 oldobjs="$objlist $obj"
22889 @@ -5001,7 +5102,7 @@
22891 if test "$obj" = "$last_oldobj" ; then
22892 RANLIB=$save_RANLIB
22895 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
22896 eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
22898 @@ -5012,12 +5113,13 @@
22899 if test "X$oldobjs" = "X" ; then
22900 eval cmds=\"\$concat_cmds\"
22902 - eval cmds=\"\$concat_cmds~$old_archive_cmds\"
22903 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
22907 save_ifs="$IFS"; IFS='~'
22908 for cmd in $cmds; do
22909 + eval cmd=\"$cmd\"
22912 $run eval "$cmd" || exit $?
22913 @@ -5049,8 +5151,12 @@
22916 # Quote the link command for shipping.
22917 - relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
22918 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
22919 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
22920 + if test "$hardcode_automatic" = yes ; then
22925 # Only create the output if not a dry run.
22926 if test -z "$run"; then
22927 @@ -5069,7 +5175,7 @@
22928 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
22929 if test -z "$libdir"; then
22930 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
22932 + exit $EXIT_FAILURE
22934 newdependency_libs="$newdependency_libs $libdir/$name"
22936 @@ -5083,7 +5189,7 @@
22937 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
22938 if test -z "$libdir"; then
22939 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22941 + exit $EXIT_FAILURE
22943 newdlfiles="$newdlfiles $libdir/$name"
22945 @@ -5094,11 +5200,30 @@
22946 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
22947 if test -z "$libdir"; then
22948 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22950 + exit $EXIT_FAILURE
22952 newdlprefiles="$newdlprefiles $libdir/$name"
22954 dlprefiles="$newdlprefiles"
22957 + for lib in $dlfiles; do
22959 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
22960 + *) abs=`pwd`"/$lib" ;;
22962 + newdlfiles="$newdlfiles $abs"
22964 + dlfiles="$newdlfiles"
22966 + for lib in $dlprefiles; do
22968 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
22969 + *) abs=`pwd`"/$lib" ;;
22971 + newdlprefiles="$newdlprefiles $abs"
22973 + dlprefiles="$newdlprefiles"
22976 # place dlname in correct position for cygwin
22977 @@ -5155,7 +5280,7 @@
22978 $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
22982 + exit $EXIT_SUCCESS
22985 # libtool install mode
22986 @@ -5244,13 +5369,13 @@
22987 if test -z "$install_prog"; then
22988 $echo "$modename: you must specify an install program" 1>&2
22991 + exit $EXIT_FAILURE
22994 if test -n "$prev"; then
22995 $echo "$modename: the \`$prev' option requires an argument" 1>&2
22998 + exit $EXIT_FAILURE
23001 if test -z "$files"; then
23002 @@ -5260,7 +5385,7 @@
23003 $echo "$modename: you must specify a destination" 1>&2
23007 + exit $EXIT_FAILURE
23010 # Strip any trailing slash from the destination.
23011 @@ -5281,7 +5406,7 @@
23012 if test "$#" -gt 2; then
23013 $echo "$modename: \`$dest' is not a directory" 1>&2
23016 + exit $EXIT_FAILURE
23020 @@ -5293,7 +5418,7 @@
23022 $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
23025 + exit $EXIT_FAILURE
23029 @@ -5322,7 +5447,7 @@
23031 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
23034 + exit $EXIT_FAILURE
23038 @@ -5364,7 +5489,7 @@
23039 # but it's something to keep an eye on.
23040 if test "$inst_prefix_dir" = "$destdir"; then
23041 $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
23043 + exit $EXIT_FAILURE
23046 if test -n "$inst_prefix_dir"; then
23047 @@ -5379,7 +5504,7 @@
23048 if $run eval "$relink_command"; then :
23050 $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
23052 + exit $EXIT_FAILURE
23056 @@ -5414,10 +5539,11 @@
23058 # Do each command in the postinstall commands.
23059 lib="$destdir/$realname"
23060 - eval cmds=\"$postinstall_cmds\"
23061 + cmds=$postinstall_cmds
23062 save_ifs="$IFS"; IFS='~'
23063 for cmd in $cmds; do
23065 + eval cmd=\"$cmd\"
23067 $run eval "$cmd" || exit $?
23069 @@ -5457,7 +5583,7 @@
23071 $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
23074 + exit $EXIT_FAILURE
23078 @@ -5475,7 +5601,7 @@
23079 $show "$install_prog $staticobj $staticdest"
23080 $run eval "$install_prog \$staticobj \$staticdest" || exit $?
23083 + exit $EXIT_SUCCESS
23087 @@ -5529,7 +5655,7 @@
23088 # Check the variables that should have been set.
23089 if test -z "$notinst_deplibs"; then
23090 $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
23092 + exit $EXIT_FAILURE
23096 @@ -5570,8 +5696,12 @@
23098 test -n "$TMPDIR" && tmpdir="$TMPDIR"
23099 tmpdir="$tmpdir/libtool-$$"
23100 - if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
23101 + save_umask=`umask`
23103 + if $mkdir "$tmpdir"; then
23104 + umask $save_umask
23106 + umask $save_umask
23107 $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
23110 @@ -5630,16 +5760,17 @@
23111 $show "$install_prog $file $oldlib"
23112 $run eval "$install_prog \$file \$oldlib" || exit $?
23114 - if test -n "$stripme" && test -n "$striplib"; then
23115 + if test -n "$stripme" && test -n "$old_striplib"; then
23116 $show "$old_striplib $oldlib"
23117 $run eval "$old_striplib $oldlib" || exit $?
23120 # Do each command in the postinstall commands.
23121 - eval cmds=\"$old_postinstall_cmds\"
23122 + cmds=$old_postinstall_cmds
23123 save_ifs="$IFS"; IFS='~'
23124 for cmd in $cmds; do
23126 + eval cmd=\"$cmd\"
23128 $run eval "$cmd" || exit $?
23130 @@ -5653,9 +5784,9 @@
23131 if test -n "$current_libdirs"; then
23132 # Maybe just do a dry run.
23133 test -n "$run" && current_libdirs=" -n$current_libdirs"
23134 - exec_cmd='$SHELL $0 --finish$current_libdirs'
23135 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
23138 + exit $EXIT_SUCCESS
23142 @@ -5674,10 +5805,11 @@
23143 for libdir in $libdirs; do
23144 if test -n "$finish_cmds"; then
23145 # Do each command in the finish commands.
23146 - eval cmds=\"$finish_cmds\"
23147 + cmds=$finish_cmds
23148 save_ifs="$IFS"; IFS='~'
23149 for cmd in $cmds; do
23151 + eval cmd=\"$cmd\"
23153 $run eval "$cmd" || admincmds="$admincmds
23155 @@ -5694,7 +5826,7 @@
23158 # Exit here if they wanted silent mode.
23159 - test "$show" = : && exit 0
23160 + test "$show" = : && exit $EXIT_SUCCESS
23162 $echo "----------------------------------------------------------------------"
23163 $echo "Libraries have been installed in:"
23164 @@ -5730,7 +5862,7 @@
23165 $echo "See any operating system documentation about shared libraries for"
23166 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
23167 $echo "----------------------------------------------------------------------"
23169 + exit $EXIT_SUCCESS
23172 # libtool execute mode
23173 @@ -5742,7 +5874,7 @@
23174 if test -z "$cmd"; then
23175 $echo "$modename: you must specify a COMMAND" 1>&2
23178 + exit $EXIT_FAILURE
23181 # Handle -dlopen flags immediately.
23182 @@ -5750,7 +5882,7 @@
23183 if test ! -f "$file"; then
23184 $echo "$modename: \`$file' is not a file" 1>&2
23187 + exit $EXIT_FAILURE
23191 @@ -5761,7 +5893,7 @@
23193 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
23196 + exit $EXIT_FAILURE
23199 # Read the libtool library.
23200 @@ -5788,7 +5920,7 @@
23203 $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
23205 + exit $EXIT_FAILURE
23209 @@ -5868,7 +6000,7 @@
23210 $echo "export $shlibpath_var"
23214 + exit $EXIT_SUCCESS
23218 @@ -5896,7 +6028,7 @@
23219 if test -z "$rm"; then
23220 $echo "$modename: you must specify an RM program" 1>&2
23223 + exit $EXIT_FAILURE
23227 @@ -5951,10 +6083,11 @@
23228 if test "$mode" = uninstall; then
23229 if test -n "$library_names"; then
23230 # Do each command in the postuninstall commands.
23231 - eval cmds=\"$postuninstall_cmds\"
23232 + cmds=$postuninstall_cmds
23233 save_ifs="$IFS"; IFS='~'
23234 for cmd in $cmds; do
23236 + eval cmd=\"$cmd\"
23239 if test "$?" -ne 0 && test "$rmforce" != yes; then
23240 @@ -5966,10 +6099,11 @@
23242 if test -n "$old_library"; then
23243 # Do each command in the old_postuninstall commands.
23244 - eval cmds=\"$old_postuninstall_cmds\"
23245 + cmds=$old_postuninstall_cmds
23246 save_ifs="$IFS"; IFS='~'
23247 for cmd in $cmds; do
23249 + eval cmd=\"$cmd\"
23252 if test "$?" -ne 0 && test "$rmforce" != yes; then
23253 @@ -6008,7 +6142,7 @@
23254 if test "$mode" = clean ; then
23259 file=`$echo $file|${SED} 's,.exe$,,'`
23260 noexename=`$echo $name|${SED} 's,.exe$,,'`
23261 # $file with .exe has already been added to rmfiles,
23262 @@ -6053,20 +6187,20 @@
23264 $echo "$modename: you must specify a MODE" 1>&2
23265 $echo "$generic_help" 1>&2
23267 + exit $EXIT_FAILURE
23271 if test -z "$exec_cmd"; then
23272 $echo "$modename: invalid operation mode \`$mode'" 1>&2
23273 $echo "$generic_help" 1>&2
23275 + exit $EXIT_FAILURE
23277 fi # test -z "$show_help"
23279 if test -n "$exec_cmd"; then
23280 eval exec $exec_cmd
23282 + exit $EXIT_FAILURE
23285 # We need to display help for each of the modes.
23286 @@ -6102,7 +6236,7 @@
23287 a more detailed description of MODE.
23289 Report bugs to <bug-libtool@gnu.org>."
23291 + exit $EXIT_SUCCESS
23295 @@ -6214,6 +6348,8 @@
23296 -no-undefined declare that a library does not refer to external symbols
23297 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
23298 -objectlist FILE Use a list of object files found in FILE to specify objects
23299 + -precious-files-regex REGEX
23300 + don't remove output files matching REGEX
23301 -release RELEASE specify package release information
23302 -rpath LIBDIR the created library will eventually be installed in LIBDIR
23303 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
23304 @@ -6255,14 +6391,14 @@
23306 $echo "$modename: invalid operation mode \`$mode'" 1>&2
23309 + exit $EXIT_FAILURE
23314 $echo "Try \`$modename --help' for more information about other modes."
23317 +exit $EXIT_SUCCESS
23319 # The TAGs below are defined such that we never get into a situation
23320 # in which we disable both kinds of libraries. Given conflicting
23321 diff -ruN libsigcx-0.6.4-patched/scripts/missing libsigcx-0.6.4-regen/scripts/missing
23322 --- libsigcx-0.6.4-patched/scripts/missing 2003-05-19 11:10:58.000000000 -0700
23323 +++ libsigcx-0.6.4-regen/scripts/missing 2005-02-05 22:18:29.000000000 -0800
23326 # Common stub for a few missing GNU programs while installing.
23327 -# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
23328 -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
23329 +# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
23330 +# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
23332 # This program is free software; you can redistribute it and/or modify
23333 # it under the terms of the GNU General Public License as published by
23334 @@ -18,38 +18,20 @@
23335 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23338 -# As a special exception to the GNU General Public License, if you
23339 -# distribute this file as part of a program that contains a
23340 -# configuration script generated by Autoconf, you may include it under
23341 -# the same distribution terms that you use for the rest of that program.
23343 if test $# -eq 0; then
23344 echo 1>&2 "Try \`$0 --help' for more information"
23350 # In the cases where this matters, `missing' is being run in the
23352 -if test -f configure.ac; then
23353 +if test -f configure.in; then
23354 configure_ac=configure.ac
23356 configure_ac=configure.in
23361 - # Try to run requested program, and just exit if it succeeds.
23368 -# If it does not exist, or fails to run (possibly an outdated version),
23369 -# try to emulate it.
23372 -h|--h|--he|--hel|--help)
23376 -h, --help display this help and exit
23377 -v, --version output version information and exit
23378 - --run try to run the given command, and emulate it if it fails
23380 Supported PROGRAM values:
23381 aclocal touch file \`aclocal.m4'
23382 @@ -70,15 +51,13 @@
23383 automake touch all \`Makefile.in' files
23384 bison create \`y.tab.[ch]', if possible, from existing .[ch]
23385 flex create \`lex.yy.c', if possible, from existing .c
23386 - help2man touch the output file
23387 lex create \`lex.yy.c', if possible, from existing .c
23388 makeinfo touch the output file
23389 - tar try tar, gnutar, gtar, then tar without non-portable flags
23390 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
23393 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
23394 - echo "missing 0.4 - GNU automake"
23395 + echo "missing - GNU libit 0.0"
23399 @@ -88,45 +67,30 @@
23403 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23404 - # We have it, but it failed.
23409 WARNING: \`$1' is missing on your system. You should only need it if
23410 - you modified \`acinclude.m4' or \`${configure_ac}'. You might want
23411 + you modified \`acinclude.m4' or \`$configure_ac'. You might want
23412 to install the \`Automake' and \`Perl' packages. Grab them from
23413 any GNU archive site."
23418 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23419 - # We have it, but it failed.
23424 WARNING: \`$1' is missing on your system. You should only need it if
23425 - you modified \`${configure_ac}'. You might want to install the
23426 + you modified \`$configure_ac'. You might want to install the
23427 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
23433 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23434 - # We have it, but it failed.
23439 WARNING: \`$1' is missing on your system. You should only need it if
23440 - you modified \`acconfig.h' or \`${configure_ac}'. You might want
23441 + you modified \`acconfig.h' or \`$configure_ac'. You might want
23442 to install the \`Autoconf' and \`GNU m4' packages. Grab them
23443 from any GNU archive site."
23444 - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
23445 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
23446 test -z "$files" && files="config.h"
23448 for f in $files; do
23449 @@ -140,14 +104,9 @@
23453 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23454 - # We have it, but it failed.
23459 WARNING: \`$1' is missing on your system. You should only need it if
23460 - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
23461 + you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
23462 You might want to install the \`Automake' and \`Perl' packages.
23463 Grab them from any GNU archive site."
23464 find . -type f -name Makefile.am -print |
23465 @@ -155,34 +114,6 @@
23466 while read f; do touch "$f"; done
23470 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23471 - # We have it, but it failed.
23476 -WARNING: \`$1' is needed, and you do not seem to have it handy on your
23477 - system. You might have modified some files without having the
23478 - proper tools for further handling them.
23479 - You can get \`$1Help2man' as part of \`Autoconf' from any GNU
23482 - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
23483 - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
23484 - if test -f "$file"; then
23487 - test -z "$file" || exec >$file
23488 - echo "#! /bin/sh"
23489 - echo "# Created by GNU Automake missing as a replacement of"
23499 WARNING: \`$1' is missing on your system. You should only need it if
23500 @@ -236,37 +167,7 @@
23505 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23506 - # We have it, but it failed.
23511 -WARNING: \`$1' is missing on your system. You should only need it if
23512 - you modified a dependency of a manual page. You may need the
23513 - \`Help2man' package in order for those modifications to take
23514 - effect. You can get \`Help2man' from any GNU archive site."
23516 - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
23517 - if test -z "$file"; then
23518 - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
23520 - if [ -f "$file" ]; then
23523 - test -z "$file" || exec >$file
23524 - echo ".ab help2man is required to generate this page"
23530 - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
23531 - # We have makeinfo, but it failed.
23536 WARNING: \`$1' is missing on your system. You should only need it if
23537 you modified a \`.texi' or \`.texinfo' file, or any other file
23538 @@ -282,45 +183,6 @@
23544 - if test -n "$run"; then
23545 - echo 1>&2 "ERROR: \`tar' requires --run"
23549 - # We have already tried tar in the generic part.
23550 - # Look for gnutar/gtar before invocation to avoid ugly error
23552 - if (gnutar --version > /dev/null 2>&1); then
23553 - gnutar "$@" && exit 0
23555 - if (gtar --version > /dev/null 2>&1); then
23556 - gtar "$@" && exit 0
23560 - case "$firstarg" in
23562 - firstarg=`echo "$firstarg" | sed s/o//`
23563 - tar "$firstarg" "$@" && exit 0
23566 - case "$firstarg" in
23568 - firstarg=`echo "$firstarg" | sed s/h//`
23569 - tar "$firstarg" "$@" && exit 0
23575 -WARNING: I can't seem to be able to run \`tar' with the given arguments.
23576 - You may want to install GNU tar or Free paxutils, or check the
23577 - command line arguments."
23583 WARNING: \`$1' is needed, and you do not seem to have it handy on your
23584 diff -ruN libsigcx-0.6.4-patched/scripts/mkinstalldirs libsigcx-0.6.4-regen/scripts/mkinstalldirs
23585 --- libsigcx-0.6.4-patched/scripts/mkinstalldirs 2003-05-19 11:10:58.000000000 -0700
23586 +++ libsigcx-0.6.4-regen/scripts/mkinstalldirs 2005-02-05 22:18:29.000000000 -0800
23588 # Created: 1993-05-16
23595 -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
23596 +# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
23598 -# process command line arguments
23599 -while test $# -gt 0 ; do
23601 - -h | --help | --h*) # -h for help
23602 - echo "$usage" 1>&2
23605 - -m) # -m PERM arg
23607 - test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
23611 - --) # stop option processing
23615 - -*) # unknown option
23616 - echo "$usage" 1>&2
23619 - *) # first non-opt arg
23627 - if test -d "$file"; then
23640 - if mkdir -p -- . 2>/dev/null; then
23641 - echo "mkdir -p -- $*"
23642 - exec mkdir -p -- "$@"
23646 - if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
23647 - echo "mkdir -m $dirmode -p -- $*"
23648 - exec mkdir -m "$dirmode" -p -- "$@"
23656 - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
23658 + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
23664 - pathcomp="$pathcomp$d"
23665 - case $pathcomp in
23666 - -*) pathcomp=./$pathcomp ;;
23669 - if test ! -d "$pathcomp"; then
23670 - echo "mkdir $pathcomp"
23672 - mkdir "$pathcomp" || lasterr=$?
23674 - if test ! -d "$pathcomp"; then
23675 - errstatus=$lasterr
23677 - if test ! -z "$dirmode"; then
23678 - echo "chmod $dirmode $pathcomp"
23680 - chmod "$dirmode" "$pathcomp" || lasterr=$?
23682 - if test ! -z "$lasterr"; then
23683 - errstatus=$lasterr
23691 + pathcomp="$pathcomp$d"
23692 + case "$pathcomp" in
23693 + -* ) pathcomp=./$pathcomp ;;
23696 + if test ! -d "$pathcomp"; then
23697 + echo "mkdir $pathcomp"
23699 + mkdir "$pathcomp" || lasterr=$?
23701 + if test ! -d "$pathcomp"; then
23702 + errstatus=$lasterr
23706 - pathcomp="$pathcomp/"
23708 + pathcomp="$pathcomp/"
23714 -# Local Variables:
23715 -# mode: shell-script
23716 -# sh-indentation: 2
23718 # mkinstalldirs ends here
23719 diff -ruN libsigcx-0.6.4-patched/sigcx/Makefile.in libsigcx-0.6.4-regen/sigcx/Makefile.in
23720 --- libsigcx-0.6.4-patched/sigcx/Makefile.in 2003-06-03 10:02:46.000000000 -0700
23721 +++ libsigcx-0.6.4-regen/sigcx/Makefile.in 2005-05-06 21:21:31.000000000 -0700
23723 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
23724 -# @configure_input@
23725 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
23727 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
23728 -# Free Software Foundation, Inc.
23729 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
23730 # This Makefile.in is free software; the Free Software Foundation
23731 # gives unlimited permission to copy and/or distribute it,
23732 # with or without modifications, as long as this notice is preserved.
23733 @@ -12,143 +10,102 @@
23734 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23735 # PARTICULAR PURPOSE.
23742 top_srcdir = @top_srcdir@
23745 +exec_prefix = @exec_prefix@
23748 +sbindir = @sbindir@
23749 +libexecdir = @libexecdir@
23750 +datadir = @datadir@
23751 +sysconfdir = @sysconfdir@
23752 +sharedstatedir = @sharedstatedir@
23753 +localstatedir = @localstatedir@
23755 +infodir = @infodir@
23757 +includedir = @includedir@
23758 +oldincludedir = /usr/include
23762 pkgdatadir = $(datadir)/@PACKAGE@
23763 pkglibdir = $(libdir)/@PACKAGE@
23764 pkgincludedir = $(includedir)/@PACKAGE@
23768 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23769 +ACLOCAL = @ACLOCAL@
23770 +AUTOCONF = @AUTOCONF@
23771 +AUTOMAKE = @AUTOMAKE@
23772 +AUTOHEADER = @AUTOHEADER@
23774 INSTALL = @INSTALL@
23775 -install_sh_DATA = $(install_sh) -c -m 644
23776 -install_sh_PROGRAM = $(install_sh) -c
23777 -install_sh_SCRIPT = $(install_sh) -c
23778 -INSTALL_HEADER = $(INSTALL_DATA)
23779 -transform = $(program_transform_name)
23780 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
23781 +INSTALL_DATA = @INSTALL_DATA@
23782 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
23783 +transform = @program_transform_name@
23788 NORMAL_UNINSTALL = :
23791 +host_alias = @host_alias@
23792 host_triplet = @host@
23793 -ACLOCAL = @ACLOCAL@
23794 -AMDEP_FALSE = @AMDEP_FALSE@
23795 -AMDEP_TRUE = @AMDEP_TRUE@
23798 -AUTOCONF = @AUTOCONF@
23799 -AUTOHEADER = @AUTOHEADER@
23800 -AUTOMAKE = @AUTOMAKE@
23804 -CCDEPMODE = @CCDEPMODE@
23807 -CPPFLAGS = @CPPFLAGS@
23810 -CXXDEPMODE = @CXXDEPMODE@
23811 CXXFLAGS = @CXXFLAGS@
23812 -CYGPATH_W = @CYGPATH_W@
23815 +DLLTOOL = @DLLTOOL@
23816 DOXYGEN = @DOXYGEN@
23825 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
23826 -GTHREAD_LIBS = @GTHREAD_LIBS@
23828 +GCJFLAGS = @GCJFLAGS@
23830 GTK_CFLAGS = @GTK_CFLAGS@
23831 GTK_LIBS = @GTK_LIBS@
23832 -INSTALL_DATA = @INSTALL_DATA@
23833 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
23834 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
23835 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
23836 +HAVE_LIB = @HAVE_LIB@
23837 ISODATE = @ISODATE@
23838 LDFLAGS = @LDFLAGS@
23839 -LIBOBJS = @LIBOBJS@
23842 LIBTOOL = @LIBTOOL@
23844 -LTLIBOBJS = @LTLIBOBJS@
23847 MAKEINFO = @MAKEINFO@
23848 MAYBE_DOC = @MAYBE_DOC@
23849 +OBJDUMP = @OBJDUMP@
23851 PACKAGE = @PACKAGE@
23852 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
23853 -PACKAGE_NAME = @PACKAGE_NAME@
23854 -PACKAGE_STRING = @PACKAGE_STRING@
23855 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
23856 -PACKAGE_VERSION = @PACKAGE_VERSION@
23857 -PATH_SEPARATOR = @PATH_SEPARATOR@
23859 PKG_CONFIG = @PKG_CONFIG@
23860 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
23861 PTHREAD_LIBS = @PTHREAD_LIBS@
23863 -SET_MAKE = @SET_MAKE@
23866 SIGCX_BRANCH = @SIGCX_BRANCH@
23867 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
23868 SIGC_CFLAGS = @SIGC_CFLAGS@
23869 SIGC_LIBS = @SIGC_LIBS@
23870 +SIGC_MACROS = @SIGC_MACROS@
23872 THREADS_USED = @THREADS_USED@
23873 THREAD_CFLAGS = @THREAD_CFLAGS@
23874 THREAD_LIBS = @THREAD_LIBS@
23875 VERSION = @VERSION@
23876 -ac_ct_AR = @ac_ct_AR@
23877 -ac_ct_CC = @ac_ct_CC@
23878 -ac_ct_CXX = @ac_ct_CXX@
23879 -ac_ct_F77 = @ac_ct_F77@
23880 -ac_ct_RANLIB = @ac_ct_RANLIB@
23881 -ac_ct_STRIP = @ac_ct_STRIP@
23882 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
23883 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
23884 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
23885 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
23886 -am__include = @am__include@
23887 -am__leading_dot = @am__leading_dot@
23888 -am__quote = @am__quote@
23891 -build_alias = @build_alias@
23892 -build_cpu = @build_cpu@
23893 -build_os = @build_os@
23894 -build_vendor = @build_vendor@
23895 -datadir = @datadir@
23896 -exec_prefix = @exec_prefix@
23898 -host_alias = @host_alias@
23899 -host_cpu = @host_cpu@
23900 -host_os = @host_os@
23901 -host_vendor = @host_vendor@
23902 -includedir = @includedir@
23903 -infodir = @infodir@
23904 -install_sh = @install_sh@
23906 -libexecdir = @libexecdir@
23907 -localstatedir = @localstatedir@
23909 -oldincludedir = @oldincludedir@
23911 -program_transform_name = @program_transform_name@
23912 -sbindir = @sbindir@
23913 -sharedstatedir = @sharedstatedir@
23914 -sysconfdir = @sysconfdir@
23915 -target_alias = @target_alias@
23917 SUBDIRS = macros # corba
23919 INCLUDES = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS) $(GTK_CFLAGS)
23920 @@ -156,198 +113,148 @@
23921 M4_DIR = $(top_srcdir)/sigcx/macros
23922 M4_INCLUDES = -I$(M4_DIR)
23924 -BUILT_SOURCES = convert.h \
23928 - #corba_base.h corba_convert.h corba_signal.h
23929 +BUILT_SOURCES = convert.h tunnel.h bind3.h ref_slot.h #corba_base.h corba_convert.h corba_signal.h
23932 lib_LTLIBRARIES = libsigcx-0.6.la @GTKLIB@
23933 EXTRA_LTLIBRARIES = libsigcx-gtk-0.6.la
23935 -libsigcx_0_6_la_SOURCES = util.cc timeval.cc \
23936 - thread.cc thread-@THREADS_USED@.cc \
23937 - dispatch.cc thread_tunnel.cc convert.cc
23938 +libsigcx_0_6_la_SOURCES = util.cc timeval.cc thread.cc thread-@THREADS_USED@.cc dispatch.cc thread_tunnel.cc convert.cc
23941 libsigcx_0_6_la_LIBADD = $(THREAD_LIBS) $(SIGC_LIBS)
23942 -libsigcx_0_6_la_LDFLAGS = -version-info "2:0:0"
23943 +libsigcx_0_6_la_LDFLAGS = -version-info "2:0:0" -no-undefined
23945 libsigcdir = $(prefix)/include/sigcx
23947 libsigcincludedir = $(includedir)/sigcx-@SIGCX_DEVBRANCH@/sigcx
23948 -libsigcinclude_HEADERS = $(BUILT_SOURCES) \
23949 - timeval.h util.h dispatch.h gtk_dispatch.h \
23950 - thread.h thread_tunnel.h
23951 +libsigcinclude_HEADERS = $(BUILT_SOURCES) timeval.h util.h dispatch.h gtk_dispatch.h thread.h thread_tunnel.h
23954 noinst_HEADERS = thread-pthreads.h thread-glib.h thread-none.h
23956 libsigcx_gtk_0_6_la_SOURCES = gtk_dispatch.cc
23957 -libsigcx_gtk_0_6_la_LIBADD = libsigcx-@SIGCX_DEVBRANCH@.la \
23958 - $(THREAD_LIBS) $(SIGC_LIBS) $(GTK_LIBS)
23959 +libsigcx_gtk_0_6_la_LIBADD = libsigcx-@SIGCX_DEVBRANCH@.la $(THREAD_LIBS) $(SIGC_LIBS) $(GTK_LIBS)
23961 -libsigcx_gtk_0_6_la_LDFLAGS = -version-info "1:0:0" -rpath $(libdir)
23962 +libsigcx_gtk_0_6_la_LDFLAGS = -version-info "1:0:0" -rpath $(libdir) -no-undefined
23964 -EXTRA_DIST = sigcx-@SIGCX_BRANCH@.pc.in sigcx-@SIGCX_BRANCH@-gtk+.pc.in \
23965 - $(BUILT_SOURCES) \
23966 - thread-pthreads.cc thread-glib.cc thread-none.cc
23967 +EXTRA_DIST = sigcx-@SIGCX_BRANCH@.pc.in sigcx-@SIGCX_BRANCH@-gtk+.pc.in $(BUILT_SOURCES) thread-pthreads.cc thread-glib.cc thread-none.cc
23970 pcdir = $(libdir)/pkgconfig
23972 pc_DATA = sigcx-@SIGCX_BRANCH@.pc sigcx-@SIGCX_BRANCH@-gtk+.pc
23973 +mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
23974 +CONFIG_HEADER = ../config.h
23975 +CONFIG_CLEAN_FILES = sigcx-0.6.pc sigcx-0.6-gtk+.pc
23976 +LTLIBRARIES = $(lib_LTLIBRARIES)
23978 -# We use libtool 1.5, which does proper linking against libstdc++ for libs,
23979 -# if called with --tag=CXX, but AM doesn't understand that yet
23980 -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) \
23981 - $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
23984 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
23985 -mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
23986 -CONFIG_HEADER = $(top_builddir)/config.h
23987 -CONFIG_CLEAN_FILES = sigcx-0.6.pc sigcx-0.6-gtk+.pc
23988 -LTLIBRARIES = $(lib_LTLIBRARIES)
23990 -libsigcx_0_6_la_DEPENDENCIES =
23991 -am_libsigcx_0_6_la_OBJECTS = util.lo timeval.lo thread.lo \
23992 - thread-@THREADS_USED@.lo dispatch.lo thread_tunnel.lo \
23994 -libsigcx_0_6_la_OBJECTS = $(am_libsigcx_0_6_la_OBJECTS)
23995 -libsigcx_gtk_0_6_la_DEPENDENCIES = libsigcx-@SIGCX_DEVBRANCH@.la
23996 -am_libsigcx_gtk_0_6_la_OBJECTS = gtk_dispatch.lo
23997 -libsigcx_gtk_0_6_la_OBJECTS = $(am_libsigcx_gtk_0_6_la_OBJECTS)
23999 -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
24000 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
24001 -am__depfiles_maybe = depfiles
24002 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/convert.Plo ./$(DEPDIR)/dispatch.Plo \
24003 -@AMDEP_TRUE@ ./$(DEPDIR)/gtk_dispatch.Plo \
24004 -@AMDEP_TRUE@ ./$(DEPDIR)/thread-@THREADS_USED@.Plo \
24005 -@AMDEP_TRUE@ ./$(DEPDIR)/thread.Plo \
24006 -@AMDEP_TRUE@ ./$(DEPDIR)/thread_tunnel.Plo \
24007 -@AMDEP_TRUE@ ./$(DEPDIR)/timeval.Plo ./$(DEPDIR)/util.Plo
24008 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
24009 - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24010 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
24011 - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
24012 - $(AM_CXXFLAGS) $(CXXFLAGS)
24013 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
24014 +CPPFLAGS = @CPPFLAGS@
24016 +libsigcx_gtk_0_6_la_DEPENDENCIES = libsigcx-@SIGCX_DEVBRANCH@.la
24017 +libsigcx_gtk_0_6_la_OBJECTS = gtk_dispatch.lo
24018 +libsigcx_0_6_la_DEPENDENCIES =
24019 +libsigcx_0_6_la_OBJECTS = util.lo timeval.lo thread.lo \
24020 +thread-@THREADS_USED@.lo dispatch.lo thread_tunnel.lo convert.lo
24021 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24022 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24024 -DIST_SOURCES = $(libsigcx_0_6_la_SOURCES) $(libsigcx_gtk_0_6_la_SOURCES)
24026 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
24028 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24029 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24031 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
24034 +HEADERS = $(libsigcinclude_HEADERS) $(noinst_HEADERS)
24036 -HEADERS = $(libsigcinclude_HEADERS) $(noinst_HEADERS)
24037 +DIST_COMMON = ChangeLog Makefile.am Makefile.in sigcx-0.6-gtk+.pc.in \
24041 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
24042 - ps-recursive install-info-recursive uninstall-info-recursive \
24043 - all-recursive install-data-recursive install-exec-recursive \
24044 - installdirs-recursive install-recursive uninstall-recursive \
24045 - check-recursive installcheck-recursive
24046 -DIST_COMMON = $(libsigcinclude_HEADERS) $(noinst_HEADERS) ChangeLog \
24047 - Makefile.am Makefile.in sigcx-0.6-gtk+.pc.in sigcx-0.6.pc.in
24048 -DIST_SUBDIRS = $(SUBDIRS)
24049 -SOURCES = $(libsigcx_0_6_la_SOURCES) $(libsigcx_gtk_0_6_la_SOURCES)
24050 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
24052 -all: $(BUILT_SOURCES)
24053 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
24056 +SOURCES = $(libsigcx_gtk_0_6_la_SOURCES) $(libsigcx_0_6_la_SOURCES)
24057 +OBJECTS = $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_0_6_la_OBJECTS)
24061 -.SUFFIXES: .cc .lo .o .obj
24062 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24063 - cd $(top_srcdir) && \
24064 - $(AUTOMAKE) --gnu sigcx/Makefile
24065 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24066 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
24067 +.SUFFIXES: .S .c .cc .lo .o .obj .s
24068 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24069 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps sigcx/Makefile
24071 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24072 + cd $(top_builddir) \
24073 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24075 sigcx-0.6.pc: $(top_builddir)/config.status sigcx-0.6.pc.in
24076 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
24077 + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24078 sigcx-0.6-gtk+.pc: $(top_builddir)/config.status sigcx-0.6-gtk+.pc.in
24079 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
24080 -libLTLIBRARIES_INSTALL = $(INSTALL)
24081 + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24083 +mostlyclean-libLTLIBRARIES:
24085 +clean-libLTLIBRARIES:
24086 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
24088 +distclean-libLTLIBRARIES:
24090 +maintainer-clean-libLTLIBRARIES:
24092 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
24094 $(mkinstalldirs) $(DESTDIR)$(libdir)
24095 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24096 if test -f $$p; then \
24097 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24098 - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
24099 - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
24100 + echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
24101 + $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
24105 uninstall-libLTLIBRARIES:
24106 @$(NORMAL_UNINSTALL)
24107 - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24108 - p="`echo $$p | sed -e 's|^.*/||'`"; \
24109 - echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
24110 - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
24111 + list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24112 + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
24115 -clean-libLTLIBRARIES:
24116 - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
24117 - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24118 - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
24119 - test "$$dir" = "$$p" && dir=.; \
24120 - echo "rm -f \"$${dir}/so_locations\""; \
24121 - rm -f "$${dir}/so_locations"; \
24123 -libsigcx-0.6.la: $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_DEPENDENCIES)
24124 - $(CXXLINK) -rpath $(libdir) $(libsigcx_0_6_la_LDFLAGS) $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_LIBADD) $(LIBS)
24125 -libsigcx-gtk-0.6.la: $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_DEPENDENCIES)
24126 - $(CXXLINK) $(libsigcx_gtk_0_6_la_LDFLAGS) $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_LIBADD) $(LIBS)
24130 +# FIXME: We should only use cygpath when building on Windows,
24131 +# and only if it is available.
24133 + $(COMPILE) -c `cygpath -w $<`
24141 mostlyclean-compile:
24142 - -rm -f *.$(OBJEXT) core *.core
24143 + -rm -f *.o core *.core
24144 + -rm -f *.$(OBJEXT)
24151 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert.Plo@am__quote@
24152 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dispatch.Plo@am__quote@
24153 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtk_dispatch.Plo@am__quote@
24154 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread-@THREADS_USED@.Plo@am__quote@
24155 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@
24156 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread_tunnel.Plo@am__quote@
24157 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval.Plo@am__quote@
24158 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@
24159 +maintainer-clean-compile:
24162 - -rm -rf ./$(DEPDIR)
24164 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24167 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24168 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
24169 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
24170 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24171 -@am__fastdepCXX_TRUE@ fi
24172 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24173 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
24174 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24175 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
24177 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24180 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24181 -@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
24182 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
24183 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24184 -@am__fastdepCXX_TRUE@ fi
24185 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24186 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
24187 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24188 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
24191 -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24192 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
24193 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
24194 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24195 -@am__fastdepCXX_TRUE@ fi
24196 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
24197 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
24198 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24199 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
24201 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24203 mostlyclean-libtool:
24205 @@ -356,43 +263,53 @@
24206 -rm -rf .libs _libs
24210 -uninstall-info-am:
24211 -pcDATA_INSTALL = $(INSTALL_DATA)
24213 +maintainer-clean-libtool:
24215 +libsigcx-gtk-0.6.la: $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_DEPENDENCIES)
24216 + $(CXXLINK) $(libsigcx_gtk_0_6_la_LDFLAGS) $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_LIBADD) $(LIBS)
24218 +libsigcx-0.6.la: $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_DEPENDENCIES)
24219 + $(CXXLINK) -rpath $(libdir) $(libsigcx_0_6_la_LDFLAGS) $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_LIBADD) $(LIBS)
24221 + $(CXXCOMPILE) -c $<
24223 + $(CXXCOMPILE) -c `cygpath -w $<`
24225 + $(LTCXXCOMPILE) -c $<
24227 install-pcDATA: $(pc_DATA)
24229 $(mkinstalldirs) $(DESTDIR)$(pcdir)
24230 @list='$(pc_DATA)'; for p in $$list; do \
24231 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24232 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24233 - echo " $(pcDATA_INSTALL) $$d$$p $(DESTDIR)$(pcdir)/$$f"; \
24234 - $(pcDATA_INSTALL) $$d$$p $(DESTDIR)$(pcdir)/$$f; \
24235 + if test -f $(srcdir)/$$p; then \
24236 + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pcdir)/$$p"; \
24237 + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pcdir)/$$p; \
24238 + else if test -f $$p; then \
24239 + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pcdir)/$$p"; \
24240 + $(INSTALL_DATA) $$p $(DESTDIR)$(pcdir)/$$p; \
24245 @$(NORMAL_UNINSTALL)
24246 - @list='$(pc_DATA)'; for p in $$list; do \
24247 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24248 - echo " rm -f $(DESTDIR)$(pcdir)/$$f"; \
24249 - rm -f $(DESTDIR)$(pcdir)/$$f; \
24250 + list='$(pc_DATA)'; for p in $$list; do \
24251 + rm -f $(DESTDIR)$(pcdir)/$$p; \
24253 -libsigcincludeHEADERS_INSTALL = $(INSTALL_HEADER)
24255 install-libsigcincludeHEADERS: $(libsigcinclude_HEADERS)
24257 $(mkinstalldirs) $(DESTDIR)$(libsigcincludedir)
24258 @list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24259 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24260 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24261 - echo " $(libsigcincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$f"; \
24262 - $(libsigcincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$f; \
24263 + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
24264 + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$p"; \
24265 + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$p; \
24268 uninstall-libsigcincludeHEADERS:
24269 @$(NORMAL_UNINSTALL)
24270 - @list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24271 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24272 - echo " rm -f $(DESTDIR)$(libsigcincludedir)/$$f"; \
24273 - rm -f $(DESTDIR)$(libsigcincludedir)/$$f; \
24274 + list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24275 + rm -f $(DESTDIR)$(libsigcincludedir)/$$p; \
24278 # This directory's subdirectories are mostly independent; you can cd
24279 @@ -401,8 +318,13 @@
24280 # (1) if the variable is set in `config.status', edit `config.status'
24281 # (which will cause the Makefiles to be regenerated when you run `make');
24282 # (2) otherwise, pass the desired values on the `make' command line.
24283 -$(RECURSIVE_TARGETS):
24284 - @set fnord $$MAKEFLAGS; amf=$$2; \
24288 +all-recursive install-data-recursive install-exec-recursive \
24289 +installdirs-recursive install-recursive uninstall-recursive \
24290 +check-recursive installcheck-recursive info-recursive dvi-recursive:
24291 + @set fnord $(MAKEFLAGS); amf=$$2; \
24293 target=`echo $@ | sed s/-recursive//`; \
24294 list='$(SUBDIRS)'; for subdir in $$list; do \
24295 @@ -422,18 +344,13 @@
24297 mostlyclean-recursive clean-recursive distclean-recursive \
24298 maintainer-clean-recursive:
24299 - @set fnord $$MAKEFLAGS; amf=$$2; \
24300 + @set fnord $(MAKEFLAGS); amf=$$2; \
24303 - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
24304 - *) list='$(SUBDIRS)' ;; \
24306 - rev=''; for subdir in $$list; do \
24307 - if test "$$subdir" = "."; then :; else \
24308 - rev="$$subdir $$rev"; \
24310 + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
24311 + rev="$$subdir $$rev"; \
24312 + test "$$subdir" != "." || dot_seen=yes; \
24315 + test "$$dot_seen" = "no" && rev=". $$rev"; \
24316 target=`echo $@ | sed s/-recursive//`; \
24317 for subdir in $$rev; do \
24318 echo "Making $$target in $$subdir"; \
24319 @@ -449,232 +366,161 @@
24320 list='$(SUBDIRS)'; for subdir in $$list; do \
24321 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
24324 - list='$(SUBDIRS)'; for subdir in $$list; do \
24325 - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
24336 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
24337 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24338 - unique=`for i in $$list; do \
24339 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24341 - $(AWK) ' { files[$$0] = 1; } \
24342 +ID: $(HEADERS) $(SOURCES) $(LISP)
24343 + list='$(SOURCES) $(HEADERS)'; \
24344 + unique=`for i in $$list; do echo $$i; done | \
24345 + awk ' { files[$$0] = 1; } \
24346 END { for (i in files) print i; }'`; \
24347 - mkid -fID $$unique
24348 + here=`pwd` && cd $(srcdir) \
24349 + && mkid -f$$here/ID $$unique $(LISP)
24351 -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24352 - $(TAGS_FILES) $(LISP)
24353 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
24356 - if (etags --etags-include --version) >/dev/null 2>&1; then \
24357 - include_option=--etags-include; \
24359 - include_option=--include; \
24361 list='$(SUBDIRS)'; for subdir in $$list; do \
24362 - if test "$$subdir" = .; then :; else \
24363 - test -f $$subdir/TAGS && \
24364 - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
24366 + if test "$$subdir" = .; then :; else \
24367 + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
24370 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24371 - unique=`for i in $$list; do \
24372 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24374 - $(AWK) ' { files[$$0] = 1; } \
24375 - END { for (i in files) print i; }'`; \
24376 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
24377 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
24381 -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24382 - $(TAGS_FILES) $(LISP)
24385 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24386 - unique=`for i in $$list; do \
24387 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24389 - $(AWK) ' { files[$$0] = 1; } \
24390 + list='$(SOURCES) $(HEADERS)'; \
24391 + unique=`for i in $$list; do echo $$i; done | \
24392 + awk ' { files[$$0] = 1; } \
24393 END { for (i in files) print i; }'`; \
24394 - test -z "$(CTAGS_ARGS)$$tags$$unique" \
24395 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
24399 - here=`$(am__cd) $(top_builddir) && pwd` \
24400 - && cd $(top_srcdir) \
24401 - && gtags -i $(GTAGS_ARGS) $$here
24402 + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
24403 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
24410 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
24411 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24415 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
24416 +maintainer-clean-tags:
24418 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
24422 distdir: $(DISTFILES)
24423 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
24424 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
24425 - list='$(DISTFILES)'; for file in $$list; do \
24427 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
24428 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
24430 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
24431 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
24432 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
24434 - $(mkinstalldirs) "$(distdir)$$dir"; \
24438 + @for file in $(DISTFILES); do \
24440 if test -d $$d/$$file; then \
24441 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
24442 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
24444 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
24445 + cp -pr $$d/$$file $(distdir)/$$file; \
24447 test -f $(distdir)/$$file \
24448 - || cp -p $$d/$$file $(distdir)/$$file \
24450 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
24451 + || cp -p $$d/$$file $(distdir)/$$file || :; \
24454 - list='$(SUBDIRS)'; for subdir in $$list; do \
24455 + for subdir in $(SUBDIRS); do \
24456 if test "$$subdir" = .; then :; else \
24457 test -d $(distdir)/$$subdir \
24458 || mkdir $(distdir)/$$subdir \
24460 - (cd $$subdir && \
24461 - $(MAKE) $(AM_MAKEFLAGS) \
24462 - top_distdir="$(top_distdir)" \
24463 - distdir=../$(distdir)/$$subdir \
24465 + chmod 777 $(distdir)/$$subdir; \
24466 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
24471 -check: $(BUILT_SOURCES)
24472 - $(MAKE) $(AM_MAKEFLAGS) check-recursive
24473 -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
24474 -installdirs: installdirs-recursive
24476 - $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(pcdir) $(DESTDIR)$(libsigcincludedir)
24478 -install: $(BUILT_SOURCES)
24479 - $(MAKE) $(AM_MAKEFLAGS) install-recursive
24481 +info: info-recursive
24483 +dvi: dvi-recursive
24485 +check: check-recursive
24487 +installcheck: installcheck-recursive
24488 +install-exec-am: install-libLTLIBRARIES
24489 install-exec: install-exec-recursive
24491 +install-data-am: install-pcDATA install-libsigcincludeHEADERS
24492 install-data: install-data-recursive
24493 -uninstall: uninstall-recursive
24496 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
24498 -installcheck: installcheck-recursive
24499 +install: install-recursive
24500 +uninstall-am: uninstall-libLTLIBRARIES uninstall-pcDATA \
24501 + uninstall-libsigcincludeHEADERS
24502 +uninstall: uninstall-recursive
24503 +all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
24504 +all-redirect: all-recursive
24506 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
24507 - INSTALL_STRIP_FLAG=-s \
24508 - `test -z '$(STRIP)' || \
24509 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
24510 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
24511 +installdirs: installdirs-recursive
24513 + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(pcdir) \
24514 + $(DESTDIR)$(libsigcincludedir)
24517 mostlyclean-generic:
24522 -rm -f Makefile $(CONFIG_CLEAN_FILES)
24523 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
24525 maintainer-clean-generic:
24526 - @echo "This command is intended for maintainers to use"
24527 - @echo "it deletes files that may require special tools to rebuild."
24528 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
24529 -clean: clean-recursive
24531 -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
24534 -distclean: distclean-recursive
24536 -distclean-am: clean-am distclean-compile distclean-depend \
24537 - distclean-generic distclean-libtool distclean-tags
24539 -dvi: dvi-recursive
24542 +mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
24543 + mostlyclean-libtool mostlyclean-tags \
24544 + mostlyclean-generic
24546 -info: info-recursive
24549 +mostlyclean: mostlyclean-recursive
24551 -install-data-am: install-libsigcincludeHEADERS install-pcDATA
24552 +clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
24553 + clean-generic mostlyclean-am
24555 -install-exec-am: install-libLTLIBRARIES
24556 +clean: clean-recursive
24558 -install-info: install-info-recursive
24559 +distclean-am: distclean-libLTLIBRARIES distclean-compile \
24560 + distclean-libtool distclean-tags distclean-generic \
24565 +distclean: distclean-recursive
24568 +maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
24569 + maintainer-clean-compile maintainer-clean-libtool \
24570 + maintainer-clean-tags maintainer-clean-generic \
24572 + @echo "This command is intended for maintainers to use;"
24573 + @echo "it deletes files that may require special tools to rebuild."
24575 maintainer-clean: maintainer-clean-recursive
24577 -maintainer-clean-am: distclean-am maintainer-clean-generic
24579 -mostlyclean: mostlyclean-recursive
24581 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
24582 - mostlyclean-libtool
24584 -pdf: pdf-recursive
24592 -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
24593 - uninstall-libsigcincludeHEADERS uninstall-pcDATA
24595 -uninstall-info: uninstall-info-recursive
24597 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
24598 - clean-generic clean-libLTLIBRARIES clean-libtool \
24599 - clean-recursive ctags ctags-recursive distclean \
24600 - distclean-compile distclean-depend distclean-generic \
24601 - distclean-libtool distclean-recursive distclean-tags distdir \
24602 - dvi dvi-am dvi-recursive info info-am info-recursive install \
24603 - install-am install-data install-data-am install-data-recursive \
24604 - install-exec install-exec-am install-exec-recursive \
24605 - install-info install-info-am install-info-recursive \
24606 - install-libLTLIBRARIES install-libsigcincludeHEADERS \
24607 - install-man install-pcDATA install-recursive install-strip \
24608 - installcheck installcheck-am installdirs installdirs-am \
24609 - installdirs-recursive maintainer-clean maintainer-clean-generic \
24610 - maintainer-clean-recursive mostlyclean mostlyclean-compile \
24611 - mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
24612 - pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
24613 - tags-recursive uninstall uninstall-am uninstall-info-am \
24614 - uninstall-info-recursive uninstall-libLTLIBRARIES \
24615 - uninstall-libsigcincludeHEADERS uninstall-pcDATA \
24616 - uninstall-recursive
24617 +.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
24618 +clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
24619 +uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
24620 +distclean-compile clean-compile maintainer-clean-compile \
24621 +mostlyclean-libtool distclean-libtool clean-libtool \
24622 +maintainer-clean-libtool uninstall-pcDATA install-pcDATA \
24623 +uninstall-libsigcincludeHEADERS install-libsigcincludeHEADERS \
24624 +install-data-recursive uninstall-data-recursive install-exec-recursive \
24625 +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
24626 +all-recursive check-recursive installcheck-recursive info-recursive \
24627 +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
24628 +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
24629 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
24630 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
24631 +install-exec install-data-am install-data install-am install \
24632 +uninstall-am uninstall all-redirect all-am all installdirs-am \
24633 +installdirs mostlyclean-generic distclean-generic clean-generic \
24634 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
24637 %.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4
24638 $(M4) $(M4_INCLUDES) $(DEFINES) $< > $@
24640 bind3.h: $(M4_DIR)/bind3.h.m4 $(M4_DIR)/template.macros.m4
24641 - $(M4) $(M4_INCLUDES) -I`pkg-config --variable=prefix sigc++-1.2`/include/sigc++-1.2/sigc++/macros \
24642 + $(M4) $(M4_INCLUDES) -I$(SIGC_MACROS) \
24645 # Tell versions [3.59,3.63) of GNU make to not export all variables.
24646 # Otherwise a system limit (for SysV at least) may be exceeded.
24648 diff -ruN libsigcx-0.6.4-patched/sigcx/macros/Makefile.in libsigcx-0.6.4-regen/sigcx/macros/Makefile.in
24649 --- libsigcx-0.6.4-patched/sigcx/macros/Makefile.in 2003-06-03 10:02:49.000000000 -0700
24650 +++ libsigcx-0.6.4-regen/sigcx/macros/Makefile.in 2005-05-06 21:21:31.000000000 -0700
24652 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
24653 -# @configure_input@
24654 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
24656 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
24657 -# Free Software Foundation, Inc.
24658 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
24659 # This Makefile.in is free software; the Free Software Foundation
24660 # gives unlimited permission to copy and/or distribute it,
24661 # with or without modifications, as long as this notice is preserved.
24662 @@ -12,369 +10,254 @@
24663 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
24664 # PARTICULAR PURPOSE.
24671 top_srcdir = @top_srcdir@
24674 +exec_prefix = @exec_prefix@
24677 +sbindir = @sbindir@
24678 +libexecdir = @libexecdir@
24679 +datadir = @datadir@
24680 +sysconfdir = @sysconfdir@
24681 +sharedstatedir = @sharedstatedir@
24682 +localstatedir = @localstatedir@
24684 +infodir = @infodir@
24686 +includedir = @includedir@
24687 +oldincludedir = /usr/include
24691 pkgdatadir = $(datadir)/@PACKAGE@
24692 pkglibdir = $(libdir)/@PACKAGE@
24693 pkgincludedir = $(includedir)/@PACKAGE@
24695 top_builddir = ../..
24697 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24698 +ACLOCAL = @ACLOCAL@
24699 +AUTOCONF = @AUTOCONF@
24700 +AUTOMAKE = @AUTOMAKE@
24701 +AUTOHEADER = @AUTOHEADER@
24703 INSTALL = @INSTALL@
24704 -install_sh_DATA = $(install_sh) -c -m 644
24705 -install_sh_PROGRAM = $(install_sh) -c
24706 -install_sh_SCRIPT = $(install_sh) -c
24707 -INSTALL_HEADER = $(INSTALL_DATA)
24708 -transform = $(program_transform_name)
24709 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
24710 +INSTALL_DATA = @INSTALL_DATA@
24711 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
24712 +transform = @program_transform_name@
24717 NORMAL_UNINSTALL = :
24720 +host_alias = @host_alias@
24721 host_triplet = @host@
24722 -ACLOCAL = @ACLOCAL@
24723 -AMDEP_FALSE = @AMDEP_FALSE@
24724 -AMDEP_TRUE = @AMDEP_TRUE@
24727 -AUTOCONF = @AUTOCONF@
24728 -AUTOHEADER = @AUTOHEADER@
24729 -AUTOMAKE = @AUTOMAKE@
24733 -CCDEPMODE = @CCDEPMODE@
24736 -CPPFLAGS = @CPPFLAGS@
24739 -CXXDEPMODE = @CXXDEPMODE@
24740 CXXFLAGS = @CXXFLAGS@
24741 -CYGPATH_W = @CYGPATH_W@
24744 +DLLTOOL = @DLLTOOL@
24745 DOXYGEN = @DOXYGEN@
24754 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
24755 -GTHREAD_LIBS = @GTHREAD_LIBS@
24757 +GCJFLAGS = @GCJFLAGS@
24759 GTK_CFLAGS = @GTK_CFLAGS@
24760 GTK_LIBS = @GTK_LIBS@
24761 -INSTALL_DATA = @INSTALL_DATA@
24762 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
24763 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
24764 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
24765 +HAVE_LIB = @HAVE_LIB@
24766 ISODATE = @ISODATE@
24767 LDFLAGS = @LDFLAGS@
24768 -LIBOBJS = @LIBOBJS@
24771 LIBTOOL = @LIBTOOL@
24773 -LTLIBOBJS = @LTLIBOBJS@
24776 MAKEINFO = @MAKEINFO@
24777 MAYBE_DOC = @MAYBE_DOC@
24778 +OBJDUMP = @OBJDUMP@
24780 PACKAGE = @PACKAGE@
24781 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
24782 -PACKAGE_NAME = @PACKAGE_NAME@
24783 -PACKAGE_STRING = @PACKAGE_STRING@
24784 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
24785 -PACKAGE_VERSION = @PACKAGE_VERSION@
24786 -PATH_SEPARATOR = @PATH_SEPARATOR@
24788 PKG_CONFIG = @PKG_CONFIG@
24789 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
24790 PTHREAD_LIBS = @PTHREAD_LIBS@
24792 -SET_MAKE = @SET_MAKE@
24795 SIGCX_BRANCH = @SIGCX_BRANCH@
24796 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
24797 SIGC_CFLAGS = @SIGC_CFLAGS@
24798 SIGC_LIBS = @SIGC_LIBS@
24799 +SIGC_MACROS = @SIGC_MACROS@
24801 THREADS_USED = @THREADS_USED@
24802 THREAD_CFLAGS = @THREAD_CFLAGS@
24803 THREAD_LIBS = @THREAD_LIBS@
24804 VERSION = @VERSION@
24805 -ac_ct_AR = @ac_ct_AR@
24806 -ac_ct_CC = @ac_ct_CC@
24807 -ac_ct_CXX = @ac_ct_CXX@
24808 -ac_ct_F77 = @ac_ct_F77@
24809 -ac_ct_RANLIB = @ac_ct_RANLIB@
24810 -ac_ct_STRIP = @ac_ct_STRIP@
24811 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
24812 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
24813 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
24814 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
24815 -am__include = @am__include@
24816 -am__leading_dot = @am__leading_dot@
24817 -am__quote = @am__quote@
24820 -build_alias = @build_alias@
24821 -build_cpu = @build_cpu@
24822 -build_os = @build_os@
24823 -build_vendor = @build_vendor@
24824 -datadir = @datadir@
24825 -exec_prefix = @exec_prefix@
24827 -host_alias = @host_alias@
24828 -host_cpu = @host_cpu@
24829 -host_os = @host_os@
24830 -host_vendor = @host_vendor@
24831 -includedir = @includedir@
24832 -infodir = @infodir@
24833 -install_sh = @install_sh@
24835 -libexecdir = @libexecdir@
24836 -localstatedir = @localstatedir@
24838 -oldincludedir = @oldincludedir@
24840 -program_transform_name = @program_transform_name@
24841 -sbindir = @sbindir@
24842 -sharedstatedir = @sharedstatedir@
24843 -sysconfdir = @sysconfdir@
24844 -target_alias = @target_alias@
24845 -templates = template.macros.m4 tunnel.h.m4 convert.h.m4 bind3.h.m4 \
24847 - corba_base.h.m4 corba_signal.h.m4 corba_convert.h.m4 \
24848 - corba_tunnel.h.m4 corba_slot.h.m4
24850 +templates = template.macros.m4 tunnel.h.m4 convert.h.m4 bind3.h.m4 ref_slot.h.m4 corba_base.h.m4 corba_signal.h.m4 corba_convert.h.m4 corba_tunnel.h.m4 corba_slot.h.m4
24853 m4includedir = $(includedir)/sigcx-@SIGCX_DEVBRANCH@/sigcx/macros
24854 m4include_HEADERS = $(templates)
24856 EXTRA_DIST = README $(templates)
24857 -subdir = sigcx/macros
24858 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
24859 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
24860 -CONFIG_HEADER = $(top_builddir)/config.h
24861 -CONFIG_CLEAN_FILES =
24863 -HEADERS = $(m4include_HEADERS)
24864 +CONFIG_HEADER = ../../config.h
24865 +CONFIG_CLEAN_FILES =
24866 +HEADERS = $(m4include_HEADERS)
24868 +DIST_COMMON = README Makefile.am Makefile.in
24871 -DIST_COMMON = README $(m4include_HEADERS) Makefile.am Makefile.in
24873 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
24879 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24880 - cd $(top_srcdir) && \
24881 - $(AUTOMAKE) --gnu sigcx/macros/Makefile
24882 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24883 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
24884 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24885 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps sigcx/macros/Makefile
24887 -mostlyclean-libtool:
24889 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24890 + cd $(top_builddir) \
24891 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24894 - -rm -rf .libs _libs
24896 -distclean-libtool:
24898 -uninstall-info-am:
24899 -m4includeHEADERS_INSTALL = $(INSTALL_HEADER)
24900 install-m4includeHEADERS: $(m4include_HEADERS)
24902 $(mkinstalldirs) $(DESTDIR)$(m4includedir)
24903 @list='$(m4include_HEADERS)'; for p in $$list; do \
24904 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24905 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24906 - echo " $(m4includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(m4includedir)/$$f"; \
24907 - $(m4includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(m4includedir)/$$f; \
24908 + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
24909 + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4includedir)/$$p"; \
24910 + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4includedir)/$$p; \
24913 uninstall-m4includeHEADERS:
24914 @$(NORMAL_UNINSTALL)
24915 - @list='$(m4include_HEADERS)'; for p in $$list; do \
24916 - f="`echo $$p | sed -e 's|^.*/||'`"; \
24917 - echo " rm -f $(DESTDIR)$(m4includedir)/$$f"; \
24918 - rm -f $(DESTDIR)$(m4includedir)/$$f; \
24919 + list='$(m4include_HEADERS)'; for p in $$list; do \
24920 + rm -f $(DESTDIR)$(m4includedir)/$$p; \
24931 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
24932 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24933 - unique=`for i in $$list; do \
24934 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24936 - $(AWK) ' { files[$$0] = 1; } \
24937 +ID: $(HEADERS) $(SOURCES) $(LISP)
24938 + list='$(SOURCES) $(HEADERS)'; \
24939 + unique=`for i in $$list; do echo $$i; done | \
24940 + awk ' { files[$$0] = 1; } \
24941 END { for (i in files) print i; }'`; \
24942 - mkid -fID $$unique
24943 + here=`pwd` && cd $(srcdir) \
24944 + && mkid -f$$here/ID $$unique $(LISP)
24946 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24947 - $(TAGS_FILES) $(LISP)
24950 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24951 - unique=`for i in $$list; do \
24952 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24954 - $(AWK) ' { files[$$0] = 1; } \
24955 - END { for (i in files) print i; }'`; \
24956 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
24957 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
24961 -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
24962 - $(TAGS_FILES) $(LISP)
24963 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
24966 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24967 - unique=`for i in $$list; do \
24968 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24970 - $(AWK) ' { files[$$0] = 1; } \
24971 + list='$(SOURCES) $(HEADERS)'; \
24972 + unique=`for i in $$list; do echo $$i; done | \
24973 + awk ' { files[$$0] = 1; } \
24974 END { for (i in files) print i; }'`; \
24975 - test -z "$(CTAGS_ARGS)$$tags$$unique" \
24976 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
24980 - here=`$(am__cd) $(top_builddir) && pwd` \
24981 - && cd $(top_srcdir) \
24982 - && gtags -i $(GTAGS_ARGS) $$here
24983 + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
24984 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
24991 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
24992 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24995 +maintainer-clean-tags:
24997 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
24999 -top_distdir = ../..
25000 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
25001 +subdir = sigcx/macros
25003 distdir: $(DISTFILES)
25004 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
25005 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
25006 - list='$(DISTFILES)'; for file in $$list; do \
25008 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
25009 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
25011 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
25012 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
25013 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
25015 - $(mkinstalldirs) "$(distdir)$$dir"; \
25019 + @for file in $(DISTFILES); do \
25021 if test -d $$d/$$file; then \
25022 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
25023 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
25025 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
25026 + cp -pr $$d/$$file $(distdir)/$$file; \
25028 test -f $(distdir)/$$file \
25029 - || cp -p $$d/$$file $(distdir)/$$file \
25031 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
25032 + || cp -p $$d/$$file $(distdir)/$$file || :; \
25041 -all-am: Makefile $(HEADERS)
25044 - $(mkinstalldirs) $(DESTDIR)$(m4includedir)
25045 -install: install-am
25047 +installcheck: installcheck-am
25049 install-exec: install-exec-am
25051 +install-data-am: install-m4includeHEADERS
25052 install-data: install-data-am
25053 -uninstall: uninstall-am
25056 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
25058 -installcheck: installcheck-am
25059 +install: install-am
25060 +uninstall-am: uninstall-m4includeHEADERS
25061 +uninstall: uninstall-am
25062 +all-am: Makefile $(HEADERS)
25063 +all-redirect: all-am
25065 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
25066 - INSTALL_STRIP_FLAG=-s \
25067 - `test -z '$(STRIP)' || \
25068 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
25069 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
25071 + $(mkinstalldirs) $(DESTDIR)$(m4includedir)
25074 mostlyclean-generic:
25079 -rm -f Makefile $(CONFIG_CLEAN_FILES)
25080 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
25082 maintainer-clean-generic:
25083 - @echo "This command is intended for maintainers to use"
25084 - @echo "it deletes files that may require special tools to rebuild."
25087 -clean-am: clean-generic clean-libtool mostlyclean-am
25089 -distclean: distclean-am
25091 -distclean-am: clean-am distclean-generic distclean-libtool \
25095 +mostlyclean-am: mostlyclean-tags mostlyclean-generic
25102 +mostlyclean: mostlyclean-am
25104 -install-data-am: install-m4includeHEADERS
25105 +clean-am: clean-tags clean-generic mostlyclean-am
25110 -install-info: install-info-am
25111 +distclean-am: distclean-tags distclean-generic clean-am
25115 +distclean: distclean-am
25118 +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
25120 + @echo "This command is intended for maintainers to use;"
25121 + @echo "it deletes files that may require special tools to rebuild."
25123 maintainer-clean: maintainer-clean-am
25125 -maintainer-clean-am: distclean-am maintainer-clean-generic
25127 -mostlyclean: mostlyclean-am
25129 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
25139 -uninstall-am: uninstall-info-am uninstall-m4includeHEADERS
25140 +.PHONY: uninstall-m4includeHEADERS install-m4includeHEADERS tags \
25141 +mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
25142 +distdir info-am info dvi-am dvi check check-am installcheck-am \
25143 +installcheck install-exec-am install-exec install-data-am install-data \
25144 +install-am install uninstall-am uninstall all-redirect all-am all \
25145 +installdirs mostlyclean-generic distclean-generic clean-generic \
25146 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25148 -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
25149 - clean-libtool ctags distclean distclean-generic \
25150 - distclean-libtool distclean-tags distdir dvi dvi-am info \
25151 - info-am install install-am install-data install-data-am \
25152 - install-exec install-exec-am install-info install-info-am \
25153 - install-m4includeHEADERS install-man install-strip installcheck \
25154 - installcheck-am installdirs maintainer-clean \
25155 - maintainer-clean-generic mostlyclean mostlyclean-generic \
25156 - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
25157 - uninstall-am uninstall-info-am uninstall-m4includeHEADERS
25159 # Tell versions [3.59,3.63) of GNU make to not export all variables.
25160 # Otherwise a system limit (for SysV at least) may be exceeded.
25161 diff -ruN libsigcx-0.6.4-patched/tests/Makefile.in libsigcx-0.6.4-regen/tests/Makefile.in
25162 --- libsigcx-0.6.4-patched/tests/Makefile.in 2003-06-03 10:02:51.000000000 -0700
25163 +++ libsigcx-0.6.4-regen/tests/Makefile.in 2005-05-06 21:21:31.000000000 -0700
25165 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
25166 -# @configure_input@
25167 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
25169 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
25170 -# Free Software Foundation, Inc.
25171 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
25172 # This Makefile.in is free software; the Free Software Foundation
25173 # gives unlimited permission to copy and/or distribute it,
25174 # with or without modifications, as long as this notice is preserved.
25175 @@ -12,304 +10,222 @@
25176 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
25177 # PARTICULAR PURPOSE.
25184 top_srcdir = @top_srcdir@
25187 +exec_prefix = @exec_prefix@
25190 +sbindir = @sbindir@
25191 +libexecdir = @libexecdir@
25192 +datadir = @datadir@
25193 +sysconfdir = @sysconfdir@
25194 +sharedstatedir = @sharedstatedir@
25195 +localstatedir = @localstatedir@
25197 +infodir = @infodir@
25199 +includedir = @includedir@
25200 +oldincludedir = /usr/include
25204 pkgdatadir = $(datadir)/@PACKAGE@
25205 pkglibdir = $(libdir)/@PACKAGE@
25206 pkgincludedir = $(includedir)/@PACKAGE@
25210 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25211 +ACLOCAL = @ACLOCAL@
25212 +AUTOCONF = @AUTOCONF@
25213 +AUTOMAKE = @AUTOMAKE@
25214 +AUTOHEADER = @AUTOHEADER@
25216 INSTALL = @INSTALL@
25217 -install_sh_DATA = $(install_sh) -c -m 644
25218 -install_sh_PROGRAM = $(install_sh) -c
25219 -install_sh_SCRIPT = $(install_sh) -c
25220 -INSTALL_HEADER = $(INSTALL_DATA)
25221 -transform = $(program_transform_name)
25222 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
25223 +INSTALL_DATA = @INSTALL_DATA@
25224 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
25225 +transform = @program_transform_name@
25230 NORMAL_UNINSTALL = :
25233 +host_alias = @host_alias@
25234 host_triplet = @host@
25235 -ACLOCAL = @ACLOCAL@
25236 -AMDEP_FALSE = @AMDEP_FALSE@
25237 -AMDEP_TRUE = @AMDEP_TRUE@
25240 -AUTOCONF = @AUTOCONF@
25241 -AUTOHEADER = @AUTOHEADER@
25242 -AUTOMAKE = @AUTOMAKE@
25246 -CCDEPMODE = @CCDEPMODE@
25249 -CPPFLAGS = @CPPFLAGS@
25252 -CXXDEPMODE = @CXXDEPMODE@
25253 CXXFLAGS = @CXXFLAGS@
25254 -CYGPATH_W = @CYGPATH_W@
25257 +DLLTOOL = @DLLTOOL@
25258 DOXYGEN = @DOXYGEN@
25267 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
25268 -GTHREAD_LIBS = @GTHREAD_LIBS@
25270 +GCJFLAGS = @GCJFLAGS@
25272 GTK_CFLAGS = @GTK_CFLAGS@
25273 GTK_LIBS = @GTK_LIBS@
25274 -INSTALL_DATA = @INSTALL_DATA@
25275 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
25276 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
25277 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
25278 +HAVE_LIB = @HAVE_LIB@
25279 ISODATE = @ISODATE@
25280 LDFLAGS = @LDFLAGS@
25281 -LIBOBJS = @LIBOBJS@
25284 LIBTOOL = @LIBTOOL@
25286 -LTLIBOBJS = @LTLIBOBJS@
25289 MAKEINFO = @MAKEINFO@
25290 MAYBE_DOC = @MAYBE_DOC@
25291 +OBJDUMP = @OBJDUMP@
25293 PACKAGE = @PACKAGE@
25294 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25295 -PACKAGE_NAME = @PACKAGE_NAME@
25296 -PACKAGE_STRING = @PACKAGE_STRING@
25297 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
25298 -PACKAGE_VERSION = @PACKAGE_VERSION@
25299 -PATH_SEPARATOR = @PATH_SEPARATOR@
25301 PKG_CONFIG = @PKG_CONFIG@
25302 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
25303 PTHREAD_LIBS = @PTHREAD_LIBS@
25305 -SET_MAKE = @SET_MAKE@
25308 SIGCX_BRANCH = @SIGCX_BRANCH@
25309 SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
25310 SIGC_CFLAGS = @SIGC_CFLAGS@
25311 SIGC_LIBS = @SIGC_LIBS@
25312 +SIGC_MACROS = @SIGC_MACROS@
25314 THREADS_USED = @THREADS_USED@
25315 THREAD_CFLAGS = @THREAD_CFLAGS@
25316 THREAD_LIBS = @THREAD_LIBS@
25317 VERSION = @VERSION@
25318 -ac_ct_AR = @ac_ct_AR@
25319 -ac_ct_CC = @ac_ct_CC@
25320 -ac_ct_CXX = @ac_ct_CXX@
25321 -ac_ct_F77 = @ac_ct_F77@
25322 -ac_ct_RANLIB = @ac_ct_RANLIB@
25323 -ac_ct_STRIP = @ac_ct_STRIP@
25324 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
25325 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
25326 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
25327 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
25328 -am__include = @am__include@
25329 -am__leading_dot = @am__leading_dot@
25330 -am__quote = @am__quote@
25333 -build_alias = @build_alias@
25334 -build_cpu = @build_cpu@
25335 -build_os = @build_os@
25336 -build_vendor = @build_vendor@
25337 -datadir = @datadir@
25338 -exec_prefix = @exec_prefix@
25340 -host_alias = @host_alias@
25341 -host_cpu = @host_cpu@
25342 -host_os = @host_os@
25343 -host_vendor = @host_vendor@
25344 -includedir = @includedir@
25345 -infodir = @infodir@
25346 -install_sh = @install_sh@
25348 -libexecdir = @libexecdir@
25349 -localstatedir = @localstatedir@
25351 -oldincludedir = @oldincludedir@
25353 -program_transform_name = @program_transform_name@
25354 -sbindir = @sbindir@
25355 -sharedstatedir = @sharedstatedir@
25356 -sysconfdir = @sysconfdir@
25357 -target_alias = @target_alias@
25359 AM_CPPFLAGS = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS)
25361 -LDADD = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la \
25362 - $(THREAD_LIBS) $(SIGC_LIBS)
25363 +LDADD = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la $(THREAD_LIBS) $(SIGC_LIBS)
25366 TESTS = x_thread_test ref_slot_test timeval_test
25368 -noinst_PROGRAMS = x_thread_test signal_handler_test convert_test \
25369 - ref_slot_test timeval_test
25371 +noinst_PROGRAMS = x_thread_test signal_handler_test convert_test ref_slot_test timeval_test
25376 convert_test_SOURCES = convert_test.cc
25377 x_thread_test_SOURCES = x_thread_test.cc
25378 ref_slot_test_SOURCES = ref_slot_test.cc
25379 signal_handler_test_SOURCES = signal_handler_test.cc
25380 timeval_test_SOURCES = timeval_test.cc
25382 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
25383 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
25384 -CONFIG_HEADER = $(top_builddir)/config.h
25385 -CONFIG_CLEAN_FILES =
25386 -noinst_PROGRAMS = x_thread_test$(EXEEXT) signal_handler_test$(EXEEXT) \
25387 - convert_test$(EXEEXT) ref_slot_test$(EXEEXT) \
25388 - timeval_test$(EXEEXT)
25389 -PROGRAMS = $(noinst_PROGRAMS)
25390 +CONFIG_HEADER = ../config.h
25391 +CONFIG_CLEAN_FILES =
25392 +noinst_PROGRAMS = x_thread_test$(EXEEXT) signal_handler_test$(EXEEXT) \
25393 +convert_test$(EXEEXT) ref_slot_test$(EXEEXT) timeval_test$(EXEEXT)
25394 +PROGRAMS = $(noinst_PROGRAMS)
25396 -am_convert_test_OBJECTS = convert_test.$(OBJEXT)
25397 -convert_test_OBJECTS = $(am_convert_test_OBJECTS)
25399 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
25400 +CPPFLAGS = @CPPFLAGS@
25402 +x_thread_test_OBJECTS = x_thread_test.$(OBJEXT)
25403 +x_thread_test_LDADD = $(LDADD)
25404 +x_thread_test_DEPENDENCIES = \
25405 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25406 +x_thread_test_LDFLAGS =
25407 +signal_handler_test_OBJECTS = signal_handler_test.$(OBJEXT)
25408 +signal_handler_test_LDADD = $(LDADD)
25409 +signal_handler_test_DEPENDENCIES = \
25410 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25411 +signal_handler_test_LDFLAGS =
25412 +convert_test_OBJECTS = convert_test.$(OBJEXT)
25413 convert_test_LDADD = $(LDADD)
25414 -convert_test_DEPENDENCIES = \
25415 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25416 -convert_test_LDFLAGS =
25417 -am_ref_slot_test_OBJECTS = ref_slot_test.$(OBJEXT)
25418 -ref_slot_test_OBJECTS = $(am_ref_slot_test_OBJECTS)
25419 +convert_test_DEPENDENCIES = \
25420 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25421 +convert_test_LDFLAGS =
25422 +ref_slot_test_OBJECTS = ref_slot_test.$(OBJEXT)
25423 ref_slot_test_LDADD = $(LDADD)
25424 -ref_slot_test_DEPENDENCIES = \
25425 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25426 -ref_slot_test_LDFLAGS =
25427 -am_signal_handler_test_OBJECTS = signal_handler_test.$(OBJEXT)
25428 -signal_handler_test_OBJECTS = $(am_signal_handler_test_OBJECTS)
25429 -signal_handler_test_LDADD = $(LDADD)
25430 -signal_handler_test_DEPENDENCIES = \
25431 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25432 -signal_handler_test_LDFLAGS =
25433 -am_timeval_test_OBJECTS = timeval_test.$(OBJEXT)
25434 -timeval_test_OBJECTS = $(am_timeval_test_OBJECTS)
25435 +ref_slot_test_DEPENDENCIES = \
25436 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25437 +ref_slot_test_LDFLAGS =
25438 +timeval_test_OBJECTS = timeval_test.$(OBJEXT)
25439 timeval_test_LDADD = $(LDADD)
25440 -timeval_test_DEPENDENCIES = \
25441 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25442 -timeval_test_LDFLAGS =
25443 -am_x_thread_test_OBJECTS = x_thread_test.$(OBJEXT)
25444 -x_thread_test_OBJECTS = $(am_x_thread_test_OBJECTS)
25445 -x_thread_test_LDADD = $(LDADD)
25446 -x_thread_test_DEPENDENCIES = \
25447 - $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25448 -x_thread_test_LDFLAGS =
25450 -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
25451 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
25452 -am__depfiles_maybe = depfiles
25453 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/convert_test.Po \
25454 -@AMDEP_TRUE@ ./$(DEPDIR)/ref_slot_test.Po \
25455 -@AMDEP_TRUE@ ./$(DEPDIR)/signal_handler_test.Po \
25456 -@AMDEP_TRUE@ ./$(DEPDIR)/timeval_test.Po \
25457 -@AMDEP_TRUE@ ./$(DEPDIR)/x_thread_test.Po
25458 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
25459 - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25460 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
25461 - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
25462 - $(AM_CXXFLAGS) $(CXXFLAGS)
25463 +timeval_test_DEPENDENCIES = \
25464 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25465 +timeval_test_LDFLAGS =
25466 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25467 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25469 -CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
25470 - $(AM_LDFLAGS) $(LDFLAGS) -o $@
25471 -DIST_SOURCES = $(convert_test_SOURCES) $(ref_slot_test_SOURCES) \
25472 - $(signal_handler_test_SOURCES) $(timeval_test_SOURCES) \
25473 - $(x_thread_test_SOURCES)
25474 -DIST_COMMON = README Makefile.am Makefile.in
25475 -SOURCES = $(convert_test_SOURCES) $(ref_slot_test_SOURCES) $(signal_handler_test_SOURCES) $(timeval_test_SOURCES) $(x_thread_test_SOURCES)
25476 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
25477 +DIST_COMMON = README Makefile.am Makefile.in
25480 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
25485 +SOURCES = $(x_thread_test_SOURCES) $(signal_handler_test_SOURCES) $(convert_test_SOURCES) $(ref_slot_test_SOURCES) $(timeval_test_SOURCES)
25486 +OBJECTS = $(x_thread_test_OBJECTS) $(signal_handler_test_OBJECTS) $(convert_test_OBJECTS) $(ref_slot_test_OBJECTS) $(timeval_test_OBJECTS)
25490 -.SUFFIXES: .cc .lo .o .obj
25491 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
25492 - cd $(top_srcdir) && \
25493 - $(AUTOMAKE) --gnu tests/Makefile
25494 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25495 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
25496 +.SUFFIXES: .S .c .cc .lo .o .obj .s
25497 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
25498 + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tests/Makefile
25500 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25501 + cd $(top_builddir) \
25502 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
25505 +mostlyclean-noinstPROGRAMS:
25507 clean-noinstPROGRAMS:
25508 - @list='$(noinst_PROGRAMS)'; for p in $$list; do \
25509 - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
25510 - echo " rm -f $$p $$f"; \
25511 - rm -f $$p $$f ; \
25513 -convert_test$(EXEEXT): $(convert_test_OBJECTS) $(convert_test_DEPENDENCIES)
25514 - @rm -f convert_test$(EXEEXT)
25515 - $(CXXLINK) $(convert_test_LDFLAGS) $(convert_test_OBJECTS) $(convert_test_LDADD) $(LIBS)
25516 -ref_slot_test$(EXEEXT): $(ref_slot_test_OBJECTS) $(ref_slot_test_DEPENDENCIES)
25517 - @rm -f ref_slot_test$(EXEEXT)
25518 - $(CXXLINK) $(ref_slot_test_LDFLAGS) $(ref_slot_test_OBJECTS) $(ref_slot_test_LDADD) $(LIBS)
25519 -signal_handler_test$(EXEEXT): $(signal_handler_test_OBJECTS) $(signal_handler_test_DEPENDENCIES)
25520 - @rm -f signal_handler_test$(EXEEXT)
25521 - $(CXXLINK) $(signal_handler_test_LDFLAGS) $(signal_handler_test_OBJECTS) $(signal_handler_test_LDADD) $(LIBS)
25522 -timeval_test$(EXEEXT): $(timeval_test_OBJECTS) $(timeval_test_DEPENDENCIES)
25523 - @rm -f timeval_test$(EXEEXT)
25524 - $(CXXLINK) $(timeval_test_LDFLAGS) $(timeval_test_OBJECTS) $(timeval_test_LDADD) $(LIBS)
25525 -x_thread_test$(EXEEXT): $(x_thread_test_OBJECTS) $(x_thread_test_DEPENDENCIES)
25526 - @rm -f x_thread_test$(EXEEXT)
25527 - $(CXXLINK) $(x_thread_test_LDFLAGS) $(x_thread_test_OBJECTS) $(x_thread_test_LDADD) $(LIBS)
25528 + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
25530 +distclean-noinstPROGRAMS:
25532 +maintainer-clean-noinstPROGRAMS:
25537 +# FIXME: We should only use cygpath when building on Windows,
25538 +# and only if it is available.
25540 + $(COMPILE) -c `cygpath -w $<`
25548 mostlyclean-compile:
25549 - -rm -f *.$(OBJEXT) core *.core
25550 + -rm -f *.o core *.core
25551 + -rm -f *.$(OBJEXT)
25558 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert_test.Po@am__quote@
25559 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ref_slot_test.Po@am__quote@
25560 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal_handler_test.Po@am__quote@
25561 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval_test.Po@am__quote@
25562 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_thread_test.Po@am__quote@
25563 +maintainer-clean-compile:
25566 - -rm -rf ./$(DEPDIR)
25568 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25571 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25572 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
25573 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
25574 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25575 -@am__fastdepCXX_TRUE@ fi
25576 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
25577 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
25578 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25579 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
25581 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25584 -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25585 -@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
25586 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
25587 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25588 -@am__fastdepCXX_TRUE@ fi
25589 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
25590 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
25591 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25592 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
25595 -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25596 -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
25597 -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
25598 -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25599 -@am__fastdepCXX_TRUE@ fi
25600 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
25601 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
25602 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25603 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
25605 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25607 mostlyclean-libtool:
25609 @@ -318,255 +234,180 @@
25610 -rm -rf .libs _libs
25614 -uninstall-info-am:
25618 +maintainer-clean-libtool:
25620 +x_thread_test$(EXEEXT): $(x_thread_test_OBJECTS) $(x_thread_test_DEPENDENCIES)
25621 + @rm -f x_thread_test$(EXEEXT)
25622 + $(CXXLINK) $(x_thread_test_LDFLAGS) $(x_thread_test_OBJECTS) $(x_thread_test_LDADD) $(LIBS)
25624 +signal_handler_test$(EXEEXT): $(signal_handler_test_OBJECTS) $(signal_handler_test_DEPENDENCIES)
25625 + @rm -f signal_handler_test$(EXEEXT)
25626 + $(CXXLINK) $(signal_handler_test_LDFLAGS) $(signal_handler_test_OBJECTS) $(signal_handler_test_LDADD) $(LIBS)
25628 +convert_test$(EXEEXT): $(convert_test_OBJECTS) $(convert_test_DEPENDENCIES)
25629 + @rm -f convert_test$(EXEEXT)
25630 + $(CXXLINK) $(convert_test_LDFLAGS) $(convert_test_OBJECTS) $(convert_test_LDADD) $(LIBS)
25632 +ref_slot_test$(EXEEXT): $(ref_slot_test_OBJECTS) $(ref_slot_test_DEPENDENCIES)
25633 + @rm -f ref_slot_test$(EXEEXT)
25634 + $(CXXLINK) $(ref_slot_test_LDFLAGS) $(ref_slot_test_OBJECTS) $(ref_slot_test_LDADD) $(LIBS)
25638 +timeval_test$(EXEEXT): $(timeval_test_OBJECTS) $(timeval_test_DEPENDENCIES)
25639 + @rm -f timeval_test$(EXEEXT)
25640 + $(CXXLINK) $(timeval_test_LDFLAGS) $(timeval_test_OBJECTS) $(timeval_test_LDADD) $(LIBS)
25642 + $(CXXCOMPILE) -c $<
25644 + $(CXXCOMPILE) -c `cygpath -w $<`
25646 + $(LTCXXCOMPILE) -c $<
25650 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
25651 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
25652 - unique=`for i in $$list; do \
25653 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25655 - $(AWK) ' { files[$$0] = 1; } \
25656 +ID: $(HEADERS) $(SOURCES) $(LISP)
25657 + list='$(SOURCES) $(HEADERS)'; \
25658 + unique=`for i in $$list; do echo $$i; done | \
25659 + awk ' { files[$$0] = 1; } \
25660 END { for (i in files) print i; }'`; \
25661 - mkid -fID $$unique
25662 + here=`pwd` && cd $(srcdir) \
25663 + && mkid -f$$here/ID $$unique $(LISP)
25665 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
25666 - $(TAGS_FILES) $(LISP)
25669 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
25670 - unique=`for i in $$list; do \
25671 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25673 - $(AWK) ' { files[$$0] = 1; } \
25674 - END { for (i in files) print i; }'`; \
25675 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
25676 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
25680 -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
25681 - $(TAGS_FILES) $(LISP)
25682 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
25685 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
25686 - unique=`for i in $$list; do \
25687 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25689 - $(AWK) ' { files[$$0] = 1; } \
25690 + list='$(SOURCES) $(HEADERS)'; \
25691 + unique=`for i in $$list; do echo $$i; done | \
25692 + awk ' { files[$$0] = 1; } \
25693 END { for (i in files) print i; }'`; \
25694 - test -z "$(CTAGS_ARGS)$$tags$$unique" \
25695 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
25699 - here=`$(am__cd) $(top_builddir) && pwd` \
25700 - && cd $(top_srcdir) \
25701 - && gtags -i $(GTAGS_ARGS) $$here
25702 + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
25703 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
25710 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
25713 -check-TESTS: $(TESTS)
25714 - @failed=0; all=0; xfail=0; xpass=0; skip=0; \
25715 - srcdir=$(srcdir); export srcdir; \
25716 - list='$(TESTS)'; \
25717 - if test -n "$$list"; then \
25718 - for tst in $$list; do \
25719 - if test -f ./$$tst; then dir=./; \
25720 - elif test -f $$tst; then dir=; \
25721 - else dir="$(srcdir)/"; fi; \
25722 - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
25723 - all=`expr $$all + 1`; \
25724 - case " $(XFAIL_TESTS) " in \
25726 - xpass=`expr $$xpass + 1`; \
25727 - failed=`expr $$failed + 1`; \
25728 - echo "XPASS: $$tst"; \
25731 - echo "PASS: $$tst"; \
25734 - elif test $$? -ne 77; then \
25735 - all=`expr $$all + 1`; \
25736 - case " $(XFAIL_TESTS) " in \
25738 - xfail=`expr $$xfail + 1`; \
25739 - echo "XFAIL: $$tst"; \
25742 - failed=`expr $$failed + 1`; \
25743 - echo "FAIL: $$tst"; \
25747 - skip=`expr $$skip + 1`; \
25748 - echo "SKIP: $$tst"; \
25751 - if test "$$failed" -eq 0; then \
25752 - if test "$$xfail" -eq 0; then \
25753 - banner="All $$all tests passed"; \
25755 - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
25758 - if test "$$xpass" -eq 0; then \
25759 - banner="$$failed of $$all tests failed"; \
25761 - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
25764 - dashes="$$banner"; \
25766 - if test "$$skip" -ne 0; then \
25767 - skipped="($$skip tests were not run)"; \
25768 - test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
25769 - dashes="$$skipped"; \
25772 - if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
25773 - report="Please report to $(PACKAGE_BUGREPORT)"; \
25774 - test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
25775 - dashes="$$report"; \
25777 - dashes=`echo "$$dashes" | sed s/./=/g`; \
25778 - echo "$$dashes"; \
25779 - echo "$$banner"; \
25780 - test -n "$$skipped" && echo "$$skipped"; \
25781 - test -n "$$report" && echo "$$report"; \
25782 - echo "$$dashes"; \
25783 - test "$$failed" -eq 0; \
25785 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
25786 +maintainer-clean-tags:
25789 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
25790 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
25794 distdir: $(DISTFILES)
25795 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
25796 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
25797 - list='$(DISTFILES)'; for file in $$list; do \
25799 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
25800 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
25802 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
25803 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
25804 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
25806 - $(mkinstalldirs) "$(distdir)$$dir"; \
25810 + @for file in $(DISTFILES); do \
25812 if test -d $$d/$$file; then \
25813 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
25814 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
25816 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
25817 + cp -pr $$d/$$file $(distdir)/$$file; \
25819 test -f $(distdir)/$$file \
25820 - || cp -p $$d/$$file $(distdir)/$$file \
25822 + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
25823 + || cp -p $$d/$$file $(distdir)/$$file || :; \
25827 +check-TESTS: $(TESTS)
25828 + @failed=0; all=0; \
25829 + srcdir=$(srcdir); export srcdir; \
25830 + for tst in $(TESTS); do \
25831 + if test -f $$tst; then dir=.; \
25832 + else dir="$(srcdir)"; fi; \
25833 + if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
25834 + all=`expr $$all + 1`; \
25835 + echo "PASS: $$tst"; \
25836 + elif test $$? -ne 77; then \
25837 + all=`expr $$all + 1`; \
25838 + failed=`expr $$failed + 1`; \
25839 + echo "FAIL: $$tst"; \
25842 + if test "$$failed" -eq 0; then \
25843 + banner="All $$all tests passed"; \
25845 + banner="$$failed of $$all tests failed"; \
25847 + dashes=`echo "$$banner" | sed s/./=/g`; \
25848 + echo "$$dashes"; \
25849 + echo "$$banner"; \
25850 + echo "$$dashes"; \
25851 + test "$$failed" -eq 0
25857 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
25859 -all-am: Makefile $(PROGRAMS)
25862 -install: install-am
25864 +installcheck: installcheck-am
25866 install-exec: install-exec-am
25869 install-data: install-data-am
25870 -uninstall: uninstall-am
25873 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
25875 -installcheck: installcheck-am
25876 +install: install-am
25878 +uninstall: uninstall-am
25879 +all-am: Makefile $(PROGRAMS)
25880 +all-redirect: all-am
25882 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
25883 - INSTALL_STRIP_FLAG=-s \
25884 - `test -z '$(STRIP)' || \
25885 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
25886 + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
25890 mostlyclean-generic:
25895 -rm -f Makefile $(CONFIG_CLEAN_FILES)
25896 + -rm -f config.cache config.log stamp-h stamp-h[0-9]*
25898 maintainer-clean-generic:
25899 - @echo "This command is intended for maintainers to use"
25900 - @echo "it deletes files that may require special tools to rebuild."
25903 -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
25906 -distclean: distclean-am
25908 -distclean-am: clean-am distclean-compile distclean-depend \
25909 - distclean-generic distclean-libtool distclean-tags
25910 +mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
25911 + mostlyclean-libtool mostlyclean-tags \
25912 + mostlyclean-generic
25921 +mostlyclean: mostlyclean-am
25924 +clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
25925 + clean-generic mostlyclean-am
25930 -install-info: install-info-am
25931 +distclean-am: distclean-noinstPROGRAMS distclean-compile \
25932 + distclean-libtool distclean-tags distclean-generic \
25937 +distclean: distclean-am
25940 +maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
25941 + maintainer-clean-compile maintainer-clean-libtool \
25942 + maintainer-clean-tags maintainer-clean-generic \
25944 + @echo "This command is intended for maintainers to use;"
25945 + @echo "it deletes files that may require special tools to rebuild."
25947 maintainer-clean: maintainer-clean-am
25949 -maintainer-clean-am: distclean-am maintainer-clean-generic
25951 -mostlyclean: mostlyclean-am
25953 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
25954 - mostlyclean-libtool
25961 +.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
25962 +clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
25963 +mostlyclean-compile distclean-compile clean-compile \
25964 +maintainer-clean-compile mostlyclean-libtool distclean-libtool \
25965 +clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
25966 +distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
25967 +info-am info dvi-am dvi check check-am installcheck-am installcheck \
25968 +install-exec-am install-exec install-data-am install-data install-am \
25969 +install uninstall-am uninstall all-redirect all-am all installdirs \
25970 +mostlyclean-generic distclean-generic clean-generic \
25971 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25975 -uninstall-am: uninstall-info-am
25977 -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
25978 - clean-generic clean-libtool clean-noinstPROGRAMS ctags \
25979 - distclean distclean-compile distclean-depend distclean-generic \
25980 - distclean-libtool distclean-tags distdir dvi dvi-am info \
25981 - info-am install install-am install-data install-data-am \
25982 - install-exec install-exec-am install-info install-info-am \
25983 - install-man install-strip installcheck installcheck-am \
25984 - installdirs maintainer-clean maintainer-clean-generic \
25985 - mostlyclean mostlyclean-compile mostlyclean-generic \
25986 - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
25987 - uninstall-am uninstall-info-am
25989 # Tell versions [3.59,3.63) of GNU make to not export all variables.
25990 # Otherwise a system limit (for SysV at least) may be exceeded.