Merge lp:~m-alaa8/ubuntu/quantal/gtk-nodoka-engine/fix-for-803007 into lp:ubuntu/quantal/gtk-nodoka-engine
- Quantal (12.10)
- fix-for-803007
- Merge into quantal
Proposed by
Mohamed Alaa
on 2012-09-30
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~m-alaa8/ubuntu/quantal/gtk-nodoka-engine/fix-for-803007 |
| Merge into: | lp:ubuntu/quantal/gtk-nodoka-engine |
| Diff against target: |
45491 lines (+17294/-21172) 31 files modified
ChangeLog (+12/-0) Makefile.am (+10/-9) Makefile.in (+216/-114) README (+5/-0) aclocal.m4 (+5407/-4003) configure (+5378/-13163) configure.ac (+38/-7) debian/changelog (+6/-0) install-sh (+3/-2) ltmain.sh (+5039/-3589) missing (+29/-20) nodoka.pc.in (+0/-9) src/GTKEngine/config.h (+7/-3) src/GTKEngine/config.h.in (+4/-0) src/GTKEngine/nodoka_draw.c (+164/-76) src/GTKEngine/nodoka_draw.h (+6/-0) src/GTKEngine/nodoka_rc_style.h (+1/-1) src/GTKEngine/nodoka_style.c (+227/-96) src/GTKEngine/nodoka_style.h (+1/-1) src/GTKEngine/nodoka_types.h (+18/-2) src/GTKEngine/support.c (+72/-45) src/GTKEngine/support.h (+4/-1) src/GTKThemes/Nodoka-Aqua/gtk-2.0/gtkrc (+6/-0) src/GTKThemes/Nodoka-Gilouche/gtk-2.0/gtkrc (+6/-0) src/GTKThemes/Nodoka-Looks/gtk-2.0/gtkrc (+5/-0) src/GTKThemes/Nodoka-Midnight/gtk-2.0/gtkrc (+6/-0) src/GTKThemes/Nodoka-Rounded/gtk-2.0/gtkrc (+5/-0) src/GTKThemes/Nodoka-Silver/gtk-2.0/gtkrc (+6/-0) src/GTKThemes/Nodoka-Squared/gtk-2.0/gtkrc (+5/-0) src/GTKThemes/Nodoka/gtk-2.0/gtkrc (+6/-1) src/Makefile.in (+602/-30) |
| To merge this branch: | bzr merge lp:~m-alaa8/ubuntu/quantal/gtk-nodoka-engine/fix-for-803007 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Julian Taylor | 2012-09-30 | Pending | |
|
Review via email:
|
|||
Commit Message
Description of the Change
New upstream version
To post a comment you must log in.
| Julian Taylor (jtaylor) wrote : | # |
after 12.10 we can merge this without a ffe
but you may want to check with the maintainer, he can be reached in irc under raof
| Mohamed Alaa (m-alaa8) wrote : | # |
> after 12.10 we can merge this without a ffe
> but you may want to check with the maintainer, he can be reached in irc under
> raof
ok :) thank you :)
Unmerged revisions
- 8. By Mohamed Alaa on 2012-09-29
-
reapply jtaylor's fix
- 7. By Mohamed Alaa on 2012-09-29
-
New upstream release (LP: #803007)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === modified file 'ChangeLog' |
| 2 | --- ChangeLog 2009-07-14 14:30:36 +0000 |
| 3 | +++ ChangeLog 2012-09-30 20:43:20 +0000 |
| 4 | @@ -1,3 +1,15 @@ |
| 5 | +0.7.5 |
| 6 | +---- |
| 7 | +* Add support for 'entry-progress' detail |
| 8 | +* Add support for GTK+ 3.0 |
| 9 | + - Drop support for GTK+ < 2.18 |
| 10 | +* Honor GtkEntry::transparent-bg-hint (rhbz #489111) |
| 11 | +* Correctly grey out checkboxes in tree-view (rhbz #513454) |
| 12 | +* Small improvements to buildsystem |
| 13 | + - Don't use GNU extension of install (#39) |
| 14 | +* Support selection and hilight coloring for separator (rhbz #478443) |
| 15 | +* Add support for GtkScale trough-side-details and fill-level (rhbz #477941) |
| 16 | + |
| 17 | 0.7.2 |
| 18 | ---- |
| 19 | * Fix drawing rounded tabbed menu item on some systems (rhbz #469398) |
| 20 | |
| 21 | === modified file 'Makefile.am' |
| 22 | --- Makefile.am 2008-05-04 16:32:13 +0000 |
| 23 | +++ Makefile.am 2012-09-30 20:43:20 +0000 |
| 24 | @@ -1,19 +1,20 @@ |
| 25 | SUBDIRS = src |
| 26 | |
| 27 | +MAINTAINERCLEANFILES = \ |
| 28 | + configure \ |
| 29 | + aclocal.m4 \ |
| 30 | + install-sh \ |
| 31 | + Makefile.in \ |
| 32 | + nodoka-2.0.pc \ |
| 33 | + nodoka-3.0.pc \ |
| 34 | + missing |
| 35 | + |
| 36 | INCLUDES = $(GTK_CFLAGS) |
| 37 | |
| 38 | -enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines |
| 39 | +enginedir = $(libdir)/gtk-$(GTK_API_VERSION)/$(GTK_VERSION)/engines |
| 40 | engine_LTLIBRARIES = libnodoka.la |
| 41 | |
| 42 | EXTRA_DIST = ./src/GTKEngine/config.h.in \ |
| 43 | - ./src/GTKThemes/Nodoka/gtk-2.0/gtkrc \ |
| 44 | - ./src/GTKThemes/Nodoka-Aqua/gtk-2.0/gtkrc \ |
| 45 | - ./src/GTKThemes/Nodoka-Gilouche/gtk-2.0/gtkrc \ |
| 46 | - ./src/GTKThemes/Nodoka-Looks/gtk-2.0/gtkrc \ |
| 47 | - ./src/GTKThemes/Nodoka-Midnight/gtk-2.0/gtkrc \ |
| 48 | - ./src/GTKThemes/Nodoka-Rounded/gtk-2.0/gtkrc \ |
| 49 | - ./src/GTKThemes/Nodoka-Silver/gtk-2.0/gtkrc \ |
| 50 | - ./src/GTKThemes/Nodoka-Squared/gtk-2.0/gtkrc \ |
| 51 | CREDITS |
| 52 | |
| 53 | |
| 54 | |
| 55 | === modified file 'Makefile.in' |
| 56 | --- Makefile.in 2009-07-14 14:30:36 +0000 |
| 57 | +++ Makefile.in 2012-09-30 20:43:20 +0000 |
| 58 | @@ -1,8 +1,9 @@ |
| 59 | -# Makefile.in generated by automake 1.10.1 from Makefile.am. |
| 60 | +# Makefile.in generated by automake 1.11.1 from Makefile.am. |
| 61 | # @configure_input@ |
| 62 | |
| 63 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
| 64 | -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 65 | +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 66 | +# Inc. |
| 67 | # This Makefile.in is free software; the Free Software Foundation |
| 68 | # gives unlimited permission to copy and/or distribute it, |
| 69 | # with or without modifications, as long as this notice is preserved. |
| 70 | @@ -16,8 +17,9 @@ |
| 71 | |
| 72 | VPATH = @srcdir@ |
| 73 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 74 | +pkgincludedir = $(includedir)/@PACKAGE@ |
| 75 | pkglibdir = $(libdir)/@PACKAGE@ |
| 76 | -pkgincludedir = $(includedir)/@PACKAGE@ |
| 77 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 78 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 79 | install_sh_DATA = $(install_sh) -c -m 644 |
| 80 | install_sh_PROGRAM = $(install_sh) -c |
| 81 | @@ -34,12 +36,11 @@ |
| 82 | host_triplet = @host@ |
| 83 | subdir = . |
| 84 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
| 85 | - $(srcdir)/Makefile.in $(srcdir)/nodoka.pc.in \ |
| 86 | - $(top_srcdir)/configure \ |
| 87 | - $(top_srcdir)/src/GTKEngine/config.h.in \ |
| 88 | - $(top_srcdir)/src/Makefile.in AUTHORS COPYING ChangeLog \ |
| 89 | - INSTALL NEWS TODO config.guess config.sub depcomp install-sh \ |
| 90 | - ltmain.sh missing |
| 91 | + $(srcdir)/Makefile.in $(srcdir)/nodoka-2.0.pc.in \ |
| 92 | + $(srcdir)/nodoka-3.0.pc.in $(top_srcdir)/configure \ |
| 93 | + $(top_srcdir)/src/GTKEngine/config.h.in AUTHORS COPYING \ |
| 94 | + ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \ |
| 95 | + install-sh ltmain.sh missing |
| 96 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 97 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 99 | @@ -48,15 +49,30 @@ |
| 100 | configure.lineno config.status.lineno |
| 101 | mkinstalldirs = $(install_sh) -d |
| 102 | CONFIG_HEADER = $(top_builddir)/src/GTKEngine/config.h |
| 103 | -CONFIG_CLEAN_FILES = src/Makefile nodoka.pc |
| 104 | +CONFIG_CLEAN_FILES = nodoka-2.0.pc nodoka-3.0.pc |
| 105 | +CONFIG_CLEAN_VPATH_FILES = |
| 106 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 107 | am__vpath_adj = case $$p in \ |
| 108 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 109 | *) f=$$p;; \ |
| 110 | esac; |
| 111 | -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
| 112 | +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 113 | +am__install_max = 40 |
| 114 | +am__nobase_strip_setup = \ |
| 115 | + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 116 | +am__nobase_strip = \ |
| 117 | + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 118 | +am__nobase_list = $(am__nobase_strip_setup); \ |
| 119 | + for p in $$list; do echo "$$p $$p"; done | \ |
| 120 | + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
| 121 | + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
| 122 | + if (++n[$$2] == $(am__install_max)) \ |
| 123 | + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
| 124 | + END { for (dir in files) print dir, files[dir] }' |
| 125 | +am__base_list = \ |
| 126 | + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 127 | + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
| 128 | am__installdirs = "$(DESTDIR)$(enginedir)" |
| 129 | -engineLTLIBRARIES_INSTALL = $(INSTALL) |
| 130 | LTLIBRARIES = $(engine_LTLIBRARIES) |
| 131 | am__DEPENDENCIES_1 = |
| 132 | libnodoka_la_DEPENDENCIES = $(am__DEPENDENCIES_1) |
| 133 | @@ -69,6 +85,7 @@ |
| 134 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/GTKEngine |
| 135 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 136 | am__depfiles_maybe = depfiles |
| 137 | +am__mv = mv -f |
| 138 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
| 139 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
| 140 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
| 141 | @@ -89,6 +106,9 @@ |
| 142 | ps-recursive uninstall-recursive |
| 143 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 144 | distclean-recursive maintainer-clean-recursive |
| 145 | +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
| 146 | + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
| 147 | + distdir dist dist-all distcheck |
| 148 | ETAGS = etags |
| 149 | CTAGS = ctags |
| 150 | DIST_SUBDIRS = $(SUBDIRS) |
| 151 | @@ -96,9 +116,34 @@ |
| 152 | distdir = $(PACKAGE)-$(VERSION) |
| 153 | top_distdir = $(distdir) |
| 154 | am__remove_distdir = \ |
| 155 | - { test ! -d $(distdir) \ |
| 156 | - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 157 | - && rm -fr $(distdir); }; } |
| 158 | + { test ! -d "$(distdir)" \ |
| 159 | + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 160 | + && rm -fr "$(distdir)"; }; } |
| 161 | +am__relativize = \ |
| 162 | + dir0=`pwd`; \ |
| 163 | + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
| 164 | + sed_rest='s,^[^/]*/*,,'; \ |
| 165 | + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
| 166 | + sed_butlast='s,/*[^/]*$$,,'; \ |
| 167 | + while test -n "$$dir1"; do \ |
| 168 | + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
| 169 | + if test "$$first" != "."; then \ |
| 170 | + if test "$$first" = ".."; then \ |
| 171 | + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
| 172 | + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
| 173 | + else \ |
| 174 | + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
| 175 | + if test "$$first2" = "$$first"; then \ |
| 176 | + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
| 177 | + else \ |
| 178 | + dir2="../$$dir2"; \ |
| 179 | + fi; \ |
| 180 | + dir0="$$dir0"/"$$first"; \ |
| 181 | + fi; \ |
| 182 | + fi; \ |
| 183 | + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
| 184 | + done; \ |
| 185 | + reldir="$$dir2" |
| 186 | DIST_ARCHIVES = $(distdir).tar.gz |
| 187 | GZIP_ENV = --best |
| 188 | distuninstallcheck_listfiles = find . -type f -print |
| 189 | @@ -118,24 +163,20 @@ |
| 190 | CFLAGS = @CFLAGS@ |
| 191 | CPP = @CPP@ |
| 192 | CPPFLAGS = @CPPFLAGS@ |
| 193 | -CXX = @CXX@ |
| 194 | -CXXCPP = @CXXCPP@ |
| 195 | -CXXDEPMODE = @CXXDEPMODE@ |
| 196 | -CXXFLAGS = @CXXFLAGS@ |
| 197 | CYGPATH_W = @CYGPATH_W@ |
| 198 | DEFS = @DEFS@ |
| 199 | DEPDIR = @DEPDIR@ |
| 200 | DLLTOOL = @DLLTOOL@ |
| 201 | DSYMUTIL = @DSYMUTIL@ |
| 202 | -ECHO = @ECHO@ |
| 203 | +DUMPBIN = @DUMPBIN@ |
| 204 | ECHO_C = @ECHO_C@ |
| 205 | ECHO_N = @ECHO_N@ |
| 206 | ECHO_T = @ECHO_T@ |
| 207 | EGREP = @EGREP@ |
| 208 | EXEEXT = @EXEEXT@ |
| 209 | -F77 = @F77@ |
| 210 | -FFLAGS = @FFLAGS@ |
| 211 | +FGREP = @FGREP@ |
| 212 | GREP = @GREP@ |
| 213 | +GTK_API_VERSION = @GTK_API_VERSION@ |
| 214 | GTK_CFLAGS = @GTK_CFLAGS@ |
| 215 | GTK_LIBS = @GTK_LIBS@ |
| 216 | GTK_VERSION = @GTK_VERSION@ |
| 217 | @@ -144,18 +185,26 @@ |
| 218 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 219 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 220 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 221 | +LD = @LD@ |
| 222 | LDFLAGS = @LDFLAGS@ |
| 223 | LIBOBJS = @LIBOBJS@ |
| 224 | LIBS = @LIBS@ |
| 225 | LIBTOOL = @LIBTOOL@ |
| 226 | +LIPO = @LIPO@ |
| 227 | LN_S = @LN_S@ |
| 228 | LTLIBOBJS = @LTLIBOBJS@ |
| 229 | MAINT = @MAINT@ |
| 230 | MAKEINFO = @MAKEINFO@ |
| 231 | MKDIR_P = @MKDIR_P@ |
| 232 | +NM = @NM@ |
| 233 | NMEDIT = @NMEDIT@ |
| 234 | +NODOKA_API_MAJOR_VERSION = @NODOKA_API_MAJOR_VERSION@ |
| 235 | +NODOKA_API_MINOR_VERSION = @NODOKA_API_MINOR_VERSION@ |
| 236 | +NODOKA_PC_NAME = @NODOKA_PC_NAME@ |
| 237 | OBJDUMP = @OBJDUMP@ |
| 238 | OBJEXT = @OBJEXT@ |
| 239 | +OTOOL = @OTOOL@ |
| 240 | +OTOOL64 = @OTOOL64@ |
| 241 | PACKAGE = @PACKAGE@ |
| 242 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 243 | PACKAGE_NAME = @PACKAGE_NAME@ |
| 244 | @@ -175,8 +224,7 @@ |
| 245 | abs_top_builddir = @abs_top_builddir@ |
| 246 | abs_top_srcdir = @abs_top_srcdir@ |
| 247 | ac_ct_CC = @ac_ct_CC@ |
| 248 | -ac_ct_CXX = @ac_ct_CXX@ |
| 249 | -ac_ct_F77 = @ac_ct_F77@ |
| 250 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 251 | am__include = @am__include@ |
| 252 | am__leading_dot = @am__leading_dot@ |
| 253 | am__quote = @am__quote@ |
| 254 | @@ -207,6 +255,7 @@ |
| 255 | libexecdir = @libexecdir@ |
| 256 | localedir = @localedir@ |
| 257 | localstatedir = @localstatedir@ |
| 258 | +lt_ECHO = @lt_ECHO@ |
| 259 | mandir = @mandir@ |
| 260 | mkdir_p = @mkdir_p@ |
| 261 | oldincludedir = @oldincludedir@ |
| 262 | @@ -223,18 +272,19 @@ |
| 263 | top_builddir = @top_builddir@ |
| 264 | top_srcdir = @top_srcdir@ |
| 265 | SUBDIRS = src |
| 266 | +MAINTAINERCLEANFILES = \ |
| 267 | + configure \ |
| 268 | + aclocal.m4 \ |
| 269 | + install-sh \ |
| 270 | + Makefile.in \ |
| 271 | + nodoka-2.0.pc \ |
| 272 | + nodoka-3.0.pc \ |
| 273 | + missing |
| 274 | + |
| 275 | INCLUDES = $(GTK_CFLAGS) |
| 276 | -enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines |
| 277 | +enginedir = $(libdir)/gtk-$(GTK_API_VERSION)/$(GTK_VERSION)/engines |
| 278 | engine_LTLIBRARIES = libnodoka.la |
| 279 | EXTRA_DIST = ./src/GTKEngine/config.h.in \ |
| 280 | - ./src/GTKThemes/Nodoka/gtk-2.0/gtkrc \ |
| 281 | - ./src/GTKThemes/Nodoka-Aqua/gtk-2.0/gtkrc \ |
| 282 | - ./src/GTKThemes/Nodoka-Gilouche/gtk-2.0/gtkrc \ |
| 283 | - ./src/GTKThemes/Nodoka-Looks/gtk-2.0/gtkrc \ |
| 284 | - ./src/GTKThemes/Nodoka-Midnight/gtk-2.0/gtkrc \ |
| 285 | - ./src/GTKThemes/Nodoka-Rounded/gtk-2.0/gtkrc \ |
| 286 | - ./src/GTKThemes/Nodoka-Silver/gtk-2.0/gtkrc \ |
| 287 | - ./src/GTKThemes/Nodoka-Squared/gtk-2.0/gtkrc \ |
| 288 | CREDITS |
| 289 | |
| 290 | libnodoka_la_SOURCES = \ |
| 291 | @@ -264,15 +314,15 @@ |
| 292 | @for dep in $?; do \ |
| 293 | case '$(am__configure_deps)' in \ |
| 294 | *$$dep*) \ |
| 295 | - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ |
| 296 | - cd $(srcdir) && $(AUTOMAKE) --gnu \ |
| 297 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
| 298 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
| 299 | && exit 0; \ |
| 300 | exit 1;; \ |
| 301 | esac; \ |
| 302 | done; \ |
| 303 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
| 304 | - cd $(top_srcdir) && \ |
| 305 | - $(AUTOMAKE) --gnu Makefile |
| 306 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
| 307 | + $(am__cd) $(top_srcdir) && \ |
| 308 | + $(AUTOMAKE) --gnu Makefile |
| 309 | .PRECIOUS: Makefile |
| 310 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 311 | @case '$?' in \ |
| 312 | @@ -288,9 +338,10 @@ |
| 313 | $(SHELL) ./config.status --recheck |
| 314 | |
| 315 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 316 | - cd $(srcdir) && $(AUTOCONF) |
| 317 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
| 318 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 319 | - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 320 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 321 | +$(am__aclocal_m4_deps): |
| 322 | |
| 323 | src/GTKEngine/config.h: src/GTKEngine/stamp-h1 |
| 324 | @if test ! -f $@; then \ |
| 325 | @@ -302,33 +353,37 @@ |
| 326 | @rm -f src/GTKEngine/stamp-h1 |
| 327 | cd $(top_builddir) && $(SHELL) ./config.status src/GTKEngine/config.h |
| 328 | $(top_srcdir)/src/GTKEngine/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 329 | - cd $(top_srcdir) && $(AUTOHEADER) |
| 330 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
| 331 | rm -f src/GTKEngine/stamp-h1 |
| 332 | touch $@ |
| 333 | |
| 334 | distclean-hdr: |
| 335 | -rm -f src/GTKEngine/config.h src/GTKEngine/stamp-h1 |
| 336 | -src/Makefile: $(top_builddir)/config.status $(top_srcdir)/src/Makefile.in |
| 337 | +nodoka-2.0.pc: $(top_builddir)/config.status $(srcdir)/nodoka-2.0.pc.in |
| 338 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 339 | -nodoka.pc: $(top_builddir)/config.status $(srcdir)/nodoka.pc.in |
| 340 | +nodoka-3.0.pc: $(top_builddir)/config.status $(srcdir)/nodoka-3.0.pc.in |
| 341 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 342 | install-engineLTLIBRARIES: $(engine_LTLIBRARIES) |
| 343 | @$(NORMAL_INSTALL) |
| 344 | test -z "$(enginedir)" || $(MKDIR_P) "$(DESTDIR)$(enginedir)" |
| 345 | - @list='$(engine_LTLIBRARIES)'; for p in $$list; do \ |
| 346 | + @list='$(engine_LTLIBRARIES)'; test -n "$(enginedir)" || list=; \ |
| 347 | + list2=; for p in $$list; do \ |
| 348 | if test -f $$p; then \ |
| 349 | - f=$(am__strip_dir) \ |
| 350 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(engineLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(enginedir)/$$f'"; \ |
| 351 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(engineLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(enginedir)/$$f"; \ |
| 352 | + list2="$$list2 $$p"; \ |
| 353 | else :; fi; \ |
| 354 | - done |
| 355 | + done; \ |
| 356 | + test -z "$$list2" || { \ |
| 357 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(enginedir)'"; \ |
| 358 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(enginedir)"; \ |
| 359 | + } |
| 360 | |
| 361 | uninstall-engineLTLIBRARIES: |
| 362 | @$(NORMAL_UNINSTALL) |
| 363 | - @list='$(engine_LTLIBRARIES)'; for p in $$list; do \ |
| 364 | - p=$(am__strip_dir) \ |
| 365 | - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(enginedir)/$$p'"; \ |
| 366 | - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(enginedir)/$$p"; \ |
| 367 | + @list='$(engine_LTLIBRARIES)'; test -n "$(enginedir)" || list=; \ |
| 368 | + for p in $$list; do \ |
| 369 | + $(am__strip_dir) \ |
| 370 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(enginedir)/$$f'"; \ |
| 371 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(enginedir)/$$f"; \ |
| 372 | done |
| 373 | |
| 374 | clean-engineLTLIBRARIES: |
| 375 | @@ -357,66 +412,66 @@ |
| 376 | |
| 377 | .c.o: |
| 378 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
| 379 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 380 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 381 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 382 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 383 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< |
| 384 | |
| 385 | .c.obj: |
| 386 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
| 387 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 388 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 389 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 390 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 391 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
| 392 | |
| 393 | .c.lo: |
| 394 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
| 395 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
| 396 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
| 397 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
| 398 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 399 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
| 400 | |
| 401 | nodoka_rc_style.lo: ./src/GTKEngine/nodoka_rc_style.c |
| 402 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_rc_style.lo -MD -MP -MF $(DEPDIR)/nodoka_rc_style.Tpo -c -o nodoka_rc_style.lo `test -f './src/GTKEngine/nodoka_rc_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_rc_style.c |
| 403 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nodoka_rc_style.Tpo $(DEPDIR)/nodoka_rc_style.Plo |
| 404 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_rc_style.lo -MD -MP -MF $(DEPDIR)/nodoka_rc_style.Tpo -c -o nodoka_rc_style.lo `test -f './src/GTKEngine/nodoka_rc_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_rc_style.c |
| 405 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nodoka_rc_style.Tpo $(DEPDIR)/nodoka_rc_style.Plo |
| 406 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/nodoka_rc_style.c' object='nodoka_rc_style.lo' libtool=yes @AMDEPBACKSLASH@ |
| 407 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 408 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_rc_style.lo `test -f './src/GTKEngine/nodoka_rc_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_rc_style.c |
| 409 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_rc_style.lo `test -f './src/GTKEngine/nodoka_rc_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_rc_style.c |
| 410 | |
| 411 | nodoka_style.lo: ./src/GTKEngine/nodoka_style.c |
| 412 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_style.lo -MD -MP -MF $(DEPDIR)/nodoka_style.Tpo -c -o nodoka_style.lo `test -f './src/GTKEngine/nodoka_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_style.c |
| 413 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nodoka_style.Tpo $(DEPDIR)/nodoka_style.Plo |
| 414 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_style.lo -MD -MP -MF $(DEPDIR)/nodoka_style.Tpo -c -o nodoka_style.lo `test -f './src/GTKEngine/nodoka_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_style.c |
| 415 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nodoka_style.Tpo $(DEPDIR)/nodoka_style.Plo |
| 416 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/nodoka_style.c' object='nodoka_style.lo' libtool=yes @AMDEPBACKSLASH@ |
| 417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 418 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_style.lo `test -f './src/GTKEngine/nodoka_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_style.c |
| 419 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_style.lo `test -f './src/GTKEngine/nodoka_style.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_style.c |
| 420 | |
| 421 | nodoka_theme_main.lo: ./src/GTKEngine/nodoka_theme_main.c |
| 422 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_theme_main.lo -MD -MP -MF $(DEPDIR)/nodoka_theme_main.Tpo -c -o nodoka_theme_main.lo `test -f './src/GTKEngine/nodoka_theme_main.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_theme_main.c |
| 423 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nodoka_theme_main.Tpo $(DEPDIR)/nodoka_theme_main.Plo |
| 424 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_theme_main.lo -MD -MP -MF $(DEPDIR)/nodoka_theme_main.Tpo -c -o nodoka_theme_main.lo `test -f './src/GTKEngine/nodoka_theme_main.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_theme_main.c |
| 425 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nodoka_theme_main.Tpo $(DEPDIR)/nodoka_theme_main.Plo |
| 426 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/nodoka_theme_main.c' object='nodoka_theme_main.lo' libtool=yes @AMDEPBACKSLASH@ |
| 427 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 428 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_theme_main.lo `test -f './src/GTKEngine/nodoka_theme_main.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_theme_main.c |
| 429 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_theme_main.lo `test -f './src/GTKEngine/nodoka_theme_main.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_theme_main.c |
| 430 | |
| 431 | support.lo: ./src/GTKEngine/support.c |
| 432 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT support.lo -MD -MP -MF $(DEPDIR)/support.Tpo -c -o support.lo `test -f './src/GTKEngine/support.c' || echo '$(srcdir)/'`./src/GTKEngine/support.c |
| 433 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/support.Tpo $(DEPDIR)/support.Plo |
| 434 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT support.lo -MD -MP -MF $(DEPDIR)/support.Tpo -c -o support.lo `test -f './src/GTKEngine/support.c' || echo '$(srcdir)/'`./src/GTKEngine/support.c |
| 435 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/support.Tpo $(DEPDIR)/support.Plo |
| 436 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/support.c' object='support.lo' libtool=yes @AMDEPBACKSLASH@ |
| 437 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 438 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o support.lo `test -f './src/GTKEngine/support.c' || echo '$(srcdir)/'`./src/GTKEngine/support.c |
| 439 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o support.lo `test -f './src/GTKEngine/support.c' || echo '$(srcdir)/'`./src/GTKEngine/support.c |
| 440 | |
| 441 | animation.lo: ./src/GTKEngine/animation.c |
| 442 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT animation.lo -MD -MP -MF $(DEPDIR)/animation.Tpo -c -o animation.lo `test -f './src/GTKEngine/animation.c' || echo '$(srcdir)/'`./src/GTKEngine/animation.c |
| 443 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/animation.Tpo $(DEPDIR)/animation.Plo |
| 444 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT animation.lo -MD -MP -MF $(DEPDIR)/animation.Tpo -c -o animation.lo `test -f './src/GTKEngine/animation.c' || echo '$(srcdir)/'`./src/GTKEngine/animation.c |
| 445 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/animation.Tpo $(DEPDIR)/animation.Plo |
| 446 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/animation.c' object='animation.lo' libtool=yes @AMDEPBACKSLASH@ |
| 447 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 448 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o animation.lo `test -f './src/GTKEngine/animation.c' || echo '$(srcdir)/'`./src/GTKEngine/animation.c |
| 449 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o animation.lo `test -f './src/GTKEngine/animation.c' || echo '$(srcdir)/'`./src/GTKEngine/animation.c |
| 450 | |
| 451 | nodoka_draw.lo: ./src/GTKEngine/nodoka_draw.c |
| 452 | -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_draw.lo -MD -MP -MF $(DEPDIR)/nodoka_draw.Tpo -c -o nodoka_draw.lo `test -f './src/GTKEngine/nodoka_draw.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_draw.c |
| 453 | -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nodoka_draw.Tpo $(DEPDIR)/nodoka_draw.Plo |
| 454 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nodoka_draw.lo -MD -MP -MF $(DEPDIR)/nodoka_draw.Tpo -c -o nodoka_draw.lo `test -f './src/GTKEngine/nodoka_draw.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_draw.c |
| 455 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nodoka_draw.Tpo $(DEPDIR)/nodoka_draw.Plo |
| 456 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='./src/GTKEngine/nodoka_draw.c' object='nodoka_draw.lo' libtool=yes @AMDEPBACKSLASH@ |
| 457 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 458 | -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_draw.lo `test -f './src/GTKEngine/nodoka_draw.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_draw.c |
| 459 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nodoka_draw.lo `test -f './src/GTKEngine/nodoka_draw.c' || echo '$(srcdir)/'`./src/GTKEngine/nodoka_draw.c |
| 460 | |
| 461 | mostlyclean-libtool: |
| 462 | -rm -f *.lo |
| 463 | @@ -425,7 +480,7 @@ |
| 464 | -rm -rf .libs _libs |
| 465 | |
| 466 | distclean-libtool: |
| 467 | - -rm -f libtool |
| 468 | + -rm -f libtool config.lt |
| 469 | |
| 470 | # This directory's subdirectories are mostly independent; you can cd |
| 471 | # into them and run `make' without going through this Makefile. |
| 472 | @@ -434,7 +489,7 @@ |
| 473 | # (which will cause the Makefiles to be regenerated when you run `make'); |
| 474 | # (2) otherwise, pass the desired values on the `make' command line. |
| 475 | $(RECURSIVE_TARGETS): |
| 476 | - @failcom='exit 1'; \ |
| 477 | + @fail= failcom='exit 1'; \ |
| 478 | for f in x $$MAKEFLAGS; do \ |
| 479 | case $$f in \ |
| 480 | *=* | --[!k]*);; \ |
| 481 | @@ -451,7 +506,7 @@ |
| 482 | else \ |
| 483 | local_target="$$target"; \ |
| 484 | fi; \ |
| 485 | - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 486 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 487 | || eval $$failcom; \ |
| 488 | done; \ |
| 489 | if test "$$dot_seen" = "no"; then \ |
| 490 | @@ -459,7 +514,7 @@ |
| 491 | fi; test -z "$$fail" |
| 492 | |
| 493 | $(RECURSIVE_CLEAN_TARGETS): |
| 494 | - @failcom='exit 1'; \ |
| 495 | + @fail= failcom='exit 1'; \ |
| 496 | for f in x $$MAKEFLAGS; do \ |
| 497 | case $$f in \ |
| 498 | *=* | --[!k]*);; \ |
| 499 | @@ -485,16 +540,16 @@ |
| 500 | else \ |
| 501 | local_target="$$target"; \ |
| 502 | fi; \ |
| 503 | - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 504 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 505 | || eval $$failcom; \ |
| 506 | done && test -z "$$fail" |
| 507 | tags-recursive: |
| 508 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 509 | - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 510 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 511 | done |
| 512 | ctags-recursive: |
| 513 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 514 | - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
| 515 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
| 516 | done |
| 517 | |
| 518 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 519 | @@ -502,14 +557,14 @@ |
| 520 | unique=`for i in $$list; do \ |
| 521 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 522 | done | \ |
| 523 | - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ |
| 524 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 525 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 526 | mkid -fID $$unique |
| 527 | tags: TAGS |
| 528 | |
| 529 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
| 530 | $(TAGS_FILES) $(LISP) |
| 531 | - tags=; \ |
| 532 | + set x; \ |
| 533 | here=`pwd`; \ |
| 534 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 535 | include_option=--etags-include; \ |
| 536 | @@ -521,7 +576,7 @@ |
| 537 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 538 | if test "$$subdir" = .; then :; else \ |
| 539 | test ! -f $$subdir/TAGS || \ |
| 540 | - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ |
| 541 | + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 542 | fi; \ |
| 543 | done; \ |
| 544 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
| 545 | @@ -530,36 +585,41 @@ |
| 546 | done | \ |
| 547 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 548 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 549 | - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ |
| 550 | + shift; \ |
| 551 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 552 | test -n "$$unique" || unique=$$empty_fix; \ |
| 553 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 554 | - $$tags $$unique; \ |
| 555 | + if test $$# -gt 0; then \ |
| 556 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 557 | + "$$@" $$unique; \ |
| 558 | + else \ |
| 559 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 560 | + $$unique; \ |
| 561 | + fi; \ |
| 562 | fi |
| 563 | ctags: CTAGS |
| 564 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
| 565 | $(TAGS_FILES) $(LISP) |
| 566 | - tags=; \ |
| 567 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
| 568 | unique=`for i in $$list; do \ |
| 569 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 570 | done | \ |
| 571 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 572 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 573 | - test -z "$(CTAGS_ARGS)$$tags$$unique" \ |
| 574 | + test -z "$(CTAGS_ARGS)$$unique" \ |
| 575 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 576 | - $$tags $$unique |
| 577 | + $$unique |
| 578 | |
| 579 | GTAGS: |
| 580 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 581 | - && cd $(top_srcdir) \ |
| 582 | - && gtags -i $(GTAGS_ARGS) $$here |
| 583 | + && $(am__cd) $(top_srcdir) \ |
| 584 | + && gtags -i $(GTAGS_ARGS) "$$here" |
| 585 | |
| 586 | distclean-tags: |
| 587 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
| 588 | |
| 589 | distdir: $(DISTFILES) |
| 590 | $(am__remove_distdir) |
| 591 | - test -d $(distdir) || mkdir $(distdir) |
| 592 | + test -d "$(distdir)" || mkdir "$(distdir)" |
| 593 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 594 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 595 | list='$(DISTFILES)'; \ |
| 596 | @@ -575,38 +635,55 @@ |
| 597 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 598 | if test -d $$d/$$file; then \ |
| 599 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 600 | + if test -d "$(distdir)/$$file"; then \ |
| 601 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 602 | + fi; \ |
| 603 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 604 | - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
| 605 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 606 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 607 | fi; \ |
| 608 | - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
| 609 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 610 | else \ |
| 611 | - test -f $(distdir)/$$file \ |
| 612 | - || cp -p $$d/$$file $(distdir)/$$file \ |
| 613 | + test -f "$(distdir)/$$file" \ |
| 614 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
| 615 | || exit 1; \ |
| 616 | fi; \ |
| 617 | done |
| 618 | - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 619 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 620 | if test "$$subdir" = .; then :; else \ |
| 621 | test -d "$(distdir)/$$subdir" \ |
| 622 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
| 623 | || exit 1; \ |
| 624 | - distdir=`$(am__cd) $(distdir) && pwd`; \ |
| 625 | - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ |
| 626 | - (cd $$subdir && \ |
| 627 | + fi; \ |
| 628 | + done |
| 629 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 630 | + if test "$$subdir" = .; then :; else \ |
| 631 | + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
| 632 | + $(am__relativize); \ |
| 633 | + new_distdir=$$reldir; \ |
| 634 | + dir1=$$subdir; dir2="$(top_distdir)"; \ |
| 635 | + $(am__relativize); \ |
| 636 | + new_top_distdir=$$reldir; \ |
| 637 | + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
| 638 | + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
| 639 | + ($(am__cd) $$subdir && \ |
| 640 | $(MAKE) $(AM_MAKEFLAGS) \ |
| 641 | - top_distdir="$$top_distdir" \ |
| 642 | - distdir="$$distdir/$$subdir" \ |
| 643 | + top_distdir="$$new_top_distdir" \ |
| 644 | + distdir="$$new_distdir" \ |
| 645 | am__remove_distdir=: \ |
| 646 | am__skip_length_check=: \ |
| 647 | + am__skip_mode_fix=: \ |
| 648 | distdir) \ |
| 649 | || exit 1; \ |
| 650 | fi; \ |
| 651 | done |
| 652 | - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
| 653 | + -test -n "$(am__skip_mode_fix)" \ |
| 654 | + || find "$(distdir)" -type d ! -perm -755 \ |
| 655 | + -exec chmod u+rwx,go+rx {} \; -o \ |
| 656 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 657 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 658 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
| 659 | - || chmod -R a+r $(distdir) |
| 660 | + || chmod -R a+r "$(distdir)" |
| 661 | dist-gzip: distdir |
| 662 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
| 663 | $(am__remove_distdir) |
| 664 | @@ -619,6 +696,10 @@ |
| 665 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
| 666 | $(am__remove_distdir) |
| 667 | |
| 668 | +dist-xz: distdir |
| 669 | + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
| 670 | + $(am__remove_distdir) |
| 671 | + |
| 672 | dist-tarZ: distdir |
| 673 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
| 674 | $(am__remove_distdir) |
| 675 | @@ -642,15 +723,17 @@ |
| 676 | distcheck: dist |
| 677 | case '$(DIST_ARCHIVES)' in \ |
| 678 | *.tar.gz*) \ |
| 679 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
| 680 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
| 681 | *.tar.bz2*) \ |
| 682 | - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
| 683 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
| 684 | *.tar.lzma*) \ |
| 685 | - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ |
| 686 | + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
| 687 | + *.tar.xz*) \ |
| 688 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
| 689 | *.tar.Z*) \ |
| 690 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
| 691 | *.shar.gz*) \ |
| 692 | - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
| 693 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
| 694 | *.zip*) \ |
| 695 | unzip $(distdir).zip ;;\ |
| 696 | esac |
| 697 | @@ -658,9 +741,11 @@ |
| 698 | mkdir $(distdir)/_build |
| 699 | mkdir $(distdir)/_inst |
| 700 | chmod a-w $(distdir) |
| 701 | + test -d $(distdir)/_build || exit 0; \ |
| 702 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
| 703 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
| 704 | - && cd $(distdir)/_build \ |
| 705 | + && am__cwd=`pwd` \ |
| 706 | + && $(am__cd) $(distdir)/_build \ |
| 707 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
| 708 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
| 709 | && $(MAKE) $(AM_MAKEFLAGS) \ |
| 710 | @@ -682,13 +767,15 @@ |
| 711 | && rm -rf "$$dc_destdir" \ |
| 712 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
| 713 | && rm -rf $(DIST_ARCHIVES) \ |
| 714 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
| 715 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
| 716 | + && cd "$$am__cwd" \ |
| 717 | + || exit 1 |
| 718 | $(am__remove_distdir) |
| 719 | @(echo "$(distdir) archives ready for distribution: "; \ |
| 720 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
| 721 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
| 722 | distuninstallcheck: |
| 723 | - @cd $(distuninstallcheck_dir) \ |
| 724 | + @$(am__cd) '$(distuninstallcheck_dir)' \ |
| 725 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
| 726 | || { echo "ERROR: files left after uninstall:" ; \ |
| 727 | if test -n "$(DESTDIR)"; then \ |
| 728 | @@ -733,10 +820,12 @@ |
| 729 | |
| 730 | distclean-generic: |
| 731 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 732 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 733 | |
| 734 | maintainer-clean-generic: |
| 735 | @echo "This command is intended for maintainers to use" |
| 736 | @echo "it deletes files that may require special tools to rebuild." |
| 737 | + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
| 738 | clean: clean-recursive |
| 739 | |
| 740 | clean-am: clean-engineLTLIBRARIES clean-generic clean-libtool \ |
| 741 | @@ -755,6 +844,8 @@ |
| 742 | |
| 743 | html: html-recursive |
| 744 | |
| 745 | +html-am: |
| 746 | + |
| 747 | info: info-recursive |
| 748 | |
| 749 | info-am: |
| 750 | @@ -763,18 +854,28 @@ |
| 751 | |
| 752 | install-dvi: install-dvi-recursive |
| 753 | |
| 754 | +install-dvi-am: |
| 755 | + |
| 756 | install-exec-am: |
| 757 | |
| 758 | install-html: install-html-recursive |
| 759 | |
| 760 | +install-html-am: |
| 761 | + |
| 762 | install-info: install-info-recursive |
| 763 | |
| 764 | +install-info-am: |
| 765 | + |
| 766 | install-man: |
| 767 | |
| 768 | install-pdf: install-pdf-recursive |
| 769 | |
| 770 | +install-pdf-am: |
| 771 | + |
| 772 | install-ps: install-ps-recursive |
| 773 | |
| 774 | +install-ps-am: |
| 775 | + |
| 776 | installcheck-am: |
| 777 | |
| 778 | maintainer-clean: maintainer-clean-recursive |
| 779 | @@ -799,14 +900,14 @@ |
| 780 | |
| 781 | uninstall-am: uninstall-engineLTLIBRARIES |
| 782 | |
| 783 | -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ |
| 784 | - install-strip |
| 785 | +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ |
| 786 | + install-am install-strip tags-recursive |
| 787 | |
| 788 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
| 789 | all all-am am--refresh check check-am clean \ |
| 790 | clean-engineLTLIBRARIES clean-generic clean-libtool ctags \ |
| 791 | ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzma \ |
| 792 | - dist-shar dist-tarZ dist-zip distcheck distclean \ |
| 793 | + dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ |
| 794 | distclean-compile distclean-generic distclean-hdr \ |
| 795 | distclean-libtool distclean-tags distcleancheck distdir \ |
| 796 | distuninstallcheck dvi dvi-am html html-am info info-am \ |
| 797 | @@ -821,6 +922,7 @@ |
| 798 | tags tags-recursive uninstall uninstall-am \ |
| 799 | uninstall-engineLTLIBRARIES |
| 800 | |
| 801 | + |
| 802 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 803 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 804 | .NOEXPORT: |
| 805 | |
| 806 | === modified file 'README' |
| 807 | --- README 2008-05-04 16:32:13 +0000 |
| 808 | +++ README 2012-09-30 20:43:20 +0000 |
| 809 | @@ -11,6 +11,11 @@ |
| 810 | |
| 811 | ./configure --prefix=/usr --enable-animation; make ; make install |
| 812 | |
| 813 | +or if you want to build against gtk3: |
| 814 | + |
| 815 | +./configure --with-gtk=3.0 --prefix=/usr --enable-animation; make ; \ |
| 816 | +make install |
| 817 | + |
| 818 | To uninstall: |
| 819 | |
| 820 | make uninstall |
| 821 | |
| 822 | === modified file 'aclocal.m4' |
| 823 | --- aclocal.m4 2009-07-14 14:30:36 +0000 |
| 824 | +++ aclocal.m4 2012-09-30 20:43:20 +0000 |
| 825 | @@ -1,7 +1,7 @@ |
| 826 | -# generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
| 827 | +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
| 828 | |
| 829 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 830 | -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 831 | +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 832 | # This file is free software; the Free Software Foundation |
| 833 | # gives unlimited permission to copy and/or distribute it, |
| 834 | # with or without modifications, as long as this notice is preserved. |
| 835 | @@ -13,108 +13,194 @@ |
| 836 | |
| 837 | m4_ifndef([AC_AUTOCONF_VERSION], |
| 838 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 839 | -m4_if(AC_AUTOCONF_VERSION, [2.63],, |
| 840 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, |
| 841 | [m4_warning([this file was generated for autoconf 2.63. |
| 842 | You have another version of autoconf. It may work, but is not guaranteed to. |
| 843 | If you have problems, you may need to regenerate the build system entirely. |
| 844 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
| 845 | |
| 846 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
| 847 | - |
| 848 | -# serial 52 AC_PROG_LIBTOOL |
| 849 | - |
| 850 | - |
| 851 | -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
| 852 | -# ----------------------------------------------------------- |
| 853 | -# If this macro is not defined by Autoconf, define it here. |
| 854 | -m4_ifdef([AC_PROVIDE_IFELSE], |
| 855 | - [], |
| 856 | - [m4_define([AC_PROVIDE_IFELSE], |
| 857 | - [m4_ifdef([AC_PROVIDE_$1], |
| 858 | - [$2], [$3])])]) |
| 859 | - |
| 860 | - |
| 861 | -# AC_PROG_LIBTOOL |
| 862 | -# --------------- |
| 863 | -AC_DEFUN([AC_PROG_LIBTOOL], |
| 864 | -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl |
| 865 | -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX |
| 866 | -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. |
| 867 | - AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 868 | - [AC_LIBTOOL_CXX], |
| 869 | - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX |
| 870 | - ])]) |
| 871 | -dnl And a similar setup for Fortran 77 support |
| 872 | - AC_PROVIDE_IFELSE([AC_PROG_F77], |
| 873 | - [AC_LIBTOOL_F77], |
| 874 | - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 |
| 875 | -])]) |
| 876 | - |
| 877 | -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. |
| 878 | -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run |
| 879 | -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. |
| 880 | - AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
| 881 | - [AC_LIBTOOL_GCJ], |
| 882 | - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
| 883 | - [AC_LIBTOOL_GCJ], |
| 884 | - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], |
| 885 | - [AC_LIBTOOL_GCJ], |
| 886 | - [ifdef([AC_PROG_GCJ], |
| 887 | - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
| 888 | - ifdef([A][M_PROG_GCJ], |
| 889 | - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
| 890 | - ifdef([LT_AC_PROG_GCJ], |
| 891 | - [define([LT_AC_PROG_GCJ], |
| 892 | - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) |
| 893 | -])])# AC_PROG_LIBTOOL |
| 894 | - |
| 895 | - |
| 896 | -# _AC_PROG_LIBTOOL |
| 897 | -# ---------------- |
| 898 | -AC_DEFUN([_AC_PROG_LIBTOOL], |
| 899 | -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl |
| 900 | -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl |
| 901 | -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl |
| 902 | -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl |
| 903 | +# |
| 904 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 905 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
| 906 | +# Written by Gordon Matzigkeit, 1996 |
| 907 | +# |
| 908 | +# This file is free software; the Free Software Foundation gives |
| 909 | +# unlimited permission to copy and/or distribute it, with or without |
| 910 | +# modifications, as long as this notice is preserved. |
| 911 | + |
| 912 | +m4_define([_LT_COPYING], [dnl |
| 913 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 914 | +# 2006, 2007, 2008 Free Software Foundation, Inc. |
| 915 | +# Written by Gordon Matzigkeit, 1996 |
| 916 | +# |
| 917 | +# This file is part of GNU Libtool. |
| 918 | +# |
| 919 | +# GNU Libtool is free software; you can redistribute it and/or |
| 920 | +# modify it under the terms of the GNU General Public License as |
| 921 | +# published by the Free Software Foundation; either version 2 of |
| 922 | +# the License, or (at your option) any later version. |
| 923 | +# |
| 924 | +# As a special exception to the GNU General Public License, |
| 925 | +# if you distribute this file as part of a program or library that |
| 926 | +# is built using GNU Libtool, you may include this file under the |
| 927 | +# same distribution terms that you use for the rest of that program. |
| 928 | +# |
| 929 | +# GNU Libtool is distributed in the hope that it will be useful, |
| 930 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 931 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 932 | +# GNU General Public License for more details. |
| 933 | +# |
| 934 | +# You should have received a copy of the GNU General Public License |
| 935 | +# along with GNU Libtool; see the file COPYING. If not, a copy |
| 936 | +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
| 937 | +# obtained by writing to the Free Software Foundation, Inc., |
| 938 | +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 939 | +]) |
| 940 | + |
| 941 | +# serial 56 LT_INIT |
| 942 | + |
| 943 | + |
| 944 | +# LT_PREREQ(VERSION) |
| 945 | +# ------------------ |
| 946 | +# Complain and exit if this libtool version is less that VERSION. |
| 947 | +m4_defun([LT_PREREQ], |
| 948 | +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
| 949 | + [m4_default([$3], |
| 950 | + [m4_fatal([Libtool version $1 or higher is required], |
| 951 | + 63)])], |
| 952 | + [$2])]) |
| 953 | + |
| 954 | + |
| 955 | +# _LT_CHECK_BUILDDIR |
| 956 | +# ------------------ |
| 957 | +# Complain if the absolute build directory name contains unusual characters |
| 958 | +m4_defun([_LT_CHECK_BUILDDIR], |
| 959 | +[case `pwd` in |
| 960 | + *\ * | *\ *) |
| 961 | + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; |
| 962 | +esac |
| 963 | +]) |
| 964 | + |
| 965 | + |
| 966 | +# LT_INIT([OPTIONS]) |
| 967 | +# ------------------ |
| 968 | +AC_DEFUN([LT_INIT], |
| 969 | +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
| 970 | +AC_BEFORE([$0], [LT_LANG])dnl |
| 971 | +AC_BEFORE([$0], [LT_OUTPUT])dnl |
| 972 | +AC_BEFORE([$0], [LTDL_INIT])dnl |
| 973 | +m4_require([_LT_CHECK_BUILDDIR])dnl |
| 974 | + |
| 975 | +dnl Autoconf doesn't catch unexpanded LT_ macros by default: |
| 976 | +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl |
| 977 | +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl |
| 978 | +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 |
| 979 | +dnl unless we require an AC_DEFUNed macro: |
| 980 | +AC_REQUIRE([LTOPTIONS_VERSION])dnl |
| 981 | +AC_REQUIRE([LTSUGAR_VERSION])dnl |
| 982 | +AC_REQUIRE([LTVERSION_VERSION])dnl |
| 983 | +AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
| 984 | +m4_require([_LT_PROG_LTMAIN])dnl |
| 985 | + |
| 986 | +dnl Parse OPTIONS |
| 987 | +_LT_SET_OPTIONS([$0], [$1]) |
| 988 | |
| 989 | # This can be used to rebuild libtool when needed |
| 990 | -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
| 991 | +LIBTOOL_DEPS="$ltmain" |
| 992 | |
| 993 | # Always use our own libtool. |
| 994 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 995 | AC_SUBST(LIBTOOL)dnl |
| 996 | |
| 997 | -# Prevent multiple expansion |
| 998 | -define([AC_PROG_LIBTOOL], []) |
| 999 | -])# _AC_PROG_LIBTOOL |
| 1000 | - |
| 1001 | - |
| 1002 | -# AC_LIBTOOL_SETUP |
| 1003 | -# ---------------- |
| 1004 | -AC_DEFUN([AC_LIBTOOL_SETUP], |
| 1005 | -[AC_PREREQ(2.50)dnl |
| 1006 | -AC_REQUIRE([AC_ENABLE_SHARED])dnl |
| 1007 | -AC_REQUIRE([AC_ENABLE_STATIC])dnl |
| 1008 | -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl |
| 1009 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 1010 | +_LT_SETUP |
| 1011 | + |
| 1012 | +# Only expand once: |
| 1013 | +m4_define([LT_INIT]) |
| 1014 | +])# LT_INIT |
| 1015 | + |
| 1016 | +# Old names: |
| 1017 | +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
| 1018 | +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
| 1019 | +dnl aclocal-1.4 backwards compatibility: |
| 1020 | +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
| 1021 | +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
| 1022 | + |
| 1023 | + |
| 1024 | +# _LT_CC_BASENAME(CC) |
| 1025 | +# ------------------- |
| 1026 | +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 1027 | +m4_defun([_LT_CC_BASENAME], |
| 1028 | +[for cc_temp in $1""; do |
| 1029 | + case $cc_temp in |
| 1030 | + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
| 1031 | + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
| 1032 | + \-*) ;; |
| 1033 | + *) break;; |
| 1034 | + esac |
| 1035 | +done |
| 1036 | +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 1037 | +]) |
| 1038 | + |
| 1039 | + |
| 1040 | +# _LT_FILEUTILS_DEFAULTS |
| 1041 | +# ---------------------- |
| 1042 | +# It is okay to use these file commands and assume they have been set |
| 1043 | +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. |
| 1044 | +m4_defun([_LT_FILEUTILS_DEFAULTS], |
| 1045 | +[: ${CP="cp -f"} |
| 1046 | +: ${MV="mv -f"} |
| 1047 | +: ${RM="rm -f"} |
| 1048 | +])# _LT_FILEUTILS_DEFAULTS |
| 1049 | + |
| 1050 | + |
| 1051 | +# _LT_SETUP |
| 1052 | +# --------- |
| 1053 | +m4_defun([_LT_SETUP], |
| 1054 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 1055 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 1056 | +_LT_DECL([], [host_alias], [0], [The host system])dnl |
| 1057 | +_LT_DECL([], [host], [0])dnl |
| 1058 | +_LT_DECL([], [host_os], [0])dnl |
| 1059 | +dnl |
| 1060 | +_LT_DECL([], [build_alias], [0], [The build system])dnl |
| 1061 | +_LT_DECL([], [build], [0])dnl |
| 1062 | +_LT_DECL([], [build_os], [0])dnl |
| 1063 | +dnl |
| 1064 | AC_REQUIRE([AC_PROG_CC])dnl |
| 1065 | -AC_REQUIRE([AC_PROG_LD])dnl |
| 1066 | -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl |
| 1067 | -AC_REQUIRE([AC_PROG_NM])dnl |
| 1068 | - |
| 1069 | +AC_REQUIRE([LT_PATH_LD])dnl |
| 1070 | +AC_REQUIRE([LT_PATH_NM])dnl |
| 1071 | +dnl |
| 1072 | AC_REQUIRE([AC_PROG_LN_S])dnl |
| 1073 | -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl |
| 1074 | -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
| 1075 | -AC_REQUIRE([AC_OBJEXT])dnl |
| 1076 | -AC_REQUIRE([AC_EXEEXT])dnl |
| 1077 | -dnl |
| 1078 | -AC_LIBTOOL_SYS_MAX_CMD_LEN |
| 1079 | -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE |
| 1080 | -AC_LIBTOOL_OBJDIR |
| 1081 | - |
| 1082 | -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl |
| 1083 | -_LT_AC_PROG_ECHO_BACKSLASH |
| 1084 | +test -z "$LN_S" && LN_S="ln -s" |
| 1085 | +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl |
| 1086 | +dnl |
| 1087 | +AC_REQUIRE([LT_CMD_MAX_LEN])dnl |
| 1088 | +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl |
| 1089 | +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl |
| 1090 | +dnl |
| 1091 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 1092 | +m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
| 1093 | +m4_require([_LT_CMD_RELOAD])dnl |
| 1094 | +m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
| 1095 | +m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
| 1096 | +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
| 1097 | + |
| 1098 | +_LT_CONFIG_LIBTOOL_INIT([ |
| 1099 | +# See if we are running on zsh, and set the options which allow our |
| 1100 | +# commands through without removal of \ escapes INIT. |
| 1101 | +if test -n "\${ZSH_VERSION+set}" ; then |
| 1102 | + setopt NO_GLOB_SUBST |
| 1103 | +fi |
| 1104 | +]) |
| 1105 | +if test -n "${ZSH_VERSION+set}" ; then |
| 1106 | + setopt NO_GLOB_SUBST |
| 1107 | +fi |
| 1108 | + |
| 1109 | +_LT_CHECK_OBJDIR |
| 1110 | + |
| 1111 | +m4_require([_LT_TAG_COMPILER])dnl |
| 1112 | +_LT_PROG_ECHO_BACKSLASH |
| 1113 | |
| 1114 | case $host_os in |
| 1115 | aix3*) |
| 1116 | @@ -130,116 +216,653 @@ |
| 1117 | |
| 1118 | # Sed substitution that helps us do robust quoting. It backslashifies |
| 1119 | # metacharacters that are still active within double-quoted strings. |
| 1120 | -Xsed='sed -e 1s/^X//' |
| 1121 | -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] |
| 1122 | +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
| 1123 | |
| 1124 | # Same as above, but do not quote variable references. |
| 1125 | -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] |
| 1126 | +double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
| 1127 | |
| 1128 | # Sed substitution to delay expansion of an escaped shell variable in a |
| 1129 | # double_quote_subst'ed string. |
| 1130 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 1131 | |
| 1132 | +# Sed substitution to delay expansion of an escaped single quote. |
| 1133 | +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 1134 | + |
| 1135 | # Sed substitution to avoid accidental globbing in evaled expressions |
| 1136 | no_glob_subst='s/\*/\\\*/g' |
| 1137 | |
| 1138 | -# Constants: |
| 1139 | -rm="rm -f" |
| 1140 | - |
| 1141 | # Global variables: |
| 1142 | -default_ofile=libtool |
| 1143 | +ofile=libtool |
| 1144 | can_build_shared=yes |
| 1145 | |
| 1146 | # All known linkers require a `.a' archive for static linking (except MSVC, |
| 1147 | # which needs '.lib'). |
| 1148 | libext=a |
| 1149 | -ltmain="$ac_aux_dir/ltmain.sh" |
| 1150 | -ofile="$default_ofile" |
| 1151 | + |
| 1152 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
| 1153 | |
| 1154 | -AC_CHECK_TOOL(AR, ar, false) |
| 1155 | -AC_CHECK_TOOL(RANLIB, ranlib, :) |
| 1156 | -AC_CHECK_TOOL(STRIP, strip, :) |
| 1157 | - |
| 1158 | old_CC="$CC" |
| 1159 | old_CFLAGS="$CFLAGS" |
| 1160 | |
| 1161 | # Set sane defaults for various variables |
| 1162 | -test -z "$AR" && AR=ar |
| 1163 | -test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 1164 | -test -z "$AS" && AS=as |
| 1165 | test -z "$CC" && CC=cc |
| 1166 | test -z "$LTCC" && LTCC=$CC |
| 1167 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 1168 | -test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 1169 | test -z "$LD" && LD=ld |
| 1170 | -test -z "$LN_S" && LN_S="ln -s" |
| 1171 | -test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 1172 | -test -z "$NM" && NM=nm |
| 1173 | -test -z "$SED" && SED=sed |
| 1174 | -test -z "$OBJDUMP" && OBJDUMP=objdump |
| 1175 | -test -z "$RANLIB" && RANLIB=: |
| 1176 | -test -z "$STRIP" && STRIP=: |
| 1177 | test -z "$ac_objext" && ac_objext=o |
| 1178 | |
| 1179 | -# Determine commands to create old-style static archives. |
| 1180 | -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 1181 | -old_postinstall_cmds='chmod 644 $oldlib' |
| 1182 | -old_postuninstall_cmds= |
| 1183 | - |
| 1184 | -if test -n "$RANLIB"; then |
| 1185 | - case $host_os in |
| 1186 | - openbsd*) |
| 1187 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 1188 | - ;; |
| 1189 | - *) |
| 1190 | - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 1191 | - ;; |
| 1192 | - esac |
| 1193 | - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 1194 | -fi |
| 1195 | - |
| 1196 | _LT_CC_BASENAME([$compiler]) |
| 1197 | |
| 1198 | # Only perform the check for file, if the check method requires it |
| 1199 | +test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 1200 | case $deplibs_check_method in |
| 1201 | file_magic*) |
| 1202 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 1203 | - AC_PATH_MAGIC |
| 1204 | + _LT_PATH_MAGIC |
| 1205 | fi |
| 1206 | ;; |
| 1207 | esac |
| 1208 | |
| 1209 | -_LT_REQUIRED_DARWIN_CHECKS |
| 1210 | - |
| 1211 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) |
| 1212 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
| 1213 | -enable_win32_dll=yes, enable_win32_dll=no) |
| 1214 | - |
| 1215 | -AC_ARG_ENABLE([libtool-lock], |
| 1216 | - [AC_HELP_STRING([--disable-libtool-lock], |
| 1217 | - [avoid locking (might break parallel builds)])]) |
| 1218 | -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
| 1219 | - |
| 1220 | -AC_ARG_WITH([pic], |
| 1221 | - [AC_HELP_STRING([--with-pic], |
| 1222 | - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], |
| 1223 | - [pic_mode="$withval"], |
| 1224 | - [pic_mode=default]) |
| 1225 | -test -z "$pic_mode" && pic_mode=default |
| 1226 | - |
| 1227 | # Use C for the default configuration in the libtool script |
| 1228 | -tagname= |
| 1229 | -AC_LIBTOOL_LANG_C_CONFIG |
| 1230 | -_LT_AC_TAGCONFIG |
| 1231 | -])# AC_LIBTOOL_SETUP |
| 1232 | - |
| 1233 | - |
| 1234 | -# _LT_AC_SYS_COMPILER |
| 1235 | +LT_SUPPORTED_TAG([CC]) |
| 1236 | +_LT_LANG_C_CONFIG |
| 1237 | +_LT_LANG_DEFAULT_CONFIG |
| 1238 | +_LT_CONFIG_COMMANDS |
| 1239 | +])# _LT_SETUP |
| 1240 | + |
| 1241 | + |
| 1242 | +# _LT_PROG_LTMAIN |
| 1243 | +# --------------- |
| 1244 | +# Note that this code is called both from `configure', and `config.status' |
| 1245 | +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, |
| 1246 | +# `config.status' has no value for ac_aux_dir unless we are using Automake, |
| 1247 | +# so we pass a copy along to make sure it has a sensible value anyway. |
| 1248 | +m4_defun([_LT_PROG_LTMAIN], |
| 1249 | +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl |
| 1250 | +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) |
| 1251 | +ltmain="$ac_aux_dir/ltmain.sh" |
| 1252 | +])# _LT_PROG_LTMAIN |
| 1253 | + |
| 1254 | + |
| 1255 | + |
| 1256 | +# So that we can recreate a full libtool script including additional |
| 1257 | +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS |
| 1258 | +# in macros and then make a single call at the end using the `libtool' |
| 1259 | +# label. |
| 1260 | + |
| 1261 | + |
| 1262 | +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) |
| 1263 | +# ---------------------------------------- |
| 1264 | +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
| 1265 | +m4_define([_LT_CONFIG_LIBTOOL_INIT], |
| 1266 | +[m4_ifval([$1], |
| 1267 | + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], |
| 1268 | + [$1 |
| 1269 | +])])]) |
| 1270 | + |
| 1271 | +# Initialize. |
| 1272 | +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) |
| 1273 | + |
| 1274 | + |
| 1275 | +# _LT_CONFIG_LIBTOOL([COMMANDS]) |
| 1276 | +# ------------------------------ |
| 1277 | +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
| 1278 | +m4_define([_LT_CONFIG_LIBTOOL], |
| 1279 | +[m4_ifval([$1], |
| 1280 | + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], |
| 1281 | + [$1 |
| 1282 | +])])]) |
| 1283 | + |
| 1284 | +# Initialize. |
| 1285 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) |
| 1286 | + |
| 1287 | + |
| 1288 | +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) |
| 1289 | +# ----------------------------------------------------- |
| 1290 | +m4_defun([_LT_CONFIG_SAVE_COMMANDS], |
| 1291 | +[_LT_CONFIG_LIBTOOL([$1]) |
| 1292 | +_LT_CONFIG_LIBTOOL_INIT([$2]) |
| 1293 | +]) |
| 1294 | + |
| 1295 | + |
| 1296 | +# _LT_FORMAT_COMMENT([COMMENT]) |
| 1297 | +# ----------------------------- |
| 1298 | +# Add leading comment marks to the start of each line, and a trailing |
| 1299 | +# full-stop to the whole comment if one is not present already. |
| 1300 | +m4_define([_LT_FORMAT_COMMENT], |
| 1301 | +[m4_ifval([$1], [ |
| 1302 | +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], |
| 1303 | + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) |
| 1304 | +)]) |
| 1305 | + |
| 1306 | + |
| 1307 | + |
| 1308 | + |
| 1309 | + |
| 1310 | +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) |
| 1311 | +# ------------------------------------------------------------------- |
| 1312 | +# CONFIGNAME is the name given to the value in the libtool script. |
| 1313 | +# VARNAME is the (base) name used in the configure script. |
| 1314 | +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on |
| 1315 | +# VARNAME. Any other value will be used directly. |
| 1316 | +m4_define([_LT_DECL], |
| 1317 | +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], |
| 1318 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], |
| 1319 | + [m4_ifval([$1], [$1], [$2])]) |
| 1320 | + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) |
| 1321 | + m4_ifval([$4], |
| 1322 | + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) |
| 1323 | + lt_dict_add_subkey([lt_decl_dict], [$2], |
| 1324 | + [tagged?], [m4_ifval([$5], [yes], [no])])]) |
| 1325 | +]) |
| 1326 | + |
| 1327 | + |
| 1328 | +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) |
| 1329 | +# -------------------------------------------------------- |
| 1330 | +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) |
| 1331 | + |
| 1332 | + |
| 1333 | +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) |
| 1334 | +# ------------------------------------------------ |
| 1335 | +m4_define([lt_decl_tag_varnames], |
| 1336 | +[_lt_decl_filter([tagged?], [yes], $@)]) |
| 1337 | + |
| 1338 | + |
| 1339 | +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) |
| 1340 | +# --------------------------------------------------------- |
| 1341 | +m4_define([_lt_decl_filter], |
| 1342 | +[m4_case([$#], |
| 1343 | + [0], [m4_fatal([$0: too few arguments: $#])], |
| 1344 | + [1], [m4_fatal([$0: too few arguments: $#: $1])], |
| 1345 | + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], |
| 1346 | + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], |
| 1347 | + [lt_dict_filter([lt_decl_dict], $@)])[]dnl |
| 1348 | +]) |
| 1349 | + |
| 1350 | + |
| 1351 | +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) |
| 1352 | +# -------------------------------------------------- |
| 1353 | +m4_define([lt_decl_quote_varnames], |
| 1354 | +[_lt_decl_filter([value], [1], $@)]) |
| 1355 | + |
| 1356 | + |
| 1357 | +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) |
| 1358 | +# --------------------------------------------------- |
| 1359 | +m4_define([lt_decl_dquote_varnames], |
| 1360 | +[_lt_decl_filter([value], [2], $@)]) |
| 1361 | + |
| 1362 | + |
| 1363 | +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) |
| 1364 | +# --------------------------------------------------- |
| 1365 | +m4_define([lt_decl_varnames_tagged], |
| 1366 | +[m4_assert([$# <= 2])dnl |
| 1367 | +_$0(m4_quote(m4_default([$1], [[, ]])), |
| 1368 | + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), |
| 1369 | + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) |
| 1370 | +m4_define([_lt_decl_varnames_tagged], |
| 1371 | +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) |
| 1372 | + |
| 1373 | + |
| 1374 | +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) |
| 1375 | +# ------------------------------------------------ |
| 1376 | +m4_define([lt_decl_all_varnames], |
| 1377 | +[_$0(m4_quote(m4_default([$1], [[, ]])), |
| 1378 | + m4_if([$2], [], |
| 1379 | + m4_quote(lt_decl_varnames), |
| 1380 | + m4_quote(m4_shift($@))))[]dnl |
| 1381 | +]) |
| 1382 | +m4_define([_lt_decl_all_varnames], |
| 1383 | +[lt_join($@, lt_decl_varnames_tagged([$1], |
| 1384 | + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl |
| 1385 | +]) |
| 1386 | + |
| 1387 | + |
| 1388 | +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) |
| 1389 | +# ------------------------------------ |
| 1390 | +# Quote a variable value, and forward it to `config.status' so that its |
| 1391 | +# declaration there will have the same value as in `configure'. VARNAME |
| 1392 | +# must have a single quote delimited value for this to work. |
| 1393 | +m4_define([_LT_CONFIG_STATUS_DECLARE], |
| 1394 | +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
| 1395 | + |
| 1396 | + |
| 1397 | +# _LT_CONFIG_STATUS_DECLARATIONS |
| 1398 | +# ------------------------------ |
| 1399 | +# We delimit libtool config variables with single quotes, so when |
| 1400 | +# we write them to config.status, we have to be sure to quote all |
| 1401 | +# embedded single quotes properly. In configure, this macro expands |
| 1402 | +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
| 1403 | +# |
| 1404 | +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
| 1405 | +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
| 1406 | +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
| 1407 | + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
| 1408 | + |
| 1409 | + |
| 1410 | +# _LT_LIBTOOL_TAGS |
| 1411 | +# ---------------- |
| 1412 | +# Output comment and list of tags supported by the script |
| 1413 | +m4_defun([_LT_LIBTOOL_TAGS], |
| 1414 | +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl |
| 1415 | +available_tags="_LT_TAGS"dnl |
| 1416 | +]) |
| 1417 | + |
| 1418 | + |
| 1419 | +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) |
| 1420 | +# ----------------------------------- |
| 1421 | +# Extract the dictionary values for VARNAME (optionally with TAG) and |
| 1422 | +# expand to a commented shell variable setting: |
| 1423 | +# |
| 1424 | +# # Some comment about what VAR is for. |
| 1425 | +# visible_name=$lt_internal_name |
| 1426 | +m4_define([_LT_LIBTOOL_DECLARE], |
| 1427 | +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], |
| 1428 | + [description])))[]dnl |
| 1429 | +m4_pushdef([_libtool_name], |
| 1430 | + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl |
| 1431 | +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), |
| 1432 | + [0], [_libtool_name=[$]$1], |
| 1433 | + [1], [_libtool_name=$lt_[]$1], |
| 1434 | + [2], [_libtool_name=$lt_[]$1], |
| 1435 | + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl |
| 1436 | +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl |
| 1437 | +]) |
| 1438 | + |
| 1439 | + |
| 1440 | +# _LT_LIBTOOL_CONFIG_VARS |
| 1441 | +# ----------------------- |
| 1442 | +# Produce commented declarations of non-tagged libtool config variables |
| 1443 | +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' |
| 1444 | +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG |
| 1445 | +# section) are produced by _LT_LIBTOOL_TAG_VARS. |
| 1446 | +m4_defun([_LT_LIBTOOL_CONFIG_VARS], |
| 1447 | +[m4_foreach([_lt_var], |
| 1448 | + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), |
| 1449 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) |
| 1450 | + |
| 1451 | + |
| 1452 | +# _LT_LIBTOOL_TAG_VARS(TAG) |
| 1453 | +# ------------------------- |
| 1454 | +m4_define([_LT_LIBTOOL_TAG_VARS], |
| 1455 | +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), |
| 1456 | + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) |
| 1457 | + |
| 1458 | + |
| 1459 | +# _LT_TAGVAR(VARNAME, [TAGNAME]) |
| 1460 | +# ------------------------------ |
| 1461 | +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) |
| 1462 | + |
| 1463 | + |
| 1464 | +# _LT_CONFIG_COMMANDS |
| 1465 | # ------------------- |
| 1466 | -AC_DEFUN([_LT_AC_SYS_COMPILER], |
| 1467 | +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
| 1468 | +# variables for single and double quote escaping we saved from calls |
| 1469 | +# to _LT_DECL, we can put quote escaped variables declarations |
| 1470 | +# into `config.status', and then the shell code to quote escape them in |
| 1471 | +# for loops in `config.status'. Finally, any additional code accumulated |
| 1472 | +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. |
| 1473 | +m4_defun([_LT_CONFIG_COMMANDS], |
| 1474 | +[AC_PROVIDE_IFELSE([LT_OUTPUT], |
| 1475 | + dnl If the libtool generation code has been placed in $CONFIG_LT, |
| 1476 | + dnl instead of duplicating it all over again into config.status, |
| 1477 | + dnl then we will have config.status run $CONFIG_LT later, so it |
| 1478 | + dnl needs to know what name is stored there: |
| 1479 | + [AC_CONFIG_COMMANDS([libtool], |
| 1480 | + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], |
| 1481 | + dnl If the libtool generation code is destined for config.status, |
| 1482 | + dnl expand the accumulated commands and init code now: |
| 1483 | + [AC_CONFIG_COMMANDS([libtool], |
| 1484 | + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) |
| 1485 | +])#_LT_CONFIG_COMMANDS |
| 1486 | + |
| 1487 | + |
| 1488 | +# Initialize. |
| 1489 | +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], |
| 1490 | +[ |
| 1491 | + |
| 1492 | +# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 1493 | +# if CDPATH is set. |
| 1494 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 1495 | + |
| 1496 | +sed_quote_subst='$sed_quote_subst' |
| 1497 | +double_quote_subst='$double_quote_subst' |
| 1498 | +delay_variable_subst='$delay_variable_subst' |
| 1499 | +_LT_CONFIG_STATUS_DECLARATIONS |
| 1500 | +LTCC='$LTCC' |
| 1501 | +LTCFLAGS='$LTCFLAGS' |
| 1502 | +compiler='$compiler_DEFAULT' |
| 1503 | + |
| 1504 | +# Quote evaled strings. |
| 1505 | +for var in lt_decl_all_varnames([[ \ |
| 1506 | +]], lt_decl_quote_varnames); do |
| 1507 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 1508 | + *[[\\\\\\\`\\"\\\$]]*) |
| 1509 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 1510 | + ;; |
| 1511 | + *) |
| 1512 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 1513 | + ;; |
| 1514 | + esac |
| 1515 | +done |
| 1516 | + |
| 1517 | +# Double-quote double-evaled strings. |
| 1518 | +for var in lt_decl_all_varnames([[ \ |
| 1519 | +]], lt_decl_dquote_varnames); do |
| 1520 | + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 1521 | + *[[\\\\\\\`\\"\\\$]]*) |
| 1522 | + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 1523 | + ;; |
| 1524 | + *) |
| 1525 | + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 1526 | + ;; |
| 1527 | + esac |
| 1528 | +done |
| 1529 | + |
| 1530 | +# Fix-up fallback echo if it was mangled by the above quoting rules. |
| 1531 | +case \$lt_ECHO in |
| 1532 | +*'\\\[$]0 --fallback-echo"')dnl " |
| 1533 | + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
| 1534 | + ;; |
| 1535 | +esac |
| 1536 | + |
| 1537 | +_LT_OUTPUT_LIBTOOL_INIT |
| 1538 | +]) |
| 1539 | + |
| 1540 | + |
| 1541 | +# LT_OUTPUT |
| 1542 | +# --------- |
| 1543 | +# This macro allows early generation of the libtool script (before |
| 1544 | +# AC_OUTPUT is called), incase it is used in configure for compilation |
| 1545 | +# tests. |
| 1546 | +AC_DEFUN([LT_OUTPUT], |
| 1547 | +[: ${CONFIG_LT=./config.lt} |
| 1548 | +AC_MSG_NOTICE([creating $CONFIG_LT]) |
| 1549 | +cat >"$CONFIG_LT" <<_LTEOF |
| 1550 | +#! $SHELL |
| 1551 | +# Generated by $as_me. |
| 1552 | +# Run this file to recreate a libtool stub with the current configuration. |
| 1553 | + |
| 1554 | +lt_cl_silent=false |
| 1555 | +SHELL=\${CONFIG_SHELL-$SHELL} |
| 1556 | +_LTEOF |
| 1557 | + |
| 1558 | +cat >>"$CONFIG_LT" <<\_LTEOF |
| 1559 | +AS_SHELL_SANITIZE |
| 1560 | +_AS_PREPARE |
| 1561 | + |
| 1562 | +exec AS_MESSAGE_FD>&1 |
| 1563 | +exec AS_MESSAGE_LOG_FD>>config.log |
| 1564 | +{ |
| 1565 | + echo |
| 1566 | + AS_BOX([Running $as_me.]) |
| 1567 | +} >&AS_MESSAGE_LOG_FD |
| 1568 | + |
| 1569 | +lt_cl_help="\ |
| 1570 | +\`$as_me' creates a local libtool stub from the current configuration, |
| 1571 | +for use in further configure time tests before the real libtool is |
| 1572 | +generated. |
| 1573 | + |
| 1574 | +Usage: $[0] [[OPTIONS]] |
| 1575 | + |
| 1576 | + -h, --help print this help, then exit |
| 1577 | + -V, --version print version number, then exit |
| 1578 | + -q, --quiet do not print progress messages |
| 1579 | + -d, --debug don't remove temporary files |
| 1580 | + |
| 1581 | +Report bugs to <bug-libtool@gnu.org>." |
| 1582 | + |
| 1583 | +lt_cl_version="\ |
| 1584 | +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl |
| 1585 | +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
| 1586 | +configured by $[0], generated by m4_PACKAGE_STRING. |
| 1587 | + |
| 1588 | +Copyright (C) 2008 Free Software Foundation, Inc. |
| 1589 | +This config.lt script is free software; the Free Software Foundation |
| 1590 | +gives unlimited permision to copy, distribute and modify it." |
| 1591 | + |
| 1592 | +while test $[#] != 0 |
| 1593 | +do |
| 1594 | + case $[1] in |
| 1595 | + --version | --v* | -V ) |
| 1596 | + echo "$lt_cl_version"; exit 0 ;; |
| 1597 | + --help | --h* | -h ) |
| 1598 | + echo "$lt_cl_help"; exit 0 ;; |
| 1599 | + --debug | --d* | -d ) |
| 1600 | + debug=: ;; |
| 1601 | + --quiet | --q* | --silent | --s* | -q ) |
| 1602 | + lt_cl_silent=: ;; |
| 1603 | + |
| 1604 | + -*) AC_MSG_ERROR([unrecognized option: $[1] |
| 1605 | +Try \`$[0] --help' for more information.]) ;; |
| 1606 | + |
| 1607 | + *) AC_MSG_ERROR([unrecognized argument: $[1] |
| 1608 | +Try \`$[0] --help' for more information.]) ;; |
| 1609 | + esac |
| 1610 | + shift |
| 1611 | +done |
| 1612 | + |
| 1613 | +if $lt_cl_silent; then |
| 1614 | + exec AS_MESSAGE_FD>/dev/null |
| 1615 | +fi |
| 1616 | +_LTEOF |
| 1617 | + |
| 1618 | +cat >>"$CONFIG_LT" <<_LTEOF |
| 1619 | +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT |
| 1620 | +_LTEOF |
| 1621 | + |
| 1622 | +cat >>"$CONFIG_LT" <<\_LTEOF |
| 1623 | +AC_MSG_NOTICE([creating $ofile]) |
| 1624 | +_LT_OUTPUT_LIBTOOL_COMMANDS |
| 1625 | +AS_EXIT(0) |
| 1626 | +_LTEOF |
| 1627 | +chmod +x "$CONFIG_LT" |
| 1628 | + |
| 1629 | +# configure is writing to config.log, but config.lt does its own redirection, |
| 1630 | +# appending to config.log, which fails on DOS, as config.log is still kept |
| 1631 | +# open by configure. Here we exec the FD to /dev/null, effectively closing |
| 1632 | +# config.log, so it can be properly (re)opened and appended to by config.lt. |
| 1633 | +if test "$no_create" != yes; then |
| 1634 | + lt_cl_success=: |
| 1635 | + test "$silent" = yes && |
| 1636 | + lt_config_lt_args="$lt_config_lt_args --quiet" |
| 1637 | + exec AS_MESSAGE_LOG_FD>/dev/null |
| 1638 | + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
| 1639 | + exec AS_MESSAGE_LOG_FD>>config.log |
| 1640 | + $lt_cl_success || AS_EXIT(1) |
| 1641 | +fi |
| 1642 | +])# LT_OUTPUT |
| 1643 | + |
| 1644 | + |
| 1645 | +# _LT_CONFIG(TAG) |
| 1646 | +# --------------- |
| 1647 | +# If TAG is the built-in tag, create an initial libtool script with a |
| 1648 | +# default configuration from the untagged config vars. Otherwise add code |
| 1649 | +# to config.status for appending the configuration named by TAG from the |
| 1650 | +# matching tagged config vars. |
| 1651 | +m4_defun([_LT_CONFIG], |
| 1652 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 1653 | +_LT_CONFIG_SAVE_COMMANDS([ |
| 1654 | + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl |
| 1655 | + m4_if(_LT_TAG, [C], [ |
| 1656 | + # See if we are running on zsh, and set the options which allow our |
| 1657 | + # commands through without removal of \ escapes. |
| 1658 | + if test -n "${ZSH_VERSION+set}" ; then |
| 1659 | + setopt NO_GLOB_SUBST |
| 1660 | + fi |
| 1661 | + |
| 1662 | + cfgfile="${ofile}T" |
| 1663 | + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 1664 | + $RM "$cfgfile" |
| 1665 | + |
| 1666 | + cat <<_LT_EOF >> "$cfgfile" |
| 1667 | +#! $SHELL |
| 1668 | + |
| 1669 | +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
| 1670 | +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
| 1671 | +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 1672 | +# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 1673 | +# |
| 1674 | +_LT_COPYING |
| 1675 | +_LT_LIBTOOL_TAGS |
| 1676 | + |
| 1677 | +# ### BEGIN LIBTOOL CONFIG |
| 1678 | +_LT_LIBTOOL_CONFIG_VARS |
| 1679 | +_LT_LIBTOOL_TAG_VARS |
| 1680 | +# ### END LIBTOOL CONFIG |
| 1681 | + |
| 1682 | +_LT_EOF |
| 1683 | + |
| 1684 | + case $host_os in |
| 1685 | + aix3*) |
| 1686 | + cat <<\_LT_EOF >> "$cfgfile" |
| 1687 | +# AIX sometimes has problems with the GCC collect2 program. For some |
| 1688 | +# reason, if we set the COLLECT_NAMES environment variable, the problems |
| 1689 | +# vanish in a puff of smoke. |
| 1690 | +if test "X${COLLECT_NAMES+set}" != Xset; then |
| 1691 | + COLLECT_NAMES= |
| 1692 | + export COLLECT_NAMES |
| 1693 | +fi |
| 1694 | +_LT_EOF |
| 1695 | + ;; |
| 1696 | + esac |
| 1697 | + |
| 1698 | + _LT_PROG_LTMAIN |
| 1699 | + |
| 1700 | + # We use sed instead of cat because bash on DJGPP gets confused if |
| 1701 | + # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 1702 | + # text mode, it properly converts lines to CR/LF. This bash problem |
| 1703 | + # is reportedly fixed, but why not run on old versions too? |
| 1704 | + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
| 1705 | + || (rm -f "$cfgfile"; exit 1) |
| 1706 | + |
| 1707 | + _LT_PROG_XSI_SHELLFNS |
| 1708 | + |
| 1709 | + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
| 1710 | + || (rm -f "$cfgfile"; exit 1) |
| 1711 | + |
| 1712 | + mv -f "$cfgfile" "$ofile" || |
| 1713 | + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 1714 | + chmod +x "$ofile" |
| 1715 | +], |
| 1716 | +[cat <<_LT_EOF >> "$ofile" |
| 1717 | + |
| 1718 | +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded |
| 1719 | +dnl in a comment (ie after a #). |
| 1720 | +# ### BEGIN LIBTOOL TAG CONFIG: $1 |
| 1721 | +_LT_LIBTOOL_TAG_VARS(_LT_TAG) |
| 1722 | +# ### END LIBTOOL TAG CONFIG: $1 |
| 1723 | +_LT_EOF |
| 1724 | +])dnl /m4_if |
| 1725 | +], |
| 1726 | +[m4_if([$1], [], [ |
| 1727 | + PACKAGE='$PACKAGE' |
| 1728 | + VERSION='$VERSION' |
| 1729 | + TIMESTAMP='$TIMESTAMP' |
| 1730 | + RM='$RM' |
| 1731 | + ofile='$ofile'], []) |
| 1732 | +])dnl /_LT_CONFIG_SAVE_COMMANDS |
| 1733 | +])# _LT_CONFIG |
| 1734 | + |
| 1735 | + |
| 1736 | +# LT_SUPPORTED_TAG(TAG) |
| 1737 | +# --------------------- |
| 1738 | +# Trace this macro to discover what tags are supported by the libtool |
| 1739 | +# --tag option, using: |
| 1740 | +# autoconf --trace 'LT_SUPPORTED_TAG:$1' |
| 1741 | +AC_DEFUN([LT_SUPPORTED_TAG], []) |
| 1742 | + |
| 1743 | + |
| 1744 | +# C support is built-in for now |
| 1745 | +m4_define([_LT_LANG_C_enabled], []) |
| 1746 | +m4_define([_LT_TAGS], []) |
| 1747 | + |
| 1748 | + |
| 1749 | +# LT_LANG(LANG) |
| 1750 | +# ------------- |
| 1751 | +# Enable libtool support for the given language if not already enabled. |
| 1752 | +AC_DEFUN([LT_LANG], |
| 1753 | +[AC_BEFORE([$0], [LT_OUTPUT])dnl |
| 1754 | +m4_case([$1], |
| 1755 | + [C], [_LT_LANG(C)], |
| 1756 | + [C++], [_LT_LANG(CXX)], |
| 1757 | + [Java], [_LT_LANG(GCJ)], |
| 1758 | + [Fortran 77], [_LT_LANG(F77)], |
| 1759 | + [Fortran], [_LT_LANG(FC)], |
| 1760 | + [Windows Resource], [_LT_LANG(RC)], |
| 1761 | + [m4_ifdef([_LT_LANG_]$1[_CONFIG], |
| 1762 | + [_LT_LANG($1)], |
| 1763 | + [m4_fatal([$0: unsupported language: "$1"])])])dnl |
| 1764 | +])# LT_LANG |
| 1765 | + |
| 1766 | + |
| 1767 | +# _LT_LANG(LANGNAME) |
| 1768 | +# ------------------ |
| 1769 | +m4_defun([_LT_LANG], |
| 1770 | +[m4_ifdef([_LT_LANG_]$1[_enabled], [], |
| 1771 | + [LT_SUPPORTED_TAG([$1])dnl |
| 1772 | + m4_append([_LT_TAGS], [$1 ])dnl |
| 1773 | + m4_define([_LT_LANG_]$1[_enabled], [])dnl |
| 1774 | + _LT_LANG_$1_CONFIG($1)])dnl |
| 1775 | +])# _LT_LANG |
| 1776 | + |
| 1777 | + |
| 1778 | +# _LT_LANG_DEFAULT_CONFIG |
| 1779 | +# ----------------------- |
| 1780 | +m4_defun([_LT_LANG_DEFAULT_CONFIG], |
| 1781 | +[AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 1782 | + [LT_LANG(CXX)], |
| 1783 | + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) |
| 1784 | + |
| 1785 | +AC_PROVIDE_IFELSE([AC_PROG_F77], |
| 1786 | + [LT_LANG(F77)], |
| 1787 | + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) |
| 1788 | + |
| 1789 | +AC_PROVIDE_IFELSE([AC_PROG_FC], |
| 1790 | + [LT_LANG(FC)], |
| 1791 | + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) |
| 1792 | + |
| 1793 | +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal |
| 1794 | +dnl pulling things in needlessly. |
| 1795 | +AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
| 1796 | + [LT_LANG(GCJ)], |
| 1797 | + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], |
| 1798 | + [LT_LANG(GCJ)], |
| 1799 | + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], |
| 1800 | + [LT_LANG(GCJ)], |
| 1801 | + [m4_ifdef([AC_PROG_GCJ], |
| 1802 | + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) |
| 1803 | + m4_ifdef([A][M_PROG_GCJ], |
| 1804 | + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) |
| 1805 | + m4_ifdef([LT_PROG_GCJ], |
| 1806 | + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
| 1807 | + |
| 1808 | +AC_PROVIDE_IFELSE([LT_PROG_RC], |
| 1809 | + [LT_LANG(RC)], |
| 1810 | + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) |
| 1811 | +])# _LT_LANG_DEFAULT_CONFIG |
| 1812 | + |
| 1813 | +# Obsolete macros: |
| 1814 | +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) |
| 1815 | +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
| 1816 | +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
| 1817 | +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
| 1818 | +dnl aclocal-1.4 backwards compatibility: |
| 1819 | +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
| 1820 | +dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
| 1821 | +dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
| 1822 | +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
| 1823 | + |
| 1824 | + |
| 1825 | +# _LT_TAG_COMPILER |
| 1826 | +# ---------------- |
| 1827 | +m4_defun([_LT_TAG_COMPILER], |
| 1828 | [AC_REQUIRE([AC_PROG_CC])dnl |
| 1829 | |
| 1830 | +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl |
| 1831 | +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl |
| 1832 | +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl |
| 1833 | +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl |
| 1834 | + |
| 1835 | # If no C compiler was specified, use CC. |
| 1836 | LTCC=${LTCC-"$CC"} |
| 1837 | |
| 1838 | @@ -248,36 +871,20 @@ |
| 1839 | |
| 1840 | # Allow CC to be a program name with arguments. |
| 1841 | compiler=$CC |
| 1842 | -])# _LT_AC_SYS_COMPILER |
| 1843 | - |
| 1844 | - |
| 1845 | -# _LT_CC_BASENAME(CC) |
| 1846 | -# ------------------- |
| 1847 | -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 1848 | -AC_DEFUN([_LT_CC_BASENAME], |
| 1849 | -[for cc_temp in $1""; do |
| 1850 | - case $cc_temp in |
| 1851 | - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
| 1852 | - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
| 1853 | - \-*) ;; |
| 1854 | - *) break;; |
| 1855 | - esac |
| 1856 | -done |
| 1857 | -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 1858 | -]) |
| 1859 | +])# _LT_TAG_COMPILER |
| 1860 | |
| 1861 | |
| 1862 | # _LT_COMPILER_BOILERPLATE |
| 1863 | # ------------------------ |
| 1864 | # Check for compiler boilerplate output or warnings with |
| 1865 | # the simple compiler test code. |
| 1866 | -AC_DEFUN([_LT_COMPILER_BOILERPLATE], |
| 1867 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 1868 | +m4_defun([_LT_COMPILER_BOILERPLATE], |
| 1869 | +[m4_require([_LT_DECL_SED])dnl |
| 1870 | ac_outfile=conftest.$ac_objext |
| 1871 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 1872 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 1873 | _lt_compiler_boilerplate=`cat conftest.err` |
| 1874 | -$rm conftest* |
| 1875 | +$RM conftest* |
| 1876 | ])# _LT_COMPILER_BOILERPLATE |
| 1877 | |
| 1878 | |
| 1879 | @@ -285,39 +892,57 @@ |
| 1880 | # ---------------------- |
| 1881 | # Check for linker boilerplate output or warnings with |
| 1882 | # the simple link test code. |
| 1883 | -AC_DEFUN([_LT_LINKER_BOILERPLATE], |
| 1884 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 1885 | +m4_defun([_LT_LINKER_BOILERPLATE], |
| 1886 | +[m4_require([_LT_DECL_SED])dnl |
| 1887 | ac_outfile=conftest.$ac_objext |
| 1888 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 1889 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 1890 | _lt_linker_boilerplate=`cat conftest.err` |
| 1891 | -$rm -r conftest* |
| 1892 | +$RM -r conftest* |
| 1893 | ])# _LT_LINKER_BOILERPLATE |
| 1894 | |
| 1895 | # _LT_REQUIRED_DARWIN_CHECKS |
| 1896 | -# -------------------------- |
| 1897 | -# Check for some things on darwin |
| 1898 | -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ |
| 1899 | +# ------------------------- |
| 1900 | +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ |
| 1901 | case $host_os in |
| 1902 | rhapsody* | darwin*) |
| 1903 | AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
| 1904 | AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
| 1905 | + AC_CHECK_TOOL([LIPO], [lipo], [:]) |
| 1906 | + AC_CHECK_TOOL([OTOOL], [otool], [:]) |
| 1907 | + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) |
| 1908 | + _LT_DECL([], [DSYMUTIL], [1], |
| 1909 | + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) |
| 1910 | + _LT_DECL([], [NMEDIT], [1], |
| 1911 | + [Tool to change global to local symbols on Mac OS X]) |
| 1912 | + _LT_DECL([], [LIPO], [1], |
| 1913 | + [Tool to manipulate fat objects and archives on Mac OS X]) |
| 1914 | + _LT_DECL([], [OTOOL], [1], |
| 1915 | + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) |
| 1916 | + _LT_DECL([], [OTOOL64], [1], |
| 1917 | + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) |
| 1918 | |
| 1919 | AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
| 1920 | [lt_cv_apple_cc_single_mod=no |
| 1921 | if test -z "${LT_MULTI_MODULE}"; then |
| 1922 | - # By default we will add the -single_module flag. You can override |
| 1923 | - # by either setting the environment variable LT_MULTI_MODULE |
| 1924 | - # non-empty at configure time, or by adding -multi_module to the |
| 1925 | - # link flags. |
| 1926 | - echo "int foo(void){return 1;}" > conftest.c |
| 1927 | - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 1928 | - -dynamiclib ${wl}-single_module conftest.c |
| 1929 | - if test -f libconftest.dylib; then |
| 1930 | - lt_cv_apple_cc_single_mod=yes |
| 1931 | - rm -rf libconftest.dylib* |
| 1932 | - fi |
| 1933 | - rm conftest.c |
| 1934 | + # By default we will add the -single_module flag. You can override |
| 1935 | + # by either setting the environment variable LT_MULTI_MODULE |
| 1936 | + # non-empty at configure time, or by adding -multi_module to the |
| 1937 | + # link flags. |
| 1938 | + rm -rf libconftest.dylib* |
| 1939 | + echo "int foo(void){return 1;}" > conftest.c |
| 1940 | + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 1941 | +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
| 1942 | + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 1943 | + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 1944 | + _lt_result=$? |
| 1945 | + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 1946 | + lt_cv_apple_cc_single_mod=yes |
| 1947 | + else |
| 1948 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1949 | + fi |
| 1950 | + rm -rf libconftest.dylib* |
| 1951 | + rm -f conftest.* |
| 1952 | fi]) |
| 1953 | AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
| 1954 | [lt_cv_ld_exported_symbols_list], |
| 1955 | @@ -326,26 +951,26 @@ |
| 1956 | echo "_main" > conftest.sym |
| 1957 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 1958 | AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 1959 | - [lt_cv_ld_exported_symbols_list=yes], |
| 1960 | - [lt_cv_ld_exported_symbols_list=no]) |
| 1961 | - LDFLAGS="$save_LDFLAGS" |
| 1962 | + [lt_cv_ld_exported_symbols_list=yes], |
| 1963 | + [lt_cv_ld_exported_symbols_list=no]) |
| 1964 | + LDFLAGS="$save_LDFLAGS" |
| 1965 | ]) |
| 1966 | case $host_os in |
| 1967 | - rhapsody* | darwin1.[[0123]]) |
| 1968 | + rhapsody* | darwin1.[[012]]) |
| 1969 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 1970 | darwin1.*) |
| 1971 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 1972 | - darwin*) |
| 1973 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 1974 | + darwin*) # darwin 5.x on |
| 1975 | # if running on 10.5 or later, the deployment target defaults |
| 1976 | # to the OS version, if on x86, and 10.4, the deployment |
| 1977 | # target defaults to 10.4. Don't you love it? |
| 1978 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 1979 | - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
| 1980 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 1981 | - 10.[[012]]*) |
| 1982 | - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 1983 | - 10.*) |
| 1984 | - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 1985 | + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
| 1986 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 1987 | + 10.[[012]]*) |
| 1988 | + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 1989 | + 10.*) |
| 1990 | + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 1991 | esac |
| 1992 | ;; |
| 1993 | esac |
| 1994 | @@ -355,10 +980,10 @@ |
| 1995 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 1996 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
| 1997 | else |
| 1998 | - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" |
| 1999 | + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 2000 | fi |
| 2001 | if test "$DSYMUTIL" != ":"; then |
| 2002 | - _lt_dsymutil="~$DSYMUTIL \$lib || :" |
| 2003 | + _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 2004 | else |
| 2005 | _lt_dsymutil= |
| 2006 | fi |
| 2007 | @@ -366,16 +991,51 @@ |
| 2008 | esac |
| 2009 | ]) |
| 2010 | |
| 2011 | -# _LT_AC_SYS_LIBPATH_AIX |
| 2012 | -# ---------------------- |
| 2013 | + |
| 2014 | +# _LT_DARWIN_LINKER_FEATURES |
| 2015 | +# -------------------------- |
| 2016 | +# Checks for linker and compiler features on darwin |
| 2017 | +m4_defun([_LT_DARWIN_LINKER_FEATURES], |
| 2018 | +[ |
| 2019 | + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) |
| 2020 | + _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 2021 | + _LT_TAGVAR(hardcode_direct, $1)=no |
| 2022 | + _LT_TAGVAR(hardcode_automatic, $1)=yes |
| 2023 | + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 2024 | + _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
| 2025 | + _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 2026 | + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
| 2027 | + case $cc_basename in |
| 2028 | + ifort*) _lt_dar_can_shared=yes ;; |
| 2029 | + *) _lt_dar_can_shared=$GCC ;; |
| 2030 | + esac |
| 2031 | + if test "$_lt_dar_can_shared" = "yes"; then |
| 2032 | + output_verbose_link_cmd=echo |
| 2033 | + _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}" |
| 2034 | + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 2035 | + _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}" |
| 2036 | + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
| 2037 | + m4_if([$1], [CXX], |
| 2038 | +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
| 2039 | + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" |
| 2040 | + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
| 2041 | + fi |
| 2042 | +],[]) |
| 2043 | + else |
| 2044 | + _LT_TAGVAR(ld_shlibs, $1)=no |
| 2045 | + fi |
| 2046 | +]) |
| 2047 | + |
| 2048 | +# _LT_SYS_MODULE_PATH_AIX |
| 2049 | +# ----------------------- |
| 2050 | # Links a minimal program and checks the executable |
| 2051 | # for the system default hardcoded library path. In most cases, |
| 2052 | # this is /usr/lib:/lib, but when the MPI compilers are used |
| 2053 | # the location of the communication and MPI libs are included too. |
| 2054 | # If we don't find anything, use the default library path according |
| 2055 | # to the aix ld manual. |
| 2056 | -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], |
| 2057 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 2058 | +m4_defun([_LT_SYS_MODULE_PATH_AIX], |
| 2059 | +[m4_require([_LT_DECL_SED])dnl |
| 2060 | AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
| 2061 | lt_aix_libpath_sed=' |
| 2062 | /Import File Strings/,/^$/ { |
| 2063 | @@ -390,45 +1050,45 @@ |
| 2064 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 2065 | fi],[]) |
| 2066 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 2067 | -])# _LT_AC_SYS_LIBPATH_AIX |
| 2068 | - |
| 2069 | - |
| 2070 | -# _LT_AC_SHELL_INIT(ARG) |
| 2071 | -# ---------------------- |
| 2072 | -AC_DEFUN([_LT_AC_SHELL_INIT], |
| 2073 | +])# _LT_SYS_MODULE_PATH_AIX |
| 2074 | + |
| 2075 | + |
| 2076 | +# _LT_SHELL_INIT(ARG) |
| 2077 | +# ------------------- |
| 2078 | +m4_define([_LT_SHELL_INIT], |
| 2079 | [ifdef([AC_DIVERSION_NOTICE], |
| 2080 | [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
| 2081 | [AC_DIVERT_PUSH(NOTICE)]) |
| 2082 | $1 |
| 2083 | AC_DIVERT_POP |
| 2084 | -])# _LT_AC_SHELL_INIT |
| 2085 | - |
| 2086 | - |
| 2087 | -# _LT_AC_PROG_ECHO_BACKSLASH |
| 2088 | -# -------------------------- |
| 2089 | +])# _LT_SHELL_INIT |
| 2090 | + |
| 2091 | + |
| 2092 | +# _LT_PROG_ECHO_BACKSLASH |
| 2093 | +# ----------------------- |
| 2094 | # Add some code to the start of the generated configure script which |
| 2095 | # will find an echo command which doesn't interpret backslashes. |
| 2096 | -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], |
| 2097 | -[_LT_AC_SHELL_INIT([ |
| 2098 | +m4_defun([_LT_PROG_ECHO_BACKSLASH], |
| 2099 | +[_LT_SHELL_INIT([ |
| 2100 | # Check that we are running under the correct shell. |
| 2101 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 2102 | |
| 2103 | -case X$ECHO in |
| 2104 | +case X$lt_ECHO in |
| 2105 | X*--fallback-echo) |
| 2106 | # Remove one level of quotation (which was required for Make). |
| 2107 | - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
| 2108 | + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
| 2109 | ;; |
| 2110 | esac |
| 2111 | |
| 2112 | -echo=${ECHO-echo} |
| 2113 | +ECHO=${lt_ECHO-echo} |
| 2114 | if test "X[$]1" = X--no-reexec; then |
| 2115 | # Discard the --no-reexec flag, and continue. |
| 2116 | shift |
| 2117 | elif test "X[$]1" = X--fallback-echo; then |
| 2118 | # Avoid inline document here, it may be left over |
| 2119 | : |
| 2120 | -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
| 2121 | - # Yippee, $echo works! |
| 2122 | +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
| 2123 | + # Yippee, $ECHO works! |
| 2124 | : |
| 2125 | else |
| 2126 | # Restart under the correct shell. |
| 2127 | @@ -438,9 +1098,9 @@ |
| 2128 | if test "X[$]1" = X--fallback-echo; then |
| 2129 | # used as fallback echo |
| 2130 | shift |
| 2131 | - cat <<EOF |
| 2132 | + cat <<_LT_EOF |
| 2133 | [$]* |
| 2134 | -EOF |
| 2135 | +_LT_EOF |
| 2136 | exit 0 |
| 2137 | fi |
| 2138 | |
| 2139 | @@ -448,124 +1108,127 @@ |
| 2140 | # if CDPATH is set. |
| 2141 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 2142 | |
| 2143 | -if test -z "$ECHO"; then |
| 2144 | -if test "X${echo_test_string+set}" != Xset; then |
| 2145 | -# find a string as large as possible, as long as the shell can cope with it |
| 2146 | - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
| 2147 | - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| 2148 | - if (echo_test_string=`eval $cmd`) 2>/dev/null && |
| 2149 | - echo_test_string=`eval $cmd` && |
| 2150 | - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
| 2151 | - then |
| 2152 | - break |
| 2153 | - fi |
| 2154 | - done |
| 2155 | -fi |
| 2156 | - |
| 2157 | -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| 2158 | - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| 2159 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2160 | - : |
| 2161 | -else |
| 2162 | - # The Solaris, AIX, and Digital Unix default echo programs unquote |
| 2163 | - # backslashes. This makes it impossible to quote backslashes using |
| 2164 | - # echo "$something" | sed 's/\\/\\\\/g' |
| 2165 | - # |
| 2166 | - # So, first we look for a working echo in the user's PATH. |
| 2167 | - |
| 2168 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 2169 | - for dir in $PATH /usr/ucb; do |
| 2170 | +if test -z "$lt_ECHO"; then |
| 2171 | + if test "X${echo_test_string+set}" != Xset; then |
| 2172 | + # find a string as large as possible, as long as the shell can cope with it |
| 2173 | + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
| 2174 | + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| 2175 | + if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
| 2176 | + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
| 2177 | + then |
| 2178 | + break |
| 2179 | + fi |
| 2180 | + done |
| 2181 | + fi |
| 2182 | + |
| 2183 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
| 2184 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
| 2185 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2186 | + : |
| 2187 | + else |
| 2188 | + # The Solaris, AIX, and Digital Unix default echo programs unquote |
| 2189 | + # backslashes. This makes it impossible to quote backslashes using |
| 2190 | + # echo "$something" | sed 's/\\/\\\\/g' |
| 2191 | + # |
| 2192 | + # So, first we look for a working echo in the user's PATH. |
| 2193 | + |
| 2194 | + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 2195 | + for dir in $PATH /usr/ucb; do |
| 2196 | + IFS="$lt_save_ifs" |
| 2197 | + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
| 2198 | + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
| 2199 | + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
| 2200 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2201 | + ECHO="$dir/echo" |
| 2202 | + break |
| 2203 | + fi |
| 2204 | + done |
| 2205 | IFS="$lt_save_ifs" |
| 2206 | - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
| 2207 | - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
| 2208 | - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
| 2209 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2210 | - echo="$dir/echo" |
| 2211 | - break |
| 2212 | - fi |
| 2213 | - done |
| 2214 | - IFS="$lt_save_ifs" |
| 2215 | |
| 2216 | - if test "X$echo" = Xecho; then |
| 2217 | - # We didn't find a better echo, so look for alternatives. |
| 2218 | - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
| 2219 | - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
| 2220 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2221 | - # This shell has a builtin print -r that does the trick. |
| 2222 | - echo='print -r' |
| 2223 | - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
| 2224 | - test "X$CONFIG_SHELL" != X/bin/ksh; then |
| 2225 | - # If we have ksh, try running configure again with it. |
| 2226 | - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| 2227 | - export ORIGINAL_CONFIG_SHELL |
| 2228 | - CONFIG_SHELL=/bin/ksh |
| 2229 | - export CONFIG_SHELL |
| 2230 | - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
| 2231 | - else |
| 2232 | - # Try using printf. |
| 2233 | - echo='printf %s\n' |
| 2234 | - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| 2235 | - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| 2236 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2237 | - # Cool, printf works |
| 2238 | - : |
| 2239 | - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 2240 | - test "X$echo_testing_string" = 'X\t' && |
| 2241 | - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 2242 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2243 | - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
| 2244 | - export CONFIG_SHELL |
| 2245 | - SHELL="$CONFIG_SHELL" |
| 2246 | - export SHELL |
| 2247 | - echo="$CONFIG_SHELL [$]0 --fallback-echo" |
| 2248 | - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 2249 | - test "X$echo_testing_string" = 'X\t' && |
| 2250 | - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 2251 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2252 | - echo="$CONFIG_SHELL [$]0 --fallback-echo" |
| 2253 | + if test "X$ECHO" = Xecho; then |
| 2254 | + # We didn't find a better echo, so look for alternatives. |
| 2255 | + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
| 2256 | + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
| 2257 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2258 | + # This shell has a builtin print -r that does the trick. |
| 2259 | + ECHO='print -r' |
| 2260 | + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
| 2261 | + test "X$CONFIG_SHELL" != X/bin/ksh; then |
| 2262 | + # If we have ksh, try running configure again with it. |
| 2263 | + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| 2264 | + export ORIGINAL_CONFIG_SHELL |
| 2265 | + CONFIG_SHELL=/bin/ksh |
| 2266 | + export CONFIG_SHELL |
| 2267 | + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
| 2268 | else |
| 2269 | - # maybe with a smaller string... |
| 2270 | - prev=: |
| 2271 | - |
| 2272 | - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
| 2273 | - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
| 2274 | - then |
| 2275 | - break |
| 2276 | + # Try using printf. |
| 2277 | + ECHO='printf %s\n' |
| 2278 | + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
| 2279 | + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
| 2280 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2281 | + # Cool, printf works |
| 2282 | + : |
| 2283 | + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 2284 | + test "X$echo_testing_string" = 'X\t' && |
| 2285 | + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 2286 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2287 | + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
| 2288 | + export CONFIG_SHELL |
| 2289 | + SHELL="$CONFIG_SHELL" |
| 2290 | + export SHELL |
| 2291 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
| 2292 | + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 2293 | + test "X$echo_testing_string" = 'X\t' && |
| 2294 | + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 2295 | + test "X$echo_testing_string" = "X$echo_test_string"; then |
| 2296 | + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
| 2297 | + else |
| 2298 | + # maybe with a smaller string... |
| 2299 | + prev=: |
| 2300 | + |
| 2301 | + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
| 2302 | + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
| 2303 | + then |
| 2304 | + break |
| 2305 | + fi |
| 2306 | + prev="$cmd" |
| 2307 | + done |
| 2308 | + |
| 2309 | + if test "$prev" != 'sed 50q "[$]0"'; then |
| 2310 | + echo_test_string=`eval $prev` |
| 2311 | + export echo_test_string |
| 2312 | + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
| 2313 | + else |
| 2314 | + # Oops. We lost completely, so just stick with echo. |
| 2315 | + ECHO=echo |
| 2316 | fi |
| 2317 | - prev="$cmd" |
| 2318 | - done |
| 2319 | - |
| 2320 | - if test "$prev" != 'sed 50q "[$]0"'; then |
| 2321 | - echo_test_string=`eval $prev` |
| 2322 | - export echo_test_string |
| 2323 | - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
| 2324 | - else |
| 2325 | - # Oops. We lost completely, so just stick with echo. |
| 2326 | - echo=echo |
| 2327 | - fi |
| 2328 | + fi |
| 2329 | fi |
| 2330 | fi |
| 2331 | fi |
| 2332 | fi |
| 2333 | -fi |
| 2334 | |
| 2335 | # Copy echo and quote the copy suitably for passing to libtool from |
| 2336 | # the Makefile, instead of quoting the original, which is used later. |
| 2337 | -ECHO=$echo |
| 2338 | -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
| 2339 | - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
| 2340 | +lt_ECHO=$ECHO |
| 2341 | +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
| 2342 | + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
| 2343 | fi |
| 2344 | |
| 2345 | -AC_SUBST(ECHO) |
| 2346 | -])])# _LT_AC_PROG_ECHO_BACKSLASH |
| 2347 | - |
| 2348 | - |
| 2349 | -# _LT_AC_LOCK |
| 2350 | -# ----------- |
| 2351 | -AC_DEFUN([_LT_AC_LOCK], |
| 2352 | +AC_SUBST(lt_ECHO) |
| 2353 | +]) |
| 2354 | +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
| 2355 | +_LT_DECL([], [ECHO], [1], |
| 2356 | + [An echo program that does not interpret backslashes]) |
| 2357 | +])# _LT_PROG_ECHO_BACKSLASH |
| 2358 | + |
| 2359 | + |
| 2360 | +# _LT_ENABLE_LOCK |
| 2361 | +# --------------- |
| 2362 | +m4_defun([_LT_ENABLE_LOCK], |
| 2363 | [AC_ARG_ENABLE([libtool-lock], |
| 2364 | - [AC_HELP_STRING([--disable-libtool-lock], |
| 2365 | - [avoid locking (might break parallel builds)])]) |
| 2366 | + [AS_HELP_STRING([--disable-libtool-lock], |
| 2367 | + [avoid locking (might break parallel builds)])]) |
| 2368 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
| 2369 | |
| 2370 | # Some flags need to be propagated to the compiler or linker for good |
| 2371 | @@ -576,12 +1239,12 @@ |
| 2372 | echo 'int i;' > conftest.$ac_ext |
| 2373 | if AC_TRY_EVAL(ac_compile); then |
| 2374 | case `/usr/bin/file conftest.$ac_objext` in |
| 2375 | - *ELF-32*) |
| 2376 | - HPUX_IA64_MODE="32" |
| 2377 | - ;; |
| 2378 | - *ELF-64*) |
| 2379 | - HPUX_IA64_MODE="64" |
| 2380 | - ;; |
| 2381 | + *ELF-32*) |
| 2382 | + HPUX_IA64_MODE="32" |
| 2383 | + ;; |
| 2384 | + *ELF-64*) |
| 2385 | + HPUX_IA64_MODE="64" |
| 2386 | + ;; |
| 2387 | esac |
| 2388 | fi |
| 2389 | rm -rf conftest* |
| 2390 | @@ -590,80 +1253,79 @@ |
| 2391 | # Find out which ABI we are using. |
| 2392 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
| 2393 | if AC_TRY_EVAL(ac_compile); then |
| 2394 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
| 2395 | - case `/usr/bin/file conftest.$ac_objext` in |
| 2396 | - *32-bit*) |
| 2397 | - LD="${LD-ld} -melf32bsmip" |
| 2398 | - ;; |
| 2399 | - *N32*) |
| 2400 | - LD="${LD-ld} -melf32bmipn32" |
| 2401 | - ;; |
| 2402 | - *64-bit*) |
| 2403 | - LD="${LD-ld} -melf64bmip" |
| 2404 | - ;; |
| 2405 | - esac |
| 2406 | - else |
| 2407 | - case `/usr/bin/file conftest.$ac_objext` in |
| 2408 | - *32-bit*) |
| 2409 | - LD="${LD-ld} -32" |
| 2410 | - ;; |
| 2411 | - *N32*) |
| 2412 | - LD="${LD-ld} -n32" |
| 2413 | - ;; |
| 2414 | - *64-bit*) |
| 2415 | - LD="${LD-ld} -64" |
| 2416 | - ;; |
| 2417 | - esac |
| 2418 | - fi |
| 2419 | + if test "$lt_cv_prog_gnu_ld" = yes; then |
| 2420 | + case `/usr/bin/file conftest.$ac_objext` in |
| 2421 | + *32-bit*) |
| 2422 | + LD="${LD-ld} -melf32bsmip" |
| 2423 | + ;; |
| 2424 | + *N32*) |
| 2425 | + LD="${LD-ld} -melf32bmipn32" |
| 2426 | + ;; |
| 2427 | + *64-bit*) |
| 2428 | + LD="${LD-ld} -melf64bmip" |
| 2429 | + ;; |
| 2430 | + esac |
| 2431 | + else |
| 2432 | + case `/usr/bin/file conftest.$ac_objext` in |
| 2433 | + *32-bit*) |
| 2434 | + LD="${LD-ld} -32" |
| 2435 | + ;; |
| 2436 | + *N32*) |
| 2437 | + LD="${LD-ld} -n32" |
| 2438 | + ;; |
| 2439 | + *64-bit*) |
| 2440 | + LD="${LD-ld} -64" |
| 2441 | + ;; |
| 2442 | + esac |
| 2443 | + fi |
| 2444 | fi |
| 2445 | rm -rf conftest* |
| 2446 | ;; |
| 2447 | |
| 2448 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
| 2449 | -s390*-*linux*|sparc*-*linux*) |
| 2450 | +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 2451 | # Find out which ABI we are using. |
| 2452 | echo 'int i;' > conftest.$ac_ext |
| 2453 | if AC_TRY_EVAL(ac_compile); then |
| 2454 | case `/usr/bin/file conftest.o` in |
| 2455 | - *32-bit*) |
| 2456 | - case $host in |
| 2457 | - x86_64-*kfreebsd*-gnu) |
| 2458 | - LD="${LD-ld} -m elf_i386_fbsd" |
| 2459 | - ;; |
| 2460 | - x86_64-*linux*) |
| 2461 | - LD="${LD-ld} -m elf_i386" |
| 2462 | - ;; |
| 2463 | - ppc64-*linux*|powerpc64-*linux*) |
| 2464 | - LD="${LD-ld} -m elf32ppclinux" |
| 2465 | - ;; |
| 2466 | - s390x-*linux*) |
| 2467 | - LD="${LD-ld} -m elf_s390" |
| 2468 | - ;; |
| 2469 | - sparc64-*linux*) |
| 2470 | - LD="${LD-ld} -m elf32_sparc" |
| 2471 | - ;; |
| 2472 | - esac |
| 2473 | - ;; |
| 2474 | - *64-bit*) |
| 2475 | - libsuff=64 |
| 2476 | - case $host in |
| 2477 | - x86_64-*kfreebsd*-gnu) |
| 2478 | - LD="${LD-ld} -m elf_x86_64_fbsd" |
| 2479 | - ;; |
| 2480 | - x86_64-*linux*) |
| 2481 | - LD="${LD-ld} -m elf_x86_64" |
| 2482 | - ;; |
| 2483 | - ppc*-*linux*|powerpc*-*linux*) |
| 2484 | - LD="${LD-ld} -m elf64ppc" |
| 2485 | - ;; |
| 2486 | - s390*-*linux*) |
| 2487 | - LD="${LD-ld} -m elf64_s390" |
| 2488 | - ;; |
| 2489 | - sparc*-*linux*) |
| 2490 | - LD="${LD-ld} -m elf64_sparc" |
| 2491 | - ;; |
| 2492 | - esac |
| 2493 | - ;; |
| 2494 | + *32-bit*) |
| 2495 | + case $host in |
| 2496 | + x86_64-*kfreebsd*-gnu) |
| 2497 | + LD="${LD-ld} -m elf_i386_fbsd" |
| 2498 | + ;; |
| 2499 | + x86_64-*linux*) |
| 2500 | + LD="${LD-ld} -m elf_i386" |
| 2501 | + ;; |
| 2502 | + ppc64-*linux*|powerpc64-*linux*) |
| 2503 | + LD="${LD-ld} -m elf32ppclinux" |
| 2504 | + ;; |
| 2505 | + s390x-*linux*) |
| 2506 | + LD="${LD-ld} -m elf_s390" |
| 2507 | + ;; |
| 2508 | + sparc64-*linux*) |
| 2509 | + LD="${LD-ld} -m elf32_sparc" |
| 2510 | + ;; |
| 2511 | + esac |
| 2512 | + ;; |
| 2513 | + *64-bit*) |
| 2514 | + case $host in |
| 2515 | + x86_64-*kfreebsd*-gnu) |
| 2516 | + LD="${LD-ld} -m elf_x86_64_fbsd" |
| 2517 | + ;; |
| 2518 | + x86_64-*linux*) |
| 2519 | + LD="${LD-ld} -m elf_x86_64" |
| 2520 | + ;; |
| 2521 | + ppc*-*linux*|powerpc*-*linux*) |
| 2522 | + LD="${LD-ld} -m elf64ppc" |
| 2523 | + ;; |
| 2524 | + s390*-*linux*|s390*-*tpf*) |
| 2525 | + LD="${LD-ld} -m elf64_s390" |
| 2526 | + ;; |
| 2527 | + sparc*-*linux*) |
| 2528 | + LD="${LD-ld} -m elf64_sparc" |
| 2529 | + ;; |
| 2530 | + esac |
| 2531 | + ;; |
| 2532 | esac |
| 2533 | fi |
| 2534 | rm -rf conftest* |
| 2535 | @@ -675,7 +1337,7 @@ |
| 2536 | CFLAGS="$CFLAGS -belf" |
| 2537 | AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
| 2538 | [AC_LANG_PUSH(C) |
| 2539 | - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
| 2540 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
| 2541 | AC_LANG_POP]) |
| 2542 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 2543 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 2544 | @@ -691,7 +1353,7 @@ |
| 2545 | case $lt_cv_prog_gnu_ld in |
| 2546 | yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 2547 | *) |
| 2548 | - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 2549 | + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 2550 | LD="${LD-ld} -64" |
| 2551 | fi |
| 2552 | ;; |
| 2553 | @@ -701,30 +1363,63 @@ |
| 2554 | fi |
| 2555 | rm -rf conftest* |
| 2556 | ;; |
| 2557 | - |
| 2558 | -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
| 2559 | -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) |
| 2560 | - AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
| 2561 | - AC_CHECK_TOOL(AS, as, false) |
| 2562 | - AC_CHECK_TOOL(OBJDUMP, objdump, false) |
| 2563 | - ;; |
| 2564 | - ]) |
| 2565 | esac |
| 2566 | |
| 2567 | need_locks="$enable_libtool_lock" |
| 2568 | - |
| 2569 | -])# _LT_AC_LOCK |
| 2570 | - |
| 2571 | - |
| 2572 | -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
| 2573 | +])# _LT_ENABLE_LOCK |
| 2574 | + |
| 2575 | + |
| 2576 | +# _LT_CMD_OLD_ARCHIVE |
| 2577 | +# ------------------- |
| 2578 | +m4_defun([_LT_CMD_OLD_ARCHIVE], |
| 2579 | +[AC_CHECK_TOOL(AR, ar, false) |
| 2580 | +test -z "$AR" && AR=ar |
| 2581 | +test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 2582 | +_LT_DECL([], [AR], [1], [The archiver]) |
| 2583 | +_LT_DECL([], [AR_FLAGS], [1]) |
| 2584 | + |
| 2585 | +AC_CHECK_TOOL(STRIP, strip, :) |
| 2586 | +test -z "$STRIP" && STRIP=: |
| 2587 | +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) |
| 2588 | + |
| 2589 | +AC_CHECK_TOOL(RANLIB, ranlib, :) |
| 2590 | +test -z "$RANLIB" && RANLIB=: |
| 2591 | +_LT_DECL([], [RANLIB], [1], |
| 2592 | + [Commands used to install an old-style archive]) |
| 2593 | + |
| 2594 | +# Determine commands to create old-style static archives. |
| 2595 | +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 2596 | +old_postinstall_cmds='chmod 644 $oldlib' |
| 2597 | +old_postuninstall_cmds= |
| 2598 | + |
| 2599 | +if test -n "$RANLIB"; then |
| 2600 | + case $host_os in |
| 2601 | + openbsd*) |
| 2602 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 2603 | + ;; |
| 2604 | + *) |
| 2605 | + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 2606 | + ;; |
| 2607 | + esac |
| 2608 | + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 2609 | +fi |
| 2610 | +_LT_DECL([], [old_postinstall_cmds], [2]) |
| 2611 | +_LT_DECL([], [old_postuninstall_cmds], [2]) |
| 2612 | +_LT_TAGDECL([], [old_archive_cmds], [2], |
| 2613 | + [Commands used to build an old-style archive]) |
| 2614 | +])# _LT_CMD_OLD_ARCHIVE |
| 2615 | + |
| 2616 | + |
| 2617 | +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
| 2618 | # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
| 2619 | # ---------------------------------------------------------------- |
| 2620 | # Check whether the given compiler option works |
| 2621 | -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], |
| 2622 | -[AC_REQUIRE([LT_AC_PROG_SED]) |
| 2623 | +AC_DEFUN([_LT_COMPILER_OPTION], |
| 2624 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2625 | +m4_require([_LT_DECL_SED])dnl |
| 2626 | AC_CACHE_CHECK([$1], [$2], |
| 2627 | [$2=no |
| 2628 | - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
| 2629 | + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
| 2630 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 2631 | lt_compiler_flag="$3" |
| 2632 | # Insert the option either (1) after the last *FLAGS variable, or |
| 2633 | @@ -744,29 +1439,35 @@ |
| 2634 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 2635 | # The compiler can only warn and ignore the option if not recognized |
| 2636 | # So say no if there are warnings other than the usual output. |
| 2637 | - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 2638 | + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 2639 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 2640 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 2641 | $2=yes |
| 2642 | fi |
| 2643 | fi |
| 2644 | - $rm conftest* |
| 2645 | + $RM conftest* |
| 2646 | ]) |
| 2647 | |
| 2648 | if test x"[$]$2" = xyes; then |
| 2649 | - ifelse([$5], , :, [$5]) |
| 2650 | + m4_if([$5], , :, [$5]) |
| 2651 | else |
| 2652 | - ifelse([$6], , :, [$6]) |
| 2653 | + m4_if([$6], , :, [$6]) |
| 2654 | fi |
| 2655 | -])# AC_LIBTOOL_COMPILER_OPTION |
| 2656 | - |
| 2657 | - |
| 2658 | -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
| 2659 | -# [ACTION-SUCCESS], [ACTION-FAILURE]) |
| 2660 | -# ------------------------------------------------------------ |
| 2661 | -# Check whether the given compiler option works |
| 2662 | -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], |
| 2663 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 2664 | +])# _LT_COMPILER_OPTION |
| 2665 | + |
| 2666 | +# Old name: |
| 2667 | +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
| 2668 | +dnl aclocal-1.4 backwards compatibility: |
| 2669 | +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
| 2670 | + |
| 2671 | + |
| 2672 | +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
| 2673 | +# [ACTION-SUCCESS], [ACTION-FAILURE]) |
| 2674 | +# ---------------------------------------------------- |
| 2675 | +# Check whether the given linker option works |
| 2676 | +AC_DEFUN([_LT_LINKER_OPTION], |
| 2677 | +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2678 | +m4_require([_LT_DECL_SED])dnl |
| 2679 | AC_CACHE_CHECK([$1], [$2], |
| 2680 | [$2=no |
| 2681 | save_LDFLAGS="$LDFLAGS" |
| 2682 | @@ -778,7 +1479,7 @@ |
| 2683 | if test -s conftest.err; then |
| 2684 | # Append any errors to the config.log. |
| 2685 | cat conftest.err 1>&AS_MESSAGE_LOG_FD |
| 2686 | - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 2687 | + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 2688 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 2689 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 2690 | $2=yes |
| 2691 | @@ -787,22 +1488,28 @@ |
| 2692 | $2=yes |
| 2693 | fi |
| 2694 | fi |
| 2695 | - $rm -r conftest* |
| 2696 | + $RM -r conftest* |
| 2697 | LDFLAGS="$save_LDFLAGS" |
| 2698 | ]) |
| 2699 | |
| 2700 | if test x"[$]$2" = xyes; then |
| 2701 | - ifelse([$4], , :, [$4]) |
| 2702 | + m4_if([$4], , :, [$4]) |
| 2703 | else |
| 2704 | - ifelse([$5], , :, [$5]) |
| 2705 | + m4_if([$5], , :, [$5]) |
| 2706 | fi |
| 2707 | -])# AC_LIBTOOL_LINKER_OPTION |
| 2708 | - |
| 2709 | - |
| 2710 | -# AC_LIBTOOL_SYS_MAX_CMD_LEN |
| 2711 | -# -------------------------- |
| 2712 | -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], |
| 2713 | -[# find the maximum length of command line arguments |
| 2714 | +])# _LT_LINKER_OPTION |
| 2715 | + |
| 2716 | +# Old name: |
| 2717 | +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
| 2718 | +dnl aclocal-1.4 backwards compatibility: |
| 2719 | +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
| 2720 | + |
| 2721 | + |
| 2722 | +# LT_CMD_MAX_LEN |
| 2723 | +#--------------- |
| 2724 | +AC_DEFUN([LT_CMD_MAX_LEN], |
| 2725 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 2726 | +# find the maximum length of command line arguments |
| 2727 | AC_MSG_CHECKING([the maximum length of command line arguments]) |
| 2728 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
| 2729 | i=0 |
| 2730 | @@ -824,7 +1531,7 @@ |
| 2731 | lt_cv_sys_max_cmd_len=-1; |
| 2732 | ;; |
| 2733 | |
| 2734 | - cygwin* | mingw*) |
| 2735 | + cygwin* | mingw* | cegcc*) |
| 2736 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 2737 | # about 5 minutes as the teststring grows exponentially. |
| 2738 | # Worse, since 9x/ME are not pre-emptively multitasking, |
| 2739 | @@ -879,7 +1586,7 @@ |
| 2740 | sysv5* | sco5v6* | sysv4.2uw2*) |
| 2741 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 2742 | if test -n "$kargmax"; then |
| 2743 | - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
| 2744 | + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
| 2745 | else |
| 2746 | lt_cv_sys_max_cmd_len=32768 |
| 2747 | fi |
| 2748 | @@ -890,20 +1597,28 @@ |
| 2749 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 2750 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 2751 | else |
| 2752 | + # Make teststring a little bigger before we do anything with it. |
| 2753 | + # a 1K string should be a reasonable start. |
| 2754 | + for i in 1 2 3 4 5 6 7 8 ; do |
| 2755 | + teststring=$teststring$teststring |
| 2756 | + done |
| 2757 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 2758 | - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ |
| 2759 | - = "XX$teststring") >/dev/null 2>&1 && |
| 2760 | - new_result=`expr "X$teststring" : ".*" 2>&1` && |
| 2761 | - lt_cv_sys_max_cmd_len=$new_result && |
| 2762 | + # If test is not a shell built-in, we'll probably end up computing a |
| 2763 | + # maximum length that is only half of the actual maximum length, but |
| 2764 | + # we can't tell. |
| 2765 | + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
| 2766 | + = "XX$teststring$teststring"; } >/dev/null 2>&1 && |
| 2767 | test $i != 17 # 1/2 MB should be enough |
| 2768 | do |
| 2769 | i=`expr $i + 1` |
| 2770 | teststring=$teststring$teststring |
| 2771 | done |
| 2772 | + # Only check the string length outside the loop. |
| 2773 | + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 2774 | teststring= |
| 2775 | - # Add a significant safety factor because C++ compilers can tack on massive |
| 2776 | - # amounts of additional arguments before passing them to the linker. |
| 2777 | - # It appears as though 1/2 is a usable value. |
| 2778 | + # Add a significant safety factor because C++ compilers can tack on |
| 2779 | + # massive amounts of additional arguments before passing them to the |
| 2780 | + # linker. It appears as though 1/2 is a usable value. |
| 2781 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 2782 | fi |
| 2783 | ;; |
| 2784 | @@ -914,27 +1629,35 @@ |
| 2785 | else |
| 2786 | AC_MSG_RESULT(none) |
| 2787 | fi |
| 2788 | -])# AC_LIBTOOL_SYS_MAX_CMD_LEN |
| 2789 | - |
| 2790 | - |
| 2791 | -# _LT_AC_CHECK_DLFCN |
| 2792 | -# ------------------ |
| 2793 | -AC_DEFUN([_LT_AC_CHECK_DLFCN], |
| 2794 | -[AC_CHECK_HEADERS(dlfcn.h)dnl |
| 2795 | -])# _LT_AC_CHECK_DLFCN |
| 2796 | - |
| 2797 | - |
| 2798 | -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, |
| 2799 | -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) |
| 2800 | -# --------------------------------------------------------------------- |
| 2801 | -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], |
| 2802 | -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl |
| 2803 | +max_cmd_len=$lt_cv_sys_max_cmd_len |
| 2804 | +_LT_DECL([], [max_cmd_len], [0], |
| 2805 | + [What is the maximum length of a command?]) |
| 2806 | +])# LT_CMD_MAX_LEN |
| 2807 | + |
| 2808 | +# Old name: |
| 2809 | +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) |
| 2810 | +dnl aclocal-1.4 backwards compatibility: |
| 2811 | +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) |
| 2812 | + |
| 2813 | + |
| 2814 | +# _LT_HEADER_DLFCN |
| 2815 | +# ---------------- |
| 2816 | +m4_defun([_LT_HEADER_DLFCN], |
| 2817 | +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl |
| 2818 | +])# _LT_HEADER_DLFCN |
| 2819 | + |
| 2820 | + |
| 2821 | +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, |
| 2822 | +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) |
| 2823 | +# ---------------------------------------------------------------- |
| 2824 | +m4_defun([_LT_TRY_DLOPEN_SELF], |
| 2825 | +[m4_require([_LT_HEADER_DLFCN])dnl |
| 2826 | if test "$cross_compiling" = yes; then : |
| 2827 | [$4] |
| 2828 | else |
| 2829 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 2830 | lt_status=$lt_dlunknown |
| 2831 | - cat > conftest.$ac_ext <<EOF |
| 2832 | + cat > conftest.$ac_ext <<_LT_EOF |
| 2833 | [#line __oline__ "configure" |
| 2834 | #include "confdefs.h" |
| 2835 | |
| 2836 | @@ -976,10 +1699,6 @@ |
| 2837 | # endif |
| 2838 | #endif |
| 2839 | |
| 2840 | -#ifdef __cplusplus |
| 2841 | -extern "C" void exit (int); |
| 2842 | -#endif |
| 2843 | - |
| 2844 | void fnord() { int i=42;} |
| 2845 | int main () |
| 2846 | { |
| 2847 | @@ -995,9 +1714,9 @@ |
| 2848 | else |
| 2849 | puts (dlerror ()); |
| 2850 | |
| 2851 | - exit (status); |
| 2852 | + return status; |
| 2853 | }] |
| 2854 | -EOF |
| 2855 | +_LT_EOF |
| 2856 | if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then |
| 2857 | (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null |
| 2858 | lt_status=$? |
| 2859 | @@ -1012,13 +1731,13 @@ |
| 2860 | fi |
| 2861 | fi |
| 2862 | rm -fr conftest* |
| 2863 | -])# _LT_AC_TRY_DLOPEN_SELF |
| 2864 | - |
| 2865 | - |
| 2866 | -# AC_LIBTOOL_DLOPEN_SELF |
| 2867 | -# ---------------------- |
| 2868 | -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], |
| 2869 | -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl |
| 2870 | +])# _LT_TRY_DLOPEN_SELF |
| 2871 | + |
| 2872 | + |
| 2873 | +# LT_SYS_DLOPEN_SELF |
| 2874 | +# ------------------ |
| 2875 | +AC_DEFUN([LT_SYS_DLOPEN_SELF], |
| 2876 | +[m4_require([_LT_HEADER_DLFCN])dnl |
| 2877 | if test "x$enable_dlopen" != xyes; then |
| 2878 | enable_dlopen=unknown |
| 2879 | enable_dlopen_self=unknown |
| 2880 | @@ -1034,15 +1753,15 @@ |
| 2881 | lt_cv_dlopen_self=yes |
| 2882 | ;; |
| 2883 | |
| 2884 | - mingw* | pw32*) |
| 2885 | + mingw* | pw32* | cegcc*) |
| 2886 | lt_cv_dlopen="LoadLibrary" |
| 2887 | lt_cv_dlopen_libs= |
| 2888 | - ;; |
| 2889 | + ;; |
| 2890 | |
| 2891 | cygwin*) |
| 2892 | lt_cv_dlopen="dlopen" |
| 2893 | lt_cv_dlopen_libs= |
| 2894 | - ;; |
| 2895 | + ;; |
| 2896 | |
| 2897 | darwin*) |
| 2898 | # if libdl is installed we need to link against it |
| 2899 | @@ -1052,7 +1771,7 @@ |
| 2900 | lt_cv_dlopen_libs= |
| 2901 | lt_cv_dlopen_self=yes |
| 2902 | ]) |
| 2903 | - ;; |
| 2904 | + ;; |
| 2905 | |
| 2906 | *) |
| 2907 | AC_CHECK_FUNC([shl_load], |
| 2908 | @@ -1094,7 +1813,7 @@ |
| 2909 | |
| 2910 | AC_CACHE_CHECK([whether a program can dlopen itself], |
| 2911 | lt_cv_dlopen_self, [dnl |
| 2912 | - _LT_AC_TRY_DLOPEN_SELF( |
| 2913 | + _LT_TRY_DLOPEN_SELF( |
| 2914 | lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, |
| 2915 | lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) |
| 2916 | ]) |
| 2917 | @@ -1102,8 +1821,8 @@ |
| 2918 | if test "x$lt_cv_dlopen_self" = xyes; then |
| 2919 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 2920 | AC_CACHE_CHECK([whether a statically linked program can dlopen itself], |
| 2921 | - lt_cv_dlopen_self_static, [dnl |
| 2922 | - _LT_AC_TRY_DLOPEN_SELF( |
| 2923 | + lt_cv_dlopen_self_static, [dnl |
| 2924 | + _LT_TRY_DLOPEN_SELF( |
| 2925 | lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, |
| 2926 | lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) |
| 2927 | ]) |
| 2928 | @@ -1125,19 +1844,32 @@ |
| 2929 | *) enable_dlopen_self_static=unknown ;; |
| 2930 | esac |
| 2931 | fi |
| 2932 | -])# AC_LIBTOOL_DLOPEN_SELF |
| 2933 | - |
| 2934 | - |
| 2935 | -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) |
| 2936 | -# --------------------------------- |
| 2937 | -# Check to see if options -c and -o are simultaneously supported by compiler |
| 2938 | -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], |
| 2939 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 2940 | -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl |
| 2941 | +_LT_DECL([dlopen_support], [enable_dlopen], [0], |
| 2942 | + [Whether dlopen is supported]) |
| 2943 | +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], |
| 2944 | + [Whether dlopen of programs is supported]) |
| 2945 | +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], |
| 2946 | + [Whether dlopen of statically linked programs is supported]) |
| 2947 | +])# LT_SYS_DLOPEN_SELF |
| 2948 | + |
| 2949 | +# Old name: |
| 2950 | +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) |
| 2951 | +dnl aclocal-1.4 backwards compatibility: |
| 2952 | +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) |
| 2953 | + |
| 2954 | + |
| 2955 | +# _LT_COMPILER_C_O([TAGNAME]) |
| 2956 | +# --------------------------- |
| 2957 | +# Check to see if options -c and -o are simultaneously supported by compiler. |
| 2958 | +# This macro does not hard code the compiler like AC_PROG_CC_C_O. |
| 2959 | +m4_defun([_LT_COMPILER_C_O], |
| 2960 | +[m4_require([_LT_DECL_SED])dnl |
| 2961 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2962 | +m4_require([_LT_TAG_COMPILER])dnl |
| 2963 | AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], |
| 2964 | - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], |
| 2965 | - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no |
| 2966 | - $rm -r conftest 2>/dev/null |
| 2967 | + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], |
| 2968 | + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no |
| 2969 | + $RM -r conftest 2>/dev/null |
| 2970 | mkdir conftest |
| 2971 | cd conftest |
| 2972 | mkdir out |
| 2973 | @@ -1161,37 +1893,41 @@ |
| 2974 | then |
| 2975 | # The compiler can only warn and ignore the option if not recognized |
| 2976 | # So say no if there are warnings |
| 2977 | - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 2978 | + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 2979 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 2980 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 2981 | - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
| 2982 | + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
| 2983 | fi |
| 2984 | fi |
| 2985 | chmod u+w . 2>&AS_MESSAGE_LOG_FD |
| 2986 | - $rm conftest* |
| 2987 | + $RM conftest* |
| 2988 | # SGI C++ compiler will create directory out/ii_files/ for |
| 2989 | # template instantiation |
| 2990 | - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
| 2991 | - $rm out/* && rmdir out |
| 2992 | + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 2993 | + $RM out/* && rmdir out |
| 2994 | cd .. |
| 2995 | - rmdir conftest |
| 2996 | - $rm conftest* |
| 2997 | + $RM -r conftest |
| 2998 | + $RM conftest* |
| 2999 | ]) |
| 3000 | -])# AC_LIBTOOL_PROG_CC_C_O |
| 3001 | - |
| 3002 | - |
| 3003 | -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) |
| 3004 | -# ----------------------------------------- |
| 3005 | +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], |
| 3006 | + [Does compiler simultaneously support -c and -o options?]) |
| 3007 | +])# _LT_COMPILER_C_O |
| 3008 | + |
| 3009 | + |
| 3010 | +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) |
| 3011 | +# ---------------------------------- |
| 3012 | # Check to see if we can do hard links to lock some files if needed |
| 3013 | -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], |
| 3014 | -[AC_REQUIRE([_LT_AC_LOCK])dnl |
| 3015 | +m4_defun([_LT_COMPILER_FILE_LOCKS], |
| 3016 | +[m4_require([_LT_ENABLE_LOCK])dnl |
| 3017 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 3018 | +_LT_COMPILER_C_O([$1]) |
| 3019 | |
| 3020 | hard_links="nottested" |
| 3021 | -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then |
| 3022 | +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then |
| 3023 | # do not overwrite the value of need_locks provided by the user |
| 3024 | AC_MSG_CHECKING([if we can lock with hard links]) |
| 3025 | hard_links=yes |
| 3026 | - $rm conftest* |
| 3027 | + $RM conftest* |
| 3028 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 3029 | touch conftest.a |
| 3030 | ln conftest.a conftest.b 2>&5 || hard_links=no |
| 3031 | @@ -1204,12 +1940,13 @@ |
| 3032 | else |
| 3033 | need_locks=no |
| 3034 | fi |
| 3035 | -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS |
| 3036 | - |
| 3037 | - |
| 3038 | -# AC_LIBTOOL_OBJDIR |
| 3039 | -# ----------------- |
| 3040 | -AC_DEFUN([AC_LIBTOOL_OBJDIR], |
| 3041 | +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) |
| 3042 | +])# _LT_COMPILER_FILE_LOCKS |
| 3043 | + |
| 3044 | + |
| 3045 | +# _LT_CHECK_OBJDIR |
| 3046 | +# ---------------- |
| 3047 | +m4_defun([_LT_CHECK_OBJDIR], |
| 3048 | [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], |
| 3049 | [rm -f .libs 2>/dev/null |
| 3050 | mkdir .libs 2>/dev/null |
| 3051 | @@ -1221,40 +1958,46 @@ |
| 3052 | fi |
| 3053 | rmdir .libs 2>/dev/null]) |
| 3054 | objdir=$lt_cv_objdir |
| 3055 | -])# AC_LIBTOOL_OBJDIR |
| 3056 | - |
| 3057 | - |
| 3058 | -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) |
| 3059 | -# ---------------------------------------------- |
| 3060 | +_LT_DECL([], [objdir], [0], |
| 3061 | + [The name of the directory that contains temporary libtool files])dnl |
| 3062 | +m4_pattern_allow([LT_OBJDIR])dnl |
| 3063 | +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", |
| 3064 | + [Define to the sub-directory in which libtool stores uninstalled libraries.]) |
| 3065 | +])# _LT_CHECK_OBJDIR |
| 3066 | + |
| 3067 | + |
| 3068 | +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) |
| 3069 | +# -------------------------------------- |
| 3070 | # Check hardcoding attributes. |
| 3071 | -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], |
| 3072 | +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], |
| 3073 | [AC_MSG_CHECKING([how to hardcode library paths into programs]) |
| 3074 | -_LT_AC_TAGVAR(hardcode_action, $1)= |
| 3075 | -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ |
| 3076 | - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ |
| 3077 | - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then |
| 3078 | +_LT_TAGVAR(hardcode_action, $1)= |
| 3079 | +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || |
| 3080 | + test -n "$_LT_TAGVAR(runpath_var, $1)" || |
| 3081 | + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then |
| 3082 | |
| 3083 | - # We can hardcode non-existant directories. |
| 3084 | - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && |
| 3085 | + # We can hardcode non-existent directories. |
| 3086 | + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && |
| 3087 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 3088 | # have to relink, otherwise we might link with an installed library |
| 3089 | # when we should be linking with a yet-to-be-installed one |
| 3090 | - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && |
| 3091 | - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then |
| 3092 | + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && |
| 3093 | + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then |
| 3094 | # Linking always hardcodes the temporary library directory. |
| 3095 | - _LT_AC_TAGVAR(hardcode_action, $1)=relink |
| 3096 | + _LT_TAGVAR(hardcode_action, $1)=relink |
| 3097 | else |
| 3098 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 3099 | - _LT_AC_TAGVAR(hardcode_action, $1)=immediate |
| 3100 | + _LT_TAGVAR(hardcode_action, $1)=immediate |
| 3101 | fi |
| 3102 | else |
| 3103 | # We cannot hardcode anything, or else we can only hardcode existing |
| 3104 | # directories. |
| 3105 | - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported |
| 3106 | + _LT_TAGVAR(hardcode_action, $1)=unsupported |
| 3107 | fi |
| 3108 | -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) |
| 3109 | +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) |
| 3110 | |
| 3111 | -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then |
| 3112 | +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || |
| 3113 | + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then |
| 3114 | # Fast installation is not supported |
| 3115 | enable_fast_install=no |
| 3116 | elif test "$shlibpath_overrides_runpath" = yes || |
| 3117 | @@ -1262,73 +2005,70 @@ |
| 3118 | # Fast installation is not necessary |
| 3119 | enable_fast_install=needless |
| 3120 | fi |
| 3121 | -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH |
| 3122 | - |
| 3123 | - |
| 3124 | -# AC_LIBTOOL_SYS_LIB_STRIP |
| 3125 | -# ------------------------ |
| 3126 | -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], |
| 3127 | -[striplib= |
| 3128 | +_LT_TAGDECL([], [hardcode_action], [0], |
| 3129 | + [How to hardcode a shared library path into an executable]) |
| 3130 | +])# _LT_LINKER_HARDCODE_LIBPATH |
| 3131 | + |
| 3132 | + |
| 3133 | +# _LT_CMD_STRIPLIB |
| 3134 | +# ---------------- |
| 3135 | +m4_defun([_LT_CMD_STRIPLIB], |
| 3136 | +[m4_require([_LT_DECL_EGREP]) |
| 3137 | +striplib= |
| 3138 | old_striplib= |
| 3139 | AC_MSG_CHECKING([whether stripping libraries is possible]) |
| 3140 | -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
| 3141 | +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 3142 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 3143 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 3144 | AC_MSG_RESULT([yes]) |
| 3145 | else |
| 3146 | # FIXME - insert some real tests, host_os isn't really good enough |
| 3147 | case $host_os in |
| 3148 | - darwin*) |
| 3149 | - if test -n "$STRIP" ; then |
| 3150 | - striplib="$STRIP -x" |
| 3151 | - old_striplib="$STRIP -S" |
| 3152 | - AC_MSG_RESULT([yes]) |
| 3153 | - else |
| 3154 | - AC_MSG_RESULT([no]) |
| 3155 | -fi |
| 3156 | - ;; |
| 3157 | - *) |
| 3158 | - AC_MSG_RESULT([no]) |
| 3159 | + darwin*) |
| 3160 | + if test -n "$STRIP" ; then |
| 3161 | + striplib="$STRIP -x" |
| 3162 | + old_striplib="$STRIP -S" |
| 3163 | + AC_MSG_RESULT([yes]) |
| 3164 | + else |
| 3165 | + AC_MSG_RESULT([no]) |
| 3166 | + fi |
| 3167 | + ;; |
| 3168 | + *) |
| 3169 | + AC_MSG_RESULT([no]) |
| 3170 | ;; |
| 3171 | esac |
| 3172 | fi |
| 3173 | -])# AC_LIBTOOL_SYS_LIB_STRIP |
| 3174 | - |
| 3175 | - |
| 3176 | -# AC_LIBTOOL_SYS_DYNAMIC_LINKER |
| 3177 | +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) |
| 3178 | +_LT_DECL([], [striplib], [1]) |
| 3179 | +])# _LT_CMD_STRIPLIB |
| 3180 | + |
| 3181 | + |
| 3182 | +# _LT_SYS_DYNAMIC_LINKER([TAG]) |
| 3183 | # ----------------------------- |
| 3184 | # PORTME Fill in your ld.so characteristics |
| 3185 | -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], |
| 3186 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 3187 | +m4_defun([_LT_SYS_DYNAMIC_LINKER], |
| 3188 | +[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3189 | +m4_require([_LT_DECL_EGREP])dnl |
| 3190 | +m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 3191 | +m4_require([_LT_DECL_OBJDUMP])dnl |
| 3192 | +m4_require([_LT_DECL_SED])dnl |
| 3193 | AC_MSG_CHECKING([dynamic linker characteristics]) |
| 3194 | -library_names_spec= |
| 3195 | -libname_spec='lib$name' |
| 3196 | -soname_spec= |
| 3197 | -shrext_cmds=".so" |
| 3198 | -postinstall_cmds= |
| 3199 | -postuninstall_cmds= |
| 3200 | -finish_cmds= |
| 3201 | -finish_eval= |
| 3202 | -shlibpath_var= |
| 3203 | -shlibpath_overrides_runpath=unknown |
| 3204 | -version_type=none |
| 3205 | -dynamic_linker="$host_os ld.so" |
| 3206 | -sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 3207 | -m4_if($1,[],[ |
| 3208 | +m4_if([$1], |
| 3209 | + [], [ |
| 3210 | if test "$GCC" = yes; then |
| 3211 | case $host_os in |
| 3212 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 3213 | *) lt_awk_arg="/^libraries:/" ;; |
| 3214 | esac |
| 3215 | lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 3216 | - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then |
| 3217 | + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
| 3218 | # if the path contains ";" then we assume it to be the separator |
| 3219 | # otherwise default to the standard path separator (i.e. ":") - it is |
| 3220 | # assumed that no part of a normal pathname contains ";" but that should |
| 3221 | # okay in the real world where ";" in dirpaths is itself problematic. |
| 3222 | - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
| 3223 | + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
| 3224 | else |
| 3225 | - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 3226 | + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 3227 | fi |
| 3228 | # Ok, now we have the path, separated by spaces, we can step through it |
| 3229 | # and add multilib dir if necessary. |
| 3230 | @@ -1342,7 +2082,7 @@ |
| 3231 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 3232 | fi |
| 3233 | done |
| 3234 | - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' |
| 3235 | + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
| 3236 | BEGIN {RS=" "; FS="/|\n";} { |
| 3237 | lt_foo=""; |
| 3238 | lt_count=0; |
| 3239 | @@ -1362,10 +2102,23 @@ |
| 3240 | if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
| 3241 | if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
| 3242 | }'` |
| 3243 | - sys_lib_search_path_spec=`echo $lt_search_path_spec` |
| 3244 | + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
| 3245 | else |
| 3246 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 3247 | fi]) |
| 3248 | +library_names_spec= |
| 3249 | +libname_spec='lib$name' |
| 3250 | +soname_spec= |
| 3251 | +shrext_cmds=".so" |
| 3252 | +postinstall_cmds= |
| 3253 | +postuninstall_cmds= |
| 3254 | +finish_cmds= |
| 3255 | +finish_eval= |
| 3256 | +shlibpath_var= |
| 3257 | +shlibpath_overrides_runpath=unknown |
| 3258 | +version_type=none |
| 3259 | +dynamic_linker="$host_os ld.so" |
| 3260 | +sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 3261 | need_lib_prefix=unknown |
| 3262 | hardcode_into_libs=no |
| 3263 | |
| 3264 | @@ -1402,7 +2155,7 @@ |
| 3265 | aix4 | aix4.[[01]] | aix4.[[01]].*) |
| 3266 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 3267 | echo ' yes ' |
| 3268 | - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
| 3269 | + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 3270 | : |
| 3271 | else |
| 3272 | can_build_shared=no |
| 3273 | @@ -1428,9 +2181,18 @@ |
| 3274 | ;; |
| 3275 | |
| 3276 | amigaos*) |
| 3277 | - library_names_spec='$libname.ixlibrary $libname.a' |
| 3278 | - # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 3279 | - 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' |
| 3280 | + case $host_cpu in |
| 3281 | + powerpc) |
| 3282 | + # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 3283 | + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 3284 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3285 | + ;; |
| 3286 | + m68k) |
| 3287 | + library_names_spec='$libname.ixlibrary $libname.a' |
| 3288 | + # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 3289 | + 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' |
| 3290 | + ;; |
| 3291 | + esac |
| 3292 | ;; |
| 3293 | |
| 3294 | beos*) |
| 3295 | @@ -1453,25 +2215,28 @@ |
| 3296 | # libtool to hard-code these into programs |
| 3297 | ;; |
| 3298 | |
| 3299 | -cygwin* | mingw* | pw32*) |
| 3300 | +cygwin* | mingw* | pw32* | cegcc*) |
| 3301 | version_type=windows |
| 3302 | shrext_cmds=".dll" |
| 3303 | need_version=no |
| 3304 | need_lib_prefix=no |
| 3305 | |
| 3306 | case $GCC,$host_os in |
| 3307 | - yes,cygwin* | yes,mingw* | yes,pw32*) |
| 3308 | + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 3309 | library_names_spec='$libname.dll.a' |
| 3310 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 3311 | postinstall_cmds='base_file=`basename \${file}`~ |
| 3312 | - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
| 3313 | + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 3314 | dldir=$destdir/`dirname \$dlpath`~ |
| 3315 | test -d \$dldir || mkdir -p \$dldir~ |
| 3316 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 3317 | - chmod a+x \$dldir/$dlname' |
| 3318 | + chmod a+x \$dldir/$dlname~ |
| 3319 | + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 3320 | + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 3321 | + fi' |
| 3322 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 3323 | dlpath=$dir/\$dldll~ |
| 3324 | - $rm \$dlpath' |
| 3325 | + $RM \$dlpath' |
| 3326 | shlibpath_overrides_runpath=yes |
| 3327 | |
| 3328 | case $host_os in |
| 3329 | @@ -1480,20 +2245,20 @@ |
| 3330 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
| 3331 | sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
| 3332 | ;; |
| 3333 | - mingw*) |
| 3334 | + mingw* | cegcc*) |
| 3335 | # MinGW DLLs use traditional 'lib' prefix |
| 3336 | soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
| 3337 | - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 3338 | - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then |
| 3339 | + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 3340 | + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then |
| 3341 | # It is most probably a Windows format PATH printed by |
| 3342 | # mingw gcc, but we are running on Cygwin. Gcc prints its search |
| 3343 | # path with ; separators, and with drive letters. We can handle the |
| 3344 | # drive letters (cygwin fileutils understands them), so leave them, |
| 3345 | # especially as we might pass files found there to a mingw objdump, |
| 3346 | # which wouldn't understand a cygwinified path. Ahh. |
| 3347 | - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 3348 | + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 3349 | else |
| 3350 | - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 3351 | + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 3352 | fi |
| 3353 | ;; |
| 3354 | pw32*) |
| 3355 | @@ -1517,13 +2282,13 @@ |
| 3356 | version_type=darwin |
| 3357 | need_lib_prefix=no |
| 3358 | need_version=no |
| 3359 | - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 3360 | + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 3361 | soname_spec='${libname}${release}${major}$shared_ext' |
| 3362 | shlibpath_overrides_runpath=yes |
| 3363 | shlibpath_var=DYLD_LIBRARY_PATH |
| 3364 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 3365 | - m4_if([$1], [],[ |
| 3366 | - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) |
| 3367 | +m4_if([$1], [],[ |
| 3368 | + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) |
| 3369 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 3370 | ;; |
| 3371 | |
| 3372 | @@ -1616,18 +2381,18 @@ |
| 3373 | fi |
| 3374 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 3375 | ;; |
| 3376 | - hppa*64*) |
| 3377 | - shrext_cmds='.sl' |
| 3378 | - hardcode_into_libs=yes |
| 3379 | - dynamic_linker="$host_os dld.sl" |
| 3380 | - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 3381 | - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 3382 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3383 | - soname_spec='${libname}${release}${shared_ext}$major' |
| 3384 | - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 3385 | - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 3386 | - ;; |
| 3387 | - *) |
| 3388 | + hppa*64*) |
| 3389 | + shrext_cmds='.sl' |
| 3390 | + hardcode_into_libs=yes |
| 3391 | + dynamic_linker="$host_os dld.sl" |
| 3392 | + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 3393 | + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 3394 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3395 | + soname_spec='${libname}${release}${shared_ext}$major' |
| 3396 | + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 3397 | + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 3398 | + ;; |
| 3399 | + *) |
| 3400 | shrext_cmds='.sl' |
| 3401 | dynamic_linker="$host_os dld.sl" |
| 3402 | shlibpath_var=SHLIB_PATH |
| 3403 | @@ -1704,16 +2469,28 @@ |
| 3404 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 3405 | shlibpath_var=LD_LIBRARY_PATH |
| 3406 | shlibpath_overrides_runpath=no |
| 3407 | + # Some binutils ld are patched to set DT_RUNPATH |
| 3408 | + save_LDFLAGS=$LDFLAGS |
| 3409 | + save_libdir=$libdir |
| 3410 | + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
| 3411 | + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
| 3412 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 3413 | + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
| 3414 | + [shlibpath_overrides_runpath=yes])]) |
| 3415 | + LDFLAGS=$save_LDFLAGS |
| 3416 | + libdir=$save_libdir |
| 3417 | + |
| 3418 | # This implies no fast_install, which is unacceptable. |
| 3419 | # Some rework will be needed to allow for fast_install |
| 3420 | # before this can be enabled. |
| 3421 | hardcode_into_libs=yes |
| 3422 | - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
| 3423 | - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 3424 | + |
| 3425 | + # Add ABI-specific directories to the system library path. |
| 3426 | + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
| 3427 | |
| 3428 | # Append ld.so.conf contents to the search path |
| 3429 | if test -f /etc/ld.so.conf; then |
| 3430 | - 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' ' '` |
| 3431 | + 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' ' '` |
| 3432 | sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
| 3433 | fi |
| 3434 | |
| 3435 | @@ -1730,7 +2507,7 @@ |
| 3436 | version_type=sunos |
| 3437 | need_lib_prefix=no |
| 3438 | need_version=no |
| 3439 | - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
| 3440 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 3441 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 3442 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 3443 | dynamic_linker='NetBSD (a.out) ld.so' |
| 3444 | @@ -1751,14 +2528,16 @@ |
| 3445 | shlibpath_overrides_runpath=yes |
| 3446 | ;; |
| 3447 | |
| 3448 | -nto-qnx*) |
| 3449 | - version_type=linux |
| 3450 | +*nto* | *qnx*) |
| 3451 | + version_type=qnx |
| 3452 | need_lib_prefix=no |
| 3453 | need_version=no |
| 3454 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3455 | soname_spec='${libname}${release}${shared_ext}$major' |
| 3456 | shlibpath_var=LD_LIBRARY_PATH |
| 3457 | - shlibpath_overrides_runpath=yes |
| 3458 | + shlibpath_overrides_runpath=no |
| 3459 | + hardcode_into_libs=yes |
| 3460 | + dynamic_linker='ldqnx.so' |
| 3461 | ;; |
| 3462 | |
| 3463 | openbsd*) |
| 3464 | @@ -1767,13 +2546,13 @@ |
| 3465 | need_lib_prefix=no |
| 3466 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 3467 | case $host_os in |
| 3468 | - openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 3469 | - *) need_version=no ;; |
| 3470 | + openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 3471 | + *) need_version=no ;; |
| 3472 | esac |
| 3473 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 3474 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 3475 | shlibpath_var=LD_LIBRARY_PATH |
| 3476 | - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 3477 | + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 3478 | case $host_os in |
| 3479 | openbsd2.[[89]] | openbsd2.[[89]].*) |
| 3480 | shlibpath_overrides_runpath=no |
| 3481 | @@ -1845,7 +2624,6 @@ |
| 3482 | sni) |
| 3483 | shlibpath_overrides_runpath=no |
| 3484 | need_lib_prefix=no |
| 3485 | - export_dynamic_flag_spec='${wl}-Blargedynsym' |
| 3486 | runpath_var=LD_RUN_PATH |
| 3487 | ;; |
| 3488 | siemens) |
| 3489 | @@ -1876,13 +2654,12 @@ |
| 3490 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 3491 | soname_spec='${libname}${release}${shared_ext}$major' |
| 3492 | shlibpath_var=LD_LIBRARY_PATH |
| 3493 | + shlibpath_overrides_runpath=yes |
| 3494 | hardcode_into_libs=yes |
| 3495 | if test "$with_gnu_ld" = yes; then |
| 3496 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 3497 | - shlibpath_overrides_runpath=no |
| 3498 | else |
| 3499 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 3500 | - shlibpath_overrides_runpath=yes |
| 3501 | case $host_os in |
| 3502 | sco3.2v5*) |
| 3503 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 3504 | @@ -1892,6 +2669,17 @@ |
| 3505 | sys_lib_dlsearch_path_spec='/usr/lib' |
| 3506 | ;; |
| 3507 | |
| 3508 | +tpf*) |
| 3509 | + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 3510 | + version_type=linux |
| 3511 | + need_lib_prefix=no |
| 3512 | + need_version=no |
| 3513 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3514 | + shlibpath_var=LD_LIBRARY_PATH |
| 3515 | + shlibpath_overrides_runpath=no |
| 3516 | + hardcode_into_libs=yes |
| 3517 | + ;; |
| 3518 | + |
| 3519 | uts4*) |
| 3520 | version_type=linux |
| 3521 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 3522 | @@ -1906,288 +2694,58 @@ |
| 3523 | AC_MSG_RESULT([$dynamic_linker]) |
| 3524 | test "$dynamic_linker" = no && can_build_shared=no |
| 3525 | |
| 3526 | -AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], |
| 3527 | -[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) |
| 3528 | -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 3529 | -AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], |
| 3530 | -[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) |
| 3531 | -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 3532 | - |
| 3533 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 3534 | if test "$GCC" = yes; then |
| 3535 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 3536 | fi |
| 3537 | -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER |
| 3538 | - |
| 3539 | - |
| 3540 | -# _LT_AC_TAGCONFIG |
| 3541 | -# ---------------- |
| 3542 | -AC_DEFUN([_LT_AC_TAGCONFIG], |
| 3543 | -[AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 3544 | -AC_ARG_WITH([tags], |
| 3545 | - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], |
| 3546 | - [include additional configurations @<:@automatic@:>@])], |
| 3547 | - [tagnames="$withval"]) |
| 3548 | - |
| 3549 | -if test -f "$ltmain" && test -n "$tagnames"; then |
| 3550 | - if test ! -f "${ofile}"; then |
| 3551 | - AC_MSG_WARN([output file `$ofile' does not exist]) |
| 3552 | - fi |
| 3553 | - |
| 3554 | - if test -z "$LTCC"; then |
| 3555 | - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" |
| 3556 | - if test -z "$LTCC"; then |
| 3557 | - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) |
| 3558 | - else |
| 3559 | - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) |
| 3560 | - fi |
| 3561 | - fi |
| 3562 | - if test -z "$LTCFLAGS"; then |
| 3563 | - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
| 3564 | - fi |
| 3565 | - |
| 3566 | - # Extract list of available tagged configurations in $ofile. |
| 3567 | - # Note that this assumes the entire list is on one line. |
| 3568 | - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
| 3569 | - |
| 3570 | - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 3571 | - for tagname in $tagnames; do |
| 3572 | - IFS="$lt_save_ifs" |
| 3573 | - # Check whether tagname contains only valid characters |
| 3574 | - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in |
| 3575 | - "") ;; |
| 3576 | - *) AC_MSG_ERROR([invalid tag name: $tagname]) |
| 3577 | - ;; |
| 3578 | - esac |
| 3579 | - |
| 3580 | - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null |
| 3581 | - then |
| 3582 | - AC_MSG_ERROR([tag name \"$tagname\" already exists]) |
| 3583 | - fi |
| 3584 | - |
| 3585 | - # Update the list of available tags. |
| 3586 | - if test -n "$tagname"; then |
| 3587 | - echo appending configuration tag \"$tagname\" to $ofile |
| 3588 | - |
| 3589 | - case $tagname in |
| 3590 | - CXX) |
| 3591 | - if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
| 3592 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
| 3593 | - (test "X$CXX" != "Xg++"))) ; then |
| 3594 | - AC_LIBTOOL_LANG_CXX_CONFIG |
| 3595 | - else |
| 3596 | - tagname="" |
| 3597 | - fi |
| 3598 | - ;; |
| 3599 | - |
| 3600 | - F77) |
| 3601 | - if test -n "$F77" && test "X$F77" != "Xno"; then |
| 3602 | - AC_LIBTOOL_LANG_F77_CONFIG |
| 3603 | - else |
| 3604 | - tagname="" |
| 3605 | - fi |
| 3606 | - ;; |
| 3607 | - |
| 3608 | - GCJ) |
| 3609 | - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
| 3610 | - AC_LIBTOOL_LANG_GCJ_CONFIG |
| 3611 | - else |
| 3612 | - tagname="" |
| 3613 | - fi |
| 3614 | - ;; |
| 3615 | - |
| 3616 | - RC) |
| 3617 | - AC_LIBTOOL_LANG_RC_CONFIG |
| 3618 | - ;; |
| 3619 | - |
| 3620 | - *) |
| 3621 | - AC_MSG_ERROR([Unsupported tag name: $tagname]) |
| 3622 | - ;; |
| 3623 | - esac |
| 3624 | - |
| 3625 | - # Append the new tag name to the list of available tags. |
| 3626 | - if test -n "$tagname" ; then |
| 3627 | - available_tags="$available_tags $tagname" |
| 3628 | - fi |
| 3629 | - fi |
| 3630 | - done |
| 3631 | - IFS="$lt_save_ifs" |
| 3632 | - |
| 3633 | - # Now substitute the updated list of available tags. |
| 3634 | - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then |
| 3635 | - mv "${ofile}T" "$ofile" |
| 3636 | - chmod +x "$ofile" |
| 3637 | - else |
| 3638 | - rm -f "${ofile}T" |
| 3639 | - AC_MSG_ERROR([unable to update list of available tagged configurations.]) |
| 3640 | - fi |
| 3641 | -fi |
| 3642 | -])# _LT_AC_TAGCONFIG |
| 3643 | - |
| 3644 | - |
| 3645 | -# AC_LIBTOOL_DLOPEN |
| 3646 | -# ----------------- |
| 3647 | -# enable checks for dlopen support |
| 3648 | -AC_DEFUN([AC_LIBTOOL_DLOPEN], |
| 3649 | - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) |
| 3650 | -])# AC_LIBTOOL_DLOPEN |
| 3651 | - |
| 3652 | - |
| 3653 | -# AC_LIBTOOL_WIN32_DLL |
| 3654 | -# -------------------- |
| 3655 | -# declare package support for building win32 DLLs |
| 3656 | -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], |
| 3657 | -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) |
| 3658 | -])# AC_LIBTOOL_WIN32_DLL |
| 3659 | - |
| 3660 | - |
| 3661 | -# AC_ENABLE_SHARED([DEFAULT]) |
| 3662 | -# --------------------------- |
| 3663 | -# implement the --enable-shared flag |
| 3664 | -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. |
| 3665 | -AC_DEFUN([AC_ENABLE_SHARED], |
| 3666 | -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl |
| 3667 | -AC_ARG_ENABLE([shared], |
| 3668 | - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], |
| 3669 | - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], |
| 3670 | - [p=${PACKAGE-default} |
| 3671 | - case $enableval in |
| 3672 | - yes) enable_shared=yes ;; |
| 3673 | - no) enable_shared=no ;; |
| 3674 | - *) |
| 3675 | - enable_shared=no |
| 3676 | - # Look at the argument we got. We use all the common list separators. |
| 3677 | - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 3678 | - for pkg in $enableval; do |
| 3679 | - IFS="$lt_save_ifs" |
| 3680 | - if test "X$pkg" = "X$p"; then |
| 3681 | - enable_shared=yes |
| 3682 | - fi |
| 3683 | - done |
| 3684 | - IFS="$lt_save_ifs" |
| 3685 | - ;; |
| 3686 | - esac], |
| 3687 | - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) |
| 3688 | -])# AC_ENABLE_SHARED |
| 3689 | - |
| 3690 | - |
| 3691 | -# AC_DISABLE_SHARED |
| 3692 | -# ----------------- |
| 3693 | -# set the default shared flag to --disable-shared |
| 3694 | -AC_DEFUN([AC_DISABLE_SHARED], |
| 3695 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 3696 | -AC_ENABLE_SHARED(no) |
| 3697 | -])# AC_DISABLE_SHARED |
| 3698 | - |
| 3699 | - |
| 3700 | -# AC_ENABLE_STATIC([DEFAULT]) |
| 3701 | -# --------------------------- |
| 3702 | -# implement the --enable-static flag |
| 3703 | -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. |
| 3704 | -AC_DEFUN([AC_ENABLE_STATIC], |
| 3705 | -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl |
| 3706 | -AC_ARG_ENABLE([static], |
| 3707 | - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], |
| 3708 | - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], |
| 3709 | - [p=${PACKAGE-default} |
| 3710 | - case $enableval in |
| 3711 | - yes) enable_static=yes ;; |
| 3712 | - no) enable_static=no ;; |
| 3713 | - *) |
| 3714 | - enable_static=no |
| 3715 | - # Look at the argument we got. We use all the common list separators. |
| 3716 | - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 3717 | - for pkg in $enableval; do |
| 3718 | - IFS="$lt_save_ifs" |
| 3719 | - if test "X$pkg" = "X$p"; then |
| 3720 | - enable_static=yes |
| 3721 | - fi |
| 3722 | - done |
| 3723 | - IFS="$lt_save_ifs" |
| 3724 | - ;; |
| 3725 | - esac], |
| 3726 | - [enable_static=]AC_ENABLE_STATIC_DEFAULT) |
| 3727 | -])# AC_ENABLE_STATIC |
| 3728 | - |
| 3729 | - |
| 3730 | -# AC_DISABLE_STATIC |
| 3731 | -# ----------------- |
| 3732 | -# set the default static flag to --disable-static |
| 3733 | -AC_DEFUN([AC_DISABLE_STATIC], |
| 3734 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 3735 | -AC_ENABLE_STATIC(no) |
| 3736 | -])# AC_DISABLE_STATIC |
| 3737 | - |
| 3738 | - |
| 3739 | -# AC_ENABLE_FAST_INSTALL([DEFAULT]) |
| 3740 | -# --------------------------------- |
| 3741 | -# implement the --enable-fast-install flag |
| 3742 | -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. |
| 3743 | -AC_DEFUN([AC_ENABLE_FAST_INSTALL], |
| 3744 | -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl |
| 3745 | -AC_ARG_ENABLE([fast-install], |
| 3746 | - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], |
| 3747 | - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], |
| 3748 | - [p=${PACKAGE-default} |
| 3749 | - case $enableval in |
| 3750 | - yes) enable_fast_install=yes ;; |
| 3751 | - no) enable_fast_install=no ;; |
| 3752 | - *) |
| 3753 | - enable_fast_install=no |
| 3754 | - # Look at the argument we got. We use all the common list separators. |
| 3755 | - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 3756 | - for pkg in $enableval; do |
| 3757 | - IFS="$lt_save_ifs" |
| 3758 | - if test "X$pkg" = "X$p"; then |
| 3759 | - enable_fast_install=yes |
| 3760 | - fi |
| 3761 | - done |
| 3762 | - IFS="$lt_save_ifs" |
| 3763 | - ;; |
| 3764 | - esac], |
| 3765 | - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) |
| 3766 | -])# AC_ENABLE_FAST_INSTALL |
| 3767 | - |
| 3768 | - |
| 3769 | -# AC_DISABLE_FAST_INSTALL |
| 3770 | -# ----------------------- |
| 3771 | -# set the default to --disable-fast-install |
| 3772 | -AC_DEFUN([AC_DISABLE_FAST_INSTALL], |
| 3773 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 3774 | -AC_ENABLE_FAST_INSTALL(no) |
| 3775 | -])# AC_DISABLE_FAST_INSTALL |
| 3776 | - |
| 3777 | - |
| 3778 | -# AC_LIBTOOL_PICMODE([MODE]) |
| 3779 | + |
| 3780 | +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 3781 | + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 3782 | +fi |
| 3783 | +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 3784 | + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 3785 | +fi |
| 3786 | + |
| 3787 | +_LT_DECL([], [variables_saved_for_relink], [1], |
| 3788 | + [Variables whose values should be saved in libtool wrapper scripts and |
| 3789 | + restored at link time]) |
| 3790 | +_LT_DECL([], [need_lib_prefix], [0], |
| 3791 | + [Do we need the "lib" prefix for modules?]) |
| 3792 | +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) |
| 3793 | +_LT_DECL([], [version_type], [0], [Library versioning type]) |
| 3794 | +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) |
| 3795 | +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) |
| 3796 | +_LT_DECL([], [shlibpath_overrides_runpath], [0], |
| 3797 | + [Is shlibpath searched before the hard-coded library search path?]) |
| 3798 | +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) |
| 3799 | +_LT_DECL([], [library_names_spec], [1], |
| 3800 | + [[List of archive names. First name is the real one, the rest are links. |
| 3801 | + The last name is the one that the linker finds with -lNAME]]) |
| 3802 | +_LT_DECL([], [soname_spec], [1], |
| 3803 | + [[The coded name of the library, if different from the real name]]) |
| 3804 | +_LT_DECL([], [postinstall_cmds], [2], |
| 3805 | + [Command to use after installation of a shared archive]) |
| 3806 | +_LT_DECL([], [postuninstall_cmds], [2], |
| 3807 | + [Command to use after uninstallation of a shared archive]) |
| 3808 | +_LT_DECL([], [finish_cmds], [2], |
| 3809 | + [Commands used to finish a libtool library installation in a directory]) |
| 3810 | +_LT_DECL([], [finish_eval], [1], |
| 3811 | + [[As "finish_cmds", except a single script fragment to be evaled but |
| 3812 | + not shown]]) |
| 3813 | +_LT_DECL([], [hardcode_into_libs], [0], |
| 3814 | + [Whether we should hardcode library paths into libraries]) |
| 3815 | +_LT_DECL([], [sys_lib_search_path_spec], [2], |
| 3816 | + [Compile-time system search path for libraries]) |
| 3817 | +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], |
| 3818 | + [Run-time system search path for libraries]) |
| 3819 | +])# _LT_SYS_DYNAMIC_LINKER |
| 3820 | + |
| 3821 | + |
| 3822 | +# _LT_PATH_TOOL_PREFIX(TOOL) |
| 3823 | # -------------------------- |
| 3824 | -# implement the --with-pic flag |
| 3825 | -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. |
| 3826 | -AC_DEFUN([AC_LIBTOOL_PICMODE], |
| 3827 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 3828 | -pic_mode=ifelse($#,1,$1,default) |
| 3829 | -])# AC_LIBTOOL_PICMODE |
| 3830 | - |
| 3831 | - |
| 3832 | -# AC_PROG_EGREP |
| 3833 | -# ------------- |
| 3834 | -# This is predefined starting with Autoconf 2.54, so this conditional |
| 3835 | -# definition can be removed once we require Autoconf 2.54 or later. |
| 3836 | -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], |
| 3837 | -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], |
| 3838 | - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3839 | - then ac_cv_prog_egrep='grep -E' |
| 3840 | - else ac_cv_prog_egrep='egrep' |
| 3841 | - fi]) |
| 3842 | - EGREP=$ac_cv_prog_egrep |
| 3843 | - AC_SUBST([EGREP]) |
| 3844 | -])]) |
| 3845 | - |
| 3846 | - |
| 3847 | -# AC_PATH_TOOL_PREFIX |
| 3848 | -# ------------------- |
| 3849 | # find a file program which can recognize shared library |
| 3850 | -AC_DEFUN([AC_PATH_TOOL_PREFIX], |
| 3851 | -[AC_REQUIRE([AC_PROG_EGREP])dnl |
| 3852 | +AC_DEFUN([_LT_PATH_TOOL_PREFIX], |
| 3853 | +[m4_require([_LT_DECL_EGREP])dnl |
| 3854 | AC_MSG_CHECKING([for $1]) |
| 3855 | AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, |
| 3856 | [case $MAGIC_CMD in |
| 3857 | @@ -2200,7 +2758,7 @@ |
| 3858 | dnl $ac_dummy forces splitting on constant user-supplied paths. |
| 3859 | dnl POSIX.2 word splitting is done only on the output of word expansions, |
| 3860 | dnl not every word. This closes a longstanding sh security hole. |
| 3861 | - ac_dummy="ifelse([$2], , $PATH, [$2])" |
| 3862 | + ac_dummy="m4_if([$2], , $PATH, [$2])" |
| 3863 | for ac_dir in $ac_dummy; do |
| 3864 | IFS="$lt_save_ifs" |
| 3865 | test -z "$ac_dir" && ac_dir=. |
| 3866 | @@ -2215,7 +2773,7 @@ |
| 3867 | $EGREP "$file_magic_regex" > /dev/null; then |
| 3868 | : |
| 3869 | else |
| 3870 | - cat <<EOF 1>&2 |
| 3871 | + cat <<_LT_EOF 1>&2 |
| 3872 | |
| 3873 | *** Warning: the command libtool uses to detect shared libraries, |
| 3874 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 3875 | @@ -2226,7 +2784,7 @@ |
| 3876 | *** may want to report the problem to your system manager and/or to |
| 3877 | *** bug-libtool@gnu.org |
| 3878 | |
| 3879 | -EOF |
| 3880 | +_LT_EOF |
| 3881 | fi ;; |
| 3882 | esac |
| 3883 | fi |
| 3884 | @@ -2243,37 +2801,47 @@ |
| 3885 | else |
| 3886 | AC_MSG_RESULT(no) |
| 3887 | fi |
| 3888 | -])# AC_PATH_TOOL_PREFIX |
| 3889 | - |
| 3890 | - |
| 3891 | -# AC_PATH_MAGIC |
| 3892 | -# ------------- |
| 3893 | +_LT_DECL([], [MAGIC_CMD], [0], |
| 3894 | + [Used to examine libraries when file_magic_cmd begins with "file"])dnl |
| 3895 | +])# _LT_PATH_TOOL_PREFIX |
| 3896 | + |
| 3897 | +# Old name: |
| 3898 | +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) |
| 3899 | +dnl aclocal-1.4 backwards compatibility: |
| 3900 | +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) |
| 3901 | + |
| 3902 | + |
| 3903 | +# _LT_PATH_MAGIC |
| 3904 | +# -------------- |
| 3905 | # find a file program which can recognize a shared library |
| 3906 | -AC_DEFUN([AC_PATH_MAGIC], |
| 3907 | -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3908 | +m4_defun([_LT_PATH_MAGIC], |
| 3909 | +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3910 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 3911 | if test -n "$ac_tool_prefix"; then |
| 3912 | - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3913 | + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3914 | else |
| 3915 | MAGIC_CMD=: |
| 3916 | fi |
| 3917 | fi |
| 3918 | -])# AC_PATH_MAGIC |
| 3919 | - |
| 3920 | - |
| 3921 | -# AC_PROG_LD |
| 3922 | +])# _LT_PATH_MAGIC |
| 3923 | + |
| 3924 | + |
| 3925 | +# LT_PATH_LD |
| 3926 | # ---------- |
| 3927 | # find the pathname to the GNU or non-GNU linker |
| 3928 | -AC_DEFUN([AC_PROG_LD], |
| 3929 | -[AC_ARG_WITH([gnu-ld], |
| 3930 | - [AC_HELP_STRING([--with-gnu-ld], |
| 3931 | +AC_DEFUN([LT_PATH_LD], |
| 3932 | +[AC_REQUIRE([AC_PROG_CC])dnl |
| 3933 | +AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3934 | +AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 3935 | +m4_require([_LT_DECL_SED])dnl |
| 3936 | +m4_require([_LT_DECL_EGREP])dnl |
| 3937 | + |
| 3938 | +AC_ARG_WITH([gnu-ld], |
| 3939 | + [AS_HELP_STRING([--with-gnu-ld], |
| 3940 | [assume the C compiler uses GNU ld @<:@default=no@:>@])], |
| 3941 | [test "$withval" = no || with_gnu_ld=yes], |
| 3942 | - [with_gnu_ld=no]) |
| 3943 | -AC_REQUIRE([LT_AC_PROG_SED])dnl |
| 3944 | -AC_REQUIRE([AC_PROG_CC])dnl |
| 3945 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3946 | -AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 3947 | + [with_gnu_ld=no])dnl |
| 3948 | + |
| 3949 | ac_prog=ld |
| 3950 | if test "$GCC" = yes; then |
| 3951 | # Check if gcc -print-prog-name=ld gives a path. |
| 3952 | @@ -2290,9 +2858,9 @@ |
| 3953 | [[\\/]]* | ?:[[\\/]]*) |
| 3954 | re_direlt='/[[^/]][[^/]]*/\.\./' |
| 3955 | # Canonicalize the pathname of ld |
| 3956 | - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
| 3957 | - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
| 3958 | - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
| 3959 | + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 3960 | + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 3961 | + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 3962 | done |
| 3963 | test -z "$LD" && LD="$ac_prog" |
| 3964 | ;; |
| 3965 | @@ -2342,15 +2910,24 @@ |
| 3966 | AC_MSG_RESULT(no) |
| 3967 | fi |
| 3968 | test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) |
| 3969 | -AC_PROG_LD_GNU |
| 3970 | -])# AC_PROG_LD |
| 3971 | - |
| 3972 | - |
| 3973 | -# AC_PROG_LD_GNU |
| 3974 | -# -------------- |
| 3975 | -AC_DEFUN([AC_PROG_LD_GNU], |
| 3976 | -[AC_REQUIRE([AC_PROG_EGREP])dnl |
| 3977 | -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, |
| 3978 | +_LT_PATH_LD_GNU |
| 3979 | +AC_SUBST([LD]) |
| 3980 | + |
| 3981 | +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) |
| 3982 | +])# LT_PATH_LD |
| 3983 | + |
| 3984 | +# Old names: |
| 3985 | +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) |
| 3986 | +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) |
| 3987 | +dnl aclocal-1.4 backwards compatibility: |
| 3988 | +dnl AC_DEFUN([AM_PROG_LD], []) |
| 3989 | +dnl AC_DEFUN([AC_PROG_LD], []) |
| 3990 | + |
| 3991 | + |
| 3992 | +# _LT_PATH_LD_GNU |
| 3993 | +#- -------------- |
| 3994 | +m4_defun([_LT_PATH_LD_GNU], |
| 3995 | +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, |
| 3996 | [# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 3997 | case `$LD -v 2>&1 </dev/null` in |
| 3998 | *GNU* | *'with BFD'*) |
| 3999 | @@ -2361,14 +2938,14 @@ |
| 4000 | ;; |
| 4001 | esac]) |
| 4002 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 4003 | -])# AC_PROG_LD_GNU |
| 4004 | - |
| 4005 | - |
| 4006 | -# AC_PROG_LD_RELOAD_FLAG |
| 4007 | -# ---------------------- |
| 4008 | +])# _LT_PATH_LD_GNU |
| 4009 | + |
| 4010 | + |
| 4011 | +# _LT_CMD_RELOAD |
| 4012 | +# -------------- |
| 4013 | # find reload flag for linker |
| 4014 | # -- PORTME Some linkers may need a different reload flag. |
| 4015 | -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], |
| 4016 | +m4_defun([_LT_CMD_RELOAD], |
| 4017 | [AC_CACHE_CHECK([for $LD option to reload object files], |
| 4018 | lt_cv_ld_reload_flag, |
| 4019 | [lt_cv_ld_reload_flag='-r']) |
| 4020 | @@ -2387,15 +2964,19 @@ |
| 4021 | fi |
| 4022 | ;; |
| 4023 | esac |
| 4024 | -])# AC_PROG_LD_RELOAD_FLAG |
| 4025 | - |
| 4026 | - |
| 4027 | -# AC_DEPLIBS_CHECK_METHOD |
| 4028 | -# ----------------------- |
| 4029 | +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
| 4030 | +_LT_DECL([], [reload_cmds], [2])dnl |
| 4031 | +])# _LT_CMD_RELOAD |
| 4032 | + |
| 4033 | + |
| 4034 | +# _LT_CHECK_MAGIC_METHOD |
| 4035 | +# ---------------------- |
| 4036 | # how to check for library dependencies |
| 4037 | # -- PORTME fill in with the dynamic library characteristics |
| 4038 | -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], |
| 4039 | -[AC_CACHE_CHECK([how to recognize dependent libraries], |
| 4040 | +m4_defun([_LT_CHECK_MAGIC_METHOD], |
| 4041 | +[m4_require([_LT_DECL_EGREP]) |
| 4042 | +m4_require([_LT_DECL_OBJDUMP]) |
| 4043 | +AC_CACHE_CHECK([how to recognize dependent libraries], |
| 4044 | lt_cv_deplibs_check_method, |
| 4045 | [lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 4046 | lt_cv_file_magic_test_file= |
| 4047 | @@ -2445,12 +3026,18 @@ |
| 4048 | fi |
| 4049 | ;; |
| 4050 | |
| 4051 | +cegcc) |
| 4052 | + # use the weaker test based on 'objdump'. See mingw*. |
| 4053 | + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 4054 | + lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 4055 | + ;; |
| 4056 | + |
| 4057 | darwin* | rhapsody*) |
| 4058 | lt_cv_deplibs_check_method=pass_all |
| 4059 | ;; |
| 4060 | |
| 4061 | freebsd* | dragonfly*) |
| 4062 | - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
| 4063 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 4064 | case $host_cpu in |
| 4065 | i*86 ) |
| 4066 | # Not sure whether the presence of OpenBSD here was a mistake. |
| 4067 | @@ -2508,7 +3095,7 @@ |
| 4068 | ;; |
| 4069 | |
| 4070 | netbsd*) |
| 4071 | - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
| 4072 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 4073 | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' |
| 4074 | else |
| 4075 | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' |
| 4076 | @@ -2521,12 +3108,12 @@ |
| 4077 | lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 4078 | ;; |
| 4079 | |
| 4080 | -nto-qnx*) |
| 4081 | - lt_cv_deplibs_check_method=unknown |
| 4082 | +*nto* | *qnx*) |
| 4083 | + lt_cv_deplibs_check_method=pass_all |
| 4084 | ;; |
| 4085 | |
| 4086 | openbsd*) |
| 4087 | - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 4088 | + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 4089 | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' |
| 4090 | else |
| 4091 | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' |
| 4092 | @@ -2545,6 +3132,10 @@ |
| 4093 | lt_cv_deplibs_check_method=pass_all |
| 4094 | ;; |
| 4095 | |
| 4096 | +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 4097 | + lt_cv_deplibs_check_method=pass_all |
| 4098 | + ;; |
| 4099 | + |
| 4100 | sysv4 | sysv4.3*) |
| 4101 | case $host_vendor in |
| 4102 | motorola) |
| 4103 | @@ -2572,7 +3163,7 @@ |
| 4104 | esac |
| 4105 | ;; |
| 4106 | |
| 4107 | -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 4108 | +tpf*) |
| 4109 | lt_cv_deplibs_check_method=pass_all |
| 4110 | ;; |
| 4111 | esac |
| 4112 | @@ -2580,14 +3171,20 @@ |
| 4113 | file_magic_cmd=$lt_cv_file_magic_cmd |
| 4114 | deplibs_check_method=$lt_cv_deplibs_check_method |
| 4115 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 4116 | -])# AC_DEPLIBS_CHECK_METHOD |
| 4117 | - |
| 4118 | - |
| 4119 | -# AC_PROG_NM |
| 4120 | + |
| 4121 | +_LT_DECL([], [deplibs_check_method], [1], |
| 4122 | + [Method to check whether dependent libraries are shared objects]) |
| 4123 | +_LT_DECL([], [file_magic_cmd], [1], |
| 4124 | + [Command to use when deplibs_check_method == "file_magic"]) |
| 4125 | +])# _LT_CHECK_MAGIC_METHOD |
| 4126 | + |
| 4127 | + |
| 4128 | +# LT_PATH_NM |
| 4129 | # ---------- |
| 4130 | -# find the pathname to a BSD-compatible name lister |
| 4131 | -AC_DEFUN([AC_PROG_NM], |
| 4132 | -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, |
| 4133 | +# find the pathname to a BSD- or MS-compatible name lister |
| 4134 | +AC_DEFUN([LT_PATH_NM], |
| 4135 | +[AC_REQUIRE([AC_PROG_CC])dnl |
| 4136 | +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, |
| 4137 | [if test -n "$NM"; then |
| 4138 | # Let the user override the test. |
| 4139 | lt_cv_path_NM="$NM" |
| 4140 | @@ -2629,16 +3226,51 @@ |
| 4141 | done |
| 4142 | IFS="$lt_save_ifs" |
| 4143 | done |
| 4144 | - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
| 4145 | + : ${lt_cv_path_NM=no} |
| 4146 | fi]) |
| 4147 | -NM="$lt_cv_path_NM" |
| 4148 | -])# AC_PROG_NM |
| 4149 | - |
| 4150 | - |
| 4151 | -# AC_CHECK_LIBM |
| 4152 | -# ------------- |
| 4153 | +if test "$lt_cv_path_NM" != "no"; then |
| 4154 | + NM="$lt_cv_path_NM" |
| 4155 | +else |
| 4156 | + # Didn't find any BSD compatible name lister, look for dumpbin. |
| 4157 | + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) |
| 4158 | + AC_SUBST([DUMPBIN]) |
| 4159 | + if test "$DUMPBIN" != ":"; then |
| 4160 | + NM="$DUMPBIN" |
| 4161 | + fi |
| 4162 | +fi |
| 4163 | +test -z "$NM" && NM=nm |
| 4164 | +AC_SUBST([NM]) |
| 4165 | +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl |
| 4166 | + |
| 4167 | +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
| 4168 | + [lt_cv_nm_interface="BSD nm" |
| 4169 | + echo "int some_variable = 0;" > conftest.$ac_ext |
| 4170 | + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
| 4171 | + (eval "$ac_compile" 2>conftest.err) |
| 4172 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
| 4173 | + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
| 4174 | + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 4175 | + cat conftest.err >&AS_MESSAGE_LOG_FD |
| 4176 | + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) |
| 4177 | + cat conftest.out >&AS_MESSAGE_LOG_FD |
| 4178 | + if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 4179 | + lt_cv_nm_interface="MS dumpbin" |
| 4180 | + fi |
| 4181 | + rm -f conftest*]) |
| 4182 | +])# LT_PATH_NM |
| 4183 | + |
| 4184 | +# Old names: |
| 4185 | +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) |
| 4186 | +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) |
| 4187 | +dnl aclocal-1.4 backwards compatibility: |
| 4188 | +dnl AC_DEFUN([AM_PROG_NM], []) |
| 4189 | +dnl AC_DEFUN([AC_PROG_NM], []) |
| 4190 | + |
| 4191 | + |
| 4192 | +# LT_LIB_M |
| 4193 | +# -------- |
| 4194 | # check for math library |
| 4195 | -AC_DEFUN([AC_CHECK_LIBM], |
| 4196 | +AC_DEFUN([LT_LIB_M], |
| 4197 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 4198 | LIBM= |
| 4199 | case $host in |
| 4200 | @@ -2653,2155 +3285,46 @@ |
| 4201 | AC_CHECK_LIB(m, cos, LIBM="-lm") |
| 4202 | ;; |
| 4203 | esac |
| 4204 | -])# AC_CHECK_LIBM |
| 4205 | - |
| 4206 | - |
| 4207 | -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) |
| 4208 | -# ----------------------------------- |
| 4209 | -# sets LIBLTDL to the link flags for the libltdl convenience library and |
| 4210 | -# LTDLINCL to the include flags for the libltdl header and adds |
| 4211 | -# --enable-ltdl-convenience to the configure arguments. Note that |
| 4212 | -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, |
| 4213 | -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with |
| 4214 | -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' |
| 4215 | -# (note the single quotes!). If your package is not flat and you're not |
| 4216 | -# using automake, define top_builddir and top_srcdir appropriately in |
| 4217 | -# the Makefiles. |
| 4218 | -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], |
| 4219 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 4220 | - case $enable_ltdl_convenience in |
| 4221 | - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; |
| 4222 | - "") enable_ltdl_convenience=yes |
| 4223 | - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| 4224 | - esac |
| 4225 | - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
| 4226 | - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
| 4227 | - # For backwards non-gettext consistent compatibility... |
| 4228 | - INCLTDL="$LTDLINCL" |
| 4229 | -])# AC_LIBLTDL_CONVENIENCE |
| 4230 | - |
| 4231 | - |
| 4232 | -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) |
| 4233 | -# ----------------------------------- |
| 4234 | -# sets LIBLTDL to the link flags for the libltdl installable library and |
| 4235 | -# LTDLINCL to the include flags for the libltdl header and adds |
| 4236 | -# --enable-ltdl-install to the configure arguments. Note that |
| 4237 | -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, |
| 4238 | -# and an installed libltdl is not found, it is assumed to be `libltdl'. |
| 4239 | -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with |
| 4240 | -# '${top_srcdir}/' (note the single quotes!). If your package is not |
| 4241 | -# flat and you're not using automake, define top_builddir and top_srcdir |
| 4242 | -# appropriately in the Makefiles. |
| 4243 | -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. |
| 4244 | -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], |
| 4245 | -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
| 4246 | - AC_CHECK_LIB(ltdl, lt_dlinit, |
| 4247 | - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], |
| 4248 | - [if test x"$enable_ltdl_install" = xno; then |
| 4249 | - AC_MSG_WARN([libltdl not installed, but installation disabled]) |
| 4250 | - else |
| 4251 | - enable_ltdl_install=yes |
| 4252 | - fi |
| 4253 | - ]) |
| 4254 | - if test x"$enable_ltdl_install" = x"yes"; then |
| 4255 | - ac_configure_args="$ac_configure_args --enable-ltdl-install" |
| 4256 | - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
| 4257 | - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
| 4258 | - else |
| 4259 | - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
| 4260 | - LIBLTDL="-lltdl" |
| 4261 | - LTDLINCL= |
| 4262 | - fi |
| 4263 | - # For backwards non-gettext consistent compatibility... |
| 4264 | - INCLTDL="$LTDLINCL" |
| 4265 | -])# AC_LIBLTDL_INSTALLABLE |
| 4266 | - |
| 4267 | - |
| 4268 | -# AC_LIBTOOL_CXX |
| 4269 | -# -------------- |
| 4270 | -# enable support for C++ libraries |
| 4271 | -AC_DEFUN([AC_LIBTOOL_CXX], |
| 4272 | -[AC_REQUIRE([_LT_AC_LANG_CXX]) |
| 4273 | -])# AC_LIBTOOL_CXX |
| 4274 | - |
| 4275 | - |
| 4276 | -# _LT_AC_LANG_CXX |
| 4277 | -# --------------- |
| 4278 | -AC_DEFUN([_LT_AC_LANG_CXX], |
| 4279 | -[AC_REQUIRE([AC_PROG_CXX]) |
| 4280 | -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) |
| 4281 | -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) |
| 4282 | -])# _LT_AC_LANG_CXX |
| 4283 | - |
| 4284 | -# _LT_AC_PROG_CXXCPP |
| 4285 | -# ------------------ |
| 4286 | -AC_DEFUN([_LT_AC_PROG_CXXCPP], |
| 4287 | -[ |
| 4288 | -AC_REQUIRE([AC_PROG_CXX]) |
| 4289 | -if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
| 4290 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
| 4291 | - (test "X$CXX" != "Xg++"))) ; then |
| 4292 | - AC_PROG_CXXCPP |
| 4293 | -fi |
| 4294 | -])# _LT_AC_PROG_CXXCPP |
| 4295 | - |
| 4296 | -# AC_LIBTOOL_F77 |
| 4297 | -# -------------- |
| 4298 | -# enable support for Fortran 77 libraries |
| 4299 | -AC_DEFUN([AC_LIBTOOL_F77], |
| 4300 | -[AC_REQUIRE([_LT_AC_LANG_F77]) |
| 4301 | -])# AC_LIBTOOL_F77 |
| 4302 | - |
| 4303 | - |
| 4304 | -# _LT_AC_LANG_F77 |
| 4305 | -# --------------- |
| 4306 | -AC_DEFUN([_LT_AC_LANG_F77], |
| 4307 | -[AC_REQUIRE([AC_PROG_F77]) |
| 4308 | -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) |
| 4309 | -])# _LT_AC_LANG_F77 |
| 4310 | - |
| 4311 | - |
| 4312 | -# AC_LIBTOOL_GCJ |
| 4313 | -# -------------- |
| 4314 | -# enable support for GCJ libraries |
| 4315 | -AC_DEFUN([AC_LIBTOOL_GCJ], |
| 4316 | -[AC_REQUIRE([_LT_AC_LANG_GCJ]) |
| 4317 | -])# AC_LIBTOOL_GCJ |
| 4318 | - |
| 4319 | - |
| 4320 | -# _LT_AC_LANG_GCJ |
| 4321 | -# --------------- |
| 4322 | -AC_DEFUN([_LT_AC_LANG_GCJ], |
| 4323 | -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], |
| 4324 | - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], |
| 4325 | - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], |
| 4326 | - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], |
| 4327 | - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], |
| 4328 | - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) |
| 4329 | -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) |
| 4330 | -])# _LT_AC_LANG_GCJ |
| 4331 | - |
| 4332 | - |
| 4333 | -# AC_LIBTOOL_RC |
| 4334 | -# ------------- |
| 4335 | -# enable support for Windows resource files |
| 4336 | -AC_DEFUN([AC_LIBTOOL_RC], |
| 4337 | -[AC_REQUIRE([LT_AC_PROG_RC]) |
| 4338 | -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) |
| 4339 | -])# AC_LIBTOOL_RC |
| 4340 | - |
| 4341 | - |
| 4342 | -# AC_LIBTOOL_LANG_C_CONFIG |
| 4343 | -# ------------------------ |
| 4344 | -# Ensure that the configuration vars for the C compiler are |
| 4345 | -# suitably defined. Those variables are subsequently used by |
| 4346 | -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. |
| 4347 | -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) |
| 4348 | -AC_DEFUN([_LT_AC_LANG_C_CONFIG], |
| 4349 | -[lt_save_CC="$CC" |
| 4350 | -AC_LANG_PUSH(C) |
| 4351 | - |
| 4352 | -# Source file extension for C test sources. |
| 4353 | -ac_ext=c |
| 4354 | - |
| 4355 | -# Object file extension for compiled C test sources. |
| 4356 | -objext=o |
| 4357 | -_LT_AC_TAGVAR(objext, $1)=$objext |
| 4358 | - |
| 4359 | -# Code to be used in simple compile tests |
| 4360 | -lt_simple_compile_test_code="int some_variable = 0;" |
| 4361 | - |
| 4362 | -# Code to be used in simple link tests |
| 4363 | -lt_simple_link_test_code='int main(){return(0);}' |
| 4364 | - |
| 4365 | -_LT_AC_SYS_COMPILER |
| 4366 | - |
| 4367 | -# save warnings/boilerplate of simple test code |
| 4368 | -_LT_COMPILER_BOILERPLATE |
| 4369 | -_LT_LINKER_BOILERPLATE |
| 4370 | - |
| 4371 | -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) |
| 4372 | -AC_LIBTOOL_PROG_COMPILER_PIC($1) |
| 4373 | -AC_LIBTOOL_PROG_CC_C_O($1) |
| 4374 | -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) |
| 4375 | -AC_LIBTOOL_PROG_LD_SHLIBS($1) |
| 4376 | -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) |
| 4377 | -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) |
| 4378 | -AC_LIBTOOL_SYS_LIB_STRIP |
| 4379 | -AC_LIBTOOL_DLOPEN_SELF |
| 4380 | - |
| 4381 | -# Report which library types will actually be built |
| 4382 | -AC_MSG_CHECKING([if libtool supports shared libraries]) |
| 4383 | -AC_MSG_RESULT([$can_build_shared]) |
| 4384 | - |
| 4385 | -AC_MSG_CHECKING([whether to build shared libraries]) |
| 4386 | -test "$can_build_shared" = "no" && enable_shared=no |
| 4387 | - |
| 4388 | -# On AIX, shared libraries and static libraries use the same namespace, and |
| 4389 | -# are all built from PIC. |
| 4390 | -case $host_os in |
| 4391 | -aix3*) |
| 4392 | - test "$enable_shared" = yes && enable_static=no |
| 4393 | - if test -n "$RANLIB"; then |
| 4394 | - archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 4395 | - postinstall_cmds='$RANLIB $lib' |
| 4396 | - fi |
| 4397 | - ;; |
| 4398 | - |
| 4399 | -aix[[4-9]]*) |
| 4400 | - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 4401 | - test "$enable_shared" = yes && enable_static=no |
| 4402 | - fi |
| 4403 | - ;; |
| 4404 | -esac |
| 4405 | -AC_MSG_RESULT([$enable_shared]) |
| 4406 | - |
| 4407 | -AC_MSG_CHECKING([whether to build static libraries]) |
| 4408 | -# Make sure either enable_shared or enable_static is yes. |
| 4409 | -test "$enable_shared" = yes || enable_static=yes |
| 4410 | -AC_MSG_RESULT([$enable_static]) |
| 4411 | - |
| 4412 | -AC_LIBTOOL_CONFIG($1) |
| 4413 | - |
| 4414 | -AC_LANG_POP |
| 4415 | -CC="$lt_save_CC" |
| 4416 | -])# AC_LIBTOOL_LANG_C_CONFIG |
| 4417 | - |
| 4418 | - |
| 4419 | -# AC_LIBTOOL_LANG_CXX_CONFIG |
| 4420 | -# -------------------------- |
| 4421 | -# Ensure that the configuration vars for the C compiler are |
| 4422 | -# suitably defined. Those variables are subsequently used by |
| 4423 | -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. |
| 4424 | -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) |
| 4425 | -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], |
| 4426 | -[AC_LANG_PUSH(C++) |
| 4427 | -AC_REQUIRE([AC_PROG_CXX]) |
| 4428 | -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) |
| 4429 | - |
| 4430 | -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 4431 | -_LT_AC_TAGVAR(allow_undefined_flag, $1)= |
| 4432 | -_LT_AC_TAGVAR(always_export_symbols, $1)=no |
| 4433 | -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= |
| 4434 | -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= |
| 4435 | -_LT_AC_TAGVAR(hardcode_direct, $1)=no |
| 4436 | -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 4437 | -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= |
| 4438 | -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= |
| 4439 | -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no |
| 4440 | -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 4441 | -_LT_AC_TAGVAR(hardcode_automatic, $1)=no |
| 4442 | -_LT_AC_TAGVAR(module_cmds, $1)= |
| 4443 | -_LT_AC_TAGVAR(module_expsym_cmds, $1)= |
| 4444 | -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown |
| 4445 | -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 4446 | -_LT_AC_TAGVAR(no_undefined_flag, $1)= |
| 4447 | -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= |
| 4448 | -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
| 4449 | - |
| 4450 | -# Dependencies to place before and after the object being linked: |
| 4451 | -_LT_AC_TAGVAR(predep_objects, $1)= |
| 4452 | -_LT_AC_TAGVAR(postdep_objects, $1)= |
| 4453 | -_LT_AC_TAGVAR(predeps, $1)= |
| 4454 | -_LT_AC_TAGVAR(postdeps, $1)= |
| 4455 | -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= |
| 4456 | -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= |
| 4457 | - |
| 4458 | -# Source file extension for C++ test sources. |
| 4459 | -ac_ext=cpp |
| 4460 | - |
| 4461 | -# Object file extension for compiled C++ test sources. |
| 4462 | -objext=o |
| 4463 | -_LT_AC_TAGVAR(objext, $1)=$objext |
| 4464 | - |
| 4465 | -# Code to be used in simple compile tests |
| 4466 | -lt_simple_compile_test_code="int some_variable = 0;" |
| 4467 | - |
| 4468 | -# Code to be used in simple link tests |
| 4469 | -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' |
| 4470 | - |
| 4471 | -# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 4472 | -_LT_AC_SYS_COMPILER |
| 4473 | - |
| 4474 | -# save warnings/boilerplate of simple test code |
| 4475 | -_LT_COMPILER_BOILERPLATE |
| 4476 | -_LT_LINKER_BOILERPLATE |
| 4477 | - |
| 4478 | -# Allow CC to be a program name with arguments. |
| 4479 | -lt_save_CC=$CC |
| 4480 | -lt_save_LD=$LD |
| 4481 | -lt_save_GCC=$GCC |
| 4482 | -GCC=$GXX |
| 4483 | -lt_save_with_gnu_ld=$with_gnu_ld |
| 4484 | -lt_save_path_LD=$lt_cv_path_LD |
| 4485 | -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
| 4486 | - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
| 4487 | -else |
| 4488 | - $as_unset lt_cv_prog_gnu_ld |
| 4489 | -fi |
| 4490 | -if test -n "${lt_cv_path_LDCXX+set}"; then |
| 4491 | - lt_cv_path_LD=$lt_cv_path_LDCXX |
| 4492 | -else |
| 4493 | - $as_unset lt_cv_path_LD |
| 4494 | -fi |
| 4495 | -test -z "${LDCXX+set}" || LD=$LDCXX |
| 4496 | -CC=${CXX-"c++"} |
| 4497 | -compiler=$CC |
| 4498 | -_LT_AC_TAGVAR(compiler, $1)=$CC |
| 4499 | -_LT_CC_BASENAME([$compiler]) |
| 4500 | - |
| 4501 | -# We don't want -fno-exception wen compiling C++ code, so set the |
| 4502 | -# no_builtin_flag separately |
| 4503 | -if test "$GXX" = yes; then |
| 4504 | - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' |
| 4505 | -else |
| 4506 | - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
| 4507 | -fi |
| 4508 | - |
| 4509 | -if test "$GXX" = yes; then |
| 4510 | - # Set up default GNU C++ configuration |
| 4511 | - |
| 4512 | - AC_PROG_LD |
| 4513 | - |
| 4514 | - # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 4515 | - # archiving commands below assume that GNU ld is being used. |
| 4516 | - if test "$with_gnu_ld" = yes; then |
| 4517 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 4518 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 4519 | - |
| 4520 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
| 4521 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 4522 | - |
| 4523 | - # If archive_cmds runs LD, not CC, wlarc should be empty |
| 4524 | - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
| 4525 | - # investigate it a little bit more. (MM) |
| 4526 | - wlarc='${wl}' |
| 4527 | - |
| 4528 | - # ancient GNU ld didn't support --whole-archive et. al. |
| 4529 | - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ |
| 4530 | - grep 'no-whole-archive' > /dev/null; then |
| 4531 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 4532 | - else |
| 4533 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= |
| 4534 | - fi |
| 4535 | - else |
| 4536 | - with_gnu_ld=no |
| 4537 | - wlarc= |
| 4538 | - |
| 4539 | - # A generic and very simple default shared library creation |
| 4540 | - # command for GNU C++ for the case where it uses the native |
| 4541 | - # linker, instead of GNU ld. If possible, this setting should |
| 4542 | - # overridden to take advantage of the native linker features on |
| 4543 | - # the platform it is being used on. |
| 4544 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 4545 | - fi |
| 4546 | - |
| 4547 | - # Commands to make compiler produce verbose output that lists |
| 4548 | - # what "hidden" libraries, object files and flags are used when |
| 4549 | - # linking a shared library. |
| 4550 | - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
| 4551 | - |
| 4552 | -else |
| 4553 | - GXX=no |
| 4554 | - with_gnu_ld=no |
| 4555 | - wlarc= |
| 4556 | -fi |
| 4557 | - |
| 4558 | -# PORTME: fill in a description of your system's C++ link characteristics |
| 4559 | -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) |
| 4560 | -_LT_AC_TAGVAR(ld_shlibs, $1)=yes |
| 4561 | -case $host_os in |
| 4562 | - aix3*) |
| 4563 | - # FIXME: insert proper C++ library support |
| 4564 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4565 | - ;; |
| 4566 | - aix[[4-9]]*) |
| 4567 | - if test "$host_cpu" = ia64; then |
| 4568 | - # On IA64, the linker does run time linking by default, so we don't |
| 4569 | - # have to do anything special. |
| 4570 | - aix_use_runtimelinking=no |
| 4571 | - exp_sym_flag='-Bexport' |
| 4572 | - no_entry_flag="" |
| 4573 | - else |
| 4574 | - aix_use_runtimelinking=no |
| 4575 | - |
| 4576 | - # Test if we are trying to use run time linking or normal |
| 4577 | - # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 4578 | - # need to do runtime linking. |
| 4579 | - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) |
| 4580 | - for ld_flag in $LDFLAGS; do |
| 4581 | - case $ld_flag in |
| 4582 | - *-brtl*) |
| 4583 | - aix_use_runtimelinking=yes |
| 4584 | - break |
| 4585 | - ;; |
| 4586 | - esac |
| 4587 | - done |
| 4588 | - ;; |
| 4589 | - esac |
| 4590 | - |
| 4591 | - exp_sym_flag='-bexport' |
| 4592 | - no_entry_flag='-bnoentry' |
| 4593 | - fi |
| 4594 | - |
| 4595 | - # When large executables or shared objects are built, AIX ld can |
| 4596 | - # have problems creating the table of contents. If linking a library |
| 4597 | - # or program results in "error TOC overflow" add -mminimal-toc to |
| 4598 | - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 4599 | - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 4600 | - |
| 4601 | - _LT_AC_TAGVAR(archive_cmds, $1)='' |
| 4602 | - _LT_AC_TAGVAR(hardcode_direct, $1)=yes |
| 4603 | - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' |
| 4604 | - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
| 4605 | - |
| 4606 | - if test "$GXX" = yes; then |
| 4607 | - case $host_os in aix4.[[012]]|aix4.[[012]].*) |
| 4608 | - # We only want to do this on AIX 4.2 and lower, the check |
| 4609 | - # below for broken collect2 doesn't work under 4.3+ |
| 4610 | - collect2name=`${CC} -print-prog-name=collect2` |
| 4611 | - if test -f "$collect2name" && \ |
| 4612 | - strings "$collect2name" | grep resolve_lib_name >/dev/null |
| 4613 | - then |
| 4614 | - # We have reworked collect2 |
| 4615 | - : |
| 4616 | - else |
| 4617 | - # We have old collect2 |
| 4618 | - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported |
| 4619 | - # It fails to find uninstalled libraries when the uninstalled |
| 4620 | - # path is not listed in the libpath. Setting hardcode_minus_L |
| 4621 | - # to unsupported forces relinking |
| 4622 | - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes |
| 4623 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 4624 | - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= |
| 4625 | - fi |
| 4626 | - ;; |
| 4627 | - esac |
| 4628 | - shared_flag='-shared' |
| 4629 | - if test "$aix_use_runtimelinking" = yes; then |
| 4630 | - shared_flag="$shared_flag "'${wl}-G' |
| 4631 | - fi |
| 4632 | - else |
| 4633 | - # not using gcc |
| 4634 | - if test "$host_cpu" = ia64; then |
| 4635 | - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 4636 | - # chokes on -Wl,-G. The following line is correct: |
| 4637 | - shared_flag='-G' |
| 4638 | - else |
| 4639 | - if test "$aix_use_runtimelinking" = yes; then |
| 4640 | - shared_flag='${wl}-G' |
| 4641 | - else |
| 4642 | - shared_flag='${wl}-bM:SRE' |
| 4643 | - fi |
| 4644 | - fi |
| 4645 | - fi |
| 4646 | - |
| 4647 | - # It seems that -bexpall does not export symbols beginning with |
| 4648 | - # underscore (_), so it is better to generate a list of symbols to export. |
| 4649 | - _LT_AC_TAGVAR(always_export_symbols, $1)=yes |
| 4650 | - if test "$aix_use_runtimelinking" = yes; then |
| 4651 | - # Warning - without using the other runtime loading flags (-brtl), |
| 4652 | - # -berok will link without error, but may produce a broken library. |
| 4653 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' |
| 4654 | - # Determine the default libpath from the value encoded in an empty executable. |
| 4655 | - _LT_AC_SYS_LIBPATH_AIX |
| 4656 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 4657 | - |
| 4658 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 4659 | - else |
| 4660 | - if test "$host_cpu" = ia64; then |
| 4661 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
| 4662 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" |
| 4663 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 4664 | - else |
| 4665 | - # Determine the default libpath from the value encoded in an empty executable. |
| 4666 | - _LT_AC_SYS_LIBPATH_AIX |
| 4667 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 4668 | - # Warning - without using the other run time loading flags, |
| 4669 | - # -berok will link without error, but may produce a broken library. |
| 4670 | - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
| 4671 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' |
| 4672 | - # Exported symbols can be pulled into shared objects from archives |
| 4673 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 4674 | - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 4675 | - # This is similar to how AIX traditionally builds its shared libraries. |
| 4676 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 4677 | - fi |
| 4678 | - fi |
| 4679 | - ;; |
| 4680 | - |
| 4681 | - beos*) |
| 4682 | - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 4683 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4684 | - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 4685 | - # support --undefined. This deserves some investigation. FIXME |
| 4686 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 4687 | - else |
| 4688 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4689 | - fi |
| 4690 | - ;; |
| 4691 | - |
| 4692 | - chorus*) |
| 4693 | - case $cc_basename in |
| 4694 | - *) |
| 4695 | - # FIXME: insert proper C++ library support |
| 4696 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4697 | - ;; |
| 4698 | - esac |
| 4699 | - ;; |
| 4700 | - |
| 4701 | - cygwin* | mingw* | pw32*) |
| 4702 | - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 4703 | - # as there is no search path for DLLs. |
| 4704 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 4705 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4706 | - _LT_AC_TAGVAR(always_export_symbols, $1)=no |
| 4707 | - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 4708 | - |
| 4709 | - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 4710 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 4711 | - # If the export-symbols file already is a .def file (1st line |
| 4712 | - # is EXPORTS), use it as is; otherwise, prepend... |
| 4713 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 4714 | - cp $export_symbols $output_objdir/$soname.def; |
| 4715 | - else |
| 4716 | - echo EXPORTS > $output_objdir/$soname.def; |
| 4717 | - cat $export_symbols >> $output_objdir/$soname.def; |
| 4718 | - fi~ |
| 4719 | - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 4720 | - else |
| 4721 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4722 | - fi |
| 4723 | - ;; |
| 4724 | - darwin* | rhapsody*) |
| 4725 | - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 4726 | - _LT_AC_TAGVAR(hardcode_direct, $1)=no |
| 4727 | - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes |
| 4728 | - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 4729 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' |
| 4730 | - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
| 4731 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
| 4732 | - if test "$GXX" = yes ; then |
| 4733 | - output_verbose_link_cmd='echo' |
| 4734 | - _LT_AC_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}" |
| 4735 | - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 4736 | - _LT_AC_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}" |
| 4737 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
| 4738 | - if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
| 4739 | - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" |
| 4740 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
| 4741 | - fi |
| 4742 | - else |
| 4743 | - case $cc_basename in |
| 4744 | - xlc*) |
| 4745 | - output_verbose_link_cmd='echo' |
| 4746 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
| 4747 | - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
| 4748 | - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
| 4749 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 4750 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 4751 | - ;; |
| 4752 | - *) |
| 4753 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4754 | - ;; |
| 4755 | - esac |
| 4756 | - fi |
| 4757 | - ;; |
| 4758 | - |
| 4759 | - dgux*) |
| 4760 | - case $cc_basename in |
| 4761 | - ec++*) |
| 4762 | - # FIXME: insert proper C++ library support |
| 4763 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4764 | - ;; |
| 4765 | - ghcx*) |
| 4766 | - # Green Hills C++ Compiler |
| 4767 | - # FIXME: insert proper C++ library support |
| 4768 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4769 | - ;; |
| 4770 | - *) |
| 4771 | - # FIXME: insert proper C++ library support |
| 4772 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4773 | - ;; |
| 4774 | - esac |
| 4775 | - ;; |
| 4776 | - freebsd[[12]]*) |
| 4777 | - # C++ shared libraries reported to be fairly broken before switch to ELF |
| 4778 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4779 | - ;; |
| 4780 | - freebsd-elf*) |
| 4781 | - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 4782 | - ;; |
| 4783 | - freebsd* | dragonfly*) |
| 4784 | - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
| 4785 | - # conventions |
| 4786 | - _LT_AC_TAGVAR(ld_shlibs, $1)=yes |
| 4787 | - ;; |
| 4788 | - gnu*) |
| 4789 | - ;; |
| 4790 | - hpux9*) |
| 4791 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
| 4792 | - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: |
| 4793 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
| 4794 | - _LT_AC_TAGVAR(hardcode_direct, $1)=yes |
| 4795 | - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, |
| 4796 | - # but as the default |
| 4797 | - # location of the library. |
| 4798 | - |
| 4799 | - case $cc_basename in |
| 4800 | - CC*) |
| 4801 | - # FIXME: insert proper C++ library support |
| 4802 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4803 | - ;; |
| 4804 | - aCC*) |
| 4805 | - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 4806 | - # Commands to make compiler produce verbose output that lists |
| 4807 | - # what "hidden" libraries, object files and flags are used when |
| 4808 | - # linking a shared library. |
| 4809 | - # |
| 4810 | - # There doesn't appear to be a way to prevent this compiler from |
| 4811 | - # explicitly linking system object files so we need to strip them |
| 4812 | - # from the output so that they don't get included in the library |
| 4813 | - # dependencies. |
| 4814 | - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
| 4815 | - ;; |
| 4816 | - *) |
| 4817 | - if test "$GXX" = yes; then |
| 4818 | - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 4819 | - else |
| 4820 | - # FIXME: insert proper C++ library support |
| 4821 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4822 | - fi |
| 4823 | - ;; |
| 4824 | - esac |
| 4825 | - ;; |
| 4826 | - hpux10*|hpux11*) |
| 4827 | - if test $with_gnu_ld = no; then |
| 4828 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
| 4829 | - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: |
| 4830 | - |
| 4831 | - case $host_cpu in |
| 4832 | - hppa*64*|ia64*) ;; |
| 4833 | - *) |
| 4834 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
| 4835 | - ;; |
| 4836 | - esac |
| 4837 | - fi |
| 4838 | - case $host_cpu in |
| 4839 | - hppa*64*|ia64*) |
| 4840 | - _LT_AC_TAGVAR(hardcode_direct, $1)=no |
| 4841 | - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 4842 | - ;; |
| 4843 | - *) |
| 4844 | - _LT_AC_TAGVAR(hardcode_direct, $1)=yes |
| 4845 | - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, |
| 4846 | - # but as the default |
| 4847 | - # location of the library. |
| 4848 | - ;; |
| 4849 | - esac |
| 4850 | - |
| 4851 | - case $cc_basename in |
| 4852 | - CC*) |
| 4853 | - # FIXME: insert proper C++ library support |
| 4854 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4855 | - ;; |
| 4856 | - aCC*) |
| 4857 | - case $host_cpu in |
| 4858 | - hppa*64*) |
| 4859 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4860 | - ;; |
| 4861 | - ia64*) |
| 4862 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4863 | - ;; |
| 4864 | - *) |
| 4865 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4866 | - ;; |
| 4867 | - esac |
| 4868 | - # Commands to make compiler produce verbose output that lists |
| 4869 | - # what "hidden" libraries, object files and flags are used when |
| 4870 | - # linking a shared library. |
| 4871 | - # |
| 4872 | - # There doesn't appear to be a way to prevent this compiler from |
| 4873 | - # explicitly linking system object files so we need to strip them |
| 4874 | - # from the output so that they don't get included in the library |
| 4875 | - # dependencies. |
| 4876 | - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
| 4877 | - ;; |
| 4878 | - *) |
| 4879 | - if test "$GXX" = yes; then |
| 4880 | - if test $with_gnu_ld = no; then |
| 4881 | - case $host_cpu in |
| 4882 | - hppa*64*) |
| 4883 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4884 | - ;; |
| 4885 | - ia64*) |
| 4886 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4887 | - ;; |
| 4888 | - *) |
| 4889 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 4890 | - ;; |
| 4891 | - esac |
| 4892 | - fi |
| 4893 | - else |
| 4894 | - # FIXME: insert proper C++ library support |
| 4895 | - _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 4896 | - fi |
| 4897 | - ;; |
| 4898 | - esac |
| 4899 | - ;; |
| 4900 | - interix[[3-9]]*) |
| 4901 | - _LT_AC_TAGVAR(hardcode_direct, $1)=no |
| 4902 | - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 4903 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
| 4904 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
| 4905 | - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 4906 | - # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 4907 | - # default) and relocated if they conflict, which is a slow very memory |
| 4908 | - # consuming and fragmenting process. To avoid this, we pick a random, |
| 4909 | - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 4910 | - # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 4911 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 4912 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 4913 | - ;; |
| 4914 | - irix5* | irix6*) |
| 4915 | - case $cc_basename in |
| 4916 | - CC*) |
| 4917 | - # SGI C++ |
| 4918 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
| 4919 | - |
| 4920 | - # Archives containing C++ object files must be created using |
| 4921 | - # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
| 4922 | - # necessary to make sure instantiated templates are included |
| 4923 | - # in the archive. |
| 4924 | - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' |
| 4925 | - ;; |
| 4926 | - *) |
| 4927 | - if test "$GXX" = yes; then |
| 4928 | - if test "$with_gnu_ld" = no; then |
| 4929 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 4930 | - else |
| 4931 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
| 4932 | - fi |
| 4933 | - fi |
| 4934 | - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
| 4935 | - ;; |
| 4936 | - esac |
| 4937 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 4938 | - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: |
| 4939 | - ;; |
| 4940 | - linux* | k*bsd*-gnu) |
| 4941 | - case $cc_basename in |
| 4942 | - KCC*) |
| 4943 | - # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 4944 | - |
| 4945 | - # KCC will only create a shared library if the output file |
| 4946 | - # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 4947 | - # to its proper name (with version) after linking. |
| 4948 | - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
| 4949 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' |
| 4950 | - # Commands to make compiler produce verbose output that lists |
| 4951 | - # what "hidden" libraries, object files and flags are used when |
| 4952 | - # linking a shared library. |
| 4953 | - # |
| 4954 | - # There doesn't appear to be a way to prevent this compiler from |
| 4955 | - # explicitly linking system object files so we need to strip them |
| 4956 | - # from the output so that they don't get included in the library |
| 4957 | - # dependencies. |
| 4958 | - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
| 4959 | - |
| 4960 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' |
| 4961 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 4962 | - |
| 4963 | - # Archives containing C++ object files must be created using |
| 4964 | - # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
| 4965 | - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' |
| 4966 | - ;; |
| 4967 | - icpc*) |
| 4968 | - # Intel C++ |
| 4969 | - with_gnu_ld=yes |
| 4970 | - # version 8.0 and above of icpc choke on multiply defined symbols |
| 4971 | - # if we add $predep_objects and $postdep_objects, however 7.1 and |
| 4972 | - # earlier do not add the objects themselves. |
| 4973 | - case `$CC -V 2>&1` in |
| 4974 | - *"Version 7."*) |
| 4975 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 4976 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 4977 | - ;; |
| 4978 | - *) # Version 8.0 or newer |
| 4979 | - tmp_idyn= |
| 4980 | - case $host_cpu in |
| 4981 | - ia64*) tmp_idyn=' -i_dynamic';; |
| 4982 | - esac |
| 4983 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 4984 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 4985 | - ;; |
| 4986 | - esac |
| 4987 | - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 4988 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
| 4989 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 4990 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 4991 | - ;; |
| 4992 | - pgCC* | pgcpp*) |
| 4993 | - # Portland Group C++ compiler |
| 4994 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
| 4995 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
| 4996 | - |
| 4997 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
| 4998 | - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 4999 | - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
| 5000 | - ;; |
The diff has been truncated for viewing.


what about waiting to the 12.10 realese?