Merge lp:~jtaylor/ubuntu/oneiric/gfire/update-to-0.9.4 into lp:ubuntu/oneiric/gfire

Proposed by Julian Taylor
Status: Merged
Merge reported by: Stefano Rivera
Merged at revision: not available
Proposed branch: lp:~jtaylor/ubuntu/oneiric/gfire/update-to-0.9.4
Merge into: lp:ubuntu/oneiric/gfire
Diff against target: 81020 lines (+58080/-13183)
136 files modified
AUTHORS (+45/-21)
ChangeLog (+77/-11)
Makefile.am (+14/-14)
Makefile.in (+216/-105)
Makefile.mingw (+41/-0)
README (+1/-2)
VERSION (+1/-1)
aclocal.m4 (+1585/-683)
autogen.sh (+2/-0)
config.guess (+83/-35)
config.sub (+60/-15)
configure (+6458/-4939)
configure.ac (+137/-42)
data/Makefile.am (+2/-10)
data/Makefile.in (+120/-119)
data/Makefile.mingw (+16/-0)
data/games.glade (+538/-0)
data/gfire_manage.glade (+0/-405)
data/gfire_processes.xml (+0/-33)
data/scripts/server_detection/4097.py (+0/-26)
data/servers.glade (+382/-0)
debian/changelog (+12/-0)
debian/control (+2/-2)
debian/rules (+4/-0)
debian/source/format (+1/-0)
debian/watch (+1/-1)
depcomp (+312/-134)
gfire_config.h (+0/-70)
gfire_config.h.in (+126/-0)
gfire_config_win.h (+110/-0)
ltmain.sh (+1400/-535)
m4/intltool.m4 (+216/-0)
m4/libtool.m4 (+7450/-0)
m4/ltoptions.m4 (+369/-0)
m4/ltsugar.m4 (+123/-0)
m4/ltversion.m4 (+23/-0)
m4/lt~obsolete.m4 (+98/-0)
mingw.mak (+23/-0)
nsis/gfire-installer.nsi (+93/-0)
pixmaps/Makefile.am (+6/-1)
pixmaps/Makefile.in (+167/-55)
pixmaps/Makefile.mingw (+19/-0)
po/Makefile.in.in (+217/-0)
po/Makefile.mingw (+24/-0)
po/POTFILES.in (+38/-0)
po/cs.po (+1203/-0)
po/de.po (+1262/-0)
po/ee.po (+1145/-0)
po/es.po (+1228/-0)
po/fr.po (+1160/-0)
po/pl.po (+1255/-0)
po/ro.po (+1151/-0)
po/sk.po (+1227/-0)
po/sv.po (+1229/-0)
pre_config.h.in (+0/-69)
src/Makefile.am (+92/-9)
src/Makefile.in (+296/-67)
src/Makefile.mingw (+108/-0)
src/gf_base.h (+150/-0)
src/gf_buddies.c (+1946/-0)
src/gf_buddies.h (+271/-0)
src/gf_buddies_proto.c (+1059/-0)
src/gf_buddies_proto.h (+50/-0)
src/gf_chat.c (+1111/-504)
src/gf_chat.h (+101/-36)
src/gf_chat_proto.c (+1271/-0)
src/gf_chat_proto.h (+65/-0)
src/gf_debug.h (+4/-5)
src/gf_file_chunk.c (+248/-0)
src/gf_file_chunk.h (+84/-0)
src/gf_filetransfer.c (+423/-0)
src/gf_filetransfer.h (+80/-0)
src/gf_friend_search.c (+104/-0)
src/gf_friend_search.h (+31/-0)
src/gf_friend_search_proto.c (+75/-0)
src/gf_friend_search_proto.h (+33/-0)
src/gf_game_detection.c (+1273/-0)
src/gf_game_detection.h (+129/-0)
src/gf_game_detection_linux.c (+481/-0)
src/gf_game_detection_win.c (+329/-0)
src/gf_games.c (+1590/-671)
src/gf_games.h (+112/-55)
src/gf_groups.c (+183/-0)
src/gf_groups.h (+58/-0)
src/gf_groups_proto.c (+202/-0)
src/gf_groups_proto.h (+40/-0)
src/gf_menus.c (+242/-0)
src/gf_menus.h (+49/-0)
src/gf_network.c (+300/-291)
src/gf_network.h (+17/-16)
src/gf_p2p.c (+801/-0)
src/gf_p2p.h (+131/-0)
src/gf_p2p_dl_handler.c (+63/-0)
src/gf_p2p_dl_handler.h (+31/-0)
src/gf_p2p_dl_proto.c (+556/-0)
src/gf_p2p_dl_proto.h (+55/-0)
src/gf_p2p_im_handler.c (+203/-0)
src/gf_p2p_im_handler.h (+37/-0)
src/gf_p2p_natcheck.c (+329/-0)
src/gf_p2p_natcheck.h (+72/-0)
src/gf_p2p_session.c (+481/-0)
src/gf_p2p_session.h (+119/-0)
src/gf_packet.c (+0/-1766)
src/gf_packet.h (+0/-63)
src/gf_preferences.c (+132/-0)
src/gf_preferences.h (+51/-0)
src/gf_preferences_proto.c (+82/-0)
src/gf_preferences_proto.h (+34/-0)
src/gf_protocol.c (+643/-0)
src/gf_protocol.h (+69/-0)
src/gf_purple.c (+1300/-0)
src/gf_purple.h (+29/-0)
src/gf_server_browser.c (+869/-0)
src/gf_server_browser.h (+86/-0)
src/gf_server_browser_proto.c (+284/-0)
src/gf_server_browser_proto.h (+46/-0)
src/gf_server_detection.c (+213/-0)
src/gf_server_detection.h (+75/-0)
src/gf_server_detection_linux.c (+455/-0)
src/gf_server_detection_win.c (+418/-0)
src/gf_server_query.c (+364/-0)
src/gf_server_query.h (+119/-0)
src/gf_server_query_ase.c (+470/-0)
src/gf_server_query_gamespy.c (+407/-0)
src/gf_server_query_gamespy2.c (+300/-0)
src/gf_server_query_gamespy3.c (+143/-0)
src/gf_server_query_quake.c (+459/-0)
src/gf_server_query_savage.c (+347/-0)
src/gf_server_query_source.c (+502/-0)
src/gf_util.c (+677/-0)
src/gf_util.h (+85/-0)
src/gfire.c (+1479/-2195)
src/gfire.h (+177/-177)
src/gfire_proto.c (+720/-0)
src/gfire_proto.h (+58/-0)
src/gfirerc.rc (+30/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/gfire/update-to-0.9.4
Reviewer Review Type Date Requested Status
Matthias Klose Approve
Ubuntu branches Pending
Review via email: mp+76263@code.launchpad.net

Description of the change

update gfire so it works with the "new" protocol and fix a build failure.

ffe was granted, see the linked bug

To post a comment you must log in.
Revision history for this message
Matthias Klose (doko) wrote :

approved in bug 845552, please upload

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS' (properties changed: +x to -x)
--- AUTHORS 2009-08-19 15:00:17 +0000
+++ AUTHORS 2011-09-20 17:01:28 +0000
@@ -1,21 +1,45 @@
1Authors1Gfire is the combined and copyrighted work of the the following authors:
2=======2
3Wolf Beat <asraniel@fryx.ch>3Programming
4Keith Geffert <keith@penguingurus.com>4-----------
5Laurent De Marez <laurentdemarez@gmail.com>5Beat Wolf <asraniel@fryx.ch> (2005-2006)
6Warren Dumortier <nwarrenfl@gmail.com>6Keith Geffert <keith@penguingurus.com> (2006)
7Oliver Ney <oliver@dryder.de>7Laurent De Marez <laurentdemarez@gmail.com> (2008-2009)
88Warren Dumortier <nwarrenfl@gmail.com> (2009-2010)
9Special Thanks9Oliver Ney <oliver@dryder.de> (2009-2011)
10==============10
11The folks in #pidgin (previously #gaim), especially rlaager, Paco-Paco and grim (thx grim for the build system :-))11Artwork
12And a big thx to keamos which gave me many many packet dumps because i don't have windows and Xfire doesent work with WINE.12-------
13A big thx to Brian "TLM" Davenport, he helped me with the win32 release and some bugs :-)13Jakub Szypulka - Xfire protocol icons (http://cubestuff.wordpress.com/2008/06/26/xfire-goes-tango-2/)
14Huge thanks to Keith Geffert which sent me patches for features i would never been able to do myself, thanks!14León Asad Castillejos - Recolouring of the small protocol icons
1515
16Special thank to all the guys who helped testing the beta of 0.8.0!16
17Also want to thank Flames who made a nice converter for the games id list.17Special thanks
18Lots of kuddos to the GOD?GOD who made the patch for the buddies who don't appear online.18--------------
19And of course want to thank nwarrenfl who made the beautifull game manager and made auto game detection possible.19The folks in #pidgin (previously #gaim), especially rlaager, Paco-Paco and grim
20Thanks to Gamma and GODJonez who helped me with the packet system.20 for their help with libpurple
21Finaly want to thank Chewit who is also in the dev team, he hosts the site and makes sure that the games list always is up-to-date.21
22keamos
23 for his numerous xfire packet dumps
24
25
26Brian "TLM" Davenport
27 for his help with the initial win32 releases and some bugs :-)
28
29
30to all the guys who helped testing the beta of 0.8.0!
31
32COD?GOD
33 for his the patch for the buddies who don't appear online. (0.8.X series)
34
35
36Gamma and GODJonez
37 for their helpw ith the packet system.
38
39Chewit
40 who is also in the teams and keeps the project running :)
41
42
43Not listed?
44-----------
45If you think that we have missed you in this file, tell us!
2246
=== modified file 'COPYING' (properties changed: +x to -x)
=== modified file 'ChangeLog' (properties changed: +x to -x)
--- ChangeLog 2009-08-19 15:00:17 +0000
+++ ChangeLog 2011-09-20 17:01:28 +0000
@@ -1,19 +1,84 @@
1Gfire: Xfire for Pidgin1# Changelog for Gfire
2Copyright 2006-2009 Wolf Beat, Keith Geffert, Laurent De Marez, Warren Dumortier, Oliver Ney2# Copyright 2006-2011 Wolf Beat, Keith Geffert, Laurent De Marez, Warren Dumortier, Oliver Ney
3Distributed under the GPLv33# Distributed under the GPLv3
4# $Id: CHANGELOG, v0.9.4
5
6Gfire:
7
80.9.4
9- Fixed rather critical crash on startup if game detection was disabled
10- Rewrote file transfer code partially
11- Added ability to create P2P connection with local network nodes
12- Changed P2P handshaking
13- NAT Type can now be looked up in the about window
14- Added --disable-game-detection flag to configure for embedded systems or servers.
15
160.9.3
17- Fixed further, if not almost all, P2P issues
18- Fixed infinite loop on web detection usage
19- Fixed possible crashes on web detection code
20- Fixed bug in preferences code
21- Added support for keep-alive connections on the web detection (less CPU usage)
22- Added missing lower case conversion of usernames for login
23- Added server browser with drivers for ASE, GameSpy, GameSpy2, Source and Savage query protocols
24
250.9.2
26- Fixed file transfer completion issues
27- Fixed bad loading of the game list when started without a working internet connection
28- Fixed timeout issues
29
300.9.1
31- Fixed file transfer on Windows
32- Fixed game detection issues on Linux and Windows
33- Fixed MIME-type bug in the game manager on Windows
34- Added display of a buddys status message while he's playing
35- Added support for game icons
36
370.9.0
38- Added File Transfer
39- Added Server Browser
40- Added Server Detection
41- Added Avatar Support
42- Added Clan/Guild Support
43- Added Friends of Friends
44- Added Improvements to Game Manager
45- Added Windows Game Detection
46- Added Internationlization Support
47- Added Advanced Status Handling
48- Added Web Game Detection
49- Added New Icons
50- Added Notifications by libnotify
51- Added Custom group management
52- Added Largely improved chat room support
53- Added VoIP software detection (requires working server detection)
54- Complete Code Rewrite
55- Better organisation of code
56- 'Get Info' Fully Working!
57- Completed network data handling issues
58- Fixed a bug preventing a user logging in, with their username containing uppercase characters
59- Status did not change if you logged off and logged back in
60- Reversed IP address in contact listings
61- In some Linux distros, the buddy list was not being displayed
62- Messages received came with html tags
63- Fixed HTML tags in status messages, if they contained an URL
64- Fixed a crash when a "Playing" status was received
65- Fixed a crash when sending an offline message
66- Fixed several bugs with the games list and game manager
67- Updated Web Links
68- Now useable with Finch again
469
50.8.3700.8.3
6 * Corrected networking code (fixes problems with Xfire 1.13)71- Fixed some bug in the network code which denied all logins
7 * Added Xfires statistics packet72- Added the Xfire statistics packet
873
90.8.2740.8.2
10 * Update for server (website) change.75- Update the Gfire URLs due to a server change
1176
120.8.1770.8.1
13 * Fix crash on login with some Linux distros.78- Fix crash on login with some Linux distros.
14 * Small bugfixes/changes.79- Small bugfixes/changes.
15 * Improve file paths.80- Improve file paths.
16 * Only 200 characters are allowed in a topic for groupchat.81- Only 200 characters are allowed in a topic for groupchat.
1782
180.8.0830.8.0
19- Buddy authorization improved.84- Buddy authorization improved.
@@ -44,6 +109,7 @@
44 - View the permissions icon next to the buddy.109 - View the permissions icon next to the buddy.
45 - Make new groupchat channels.110 - Make new groupchat channels.
46111
112
470.7.11130.7.1
48- Minor bug fix114- Minor bug fix
49- Download Game ID List function115- Download Game ID List function
@@ -55,7 +121,7 @@
55- Ported the gfire code from Gaim to Purple121- Ported the gfire code from Gaim to Purple
56- Added new protocol icons122- Added new protocol icons
57- Added the about function (Will be used later to show the date of the game id list, so you know if you are out-dated or not.)123- Added the about function (Will be used later to show the date of the game id list, so you know if you are out-dated or not.)
58- Fixed the “(AFK) Away From Keyboard bug (typo)124- Fixed the “(AFK) Away From Keyboard” bug (typo)
59- Fixed server port bug125- Fixed server port bug
60126
61127
62128
=== modified file 'INSTALL' (properties changed: +x to -x)
=== modified file 'Makefile.am' (properties changed: +x to -x)
--- Makefile.am 2009-07-25 18:03:46 +0000
+++ Makefile.am 2011-09-20 17:01:28 +0000
@@ -1,17 +1,17 @@
1EXTRA_DIST = COPYING \1EXTRA_DIST = config.rpath config.rpath COPYING \
2 ChangeLog \2 ChangeLog \
3 INSTALL \3 INSTALL \
4 NEWS \4 NEWS \
5 README \5 README \
6 VERSION \6 VERSION \
7 gfire.spec \7 gfire.spec
8 gfire_config.h
98
10SUBDIRS = data pixmaps src9SUBDIRS = data pixmaps src
1110
12AM_CFLAGS = -DDATADIR=\"$(datadir)\"11if INSTALL_NLS
13BUILT_SOURCES = gfire_config.h12SUBDIRS += po
14$(OBJECTS): $(BUILT_SOURCES)13endif
1514
16gfire_config.h: pre_config.h15AM_CFLAGS = -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\"
17 $(sedpath) 's/#define PACKAGE/#define SNPP_PACKAGE/g' pre_config.h > $@16
17ACLOCAL_AMFLAGS = -I m4
1818
=== modified file 'Makefile.in' (properties changed: +x to -x)
--- Makefile.in 2009-07-25 18:03:46 +0000
+++ Makefile.in 2011-09-20 17:01:28 +0000
@@ -1,8 +1,9 @@
1# Makefile.in generated by automake 1.10.1 from Makefile.am.1# Makefile.in generated by automake 1.11.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, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
6# This Makefile.in is free software; the Free Software Foundation7# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,8# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.9# with or without modifications, as long as this notice is preserved.
@@ -15,8 +16,9 @@
15@SET_MAKE@16@SET_MAKE@
16VPATH = @srcdir@17VPATH = @srcdir@
17pkgdatadir = $(datadir)/@PACKAGE@18pkgdatadir = $(datadir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
18pkglibdir = $(libdir)/@PACKAGE@20pkglibdir = $(libdir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@21pkglibexecdir = $(libexecdir)/@PACKAGE@
20am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21install_sh_DATA = $(install_sh) -c -m 64423install_sh_DATA = $(install_sh) -c -m 644
22install_sh_PROGRAM = $(install_sh) -c24install_sh_PROGRAM = $(install_sh) -c
@@ -31,20 +33,28 @@
31POST_UNINSTALL = :33POST_UNINSTALL = :
32build_triplet = @build@34build_triplet = @build@
33host_triplet = @host@35host_triplet = @host@
36@INSTALL_NLS_TRUE@am__append_1 = po
34subdir = .37subdir = .
35DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36 $(srcdir)/Makefile.in $(srcdir)/pre_config.h.in \39 $(srcdir)/Makefile.in $(srcdir)/gfire_config.h.in \
37 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \40 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38 config.guess config.sub depcomp install-sh ltmain.sh missing41 config.guess config.sub depcomp install-sh ltmain.sh missing
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m442ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/configure.ac43am__aclocal_m4_deps = $(top_srcdir)/VERSION $(top_srcdir)/configure.ac
41am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \44am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)45 $(ACLOCAL_M4)
43am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \46am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
44 configure.lineno config.status.lineno47 configure.lineno config.status.lineno
45mkinstalldirs = $(install_sh) -d48mkinstalldirs = $(install_sh) -d
46CONFIG_HEADER = pre_config.h49CONFIG_HEADER = gfire_config.h
47CONFIG_CLEAN_FILES =50CONFIG_CLEAN_FILES =
51CONFIG_CLEAN_VPATH_FILES =
52AM_V_GEN = $(am__v_GEN_$(V))
53am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
54am__v_GEN_0 = @echo " GEN " $@;
55AM_V_at = $(am__v_at_$(V))
56am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
57am__v_at_0 = @
48SOURCES =58SOURCES =
49DIST_SOURCES =59DIST_SOURCES =
50RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \60RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
@@ -56,33 +66,68 @@
56 ps-recursive uninstall-recursive66 ps-recursive uninstall-recursive
57RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \67RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
58 distclean-recursive maintainer-clean-recursive68 distclean-recursive maintainer-clean-recursive
69AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
70 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
71 distdir dist dist-all distcheck
59ETAGS = etags72ETAGS = etags
60CTAGS = ctags73CTAGS = ctags
61DIST_SUBDIRS = $(SUBDIRS)74DIST_SUBDIRS = data pixmaps src po
62DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)75DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63distdir = $(PACKAGE)-$(VERSION)76distdir = $(PACKAGE)-$(VERSION)
64top_distdir = $(distdir)77top_distdir = $(distdir)
65am__remove_distdir = \78am__remove_distdir = \
66 { test ! -d $(distdir) \79 { test ! -d "$(distdir)" \
67 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \80 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
68 && rm -fr $(distdir); }; }81 && rm -fr "$(distdir)"; }; }
82am__relativize = \
83 dir0=`pwd`; \
84 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
85 sed_rest='s,^[^/]*/*,,'; \
86 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
87 sed_butlast='s,/*[^/]*$$,,'; \
88 while test -n "$$dir1"; do \
89 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
90 if test "$$first" != "."; then \
91 if test "$$first" = ".."; then \
92 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
93 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
94 else \
95 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
96 if test "$$first2" = "$$first"; then \
97 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
98 else \
99 dir2="../$$dir2"; \
100 fi; \
101 dir0="$$dir0"/"$$first"; \
102 fi; \
103 fi; \
104 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
105 done; \
106 reldir="$$dir2"
69DIST_ARCHIVES = $(distdir).tar.gz107DIST_ARCHIVES = $(distdir).tar.gz
70GZIP_ENV = --best108GZIP_ENV = --best
71distuninstallcheck_listfiles = find . -type f -print109distuninstallcheck_listfiles = find . -type f -print
72distcleancheck_listfiles = find . -type f -print110distcleancheck_listfiles = find . -type f -print
73ACLOCAL = @ACLOCAL@111ACLOCAL = @ACLOCAL@
112ALL_LINGUAS = @ALL_LINGUAS@
74AMTAR = @AMTAR@113AMTAR = @AMTAR@
114AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
75AR = @AR@115AR = @AR@
76AUTOCONF = @AUTOCONF@116AUTOCONF = @AUTOCONF@
77AUTOHEADER = @AUTOHEADER@117AUTOHEADER = @AUTOHEADER@
78AUTOMAKE = @AUTOMAKE@118AUTOMAKE = @AUTOMAKE@
79AWK = @AWK@119AWK = @AWK@
120CATALOGS = @CATALOGS@
121CATOBJEXT = @CATOBJEXT@
80CC = @CC@122CC = @CC@
81CCDEPMODE = @CCDEPMODE@123CCDEPMODE = @CCDEPMODE@
82CFLAGS = @CFLAGS@124CFLAGS = @CFLAGS@
83CPP = @CPP@125CPP = @CPP@
84CPPFLAGS = @CPPFLAGS@126CPPFLAGS = @CPPFLAGS@
85CYGPATH_W = @CYGPATH_W@127CYGPATH_W = @CYGPATH_W@
128DATADIRNAME = @DATADIRNAME@
129DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@
130DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
86DEBUG_CFLAGS = @DEBUG_CFLAGS@131DEBUG_CFLAGS = @DEBUG_CFLAGS@
87DEFS = @DEFS@132DEFS = @DEFS@
88DEPDIR = @DEPDIR@133DEPDIR = @DEPDIR@
@@ -94,19 +139,32 @@
94EGREP = @EGREP@139EGREP = @EGREP@
95EXEEXT = @EXEEXT@140EXEEXT = @EXEEXT@
96FGREP = @FGREP@141FGREP = @FGREP@
142GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
97GLIB_CFLAGS = @GLIB_CFLAGS@143GLIB_CFLAGS = @GLIB_CFLAGS@
98GLIB_GENMARSHAL = @GLIB_GENMARSHAL@144GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
99GLIB_LIBS = @GLIB_LIBS@145GLIB_LIBS = @GLIB_LIBS@
100GLIB_MKENUMS = @GLIB_MKENUMS@146GLIB_MKENUMS = @GLIB_MKENUMS@
147GMOFILES = @GMOFILES@
148GMSGFMT = @GMSGFMT@
101GOBJECT_QUERY = @GOBJECT_QUERY@149GOBJECT_QUERY = @GOBJECT_QUERY@
102GREP = @GREP@150GREP = @GREP@
151GTK_CFLAGS = @GTK_CFLAGS@
152GTK_LIBS = @GTK_LIBS@
103INSTALL = @INSTALL@153INSTALL = @INSTALL@
104INSTALL_DATA = @INSTALL_DATA@154INSTALL_DATA = @INSTALL_DATA@
105INSTALL_PROGRAM = @INSTALL_PROGRAM@155INSTALL_PROGRAM = @INSTALL_PROGRAM@
106INSTALL_SCRIPT = @INSTALL_SCRIPT@156INSTALL_SCRIPT = @INSTALL_SCRIPT@
107INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@157INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
158INSTOBJEXT = @INSTOBJEXT@
159INTLLIBS = @INTLLIBS@
160INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
161INTLTOOL_MERGE = @INTLTOOL_MERGE@
162INTLTOOL_PERL = @INTLTOOL_PERL@
163INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
108LD = @LD@164LD = @LD@
109LDFLAGS = @LDFLAGS@165LDFLAGS = @LDFLAGS@
166LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
167LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
110LIBOBJS = @LIBOBJS@168LIBOBJS = @LIBOBJS@
111LIBS = @LIBS@169LIBS = @LIBS@
112LIBTOOL = @LIBTOOL@170LIBTOOL = @LIBTOOL@
@@ -115,8 +173,13 @@
115LTLIBOBJS = @LTLIBOBJS@173LTLIBOBJS = @LTLIBOBJS@
116MAKEINFO = @MAKEINFO@174MAKEINFO = @MAKEINFO@
117MKDIR_P = @MKDIR_P@175MKDIR_P = @MKDIR_P@
176MKINSTALLDIRS = @MKINSTALLDIRS@
177MSGFMT = @MSGFMT@
178MSGFMT_OPTS = @MSGFMT_OPTS@
179MSGMERGE = @MSGMERGE@
118NM = @NM@180NM = @NM@
119NMEDIT = @NMEDIT@181NMEDIT = @NMEDIT@
182OBJDUMP = @OBJDUMP@
120OBJEXT = @OBJEXT@183OBJEXT = @OBJEXT@
121OTOOL = @OTOOL@184OTOOL = @OTOOL@
122OTOOL64 = @OTOOL64@185OTOOL64 = @OTOOL64@
@@ -125,17 +188,26 @@
125PACKAGE_NAME = @PACKAGE_NAME@188PACKAGE_NAME = @PACKAGE_NAME@
126PACKAGE_STRING = @PACKAGE_STRING@189PACKAGE_STRING = @PACKAGE_STRING@
127PACKAGE_TARNAME = @PACKAGE_TARNAME@190PACKAGE_TARNAME = @PACKAGE_TARNAME@
191PACKAGE_URL = @PACKAGE_URL@
128PACKAGE_VERSION = @PACKAGE_VERSION@192PACKAGE_VERSION = @PACKAGE_VERSION@
129PATH_SEPARATOR = @PATH_SEPARATOR@193PATH_SEPARATOR = @PATH_SEPARATOR@
130PIDGIN_CFLAGS = @PIDGIN_CFLAGS@
131PIDGIN_LIBS = @PIDGIN_LIBS@
132PKG_CONFIG = @PKG_CONFIG@194PKG_CONFIG = @PKG_CONFIG@
195PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
196PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
197POFILES = @POFILES@
198POSUB = @POSUB@
199PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
200PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
201PURPLE_CFLAGS = @PURPLE_CFLAGS@
202PURPLE_LIBS = @PURPLE_LIBS@
133RANLIB = @RANLIB@203RANLIB = @RANLIB@
134SED = @SED@204SED = @SED@
135SET_MAKE = @SET_MAKE@205SET_MAKE = @SET_MAKE@
136SHELL = @SHELL@206SHELL = @SHELL@
137STRIP = @STRIP@207STRIP = @STRIP@
208USE_NLS = @USE_NLS@
138VERSION = @VERSION@209VERSION = @VERSION@
210XGETTEXT = @XGETTEXT@
139abs_builddir = @abs_builddir@211abs_builddir = @abs_builddir@
140abs_srcdir = @abs_srcdir@212abs_srcdir = @abs_srcdir@
141abs_top_builddir = @abs_top_builddir@213abs_top_builddir = @abs_top_builddir@
@@ -172,7 +244,6 @@
172libexecdir = @libexecdir@244libexecdir = @libexecdir@
173localedir = @localedir@245localedir = @localedir@
174localstatedir = @localstatedir@246localstatedir = @localstatedir@
175lt_ECHO = @lt_ECHO@
176mandir = @mandir@247mandir = @mandir@
177mkdir_p = @mkdir_p@248mkdir_p = @mkdir_p@
178oldincludedir = @oldincludedir@249oldincludedir = @oldincludedir@
@@ -186,21 +257,21 @@
186srcdir = @srcdir@257srcdir = @srcdir@
187sysconfdir = @sysconfdir@258sysconfdir = @sysconfdir@
188target_alias = @target_alias@259target_alias = @target_alias@
260top_build_prefix = @top_build_prefix@
189top_builddir = @top_builddir@261top_builddir = @top_builddir@
190top_srcdir = @top_srcdir@262top_srcdir = @top_srcdir@
191EXTRA_DIST = COPYING \263EXTRA_DIST = config.rpath config.rpath COPYING \
192 ChangeLog \264 ChangeLog \
193 INSTALL \265 INSTALL \
194 NEWS \266 NEWS \
195 README \267 README \
196 VERSION \268 VERSION \
197 gfire.spec \269 gfire.spec
198 gfire_config.h
199270
200SUBDIRS = data pixmaps src271SUBDIRS = data pixmaps src $(am__append_1)
201AM_CFLAGS = -DDATADIR=\"$(datadir)\"272AM_CFLAGS = -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\"
202BUILT_SOURCES = gfire_config.h273ACLOCAL_AMFLAGS = -I m4
203all: $(BUILT_SOURCES) pre_config.h274all: gfire_config.h
204 $(MAKE) $(AM_MAKEFLAGS) all-recursive275 $(MAKE) $(AM_MAKEFLAGS) all-recursive
205276
206.SUFFIXES:277.SUFFIXES:
@@ -210,15 +281,15 @@
210 @for dep in $?; do \281 @for dep in $?; do \
211 case '$(am__configure_deps)' in \282 case '$(am__configure_deps)' in \
212 *$$dep*) \283 *$$dep*) \
213 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \284 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
214 cd $(srcdir) && $(AUTOMAKE) --gnu \285 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
215 && exit 0; \286 && exit 0; \
216 exit 1;; \287 exit 1;; \
217 esac; \288 esac; \
218 done; \289 done; \
219 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \290 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
220 cd $(top_srcdir) && \291 $(am__cd) $(top_srcdir) && \
221 $(AUTOMAKE) --gnu Makefile292 $(AUTOMAKE) --gnu Makefile
222.PRECIOUS: Makefile293.PRECIOUS: Makefile
223Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status294Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
224 @case '$?' in \295 @case '$?' in \
@@ -234,26 +305,27 @@
234 $(SHELL) ./config.status --recheck305 $(SHELL) ./config.status --recheck
235306
236$(top_srcdir)/configure: $(am__configure_deps)307$(top_srcdir)/configure: $(am__configure_deps)
237 cd $(srcdir) && $(AUTOCONF)308 $(am__cd) $(srcdir) && $(AUTOCONF)
238$(ACLOCAL_M4): $(am__aclocal_m4_deps)309$(ACLOCAL_M4): $(am__aclocal_m4_deps)
239 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)310 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
311$(am__aclocal_m4_deps):
240312
241pre_config.h: stamp-h1313gfire_config.h: stamp-h1
242 @if test ! -f $@; then \314 @if test ! -f $@; then \
243 rm -f stamp-h1; \315 rm -f stamp-h1; \
244 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \316 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
245 else :; fi317 else :; fi
246318
247stamp-h1: $(srcdir)/pre_config.h.in $(top_builddir)/config.status319stamp-h1: $(srcdir)/gfire_config.h.in $(top_builddir)/config.status
248 @rm -f stamp-h1320 @rm -f stamp-h1
249 cd $(top_builddir) && $(SHELL) ./config.status pre_config.h321 cd $(top_builddir) && $(SHELL) ./config.status gfire_config.h
250$(srcdir)/pre_config.h.in: $(am__configure_deps) 322$(srcdir)/gfire_config.h.in: $(am__configure_deps)
251 cd $(top_srcdir) && $(AUTOHEADER)323 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
252 rm -f stamp-h1324 rm -f stamp-h1
253 touch $@325 touch $@
254326
255distclean-hdr:327distclean-hdr:
256 -rm -f pre_config.h stamp-h1328 -rm -f gfire_config.h stamp-h1
257329
258mostlyclean-libtool:330mostlyclean-libtool:
259 -rm -f *.lo331 -rm -f *.lo
@@ -262,7 +334,7 @@
262 -rm -rf .libs _libs334 -rm -rf .libs _libs
263335
264distclean-libtool:336distclean-libtool:
265 -rm -f libtool337 -rm -f libtool config.lt
266338
267# This directory's subdirectories are mostly independent; you can cd339# This directory's subdirectories are mostly independent; you can cd
268# into them and run `make' without going through this Makefile.340# into them and run `make' without going through this Makefile.
@@ -271,7 +343,7 @@
271# (which will cause the Makefiles to be regenerated when you run `make');343# (which will cause the Makefiles to be regenerated when you run `make');
272# (2) otherwise, pass the desired values on the `make' command line.344# (2) otherwise, pass the desired values on the `make' command line.
273$(RECURSIVE_TARGETS):345$(RECURSIVE_TARGETS):
274 @failcom='exit 1'; \346 @fail= failcom='exit 1'; \
275 for f in x $$MAKEFLAGS; do \347 for f in x $$MAKEFLAGS; do \
276 case $$f in \348 case $$f in \
277 *=* | --[!k]*);; \349 *=* | --[!k]*);; \
@@ -288,7 +360,7 @@
288 else \360 else \
289 local_target="$$target"; \361 local_target="$$target"; \
290 fi; \362 fi; \
291 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \363 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
292 || eval $$failcom; \364 || eval $$failcom; \
293 done; \365 done; \
294 if test "$$dot_seen" = "no"; then \366 if test "$$dot_seen" = "no"; then \
@@ -296,7 +368,7 @@
296 fi; test -z "$$fail"368 fi; test -z "$$fail"
297369
298$(RECURSIVE_CLEAN_TARGETS):370$(RECURSIVE_CLEAN_TARGETS):
299 @failcom='exit 1'; \371 @fail= failcom='exit 1'; \
300 for f in x $$MAKEFLAGS; do \372 for f in x $$MAKEFLAGS; do \
301 case $$f in \373 case $$f in \
302 *=* | --[!k]*);; \374 *=* | --[!k]*);; \
@@ -322,16 +394,16 @@
322 else \394 else \
323 local_target="$$target"; \395 local_target="$$target"; \
324 fi; \396 fi; \
325 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \397 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
326 || eval $$failcom; \398 || eval $$failcom; \
327 done && test -z "$$fail"399 done && test -z "$$fail"
328tags-recursive:400tags-recursive:
329 list='$(SUBDIRS)'; for subdir in $$list; do \401 list='$(SUBDIRS)'; for subdir in $$list; do \
330 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \402 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
331 done403 done
332ctags-recursive:404ctags-recursive:
333 list='$(SUBDIRS)'; for subdir in $$list; do \405 list='$(SUBDIRS)'; for subdir in $$list; do \
334 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \406 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
335 done407 done
336408
337ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)409ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -339,14 +411,14 @@
339 unique=`for i in $$list; do \411 unique=`for i in $$list; do \
340 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \412 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341 done | \413 done | \
342 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \414 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
343 END { if (nonempty) { for (i in files) print i; }; }'`; \415 END { if (nonempty) { for (i in files) print i; }; }'`; \
344 mkid -fID $$unique416 mkid -fID $$unique
345tags: TAGS417tags: TAGS
346418
347TAGS: tags-recursive $(HEADERS) $(SOURCES) pre_config.h.in $(TAGS_DEPENDENCIES) \419TAGS: tags-recursive $(HEADERS) $(SOURCES) gfire_config.h.in $(TAGS_DEPENDENCIES) \
348 $(TAGS_FILES) $(LISP)420 $(TAGS_FILES) $(LISP)
349 tags=; \421 set x; \
350 here=`pwd`; \422 here=`pwd`; \
351 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \423 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
352 include_option=--etags-include; \424 include_option=--etags-include; \
@@ -358,45 +430,50 @@
358 list='$(SUBDIRS)'; for subdir in $$list; do \430 list='$(SUBDIRS)'; for subdir in $$list; do \
359 if test "$$subdir" = .; then :; else \431 if test "$$subdir" = .; then :; else \
360 test ! -f $$subdir/TAGS || \432 test ! -f $$subdir/TAGS || \
361 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \433 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
362 fi; \434 fi; \
363 done; \435 done; \
364 list='$(SOURCES) $(HEADERS) pre_config.h.in $(LISP) $(TAGS_FILES)'; \436 list='$(SOURCES) $(HEADERS) gfire_config.h.in $(LISP) $(TAGS_FILES)'; \
365 unique=`for i in $$list; do \437 unique=`for i in $$list; do \
366 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \438 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367 done | \439 done | \
368 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \440 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
369 END { if (nonempty) { for (i in files) print i; }; }'`; \441 END { if (nonempty) { for (i in files) print i; }; }'`; \
370 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \442 shift; \
443 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
371 test -n "$$unique" || unique=$$empty_fix; \444 test -n "$$unique" || unique=$$empty_fix; \
372 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \445 if test $$# -gt 0; then \
373 $$tags $$unique; \446 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
447 "$$@" $$unique; \
448 else \
449 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
450 $$unique; \
451 fi; \
374 fi452 fi
375ctags: CTAGS453ctags: CTAGS
376CTAGS: ctags-recursive $(HEADERS) $(SOURCES) pre_config.h.in $(TAGS_DEPENDENCIES) \454CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gfire_config.h.in $(TAGS_DEPENDENCIES) \
377 $(TAGS_FILES) $(LISP)455 $(TAGS_FILES) $(LISP)
378 tags=; \456 list='$(SOURCES) $(HEADERS) gfire_config.h.in $(LISP) $(TAGS_FILES)'; \
379 list='$(SOURCES) $(HEADERS) pre_config.h.in $(LISP) $(TAGS_FILES)'; \
380 unique=`for i in $$list; do \457 unique=`for i in $$list; do \
381 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \458 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
382 done | \459 done | \
383 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \460 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
384 END { if (nonempty) { for (i in files) print i; }; }'`; \461 END { if (nonempty) { for (i in files) print i; }; }'`; \
385 test -z "$(CTAGS_ARGS)$$tags$$unique" \462 test -z "$(CTAGS_ARGS)$$unique" \
386 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \463 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
387 $$tags $$unique464 $$unique
388465
389GTAGS:466GTAGS:
390 here=`$(am__cd) $(top_builddir) && pwd` \467 here=`$(am__cd) $(top_builddir) && pwd` \
391 && cd $(top_srcdir) \468 && $(am__cd) $(top_srcdir) \
392 && gtags -i $(GTAGS_ARGS) $$here469 && gtags -i $(GTAGS_ARGS) "$$here"
393470
394distclean-tags:471distclean-tags:
395 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags472 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
396473
397distdir: $(DISTFILES)474distdir: $(DISTFILES)
398 $(am__remove_distdir)475 $(am__remove_distdir)
399 test -d $(distdir) || mkdir $(distdir)476 test -d "$(distdir)" || mkdir "$(distdir)"
400 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \477 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
401 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \478 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
402 list='$(DISTFILES)'; \479 list='$(DISTFILES)'; \
@@ -412,38 +489,55 @@
412 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \489 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
413 if test -d $$d/$$file; then \490 if test -d $$d/$$file; then \
414 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \491 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
492 if test -d "$(distdir)/$$file"; then \
493 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
494 fi; \
415 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \495 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
416 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \496 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
497 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
417 fi; \498 fi; \
418 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \499 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
419 else \500 else \
420 test -f $(distdir)/$$file \501 test -f "$(distdir)/$$file" \
421 || cp -p $$d/$$file $(distdir)/$$file \502 || cp -p $$d/$$file "$(distdir)/$$file" \
422 || exit 1; \503 || exit 1; \
423 fi; \504 fi; \
424 done505 done
425 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \506 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
426 if test "$$subdir" = .; then :; else \507 if test "$$subdir" = .; then :; else \
427 test -d "$(distdir)/$$subdir" \508 test -d "$(distdir)/$$subdir" \
428 || $(MKDIR_P) "$(distdir)/$$subdir" \509 || $(MKDIR_P) "$(distdir)/$$subdir" \
429 || exit 1; \510 || exit 1; \
430 distdir=`$(am__cd) $(distdir) && pwd`; \511 fi; \
431 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \512 done
432 (cd $$subdir && \513 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
514 if test "$$subdir" = .; then :; else \
515 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
516 $(am__relativize); \
517 new_distdir=$$reldir; \
518 dir1=$$subdir; dir2="$(top_distdir)"; \
519 $(am__relativize); \
520 new_top_distdir=$$reldir; \
521 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
522 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
523 ($(am__cd) $$subdir && \
433 $(MAKE) $(AM_MAKEFLAGS) \524 $(MAKE) $(AM_MAKEFLAGS) \
434 top_distdir="$$top_distdir" \525 top_distdir="$$new_top_distdir" \
435 distdir="$$distdir/$$subdir" \526 distdir="$$new_distdir" \
436 am__remove_distdir=: \527 am__remove_distdir=: \
437 am__skip_length_check=: \528 am__skip_length_check=: \
529 am__skip_mode_fix=: \
438 distdir) \530 distdir) \
439 || exit 1; \531 || exit 1; \
440 fi; \532 fi; \
441 done533 done
442 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \534 -test -n "$(am__skip_mode_fix)" \
535 || find "$(distdir)" -type d ! -perm -755 \
536 -exec chmod u+rwx,go+rx {} \; -o \
443 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \537 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
444 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \538 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
445 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \539 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
446 || chmod -R a+r $(distdir)540 || chmod -R a+r "$(distdir)"
447dist-gzip: distdir541dist-gzip: distdir
448 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz542 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
449 $(am__remove_distdir)543 $(am__remove_distdir)
@@ -456,6 +550,10 @@
456 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma550 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
457 $(am__remove_distdir)551 $(am__remove_distdir)
458552
553dist-xz: distdir
554 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
555 $(am__remove_distdir)
556
459dist-tarZ: distdir557dist-tarZ: distdir
460 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z558 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
461 $(am__remove_distdir)559 $(am__remove_distdir)
@@ -479,15 +577,17 @@
479distcheck: dist577distcheck: dist
480 case '$(DIST_ARCHIVES)' in \578 case '$(DIST_ARCHIVES)' in \
481 *.tar.gz*) \579 *.tar.gz*) \
482 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\580 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
483 *.tar.bz2*) \581 *.tar.bz2*) \
484 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\582 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
485 *.tar.lzma*) \583 *.tar.lzma*) \
486 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\584 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
585 *.tar.xz*) \
586 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
487 *.tar.Z*) \587 *.tar.Z*) \
488 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\588 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
489 *.shar.gz*) \589 *.shar.gz*) \
490 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\590 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
491 *.zip*) \591 *.zip*) \
492 unzip $(distdir).zip ;;\592 unzip $(distdir).zip ;;\
493 esac593 esac
@@ -495,9 +595,11 @@
495 mkdir $(distdir)/_build595 mkdir $(distdir)/_build
496 mkdir $(distdir)/_inst596 mkdir $(distdir)/_inst
497 chmod a-w $(distdir)597 chmod a-w $(distdir)
598 test -d $(distdir)/_build || exit 0; \
498 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \599 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
499 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \600 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
500 && cd $(distdir)/_build \601 && am__cwd=`pwd` \
602 && $(am__cd) $(distdir)/_build \
501 && ../configure --srcdir=.. --prefix="$$dc_install_base" \603 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
502 $(DISTCHECK_CONFIGURE_FLAGS) \604 $(DISTCHECK_CONFIGURE_FLAGS) \
503 && $(MAKE) $(AM_MAKEFLAGS) \605 && $(MAKE) $(AM_MAKEFLAGS) \
@@ -519,13 +621,15 @@
519 && rm -rf "$$dc_destdir" \621 && rm -rf "$$dc_destdir" \
520 && $(MAKE) $(AM_MAKEFLAGS) dist \622 && $(MAKE) $(AM_MAKEFLAGS) dist \
521 && rm -rf $(DIST_ARCHIVES) \623 && rm -rf $(DIST_ARCHIVES) \
522 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck624 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
625 && cd "$$am__cwd" \
626 || exit 1
523 $(am__remove_distdir)627 $(am__remove_distdir)
524 @(echo "$(distdir) archives ready for distribution: "; \628 @(echo "$(distdir) archives ready for distribution: "; \
525 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \629 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
526 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'630 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
527distuninstallcheck:631distuninstallcheck:
528 @cd $(distuninstallcheck_dir) \632 @$(am__cd) '$(distuninstallcheck_dir)' \
529 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \633 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
530 || { echo "ERROR: files left after uninstall:" ; \634 || { echo "ERROR: files left after uninstall:" ; \
531 if test -n "$(DESTDIR)"; then \635 if test -n "$(DESTDIR)"; then \
@@ -543,13 +647,11 @@
543 $(distcleancheck_listfiles) ; \647 $(distcleancheck_listfiles) ; \
544 exit 1; } >&2648 exit 1; } >&2
545check-am: all-am649check-am: all-am
546check: $(BUILT_SOURCES)650check: check-recursive
547 $(MAKE) $(AM_MAKEFLAGS) check-recursive651all-am: Makefile gfire_config.h
548all-am: Makefile pre_config.h
549installdirs: installdirs-recursive652installdirs: installdirs-recursive
550installdirs-am:653installdirs-am:
551install: $(BUILT_SOURCES)654install: install-recursive
552 $(MAKE) $(AM_MAKEFLAGS) install-recursive
553install-exec: install-exec-recursive655install-exec: install-exec-recursive
554install-data: install-data-recursive656install-data: install-data-recursive
555uninstall: uninstall-recursive657uninstall: uninstall-recursive
@@ -569,11 +671,11 @@
569671
570distclean-generic:672distclean-generic:
571 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)673 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
674 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
572675
573maintainer-clean-generic:676maintainer-clean-generic:
574 @echo "This command is intended for maintainers to use"677 @echo "This command is intended for maintainers to use"
575 @echo "it deletes files that may require special tools to rebuild."678 @echo "it deletes files that may require special tools to rebuild."
576 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
577clean: clean-recursive679clean: clean-recursive
578680
579clean-am: clean-generic clean-libtool mostlyclean-am681clean-am: clean-generic clean-libtool mostlyclean-am
@@ -590,6 +692,8 @@
590692
591html: html-recursive693html: html-recursive
592694
695html-am:
696
593info: info-recursive697info: info-recursive
594698
595info-am:699info-am:
@@ -598,18 +702,28 @@
598702
599install-dvi: install-dvi-recursive703install-dvi: install-dvi-recursive
600704
705install-dvi-am:
706
601install-exec-am:707install-exec-am:
602708
603install-html: install-html-recursive709install-html: install-html-recursive
604710
711install-html-am:
712
605install-info: install-info-recursive713install-info: install-info-recursive
606714
715install-info-am:
716
607install-man:717install-man:
608718
609install-pdf: install-pdf-recursive719install-pdf: install-pdf-recursive
610720
721install-pdf-am:
722
611install-ps: install-ps-recursive723install-ps: install-ps-recursive
612724
725install-ps-am:
726
613installcheck-am:727installcheck-am:
614728
615maintainer-clean: maintainer-clean-recursive729maintainer-clean: maintainer-clean-recursive
@@ -632,29 +746,26 @@
632746
633uninstall-am:747uninstall-am:
634748
635.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \749.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
636 install-strip750 ctags-recursive install-am install-strip tags-recursive
637751
638.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \752.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
639 all all-am am--refresh check check-am clean clean-generic \753 all all-am am--refresh check check-am clean clean-generic \
640 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \754 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
641 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \755 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
642 distclean distclean-generic distclean-hdr distclean-libtool \756 distcheck distclean distclean-generic distclean-hdr \
643 distclean-tags distcleancheck distdir distuninstallcheck dvi \757 distclean-libtool distclean-tags distcleancheck distdir \
644 dvi-am html html-am info info-am install install-am \758 distuninstallcheck dvi dvi-am html html-am info info-am \
645 install-data install-data-am install-dvi install-dvi-am \759 install install-am install-data install-data-am install-dvi \
646 install-exec install-exec-am install-html install-html-am \760 install-dvi-am install-exec install-exec-am install-html \
647 install-info install-info-am install-man install-pdf \761 install-html-am install-info install-info-am install-man \
648 install-pdf-am install-ps install-ps-am install-strip \762 install-pdf install-pdf-am install-ps install-ps-am \
649 installcheck installcheck-am installdirs installdirs-am \763 install-strip installcheck installcheck-am installdirs \
650 maintainer-clean maintainer-clean-generic mostlyclean \764 installdirs-am maintainer-clean maintainer-clean-generic \
651 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \765 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
652 tags tags-recursive uninstall uninstall-am766 ps ps-am tags tags-recursive uninstall uninstall-am
653767
654$(OBJECTS): $(BUILT_SOURCES)768
655
656gfire_config.h: pre_config.h
657 $(sedpath) 's/#define PACKAGE/#define SNPP_PACKAGE/g' pre_config.h > $@
658# Tell versions [3.59,3.63) of GNU make to not export all variables.769# Tell versions [3.59,3.63) of GNU make to not export all variables.
659# Otherwise a system limit (for SysV at least) may be exceeded.770# Otherwise a system limit (for SysV at least) may be exceeded.
660.NOEXPORT:771.NOEXPORT:
661772
=== added file 'Makefile.mingw'
--- Makefile.mingw 1970-01-01 00:00:00 +0000
+++ Makefile.mingw 2011-09-20 17:01:28 +0000
@@ -0,0 +1,41 @@
1GFIRE_DIR = .
2include mingw.mak
3
4GFIRE_VERSION_STRING = `cat VERSION`
5GFIRE_VERSION_SUFFIX = `awk '{split($$1,array,"\\\.|-"); print array[4];}' VERSION`
6GFIRE_VERSION_PATCH = `awk '{split($$1,array,"\\\.|-"); print array[3];}' VERSION`
7GFIRE_VERSION_MINOR = `awk '{split($$1,array,"\\\.|-"); print array[2];}' VERSION`
8GFIRE_VERSION_MAJOR = `awk '{split($$1,array,"\\\.|-"); print array[1];}' VERSION`
9
10SUBDIRS = src po data pixmaps
11
12.PHONY: all clean installer
13
14all: gfire_config_win.h
15 @list='${SUBDIRS}'; for subdir in $$list; do \
16 (cd $$subdir && $(MAKE) -f Makefile.mingw all) || exit 1; \
17 done;
18
19clean:
20 @list='${SUBDIRS}'; for subdir in $$list; do \
21 (cd $$subdir && $(MAKE) -f Makefile.mingw clean) || exit 1; \
22 done;
23
24distclean: clean
25 rm -rf ${WIN32_INSTALL_DIR}
26 rm -f pidgin-gfire-$(GFIRE_VERSION_STRING).exe
27 rm -f pidgin-gfire-$(GFIRE_VERSION_STRING).zip
28
29install: all
30 @list='${SUBDIRS}'; for subdir in $$list; do \
31 (cd $$subdir && $(MAKE) -f Makefile.mingw install) || exit 1; \
32 done;
33
34installer: installer-gui installer-zip
35
36installer-gui: install VERSION
37 ${MAKENSIS} -V3 -DGFIRE_VERSION="$(GFIRE_VERSION_STRING)" -DGFIRE_INSTALL_DIR="${WIN32_INSTALL_DIR}" ${GFIRE_DIR}/nsis/gfire-installer.nsi
38 #${MAKENSIS} ${GFIRE_DIR}/nsis/gfire-installer.nsi
39
40installer-zip: install VERSION
41 cd ${WIN32_INSTALL_DIR} && /usr/bin/zip -ru ../pidgin-gfire-`cat ../VERSION`.zip *
042
=== modified file 'NEWS' (properties changed: +x to -x)
=== modified file 'README' (properties changed: +x to -x)
--- README 2009-08-19 15:00:17 +0000
+++ README 2011-09-20 17:01:28 +0000
@@ -3,8 +3,7 @@
33
4About4About
5=====5=====
6Gfire 0.8.3 will need Pidgin 2.5.0 or higher because of all the new6Gfire 0.9.4 will need Pidgin 2.5.0 or higher. To compile it from source, it will be
7features that are implemented. To compile it from source, it will be
8for most users easy as running:7for most users easy as running:
98
10./configure --prefix=/usr9./configure --prefix=/usr
1110
=== modified file 'VERSION' (properties changed: +x to -x)
--- VERSION 2009-08-19 15:00:17 +0000
+++ VERSION 2011-09-20 17:01:28 +0000
@@ -1,1 +1,1 @@
10.8.310.9.4
22
=== modified file 'aclocal.m4' (properties changed: +x to -x)
--- aclocal.m4 2009-07-25 18:03:46 +0000
+++ aclocal.m4 2011-09-20 17:01:28 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.10.1 -*- Autoconf -*-1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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,8 +13,8 @@
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(AC_AUTOCONF_VERSION, [2.61],,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17[m4_warning([this file was generated for autoconf 2.61.17[m4_warning([this file was generated for autoconf 2.65.
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'.])])
@@ -115,7 +115,7 @@
115 int major, minor, micro;115 int major, minor, micro;
116 char *tmp_version;116 char *tmp_version;
117117
118 system ("touch conf.glibtest");118 fclose (fopen ("conf.glibtest", "w"));
119119
120 /* HP/UX 9 (%@#!) writes to sscanf strings */120 /* HP/UX 9 (%@#!) writes to sscanf strings */
121 tmp_version = g_strdup("$min_glib_version");121 tmp_version = g_strdup("$min_glib_version");
@@ -231,10 +231,638 @@
231 rm -f conf.glibtest231 rm -f conf.glibtest
232])232])
233233
234# Copyright (C) 1995-2002 Free Software Foundation, Inc.
235# Copyright (C) 2001-2003,2004 Red Hat, Inc.
236#
237# This file is free software, distributed under the terms of the GNU
238# General Public License. As a special exception to the GNU General
239# Public License, this file may be distributed as part of a program
240# that contains a configuration script generated by Autoconf, under
241# the same distribution terms as the rest of that program.
242#
243# This file can be copied and used freely without restrictions. It can
244# be used in projects which are not available under the GNU Public License
245# but which still want to provide support for the GNU gettext functionality.
246#
247# Macro to add for using GNU gettext.
248# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
249#
250# Modified to never use included libintl.
251# Owen Taylor <otaylor@redhat.com>, 12/15/1998
252#
253# Major rework to remove unused code
254# Owen Taylor <otaylor@redhat.com>, 12/11/2002
255#
256# Added better handling of ALL_LINGUAS from GNU gettext version
257# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
258#
259# Modified to require ngettext
260# Matthias Clasen <mclasen@redhat.com> 08/06/2004
261#
262# We need this here as well, since someone might use autoconf-2.5x
263# to configure GLib then an older version to configure a package
264# using AM_GLIB_GNU_GETTEXT
265AC_PREREQ(2.53)
266
267dnl
268dnl We go to great lengths to make sure that aclocal won't
269dnl try to pull in the installed version of these macros
270dnl when running aclocal in the glib directory.
271dnl
272m4_copy([AC_DEFUN],[glib_DEFUN])
273m4_copy([AC_REQUIRE],[glib_REQUIRE])
274dnl
275dnl At the end, if we're not within glib, we'll define the public
276dnl definitions in terms of our private definitions.
277dnl
278
279# GLIB_LC_MESSAGES
280#--------------------
281glib_DEFUN([GLIB_LC_MESSAGES],
282 [AC_CHECK_HEADERS([locale.h])
283 if test $ac_cv_header_locale_h = yes; then
284 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
285 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
286 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
287 if test $am_cv_val_LC_MESSAGES = yes; then
288 AC_DEFINE(HAVE_LC_MESSAGES, 1,
289 [Define if your <locale.h> file defines LC_MESSAGES.])
290 fi
291 fi])
292
293# GLIB_PATH_PROG_WITH_TEST
294#----------------------------
295dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
296dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
297glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
298[# Extract the first word of "$2", so it can be a program name with args.
299set dummy $2; ac_word=[$]2
300AC_MSG_CHECKING([for $ac_word])
301AC_CACHE_VAL(ac_cv_path_$1,
302[case "[$]$1" in
303 /*)
304 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
305 ;;
306 *)
307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
308 for ac_dir in ifelse([$5], , $PATH, [$5]); do
309 test -z "$ac_dir" && ac_dir=.
310 if test -f $ac_dir/$ac_word; then
311 if [$3]; then
312 ac_cv_path_$1="$ac_dir/$ac_word"
313 break
314 fi
315 fi
316 done
317 IFS="$ac_save_ifs"
318dnl If no 4th arg is given, leave the cache variable unset,
319dnl so AC_PATH_PROGS will keep looking.
320ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
321])dnl
322 ;;
323esac])dnl
324$1="$ac_cv_path_$1"
325if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
326 AC_MSG_RESULT([$]$1)
327else
328 AC_MSG_RESULT(no)
329fi
330AC_SUBST($1)dnl
331])
332
333# GLIB_WITH_NLS
334#-----------------
335glib_DEFUN([GLIB_WITH_NLS],
336 dnl NLS is obligatory
337 [USE_NLS=yes
338 AC_SUBST(USE_NLS)
339
340 gt_cv_have_gettext=no
341
342 CATOBJEXT=NONE
343 XGETTEXT=:
344 INTLLIBS=
345
346 AC_CHECK_HEADER(libintl.h,
347 [gt_cv_func_dgettext_libintl="no"
348 libintl_extra_libs=""
349
350 #
351 # First check in libc
352 #
353 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
354 [AC_TRY_LINK([
355#include <libintl.h>
356],
357 [return !ngettext ("","", 1)],
358 gt_cv_func_ngettext_libc=yes,
359 gt_cv_func_ngettext_libc=no)
360 ])
361
362 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
363 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
364 [AC_TRY_LINK([
365#include <libintl.h>
366],
367 [return !dgettext ("","")],
368 gt_cv_func_dgettext_libc=yes,
369 gt_cv_func_dgettext_libc=no)
370 ])
371 fi
372
373 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
374 AC_CHECK_FUNCS(bind_textdomain_codeset)
375 fi
376
377 #
378 # If we don't have everything we want, check in libintl
379 #
380 if test "$gt_cv_func_dgettext_libc" != "yes" \
381 || test "$gt_cv_func_ngettext_libc" != "yes" \
382 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
383
384 AC_CHECK_LIB(intl, bindtextdomain,
385 [AC_CHECK_LIB(intl, ngettext,
386 [AC_CHECK_LIB(intl, dgettext,
387 gt_cv_func_dgettext_libintl=yes)])])
388
389 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
390 AC_MSG_CHECKING([if -liconv is needed to use gettext])
391 AC_MSG_RESULT([])
392 AC_CHECK_LIB(intl, ngettext,
393 [AC_CHECK_LIB(intl, dcgettext,
394 [gt_cv_func_dgettext_libintl=yes
395 libintl_extra_libs=-liconv],
396 :,-liconv)],
397 :,-liconv)
398 fi
399
400 #
401 # If we found libintl, then check in it for bind_textdomain_codeset();
402 # we'll prefer libc if neither have bind_textdomain_codeset(),
403 # and both have dgettext and ngettext
404 #
405 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
406 glib_save_LIBS="$LIBS"
407 LIBS="$LIBS -lintl $libintl_extra_libs"
408 unset ac_cv_func_bind_textdomain_codeset
409 AC_CHECK_FUNCS(bind_textdomain_codeset)
410 LIBS="$glib_save_LIBS"
411
412 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
413 gt_cv_func_dgettext_libc=no
414 else
415 if test "$gt_cv_func_dgettext_libc" = "yes" \
416 && test "$gt_cv_func_ngettext_libc" = "yes"; then
417 gt_cv_func_dgettext_libintl=no
418 fi
419 fi
420 fi
421 fi
422
423 if test "$gt_cv_func_dgettext_libc" = "yes" \
424 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
425 gt_cv_have_gettext=yes
426 fi
427
428 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
429 INTLLIBS="-lintl $libintl_extra_libs"
430 fi
431
432 if test "$gt_cv_have_gettext" = "yes"; then
433 AC_DEFINE(HAVE_GETTEXT,1,
434 [Define if the GNU gettext() function is already present or preinstalled.])
435 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
436 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
437 if test "$MSGFMT" != "no"; then
438 glib_save_LIBS="$LIBS"
439 LIBS="$LIBS $INTLLIBS"
440 AC_CHECK_FUNCS(dcgettext)
441 MSGFMT_OPTS=
442 AC_MSG_CHECKING([if msgfmt accepts -c])
443 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
444msgid ""
445msgstr ""
446"Content-Type: text/plain; charset=UTF-8\n"
447"Project-Id-Version: test 1.0\n"
448"PO-Revision-Date: 2007-02-15 12:01+0100\n"
449"Last-Translator: test <foo@bar.xx>\n"
450"Language-Team: C <LL@li.org>\n"
451"MIME-Version: 1.0\n"
452"Content-Transfer-Encoding: 8bit\n"
453], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
454 AC_SUBST(MSGFMT_OPTS)
455 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
456 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
457 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
458 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
459 return _nl_msg_cat_cntr],
460 [CATOBJEXT=.gmo
461 DATADIRNAME=share],
462 [case $host in
463 *-*-solaris*)
464 dnl On Solaris, if bind_textdomain_codeset is in libc,
465 dnl GNU format message catalog is always supported,
466 dnl since both are added to the libc all together.
467 dnl Hence, we'd like to go with DATADIRNAME=share and
468 dnl and CATOBJEXT=.gmo in this case.
469 AC_CHECK_FUNC(bind_textdomain_codeset,
470 [CATOBJEXT=.gmo
471 DATADIRNAME=share],
472 [CATOBJEXT=.mo
473 DATADIRNAME=lib])
474 ;;
475 *)
476 CATOBJEXT=.mo
477 DATADIRNAME=lib
478 ;;
479 esac])
480 LIBS="$glib_save_LIBS"
481 INSTOBJEXT=.mo
482 else
483 gt_cv_have_gettext=no
484 fi
485 fi
486 ])
487
488 if test "$gt_cv_have_gettext" = "yes" ; then
489 AC_DEFINE(ENABLE_NLS, 1,
490 [always defined to indicate that i18n is enabled])
491 fi
492
493 dnl Test whether we really found GNU xgettext.
494 if test "$XGETTEXT" != ":"; then
495 dnl If it is not GNU xgettext we define it as : so that the
496 dnl Makefiles still can work.
497 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
498 : ;
499 else
500 AC_MSG_RESULT(
501 [found xgettext program is not GNU xgettext; ignore it])
502 XGETTEXT=":"
503 fi
504 fi
505
506 # We need to process the po/ directory.
507 POSUB=po
508
509 AC_OUTPUT_COMMANDS(
510 [case "$CONFIG_FILES" in *po/Makefile.in*)
511 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
512 esac])
513
514 dnl These rules are solely for the distribution goal. While doing this
515 dnl we only have to keep exactly one list of the available catalogs
516 dnl in configure.ac.
517 for lang in $ALL_LINGUAS; do
518 GMOFILES="$GMOFILES $lang.gmo"
519 POFILES="$POFILES $lang.po"
520 done
521
522 dnl Make all variables we use known to autoconf.
523 AC_SUBST(CATALOGS)
524 AC_SUBST(CATOBJEXT)
525 AC_SUBST(DATADIRNAME)
526 AC_SUBST(GMOFILES)
527 AC_SUBST(INSTOBJEXT)
528 AC_SUBST(INTLLIBS)
529 AC_SUBST(PO_IN_DATADIR_TRUE)
530 AC_SUBST(PO_IN_DATADIR_FALSE)
531 AC_SUBST(POFILES)
532 AC_SUBST(POSUB)
533 ])
534
535# AM_GLIB_GNU_GETTEXT
536# -------------------
537# Do checks necessary for use of gettext. If a suitable implementation
538# of gettext is found in either in libintl or in the C library,
539# it will set INTLLIBS to the libraries needed for use of gettext
540# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
541# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
542# on various variables needed by the Makefile.in.in installed by
543# glib-gettextize.
544dnl
545glib_DEFUN([GLIB_GNU_GETTEXT],
546 [AC_REQUIRE([AC_PROG_CC])dnl
547 AC_REQUIRE([AC_HEADER_STDC])dnl
548
549 GLIB_LC_MESSAGES
550 GLIB_WITH_NLS
551
552 if test "$gt_cv_have_gettext" = "yes"; then
553 if test "x$ALL_LINGUAS" = "x"; then
554 LINGUAS=
555 else
556 AC_MSG_CHECKING(for catalogs to be installed)
557 NEW_LINGUAS=
558 for presentlang in $ALL_LINGUAS; do
559 useit=no
560 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
561 desiredlanguages="$LINGUAS"
562 else
563 desiredlanguages="$ALL_LINGUAS"
564 fi
565 for desiredlang in $desiredlanguages; do
566 # Use the presentlang catalog if desiredlang is
567 # a. equal to presentlang, or
568 # b. a variant of presentlang (because in this case,
569 # presentlang can be used as a fallback for messages
570 # which are not translated in the desiredlang catalog).
571 case "$desiredlang" in
572 "$presentlang"*) useit=yes;;
573 esac
574 done
575 if test $useit = yes; then
576 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
577 fi
578 done
579 LINGUAS=$NEW_LINGUAS
580 AC_MSG_RESULT($LINGUAS)
581 fi
582
583 dnl Construct list of names of catalog files to be constructed.
584 if test -n "$LINGUAS"; then
585 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
586 fi
587 fi
588
589 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
590 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
591 dnl Try to locate is.
592 MKINSTALLDIRS=
593 if test -n "$ac_aux_dir"; then
594 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
595 fi
596 if test -z "$MKINSTALLDIRS"; then
597 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
598 fi
599 AC_SUBST(MKINSTALLDIRS)
600
601 dnl Generate list of files to be processed by xgettext which will
602 dnl be included in po/Makefile.
603 test -d po || mkdir po
604 if test "x$srcdir" != "x."; then
605 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
606 posrcprefix="$srcdir/"
607 else
608 posrcprefix="../$srcdir/"
609 fi
610 else
611 posrcprefix="../"
612 fi
613 rm -f po/POTFILES
614 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
615 < $srcdir/po/POTFILES.in > po/POTFILES
616 ])
617
618# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
619# -------------------------------
620# Define VARIABLE to the location where catalog files will
621# be installed by po/Makefile.
622glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
623[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
624glib_save_prefix="$prefix"
625glib_save_exec_prefix="$exec_prefix"
626glib_save_datarootdir="$datarootdir"
627test "x$prefix" = xNONE && prefix=$ac_default_prefix
628test "x$exec_prefix" = xNONE && exec_prefix=$prefix
629datarootdir=`eval echo "${datarootdir}"`
630if test "x$CATOBJEXT" = "x.mo" ; then
631 localedir=`eval echo "${libdir}/locale"`
632else
633 localedir=`eval echo "${datadir}/locale"`
634fi
635prefix="$glib_save_prefix"
636exec_prefix="$glib_save_exec_prefix"
637datarootdir="$glib_save_datarootdir"
638AC_DEFINE_UNQUOTED($1, "$localedir",
639 [Define the location where the catalogs will be installed])
640])
641
642dnl
643dnl Now the definitions that aclocal will find
644dnl
645ifdef(glib_configure_ac,[],[
646AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
647AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
648])dnl
649
650# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
651#
652# Create a temporary file with TEST-FILE as its contents and pass the
653# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
654# 0 and perform ACTION-IF-FAIL for any other exit status.
655AC_DEFUN([GLIB_RUN_PROG],
656[cat >conftest.foo <<_ACEOF
657$2
658_ACEOF
659if AC_RUN_LOG([$1 conftest.foo]); then
660 m4_ifval([$3], [$3], [:])
661m4_ifvaln([$4], [else $4])dnl
662echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
663sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
664fi])
665
666
667
668dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
669# serial 40 IT_PROG_INTLTOOL
670AC_DEFUN([IT_PROG_INTLTOOL], [
671AC_PREREQ([2.50])dnl
672AC_REQUIRE([AM_NLS])dnl
673
674case "$am__api_version" in
675 1.[01234])
676 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
677 ;;
678 *)
679 ;;
680esac
681
682if test -n "$1"; then
683 AC_MSG_CHECKING([for intltool >= $1])
684
685 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
686 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
687 [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
688 ]
689 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
690 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
691 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
692fi
693
694AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
695AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
696AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
697if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
698 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
699fi
700
701 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
702INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
703 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
704 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
705 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
706 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
707 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
708 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
709INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
710 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
711 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
712 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
713 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
714 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
715 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
716 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
717 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
718 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
719 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
720
721_IT_SUBST(INTLTOOL_DESKTOP_RULE)
722_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
723_IT_SUBST(INTLTOOL_KEYS_RULE)
724_IT_SUBST(INTLTOOL_PROP_RULE)
725_IT_SUBST(INTLTOOL_OAF_RULE)
726_IT_SUBST(INTLTOOL_PONG_RULE)
727_IT_SUBST(INTLTOOL_SERVER_RULE)
728_IT_SUBST(INTLTOOL_SHEET_RULE)
729_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
730_IT_SUBST(INTLTOOL_UI_RULE)
731_IT_SUBST(INTLTOOL_XAM_RULE)
732_IT_SUBST(INTLTOOL_KBD_RULE)
733_IT_SUBST(INTLTOOL_XML_RULE)
734_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
735_IT_SUBST(INTLTOOL_CAVES_RULE)
736_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
737_IT_SUBST(INTLTOOL_THEME_RULE)
738_IT_SUBST(INTLTOOL_SERVICE_RULE)
739_IT_SUBST(INTLTOOL_POLICY_RULE)
740
741# Check the gettext tools to make sure they are GNU
742AC_PATH_PROG(XGETTEXT, xgettext)
743AC_PATH_PROG(MSGMERGE, msgmerge)
744AC_PATH_PROG(MSGFMT, msgfmt)
745AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
746if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
747 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
748fi
749xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
750mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
751mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
752if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
753 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
754fi
755
756AC_PATH_PROG(INTLTOOL_PERL, perl)
757if test -z "$INTLTOOL_PERL"; then
758 AC_MSG_ERROR([perl not found])
759fi
760AC_MSG_CHECKING([for perl >= 5.8.1])
761$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
762if test $? -ne 0; then
763 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
764else
765 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
766 AC_MSG_RESULT([$IT_PERL_VERSION])
767fi
768if test "x$2" != "xno-xml"; then
769 AC_MSG_CHECKING([for XML::Parser])
770 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
771 AC_MSG_RESULT([ok])
772 else
773 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
774 fi
775fi
776
777# Substitute ALL_LINGUAS so we can use it in po/Makefile
778AC_SUBST(ALL_LINGUAS)
779
780# Set DATADIRNAME correctly if it is not set yet
781# (copied from glib-gettext.m4)
782if test -z "$DATADIRNAME"; then
783 AC_LINK_IFELSE(
784 [AC_LANG_PROGRAM([[]],
785 [[extern int _nl_msg_cat_cntr;
786 return _nl_msg_cat_cntr]])],
787 [DATADIRNAME=share],
788 [case $host in
789 *-*-solaris*)
790 dnl On Solaris, if bind_textdomain_codeset is in libc,
791 dnl GNU format message catalog is always supported,
792 dnl since both are added to the libc all together.
793 dnl Hence, we'd like to go with DATADIRNAME=share
794 dnl in this case.
795 AC_CHECK_FUNC(bind_textdomain_codeset,
796 [DATADIRNAME=share], [DATADIRNAME=lib])
797 ;;
798 *)
799 [DATADIRNAME=lib]
800 ;;
801 esac])
802fi
803AC_SUBST(DATADIRNAME)
804
805IT_PO_SUBDIR([po])
806
807])
808
809
810# IT_PO_SUBDIR(DIRNAME)
811# ---------------------
812# All po subdirs have to be declared with this macro; the subdir "po" is
813# declared by IT_PROG_INTLTOOL.
814#
815AC_DEFUN([IT_PO_SUBDIR],
816[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
817dnl
818dnl The following CONFIG_COMMANDS should be executed at the very end
819dnl of config.status.
820AC_CONFIG_COMMANDS_PRE([
821 AC_CONFIG_COMMANDS([$1/stamp-it], [
822 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
823 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
824 fi
825 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
826 >"$1/stamp-it.tmp"
827 [sed '/^#/d
828 s/^[[].*] *//
829 /^[ ]*$/d
830 '"s|^| $ac_top_srcdir/|" \
831 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
832 ]
833 [sed '/^POTFILES =/,/[^\\]$/ {
834 /^POTFILES =/!d
835 r $1/POTFILES
836 }
837 ' "$1/Makefile.in" >"$1/Makefile"]
838 rm -f "$1/Makefile.tmp"
839 mv "$1/stamp-it.tmp" "$1/stamp-it"
840 ])
841])dnl
842])
843
844# _IT_SUBST(VARIABLE)
845# -------------------
846# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
847#
848AC_DEFUN([_IT_SUBST],
849[
850AC_SUBST([$1])
851m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
852]
853)
854
855# deprecated macros
856AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
857# A hint is needed for aclocal from Automake <= 1.9.4:
858# AC_DEFUN([AC_PROG_INTLTOOL], ...)
859
860
234# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-861# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
235#862#
236# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,863# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
237# 2006, 2007, 2008 Free Software Foundation, Inc.864# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
865# Inc.
238# Written by Gordon Matzigkeit, 1996866# Written by Gordon Matzigkeit, 1996
239#867#
240# This file is free software; the Free Software Foundation gives868# This file is free software; the Free Software Foundation gives
@@ -243,7 +871,8 @@
243871
244m4_define([_LT_COPYING], [dnl872m4_define([_LT_COPYING], [dnl
245# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,873# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
246# 2006, 2007, 2008 Free Software Foundation, Inc.874# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
875# Inc.
247# Written by Gordon Matzigkeit, 1996876# Written by Gordon Matzigkeit, 1996
248#877#
249# This file is part of GNU Libtool.878# This file is part of GNU Libtool.
@@ -270,7 +899,7 @@
270# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.899# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
271])900])
272901
273# serial 56 LT_INIT902# serial 57 LT_INIT
274903
275904
276# LT_PREREQ(VERSION)905# LT_PREREQ(VERSION)
@@ -299,6 +928,7 @@
299# ------------------928# ------------------
300AC_DEFUN([LT_INIT],929AC_DEFUN([LT_INIT],
301[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT930[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
931AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
302AC_BEFORE([$0], [LT_LANG])dnl932AC_BEFORE([$0], [LT_LANG])dnl
303AC_BEFORE([$0], [LT_OUTPUT])dnl933AC_BEFORE([$0], [LT_OUTPUT])dnl
304AC_BEFORE([$0], [LTDL_INIT])dnl934AC_BEFORE([$0], [LTDL_INIT])dnl
@@ -315,6 +945,8 @@
315AC_REQUIRE([LTOBSOLETE_VERSION])dnl945AC_REQUIRE([LTOBSOLETE_VERSION])dnl
316m4_require([_LT_PROG_LTMAIN])dnl946m4_require([_LT_PROG_LTMAIN])dnl
317947
948_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
949
318dnl Parse OPTIONS950dnl Parse OPTIONS
319_LT_SET_OPTIONS([$0], [$1])951_LT_SET_OPTIONS([$0], [$1])
320952
@@ -351,7 +983,7 @@
351 *) break;;983 *) break;;
352 esac984 esac
353done985done
354cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`986cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
355])987])
356988
357989
@@ -371,6 +1003,9 @@
371m4_defun([_LT_SETUP],1003m4_defun([_LT_SETUP],
372[AC_REQUIRE([AC_CANONICAL_HOST])dnl1004[AC_REQUIRE([AC_CANONICAL_HOST])dnl
373AC_REQUIRE([AC_CANONICAL_BUILD])dnl1005AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1006AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
1007AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
1008
374_LT_DECL([], [host_alias], [0], [The host system])dnl1009_LT_DECL([], [host_alias], [0], [The host system])dnl
375_LT_DECL([], [host], [0])dnl1010_LT_DECL([], [host], [0])dnl
376_LT_DECL([], [host_os], [0])dnl1011_LT_DECL([], [host_os], [0])dnl
@@ -412,7 +1047,6 @@
412_LT_CHECK_OBJDIR1047_LT_CHECK_OBJDIR
4131048
414m4_require([_LT_TAG_COMPILER])dnl1049m4_require([_LT_TAG_COMPILER])dnl
415_LT_PROG_ECHO_BACKSLASH
4161050
417case $host_os in1051case $host_os in
418aix3*)1052aix3*)
@@ -426,23 +1060,6 @@
426 ;;1060 ;;
427esac1061esac
4281062
429# Sed substitution that helps us do robust quoting. It backslashifies
430# metacharacters that are still active within double-quoted strings.
431sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
432
433# Same as above, but do not quote variable references.
434double_quote_subst='s/\([["`\\]]\)/\\\1/g'
435
436# Sed substitution to delay expansion of an escaped shell variable in a
437# double_quote_subst'ed string.
438delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
439
440# Sed substitution to delay expansion of an escaped single quote.
441delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
442
443# Sed substitution to avoid accidental globbing in evaled expressions
444no_glob_subst='s/\*/\\\*/g'
445
446# Global variables:1063# Global variables:
447ofile=libtool1064ofile=libtool
448can_build_shared=yes1065can_build_shared=yes
@@ -483,6 +1100,28 @@
483])# _LT_SETUP1100])# _LT_SETUP
4841101
4851102
1103# _LT_PREPARE_SED_QUOTE_VARS
1104# --------------------------
1105# Define a few sed substitution that help us do robust quoting.
1106m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
1107[# Backslashify metacharacters that are still active within
1108# double-quoted strings.
1109sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1110
1111# Same as above, but do not quote variable references.
1112double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1113
1114# Sed substitution to delay expansion of an escaped shell variable in a
1115# double_quote_subst'ed string.
1116delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1117
1118# Sed substitution to delay expansion of an escaped single quote.
1119delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1120
1121# Sed substitution to avoid accidental globbing in evaled expressions
1122no_glob_subst='s/\*/\\\*/g'
1123])
1124
486# _LT_PROG_LTMAIN1125# _LT_PROG_LTMAIN
487# ---------------1126# ---------------
488# Note that this code is called both from `configure', and `config.status'1127# Note that this code is called both from `configure', and `config.status'
@@ -607,12 +1246,12 @@
607# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])1246# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
608# ---------------------------------------------------1247# ---------------------------------------------------
609m4_define([lt_decl_varnames_tagged],1248m4_define([lt_decl_varnames_tagged],
610[_$0(m4_quote(m4_default([$1], [[, ]])),1249[m4_assert([$# <= 2])dnl
611 m4_quote(m4_if([$2], [],1250_$0(m4_quote(m4_default([$1], [[, ]])),
612 m4_quote(lt_decl_tag_varnames),1251 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
613 m4_quote(m4_shift($@)))),1252 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
614 m4_split(m4_normalize(m4_quote(_LT_TAGS))))])1253m4_define([_lt_decl_varnames_tagged],
615m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])1254[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
6161255
6171256
618# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])1257# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
@@ -635,7 +1274,7 @@
635# declaration there will have the same value as in `configure'. VARNAME1274# declaration there will have the same value as in `configure'. VARNAME
636# must have a single quote delimited value for this to work.1275# must have a single quote delimited value for this to work.
637m4_define([_LT_CONFIG_STATUS_DECLARE],1276m4_define([_LT_CONFIG_STATUS_DECLARE],
638[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])1277[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
6391278
6401279
641# _LT_CONFIG_STATUS_DECLARATIONS1280# _LT_CONFIG_STATUS_DECLARATIONS
@@ -645,7 +1284,7 @@
645# embedded single quotes properly. In configure, this macro expands1284# embedded single quotes properly. In configure, this macro expands
646# each variable declared with _LT_DECL (and _LT_TAGDECL) into:1285# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
647#1286#
648# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'1287# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
649m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],1288m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
650[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),1289[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
651 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])1290 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
@@ -744,12 +1383,20 @@
744LTCFLAGS='$LTCFLAGS'1383LTCFLAGS='$LTCFLAGS'
745compiler='$compiler_DEFAULT'1384compiler='$compiler_DEFAULT'
7461385
1386# A function that is used when there is no print builtin or printf.
1387func_fallback_echo ()
1388{
1389 eval 'cat <<_LTECHO_EOF
1390\$[]1
1391_LTECHO_EOF'
1392}
1393
747# Quote evaled strings.1394# Quote evaled strings.
748for var in lt_decl_all_varnames([[ \1395for var in lt_decl_all_varnames([[ \
749]], lt_decl_quote_varnames); do1396]], lt_decl_quote_varnames); do
750 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in1397 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
751 *[[\\\\\\\`\\"\\\$]]*)1398 *[[\\\\\\\`\\"\\\$]]*)
752 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""1399 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
753 ;;1400 ;;
754 *)1401 *)
755 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""1402 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -760,9 +1407,9 @@
760# Double-quote double-evaled strings.1407# Double-quote double-evaled strings.
761for var in lt_decl_all_varnames([[ \1408for var in lt_decl_all_varnames([[ \
762]], lt_decl_dquote_varnames); do1409]], lt_decl_dquote_varnames); do
763 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in1410 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
764 *[[\\\\\\\`\\"\\\$]]*)1411 *[[\\\\\\\`\\"\\\$]]*)
765 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""1412 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
766 ;;1413 ;;
767 *)1414 *)
768 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""1415 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -770,16 +1417,38 @@
770 esac1417 esac
771done1418done
7721419
773# Fix-up fallback echo if it was mangled by the above quoting rules.
774case \$lt_ECHO in
775*'\\\[$]0 --fallback-echo"')dnl "
776 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
777 ;;
778esac
779
780_LT_OUTPUT_LIBTOOL_INIT1420_LT_OUTPUT_LIBTOOL_INIT
781])1421])
7821422
1423# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1424# ------------------------------------
1425# Generate a child script FILE with all initialization necessary to
1426# reuse the environment learned by the parent script, and make the
1427# file executable. If COMMENT is supplied, it is inserted after the
1428# `#!' sequence but before initialization text begins. After this
1429# macro, additional text can be appended to FILE to form the body of
1430# the child script. The macro ends with non-zero status if the
1431# file could not be fully written (such as if the disk is full).
1432m4_ifdef([AS_INIT_GENERATED],
1433[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1434[m4_defun([_LT_GENERATED_FILE_INIT],
1435[m4_require([AS_PREPARE])]dnl
1436[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1437[lt_write_fail=0
1438cat >$1 <<_ASEOF || lt_write_fail=1
1439#! $SHELL
1440# Generated by $as_me.
1441$2
1442SHELL=\${CONFIG_SHELL-$SHELL}
1443export SHELL
1444_ASEOF
1445cat >>$1 <<\_ASEOF || lt_write_fail=1
1446AS_SHELL_SANITIZE
1447_AS_PREPARE
1448exec AS_MESSAGE_FD>&1
1449_ASEOF
1450test $lt_write_fail = 0 && chmod +x $1[]dnl
1451m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
7831452
784# LT_OUTPUT1453# LT_OUTPUT
785# ---------1454# ---------
@@ -789,20 +1458,11 @@
789AC_DEFUN([LT_OUTPUT],1458AC_DEFUN([LT_OUTPUT],
790[: ${CONFIG_LT=./config.lt}1459[: ${CONFIG_LT=./config.lt}
791AC_MSG_NOTICE([creating $CONFIG_LT])1460AC_MSG_NOTICE([creating $CONFIG_LT])
792cat >"$CONFIG_LT" <<_LTEOF1461_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
793#! $SHELL1462[# Run this file to recreate a libtool stub with the current configuration.])
794# Generated by $as_me.
795# Run this file to recreate a libtool stub with the current configuration.
7961463
1464cat >>"$CONFIG_LT" <<\_LTEOF
797lt_cl_silent=false1465lt_cl_silent=false
798SHELL=\${CONFIG_SHELL-$SHELL}
799_LTEOF
800
801cat >>"$CONFIG_LT" <<\_LTEOF
802AS_SHELL_SANITIZE
803_AS_PREPARE
804
805exec AS_MESSAGE_FD>&1
806exec AS_MESSAGE_LOG_FD>>config.log1466exec AS_MESSAGE_LOG_FD>>config.log
807{1467{
808 echo1468 echo
@@ -828,7 +1488,7 @@
828m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])1488m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
829configured by $[0], generated by m4_PACKAGE_STRING.1489configured by $[0], generated by m4_PACKAGE_STRING.
8301490
831Copyright (C) 2008 Free Software Foundation, Inc.1491Copyright (C) 2010 Free Software Foundation, Inc.
832This config.lt script is free software; the Free Software Foundation1492This config.lt script is free software; the Free Software Foundation
833gives unlimited permision to copy, distribute and modify it."1493gives unlimited permision to copy, distribute and modify it."
8341494
@@ -873,15 +1533,13 @@
873# appending to config.log, which fails on DOS, as config.log is still kept1533# appending to config.log, which fails on DOS, as config.log is still kept
874# open by configure. Here we exec the FD to /dev/null, effectively closing1534# open by configure. Here we exec the FD to /dev/null, effectively closing
875# config.log, so it can be properly (re)opened and appended to by config.lt.1535# config.log, so it can be properly (re)opened and appended to by config.lt.
876if test "$no_create" != yes; then1536lt_cl_success=:
877 lt_cl_success=:1537test "$silent" = yes &&
878 test "$silent" = yes &&1538 lt_config_lt_args="$lt_config_lt_args --quiet"
879 lt_config_lt_args="$lt_config_lt_args --quiet"1539exec AS_MESSAGE_LOG_FD>/dev/null
880 exec AS_MESSAGE_LOG_FD>/dev/null1540$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
881 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false1541exec AS_MESSAGE_LOG_FD>>config.log
882 exec AS_MESSAGE_LOG_FD>>config.log1542$lt_cl_success || AS_EXIT(1)
883 $lt_cl_success || AS_EXIT(1)
884fi
885])# LT_OUTPUT1543])# LT_OUTPUT
8861544
8871545
@@ -1058,11 +1716,13 @@
1058AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])1716AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1059AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])1717AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1060AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])1718AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1719AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1061dnl aclocal-1.4 backwards compatibility:1720dnl aclocal-1.4 backwards compatibility:
1062dnl AC_DEFUN([AC_LIBTOOL_CXX], [])1721dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1063dnl AC_DEFUN([AC_LIBTOOL_F77], [])1722dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1064dnl AC_DEFUN([AC_LIBTOOL_FC], [])1723dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1065dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])1724dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1725dnl AC_DEFUN([AC_LIBTOOL_RC], [])
10661726
10671727
1068# _LT_TAG_COMPILER1728# _LT_TAG_COMPILER
@@ -1167,15 +1827,40 @@
1167 [lt_cv_ld_exported_symbols_list=no])1827 [lt_cv_ld_exported_symbols_list=no])
1168 LDFLAGS="$save_LDFLAGS"1828 LDFLAGS="$save_LDFLAGS"
1169 ])1829 ])
1830 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1831 [lt_cv_ld_force_load=no
1832 cat > conftest.c << _LT_EOF
1833int forced_loaded() { return 2;}
1834_LT_EOF
1835 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1836 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1837 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1838 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1839 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1840 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1841 cat > conftest.c << _LT_EOF
1842int main() { return 0;}
1843_LT_EOF
1844 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1845 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1846 _lt_result=$?
1847 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1848 lt_cv_ld_force_load=yes
1849 else
1850 cat conftest.err >&AS_MESSAGE_LOG_FD
1851 fi
1852 rm -f conftest.err libconftest.a conftest conftest.c
1853 rm -rf conftest.dSYM
1854 ])
1170 case $host_os in1855 case $host_os in
1171 rhapsody* | darwin1.[[012]])1856 rhapsody* | darwin1.[[012]])
1172 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;1857 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1173 darwin1.*)1858 darwin1.*)
1174 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;1859 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1175 darwin*) # darwin 5.x on 1860 darwin*) # darwin 5.x on
1176 # if running on 10.5 or later, the deployment target defaults1861 # if running on 10.5 or later, the deployment target defaults
1177 # to the OS version, if on x86, and 10.4, the deployment1862 # to the OS version, if on x86, and 10.4, the deployment
1178 # target defaults to 10.4. Don't you love it? 1863 # target defaults to 10.4. Don't you love it?
1179 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in1864 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1180 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)1865 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1181 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;1866 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -1194,7 +1879,7 @@
1194 else1879 else
1195 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'1880 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1196 fi1881 fi
1197 if test "$DSYMUTIL" != ":"; then1882 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1198 _lt_dsymutil='~$DSYMUTIL $lib || :'1883 _lt_dsymutil='~$DSYMUTIL $lib || :'
1199 else1884 else
1200 _lt_dsymutil=1885 _lt_dsymutil=
@@ -1214,11 +1899,19 @@
1214 _LT_TAGVAR(hardcode_direct, $1)=no1899 _LT_TAGVAR(hardcode_direct, $1)=no
1215 _LT_TAGVAR(hardcode_automatic, $1)=yes1900 _LT_TAGVAR(hardcode_automatic, $1)=yes
1216 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported1901 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1217 _LT_TAGVAR(whole_archive_flag_spec, $1)=''1902 if test "$lt_cv_ld_force_load" = "yes"; then
1903 _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\"`'
1904 else
1905 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1906 fi
1218 _LT_TAGVAR(link_all_deplibs, $1)=yes1907 _LT_TAGVAR(link_all_deplibs, $1)=yes
1219 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"1908 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1220 if test "$GCC" = "yes"; then1909 case $cc_basename in
1221 output_verbose_link_cmd=echo1910 ifort*) _lt_dar_can_shared=yes ;;
1911 *) _lt_dar_can_shared=$GCC ;;
1912 esac
1913 if test "$_lt_dar_can_shared" = "yes"; then
1914 output_verbose_link_cmd=func_echo_all
1222 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"1915 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1223 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"1916 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1224 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"1917 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -1264,170 +1957,65 @@
1264# _LT_SHELL_INIT(ARG)1957# _LT_SHELL_INIT(ARG)
1265# -------------------1958# -------------------
1266m4_define([_LT_SHELL_INIT],1959m4_define([_LT_SHELL_INIT],
1267[ifdef([AC_DIVERSION_NOTICE],1960[m4_divert_text([M4SH-INIT], [$1
1268 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],1961])])# _LT_SHELL_INIT
1269 [AC_DIVERT_PUSH(NOTICE)])1962
1270$1
1271AC_DIVERT_POP
1272])# _LT_SHELL_INIT
12731963
12741964
1275# _LT_PROG_ECHO_BACKSLASH1965# _LT_PROG_ECHO_BACKSLASH
1276# -----------------------1966# -----------------------
1277# Add some code to the start of the generated configure script which1967# Find how we can fake an echo command that does not interpret backslash.
1278# will find an echo command which doesn't interpret backslashes.1968# In particular, with Autoconf 2.60 or later we add some code to the start
1969# of the generated configure script which will find a shell with a builtin
1970# printf (which we can use as an echo command).
1279m4_defun([_LT_PROG_ECHO_BACKSLASH],1971m4_defun([_LT_PROG_ECHO_BACKSLASH],
1280[_LT_SHELL_INIT([1972[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1281# Check that we are running under the correct shell.1973ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1282SHELL=${CONFIG_SHELL-/bin/sh}1974ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
12831975
1284case X$lt_ECHO in1976AC_MSG_CHECKING([how to print strings])
1285X*--fallback-echo)1977# Test print first, because it will be a builtin if present.
1286 # Remove one level of quotation (which was required for Make).1978if test "X`print -r -- -n 2>/dev/null`" = X-n && \
1287 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`1979 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1288 ;;1980 ECHO='print -r --'
1981elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1982 ECHO='printf %s\n'
1983else
1984 # Use this function as a fallback that always works.
1985 func_fallback_echo ()
1986 {
1987 eval 'cat <<_LTECHO_EOF
1988$[]1
1989_LTECHO_EOF'
1990 }
1991 ECHO='func_fallback_echo'
1992fi
1993
1994# func_echo_all arg...
1995# Invoke $ECHO with all args, space-separated.
1996func_echo_all ()
1997{
1998 $ECHO "$*"
1999}
2000
2001case "$ECHO" in
2002 printf*) AC_MSG_RESULT([printf]) ;;
2003 print*) AC_MSG_RESULT([print -r]) ;;
2004 *) AC_MSG_RESULT([cat]) ;;
1289esac2005esac
12902006
1291ECHO=${lt_ECHO-echo}2007m4_ifdef([_AS_DETECT_SUGGESTED],
1292if test "X[$]1" = X--no-reexec; then2008[_AS_DETECT_SUGGESTED([
1293 # Discard the --no-reexec flag, and continue.2009 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1294 shift2010 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1295elif test "X[$]1" = X--fallback-echo; then2011 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1296 # Avoid inline document here, it may be left over2012 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1297 :2013 PATH=/empty FPATH=/empty; export PATH FPATH
1298elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then2014 test "X`printf %s $ECHO`" = "X$ECHO" \
1299 # Yippee, $ECHO works!2015 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1300 :2016
1301else
1302 # Restart under the correct shell.
1303 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1304fi
1305
1306if test "X[$]1" = X--fallback-echo; then
1307 # used as fallback echo
1308 shift
1309 cat <<_LT_EOF
1310[$]*
1311_LT_EOF
1312 exit 0
1313fi
1314
1315# The HP-UX ksh and POSIX shell print the target directory to stdout
1316# if CDPATH is set.
1317(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1318
1319if test -z "$lt_ECHO"; then
1320 if test "X${echo_test_string+set}" != Xset; then
1321 # find a string as large as possible, as long as the shell can cope with it
1322 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1323 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1324 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1325 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1326 then
1327 break
1328 fi
1329 done
1330 fi
1331
1332 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1333 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1334 test "X$echo_testing_string" = "X$echo_test_string"; then
1335 :
1336 else
1337 # The Solaris, AIX, and Digital Unix default echo programs unquote
1338 # backslashes. This makes it impossible to quote backslashes using
1339 # echo "$something" | sed 's/\\/\\\\/g'
1340 #
1341 # So, first we look for a working echo in the user's PATH.
1342
1343 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1344 for dir in $PATH /usr/ucb; do
1345 IFS="$lt_save_ifs"
1346 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1347 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1348 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1349 test "X$echo_testing_string" = "X$echo_test_string"; then
1350 ECHO="$dir/echo"
1351 break
1352 fi
1353 done
1354 IFS="$lt_save_ifs"
1355
1356 if test "X$ECHO" = Xecho; then
1357 # We didn't find a better echo, so look for alternatives.
1358 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1359 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1360 test "X$echo_testing_string" = "X$echo_test_string"; then
1361 # This shell has a builtin print -r that does the trick.
1362 ECHO='print -r'
1363 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1364 test "X$CONFIG_SHELL" != X/bin/ksh; then
1365 # If we have ksh, try running configure again with it.
1366 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1367 export ORIGINAL_CONFIG_SHELL
1368 CONFIG_SHELL=/bin/ksh
1369 export CONFIG_SHELL
1370 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1371 else
1372 # Try using printf.
1373 ECHO='printf %s\n'
1374 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1375 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1376 test "X$echo_testing_string" = "X$echo_test_string"; then
1377 # Cool, printf works
1378 :
1379 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1380 test "X$echo_testing_string" = 'X\t' &&
1381 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1382 test "X$echo_testing_string" = "X$echo_test_string"; then
1383 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1384 export CONFIG_SHELL
1385 SHELL="$CONFIG_SHELL"
1386 export SHELL
1387 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1388 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1389 test "X$echo_testing_string" = 'X\t' &&
1390 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1391 test "X$echo_testing_string" = "X$echo_test_string"; then
1392 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1393 else
1394 # maybe with a smaller string...
1395 prev=:
1396
1397 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1398 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1399 then
1400 break
1401 fi
1402 prev="$cmd"
1403 done
1404
1405 if test "$prev" != 'sed 50q "[$]0"'; then
1406 echo_test_string=`eval $prev`
1407 export echo_test_string
1408 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1409 else
1410 # Oops. We lost completely, so just stick with echo.
1411 ECHO=echo
1412 fi
1413 fi
1414 fi
1415 fi
1416 fi
1417fi
1418
1419# Copy echo and quote the copy suitably for passing to libtool from
1420# the Makefile, instead of quoting the original, which is used later.
1421lt_ECHO=$ECHO
1422if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1423 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1424fi
1425
1426AC_SUBST(lt_ECHO)
1427])
1428_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])2017_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1429_LT_DECL([], [ECHO], [1],2018_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1430 [An echo program that does not interpret backslashes])
1431])# _LT_PROG_ECHO_BACKSLASH2019])# _LT_PROG_ECHO_BACKSLASH
14322020
14332021
@@ -1459,7 +2047,7 @@
1459 ;;2047 ;;
1460*-*-irix6*)2048*-*-irix6*)
1461 # Find out which ABI we are using.2049 # Find out which ABI we are using.
1462 echo '[#]line __oline__ "configure"' > conftest.$ac_ext2050 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1463 if AC_TRY_EVAL(ac_compile); then2051 if AC_TRY_EVAL(ac_compile); then
1464 if test "$lt_cv_prog_gnu_ld" = yes; then2052 if test "$lt_cv_prog_gnu_ld" = yes; then
1465 case `/usr/bin/file conftest.$ac_objext` in2053 case `/usr/bin/file conftest.$ac_objext` in
@@ -1611,10 +2199,19 @@
1611 esac2199 esac
1612 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"2200 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1613fi2201fi
2202
2203case $host_os in
2204 darwin*)
2205 lock_old_archive_extraction=yes ;;
2206 *)
2207 lock_old_archive_extraction=no ;;
2208esac
1614_LT_DECL([], [old_postinstall_cmds], [2])2209_LT_DECL([], [old_postinstall_cmds], [2])
1615_LT_DECL([], [old_postuninstall_cmds], [2])2210_LT_DECL([], [old_postuninstall_cmds], [2])
1616_LT_TAGDECL([], [old_archive_cmds], [2],2211_LT_TAGDECL([], [old_archive_cmds], [2],
1617 [Commands used to build an old-style archive])2212 [Commands used to build an old-style archive])
2213_LT_DECL([], [lock_old_archive_extraction], [0],
2214 [Whether to use a lock for old archive extraction])
1618])# _LT_CMD_OLD_ARCHIVE2215])# _LT_CMD_OLD_ARCHIVE
16192216
16202217
@@ -1639,15 +2236,15 @@
1639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \2236 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1640 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \2237 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1641 -e 's:$: $lt_compiler_flag:'`2238 -e 's:$: $lt_compiler_flag:'`
1642 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)2239 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1643 (eval "$lt_compile" 2>conftest.err)2240 (eval "$lt_compile" 2>conftest.err)
1644 ac_status=$?2241 ac_status=$?
1645 cat conftest.err >&AS_MESSAGE_LOG_FD2242 cat conftest.err >&AS_MESSAGE_LOG_FD
1646 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD2243 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1647 if (exit $ac_status) && test -s "$ac_outfile"; then2244 if (exit $ac_status) && test -s "$ac_outfile"; then
1648 # The compiler can only warn and ignore the option if not recognized2245 # The compiler can only warn and ignore the option if not recognized
1649 # So say no if there are warnings other than the usual output.2246 # So say no if there are warnings other than the usual output.
1650 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp2247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1651 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er22248 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1652 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then2249 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1653 $2=yes2250 $2=yes
@@ -1687,7 +2284,7 @@
1687 if test -s conftest.err; then2284 if test -s conftest.err; then
1688 # Append any errors to the config.log.2285 # Append any errors to the config.log.
1689 cat conftest.err 1>&AS_MESSAGE_LOG_FD2286 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1690 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp2287 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1691 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er22288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1692 if diff conftest.exp conftest.er2 >/dev/null; then2289 if diff conftest.exp conftest.er2 >/dev/null; then
1693 $2=yes2290 $2=yes
@@ -1739,7 +2336,7 @@
1739 lt_cv_sys_max_cmd_len=-1;2336 lt_cv_sys_max_cmd_len=-1;
1740 ;;2337 ;;
17412338
1742 cygwin* | mingw*)2339 cygwin* | mingw* | cegcc*)
1743 # On Win9x/ME, this test blows up -- it succeeds, but takes2340 # On Win9x/ME, this test blows up -- it succeeds, but takes
1744 # about 5 minutes as the teststring grows exponentially.2341 # about 5 minutes as the teststring grows exponentially.
1745 # Worse, since 9x/ME are not pre-emptively multitasking,2342 # Worse, since 9x/ME are not pre-emptively multitasking,
@@ -1750,6 +2347,11 @@
1750 lt_cv_sys_max_cmd_len=8192;2347 lt_cv_sys_max_cmd_len=8192;
1751 ;;2348 ;;
17522349
2350 mint*)
2351 # On MiNT this can take a long time and run out of memory.
2352 lt_cv_sys_max_cmd_len=8192;
2353 ;;
2354
1753 amigaos*)2355 amigaos*)
1754 # On AmigaOS with pdksh, this test takes hours, literally.2356 # On AmigaOS with pdksh, this test takes hours, literally.
1755 # So we just punt and use a minimum line length of 8192.2357 # So we just punt and use a minimum line length of 8192.
@@ -1814,8 +2416,8 @@
1814 # If test is not a shell built-in, we'll probably end up computing a2416 # If test is not a shell built-in, we'll probably end up computing a
1815 # maximum length that is only half of the actual maximum length, but2417 # maximum length that is only half of the actual maximum length, but
1816 # we can't tell.2418 # we can't tell.
1817 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \2419 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1818 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&2420 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1819 test $i != 17 # 1/2 MB should be enough2421 test $i != 17 # 1/2 MB should be enough
1820 do2422 do
1821 i=`expr $i + 1`2423 i=`expr $i + 1`
@@ -1866,7 +2468,7 @@
1866 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=22468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1867 lt_status=$lt_dlunknown2469 lt_status=$lt_dlunknown
1868 cat > conftest.$ac_ext <<_LT_EOF2470 cat > conftest.$ac_ext <<_LT_EOF
1869[#line __oline__ "configure"2471[#line $LINENO "configure"
1870#include "confdefs.h"2472#include "confdefs.h"
18712473
1872#if HAVE_DLFCN_H2474#if HAVE_DLFCN_H
@@ -1907,11 +2509,13 @@
1907# endif2509# endif
1908#endif2510#endif
19092511
1910#ifdef __cplusplus2512/* When -fvisbility=hidden is used, assume the code has been annotated
1911extern "C" void exit (int);2513 correspondingly for the symbols needed. */
2514#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
2515void fnord () __attribute__((visibility("default")));
1912#endif2516#endif
19132517
1914void fnord() { int i=42;}2518void fnord () { int i=42; }
1915int main ()2519int main ()
1916{2520{
1917 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);2521 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -1920,13 +2524,17 @@
1920 if (self)2524 if (self)
1921 {2525 {
1922 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;2526 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1923 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;2527 else
2528 {
2529 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2530 else puts (dlerror ());
2531 }
1924 /* dlclose (self); */2532 /* dlclose (self); */
1925 }2533 }
1926 else2534 else
1927 puts (dlerror ());2535 puts (dlerror ());
19282536
1929 exit (status);2537 return status;
1930}]2538}]
1931_LT_EOF2539_LT_EOF
1932 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then2540 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
@@ -1965,7 +2573,7 @@
1965 lt_cv_dlopen_self=yes2573 lt_cv_dlopen_self=yes
1966 ;;2574 ;;
19672575
1968 mingw* | pw32*)2576 mingw* | pw32* | cegcc*)
1969 lt_cv_dlopen="LoadLibrary"2577 lt_cv_dlopen="LoadLibrary"
1970 lt_cv_dlopen_libs=2578 lt_cv_dlopen_libs=
1971 ;;2579 ;;
@@ -2096,16 +2704,16 @@
2096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \2704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2097 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \2705 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2098 -e 's:$: $lt_compiler_flag:'`2706 -e 's:$: $lt_compiler_flag:'`
2099 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)2707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2100 (eval "$lt_compile" 2>out/conftest.err)2708 (eval "$lt_compile" 2>out/conftest.err)
2101 ac_status=$?2709 ac_status=$?
2102 cat out/conftest.err >&AS_MESSAGE_LOG_FD2710 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2103 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD2711 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2104 if (exit $ac_status) && test -s out/conftest2.$ac_objext2712 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2105 then2713 then
2106 # The compiler can only warn and ignore the option if not recognized2714 # The compiler can only warn and ignore the option if not recognized
2107 # So say no if there are warnings2715 # So say no if there are warnings
2108 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp2716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
2109 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er22717 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2110 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then2718 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2111 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes2719 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
@@ -2262,7 +2870,9 @@
2262[AC_REQUIRE([AC_CANONICAL_HOST])dnl2870[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2263m4_require([_LT_DECL_EGREP])dnl2871m4_require([_LT_DECL_EGREP])dnl
2264m4_require([_LT_FILEUTILS_DEFAULTS])dnl2872m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2873m4_require([_LT_DECL_OBJDUMP])dnl
2265m4_require([_LT_DECL_SED])dnl2874m4_require([_LT_DECL_SED])dnl
2875m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2266AC_MSG_CHECKING([dynamic linker characteristics])2876AC_MSG_CHECKING([dynamic linker characteristics])
2267m4_if([$1],2877m4_if([$1],
2268 [], [2878 [], [
@@ -2271,16 +2881,23 @@
2271 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;2881 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2272 *) lt_awk_arg="/^libraries:/" ;;2882 *) lt_awk_arg="/^libraries:/" ;;
2273 esac2883 esac
2274 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`2884 case $host_os in
2275 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then2885 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2886 *) lt_sed_strip_eq="s,=/,/,g" ;;
2887 esac
2888 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2889 case $lt_search_path_spec in
2890 *\;*)
2276 # if the path contains ";" then we assume it to be the separator2891 # if the path contains ";" then we assume it to be the separator
2277 # otherwise default to the standard path separator (i.e. ":") - it is2892 # otherwise default to the standard path separator (i.e. ":") - it is
2278 # assumed that no part of a normal pathname contains ";" but that should2893 # assumed that no part of a normal pathname contains ";" but that should
2279 # okay in the real world where ";" in dirpaths is itself problematic.2894 # okay in the real world where ";" in dirpaths is itself problematic.
2280 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`2895 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2281 else2896 ;;
2282 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`2897 *)
2283 fi2898 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2899 ;;
2900 esac
2284 # Ok, now we have the path, separated by spaces, we can step through it2901 # Ok, now we have the path, separated by spaces, we can step through it
2285 # and add multilib dir if necessary.2902 # and add multilib dir if necessary.
2286 lt_tmp_lt_search_path_spec=2903 lt_tmp_lt_search_path_spec=
@@ -2293,7 +2910,7 @@
2293 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"2910 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2294 fi2911 fi
2295 done2912 done
2296 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '2913 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2297BEGIN {RS=" "; FS="/|\n";} {2914BEGIN {RS=" "; FS="/|\n";} {
2298 lt_foo="";2915 lt_foo="";
2299 lt_count=0;2916 lt_count=0;
@@ -2313,7 +2930,13 @@
2313 if (lt_foo != "") { lt_freq[[lt_foo]]++; }2930 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2314 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }2931 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2315}'`2932}'`
2316 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`2933 # AWK program above erroneously prepends '/' to C:/dos/paths
2934 # for these hosts.
2935 case $host_os in
2936 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2937 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
2938 esac
2939 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
2317else2940else
2318 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"2941 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2319fi])2942fi])
@@ -2401,7 +3024,7 @@
2401 m68k)3024 m68k)
2402 library_names_spec='$libname.ixlibrary $libname.a'3025 library_names_spec='$libname.ixlibrary $libname.a'
2403 # Create ${libname}_ixlibrary.a entries in /sys/libs.3026 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2404 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'3027 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2405 ;;3028 ;;
2406 esac3029 esac
2407 ;;3030 ;;
@@ -2426,14 +3049,14 @@
2426 # libtool to hard-code these into programs3049 # libtool to hard-code these into programs
2427 ;;3050 ;;
24283051
2429cygwin* | mingw* | pw32*)3052cygwin* | mingw* | pw32* | cegcc*)
2430 version_type=windows3053 version_type=windows
2431 shrext_cmds=".dll"3054 shrext_cmds=".dll"
2432 need_version=no3055 need_version=no
2433 need_lib_prefix=no3056 need_lib_prefix=no
24343057
2435 case $GCC,$host_os in3058 case $GCC,$host_os in
2436 yes,cygwin* | yes,mingw* | yes,pw32*)3059 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
2437 library_names_spec='$libname.dll.a'3060 library_names_spec='$libname.dll.a'
2438 # DLL is installed to $(libdir)/../bin by postinstall_cmds3061 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2439 postinstall_cmds='base_file=`basename \${file}`~3062 postinstall_cmds='base_file=`basename \${file}`~
@@ -2454,23 +3077,12 @@
2454 cygwin*)3077 cygwin*)
2455 # Cygwin DLLs use 'cyg' prefix rather than 'lib'3078 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2456 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'3079 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2457 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"3080m4_if([$1], [],[
3081 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
2458 ;;3082 ;;
2459 mingw*)3083 mingw* | cegcc*)
2460 # MinGW DLLs use traditional 'lib' prefix3084 # MinGW DLLs use traditional 'lib' prefix
2461 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'3085 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2462 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2463 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2464 # It is most probably a Windows format PATH printed by
2465 # mingw gcc, but we are running on Cygwin. Gcc prints its search
2466 # path with ; separators, and with drive letters. We can handle the
2467 # drive letters (cygwin fileutils understands them), so leave them,
2468 # especially as we might pass files found there to a mingw objdump,
2469 # which wouldn't understand a cygwinified path. Ahh.
2470 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2471 else
2472 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2473 fi
2474 ;;3086 ;;
2475 pw32*)3087 pw32*)
2476 # pw32 DLLs use 'pw' prefix rather than 'lib'3088 # pw32 DLLs use 'pw' prefix rather than 'lib'
@@ -2527,7 +3139,14 @@
2527 *) objformat=elf ;;3139 *) objformat=elf ;;
2528 esac3140 esac
2529 fi3141 fi
2530 version_type=freebsd-$objformat3142 # Handle Gentoo/FreeBSD as it was Linux
3143 case $host_vendor in
3144 gentoo)
3145 version_type=linux ;;
3146 *)
3147 version_type=freebsd-$objformat ;;
3148 esac
3149
2531 case $version_type in3150 case $version_type in
2532 freebsd-elf*)3151 freebsd-elf*)
2533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'3152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
@@ -2538,6 +3157,12 @@
2538 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'3157 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2539 need_version=yes3158 need_version=yes
2540 ;;3159 ;;
3160 linux)
3161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3162 soname_spec='${libname}${release}${shared_ext}$major'
3163 need_lib_prefix=no
3164 need_version=no
3165 ;;
2541 esac3166 esac
2542 shlibpath_var=LD_LIBRARY_PATH3167 shlibpath_var=LD_LIBRARY_PATH
2543 case $host_os in3168 case $host_os in
@@ -2570,6 +3195,19 @@
2570 hardcode_into_libs=yes3195 hardcode_into_libs=yes
2571 ;;3196 ;;
25723197
3198haiku*)
3199 version_type=linux
3200 need_lib_prefix=no
3201 need_version=no
3202 dynamic_linker="$host_os runtime_loader"
3203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3204 soname_spec='${libname}${release}${shared_ext}$major'
3205 shlibpath_var=LIBRARY_PATH
3206 shlibpath_overrides_runpath=yes
3207 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
3208 hardcode_into_libs=yes
3209 ;;
3210
2573hpux9* | hpux10* | hpux11*)3211hpux9* | hpux10* | hpux11*)
2574 # Give a soname corresponding to the major version so that dld.sl refuses to3212 # Give a soname corresponding to the major version so that dld.sl refuses to
2575 # link against other versions.3213 # link against other versions.
@@ -2612,8 +3250,10 @@
2612 soname_spec='${libname}${release}${shared_ext}$major'3250 soname_spec='${libname}${release}${shared_ext}$major'
2613 ;;3251 ;;
2614 esac3252 esac
2615 # HP-UX runs *really* slowly unless shared libraries are mode 555.3253 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2616 postinstall_cmds='chmod 555 $lib'3254 postinstall_cmds='chmod 555 $lib'
3255 # or fails outright, so override atomically:
3256 install_override_mode=555
2617 ;;3257 ;;
26183258
2619interix[[3-9]]*)3259interix[[3-9]]*)
@@ -2671,7 +3311,7 @@
2671 ;;3311 ;;
26723312
2673# This must be Linux ELF.3313# This must be Linux ELF.
2674linux* | k*bsd*-gnu)3314linux* | k*bsd*-gnu | kopensolaris*-gnu)
2675 version_type=linux3315 version_type=linux
2676 need_lib_prefix=no3316 need_lib_prefix=no
2677 need_version=no3317 need_version=no
@@ -2680,16 +3320,21 @@
2680 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'3320 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2681 shlibpath_var=LD_LIBRARY_PATH3321 shlibpath_var=LD_LIBRARY_PATH
2682 shlibpath_overrides_runpath=no3322 shlibpath_overrides_runpath=no
3323
2683 # Some binutils ld are patched to set DT_RUNPATH3324 # Some binutils ld are patched to set DT_RUNPATH
2684 save_LDFLAGS=$LDFLAGS3325 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2685 save_libdir=$libdir3326 [lt_cv_shlibpath_overrides_runpath=no
2686 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \3327 save_LDFLAGS=$LDFLAGS
2687 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""3328 save_libdir=$libdir
2688 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],3329 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2689 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],3330 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2690 [shlibpath_overrides_runpath=yes])])3331 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2691 LDFLAGS=$save_LDFLAGS3332 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2692 libdir=$save_libdir3333 [lt_cv_shlibpath_overrides_runpath=yes])])
3334 LDFLAGS=$save_LDFLAGS
3335 libdir=$save_libdir
3336 ])
3337 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
26933338
2694 # This implies no fast_install, which is unacceptable.3339 # This implies no fast_install, which is unacceptable.
2695 # Some rework will be needed to allow for fast_install3340 # Some rework will be needed to allow for fast_install
@@ -2698,7 +3343,7 @@
26983343
2699 # Append ld.so.conf contents to the search path3344 # Append ld.so.conf contents to the search path
2700 if test -f /etc/ld.so.conf; then3345 if test -f /etc/ld.so.conf; then
2701 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`3346 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2702 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"3347 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2703 fi3348 fi
27043349
@@ -2711,18 +3356,6 @@
2711 dynamic_linker='GNU/Linux ld.so'3356 dynamic_linker='GNU/Linux ld.so'
2712 ;;3357 ;;
27133358
2714netbsdelf*-gnu)
2715 version_type=linux
2716 need_lib_prefix=no
2717 need_version=no
2718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2719 soname_spec='${libname}${release}${shared_ext}$major'
2720 shlibpath_var=LD_LIBRARY_PATH
2721 shlibpath_overrides_runpath=no
2722 hardcode_into_libs=yes
2723 dynamic_linker='NetBSD ld.elf_so'
2724 ;;
2725
2726netbsd*)3359netbsd*)
2727 version_type=sunos3360 version_type=sunos
2728 need_lib_prefix=no3361 need_lib_prefix=no
@@ -2894,7 +3527,7 @@
2894 version_type=linux3527 version_type=linux
2895 need_lib_prefix=no3528 need_lib_prefix=no
2896 need_version=no3529 need_version=no
2897 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'3530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2898 shlibpath_var=LD_LIBRARY_PATH3531 shlibpath_var=LD_LIBRARY_PATH
2899 shlibpath_overrides_runpath=no3532 shlibpath_overrides_runpath=no
2900 hardcode_into_libs=yes3533 hardcode_into_libs=yes
@@ -2918,7 +3551,7 @@
2918if test "$GCC" = yes; then3551if test "$GCC" = yes; then
2919 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"3552 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2920fi3553fi
2921 3554
2922if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then3555if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2923 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"3556 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2924fi3557fi
@@ -2943,6 +3576,8 @@
2943 The last name is the one that the linker finds with -lNAME]])3576 The last name is the one that the linker finds with -lNAME]])
2944_LT_DECL([], [soname_spec], [1],3577_LT_DECL([], [soname_spec], [1],
2945 [[The coded name of the library, if different from the real name]])3578 [[The coded name of the library, if different from the real name]])
3579_LT_DECL([], [install_override_mode], [1],
3580 [Permission mode override for installation of shared libraries])
2946_LT_DECL([], [postinstall_cmds], [2],3581_LT_DECL([], [postinstall_cmds], [2],
2947 [Command to use after installation of a shared archive])3582 [Command to use after installation of a shared archive])
2948_LT_DECL([], [postuninstall_cmds], [2],3583_LT_DECL([], [postuninstall_cmds], [2],
@@ -3055,6 +3690,7 @@
3055AC_REQUIRE([AC_CANONICAL_BUILD])dnl3690AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3056m4_require([_LT_DECL_SED])dnl3691m4_require([_LT_DECL_SED])dnl
3057m4_require([_LT_DECL_EGREP])dnl3692m4_require([_LT_DECL_EGREP])dnl
3693m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
30583694
3059AC_ARG_WITH([gnu-ld],3695AC_ARG_WITH([gnu-ld],
3060 [AS_HELP_STRING([--with-gnu-ld],3696 [AS_HELP_STRING([--with-gnu-ld],
@@ -3184,8 +3820,8 @@
3184 fi3820 fi
3185 ;;3821 ;;
3186esac3822esac
3187_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl3823_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3188_LT_DECL([], [reload_cmds], [2])dnl3824_LT_TAGDECL([], [reload_cmds], [2])dnl
3189])# _LT_CMD_RELOAD3825])# _LT_CMD_RELOAD
31903826
31913827
@@ -3195,6 +3831,7 @@
3195# -- PORTME fill in with the dynamic library characteristics3831# -- PORTME fill in with the dynamic library characteristics
3196m4_defun([_LT_CHECK_MAGIC_METHOD],3832m4_defun([_LT_CHECK_MAGIC_METHOD],
3197[m4_require([_LT_DECL_EGREP])3833[m4_require([_LT_DECL_EGREP])
3834m4_require([_LT_DECL_OBJDUMP])
3198AC_CACHE_CHECK([how to recognize dependent libraries],3835AC_CACHE_CHECK([how to recognize dependent libraries],
3199lt_cv_deplibs_check_method,3836lt_cv_deplibs_check_method,
3200[lt_cv_file_magic_cmd='$MAGIC_CMD'3837[lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -3236,15 +3873,23 @@
3236 # Base MSYS/MinGW do not provide the 'file' command needed by3873 # Base MSYS/MinGW do not provide the 'file' command needed by
3237 # func_win32_libid shell function, so use a weaker test based on 'objdump',3874 # func_win32_libid shell function, so use a weaker test based on 'objdump',
3238 # unless we find 'file', for example because we are cross-compiling.3875 # unless we find 'file', for example because we are cross-compiling.
3239 if ( file / ) >/dev/null 2>&1; then3876 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
3877 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
3240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'3878 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3241 lt_cv_file_magic_cmd='func_win32_libid'3879 lt_cv_file_magic_cmd='func_win32_libid'
3242 else3880 else
3243 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'3881 # Keep this pattern in sync with the one in func_win32_libid.
3882 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
3244 lt_cv_file_magic_cmd='$OBJDUMP -f'3883 lt_cv_file_magic_cmd='$OBJDUMP -f'
3245 fi3884 fi
3246 ;;3885 ;;
32473886
3887cegcc*)
3888 # use the weaker test based on 'objdump'. See mingw*.
3889 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3890 lt_cv_file_magic_cmd='$OBJDUMP -f'
3891 ;;
3892
3248darwin* | rhapsody*)3893darwin* | rhapsody*)
3249 lt_cv_deplibs_check_method=pass_all3894 lt_cv_deplibs_check_method=pass_all
3250 ;;3895 ;;
@@ -3269,6 +3914,10 @@
3269 lt_cv_deplibs_check_method=pass_all3914 lt_cv_deplibs_check_method=pass_all
3270 ;;3915 ;;
32713916
3917haiku*)
3918 lt_cv_deplibs_check_method=pass_all
3919 ;;
3920
3272hpux10.20* | hpux11*)3921hpux10.20* | hpux11*)
3273 lt_cv_file_magic_cmd=/usr/bin/file3922 lt_cv_file_magic_cmd=/usr/bin/file
3274 case $host_cpu in3923 case $host_cpu in
@@ -3277,11 +3926,11 @@
3277 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so3926 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3278 ;;3927 ;;
3279 hppa*64*)3928 hppa*64*)
3280 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']3929 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
3281 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl3930 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3282 ;;3931 ;;
3283 *)3932 *)
3284 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'3933 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
3285 lt_cv_file_magic_test_file=/usr/lib/libc.sl3934 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3286 ;;3935 ;;
3287 esac3936 esac
@@ -3303,11 +3952,11 @@
3303 ;;3952 ;;
33043953
3305# This must be Linux ELF.3954# This must be Linux ELF.
3306linux* | k*bsd*-gnu)3955linux* | k*bsd*-gnu | kopensolaris*-gnu)
3307 lt_cv_deplibs_check_method=pass_all3956 lt_cv_deplibs_check_method=pass_all
3308 ;;3957 ;;
33093958
3310netbsd* | netbsdelf*-gnu)3959netbsd*)
3311 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then3960 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3312 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'3961 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3313 else3962 else
@@ -3445,7 +4094,19 @@
3445 NM="$lt_cv_path_NM"4094 NM="$lt_cv_path_NM"
3446else4095else
3447 # Didn't find any BSD compatible name lister, look for dumpbin.4096 # Didn't find any BSD compatible name lister, look for dumpbin.
3448 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)4097 if test -n "$DUMPBIN"; then :
4098 # Let the user override the test.
4099 else
4100 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
4101 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4102 *COFF*)
4103 DUMPBIN="$DUMPBIN -symbols"
4104 ;;
4105 *)
4106 DUMPBIN=:
4107 ;;
4108 esac
4109 fi
3449 AC_SUBST([DUMPBIN])4110 AC_SUBST([DUMPBIN])
3450 if test "$DUMPBIN" != ":"; then4111 if test "$DUMPBIN" != ":"; then
3451 NM="$DUMPBIN"4112 NM="$DUMPBIN"
@@ -3458,13 +4119,13 @@
3458AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],4119AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3459 [lt_cv_nm_interface="BSD nm"4120 [lt_cv_nm_interface="BSD nm"
3460 echo "int some_variable = 0;" > conftest.$ac_ext4121 echo "int some_variable = 0;" > conftest.$ac_ext
3461 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)4122 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3462 (eval "$ac_compile" 2>conftest.err)4123 (eval "$ac_compile" 2>conftest.err)
3463 cat conftest.err >&AS_MESSAGE_LOG_FD4124 cat conftest.err >&AS_MESSAGE_LOG_FD
3464 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)4125 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3465 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)4126 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3466 cat conftest.err >&AS_MESSAGE_LOG_FD4127 cat conftest.err >&AS_MESSAGE_LOG_FD
3467 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)4128 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3468 cat conftest.out >&AS_MESSAGE_LOG_FD4129 cat conftest.out >&AS_MESSAGE_LOG_FD
3469 if $GREP 'External.*some_variable' conftest.out > /dev/null; then4130 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3470 lt_cv_nm_interface="MS dumpbin"4131 lt_cv_nm_interface="MS dumpbin"
@@ -3487,7 +4148,7 @@
3487[AC_REQUIRE([AC_CANONICAL_HOST])dnl4148[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3488LIBM=4149LIBM=
3489case $host in4150case $host in
3490*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)4151*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3491 # These system don't have libm, or don't need it4152 # These system don't have libm, or don't need it
3492 ;;4153 ;;
3493*-ncr-sysv4.3*)4154*-ncr-sysv4.3*)
@@ -3515,7 +4176,12 @@
3515_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=4176_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
35164177
3517if test "$GCC" = yes; then4178if test "$GCC" = yes; then
3518 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'4179 case $cc_basename in
4180 nvcc*)
4181 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
4182 *)
4183 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
4184 esac
35194185
3520 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],4186 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3521 lt_cv_prog_compiler_rtti_exceptions,4187 lt_cv_prog_compiler_rtti_exceptions,
@@ -3532,6 +4198,7 @@
3532m4_defun([_LT_CMD_GLOBAL_SYMBOLS],4198m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3533[AC_REQUIRE([AC_CANONICAL_HOST])dnl4199[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3534AC_REQUIRE([AC_PROG_CC])dnl4200AC_REQUIRE([AC_PROG_CC])dnl
4201AC_REQUIRE([AC_PROG_AWK])dnl
3535AC_REQUIRE([LT_PATH_NM])dnl4202AC_REQUIRE([LT_PATH_NM])dnl
3536AC_REQUIRE([LT_PATH_LD])dnl4203AC_REQUIRE([LT_PATH_LD])dnl
3537m4_require([_LT_DECL_SED])dnl4204m4_require([_LT_DECL_SED])dnl
@@ -3556,7 +4223,7 @@
3556aix*)4223aix*)
3557 symcode='[[BCDT]]'4224 symcode='[[BCDT]]'
3558 ;;4225 ;;
3559cygwin* | mingw* | pw32*)4226cygwin* | mingw* | pw32* | cegcc*)
3560 symcode='[[ABCDGISTW]]'4227 symcode='[[ABCDGISTW]]'
3561 ;;4228 ;;
3562hpux*)4229hpux*)
@@ -3657,7 +4324,7 @@
3657 if AC_TRY_EVAL(ac_compile); then4324 if AC_TRY_EVAL(ac_compile); then
3658 # Now try to grab the symbols.4325 # Now try to grab the symbols.
3659 nlist=conftest.nm4326 nlist=conftest.nm
3660 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then4327 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
3661 # Try sorting and uniquifying the output.4328 # Try sorting and uniquifying the output.
3662 if sort "$nlist" | uniq > "$nlist"T; then4329 if sort "$nlist" | uniq > "$nlist"T; then
3663 mv -f "$nlist"T "$nlist"4330 mv -f "$nlist"T "$nlist"
@@ -3802,7 +4469,7 @@
3802 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)4469 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3803 # PIC is the default for these OSes.4470 # PIC is the default for these OSes.
3804 ;;4471 ;;
3805 mingw* | cygwin* | os2* | pw32*)4472 mingw* | cygwin* | os2* | pw32* | cegcc*)
3806 # This hack is so that the source file can tell whether it is being4473 # This hack is so that the source file can tell whether it is being
3807 # built for inclusion in a dll (and should export symbols for example).4474 # built for inclusion in a dll (and should export symbols for example).
3808 # Although the cygwin gcc ignores -fPIC, still need this for old-style4475 # Although the cygwin gcc ignores -fPIC, still need this for old-style
@@ -3819,6 +4486,11 @@
3819 # DJGPP does not support shared libraries at all4486 # DJGPP does not support shared libraries at all
3820 _LT_TAGVAR(lt_prog_compiler_pic, $1)=4487 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3821 ;;4488 ;;
4489 haiku*)
4490 # PIC is the default for Haiku.
4491 # The "-static" flag exists, but is broken.
4492 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4493 ;;
3822 interix[[3-9]]*)4494 interix[[3-9]]*)
3823 # Interix 3.x gcc -fpic/-fPIC options generate broken code.4495 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3824 # Instead, we relocate shared libraries at runtime.4496 # Instead, we relocate shared libraries at runtime.
@@ -3829,10 +4501,11 @@
3829 fi4501 fi
3830 ;;4502 ;;
3831 hpux*)4503 hpux*)
3832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but4504 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
3833 # not for PA HP-UX.4505 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4506 # sets the default TLS model and affects inlining.
3834 case $host_cpu in4507 case $host_cpu in
3835 hppa*64*|ia64*)4508 hppa*64*)
3836 ;;4509 ;;
3837 *)4510 *)
3838 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'4511 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
@@ -3923,19 +4596,26 @@
3923 ;;4596 ;;
3924 esac4597 esac
3925 ;;4598 ;;
3926 linux* | k*bsd*-gnu)4599 linux* | k*bsd*-gnu | kopensolaris*-gnu)
3927 case $cc_basename in4600 case $cc_basename in
3928 KCC*)4601 KCC*)
3929 # KAI C++ Compiler4602 # KAI C++ Compiler
3930 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'4603 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3931 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'4604 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3932 ;;4605 ;;
3933 icpc* | ecpc* )4606 ecpc* )
3934 # Intel C++4607 # old Intel C++ for x86_64 which still supported -KPIC.
3935 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4608 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3936 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4609 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3937 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'4610 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3938 ;;4611 ;;
4612 icpc* )
4613 # Intel C++, used to be incompatible with GCC.
4614 # ICC 10 doesn't accept -KPIC any more.
4615 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4616 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4617 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4618 ;;
3939 pgCC* | pgcpp*)4619 pgCC* | pgcpp*)
3940 # Portland Group C++ compiler4620 # Portland Group C++ compiler
3941 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4621 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -3949,8 +4629,8 @@
3949 _LT_TAGVAR(lt_prog_compiler_pic, $1)=4629 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3950 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'4630 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3951 ;;4631 ;;
3952 xlc* | xlC*)4632 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
3953 # IBM XL 8.0 on PPC4633 # IBM XL 8.0, 9.0 on PPC and BlueGene
3954 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4634 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3955 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'4635 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
3956 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'4636 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -3980,7 +4660,7 @@
3980 ;;4660 ;;
3981 esac4661 esac
3982 ;;4662 ;;
3983 netbsd* | netbsdelf*-gnu)4663 netbsd*)
3984 ;;4664 ;;
3985 *qnx* | *nto*)4665 *qnx* | *nto*)
3986 # QNX uses GNU C++, but need to define -shared option too, otherwise4666 # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -4012,7 +4692,7 @@
4012 ;;4692 ;;
4013 solaris*)4693 solaris*)
4014 case $cc_basename in4694 case $cc_basename in
4015 CC*)4695 CC* | sunCC*)
4016 # Sun C++ 4.2, 5.x and Centerline C++4696 # Sun C++ 4.2, 5.x and Centerline C++
4017 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4697 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4018 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4698 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -4101,7 +4781,7 @@
4101 # PIC is the default for these OSes.4781 # PIC is the default for these OSes.
4102 ;;4782 ;;
41034783
4104 mingw* | cygwin* | pw32* | os2*)4784 mingw* | cygwin* | pw32* | os2* | cegcc*)
4105 # This hack is so that the source file can tell whether it is being4785 # This hack is so that the source file can tell whether it is being
4106 # built for inclusion in a dll (and should export symbols for example).4786 # built for inclusion in a dll (and should export symbols for example).
4107 # Although the cygwin gcc ignores -fPIC, still need this for old-style4787 # Although the cygwin gcc ignores -fPIC, still need this for old-style
@@ -4116,11 +4796,18 @@
4116 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'4796 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4117 ;;4797 ;;
41184798
4799 haiku*)
4800 # PIC is the default for Haiku.
4801 # The "-static" flag exists, but is broken.
4802 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4803 ;;
4804
4119 hpux*)4805 hpux*)
4120 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but4806 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4121 # not for PA HP-UX.4807 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4808 # sets the default TLS model and affects inlining.
4122 case $host_cpu in4809 case $host_cpu in
4123 hppa*64*|ia64*)4810 hppa*64*)
4124 # +Z the default4811 # +Z the default
4125 ;;4812 ;;
4126 *)4813 *)
@@ -4157,6 +4844,13 @@
4157 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'4844 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4158 ;;4845 ;;
4159 esac4846 esac
4847
4848 case $cc_basename in
4849 nvcc*) # Cuda Compiler Driver 2.2
4850 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4851 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
4852 ;;
4853 esac
4160 else4854 else
4161 # PORTME Check for flag to pass linker flags through the system compiler.4855 # PORTME Check for flag to pass linker flags through the system compiler.
4162 case $host_os in4856 case $host_os in
@@ -4170,7 +4864,7 @@
4170 fi4864 fi
4171 ;;4865 ;;
41724866
4173 mingw* | cygwin* | pw32* | os2*)4867 mingw* | cygwin* | pw32* | os2* | cegcc*)
4174 # This hack is so that the source file can tell whether it is being4868 # This hack is so that the source file can tell whether it is being
4175 # built for inclusion in a dll (and should export symbols for example).4869 # built for inclusion in a dll (and should export symbols for example).
4176 m4_if([$1], [GCJ], [],4870 m4_if([$1], [GCJ], [],
@@ -4199,14 +4893,28 @@
4199 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'4893 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4200 ;;4894 ;;
42014895
4202 linux* | k*bsd*-gnu)4896 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4203 case $cc_basename in4897 case $cc_basename in
4204 icc* | ecc* | ifort*)4898 # old Intel for x86_64 which still supported -KPIC.
4899 ecc*)
4205 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4900 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4206 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4901 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4207 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'4902 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4208 ;;4903 ;;
4209 pgcc* | pgf77* | pgf90* | pgf95*)4904 # icc used to be incompatible with GCC.
4905 # ICC 10 doesn't accept -KPIC any more.
4906 icc* | ifort*)
4907 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4908 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4909 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4910 ;;
4911 # Lahey Fortran 8.1.
4912 lf95*)
4913 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4914 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4915 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4916 ;;
4917 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
4210 # Portland Group compilers (*not* the Pentium gcc compiler,4918 # Portland Group compilers (*not* the Pentium gcc compiler,
4211 # which looks to be a dead project)4919 # which looks to be a dead project)
4212 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4920 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -4218,26 +4926,26 @@
4218 # All Alpha code is PIC.4926 # All Alpha code is PIC.
4219 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'4927 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4220 ;;4928 ;;
4221 xl*)4929 xl* | bgxl* | bgf* | mpixl*)
4222 # IBM XL C 8.0/Fortran 10.1 on PPC4930 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
4223 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4931 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4224 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'4932 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4225 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'4933 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4226 ;;4934 ;;
4227 *)4935 *)
4228 case `$CC -V 2>&1 | sed 5q` in4936 case `$CC -V 2>&1 | sed 5q` in
4937 *Sun\ F* | *Sun*Fortran*)
4938 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4939 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4940 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4941 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4942 ;;
4229 *Sun\ C*)4943 *Sun\ C*)
4230 # Sun C 5.94944 # Sun C 5.9
4231 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4945 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4232 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4946 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4233 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'4947 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4234 ;;4948 ;;
4235 *Sun\ F*)
4236 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4237 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4238 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4239 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4240 ;;
4241 esac4949 esac
4242 ;;4950 ;;
4243 esac4951 esac
@@ -4268,7 +4976,7 @@
4268 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'4976 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4269 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'4977 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4270 case $cc_basename in4978 case $cc_basename in
4271 f77* | f90* | f95*)4979 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
4272 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;4980 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4273 *)4981 *)
4274 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;4982 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
@@ -4378,8 +5086,10 @@
4378 aix[[4-9]]*)5086 aix[[4-9]]*)
4379 # If we're using GNU nm, then we don't want the "-C" option.5087 # If we're using GNU nm, then we don't want the "-C" option.
4380 # -C means demangle to AIX nm, but means don't demangle with GNU nm5088 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5089 # Also, AIX nm treats weak defined symbols like other global defined
5090 # symbols, whereas GNU nm marks them as "W".
4381 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then5091 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4382 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'5092 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4383 else5093 else
4384 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'5094 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4385 fi5095 fi
@@ -4387,12 +5097,9 @@
4387 pw32*)5097 pw32*)
4388 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"5098 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4389 ;;5099 ;;
4390 cygwin* | mingw*)5100 cygwin* | mingw* | cegcc*)
4391 _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'5101 _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'
4392 ;;5102 ;;
4393 linux* | k*bsd*-gnu)
4394 _LT_TAGVAR(link_all_deplibs, $1)=no
4395 ;;
4396 *)5103 *)
4397 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'5104 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4398 ;;5105 ;;
@@ -4442,7 +5149,7 @@
4442 extract_expsyms_cmds=5149 extract_expsyms_cmds=
44435150
4444 case $host_os in5151 case $host_os in
4445 cygwin* | mingw* | pw32*)5152 cygwin* | mingw* | pw32* | cegcc*)
4446 # FIXME: the MSVC++ port hasn't been tested in a loooong time5153 # FIXME: the MSVC++ port hasn't been tested in a loooong time
4447 # When not using gcc, we currently assume that we are using5154 # When not using gcc, we currently assume that we are using
4448 # Microsoft Visual C++.5155 # Microsoft Visual C++.
@@ -4460,7 +5167,33 @@
4460 esac5167 esac
44615168
4462 _LT_TAGVAR(ld_shlibs, $1)=yes5169 _LT_TAGVAR(ld_shlibs, $1)=yes
5170
5171 # On some targets, GNU ld is compatible enough with the native linker
5172 # that we're better off using the native interface for both.
5173 lt_use_gnu_ld_interface=no
4463 if test "$with_gnu_ld" = yes; then5174 if test "$with_gnu_ld" = yes; then
5175 case $host_os in
5176 aix*)
5177 # The AIX port of GNU ld has always aspired to compatibility
5178 # with the native linker. However, as the warning in the GNU ld
5179 # block says, versions before 2.19.5* couldn't really create working
5180 # shared libraries, regardless of the interface used.
5181 case `$LD -v 2>&1` in
5182 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5183 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5184 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5185 *)
5186 lt_use_gnu_ld_interface=yes
5187 ;;
5188 esac
5189 ;;
5190 *)
5191 lt_use_gnu_ld_interface=yes
5192 ;;
5193 esac
5194 fi
5195
5196 if test "$lt_use_gnu_ld_interface" = yes; then
4464 # If archive_cmds runs LD, not CC, wlarc should be empty5197 # If archive_cmds runs LD, not CC, wlarc should be empty
4465 wlarc='${wl}'5198 wlarc='${wl}'
44665199
@@ -4478,6 +5211,7 @@
4478 fi5211 fi
4479 supports_anon_versioning=no5212 supports_anon_versioning=no
4480 case `$LD -v 2>&1` in5213 case `$LD -v 2>&1` in
5214 *GNU\ gold*) supports_anon_versioning=yes ;;
4481 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.115215 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4482 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...5216 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4483 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...5217 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
@@ -4493,11 +5227,12 @@
4493 _LT_TAGVAR(ld_shlibs, $1)=no5227 _LT_TAGVAR(ld_shlibs, $1)=no
4494 cat <<_LT_EOF 1>&25228 cat <<_LT_EOF 1>&2
44955229
4496*** Warning: the GNU linker, at least up to release 2.9.1, is reported5230*** Warning: the GNU linker, at least up to release 2.19, is reported
4497*** to be unable to reliably create shared libraries on AIX.5231*** to be unable to reliably create shared libraries on AIX.
4498*** Therefore, libtool is disabling shared libraries support. If you5232*** Therefore, libtool is disabling shared libraries support. If you
4499*** really care for shared libraries, you may want to modify your PATH5233*** really care for shared libraries, you may want to install binutils
4500*** so that a non-GNU linker is found, and then restart.5234*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5235*** You will then need to restart the configuration process.
45015236
4502_LT_EOF5237_LT_EOF
4503 fi5238 fi
@@ -4529,10 +5264,11 @@
4529 fi5264 fi
4530 ;;5265 ;;
45315266
4532 cygwin* | mingw* | pw32*)5267 cygwin* | mingw* | pw32* | cegcc*)
4533 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,5268 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4534 # as there is no search path for DLLs.5269 # as there is no search path for DLLs.
4535 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'5270 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5271 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
4536 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported5272 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4537 _LT_TAGVAR(always_export_symbols, $1)=no5273 _LT_TAGVAR(always_export_symbols, $1)=no
4538 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes5274 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -4554,6 +5290,11 @@
4554 fi5290 fi
4555 ;;5291 ;;
45565292
5293 haiku*)
5294 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5295 _LT_TAGVAR(link_all_deplibs, $1)=yes
5296 ;;
5297
4557 interix[[3-9]]*)5298 interix[[3-9]]*)
4558 _LT_TAGVAR(hardcode_direct, $1)=no5299 _LT_TAGVAR(hardcode_direct, $1)=no
4559 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no5300 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -4569,7 +5310,7 @@
4569 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'5310 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4570 ;;5311 ;;
45715312
4572 gnu* | linux* | tpf* | k*bsd*-gnu)5313 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
4573 tmp_diet=no5314 tmp_diet=no
4574 if test "$host_os" = linux-dietlibc; then5315 if test "$host_os" = linux-dietlibc; then
4575 case $cc_basename in5316 case $cc_basename in
@@ -4583,11 +5324,12 @@
4583 tmp_sharedflag='-shared'5324 tmp_sharedflag='-shared'
4584 case $cc_basename,$host_cpu in5325 case $cc_basename,$host_cpu in
4585 pgcc*) # Portland Group C compiler5326 pgcc*) # Portland Group C compiler
4586 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'5327 _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'
4587 tmp_addflag=' $pic_flag'5328 tmp_addflag=' $pic_flag'
4588 ;;5329 ;;
4589 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers5330 pgf77* | pgf90* | pgf95* | pgfortran*)
4590 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'5331 # Portland Group f77 and f90 compilers
5332 _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'
4591 tmp_addflag=' $pic_flag -Mnomain' ;;5333 tmp_addflag=' $pic_flag -Mnomain' ;;
4592 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia645334 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
4593 tmp_addflag=' -i_dynamic' ;;5335 tmp_addflag=' -i_dynamic' ;;
@@ -4595,13 +5337,20 @@
4595 tmp_addflag=' -i_dynamic -nofor_main' ;;5337 tmp_addflag=' -i_dynamic -nofor_main' ;;
4596 ifc* | ifort*) # Intel Fortran compiler5338 ifc* | ifort*) # Intel Fortran compiler
4597 tmp_addflag=' -nofor_main' ;;5339 tmp_addflag=' -nofor_main' ;;
4598 xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)5340 lf95*) # Lahey Fortran 8.1
5341 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5342 tmp_sharedflag='--shared' ;;
5343 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
4599 tmp_sharedflag='-qmkshrobj'5344 tmp_sharedflag='-qmkshrobj'
4600 tmp_addflag= ;;5345 tmp_addflag= ;;
5346 nvcc*) # Cuda Compiler Driver 2.2
5347 _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'
5348 _LT_TAGVAR(compiler_needs_object, $1)=yes
5349 ;;
4601 esac5350 esac
4602 case `$CC -V 2>&1 | sed 5q` in5351 case `$CC -V 2>&1 | sed 5q` in
4603 *Sun\ C*) # Sun C 5.95352 *Sun\ C*) # Sun C 5.9
4604 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'5353 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4605 _LT_TAGVAR(compiler_needs_object, $1)=yes5354 _LT_TAGVAR(compiler_needs_object, $1)=yes
4606 tmp_sharedflag='-G' ;;5355 tmp_sharedflag='-G' ;;
4607 *Sun\ F*) # Sun Fortran 8.35356 *Sun\ F*) # Sun Fortran 8.3
@@ -4617,17 +5366,17 @@
4617 fi5366 fi
46185367
4619 case $cc_basename in5368 case $cc_basename in
4620 xlf*)5369 xlf* | bgf* | bgxlf* | mpixlf*)
4621 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself5370 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4622 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'5371 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4623 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=5372 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4624 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'5373 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4625 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'5374 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4626 if test "x$supports_anon_versioning" = xyes; then5375 if test "x$supports_anon_versioning" = xyes; then
4627 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~5376 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~5377 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4629 echo "local: *; };" >> $output_objdir/$libname.ver~5378 echo "local: *; };" >> $output_objdir/$libname.ver~
4630 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'5379 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4631 fi5380 fi
4632 ;;5381 ;;
4633 esac5382 esac
@@ -4636,7 +5385,7 @@
4636 fi5385 fi
4637 ;;5386 ;;
46385387
4639 netbsd* | netbsdelf*-gnu)5388 netbsd*)
4640 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5389 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4641 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'5390 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4642 wlarc=5391 wlarc=
@@ -4748,8 +5497,10 @@
4748 else5497 else
4749 # If we're using GNU nm, then we don't want the "-C" option.5498 # If we're using GNU nm, then we don't want the "-C" option.
4750 # -C means demangle to AIX nm, but means don't demangle with GNU nm5499 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5500 # Also, AIX nm treats weak defined symbols like other global
5501 # defined symbols, whereas GNU nm marks them as "W".
4751 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then5502 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4752 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'5503 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4753 else5504 else
4754 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'5505 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4755 fi5506 fi
@@ -4811,7 +5562,6 @@
4811 if test "$aix_use_runtimelinking" = yes; then5562 if test "$aix_use_runtimelinking" = yes; then
4812 shared_flag="$shared_flag "'${wl}-G'5563 shared_flag="$shared_flag "'${wl}-G'
4813 fi5564 fi
4814 _LT_TAGVAR(link_all_deplibs, $1)=no
4815 else5565 else
4816 # not using gcc5566 # not using gcc
4817 if test "$host_cpu" = ia64; then5567 if test "$host_cpu" = ia64; then
@@ -4827,6 +5577,7 @@
4827 fi5577 fi
4828 fi5578 fi
48295579
5580 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
4830 # It seems that -bexpall does not export symbols beginning with5581 # It seems that -bexpall does not export symbols beginning with
4831 # underscore (_), so it is better to generate a list of symbols to export.5582 # underscore (_), so it is better to generate a list of symbols to export.
4832 _LT_TAGVAR(always_export_symbols, $1)=yes5583 _LT_TAGVAR(always_export_symbols, $1)=yes
@@ -4838,7 +5589,7 @@
4838 # empty executable.5589 # empty executable.
4839 _LT_SYS_MODULE_PATH_AIX5590 _LT_SYS_MODULE_PATH_AIX
4840 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"5591 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4841 _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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"5592 _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"
4842 else5593 else
4843 if test "$host_cpu" = ia64; then5594 if test "$host_cpu" = ia64; then
4844 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'5595 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -4853,8 +5604,13 @@
4853 # -berok will link without error, but may produce a broken library.5604 # -berok will link without error, but may produce a broken library.
4854 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'5605 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4855 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'5606 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4856 # Exported symbols can be pulled into shared objects from archives5607 if test "$with_gnu_ld" = yes; then
4857 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'5608 # We only use this code for GNU lds that support --whole-archive.
5609 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5610 else
5611 # Exported symbols can be pulled into shared objects from archives
5612 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5613 fi
4858 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes5614 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
4859 # This is similar to how AIX traditionally builds its shared libraries.5615 # This is similar to how AIX traditionally builds its shared libraries.
4860 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'5616 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -4881,7 +5637,7 @@
4881 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic5637 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
4882 ;;5638 ;;
48835639
4884 cygwin* | mingw* | pw32*)5640 cygwin* | mingw* | pw32* | cegcc*)
4885 # When not using gcc, we currently assume that we are using5641 # When not using gcc, we currently assume that we are using
4886 # Microsoft Visual C++.5642 # Microsoft Visual C++.
4887 # hardcode_libdir_flag_spec is actually meaningless, as there is5643 # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -4893,7 +5649,7 @@
4893 # Tell ltmain to make .dll files, not .so files.5649 # Tell ltmain to make .dll files, not .so files.
4894 shrext_cmds=".dll"5650 shrext_cmds=".dll"
4895 # FIXME: Setting linknames here is a bad hack.5651 # FIXME: Setting linknames here is a bad hack.
4896 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='5652 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
4897 # The linker will automatically build a .lib file if we build a DLL.5653 # The linker will automatically build a .lib file if we build a DLL.
4898 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'5654 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
4899 # FIXME: Should let the user specify the lib program.5655 # FIXME: Should let the user specify the lib program.
@@ -4960,7 +5716,7 @@
4960 ;;5716 ;;
49615717
4962 hpux10*)5718 hpux10*)
4963 if test "$GCC" = yes -a "$with_gnu_ld" = no; then5719 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
4964 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'5720 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4965 else5721 else
4966 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'5722 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
@@ -4979,13 +5735,13 @@
4979 ;;5735 ;;
49805736
4981 hpux11*)5737 hpux11*)
4982 if test "$GCC" = yes -a "$with_gnu_ld" = no; then5738 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
4983 case $host_cpu in5739 case $host_cpu in
4984 hppa*64*)5740 hppa*64*)
4985 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'5741 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4986 ;;5742 ;;
4987 ia64*)5743 ia64*)
4988 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'5744 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4989 ;;5745 ;;
4990 *)5746 *)
4991 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'5747 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
@@ -5000,7 +5756,14 @@
5000 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'5756 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5001 ;;5757 ;;
5002 *)5758 *)
5003 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'5759 m4_if($1, [], [
5760 # Older versions of the 11.00 compiler do not understand -b yet
5761 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5762 _LT_LINKER_OPTION([if $CC understands -b],
5763 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5764 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
5765 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
5766 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
5004 ;;5767 ;;
5005 esac5768 esac
5006 fi5769 fi
@@ -5028,19 +5791,19 @@
50285791
5029 irix5* | irix6* | nonstopux*)5792 irix5* | irix6* | nonstopux*)
5030 if test "$GCC" = yes; then5793 if test "$GCC" = yes; then
5031 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'5794 _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'
5032 # Try to use the -exported_symbol ld option, if it does not5795 # Try to use the -exported_symbol ld option, if it does not
5033 # work, assume that -exports_file does not work either and5796 # work, assume that -exports_file does not work either and
5034 # implicitly export all symbols.5797 # implicitly export all symbols.
5035 save_LDFLAGS="$LDFLAGS"5798 save_LDFLAGS="$LDFLAGS"
5036 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"5799 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
5037 AC_LINK_IFELSE(int foo(void) {},5800 AC_LINK_IFELSE(int foo(void) {},
5038 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'5801 _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'
5039 )5802 )
5040 LDFLAGS="$save_LDFLAGS"5803 LDFLAGS="$save_LDFLAGS"
5041 else5804 else
5042 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'5805 _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'
5043 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'5806 _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'
5044 fi5807 fi
5045 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'5808 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5046 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'5809 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -5049,7 +5812,7 @@
5049 _LT_TAGVAR(link_all_deplibs, $1)=yes5812 _LT_TAGVAR(link_all_deplibs, $1)=yes
5050 ;;5813 ;;
50515814
5052 netbsd* | netbsdelf*-gnu)5815 netbsd*)
5053 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5816 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5054 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out5817 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5055 else5818 else
@@ -5102,17 +5865,17 @@
5102 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'5865 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5103 _LT_TAGVAR(hardcode_minus_L, $1)=yes5866 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5104 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported5867 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5105 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'5868 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5106 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'5869 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5107 ;;5870 ;;
51085871
5109 osf3*)5872 osf3*)
5110 if test "$GCC" = yes; then5873 if test "$GCC" = yes; then
5111 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'5874 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5112 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'5875 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_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'
5113 else5876 else
5114 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'5877 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5115 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'5878 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5116 fi5879 fi
5117 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'5880 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5118 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'5881 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
@@ -5122,13 +5885,13 @@
5122 osf4* | osf5*) # as osf3* with the addition of -msym flag5885 osf4* | osf5*) # as osf3* with the addition of -msym flag
5123 if test "$GCC" = yes; then5886 if test "$GCC" = yes; then
5124 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'5887 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5125 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'5888 _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'
5126 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'5889 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5127 else5890 else
5128 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'5891 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5129 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'5892 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5130 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~5893 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5131 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'5894 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
51325895
5133 # Both c and cxx compiler support -rpath directly5896 # Both c and cxx compiler support -rpath directly
5134 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'5897 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
@@ -5319,36 +6082,38 @@
5319 # Test whether the compiler implicitly links with -lc since on some6082 # Test whether the compiler implicitly links with -lc since on some
5320 # systems, -lgcc has to come before -lc. If gcc already passes -lc6083 # systems, -lgcc has to come before -lc. If gcc already passes -lc
5321 # to ld, don't add -lc before -lgcc.6084 # to ld, don't add -lc before -lgcc.
5322 AC_MSG_CHECKING([whether -lc should be explicitly linked in])6085 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
5323 $RM conftest*6086 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
5324 echo "$lt_simple_compile_test_code" > conftest.$ac_ext6087 [$RM conftest*
6088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
53256089
5326 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then6090 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5327 soname=conftest6091 soname=conftest
5328 lib=conftest6092 lib=conftest
5329 libobjs=conftest.$ac_objext6093 libobjs=conftest.$ac_objext
5330 deplibs=6094 deplibs=
5331 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)6095 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5332 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)6096 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5333 compiler_flags=-v6097 compiler_flags=-v
5334 linker_flags=-v6098 linker_flags=-v
5335 verstring=6099 verstring=
5336 output_objdir=.6100 output_objdir=.
5337 libname=conftest6101 libname=conftest
5338 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)6102 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5339 _LT_TAGVAR(allow_undefined_flag, $1)=6103 _LT_TAGVAR(allow_undefined_flag, $1)=
5340 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)6104 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5341 then6105 then
5342 _LT_TAGVAR(archive_cmds_need_lc, $1)=no6106 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5343 else6107 else
5344 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes6108 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5345 fi6109 fi
5346 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag6110 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5347 else6111 else
5348 cat conftest.err 1>&56112 cat conftest.err 1>&5
5349 fi6113 fi
5350 $RM conftest*6114 $RM conftest*
5351 AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])6115 ])
6116 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
5352 ;;6117 ;;
5353 esac6118 esac
5354 fi6119 fi
@@ -5514,14 +6279,14 @@
5514])# _LT_LANG_C_CONFIG6279])# _LT_LANG_C_CONFIG
55156280
55166281
5517# _LT_PROG_CXX6282# _LT_LANG_CXX_CONFIG([TAG])
5518# ------------6283# --------------------------
5519# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++6284# Ensure that the configuration variables for a C++ compiler are suitably
5520# compiler, we have our own version here.6285# defined. These variables are subsequently used by _LT_CONFIG to write
5521m4_defun([_LT_PROG_CXX],6286# the compiler configuration to `libtool'.
5522[6287m4_defun([_LT_LANG_CXX_CONFIG],
5523pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])6288[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5524AC_PROG_CXX6289m4_require([_LT_DECL_EGREP])dnl
5525if test -n "$CXX" && ( test "X$CXX" != "Xno" &&6290if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5526 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||6291 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5527 (test "X$CXX" != "Xg++"))) ; then6292 (test "X$CXX" != "Xg++"))) ; then
@@ -5529,22 +6294,6 @@
5529else6294else
5530 _lt_caught_CXX_error=yes6295 _lt_caught_CXX_error=yes
5531fi6296fi
5532popdef([AC_MSG_ERROR])
5533])# _LT_PROG_CXX
5534
5535dnl aclocal-1.4 backwards compatibility:
5536dnl AC_DEFUN([_LT_PROG_CXX], [])
5537
5538
5539# _LT_LANG_CXX_CONFIG([TAG])
5540# --------------------------
5541# Ensure that the configuration variables for a C++ compiler are suitably
5542# defined. These variables are subsequently used by _LT_CONFIG to write
5543# the compiler configuration to `libtool'.
5544m4_defun([_LT_LANG_CXX_CONFIG],
5545[AC_REQUIRE([_LT_PROG_CXX])dnl
5546m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5547m4_require([_LT_DECL_EGREP])dnl
55486297
5549AC_LANG_PUSH(C++)6298AC_LANG_PUSH(C++)
5550_LT_TAGVAR(archive_cmds_need_lc, $1)=no6299_LT_TAGVAR(archive_cmds_need_lc, $1)=no
@@ -5566,6 +6315,8 @@
5566_LT_TAGVAR(module_expsym_cmds, $1)=6315_LT_TAGVAR(module_expsym_cmds, $1)=
5567_LT_TAGVAR(link_all_deplibs, $1)=unknown6316_LT_TAGVAR(link_all_deplibs, $1)=unknown
5568_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds6317_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6318_LT_TAGVAR(reload_flag, $1)=$reload_flag
6319_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
5569_LT_TAGVAR(no_undefined_flag, $1)=6320_LT_TAGVAR(no_undefined_flag, $1)=
5570_LT_TAGVAR(whole_archive_flag_spec, $1)=6321_LT_TAGVAR(whole_archive_flag_spec, $1)=
5571_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no6322_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -5668,7 +6419,7 @@
5668 # Commands to make compiler produce verbose output that lists6419 # Commands to make compiler produce verbose output that lists
5669 # what "hidden" libraries, object files and flags are used when6420 # what "hidden" libraries, object files and flags are used when
5670 # linking a shared library.6421 # linking a shared library.
5671 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'6422 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
56726423
5673 else6424 else
5674 GXX=no6425 GXX=no
@@ -5766,6 +6517,7 @@
5766 fi6517 fi
5767 fi6518 fi
57686519
6520 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5769 # It seems that -bexpall does not export symbols beginning with6521 # It seems that -bexpall does not export symbols beginning with
5770 # underscore (_), so it is better to generate a list of symbols to6522 # underscore (_), so it is better to generate a list of symbols to
5771 # export.6523 # export.
@@ -5779,7 +6531,7 @@
5779 _LT_SYS_MODULE_PATH_AIX6531 _LT_SYS_MODULE_PATH_AIX
5780 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"6532 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
57816533
5782 _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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"6534 _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"
5783 else6535 else
5784 if test "$host_cpu" = ia64; then6536 if test "$host_cpu" = ia64; then
5785 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'6537 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
@@ -5794,8 +6546,13 @@
5794 # -berok will link without error, but may produce a broken library.6546 # -berok will link without error, but may produce a broken library.
5795 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'6547 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5796 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'6548 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5797 # Exported symbols can be pulled into shared objects from archives6549 if test "$with_gnu_ld" = yes; then
5798 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'6550 # We only use this code for GNU lds that support --whole-archive.
6551 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6552 else
6553 # Exported symbols can be pulled into shared objects from archives
6554 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6555 fi
5799 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes6556 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5800 # This is similar to how AIX traditionally builds its shared6557 # This is similar to how AIX traditionally builds its shared
5801 # libraries.6558 # libraries.
@@ -5824,10 +6581,11 @@
5824 esac6581 esac
5825 ;;6582 ;;
58266583
5827 cygwin* | mingw* | pw32*)6584 cygwin* | mingw* | pw32* | cegcc*)
5828 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,6585 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5829 # as there is no search path for DLLs.6586 # as there is no search path for DLLs.
5830 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'6587 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6588 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
5831 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported6589 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5832 _LT_TAGVAR(always_export_symbols, $1)=no6590 _LT_TAGVAR(always_export_symbols, $1)=no
5833 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes6591 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -5888,6 +6646,11 @@
5888 gnu*)6646 gnu*)
5889 ;;6647 ;;
58906648
6649 haiku*)
6650 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6651 _LT_TAGVAR(link_all_deplibs, $1)=yes
6652 ;;
6653
5891 hpux9*)6654 hpux9*)
5892 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'6655 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5893 _LT_TAGVAR(hardcode_libdir_separator, $1)=:6656 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
@@ -5912,7 +6675,7 @@
5912 # explicitly linking system object files so we need to strip them6675 # explicitly linking system object files so we need to strip them
5913 # from the output so that they don't get included in the library6676 # from the output so that they don't get included in the library
5914 # dependencies.6677 # dependencies.
5915 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'6678 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
5916 ;;6679 ;;
5917 *)6680 *)
5918 if test "$GXX" = yes; then6681 if test "$GXX" = yes; then
@@ -5977,7 +6740,7 @@
5977 # explicitly linking system object files so we need to strip them6740 # explicitly linking system object files so we need to strip them
5978 # from the output so that they don't get included in the library6741 # from the output so that they don't get included in the library
5979 # dependencies.6742 # dependencies.
5980 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'6743 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
5981 ;;6744 ;;
5982 *)6745 *)
5983 if test "$GXX" = yes; then6746 if test "$GXX" = yes; then
@@ -6020,7 +6783,7 @@
6020 case $cc_basename in6783 case $cc_basename in
6021 CC*)6784 CC*)
6022 # SGI C++6785 # SGI C++
6023 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'6786 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
60246787
6025 # Archives containing C++ object files must be created using6788 # Archives containing C++ object files must be created using
6026 # "CC -ar", where "CC" is the IRIX C++ compiler. This is6789 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
@@ -6031,9 +6794,9 @@
6031 *)6794 *)
6032 if test "$GXX" = yes; then6795 if test "$GXX" = yes; then
6033 if test "$with_gnu_ld" = no; then6796 if test "$with_gnu_ld" = no; then
6034 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'6797 _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'
6035 else6798 else
6036 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'6799 _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'
6037 fi6800 fi
6038 fi6801 fi
6039 _LT_TAGVAR(link_all_deplibs, $1)=yes6802 _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -6044,7 +6807,7 @@
6044 _LT_TAGVAR(inherit_rpath, $1)=yes6807 _LT_TAGVAR(inherit_rpath, $1)=yes
6045 ;;6808 ;;
60466809
6047 linux* | k*bsd*-gnu)6810 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6048 case $cc_basename in6811 case $cc_basename in
6049 KCC*)6812 KCC*)
6050 # Kuck and Associates, Inc. (KAI) C++ Compiler6813 # Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -6062,7 +6825,7 @@
6062 # explicitly linking system object files so we need to strip them6825 # explicitly linking system object files so we need to strip them
6063 # from the output so that they don't get included in the library6826 # from the output so that they don't get included in the library
6064 # dependencies.6827 # dependencies.
6065 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'6828 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
60666829
6067 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'6830 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6068 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'6831 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -6099,26 +6862,26 @@
6099 pgCC* | pgcpp*)6862 pgCC* | pgcpp*)
6100 # Portland Group C++ compiler6863 # Portland Group C++ compiler
6101 case `$CC -V` in6864 case `$CC -V` in
6102 *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)6865 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6103 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~6866 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6104 rm -rf $tpldir~6867 rm -rf $tpldir~
6105 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~6868 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6106 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'6869 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6107 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~6870 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6108 rm -rf $tpldir~6871 rm -rf $tpldir~
6109 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~6872 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6110 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~6873 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6111 $RANLIB $oldlib'6874 $RANLIB $oldlib'
6112 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~6875 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
6113 rm -rf $tpldir~6876 rm -rf $tpldir~
6114 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~6877 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6115 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'6878 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6116 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~6879 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
6117 rm -rf $tpldir~6880 rm -rf $tpldir~
6118 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~6881 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6119 $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'6882 $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'
6120 ;;6883 ;;
6121 *) # Version 6 will use weak symbols6884 *) # Version 6 and above use weak symbols
6122 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'6885 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6123 _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'6886 _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'
6124 ;;6887 ;;
@@ -6126,7 +6889,7 @@
61266889
6127 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'6890 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6128 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'6891 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6129 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'6892 _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'
6130 ;;6893 ;;
6131 cxx*)6894 cxx*)
6132 # Compaq C++6895 # Compaq C++
@@ -6145,9 +6908,9 @@
6145 # explicitly linking system object files so we need to strip them6908 # explicitly linking system object files so we need to strip them
6146 # from the output so that they don't get included in the library6909 # from the output so that they don't get included in the library
6147 # dependencies.6910 # dependencies.
6148 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'6911 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
6149 ;;6912 ;;
6150 xl*)6913 xl* | mpixl* | bgxl*)
6151 # IBM XL 8.0 on PPC, with GNU ld6914 # IBM XL 8.0 on PPC, with GNU ld
6152 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'6915 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6153 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'6916 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
@@ -6167,13 +6930,13 @@
6167 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'6930 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6168 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'6931 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
6169 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'6932 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6170 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'6933 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
6171 _LT_TAGVAR(compiler_needs_object, $1)=yes6934 _LT_TAGVAR(compiler_needs_object, $1)=yes
61726935
6173 # Not sure whether something based on6936 # Not sure whether something based on
6174 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&16937 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
6175 # would be better.6938 # would be better.
6176 output_verbose_link_cmd='echo'6939 output_verbose_link_cmd='func_echo_all'
61776940
6178 # Archives containing C++ object files must be created using6941 # Archives containing C++ object files must be created using
6179 # "CC -xar", where "CC" is the Sun C++ compiler. This is6942 # "CC -xar", where "CC" is the Sun C++ compiler. This is
@@ -6242,7 +7005,7 @@
6242 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'7005 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6243 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'7006 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6244 fi7007 fi
6245 output_verbose_link_cmd=echo7008 output_verbose_link_cmd=func_echo_all
6246 else7009 else
6247 _LT_TAGVAR(ld_shlibs, $1)=no7010 _LT_TAGVAR(ld_shlibs, $1)=no
6248 fi7011 fi
@@ -6277,15 +7040,15 @@
6277 case $host in7040 case $host in
6278 osf3*)7041 osf3*)
6279 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'7042 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6280 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'7043 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6281 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'7044 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6282 ;;7045 ;;
6283 *)7046 *)
6284 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'7047 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6285 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'7048 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6286 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~7049 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6287 echo "-hidden">> $lib.exp~7050 echo "-hidden">> $lib.exp~
6288 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~7051 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
6289 $RM $lib.exp'7052 $RM $lib.exp'
6290 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'7053 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6291 ;;7054 ;;
@@ -6301,17 +7064,17 @@
6301 # explicitly linking system object files so we need to strip them7064 # explicitly linking system object files so we need to strip them
6302 # from the output so that they don't get included in the library7065 # from the output so that they don't get included in the library
6303 # dependencies.7066 # dependencies.
6304 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'7067 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6305 ;;7068 ;;
6306 *)7069 *)
6307 if test "$GXX" = yes && test "$with_gnu_ld" = no; then7070 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6308 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'7071 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6309 case $host in7072 case $host in
6310 osf3*)7073 osf3*)
6311 _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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'7074 _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'
6312 ;;7075 ;;
6313 *)7076 *)
6314 _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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'7077 _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'
6315 ;;7078 ;;
6316 esac7079 esac
63177080
@@ -6321,7 +7084,7 @@
6321 # Commands to make compiler produce verbose output that lists7084 # Commands to make compiler produce verbose output that lists
6322 # what "hidden" libraries, object files and flags are used when7085 # what "hidden" libraries, object files and flags are used when
6323 # linking a shared library.7086 # linking a shared library.
6324 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'7087 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
63257088
6326 else7089 else
6327 # FIXME: insert proper C++ library support7090 # FIXME: insert proper C++ library support
@@ -6357,7 +7120,7 @@
63577120
6358 solaris*)7121 solaris*)
6359 case $cc_basename in7122 case $cc_basename in
6360 CC*)7123 CC* | sunCC*)
6361 # Sun C++ 4.2, 5.x and Centerline C++7124 # Sun C++ 4.2, 5.x and Centerline C++
6362 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes7125 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
6363 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'7126 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
@@ -6378,7 +7141,7 @@
6378 esac7141 esac
6379 _LT_TAGVAR(link_all_deplibs, $1)=yes7142 _LT_TAGVAR(link_all_deplibs, $1)=yes
63807143
6381 output_verbose_link_cmd='echo'7144 output_verbose_link_cmd='func_echo_all'
63827145
6383 # Archives containing C++ object files must be created using7146 # Archives containing C++ object files must be created using
6384 # "CC -xar", where "CC" is the Sun C++ compiler. This is7147 # "CC -xar", where "CC" is the Sun C++ compiler. This is
@@ -6405,7 +7168,7 @@
6405 # Commands to make compiler produce verbose output that lists7168 # Commands to make compiler produce verbose output that lists
6406 # what "hidden" libraries, object files and flags are used when7169 # what "hidden" libraries, object files and flags are used when
6407 # linking a shared library.7170 # linking a shared library.
6408 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'7171 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6409 else7172 else
6410 # g++ 2.7 appears to require `-G' NOT `-shared' on this7173 # g++ 2.7 appears to require `-G' NOT `-shared' on this
6411 # platform.7174 # platform.
@@ -6416,7 +7179,7 @@
6416 # Commands to make compiler produce verbose output that lists7179 # Commands to make compiler produce verbose output that lists
6417 # what "hidden" libraries, object files and flags are used when7180 # what "hidden" libraries, object files and flags are used when
6418 # linking a shared library.7181 # linking a shared library.
6419 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'7182 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6420 fi7183 fi
64217184
6422 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'7185 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
@@ -6470,6 +7233,10 @@
6470 CC*)7233 CC*)
6471 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'7234 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6472 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'7235 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7236 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7237 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7238 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7239 '"$_LT_TAGVAR(reload_cmds, $1)"
6473 ;;7240 ;;
6474 *)7241 *)
6475 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'7242 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
@@ -6716,7 +7483,7 @@
67167483
6717solaris*)7484solaris*)
6718 case $cc_basename in7485 case $cc_basename in
6719 CC*)7486 CC* | sunCC*)
6720 # The more standards-conforming stlport4 library is7487 # The more standards-conforming stlport4 library is
6721 # incompatible with the Cstd library. Avoid specifying7488 # incompatible with the Cstd library. Avoid specifying
6722 # it if it's in CXXFLAGS. Ignore libCrun as7489 # it if it's in CXXFLAGS. Ignore libCrun as
@@ -6760,32 +7527,16 @@
6760])# _LT_SYS_HIDDEN_LIBDEPS7527])# _LT_SYS_HIDDEN_LIBDEPS
67617528
67627529
6763# _LT_PROG_F77
6764# ------------
6765# Since AC_PROG_F77 is broken, in that it returns the empty string
6766# if there is no fortran compiler, we have our own version here.
6767m4_defun([_LT_PROG_F77],
6768[
6769pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
6770AC_PROG_F77
6771if test -z "$F77" || test "X$F77" = "Xno"; then
6772 _lt_disable_F77=yes
6773fi
6774popdef([AC_MSG_ERROR])
6775])# _LT_PROG_F77
6776
6777dnl aclocal-1.4 backwards compatibility:
6778dnl AC_DEFUN([_LT_PROG_F77], [])
6779
6780
6781# _LT_LANG_F77_CONFIG([TAG])7530# _LT_LANG_F77_CONFIG([TAG])
6782# --------------------------7531# --------------------------
6783# Ensure that the configuration variables for a Fortran 77 compiler are7532# Ensure that the configuration variables for a Fortran 77 compiler are
6784# suitably defined. These variables are subsequently used by _LT_CONFIG7533# suitably defined. These variables are subsequently used by _LT_CONFIG
6785# to write the compiler configuration to `libtool'.7534# to write the compiler configuration to `libtool'.
6786m4_defun([_LT_LANG_F77_CONFIG],7535m4_defun([_LT_LANG_F77_CONFIG],
6787[AC_REQUIRE([_LT_PROG_F77])dnl7536[AC_LANG_PUSH(Fortran 77)
6788AC_LANG_PUSH(Fortran 77)7537if test -z "$F77" || test "X$F77" = "Xno"; then
7538 _lt_disable_F77=yes
7539fi
67897540
6790_LT_TAGVAR(archive_cmds_need_lc, $1)=no7541_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6791_LT_TAGVAR(allow_undefined_flag, $1)=7542_LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6804,6 +7555,8 @@
6804_LT_TAGVAR(module_expsym_cmds, $1)=7555_LT_TAGVAR(module_expsym_cmds, $1)=
6805_LT_TAGVAR(link_all_deplibs, $1)=unknown7556_LT_TAGVAR(link_all_deplibs, $1)=unknown
6806_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds7557_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7558_LT_TAGVAR(reload_flag, $1)=$reload_flag
7559_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6807_LT_TAGVAR(no_undefined_flag, $1)=7560_LT_TAGVAR(no_undefined_flag, $1)=
6808_LT_TAGVAR(whole_archive_flag_spec, $1)=7561_LT_TAGVAR(whole_archive_flag_spec, $1)=
6809_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no7562_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -6903,32 +7656,17 @@
6903])# _LT_LANG_F77_CONFIG7656])# _LT_LANG_F77_CONFIG
69047657
69057658
6906# _LT_PROG_FC
6907# -----------
6908# Since AC_PROG_FC is broken, in that it returns the empty string
6909# if there is no fortran compiler, we have our own version here.
6910m4_defun([_LT_PROG_FC],
6911[
6912pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
6913AC_PROG_FC
6914if test -z "$FC" || test "X$FC" = "Xno"; then
6915 _lt_disable_FC=yes
6916fi
6917popdef([AC_MSG_ERROR])
6918])# _LT_PROG_FC
6919
6920dnl aclocal-1.4 backwards compatibility:
6921dnl AC_DEFUN([_LT_PROG_FC], [])
6922
6923
6924# _LT_LANG_FC_CONFIG([TAG])7659# _LT_LANG_FC_CONFIG([TAG])
6925# -------------------------7660# -------------------------
6926# Ensure that the configuration variables for a Fortran compiler are7661# Ensure that the configuration variables for a Fortran compiler are
6927# suitably defined. These variables are subsequently used by _LT_CONFIG7662# suitably defined. These variables are subsequently used by _LT_CONFIG
6928# to write the compiler configuration to `libtool'.7663# to write the compiler configuration to `libtool'.
6929m4_defun([_LT_LANG_FC_CONFIG],7664m4_defun([_LT_LANG_FC_CONFIG],
6930[AC_REQUIRE([_LT_PROG_FC])dnl7665[AC_LANG_PUSH(Fortran)
6931AC_LANG_PUSH(Fortran)7666
7667if test -z "$FC" || test "X$FC" = "Xno"; then
7668 _lt_disable_FC=yes
7669fi
69327670
6933_LT_TAGVAR(archive_cmds_need_lc, $1)=no7671_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6934_LT_TAGVAR(allow_undefined_flag, $1)=7672_LT_TAGVAR(allow_undefined_flag, $1)=
@@ -6947,6 +7685,8 @@
6947_LT_TAGVAR(module_expsym_cmds, $1)=7685_LT_TAGVAR(module_expsym_cmds, $1)=
6948_LT_TAGVAR(link_all_deplibs, $1)=unknown7686_LT_TAGVAR(link_all_deplibs, $1)=unknown
6949_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds7687_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7688_LT_TAGVAR(reload_flag, $1)=$reload_flag
7689_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6950_LT_TAGVAR(no_undefined_flag, $1)=7690_LT_TAGVAR(no_undefined_flag, $1)=
6951_LT_TAGVAR(whole_archive_flag_spec, $1)=7691_LT_TAGVAR(whole_archive_flag_spec, $1)=
6952_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no7692_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
@@ -7092,6 +7832,8 @@
7092_LT_TAGVAR(archive_cmds_need_lc, $1)=no7832_LT_TAGVAR(archive_cmds_need_lc, $1)=no
70937833
7094_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds7834_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7835_LT_TAGVAR(reload_flag, $1)=$reload_flag
7836_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
70957837
7096if test -n "$compiler"; then7838if test -n "$compiler"; then
7097 _LT_COMPILER_NO_RTTI($1)7839 _LT_COMPILER_NO_RTTI($1)
@@ -7205,6 +7947,18 @@
7205])7947])
72067948
72077949
7950# _LT_DECL_OBJDUMP
7951# --------------
7952# If we don't have a new enough Autoconf to choose the best objdump
7953# available, choose the one first in the user's PATH.
7954m4_defun([_LT_DECL_OBJDUMP],
7955[AC_CHECK_TOOL(OBJDUMP, objdump, false)
7956test -z "$OBJDUMP" && OBJDUMP=objdump
7957_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
7958AC_SUBST([OBJDUMP])
7959])
7960
7961
7208# _LT_DECL_SED7962# _LT_DECL_SED
7209# ------------7963# ------------
7210# Check for a fully-functional sed program, that truncates7964# Check for a fully-functional sed program, that truncates
@@ -7441,7 +8195,7 @@
7441func_dirname ()8195func_dirname ()
7442{8196{
7443 # Extract subdirectory from the argument.8197 # Extract subdirectory from the argument.
7444 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`8198 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
7445 if test "X$func_dirname_result" = "X${1}"; then8199 if test "X$func_dirname_result" = "X${1}"; then
7446 func_dirname_result="${3}"8200 func_dirname_result="${3}"
7447 else8201 else
@@ -7452,7 +8206,7 @@
7452# func_basename file8206# func_basename file
7453func_basename ()8207func_basename ()
7454{8208{
7455 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`8209 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
7456}8210}
74578211
7458dnl func_dirname_and_basename8212dnl func_dirname_and_basename
@@ -7468,10 +8222,8 @@
7468func_stripname ()8222func_stripname ()
7469{8223{
7470 case ${2} in8224 case ${2} in
7471 .*) func_stripname_result=`$ECHO "X${3}" \8225 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7472 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;8226 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7473 *) func_stripname_result=`$ECHO "X${3}" \
7474 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
7475 esac8227 esac
7476}8228}
74778229
@@ -7482,20 +8234,20 @@
7482# func_opt_split8234# func_opt_split
7483func_opt_split ()8235func_opt_split ()
7484{8236{
7485 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`8237 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
7486 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`8238 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
7487}8239}
74888240
7489# func_lo2o object8241# func_lo2o object
7490func_lo2o ()8242func_lo2o ()
7491{8243{
7492 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`8244 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
7493}8245}
74948246
7495# func_xform libobj-or-source8247# func_xform libobj-or-source
7496func_xform ()8248func_xform ()
7497{8249{
7498 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`8250 func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
7499}8251}
75008252
7501# func_arith arithmetic-term...8253# func_arith arithmetic-term...
@@ -7543,14 +8295,15 @@
75438295
7544# Helper functions for option handling. -*- Autoconf -*-8296# Helper functions for option handling. -*- Autoconf -*-
7545#8297#
7546# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.8298# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
8299# Inc.
7547# Written by Gary V. Vaughan, 20048300# Written by Gary V. Vaughan, 2004
7548#8301#
7549# This file is free software; the Free Software Foundation gives8302# This file is free software; the Free Software Foundation gives
7550# unlimited permission to copy and/or distribute it, with or without8303# unlimited permission to copy and/or distribute it, with or without
7551# modifications, as long as this notice is preserved.8304# modifications, as long as this notice is preserved.
75528305
7553# serial 6 ltoptions.m48306# serial 7 ltoptions.m4
75548307
7555# This is to help aclocal find these macros, as it can't see m4_define.8308# This is to help aclocal find these macros, as it can't see m4_define.
7556AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])8309AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
@@ -7665,7 +8418,7 @@
7665[enable_win32_dll=yes8418[enable_win32_dll=yes
76668419
7667case $host in8420case $host in
7668*-*-cygwin* | *-*-mingw* | *-*-pw32*)8421*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7669 AC_CHECK_TOOL(AS, as, false)8422 AC_CHECK_TOOL(AS, as, false)
7670 AC_CHECK_TOOL(DLLTOOL, dlltool, false)8423 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7671 AC_CHECK_TOOL(OBJDUMP, objdump, false)8424 AC_CHECK_TOOL(OBJDUMP, objdump, false)
@@ -7673,13 +8426,13 @@
7673esac8426esac
76748427
7675test -z "$AS" && AS=as8428test -z "$AS" && AS=as
7676_LT_DECL([], [AS], [0], [Assembler program])dnl8429_LT_DECL([], [AS], [1], [Assembler program])dnl
76778430
7678test -z "$DLLTOOL" && DLLTOOL=dlltool8431test -z "$DLLTOOL" && DLLTOOL=dlltool
7679_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl8432_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
76808433
7681test -z "$OBJDUMP" && OBJDUMP=objdump8434test -z "$OBJDUMP" && OBJDUMP=objdump
7682_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl8435_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
7683])# win32-dll8436])# win32-dll
76848437
7685AU_DEFUN([AC_LIBTOOL_WIN32_DLL],8438AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
@@ -7906,14 +8659,14 @@
79068659
7907# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-8660# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
7908#8661#
7909# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.8662# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7910# Written by Gary V. Vaughan, 20048663# Written by Gary V. Vaughan, 2004
7911#8664#
7912# This file is free software; the Free Software Foundation gives8665# This file is free software; the Free Software Foundation gives
7913# unlimited permission to copy and/or distribute it, with or without8666# unlimited permission to copy and/or distribute it, with or without
7914# modifications, as long as this notice is preserved.8667# modifications, as long as this notice is preserved.
79158668
7916# serial 5 ltsugar.m48669# serial 6 ltsugar.m4
79178670
7918# This is to help aclocal find these macros, as it can't see m4_define.8671# This is to help aclocal find these macros, as it can't see m4_define.
7919AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])8672AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
@@ -7969,14 +8722,14 @@
7969# Produce a SEP delimited list of all paired combinations of elements of8722# Produce a SEP delimited list of all paired combinations of elements of
7970# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list8723# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
7971# has the form PREFIXmINFIXSUFFIXn.8724# has the form PREFIXmINFIXSUFFIXn.
8725# Needed until we can rely on m4_combine added in Autoconf 2.62.
7972m4_define([lt_combine],8726m4_define([lt_combine],
7973[m4_if([$2], [], [],8727[m4_if(m4_eval([$# > 3]), [1],
7974 [m4_if([$4], [], [],8728 [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
7975 [lt_join(m4_quote(m4_default([$1], [[, ]])),8729[[m4_foreach([_Lt_prefix], [$2],
7976 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],8730 [m4_foreach([_Lt_suffix],
7977 [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),8731 ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
7978 [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl8732 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
7979])
79808733
79818734
7982# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])8735# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
@@ -8039,29 +8792,29 @@
80398792
8040# Generated from ltversion.in.8793# Generated from ltversion.in.
80418794
8042# serial 2976 ltversion.m48795# serial 3175 ltversion.m4
8043# This file is part of GNU Libtool8796# This file is part of GNU Libtool
80448797
8045m4_define([LT_PACKAGE_VERSION], [2.2.4])8798m4_define([LT_PACKAGE_VERSION], [2.2.10])
8046m4_define([LT_PACKAGE_REVISION], [1.2976])8799m4_define([LT_PACKAGE_REVISION], [1.3175])
80478800
8048AC_DEFUN([LTVERSION_VERSION],8801AC_DEFUN([LTVERSION_VERSION],
8049[macro_version='2.2.4'8802[macro_version='2.2.10'
8050macro_revision='1.2976'8803macro_revision='1.3175'
8051_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])8804_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8052_LT_DECL(, macro_revision, 0)8805_LT_DECL(, macro_revision, 0)
8053])8806])
80548807
8055# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-8808# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8056#8809#
8057# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.8810# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
8058# Written by Scott James Remnant, 2004.8811# Written by Scott James Remnant, 2004.
8059#8812#
8060# This file is free software; the Free Software Foundation gives8813# This file is free software; the Free Software Foundation gives
8061# unlimited permission to copy and/or distribute it, with or without8814# unlimited permission to copy and/or distribute it, with or without
8062# modifications, as long as this notice is preserved.8815# modifications, as long as this notice is preserved.
80638816
8064# serial 4 lt~obsolete.m48817# serial 5 lt~obsolete.m4
80658818
8066# These exist entirely to fool aclocal when bootstrapping libtool.8819# These exist entirely to fool aclocal when bootstrapping libtool.
8067#8820#
@@ -8131,7 +8884,6 @@
8131m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])8884m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
8132m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])8885m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
8133m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])8886m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
8134m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
8135m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])8887m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
8136m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])8888m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
8137m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])8889m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
@@ -8144,8 +8896,49 @@
8144m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])8896m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
8145m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])8897m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
8146m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])8898m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
8899m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
8900m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
8901m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
8902m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
8903m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
8904m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
8905m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
8906
8907# nls.m4 serial 5 (gettext-0.18)
8908dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
8909dnl Inc.
8910dnl This file is free software; the Free Software Foundation
8911dnl gives unlimited permission to copy and/or distribute it,
8912dnl with or without modifications, as long as this notice is preserved.
8913dnl
8914dnl This file can can be used in projects which are not available under
8915dnl the GNU General Public License or the GNU Library General Public
8916dnl License but which still want to provide support for the GNU gettext
8917dnl functionality.
8918dnl Please note that the actual code of the GNU gettext library is covered
8919dnl by the GNU Library General Public License, and the rest of the GNU
8920dnl gettext package package is covered by the GNU General Public License.
8921dnl They are *not* in the public domain.
8922
8923dnl Authors:
8924dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8925dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8926
8927AC_PREREQ([2.50])
8928
8929AC_DEFUN([AM_NLS],
8930[
8931 AC_MSG_CHECKING([whether NLS is requested])
8932 dnl Default is enabled NLS
8933 AC_ARG_ENABLE([nls],
8934 [ --disable-nls do not use Native Language Support],
8935 USE_NLS=$enableval, USE_NLS=yes)
8936 AC_MSG_RESULT([$USE_NLS])
8937 AC_SUBST([USE_NLS])
8938])
81478939
8148# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-8940# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
8941# serial 1 (pkg-config-0.24)
8149# 8942#
8150# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.8943# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
8151#8944#
@@ -8173,7 +8966,10 @@
8173AC_DEFUN([PKG_PROG_PKG_CONFIG],8966AC_DEFUN([PKG_PROG_PKG_CONFIG],
8174[m4_pattern_forbid([^_?PKG_[A-Z_]+$])8967[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
8175m4_pattern_allow([^PKG_CONFIG(_PATH)?$])8968m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8176AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl8969AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
8970AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
8971AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
8972
8177if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then8973if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8178 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])8974 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
8179fi8975fi
@@ -8186,7 +8982,6 @@
8186 AC_MSG_RESULT([no])8982 AC_MSG_RESULT([no])
8187 PKG_CONFIG=""8983 PKG_CONFIG=""
8188 fi8984 fi
8189
8190fi[]dnl8985fi[]dnl
8191])# PKG_PROG_PKG_CONFIG8986])# PKG_PROG_PKG_CONFIG
81928987
@@ -8195,34 +8990,31 @@
8195# Check to see whether a particular set of modules exists. Similar8990# Check to see whether a particular set of modules exists. Similar
8196# to PKG_CHECK_MODULES(), but does not set variables or print errors.8991# to PKG_CHECK_MODULES(), but does not set variables or print errors.
8197#8992#
8198#8993# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
8199# Similar to PKG_CHECK_MODULES, make sure that the first instance of8994# only at the first occurence in configure.ac, so if the first place
8200# this or PKG_CHECK_MODULES is called, or make sure to call8995# it's called might be skipped (such as if it is within an "if", you
8201# PKG_CHECK_EXISTS manually8996# have to call PKG_CHECK_EXISTS manually
8202# --------------------------------------------------------------8997# --------------------------------------------------------------
8203AC_DEFUN([PKG_CHECK_EXISTS],8998AC_DEFUN([PKG_CHECK_EXISTS],
8204[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl8999[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
8205if test -n "$PKG_CONFIG" && \9000if test -n "$PKG_CONFIG" && \
8206 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then9001 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8207 m4_ifval([$2], [$2], [:])9002 m4_default([$2], [:])
8208m4_ifvaln([$3], [else9003m4_ifvaln([$3], [else
8209 $3])dnl9004 $3])dnl
8210fi])9005fi])
82119006
8212
8213# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])9007# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8214# ---------------------------------------------9008# ---------------------------------------------
8215m4_define([_PKG_CONFIG],9009m4_define([_PKG_CONFIG],
8216[if test -n "$PKG_CONFIG"; then9010[if test -n "$$1"; then
8217 if test -n "$$1"; then9011 pkg_cv_[]$1="$$1"
8218 pkg_cv_[]$1="$$1"9012 elif test -n "$PKG_CONFIG"; then
8219 else9013 PKG_CHECK_EXISTS([$3],
8220 PKG_CHECK_EXISTS([$3],9014 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8221 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],9015 [pkg_failed=yes])
8222 [pkg_failed=yes])9016 else
8223 fi9017 pkg_failed=untried
8224else
8225 pkg_failed=untried
8226fi[]dnl9018fi[]dnl
8227])# _PKG_CONFIG9019])# _PKG_CONFIG
82289020
@@ -8264,16 +9056,17 @@
8264See the pkg-config man page for more details.])9056See the pkg-config man page for more details.])
82659057
8266if test $pkg_failed = yes; then9058if test $pkg_failed = yes; then
9059 AC_MSG_RESULT([no])
8267 _PKG_SHORT_ERRORS_SUPPORTED9060 _PKG_SHORT_ERRORS_SUPPORTED
8268 if test $_pkg_short_errors_supported = yes; then9061 if test $_pkg_short_errors_supported = yes; then
8269 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`9062 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8270 else 9063 else
8271 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`9064 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
8272 fi9065 fi
8273 # Put the nasty error message in config.log where it belongs9066 # Put the nasty error message in config.log where it belongs
8274 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD9067 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
82759068
8276 ifelse([$4], , [AC_MSG_ERROR(dnl9069 m4_default([$4], [AC_MSG_ERROR(
8277[Package requirements ($2) were not met:9070[Package requirements ($2) were not met:
82789071
8279$$1_PKG_ERRORS9072$$1_PKG_ERRORS
@@ -8281,29 +9074,28 @@
8281Consider adjusting the PKG_CONFIG_PATH environment variable if you9074Consider adjusting the PKG_CONFIG_PATH environment variable if you
8282installed software in a non-standard prefix.9075installed software in a non-standard prefix.
82839076
8284_PKG_TEXT9077_PKG_TEXT])[]dnl
8285])],9078 ])
8286 [AC_MSG_RESULT([no])
8287 $4])
8288elif test $pkg_failed = untried; then9079elif test $pkg_failed = untried; then
8289 ifelse([$4], , [AC_MSG_FAILURE(dnl9080 AC_MSG_RESULT([no])
9081 m4_default([$4], [AC_MSG_FAILURE(
8290[The pkg-config script could not be found or is too old. Make sure it9082[The pkg-config script could not be found or is too old. Make sure it
8291is in your PATH or set the PKG_CONFIG environment variable to the full9083is in your PATH or set the PKG_CONFIG environment variable to the full
8292path to pkg-config.9084path to pkg-config.
82939085
8294_PKG_TEXT9086_PKG_TEXT
82959087
8296To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],9088To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
8297 [$4])9089 ])
8298else9090else
8299 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS9091 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
8300 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS9092 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
8301 AC_MSG_RESULT([yes])9093 AC_MSG_RESULT([yes])
8302 ifelse([$3], , :, [$3])9094 $3
8303fi[]dnl9095fi[]dnl
8304])# PKG_CHECK_MODULES9096])# PKG_CHECK_MODULES
83059097
8306# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.9098# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8307#9099#
8308# This file is free software; the Free Software Foundation9100# This file is free software; the Free Software Foundation
8309# gives unlimited permission to copy and/or distribute it,9101# gives unlimited permission to copy and/or distribute it,
@@ -8315,10 +9107,10 @@
8315# generated from the m4 files accompanying Automake X.Y.9107# generated from the m4 files accompanying Automake X.Y.
8316# (This private macro should not be called outside this file.)9108# (This private macro should not be called outside this file.)
8317AC_DEFUN([AM_AUTOMAKE_VERSION],9109AC_DEFUN([AM_AUTOMAKE_VERSION],
8318[am__api_version='1.10'9110[am__api_version='1.11'
8319dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to9111dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8320dnl require some minimum version. Point them to the right macro.9112dnl require some minimum version. Point them to the right macro.
8321m4_if([$1], [1.10.1], [],9113m4_if([$1], [1.11.1], [],
8322 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl9114 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8323])9115])
83249116
@@ -8332,12 +9124,12 @@
8332# AM_SET_CURRENT_AUTOMAKE_VERSION9124# AM_SET_CURRENT_AUTOMAKE_VERSION
8333# -------------------------------9125# -------------------------------
8334# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.9126# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8335# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.9127# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8336AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],9128AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8337[AM_AUTOMAKE_VERSION([1.10.1])dnl9129[AM_AUTOMAKE_VERSION([1.11.1])dnl
8338m4_ifndef([AC_AUTOCONF_VERSION],9130m4_ifndef([AC_AUTOCONF_VERSION],
8339 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl9131 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8340_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])9132_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
83419133
8342# AM_AUX_DIR_EXPAND -*- Autoconf -*-9134# AM_AUX_DIR_EXPAND -*- Autoconf -*-
83439135
@@ -8394,14 +9186,14 @@
83949186
8395# AM_CONDITIONAL -*- Autoconf -*-9187# AM_CONDITIONAL -*- Autoconf -*-
83969188
8397# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 20069189# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8398# Free Software Foundation, Inc.9190# Free Software Foundation, Inc.
8399#9191#
8400# This file is free software; the Free Software Foundation9192# This file is free software; the Free Software Foundation
8401# gives unlimited permission to copy and/or distribute it,9193# gives unlimited permission to copy and/or distribute it,
8402# with or without modifications, as long as this notice is preserved.9194# with or without modifications, as long as this notice is preserved.
84039195
8404# serial 89196# serial 9
84059197
8406# AM_CONDITIONAL(NAME, SHELL-CONDITION)9198# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8407# -------------------------------------9199# -------------------------------------
@@ -8414,6 +9206,7 @@
8414AC_SUBST([$1_FALSE])dnl9206AC_SUBST([$1_FALSE])dnl
8415_AM_SUBST_NOTMAKE([$1_TRUE])dnl9207_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8416_AM_SUBST_NOTMAKE([$1_FALSE])dnl9208_AM_SUBST_NOTMAKE([$1_FALSE])dnl
9209m4_define([_AM_COND_VALUE_$1], [$2])dnl
8417if $2; then9210if $2; then
8418 $1_TRUE=9211 $1_TRUE=
8419 $1_FALSE='#'9212 $1_FALSE='#'
@@ -8427,14 +9220,14 @@
8427Usually this means the macro was only invoked conditionally.]])9220Usually this means the macro was only invoked conditionally.]])
8428fi])])9221fi])])
84299222
8430# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 20069223# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8431# Free Software Foundation, Inc.9224# Free Software Foundation, Inc.
8432#9225#
8433# This file is free software; the Free Software Foundation9226# This file is free software; the Free Software Foundation
8434# gives unlimited permission to copy and/or distribute it,9227# gives unlimited permission to copy and/or distribute it,
8435# with or without modifications, as long as this notice is preserved.9228# with or without modifications, as long as this notice is preserved.
84369229
8437# serial 99230# serial 10
84389231
8439# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be9232# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8440# written in clear, in which case automake, when reading aclocal.m4,9233# written in clear, in which case automake, when reading aclocal.m4,
@@ -8491,6 +9284,16 @@
8491 if test "$am_compiler_list" = ""; then9284 if test "$am_compiler_list" = ""; then
8492 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`9285 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8493 fi9286 fi
9287 am__universal=false
9288 m4_case([$1], [CC],
9289 [case " $depcc " in #(
9290 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9291 esac],
9292 [CXX],
9293 [case " $depcc " in #(
9294 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9295 esac])
9296
8494 for depmode in $am_compiler_list; do9297 for depmode in $am_compiler_list; do
8495 # Setup a source with many dependencies, because some compilers9298 # Setup a source with many dependencies, because some compilers
8496 # like to wrap large dependency lists on column 80 (with \), and9299 # like to wrap large dependency lists on column 80 (with \), and
@@ -8508,7 +9311,17 @@
8508 done9311 done
8509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf9312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
85109313
9314 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9315 # mode. It turns out that the SunPro C++ compiler does not properly
9316 # handle `-M -o', and we need to detect this. Also, some Intel
9317 # versions had trouble with output in subdirs
9318 am__obj=sub/conftest.${OBJEXT-o}
9319 am__minus_obj="-o $am__obj"
8511 case $depmode in9320 case $depmode in
9321 gcc)
9322 # This depmode causes a compiler race in universal mode.
9323 test "$am__universal" = false || continue
9324 ;;
8512 nosideeffect)9325 nosideeffect)
8513 # after this tag, mechanisms are not by side-effect, so they'll9326 # after this tag, mechanisms are not by side-effect, so they'll
8514 # only be used when explicitly requested9327 # only be used when explicitly requested
@@ -8518,19 +9331,23 @@
8518 break9331 break
8519 fi9332 fi
8520 ;;9333 ;;
9334 msvisualcpp | msvcmsys)
9335 # This compiler won't grok `-c -o', but also, the minuso test has
9336 # not run yet. These depmodes are late enough in the game, and
9337 # so weak that their functioning should not be impacted.
9338 am__obj=conftest.${OBJEXT-o}
9339 am__minus_obj=
9340 ;;
8521 none) break ;;9341 none) break ;;
8522 esac9342 esac
8523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8524 # mode. It turns out that the SunPro C++ compiler does not properly
8525 # handle `-M -o', and we need to detect this.
8526 if depmode=$depmode \9343 if depmode=$depmode \
8527 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \9344 source=sub/conftest.c object=$am__obj \
8528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \9345 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8529 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \9346 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8530 >/dev/null 2>conftest.err &&9347 >/dev/null 2>conftest.err &&
8531 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&9348 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8532 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&9349 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8533 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&9350 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8534 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then9351 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8535 # icc doesn't choke on unknown options, it will just issue warnings9352 # icc doesn't choke on unknown options, it will just issue warnings
8536 # or remarks (even with -Werror). So we grep stderr for any message9353 # or remarks (even with -Werror). So we grep stderr for any message
@@ -8587,57 +9404,68 @@
85879404
8588# Generate code to set up dependency tracking. -*- Autoconf -*-9405# Generate code to set up dependency tracking. -*- Autoconf -*-
85899406
8590# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 20059407# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
8591# Free Software Foundation, Inc.9408# Free Software Foundation, Inc.
8592#9409#
8593# This file is free software; the Free Software Foundation9410# This file is free software; the Free Software Foundation
8594# gives unlimited permission to copy and/or distribute it,9411# gives unlimited permission to copy and/or distribute it,
8595# with or without modifications, as long as this notice is preserved.9412# with or without modifications, as long as this notice is preserved.
85969413
8597#serial 39414#serial 5
85989415
8599# _AM_OUTPUT_DEPENDENCY_COMMANDS9416# _AM_OUTPUT_DEPENDENCY_COMMANDS
8600# ------------------------------9417# ------------------------------
8601AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],9418AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8602[for mf in $CONFIG_FILES; do9419[{
8603 # Strip MF so we end up with the name of the file.9420 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8604 mf=`echo "$mf" | sed -e 's/:.*$//'`9421 # are listed without --file. Let's play safe and only enable the eval
8605 # Check whether this is an Automake generated Makefile or not.9422 # if we detect the quoting.
8606 # We used to match only the files named `Makefile.in', but9423 case $CONFIG_FILES in
8607 # some people rename them; so instead we look at the file content.9424 *\'*) eval set x "$CONFIG_FILES" ;;
8608 # Grep'ing the first line is not enough: some people post-process9425 *) set x $CONFIG_FILES ;;
8609 # each Makefile.in and add a new line on top of each file to say so.9426 esac
8610 # Grep'ing the whole file is not good either: AIX grep has a line9427 shift
8611 # limit of 2048, but all sed's we know have understand at least 4000.9428 for mf
8612 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then9429 do
8613 dirpart=`AS_DIRNAME("$mf")`9430 # Strip MF so we end up with the name of the file.
8614 else9431 mf=`echo "$mf" | sed -e 's/:.*$//'`
8615 continue9432 # Check whether this is an Automake generated Makefile or not.
8616 fi9433 # We used to match only the files named `Makefile.in', but
8617 # Extract the definition of DEPDIR, am__include, and am__quote9434 # some people rename them; so instead we look at the file content.
8618 # from the Makefile without running `make'.9435 # Grep'ing the first line is not enough: some people post-process
8619 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`9436 # each Makefile.in and add a new line on top of each file to say so.
8620 test -z "$DEPDIR" && continue9437 # Grep'ing the whole file is not good either: AIX grep has a line
8621 am__include=`sed -n 's/^am__include = //p' < "$mf"`9438 # limit of 2048, but all sed's we know have understand at least 4000.
8622 test -z "am__include" && continue9439 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8623 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`9440 dirpart=`AS_DIRNAME("$mf")`
8624 # When using ansi2knr, U may be empty or an underscore; expand it9441 else
8625 U=`sed -n 's/^U = //p' < "$mf"`9442 continue
8626 # Find all dependency output files, they are included files with9443 fi
8627 # $(DEPDIR) in their names. We invoke sed twice because it is the9444 # Extract the definition of DEPDIR, am__include, and am__quote
8628 # simplest approach to changing $(DEPDIR) to its actual value in the9445 # from the Makefile without running `make'.
8629 # expansion.9446 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8630 for file in `sed -n "9447 test -z "$DEPDIR" && continue
8631 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \9448 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8632 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do9449 test -z "am__include" && continue
8633 # Make sure the directory exists.9450 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8634 test -f "$dirpart/$file" && continue9451 # When using ansi2knr, U may be empty or an underscore; expand it
8635 fdir=`AS_DIRNAME(["$file"])`9452 U=`sed -n 's/^U = //p' < "$mf"`
8636 AS_MKDIR_P([$dirpart/$fdir])9453 # Find all dependency output files, they are included files with
8637 # echo "creating $dirpart/$file"9454 # $(DEPDIR) in their names. We invoke sed twice because it is the
8638 echo '# dummy' > "$dirpart/$file"9455 # simplest approach to changing $(DEPDIR) to its actual value in the
9456 # expansion.
9457 for file in `sed -n "
9458 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9459 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9460 # Make sure the directory exists.
9461 test -f "$dirpart/$file" && continue
9462 fdir=`AS_DIRNAME(["$file"])`
9463 AS_MKDIR_P([$dirpart/$fdir])
9464 # echo "creating $dirpart/$file"
9465 echo '# dummy' > "$dirpart/$file"
9466 done
8639 done9467 done
8640done9468}
8641])# _AM_OUTPUT_DEPENDENCY_COMMANDS9469])# _AM_OUTPUT_DEPENDENCY_COMMANDS
86429470
86439471
@@ -8669,13 +9497,13 @@
8669# Do all the work for Automake. -*- Autoconf -*-9497# Do all the work for Automake. -*- Autoconf -*-
86709498
8671# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,9499# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8672# 2005, 2006, 2008 Free Software Foundation, Inc.9500# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8673#9501#
8674# This file is free software; the Free Software Foundation9502# This file is free software; the Free Software Foundation
8675# gives unlimited permission to copy and/or distribute it,9503# gives unlimited permission to copy and/or distribute it,
8676# with or without modifications, as long as this notice is preserved.9504# with or without modifications, as long as this notice is preserved.
86779505
8678# serial 139506# serial 16
86799507
8680# This macro actually does too much. Some checks are only needed if9508# This macro actually does too much. Some checks are only needed if
8681# your package does certain things. But this isn't really a big deal.9509# your package does certain things. But this isn't really a big deal.
@@ -8692,7 +9520,7 @@
8692# arguments mandatory, and then we can depend on a new Autoconf9520# arguments mandatory, and then we can depend on a new Autoconf
8693# release and drop the old call support.9521# release and drop the old call support.
8694AC_DEFUN([AM_INIT_AUTOMAKE],9522AC_DEFUN([AM_INIT_AUTOMAKE],
8695[AC_PREREQ([2.60])dnl9523[AC_PREREQ([2.62])dnl
8696dnl Autoconf wants to disallow AM_ names. We explicitly allow9524dnl Autoconf wants to disallow AM_ names. We explicitly allow
8697dnl the ones we care about.9525dnl the ones we care about.
8698m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl9526m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -8743,8 +9571,8 @@
8743AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})9571AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8744AM_MISSING_PROG(AUTOHEADER, autoheader)9572AM_MISSING_PROG(AUTOHEADER, autoheader)
8745AM_MISSING_PROG(MAKEINFO, makeinfo)9573AM_MISSING_PROG(MAKEINFO, makeinfo)
8746AM_PROG_INSTALL_SH9574AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8747AM_PROG_INSTALL_STRIP9575AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
8748AC_REQUIRE([AM_PROG_MKDIR_P])dnl9576AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8749# We need awk for the "check" target. The system "awk" is bad on9577# We need awk for the "check" target. The system "awk" is bad on
8750# some platforms.9578# some platforms.
@@ -8752,23 +9580,36 @@
8752AC_REQUIRE([AC_PROG_MAKE_SET])dnl9580AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8753AC_REQUIRE([AM_SET_LEADING_DOT])dnl9581AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8754_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],9582_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8755 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],9583 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8756 [_AM_PROG_TAR([v7])])])9584 [_AM_PROG_TAR([v7])])])
8757_AM_IF_OPTION([no-dependencies],,9585_AM_IF_OPTION([no-dependencies],,
8758[AC_PROVIDE_IFELSE([AC_PROG_CC],9586[AC_PROVIDE_IFELSE([AC_PROG_CC],
8759 [_AM_DEPENDENCIES(CC)],9587 [_AM_DEPENDENCIES(CC)],
8760 [define([AC_PROG_CC],9588 [define([AC_PROG_CC],
8761 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl9589 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8762AC_PROVIDE_IFELSE([AC_PROG_CXX],9590AC_PROVIDE_IFELSE([AC_PROG_CXX],
8763 [_AM_DEPENDENCIES(CXX)],9591 [_AM_DEPENDENCIES(CXX)],
8764 [define([AC_PROG_CXX],9592 [define([AC_PROG_CXX],
8765 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl9593 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8766AC_PROVIDE_IFELSE([AC_PROG_OBJC],9594AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8767 [_AM_DEPENDENCIES(OBJC)],9595 [_AM_DEPENDENCIES(OBJC)],
8768 [define([AC_PROG_OBJC],9596 [define([AC_PROG_OBJC],
8769 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl9597 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8770])9598])
8771])9599_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9600dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9601dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9602dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9603AC_CONFIG_COMMANDS_PRE(dnl
9604[m4_provide_if([_AM_COMPILER_EXEEXT],
9605 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9606])
9607
9608dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9609dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9610dnl mangled by Autoconf and run in a shell conditional statement.
9611m4_define([_AC_COMPILER_EXEEXT],
9612m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
87729613
87739614
8774# When config.status generates a header, we must update the stamp-h file.9615# When config.status generates a header, we must update the stamp-h file.
@@ -8792,7 +9633,7 @@
8792done9633done
8793echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])9634echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
87949635
8795# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.9636# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
8796#9637#
8797# This file is free software; the Free Software Foundation9638# This file is free software; the Free Software Foundation
8798# gives unlimited permission to copy and/or distribute it,9639# gives unlimited permission to copy and/or distribute it,
@@ -8803,7 +9644,14 @@
8803# Define $install_sh.9644# Define $install_sh.
8804AC_DEFUN([AM_PROG_INSTALL_SH],9645AC_DEFUN([AM_PROG_INSTALL_SH],
8805[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl9646[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8806install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}9647if test x"${install_sh}" != xset; then
9648 case $am_aux_dir in
9649 *\ * | *\ *)
9650 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9651 *)
9652 install_sh="\${SHELL} $am_aux_dir/install-sh"
9653 esac
9654fi
8807AC_SUBST(install_sh)])9655AC_SUBST(install_sh)])
88089656
8809# Copyright (C) 2003, 2005 Free Software Foundation, Inc.9657# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
@@ -8829,13 +9677,13 @@
88299677
8830# Check to see how 'make' treats includes. -*- Autoconf -*-9678# Check to see how 'make' treats includes. -*- Autoconf -*-
88319679
8832# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.9680# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
8833#9681#
8834# This file is free software; the Free Software Foundation9682# This file is free software; the Free Software Foundation
8835# gives unlimited permission to copy and/or distribute it,9683# gives unlimited permission to copy and/or distribute it,
8836# with or without modifications, as long as this notice is preserved.9684# with or without modifications, as long as this notice is preserved.
88379685
8838# serial 39686# serial 4
88399687
8840# AM_MAKE_INCLUDE()9688# AM_MAKE_INCLUDE()
8841# -----------------9689# -----------------
@@ -8844,7 +9692,7 @@
8844[am_make=${MAKE-make}9692[am_make=${MAKE-make}
8845cat > confinc << 'END'9693cat > confinc << 'END'
8846am__doit:9694am__doit:
8847 @echo done9695 @echo this is the am__doit target
8848.PHONY: am__doit9696.PHONY: am__doit
8849END9697END
8850# If we don't find an include directive, just comment out the code.9698# If we don't find an include directive, just comment out the code.
@@ -8854,24 +9702,24 @@
8854_am_result=none9702_am_result=none
8855# First try GNU make style include.9703# First try GNU make style include.
8856echo "include confinc" > confmf9704echo "include confinc" > confmf
8857# We grep out `Entering directory' and `Leaving directory'9705# Ignore all kinds of additional output from `make'.
8858# messages which can occur if `w' ends up in MAKEFLAGS.9706case `$am_make -s -f confmf 2> /dev/null` in #(
8859# In particular we don't look at `^make:' because GNU make might9707*the\ am__doit\ target*)
8860# be invoked under some other name (usually "gmake"), in which9708 am__include=include
8861# case it prints its new name instead of `make'.9709 am__quote=
8862if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then9710 _am_result=GNU
8863 am__include=include9711 ;;
8864 am__quote=9712esac
8865 _am_result=GNU
8866fi
8867# Now try BSD make style include.9713# Now try BSD make style include.
8868if test "$am__include" = "#"; then9714if test "$am__include" = "#"; then
8869 echo '.include "confinc"' > confmf9715 echo '.include "confinc"' > confmf
8870 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then9716 case `$am_make -s -f confmf 2> /dev/null` in #(
8871 am__include=.include9717 *the\ am__doit\ target*)
8872 am__quote="\""9718 am__include=.include
8873 _am_result=BSD9719 am__quote="\""
8874 fi9720 _am_result=BSD
9721 ;;
9722 esac
8875fi9723fi
8876AC_SUBST([am__include])9724AC_SUBST([am__include])
8877AC_SUBST([am__quote])9725AC_SUBST([am__quote])
@@ -8881,14 +9729,14 @@
88819729
8882# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-9730# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
88839731
8884# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 20059732# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
8885# Free Software Foundation, Inc.9733# Free Software Foundation, Inc.
8886#9734#
8887# This file is free software; the Free Software Foundation9735# This file is free software; the Free Software Foundation
8888# gives unlimited permission to copy and/or distribute it,9736# gives unlimited permission to copy and/or distribute it,
8889# with or without modifications, as long as this notice is preserved.9737# with or without modifications, as long as this notice is preserved.
88909738
8891# serial 59739# serial 6
88929740
8893# AM_MISSING_PROG(NAME, PROGRAM)9741# AM_MISSING_PROG(NAME, PROGRAM)
8894# ------------------------------9742# ------------------------------
@@ -8905,7 +9753,14 @@
8905AC_DEFUN([AM_MISSING_HAS_RUN],9753AC_DEFUN([AM_MISSING_HAS_RUN],
8906[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl9754[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8907AC_REQUIRE_AUX_FILE([missing])dnl9755AC_REQUIRE_AUX_FILE([missing])dnl
8908test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"9756if test x"${MISSING+set}" != xset; then
9757 case $am_aux_dir in
9758 *\ * | *\ *)
9759 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9760 *)
9761 MISSING="\${SHELL} $am_aux_dir/missing" ;;
9762 esac
9763fi
8909# Use eval to expand $SHELL9764# Use eval to expand $SHELL
8910if eval "$MISSING --run true"; then9765if eval "$MISSING --run true"; then
8911 am_missing_run="$MISSING --run "9766 am_missing_run="$MISSING --run "
@@ -8943,13 +9798,13 @@
89439798
8944# Helper functions for option handling. -*- Autoconf -*-9799# Helper functions for option handling. -*- Autoconf -*-
89459800
8946# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.9801# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
8947#9802#
8948# This file is free software; the Free Software Foundation9803# This file is free software; the Free Software Foundation
8949# gives unlimited permission to copy and/or distribute it,9804# gives unlimited permission to copy and/or distribute it,
8950# with or without modifications, as long as this notice is preserved.9805# with or without modifications, as long as this notice is preserved.
89519806
8952# serial 39807# serial 4
89539808
8954# _AM_MANGLE_OPTION(NAME)9809# _AM_MANGLE_OPTION(NAME)
8955# -----------------------9810# -----------------------
@@ -8966,7 +9821,7 @@
8966# ----------------------------------9821# ----------------------------------
8967# OPTIONS is a space-separated list of Automake options.9822# OPTIONS is a space-separated list of Automake options.
8968AC_DEFUN([_AM_SET_OPTIONS],9823AC_DEFUN([_AM_SET_OPTIONS],
8969[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])9824[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
89709825
8971# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])9826# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
8972# -------------------------------------------9827# -------------------------------------------
@@ -8976,14 +9831,14 @@
89769831
8977# Check to make sure that the build environment is sane. -*- Autoconf -*-9832# Check to make sure that the build environment is sane. -*- Autoconf -*-
89789833
8979# Copyright (C) 1996, 1997, 2000, 2001, 2003, 20059834# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
8980# Free Software Foundation, Inc.9835# Free Software Foundation, Inc.
8981#9836#
8982# This file is free software; the Free Software Foundation9837# This file is free software; the Free Software Foundation
8983# gives unlimited permission to copy and/or distribute it,9838# gives unlimited permission to copy and/or distribute it,
8984# with or without modifications, as long as this notice is preserved.9839# with or without modifications, as long as this notice is preserved.
89859840
8986# serial 49841# serial 5
89879842
8988# AM_SANITY_CHECK9843# AM_SANITY_CHECK
8989# ---------------9844# ---------------
@@ -8992,16 +9847,29 @@
8992# Just in case9847# Just in case
8993sleep 19848sleep 1
8994echo timestamp > conftest.file9849echo timestamp > conftest.file
9850# Reject unsafe characters in $srcdir or the absolute working directory
9851# name. Accept space and tab only in the latter.
9852am_lf='
9853'
9854case `pwd` in
9855 *[[\\\"\#\$\&\'\`$am_lf]]*)
9856 AC_MSG_ERROR([unsafe absolute working directory name]);;
9857esac
9858case $srcdir in
9859 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
9860 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
9861esac
9862
8995# Do `set' in a subshell so we don't clobber the current shell's9863# Do `set' in a subshell so we don't clobber the current shell's
8996# arguments. Must try -L first in case configure is actually a9864# arguments. Must try -L first in case configure is actually a
8997# symlink; some systems play weird games with the mod time of symlinks9865# symlink; some systems play weird games with the mod time of symlinks
8998# (eg FreeBSD returns the mod time of the symlink's containing9866# (eg FreeBSD returns the mod time of the symlink's containing
8999# directory).9867# directory).
9000if (9868if (
9001 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`9869 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9002 if test "$[*]" = "X"; then9870 if test "$[*]" = "X"; then
9003 # -L didn't work.9871 # -L didn't work.
9004 set X `ls -t $srcdir/configure conftest.file`9872 set X `ls -t "$srcdir/configure" conftest.file`
9005 fi9873 fi
9006 rm -f conftest.file9874 rm -f conftest.file
9007 if test "$[*]" != "X $srcdir/configure conftest.file" \9875 if test "$[*]" != "X $srcdir/configure conftest.file" \
@@ -9026,6 +9894,33 @@
9026fi9894fi
9027AC_MSG_RESULT(yes)])9895AC_MSG_RESULT(yes)])
90289896
9897# Copyright (C) 2009 Free Software Foundation, Inc.
9898#
9899# This file is free software; the Free Software Foundation
9900# gives unlimited permission to copy and/or distribute it,
9901# with or without modifications, as long as this notice is preserved.
9902
9903# serial 1
9904
9905# AM_SILENT_RULES([DEFAULT])
9906# --------------------------
9907# Enable less verbose build rules; with the default set to DEFAULT
9908# (`yes' being less verbose, `no' or empty being verbose).
9909AC_DEFUN([AM_SILENT_RULES],
9910[AC_ARG_ENABLE([silent-rules],
9911[ --enable-silent-rules less verbose build output (undo: `make V=1')
9912 --disable-silent-rules verbose build output (undo: `make V=0')])
9913case $enable_silent_rules in
9914yes) AM_DEFAULT_VERBOSITY=0;;
9915no) AM_DEFAULT_VERBOSITY=1;;
9916*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
9917esac
9918AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
9919AM_BACKSLASH='\'
9920AC_SUBST([AM_BACKSLASH])dnl
9921_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
9922])
9923
9029# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.9924# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9030#9925#
9031# This file is free software; the Free Software Foundation9926# This file is free software; the Free Software Foundation
@@ -9054,18 +9949,25 @@
9054INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"9949INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9055AC_SUBST([INSTALL_STRIP_PROGRAM])])9950AC_SUBST([INSTALL_STRIP_PROGRAM])])
90569951
9057# Copyright (C) 2006 Free Software Foundation, Inc.9952# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9058#9953#
9059# This file is free software; the Free Software Foundation9954# This file is free software; the Free Software Foundation
9060# gives unlimited permission to copy and/or distribute it,9955# gives unlimited permission to copy and/or distribute it,
9061# with or without modifications, as long as this notice is preserved.9956# with or without modifications, as long as this notice is preserved.
90629957
9958# serial 2
9959
9063# _AM_SUBST_NOTMAKE(VARIABLE)9960# _AM_SUBST_NOTMAKE(VARIABLE)
9064# ---------------------------9961# ---------------------------
9065# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.9962# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9066# This macro is traced by Automake.9963# This macro is traced by Automake.
9067AC_DEFUN([_AM_SUBST_NOTMAKE])9964AC_DEFUN([_AM_SUBST_NOTMAKE])
90689965
9966# AM_SUBST_NOTMAKE(VARIABLE)
9967# ---------------------------
9968# Public sister of _AM_SUBST_NOTMAKE.
9969AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9970
9069# Check how to create a tarball. -*- Autoconf -*-9971# Check how to create a tarball. -*- Autoconf -*-
90709972
9071# Copyright (C) 2004, 2005 Free Software Foundation, Inc.9973# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
90729974
=== modified file 'autogen.sh'
--- autogen.sh 2009-07-25 18:03:46 +0000
+++ autogen.sh 2011-09-20 17:01:28 +0000
@@ -11,5 +11,7 @@
11autoconf || exit;11autoconf || exit;
12automake || exit;12automake || exit;
1313
14intltoolize --copy --force --automake || exit;
15
14echo;16echo;
15echo "Done."17echo "Done."
1618
=== modified file 'config.guess'
--- config.guess 2009-07-25 18:03:46 +0000
+++ config.guess 2011-09-20 17:01:28 +0000
@@ -4,7 +4,7 @@
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 20084# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5# Free Software Foundation, Inc.5# Free Software Foundation, Inc.
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: