Merge lp:~logan/ubuntu/raring/cpptest/1.1.2-0ubuntu1 into lp:ubuntu/raring/cpptest

Proposed by Logan Rosen
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~logan/ubuntu/raring/cpptest/1.1.2-0ubuntu1
Merge into: lp:ubuntu/raring/cpptest
Diff against target: 18770 lines (+6505/-3091)
31 files modified
AUTHORS (+5/-2)
INSTALL.quick (+2/-2)
Makefile.in (+141/-64)
NEWS (+8/-0)
README (+1/-1)
aclocal.m4 (+1279/-609)
config/config.guess (+146/-118)
config/config.sub (+134/-75)
config/depcomp (+133/-56)
config/install-sh (+21/-14)
config/ltmain.sh (+2120/-910)
config/missing (+51/-97)
configure (+2151/-1067)
configure.ac (+1/-1)
debian/Makefile (+5/-0)
debian/changelog (+18/-0)
debian/control (+1/-2)
debian/copyright (+4/-3)
debian/patches/03-create-test-makefile.patch (+0/-9)
debian/patches/06-patch-makefile.in-not-to-build-examples.patch (+3/-3)
debian/patches/series (+0/-1)
debian/rules (+1/-1)
debian/source/format (+1/-1)
doc/Doxyfile (+1/-1)
doc/Makefile.am (+0/-1)
doc/Makefile.in (+51/-14)
libcpptest.pc (+1/-1)
libcpptest.pc.in (+3/-3)
src/Makefile.in (+75/-23)
src/cpptest-assert.h (+93/-0)
test/Makefile.in (+55/-12)
To merge this branch: bzr merge lp:~logan/ubuntu/raring/cpptest/1.1.2-0ubuntu1
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Ubuntu branches Pending
Review via email: mp+149667@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS'
--- AUTHORS 2010-05-12 20:21:46 +0000
+++ AUTHORS 2013-02-20 19:26:35 +0000
@@ -1,4 +1,5 @@
1Current maintainer1Current maintainers
2 Nate Gallaher <ngallaher@zoidberg.wp.comcast.net>
2 Sebastian Pipping <sebastian@pipping.org>3 Sebastian Pipping <sebastian@pipping.org>
34
4Main author:5Main author:
@@ -8,4 +9,6 @@
8 David Morris - pkg-config and installation patches.9 David Morris - pkg-config and installation patches.
9 Robin Patenall - migration to XHTML 1.0 strict10 Robin Patenall - migration to XHTML 1.0 strict
10 Sebastian Pipping - several bugfixes11 Sebastian Pipping - several bugfixes
1112 Nate Gallaher - additional assertion macros
13 Robert Buchholz - build system fixes
14 Dagobert Michelsen - build system fixes
1215
=== modified file 'INSTALL.quick'
--- INSTALL.quick 2010-05-12 20:21:46 +0000
+++ INSTALL.quick 2013-02-20 19:26:35 +0000
@@ -16,8 +16,8 @@
16Simple install procedure16Simple install procedure
17------------------------17------------------------
1818
19 > gzip -cd cpptest-1.1.1.tar.gz | tar xvf - # unpack the sources19 > gzip -cd cpptest-1.1.2.tar.gz | tar xvf - # unpack the sources
20 > cd cpptest-1.1.1 # change to the its directory20 > cd cpptest-1.1.2 # change to the its directory
21 > ./configure # run the 'configure' script21 > ./configure # run the 'configure' script
22 > make # build 'cpptest'22 > make # build 'cpptest'
2323
2424
=== modified file 'Makefile.in'
--- Makefile.in 2010-05-12 20:21:46 +0000
+++ Makefile.in 2013-02-20 19:26:35 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.1# Makefile.in generated by automake 1.12.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994-2012 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,5
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -16,6 +15,23 @@
16@SET_MAKE@15@SET_MAKE@
1716
18VPATH = @srcdir@17VPATH = @srcdir@
18am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
19pkgdatadir = $(datadir)/@PACKAGE@35pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@36pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@37pkglibdir = $(libdir)/@PACKAGE@
@@ -39,10 +55,13 @@
39DIST_COMMON = README $(am__configure_deps) $(srcdir)/INSTALL.quick.in \55DIST_COMMON = README $(am__configure_deps) $(srcdir)/INSTALL.quick.in \
40 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \56 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
41 $(srcdir)/README.in $(srcdir)/libcpptest.pc.in \57 $(srcdir)/README.in $(srcdir)/libcpptest.pc.in \
58 $(top_srcdir)/config/config.guess \
42 $(top_srcdir)/config/config.h.in \59 $(top_srcdir)/config/config.h.in \
43 $(top_srcdir)/config/stamp-h.in $(top_srcdir)/configure \60 $(top_srcdir)/config/config.sub \
44 AUTHORS COPYING ChangeLog INSTALL NEWS config/config.guess \61 $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
45 config/config.sub config/depcomp config/install-sh \62 $(top_srcdir)/config/missing $(top_srcdir)/config/stamp-h.in \
63 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
64 config/config.guess config/config.sub config/install-sh \
46 config/ltmain.sh config/missing65 config/ltmain.sh config/missing
47ACLOCAL_M4 = $(top_srcdir)/aclocal.m466ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48am__aclocal_m4_deps = $(top_srcdir)/configure.ac67am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@@ -63,6 +82,11 @@
63 install-pdf-recursive install-ps-recursive install-recursive \82 install-pdf-recursive install-ps-recursive install-recursive \
64 installcheck-recursive installdirs-recursive pdf-recursive \83 installcheck-recursive installdirs-recursive pdf-recursive \
65 ps-recursive uninstall-recursive84 ps-recursive uninstall-recursive
85am__can_run_installinfo = \
86 case $$AM_UPDATE_INFO_DIR in \
87 n|no|NO) false;; \
88 *) (install-info --version) >/dev/null 2>&1;; \
89 esac
66am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;90am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
67am__vpath_adj = case $$p in \91am__vpath_adj = case $$p in \
68 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \92 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -84,23 +108,33 @@
84am__base_list = \108am__base_list = \
85 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \109 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
86 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'110 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
111am__uninstall_files_from_dir = { \
112 test -z "$$files" \
113 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
114 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
115 $(am__cd) "$$dir" && rm -f $$files; }; \
116 }
87am__installdirs = "$(DESTDIR)$(pkgconfigdir)"117am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
88DATA = $(pkgconfig_DATA)118DATA = $(pkgconfig_DATA)
89RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \119RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
90 distclean-recursive maintainer-clean-recursive120 distclean-recursive maintainer-clean-recursive
91AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \121AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
92 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \122 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
93 distdir dist dist-all distcheck123 cscope distdir dist dist-all distcheck
94ETAGS = etags124ETAGS = etags
95CTAGS = ctags125CTAGS = ctags
126CSCOPE = cscope
96DIST_SUBDIRS = src test doc127DIST_SUBDIRS = src test doc
97DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)128DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
98distdir = $(PACKAGE)-$(VERSION)129distdir = $(PACKAGE)-$(VERSION)
99top_distdir = $(distdir)130top_distdir = $(distdir)
100am__remove_distdir = \131am__remove_distdir = \
101 { test ! -d "$(distdir)" \132 if test -d "$(distdir)"; then \
102 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \133 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
103 && rm -fr "$(distdir)"; }; }134 && rm -rf "$(distdir)" \
135 || { sleep 5 && rm -rf "$(distdir)"; }; \
136 else :; fi
137am__post_remove_distdir = $(am__remove_distdir)
104am__relativize = \138am__relativize = \
105 dir0=`pwd`; \139 dir0=`pwd`; \
106 sed_first='s,^\([^/]*\)/.*$$,\1,'; \140 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -128,7 +162,10 @@
128 reldir="$$dir2"162 reldir="$$dir2"
129DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip163DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
130GZIP_ENV = --best164GZIP_ENV = --best
165DIST_TARGETS = dist-gzip dist-zip
131distuninstallcheck_listfiles = find . -type f -print166distuninstallcheck_listfiles = find . -type f -print
167am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
168 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
132distcleancheck_listfiles = find . -type f -print169distcleancheck_listfiles = find . -type f -print
133ACLOCAL = @ACLOCAL@170ACLOCAL = @ACLOCAL@
134AMTAR = @AMTAR@171AMTAR = @AMTAR@
@@ -149,6 +186,7 @@
149CYGPATH_W = @CYGPATH_W@186CYGPATH_W = @CYGPATH_W@
150DEFS = @DEFS@187DEFS = @DEFS@
151DEPDIR = @DEPDIR@188DEPDIR = @DEPDIR@
189DLLTOOL = @DLLTOOL@
152DSYMUTIL = @DSYMUTIL@190DSYMUTIL = @DSYMUTIL@
153DUMPBIN = @DUMPBIN@191DUMPBIN = @DUMPBIN@
154ECHO_C = @ECHO_C@192ECHO_C = @ECHO_C@
@@ -173,6 +211,7 @@
173LTLIBOBJS = @LTLIBOBJS@211LTLIBOBJS = @LTLIBOBJS@
174LT_VERSION = @LT_VERSION@212LT_VERSION = @LT_VERSION@
175MAKEINFO = @MAKEINFO@213MAKEINFO = @MAKEINFO@
214MANIFEST_TOOL = @MANIFEST_TOOL@
176MKDIR_P = @MKDIR_P@215MKDIR_P = @MKDIR_P@
177NM = @NM@216NM = @NM@
178NMEDIT = @NMEDIT@217NMEDIT = @NMEDIT@
@@ -198,6 +237,7 @@
198abs_srcdir = @abs_srcdir@237abs_srcdir = @abs_srcdir@
199abs_top_builddir = @abs_top_builddir@238abs_top_builddir = @abs_top_builddir@
200abs_top_srcdir = @abs_top_srcdir@239abs_top_srcdir = @abs_top_srcdir@
240ac_ct_AR = @ac_ct_AR@
201ac_ct_CC = @ac_ct_CC@241ac_ct_CC = @ac_ct_CC@
202ac_ct_CXX = @ac_ct_CXX@242ac_ct_CXX = @ac_ct_CXX@
203ac_ct_DUMPBIN = @ac_ct_DUMPBIN@243ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
@@ -232,7 +272,6 @@
232localedir = @localedir@272localedir = @localedir@
233localstatedir = @localstatedir@273localstatedir = @localstatedir@
234mandir = @mandir@274mandir = @mandir@
235mkdir_p = @mkdir_p@
236oldincludedir = @oldincludedir@275oldincludedir = @oldincludedir@
237pdfdir = @pdfdir@276pdfdir = @pdfdir@
238prefix = @prefix@277prefix = @prefix@
@@ -293,7 +332,7 @@
293all: all-recursive332all: all-recursive
294333
295.SUFFIXES:334.SUFFIXES:
296am--refresh:335am--refresh: Makefile
297 @:336 @:
298$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)337$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
299 @for dep in $?; do \338 @for dep in $?; do \
@@ -329,10 +368,8 @@
329$(am__aclocal_m4_deps):368$(am__aclocal_m4_deps):
330369
331config/config.h: config/stamp-h1370config/config.h: config/stamp-h1
332 @if test ! -f $@; then \371 @if test ! -f $@; then rm -f config/stamp-h1; else :; fi
333 rm -f config/stamp-h1; \372 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) config/stamp-h1; else :; fi
334 $(MAKE) $(AM_MAKEFLAGS) config/stamp-h1; \
335 else :; fi
336373
337config/stamp-h1: $(top_srcdir)/config/config.h.in $(top_builddir)/config.status374config/stamp-h1: $(top_srcdir)/config/config.h.in $(top_builddir)/config.status
338 @rm -f config/stamp-h1375 @rm -f config/stamp-h1
@@ -363,8 +400,11 @@
363 -rm -f libtool config.lt400 -rm -f libtool config.lt
364install-pkgconfigDATA: $(pkgconfig_DATA)401install-pkgconfigDATA: $(pkgconfig_DATA)
365 @$(NORMAL_INSTALL)402 @$(NORMAL_INSTALL)
366 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
367 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \403 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
404 if test -n "$$list"; then \
405 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
406 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
407 fi; \
368 for p in $$list; do \408 for p in $$list; do \
369 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \409 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
370 echo "$$d$$p"; \410 echo "$$d$$p"; \
@@ -378,16 +418,14 @@
378 @$(NORMAL_UNINSTALL)418 @$(NORMAL_UNINSTALL)
379 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \419 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
380 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \420 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
381 test -n "$$files" || exit 0; \421 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
382 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
383 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
384422
385# This directory's subdirectories are mostly independent; you can cd423# This directory's subdirectories are mostly independent; you can cd
386# into them and run `make' without going through this Makefile.424# into them and run 'make' without going through this Makefile.
387# To change the values of `make' variables: instead of editing Makefiles,425# To change the values of 'make' variables: instead of editing Makefiles,
388# (1) if the variable is set in `config.status', edit `config.status'426# (1) if the variable is set in 'config.status', edit 'config.status'
389# (which will cause the Makefiles to be regenerated when you run `make');427# (which will cause the Makefiles to be regenerated when you run 'make');
390# (2) otherwise, pass the desired values on the `make' command line.428# (2) otherwise, pass the desired values on the 'make' command line.
391$(RECURSIVE_TARGETS):429$(RECURSIVE_TARGETS):
392 @fail= failcom='exit 1'; \430 @fail= failcom='exit 1'; \
393 for f in x $$MAKEFLAGS; do \431 for f in x $$MAKEFLAGS; do \
@@ -451,6 +489,10 @@
451 list='$(SUBDIRS)'; for subdir in $$list; do \489 list='$(SUBDIRS)'; for subdir in $$list; do \
452 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \490 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
453 done491 done
492cscopelist-recursive:
493 list='$(SUBDIRS)'; for subdir in $$list; do \
494 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
495 done
454496
455ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)497ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
456 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \498 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -514,8 +556,32 @@
514 && $(am__cd) $(top_srcdir) \556 && $(am__cd) $(top_srcdir) \
515 && gtags -i $(GTAGS_ARGS) "$$here"557 && gtags -i $(GTAGS_ARGS) "$$here"
516558
559cscope: cscope.files
560 test ! -s cscope.files \
561 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
562
563clean-cscope:
564 -rm -f cscope.files
565
566cscope.files: clean-cscope cscopelist-recursive cscopelist
567
568cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
569 list='$(SOURCES) $(HEADERS) $(LISP)'; \
570 case "$(srcdir)" in \
571 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
572 *) sdir=$(subdir)/$(srcdir) ;; \
573 esac; \
574 for i in $$list; do \
575 if test -f "$$i"; then \
576 echo "$(subdir)/$$i"; \
577 else \
578 echo "$$sdir/$$i"; \
579 fi; \
580 done >> $(top_builddir)/cscope.files
581
517distclean-tags:582distclean-tags:
518 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags583 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
584 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
519585
520distdir: $(DISTFILES)586distdir: $(DISTFILES)
521 $(am__remove_distdir)587 $(am__remove_distdir)
@@ -551,13 +617,10 @@
551 done617 done
552 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \618 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
553 if test "$$subdir" = .; then :; else \619 if test "$$subdir" = .; then :; else \
554 test -d "$(distdir)/$$subdir" \620 $(am__make_dryrun) \
555 || $(MKDIR_P) "$(distdir)/$$subdir" \621 || test -d "$(distdir)/$$subdir" \
556 || exit 1; \622 || $(MKDIR_P) "$(distdir)/$$subdir" \
557 fi; \623 || exit 1; \
558 done
559 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
560 if test "$$subdir" = .; then :; else \
561 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \624 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
562 $(am__relativize); \625 $(am__relativize); \
563 new_distdir=$$reldir; \626 new_distdir=$$reldir; \
@@ -586,37 +649,35 @@
586 || chmod -R a+r "$(distdir)"649 || chmod -R a+r "$(distdir)"
587dist-gzip: distdir650dist-gzip: distdir
588 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz651 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
589 $(am__remove_distdir)652 $(am__post_remove_distdir)
590653
591dist-bzip2: distdir654dist-bzip2: distdir
592 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2655 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
593 $(am__remove_distdir)656 $(am__post_remove_distdir)
594657
595dist-lzma: distdir658dist-lzip: distdir
596 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma659 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
597 $(am__remove_distdir)660 $(am__post_remove_distdir)
598661
599dist-xz: distdir662dist-xz: distdir
600 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz663 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
601 $(am__remove_distdir)664 $(am__post_remove_distdir)
602665
603dist-tarZ: distdir666dist-tarZ: distdir
604 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z667 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
605 $(am__remove_distdir)668 $(am__post_remove_distdir)
606669
607dist-shar: distdir670dist-shar: distdir
608 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz671 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
609 $(am__remove_distdir)672 $(am__post_remove_distdir)
610dist-zip: distdir673dist-zip: distdir
611 -rm -f $(distdir).zip674 -rm -f $(distdir).zip
612 zip -rq $(distdir).zip $(distdir)675 zip -rq $(distdir).zip $(distdir)
613 $(am__remove_distdir)676 $(am__post_remove_distdir)
614677
615dist dist-all: distdir678dist dist-all:
616 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz679 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
617 -rm -f $(distdir).zip680 $(am__post_remove_distdir)
618 zip -rq $(distdir).zip $(distdir)
619 $(am__remove_distdir)
620681
621# This target untars the dist file and tries a VPATH configuration. Then682# This target untars the dist file and tries a VPATH configuration. Then
622# it guarantees that the distribution is self-contained by making another683# it guarantees that the distribution is self-contained by making another
@@ -627,8 +688,8 @@
627 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\688 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
628 *.tar.bz2*) \689 *.tar.bz2*) \
629 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\690 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
630 *.tar.lzma*) \691 *.tar.lz*) \
631 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\692 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
632 *.tar.xz*) \693 *.tar.xz*) \
633 xz -dc $(distdir).tar.xz | $(am__untar) ;;\694 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
634 *.tar.Z*) \695 *.tar.Z*) \
@@ -648,6 +709,7 @@
648 && am__cwd=`pwd` \709 && am__cwd=`pwd` \
649 && $(am__cd) $(distdir)/_build \710 && $(am__cd) $(distdir)/_build \
650 && ../configure --srcdir=.. --prefix="$$dc_install_base" \711 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
712 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
651 $(DISTCHECK_CONFIGURE_FLAGS) \713 $(DISTCHECK_CONFIGURE_FLAGS) \
652 && $(MAKE) $(AM_MAKEFLAGS) \714 && $(MAKE) $(AM_MAKEFLAGS) \
653 && $(MAKE) $(AM_MAKEFLAGS) dvi \715 && $(MAKE) $(AM_MAKEFLAGS) dvi \
@@ -671,13 +733,21 @@
671 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \733 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
672 && cd "$$am__cwd" \734 && cd "$$am__cwd" \
673 || exit 1735 || exit 1
674 $(am__remove_distdir)736 $(am__post_remove_distdir)
675 @(echo "$(distdir) archives ready for distribution: "; \737 @(echo "$(distdir) archives ready for distribution: "; \
676 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \738 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
677 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'739 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
678distuninstallcheck:740distuninstallcheck:
679 @$(am__cd) '$(distuninstallcheck_dir)' \741 @test -n '$(distuninstallcheck_dir)' || { \
680 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \742 echo 'ERROR: trying to run $@ with an empty' \
743 '$$(distuninstallcheck_dir)' >&2; \
744 exit 1; \
745 }; \
746 $(am__cd) '$(distuninstallcheck_dir)' || { \
747 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
748 exit 1; \
749 }; \
750 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
681 || { echo "ERROR: files left after uninstall:" ; \751 || { echo "ERROR: files left after uninstall:" ; \
682 if test -n "$(DESTDIR)"; then \752 if test -n "$(DESTDIR)"; then \
683 echo " (check DESTDIR support)"; \753 echo " (check DESTDIR support)"; \
@@ -711,10 +781,15 @@
711781
712installcheck: installcheck-recursive782installcheck: installcheck-recursive
713install-strip:783install-strip:
714 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \784 if test -z '$(STRIP)'; then \
715 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \785 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
716 `test -z '$(STRIP)' || \786 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
717 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install787 install; \
788 else \
789 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
790 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
791 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
792 fi
718mostlyclean-generic:793mostlyclean-generic:
719 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)794 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
720795
@@ -800,14 +875,16 @@
800875
801uninstall-am: uninstall-pkgconfigDATA876uninstall-am: uninstall-pkgconfigDATA
802877
803.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \878.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
804 install-am install-strip tags-recursive879 cscopelist-recursive ctags-recursive install-am install-strip \
880 tags-recursive
805881
806.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \882.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
807 all all-am am--refresh check check-am clean clean-generic \883 all all-am am--refresh check check-am clean clean-cscope \
808 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \884 clean-generic clean-libtool cscope cscopelist \
809 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \885 cscopelist-recursive ctags ctags-recursive dist dist-all \
810 distcheck distclean distclean-generic distclean-hdr \886 dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
887 dist-zip distcheck distclean distclean-generic distclean-hdr \
811 distclean-libtool distclean-tags distcleancheck distdir \888 distclean-libtool distclean-tags distcleancheck distdir \
812 distuninstallcheck dvi dvi-am html html-am info info-am \889 distuninstallcheck dvi dvi-am html html-am info info-am \
813 install install-am install-data install-data-am install-dvi \890 install install-am install-data install-data-am install-dvi \
814891
=== modified file 'NEWS'
--- NEWS 2010-05-12 20:21:46 +0000
+++ NEWS 2013-02-20 19:26:35 +0000
@@ -1,3 +1,11 @@
1Release 1.1.2 -- Octobre 4 2012
2------------------------------
3- Fixed: Use @libdir@ for generation of libcpptest.pc (#3566605)
4 Thanks for the patch to Dagobert Michelsen.
5- Fixed: Respect --htmldir
6 Thanks for the patch to Robert Buchholz.
7- Note: soname remaining at 0:7:0
8
1Release 1.1.1 -- March 26 20109Release 1.1.1 -- March 26 2010
2------------------------------10------------------------------
3- Fixed: Suite no longer successful with uncaught exceptions (#2976484)11- Fixed: Suite no longer successful with uncaught exceptions (#2976484)
412
=== modified file 'README'
--- README 2010-05-12 20:21:46 +0000
+++ README 2013-02-20 19:26:35 +0000
@@ -11,7 +11,7 @@
11General information11General information
12===================12===================
1313
14This is CppTest version 1.1.1. CppTest is a portable and powerful, yet14This is CppTest version 1.1.2. CppTest is a portable and powerful, yet
15simple, unit testing framework for handling automated tests in C++. The focus15simple, unit testing framework for handling automated tests in C++. The focus
16lies on usability and extendability. Several output formats are supported and16lies on usability and extendability. Several output formats are supported and
17new ones are easily added.17new ones are easily added.
1818
=== modified file 'aclocal.m4'
--- aclocal.m4 2010-05-12 20:21:46 +0000
+++ aclocal.m4 2013-02-20 19:26:35 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-1# generated automatically by aclocal 1.12.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996-2012 Free Software Foundation, Inc.
4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.4
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -13,16 +13,17 @@
1313
14m4_ifndef([AC_AUTOCONF_VERSION],14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17[m4_warning([this file was generated for autoconf 2.65.17[m4_warning([this file was generated for autoconf 2.69.
18You have another version of autoconf. It may work, but is not guaranteed to.18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])20To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
23#23#
24# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,24# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.25# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
26# Foundation, Inc.
26# Written by Gordon Matzigkeit, 199627# Written by Gordon Matzigkeit, 1996
27#28#
28# This file is free software; the Free Software Foundation gives29# This file is free software; the Free Software Foundation gives
@@ -31,7 +32,8 @@
3132
32m4_define([_LT_COPYING], [dnl33m4_define([_LT_COPYING], [dnl
33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,34# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.35# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
36# Foundation, Inc.
35# Written by Gordon Matzigkeit, 199637# Written by Gordon Matzigkeit, 1996
36#38#
37# This file is part of GNU Libtool.39# This file is part of GNU Libtool.
@@ -58,7 +60,7 @@
58# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.60# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
59])61])
6062
61# serial 56 LT_INIT63# serial 57 LT_INIT
6264
6365
64# LT_PREREQ(VERSION)66# LT_PREREQ(VERSION)
@@ -165,6 +167,8 @@
165AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl167AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
166AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl168AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
167169
170_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
171dnl
168_LT_DECL([], [host_alias], [0], [The host system])dnl172_LT_DECL([], [host_alias], [0], [The host system])dnl
169_LT_DECL([], [host], [0])dnl173_LT_DECL([], [host], [0])dnl
170_LT_DECL([], [host_os], [0])dnl174_LT_DECL([], [host_os], [0])dnl
@@ -187,10 +191,13 @@
187dnl191dnl
188m4_require([_LT_FILEUTILS_DEFAULTS])dnl192m4_require([_LT_FILEUTILS_DEFAULTS])dnl
189m4_require([_LT_CHECK_SHELL_FEATURES])dnl193m4_require([_LT_CHECK_SHELL_FEATURES])dnl
194m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
190m4_require([_LT_CMD_RELOAD])dnl195m4_require([_LT_CMD_RELOAD])dnl
191m4_require([_LT_CHECK_MAGIC_METHOD])dnl196m4_require([_LT_CHECK_MAGIC_METHOD])dnl
197m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
192m4_require([_LT_CMD_OLD_ARCHIVE])dnl198m4_require([_LT_CMD_OLD_ARCHIVE])dnl
193m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl199m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
200m4_require([_LT_WITH_SYSROOT])dnl
194201
195_LT_CONFIG_LIBTOOL_INIT([202_LT_CONFIG_LIBTOOL_INIT([
196# See if we are running on zsh, and set the options which allow our203# See if we are running on zsh, and set the options which allow our
@@ -647,7 +654,7 @@
647m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])654m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
648configured by $[0], generated by m4_PACKAGE_STRING.655configured by $[0], generated by m4_PACKAGE_STRING.
649656
650Copyright (C) 2009 Free Software Foundation, Inc.657Copyright (C) 2011 Free Software Foundation, Inc.
651This config.lt script is free software; the Free Software Foundation658This config.lt script is free software; the Free Software Foundation
652gives unlimited permision to copy, distribute and modify it."659gives unlimited permision to copy, distribute and modify it."
653660
@@ -761,15 +768,12 @@
761 # if finds mixed CR/LF and LF-only lines. Since sed operates in768 # if finds mixed CR/LF and LF-only lines. Since sed operates in
762 # text mode, it properly converts lines to CR/LF. This bash problem769 # text mode, it properly converts lines to CR/LF. This bash problem
763 # is reportedly fixed, but why not run on old versions too?770 # is reportedly fixed, but why not run on old versions too?
764 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \771 sed '$q' "$ltmain" >> "$cfgfile" \
765 || (rm -f "$cfgfile"; exit 1)772 || (rm -f "$cfgfile"; exit 1)
766773
767 _LT_PROG_XSI_SHELLFNS774 _LT_PROG_REPLACE_SHELLFNS
768775
769 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \776 mv -f "$cfgfile" "$ofile" ||
770 || (rm -f "$cfgfile"; exit 1)
771
772 mv -f "$cfgfile" "$ofile" ||
773 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")777 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
774 chmod +x "$ofile"778 chmod +x "$ofile"
775],779],
@@ -814,6 +818,7 @@
814m4_case([$1],818m4_case([$1],
815 [C], [_LT_LANG(C)],819 [C], [_LT_LANG(C)],
816 [C++], [_LT_LANG(CXX)],820 [C++], [_LT_LANG(CXX)],
821 [Go], [_LT_LANG(GO)],
817 [Java], [_LT_LANG(GCJ)],822 [Java], [_LT_LANG(GCJ)],
818 [Fortran 77], [_LT_LANG(F77)],823 [Fortran 77], [_LT_LANG(F77)],
819 [Fortran], [_LT_LANG(FC)],824 [Fortran], [_LT_LANG(FC)],
@@ -835,6 +840,29 @@
835])# _LT_LANG840])# _LT_LANG
836841
837842
843m4_ifndef([AC_PROG_GO], [
844# NOTE: This macro has been submitted for inclusion into #
845# GNU Autoconf as AC_PROG_GO. When it is available in #
846# a released version of Autoconf we should remove this #
847# macro and use it instead. #
848m4_defun([AC_PROG_GO],
849[AC_LANG_PUSH(Go)dnl
850AC_ARG_VAR([GOC], [Go compiler command])dnl
851AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
852_AC_ARG_VAR_LDFLAGS()dnl
853AC_CHECK_TOOL(GOC, gccgo)
854if test -z "$GOC"; then
855 if test -n "$ac_tool_prefix"; then
856 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
857 fi
858fi
859if test -z "$GOC"; then
860 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
861fi
862])#m4_defun
863])#m4_ifndef
864
865
838# _LT_LANG_DEFAULT_CONFIG866# _LT_LANG_DEFAULT_CONFIG
839# -----------------------867# -----------------------
840m4_defun([_LT_LANG_DEFAULT_CONFIG],868m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -865,6 +893,10 @@
865 m4_ifdef([LT_PROG_GCJ],893 m4_ifdef([LT_PROG_GCJ],
866 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])894 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
867895
896AC_PROVIDE_IFELSE([AC_PROG_GO],
897 [LT_LANG(GO)],
898 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
899
868AC_PROVIDE_IFELSE([LT_PROG_RC],900AC_PROVIDE_IFELSE([LT_PROG_RC],
869 [LT_LANG(RC)],901 [LT_LANG(RC)],
870 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])902 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -967,7 +999,13 @@
967 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \999 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
968 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err1000 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
969 _lt_result=$?1001 _lt_result=$?
970 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then1002 # If there is a non-empty error log, and "single_module"
1003 # appears in it, assume the flag caused a linker warning
1004 if test -s conftest.err && $GREP single_module conftest.err; then
1005 cat conftest.err >&AS_MESSAGE_LOG_FD
1006 # Otherwise, if the output was created with a 0 exit code from
1007 # the compiler, it worked.
1008 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
971 lt_cv_apple_cc_single_mod=yes1009 lt_cv_apple_cc_single_mod=yes
972 else1010 else
973 cat conftest.err >&AS_MESSAGE_LOG_FD1011 cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -975,6 +1013,7 @@
975 rm -rf libconftest.dylib*1013 rm -rf libconftest.dylib*
976 rm -f conftest.*1014 rm -f conftest.*
977 fi])1015 fi])
1016
978 AC_CACHE_CHECK([for -exported_symbols_list linker flag],1017 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
979 [lt_cv_ld_exported_symbols_list],1018 [lt_cv_ld_exported_symbols_list],
980 [lt_cv_ld_exported_symbols_list=no1019 [lt_cv_ld_exported_symbols_list=no
@@ -986,6 +1025,34 @@
986 [lt_cv_ld_exported_symbols_list=no])1025 [lt_cv_ld_exported_symbols_list=no])
987 LDFLAGS="$save_LDFLAGS"1026 LDFLAGS="$save_LDFLAGS"
988 ])1027 ])
1028
1029 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1030 [lt_cv_ld_force_load=no
1031 cat > conftest.c << _LT_EOF
1032int forced_loaded() { return 2;}
1033_LT_EOF
1034 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1035 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1036 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1037 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1038 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1039 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1040 cat > conftest.c << _LT_EOF
1041int main() { return 0;}
1042_LT_EOF
1043 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1044 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1045 _lt_result=$?
1046 if test -s conftest.err && $GREP force_load conftest.err; then
1047 cat conftest.err >&AS_MESSAGE_LOG_FD
1048 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1049 lt_cv_ld_force_load=yes
1050 else
1051 cat conftest.err >&AS_MESSAGE_LOG_FD
1052 fi
1053 rm -f conftest.err libconftest.a conftest conftest.c
1054 rm -rf conftest.dSYM
1055 ])
989 case $host_os in1056 case $host_os in
990 rhapsody* | darwin1.[[012]])1057 rhapsody* | darwin1.[[012]])
991 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;1058 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
@@ -1013,7 +1080,7 @@
1013 else1080 else
1014 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'1081 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1015 fi1082 fi
1016 if test "$DSYMUTIL" != ":"; then1083 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1017 _lt_dsymutil='~$DSYMUTIL $lib || :'1084 _lt_dsymutil='~$DSYMUTIL $lib || :'
1018 else1085 else
1019 _lt_dsymutil=1086 _lt_dsymutil=
@@ -1023,8 +1090,8 @@
1023])1090])
10241091
10251092
1026# _LT_DARWIN_LINKER_FEATURES1093# _LT_DARWIN_LINKER_FEATURES([TAG])
1027# --------------------------1094# ---------------------------------
1028# Checks for linker and compiler features on darwin1095# Checks for linker and compiler features on darwin
1029m4_defun([_LT_DARWIN_LINKER_FEATURES],1096m4_defun([_LT_DARWIN_LINKER_FEATURES],
1030[1097[
@@ -1033,7 +1100,13 @@
1033 _LT_TAGVAR(hardcode_direct, $1)=no1100 _LT_TAGVAR(hardcode_direct, $1)=no
1034 _LT_TAGVAR(hardcode_automatic, $1)=yes1101 _LT_TAGVAR(hardcode_automatic, $1)=yes
1035 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported1102 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1036 _LT_TAGVAR(whole_archive_flag_spec, $1)=''1103 if test "$lt_cv_ld_force_load" = "yes"; then
1104 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1105 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1106 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1107 else
1108 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1109 fi
1037 _LT_TAGVAR(link_all_deplibs, $1)=yes1110 _LT_TAGVAR(link_all_deplibs, $1)=yes
1038 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"1111 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1039 case $cc_basename in1112 case $cc_basename in
@@ -1057,30 +1130,41 @@
1057 fi1130 fi
1058])1131])
10591132
1060# _LT_SYS_MODULE_PATH_AIX1133# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
1061# -----------------------1134# ----------------------------------
1062# Links a minimal program and checks the executable1135# Links a minimal program and checks the executable
1063# for the system default hardcoded library path. In most cases,1136# for the system default hardcoded library path. In most cases,
1064# this is /usr/lib:/lib, but when the MPI compilers are used1137# this is /usr/lib:/lib, but when the MPI compilers are used
1065# the location of the communication and MPI libs are included too.1138# the location of the communication and MPI libs are included too.
1066# If we don't find anything, use the default library path according1139# If we don't find anything, use the default library path according
1067# to the aix ld manual.1140# to the aix ld manual.
1141# Store the results from the different compilers for each TAGNAME.
1142# Allow to override them for all tags through lt_cv_aix_libpath.
1068m4_defun([_LT_SYS_MODULE_PATH_AIX],1143m4_defun([_LT_SYS_MODULE_PATH_AIX],
1069[m4_require([_LT_DECL_SED])dnl1144[m4_require([_LT_DECL_SED])dnl
1070AC_LINK_IFELSE(AC_LANG_PROGRAM,[1145if test "${lt_cv_aix_libpath+set}" = set; then
1071lt_aix_libpath_sed='1146 aix_libpath=$lt_cv_aix_libpath
1072 /Import File Strings/,/^$/ {1147else
1073 /^0/ {1148 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1074 s/^0 *\(.*\)$/\1/1149 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1075 p1150 lt_aix_libpath_sed='[
1076 }1151 /Import File Strings/,/^$/ {
1077 }'1152 /^0/ {
1078aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`1153 s/^0 *\([^ ]*\) *$/\1/
1079# Check for a 64-bit object if we didn't find anything.1154 p
1080if test -z "$aix_libpath"; then1155 }
1081 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`1156 }]'
1082fi],[])1157 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1083if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi1158 # Check for a 64-bit object if we didn't find anything.
1159 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1160 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1161 fi],[])
1162 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1163 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
1164 fi
1165 ])
1166 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1167fi
1084])# _LT_SYS_MODULE_PATH_AIX1168])# _LT_SYS_MODULE_PATH_AIX
10851169
10861170
@@ -1105,7 +1189,7 @@
11051189
1106AC_MSG_CHECKING([how to print strings])1190AC_MSG_CHECKING([how to print strings])
1107# Test print first, because it will be a builtin if present.1191# Test print first, because it will be a builtin if present.
1108if test "X`print -r -- -n 2>/dev/null`" = X-n && \1192if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1109 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then1193 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1110 ECHO='print -r --'1194 ECHO='print -r --'
1111elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then1195elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
@@ -1149,6 +1233,39 @@
1149])# _LT_PROG_ECHO_BACKSLASH1233])# _LT_PROG_ECHO_BACKSLASH
11501234
11511235
1236# _LT_WITH_SYSROOT
1237# ----------------
1238AC_DEFUN([_LT_WITH_SYSROOT],
1239[AC_MSG_CHECKING([for sysroot])
1240AC_ARG_WITH([sysroot],
1241[ --with-sysroot[=DIR] Search for dependent libraries within DIR
1242 (or the compiler's sysroot if not specified).],
1243[], [with_sysroot=no])
1244
1245dnl lt_sysroot will always be passed unquoted. We quote it here
1246dnl in case the user passed a directory name.
1247lt_sysroot=
1248case ${with_sysroot} in #(
1249 yes)
1250 if test "$GCC" = yes; then
1251 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1252 fi
1253 ;; #(
1254 /*)
1255 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1256 ;; #(
1257 no|'')
1258 ;; #(
1259 *)
1260 AC_MSG_RESULT([${with_sysroot}])
1261 AC_MSG_ERROR([The sysroot must be an absolute path.])
1262 ;;
1263esac
1264
1265 AC_MSG_RESULT([${lt_sysroot:-no}])
1266_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1267[dependent libraries, and in which our libraries should be installed.])])
1268
1152# _LT_ENABLE_LOCK1269# _LT_ENABLE_LOCK
1153# ---------------1270# ---------------
1154m4_defun([_LT_ENABLE_LOCK],1271m4_defun([_LT_ENABLE_LOCK],
@@ -1177,7 +1294,7 @@
1177 ;;1294 ;;
1178*-*-irix6*)1295*-*-irix6*)
1179 # Find out which ABI we are using.1296 # Find out which ABI we are using.
1180 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1297 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1181 if AC_TRY_EVAL(ac_compile); then1298 if AC_TRY_EVAL(ac_compile); then
1182 if test "$lt_cv_prog_gnu_ld" = yes; then1299 if test "$lt_cv_prog_gnu_ld" = yes; then
1183 case `/usr/bin/file conftest.$ac_objext` in1300 case `/usr/bin/file conftest.$ac_objext` in
@@ -1270,14 +1387,27 @@
1270 CFLAGS="$SAVE_CFLAGS"1387 CFLAGS="$SAVE_CFLAGS"
1271 fi1388 fi
1272 ;;1389 ;;
1273sparc*-*solaris*)1390*-*solaris*)
1274 # Find out which ABI we are using.1391 # Find out which ABI we are using.
1275 echo 'int i;' > conftest.$ac_ext1392 echo 'int i;' > conftest.$ac_ext
1276 if AC_TRY_EVAL(ac_compile); then1393 if AC_TRY_EVAL(ac_compile); then
1277 case `/usr/bin/file conftest.o` in1394 case `/usr/bin/file conftest.o` in
1278 *64-bit*)1395 *64-bit*)
1279 case $lt_cv_prog_gnu_ld in1396 case $lt_cv_prog_gnu_ld in
1280 yes*) LD="${LD-ld} -m elf64_sparc" ;;1397 yes*)
1398 case $host in
1399 i?86-*-solaris*)
1400 LD="${LD-ld} -m elf_x86_64"
1401 ;;
1402 sparc*-*-solaris*)
1403 LD="${LD-ld} -m elf64_sparc"
1404 ;;
1405 esac
1406 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1407 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1408 LD="${LD-ld}_sol2"
1409 fi
1410 ;;
1281 *)1411 *)
1282 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then1412 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1283 LD="${LD-ld} -64"1413 LD="${LD-ld} -64"
@@ -1295,14 +1425,47 @@
1295])# _LT_ENABLE_LOCK1425])# _LT_ENABLE_LOCK
12961426
12971427
1428# _LT_PROG_AR
1429# -----------
1430m4_defun([_LT_PROG_AR],
1431[AC_CHECK_TOOLS(AR, [ar], false)
1432: ${AR=ar}
1433: ${AR_FLAGS=cru}
1434_LT_DECL([], [AR], [1], [The archiver])
1435_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1436
1437AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1438 [lt_cv_ar_at_file=no
1439 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1440 [echo conftest.$ac_objext > conftest.lst
1441 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1442 AC_TRY_EVAL([lt_ar_try])
1443 if test "$ac_status" -eq 0; then
1444 # Ensure the archiver fails upon bogus file names.
1445 rm -f conftest.$ac_objext libconftest.a
1446 AC_TRY_EVAL([lt_ar_try])
1447 if test "$ac_status" -ne 0; then
1448 lt_cv_ar_at_file=@
1449 fi
1450 fi
1451 rm -f conftest.* libconftest.a
1452 ])
1453 ])
1454
1455if test "x$lt_cv_ar_at_file" = xno; then
1456 archiver_list_spec=
1457else
1458 archiver_list_spec=$lt_cv_ar_at_file
1459fi
1460_LT_DECL([], [archiver_list_spec], [1],
1461 [How to feed a file listing to the archiver])
1462])# _LT_PROG_AR
1463
1464
1298# _LT_CMD_OLD_ARCHIVE1465# _LT_CMD_OLD_ARCHIVE
1299# -------------------1466# -------------------
1300m4_defun([_LT_CMD_OLD_ARCHIVE],1467m4_defun([_LT_CMD_OLD_ARCHIVE],
1301[AC_CHECK_TOOL(AR, ar, false)1468[_LT_PROG_AR
1302test -z "$AR" && AR=ar
1303test -z "$AR_FLAGS" && AR_FLAGS=cru
1304_LT_DECL([], [AR], [1], [The archiver])
1305_LT_DECL([], [AR_FLAGS], [1])
13061469
1307AC_CHECK_TOOL(STRIP, strip, :)1470AC_CHECK_TOOL(STRIP, strip, :)
1308test -z "$STRIP" && STRIP=:1471test -z "$STRIP" && STRIP=:
@@ -1321,13 +1484,13 @@
1321if test -n "$RANLIB"; then1484if test -n "$RANLIB"; then
1322 case $host_os in1485 case $host_os in
1323 openbsd*)1486 openbsd*)
1324 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"1487 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1325 ;;1488 ;;
1326 *)1489 *)
1327 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"1490 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1328 ;;1491 ;;
1329 esac1492 esac
1330 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"1493 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1331fi1494fi
13321495
1333case $host_os in1496case $host_os in
@@ -1366,11 +1529,11 @@
1366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \1529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1367 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \1530 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1368 -e 's:$: $lt_compiler_flag:'`1531 -e 's:$: $lt_compiler_flag:'`
1369 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)1532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1370 (eval "$lt_compile" 2>conftest.err)1533 (eval "$lt_compile" 2>conftest.err)
1371 ac_status=$?1534 ac_status=$?
1372 cat conftest.err >&AS_MESSAGE_LOG_FD1535 cat conftest.err >&AS_MESSAGE_LOG_FD
1373 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD1536 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1374 if (exit $ac_status) && test -s "$ac_outfile"; then1537 if (exit $ac_status) && test -s "$ac_outfile"; then
1375 # The compiler can only warn and ignore the option if not recognized1538 # The compiler can only warn and ignore the option if not recognized
1376 # So say no if there are warnings other than the usual output.1539 # So say no if there are warnings other than the usual output.
@@ -1507,6 +1670,11 @@
1507 lt_cv_sys_max_cmd_len=1966081670 lt_cv_sys_max_cmd_len=196608
1508 ;;1671 ;;
15091672
1673 os2*)
1674 # The test takes a long time on OS/2.
1675 lt_cv_sys_max_cmd_len=8192
1676 ;;
1677
1510 osf*)1678 osf*)
1511 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure1679 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1512 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not1680 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -1546,7 +1714,7 @@
1546 # If test is not a shell built-in, we'll probably end up computing a1714 # If test is not a shell built-in, we'll probably end up computing a
1547 # maximum length that is only half of the actual maximum length, but1715 # maximum length that is only half of the actual maximum length, but
1548 # we can't tell.1716 # we can't tell.
1549 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \1717 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1550 = "X$teststring$teststring"; } >/dev/null 2>&1 &&1718 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1551 test $i != 17 # 1/2 MB should be enough1719 test $i != 17 # 1/2 MB should be enough
1552 do1720 do
@@ -1598,7 +1766,7 @@
1598 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=21766 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1599 lt_status=$lt_dlunknown1767 lt_status=$lt_dlunknown
1600 cat > conftest.$ac_ext <<_LT_EOF1768 cat > conftest.$ac_ext <<_LT_EOF
1601[#line __oline__ "configure"1769[#line $LINENO "configure"
1602#include "confdefs.h"1770#include "confdefs.h"
16031771
1604#if HAVE_DLFCN_H1772#if HAVE_DLFCN_H
@@ -1639,7 +1807,13 @@
1639# endif1807# endif
1640#endif1808#endif
16411809
1642void fnord() { int i=42;}1810/* When -fvisbility=hidden is used, assume the code has been annotated
1811 correspondingly for the symbols needed. */
1812#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1813int fnord () __attribute__((visibility("default")));
1814#endif
1815
1816int fnord () { return 42; }
1643int main ()1817int main ()
1644{1818{
1645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);1819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -1648,7 +1822,11 @@
1648 if (self)1822 if (self)
1649 {1823 {
1650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;1824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1651 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;1825 else
1826 {
1827 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1828 else puts (dlerror ());
1829 }
1652 /* dlclose (self); */1830 /* dlclose (self); */
1653 }1831 }
1654 else1832 else
@@ -1824,11 +2002,11 @@
1824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \2002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1825 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \2003 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1826 -e 's:$: $lt_compiler_flag:'`2004 -e 's:$: $lt_compiler_flag:'`
1827 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)2005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1828 (eval "$lt_compile" 2>out/conftest.err)2006 (eval "$lt_compile" 2>out/conftest.err)
1829 ac_status=$?2007 ac_status=$?
1830 cat out/conftest.err >&AS_MESSAGE_LOG_FD2008 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1831 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD2009 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1832 if (exit $ac_status) && test -s out/conftest2.$ac_objext2010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1833 then2011 then
1834 # The compiler can only warn and ignore the option if not recognized2012 # The compiler can only warn and ignore the option if not recognized
@@ -2082,7 +2260,7 @@
20822260
2083case $host_os in2261case $host_os in
2084aix3*)2262aix3*)
2085 version_type=linux2263 version_type=linux # correct to gnu/linux during the next big refactor
2086 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'2264 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2087 shlibpath_var=LIBPATH2265 shlibpath_var=LIBPATH
20882266
@@ -2091,7 +2269,7 @@
2091 ;;2269 ;;
20922270
2093aix[[4-9]]*)2271aix[[4-9]]*)
2094 version_type=linux2272 version_type=linux # correct to gnu/linux during the next big refactor
2095 need_lib_prefix=no2273 need_lib_prefix=no
2096 need_version=no2274 need_version=no
2097 hardcode_into_libs=yes2275 hardcode_into_libs=yes
@@ -2156,7 +2334,7 @@
2156 ;;2334 ;;
21572335
2158bsdi[[45]]*)2336bsdi[[45]]*)
2159 version_type=linux2337 version_type=linux # correct to gnu/linux during the next big refactor
2160 need_version=no2338 need_version=no
2161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2162 soname_spec='${libname}${release}${shared_ext}$major'2340 soname_spec='${libname}${release}${shared_ext}$major'
@@ -2175,8 +2353,9 @@
2175 need_version=no2353 need_version=no
2176 need_lib_prefix=no2354 need_lib_prefix=no
21772355
2178 case $GCC,$host_os in2356 case $GCC,$cc_basename in
2179 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)2357 yes,*)
2358 # gcc
2180 library_names_spec='$libname.dll.a'2359 library_names_spec='$libname.dll.a'
2181 # DLL is installed to $(libdir)/../bin by postinstall_cmds2360 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2182 postinstall_cmds='base_file=`basename \${file}`~2361 postinstall_cmds='base_file=`basename \${file}`~
@@ -2209,13 +2388,71 @@
2209 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2388 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2210 ;;2389 ;;
2211 esac2390 esac
2391 dynamic_linker='Win32 ld.exe'
2392 ;;
2393
2394 *,cl*)
2395 # Native MSVC
2396 libname_spec='$name'
2397 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2398 library_names_spec='${libname}.dll.lib'
2399
2400 case $build_os in
2401 mingw*)
2402 sys_lib_search_path_spec=
2403 lt_save_ifs=$IFS
2404 IFS=';'
2405 for lt_path in $LIB
2406 do
2407 IFS=$lt_save_ifs
2408 # Let DOS variable expansion print the short 8.3 style file name.
2409 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
2410 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
2411 done
2412 IFS=$lt_save_ifs
2413 # Convert to MSYS style.
2414 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2415 ;;
2416 cygwin*)
2417 # Convert to unix form, then to dos form, then back to unix form
2418 # but this time dos style (no spaces!) so that the unix form looks
2419 # like /cygdrive/c/PROGRA~1:/cygdr...
2420 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2421 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2422 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2423 ;;
2424 *)
2425 sys_lib_search_path_spec="$LIB"
2426 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2427 # It is most probably a Windows format PATH.
2428 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2429 else
2430 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2431 fi
2432 # FIXME: find the short name or the path components, as spaces are
2433 # common. (e.g. "Program Files" -> "PROGRA~1")
2434 ;;
2435 esac
2436
2437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2438 postinstall_cmds='base_file=`basename \${file}`~
2439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
2440 dldir=$destdir/`dirname \$dlpath`~
2441 test -d \$dldir || mkdir -p \$dldir~
2442 $install_prog $dir/$dlname \$dldir/$dlname'
2443 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2444 dlpath=$dir/\$dldll~
2445 $RM \$dlpath'
2446 shlibpath_overrides_runpath=yes
2447 dynamic_linker='Win32 link.exe'
2212 ;;2448 ;;
22132449
2214 *)2450 *)
2451 # Assume MSVC wrapper
2215 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'2452 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2453 dynamic_linker='Win32 ld.exe'
2216 ;;2454 ;;
2217 esac2455 esac
2218 dynamic_linker='Win32 ld.exe'
2219 # FIXME: first we should search . and the directory the executable is in2456 # FIXME: first we should search . and the directory the executable is in
2220 shlibpath_var=PATH2457 shlibpath_var=PATH
2221 ;;2458 ;;
@@ -2236,7 +2473,7 @@
2236 ;;2473 ;;
22372474
2238dgux*)2475dgux*)
2239 version_type=linux2476 version_type=linux # correct to gnu/linux during the next big refactor
2240 need_lib_prefix=no2477 need_lib_prefix=no
2241 need_version=no2478 need_version=no
2242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'2479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -2244,10 +2481,6 @@
2244 shlibpath_var=LD_LIBRARY_PATH2481 shlibpath_var=LD_LIBRARY_PATH
2245 ;;2482 ;;
22462483
2247freebsd1*)
2248 dynamic_linker=no
2249 ;;
2250
2251freebsd* | dragonfly*)2484freebsd* | dragonfly*)
2252 # DragonFly does not have aout. When/if they implement a new2485 # DragonFly does not have aout. When/if they implement a new
2253 # versioning mechanism, adjust this.2486 # versioning mechanism, adjust this.
@@ -2255,7 +2488,7 @@
2255 objformat=`/usr/bin/objformat`2488 objformat=`/usr/bin/objformat`
2256 else2489 else
2257 case $host_os in2490 case $host_os in
2258 freebsd[[123]]*) objformat=aout ;;2491 freebsd[[23]].*) objformat=aout ;;
2259 *) objformat=elf ;;2492 *) objformat=elf ;;
2260 esac2493 esac
2261 fi2494 fi
@@ -2286,7 +2519,7 @@
2286 esac2519 esac
2287 shlibpath_var=LD_LIBRARY_PATH2520 shlibpath_var=LD_LIBRARY_PATH
2288 case $host_os in2521 case $host_os in
2289 freebsd2*)2522 freebsd2.*)
2290 shlibpath_overrides_runpath=yes2523 shlibpath_overrides_runpath=yes
2291 ;;2524 ;;
2292 freebsd3.[[01]]* | freebsdelf3.[[01]]*)2525 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -2306,12 +2539,26 @@
2306 ;;2539 ;;
23072540
2308gnu*)2541gnu*)
2309 version_type=linux2542 version_type=linux # correct to gnu/linux during the next big refactor
2310 need_lib_prefix=no2543 need_lib_prefix=no
2311 need_version=no2544 need_version=no
2312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'2545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2313 soname_spec='${libname}${release}${shared_ext}$major'2546 soname_spec='${libname}${release}${shared_ext}$major'
2314 shlibpath_var=LD_LIBRARY_PATH2547 shlibpath_var=LD_LIBRARY_PATH
2548 shlibpath_overrides_runpath=no
2549 hardcode_into_libs=yes
2550 ;;
2551
2552haiku*)
2553 version_type=linux # correct to gnu/linux during the next big refactor
2554 need_lib_prefix=no
2555 need_version=no
2556 dynamic_linker="$host_os runtime_loader"
2557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2558 soname_spec='${libname}${release}${shared_ext}$major'
2559 shlibpath_var=LIBRARY_PATH
2560 shlibpath_overrides_runpath=yes
2561 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
2315 hardcode_into_libs=yes2562 hardcode_into_libs=yes
2316 ;;2563 ;;
23172564
@@ -2364,7 +2611,7 @@
2364 ;;2611 ;;
23652612
2366interix[[3-9]]*)2613interix[[3-9]]*)
2367 version_type=linux2614 version_type=linux # correct to gnu/linux during the next big refactor
2368 need_lib_prefix=no2615 need_lib_prefix=no
2369 need_version=no2616 need_version=no
2370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'2617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -2380,7 +2627,7 @@
2380 nonstopux*) version_type=nonstopux ;;2627 nonstopux*) version_type=nonstopux ;;
2381 *)2628 *)
2382 if test "$lt_cv_prog_gnu_ld" = yes; then2629 if test "$lt_cv_prog_gnu_ld" = yes; then
2383 version_type=linux2630 version_type=linux # correct to gnu/linux during the next big refactor
2384 else2631 else
2385 version_type=irix2632 version_type=irix
2386 fi ;;2633 fi ;;
@@ -2417,9 +2664,9 @@
2417 dynamic_linker=no2664 dynamic_linker=no
2418 ;;2665 ;;
24192666
2420# This must be Linux ELF.2667# This must be glibc/ELF.
2421linux* | k*bsd*-gnu | kopensolaris*-gnu)2668linux* | k*bsd*-gnu | kopensolaris*-gnu)
2422 version_type=linux2669 version_type=linux # correct to gnu/linux during the next big refactor
2423 need_lib_prefix=no2670 need_lib_prefix=no
2424 need_version=no2671 need_version=no
2425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2482,7 +2729,7 @@
2482 ;;2729 ;;
24832730
2484newsos6)2731newsos6)
2485 version_type=linux2732 version_type=linux # correct to gnu/linux during the next big refactor
2486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2487 shlibpath_var=LD_LIBRARY_PATH2734 shlibpath_var=LD_LIBRARY_PATH
2488 shlibpath_overrides_runpath=yes2735 shlibpath_overrides_runpath=yes
@@ -2551,7 +2798,7 @@
2551 ;;2798 ;;
25522799
2553solaris*)2800solaris*)
2554 version_type=linux2801 version_type=linux # correct to gnu/linux during the next big refactor
2555 need_lib_prefix=no2802 need_lib_prefix=no
2556 need_version=no2803 need_version=no
2557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2576,7 +2823,7 @@
2576 ;;2823 ;;
25772824
2578sysv4 | sysv4.3*)2825sysv4 | sysv4.3*)
2579 version_type=linux2826 version_type=linux # correct to gnu/linux during the next big refactor
2580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2581 soname_spec='${libname}${release}${shared_ext}$major'2828 soname_spec='${libname}${release}${shared_ext}$major'
2582 shlibpath_var=LD_LIBRARY_PATH2829 shlibpath_var=LD_LIBRARY_PATH
@@ -2600,7 +2847,7 @@
26002847
2601sysv4*MP*)2848sysv4*MP*)
2602 if test -d /usr/nec ;then2849 if test -d /usr/nec ;then
2603 version_type=linux2850 version_type=linux # correct to gnu/linux during the next big refactor
2604 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'2851 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2605 soname_spec='$libname${shared_ext}.$major'2852 soname_spec='$libname${shared_ext}.$major'
2606 shlibpath_var=LD_LIBRARY_PATH2853 shlibpath_var=LD_LIBRARY_PATH
@@ -2631,7 +2878,7 @@
26312878
2632tpf*)2879tpf*)
2633 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.2880 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
2634 version_type=linux2881 version_type=linux # correct to gnu/linux during the next big refactor
2635 need_lib_prefix=no2882 need_lib_prefix=no
2636 need_version=no2883 need_version=no
2637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2641,7 +2888,7 @@
2641 ;;2888 ;;
26422889
2643uts4*)2890uts4*)
2644 version_type=linux2891 version_type=linux # correct to gnu/linux during the next big refactor
2645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2646 soname_spec='${libname}${release}${shared_ext}$major'2893 soname_spec='${libname}${release}${shared_ext}$major'
2647 shlibpath_var=LD_LIBRARY_PATH2894 shlibpath_var=LD_LIBRARY_PATH
@@ -2919,6 +3166,11 @@
2919esac3166esac
2920reload_cmds='$LD$reload_flag -o $output$reload_objs'3167reload_cmds='$LD$reload_flag -o $output$reload_objs'
2921case $host_os in3168case $host_os in
3169 cygwin* | mingw* | pw32* | cegcc*)
3170 if test "$GCC" != yes; then
3171 reload_cmds=false
3172 fi
3173 ;;
2922 darwin*)3174 darwin*)
2923 if test "$GCC" = yes; then3175 if test "$GCC" = yes; then
2924 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'3176 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -2980,11 +3232,13 @@
2980 # Base MSYS/MinGW do not provide the 'file' command needed by3232 # Base MSYS/MinGW do not provide the 'file' command needed by
2981 # func_win32_libid shell function, so use a weaker test based on 'objdump',3233 # func_win32_libid shell function, so use a weaker test based on 'objdump',
2982 # unless we find 'file', for example because we are cross-compiling.3234 # unless we find 'file', for example because we are cross-compiling.
2983 if ( file / ) >/dev/null 2>&1; then3235 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
3236 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
2984 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'3237 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2985 lt_cv_file_magic_cmd='func_win32_libid'3238 lt_cv_file_magic_cmd='func_win32_libid'
2986 else3239 else
2987 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'3240 # Keep this pattern in sync with the one in func_win32_libid.
3241 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
2988 lt_cv_file_magic_cmd='$OBJDUMP -f'3242 lt_cv_file_magic_cmd='$OBJDUMP -f'
2989 fi3243 fi
2990 ;;3244 ;;
@@ -3019,6 +3273,10 @@
3019 lt_cv_deplibs_check_method=pass_all3273 lt_cv_deplibs_check_method=pass_all
3020 ;;3274 ;;
30213275
3276haiku*)
3277 lt_cv_deplibs_check_method=pass_all
3278 ;;
3279
3022hpux10.20* | hpux11*)3280hpux10.20* | hpux11*)
3023 lt_cv_file_magic_cmd=/usr/bin/file3281 lt_cv_file_magic_cmd=/usr/bin/file
3024 case $host_cpu in3282 case $host_cpu in
@@ -3052,7 +3310,7 @@
3052 lt_cv_deplibs_check_method=pass_all3310 lt_cv_deplibs_check_method=pass_all
3053 ;;3311 ;;
30543312
3055# This must be Linux ELF.3313# This must be glibc/ELF.
3056linux* | k*bsd*-gnu | kopensolaris*-gnu)3314linux* | k*bsd*-gnu | kopensolaris*-gnu)
3057 lt_cv_deplibs_check_method=pass_all3315 lt_cv_deplibs_check_method=pass_all
3058 ;;3316 ;;
@@ -3131,6 +3389,21 @@
3131 ;;3389 ;;
3132esac3390esac
3133])3391])
3392
3393file_magic_glob=
3394want_nocaseglob=no
3395if test "$build" = "$host"; then
3396 case $host_os in
3397 mingw* | pw32*)
3398 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
3399 want_nocaseglob=yes
3400 else
3401 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
3402 fi
3403 ;;
3404 esac
3405fi
3406
3134file_magic_cmd=$lt_cv_file_magic_cmd3407file_magic_cmd=$lt_cv_file_magic_cmd
3135deplibs_check_method=$lt_cv_deplibs_check_method3408deplibs_check_method=$lt_cv_deplibs_check_method
3136test -z "$deplibs_check_method" && deplibs_check_method=unknown3409test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -3138,7 +3411,11 @@
3138_LT_DECL([], [deplibs_check_method], [1],3411_LT_DECL([], [deplibs_check_method], [1],
3139 [Method to check whether dependent libraries are shared objects])3412 [Method to check whether dependent libraries are shared objects])
3140_LT_DECL([], [file_magic_cmd], [1],3413_LT_DECL([], [file_magic_cmd], [1],
3141 [Command to use when deplibs_check_method == "file_magic"])3414 [Command to use when deplibs_check_method = "file_magic"])
3415_LT_DECL([], [file_magic_glob], [1],
3416 [How to find potential files when deplibs_check_method = "file_magic"])
3417_LT_DECL([], [want_nocaseglob], [1],
3418 [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
3142])# _LT_CHECK_MAGIC_METHOD3419])# _LT_CHECK_MAGIC_METHOD
31433420
31443421
@@ -3220,13 +3497,13 @@
3220AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],3497AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3221 [lt_cv_nm_interface="BSD nm"3498 [lt_cv_nm_interface="BSD nm"
3222 echo "int some_variable = 0;" > conftest.$ac_ext3499 echo "int some_variable = 0;" > conftest.$ac_ext
3223 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)3500 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3224 (eval "$ac_compile" 2>conftest.err)3501 (eval "$ac_compile" 2>conftest.err)
3225 cat conftest.err >&AS_MESSAGE_LOG_FD3502 cat conftest.err >&AS_MESSAGE_LOG_FD
3226 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)3503 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3227 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)3504 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3228 cat conftest.err >&AS_MESSAGE_LOG_FD3505 cat conftest.err >&AS_MESSAGE_LOG_FD
3229 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)3506 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3230 cat conftest.out >&AS_MESSAGE_LOG_FD3507 cat conftest.out >&AS_MESSAGE_LOG_FD
3231 if $GREP 'External.*some_variable' conftest.out > /dev/null; then3508 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3232 lt_cv_nm_interface="MS dumpbin"3509 lt_cv_nm_interface="MS dumpbin"
@@ -3241,6 +3518,67 @@
3241dnl AC_DEFUN([AM_PROG_NM], [])3518dnl AC_DEFUN([AM_PROG_NM], [])
3242dnl AC_DEFUN([AC_PROG_NM], [])3519dnl AC_DEFUN([AC_PROG_NM], [])
32433520
3521# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3522# --------------------------------
3523# how to determine the name of the shared library
3524# associated with a specific link library.
3525# -- PORTME fill in with the dynamic library characteristics
3526m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
3527[m4_require([_LT_DECL_EGREP])
3528m4_require([_LT_DECL_OBJDUMP])
3529m4_require([_LT_DECL_DLLTOOL])
3530AC_CACHE_CHECK([how to associate runtime and link libraries],
3531lt_cv_sharedlib_from_linklib_cmd,
3532[lt_cv_sharedlib_from_linklib_cmd='unknown'
3533
3534case $host_os in
3535cygwin* | mingw* | pw32* | cegcc*)
3536 # two different shell functions defined in ltmain.sh
3537 # decide which to use based on capabilities of $DLLTOOL
3538 case `$DLLTOOL --help 2>&1` in
3539 *--identify-strict*)
3540 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
3541 ;;
3542 *)
3543 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
3544 ;;
3545 esac
3546 ;;
3547*)
3548 # fallback: assume linklib IS sharedlib
3549 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
3550 ;;
3551esac
3552])
3553sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
3554test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3555
3556_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
3557 [Command to associate shared and link libraries])
3558])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3559
3560
3561# _LT_PATH_MANIFEST_TOOL
3562# ----------------------
3563# locate the manifest tool
3564m4_defun([_LT_PATH_MANIFEST_TOOL],
3565[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
3566test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3567AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
3568 [lt_cv_path_mainfest_tool=no
3569 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3570 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3571 cat conftest.err >&AS_MESSAGE_LOG_FD
3572 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
3573 lt_cv_path_mainfest_tool=yes
3574 fi
3575 rm -f conftest*])
3576if test "x$lt_cv_path_mainfest_tool" != xyes; then
3577 MANIFEST_TOOL=:
3578fi
3579_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
3580])# _LT_PATH_MANIFEST_TOOL
3581
32443582
3245# LT_LIB_M3583# LT_LIB_M
3246# --------3584# --------
@@ -3249,7 +3587,7 @@
3249[AC_REQUIRE([AC_CANONICAL_HOST])dnl3587[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3250LIBM=3588LIBM=
3251case $host in3589case $host in
3252*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)3590*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3253 # These system don't have libm, or don't need it3591 # These system don't have libm, or don't need it
3254 ;;3592 ;;
3255*-ncr-sysv4.3*)3593*-ncr-sysv4.3*)
@@ -3277,7 +3615,12 @@
3277_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=3615_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
32783616
3279if test "$GCC" = yes; then3617if test "$GCC" = yes; then
3280 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'3618 case $cc_basename in
3619 nvcc*)
3620 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3621 *)
3622 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3623 esac
32813624
3282 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],3625 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3283 lt_cv_prog_compiler_rtti_exceptions,3626 lt_cv_prog_compiler_rtti_exceptions,
@@ -3362,8 +3705,8 @@
3362lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"3705lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
33633706
3364# Transform an extracted symbol line into symbol name and symbol address3707# Transform an extracted symbol line into symbol name and symbol address
3365lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"3708lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
3366lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"3709lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
33673710
3368# Handle CRLF in mingw tool chain3711# Handle CRLF in mingw tool chain
3369opt_cr=3712opt_cr=
@@ -3387,6 +3730,7 @@
3387 # which start with @ or ?.3730 # which start with @ or ?.
3388 lt_cv_sys_global_symbol_pipe="$AWK ['"\3731 lt_cv_sys_global_symbol_pipe="$AWK ['"\
3389" {last_section=section; section=\$ 3};"\3732" {last_section=section; section=\$ 3};"\
3733" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3390" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\3734" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3391" \$ 0!~/External *\|/{next};"\3735" \$ 0!~/External *\|/{next};"\
3392" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\3736" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -3399,6 +3743,7 @@
3399 else3743 else
3400 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"3744 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3401 fi3745 fi
3746 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
34023747
3403 # Check to see that the pipe works correctly.3748 # Check to see that the pipe works correctly.
3404 pipe_works=no3749 pipe_works=no
@@ -3432,6 +3777,18 @@
3432 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then3777 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
3433 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then3778 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
3434 cat <<_LT_EOF > conftest.$ac_ext3779 cat <<_LT_EOF > conftest.$ac_ext
3780/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
3781#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
3782/* DATA imports from DLLs on WIN32 con't be const, because runtime
3783 relocations are performed -- see ld's documentation on pseudo-relocs. */
3784# define LT@&t@_DLSYM_CONST
3785#elif defined(__osf__)
3786/* This system does not cope well with relocations in const data. */
3787# define LT@&t@_DLSYM_CONST
3788#else
3789# define LT@&t@_DLSYM_CONST const
3790#endif
3791
3435#ifdef __cplusplus3792#ifdef __cplusplus
3436extern "C" {3793extern "C" {
3437#endif3794#endif
@@ -3443,7 +3800,7 @@
3443 cat <<_LT_EOF >> conftest.$ac_ext3800 cat <<_LT_EOF >> conftest.$ac_ext
34443801
3445/* The mapping between symbol names and symbols. */3802/* The mapping between symbol names and symbols. */
3446const struct {3803LT@&t@_DLSYM_CONST struct {
3447 const char *name;3804 const char *name;
3448 void *address;3805 void *address;
3449}3806}
@@ -3469,15 +3826,15 @@
3469_LT_EOF3826_LT_EOF
3470 # Now try linking the two files.3827 # Now try linking the two files.
3471 mv conftest.$ac_objext conftstm.$ac_objext3828 mv conftest.$ac_objext conftstm.$ac_objext
3472 lt_save_LIBS="$LIBS"3829 lt_globsym_save_LIBS=$LIBS
3473 lt_save_CFLAGS="$CFLAGS"3830 lt_globsym_save_CFLAGS=$CFLAGS
3474 LIBS="conftstm.$ac_objext"3831 LIBS="conftstm.$ac_objext"
3475 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"3832 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
3476 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then3833 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
3477 pipe_works=yes3834 pipe_works=yes
3478 fi3835 fi
3479 LIBS="$lt_save_LIBS"3836 LIBS=$lt_globsym_save_LIBS
3480 CFLAGS="$lt_save_CFLAGS"3837 CFLAGS=$lt_globsym_save_CFLAGS
3481 else3838 else
3482 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD3839 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3483 fi3840 fi
@@ -3510,6 +3867,13 @@
3510 AC_MSG_RESULT(ok)3867 AC_MSG_RESULT(ok)
3511fi3868fi
35123869
3870# Response file support.
3871if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3872 nm_file_list_spec='@'
3873elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
3874 nm_file_list_spec='@'
3875fi
3876
3513_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],3877_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
3514 [Take the output of nm and produce a listing of raw symbols and C names])3878 [Take the output of nm and produce a listing of raw symbols and C names])
3515_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],3879_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
@@ -3520,6 +3884,8 @@
3520_LT_DECL([global_symbol_to_c_name_address_lib_prefix],3884_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
3521 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],3885 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
3522 [Transform the output of nm in a C name address pair when lib prefix is needed])3886 [Transform the output of nm in a C name address pair when lib prefix is needed])
3887_LT_DECL([], [nm_file_list_spec], [1],
3888 [Specify filename containing input files for $NM])
3523]) # _LT_CMD_GLOBAL_SYMBOLS3889]) # _LT_CMD_GLOBAL_SYMBOLS
35243890
35253891
@@ -3531,7 +3897,6 @@
3531_LT_TAGVAR(lt_prog_compiler_pic, $1)=3897_LT_TAGVAR(lt_prog_compiler_pic, $1)=
3532_LT_TAGVAR(lt_prog_compiler_static, $1)=3898_LT_TAGVAR(lt_prog_compiler_static, $1)=
35333899
3534AC_MSG_CHECKING([for $compiler option to produce PIC])
3535m4_if([$1], [CXX], [3900m4_if([$1], [CXX], [
3536 # C++ specific cases for pic, static, wl, etc.3901 # C++ specific cases for pic, static, wl, etc.
3537 if test "$GXX" = yes; then3902 if test "$GXX" = yes; then
@@ -3582,6 +3947,11 @@
3582 # DJGPP does not support shared libraries at all3947 # DJGPP does not support shared libraries at all
3583 _LT_TAGVAR(lt_prog_compiler_pic, $1)=3948 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3584 ;;3949 ;;
3950 haiku*)
3951 # PIC is the default for Haiku.
3952 # The "-static" flag exists, but is broken.
3953 _LT_TAGVAR(lt_prog_compiler_static, $1)=
3954 ;;
3585 interix[[3-9]]*)3955 interix[[3-9]]*)
3586 # Interix 3.x gcc -fpic/-fPIC options generate broken code.3956 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3587 # Instead, we relocate shared libraries at runtime.3957 # Instead, we relocate shared libraries at runtime.
@@ -3631,6 +4001,12 @@
3631 ;;4001 ;;
3632 esac4002 esac
3633 ;;4003 ;;
4004 mingw* | cygwin* | os2* | pw32* | cegcc*)
4005 # This hack is so that the source file can tell whether it is being
4006 # built for inclusion in a dll (and should export symbols for example).
4007 m4_if([$1], [GCJ], [],
4008 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4009 ;;
3634 dgux*)4010 dgux*)
3635 case $cc_basename in4011 case $cc_basename in
3636 ec++*)4012 ec++*)
@@ -3783,7 +4159,7 @@
3783 ;;4159 ;;
3784 solaris*)4160 solaris*)
3785 case $cc_basename in4161 case $cc_basename in
3786 CC*)4162 CC* | sunCC*)
3787 # Sun C++ 4.2, 5.x and Centerline C++4163 # Sun C++ 4.2, 5.x and Centerline C++
3788 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4164 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3789 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4165 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -3887,6 +4263,12 @@
3887 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'4263 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3888 ;;4264 ;;
38894265
4266 haiku*)
4267 # PIC is the default for Haiku.
4268 # The "-static" flag exists, but is broken.
4269 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4270 ;;
4271
3890 hpux*)4272 hpux*)
3891 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit4273 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
3892 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag4274 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
@@ -3929,6 +4311,15 @@
3929 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'4311 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3930 ;;4312 ;;
3931 esac4313 esac
4314
4315 case $cc_basename in
4316 nvcc*) # Cuda Compiler Driver 2.2
4317 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4318 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4319 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4320 fi
4321 ;;
4322 esac
3932 else4323 else
3933 # PORTME Check for flag to pass linker flags through the system compiler.4324 # PORTME Check for flag to pass linker flags through the system compiler.
3934 case $host_os in4325 case $host_os in
@@ -3992,7 +4383,13 @@
3992 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'4383 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
3993 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'4384 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
3994 ;;4385 ;;
3995 pgcc* | pgf77* | pgf90* | pgf95*)4386 nagfor*)
4387 # NAG Fortran compiler
4388 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4389 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4390 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4391 ;;
4392 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
3996 # Portland Group compilers (*not* the Pentium gcc compiler,4393 # Portland Group compilers (*not* the Pentium gcc compiler,
3997 # which looks to be a dead project)4394 # which looks to be a dead project)
3998 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4395 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -4012,18 +4409,33 @@
4012 ;;4409 ;;
4013 *)4410 *)
4014 case `$CC -V 2>&1 | sed 5q` in4411 case `$CC -V 2>&1 | sed 5q` in
4015 *Sun\ F* | *Sun*Fortran*)4412 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4016 # Sun Fortran 8.3 passes all unrecognized flags to the linker4413 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4017 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4414 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4018 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4415 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4019 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''4416 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4020 ;;4417 ;;
4418 *Sun\ F* | *Sun*Fortran*)
4419 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4420 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4421 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4422 ;;
4021 *Sun\ C*)4423 *Sun\ C*)
4022 # Sun C 5.94424 # Sun C 5.9
4023 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4425 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4024 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4426 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4025 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4427 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4026 ;;4428 ;;
4429 *Intel*\ [[CF]]*Compiler*)
4430 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4431 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4432 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4433 ;;
4434 *Portland\ Group*)
4435 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4436 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4437 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4438 ;;
4027 esac4439 esac
4028 ;;4440 ;;
4029 esac4441 esac
@@ -4054,7 +4466,7 @@
4054 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4466 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4055 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4467 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4056 case $cc_basename in4468 case $cc_basename in
4057 f77* | f90* | f95*)4469 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
4058 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;4470 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4059 *)4471 *)
4060 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;4472 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
@@ -4111,9 +4523,11 @@
4111 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"4523 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
4112 ;;4524 ;;
4113esac4525esac
4114AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])4526
4115_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],4527AC_CACHE_CHECK([for $compiler option to produce PIC],
4116 [How to pass a linker flag through the compiler])4528 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
4529 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4530_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
41174531
4118#4532#
4119# Check to make sure the PIC flag actually works.4533# Check to make sure the PIC flag actually works.
@@ -4132,6 +4546,8 @@
4132_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],4546_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4133 [Additional compiler flags for building library objects])4547 [Additional compiler flags for building library objects])
41344548
4549_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4550 [How to pass a linker flag through the compiler])
4135#4551#
4136# Check to make sure the static flag actually works.4552# Check to make sure the static flag actually works.
4137#4553#
@@ -4152,6 +4568,7 @@
4152m4_defun([_LT_LINKER_SHLIBS],4568m4_defun([_LT_LINKER_SHLIBS],
4153[AC_REQUIRE([LT_PATH_LD])dnl4569[AC_REQUIRE([LT_PATH_LD])dnl
4154AC_REQUIRE([LT_PATH_NM])dnl4570AC_REQUIRE([LT_PATH_NM])dnl
4571m4_require([_LT_PATH_MANIFEST_TOOL])dnl
4155m4_require([_LT_FILEUTILS_DEFAULTS])dnl4572m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4156m4_require([_LT_DECL_EGREP])dnl4573m4_require([_LT_DECL_EGREP])dnl
4157m4_require([_LT_DECL_SED])dnl4574m4_require([_LT_DECL_SED])dnl
@@ -4160,6 +4577,7 @@
4160AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])4577AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4161m4_if([$1], [CXX], [4578m4_if([$1], [CXX], [
4162 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'4579 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4580 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4163 case $host_os in4581 case $host_os in
4164 aix[[4-9]]*)4582 aix[[4-9]]*)
4165 # If we're using GNU nm, then we don't want the "-C" option.4583 # If we're using GNU nm, then we don't want the "-C" option.
@@ -4174,15 +4592,22 @@
4174 ;;4592 ;;
4175 pw32*)4593 pw32*)
4176 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"4594 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4177 ;;4595 ;;
4178 cygwin* | mingw* | cegcc*)4596 cygwin* | mingw* | cegcc*)
4179 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'4597 case $cc_basename in
4180 ;;4598 cl*)
4599 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4600 ;;
4601 *)
4602 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4603 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4604 ;;
4605 esac
4606 ;;
4181 *)4607 *)
4182 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'4608 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4183 ;;4609 ;;
4184 esac4610 esac
4185 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4186], [4611], [
4187 runpath_var=4612 runpath_var=
4188 _LT_TAGVAR(allow_undefined_flag, $1)=4613 _LT_TAGVAR(allow_undefined_flag, $1)=
@@ -4197,7 +4622,6 @@
4197 _LT_TAGVAR(hardcode_direct, $1)=no4622 _LT_TAGVAR(hardcode_direct, $1)=no
4198 _LT_TAGVAR(hardcode_direct_absolute, $1)=no4623 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4199 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=4624 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4200 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4201 _LT_TAGVAR(hardcode_libdir_separator, $1)=4625 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4202 _LT_TAGVAR(hardcode_minus_L, $1)=no4626 _LT_TAGVAR(hardcode_minus_L, $1)=no
4203 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported4627 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -4289,6 +4713,7 @@
4289 fi4713 fi
4290 supports_anon_versioning=no4714 supports_anon_versioning=no
4291 case `$LD -v 2>&1` in4715 case `$LD -v 2>&1` in
4716 *GNU\ gold*) supports_anon_versioning=yes ;;
4292 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.114717 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4293 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...4718 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4294 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...4719 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
@@ -4349,7 +4774,8 @@
4349 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported4774 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4350 _LT_TAGVAR(always_export_symbols, $1)=no4775 _LT_TAGVAR(always_export_symbols, $1)=no
4351 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes4776 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4352 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'4777 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4778 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
43534779
4354 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then4780 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
4355 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'4781 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -4367,6 +4793,11 @@
4367 fi4793 fi
4368 ;;4794 ;;
43694795
4796 haiku*)
4797 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4798 _LT_TAGVAR(link_all_deplibs, $1)=yes
4799 ;;
4800
4370 interix[[3-9]]*)4801 interix[[3-9]]*)
4371 _LT_TAGVAR(hardcode_direct, $1)=no4802 _LT_TAGVAR(hardcode_direct, $1)=no
4372 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no4803 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4392,14 +4823,15 @@
4392 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \4823 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
4393 && test "$tmp_diet" = no4824 && test "$tmp_diet" = no
4394 then4825 then
4395 tmp_addflag=4826 tmp_addflag=' $pic_flag'
4396 tmp_sharedflag='-shared'4827 tmp_sharedflag='-shared'
4397 case $cc_basename,$host_cpu in4828 case $cc_basename,$host_cpu in
4398 pgcc*) # Portland Group C compiler4829 pgcc*) # Portland Group C compiler
4399 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'4830 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4400 tmp_addflag=' $pic_flag'4831 tmp_addflag=' $pic_flag'
4401 ;;4832 ;;
4402 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers4833 pgf77* | pgf90* | pgf95* | pgfortran*)
4834 # Portland Group f77 and f90 compilers
4403 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'4835 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4404 tmp_addflag=' $pic_flag -Mnomain' ;;4836 tmp_addflag=' $pic_flag -Mnomain' ;;
4405 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia644837 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
@@ -4414,6 +4846,10 @@
4414 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)4846 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
4415 tmp_sharedflag='-qmkshrobj'4847 tmp_sharedflag='-qmkshrobj'
4416 tmp_addflag= ;;4848 tmp_addflag= ;;
4849 nvcc*) # Cuda Compiler Driver 2.2
4850 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4851 _LT_TAGVAR(compiler_needs_object, $1)=yes
4852 ;;
4417 esac4853 esac
4418 case `$CC -V 2>&1 | sed 5q` in4854 case `$CC -V 2>&1 | sed 5q` in
4419 *Sun\ C*) # Sun C 5.94855 *Sun\ C*) # Sun C 5.9
@@ -4436,14 +4872,13 @@
4436 xlf* | bgf* | bgxlf* | mpixlf*)4872 xlf* | bgf* | bgxlf* | mpixlf*)
4437 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself4873 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4438 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'4874 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4439 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=4875 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4440 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'4876 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4441 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
4442 if test "x$supports_anon_versioning" = xyes; then4877 if test "x$supports_anon_versioning" = xyes; then
4443 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~4878 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4444 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~4879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4445 echo "local: *; };" >> $output_objdir/$libname.ver~4880 echo "local: *; };" >> $output_objdir/$libname.ver~
4446 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'4881 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4447 fi4882 fi
4448 ;;4883 ;;
4449 esac4884 esac
@@ -4457,8 +4892,8 @@
4457 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'4892 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4458 wlarc=4893 wlarc=
4459 else4894 else
4460 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'4895 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4461 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'4896 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4462 fi4897 fi
4463 ;;4898 ;;
44644899
@@ -4476,8 +4911,8 @@
44764911
4477_LT_EOF4912_LT_EOF
4478 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then4913 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4479 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'4914 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4480 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'4915 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4481 else4916 else
4482 _LT_TAGVAR(ld_shlibs, $1)=no4917 _LT_TAGVAR(ld_shlibs, $1)=no
4483 fi4918 fi
@@ -4523,8 +4958,8 @@
45234958
4524 *)4959 *)
4525 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then4960 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4526 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'4961 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4527 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'4962 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4528 else4963 else
4529 _LT_TAGVAR(ld_shlibs, $1)=no4964 _LT_TAGVAR(ld_shlibs, $1)=no
4530 fi4965 fi
@@ -4654,7 +5089,7 @@
4654 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'5089 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
4655 # Determine the default libpath from the value encoded in an5090 # Determine the default libpath from the value encoded in an
4656 # empty executable.5091 # empty executable.
4657 _LT_SYS_MODULE_PATH_AIX5092 _LT_SYS_MODULE_PATH_AIX([$1])
4658 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"5093 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4659 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"5094 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
4660 else5095 else
@@ -4665,7 +5100,7 @@
4665 else5100 else
4666 # Determine the default libpath from the value encoded in an5101 # Determine the default libpath from the value encoded in an
4667 # empty executable.5102 # empty executable.
4668 _LT_SYS_MODULE_PATH_AIX5103 _LT_SYS_MODULE_PATH_AIX([$1])
4669 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"5104 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4670 # Warning - without using the other run time loading flags,5105 # Warning - without using the other run time loading flags,
4671 # -berok will link without error, but may produce a broken library.5106 # -berok will link without error, but may produce a broken library.
@@ -4709,20 +5144,64 @@
4709 # Microsoft Visual C++.5144 # Microsoft Visual C++.
4710 # hardcode_libdir_flag_spec is actually meaningless, as there is5145 # hardcode_libdir_flag_spec is actually meaningless, as there is
4711 # no search path for DLLs.5146 # no search path for DLLs.
4712 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '5147 case $cc_basename in
4713 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported5148 cl*)
4714 # Tell ltmain to make .lib files, not .a files.5149 # Native MSVC
4715 libext=lib5150 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
4716 # Tell ltmain to make .dll files, not .so files.5151 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4717 shrext_cmds=".dll"5152 _LT_TAGVAR(always_export_symbols, $1)=yes
4718 # FIXME: Setting linknames here is a bad hack.5153 _LT_TAGVAR(file_list_spec, $1)='@'
4719 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='5154 # Tell ltmain to make .lib files, not .a files.
4720 # The linker will automatically build a .lib file if we build a DLL.5155 libext=lib
4721 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'5156 # Tell ltmain to make .dll files, not .so files.
4722 # FIXME: Should let the user specify the lib program.5157 shrext_cmds=".dll"
4723 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'5158 # FIXME: Setting linknames here is a bad hack.
4724 _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'5159 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
4725 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes5160 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5161 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
5162 else
5163 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
5164 fi~
5165 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
5166 linknames='
5167 # The linker will not automatically build a static lib if we build a DLL.
5168 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5169 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5170 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5171 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5172 # Don't use ranlib
5173 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5174 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5175 lt_tool_outputfile="@TOOL_OUTPUT@"~
5176 case $lt_outputfile in
5177 *.exe|*.EXE) ;;
5178 *)
5179 lt_outputfile="$lt_outputfile.exe"
5180 lt_tool_outputfile="$lt_tool_outputfile.exe"
5181 ;;
5182 esac~
5183 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
5184 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
5185 $RM "$lt_outputfile.manifest";
5186 fi'
5187 ;;
5188 *)
5189 # Assume MSVC wrapper
5190 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5191 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5192 # Tell ltmain to make .lib files, not .a files.
5193 libext=lib
5194 # Tell ltmain to make .dll files, not .so files.
5195 shrext_cmds=".dll"
5196 # FIXME: Setting linknames here is a bad hack.
5197 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
5198 # The linker will automatically build a .lib file if we build a DLL.
5199 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5200 # FIXME: Should let the user specify the lib program.
5201 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5202 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5203 ;;
5204 esac
4726 ;;5205 ;;
47275206
4728 darwin* | rhapsody*)5207 darwin* | rhapsody*)
@@ -4735,10 +5214,6 @@
4735 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no5214 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4736 ;;5215 ;;
47375216
4738 freebsd1*)
4739 _LT_TAGVAR(ld_shlibs, $1)=no
4740 ;;
4741
4742 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor5217 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4743 # support. Future versions do this automatically, but an explicit c++rt0.o5218 # support. Future versions do this automatically, but an explicit c++rt0.o
4744 # does not break anything, and helps significantly (at the cost of a little5219 # does not break anything, and helps significantly (at the cost of a little
@@ -4751,7 +5226,7 @@
4751 ;;5226 ;;
47525227
4753 # Unfortunately, older versions of FreeBSD 2 do not have this feature.5228 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4754 freebsd2*)5229 freebsd2.*)
4755 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'5230 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4756 _LT_TAGVAR(hardcode_direct, $1)=yes5231 _LT_TAGVAR(hardcode_direct, $1)=yes
4757 _LT_TAGVAR(hardcode_minus_L, $1)=yes5232 _LT_TAGVAR(hardcode_minus_L, $1)=yes
@@ -4760,7 +5235,7 @@
47605235
4761 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.5236 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4762 freebsd* | dragonfly*)5237 freebsd* | dragonfly*)
4763 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'5238 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4764 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'5239 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4765 _LT_TAGVAR(hardcode_direct, $1)=yes5240 _LT_TAGVAR(hardcode_direct, $1)=yes
4766 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no5241 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4768,7 +5243,7 @@
47685243
4769 hpux9*)5244 hpux9*)
4770 if test "$GCC" = yes; then5245 if test "$GCC" = yes; then
4771 _LT_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'5246 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4772 else5247 else
4773 _LT_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'5248 _LT_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'
4774 fi5249 fi
@@ -4784,13 +5259,12 @@
47845259
4785 hpux10*)5260 hpux10*)
4786 if test "$GCC" = yes && test "$with_gnu_ld" = no; then5261 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
4787 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'5262 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4788 else5263 else
4789 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'5264 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
4790 fi5265 fi
4791 if test "$with_gnu_ld" = no; then5266 if test "$with_gnu_ld" = no; then
4792 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'5267 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4793 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4794 _LT_TAGVAR(hardcode_libdir_separator, $1)=:5268 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4795 _LT_TAGVAR(hardcode_direct, $1)=yes5269 _LT_TAGVAR(hardcode_direct, $1)=yes
4796 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes5270 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -4808,10 +5282,10 @@
4808 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'5282 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4809 ;;5283 ;;
4810 ia64*)5284 ia64*)
4811 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'5285 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4812 ;;5286 ;;
4813 *)5287 *)
4814 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'5288 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4815 ;;5289 ;;
4816 esac5290 esac
4817 else5291 else
@@ -4858,16 +5332,31 @@
48585332
4859 irix5* | irix6* | nonstopux*)5333 irix5* | irix6* | nonstopux*)
4860 if test "$GCC" = yes; then5334 if test "$GCC" = yes; then
4861 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'5335 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4862 # Try to use the -exported_symbol ld option, if it does not5336 # Try to use the -exported_symbol ld option, if it does not
4863 # work, assume that -exports_file does not work either and5337 # work, assume that -exports_file does not work either and
4864 # implicitly export all symbols.5338 # implicitly export all symbols.
4865 save_LDFLAGS="$LDFLAGS"5339 # This should be the same for all languages, so no per-tag cache variable.
4866 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"5340 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
4867 AC_LINK_IFELSE(int foo(void) {},5341 [lt_cv_irix_exported_symbol],
4868 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'5342 [save_LDFLAGS="$LDFLAGS"
4869 )5343 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
4870 LDFLAGS="$save_LDFLAGS"5344 AC_LINK_IFELSE(
5345 [AC_LANG_SOURCE(
5346 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
5347 [C++], [[int foo (void) { return 0; }]],
5348 [Fortran 77], [[
5349 subroutine foo
5350 end]],
5351 [Fortran], [[
5352 subroutine foo
5353 end]])])],
5354 [lt_cv_irix_exported_symbol=yes],
5355 [lt_cv_irix_exported_symbol=no])
5356 LDFLAGS="$save_LDFLAGS"])
5357 if test "$lt_cv_irix_exported_symbol" = yes; then
5358 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
5359 fi
4871 else5360 else
4872 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'5361 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
4873 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'5362 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
@@ -4952,7 +5441,7 @@
4952 osf4* | osf5*) # as osf3* with the addition of -msym flag5441 osf4* | osf5*) # as osf3* with the addition of -msym flag
4953 if test "$GCC" = yes; then5442 if test "$GCC" = yes; then
4954 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'5443 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4955 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'5444 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4956 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'5445 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4957 else5446 else
4958 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'5447 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
@@ -4971,9 +5460,9 @@
4971 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'5460 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
4972 if test "$GCC" = yes; then5461 if test "$GCC" = yes; then
4973 wlarc='${wl}'5462 wlarc='${wl}'
4974 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'5463 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4975 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~5464 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
4976 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'5465 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
4977 else5466 else
4978 case `$CC -V 2>&1` in5467 case `$CC -V 2>&1` in
4979 *"Compilers 5.0"*)5468 *"Compilers 5.0"*)
@@ -5217,9 +5706,6 @@
5217_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],5706_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5218 [Flag to hardcode $libdir into a binary during linking.5707 [Flag to hardcode $libdir into a binary during linking.
5219 This must work even if $libdir does not exist])5708 This must work even if $libdir does not exist])
5220_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5221 [[If ld is used when linking, flag to hardcode $libdir into a binary
5222 during linking. This must work even if $libdir does not exist]])
5223_LT_TAGDECL([], [hardcode_libdir_separator], [1],5709_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5224 [Whether we need a single "-rpath" flag with a separated argument])5710 [Whether we need a single "-rpath" flag with a separated argument])
5225_LT_TAGDECL([], [hardcode_direct], [0],5711_LT_TAGDECL([], [hardcode_direct], [0],
@@ -5245,8 +5731,6 @@
5245 to runtime path list])5731 to runtime path list])
5246_LT_TAGDECL([], [link_all_deplibs], [0],5732_LT_TAGDECL([], [link_all_deplibs], [0],
5247 [Whether libtool must link a program against all its dependency libraries])5733 [Whether libtool must link a program against all its dependency libraries])
5248_LT_TAGDECL([], [fix_srcfile_path], [1],
5249 [Fix the shell variable $srcfile for the compiler])
5250_LT_TAGDECL([], [always_export_symbols], [0],5734_LT_TAGDECL([], [always_export_symbols], [0],
5251 [Set to "yes" if exported symbols are required])5735 [Set to "yes" if exported symbols are required])
5252_LT_TAGDECL([], [export_symbols_cmds], [2],5736_LT_TAGDECL([], [export_symbols_cmds], [2],
@@ -5257,6 +5741,8 @@
5257 [Symbols that must always be exported])5741 [Symbols that must always be exported])
5258_LT_TAGDECL([], [prelink_cmds], [2],5742_LT_TAGDECL([], [prelink_cmds], [2],
5259 [Commands necessary for linking programs (against libraries) with templates])5743 [Commands necessary for linking programs (against libraries) with templates])
5744_LT_TAGDECL([], [postlink_cmds], [2],
5745 [Commands necessary for finishing linking programs])
5260_LT_TAGDECL([], [file_list_spec], [1],5746_LT_TAGDECL([], [file_list_spec], [1],
5261 [Specify filename containing input files])5747 [Specify filename containing input files])
5262dnl FIXME: Not yet implemented5748dnl FIXME: Not yet implemented
@@ -5354,6 +5840,7 @@
5354m4_defun([_LT_LANG_CXX_CONFIG],5840m4_defun([_LT_LANG_CXX_CONFIG],
5355[m4_require([_LT_FILEUTILS_DEFAULTS])dnl5841[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5356m4_require([_LT_DECL_EGREP])dnl5842m4_require([_LT_DECL_EGREP])dnl
5843m4_require([_LT_PATH_MANIFEST_TOOL])dnl
5357if test -n "$CXX" && ( test "X$CXX" != "Xno" &&5844if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5358 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||5845 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5359 (test "X$CXX" != "Xg++"))) ; then5846 (test "X$CXX" != "Xg++"))) ; then
@@ -5372,7 +5859,6 @@
5372_LT_TAGVAR(hardcode_direct, $1)=no5859_LT_TAGVAR(hardcode_direct, $1)=no
5373_LT_TAGVAR(hardcode_direct_absolute, $1)=no5860_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5374_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=5861_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5375_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5376_LT_TAGVAR(hardcode_libdir_separator, $1)=5862_LT_TAGVAR(hardcode_libdir_separator, $1)=
5377_LT_TAGVAR(hardcode_minus_L, $1)=no5863_LT_TAGVAR(hardcode_minus_L, $1)=no
5378_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported5864_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -5415,6 +5901,7 @@
54155901
5416 # Allow CC to be a program name with arguments.5902 # Allow CC to be a program name with arguments.
5417 lt_save_CC=$CC5903 lt_save_CC=$CC
5904 lt_save_CFLAGS=$CFLAGS
5418 lt_save_LD=$LD5905 lt_save_LD=$LD
5419 lt_save_GCC=$GCC5906 lt_save_GCC=$GCC
5420 GCC=$GXX5907 GCC=$GXX
@@ -5432,6 +5919,7 @@
5432 fi5919 fi
5433 test -z "${LDCXX+set}" || LD=$LDCXX5920 test -z "${LDCXX+set}" || LD=$LDCXX
5434 CC=${CXX-"c++"}5921 CC=${CXX-"c++"}
5922 CFLAGS=$CXXFLAGS
5435 compiler=$CC5923 compiler=$CC
5436 _LT_TAGVAR(compiler, $1)=$CC5924 _LT_TAGVAR(compiler, $1)=$CC
5437 _LT_CC_BASENAME([$compiler])5925 _LT_CC_BASENAME([$compiler])
@@ -5453,8 +5941,8 @@
5453 # Check if GNU C++ uses GNU ld as the underlying linker, since the5941 # Check if GNU C++ uses GNU ld as the underlying linker, since the
5454 # archiving commands below assume that GNU ld is being used.5942 # archiving commands below assume that GNU ld is being used.
5455 if test "$with_gnu_ld" = yes; then5943 if test "$with_gnu_ld" = yes; then
5456 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'5944 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5457 _LT_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'5945 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
54585946
5459 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'5947 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5460 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'5948 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -5486,7 +5974,7 @@
5486 # Commands to make compiler produce verbose output that lists5974 # Commands to make compiler produce verbose output that lists
5487 # what "hidden" libraries, object files and flags are used when5975 # what "hidden" libraries, object files and flags are used when
5488 # linking a shared library.5976 # linking a shared library.
5489 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'5977 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
54905978
5491 else5979 else
5492 GXX=no5980 GXX=no
@@ -5595,7 +6083,7 @@
5595 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'6083 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5596 # Determine the default libpath from the value encoded in an empty6084 # Determine the default libpath from the value encoded in an empty
5597 # executable.6085 # executable.
5598 _LT_SYS_MODULE_PATH_AIX6086 _LT_SYS_MODULE_PATH_AIX([$1])
5599 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"6087 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
56006088
5601 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"6089 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
@@ -5607,7 +6095,7 @@
5607 else6095 else
5608 # Determine the default libpath from the value encoded in an6096 # Determine the default libpath from the value encoded in an
5609 # empty executable.6097 # empty executable.
5610 _LT_SYS_MODULE_PATH_AIX6098 _LT_SYS_MODULE_PATH_AIX([$1])
5611 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"6099 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5612 # Warning - without using the other run time loading flags,6100 # Warning - without using the other run time loading flags,
5613 # -berok will link without error, but may produce a broken library.6101 # -berok will link without error, but may produce a broken library.
@@ -5649,29 +6137,75 @@
5649 ;;6137 ;;
56506138
5651 cygwin* | mingw* | pw32* | cegcc*)6139 cygwin* | mingw* | pw32* | cegcc*)
5652 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,6140 case $GXX,$cc_basename in
5653 # as there is no search path for DLLs.6141 ,cl* | no,cl*)
5654 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'6142 # Native MSVC
5655 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'6143 # hardcode_libdir_flag_spec is actually meaningless, as there is
5656 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported6144 # no search path for DLLs.
5657 _LT_TAGVAR(always_export_symbols, $1)=no6145 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5658 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes6146 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6147 _LT_TAGVAR(always_export_symbols, $1)=yes
6148 _LT_TAGVAR(file_list_spec, $1)='@'
6149 # Tell ltmain to make .lib files, not .a files.
6150 libext=lib
6151 # Tell ltmain to make .dll files, not .so files.
6152 shrext_cmds=".dll"
6153 # FIXME: Setting linknames here is a bad hack.
6154 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
6155 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6156 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
6157 else
6158 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
6159 fi~
6160 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
6161 linknames='
6162 # The linker will not automatically build a static lib if we build a DLL.
6163 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6164 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6165 # Don't use ranlib
6166 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
6167 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6168 lt_tool_outputfile="@TOOL_OUTPUT@"~
6169 case $lt_outputfile in
6170 *.exe|*.EXE) ;;
6171 *)
6172 lt_outputfile="$lt_outputfile.exe"
6173 lt_tool_outputfile="$lt_tool_outputfile.exe"
6174 ;;
6175 esac~
6176 func_to_tool_file "$lt_outputfile"~
6177 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
6178 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
6179 $RM "$lt_outputfile.manifest";
6180 fi'
6181 ;;
6182 *)
6183 # g++
6184 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6185 # as there is no search path for DLLs.
6186 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6187 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
6188 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6189 _LT_TAGVAR(always_export_symbols, $1)=no
6190 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
56596191
5660 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then6192 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5661 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'6193 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5662 # If the export-symbols file already is a .def file (1st line6194 # If the export-symbols file already is a .def file (1st line
5663 # is EXPORTS), use it as is; otherwise, prepend...6195 # is EXPORTS), use it as is; otherwise, prepend...
5664 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then6196 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5665 cp $export_symbols $output_objdir/$soname.def;6197 cp $export_symbols $output_objdir/$soname.def;
5666 else6198 else
5667 echo EXPORTS > $output_objdir/$soname.def;6199 echo EXPORTS > $output_objdir/$soname.def;
5668 cat $export_symbols >> $output_objdir/$soname.def;6200 cat $export_symbols >> $output_objdir/$soname.def;
5669 fi~6201 fi~
5670 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'6202 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5671 else6203 else
5672 _LT_TAGVAR(ld_shlibs, $1)=no6204 _LT_TAGVAR(ld_shlibs, $1)=no
5673 fi6205 fi
5674 ;;6206 ;;
6207 esac
6208 ;;
5675 darwin* | rhapsody*)6209 darwin* | rhapsody*)
5676 _LT_DARWIN_LINKER_FEATURES($1)6210 _LT_DARWIN_LINKER_FEATURES($1)
5677 ;;6211 ;;
@@ -5694,7 +6228,7 @@
5694 esac6228 esac
5695 ;;6229 ;;
56966230
5697 freebsd[[12]]*)6231 freebsd2.*)
5698 # C++ shared libraries reported to be fairly broken before6232 # C++ shared libraries reported to be fairly broken before
5699 # switch to ELF6233 # switch to ELF
5700 _LT_TAGVAR(ld_shlibs, $1)=no6234 _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5713,6 +6247,11 @@
5713 gnu*)6247 gnu*)
5714 ;;6248 ;;
57156249
6250 haiku*)
6251 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6252 _LT_TAGVAR(link_all_deplibs, $1)=yes
6253 ;;
6254
5716 hpux9*)6255 hpux9*)
5717 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'6256 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5718 _LT_TAGVAR(hardcode_libdir_separator, $1)=:6257 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
@@ -5741,7 +6280,7 @@
5741 ;;6280 ;;
5742 *)6281 *)
5743 if test "$GXX" = yes; then6282 if test "$GXX" = yes; then
5744 _LT_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'6283 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
5745 else6284 else
5746 # FIXME: insert proper C++ library support6285 # FIXME: insert proper C++ library support
5747 _LT_TAGVAR(ld_shlibs, $1)=no6286 _LT_TAGVAR(ld_shlibs, $1)=no
@@ -5812,10 +6351,10 @@
5812 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'6351 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5813 ;;6352 ;;
5814 ia64*)6353 ia64*)
5815 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'6354 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5816 ;;6355 ;;
5817 *)6356 *)
5818 _LT_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'6357 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5819 ;;6358 ;;
5820 esac6359 esac
5821 fi6360 fi
@@ -5856,9 +6395,9 @@
5856 *)6395 *)
5857 if test "$GXX" = yes; then6396 if test "$GXX" = yes; then
5858 if test "$with_gnu_ld" = no; then6397 if test "$with_gnu_ld" = no; then
5859 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'6398 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5860 else6399 else
5861 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'6400 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
5862 fi6401 fi
5863 fi6402 fi
5864 _LT_TAGVAR(link_all_deplibs, $1)=yes6403 _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -5924,26 +6463,26 @@
5924 pgCC* | pgcpp*)6463 pgCC* | pgcpp*)
5925 # Portland Group C++ compiler6464 # Portland Group C++ compiler
5926 case `$CC -V` in6465 case `$CC -V` in
5927 *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)6466 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
5928 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~6467 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
5929 rm -rf $tpldir~6468 rm -rf $tpldir~
5930 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~6469 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
5931 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'6470 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
5932 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~6471 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
5933 rm -rf $tpldir~6472 rm -rf $tpldir~
5934 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~6473 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
5935 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~6474 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
5936 $RANLIB $oldlib'6475 $RANLIB $oldlib'
5937 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~6476 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
5938 rm -rf $tpldir~6477 rm -rf $tpldir~
5939 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~6478 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5940 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'6479 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5941 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~6480 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
5942 rm -rf $tpldir~6481 rm -rf $tpldir~
5943 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~6482 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
5944 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'6483 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
5945 ;;6484 ;;
5946 *) # Version 6 will use weak symbols6485 *) # Version 6 and above use weak symbols
5947 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'6486 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5948 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'6487 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
5949 ;;6488 ;;
@@ -6136,7 +6675,7 @@
6136 _LT_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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'6675 _LT_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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6137 ;;6676 ;;
6138 *)6677 *)
6139 _LT_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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'6678 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6140 ;;6679 ;;
6141 esac6680 esac
61426681
@@ -6146,7 +6685,7 @@
6146 # Commands to make compiler produce verbose output that lists6685 # Commands to make compiler produce verbose output that lists
6147 # what "hidden" libraries, object files and flags are used when6686 # what "hidden" libraries, object files and flags are used when
6148 # linking a shared library.6687 # linking a shared library.
6149 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'6688 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
61506689
6151 else6690 else
6152 # FIXME: insert proper C++ library support6691 # FIXME: insert proper C++ library support
@@ -6182,7 +6721,7 @@
61826721
6183 solaris*)6722 solaris*)
6184 case $cc_basename in6723 case $cc_basename in
6185 CC*)6724 CC* | sunCC*)
6186 # Sun C++ 4.2, 5.x and Centerline C++6725 # Sun C++ 4.2, 5.x and Centerline C++
6187 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes6726 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
6188 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'6727 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
@@ -6223,14 +6762,14 @@
6223 if test "$GXX" = yes && test "$with_gnu_ld" = no; then6762 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6224 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'6763 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
6225 if $CC --version | $GREP -v '^2\.7' > /dev/null; then6764 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
6226 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'6765 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6227 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~6766 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6228 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'6767 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
62296768
6230 # Commands to make compiler produce verbose output that lists6769 # Commands to make compiler produce verbose output that lists
6231 # what "hidden" libraries, object files and flags are used when6770 # what "hidden" libraries, object files and flags are used when
6232 # linking a shared library.6771 # linking a shared library.
6233 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'6772 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6234 else6773 else
6235 # g++ 2.7 appears to require `-G' NOT `-shared' on this6774 # g++ 2.7 appears to require `-G' NOT `-shared' on this
6236 # platform.6775 # platform.
@@ -6241,7 +6780,7 @@
6241 # Commands to make compiler produce verbose output that lists6780 # Commands to make compiler produce verbose output that lists
6242 # what "hidden" libraries, object files and flags are used when6781 # what "hidden" libraries, object files and flags are used when
6243 # linking a shared library.6782 # linking a shared library.
6244 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'6783 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6245 fi6784 fi
62466785
6247 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'6786 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
@@ -6354,6 +6893,7 @@
6354 fi # test -n "$compiler"6893 fi # test -n "$compiler"
63556894
6356 CC=$lt_save_CC6895 CC=$lt_save_CC
6896 CFLAGS=$lt_save_CFLAGS
6357 LDCXX=$LD6897 LDCXX=$LD
6358 LD=$lt_save_LD6898 LD=$lt_save_LD
6359 GCC=$lt_save_GCC6899 GCC=$lt_save_GCC
@@ -6368,6 +6908,29 @@
6368])# _LT_LANG_CXX_CONFIG6908])# _LT_LANG_CXX_CONFIG
63696909
63706910
6911# _LT_FUNC_STRIPNAME_CNF
6912# ----------------------
6913# func_stripname_cnf prefix suffix name
6914# strip PREFIX and SUFFIX off of NAME.
6915# PREFIX and SUFFIX must not contain globbing or regex special
6916# characters, hashes, percent signs, but SUFFIX may contain a leading
6917# dot (in which case that matches only a dot).
6918#
6919# This function is identical to the (non-XSI) version of func_stripname,
6920# except this one can be used by m4 code that may be executed by configure,
6921# rather than the libtool script.
6922m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
6923AC_REQUIRE([_LT_DECL_SED])
6924AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
6925func_stripname_cnf ()
6926{
6927 case ${2} in
6928 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
6929 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
6930 esac
6931} # func_stripname_cnf
6932])# _LT_FUNC_STRIPNAME_CNF
6933
6371# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])6934# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
6372# ---------------------------------6935# ---------------------------------
6373# Figure out "hidden" library dependencies from verbose6936# Figure out "hidden" library dependencies from verbose
@@ -6376,6 +6939,7 @@
6376# objects, libraries and library flags.6939# objects, libraries and library flags.
6377m4_defun([_LT_SYS_HIDDEN_LIBDEPS],6940m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
6378[m4_require([_LT_FILEUTILS_DEFAULTS])dnl6941[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6942AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
6379# Dependencies to place before and after the object being linked:6943# Dependencies to place before and after the object being linked:
6380_LT_TAGVAR(predep_objects, $1)=6944_LT_TAGVAR(predep_objects, $1)=
6381_LT_TAGVAR(postdep_objects, $1)=6945_LT_TAGVAR(postdep_objects, $1)=
@@ -6425,7 +6989,20 @@
6425 }6989 }
6426};6990};
6427_LT_EOF6991_LT_EOF
6992], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
6993package foo
6994func foo() {
6995}
6996_LT_EOF
6428])6997])
6998
6999_lt_libdeps_save_CFLAGS=$CFLAGS
7000case "$CC $CFLAGS " in #(
7001*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7002*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7003*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7004esac
7005
6429dnl Parse the compiler output and extract the necessary7006dnl Parse the compiler output and extract the necessary
6430dnl objects, libraries and library flags.7007dnl objects, libraries and library flags.
6431if AC_TRY_EVAL(ac_compile); then7008if AC_TRY_EVAL(ac_compile); then
@@ -6437,7 +7014,7 @@
6437 pre_test_object_deps_done=no7014 pre_test_object_deps_done=no
64387015
6439 for p in `eval "$output_verbose_link_cmd"`; do7016 for p in `eval "$output_verbose_link_cmd"`; do
6440 case $p in7017 case ${prev}${p} in
64417018
6442 -L* | -R* | -l*)7019 -L* | -R* | -l*)
6443 # Some compilers place space between "-{L,R}" and the path.7020 # Some compilers place space between "-{L,R}" and the path.
@@ -6446,13 +7023,22 @@
6446 test $p = "-R"; then7023 test $p = "-R"; then
6447 prev=$p7024 prev=$p
6448 continue7025 continue
6449 else
6450 prev=
6451 fi7026 fi
64527027
7028 # Expand the sysroot to ease extracting the directories later.
7029 if test -z "$prev"; then
7030 case $p in
7031 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7032 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7033 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7034 esac
7035 fi
7036 case $p in
7037 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
7038 esac
6453 if test "$pre_test_object_deps_done" = no; then7039 if test "$pre_test_object_deps_done" = no; then
6454 case $p in7040 case ${prev} in
6455 -L* | -R*)7041 -L | -R)
6456 # Internal compiler library paths should come after those7042 # Internal compiler library paths should come after those
6457 # provided the user. The postdeps already come after the7043 # provided the user. The postdeps already come after the
6458 # user supplied libs so there is no need to process them.7044 # user supplied libs so there is no need to process them.
@@ -6472,8 +7058,10 @@
6472 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"7058 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
6473 fi7059 fi
6474 fi7060 fi
7061 prev=
6475 ;;7062 ;;
64767063
7064 *.lto.$objext) ;; # Ignore GCC LTO objects
6477 *.$objext)7065 *.$objext)
6478 # This assumes that the test object file only shows up7066 # This assumes that the test object file only shows up
6479 # once in the compiler output.7067 # once in the compiler output.
@@ -6509,6 +7097,7 @@
6509fi7097fi
65107098
6511$RM -f confest.$objext7099$RM -f confest.$objext
7100CFLAGS=$_lt_libdeps_save_CFLAGS
65127101
6513# PORTME: override above test on systems where it is broken7102# PORTME: override above test on systems where it is broken
6514m4_if([$1], [CXX],7103m4_if([$1], [CXX],
@@ -6545,7 +7134,7 @@
65457134
6546solaris*)7135solaris*)
6547 case $cc_basename in7136 case $cc_basename in
6548 CC*)7137 CC* | sunCC*)
6549 # The more standards-conforming stlport4 library is7138 # The more standards-conforming stlport4 library is
6550 # incompatible with the Cstd library. Avoid specifying7139 # incompatible with the Cstd library. Avoid specifying
6551 # it if it's in CXXFLAGS. Ignore libCrun as7140 # it if it's in CXXFLAGS. Ignore libCrun as
@@ -6608,7 +7197,6 @@
6608_LT_TAGVAR(hardcode_direct, $1)=no7197_LT_TAGVAR(hardcode_direct, $1)=no
6609_LT_TAGVAR(hardcode_direct_absolute, $1)=no7198_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6610_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=7199_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6611_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6612_LT_TAGVAR(hardcode_libdir_separator, $1)=7200_LT_TAGVAR(hardcode_libdir_separator, $1)=
6613_LT_TAGVAR(hardcode_minus_L, $1)=no7201_LT_TAGVAR(hardcode_minus_L, $1)=no
6614_LT_TAGVAR(hardcode_automatic, $1)=no7202_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6658,7 +7246,9 @@
6658 # Allow CC to be a program name with arguments.7246 # Allow CC to be a program name with arguments.
6659 lt_save_CC="$CC"7247 lt_save_CC="$CC"
6660 lt_save_GCC=$GCC7248 lt_save_GCC=$GCC
7249 lt_save_CFLAGS=$CFLAGS
6661 CC=${F77-"f77"}7250 CC=${F77-"f77"}
7251 CFLAGS=$FFLAGS
6662 compiler=$CC7252 compiler=$CC
6663 _LT_TAGVAR(compiler, $1)=$CC7253 _LT_TAGVAR(compiler, $1)=$CC
6664 _LT_CC_BASENAME([$compiler])7254 _LT_CC_BASENAME([$compiler])
@@ -6712,6 +7302,7 @@
67127302
6713 GCC=$lt_save_GCC7303 GCC=$lt_save_GCC
6714 CC="$lt_save_CC"7304 CC="$lt_save_CC"
7305 CFLAGS="$lt_save_CFLAGS"
6715fi # test "$_lt_disable_F77" != yes7306fi # test "$_lt_disable_F77" != yes
67167307
6717AC_LANG_POP7308AC_LANG_POP
@@ -6738,7 +7329,6 @@
6738_LT_TAGVAR(hardcode_direct, $1)=no7329_LT_TAGVAR(hardcode_direct, $1)=no
6739_LT_TAGVAR(hardcode_direct_absolute, $1)=no7330_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6740_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=7331_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6741_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6742_LT_TAGVAR(hardcode_libdir_separator, $1)=7332_LT_TAGVAR(hardcode_libdir_separator, $1)=
6743_LT_TAGVAR(hardcode_minus_L, $1)=no7333_LT_TAGVAR(hardcode_minus_L, $1)=no
6744_LT_TAGVAR(hardcode_automatic, $1)=no7334_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -6788,7 +7378,9 @@
6788 # Allow CC to be a program name with arguments.7378 # Allow CC to be a program name with arguments.
6789 lt_save_CC="$CC"7379 lt_save_CC="$CC"
6790 lt_save_GCC=$GCC7380 lt_save_GCC=$GCC
7381 lt_save_CFLAGS=$CFLAGS
6791 CC=${FC-"f95"}7382 CC=${FC-"f95"}
7383 CFLAGS=$FCFLAGS
6792 compiler=$CC7384 compiler=$CC
6793 GCC=$ac_cv_fc_compiler_gnu7385 GCC=$ac_cv_fc_compiler_gnu
67947386
@@ -6844,7 +7436,8 @@
6844 fi # test -n "$compiler"7436 fi # test -n "$compiler"
68457437
6846 GCC=$lt_save_GCC7438 GCC=$lt_save_GCC
6847 CC="$lt_save_CC"7439 CC=$lt_save_CC
7440 CFLAGS=$lt_save_CFLAGS
6848fi # test "$_lt_disable_FC" != yes7441fi # test "$_lt_disable_FC" != yes
68497442
6850AC_LANG_POP7443AC_LANG_POP
@@ -6881,10 +7474,12 @@
6881_LT_LINKER_BOILERPLATE7474_LT_LINKER_BOILERPLATE
68827475
6883# Allow CC to be a program name with arguments.7476# Allow CC to be a program name with arguments.
6884lt_save_CC="$CC"7477lt_save_CC=$CC
7478lt_save_CFLAGS=$CFLAGS
6885lt_save_GCC=$GCC7479lt_save_GCC=$GCC
6886GCC=yes7480GCC=yes
6887CC=${GCJ-"gcj"}7481CC=${GCJ-"gcj"}
7482CFLAGS=$GCJFLAGS
6888compiler=$CC7483compiler=$CC
6889_LT_TAGVAR(compiler, $1)=$CC7484_LT_TAGVAR(compiler, $1)=$CC
6890_LT_TAGVAR(LD, $1)="$LD"7485_LT_TAGVAR(LD, $1)="$LD"
@@ -6911,10 +7506,78 @@
6911AC_LANG_RESTORE7506AC_LANG_RESTORE
69127507
6913GCC=$lt_save_GCC7508GCC=$lt_save_GCC
6914CC="$lt_save_CC"7509CC=$lt_save_CC
7510CFLAGS=$lt_save_CFLAGS
6915])# _LT_LANG_GCJ_CONFIG7511])# _LT_LANG_GCJ_CONFIG
69167512
69177513
7514# _LT_LANG_GO_CONFIG([TAG])
7515# --------------------------
7516# Ensure that the configuration variables for the GNU Go compiler
7517# are suitably defined. These variables are subsequently used by _LT_CONFIG
7518# to write the compiler configuration to `libtool'.
7519m4_defun([_LT_LANG_GO_CONFIG],
7520[AC_REQUIRE([LT_PROG_GO])dnl
7521AC_LANG_SAVE
7522
7523# Source file extension for Go test sources.
7524ac_ext=go
7525
7526# Object file extension for compiled Go test sources.
7527objext=o
7528_LT_TAGVAR(objext, $1)=$objext
7529
7530# Code to be used in simple compile tests
7531lt_simple_compile_test_code="package main; func main() { }"
7532
7533# Code to be used in simple link tests
7534lt_simple_link_test_code='package main; func main() { }'
7535
7536# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7537_LT_TAG_COMPILER
7538
7539# save warnings/boilerplate of simple test code
7540_LT_COMPILER_BOILERPLATE
7541_LT_LINKER_BOILERPLATE
7542
7543# Allow CC to be a program name with arguments.
7544lt_save_CC=$CC
7545lt_save_CFLAGS=$CFLAGS
7546lt_save_GCC=$GCC
7547GCC=yes
7548CC=${GOC-"gccgo"}
7549CFLAGS=$GOFLAGS
7550compiler=$CC
7551_LT_TAGVAR(compiler, $1)=$CC
7552_LT_TAGVAR(LD, $1)="$LD"
7553_LT_CC_BASENAME([$compiler])
7554
7555# Go did not exist at the time GCC didn't implicitly link libc in.
7556_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7557
7558_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7559_LT_TAGVAR(reload_flag, $1)=$reload_flag
7560_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7561
7562if test -n "$compiler"; then
7563 _LT_COMPILER_NO_RTTI($1)
7564 _LT_COMPILER_PIC($1)
7565 _LT_COMPILER_C_O($1)
7566 _LT_COMPILER_FILE_LOCKS($1)
7567 _LT_LINKER_SHLIBS($1)
7568 _LT_LINKER_HARDCODE_LIBPATH($1)
7569
7570 _LT_CONFIG($1)
7571fi
7572
7573AC_LANG_RESTORE
7574
7575GCC=$lt_save_GCC
7576CC=$lt_save_CC
7577CFLAGS=$lt_save_CFLAGS
7578])# _LT_LANG_GO_CONFIG
7579
7580
6918# _LT_LANG_RC_CONFIG([TAG])7581# _LT_LANG_RC_CONFIG([TAG])
6919# -------------------------7582# -------------------------
6920# Ensure that the configuration variables for the Windows resource compiler7583# Ensure that the configuration variables for the Windows resource compiler
@@ -6946,9 +7609,11 @@
69467609
6947# Allow CC to be a program name with arguments.7610# Allow CC to be a program name with arguments.
6948lt_save_CC="$CC"7611lt_save_CC="$CC"
7612lt_save_CFLAGS=$CFLAGS
6949lt_save_GCC=$GCC7613lt_save_GCC=$GCC
6950GCC=7614GCC=
6951CC=${RC-"windres"}7615CC=${RC-"windres"}
7616CFLAGS=
6952compiler=$CC7617compiler=$CC
6953_LT_TAGVAR(compiler, $1)=$CC7618_LT_TAGVAR(compiler, $1)=$CC
6954_LT_CC_BASENAME([$compiler])7619_LT_CC_BASENAME([$compiler])
@@ -6961,7 +7626,8 @@
69617626
6962GCC=$lt_save_GCC7627GCC=$lt_save_GCC
6963AC_LANG_RESTORE7628AC_LANG_RESTORE
6964CC="$lt_save_CC"7629CC=$lt_save_CC
7630CFLAGS=$lt_save_CFLAGS
6965])# _LT_LANG_RC_CONFIG7631])# _LT_LANG_RC_CONFIG
69667632
69677633
@@ -6981,6 +7647,13 @@
6981dnl AC_DEFUN([LT_AC_PROG_GCJ], [])7647dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
69827648
69837649
7650# LT_PROG_GO
7651# ----------
7652AC_DEFUN([LT_PROG_GO],
7653[AC_CHECK_TOOL(GOC, gccgo,)
7654])
7655
7656
6984# LT_PROG_RC7657# LT_PROG_RC
6985# ----------7658# ----------
6986AC_DEFUN([LT_PROG_RC],7659AC_DEFUN([LT_PROG_RC],
@@ -7020,6 +7693,15 @@
7020AC_SUBST([OBJDUMP])7693AC_SUBST([OBJDUMP])
7021])7694])
70227695
7696# _LT_DECL_DLLTOOL
7697# ----------------
7698# Ensure DLLTOOL variable is set.
7699m4_defun([_LT_DECL_DLLTOOL],
7700[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7701test -z "$DLLTOOL" && DLLTOOL=dlltool
7702_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
7703AC_SUBST([DLLTOOL])
7704])
70237705
7024# _LT_DECL_SED7706# _LT_DECL_SED
7025# ------------7707# ------------
@@ -7111,8 +7793,8 @@
7111# Try some XSI features7793# Try some XSI features
7112xsi_shell=no7794xsi_shell=no
7113( _lt_dummy="a/b/c"7795( _lt_dummy="a/b/c"
7114 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \7796 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7115 = c,a/b,, \7797 = c,a/b,b/c, \
7116 && eval 'test $(( 1 + 1 )) -eq 2 \7798 && eval 'test $(( 1 + 1 )) -eq 2 \
7117 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \7799 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7118 && xsi_shell=yes7800 && xsi_shell=yes
@@ -7151,220 +7833,177 @@
7151])# _LT_CHECK_SHELL_FEATURES7833])# _LT_CHECK_SHELL_FEATURES
71527834
71537835
7154# _LT_PROG_XSI_SHELLFNS7836# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
7155# ---------------------7837# ------------------------------------------------------
7156# Bourne and XSI compatible variants of some useful shell functions.7838# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
7157m4_defun([_LT_PROG_XSI_SHELLFNS],7839# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
7158[case $xsi_shell in7840m4_defun([_LT_PROG_FUNCTION_REPLACE],
7159 yes)7841[dnl {
7160 cat << \_LT_EOF >> "$cfgfile"7842sed -e '/^$1 ()$/,/^} # $1 /c\
71617843$1 ()\
7162# func_dirname file append nondir_replacement7844{\
7163# Compute the dirname of FILE. If nonempty, add APPEND to the result,7845m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
7164# otherwise set result to NONDIR_REPLACEMENT.7846} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
7165func_dirname ()7847 && mv -f "$cfgfile.tmp" "$cfgfile" \
7166{7848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7167 case ${1} in7849test 0 -eq $? || _lt_function_replace_fail=:
7168 */*) func_dirname_result="${1%/*}${2}" ;;7850])
7169 * ) func_dirname_result="${3}" ;;7851
7170 esac7852
7171}7853# _LT_PROG_REPLACE_SHELLFNS
71727854# -------------------------
7173# func_basename file7855# Replace existing portable implementations of several shell functions with
7174func_basename ()7856# equivalent extended shell implementations where those features are available..
7175{7857m4_defun([_LT_PROG_REPLACE_SHELLFNS],
7176 func_basename_result="${1##*/}"7858[if test x"$xsi_shell" = xyes; then
7177}7859 _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
71787860 case ${1} in
7179# func_dirname_and_basename file append nondir_replacement7861 */*) func_dirname_result="${1%/*}${2}" ;;
7180# perform func_basename and func_dirname in a single function7862 * ) func_dirname_result="${3}" ;;
7181# call:7863 esac])
7182# dirname: Compute the dirname of FILE. If nonempty,7864
7183# add APPEND to the result, otherwise set result7865 _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
7184# to NONDIR_REPLACEMENT.7866 func_basename_result="${1##*/}"])
7185# value returned in "$func_dirname_result"7867
7186# basename: Compute filename of FILE.7868 _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
7187# value retuned in "$func_basename_result"7869 case ${1} in
7188# Implementation must be kept synchronized with func_dirname7870 */*) func_dirname_result="${1%/*}${2}" ;;
7189# and func_basename. For efficiency, we do not delegate to7871 * ) func_dirname_result="${3}" ;;
7190# those functions but instead duplicate the functionality here.7872 esac
7191func_dirname_and_basename ()7873 func_basename_result="${1##*/}"])
7192{7874
7193 case ${1} in7875 _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
7194 */*) func_dirname_result="${1%/*}${2}" ;;7876 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
7195 * ) func_dirname_result="${3}" ;;7877 # positional parameters, so assign one to ordinary parameter first.
7196 esac7878 func_stripname_result=${3}
7197 func_basename_result="${1##*/}"7879 func_stripname_result=${func_stripname_result#"${1}"}
7198}7880 func_stripname_result=${func_stripname_result%"${2}"}])
71997881
7200# func_stripname prefix suffix name7882 _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
7201# strip PREFIX and SUFFIX off of NAME.7883 func_split_long_opt_name=${1%%=*}
7202# PREFIX and SUFFIX must not contain globbing or regex special7884 func_split_long_opt_arg=${1#*=}])
7203# characters, hashes, percent signs, but SUFFIX may contain a leading7885
7204# dot (in which case that matches only a dot).7886 _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
7205func_stripname ()7887 func_split_short_opt_arg=${1#??}
7206{7888 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
7207 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are7889
7208 # positional parameters, so assign one to ordinary parameter first.7890 _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
7209 func_stripname_result=${3}7891 case ${1} in
7210 func_stripname_result=${func_stripname_result#"${1}"}7892 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
7211 func_stripname_result=${func_stripname_result%"${2}"}7893 *) func_lo2o_result=${1} ;;
7212}7894 esac])
72137895
7214# func_opt_split7896 _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
7215func_opt_split ()7897
7216{7898 _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
7217 func_opt_split_opt=${1%%=*}7899
7218 func_opt_split_arg=${1#*=}7900 _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
7219}7901fi
72207902
7221# func_lo2o object7903if test x"$lt_shell_append" = xyes; then
7222func_lo2o ()7904 _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
7223{7905
7224 case ${1} in7906 _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
7225 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;7907 func_quote_for_eval "${2}"
7226 *) func_lo2o_result=${1} ;;7908dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
7227 esac7909 eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
7228}7910
72297911 # Save a `func_append' function call where possible by direct use of '+='
7230# func_xform libobj-or-source7912 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
7231func_xform ()7913 && mv -f "$cfgfile.tmp" "$cfgfile" \
7232{7914 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7233 func_xform_result=${1%.*}.lo7915 test 0 -eq $? || _lt_function_replace_fail=:
7234}7916else
72357917 # Save a `func_append' function call even when '+=' is not available
7236# func_arith arithmetic-term...7918 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
7237func_arith ()7919 && mv -f "$cfgfile.tmp" "$cfgfile" \
7238{7920 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7239 func_arith_result=$(( $[*] ))7921 test 0 -eq $? || _lt_function_replace_fail=:
7240}7922fi
72417923
7242# func_len string7924if test x"$_lt_function_replace_fail" = x":"; then
7243# STRING may not start with a hyphen.7925 AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
7244func_len ()7926fi
7245{7927])
7246 func_len_result=${#1}7928
7247}7929# _LT_PATH_CONVERSION_FUNCTIONS
72487930# -----------------------------
7249_LT_EOF7931# Determine which file name conversion functions should be used by
7250 ;;7932# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
7251 *) # Bourne compatible functions.7933# for certain cross-compile configurations and native mingw.
7252 cat << \_LT_EOF >> "$cfgfile"7934m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
72537935[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7254# func_dirname file append nondir_replacement7936AC_REQUIRE([AC_CANONICAL_BUILD])dnl
7255# Compute the dirname of FILE. If nonempty, add APPEND to the result,7937AC_MSG_CHECKING([how to convert $build file names to $host format])
7256# otherwise set result to NONDIR_REPLACEMENT.7938AC_CACHE_VAL(lt_cv_to_host_file_cmd,
7257func_dirname ()7939[case $host in
7258{7940 *-*-mingw* )
7259 # Extract subdirectory from the argument.7941 case $build in
7260 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`7942 *-*-mingw* ) # actually msys
7261 if test "X$func_dirname_result" = "X${1}"; then7943 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7262 func_dirname_result="${3}"7944 ;;
7263 else7945 *-*-cygwin* )
7264 func_dirname_result="$func_dirname_result${2}"7946 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7265 fi7947 ;;
7266}7948 * ) # otherwise, assume *nix
72677949 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7268# func_basename file7950 ;;
7269func_basename ()7951 esac
7270{7952 ;;
7271 func_basename_result=`$ECHO "${1}" | $SED "$basename"`7953 *-*-cygwin* )
7272}7954 case $build in
72737955 *-*-mingw* ) # actually msys
7274dnl func_dirname_and_basename7956 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7275dnl A portable version of this function is already defined in general.m4sh7957 ;;
7276dnl so there is no need for it here.7958 *-*-cygwin* )
72777959 lt_cv_to_host_file_cmd=func_convert_file_noop
7278# func_stripname prefix suffix name7960 ;;
7279# strip PREFIX and SUFFIX off of NAME.7961 * ) # otherwise, assume *nix
7280# PREFIX and SUFFIX must not contain globbing or regex special7962 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7281# characters, hashes, percent signs, but SUFFIX may contain a leading7963 ;;
7282# dot (in which case that matches only a dot).7964 esac
7283# func_strip_suffix prefix name7965 ;;
7284func_stripname ()7966 * ) # unhandled hosts (and "normal" native builds)
7285{7967 lt_cv_to_host_file_cmd=func_convert_file_noop
7286 case ${2} in7968 ;;
7287 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;7969esac
7288 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;7970])
7289 esac7971to_host_file_cmd=$lt_cv_to_host_file_cmd
7290}7972AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
72917973_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
7292# sed scripts:7974 [0], [convert $build file names to $host format])dnl
7293my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'7975
7294my_sed_long_arg='1s/^-[[^=]]*=//'7976AC_MSG_CHECKING([how to convert $build file names to toolchain format])
72957977AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
7296# func_opt_split7978[#assume ordinary cross tools, or native build.
7297func_opt_split ()7979lt_cv_to_tool_file_cmd=func_convert_file_noop
7298{7980case $host in
7299 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`7981 *-*-mingw* )
7300 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`7982 case $build in
7301}7983 *-*-mingw* ) # actually msys
73027984 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7303# func_lo2o object7985 ;;
7304func_lo2o ()7986 esac
7305{7987 ;;
7306 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`7988esac
7307}7989])
73087990to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7309# func_xform libobj-or-source7991AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
7310func_xform ()7992_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
7311{7993 [0], [convert $build files to toolchain format])dnl
7312 func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`7994])# _LT_PATH_CONVERSION_FUNCTIONS
7313}
7314
7315# func_arith arithmetic-term...
7316func_arith ()
7317{
7318 func_arith_result=`expr "$[@]"`
7319}
7320
7321# func_len string
7322# STRING may not start with a hyphen.
7323func_len ()
7324{
7325 func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
7326}
7327
7328_LT_EOF
7329esac
7330
7331case $lt_shell_append in
7332 yes)
7333 cat << \_LT_EOF >> "$cfgfile"
7334
7335# func_append var value
7336# Append VALUE to the end of shell variable VAR.
7337func_append ()
7338{
7339 eval "$[1]+=\$[2]"
7340}
7341_LT_EOF
7342 ;;
7343 *)
7344 cat << \_LT_EOF >> "$cfgfile"
7345
7346# func_append var value
7347# Append VALUE to the end of shell variable VAR.
7348func_append ()
7349{
7350 eval "$[1]=\$$[1]\$[2]"
7351}
7352
7353_LT_EOF
7354 ;;
7355 esac
7356])
73577995
7358# Helper functions for option handling. -*- Autoconf -*-7996# Helper functions for option handling. -*- Autoconf -*-
7359#7997#
7360# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.7998# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
7999# Inc.
7361# Written by Gary V. Vaughan, 20048000# Written by Gary V. Vaughan, 2004
7362#8001#
7363# This file is free software; the Free Software Foundation gives8002# This file is free software; the Free Software Foundation gives
7364# unlimited permission to copy and/or distribute it, with or without8003# unlimited permission to copy and/or distribute it, with or without
7365# modifications, as long as this notice is preserved.8004# modifications, as long as this notice is preserved.
73668005
7367# serial 6 ltoptions.m48006# serial 7 ltoptions.m4
73688007
7369# This is to help aclocal find these macros, as it can't see m4_define.8008# This is to help aclocal find these macros, as it can't see m4_define.
7370AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])8009AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
@@ -7487,13 +8126,13 @@
7487esac8126esac
74888127
7489test -z "$AS" && AS=as8128test -z "$AS" && AS=as
7490_LT_DECL([], [AS], [0], [Assembler program])dnl8129_LT_DECL([], [AS], [1], [Assembler program])dnl
74918130
7492test -z "$DLLTOOL" && DLLTOOL=dlltool8131test -z "$DLLTOOL" && DLLTOOL=dlltool
7493_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl8132_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
74948133
7495test -z "$OBJDUMP" && OBJDUMP=objdump8134test -z "$OBJDUMP" && OBJDUMP=objdump
7496_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl8135_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
7497])# win32-dll8136])# win32-dll
74988137
7499AU_DEFUN([AC_LIBTOOL_WIN32_DLL],8138AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
@@ -7679,9 +8318,24 @@
7679# MODE is either `yes' or `no'. If omitted, it defaults to `both'.8318# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
7680m4_define([_LT_WITH_PIC],8319m4_define([_LT_WITH_PIC],
7681[AC_ARG_WITH([pic],8320[AC_ARG_WITH([pic],
7682 [AS_HELP_STRING([--with-pic],8321 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
7683 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],8322 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
7684 [pic_mode="$withval"],8323 [lt_p=${PACKAGE-default}
8324 case $withval in
8325 yes|no) pic_mode=$withval ;;
8326 *)
8327 pic_mode=default
8328 # Look at the argument we got. We use all the common list separators.
8329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8330 for lt_pkg in $withval; do
8331 IFS="$lt_save_ifs"
8332 if test "X$lt_pkg" = "X$lt_p"; then
8333 pic_mode=yes
8334 fi
8335 done
8336 IFS="$lt_save_ifs"
8337 ;;
8338 esac],
7685 [pic_mode=default])8339 [pic_mode=default])
76868340
7687test -z "$pic_mode" && pic_mode=m4_default([$1], [default])8341test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
@@ -7851,17 +8505,17 @@
7851# unlimited permission to copy and/or distribute it, with or without8505# unlimited permission to copy and/or distribute it, with or without
7852# modifications, as long as this notice is preserved.8506# modifications, as long as this notice is preserved.
78538507
7854# Generated from ltversion.in.8508# @configure_input@
78558509
7856# serial 3111 ltversion.m48510# serial 3337 ltversion.m4
7857# This file is part of GNU Libtool8511# This file is part of GNU Libtool
78588512
7859m4_define([LT_PACKAGE_VERSION], [2.2.7a])8513m4_define([LT_PACKAGE_VERSION], [2.4.2])
7860m4_define([LT_PACKAGE_REVISION], [1.3111])8514m4_define([LT_PACKAGE_REVISION], [1.3337])
78618515
7862AC_DEFUN([LTVERSION_VERSION],8516AC_DEFUN([LTVERSION_VERSION],
7863[macro_version='2.2.7a'8517[macro_version='2.4.2'
7864macro_revision='1.3111'8518macro_revision='1.3337'
7865_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])8519_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7866_LT_DECL(, macro_revision, 0)8520_LT_DECL(, macro_revision, 0)
7867])8521])
@@ -7875,7 +8529,7 @@
7875# unlimited permission to copy and/or distribute it, with or without8529# unlimited permission to copy and/or distribute it, with or without
7876# modifications, as long as this notice is preserved.8530# modifications, as long as this notice is preserved.
78778531
7878# serial 4 lt~obsolete.m48532# serial 5 lt~obsolete.m4
78798533
7880# These exist entirely to fool aclocal when bootstrapping libtool.8534# These exist entirely to fool aclocal when bootstrapping libtool.
7881#8535#
@@ -7965,22 +8619,24 @@
7965m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])8619m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
7966m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])8620m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
79678621
7968# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.8622# Copyright (C) 2002-2012 Free Software Foundation, Inc.
7969#8623#
7970# This file is free software; the Free Software Foundation8624# This file is free software; the Free Software Foundation
7971# gives unlimited permission to copy and/or distribute it,8625# gives unlimited permission to copy and/or distribute it,
7972# with or without modifications, as long as this notice is preserved.8626# with or without modifications, as long as this notice is preserved.
79738627
8628# serial 8
8629
7974# AM_AUTOMAKE_VERSION(VERSION)8630# AM_AUTOMAKE_VERSION(VERSION)
7975# ----------------------------8631# ----------------------------
7976# Automake X.Y traces this macro to ensure aclocal.m4 has been8632# Automake X.Y traces this macro to ensure aclocal.m4 has been
7977# generated from the m4 files accompanying Automake X.Y.8633# generated from the m4 files accompanying Automake X.Y.
7978# (This private macro should not be called outside this file.)8634# (This private macro should not be called outside this file.)
7979AC_DEFUN([AM_AUTOMAKE_VERSION],8635AC_DEFUN([AM_AUTOMAKE_VERSION],
7980[am__api_version='1.11'8636[am__api_version='1.12'
7981dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to8637dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7982dnl require some minimum version. Point them to the right macro.8638dnl require some minimum version. Point them to the right macro.
7983m4_if([$1], [1.11.1], [],8639m4_if([$1], [1.12.1], [],
7984 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl8640 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7985])8641])
79868642
@@ -7996,22 +8652,24 @@
7996# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.8652# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7997# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.8653# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
7998AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],8654AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7999[AM_AUTOMAKE_VERSION([1.11.1])dnl8655[AM_AUTOMAKE_VERSION([1.12.1])dnl
8000m4_ifndef([AC_AUTOCONF_VERSION],8656m4_ifndef([AC_AUTOCONF_VERSION],
8001 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl8657 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8002_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])8658_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
80038659
8004# AM_AUX_DIR_EXPAND -*- Autoconf -*-8660# AM_AUX_DIR_EXPAND -*- Autoconf -*-
80058661
8006# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.8662# Copyright (C) 2001-2012 Free Software Foundation, Inc.
8007#8663#
8008# This file is free software; the Free Software Foundation8664# This file is free software; the Free Software Foundation
8009# gives unlimited permission to copy and/or distribute it,8665# gives unlimited permission to copy and/or distribute it,
8010# with or without modifications, as long as this notice is preserved.8666# with or without modifications, as long as this notice is preserved.
80118667
8668# serial 2
8669
8012# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets8670# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8013# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to8671# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
8014# `$srcdir', `$srcdir/..', or `$srcdir/../..'.8672# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
8015#8673#
8016# Of course, Automake must honor this variable whenever it calls a8674# Of course, Automake must honor this variable whenever it calls a
8017# tool from the auxiliary directory. The problem is that $srcdir (and8675# tool from the auxiliary directory. The problem is that $srcdir (and
@@ -8030,7 +8688,7 @@
8030#8688#
8031# The reason of the latter failure is that $top_srcdir and $ac_aux_dir8689# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
8032# are both prefixed by $srcdir. In an in-source build this is usually8690# are both prefixed by $srcdir. In an in-source build this is usually
8033# harmless because $srcdir is `.', but things will broke when you8691# harmless because $srcdir is '.', but things will broke when you
8034# start a VPATH build or use an absolute $srcdir.8692# start a VPATH build or use an absolute $srcdir.
8035#8693#
8036# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,8694# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
@@ -8056,22 +8714,21 @@
80568714
8057# AM_CONDITIONAL -*- Autoconf -*-8715# AM_CONDITIONAL -*- Autoconf -*-
80588716
8059# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 20088717# Copyright (C) 1997-2012 Free Software Foundation, Inc.
8060# Free Software Foundation, Inc.
8061#8718#
8062# This file is free software; the Free Software Foundation8719# This file is free software; the Free Software Foundation
8063# gives unlimited permission to copy and/or distribute it,8720# gives unlimited permission to copy and/or distribute it,
8064# with or without modifications, as long as this notice is preserved.8721# with or without modifications, as long as this notice is preserved.
80658722
8066# serial 98723# serial 10
80678724
8068# AM_CONDITIONAL(NAME, SHELL-CONDITION)8725# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8069# -------------------------------------8726# -------------------------------------
8070# Define a conditional.8727# Define a conditional.
8071AC_DEFUN([AM_CONDITIONAL],8728AC_DEFUN([AM_CONDITIONAL],
8072[AC_PREREQ(2.52)dnl8729[AC_PREREQ([2.52])dnl
8073 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],8730 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
8074 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl8731 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
8075AC_SUBST([$1_TRUE])dnl8732AC_SUBST([$1_TRUE])dnl
8076AC_SUBST([$1_FALSE])dnl8733AC_SUBST([$1_FALSE])dnl
8077_AM_SUBST_NOTMAKE([$1_TRUE])dnl8734_AM_SUBST_NOTMAKE([$1_TRUE])dnl
@@ -8090,16 +8747,15 @@
8090Usually this means the macro was only invoked conditionally.]])8747Usually this means the macro was only invoked conditionally.]])
8091fi])])8748fi])])
80928749
8093# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 20098750# Copyright (C) 1999-2012 Free Software Foundation, Inc.
8094# Free Software Foundation, Inc.
8095#8751#
8096# This file is free software; the Free Software Foundation8752# This file is free software; the Free Software Foundation
8097# gives unlimited permission to copy and/or distribute it,8753# gives unlimited permission to copy and/or distribute it,
8098# with or without modifications, as long as this notice is preserved.8754# with or without modifications, as long as this notice is preserved.
80998755
8100# serial 108756# serial 17
81018757
8102# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be8758# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
8103# written in clear, in which case automake, when reading aclocal.m4,8759# written in clear, in which case automake, when reading aclocal.m4,
8104# will think it sees a *use*, and therefore will trigger all it's8760# will think it sees a *use*, and therefore will trigger all it's
8105# C support machinery. Also note that it means that autoscan, seeing8761# C support machinery. Also note that it means that autoscan, seeing
@@ -8109,7 +8765,7 @@
8109# _AM_DEPENDENCIES(NAME)8765# _AM_DEPENDENCIES(NAME)
8110# ----------------------8766# ----------------------
8111# See how the compiler implements dependency checking.8767# See how the compiler implements dependency checking.
8112# NAME is "CC", "CXX", "GCJ", or "OBJC".8768# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
8113# We try a few techniques and use that to set a single cache variable.8769# We try a few techniques and use that to set a single cache variable.
8114#8770#
8115# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was8771# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
@@ -8122,12 +8778,13 @@
8122AC_REQUIRE([AM_MAKE_INCLUDE])dnl8778AC_REQUIRE([AM_MAKE_INCLUDE])dnl
8123AC_REQUIRE([AM_DEP_TRACK])dnl8779AC_REQUIRE([AM_DEP_TRACK])dnl
81248780
8125ifelse([$1], CC, [depcc="$CC" am_compiler_list=],8781m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
8126 [$1], CXX, [depcc="$CXX" am_compiler_list=],8782 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
8127 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],8783 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
8128 [$1], UPC, [depcc="$UPC" am_compiler_list=],8784 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
8129 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],8785 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
8130 [depcc="$$1" am_compiler_list=])8786 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
8787 [depcc="$$1" am_compiler_list=])
81318788
8132AC_CACHE_CHECK([dependency style of $depcc],8789AC_CACHE_CHECK([dependency style of $depcc],
8133 [am_cv_$1_dependencies_compiler_type],8790 [am_cv_$1_dependencies_compiler_type],
@@ -8135,8 +8792,9 @@
8135 # We make a subdir and do the tests there. Otherwise we can end up8792 # We make a subdir and do the tests there. Otherwise we can end up
8136 # making bogus files that we don't know about and never remove. For8793 # making bogus files that we don't know about and never remove. For
8137 # instance it was reported that on HP-UX the gcc test will end up8794 # instance it was reported that on HP-UX the gcc test will end up
8138 # making a dummy file named `D' -- because `-MD' means `put the output8795 # making a dummy file named 'D' -- because '-MD' means "put the output
8139 # in D'.8796 # in D".
8797 rm -rf conftest.dir
8140 mkdir conftest.dir8798 mkdir conftest.dir
8141 # Copy depcomp to subdir because otherwise we won't find it if we're8799 # Copy depcomp to subdir because otherwise we won't find it if we're
8142 # using a relative directory.8800 # using a relative directory.
@@ -8175,16 +8833,16 @@
8175 : > sub/conftest.c8833 : > sub/conftest.c
8176 for i in 1 2 3 4 5 6; do8834 for i in 1 2 3 4 5 6; do
8177 echo '#include "conftst'$i'.h"' >> sub/conftest.c8835 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8178 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with8836 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
8179 # Solaris 8's {/usr,}/bin/sh.8837 # Solaris 10 /bin/sh.
8180 touch sub/conftst$i.h8838 echo '/* dummy */' > sub/conftst$i.h
8181 done8839 done
8182 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf8840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
81838841
8184 # We check with `-c' and `-o' for the sake of the "dashmstdout"8842 # We check with '-c' and '-o' for the sake of the "dashmstdout"
8185 # mode. It turns out that the SunPro C++ compiler does not properly8843 # mode. It turns out that the SunPro C++ compiler does not properly
8186 # handle `-M -o', and we need to detect this. Also, some Intel8844 # handle '-M -o', and we need to detect this. Also, some Intel
8187 # versions had trouble with output in subdirs8845 # versions had trouble with output in subdirs.
8188 am__obj=sub/conftest.${OBJEXT-o}8846 am__obj=sub/conftest.${OBJEXT-o}
8189 am__minus_obj="-o $am__obj"8847 am__minus_obj="-o $am__obj"
8190 case $depmode in8848 case $depmode in
@@ -8193,16 +8851,16 @@
8193 test "$am__universal" = false || continue8851 test "$am__universal" = false || continue
8194 ;;8852 ;;
8195 nosideeffect)8853 nosideeffect)
8196 # after this tag, mechanisms are not by side-effect, so they'll8854 # After this tag, mechanisms are not by side-effect, so they'll
8197 # only be used when explicitly requested8855 # only be used when explicitly requested.
8198 if test "x$enable_dependency_tracking" = xyes; then8856 if test "x$enable_dependency_tracking" = xyes; then
8199 continue8857 continue
8200 else8858 else
8201 break8859 break
8202 fi8860 fi
8203 ;;8861 ;;
8204 msvisualcpp | msvcmsys)8862 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8205 # This compiler won't grok `-c -o', but also, the minuso test has8863 # This compiler won't grok '-c -o', but also, the minuso test has
8206 # not run yet. These depmodes are late enough in the game, and8864 # not run yet. These depmodes are late enough in the game, and
8207 # so weak that their functioning should not be impacted.8865 # so weak that their functioning should not be impacted.
8208 am__obj=conftest.${OBJEXT-o}8866 am__obj=conftest.${OBJEXT-o}
@@ -8250,7 +8908,7 @@
8250# AM_SET_DEPDIR8908# AM_SET_DEPDIR
8251# -------------8909# -------------
8252# Choose a directory name for dependency files.8910# Choose a directory name for dependency files.
8253# This macro is AC_REQUIREd in _AM_DEPENDENCIES8911# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
8254AC_DEFUN([AM_SET_DEPDIR],8912AC_DEFUN([AM_SET_DEPDIR],
8255[AC_REQUIRE([AM_SET_LEADING_DOT])dnl8913[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8256AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl8914AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
@@ -8260,28 +8918,34 @@
8260# AM_DEP_TRACK8918# AM_DEP_TRACK
8261# ------------8919# ------------
8262AC_DEFUN([AM_DEP_TRACK],8920AC_DEFUN([AM_DEP_TRACK],
8263[AC_ARG_ENABLE(dependency-tracking,8921[AC_ARG_ENABLE([dependency-tracking], [dnl
8264[ --disable-dependency-tracking speeds up one-time build8922AS_HELP_STRING(
8265 --enable-dependency-tracking do not reject slow dependency extractors])8923 [--enable-dependency-tracking],
8924 [do not reject slow dependency extractors])
8925AS_HELP_STRING(
8926 [--disable-dependency-tracking],
8927 [speeds up one-time build])])
8266if test "x$enable_dependency_tracking" != xno; then8928if test "x$enable_dependency_tracking" != xno; then
8267 am_depcomp="$ac_aux_dir/depcomp"8929 am_depcomp="$ac_aux_dir/depcomp"
8268 AMDEPBACKSLASH='\'8930 AMDEPBACKSLASH='\'
8931 am__nodep='_no'
8269fi8932fi
8270AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])8933AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8271AC_SUBST([AMDEPBACKSLASH])dnl8934AC_SUBST([AMDEPBACKSLASH])dnl
8272_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl8935_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
8936AC_SUBST([am__nodep])dnl
8937_AM_SUBST_NOTMAKE([am__nodep])dnl
8273])8938])
82748939
8275# Generate code to set up dependency tracking. -*- Autoconf -*-8940# Generate code to set up dependency tracking. -*- Autoconf -*-
82768941
8277# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 20088942# Copyright (C) 1999-2012 Free Software Foundation, Inc.
8278# Free Software Foundation, Inc.
8279#8943#
8280# This file is free software; the Free Software Foundation8944# This file is free software; the Free Software Foundation
8281# gives unlimited permission to copy and/or distribute it,8945# gives unlimited permission to copy and/or distribute it,
8282# with or without modifications, as long as this notice is preserved.8946# with or without modifications, as long as this notice is preserved.
82838947
8284#serial 58948# serial 6
82858949
8286# _AM_OUTPUT_DEPENDENCY_COMMANDS8950# _AM_OUTPUT_DEPENDENCY_COMMANDS
8287# ------------------------------8951# ------------------------------
@@ -8300,7 +8964,7 @@
8300 # Strip MF so we end up with the name of the file.8964 # Strip MF so we end up with the name of the file.
8301 mf=`echo "$mf" | sed -e 's/:.*$//'`8965 mf=`echo "$mf" | sed -e 's/:.*$//'`
8302 # Check whether this is an Automake generated Makefile or not.8966 # Check whether this is an Automake generated Makefile or not.
8303 # We used to match only the files named `Makefile.in', but8967 # We used to match only the files named 'Makefile.in', but
8304 # some people rename them; so instead we look at the file content.8968 # some people rename them; so instead we look at the file content.
8305 # Grep'ing the first line is not enough: some people post-process8969 # Grep'ing the first line is not enough: some people post-process
8306 # each Makefile.in and add a new line on top of each file to say so.8970 # each Makefile.in and add a new line on top of each file to say so.
@@ -8312,21 +8976,19 @@
8312 continue8976 continue
8313 fi8977 fi
8314 # Extract the definition of DEPDIR, am__include, and am__quote8978 # Extract the definition of DEPDIR, am__include, and am__quote
8315 # from the Makefile without running `make'.8979 # from the Makefile without running 'make'.
8316 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`8980 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8317 test -z "$DEPDIR" && continue8981 test -z "$DEPDIR" && continue
8318 am__include=`sed -n 's/^am__include = //p' < "$mf"`8982 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8319 test -z "am__include" && continue8983 test -z "am__include" && continue
8320 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`8984 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8321 # When using ansi2knr, U may be empty or an underscore; expand it
8322 U=`sed -n 's/^U = //p' < "$mf"`
8323 # Find all dependency output files, they are included files with8985 # Find all dependency output files, they are included files with
8324 # $(DEPDIR) in their names. We invoke sed twice because it is the8986 # $(DEPDIR) in their names. We invoke sed twice because it is the
8325 # simplest approach to changing $(DEPDIR) to its actual value in the8987 # simplest approach to changing $(DEPDIR) to its actual value in the
8326 # expansion.8988 # expansion.
8327 for file in `sed -n "8989 for file in `sed -n "
8328 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \8990 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8329 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do8991 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8330 # Make sure the directory exists.8992 # Make sure the directory exists.
8331 test -f "$dirpart/$file" && continue8993 test -f "$dirpart/$file" && continue
8332 fdir=`AS_DIRNAME(["$file"])`8994 fdir=`AS_DIRNAME(["$file"])`
@@ -8344,7 +9006,7 @@
8344# This macro should only be invoked once -- use via AC_REQUIRE.9006# This macro should only be invoked once -- use via AC_REQUIRE.
8345#9007#
8346# This code is only required when automatic dependency tracking9008# This code is only required when automatic dependency tracking
8347# is enabled. FIXME. This creates each `.P' file that we will9009# is enabled. FIXME. This creates each '.P' file that we will
8348# need in order to bootstrap the dependency handling code.9010# need in order to bootstrap the dependency handling code.
8349AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],9011AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
8350[AC_CONFIG_COMMANDS([depfiles],9012[AC_CONFIG_COMMANDS([depfiles],
@@ -8352,8 +9014,7 @@
8352 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])9014 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
8353])9015])
83549016
8355# Copyright (C) 1996, 1997, 2000, 2001, 2003, 20059017# Copyright (C) 1996-2012 Free Software Foundation, Inc.
8356# Free Software Foundation, Inc.
8357#9018#
8358# This file is free software; the Free Software Foundation9019# This file is free software; the Free Software Foundation
8359# gives unlimited permission to copy and/or distribute it,9020# gives unlimited permission to copy and/or distribute it,
@@ -8366,14 +9027,13 @@
83669027
8367# Do all the work for Automake. -*- Autoconf -*-9028# Do all the work for Automake. -*- Autoconf -*-
83689029
8369# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,9030# Copyright (C) 1996-2012 Free Software Foundation, Inc.
8370# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8371#9031#
8372# This file is free software; the Free Software Foundation9032# This file is free software; the Free Software Foundation
8373# gives unlimited permission to copy and/or distribute it,9033# gives unlimited permission to copy and/or distribute it,
8374# with or without modifications, as long as this notice is preserved.9034# with or without modifications, as long as this notice is preserved.
83759035
8376# serial 169036# serial 19
83779037
8378# This macro actually does too much. Some checks are only needed if9038# This macro actually does too much. Some checks are only needed if
8379# your package does certain things. But this isn't really a big deal.9039# your package does certain things. But this isn't really a big deal.
@@ -8419,31 +9079,36 @@
8419# Define the identity of the package.9079# Define the identity of the package.
8420dnl Distinguish between old-style and new-style calls.9080dnl Distinguish between old-style and new-style calls.
8421m4_ifval([$2],9081m4_ifval([$2],
8422[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl9082[AC_DIAGNOSE([obsolete],
9083[$0: two- and three-arguments forms are deprecated. For more info, see:
9084http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
9085m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
8423 AC_SUBST([PACKAGE], [$1])dnl9086 AC_SUBST([PACKAGE], [$1])dnl
8424 AC_SUBST([VERSION], [$2])],9087 AC_SUBST([VERSION], [$2])],
8425[_AM_SET_OPTIONS([$1])dnl9088[_AM_SET_OPTIONS([$1])dnl
8426dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.9089dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8427m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,9090m4_if(
9091 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
9092 [ok:ok],,
8428 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl9093 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8429 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl9094 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8430 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl9095 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
84319096
8432_AM_IF_OPTION([no-define],,9097_AM_IF_OPTION([no-define],,
8433[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])9098[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
8434 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl9099 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
84359100
8436# Some tools Automake needs.9101# Some tools Automake needs.
8437AC_REQUIRE([AM_SANITY_CHECK])dnl9102AC_REQUIRE([AM_SANITY_CHECK])dnl
8438AC_REQUIRE([AC_ARG_PROGRAM])dnl9103AC_REQUIRE([AC_ARG_PROGRAM])dnl
8439AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})9104AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
8440AM_MISSING_PROG(AUTOCONF, autoconf)9105AM_MISSING_PROG([AUTOCONF], [autoconf])
8441AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})9106AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
8442AM_MISSING_PROG(AUTOHEADER, autoheader)9107AM_MISSING_PROG([AUTOHEADER], [autoheader])
8443AM_MISSING_PROG(MAKEINFO, makeinfo)9108AM_MISSING_PROG([MAKEINFO], [makeinfo])
8444AC_REQUIRE([AM_PROG_INSTALL_SH])dnl9109AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8445AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl9110AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
8446AC_REQUIRE([AM_PROG_MKDIR_P])dnl9111AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8447# We need awk for the "check" target. The system "awk" is bad on9112# We need awk for the "check" target. The system "awk" is bad on
8448# some platforms.9113# some platforms.
8449AC_REQUIRE([AC_PROG_AWK])dnl9114AC_REQUIRE([AC_PROG_AWK])dnl
@@ -8454,28 +9119,35 @@
8454 [_AM_PROG_TAR([v7])])])9119 [_AM_PROG_TAR([v7])])])
8455_AM_IF_OPTION([no-dependencies],,9120_AM_IF_OPTION([no-dependencies],,
8456[AC_PROVIDE_IFELSE([AC_PROG_CC],9121[AC_PROVIDE_IFELSE([AC_PROG_CC],
8457 [_AM_DEPENDENCIES(CC)],9122 [_AM_DEPENDENCIES([CC])],
8458 [define([AC_PROG_CC],9123 [m4_define([AC_PROG_CC],
8459 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl9124 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
8460AC_PROVIDE_IFELSE([AC_PROG_CXX],9125AC_PROVIDE_IFELSE([AC_PROG_CXX],
8461 [_AM_DEPENDENCIES(CXX)],9126 [_AM_DEPENDENCIES([CXX])],
8462 [define([AC_PROG_CXX],9127 [m4_define([AC_PROG_CXX],
8463 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl9128 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
8464AC_PROVIDE_IFELSE([AC_PROG_OBJC],9129AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8465 [_AM_DEPENDENCIES(OBJC)],9130 [_AM_DEPENDENCIES([OBJC])],
8466 [define([AC_PROG_OBJC],9131 [m4_define([AC_PROG_OBJC],
8467 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl9132 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
9133dnl Support for Objective C++ was only introduced in Autoconf 2.65,
9134dnl but we still cater to Autoconf 2.62.
9135m4_ifdef([AC_PROG_OBJCXX],
9136[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
9137 [_AM_DEPENDENCIES([OBJCXX])],
9138 [m4_define([AC_PROG_OBJCXX],
9139 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
8468])9140])
8469_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl9141_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
8470dnl The `parallel-tests' driver may need to know about EXEEXT, so add the9142dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
8471dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro9143dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
8472dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.9144dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
8473AC_CONFIG_COMMANDS_PRE(dnl9145AC_CONFIG_COMMANDS_PRE(dnl
8474[m4_provide_if([_AM_COMPILER_EXEEXT],9146[m4_provide_if([_AM_COMPILER_EXEEXT],
8475 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl9147 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
8476])9148])
84779149
8478dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not9150dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
8479dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further9151dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
8480dnl mangled by Autoconf and run in a shell conditional statement.9152dnl mangled by Autoconf and run in a shell conditional statement.
8481m4_define([_AC_COMPILER_EXEEXT],9153m4_define([_AC_COMPILER_EXEEXT],
@@ -8503,12 +9175,14 @@
8503done9175done
8504echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])9176echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
85059177
8506# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.9178# Copyright (C) 2001-2012 Free Software Foundation, Inc.
8507#9179#
8508# This file is free software; the Free Software Foundation9180# This file is free software; the Free Software Foundation
8509# gives unlimited permission to copy and/or distribute it,9181# gives unlimited permission to copy and/or distribute it,
8510# with or without modifications, as long as this notice is preserved.9182# with or without modifications, as long as this notice is preserved.
85119183
9184# serial 8
9185
8512# AM_PROG_INSTALL_SH9186# AM_PROG_INSTALL_SH
8513# ------------------9187# ------------------
8514# Define $install_sh.9188# Define $install_sh.
@@ -8522,9 +9196,9 @@
8522 install_sh="\${SHELL} $am_aux_dir/install-sh"9196 install_sh="\${SHELL} $am_aux_dir/install-sh"
8523 esac9197 esac
8524fi9198fi
8525AC_SUBST(install_sh)])9199AC_SUBST([install_sh])])
85269200
8527# Copyright (C) 2003, 2005 Free Software Foundation, Inc.9201# Copyright (C) 2003-2012 Free Software Foundation, Inc.
8528#9202#
8529# This file is free software; the Free Software Foundation9203# This file is free software; the Free Software Foundation
8530# gives unlimited permission to copy and/or distribute it,9204# gives unlimited permission to copy and/or distribute it,
@@ -8547,13 +9221,13 @@
85479221
8548# Check to see how 'make' treats includes. -*- Autoconf -*-9222# Check to see how 'make' treats includes. -*- Autoconf -*-
85499223
8550# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.9224# Copyright (C) 2001-2012 Free Software Foundation, Inc.
8551#9225#
8552# This file is free software; the Free Software Foundation9226# This file is free software; the Free Software Foundation
8553# gives unlimited permission to copy and/or distribute it,9227# gives unlimited permission to copy and/or distribute it,
8554# with or without modifications, as long as this notice is preserved.9228# with or without modifications, as long as this notice is preserved.
85559229
8556# serial 49230# serial 5
85579231
8558# AM_MAKE_INCLUDE()9232# AM_MAKE_INCLUDE()
8559# -----------------9233# -----------------
@@ -8572,7 +9246,7 @@
8572_am_result=none9246_am_result=none
8573# First try GNU make style include.9247# First try GNU make style include.
8574echo "include confinc" > confmf9248echo "include confinc" > confmf
8575# Ignore all kinds of additional output from `make'.9249# Ignore all kinds of additional output from 'make'.
8576case `$am_make -s -f confmf 2> /dev/null` in #(9250case `$am_make -s -f confmf 2> /dev/null` in #(
8577*the\ am__doit\ target*)9251*the\ am__doit\ target*)
8578 am__include=include9252 am__include=include
@@ -8599,14 +9273,13 @@
85999273
8600# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-9274# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
86019275
8602# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 20089276# Copyright (C) 1997-2012 Free Software Foundation, Inc.
8603# Free Software Foundation, Inc.
8604#9277#
8605# This file is free software; the Free Software Foundation9278# This file is free software; the Free Software Foundation
8606# gives unlimited permission to copy and/or distribute it,9279# gives unlimited permission to copy and/or distribute it,
8607# with or without modifications, as long as this notice is preserved.9280# with or without modifications, as long as this notice is preserved.
86089281
8609# serial 69282# serial 7
86109283
8611# AM_MISSING_PROG(NAME, PROGRAM)9284# AM_MISSING_PROG(NAME, PROGRAM)
8612# ------------------------------9285# ------------------------------
@@ -8636,45 +9309,19 @@
8636 am_missing_run="$MISSING --run "9309 am_missing_run="$MISSING --run "
8637else9310else
8638 am_missing_run=9311 am_missing_run=
8639 AC_MSG_WARN([`missing' script is too old or missing])9312 AC_MSG_WARN(['missing' script is too old or missing])
8640fi9313fi
8641])9314])
86429315
8643# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8644#
8645# This file is free software; the Free Software Foundation
8646# gives unlimited permission to copy and/or distribute it,
8647# with or without modifications, as long as this notice is preserved.
8648
8649# AM_PROG_MKDIR_P
8650# ---------------
8651# Check for `mkdir -p'.
8652AC_DEFUN([AM_PROG_MKDIR_P],
8653[AC_PREREQ([2.60])dnl
8654AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8655dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
8656dnl while keeping a definition of mkdir_p for backward compatibility.
8657dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8658dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8659dnl Makefile.ins that do not define MKDIR_P, so we do our own
8660dnl adjustment using top_builddir (which is defined more often than
8661dnl MKDIR_P).
8662AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8663case $mkdir_p in
8664 [[\\/$]]* | ?:[[\\/]]*) ;;
8665 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8666esac
8667])
8668
8669# Helper functions for option handling. -*- Autoconf -*-9316# Helper functions for option handling. -*- Autoconf -*-
86709317
8671# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.9318# Copyright (C) 2001-2012 Free Software Foundation, Inc.
8672#9319#
8673# This file is free software; the Free Software Foundation9320# This file is free software; the Free Software Foundation
8674# gives unlimited permission to copy and/or distribute it,9321# gives unlimited permission to copy and/or distribute it,
8675# with or without modifications, as long as this notice is preserved.9322# with or without modifications, as long as this notice is preserved.
86769323
8677# serial 49324# serial 6
86789325
8679# _AM_MANGLE_OPTION(NAME)9326# _AM_MANGLE_OPTION(NAME)
8680# -----------------------9327# -----------------------
@@ -8682,13 +9329,13 @@
8682[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])9329[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
86839330
8684# _AM_SET_OPTION(NAME)9331# _AM_SET_OPTION(NAME)
8685# ------------------------------9332# --------------------
8686# Set option NAME. Presently that only means defining a flag for this option.9333# Set option NAME. Presently that only means defining a flag for this option.
8687AC_DEFUN([_AM_SET_OPTION],9334AC_DEFUN([_AM_SET_OPTION],
8688[m4_define(_AM_MANGLE_OPTION([$1]), 1)])9335[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
86899336
8690# _AM_SET_OPTIONS(OPTIONS)9337# _AM_SET_OPTIONS(OPTIONS)
8691# ----------------------------------9338# ------------------------
8692# OPTIONS is a space-separated list of Automake options.9339# OPTIONS is a space-separated list of Automake options.
8693AC_DEFUN([_AM_SET_OPTIONS],9340AC_DEFUN([_AM_SET_OPTIONS],
8694[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])9341[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
@@ -8701,22 +9348,18 @@
87019348
8702# Check to make sure that the build environment is sane. -*- Autoconf -*-9349# Check to make sure that the build environment is sane. -*- Autoconf -*-
87039350
8704# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 20089351# Copyright (C) 1996-2012 Free Software Foundation, Inc.
8705# Free Software Foundation, Inc.
8706#9352#
8707# This file is free software; the Free Software Foundation9353# This file is free software; the Free Software Foundation
8708# gives unlimited permission to copy and/or distribute it,9354# gives unlimited permission to copy and/or distribute it,
8709# with or without modifications, as long as this notice is preserved.9355# with or without modifications, as long as this notice is preserved.
87109356
8711# serial 59357# serial 9
87129358
8713# AM_SANITY_CHECK9359# AM_SANITY_CHECK
8714# ---------------9360# ---------------
8715AC_DEFUN([AM_SANITY_CHECK],9361AC_DEFUN([AM_SANITY_CHECK],
8716[AC_MSG_CHECKING([whether build environment is sane])9362[AC_MSG_CHECKING([whether build environment is sane])
8717# Just in case
8718sleep 1
8719echo timestamp > conftest.file
8720# Reject unsafe characters in $srcdir or the absolute working directory9363# Reject unsafe characters in $srcdir or the absolute working directory
8721# name. Accept space and tab only in the latter.9364# name. Accept space and tab only in the latter.
8722am_lf='9365am_lf='
@@ -8727,32 +9370,40 @@
8727esac9370esac
8728case $srcdir in9371case $srcdir in
8729 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)9372 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
8730 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;9373 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
8731esac9374esac
87329375
8733# Do `set' in a subshell so we don't clobber the current shell's9376# Do 'set' in a subshell so we don't clobber the current shell's
8734# arguments. Must try -L first in case configure is actually a9377# arguments. Must try -L first in case configure is actually a
8735# symlink; some systems play weird games with the mod time of symlinks9378# symlink; some systems play weird games with the mod time of symlinks
8736# (eg FreeBSD returns the mod time of the symlink's containing9379# (eg FreeBSD returns the mod time of the symlink's containing
8737# directory).9380# directory).
8738if (9381if (
8739 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`9382 am_has_slept=no
8740 if test "$[*]" = "X"; then9383 for am_try in 1 2; do
8741 # -L didn't work.9384 echo "timestamp, slept: $am_has_slept" > conftest.file
8742 set X `ls -t "$srcdir/configure" conftest.file`9385 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8743 fi9386 if test "$[*]" = "X"; then
8744 rm -f conftest.file9387 # -L didn't work.
8745 if test "$[*]" != "X $srcdir/configure conftest.file" \9388 set X `ls -t "$srcdir/configure" conftest.file`
8746 && test "$[*]" != "X conftest.file $srcdir/configure"; then9389 fi
87479390 if test "$[*]" != "X $srcdir/configure conftest.file" \
8748 # If neither matched, then we have a broken ls. This can happen9391 && test "$[*]" != "X conftest.file $srcdir/configure"; then
8749 # if, for instance, CONFIG_SHELL is bash and it inherits a9392
8750 # broken ls alias from the environment. This has actually9393 # If neither matched, then we have a broken ls. This can happen
8751 # happened. Such a system could not be considered "sane".9394 # if, for instance, CONFIG_SHELL is bash and it inherits a
8752 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken9395 # broken ls alias from the environment. This has actually
8753alias in your environment])9396 # happened. Such a system could not be considered "sane".
8754 fi9397 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
87559398 alias in your environment])
9399 fi
9400 if test "$[2]" = conftest.file || test $am_try -eq 2; then
9401 break
9402 fi
9403 # Just in case.
9404 sleep 1
9405 am_has_slept=yes
9406 done
8756 test "$[2]" = conftest.file9407 test "$[2]" = conftest.file
8757 )9408 )
8758then9409then
@@ -8762,43 +9413,61 @@
8762 AC_MSG_ERROR([newly created file is older than distributed files!9413 AC_MSG_ERROR([newly created file is older than distributed files!
8763Check your system clock])9414Check your system clock])
8764fi9415fi
8765AC_MSG_RESULT(yes)])9416AC_MSG_RESULT([yes])
9417# If we didn't sleep, we still need to ensure time stamps of config.status and
9418# generated files are strictly newer.
9419am_sleep_pid=
9420if grep 'slept: no' conftest.file >/dev/null 2>&1; then
9421 ( sleep 1 ) &
9422 am_sleep_pid=$!
9423fi
9424AC_CONFIG_COMMANDS_PRE(
9425 [AC_MSG_CHECKING([that generated files are newer than configure])
9426 if test -n "$am_sleep_pid"; then
9427 # Hide warnings about reused PIDs.
9428 wait $am_sleep_pid 2>/dev/null
9429 fi
9430 AC_MSG_RESULT([done])])
9431rm -f conftest.file
9432])
87669433
8767# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.9434# Copyright (C) 2001-2012 Free Software Foundation, Inc.
8768#9435#
8769# This file is free software; the Free Software Foundation9436# This file is free software; the Free Software Foundation
8770# gives unlimited permission to copy and/or distribute it,9437# gives unlimited permission to copy and/or distribute it,
8771# with or without modifications, as long as this notice is preserved.9438# with or without modifications, as long as this notice is preserved.
87729439
9440# serial 2
9441
8773# AM_PROG_INSTALL_STRIP9442# AM_PROG_INSTALL_STRIP
8774# ---------------------9443# ---------------------
8775# One issue with vendor `install' (even GNU) is that you can't9444# One issue with vendor 'install' (even GNU) is that you can't
8776# specify the program used to strip binaries. This is especially9445# specify the program used to strip binaries. This is especially
8777# annoying in cross-compiling environments, where the build's strip9446# annoying in cross-compiling environments, where the build's strip
8778# is unlikely to handle the host's binaries.9447# is unlikely to handle the host's binaries.
8779# Fortunately install-sh will honor a STRIPPROG variable, so we9448# Fortunately install-sh will honor a STRIPPROG variable, so we
8780# always use install-sh in `make install-strip', and initialize9449# always use install-sh in "make install-strip", and initialize
8781# STRIPPROG with the value of the STRIP variable (set by the user).9450# STRIPPROG with the value of the STRIP variable (set by the user).
8782AC_DEFUN([AM_PROG_INSTALL_STRIP],9451AC_DEFUN([AM_PROG_INSTALL_STRIP],
8783[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl9452[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8784# Installed binaries are usually stripped using `strip' when the user9453# Installed binaries are usually stripped using 'strip' when the user
8785# run `make install-strip'. However `strip' might not be the right9454# run "make install-strip". However 'strip' might not be the right
8786# tool to use in cross-compilation environments, therefore Automake9455# tool to use in cross-compilation environments, therefore Automake
8787# will honor the `STRIP' environment variable to overrule this program.9456# will honor the 'STRIP' environment variable to overrule this program.
8788dnl Don't test for $cross_compiling = yes, because it might be `maybe'.9457dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
8789if test "$cross_compiling" != no; then9458if test "$cross_compiling" != no; then
8790 AC_CHECK_TOOL([STRIP], [strip], :)9459 AC_CHECK_TOOL([STRIP], [strip], :)
8791fi9460fi
8792INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"9461INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8793AC_SUBST([INSTALL_STRIP_PROGRAM])])9462AC_SUBST([INSTALL_STRIP_PROGRAM])])
87949463
8795# Copyright (C) 2006, 2008 Free Software Foundation, Inc.9464# Copyright (C) 2006-2012 Free Software Foundation, Inc.
8796#9465#
8797# This file is free software; the Free Software Foundation9466# This file is free software; the Free Software Foundation
8798# gives unlimited permission to copy and/or distribute it,9467# gives unlimited permission to copy and/or distribute it,
8799# with or without modifications, as long as this notice is preserved.9468# with or without modifications, as long as this notice is preserved.
88009469
8801# serial 29470# serial 3
88029471
8803# _AM_SUBST_NOTMAKE(VARIABLE)9472# _AM_SUBST_NOTMAKE(VARIABLE)
8804# ---------------------------9473# ---------------------------
@@ -8807,24 +9476,24 @@
8807AC_DEFUN([_AM_SUBST_NOTMAKE])9476AC_DEFUN([_AM_SUBST_NOTMAKE])
88089477
8809# AM_SUBST_NOTMAKE(VARIABLE)9478# AM_SUBST_NOTMAKE(VARIABLE)
8810# ---------------------------9479# --------------------------
8811# Public sister of _AM_SUBST_NOTMAKE.9480# Public sister of _AM_SUBST_NOTMAKE.
8812AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])9481AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
88139482
8814# Check how to create a tarball. -*- Autoconf -*-9483# Check how to create a tarball. -*- Autoconf -*-
88159484
8816# Copyright (C) 2004, 2005 Free Software Foundation, Inc.9485# Copyright (C) 2004-2012 Free Software Foundation, Inc.
8817#9486#
8818# This file is free software; the Free Software Foundation9487# This file is free software; the Free Software Foundation
8819# gives unlimited permission to copy and/or distribute it,9488# gives unlimited permission to copy and/or distribute it,
8820# with or without modifications, as long as this notice is preserved.9489# with or without modifications, as long as this notice is preserved.
88219490
8822# serial 29491# serial 3
88239492
8824# _AM_PROG_TAR(FORMAT)9493# _AM_PROG_TAR(FORMAT)
8825# --------------------9494# --------------------
8826# Check how to create a tarball in format FORMAT.9495# Check how to create a tarball in format FORMAT.
8827# FORMAT should be one of `v7', `ustar', or `pax'.9496# FORMAT should be one of 'v7', 'ustar', or 'pax'.
8828#9497#
8829# Substitute a variable $(am__tar) that is a command9498# Substitute a variable $(am__tar) that is a command
8830# writing to stdout a FORMAT-tarball containing the directory9499# writing to stdout a FORMAT-tarball containing the directory
@@ -8835,10 +9504,11 @@
8835# a tarball read from stdin.9504# a tarball read from stdin.
8836# $(am__untar) < result.tar9505# $(am__untar) < result.tar
8837AC_DEFUN([_AM_PROG_TAR],9506AC_DEFUN([_AM_PROG_TAR],
8838[# Always define AMTAR for backward compatibility.9507[# Always define AMTAR for backward compatibility. Yes, it's still used
8839AM_MISSING_PROG([AMTAR], [tar])9508# in the wild :-( We should find a proper way to deprecate it ...
9509AC_SUBST([AMTAR], ['$${TAR-tar}'])
8840m4_if([$1], [v7],9510m4_if([$1], [v7],
8841 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],9511 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
8842 [m4_case([$1], [ustar],, [pax],,9512 [m4_case([$1], [ustar],, [pax],,
8843 [m4_fatal([Unknown tar format])])9513 [m4_fatal([Unknown tar format])])
8844AC_MSG_CHECKING([how to create a $1 tar archive])9514AC_MSG_CHECKING([how to create a $1 tar archive])
@@ -8846,7 +9516,7 @@
8846_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'9516_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
8847_am_tools=${am_cv_prog_tar_$1-$_am_tools}9517_am_tools=${am_cv_prog_tar_$1-$_am_tools}
8848# Do not fold the above two line into one, because Tru64 sh and9518# Do not fold the above two line into one, because Tru64 sh and
8849# Solaris sh will not grok spaces in the rhs of `-'.9519# Solaris sh will not grok spaces in the rhs of '-'.
8850for _am_tool in $_am_tools9520for _am_tool in $_am_tools
8851do9521do
8852 case $_am_tool in9522 case $_am_tool in
88539523
=== modified file 'config/config.guess'
--- config/config.guess 2010-05-12 20:21:46 +0000
+++ config/config.guess 2013-02-20 19:26:35 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 20104# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc.5# 2011, 2012 Free Software Foundation, Inc.
66
7timestamp='2009-12-30'7timestamp='2012-02-10'
88
9# This file is free software; you can redistribute it and/or modify it9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by10# under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@
17# General Public License for more details.17# General Public License for more details.
18#18#
19# You should have received a copy of the GNU General Public License19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software20# along with this program; if not, see <http://www.gnu.org/licenses/>.
21# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
22# 02110-1301, USA.
23#21#
24# As a special exception to the GNU General Public License, if you22# As a special exception to the GNU General Public License, if you
25# distribute this file as part of a program that contains a23# distribute this file as part of a program that contains a
@@ -57,8 +55,8 @@
5755
58Originally written by Per Bothner.56Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,57Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free582001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
61Software Foundation, Inc.59Free Software Foundation, Inc.
6260
63This is free software; see the source for copying conditions. There is NO61This is free software; see the source for copying conditions. There is NO
64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."62warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -168,7 +166,7 @@
168case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in166case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
169 *:NetBSD:*:*)167 *:NetBSD:*:*)
170 # NetBSD (nbsd) targets should (where applicable) match one or168 # NetBSD (nbsd) targets should (where applicable) match one or
171 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,169 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
172 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently170 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
173 # switched to ELF, *-*-netbsd* would select the old171 # switched to ELF, *-*-netbsd* would select the old
174 # object file format. This provides both forward172 # object file format. This provides both forward
@@ -204,7 +202,7 @@
204 fi202 fi
205 ;;203 ;;
206 *)204 *)
207 os=netbsd205 os=netbsd
208 ;;206 ;;
209 esac207 esac
210 # The OS release208 # The OS release
@@ -247,7 +245,7 @@
247 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`245 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
248 ;;246 ;;
249 *5.*)247 *5.*)
250 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`248 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
251 ;;249 ;;
252 esac250 esac
253 # According to Compaq, /usr/sbin/psrinfo has been available on251 # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -293,7 +291,10 @@
293 # A Xn.n version is an unreleased experimental baselevel.291 # A Xn.n version is an unreleased experimental baselevel.
294 # 1.2 uses "1.2" for uname -r.292 # 1.2 uses "1.2" for uname -r.
295 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`293 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
296 exit ;;294 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
295 exitcode=$?
296 trap '' 0
297 exit $exitcode ;;
297 Alpha\ *:Windows_NT*:*)298 Alpha\ *:Windows_NT*:*)
298 # How do we know it's Interix rather than the generic POSIX subsystem?299 # How do we know it's Interix rather than the generic POSIX subsystem?
299 # Should we change UNAME_MACHINE based on the output of uname instead300 # Should we change UNAME_MACHINE based on the output of uname instead
@@ -319,7 +320,7 @@
319 echo s390-ibm-zvmoe320 echo s390-ibm-zvmoe
320 exit ;;321 exit ;;
321 *:OS400:*:*)322 *:OS400:*:*)
322 echo powerpc-ibm-os400323 echo powerpc-ibm-os400
323 exit ;;324 exit ;;
324 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)325 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
325 echo arm-acorn-riscix${UNAME_RELEASE}326 echo arm-acorn-riscix${UNAME_RELEASE}
@@ -418,23 +419,23 @@
418 # MiNT. But MiNT is downward compatible to TOS, so this should419 # MiNT. But MiNT is downward compatible to TOS, so this should
419 # be no problem.420 # be no problem.
420 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)421 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
421 echo m68k-atari-mint${UNAME_RELEASE}422 echo m68k-atari-mint${UNAME_RELEASE}
422 exit ;;423 exit ;;
423 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)424 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
424 echo m68k-atari-mint${UNAME_RELEASE}425 echo m68k-atari-mint${UNAME_RELEASE}
425 exit ;;426 exit ;;
426 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)427 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
427 echo m68k-atari-mint${UNAME_RELEASE}428 echo m68k-atari-mint${UNAME_RELEASE}
428 exit ;;429 exit ;;
429 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)430 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
430 echo m68k-milan-mint${UNAME_RELEASE}431 echo m68k-milan-mint${UNAME_RELEASE}
431 exit ;;432 exit ;;
432 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)433 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
433 echo m68k-hades-mint${UNAME_RELEASE}434 echo m68k-hades-mint${UNAME_RELEASE}
434 exit ;;435 exit ;;
435 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)436 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
436 echo m68k-unknown-mint${UNAME_RELEASE}437 echo m68k-unknown-mint${UNAME_RELEASE}
437 exit ;;438 exit ;;
438 m68k:machten:*:*)439 m68k:machten:*:*)
439 echo m68k-apple-machten${UNAME_RELEASE}440 echo m68k-apple-machten${UNAME_RELEASE}
440 exit ;;441 exit ;;
@@ -504,8 +505,8 @@
504 echo m88k-motorola-sysv3505 echo m88k-motorola-sysv3
505 exit ;;506 exit ;;
506 AViiON:dgux:*:*)507 AViiON:dgux:*:*)
507 # DG/UX returns AViiON for all architectures508 # DG/UX returns AViiON for all architectures
508 UNAME_PROCESSOR=`/usr/bin/uname -p`509 UNAME_PROCESSOR=`/usr/bin/uname -p`
509 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]510 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
510 then511 then
511 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \512 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -518,7 +519,7 @@
518 else519 else
519 echo i586-dg-dgux${UNAME_RELEASE}520 echo i586-dg-dgux${UNAME_RELEASE}
520 fi521 fi
521 exit ;;522 exit ;;
522 M88*:DolphinOS:*:*) # DolphinOS (SVR3)523 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
523 echo m88k-dolphin-sysv3524 echo m88k-dolphin-sysv3
524 exit ;;525 exit ;;
@@ -575,7 +576,7 @@
575 echo rs6000-ibm-aix3.2576 echo rs6000-ibm-aix3.2
576 fi577 fi
577 exit ;;578 exit ;;
578 *:AIX:*:[456])579 *:AIX:*:[4567])
579 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`580 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
580 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then581 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
581 IBM_ARCH=rs6000582 IBM_ARCH=rs6000
@@ -618,52 +619,52 @@
618 9000/[678][0-9][0-9])619 9000/[678][0-9][0-9])
619 if [ -x /usr/bin/getconf ]; then620 if [ -x /usr/bin/getconf ]; then
620 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`621 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
621 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`622 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
622 case "${sc_cpu_version}" in623 case "${sc_cpu_version}" in
623 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0624 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
624 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1625 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
625 532) # CPU_PA_RISC2_0626 532) # CPU_PA_RISC2_0
626 case "${sc_kernel_bits}" in627 case "${sc_kernel_bits}" in
627 32) HP_ARCH="hppa2.0n" ;;628 32) HP_ARCH="hppa2.0n" ;;
628 64) HP_ARCH="hppa2.0w" ;;629 64) HP_ARCH="hppa2.0w" ;;
629 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20630 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
630 esac ;;631 esac ;;
631 esac632 esac
632 fi633 fi
633 if [ "${HP_ARCH}" = "" ]; then634 if [ "${HP_ARCH}" = "" ]; then
634 eval $set_cc_for_build635 eval $set_cc_for_build
635 sed 's/^ //' << EOF >$dummy.c636 sed 's/^ //' << EOF >$dummy.c
636637
637 #define _HPUX_SOURCE638 #define _HPUX_SOURCE
638 #include <stdlib.h>639 #include <stdlib.h>
639 #include <unistd.h>640 #include <unistd.h>
640641
641 int main ()642 int main ()
642 {643 {
643 #if defined(_SC_KERNEL_BITS)644 #if defined(_SC_KERNEL_BITS)
644 long bits = sysconf(_SC_KERNEL_BITS);645 long bits = sysconf(_SC_KERNEL_BITS);
645 #endif646 #endif
646 long cpu = sysconf (_SC_CPU_VERSION);647 long cpu = sysconf (_SC_CPU_VERSION);
647648
648 switch (cpu)649 switch (cpu)
649 {650 {
650 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;651 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
651 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;652 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
652 case CPU_PA_RISC2_0:653 case CPU_PA_RISC2_0:
653 #if defined(_SC_KERNEL_BITS)654 #if defined(_SC_KERNEL_BITS)
654 switch (bits)655 switch (bits)
655 {656 {
656 case 64: puts ("hppa2.0w"); break;657 case 64: puts ("hppa2.0w"); break;
657 case 32: puts ("hppa2.0n"); break;658 case 32: puts ("hppa2.0n"); break;
658 default: puts ("hppa2.0"); break;659 default: puts ("hppa2.0"); break;
659 } break;660 } break;
660 #else /* !defined(_SC_KERNEL_BITS) */661 #else /* !defined(_SC_KERNEL_BITS) */
661 puts ("hppa2.0"); break;662 puts ("hppa2.0"); break;
662 #endif663 #endif
663 default: puts ("hppa1.0"); break;664 default: puts ("hppa1.0"); break;
664 }665 }
665 exit (0);666 exit (0);
666 }667 }
667EOF668EOF
668 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`669 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
669 test -z "$HP_ARCH" && HP_ARCH=hppa670 test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -754,22 +755,22 @@
754 exit ;;755 exit ;;
755 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)756 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
756 echo c1-convex-bsd757 echo c1-convex-bsd
757 exit ;;758 exit ;;
758 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)759 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
759 if getsysinfo -f scalar_acc760 if getsysinfo -f scalar_acc
760 then echo c32-convex-bsd761 then echo c32-convex-bsd
761 else echo c2-convex-bsd762 else echo c2-convex-bsd
762 fi763 fi
763 exit ;;764 exit ;;
764 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)765 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
765 echo c34-convex-bsd766 echo c34-convex-bsd
766 exit ;;767 exit ;;
767 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)768 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
768 echo c38-convex-bsd769 echo c38-convex-bsd
769 exit ;;770 exit ;;
770 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)771 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
771 echo c4-convex-bsd772 echo c4-convex-bsd
772 exit ;;773 exit ;;
773 CRAY*Y-MP:*:*:*)774 CRAY*Y-MP:*:*:*)
774 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'775 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
775 exit ;;776 exit ;;
@@ -793,14 +794,14 @@
793 exit ;;794 exit ;;
794 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)795 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
795 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`796 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
796 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`797 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
797 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`798 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
798 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"799 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
799 exit ;;800 exit ;;
800 5000:UNIX_System_V:4.*:*)801 5000:UNIX_System_V:4.*:*)
801 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`802 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
802 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`803 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
803 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"804 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
804 exit ;;805 exit ;;
805 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)806 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
806 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}807 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -812,13 +813,12 @@
812 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}813 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
813 exit ;;814 exit ;;
814 *:FreeBSD:*:*)815 *:FreeBSD:*:*)
815 case ${UNAME_MACHINE} in816 UNAME_PROCESSOR=`/usr/bin/uname -p`
816 pc98)817 case ${UNAME_PROCESSOR} in
817 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
818 amd64)818 amd64)
819 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;819 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
820 *)820 *)
821 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;821 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
822 esac822 esac
823 exit ;;823 exit ;;
824 i*:CYGWIN*:*)824 i*:CYGWIN*:*)
@@ -827,15 +827,18 @@
827 *:MINGW*:*)827 *:MINGW*:*)
828 echo ${UNAME_MACHINE}-pc-mingw32828 echo ${UNAME_MACHINE}-pc-mingw32
829 exit ;;829 exit ;;
830 i*:MSYS*:*)
831 echo ${UNAME_MACHINE}-pc-msys
832 exit ;;
830 i*:windows32*:*)833 i*:windows32*:*)
831 # uname -m includes "-pc" on this system.834 # uname -m includes "-pc" on this system.
832 echo ${UNAME_MACHINE}-mingw32835 echo ${UNAME_MACHINE}-mingw32
833 exit ;;836 exit ;;
834 i*:PW*:*)837 i*:PW*:*)
835 echo ${UNAME_MACHINE}-pc-pw32838 echo ${UNAME_MACHINE}-pc-pw32
836 exit ;;839 exit ;;
837 *:Interix*:*)840 *:Interix*:*)
838 case ${UNAME_MACHINE} in841 case ${UNAME_MACHINE} in
839 x86)842 x86)
840 echo i586-pc-interix${UNAME_RELEASE}843 echo i586-pc-interix${UNAME_RELEASE}
841 exit ;;844 exit ;;
@@ -881,6 +884,13 @@
881 i*86:Minix:*:*)884 i*86:Minix:*:*)
882 echo ${UNAME_MACHINE}-pc-minix885 echo ${UNAME_MACHINE}-pc-minix
883 exit ;;886 exit ;;
887 aarch64:Linux:*:*)
888 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
889 exit ;;
890 aarch64_be:Linux:*:*)
891 UNAME_MACHINE=aarch64_be
892 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
893 exit ;;
884 alpha:Linux:*:*)894 alpha:Linux:*:*)
885 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in895 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
886 EV5) UNAME_MACHINE=alphaev5 ;;896 EV5) UNAME_MACHINE=alphaev5 ;;
@@ -890,7 +900,7 @@
890 EV6) UNAME_MACHINE=alphaev6 ;;900 EV6) UNAME_MACHINE=alphaev6 ;;
891 EV67) UNAME_MACHINE=alphaev67 ;;901 EV67) UNAME_MACHINE=alphaev67 ;;
892 EV68*) UNAME_MACHINE=alphaev68 ;;902 EV68*) UNAME_MACHINE=alphaev68 ;;
893 esac903 esac
894 objdump --private-headers /bin/sh | grep -q ld.so.1904 objdump --private-headers /bin/sh | grep -q ld.so.1
895 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi905 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
896 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}906 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
@@ -902,20 +912,29 @@
902 then912 then
903 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}913 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
904 else914 else
905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi915 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
916 | grep -q __ARM_PCS_VFP
917 then
918 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
919 else
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
921 fi
906 fi922 fi
907 exit ;;923 exit ;;
908 avr32*:Linux:*:*)924 avr32*:Linux:*:*)
909 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}925 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
910 exit ;;926 exit ;;
911 cris:Linux:*:*)927 cris:Linux:*:*)
912 echo cris-axis-linux-${LIBC}928 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
913 exit ;;929 exit ;;
914 crisv32:Linux:*:*)930 crisv32:Linux:*:*)
915 echo crisv32-axis-linux-${LIBC}931 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
916 exit ;;932 exit ;;
917 frv:Linux:*:*)933 frv:Linux:*:*)
918 echo frv-unknown-linux-${LIBC}934 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
935 exit ;;
936 hexagon:Linux:*:*)
937 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
919 exit ;;938 exit ;;
920 i*86:Linux:*:*)939 i*86:Linux:*:*)
921 echo ${UNAME_MACHINE}-pc-linux-${LIBC}940 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
@@ -949,7 +968,7 @@
949 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }968 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
950 ;;969 ;;
951 or32:Linux:*:*)970 or32:Linux:*:*)
952 echo or32-unknown-linux-${LIBC}971 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
953 exit ;;972 exit ;;
954 padre:Linux:*:*)973 padre:Linux:*:*)
955 echo sparc-unknown-linux-${LIBC}974 echo sparc-unknown-linux-${LIBC}
@@ -975,7 +994,7 @@
975 echo ${UNAME_MACHINE}-ibm-linux994 echo ${UNAME_MACHINE}-ibm-linux
976 exit ;;995 exit ;;
977 sh64*:Linux:*:*)996 sh64*:Linux:*:*)
978 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}997 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
979 exit ;;998 exit ;;
980 sh*:Linux:*:*)999 sh*:Linux:*:*)
981 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1000 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
@@ -983,14 +1002,17 @@
983 sparc:Linux:*:* | sparc64:Linux:*:*)1002 sparc:Linux:*:* | sparc64:Linux:*:*)
984 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1003 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
985 exit ;;1004 exit ;;
1005 tile*:Linux:*:*)
1006 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1007 exit ;;
986 vax:Linux:*:*)1008 vax:Linux:*:*)
987 echo ${UNAME_MACHINE}-dec-linux-${LIBC}1009 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
988 exit ;;1010 exit ;;
989 x86_64:Linux:*:*)1011 x86_64:Linux:*:*)
990 echo x86_64-unknown-linux-${LIBC}1012 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
991 exit ;;1013 exit ;;
992 xtensa*:Linux:*:*)1014 xtensa*:Linux:*:*)
993 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1015 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
994 exit ;;1016 exit ;;
995 i*86:DYNIX/ptx:4*:*)1017 i*86:DYNIX/ptx:4*:*)
996 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.1018 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -999,11 +1021,11 @@
999 echo i386-sequent-sysv41021 echo i386-sequent-sysv4
1000 exit ;;1022 exit ;;
1001 i*86:UNIX_SV:4.2MP:2.*)1023 i*86:UNIX_SV:4.2MP:2.*)
1002 # Unixware is an offshoot of SVR4, but it has its own version1024 # Unixware is an offshoot of SVR4, but it has its own version
1003 # number series starting with 2...1025 # number series starting with 2...
1004 # I am not positive that other SVR4 systems won't match this,1026 # I am not positive that other SVR4 systems won't match this,
1005 # I just have to hope. -- rms.1027 # I just have to hope. -- rms.
1006 # Use sysv4.2uw... so that sysv4* matches it.1028 # Use sysv4.2uw... so that sysv4* matches it.
1007 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}1029 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1008 exit ;;1030 exit ;;
1009 i*86:OS/2:*:*)1031 i*86:OS/2:*:*)
@@ -1035,7 +1057,7 @@
1035 fi1057 fi
1036 exit ;;1058 exit ;;
1037 i*86:*:5:[678]*)1059 i*86:*:5:[678]*)
1038 # UnixWare 7.x, OpenUNIX and OpenServer 6.1060 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1039 case `/bin/uname -X | grep "^Machine"` in1061 case `/bin/uname -X | grep "^Machine"` in
1040 *486*) UNAME_MACHINE=i486 ;;1062 *486*) UNAME_MACHINE=i486 ;;
1041 *Pentium) UNAME_MACHINE=i586 ;;1063 *Pentium) UNAME_MACHINE=i586 ;;
@@ -1063,13 +1085,13 @@
1063 exit ;;1085 exit ;;
1064 pc:*:*:*)1086 pc:*:*:*)
1065 # Left here for compatibility:1087 # Left here for compatibility:
1066 # uname -m prints for DJGPP always 'pc', but it prints nothing about1088 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1067 # the processor, so we play safe by assuming i586.1089 # the processor, so we play safe by assuming i586.
1068 # Note: whatever this is, it MUST be the same as what config.sub1090 # Note: whatever this is, it MUST be the same as what config.sub
1069 # prints for the "djgpp" host, or else GDB configury will decide that1091 # prints for the "djgpp" host, or else GDB configury will decide that
1070 # this is a cross-build.1092 # this is a cross-build.
1071 echo i586-pc-msdosdjgpp1093 echo i586-pc-msdosdjgpp
1072 exit ;;1094 exit ;;
1073 Intel:Mach:3*:*)1095 Intel:Mach:3*:*)
1074 echo i386-pc-mach31096 echo i386-pc-mach3
1075 exit ;;1097 exit ;;
@@ -1104,8 +1126,8 @@
1104 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \1126 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1105 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;1127 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1106 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)1128 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1107 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1129 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1108 && { echo i486-ncr-sysv4; exit; } ;;1130 && { echo i486-ncr-sysv4; exit; } ;;
1109 NCR*:*:4.2:* | MPRAS*:*:4.2:*)1131 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1110 OS_REL='.3'1132 OS_REL='.3'
1111 test -r /etc/.relid \1133 test -r /etc/.relid \
@@ -1148,10 +1170,10 @@
1148 echo ns32k-sni-sysv1170 echo ns32k-sni-sysv
1149 fi1171 fi
1150 exit ;;1172 exit ;;
1151 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort1173 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1152 # says <Richard.M.Bartel@ccMail.Census.GOV>1174 # says <Richard.M.Bartel@ccMail.Census.GOV>
1153 echo i586-unisys-sysv41175 echo i586-unisys-sysv4
1154 exit ;;1176 exit ;;
1155 *:UNIX_System_V:4*:FTX*)1177 *:UNIX_System_V:4*:FTX*)
1156 # From Gerald Hewes <hewes@openmarket.com>.1178 # From Gerald Hewes <hewes@openmarket.com>.
1157 # How about differentiating between stratus architectures? -djm1179 # How about differentiating between stratus architectures? -djm
@@ -1177,11 +1199,11 @@
1177 exit ;;1199 exit ;;
1178 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)1200 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1179 if [ -d /usr/nec ]; then1201 if [ -d /usr/nec ]; then
1180 echo mips-nec-sysv${UNAME_RELEASE}1202 echo mips-nec-sysv${UNAME_RELEASE}
1181 else1203 else
1182 echo mips-unknown-sysv${UNAME_RELEASE}1204 echo mips-unknown-sysv${UNAME_RELEASE}
1183 fi1205 fi
1184 exit ;;1206 exit ;;
1185 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.1207 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1186 echo powerpc-be-beos1208 echo powerpc-be-beos
1187 exit ;;1209 exit ;;
@@ -1246,6 +1268,9 @@
1246 *:QNX:*:4*)1268 *:QNX:*:4*)
1247 echo i386-pc-qnx1269 echo i386-pc-qnx
1248 exit ;;1270 exit ;;
1271 NEO-?:NONSTOP_KERNEL:*:*)
1272 echo neo-tandem-nsk${UNAME_RELEASE}
1273 exit ;;
1249 NSE-?:NONSTOP_KERNEL:*:*)1274 NSE-?:NONSTOP_KERNEL:*:*)
1250 echo nse-tandem-nsk${UNAME_RELEASE}1275 echo nse-tandem-nsk${UNAME_RELEASE}
1251 exit ;;1276 exit ;;
@@ -1291,13 +1316,13 @@
1291 echo pdp10-unknown-its1316 echo pdp10-unknown-its
1292 exit ;;1317 exit ;;
1293 SEI:*:*:SEIUX)1318 SEI:*:*:SEIUX)
1294 echo mips-sei-seiux${UNAME_RELEASE}1319 echo mips-sei-seiux${UNAME_RELEASE}
1295 exit ;;1320 exit ;;
1296 *:DragonFly:*:*)1321 *:DragonFly:*:*)
1297 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`1322 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1298 exit ;;1323 exit ;;
1299 *:*VMS:*:*)1324 *:*VMS:*:*)
1300 UNAME_MACHINE=`(uname -p) 2>/dev/null`1325 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1301 case "${UNAME_MACHINE}" in1326 case "${UNAME_MACHINE}" in
1302 A*) echo alpha-dec-vms ; exit ;;1327 A*) echo alpha-dec-vms ; exit ;;
1303 I*) echo ia64-dec-vms ; exit ;;1328 I*) echo ia64-dec-vms ; exit ;;
@@ -1315,6 +1340,9 @@
1315 i*86:AROS:*:*)1340 i*86:AROS:*:*)
1316 echo ${UNAME_MACHINE}-pc-aros1341 echo ${UNAME_MACHINE}-pc-aros
1317 exit ;;1342 exit ;;
1343 x86_64:VMkernel:*:*)
1344 echo ${UNAME_MACHINE}-unknown-esx
1345 exit ;;
1318esac1346esac
13191347
1320#echo '(No uname command or uname output not recognized.)' 1>&21348#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1337,11 +1365,11 @@
1337#include <sys/param.h>1365#include <sys/param.h>
1338 printf ("m68k-sony-newsos%s\n",1366 printf ("m68k-sony-newsos%s\n",
1339#ifdef NEWSOS41367#ifdef NEWSOS4
1340 "4"1368 "4"
1341#else1369#else
1342 ""1370 ""
1343#endif1371#endif
1344 ); exit (0);1372 ); exit (0);
1345#endif1373#endif
1346#endif1374#endif
13471375
13481376
=== modified file 'config/config.sub'
--- config/config.sub 2010-05-12 20:21:46 +0000
+++ config/config.sub 2013-02-20 19:26:35 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 20104# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc.5# 2011, 2012 Free Software Foundation, Inc.
66
7timestamp='2010-01-22'7timestamp='2012-02-10'
88
9# This file is (in principle) common to ALL GNU software.9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software10# The presence of a machine in this file suggests that SOME GNU software
@@ -21,9 +21,7 @@
21# GNU General Public License for more details.21# GNU General Public License for more details.
22#22#
23# You should have received a copy of the GNU General Public License23# You should have received a copy of the GNU General Public License
24# along with this program; if not, write to the Free Software24# along with this program; if not, see <http://www.gnu.org/licenses/>.
25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26# 02110-1301, USA.
27#25#
28# As a special exception to the GNU General Public License, if you26# As a special exception to the GNU General Public License, if you
29# distribute this file as part of a program that contains a27# distribute this file as part of a program that contains a
@@ -76,8 +74,8 @@
76GNU config.sub ($timestamp)74GNU config.sub ($timestamp)
7775
78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,76Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
80Software Foundation, Inc.78Free Software Foundation, Inc.
8179
82This is free software; see the source for copying conditions. There is NO80This is free software; see the source for copying conditions. There is NO
83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -124,13 +122,18 @@
124# Here we must recognize all the valid KERNEL-OS combinations.122# Here we must recognize all the valid KERNEL-OS combinations.
125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`123maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126case $maybe_os in124case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127 knetbsd*-gnu* | netbsd*-gnu* | \
129 kopensolaris*-gnu* | \128 kopensolaris*-gnu* | \
130 storm-chaos* | os2-emx* | rtmk-nova*)129 storm-chaos* | os2-emx* | rtmk-nova*)
131 os=-$maybe_os130 os=-$maybe_os
132 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
133 ;;132 ;;
133 android-linux)
134 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;;
134 *)137 *)
135 basic_machine=`echo $1 | sed 's/-[^-]*$//'`138 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
136 if [ $basic_machine != $1 ]139 if [ $basic_machine != $1 ]
@@ -157,8 +160,8 @@
157 os=160 os=
158 basic_machine=$1161 basic_machine=$1
159 ;;162 ;;
160 -bluegene*)163 -bluegene*)
161 os=-cnk164 os=-cnk
162 ;;165 ;;
163 -sim | -cisco | -oki | -wec | -winbond)166 -sim | -cisco | -oki | -wec | -winbond)
164 os=167 os=
@@ -174,10 +177,10 @@
174 os=-chorusos177 os=-chorusos
175 basic_machine=$1178 basic_machine=$1
176 ;;179 ;;
177 -chorusrdb)180 -chorusrdb)
178 os=-chorusrdb181 os=-chorusrdb
179 basic_machine=$1182 basic_machine=$1
180 ;;183 ;;
181 -hiux*)184 -hiux*)
182 os=-hiuxwe2185 os=-hiuxwe2
183 ;;186 ;;
@@ -246,17 +249,22 @@
246 # Some are omitted here because they have special meanings below.249 # Some are omitted here because they have special meanings below.
247 1750a | 580 \250 1750a | 580 \
248 | a29k \251 | a29k \
252 | aarch64 | aarch64_be \
249 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
250 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
251 | am33_2.0 \255 | am33_2.0 \
252 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \256 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
257 | be32 | be64 \
253 | bfin \258 | bfin \
254 | c4x | clipper \259 | c4x | clipper \
255 | d10v | d30v | dlx | dsp16xx | dvp \260 | d10v | d30v | dlx | dsp16xx | dvp \
261 | epiphany \
256 | fido | fr30 | frv \262 | fido | fr30 | frv \
257 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264 | hexagon \
258 | i370 | i860 | i960 | ia64 \265 | i370 | i860 | i960 | ia64 \
259 | ip2k | iq2000 \266 | ip2k | iq2000 \
267 | le32 | le64 \
260 | lm32 \268 | lm32 \
261 | m32c | m32r | m32rle | m68000 | m68k | m88k \269 | m32c | m32r | m32rle | m68000 | m68k | m88k \
262 | maxq | mb | microblaze | mcore | mep | metag \270 | maxq | mb | microblaze | mcore | mep | metag \
@@ -282,29 +290,39 @@
282 | moxie \290 | moxie \
283 | mt \291 | mt \
284 | msp430 \292 | msp430 \
293 | nds32 | nds32le | nds32be \
285 | nios | nios2 \294 | nios | nios2 \
286 | ns16k | ns32k \295 | ns16k | ns32k \
296 | open8 \
287 | or32 \297 | or32 \
288 | pdp10 | pdp11 | pj | pjl \298 | pdp10 | pdp11 | pj | pjl \
289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \299 | powerpc | powerpc64 | powerpc64le | powerpcle \
290 | pyramid \300 | pyramid \
291 | rx \301 | rl78 | rx \
292 | score \302 | score \
293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \303 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
294 | sh64 | sh64le \304 | sh64 | sh64le \
295 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \305 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \306 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
297 | spu | strongarm \307 | spu \
298 | tahoe | thumb | tic4x | tic80 | tron \308 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
299 | ubicom32 \309 | ubicom32 \
300 | v850 | v850e \310 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
301 | we32k \311 | we32k \
302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \312 | x86 | xc16x | xstormy16 | xtensa \
303 | z8k | z80)313 | z8k | z80)
304 basic_machine=$basic_machine-unknown314 basic_machine=$basic_machine-unknown
305 ;;315 ;;
306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)316 c54x)
307 # Motorola 68HC11/12.317 basic_machine=tic54x-unknown
318 ;;
319 c55x)
320 basic_machine=tic55x-unknown
321 ;;
322 c6x)
323 basic_machine=tic6x-unknown
324 ;;
325 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
308 basic_machine=$basic_machine-unknown326 basic_machine=$basic_machine-unknown
309 os=-none327 os=-none
310 ;;328 ;;
@@ -314,6 +332,21 @@
314 basic_machine=mt-unknown332 basic_machine=mt-unknown
315 ;;333 ;;
316334
335 strongarm | thumb | xscale)
336 basic_machine=arm-unknown
337 ;;
338 xgate)
339 basic_machine=$basic_machine-unknown
340 os=-none
341 ;;
342 xscaleeb)
343 basic_machine=armeb-unknown
344 ;;
345
346 xscaleel)
347 basic_machine=armel-unknown
348 ;;
349
317 # We use `pc' rather than `unknown'350 # We use `pc' rather than `unknown'
318 # because (1) that's what they normally are, and351 # because (1) that's what they normally are, and
319 # (2) the word "unknown" tends to confuse beginning users.352 # (2) the word "unknown" tends to confuse beginning users.
@@ -328,21 +361,25 @@
328 # Recognize the basic CPU types with company name.361 # Recognize the basic CPU types with company name.
329 580-* \362 580-* \
330 | a29k-* \363 | a29k-* \
364 | aarch64-* | aarch64_be-* \
331 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \365 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
332 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \366 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
333 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \367 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
334 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \368 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
335 | avr-* | avr32-* \369 | avr-* | avr32-* \
370 | be32-* | be64-* \
336 | bfin-* | bs2000-* \371 | bfin-* | bs2000-* \
337 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \372 | c[123]* | c30-* | [cjt]90-* | c4x-* \
338 | clipper-* | craynv-* | cydra-* \373 | clipper-* | craynv-* | cydra-* \
339 | d10v-* | d30v-* | dlx-* \374 | d10v-* | d30v-* | dlx-* \
340 | elxsi-* \375 | elxsi-* \
341 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \376 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
342 | h8300-* | h8500-* \377 | h8300-* | h8500-* \
343 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \378 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
379 | hexagon-* \
344 | i*86-* | i860-* | i960-* | ia64-* \380 | i*86-* | i860-* | i960-* | ia64-* \
345 | ip2k-* | iq2000-* \381 | ip2k-* | iq2000-* \
382 | le32-* | le64-* \
346 | lm32-* \383 | lm32-* \
347 | m32c-* | m32r-* | m32rle-* \384 | m32c-* | m32r-* | m32rle-* \
348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \385 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
@@ -368,26 +405,29 @@
368 | mmix-* \405 | mmix-* \
369 | mt-* \406 | mt-* \
370 | msp430-* \407 | msp430-* \
408 | nds32-* | nds32le-* | nds32be-* \
371 | nios-* | nios2-* \409 | nios-* | nios2-* \
372 | none-* | np1-* | ns16k-* | ns32k-* \410 | none-* | np1-* | ns16k-* | ns32k-* \
411 | open8-* \
373 | orion-* \412 | orion-* \
374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \413 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \414 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
376 | pyramid-* \415 | pyramid-* \
377 | romp-* | rs6000-* | rx-* \416 | rl78-* | romp-* | rs6000-* | rx-* \
378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \417 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \418 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \419 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
381 | sparclite-* \420 | sparclite-* \
382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \421 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
383 | tahoe-* | thumb-* \422 | tahoe-* \
384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \423 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \424 | tile*-* \
386 | tron-* \425 | tron-* \
387 | ubicom32-* \426 | ubicom32-* \
388 | v850-* | v850e-* | vax-* \427 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
428 | vax-* \
389 | we32k-* \429 | we32k-* \
390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \430 | x86-* | x86_64-* | xc16x-* | xps100-* \
391 | xstormy16-* | xtensa*-* \431 | xstormy16-* | xtensa*-* \
392 | ymp-* \432 | ymp-* \
393 | z8k-* | z80-*)433 | z8k-* | z80-*)
@@ -412,7 +452,7 @@
412 basic_machine=a29k-amd452 basic_machine=a29k-amd
413 os=-udi453 os=-udi
414 ;;454 ;;
415 abacus)455 abacus)
416 basic_machine=abacus-unknown456 basic_machine=abacus-unknown
417 ;;457 ;;
418 adobe68k)458 adobe68k)
@@ -482,11 +522,20 @@
482 basic_machine=powerpc-ibm522 basic_machine=powerpc-ibm
483 os=-cnk523 os=-cnk
484 ;;524 ;;
525 c54x-*)
526 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
527 ;;
528 c55x-*)
529 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
530 ;;
531 c6x-*)
532 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
533 ;;
485 c90)534 c90)
486 basic_machine=c90-cray535 basic_machine=c90-cray
487 os=-unicos536 os=-unicos
488 ;;537 ;;
489 cegcc)538 cegcc)
490 basic_machine=arm-unknown539 basic_machine=arm-unknown
491 os=-cegcc540 os=-cegcc
492 ;;541 ;;
@@ -518,7 +567,7 @@
518 basic_machine=craynv-cray567 basic_machine=craynv-cray
519 os=-unicosmp568 os=-unicosmp
520 ;;569 ;;
521 cr16)570 cr16 | cr16-*)
522 basic_machine=cr16-unknown571 basic_machine=cr16-unknown
523 os=-elf572 os=-elf
524 ;;573 ;;
@@ -676,7 +725,6 @@
676 i370-ibm* | ibm*)725 i370-ibm* | ibm*)
677 basic_machine=i370-ibm726 basic_machine=i370-ibm
678 ;;727 ;;
679# I'm not sure what "Sysv32" means. Should this be sysv3.2?
680 i*86v32)728 i*86v32)
681 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`729 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
682 os=-sysv32730 os=-sysv32
@@ -734,7 +782,7 @@
734 basic_machine=ns32k-utek782 basic_machine=ns32k-utek
735 os=-sysv783 os=-sysv
736 ;;784 ;;
737 microblaze)785 microblaze)
738 basic_machine=microblaze-xilinx786 basic_machine=microblaze-xilinx
739 ;;787 ;;
740 mingw32)788 mingw32)
@@ -791,10 +839,18 @@
791 ms1-*)839 ms1-*)
792 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`840 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
793 ;;841 ;;
842 msys)
843 basic_machine=i386-pc
844 os=-msys
845 ;;
794 mvs)846 mvs)
795 basic_machine=i370-ibm847 basic_machine=i370-ibm
796 os=-mvs848 os=-mvs
797 ;;849 ;;
850 nacl)
851 basic_machine=le32-unknown
852 os=-nacl
853 ;;
798 ncr3000)854 ncr3000)
799 basic_machine=i486-ncr855 basic_machine=i486-ncr
800 os=-sysv4856 os=-sysv4
@@ -859,6 +915,12 @@
859 np1)915 np1)
860 basic_machine=np1-gould916 basic_machine=np1-gould
861 ;;917 ;;
918 neo-tandem)
919 basic_machine=neo-tandem
920 ;;
921 nse-tandem)
922 basic_machine=nse-tandem
923 ;;
862 nsr-tandem)924 nsr-tandem)
863 basic_machine=nsr-tandem925 basic_machine=nsr-tandem
864 ;;926 ;;
@@ -941,9 +1003,10 @@
941 ;;1003 ;;
942 power) basic_machine=power-ibm1004 power) basic_machine=power-ibm
943 ;;1005 ;;
944 ppc) basic_machine=powerpc-unknown1006 ppc | ppcbe) basic_machine=powerpc-unknown
945 ;;1007 ;;
946 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`1008 ppc-* | ppcbe-*)
1009 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
947 ;;1010 ;;
948 ppcle | powerpclittle | ppc-le | powerpc-little)1011 ppcle | powerpclittle | ppc-le | powerpc-little)
949 basic_machine=powerpcle-unknown1012 basic_machine=powerpcle-unknown
@@ -1037,6 +1100,9 @@
1037 basic_machine=i860-stratus1100 basic_machine=i860-stratus
1038 os=-sysv41101 os=-sysv4
1039 ;;1102 ;;
1103 strongarm-* | thumb-*)
1104 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1105 ;;
1040 sun2)1106 sun2)
1041 basic_machine=m68000-sun1107 basic_machine=m68000-sun
1042 ;;1108 ;;
@@ -1093,25 +1159,8 @@
1093 basic_machine=t90-cray1159 basic_machine=t90-cray
1094 os=-unicos1160 os=-unicos
1095 ;;1161 ;;
1096 tic54x | c54x*)
1097 basic_machine=tic54x-unknown
1098 os=-coff
1099 ;;
1100 tic55x | c55x*)
1101 basic_machine=tic55x-unknown
1102 os=-coff
1103 ;;
1104 tic6x | c6x*)
1105 basic_machine=tic6x-unknown
1106 os=-coff
1107 ;;
1108 # This must be matched before tile*.
1109 tilegx*)
1110 basic_machine=tilegx-unknown
1111 os=-linux-gnu
1112 ;;
1113 tile*)1162 tile*)
1114 basic_machine=tile-unknown1163 basic_machine=$basic_machine-unknown
1115 os=-linux-gnu1164 os=-linux-gnu
1116 ;;1165 ;;
1117 tx39)1166 tx39)
@@ -1181,6 +1230,9 @@
1181 xps | xps100)1230 xps | xps100)
1182 basic_machine=xps100-honeywell1231 basic_machine=xps100-honeywell
1183 ;;1232 ;;
1233 xscale-* | xscalee[bl]-*)
1234 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1235 ;;
1184 ymp)1236 ymp)
1185 basic_machine=ymp-cray1237 basic_machine=ymp-cray
1186 os=-unicos1238 os=-unicos
@@ -1278,11 +1330,11 @@
1278if [ x"$os" != x"" ]1330if [ x"$os" != x"" ]
1279then1331then
1280case $os in1332case $os in
1281 # First match some system type aliases1333 # First match some system type aliases
1282 # that might get confused with valid system types.1334 # that might get confused with valid system types.
1283 # -solaris* is a basic system type, with this one exception.1335 # -solaris* is a basic system type, with this one exception.
1284 -auroraux)1336 -auroraux)
1285 os=-auroraux1337 os=-auroraux
1286 ;;1338 ;;
1287 -solaris1 | -solaris1.*)1339 -solaris1 | -solaris1.*)
1288 os=`echo $os | sed -e 's|solaris1|sunos4|'`1340 os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1318,8 +1370,9 @@
1318 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \1370 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1319 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \1371 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1320 | -chorusos* | -chorusrdb* | -cegcc* \1372 | -chorusos* | -chorusrdb* | -cegcc* \
1321 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1373 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1322 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \1374 | -mingw32* | -linux-gnu* | -linux-android* \
1375 | -linux-newlib* | -linux-uclibc* \
1323 | -uxpv* | -beos* | -mpeix* | -udk* \1376 | -uxpv* | -beos* | -mpeix* | -udk* \
1324 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1377 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1325 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1378 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1366,7 +1419,7 @@
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: