Changeset 2165
- Timestamp:
- Oct 15, 2004, 11:44:22 AM (22 years ago)
- Location:
- branches/rel3/psModules
- Files:
-
- 11 edited
-
Makefile.in (modified) (19 diffs)
-
aclocal.m4 (modified) (100 diffs)
-
configure (modified) (256 diffs)
-
configure.in (modified) (1 diff)
-
src/Makefile.in (modified) (22 diffs)
-
src/config.h.in (modified) (1 diff)
-
test/Makefile.in (modified) (19 diffs)
-
test/tst_pmFlatField.c (modified) (2 diffs)
-
test/tst_pmMaskBadPixels.c (modified) (11 diffs)
-
test/verified/tst_pmFlatField.stderr (modified) (1 diff)
-
test/verified/tst_pmMaskBadPixels.stderr (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel3/psModules/Makefile.in
r2138 r2165 1 # Makefile.in generated by automake 1. 8.3 from Makefile.am.1 # Makefile.in generated by automake 1.6.3 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 SHELL = @SHELL@ 17 16 18 srcdir = @srcdir@ 17 19 top_srcdir = @top_srcdir@ 18 20 VPATH = @srcdir@ 21 prefix = @prefix@ 22 exec_prefix = @exec_prefix@ 23 24 bindir = @bindir@ 25 sbindir = @sbindir@ 26 libexecdir = @libexecdir@ 27 datadir = @datadir@ 28 sysconfdir = @sysconfdir@ 29 sharedstatedir = @sharedstatedir@ 30 localstatedir = @localstatedir@ 31 libdir = @libdir@ 32 infodir = @infodir@ 33 mandir = @mandir@ 34 includedir = @includedir@ 35 oldincludedir = /usr/include 19 36 pkgdatadir = $(datadir)/@PACKAGE@ 20 37 pkglibdir = $(libdir)/@PACKAGE@ 21 38 pkgincludedir = $(includedir)/@PACKAGE@ 22 39 top_builddir = . 40 41 ACLOCAL = @ACLOCAL@ 42 AUTOCONF = @AUTOCONF@ 43 AUTOMAKE = @AUTOMAKE@ 44 AUTOHEADER = @AUTOHEADER@ 45 23 46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 24 47 INSTALL = @INSTALL@ 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 49 INSTALL_DATA = @INSTALL_DATA@ 25 50 install_sh_DATA = $(install_sh) -c -m 644 26 51 install_sh_PROGRAM = $(install_sh) -c 27 52 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 28 54 INSTALL_HEADER = $(INSTALL_DATA) 29 transform = $(program_transform_name)55 transform = @program_transform_name@ 30 56 NORMAL_INSTALL = : 31 57 PRE_INSTALL = : … … 34 60 PRE_UNINSTALL = : 35 61 POST_UNINSTALL = : 62 host_alias = @host_alias@ 36 63 host_triplet = @host@ 37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 38 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ 39 ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \ 40 install-sh ltmain.sh missing mkinstalldirs 64 65 EXEEXT = @EXEEXT@ 66 OBJEXT = @OBJEXT@ 67 PATH_SEPARATOR = @PATH_SEPARATOR@ 68 AMTAR = @AMTAR@ 69 AR = @AR@ 70 AS = @AS@ 71 AWK = @AWK@ 72 CC = @CC@ 73 CFLAGS = @CFLAGS@ 74 CXX = @CXX@ 75 CXXCPP = @CXXCPP@ 76 DEPDIR = @DEPDIR@ 77 DLLTOOL = @DLLTOOL@ 78 ECHO = @ECHO@ 79 EGREP = @EGREP@ 80 F77 = @F77@ 81 GCJ = @GCJ@ 82 GCJFLAGS = @GCJFLAGS@ 83 GSL_CONFIG = @GSL_CONFIG@ 84 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 85 LIBTOOL = @LIBTOOL@ 86 LN_S = @LN_S@ 87 OBJDUMP = @OBJDUMP@ 88 PACKAGE = @PACKAGE@ 89 RANLIB = @RANLIB@ 90 RC = @RC@ 91 STRIP = @STRIP@ 92 VERSION = @VERSION@ 93 am__include = @am__include@ 94 am__quote = @am__quote@ 95 install_sh = @install_sh@ 96 AUTOMAKE_OPTIONS = foreign 1.4 97 98 SUBDIRS = src test 41 99 subdir = . 42 100 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 43 am__aclocal_m4_deps = $(top_srcdir)/configure.in44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \45 $(ACLOCAL_M4)46 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \47 configure.lineno configure.status.lineno48 101 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 102 CONFIG_HEADER = $(top_builddir)/src/config.h 50 103 CONFIG_CLEAN_FILES = 51 SOURCES =52 104 DIST_SOURCES = 53 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 54 html-recursive info-recursive install-data-recursive \ 55 install-exec-recursive install-info-recursive \ 56 install-recursive installcheck-recursive installdirs-recursive \ 57 pdf-recursive ps-recursive uninstall-info-recursive \ 58 uninstall-recursive 59 ETAGS = etags 60 CTAGS = ctags 105 106 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ 107 uninstall-info-recursive all-recursive install-data-recursive \ 108 install-exec-recursive installdirs-recursive install-recursive \ 109 uninstall-recursive check-recursive installcheck-recursive 110 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ 111 Makefile.in NEWS TODO aclocal.m4 config.guess config.sub \ 112 configure configure.in depcomp install-sh ltmain.sh missing \ 113 mkinstalldirs 61 114 DIST_SUBDIRS = $(SUBDIRS) 62 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)63 distdir = $(PACKAGE)-$(VERSION)64 top_distdir = $(distdir)65 am__remove_distdir = \66 { test ! -d $(distdir) \67 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \68 && rm -fr $(distdir); }; }69 DIST_ARCHIVES = $(distdir).tar.gz70 GZIP_ENV = --best71 distuninstallcheck_listfiles = find . -type f -print72 distcleancheck_listfiles = find . -type f -print73 ACLOCAL = @ACLOCAL@74 AMDEP_FALSE = @AMDEP_FALSE@75 AMDEP_TRUE = @AMDEP_TRUE@76 AMTAR = @AMTAR@77 AR = @AR@78 AUTOCONF = @AUTOCONF@79 AUTOHEADER = @AUTOHEADER@80 AUTOMAKE = @AUTOMAKE@81 AWK = @AWK@82 CC = @CC@83 CCDEPMODE = @CCDEPMODE@84 CFLAGS = @CFLAGS@85 CPP = @CPP@86 CPPFLAGS = @CPPFLAGS@87 CXX = @CXX@88 CXXCPP = @CXXCPP@89 CXXDEPMODE = @CXXDEPMODE@90 CXXFLAGS = @CXXFLAGS@91 CYGPATH_W = @CYGPATH_W@92 DEFS = @DEFS@93 DEPDIR = @DEPDIR@94 ECHO = @ECHO@95 ECHO_C = @ECHO_C@96 ECHO_N = @ECHO_N@97 ECHO_T = @ECHO_T@98 EGREP = @EGREP@99 EXEEXT = @EXEEXT@100 F77 = @F77@101 FFLAGS = @FFLAGS@102 GSL_CONFIG = @GSL_CONFIG@103 INSTALL_DATA = @INSTALL_DATA@104 INSTALL_PROGRAM = @INSTALL_PROGRAM@105 INSTALL_SCRIPT = @INSTALL_SCRIPT@106 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@107 LDFLAGS = @LDFLAGS@108 LIBOBJS = @LIBOBJS@109 LIBS = @LIBS@110 LIBTOOL = @LIBTOOL@111 LN_S = @LN_S@112 LTLIBOBJS = @LTLIBOBJS@113 MAKEINFO = @MAKEINFO@114 OBJEXT = @OBJEXT@115 PACKAGE = @PACKAGE@116 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@117 PACKAGE_NAME = @PACKAGE_NAME@118 PACKAGE_STRING = @PACKAGE_STRING@119 PACKAGE_TARNAME = @PACKAGE_TARNAME@120 PACKAGE_VERSION = @PACKAGE_VERSION@121 PATH_SEPARATOR = @PATH_SEPARATOR@122 RANLIB = @RANLIB@123 SET_MAKE = @SET_MAKE@124 SHELL = @SHELL@125 STRIP = @STRIP@126 VERSION = @VERSION@127 ac_ct_AR = @ac_ct_AR@128 ac_ct_CC = @ac_ct_CC@129 ac_ct_CXX = @ac_ct_CXX@130 ac_ct_F77 = @ac_ct_F77@131 ac_ct_RANLIB = @ac_ct_RANLIB@132 ac_ct_STRIP = @ac_ct_STRIP@133 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@134 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@135 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@136 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@137 am__include = @am__include@138 am__leading_dot = @am__leading_dot@139 am__quote = @am__quote@140 bindir = @bindir@141 build = @build@142 build_alias = @build_alias@143 build_cpu = @build_cpu@144 build_os = @build_os@145 build_vendor = @build_vendor@146 datadir = @datadir@147 exec_prefix = @exec_prefix@148 host = @host@149 host_alias = @host_alias@150 host_cpu = @host_cpu@151 host_os = @host_os@152 host_vendor = @host_vendor@153 includedir = @includedir@154 infodir = @infodir@155 install_sh = @install_sh@156 libdir = @libdir@157 libexecdir = @libexecdir@158 localstatedir = @localstatedir@159 mandir = @mandir@160 mkdir_p = @mkdir_p@161 oldincludedir = @oldincludedir@162 prefix = @prefix@163 program_transform_name = @program_transform_name@164 sbindir = @sbindir@165 sharedstatedir = @sharedstatedir@166 sysconfdir = @sysconfdir@167 target_alias = @target_alias@168 AUTOMAKE_OPTIONS = foreign 1.4169 SUBDIRS = src test170 115 all: all-recursive 171 116 172 117 .SUFFIXES: 173 am--refresh: 174 @: 175 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 176 @for dep in $?; do \ 177 case '$(am__configure_deps)' in \ 178 *$$dep*) \ 179 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 180 cd $(srcdir) && $(AUTOMAKE) --foreign \ 181 && exit 0; \ 182 exit 1;; \ 183 esac; \ 184 done; \ 185 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 118 119 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 120 configure.lineno 121 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 186 122 cd $(top_srcdir) && \ 187 123 $(AUTOMAKE) --foreign Makefile 188 .PRECIOUS: Makefile 189 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 190 @case '$?' in \ 191 *config.status*) \ 192 echo ' $(SHELL) ./config.status'; \ 193 $(SHELL) ./config.status;; \ 194 *) \ 195 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 196 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 197 esac; 198 199 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 124 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 125 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 126 127 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 200 128 $(SHELL) ./config.status --recheck 201 202 $(top_srcdir)/configure: $(am__configure_deps) 129 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 203 130 cd $(srcdir) && $(AUTOCONF) 204 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 131 132 $(ACLOCAL_M4): configure.in 205 133 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 206 134 … … 269 197 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 270 198 done 271 ctags-recursive: 272 list='$(SUBDIRS)'; for subdir in $$list; do \ 273 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 274 done 199 200 ETAGS = etags 201 ETAGSFLAGS = 202 203 tags: TAGS 275 204 276 205 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 282 211 END { for (i in files) print i; }'`; \ 283 212 mkid -fID $$unique 284 tags: TAGS285 213 286 214 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 288 216 tags=; \ 289 217 here=`pwd`; \ 290 if (etags --etags-include --version) >/dev/null 2>&1; then \291 include_option=--etags-include; \292 else \293 include_option=--include; \294 fi; \295 218 list='$(SUBDIRS)'; for subdir in $$list; do \ 296 219 if test "$$subdir" = .; then :; else \ 297 test -f $$subdir/TAGS && \ 298 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 220 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 299 221 fi; \ 300 222 done; \ … … 308 230 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 309 231 $$tags $$unique 310 ctags: CTAGS311 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \312 $(TAGS_FILES) $(LISP)313 tags=; \314 here=`pwd`; \315 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \316 unique=`for i in $$list; do \317 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \318 done | \319 $(AWK) ' { files[$$0] = 1; } \320 END { for (i in files) print i; }'`; \321 test -z "$(CTAGS_ARGS)$$tags$$unique" \322 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \323 $$tags $$unique324 232 325 233 GTAGS: … … 329 237 330 238 distclean-tags: 331 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 239 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 240 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 241 242 top_distdir = . 243 distdir = $(PACKAGE)-$(VERSION) 244 245 am__remove_distdir = \ 246 { test ! -d $(distdir) \ 247 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 248 && rm -fr $(distdir); }; } 249 250 GZIP_ENV = --best 251 distcleancheck_listfiles = find . -type f -print 332 252 333 253 distdir: $(DISTFILES) 334 254 $(am__remove_distdir) 335 255 mkdir $(distdir) 336 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 337 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 338 list='$(DISTFILES)'; for file in $$list; do \ 339 case $$file in \ 340 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 341 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 342 esac; \ 256 @list='$(DISTFILES)'; for file in $$list; do \ 343 257 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 344 258 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 345 259 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 346 260 dir="/$$dir"; \ 347 $(mk dir_p) "$(distdir)$$dir"; \261 $(mkinstalldirs) "$(distdir)$$dir"; \ 348 262 else \ 349 263 dir=''; \ … … 362 276 list='$(SUBDIRS)'; for subdir in $$list; do \ 363 277 if test "$$subdir" = .; then :; else \ 364 test -d "$(distdir)/$$subdir"\365 || mkdir "$(distdir)/$$subdir"\278 test -d $(distdir)/$$subdir \ 279 || mkdir $(distdir)/$$subdir \ 366 280 || exit 1; \ 367 281 (cd $$subdir && \ 368 282 $(MAKE) $(AM_MAKEFLAGS) \ 369 top_distdir=" ../$(top_distdir)" \370 distdir= "../$(distdir)/$$subdir"\283 top_distdir="$(top_distdir)" \ 284 distdir=../$(distdir)/$$subdir \ 371 285 distdir) \ 372 286 || exit 1; \ … … 382 296 $(am__remove_distdir) 383 297 384 dist-bzip2: distdir385 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2386 $(am__remove_distdir)387 388 dist-tarZ: distdir389 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z390 $(am__remove_distdir)391 392 dist-shar: distdir393 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz394 $(am__remove_distdir)395 396 dist-zip: distdir397 -rm -f $(distdir).zip398 zip -rq $(distdir).zip $(distdir)399 $(am__remove_distdir)400 401 298 dist dist-all: distdir 402 299 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz … … 407 304 # tarfile. 408 305 distcheck: dist 409 case '$(DIST_ARCHIVES)' in \ 410 *.tar.gz*) \ 411 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ 412 *.tar.bz2*) \ 413 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ 414 *.tar.Z*) \ 415 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ 416 *.shar.gz*) \ 417 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\ 418 *.zip*) \ 419 unzip $(distdir).zip ;;\ 420 esac 306 $(am__remove_distdir) 307 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 421 308 chmod -R a-w $(distdir); chmod a+w $(distdir) 422 mkdir $(distdir)/ _build423 mkdir $(distdir)/ _inst309 mkdir $(distdir)/=build 310 mkdir $(distdir)/=inst 424 311 chmod a-w $(distdir) 425 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 426 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 427 && cd $(distdir)/_build \ 428 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 312 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ 313 && cd $(distdir)/=build \ 314 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 429 315 $(DISTCHECK_CONFIGURE_FLAGS) \ 430 316 && $(MAKE) $(AM_MAKEFLAGS) \ … … 434 320 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 435 321 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 436 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 437 distuninstallcheck \ 438 && chmod -R a-w "$$dc_install_base" \ 439 && ({ \ 440 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 441 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 442 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 443 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 444 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 445 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 446 && rm -rf "$$dc_destdir" \ 447 && $(MAKE) $(AM_MAKEFLAGS) dist \ 448 && rm -rf $(DIST_ARCHIVES) \ 322 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ 323 || { echo "ERROR: files left after uninstall:" ; \ 324 find $$dc_install_base -type f -print ; \ 325 exit 1; } >&2 ) \ 326 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 327 && rm -f $(distdir).tar.gz \ 449 328 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 450 329 $(am__remove_distdir) 451 @(echo "$(distdir) archives ready for distribution: "; \ 452 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 453 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 454 distuninstallcheck: 455 @cd $(distuninstallcheck_dir) \ 456 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ 457 || { echo "ERROR: files left after uninstall:" ; \ 458 if test -n "$(DESTDIR)"; then \ 459 echo " (check DESTDIR support)"; \ 460 fi ; \ 461 $(distuninstallcheck_listfiles) ; \ 462 exit 1; } >&2 330 @echo "$(distdir).tar.gz is ready for distribution" | \ 331 sed 'h;s/./=/g;p;x;p;x' 463 332 distcleancheck: distclean 464 @if test '$(srcdir)' = . ; then \333 if test '$(srcdir)' = . ; then \ 465 334 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 466 335 exit 1 ; \ 467 336 fi 468 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \469 || { echo "ERROR: files left in build directoryafter distclean:" ; \337 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 338 || { echo "ERROR: files left after distclean:" ; \ 470 339 $(distcleancheck_listfiles) ; \ 471 340 exit 1; } >&2 … … 475 344 installdirs: installdirs-recursive 476 345 installdirs-am: 346 477 347 install: install-recursive 478 348 install-exec: install-exec-recursive … … 486 356 install-strip: 487 357 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 488 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \358 INSTALL_STRIP_FLAG=-s \ 489 359 `test -z '$(STRIP)' || \ 490 360 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 494 364 495 365 distclean-generic: 496 -rm -f $(CONFIG_CLEAN_FILES)366 -rm -f Makefile $(CONFIG_CLEAN_FILES) 497 367 498 368 maintainer-clean-generic: … … 505 375 distclean: distclean-recursive 506 376 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 507 -rm -f Makefile508 377 distclean-am: clean-am distclean-generic distclean-libtool \ 509 378 distclean-tags … … 513 382 dvi-am: 514 383 515 html: html-recursive516 517 384 info: info-recursive 518 385 … … 531 398 maintainer-clean: maintainer-clean-recursive 532 399 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 533 -rm -rf $(top_srcdir)/autom4te.cache 534 -rm -f Makefile 400 -rm -rf autom4te.cache 535 401 maintainer-clean-am: distclean-am maintainer-clean-generic 536 402 … … 539 405 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 540 406 541 pdf: pdf-recursive542 543 pdf-am:544 545 ps: ps-recursive546 547 ps-am:548 549 407 uninstall-am: uninstall-info-am 550 408 551 409 uninstall-info: uninstall-info-recursive 552 410 553 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 554 check-am clean clean-generic clean-libtool clean-recursive \ 555 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 556 dist-shar dist-tarZ dist-zip distcheck distclean \ 557 distclean-generic distclean-libtool distclean-recursive \ 558 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 559 dvi-am html html-am info info-am install install-am \ 560 install-data install-data-am install-exec install-exec-am \ 561 install-info install-info-am install-man install-strip \ 562 installcheck installcheck-am installdirs installdirs-am \ 563 maintainer-clean maintainer-clean-generic \ 564 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 565 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 566 tags tags-recursive uninstall uninstall-am uninstall-info-am 411 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ 412 clean-generic clean-libtool clean-recursive dist dist-all \ 413 dist-gzip distcheck distclean distclean-generic \ 414 distclean-libtool distclean-recursive distclean-tags \ 415 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \ 416 info-recursive install install-am install-data install-data-am \ 417 install-data-recursive install-exec install-exec-am \ 418 install-exec-recursive install-info install-info-am \ 419 install-info-recursive install-man install-recursive \ 420 install-strip installcheck installcheck-am installdirs \ 421 installdirs-am installdirs-recursive maintainer-clean \ 422 maintainer-clean-generic maintainer-clean-recursive mostlyclean \ 423 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ 424 tags tags-recursive uninstall uninstall-am uninstall-info-am \ 425 uninstall-info-recursive uninstall-recursive 567 426 568 427 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
branches/rel3/psModules/aclocal.m4
r2157 r2165 1 # generated automatically by aclocal 1.8.3 -*- Autoconf -*-2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 20041 # aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- 2 3 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 4 4 # Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation … … 11 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 12 # PARTICULAR PURPOSE. 13 14 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- 15 16 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 17 18 # This program is free software; you can redistribute it and/or modify 19 # it under the terms of the GNU General Public License as published by 20 # the Free Software Foundation; either version 2, or (at your option) 21 # any later version. 22 23 # This program is distributed in the hope that it will be useful, 24 # but WITHOUT ANY WARRANTY; without even the implied warranty of 25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 # GNU General Public License for more details. 27 28 # You should have received a copy of the GNU General Public License 29 # along with this program; if not, write to the Free Software 30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 31 # 02111-1307, USA. 32 33 AC_PREREQ([2.52]) 34 35 # serial 6 36 37 # When config.status generates a header, we must update the stamp-h file. 38 # This file resides in the same directory as the config header 39 # that is generated. We must strip everything past the first ":", 40 # and everything past the last "/". 41 42 # _AM_DIRNAME(PATH) 43 # ----------------- 44 # Like AS_DIRNAME, only do it during macro expansion 45 AC_DEFUN([_AM_DIRNAME], 46 [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1, 47 m4_if(regexp([$1], [^//\([^/]\|$\)]), -1, 48 m4_if(regexp([$1], [^/.*]), -1, 49 [.], 50 patsubst([$1], [^\(/\).*], [\1])), 51 patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])), 52 patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl 53 ])# _AM_DIRNAME 54 55 56 # The stamp files are numbered to have different names. 57 # We could number them on a directory basis, but that's additional 58 # complications, let's have a unique counter. 59 m4_define([_AM_STAMP_Count], [0]) 60 61 62 # _AM_STAMP(HEADER) 63 # ----------------- 64 # The name of the stamp file for HEADER. 65 AC_DEFUN([_AM_STAMP], 66 [m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl 67 AS_ESCAPE(_AM_DIRNAME(patsubst([$1], 68 [:.*])))/stamp-h[]_AM_STAMP_Count]) 69 70 71 # _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS) 72 # ------------------------------------------------------------ 73 # We used to try to get a real timestamp in stamp-h. But the fear is that 74 # that will cause unnecessary cvs conflicts. 75 AC_DEFUN([_AM_CONFIG_HEADER], 76 [# Add the stamp file to the list of files AC keeps track of, 77 # along with our hook. 78 AC_CONFIG_HEADERS([$1], 79 [# update the timestamp 80 echo 'timestamp for $1' >"_AM_STAMP([$1])" 81 $2], 82 [$3]) 83 ])# _AM_CONFIG_HEADER 84 85 86 # AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS) 87 # -------------------------------------------------------------- 88 AC_DEFUN([AM_CONFIG_HEADER], 89 [AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])]) 90 ])# AM_CONFIG_HEADER 91 92 # Do all the work for Automake. -*- Autoconf -*- 93 94 # This macro actually does too much some checks are only needed if 95 # your package does certain things. But this isn't really a big deal. 96 97 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 98 # Free Software Foundation, Inc. 99 100 # This program is free software; you can redistribute it and/or modify 101 # it under the terms of the GNU General Public License as published by 102 # the Free Software Foundation; either version 2, or (at your option) 103 # any later version. 104 105 # This program is distributed in the hope that it will be useful, 106 # but WITHOUT ANY WARRANTY; without even the implied warranty of 107 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 108 # GNU General Public License for more details. 109 110 # You should have received a copy of the GNU General Public License 111 # along with this program; if not, write to the Free Software 112 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 113 # 02111-1307, USA. 114 115 # serial 8 116 117 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 118 # written in clear, in which case automake, when reading aclocal.m4, 119 # will think it sees a *use*, and therefore will trigger all it's 120 # C support machinery. Also note that it means that autoscan, seeing 121 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 122 123 124 AC_PREREQ([2.52]) 125 126 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 127 # the ones we care about. 128 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 129 130 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 131 # AM_INIT_AUTOMAKE([OPTIONS]) 132 # ----------------------------------------------- 133 # The call with PACKAGE and VERSION arguments is the old style 134 # call (pre autoconf-2.50), which is being phased out. PACKAGE 135 # and VERSION should now be passed to AC_INIT and removed from 136 # the call to AM_INIT_AUTOMAKE. 137 # We support both call styles for the transition. After 138 # the next Automake release, Autoconf can make the AC_INIT 139 # arguments mandatory, and then we can depend on a new Autoconf 140 # release and drop the old call support. 141 AC_DEFUN([AM_INIT_AUTOMAKE], 142 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 143 AC_REQUIRE([AC_PROG_INSTALL])dnl 144 # test to see if srcdir already configured 145 if test "`cd $srcdir && pwd`" != "`pwd`" && 146 test -f $srcdir/config.status; then 147 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 148 fi 149 150 # Define the identity of the package. 151 dnl Distinguish between old-style and new-style calls. 152 m4_ifval([$2], 153 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 154 AC_SUBST([PACKAGE], [$1])dnl 155 AC_SUBST([VERSION], [$2])], 156 [_AM_SET_OPTIONS([$1])dnl 157 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl 158 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl 159 160 _AM_IF_OPTION([no-define],, 161 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 162 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 163 164 # Some tools Automake needs. 165 AC_REQUIRE([AM_SANITY_CHECK])dnl 166 AC_REQUIRE([AC_ARG_PROGRAM])dnl 167 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 168 AM_MISSING_PROG(AUTOCONF, autoconf) 169 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 170 AM_MISSING_PROG(AUTOHEADER, autoheader) 171 AM_MISSING_PROG(MAKEINFO, makeinfo) 172 AM_MISSING_PROG(AMTAR, tar) 173 AM_PROG_INSTALL_SH 174 AM_PROG_INSTALL_STRIP 175 # We need awk for the "check" target. The system "awk" is bad on 176 # some platforms. 177 AC_REQUIRE([AC_PROG_AWK])dnl 178 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 179 180 _AM_IF_OPTION([no-dependencies],, 181 [AC_PROVIDE_IFELSE([AC_PROG_][CC], 182 [_AM_DEPENDENCIES(CC)], 183 [define([AC_PROG_][CC], 184 defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl 185 AC_PROVIDE_IFELSE([AC_PROG_][CXX], 186 [_AM_DEPENDENCIES(CXX)], 187 [define([AC_PROG_][CXX], 188 defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl 189 ]) 190 ]) 191 192 # Copyright 2002 Free Software Foundation, Inc. 193 194 # This program is free software; you can redistribute it and/or modify 195 # it under the terms of the GNU General Public License as published by 196 # the Free Software Foundation; either version 2, or (at your option) 197 # any later version. 198 199 # This program is distributed in the hope that it will be useful, 200 # but WITHOUT ANY WARRANTY; without even the implied warranty of 201 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 202 # GNU General Public License for more details. 203 204 # You should have received a copy of the GNU General Public License 205 # along with this program; if not, write to the Free Software 206 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 207 208 # AM_AUTOMAKE_VERSION(VERSION) 209 # ---------------------------- 210 # Automake X.Y traces this macro to ensure aclocal.m4 has been 211 # generated from the m4 files accompanying Automake X.Y. 212 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"]) 213 214 # AM_SET_CURRENT_AUTOMAKE_VERSION 215 # ------------------------------- 216 # Call AM_AUTOMAKE_VERSION so it can be traced. 217 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 218 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 219 [AM_AUTOMAKE_VERSION([1.6.3])]) 220 221 # Helper functions for option handling. -*- Autoconf -*- 222 223 # Copyright 2001, 2002 Free Software Foundation, Inc. 224 225 # This program is free software; you can redistribute it and/or modify 226 # it under the terms of the GNU General Public License as published by 227 # the Free Software Foundation; either version 2, or (at your option) 228 # any later version. 229 230 # This program is distributed in the hope that it will be useful, 231 # but WITHOUT ANY WARRANTY; without even the implied warranty of 232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 233 # GNU General Public License for more details. 234 235 # You should have received a copy of the GNU General Public License 236 # along with this program; if not, write to the Free Software 237 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 238 # 02111-1307, USA. 239 240 # serial 2 241 242 # _AM_MANGLE_OPTION(NAME) 243 # ----------------------- 244 AC_DEFUN([_AM_MANGLE_OPTION], 245 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 246 247 # _AM_SET_OPTION(NAME) 248 # ------------------------------ 249 # Set option NAME. Presently that only means defining a flag for this option. 250 AC_DEFUN([_AM_SET_OPTION], 251 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 252 253 # _AM_SET_OPTIONS(OPTIONS) 254 # ---------------------------------- 255 # OPTIONS is a space-separated list of Automake options. 256 AC_DEFUN([_AM_SET_OPTIONS], 257 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 258 259 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 260 # ------------------------------------------- 261 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 262 AC_DEFUN([_AM_IF_OPTION], 263 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 264 265 # 266 # Check to make sure that the build environment is sane. 267 # 268 269 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 270 271 # This program is free software; you can redistribute it and/or modify 272 # it under the terms of the GNU General Public License as published by 273 # the Free Software Foundation; either version 2, or (at your option) 274 # any later version. 275 276 # This program is distributed in the hope that it will be useful, 277 # but WITHOUT ANY WARRANTY; without even the implied warranty of 278 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 279 # GNU General Public License for more details. 280 281 # You should have received a copy of the GNU General Public License 282 # along with this program; if not, write to the Free Software 283 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 284 # 02111-1307, USA. 285 286 # serial 3 287 288 # AM_SANITY_CHECK 289 # --------------- 290 AC_DEFUN([AM_SANITY_CHECK], 291 [AC_MSG_CHECKING([whether build environment is sane]) 292 # Just in case 293 sleep 1 294 echo timestamp > conftest.file 295 # Do `set' in a subshell so we don't clobber the current shell's 296 # arguments. Must try -L first in case configure is actually a 297 # symlink; some systems play weird games with the mod time of symlinks 298 # (eg FreeBSD returns the mod time of the symlink's containing 299 # directory). 300 if ( 301 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 302 if test "$[*]" = "X"; then 303 # -L didn't work. 304 set X `ls -t $srcdir/configure conftest.file` 305 fi 306 rm -f conftest.file 307 if test "$[*]" != "X $srcdir/configure conftest.file" \ 308 && test "$[*]" != "X conftest.file $srcdir/configure"; then 309 310 # If neither matched, then we have a broken ls. This can happen 311 # if, for instance, CONFIG_SHELL is bash and it inherits a 312 # broken ls alias from the environment. This has actually 313 # happened. Such a system could not be considered "sane". 314 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 315 alias in your environment]) 316 fi 317 318 test "$[2]" = conftest.file 319 ) 320 then 321 # Ok. 322 : 323 else 324 AC_MSG_ERROR([newly created file is older than distributed files! 325 Check your system clock]) 326 fi 327 AC_MSG_RESULT(yes)]) 328 329 # -*- Autoconf -*- 330 331 332 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 333 334 # This program is free software; you can redistribute it and/or modify 335 # it under the terms of the GNU General Public License as published by 336 # the Free Software Foundation; either version 2, or (at your option) 337 # any later version. 338 339 # This program is distributed in the hope that it will be useful, 340 # but WITHOUT ANY WARRANTY; without even the implied warranty of 341 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 342 # GNU General Public License for more details. 343 344 # You should have received a copy of the GNU General Public License 345 # along with this program; if not, write to the Free Software 346 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 347 # 02111-1307, USA. 348 349 # serial 3 350 351 # AM_MISSING_PROG(NAME, PROGRAM) 352 # ------------------------------ 353 AC_DEFUN([AM_MISSING_PROG], 354 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 355 $1=${$1-"${am_missing_run}$2"} 356 AC_SUBST($1)]) 357 358 359 # AM_MISSING_HAS_RUN 360 # ------------------ 361 # Define MISSING if not defined so far and test if it supports --run. 362 # If it does, set am_missing_run to use it, otherwise, to nothing. 363 AC_DEFUN([AM_MISSING_HAS_RUN], 364 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 365 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 366 # Use eval to expand $SHELL 367 if eval "$MISSING --run true"; then 368 am_missing_run="$MISSING --run " 369 else 370 am_missing_run= 371 AC_MSG_WARN([`missing' script is too old or missing]) 372 fi 373 ]) 374 375 # AM_AUX_DIR_EXPAND 376 377 # Copyright 2001 Free Software Foundation, Inc. 378 379 # This program is free software; you can redistribute it and/or modify 380 # it under the terms of the GNU General Public License as published by 381 # the Free Software Foundation; either version 2, or (at your option) 382 # any later version. 383 384 # This program is distributed in the hope that it will be useful, 385 # but WITHOUT ANY WARRANTY; without even the implied warranty of 386 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 387 # GNU General Public License for more details. 388 389 # You should have received a copy of the GNU General Public License 390 # along with this program; if not, write to the Free Software 391 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 392 # 02111-1307, USA. 393 394 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 395 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 396 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 397 # 398 # Of course, Automake must honor this variable whenever it calls a 399 # tool from the auxiliary directory. The problem is that $srcdir (and 400 # therefore $ac_aux_dir as well) can be either absolute or relative, 401 # depending on how configure is run. This is pretty annoying, since 402 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 403 # source directory, any form will work fine, but in subdirectories a 404 # relative path needs to be adjusted first. 405 # 406 # $ac_aux_dir/missing 407 # fails when called from a subdirectory if $ac_aux_dir is relative 408 # $top_srcdir/$ac_aux_dir/missing 409 # fails if $ac_aux_dir is absolute, 410 # fails when called from a subdirectory in a VPATH build with 411 # a relative $ac_aux_dir 412 # 413 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 414 # are both prefixed by $srcdir. In an in-source build this is usually 415 # harmless because $srcdir is `.', but things will broke when you 416 # start a VPATH build or use an absolute $srcdir. 417 # 418 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 419 # iff we strip the leading $srcdir from $ac_aux_dir. That would be: 420 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 421 # and then we would define $MISSING as 422 # MISSING="\${SHELL} $am_aux_dir/missing" 423 # This will work as long as MISSING is not called from configure, because 424 # unfortunately $(top_srcdir) has no meaning in configure. 425 # However there are other variables, like CC, which are often used in 426 # configure, and could therefore not use this "fixed" $ac_aux_dir. 427 # 428 # Another solution, used here, is to always expand $ac_aux_dir to an 429 # absolute PATH. The drawback is that using absolute paths prevent a 430 # configured tree to be moved without reconfiguration. 431 432 # Rely on autoconf to set up CDPATH properly. 433 AC_PREREQ([2.50]) 434 435 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 436 # expand $ac_aux_dir to an absolute path 437 am_aux_dir=`cd $ac_aux_dir && pwd` 438 ]) 439 440 # AM_PROG_INSTALL_SH 441 # ------------------ 442 # Define $install_sh. 443 444 # Copyright 2001 Free Software Foundation, Inc. 445 446 # This program is free software; you can redistribute it and/or modify 447 # it under the terms of the GNU General Public License as published by 448 # the Free Software Foundation; either version 2, or (at your option) 449 # any later version. 450 451 # This program is distributed in the hope that it will be useful, 452 # but WITHOUT ANY WARRANTY; without even the implied warranty of 453 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 454 # GNU General Public License for more details. 455 456 # You should have received a copy of the GNU General Public License 457 # along with this program; if not, write to the Free Software 458 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 459 # 02111-1307, USA. 460 461 AC_DEFUN([AM_PROG_INSTALL_SH], 462 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 463 install_sh=${install_sh-"$am_aux_dir/install-sh"} 464 AC_SUBST(install_sh)]) 465 466 # AM_PROG_INSTALL_STRIP 467 468 # Copyright 2001 Free Software Foundation, Inc. 469 470 # This program is free software; you can redistribute it and/or modify 471 # it under the terms of the GNU General Public License as published by 472 # the Free Software Foundation; either version 2, or (at your option) 473 # any later version. 474 475 # This program is distributed in the hope that it will be useful, 476 # but WITHOUT ANY WARRANTY; without even the implied warranty of 477 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 478 # GNU General Public License for more details. 479 480 # You should have received a copy of the GNU General Public License 481 # along with this program; if not, write to the Free Software 482 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 483 # 02111-1307, USA. 484 485 # One issue with vendor `install' (even GNU) is that you can't 486 # specify the program used to strip binaries. This is especially 487 # annoying in cross-compiling environments, where the build's strip 488 # is unlikely to handle the host's binaries. 489 # Fortunately install-sh will honor a STRIPPROG variable, so we 490 # always use install-sh in `make install-strip', and initialize 491 # STRIPPROG with the value of the STRIP variable (set by the user). 492 AC_DEFUN([AM_PROG_INSTALL_STRIP], 493 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 494 # Installed binaries are usually stripped using `strip' when the user 495 # run `make install-strip'. However `strip' might not be the right 496 # tool to use in cross-compilation environments, therefore Automake 497 # will honor the `STRIP' environment variable to overrule this program. 498 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 499 if test "$cross_compiling" != no; then 500 AC_CHECK_TOOL([STRIP], [strip], :) 501 fi 502 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 503 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 504 505 # serial 4 -*- Autoconf -*- 506 507 # Copyright 1999, 2000, 2001 Free Software Foundation, Inc. 508 509 # This program is free software; you can redistribute it and/or modify 510 # it under the terms of the GNU General Public License as published by 511 # the Free Software Foundation; either version 2, or (at your option) 512 # any later version. 513 514 # This program is distributed in the hope that it will be useful, 515 # but WITHOUT ANY WARRANTY; without even the implied warranty of 516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 517 # GNU General Public License for more details. 518 519 # You should have received a copy of the GNU General Public License 520 # along with this program; if not, write to the Free Software 521 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 522 # 02111-1307, USA. 523 524 525 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 526 # written in clear, in which case automake, when reading aclocal.m4, 527 # will think it sees a *use*, and therefore will trigger all it's 528 # C support machinery. Also note that it means that autoscan, seeing 529 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 530 531 532 533 # _AM_DEPENDENCIES(NAME) 534 # ---------------------- 535 # See how the compiler implements dependency checking. 536 # NAME is "CC", "CXX", "GCJ", or "OBJC". 537 # We try a few techniques and use that to set a single cache variable. 538 # 539 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 540 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 541 # dependency, and given that the user is not expected to run this macro, 542 # just rely on AC_PROG_CC. 543 AC_DEFUN([_AM_DEPENDENCIES], 544 [AC_REQUIRE([AM_SET_DEPDIR])dnl 545 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 546 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 547 AC_REQUIRE([AM_DEP_TRACK])dnl 548 549 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 550 [$1], CXX, [depcc="$CXX" am_compiler_list=], 551 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 552 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 553 [depcc="$$1" am_compiler_list=]) 554 555 AC_CACHE_CHECK([dependency style of $depcc], 556 [am_cv_$1_dependencies_compiler_type], 557 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 558 # We make a subdir and do the tests there. Otherwise we can end up 559 # making bogus files that we don't know about and never remove. For 560 # instance it was reported that on HP-UX the gcc test will end up 561 # making a dummy file named `D' -- because `-MD' means `put the output 562 # in D'. 563 mkdir conftest.dir 564 # Copy depcomp to subdir because otherwise we won't find it if we're 565 # using a relative directory. 566 cp "$am_depcomp" conftest.dir 567 cd conftest.dir 568 569 am_cv_$1_dependencies_compiler_type=none 570 if test "$am_compiler_list" = ""; then 571 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 572 fi 573 for depmode in $am_compiler_list; do 574 # We need to recreate these files for each test, as the compiler may 575 # overwrite some of them when testing with obscure command lines. 576 # This happens at least with the AIX C compiler. 577 echo '#include "conftest.h"' > conftest.c 578 echo 'int i;' > conftest.h 579 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 580 581 case $depmode in 582 nosideeffect) 583 # after this tag, mechanisms are not by side-effect, so they'll 584 # only be used when explicitly requested 585 if test "x$enable_dependency_tracking" = xyes; then 586 continue 587 else 588 break 589 fi 590 ;; 591 none) break ;; 592 esac 593 # We check with `-c' and `-o' for the sake of the "dashmstdout" 594 # mode. It turns out that the SunPro C++ compiler does not properly 595 # handle `-M -o', and we need to detect this. 596 if depmode=$depmode \ 597 source=conftest.c object=conftest.o \ 598 depfile=conftest.Po tmpdepfile=conftest.TPo \ 599 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 600 grep conftest.h conftest.Po > /dev/null 2>&1 && 601 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 602 am_cv_$1_dependencies_compiler_type=$depmode 603 break 604 fi 605 done 606 607 cd .. 608 rm -rf conftest.dir 609 else 610 am_cv_$1_dependencies_compiler_type=none 611 fi 612 ]) 613 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 614 ]) 615 616 617 # AM_SET_DEPDIR 618 # ------------- 619 # Choose a directory name for dependency files. 620 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 621 AC_DEFUN([AM_SET_DEPDIR], 622 [rm -f .deps 2>/dev/null 623 mkdir .deps 2>/dev/null 624 if test -d .deps; then 625 DEPDIR=.deps 626 else 627 # MS-DOS does not allow filenames that begin with a dot. 628 DEPDIR=_deps 629 fi 630 rmdir .deps 2>/dev/null 631 AC_SUBST([DEPDIR]) 632 ]) 633 634 635 # AM_DEP_TRACK 636 # ------------ 637 AC_DEFUN([AM_DEP_TRACK], 638 [AC_ARG_ENABLE(dependency-tracking, 639 [ --disable-dependency-tracking Speeds up one-time builds 640 --enable-dependency-tracking Do not reject slow dependency extractors]) 641 if test "x$enable_dependency_tracking" != xno; then 642 am_depcomp="$ac_aux_dir/depcomp" 643 AMDEPBACKSLASH='\' 644 fi 645 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 646 AC_SUBST([AMDEPBACKSLASH]) 647 ]) 648 649 # Generate code to set up dependency tracking. -*- Autoconf -*- 650 651 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 652 653 # This program is free software; you can redistribute it and/or modify 654 # it under the terms of the GNU General Public License as published by 655 # the Free Software Foundation; either version 2, or (at your option) 656 # any later version. 657 658 # This program is distributed in the hope that it will be useful, 659 # but WITHOUT ANY WARRANTY; without even the implied warranty of 660 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 661 # GNU General Public License for more details. 662 663 # You should have received a copy of the GNU General Public License 664 # along with this program; if not, write to the Free Software 665 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 666 # 02111-1307, USA. 667 668 #serial 2 669 670 # _AM_OUTPUT_DEPENDENCY_COMMANDS 671 # ------------------------------ 672 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 673 [for mf in $CONFIG_FILES; do 674 # Strip MF so we end up with the name of the file. 675 mf=`echo "$mf" | sed -e 's/:.*$//'` 676 # Check whether this is an Automake generated Makefile or not. 677 # We used to match only the files named `Makefile.in', but 678 # some people rename them; so instead we look at the file content. 679 # Grep'ing the first line is not enough: some people post-process 680 # each Makefile.in and add a new line on top of each file to say so. 681 # So let's grep whole file. 682 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 683 dirpart=`AS_DIRNAME("$mf")` 684 else 685 continue 686 fi 687 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 688 # Extract the definition of DEP_FILES from the Makefile without 689 # running `make'. 690 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 691 test -z "$DEPDIR" && continue 692 # When using ansi2knr, U may be empty or an underscore; expand it 693 U=`sed -n -e '/^U = / s///p' < "$mf"` 694 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 695 # We invoke sed twice because it is the simplest approach to 696 # changing $(DEPDIR) to its actual value in the expansion. 697 for file in `sed -n -e ' 698 /^DEP_FILES = .*\\\\$/ { 699 s/^DEP_FILES = // 700 :loop 701 s/\\\\$// 702 p 703 n 704 /\\\\$/ b loop 705 p 706 } 707 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 708 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 709 # Make sure the directory exists. 710 test -f "$dirpart/$file" && continue 711 fdir=`AS_DIRNAME(["$file"])` 712 AS_MKDIR_P([$dirpart/$fdir]) 713 # echo "creating $dirpart/$file" 714 echo '# dummy' > "$dirpart/$file" 715 done 716 done 717 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 718 719 720 # AM_OUTPUT_DEPENDENCY_COMMANDS 721 # ----------------------------- 722 # This macro should only be invoked once -- use via AC_REQUIRE. 723 # 724 # This code is only required when automatic dependency tracking 725 # is enabled. FIXME. This creates each `.P' file that we will 726 # need in order to bootstrap the dependency handling code. 727 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 728 [AC_CONFIG_COMMANDS([depfiles], 729 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 730 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 731 ]) 732 733 # Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*- 734 735 # This program is free software; you can redistribute it and/or modify 736 # it under the terms of the GNU General Public License as published by 737 # the Free Software Foundation; either version 2, or (at your option) 738 # any later version. 739 740 # This program is distributed in the hope that it will be useful, 741 # but WITHOUT ANY WARRANTY; without even the implied warranty of 742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 743 # GNU General Public License for more details. 744 745 # You should have received a copy of the GNU General Public License 746 # along with this program; if not, write to the Free Software 747 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 748 # 02111-1307, USA. 749 750 # serial 2 751 752 # AM_MAKE_INCLUDE() 753 # ----------------- 754 # Check to see how make treats includes. 755 AC_DEFUN([AM_MAKE_INCLUDE], 756 [am_make=${MAKE-make} 757 cat > confinc << 'END' 758 doit: 759 @echo done 760 END 761 # If we don't find an include directive, just comment out the code. 762 AC_MSG_CHECKING([for style of include used by $am_make]) 763 am__include="#" 764 am__quote= 765 _am_result=none 766 # First try GNU make style include. 767 echo "include confinc" > confmf 768 # We grep out `Entering directory' and `Leaving directory' 769 # messages which can occur if `w' ends up in MAKEFLAGS. 770 # In particular we don't look at `^make:' because GNU make might 771 # be invoked under some other name (usually "gmake"), in which 772 # case it prints its new name instead of `make'. 773 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 774 am__include=include 775 am__quote= 776 _am_result=GNU 777 fi 778 # Now try BSD make style include. 779 if test "$am__include" = "#"; then 780 echo '.include "confinc"' > confmf 781 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 782 am__include=.include 783 am__quote="\"" 784 _am_result=BSD 785 fi 786 fi 787 AC_SUBST(am__include) 788 AC_SUBST(am__quote) 789 AC_MSG_RESULT($_am_result) 790 rm -f confinc confmf 791 ]) 792 793 # AM_CONDITIONAL -*- Autoconf -*- 794 795 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 796 797 # This program is free software; you can redistribute it and/or modify 798 # it under the terms of the GNU General Public License as published by 799 # the Free Software Foundation; either version 2, or (at your option) 800 # any later version. 801 802 # This program is distributed in the hope that it will be useful, 803 # but WITHOUT ANY WARRANTY; without even the implied warranty of 804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 805 # GNU General Public License for more details. 806 807 # You should have received a copy of the GNU General Public License 808 # along with this program; if not, write to the Free Software 809 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 810 # 02111-1307, USA. 811 812 # serial 5 813 814 AC_PREREQ(2.52) 815 816 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 817 # ------------------------------------- 818 # Define a conditional. 819 AC_DEFUN([AM_CONDITIONAL], 820 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 821 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 822 AC_SUBST([$1_TRUE]) 823 AC_SUBST([$1_FALSE]) 824 if $2; then 825 $1_TRUE= 826 $1_FALSE='#' 827 else 828 $1_TRUE='#' 829 $1_FALSE= 830 fi 831 AC_CONFIG_COMMANDS_PRE( 832 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 833 AC_MSG_ERROR([conditional \"$1\" was never defined. 834 Usually this means the macro was only invoked conditionally.]) 835 fi])]) 13 836 14 837 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- … … 134 957 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 135 958 959 # Sed substitution to undo escaping of the cmd sep variable 960 unescape_variable_subst='s/\\\(${_S_}\)/\1/g' 961 136 962 # Sed substitution to avoid accidental globbing in evaled expressions 137 963 no_glob_subst='s/\*/\\\*/g' … … 183 1009 case $host_os in 184 1010 openbsd*) 185 old_postinstall_cmds="\$RANLIB -t \$oldlib ~$old_postinstall_cmds"1011 old_postinstall_cmds="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds" 186 1012 ;; 187 1013 *) 188 old_postinstall_cmds="\$RANLIB \$oldlib ~$old_postinstall_cmds"1014 old_postinstall_cmds="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds" 189 1015 ;; 190 1016 esac 191 old_archive_cmds="$old_archive_cmds ~\$RANLIB \$oldlib"1017 old_archive_cmds="$old_archive_cmds\${_S_}\$RANLIB \$oldlib" 192 1018 fi 193 1019 … … 492 1318 LD="${LD-ld} -m elf_i386" 493 1319 ;; 494 ppc64-*linux* |powerpc64-*linux*)1320 ppc64-*linux*) 495 1321 LD="${LD-ld} -m elf32ppclinux" 496 1322 ;; … … 556 1382 # Check whether the given compiler option works 557 1383 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 558 [AC_REQUIRE([LT_AC_PROG_SED]) 559 AC_CACHE_CHECK([$1], [$2], 1384 [AC_CACHE_CHECK([$1], [$2], 560 1385 [$2=no 561 1386 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) … … 633 1458 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 634 1459 i=0 635 test string="ABCD"1460 testring="ABCD" 636 1461 637 1462 case $build_os in … … 662 1487 ;; 663 1488 664 amigaos*)665 # On AmigaOS with pdksh, this test takes hours, literally.666 # So we just punt and use a minimum line length of 8192.667 lt_cv_sys_max_cmd_len=8192;668 ;;669 670 1489 *) 671 1490 # If test is not a shell built-in, we'll probably end up computing a 672 1491 # maximum length that is only half of the actual maximum length, but 673 1492 # we can't tell. 674 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$test string" 2>/dev/null` \675 = "XX$test string") >/dev/null 2>&1 &&676 new_result=`expr "X$test string" : ".*" 2>&1` &&1493 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ 1494 = "XX$testring") >/dev/null 2>&1 && 1495 new_result=`expr "X$testring" : ".*" 2>&1` && 677 1496 lt_cv_sys_max_cmd_len=$new_result && 678 1497 test $i != 17 # 1/2 MB should be enough 679 1498 do 680 1499 i=`expr $i + 1` 681 test string=$teststring$teststring1500 testring=$testring$testring 682 1501 done 683 test string=1502 testring= 684 1503 # Add a significant safety factor because C++ compilers can tack on massive 685 1504 # amounts of additional arguments before passing them to the linker. … … 831 1650 ]) 832 1651 ;; 833 1652 834 1653 *) 835 1654 AC_CHECK_FUNC([shl_load], … … 919 1738 mkdir out 920 1739 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1740 1741 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 1742 # that will create temporary files in the current directory regardless of 1743 # the output directory. Thus, making CWD read-only will cause this test 1744 # to fail, enabling locking or at least warning the user not to do parallel 1745 # builds. 1746 chmod -w . 921 1747 922 1748 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 943 1769 fi 944 1770 chmod u+w . 945 $rm conftest* 946 # SGI C++ compiler will create directory out/ii_files/ for 947 # template instantiation 948 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 949 $rm out/* && rmdir out 1771 $rm conftest* out/* 1772 rmdir out 950 1773 cd .. 951 1774 rmdir conftest … … 1053 1876 # FIXME - insert some real tests, host_os isn't really good enough 1054 1877 case $host_os in 1055 darwin*)1878 NOT-darwin*) 1056 1879 if test -n "$STRIP" ; then 1057 1880 striplib="$STRIP -x" … … 1064 1887 AC_MSG_RESULT([no]) 1065 1888 ;; 1066 esac 1889 esac 1067 1890 fi 1068 1891 ])# AC_LIBTOOL_SYS_LIB_STRIP … … 1077 1900 libname_spec='lib$name' 1078 1901 soname_spec= 1079 shrext _cmds=".so"1902 shrext=".so" 1080 1903 postinstall_cmds= 1081 1904 postuninstall_cmds= … … 1165 1988 library_names_spec='$libname.ixlibrary $libname.a' 1166 1989 # Create ${libname}_ixlibrary.a entries in /sys/libs. 1167 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'1990 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' 1168 1991 ;; 1169 1992 … … 1190 2013 cygwin* | mingw* | pw32*) 1191 2014 version_type=windows 1192 shrext _cmds=".dll"2015 shrext=".dll" 1193 2016 need_version=no 1194 2017 need_lib_prefix=no … … 1198 2021 library_names_spec='$libname.dll.a' 1199 2022 # DLL is installed to $(libdir)/../bin by postinstall_cmds 1200 postinstall_cmds='base_file=`basename \${file}` ~1201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~1202 dldir=$destdir/`dirname \$dlpath` ~1203 test -d \$dldir || mkdir -p \$dldir ~2023 postinstall_cmds='base_file=`basename \${file}`${_S_} 2024 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 2025 dldir=$destdir/`dirname \$dlpath`${_S_} 2026 test -d \$dldir || mkdir -p \$dldir${_S_} 1204 2027 $install_prog $dir/$dlname \$dldir/$dlname' 1205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~1206 dlpath=$dir/\$dldll ~2028 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 2029 dlpath=$dir/\$dldll${_S_} 1207 2030 $rm \$dlpath' 1208 2031 shlibpath_overrides_runpath=yes … … 1212 2035 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1213 2036 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1214 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"2037 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 1215 2038 ;; 1216 2039 mingw*) … … 1251 2074 need_lib_prefix=no 1252 2075 need_version=no 1253 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 2076 # FIXME: Relying on posixy $() will cause problems for 2077 # cross-compilation, but unfortunately the echo tests do not 2078 # yet detect zsh echo's removal of \ escapes. 2079 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 1254 2080 soname_spec='${libname}${release}${major}$shared_ext' 1255 2081 shlibpath_overrides_runpath=yes 1256 2082 shlibpath_var=DYLD_LIBRARY_PATH 1257 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'2083 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 1258 2084 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1259 if test "$GCC" = yes; then 1260 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1261 else 1262 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 2085 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2086 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1263 2087 fi 1264 2088 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 1276 2100 freebsd1*) 1277 2101 dynamic_linker=no 1278 ;;1279 1280 kfreebsd*-gnu)1281 version_type=linux1282 need_lib_prefix=no1283 need_version=no1284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1285 soname_spec='${libname}${release}${shared_ext}$major'1286 shlibpath_var=LD_LIBRARY_PATH1287 shlibpath_overrides_runpath=no1288 hardcode_into_libs=yes1289 dynamic_linker='GNU ld.so'1290 2102 ;; 1291 2103 … … 1338 2150 case "$host_cpu" in 1339 2151 ia64*) 1340 shrext _cmds='.so'2152 shrext='.so' 1341 2153 hardcode_into_libs=yes 1342 2154 dynamic_linker="$host_os dld.so" … … 1353 2165 ;; 1354 2166 hppa*64*) 1355 shrext _cmds='.sl'2167 shrext='.sl' 1356 2168 hardcode_into_libs=yes 1357 2169 dynamic_linker="$host_os dld.sl" … … 1364 2176 ;; 1365 2177 *) 1366 shrext _cmds='.sl'2178 shrext='.sl' 1367 2179 dynamic_linker="$host_os dld.sl" 1368 2180 shlibpath_var=SHLIB_PATH … … 1433 2245 hardcode_into_libs=yes 1434 2246 1435 # find out which ABI we are using1436 libsuff=1437 case "$host_cpu" in1438 x86_64*|s390x*|powerpc64*)1439 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1440 if AC_TRY_EVAL(ac_compile); then1441 case `/usr/bin/file conftest.$ac_objext` in1442 *64-bit*)1443 libsuff=641444 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"1445 ;;1446 esac1447 fi1448 rm -rf conftest*1449 ;;1450 esac1451 1452 # Append ld.so.conf contents to the search path1453 if test -f /etc/ld.so.conf; then1454 lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`1455 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"1456 fi1457 1458 2247 # We used to test for /lib/ld.so.1 and disable shared libraries on 1459 2248 # powerpc, because MkLinux only supported shared libraries with the … … 1463 2252 # assume the GNU/Linux dynamic linker is in use. 1464 2253 dynamic_linker='GNU/Linux ld.so' 1465 ;;1466 1467 knetbsd*-gnu)1468 version_type=linux1469 need_lib_prefix=no1470 need_version=no1471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1472 soname_spec='${libname}${release}${shared_ext}$major'1473 shlibpath_var=LD_LIBRARY_PATH1474 shlibpath_overrides_runpath=no1475 hardcode_into_libs=yes1476 dynamic_linker='GNU ld.so'1477 2254 ;; 1478 2255 … … 1486 2263 dynamic_linker='NetBSD (a.out) ld.so' 1487 2264 else 1488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'2265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 1489 2266 soname_spec='${libname}${release}${shared_ext}$major' 1490 2267 dynamic_linker='NetBSD ld.elf_so' … … 1502 2279 ;; 1503 2280 1504 nto-qnx *)2281 nto-qnx) 1505 2282 version_type=linux 1506 2283 need_lib_prefix=no … … 1515 2292 version_type=sunos 1516 2293 need_lib_prefix=no 1517 need_version= yes2294 need_version=no 1518 2295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1519 2296 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 1535 2312 os2*) 1536 2313 libname_spec='$name' 1537 shrext _cmds=".dll"2314 shrext=".dll" 1538 2315 need_lib_prefix=no 1539 2316 library_names_spec='$libname${shared_ext} $libname.a' … … 1971 2748 # AC_PROG_LD 1972 2749 # ---------- 1973 # find the path nameto the GNU or non-GNU linker2750 # find the path to the GNU or non-GNU linker 1974 2751 AC_DEFUN([AC_PROG_LD], 1975 2752 [AC_ARG_WITH([gnu-ld], … … 1997 2774 [[\\/]]* | ?:[[\\/]]*) 1998 2775 re_direlt='/[[^/]][[^/]]*/\.\./' 1999 # Canonicalize the path nameof ld2776 # Canonicalize the path of ld 2000 2777 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 2001 2778 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 2060 2837 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 2061 2838 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 2062 case ` $LD-v 2>&1 </dev/null` in2839 case `"$LD" -v 2>&1 </dev/null` in 2063 2840 *GNU* | *'with BFD'*) 2064 2841 lt_cv_prog_gnu_ld=yes … … 2085 2862 *) reload_flag=" $reload_flag" ;; 2086 2863 esac 2087 reload_cmds='$ LD$reload_flag-o $output$reload_objs'2864 reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs' 2088 2865 ])# AC_PROG_LD_RELOAD_FLAG 2089 2866 … … 2125 2902 ;; 2126 2903 2127 cygwin* )2128 # func_win32_libid is a shell function defined in ltmain.sh2904 cygwin* | mingw* | pw32*) 2905 # win32_libid is a shell function defined in ltmain.sh 2129 2906 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2130 lt_cv_file_magic_cmd='func_win32_libid' 2131 ;; 2132 2133 mingw* | pw32*) 2134 # Base MSYS/MinGW do not provide the 'file' command needed by 2135 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2136 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2137 lt_cv_file_magic_cmd='$OBJDUMP -f' 2907 lt_cv_file_magic_cmd='win32_libid' 2138 2908 ;; 2139 2909 2140 2910 darwin* | rhapsody*) 2911 # this will be overwritten by pass_all, but leave it in just in case 2912 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 2913 lt_cv_file_magic_cmd='/usr/bin/file -L' 2914 case "$host_os" in 2915 rhapsody* | darwin1.[[012]]) 2916 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` 2917 ;; 2918 *) # Darwin 1.3 on 2919 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 2920 ;; 2921 esac 2141 2922 lt_cv_deplibs_check_method=pass_all 2142 2923 ;; 2143 2924 2144 freebsd* | kfreebsd*-gnu)2925 freebsd*) 2145 2926 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2146 2927 case $host_cpu in … … 2181 2962 2182 2963 irix5* | irix6* | nonstopux*) 2183 case $LD in 2184 *-32|*"-32 ") libmagic=32-bit;; 2185 *-n32|*"-n32 ") libmagic=N32;; 2186 *-64|*"-64 ") libmagic=64-bit;; 2187 *) libmagic=never-match;; 2964 case $host_os in 2965 irix5* | nonstopux*) 2966 # this will be overridden with pass_all, but let us keep it just in case 2967 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 2968 ;; 2969 *) 2970 case $LD in 2971 *-32|*"-32 ") libmagic=32-bit;; 2972 *-n32|*"-n32 ") libmagic=N32;; 2973 *-64|*"-64 ") libmagic=64-bit;; 2974 *) libmagic=never-match;; 2975 esac 2976 # this will be overridden with pass_all, but let us keep it just in case 2977 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" 2978 ;; 2188 2979 esac 2980 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 2189 2981 lt_cv_deplibs_check_method=pass_all 2190 2982 ;; … … 2193 2985 linux*) 2194 2986 case $host_cpu in 2195 alpha* |hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)2987 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) 2196 2988 lt_cv_deplibs_check_method=pass_all ;; 2197 2989 *) 2198 2990 # glibc up to 2.1.1 does not perform some relocations on ARM 2199 # this will be overridden with pass_all, but let us keep it just in case2200 2991 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 2201 2992 esac 2202 2993 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 2203 lt_cv_deplibs_check_method=pass_all2204 2994 ;; 2205 2995 … … 2218 3008 ;; 2219 3009 2220 nto-qnx *)3010 nto-qnx) 2221 3011 lt_cv_deplibs_check_method=unknown 2222 3012 ;; … … 2233 3023 2234 3024 osf3* | osf4* | osf5*) 3025 # this will be overridden with pass_all, but let us keep it just in case 3026 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 3027 lt_cv_file_magic_test_file=/shlib/libc.so 2235 3028 lt_cv_deplibs_check_method=pass_all 2236 3029 ;; … … 2242 3035 solaris*) 2243 3036 lt_cv_deplibs_check_method=pass_all 3037 lt_cv_file_magic_test_file=/lib/libc.so 2244 3038 ;; 2245 3039 … … 2281 3075 # AC_PROG_NM 2282 3076 # ---------- 2283 # find the path nameto a BSD-compatible name lister3077 # find the path to a BSD-compatible name lister 2284 3078 AC_DEFUN([AC_PROG_NM], 2285 3079 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, … … 2419 3213 [AC_REQUIRE([AC_PROG_CXX]) 2420 3214 AC_REQUIRE([AC_PROG_CXXCPP]) 2421 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}CXX])3215 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) 2422 3216 ])# _LT_AC_LANG_CXX 2423 3217 … … 2435 3229 AC_DEFUN([_LT_AC_LANG_F77], 2436 3230 [AC_REQUIRE([AC_PROG_F77]) 2437 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}F77])3231 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) 2438 3232 ])# _LT_AC_LANG_F77 2439 3233 … … 2456 3250 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], 2457 3251 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) 2458 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}GCJ])3252 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) 2459 3253 ])# _LT_AC_LANG_GCJ 2460 3254 … … 2465 3259 AC_DEFUN([AC_LIBTOOL_RC], 2466 3260 [AC_REQUIRE([LT_AC_PROG_RC]) 2467 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}RC])3261 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) 2468 3262 ])# AC_LIBTOOL_RC 2469 3263 … … 2507 3301 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 2508 3302 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 2509 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :3303 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : 2510 3304 else 2511 3305 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) … … 2530 3324 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 2531 3325 AC_LIBTOOL_PROG_LD_SHLIBS($1) 2532 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)2533 3326 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 2534 3327 AC_LIBTOOL_SYS_LIB_STRIP 3328 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 2535 3329 AC_LIBTOOL_DLOPEN_SELF($1) 2536 3330 … … 2548 3342 test "$enable_shared" = yes && enable_static=no 2549 3343 if test -n "$RANLIB"; then 2550 archive_cmds="$archive_cmds ~\$RANLIB \$lib"3344 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 2551 3345 postinstall_cmds='$RANLIB $lib' 2552 3346 fi 2553 3347 ;; 2554 3348 2555 aix4* | aix5*)3349 aix4*) 2556 3350 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2557 3351 test "$enable_shared" = yes && enable_static=no … … 2559 3353 ;; 2560 3354 darwin* | rhapsody*) 2561 if test "$GCC" = yes; then3355 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2562 3356 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2563 3357 case "$host_os" in … … 2565 3359 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 2566 3360 ;; 2567 *) # Darwin 1.3 on 2568 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 2569 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2570 else 2571 case ${MACOSX_DEPLOYMENT_TARGET} in 2572 10.[[012]]) 2573 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2574 ;; 2575 10.*) 2576 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 2577 ;; 2578 esac 2579 fi 3361 darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0 3362 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3363 ;; 3364 *) # Darwin 7.0 on 3365 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 3366 10.[[012]]) 3367 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3368 ;; 3369 *) # 10.3 on 3370 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 3371 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3372 else 3373 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 3374 fi 3375 ;; 3376 esac 2580 3377 ;; 2581 3378 esac 2582 output_verbose_link_cmd='echo' 2583 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 2584 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3379 # FIXME: Relying on posixy $() will cause problems for 3380 # cross-compilation, but unfortunately the echo tests do not 3381 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 3382 # `"' quotes if we put them in here... so don't! 3383 output_verbose_link_cmd='echo' 3384 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 3385 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 2585 3386 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 2586 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'2587 _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}'3387 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3388 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2588 3389 _LT_AC_TAGVAR(hardcode_direct, $1)=no 2589 3390 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 2591 3392 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 2592 3393 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 2593 else 2594 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2595 fi 2596 ;; 3394 fi 3395 ;; 2597 3396 esac 2598 3397 AC_MSG_RESULT([$enable_shared]) … … 2729 3528 # overridden to take advantage of the native linker features on 2730 3529 # the platform it is being used on. 2731 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'3530 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 2732 3531 fi 2733 3532 … … 2858 3657 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 2859 3658 # This is similar to how AIX traditionally builds it's shared libraries. 2860 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'3659 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 2861 3660 fi 2862 3661 fi … … 2888 3687 echo EXPORTS > $output_objdir/$soname.def; 2889 3688 cat $export_symbols >> $output_objdir/$soname.def; 2890 fi ~3689 fi${_S_} 2891 3690 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 2892 3691 else … … 2896 3695 2897 3696 darwin* | rhapsody*) 2898 if test "$GXX" = yes; then3697 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2899 3698 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2900 3699 case "$host_os" in … … 2902 3701 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 2903 3702 ;; 2904 *) # Darwin 1.3 on 2905 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 2906 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3703 darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0 3704 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3705 ;; 3706 *) # Darwin 7.0 on 3707 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 3708 10.[[012]]) 3709 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3710 ;; 3711 *) # 10.3 on 3712 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 3713 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3714 else 3715 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 3716 fi 3717 ;; 3718 esac 3719 ;; 3720 esac 3721 lt_int_apple_cc_single_mod=no 3722 output_verbose_link_cmd='echo' 3723 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 3724 lt_int_apple_cc_single_mod=yes 3725 fi 3726 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3727 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3728 else 3729 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3730 fi 3731 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 3732 3733 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 3734 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3735 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2907 3736 else 2908 case ${MACOSX_DEPLOYMENT_TARGET} in 2909 10.[[012]]) 2910 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2911 ;; 2912 10.*) 2913 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 2914 ;; 2915 esac 3737 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2916 3738 fi 2917 ;; 2918 esac 2919 lt_int_apple_cc_single_mod=no 2920 output_verbose_link_cmd='echo' 2921 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 2922 lt_int_apple_cc_single_mod=yes 2923 fi 2924 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 2925 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 2926 else 2927 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 2928 fi 2929 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 2930 2931 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 2932 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 2933 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2934 else 2935 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2936 fi 2937 _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}' 3739 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2938 3740 _LT_AC_TAGVAR(hardcode_direct, $1)=no 2939 3741 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 2941 3743 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 2942 3744 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 2943 else 2944 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2945 fi 3745 fi 2946 3746 ;; 2947 3747 … … 2970 3770 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2971 3771 ;; 2972 freebsd* | kfreebsd*-gnu)3772 freebsd*) 2973 3773 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 2974 3774 # conventions … … 2992 3792 ;; 2993 3793 aCC) 2994 _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'3794 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 2995 3795 # Commands to make compiler produce verbose output that lists 2996 3796 # what "hidden" libraries, object files and flags are used when … … 3001 3801 # from the output so that they don't get included in the library 3002 3802 # dependencies. 3003 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'3803 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 3004 3804 ;; 3005 3805 *) 3006 3806 if test "$GXX" = yes; then 3007 _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'3807 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 3008 3808 else 3009 3809 # FIXME: insert proper C++ library support … … 3294 4094 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 3295 4095 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 3296 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done ~3297 echo "-hidden">> $lib.exp ~3298 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib ~4096 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done${_S_} 4097 echo "-hidden">> $lib.exp${_S_} 4098 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib${_S_} 3299 4099 $rm $lib.exp' 3300 4100 … … 3373 4173 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 3374 4174 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 3375 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~3376 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'4175 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 4176 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 3377 4177 3378 4178 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 3419 4219 if $CC --version | grep -v '^2\.7' > /dev/null; then 3420 4220 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 3421 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~3422 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'4221 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 4222 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 3423 4223 3424 4224 # Commands to make compiler produce verbose output that lists … … 3430 4230 # platform. 3431 4231 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 3432 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~3433 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'4232 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 4233 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 3434 4234 3435 4235 # Commands to make compiler produce verbose output that lists … … 3480 4280 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3481 4281 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3482 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3483 4282 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3484 4283 AC_LIBTOOL_SYS_LIB_STRIP 4284 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3485 4285 AC_LIBTOOL_DLOPEN_SELF($1) 3486 4286 … … 3700 4500 test "$enable_shared" = yes && enable_static=no 3701 4501 if test -n "$RANLIB"; then 3702 archive_cmds="$archive_cmds ~\$RANLIB \$lib"4502 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 3703 4503 postinstall_cmds='$RANLIB $lib' 3704 4504 fi 3705 4505 ;; 3706 aix4* | aix5*)4506 aix4*) 3707 4507 test "$enable_shared" = yes && enable_static=no 3708 4508 ;; … … 3724 4524 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3725 4525 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3726 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3727 4526 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3728 4527 AC_LIBTOOL_SYS_LIB_STRIP 3729 4528 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3730 4529 3731 4530 AC_LIBTOOL_CONFIG($1) … … 3775 4574 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3776 4575 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3777 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3778 4576 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3779 4577 AC_LIBTOOL_SYS_LIB_STRIP 4578 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3780 4579 AC_LIBTOOL_DLOPEN_SELF($1) 3781 4580 … … 3842 4641 if test -n "${ZSH_VERSION+set}" ; then 3843 4642 setopt NO_GLOB_SUBST 3844 fi 4643 fi 3845 4644 # Now quote all the things that may contain metacharacters while being 3846 4645 # careful not to overquote the AC_SUBSTed values. We take copies of the 3847 4646 # variables and quote the copies for generation of the libtool script. 3848 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 3849 SED SHELL STRIP \ 4647 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 3850 4648 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 3851 4649 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 3897 4695 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ 3898 4696 _LT_AC_TAGVAR(module_cmds, $1) | \ 3899 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 4697 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 3900 4698 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ 3901 4699 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ … … 3905 4703 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 3906 4704 # Double-quote double-evaled strings. 3907 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""4705 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 3908 4706 ;; 3909 4707 *) … … 3977 4775 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 3978 4776 4777 # Set the command separator (default: ~) 4778 _S_=\${LIBTOOL_CMD_SEP-\~} 4779 3979 4780 # Shell to use when invoking shell scripts. 3980 4781 SHELL=$lt_SHELL … … 4028 4829 4029 4830 # A symbol stripping program 4030 STRIP=$ lt_STRIP4831 STRIP=$STRIP 4031 4832 4032 4833 # Used to examine libraries when file_magic_cmd begins "file" … … 4059 4860 4060 4861 # Shared library suffix (normally ".so"). 4061 shrext _cmds='$shrext_cmds'4862 shrext='$shrext' 4062 4863 4063 4864 # Executable file suffix (normally ""). … … 4303 5104 # `config.status --recheck' to rerun these tests and create the 4304 5105 # libtool script then. 4305 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 4306 if test -f "$ltmain_in"; then 4307 test -f Makefile && make "$ltmain" 4308 fi 5106 test -f Makefile && make "$ltmain" 4309 5107 fi 4310 5108 ])# AC_LIBTOOL_CONFIG … … 4379 5177 ;; 4380 5178 solaris* | sysv5*) 4381 symcode='[[BD RT]]'5179 symcode='[[BDT]]' 4382 5180 ;; 4383 5181 sysv4) … … 4397 5195 case `$NM -V 2>&1` in 4398 5196 *GNU* | *'with BFD'*) 4399 symcode='[[ABCDGI RSTW]]' ;;5197 symcode='[[ABCDGISTW]]' ;; 4400 5198 esac 4401 5199 … … 4612 5410 esac 4613 5411 ;; 4614 freebsd* | kfreebsd*-gnu)5412 freebsd*) 4615 5413 # FreeBSD uses GNU C++ 4616 5414 ;; … … 4663 5461 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4664 5462 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 4665 ;; 5463 ;; 4666 5464 cxx) 4667 5465 # Compaq C++ … … 4888 5686 linux*) 4889 5687 case $CC in 4890 icc * | ecc*)5688 icc|ecc) 4891 5689 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4892 5690 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4893 5691 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 4894 5692 ;; 4895 ccc *)5693 ccc) 4896 5694 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4897 5695 # All Alpha code is PIC. … … 5023 5821 _LT_AC_TAGVAR(hardcode_automatic, $1)=no 5024 5822 _LT_AC_TAGVAR(module_cmds, $1)= 5025 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5823 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5026 5824 _LT_AC_TAGVAR(always_export_symbols, $1)=no 5027 5825 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' … … 5079 5877 5080 5878 amigaos*) 5081 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'5879 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 5082 5880 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 5083 5881 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes … … 5121 5919 echo EXPORTS > $output_objdir/$soname.def; 5122 5920 cat $export_symbols >> $output_objdir/$soname.def; 5123 fi ~5921 fi${_S_} 5124 5922 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 5125 5923 else … … 5165 5963 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 5166 5964 ;; 5167 5168 linux*)5169 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then5170 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'5171 _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"5172 supports_anon_versioning=no5173 case `$LD -v 2>/dev/null` in5174 *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.115175 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...5176 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...5177 *\ 2.11.*) ;; # other 2.11 versions5178 *) supports_anon_versioning=yes ;;5179 esac5180 if test $supports_anon_versioning = yes; then5181 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~5182 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~5183 $echo "local: *; };" >> $output_objdir/$libname.ver~5184 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'5185 else5186 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"5187 fi5188 else5189 _LT_AC_TAGVAR(ld_shlibs, $1)=no5190 fi5191 ;;5192 5965 5193 5966 *) … … 5218 5991 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 5219 5992 _LT_AC_TAGVAR(always_export_symbols, $1)=yes 5220 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE ~$AR $AR_FLAGS $lib $output_objdir/$soname'5993 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 5221 5994 # Note: this linker hardcodes the directories in LIBPATH if there 5222 5995 # are no directories specified by -L. … … 5340 6113 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 5341 6114 # This is similar to how AIX traditionally builds it's shared libraries. 5342 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'6115 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 5343 6116 fi 5344 6117 fi … … 5346 6119 5347 6120 amigaos*) 5348 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'6121 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 5349 6122 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 5350 6123 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes … … 5367 6140 libext=lib 5368 6141 # Tell ltmain to make .dll files, not .so files. 5369 shrext _cmds=".dll"6142 shrext=".dll" 5370 6143 # FIXME: Setting linknames here is a bad hack. 5371 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='6144 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 5372 6145 # The linker will automatically build a .lib file if we build a DLL. 5373 6146 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' … … 5379 6152 5380 6153 darwin* | rhapsody*) 5381 if test "$GXX" = yes ; then6154 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 5382 6155 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 5383 6156 case "$host_os" in … … 5385 6158 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 5386 6159 ;; 5387 *) # Darwin 1.3 on 5388 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 5389 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 5390 else 5391 case ${MACOSX_DEPLOYMENT_TARGET} in 5392 10.[[012]]) 5393 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 5394 ;; 5395 10.*) 5396 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 5397 ;; 5398 esac 5399 fi 6160 darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0 6161 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 6162 ;; 6163 *) # Darwin 7.0 on 6164 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 6165 10.[[012]]) 6166 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 6167 ;; 6168 *) # 10.3 on 6169 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 6170 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 6171 else 6172 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 6173 fi 6174 ;; 6175 esac 5400 6176 ;; 5401 6177 esac 6178 # FIXME: Relying on posixy $() will cause problems for 6179 # cross-compilation, but unfortunately the echo tests do not 6180 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 6181 # `"' quotes if we put them in here... so don't! 5402 6182 lt_int_apple_cc_single_mod=no 5403 6183 output_verbose_link_cmd='echo' … … 5406 6186 fi 5407 6187 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 5408 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6188 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 5409 6189 else 5410 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6190 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 5411 6191 fi 5412 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'6192 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 5413 6193 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 5414 6194 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 5415 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6195 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 5416 6196 else 5417 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6197 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 5418 6198 fi 5419 _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}'6199 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 5420 6200 _LT_AC_TAGVAR(hardcode_direct, $1)=no 5421 6201 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 5423 6203 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 5424 6204 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 5425 else 5426 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5427 fi 6205 fi 5428 6206 ;; 5429 6207 … … 5458 6236 5459 6237 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 5460 freebsd* | kfreebsd*-gnu)6238 freebsd*) 5461 6239 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 5462 6240 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 5467 6245 hpux9*) 5468 6246 if test "$GCC" = yes; then 5469 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6247 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 5470 6248 else 5471 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6249 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 5472 6250 fi 5473 6251 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' … … 5589 6367 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 5590 6368 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 5591 _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def ~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'6369 _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 5592 6370 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 5593 6371 ;; … … 5613 6391 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 5614 6392 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 5615 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~5616 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'6393 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 6394 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 5617 6395 5618 6396 # Both c and cxx compiler support -rpath directly … … 5634 6412 if test "$GCC" = yes; then 5635 6413 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 5636 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~5637 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'6414 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 6415 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 5638 6416 else 5639 6417 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 5640 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~5641 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'6418 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 6419 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 5642 6420 fi 5643 6421 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 5728 6506 # object files and a static libstdc++, better avoid it by now 5729 6507 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 5730 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~5731 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'6508 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 6509 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 5732 6510 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 5733 6511 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 5765 6543 if test "$enable_shared" = yes && test "$GCC" = yes; then 5766 6544 case $_LT_AC_TAGVAR(archive_cmds, $1) in 5767 * '~'*)6545 *"$_S_"*) 5768 6546 # FIXME: we may have to deal with multi-command sequences. 5769 6547 ;; … … 5775 6553 $rm conftest* 5776 6554 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 5777 6555 5778 6556 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then 5779 6557 soname=conftest … … 5937 6715 ]) 5938 6716 5939 # -*- Autoconf -*-5940 # Copyright (C) 2002, 2003 Free Software Foundation, Inc.5941 # Generated from amversion.in; do not edit by hand.5942 5943 # This program is free software; you can redistribute it and/or modify5944 # it under the terms of the GNU General Public License as published by5945 # the Free Software Foundation; either version 2, or (at your option)5946 # any later version.5947 5948 # This program is distributed in the hope that it will be useful,5949 # but WITHOUT ANY WARRANTY; without even the implied warranty of5950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the5951 # GNU General Public License for more details.5952 5953 # You should have received a copy of the GNU General Public License5954 # along with this program; if not, write to the Free Software5955 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA5956 5957 # AM_AUTOMAKE_VERSION(VERSION)5958 # ----------------------------5959 # Automake X.Y traces this macro to ensure aclocal.m4 has been5960 # generated from the m4 files accompanying Automake X.Y.5961 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])5962 5963 # AM_SET_CURRENT_AUTOMAKE_VERSION5964 # -------------------------------5965 # Call AM_AUTOMAKE_VERSION so it can be traced.5966 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.5967 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],5968 [AM_AUTOMAKE_VERSION([1.8.3])])5969 5970 # AM_AUX_DIR_EXPAND5971 5972 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.5973 5974 # This program is free software; you can redistribute it and/or modify5975 # it under the terms of the GNU General Public License as published by5976 # the Free Software Foundation; either version 2, or (at your option)5977 # any later version.5978 5979 # This program is distributed in the hope that it will be useful,5980 # but WITHOUT ANY WARRANTY; without even the implied warranty of5981 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the5982 # GNU General Public License for more details.5983 5984 # You should have received a copy of the GNU General Public License5985 # along with this program; if not, write to the Free Software5986 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA5987 # 02111-1307, USA.5988 5989 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets5990 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to5991 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.5992 #5993 # Of course, Automake must honor this variable whenever it calls a5994 # tool from the auxiliary directory. The problem is that $srcdir (and5995 # therefore $ac_aux_dir as well) can be either absolute or relative,5996 # depending on how configure is run. This is pretty annoying, since5997 # it makes $ac_aux_dir quite unusable in subdirectories: in the top5998 # source directory, any form will work fine, but in subdirectories a5999 # relative path needs to be adjusted first.6000 #6001 # $ac_aux_dir/missing6002 # fails when called from a subdirectory if $ac_aux_dir is relative6003 # $top_srcdir/$ac_aux_dir/missing6004 # fails if $ac_aux_dir is absolute,6005 # fails when called from a subdirectory in a VPATH build with6006 # a relative $ac_aux_dir6007 #6008 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir6009 # are both prefixed by $srcdir. In an in-source build this is usually6010 # harmless because $srcdir is `.', but things will broke when you6011 # start a VPATH build or use an absolute $srcdir.6012 #6013 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,6014 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:6015 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`6016 # and then we would define $MISSING as6017 # MISSING="\${SHELL} $am_aux_dir/missing"6018 # This will work as long as MISSING is not called from configure, because6019 # unfortunately $(top_srcdir) has no meaning in configure.6020 # However there are other variables, like CC, which are often used in6021 # configure, and could therefore not use this "fixed" $ac_aux_dir.6022 #6023 # Another solution, used here, is to always expand $ac_aux_dir to an6024 # absolute PATH. The drawback is that using absolute paths prevent a6025 # configured tree to be moved without reconfiguration.6026 6027 AC_DEFUN([AM_AUX_DIR_EXPAND],6028 [dnl Rely on autoconf to set up CDPATH properly.6029 AC_PREREQ([2.50])dnl6030 # expand $ac_aux_dir to an absolute path6031 am_aux_dir=`cd $ac_aux_dir && pwd`6032 ])6033 6034 # AM_CONDITIONAL -*- Autoconf -*-6035 6036 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6037 6038 # This program is free software; you can redistribute it and/or modify6039 # it under the terms of the GNU General Public License as published by6040 # the Free Software Foundation; either version 2, or (at your option)6041 # any later version.6042 6043 # This program is distributed in the hope that it will be useful,6044 # but WITHOUT ANY WARRANTY; without even the implied warranty of6045 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6046 # GNU General Public License for more details.6047 6048 # You should have received a copy of the GNU General Public License6049 # along with this program; if not, write to the Free Software6050 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6051 # 02111-1307, USA.6052 6053 # serial 66054 6055 # AM_CONDITIONAL(NAME, SHELL-CONDITION)6056 # -------------------------------------6057 # Define a conditional.6058 AC_DEFUN([AM_CONDITIONAL],6059 [AC_PREREQ(2.52)dnl6060 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],6061 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl6062 AC_SUBST([$1_TRUE])6063 AC_SUBST([$1_FALSE])6064 if $2; then6065 $1_TRUE=6066 $1_FALSE='#'6067 else6068 $1_TRUE='#'6069 $1_FALSE=6070 fi6071 AC_CONFIG_COMMANDS_PRE(6072 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then6073 AC_MSG_ERROR([conditional "$1" was never defined.6074 Usually this means the macro was only invoked conditionally.])6075 fi])])6076 6077 # serial 7 -*- Autoconf -*-6078 6079 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 20046080 # Free Software Foundation, Inc.6081 6082 # This program is free software; you can redistribute it and/or modify6083 # it under the terms of the GNU General Public License as published by6084 # the Free Software Foundation; either version 2, or (at your option)6085 # any later version.6086 6087 # This program is distributed in the hope that it will be useful,6088 # but WITHOUT ANY WARRANTY; without even the implied warranty of6089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6090 # GNU General Public License for more details.6091 6092 # You should have received a copy of the GNU General Public License6093 # along with this program; if not, write to the Free Software6094 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6095 # 02111-1307, USA.6096 6097 6098 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be6099 # written in clear, in which case automake, when reading aclocal.m4,6100 # will think it sees a *use*, and therefore will trigger all it's6101 # C support machinery. Also note that it means that autoscan, seeing6102 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...6103 6104 6105 6106 # _AM_DEPENDENCIES(NAME)6107 # ----------------------6108 # See how the compiler implements dependency checking.6109 # NAME is "CC", "CXX", "GCJ", or "OBJC".6110 # We try a few techniques and use that to set a single cache variable.6111 #6112 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was6113 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular6114 # dependency, and given that the user is not expected to run this macro,6115 # just rely on AC_PROG_CC.6116 AC_DEFUN([_AM_DEPENDENCIES],6117 [AC_REQUIRE([AM_SET_DEPDIR])dnl6118 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl6119 AC_REQUIRE([AM_MAKE_INCLUDE])dnl6120 AC_REQUIRE([AM_DEP_TRACK])dnl6121 6122 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],6123 [$1], CXX, [depcc="$CXX" am_compiler_list=],6124 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],6125 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],6126 [depcc="$$1" am_compiler_list=])6127 6128 AC_CACHE_CHECK([dependency style of $depcc],6129 [am_cv_$1_dependencies_compiler_type],6130 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then6131 # We make a subdir and do the tests there. Otherwise we can end up6132 # making bogus files that we don't know about and never remove. For6133 # instance it was reported that on HP-UX the gcc test will end up6134 # making a dummy file named `D' -- because `-MD' means `put the output6135 # in D'.6136 mkdir conftest.dir6137 # Copy depcomp to subdir because otherwise we won't find it if we're6138 # using a relative directory.6139 cp "$am_depcomp" conftest.dir6140 cd conftest.dir6141 # We will build objects and dependencies in a subdirectory because6142 # it helps to detect inapplicable dependency modes. For instance6143 # both Tru64's cc and ICC support -MD to output dependencies as a6144 # side effect of compilation, but ICC will put the dependencies in6145 # the current directory while Tru64 will put them in the object6146 # directory.6147 mkdir sub6148 6149 am_cv_$1_dependencies_compiler_type=none6150 if test "$am_compiler_list" = ""; then6151 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`6152 fi6153 for depmode in $am_compiler_list; do6154 # Setup a source with many dependencies, because some compilers6155 # like to wrap large dependency lists on column 80 (with \), and6156 # we should not choose a depcomp mode which is confused by this.6157 #6158 # We need to recreate these files for each test, as the compiler may6159 # overwrite some of them when testing with obscure command lines.6160 # This happens at least with the AIX C compiler.6161 : > sub/conftest.c6162 for i in 1 2 3 4 5 6; do6163 echo '#include "conftst'$i'.h"' >> sub/conftest.c6164 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with6165 # Solaris 8's {/usr,}/bin/sh.6166 touch sub/conftst$i.h6167 done6168 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf6169 6170 case $depmode in6171 nosideeffect)6172 # after this tag, mechanisms are not by side-effect, so they'll6173 # only be used when explicitly requested6174 if test "x$enable_dependency_tracking" = xyes; then6175 continue6176 else6177 break6178 fi6179 ;;6180 none) break ;;6181 esac6182 # We check with `-c' and `-o' for the sake of the "dashmstdout"6183 # mode. It turns out that the SunPro C++ compiler does not properly6184 # handle `-M -o', and we need to detect this.6185 if depmode=$depmode \6186 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \6187 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \6188 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \6189 >/dev/null 2>conftest.err &&6190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&6191 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&6192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then6193 # icc doesn't choke on unknown options, it will just issue warnings6194 # (even with -Werror). So we grep stderr for any message6195 # that says an option was ignored.6196 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else6197 am_cv_$1_dependencies_compiler_type=$depmode6198 break6199 fi6200 fi6201 done6202 6203 cd ..6204 rm -rf conftest.dir6205 else6206 am_cv_$1_dependencies_compiler_type=none6207 fi6208 ])6209 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])6210 AM_CONDITIONAL([am__fastdep$1], [6211 test "x$enable_dependency_tracking" != xno \6212 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])6213 ])6214 6215 6216 # AM_SET_DEPDIR6217 # -------------6218 # Choose a directory name for dependency files.6219 # This macro is AC_REQUIREd in _AM_DEPENDENCIES6220 AC_DEFUN([AM_SET_DEPDIR],6221 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl6222 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl6223 ])6224 6225 6226 # AM_DEP_TRACK6227 # ------------6228 AC_DEFUN([AM_DEP_TRACK],6229 [AC_ARG_ENABLE(dependency-tracking,6230 [ --disable-dependency-tracking speeds up one-time build6231 --enable-dependency-tracking do not reject slow dependency extractors])6232 if test "x$enable_dependency_tracking" != xno; then6233 am_depcomp="$ac_aux_dir/depcomp"6234 AMDEPBACKSLASH='\'6235 fi6236 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])6237 AC_SUBST([AMDEPBACKSLASH])6238 ])6239 6240 # Generate code to set up dependency tracking. -*- Autoconf -*-6241 6242 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.6243 6244 # This program is free software; you can redistribute it and/or modify6245 # it under the terms of the GNU General Public License as published by6246 # the Free Software Foundation; either version 2, or (at your option)6247 # any later version.6248 6249 # This program is distributed in the hope that it will be useful,6250 # but WITHOUT ANY WARRANTY; without even the implied warranty of6251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6252 # GNU General Public License for more details.6253 6254 # You should have received a copy of the GNU General Public License6255 # along with this program; if not, write to the Free Software6256 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6257 # 02111-1307, USA.6258 6259 #serial 26260 6261 # _AM_OUTPUT_DEPENDENCY_COMMANDS6262 # ------------------------------6263 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],6264 [for mf in $CONFIG_FILES; do6265 # Strip MF so we end up with the name of the file.6266 mf=`echo "$mf" | sed -e 's/:.*$//'`6267 # Check whether this is an Automake generated Makefile or not.6268 # We used to match only the files named `Makefile.in', but6269 # some people rename them; so instead we look at the file content.6270 # Grep'ing the first line is not enough: some people post-process6271 # each Makefile.in and add a new line on top of each file to say so.6272 # So let's grep whole file.6273 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then6274 dirpart=`AS_DIRNAME("$mf")`6275 else6276 continue6277 fi6278 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue6279 # Extract the definition of DEP_FILES from the Makefile without6280 # running `make'.6281 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`6282 test -z "$DEPDIR" && continue6283 # When using ansi2knr, U may be empty or an underscore; expand it6284 U=`sed -n 's/^U = //p' < "$mf"`6285 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"6286 # We invoke sed twice because it is the simplest approach to6287 # changing $(DEPDIR) to its actual value in the expansion.6288 for file in `sed -n '6289 /^DEP_FILES = .*\\\\$/ {6290 s/^DEP_FILES = //6291 :loop6292 s/\\\\$//6293 p6294 n6295 /\\\\$/ b loop6296 p6297 }6298 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \6299 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do6300 # Make sure the directory exists.6301 test -f "$dirpart/$file" && continue6302 fdir=`AS_DIRNAME(["$file"])`6303 AS_MKDIR_P([$dirpart/$fdir])6304 # echo "creating $dirpart/$file"6305 echo '# dummy' > "$dirpart/$file"6306 done6307 done6308 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS6309 6310 6311 # AM_OUTPUT_DEPENDENCY_COMMANDS6312 # -----------------------------6313 # This macro should only be invoked once -- use via AC_REQUIRE.6314 #6315 # This code is only required when automatic dependency tracking6316 # is enabled. FIXME. This creates each `.P' file that we will6317 # need in order to bootstrap the dependency handling code.6318 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],6319 [AC_CONFIG_COMMANDS([depfiles],6320 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],6321 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])6322 ])6323 6324 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-6325 6326 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6327 6328 # This program is free software; you can redistribute it and/or modify6329 # it under the terms of the GNU General Public License as published by6330 # the Free Software Foundation; either version 2, or (at your option)6331 # any later version.6332 6333 # This program is distributed in the hope that it will be useful,6334 # but WITHOUT ANY WARRANTY; without even the implied warranty of6335 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6336 # GNU General Public License for more details.6337 6338 # You should have received a copy of the GNU General Public License6339 # along with this program; if not, write to the Free Software6340 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6341 # 02111-1307, USA.6342 6343 # serial 76344 6345 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.6346 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])6347 6348 # Do all the work for Automake. -*- Autoconf -*-6349 6350 # This macro actually does too much some checks are only needed if6351 # your package does certain things. But this isn't really a big deal.6352 6353 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20036354 # Free Software Foundation, Inc.6355 6356 # This program is free software; you can redistribute it and/or modify6357 # it under the terms of the GNU General Public License as published by6358 # the Free Software Foundation; either version 2, or (at your option)6359 # any later version.6360 6361 # This program is distributed in the hope that it will be useful,6362 # but WITHOUT ANY WARRANTY; without even the implied warranty of6363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6364 # GNU General Public License for more details.6365 6366 # You should have received a copy of the GNU General Public License6367 # along with this program; if not, write to the Free Software6368 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6369 # 02111-1307, USA.6370 6371 # serial 116372 6373 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])6374 # AM_INIT_AUTOMAKE([OPTIONS])6375 # -----------------------------------------------6376 # The call with PACKAGE and VERSION arguments is the old style6377 # call (pre autoconf-2.50), which is being phased out. PACKAGE6378 # and VERSION should now be passed to AC_INIT and removed from6379 # the call to AM_INIT_AUTOMAKE.6380 # We support both call styles for the transition. After6381 # the next Automake release, Autoconf can make the AC_INIT6382 # arguments mandatory, and then we can depend on a new Autoconf6383 # release and drop the old call support.6384 AC_DEFUN([AM_INIT_AUTOMAKE],6385 [AC_PREREQ([2.50])dnl6386 dnl Autoconf wants to disallow AM_ names. We explicitly allow6387 dnl the ones we care about.6388 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl6389 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl6390 AC_REQUIRE([AC_PROG_INSTALL])dnl6391 # test to see if srcdir already configured6392 if test "`cd $srcdir && pwd`" != "`pwd`" &&6393 test -f $srcdir/config.status; then6394 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])6395 fi6396 6397 # test whether we have cygpath6398 if test -z "$CYGPATH_W"; then6399 if (cygpath --version) >/dev/null 2>/dev/null; then6400 CYGPATH_W='cygpath -w'6401 else6402 CYGPATH_W=echo6403 fi6404 fi6405 AC_SUBST([CYGPATH_W])6406 6407 # Define the identity of the package.6408 dnl Distinguish between old-style and new-style calls.6409 m4_ifval([$2],6410 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl6411 AC_SUBST([PACKAGE], [$1])dnl6412 AC_SUBST([VERSION], [$2])],6413 [_AM_SET_OPTIONS([$1])dnl6414 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl6415 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl6416 6417 _AM_IF_OPTION([no-define],,6418 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])6419 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl6420 6421 # Some tools Automake needs.6422 AC_REQUIRE([AM_SANITY_CHECK])dnl6423 AC_REQUIRE([AC_ARG_PROGRAM])dnl6424 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})6425 AM_MISSING_PROG(AUTOCONF, autoconf)6426 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})6427 AM_MISSING_PROG(AUTOHEADER, autoheader)6428 AM_MISSING_PROG(MAKEINFO, makeinfo)6429 AM_MISSING_PROG(AMTAR, tar)6430 AM_PROG_INSTALL_SH6431 AM_PROG_INSTALL_STRIP6432 AC_REQUIRE([AM_PROG_MKDIR_P])dnl6433 # We need awk for the "check" target. The system "awk" is bad on6434 # some platforms.6435 AC_REQUIRE([AC_PROG_AWK])dnl6436 AC_REQUIRE([AC_PROG_MAKE_SET])dnl6437 AC_REQUIRE([AM_SET_LEADING_DOT])dnl6438 6439 _AM_IF_OPTION([no-dependencies],,6440 [AC_PROVIDE_IFELSE([AC_PROG_CC],6441 [_AM_DEPENDENCIES(CC)],6442 [define([AC_PROG_CC],6443 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl6444 AC_PROVIDE_IFELSE([AC_PROG_CXX],6445 [_AM_DEPENDENCIES(CXX)],6446 [define([AC_PROG_CXX],6447 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl6448 ])6449 ])6450 6451 6452 # When config.status generates a header, we must update the stamp-h file.6453 # This file resides in the same directory as the config header6454 # that is generated. The stamp files are numbered to have different names.6455 6456 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the6457 # loop where config.status creates the headers, so we can generate6458 # our stamp files there.6459 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],6460 [# Compute $1's index in $config_headers.6461 _am_stamp_count=16462 for _am_header in $config_headers :; do6463 case $_am_header in6464 $1 | $1:* )6465 break ;;6466 * )6467 _am_stamp_count=`expr $_am_stamp_count + 1` ;;6468 esac6469 done6470 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])6471 6472 # AM_PROG_INSTALL_SH6473 # ------------------6474 # Define $install_sh.6475 6476 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.6477 6478 # This program is free software; you can redistribute it and/or modify6479 # it under the terms of the GNU General Public License as published by6480 # the Free Software Foundation; either version 2, or (at your option)6481 # any later version.6482 6483 # This program is distributed in the hope that it will be useful,6484 # but WITHOUT ANY WARRANTY; without even the implied warranty of6485 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6486 # GNU General Public License for more details.6487 6488 # You should have received a copy of the GNU General Public License6489 # along with this program; if not, write to the Free Software6490 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6491 # 02111-1307, USA.6492 6493 AC_DEFUN([AM_PROG_INSTALL_SH],6494 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl6495 install_sh=${install_sh-"$am_aux_dir/install-sh"}6496 AC_SUBST(install_sh)])6497 6498 # -*- Autoconf -*-6499 # Copyright (C) 2003 Free Software Foundation, Inc.6500 6501 # This program is free software; you can redistribute it and/or modify6502 # it under the terms of the GNU General Public License as published by6503 # the Free Software Foundation; either version 2, or (at your option)6504 # any later version.6505 6506 # This program is distributed in the hope that it will be useful,6507 # but WITHOUT ANY WARRANTY; without even the implied warranty of6508 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6509 # GNU General Public License for more details.6510 6511 # You should have received a copy of the GNU General Public License6512 # along with this program; if not, write to the Free Software6513 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6514 # 02111-1307, USA.6515 6516 # serial 16517 6518 # Check whether the underlying file-system supports filenames6519 # with a leading dot. For instance MS-DOS doesn't.6520 AC_DEFUN([AM_SET_LEADING_DOT],6521 [rm -rf .tst 2>/dev/null6522 mkdir .tst 2>/dev/null6523 if test -d .tst; then6524 am__leading_dot=.6525 else6526 am__leading_dot=_6527 fi6528 rmdir .tst 2>/dev/null6529 AC_SUBST([am__leading_dot])])6530 6531 # Check to see how 'make' treats includes. -*- Autoconf -*-6532 6533 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.6534 6535 # This program is free software; you can redistribute it and/or modify6536 # it under the terms of the GNU General Public License as published by6537 # the Free Software Foundation; either version 2, or (at your option)6538 # any later version.6539 6540 # This program is distributed in the hope that it will be useful,6541 # but WITHOUT ANY WARRANTY; without even the implied warranty of6542 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6543 # GNU General Public License for more details.6544 6545 # You should have received a copy of the GNU General Public License6546 # along with this program; if not, write to the Free Software6547 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6548 # 02111-1307, USA.6549 6550 # serial 26551 6552 # AM_MAKE_INCLUDE()6553 # -----------------6554 # Check to see how make treats includes.6555 AC_DEFUN([AM_MAKE_INCLUDE],6556 [am_make=${MAKE-make}6557 cat > confinc << 'END'6558 am__doit:6559 @echo done6560 .PHONY: am__doit6561 END6562 # If we don't find an include directive, just comment out the code.6563 AC_MSG_CHECKING([for style of include used by $am_make])6564 am__include="#"6565 am__quote=6566 _am_result=none6567 # First try GNU make style include.6568 echo "include confinc" > confmf6569 # We grep out `Entering directory' and `Leaving directory'6570 # messages which can occur if `w' ends up in MAKEFLAGS.6571 # In particular we don't look at `^make:' because GNU make might6572 # be invoked under some other name (usually "gmake"), in which6573 # case it prints its new name instead of `make'.6574 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then6575 am__include=include6576 am__quote=6577 _am_result=GNU6578 fi6579 # Now try BSD make style include.6580 if test "$am__include" = "#"; then6581 echo '.include "confinc"' > confmf6582 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then6583 am__include=.include6584 am__quote="\""6585 _am_result=BSD6586 fi6587 fi6588 AC_SUBST([am__include])6589 AC_SUBST([am__quote])6590 AC_MSG_RESULT([$_am_result])6591 rm -f confinc confmf6592 ])6593 6594 # -*- Autoconf -*-6595 6596 6597 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.6598 6599 # This program is free software; you can redistribute it and/or modify6600 # it under the terms of the GNU General Public License as published by6601 # the Free Software Foundation; either version 2, or (at your option)6602 # any later version.6603 6604 # This program is distributed in the hope that it will be useful,6605 # but WITHOUT ANY WARRANTY; without even the implied warranty of6606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6607 # GNU General Public License for more details.6608 6609 # You should have received a copy of the GNU General Public License6610 # along with this program; if not, write to the Free Software6611 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6612 # 02111-1307, USA.6613 6614 # serial 36615 6616 # AM_MISSING_PROG(NAME, PROGRAM)6617 # ------------------------------6618 AC_DEFUN([AM_MISSING_PROG],6619 [AC_REQUIRE([AM_MISSING_HAS_RUN])6620 $1=${$1-"${am_missing_run}$2"}6621 AC_SUBST($1)])6622 6623 6624 # AM_MISSING_HAS_RUN6625 # ------------------6626 # Define MISSING if not defined so far and test if it supports --run.6627 # If it does, set am_missing_run to use it, otherwise, to nothing.6628 AC_DEFUN([AM_MISSING_HAS_RUN],6629 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl6630 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"6631 # Use eval to expand $SHELL6632 if eval "$MISSING --run true"; then6633 am_missing_run="$MISSING --run "6634 else6635 am_missing_run=6636 AC_MSG_WARN([`missing' script is too old or missing])6637 fi6638 ])6639 6640 # AM_PROG_MKDIR_P6641 # ---------------6642 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.6643 6644 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.6645 6646 # This program is free software; you can redistribute it and/or modify6647 # it under the terms of the GNU General Public License as published by6648 # the Free Software Foundation; either version 2, or (at your option)6649 # any later version.6650 6651 # This program is distributed in the hope that it will be useful,6652 # but WITHOUT ANY WARRANTY; without even the implied warranty of6653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6654 # GNU General Public License for more details.6655 6656 # You should have received a copy of the GNU General Public License6657 # along with this program; if not, write to the Free Software6658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6659 # 02111-1307, USA.6660 6661 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories6662 # created by `make install' are always world readable, even if the6663 # installer happens to have an overly restrictive umask (e.g. 077).6664 # This was a mistake. There are at least two reasons why we must not6665 # use `-m 0755':6666 # - it causes special bits like SGID to be ignored,6667 # - it may be too restrictive (some setups expect 775 directories).6668 #6669 # Do not use -m 0755 and let people choose whatever they expect by6670 # setting umask.6671 #6672 # We cannot accept any implementation of `mkdir' that recognizes `-p'.6673 # Some implementations (such as Solaris 8's) are not thread-safe: if a6674 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'6675 # concurrently, both version can detect that a/ is missing, but only6676 # one can create it and the other will error out. Consequently we6677 # restrict ourselves to GNU make (using the --version option ensures6678 # this.)6679 AC_DEFUN([AM_PROG_MKDIR_P],6680 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then6681 # Keeping the `.' argument allows $(mkdir_p) to be used without6682 # argument. Indeed, we sometimes output rules like6683 # $(mkdir_p) $(somedir)6684 # where $(somedir) is conditionally defined.6685 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more6686 # expensive solution, as it forces Make to start a sub-shell.)6687 mkdir_p='mkdir -p -- .'6688 else6689 # On NextStep and OpenStep, the `mkdir' command does not6690 # recognize any option. It will interpret all options as6691 # directories to create, and then abort because `.' already6692 # exists.6693 for d in ./-p ./--version;6694 do6695 test -d $d && rmdir $d6696 done6697 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.6698 if test -f "$ac_aux_dir/mkinstalldirs"; then6699 mkdir_p='$(mkinstalldirs)'6700 else6701 mkdir_p='$(install_sh) -d'6702 fi6703 fi6704 AC_SUBST([mkdir_p])])6705 6706 # Helper functions for option handling. -*- Autoconf -*-6707 6708 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.6709 6710 # This program is free software; you can redistribute it and/or modify6711 # it under the terms of the GNU General Public License as published by6712 # the Free Software Foundation; either version 2, or (at your option)6713 # any later version.6714 6715 # This program is distributed in the hope that it will be useful,6716 # but WITHOUT ANY WARRANTY; without even the implied warranty of6717 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6718 # GNU General Public License for more details.6719 6720 # You should have received a copy of the GNU General Public License6721 # along with this program; if not, write to the Free Software6722 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6723 # 02111-1307, USA.6724 6725 # serial 26726 6727 # _AM_MANGLE_OPTION(NAME)6728 # -----------------------6729 AC_DEFUN([_AM_MANGLE_OPTION],6730 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])6731 6732 # _AM_SET_OPTION(NAME)6733 # ------------------------------6734 # Set option NAME. Presently that only means defining a flag for this option.6735 AC_DEFUN([_AM_SET_OPTION],6736 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])6737 6738 # _AM_SET_OPTIONS(OPTIONS)6739 # ----------------------------------6740 # OPTIONS is a space-separated list of Automake options.6741 AC_DEFUN([_AM_SET_OPTIONS],6742 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])6743 6744 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])6745 # -------------------------------------------6746 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.6747 AC_DEFUN([_AM_IF_OPTION],6748 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])6749 6750 #6751 # Check to make sure that the build environment is sane.6752 #6753 6754 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6755 6756 # This program is free software; you can redistribute it and/or modify6757 # it under the terms of the GNU General Public License as published by6758 # the Free Software Foundation; either version 2, or (at your option)6759 # any later version.6760 6761 # This program is distributed in the hope that it will be useful,6762 # but WITHOUT ANY WARRANTY; without even the implied warranty of6763 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6764 # GNU General Public License for more details.6765 6766 # You should have received a copy of the GNU General Public License6767 # along with this program; if not, write to the Free Software6768 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6769 # 02111-1307, USA.6770 6771 # serial 36772 6773 # AM_SANITY_CHECK6774 # ---------------6775 AC_DEFUN([AM_SANITY_CHECK],6776 [AC_MSG_CHECKING([whether build environment is sane])6777 # Just in case6778 sleep 16779 echo timestamp > conftest.file6780 # Do `set' in a subshell so we don't clobber the current shell's6781 # arguments. Must try -L first in case configure is actually a6782 # symlink; some systems play weird games with the mod time of symlinks6783 # (eg FreeBSD returns the mod time of the symlink's containing6784 # directory).6785 if (6786 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`6787 if test "$[*]" = "X"; then6788 # -L didn't work.6789 set X `ls -t $srcdir/configure conftest.file`6790 fi6791 rm -f conftest.file6792 if test "$[*]" != "X $srcdir/configure conftest.file" \6793 && test "$[*]" != "X conftest.file $srcdir/configure"; then6794 6795 # If neither matched, then we have a broken ls. This can happen6796 # if, for instance, CONFIG_SHELL is bash and it inherits a6797 # broken ls alias from the environment. This has actually6798 # happened. Such a system could not be considered "sane".6799 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken6800 alias in your environment])6801 fi6802 6803 test "$[2]" = conftest.file6804 )6805 then6806 # Ok.6807 :6808 else6809 AC_MSG_ERROR([newly created file is older than distributed files!6810 Check your system clock])6811 fi6812 AC_MSG_RESULT(yes)])6813 6814 # AM_PROG_INSTALL_STRIP6815 6816 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.6817 6818 # This program is free software; you can redistribute it and/or modify6819 # it under the terms of the GNU General Public License as published by6820 # the Free Software Foundation; either version 2, or (at your option)6821 # any later version.6822 6823 # This program is distributed in the hope that it will be useful,6824 # but WITHOUT ANY WARRANTY; without even the implied warranty of6825 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6826 # GNU General Public License for more details.6827 6828 # You should have received a copy of the GNU General Public License6829 # along with this program; if not, write to the Free Software6830 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6831 # 02111-1307, USA.6832 6833 # One issue with vendor `install' (even GNU) is that you can't6834 # specify the program used to strip binaries. This is especially6835 # annoying in cross-compiling environments, where the build's strip6836 # is unlikely to handle the host's binaries.6837 # Fortunately install-sh will honor a STRIPPROG variable, so we6838 # always use install-sh in `make install-strip', and initialize6839 # STRIPPROG with the value of the STRIP variable (set by the user).6840 AC_DEFUN([AM_PROG_INSTALL_STRIP],6841 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl6842 # Installed binaries are usually stripped using `strip' when the user6843 # run `make install-strip'. However `strip' might not be the right6844 # tool to use in cross-compilation environments, therefore Automake6845 # will honor the `STRIP' environment variable to overrule this program.6846 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.6847 if test "$cross_compiling" != no; then6848 AC_CHECK_TOOL([STRIP], [strip], :)6849 fi6850 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"6851 AC_SUBST([INSTALL_STRIP_PROGRAM])])6852 -
branches/rel3/psModules/configure
r2157 r2165 391 391 392 392 393 tagnames= ${tagnames+${tagnames},}CXX394 395 tagnames= ${tagnames+${tagnames},}F77393 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` 394 395 tagnames=`echo "$tagnames,F77" | sed 's/^,//'` 396 396 397 397 # Name of the host. … … 463 463 #endif" 464 464 465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS' 466 466 ac_subst_files='' 467 467 … … 1023 1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1024 1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1025 --disable-dependency-tracking speeds up one-time build1026 --enable-dependency-tracking do not reject slow dependency extractors1025 --disable-dependency-tracking Speeds up one-time builds 1026 --enable-dependency-tracking Do not reject slow dependency extractors 1027 1027 --enable-shared[=PKGS] 1028 1028 build shared libraries [default=yes] … … 1468 1468 1469 1469 1470 # Add the stamp file to the list of files AC keeps track of, 1471 # along with our hook. 1470 1472 ac_config_headers="$ac_config_headers src/config.h" 1471 1473 1472 am__api_version="1.8" 1474 1475 1476 am__api_version="1.6" 1473 1477 ac_aux_dir= 1474 1478 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1631 1635 rm conftest.sed 1632 1636 1637 1633 1638 # expand $ac_aux_dir to an absolute path 1634 1639 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1642 1647 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1643 1648 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1644 fi1645 1646 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1647 # Keeping the `.' argument allows $(mkdir_p) to be used without1648 # argument. Indeed, we sometimes output rules like1649 # $(mkdir_p) $(somedir)1650 # where $(somedir) is conditionally defined.1651 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more1652 # expensive solution, as it forces Make to start a sub-shell.)1653 mkdir_p='mkdir -p -- .'1654 else1655 # On NextStep and OpenStep, the `mkdir' command does not1656 # recognize any option. It will interpret all options as1657 # directories to create, and then abort because `.' already1658 # exists.1659 for d in ./-p ./--version;1660 do1661 test -d $d && rmdir $d1662 done1663 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.1664 if test -f "$ac_aux_dir/mkinstalldirs"; then1665 mkdir_p='$(mkinstalldirs)'1666 else1667 mkdir_p='$(install_sh) -d'1668 fi1669 1649 fi 1670 1650 … … 1738 1718 fi 1739 1719 1740 rm -rf .tst 2>/dev/null 1741 mkdir .tst 2>/dev/null 1742 if test -d .tst; then 1743 am__leading_dot=. 1744 else 1745 am__leading_dot=_ 1746 fi 1747 rmdir .tst 2>/dev/null 1748 1749 # test to see if srcdir already configured 1720 # test to see if srcdir already configured 1750 1721 if test "`cd $srcdir && pwd`" != "`pwd`" && 1751 1722 test -f $srcdir/config.status; then … … 1754 1725 { (exit 1); exit 1; }; } 1755 1726 fi 1756 1757 # test whether we have cygpath1758 if test -z "$CYGPATH_W"; then1759 if (cygpath --version) >/dev/null 2>/dev/null; then1760 CYGPATH_W='cygpath -w'1761 else1762 CYGPATH_W=echo1763 fi1764 fi1765 1766 1727 1767 1728 # Define the identity of the package. … … 2767 2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2768 2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2769 DEPDIR="${am__leading_dot}deps" 2730 rm -f .deps 2>/dev/null 2731 mkdir .deps 2>/dev/null 2732 if test -d .deps; then 2733 DEPDIR=.deps 2734 else 2735 # MS-DOS does not allow filenames that begin with a dot. 2736 DEPDIR=_deps 2737 fi 2738 rmdir .deps 2>/dev/null 2739 2770 2740 2771 2741 ac_config_commands="$ac_config_commands depfiles" … … 2774 2744 am_make=${MAKE-make} 2775 2745 cat > confinc << 'END' 2776 am__doit:2746 doit: 2777 2747 @echo done 2778 .PHONY: am__doit2779 2748 END 2780 2749 # If we don't find an include directive, just comment out the code. … … 2791 2760 # be invoked under some other name (usually "gmake"), in which 2792 2761 # case it prints its new name instead of `make'. 2793 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2762 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 2794 2763 am__include=include 2795 2764 am__quote= … … 2851 2820 cp "$am_depcomp" conftest.dir 2852 2821 cd conftest.dir 2853 # We will build objects and dependencies in a subdirectory because2854 # it helps to detect inapplicable dependency modes. For instance2855 # both Tru64's cc and ICC support -MD to output dependencies as a2856 # side effect of compilation, but ICC will put the dependencies in2857 # the current directory while Tru64 will put them in the object2858 # directory.2859 mkdir sub2860 2822 2861 2823 am_cv_CC_dependencies_compiler_type=none … … 2864 2826 fi 2865 2827 for depmode in $am_compiler_list; do 2866 # Setup a source with many dependencies, because some compilers2867 # like to wrap large dependency lists on column 80 (with \), and2868 # we should not choose a depcomp mode which is confused by this.2869 #2870 2828 # We need to recreate these files for each test, as the compiler may 2871 2829 # overwrite some of them when testing with obscure command lines. 2872 2830 # This happens at least with the AIX C compiler. 2873 : > sub/conftest.c 2874 for i in 1 2 3 4 5 6; do 2875 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2876 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2877 # Solaris 8's {/usr,}/bin/sh. 2878 touch sub/conftst$i.h 2879 done 2880 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2831 echo '#include "conftest.h"' > conftest.c 2832 echo 'int i;' > conftest.h 2833 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2881 2834 2882 2835 case $depmode in … … 2896 2849 # handle `-M -o', and we need to detect this. 2897 2850 if depmode=$depmode \ 2898 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2900 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2901 >/dev/null 2>conftest.err && 2902 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2903 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2851 source=conftest.c object=conftest.o \ 2852 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2853 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2854 grep conftest.h conftest.Po > /dev/null 2>&1 && 2904 2855 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2905 # icc doesn't choke on unknown options, it will just issue warnings 2906 # (even with -Werror). So we grep stderr for any message 2907 # that says an option was ignored. 2908 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2909 am_cv_CC_dependencies_compiler_type=$depmode 2910 break 2911 fi 2856 am_cv_CC_dependencies_compiler_type=$depmode 2857 break 2912 2858 fi 2913 2859 done … … 2923 2869 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2924 2870 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2925 2926 2927 2928 if2929 test "x$enable_dependency_tracking" != xno \2930 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2931 am__fastdepCC_TRUE=2932 am__fastdepCC_FALSE='#'2933 else2934 am__fastdepCC_TRUE='#'2935 am__fastdepCC_FALSE=2936 fi2937 2871 2938 2872 … … 3241 3175 [\\/]* | ?:[\\/]*) 3242 3176 re_direlt='/[^/][^/]*/\.\./' 3243 # Canonicalize the path nameof ld3177 # Canonicalize the path of ld 3244 3178 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 3245 3179 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 3310 3244 else 3311 3245 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3312 case ` $LD-v 2>&1 </dev/null` in3246 case `"$LD" -v 2>&1 </dev/null` in 3313 3247 *GNU* | *'with BFD'*) 3314 3248 lt_cv_prog_gnu_ld=yes … … 3338 3272 *) reload_flag=" $reload_flag" ;; 3339 3273 esac 3340 reload_cmds='$ LD$reload_flag-o $output$reload_objs'3274 reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs' 3341 3275 3342 3276 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 … … 3431 3365 ;; 3432 3366 3433 cygwin* )3434 # func_win32_libid is a shell function defined in ltmain.sh3367 cygwin* | mingw* | pw32*) 3368 # win32_libid is a shell function defined in ltmain.sh 3435 3369 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 3436 lt_cv_file_magic_cmd=' func_win32_libid'3370 lt_cv_file_magic_cmd='win32_libid' 3437 3371 ;; 3438 3372 3439 mingw* | pw32*)3440 # Base MSYS/MinGW do not provide the 'file' command needed by3441 # func_win32_libid shell function, so use a weaker test based on 'objdump'.3442 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'3443 lt_cv_file_magic_cmd='$OBJDUMP -f'3444 ;;3445 3446 3373 darwin* | rhapsody*) 3374 # this will be overwritten by pass_all, but leave it in just in case 3375 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 3376 lt_cv_file_magic_cmd='/usr/bin/file -L' 3377 case "$host_os" in 3378 rhapsody* | darwin1.[012]) 3379 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` 3380 ;; 3381 *) # Darwin 1.3 on 3382 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 3383 ;; 3384 esac 3447 3385 lt_cv_deplibs_check_method=pass_all 3448 3386 ;; 3449 3387 3450 freebsd* | kfreebsd*-gnu)3388 freebsd*) 3451 3389 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3452 3390 case $host_cpu in … … 3487 3425 3488 3426 irix5* | irix6* | nonstopux*) 3489 case $LD in 3490 *-32|*"-32 ") libmagic=32-bit;; 3491 *-n32|*"-n32 ") libmagic=N32;; 3492 *-64|*"-64 ") libmagic=64-bit;; 3493 *) libmagic=never-match;; 3427 case $host_os in 3428 irix5* | nonstopux*) 3429 # this will be overridden with pass_all, but let us keep it just in case 3430 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 3431 ;; 3432 *) 3433 case $LD in 3434 *-32|*"-32 ") libmagic=32-bit;; 3435 *-n32|*"-n32 ") libmagic=N32;; 3436 *-64|*"-64 ") libmagic=64-bit;; 3437 *) libmagic=never-match;; 3438 esac 3439 # this will be overridden with pass_all, but let us keep it just in case 3440 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 3441 ;; 3494 3442 esac 3443 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 3495 3444 lt_cv_deplibs_check_method=pass_all 3496 3445 ;; … … 3499 3448 linux*) 3500 3449 case $host_cpu in 3501 alpha* |hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)3450 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) 3502 3451 lt_cv_deplibs_check_method=pass_all ;; 3503 3452 *) 3504 3453 # glibc up to 2.1.1 does not perform some relocations on ARM 3505 # this will be overridden with pass_all, but let us keep it just in case3506 3454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3507 3455 esac 3508 3456 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3509 lt_cv_deplibs_check_method=pass_all3510 3457 ;; 3511 3458 … … 3524 3471 ;; 3525 3472 3526 nto-qnx *)3473 nto-qnx) 3527 3474 lt_cv_deplibs_check_method=unknown 3528 3475 ;; … … 3539 3486 3540 3487 osf3* | osf4* | osf5*) 3488 # this will be overridden with pass_all, but let us keep it just in case 3489 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 3490 lt_cv_file_magic_test_file=/shlib/libc.so 3541 3491 lt_cv_deplibs_check_method=pass_all 3542 3492 ;; … … 3548 3498 solaris*) 3549 3499 lt_cv_deplibs_check_method=pass_all 3500 lt_cv_file_magic_test_file=/lib/libc.so 3550 3501 ;; 3551 3502 … … 3627 3578 *-*-irix6*) 3628 3579 # Find out which ABI we are using. 3629 echo '#line 3 629"configure"' > conftest.$ac_ext3580 echo '#line 3580 "configure"' > conftest.$ac_ext 3630 3581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3631 3582 (eval $ac_compile) 2>&5 … … 3676 3627 LD="${LD-ld} -m elf_i386" 3677 3628 ;; 3678 ppc64-*linux* |powerpc64-*linux*)3629 ppc64-*linux*) 3679 3630 LD="${LD-ld} -m elf32ppclinux" 3680 3631 ;; … … 4717 4668 cp "$am_depcomp" conftest.dir 4718 4669 cd conftest.dir 4719 # We will build objects and dependencies in a subdirectory because4720 # it helps to detect inapplicable dependency modes. For instance4721 # both Tru64's cc and ICC support -MD to output dependencies as a4722 # side effect of compilation, but ICC will put the dependencies in4723 # the current directory while Tru64 will put them in the object4724 # directory.4725 mkdir sub4726 4670 4727 4671 am_cv_CXX_dependencies_compiler_type=none … … 4730 4674 fi 4731 4675 for depmode in $am_compiler_list; do 4732 # Setup a source with many dependencies, because some compilers4733 # like to wrap large dependency lists on column 80 (with \), and4734 # we should not choose a depcomp mode which is confused by this.4735 #4736 4676 # We need to recreate these files for each test, as the compiler may 4737 4677 # overwrite some of them when testing with obscure command lines. 4738 4678 # This happens at least with the AIX C compiler. 4739 : > sub/conftest.c 4740 for i in 1 2 3 4 5 6; do 4741 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4742 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4743 # Solaris 8's {/usr,}/bin/sh. 4744 touch sub/conftst$i.h 4745 done 4746 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4679 echo '#include "conftest.h"' > conftest.c 4680 echo 'int i;' > conftest.h 4681 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 4747 4682 4748 4683 case $depmode in … … 4762 4697 # handle `-M -o', and we need to detect this. 4763 4698 if depmode=$depmode \ 4764 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4766 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4767 >/dev/null 2>conftest.err && 4768 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4769 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4699 source=conftest.c object=conftest.o \ 4700 depfile=conftest.Po tmpdepfile=conftest.TPo \ 4701 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 4702 grep conftest.h conftest.Po > /dev/null 2>&1 && 4770 4703 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4771 # icc doesn't choke on unknown options, it will just issue warnings 4772 # (even with -Werror). So we grep stderr for any message 4773 # that says an option was ignored. 4774 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 4775 am_cv_CXX_dependencies_compiler_type=$depmode 4776 break 4777 fi 4704 am_cv_CXX_dependencies_compiler_type=$depmode 4705 break 4778 4706 fi 4779 4707 done … … 4789 4717 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 4790 4718 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4791 4792 4793 4794 if4795 test "x$enable_dependency_tracking" != xno \4796 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then4797 am__fastdepCXX_TRUE=4798 am__fastdepCXX_FALSE='#'4799 else4800 am__fastdepCXX_TRUE='#'4801 am__fastdepCXX_FALSE=4802 fi4803 4719 4804 4720 … … 5126 5042 5127 5043 # Provide some information about the compiler. 5128 echo "$as_me:5 128:" \5044 echo "$as_me:5044:" \ 5129 5045 "checking for Fortran 77 compiler version" >&5 5130 5046 ac_compiler=`set X $ac_compile; echo $2` … … 5259 5175 else 5260 5176 i=0 5261 test string="ABCD"5177 testring="ABCD" 5262 5178 5263 5179 case $build_os in … … 5288 5204 ;; 5289 5205 5290 amigaos*)5291 # On AmigaOS with pdksh, this test takes hours, literally.5292 # So we just punt and use a minimum line length of 8192.5293 lt_cv_sys_max_cmd_len=8192;5294 ;;5295 5296 5206 *) 5297 5207 # If test is not a shell built-in, we'll probably end up computing a 5298 5208 # maximum length that is only half of the actual maximum length, but 5299 5209 # we can't tell. 5300 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$test string" 2>/dev/null` \5301 = "XX$test string") >/dev/null 2>&1 &&5302 new_result=`expr "X$test string" : ".*" 2>&1` &&5210 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ 5211 = "XX$testring") >/dev/null 2>&1 && 5212 new_result=`expr "X$testring" : ".*" 2>&1` && 5303 5213 lt_cv_sys_max_cmd_len=$new_result && 5304 5214 test $i != 17 # 1/2 MB should be enough 5305 5215 do 5306 5216 i=`expr $i + 1` 5307 test string=$teststring$teststring5217 testring=$testring$testring 5308 5218 done 5309 test string=5219 testring= 5310 5220 # Add a significant safety factor because C++ compilers can tack on massive 5311 5221 # amounts of additional arguments before passing them to the linker. … … 5375 5285 ;; 5376 5286 solaris* | sysv5*) 5377 symcode='[BD RT]'5287 symcode='[BDT]' 5378 5288 ;; 5379 5289 sysv4) … … 5393 5303 case `$NM -V 2>&1` in 5394 5304 *GNU* | *'with BFD'*) 5395 symcode='[ABCDGI RSTW]' ;;5305 symcode='[ABCDGISTW]' ;; 5396 5306 esac 5397 5307 … … 5572 5482 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5573 5483 5484 # Sed substitution to undo escaping of the cmd sep variable 5485 unescape_variable_subst='s/\\\(${_S_}\)/\1/g' 5486 5574 5487 # Sed substitution to avoid accidental globbing in evaled expressions 5575 5488 no_glob_subst='s/\*/\\\*/g' … … 5858 5771 case $host_os in 5859 5772 openbsd*) 5860 old_postinstall_cmds="\$RANLIB -t \$oldlib ~$old_postinstall_cmds"5773 old_postinstall_cmds="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds" 5861 5774 ;; 5862 5775 *) 5863 old_postinstall_cmds="\$RANLIB \$oldlib ~$old_postinstall_cmds"5776 old_postinstall_cmds="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds" 5864 5777 ;; 5865 5778 esac 5866 old_archive_cmds="$old_archive_cmds ~\$RANLIB \$oldlib"5779 old_archive_cmds="$old_archive_cmds\${_S_}\$RANLIB \$oldlib" 5867 5780 fi 5868 5781 … … 6119 6032 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 6120 6033 6121 6122 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6034 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6123 6035 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 6124 6036 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 6138 6050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6139 6051 -e 's:$: $lt_compiler_flag:'` 6140 (eval echo "\"\$as_me:6 140: $lt_compile\"" >&5)6052 (eval echo "\"\$as_me:6052: $lt_compile\"" >&5) 6141 6053 (eval "$lt_compile" 2>conftest.err) 6142 6054 ac_status=$? 6143 6055 cat conftest.err >&5 6144 echo "$as_me:6 144: \$? = $ac_status" >&56056 echo "$as_me:6056: \$? = $ac_status" >&5 6145 6057 if (exit $ac_status) && test -s "$ac_outfile"; then 6146 6058 # The compiler can only warn and ignore the option if not recognized … … 6285 6197 linux*) 6286 6198 case $CC in 6287 icc * | ecc*)6199 icc|ecc) 6288 6200 lt_prog_compiler_wl='-Wl,' 6289 6201 lt_prog_compiler_pic='-KPIC' 6290 6202 lt_prog_compiler_static='-static' 6291 6203 ;; 6292 ccc *)6204 ccc) 6293 6205 lt_prog_compiler_wl='-Wl,' 6294 6206 # All Alpha code is PIC. … … 6352 6264 # 6353 6265 if test -n "$lt_prog_compiler_pic"; then 6354 6355 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6266 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6356 6267 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 6357 6268 if test "${lt_prog_compiler_pic_works+set}" = set; then … … 6371 6282 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6372 6283 -e 's:$: $lt_compiler_flag:'` 6373 (eval echo "\"\$as_me:6 373: $lt_compile\"" >&5)6284 (eval echo "\"\$as_me:6284: $lt_compile\"" >&5) 6374 6285 (eval "$lt_compile" 2>conftest.err) 6375 6286 ac_status=$? 6376 6287 cat conftest.err >&5 6377 echo "$as_me:6 377: \$? = $ac_status" >&56288 echo "$as_me:6288: \$? = $ac_status" >&5 6378 6289 if (exit $ac_status) && test -s "$ac_outfile"; then 6379 6290 # The compiler can only warn and ignore the option if not recognized … … 6422 6333 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6423 6334 6335 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 6336 # that will create temporary files in the current directory regardless of 6337 # the output directory. Thus, making CWD read-only will cause this test 6338 # to fail, enabling locking or at least warning the user not to do parallel 6339 # builds. 6340 chmod -w . 6341 6424 6342 lt_compiler_flag="-o out/conftest2.$ac_objext" 6425 6343 # Insert the option either (1) after the last *FLAGS variable, or … … 6431 6349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6432 6350 -e 's:$: $lt_compiler_flag:'` 6433 (eval echo "\"\$as_me:6 433: $lt_compile\"" >&5)6351 (eval echo "\"\$as_me:6351: $lt_compile\"" >&5) 6434 6352 (eval "$lt_compile" 2>out/conftest.err) 6435 6353 ac_status=$? 6436 6354 cat out/conftest.err >&5 6437 echo "$as_me:6 437: \$? = $ac_status" >&56355 echo "$as_me:6355: \$? = $ac_status" >&5 6438 6356 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6439 6357 then … … 6445 6363 fi 6446 6364 chmod u+w . 6447 $rm conftest* 6448 # SGI C++ compiler will create directory out/ii_files/ for 6449 # template instantiation 6450 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 6451 $rm out/* && rmdir out 6365 $rm conftest* out/* 6366 rmdir out 6452 6367 cd .. 6453 6368 rmdir conftest … … 6559 6474 6560 6475 amigaos*) 6561 archive_cmds='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'6476 archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 6562 6477 hardcode_libdir_flag_spec='-L$libdir' 6563 6478 hardcode_minus_L=yes … … 6601 6516 echo EXPORTS > $output_objdir/$soname.def; 6602 6517 cat $export_symbols >> $output_objdir/$soname.def; 6603 fi ~6518 fi${_S_} 6604 6519 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 6605 6520 else … … 6645 6560 hardcode_shlibpath_var=no 6646 6561 ;; 6647 6648 linux*)6649 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then6650 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'6651 archive_cmds="$tmp_archive_cmds"6652 supports_anon_versioning=no6653 case `$LD -v 2>/dev/null` in6654 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.116655 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...6656 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...6657 *\ 2.11.*) ;; # other 2.11 versions6658 *) supports_anon_versioning=yes ;;6659 esac6660 if test $supports_anon_versioning = yes; then6661 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~6662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~6663 $echo "local: *; };" >> $output_objdir/$libname.ver~6664 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'6665 else6666 archive_expsym_cmds="$tmp_archive_cmds"6667 fi6668 else6669 ld_shlibs=no6670 fi6671 ;;6672 6562 6673 6563 *) … … 6698 6588 allow_undefined_flag=unsupported 6699 6589 always_export_symbols=yes 6700 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE ~$AR $AR_FLAGS $lib $output_objdir/$soname'6590 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 6701 6591 # Note: this linker hardcodes the directories in LIBPATH if there 6702 6592 # are no directories specified by -L. … … 6902 6792 archive_cmds_need_lc=yes 6903 6793 # This is similar to how AIX traditionally builds it's shared libraries. 6904 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'6794 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 6905 6795 fi 6906 6796 fi … … 6908 6798 6909 6799 amigaos*) 6910 archive_cmds='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'6800 archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 6911 6801 hardcode_libdir_flag_spec='-L$libdir' 6912 6802 hardcode_minus_L=yes … … 6929 6819 libext=lib 6930 6820 # Tell ltmain to make .dll files, not .so files. 6931 shrext _cmds=".dll"6821 shrext=".dll" 6932 6822 # FIXME: Setting linknames here is a bad hack. 6933 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='6823 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 6934 6824 # The linker will automatically build a .lib file if we build a DLL. 6935 6825 old_archive_From_new_cmds='true' … … 6941 6831 6942 6832 darwin* | rhapsody*) 6943 if test "$GXX" = yes; then6833 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 6944 6834 archive_cmds_need_lc=no 6945 6835 case "$host_os" in … … 6947 6837 allow_undefined_flag='-undefined suppress' 6948 6838 ;; 6949 *) # Darwin 1.3 on 6950 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 6951 allow_undefined_flag='-flat_namespace -undefined suppress' 6952 else 6953 case ${MACOSX_DEPLOYMENT_TARGET} in 6954 10.[012]) 6955 allow_undefined_flag='-flat_namespace -undefined suppress' 6956 ;; 6957 10.*) 6958 allow_undefined_flag='-undefined dynamic_lookup' 6959 ;; 6960 esac 6961 fi 6839 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 6840 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 6841 ;; 6842 *) # Darwin 7.0 on 6843 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 6844 10.[012]) 6845 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 6846 ;; 6847 *) # 10.3 on 6848 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 6849 allow_undefined_flag='-flat_namespace -undefined suppress' 6850 else 6851 allow_undefined_flag='-undefined dynamic_lookup' 6852 fi 6853 ;; 6854 esac 6962 6855 ;; 6963 6856 esac 6857 # FIXME: Relying on posixy $() will cause problems for 6858 # cross-compilation, but unfortunately the echo tests do not 6859 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 6860 # `"' quotes if we put them in here... so don't! 6964 6861 lt_int_apple_cc_single_mod=no 6965 6862 output_verbose_link_cmd='echo' … … 6968 6865 fi 6969 6866 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 6970 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6867 archive_cmds='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6971 6868 else 6972 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6869 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6973 6870 fi 6974 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'6871 module_cmds='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 6975 6872 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 6976 6873 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 6977 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6874 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6978 6875 else 6979 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6876 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6980 6877 fi 6981 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6878 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6982 6879 hardcode_direct=no 6983 6880 hardcode_automatic=yes … … 6985 6882 whole_archive_flag_spec='-all_load $convenience' 6986 6883 link_all_deplibs=yes 6987 else6988 ld_shlibs=no6989 6884 fi 6990 6885 ;; … … 7020 6915 7021 6916 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 7022 freebsd* | kfreebsd*-gnu)6917 freebsd*) 7023 6918 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 7024 6919 hardcode_libdir_flag_spec='-R$libdir' … … 7029 6924 hpux9*) 7030 6925 if test "$GCC" = yes; then 7031 archive_cmds='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6926 archive_cmds='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 7032 6927 else 7033 archive_cmds='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6928 archive_cmds='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 7034 6929 fi 7035 6930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' … … 7151 7046 hardcode_minus_L=yes 7152 7047 allow_undefined_flag=unsupported 7153 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def ~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'7048 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 7154 7049 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 7155 7050 ;; … … 7175 7070 allow_undefined_flag=' -expect_unresolved \*' 7176 7071 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 7177 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~7178 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'7072 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 7073 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 7179 7074 7180 7075 # Both c and cxx compiler support -rpath directly … … 7196 7091 if test "$GCC" = yes; then 7197 7092 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 7198 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7199 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'7093 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7094 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 7200 7095 else 7201 7096 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 7202 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7203 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'7097 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7098 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 7204 7099 fi 7205 7100 hardcode_libdir_flag_spec='-R$libdir' … … 7290 7185 # object files and a static libstdc++, better avoid it by now 7291 7186 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 7292 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7293 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'7187 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 7294 7189 hardcode_libdir_flag_spec= 7295 7190 hardcode_shlibpath_var=no … … 7328 7223 if test "$enable_shared" = yes && test "$GCC" = yes; then 7329 7224 case $archive_cmds in 7330 * '~'*)7225 *"$_S_"*) 7331 7226 # FIXME: we may have to deal with multi-command sequences. 7332 7227 ;; … … 7380 7275 esac 7381 7276 7277 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 7278 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 7279 hardcode_action= 7280 if test -n "$hardcode_libdir_flag_spec" || \ 7281 test -n "$runpath_var " || \ 7282 test "X$hardcode_automatic"="Xyes" ; then 7283 7284 # We can hardcode non-existant directories. 7285 if test "$hardcode_direct" != no && 7286 # If the only mechanism to avoid hardcoding is shlibpath_var, we 7287 # have to relink, otherwise we might link with an installed library 7288 # when we should be linking with a yet-to-be-installed one 7289 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 7290 test "$hardcode_minus_L" != no; then 7291 # Linking always hardcodes the temporary library directory. 7292 hardcode_action=relink 7293 else 7294 # We can link without hardcoding, and we can hardcode nonexisting dirs. 7295 hardcode_action=immediate 7296 fi 7297 else 7298 # We cannot hardcode anything, or else we can only hardcode existing 7299 # directories. 7300 hardcode_action=unsupported 7301 fi 7302 echo "$as_me:$LINENO: result: $hardcode_action" >&5 7303 echo "${ECHO_T}$hardcode_action" >&6 7304 7305 if test "$hardcode_action" = relink; then 7306 # Fast installation is not supported 7307 enable_fast_install=no 7308 elif test "$shlibpath_overrides_runpath" = yes || 7309 test "$enable_shared" = no; then 7310 # Fast installation is not necessary 7311 enable_fast_install=needless 7312 fi 7313 7314 striplib= 7315 old_striplib= 7316 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 7317 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 7318 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 7319 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 7320 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 7321 echo "$as_me:$LINENO: result: yes" >&5 7322 echo "${ECHO_T}yes" >&6 7323 else 7324 # FIXME - insert some real tests, host_os isn't really good enough 7325 case $host_os in 7326 NOT-darwin*) 7327 if test -n "$STRIP" ; then 7328 striplib="$STRIP -x" 7329 echo "$as_me:$LINENO: result: yes" >&5 7330 echo "${ECHO_T}yes" >&6 7331 else 7332 echo "$as_me:$LINENO: result: no" >&5 7333 echo "${ECHO_T}no" >&6 7334 fi 7335 ;; 7336 *) 7337 echo "$as_me:$LINENO: result: no" >&5 7338 echo "${ECHO_T}no" >&6 7339 ;; 7340 esac 7341 fi 7342 7382 7343 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 7383 7344 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 7385 7346 libname_spec='lib$name' 7386 7347 soname_spec= 7387 shrext _cmds=".so"7348 shrext=".so" 7388 7349 postinstall_cmds= 7389 7350 postuninstall_cmds= … … 7473 7434 library_names_spec='$libname.ixlibrary $libname.a' 7474 7435 # Create ${libname}_ixlibrary.a entries in /sys/libs. 7475 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'7436 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' 7476 7437 ;; 7477 7438 … … 7498 7459 cygwin* | mingw* | pw32*) 7499 7460 version_type=windows 7500 shrext _cmds=".dll"7461 shrext=".dll" 7501 7462 need_version=no 7502 7463 need_lib_prefix=no … … 7506 7467 library_names_spec='$libname.dll.a' 7507 7468 # DLL is installed to $(libdir)/../bin by postinstall_cmds 7508 postinstall_cmds='base_file=`basename \${file}` ~7509 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~7510 dldir=$destdir/`dirname \$dlpath` ~7511 test -d \$dldir || mkdir -p \$dldir ~7469 postinstall_cmds='base_file=`basename \${file}`${_S_} 7470 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 7471 dldir=$destdir/`dirname \$dlpath`${_S_} 7472 test -d \$dldir || mkdir -p \$dldir${_S_} 7512 7473 $install_prog $dir/$dlname \$dldir/$dlname' 7513 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~7514 dlpath=$dir/\$dldll ~7474 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 7475 dlpath=$dir/\$dldll${_S_} 7515 7476 $rm \$dlpath' 7516 7477 shlibpath_overrides_runpath=yes … … 7520 7481 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 7521 7482 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7522 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"7483 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 7523 7484 ;; 7524 7485 mingw*) … … 7559 7520 need_lib_prefix=no 7560 7521 need_version=no 7561 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 7522 # FIXME: Relying on posixy $() will cause problems for 7523 # cross-compilation, but unfortunately the echo tests do not 7524 # yet detect zsh echo's removal of \ escapes. 7525 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 7562 7526 soname_spec='${libname}${release}${major}$shared_ext' 7563 7527 shlibpath_overrides_runpath=yes 7564 7528 shlibpath_var=DYLD_LIBRARY_PATH 7565 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'7529 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 7566 7530 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 7567 if test "$GCC" = yes; then 7568 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 7569 else 7570 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 7531 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 7532 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 7571 7533 fi 7572 7534 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 7584 7546 freebsd1*) 7585 7547 dynamic_linker=no 7586 ;;7587 7588 kfreebsd*-gnu)7589 version_type=linux7590 need_lib_prefix=no7591 need_version=no7592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'7593 soname_spec='${libname}${release}${shared_ext}$major'7594 shlibpath_var=LD_LIBRARY_PATH7595 shlibpath_overrides_runpath=no7596 hardcode_into_libs=yes7597 dynamic_linker='GNU ld.so'7598 7548 ;; 7599 7549 … … 7646 7596 case "$host_cpu" in 7647 7597 ia64*) 7648 shrext _cmds='.so'7598 shrext='.so' 7649 7599 hardcode_into_libs=yes 7650 7600 dynamic_linker="$host_os dld.so" … … 7661 7611 ;; 7662 7612 hppa*64*) 7663 shrext _cmds='.sl'7613 shrext='.sl' 7664 7614 hardcode_into_libs=yes 7665 7615 dynamic_linker="$host_os dld.sl" … … 7672 7622 ;; 7673 7623 *) 7674 shrext _cmds='.sl'7624 shrext='.sl' 7675 7625 dynamic_linker="$host_os dld.sl" 7676 7626 shlibpath_var=SHLIB_PATH … … 7741 7691 hardcode_into_libs=yes 7742 7692 7743 # find out which ABI we are using7744 libsuff=7745 case "$host_cpu" in7746 x86_64*|s390x*|powerpc64*)7747 echo '#line 7747 "configure"' > conftest.$ac_ext7748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57749 (eval $ac_compile) 2>&57750 ac_status=$?7751 echo "$as_me:$LINENO: \$? = $ac_status" >&57752 (exit $ac_status); }; then7753 case `/usr/bin/file conftest.$ac_objext` in7754 *64-bit*)7755 libsuff=647756 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"7757 ;;7758 esac7759 fi7760 rm -rf conftest*7761 ;;7762 esac7763 7764 # Append ld.so.conf contents to the search path7765 if test -f /etc/ld.so.conf; then7766 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`7767 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"7768 fi7769 7770 7693 # We used to test for /lib/ld.so.1 and disable shared libraries on 7771 7694 # powerpc, because MkLinux only supported shared libraries with the … … 7775 7698 # assume the GNU/Linux dynamic linker is in use. 7776 7699 dynamic_linker='GNU/Linux ld.so' 7777 ;;7778 7779 knetbsd*-gnu)7780 version_type=linux7781 need_lib_prefix=no7782 need_version=no7783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'7784 soname_spec='${libname}${release}${shared_ext}$major'7785 shlibpath_var=LD_LIBRARY_PATH7786 shlibpath_overrides_runpath=no7787 hardcode_into_libs=yes7788 dynamic_linker='GNU ld.so'7789 7700 ;; 7790 7701 … … 7798 7709 dynamic_linker='NetBSD (a.out) ld.so' 7799 7710 else 7800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'7711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 7801 7712 soname_spec='${libname}${release}${shared_ext}$major' 7802 7713 dynamic_linker='NetBSD ld.elf_so' … … 7814 7725 ;; 7815 7726 7816 nto-qnx *)7727 nto-qnx) 7817 7728 version_type=linux 7818 7729 need_lib_prefix=no … … 7827 7738 version_type=sunos 7828 7739 need_lib_prefix=no 7829 need_version= yes7740 need_version=no 7830 7741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 7831 7742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 7847 7758 os2*) 7848 7759 libname_spec='$name' 7849 shrext _cmds=".dll"7760 shrext=".dll" 7850 7761 need_lib_prefix=no 7851 7762 library_names_spec='$libname${shared_ext} $libname.a' … … 7944 7855 echo "${ECHO_T}$dynamic_linker" >&6 7945 7856 test "$dynamic_linker" = no && can_build_shared=no 7946 7947 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&57948 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&67949 hardcode_action=7950 if test -n "$hardcode_libdir_flag_spec" || \7951 test -n "$runpath_var " || \7952 test "X$hardcode_automatic"="Xyes" ; then7953 7954 # We can hardcode non-existant directories.7955 if test "$hardcode_direct" != no &&7956 # If the only mechanism to avoid hardcoding is shlibpath_var, we7957 # have to relink, otherwise we might link with an installed library7958 # when we should be linking with a yet-to-be-installed one7959 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&7960 test "$hardcode_minus_L" != no; then7961 # Linking always hardcodes the temporary library directory.7962 hardcode_action=relink7963 else7964 # We can link without hardcoding, and we can hardcode nonexisting dirs.7965 hardcode_action=immediate7966 fi7967 else7968 # We cannot hardcode anything, or else we can only hardcode existing7969 # directories.7970 hardcode_action=unsupported7971 fi7972 echo "$as_me:$LINENO: result: $hardcode_action" >&57973 echo "${ECHO_T}$hardcode_action" >&67974 7975 if test "$hardcode_action" = relink; then7976 # Fast installation is not supported7977 enable_fast_install=no7978 elif test "$shlibpath_overrides_runpath" = yes ||7979 test "$enable_shared" = no; then7980 # Fast installation is not necessary7981 enable_fast_install=needless7982 fi7983 7984 striplib=7985 old_striplib=7986 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&57987 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&67988 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then7989 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"7990 test -z "$striplib" && striplib="$STRIP --strip-unneeded"7991 echo "$as_me:$LINENO: result: yes" >&57992 echo "${ECHO_T}yes" >&67993 else7994 # FIXME - insert some real tests, host_os isn't really good enough7995 case $host_os in7996 darwin*)7997 if test -n "$STRIP" ; then7998 striplib="$STRIP -x"7999 echo "$as_me:$LINENO: result: yes" >&58000 echo "${ECHO_T}yes" >&68001 else8002 echo "$as_me:$LINENO: result: no" >&58003 echo "${ECHO_T}no" >&68004 fi8005 ;;8006 *)8007 echo "$as_me:$LINENO: result: no" >&58008 echo "${ECHO_T}no" >&68009 ;;8010 esac8011 fi8012 7857 8013 7858 if test "x$enable_dlopen" != xyes; then … … 8530 8375 lt_status=$lt_dlunknown 8531 8376 cat > conftest.$ac_ext <<EOF 8532 #line 8 532"configure"8377 #line 8377 "configure" 8533 8378 #include "confdefs.h" 8534 8379 … … 8628 8473 lt_status=$lt_dlunknown 8629 8474 cat > conftest.$ac_ext <<EOF 8630 #line 8 630"configure"8475 #line 8475 "configure" 8631 8476 #include "confdefs.h" 8632 8477 … … 8748 8593 test "$enable_shared" = yes && enable_static=no 8749 8594 if test -n "$RANLIB"; then 8750 archive_cmds="$archive_cmds ~\$RANLIB \$lib"8595 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 8751 8596 postinstall_cmds='$RANLIB $lib' 8752 8597 fi 8753 8598 ;; 8754 8599 8755 aix4* | aix5*)8600 aix4*) 8756 8601 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 8757 8602 test "$enable_shared" = yes && enable_static=no … … 8759 8604 ;; 8760 8605 darwin* | rhapsody*) 8761 if test "$GCC" = yes; then8606 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 8762 8607 archive_cmds_need_lc=no 8763 8608 case "$host_os" in … … 8765 8610 allow_undefined_flag='-undefined suppress' 8766 8611 ;; 8767 *) # Darwin 1.3 on 8768 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 8769 allow_undefined_flag='-flat_namespace -undefined suppress' 8770 else 8771 case ${MACOSX_DEPLOYMENT_TARGET} in 8772 10.[012]) 8773 allow_undefined_flag='-flat_namespace -undefined suppress' 8774 ;; 8775 10.*) 8776 allow_undefined_flag='-undefined dynamic_lookup' 8777 ;; 8778 esac 8779 fi 8612 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 8613 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 8614 ;; 8615 *) # Darwin 7.0 on 8616 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 8617 10.[012]) 8618 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 8619 ;; 8620 *) # 10.3 on 8621 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 8622 allow_undefined_flag='-flat_namespace -undefined suppress' 8623 else 8624 allow_undefined_flag='-undefined dynamic_lookup' 8625 fi 8626 ;; 8627 esac 8780 8628 ;; 8781 8629 esac 8782 output_verbose_link_cmd='echo' 8783 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 8784 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8630 # FIXME: Relying on posixy $() will cause problems for 8631 # cross-compilation, but unfortunately the echo tests do not 8632 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 8633 # `"' quotes if we put them in here... so don't! 8634 output_verbose_link_cmd='echo' 8635 archive_cmds='$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 8636 module_cmds='$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 8785 8637 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 8786 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'8787 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'8638 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8639 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8788 8640 hardcode_direct=no 8789 8641 hardcode_automatic=yes … … 8791 8643 whole_archive_flag_spec='-all_load $convenience' 8792 8644 link_all_deplibs=yes 8793 else 8794 ld_shlibs=no 8795 fi 8645 fi 8796 8646 ;; 8797 8647 esac … … 8819 8669 # careful not to overquote the AC_SUBSTed values. We take copies of the 8820 8670 # variables and quote the copies for generation of the libtool script. 8821 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 8822 SED SHELL STRIP \ 8671 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 8823 8672 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 8824 8673 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 8878 8727 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 8879 8728 # Double-quote double-evaled strings. 8880 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""8729 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 8881 8730 ;; 8882 8731 *) … … 8947 8796 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 8948 8797 8798 # Set the command separator (default: ~) 8799 _S_=\${LIBTOOL_CMD_SEP-\~} 8800 8949 8801 # Shell to use when invoking shell scripts. 8950 8802 SHELL=$lt_SHELL … … 8998 8850 8999 8851 # A symbol stripping program 9000 STRIP=$ lt_STRIP8852 STRIP=$STRIP 9001 8853 9002 8854 # Used to examine libraries when file_magic_cmd begins "file" … … 9029 8881 9030 8882 # Shared library suffix (normally ".so"). 9031 shrext _cmds='$shrext_cmds'8883 shrext='$shrext' 9032 8884 9033 8885 # Executable file suffix (normally ""). … … 9271 9123 # `config.status --recheck' to rerun these tests and create the 9272 9124 # libtool script then. 9273 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 9274 if test -f "$ltmain_in"; then 9275 test -f Makefile && make "$ltmain" 9276 fi 9125 test -f Makefile && make "$ltmain" 9277 9126 fi 9278 9127 … … 9455 9304 [\\/]* | ?:[\\/]*) 9456 9305 re_direlt='/[^/][^/]*/\.\./' 9457 # Canonicalize the path nameof ld9306 # Canonicalize the path of ld 9458 9307 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 9459 9308 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 9524 9373 else 9525 9374 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 9526 case ` $LD-v 2>&1 </dev/null` in9375 case `"$LD" -v 2>&1 </dev/null` in 9527 9376 *GNU* | *'with BFD'*) 9528 9377 lt_cv_prog_gnu_ld=yes … … 9569 9418 # overridden to take advantage of the native linker features on 9570 9419 # the platform it is being used on. 9571 archive_cmds_CXX='$CC -shared -nostdlib$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'9420 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 9572 9421 fi 9573 9422 … … 9781 9630 archive_cmds_need_lc_CXX=yes 9782 9631 # This is similar to how AIX traditionally builds it's shared libraries. 9783 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'9632 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9784 9633 fi 9785 9634 fi … … 9811 9660 echo EXPORTS > $output_objdir/$soname.def; 9812 9661 cat $export_symbols >> $output_objdir/$soname.def; 9813 fi ~9662 fi${_S_} 9814 9663 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 9815 9664 else … … 9819 9668 9820 9669 darwin* | rhapsody*) 9821 if test "$GXX" = yes; then9670 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 9822 9671 archive_cmds_need_lc_CXX=no 9823 9672 case "$host_os" in … … 9825 9674 allow_undefined_flag_CXX='-undefined suppress' 9826 9675 ;; 9827 *) # Darwin 1.3 on 9828 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9829 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9676 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 9677 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9678 ;; 9679 *) # Darwin 7.0 on 9680 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 9681 10.[012]) 9682 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9683 ;; 9684 *) # 10.3 on 9685 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 9686 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9687 else 9688 allow_undefined_flag_CXX='-undefined dynamic_lookup' 9689 fi 9690 ;; 9691 esac 9692 ;; 9693 esac 9694 lt_int_apple_cc_single_mod=no 9695 output_verbose_link_cmd='echo' 9696 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 9697 lt_int_apple_cc_single_mod=yes 9698 fi 9699 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9700 archive_cmds_CXX='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9701 else 9702 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9703 fi 9704 module_cmds_CXX='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 9705 9706 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9707 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9708 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9830 9709 else 9831 case ${MACOSX_DEPLOYMENT_TARGET} in 9832 10.[012]) 9833 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9834 ;; 9835 10.*) 9836 allow_undefined_flag_CXX='-undefined dynamic_lookup' 9837 ;; 9838 esac 9710 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9839 9711 fi 9840 ;; 9841 esac 9842 lt_int_apple_cc_single_mod=no 9843 output_verbose_link_cmd='echo' 9844 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 9845 lt_int_apple_cc_single_mod=yes 9846 fi 9847 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9848 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9849 else 9850 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9851 fi 9852 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9853 9854 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9855 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9856 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9857 else 9858 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9859 fi 9860 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9712 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9861 9713 hardcode_direct_CXX=no 9862 9714 hardcode_automatic_CXX=yes … … 9864 9716 whole_archive_flag_spec_CXX='-all_load $convenience' 9865 9717 link_all_deplibs_CXX=yes 9866 else 9867 ld_shlibs_CXX=no 9868 fi 9718 fi 9869 9719 ;; 9870 9720 … … 9893 9743 archive_cmds_need_lc_CXX=no 9894 9744 ;; 9895 freebsd* | kfreebsd*-gnu)9745 freebsd*) 9896 9746 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 9897 9747 # conventions … … 9915 9765 ;; 9916 9766 aCC) 9917 archive_cmds_CXX='$rm $output_objdir/$soname ~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'9767 archive_cmds_CXX='$rm $output_objdir/$soname${_S_}$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9918 9768 # Commands to make compiler produce verbose output that lists 9919 9769 # what "hidden" libraries, object files and flags are used when … … 9924 9774 # from the output so that they don't get included in the library 9925 9775 # dependencies. 9926 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'9776 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 9927 9777 ;; 9928 9778 *) 9929 9779 if test "$GXX" = yes; then 9930 archive_cmds_CXX='$rm $output_objdir/$soname ~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'9780 archive_cmds_CXX='$rm $output_objdir/$soname${_S_}$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9931 9781 else 9932 9782 # FIXME: insert proper C++ library support … … 10217 10067 allow_undefined_flag_CXX=' -expect_unresolved \*' 10218 10068 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 10219 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done ~10220 echo "-hidden">> $lib.exp ~10221 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib ~10069 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done${_S_} 10070 echo "-hidden">> $lib.exp${_S_} 10071 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib${_S_} 10222 10072 $rm $lib.exp' 10223 10073 … … 10296 10146 no_undefined_flag_CXX=' -zdefs' 10297 10147 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 10298 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10299 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'10148 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10149 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10300 10150 10301 10151 hardcode_libdir_flag_spec_CXX='-R$libdir' … … 10342 10192 if $CC --version | grep -v '^2\.7' > /dev/null; then 10343 10193 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 10344 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10345 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'10194 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10195 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10346 10196 10347 10197 # Commands to make compiler produce verbose output that lists … … 10353 10203 # platform. 10354 10204 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 10355 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10356 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'10205 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10206 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10357 10207 10358 10208 # Commands to make compiler produce verbose output that lists … … 10600 10450 esac 10601 10451 ;; 10602 freebsd* | kfreebsd*-gnu)10452 freebsd*) 10603 10453 # FreeBSD uses GNU C++ 10604 10454 ;; … … 10768 10618 # 10769 10619 if test -n "$lt_prog_compiler_pic_CXX"; then 10770 10771 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10620 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10772 10621 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 10773 10622 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then … … 10787 10636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10788 10637 -e 's:$: $lt_compiler_flag:'` 10789 (eval echo "\"\$as_me:10 789: $lt_compile\"" >&5)10638 (eval echo "\"\$as_me:10638: $lt_compile\"" >&5) 10790 10639 (eval "$lt_compile" 2>conftest.err) 10791 10640 ac_status=$? 10792 10641 cat conftest.err >&5 10793 echo "$as_me:10 793: \$? = $ac_status" >&510642 echo "$as_me:10642: \$? = $ac_status" >&5 10794 10643 if (exit $ac_status) && test -s "$ac_outfile"; then 10795 10644 # The compiler can only warn and ignore the option if not recognized … … 10838 10687 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 10839 10688 10689 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 10690 # that will create temporary files in the current directory regardless of 10691 # the output directory. Thus, making CWD read-only will cause this test 10692 # to fail, enabling locking or at least warning the user not to do parallel 10693 # builds. 10694 chmod -w . 10695 10840 10696 lt_compiler_flag="-o out/conftest2.$ac_objext" 10841 10697 # Insert the option either (1) after the last *FLAGS variable, or … … 10847 10703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10848 10704 -e 's:$: $lt_compiler_flag:'` 10849 (eval echo "\"\$as_me:10 849: $lt_compile\"" >&5)10705 (eval echo "\"\$as_me:10705: $lt_compile\"" >&5) 10850 10706 (eval "$lt_compile" 2>out/conftest.err) 10851 10707 ac_status=$? 10852 10708 cat out/conftest.err >&5 10853 echo "$as_me:10 853: \$? = $ac_status" >&510709 echo "$as_me:10709: \$? = $ac_status" >&5 10854 10710 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10855 10711 then … … 10861 10717 fi 10862 10718 chmod u+w . 10863 $rm conftest* 10864 # SGI C++ compiler will create directory out/ii_files/ for 10865 # template instantiation 10866 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 10867 $rm out/* && rmdir out 10719 $rm conftest* out/* 10720 rmdir out 10868 10721 cd .. 10869 10722 rmdir conftest … … 10941 10794 if test "$enable_shared" = yes && test "$GCC" = yes; then 10942 10795 case $archive_cmds_CXX in 10943 * '~'*)10796 *"$_S_"*) 10944 10797 # FIXME: we may have to deal with multi-command sequences. 10945 10798 ;; … … 10993 10846 esac 10994 10847 10848 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10849 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 10850 hardcode_action_CXX= 10851 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 10852 test -n "$runpath_var CXX" || \ 10853 test "X$hardcode_automatic_CXX"="Xyes" ; then 10854 10855 # We can hardcode non-existant directories. 10856 if test "$hardcode_direct_CXX" != no && 10857 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10858 # have to relink, otherwise we might link with an installed library 10859 # when we should be linking with a yet-to-be-installed one 10860 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 10861 test "$hardcode_minus_L_CXX" != no; then 10862 # Linking always hardcodes the temporary library directory. 10863 hardcode_action_CXX=relink 10864 else 10865 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10866 hardcode_action_CXX=immediate 10867 fi 10868 else 10869 # We cannot hardcode anything, or else we can only hardcode existing 10870 # directories. 10871 hardcode_action_CXX=unsupported 10872 fi 10873 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 10874 echo "${ECHO_T}$hardcode_action_CXX" >&6 10875 10876 if test "$hardcode_action_CXX" = relink; then 10877 # Fast installation is not supported 10878 enable_fast_install=no 10879 elif test "$shlibpath_overrides_runpath" = yes || 10880 test "$enable_shared" = no; then 10881 # Fast installation is not necessary 10882 enable_fast_install=needless 10883 fi 10884 10885 striplib= 10886 old_striplib= 10887 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 10888 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 10889 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 10890 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10891 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10892 echo "$as_me:$LINENO: result: yes" >&5 10893 echo "${ECHO_T}yes" >&6 10894 else 10895 # FIXME - insert some real tests, host_os isn't really good enough 10896 case $host_os in 10897 NOT-darwin*) 10898 if test -n "$STRIP" ; then 10899 striplib="$STRIP -x" 10900 echo "$as_me:$LINENO: result: yes" >&5 10901 echo "${ECHO_T}yes" >&6 10902 else 10903 echo "$as_me:$LINENO: result: no" >&5 10904 echo "${ECHO_T}no" >&6 10905 fi 10906 ;; 10907 *) 10908 echo "$as_me:$LINENO: result: no" >&5 10909 echo "${ECHO_T}no" >&6 10910 ;; 10911 esac 10912 fi 10913 10995 10914 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10996 10915 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 10998 10917 libname_spec='lib$name' 10999 10918 soname_spec= 11000 shrext _cmds=".so"10919 shrext=".so" 11001 10920 postinstall_cmds= 11002 10921 postuninstall_cmds= … … 11086 11005 library_names_spec='$libname.ixlibrary $libname.a' 11087 11006 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11088 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'11007 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' 11089 11008 ;; 11090 11009 … … 11111 11030 cygwin* | mingw* | pw32*) 11112 11031 version_type=windows 11113 shrext _cmds=".dll"11032 shrext=".dll" 11114 11033 need_version=no 11115 11034 need_lib_prefix=no … … 11119 11038 library_names_spec='$libname.dll.a' 11120 11039 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11121 postinstall_cmds='base_file=`basename \${file}` ~11122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~11123 dldir=$destdir/`dirname \$dlpath` ~11124 test -d \$dldir || mkdir -p \$dldir ~11040 postinstall_cmds='base_file=`basename \${file}`${_S_} 11041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 11042 dldir=$destdir/`dirname \$dlpath`${_S_} 11043 test -d \$dldir || mkdir -p \$dldir${_S_} 11125 11044 $install_prog $dir/$dlname \$dldir/$dlname' 11126 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~11127 dlpath=$dir/\$dldll ~11045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 11046 dlpath=$dir/\$dldll${_S_} 11128 11047 $rm \$dlpath' 11129 11048 shlibpath_overrides_runpath=yes … … 11133 11052 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11134 11053 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11135 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"11054 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 11136 11055 ;; 11137 11056 mingw*) … … 11172 11091 need_lib_prefix=no 11173 11092 need_version=no 11174 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11093 # FIXME: Relying on posixy $() will cause problems for 11094 # cross-compilation, but unfortunately the echo tests do not 11095 # yet detect zsh echo's removal of \ escapes. 11096 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 11175 11097 soname_spec='${libname}${release}${major}$shared_ext' 11176 11098 shlibpath_overrides_runpath=yes 11177 11099 shlibpath_var=DYLD_LIBRARY_PATH 11178 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'11100 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 11179 11101 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 11180 if test "$GCC" = yes; then 11181 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 11182 else 11183 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 11102 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 11103 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 11184 11104 fi 11185 11105 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 11197 11117 freebsd1*) 11198 11118 dynamic_linker=no 11199 ;;11200 11201 kfreebsd*-gnu)11202 version_type=linux11203 need_lib_prefix=no11204 need_version=no11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11206 soname_spec='${libname}${release}${shared_ext}$major'11207 shlibpath_var=LD_LIBRARY_PATH11208 shlibpath_overrides_runpath=no11209 hardcode_into_libs=yes11210 dynamic_linker='GNU ld.so'11211 11119 ;; 11212 11120 … … 11259 11167 case "$host_cpu" in 11260 11168 ia64*) 11261 shrext _cmds='.so'11169 shrext='.so' 11262 11170 hardcode_into_libs=yes 11263 11171 dynamic_linker="$host_os dld.so" … … 11274 11182 ;; 11275 11183 hppa*64*) 11276 shrext _cmds='.sl'11184 shrext='.sl' 11277 11185 hardcode_into_libs=yes 11278 11186 dynamic_linker="$host_os dld.sl" … … 11285 11193 ;; 11286 11194 *) 11287 shrext _cmds='.sl'11195 shrext='.sl' 11288 11196 dynamic_linker="$host_os dld.sl" 11289 11197 shlibpath_var=SHLIB_PATH … … 11354 11262 hardcode_into_libs=yes 11355 11263 11356 # find out which ABI we are using11357 libsuff=11358 case "$host_cpu" in11359 x86_64*|s390x*|powerpc64*)11360 echo '#line 11360 "configure"' > conftest.$ac_ext11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&511362 (eval $ac_compile) 2>&511363 ac_status=$?11364 echo "$as_me:$LINENO: \$? = $ac_status" >&511365 (exit $ac_status); }; then11366 case `/usr/bin/file conftest.$ac_objext` in11367 *64-bit*)11368 libsuff=6411369 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"11370 ;;11371 esac11372 fi11373 rm -rf conftest*11374 ;;11375 esac11376 11377 # Append ld.so.conf contents to the search path11378 if test -f /etc/ld.so.conf; then11379 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`11380 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"11381 fi11382 11383 11264 # We used to test for /lib/ld.so.1 and disable shared libraries on 11384 11265 # powerpc, because MkLinux only supported shared libraries with the … … 11388 11269 # assume the GNU/Linux dynamic linker is in use. 11389 11270 dynamic_linker='GNU/Linux ld.so' 11390 ;;11391 11392 knetbsd*-gnu)11393 version_type=linux11394 need_lib_prefix=no11395 need_version=no11396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11397 soname_spec='${libname}${release}${shared_ext}$major'11398 shlibpath_var=LD_LIBRARY_PATH11399 shlibpath_overrides_runpath=no11400 hardcode_into_libs=yes11401 dynamic_linker='GNU ld.so'11402 11271 ;; 11403 11272 … … 11411 11280 dynamic_linker='NetBSD (a.out) ld.so' 11412 11281 else 11413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 11414 11283 soname_spec='${libname}${release}${shared_ext}$major' 11415 11284 dynamic_linker='NetBSD ld.elf_so' … … 11427 11296 ;; 11428 11297 11429 nto-qnx *)11298 nto-qnx) 11430 11299 version_type=linux 11431 11300 need_lib_prefix=no … … 11440 11309 version_type=sunos 11441 11310 need_lib_prefix=no 11442 need_version= yes11311 need_version=no 11443 11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11444 11313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11460 11329 os2*) 11461 11330 libname_spec='$name' 11462 shrext _cmds=".dll"11331 shrext=".dll" 11463 11332 need_lib_prefix=no 11464 11333 library_names_spec='$libname${shared_ext} $libname.a' … … 11557 11426 echo "${ECHO_T}$dynamic_linker" >&6 11558 11427 test "$dynamic_linker" = no && can_build_shared=no 11559 11560 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&511561 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&611562 hardcode_action_CXX=11563 if test -n "$hardcode_libdir_flag_spec_CXX" || \11564 test -n "$runpath_var CXX" || \11565 test "X$hardcode_automatic_CXX"="Xyes" ; then11566 11567 # We can hardcode non-existant directories.11568 if test "$hardcode_direct_CXX" != no &&11569 # If the only mechanism to avoid hardcoding is shlibpath_var, we11570 # have to relink, otherwise we might link with an installed library11571 # when we should be linking with a yet-to-be-installed one11572 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&11573 test "$hardcode_minus_L_CXX" != no; then11574 # Linking always hardcodes the temporary library directory.11575 hardcode_action_CXX=relink11576 else11577 # We can link without hardcoding, and we can hardcode nonexisting dirs.11578 hardcode_action_CXX=immediate11579 fi11580 else11581 # We cannot hardcode anything, or else we can only hardcode existing11582 # directories.11583 hardcode_action_CXX=unsupported11584 fi11585 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&511586 echo "${ECHO_T}$hardcode_action_CXX" >&611587 11588 if test "$hardcode_action_CXX" = relink; then11589 # Fast installation is not supported11590 enable_fast_install=no11591 elif test "$shlibpath_overrides_runpath" = yes ||11592 test "$enable_shared" = no; then11593 # Fast installation is not necessary11594 enable_fast_install=needless11595 fi11596 11597 striplib=11598 old_striplib=11599 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&511600 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&611601 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then11602 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"11603 test -z "$striplib" && striplib="$STRIP --strip-unneeded"11604 echo "$as_me:$LINENO: result: yes" >&511605 echo "${ECHO_T}yes" >&611606 else11607 # FIXME - insert some real tests, host_os isn't really good enough11608 case $host_os in11609 darwin*)11610 if test -n "$STRIP" ; then11611 striplib="$STRIP -x"11612 echo "$as_me:$LINENO: result: yes" >&511613 echo "${ECHO_T}yes" >&611614 else11615 echo "$as_me:$LINENO: result: no" >&511616 echo "${ECHO_T}no" >&611617 fi11618 ;;11619 *)11620 echo "$as_me:$LINENO: result: no" >&511621 echo "${ECHO_T}no" >&611622 ;;11623 esac11624 fi11625 11428 11626 11429 if test "x$enable_dlopen" != xyes; then … … 12143 11946 lt_status=$lt_dlunknown 12144 11947 cat > conftest.$ac_ext <<EOF 12145 #line 1 2145"configure"11948 #line 11948 "configure" 12146 11949 #include "confdefs.h" 12147 11950 … … 12241 12044 lt_status=$lt_dlunknown 12242 12045 cat > conftest.$ac_ext <<EOF 12243 #line 12 243"configure"12046 #line 12046 "configure" 12244 12047 #include "confdefs.h" 12245 12048 … … 12358 12161 # careful not to overquote the AC_SUBSTed values. We take copies of the 12359 12162 # variables and quote the copies for generation of the libtool script. 12360 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 12361 SED SHELL STRIP \ 12163 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 12362 12164 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 12363 12165 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 12417 12219 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 12418 12220 # Double-quote double-evaled strings. 12419 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""12221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 12420 12222 ;; 12421 12223 *) … … 12438 12240 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 12439 12241 12242 # Set the command separator (default: ~) 12243 _S_=\${LIBTOOL_CMD_SEP-\~} 12244 12440 12245 # Shell to use when invoking shell scripts. 12441 12246 SHELL=$lt_SHELL … … 12489 12294 12490 12295 # A symbol stripping program 12491 STRIP=$ lt_STRIP12296 STRIP=$STRIP 12492 12297 12493 12298 # Used to examine libraries when file_magic_cmd begins "file" … … 12520 12325 12521 12326 # Shared library suffix (normally ".so"). 12522 shrext _cmds='$shrext_cmds'12327 shrext='$shrext' 12523 12328 12524 12329 # Executable file suffix (normally ""). … … 12737 12542 # `config.status --recheck' to rerun these tests and create the 12738 12543 # libtool script then. 12739 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 12740 if test -f "$ltmain_in"; then 12741 test -f Makefile && make "$ltmain" 12742 fi 12544 test -f Makefile && make "$ltmain" 12743 12545 fi 12744 12546 … … 12838 12640 test "$enable_shared" = yes && enable_static=no 12839 12641 if test -n "$RANLIB"; then 12840 archive_cmds="$archive_cmds ~\$RANLIB \$lib"12642 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 12841 12643 postinstall_cmds='$RANLIB $lib' 12842 12644 fi 12843 12645 ;; 12844 aix4* | aix5*)12646 aix4*) 12845 12647 test "$enable_shared" = yes && enable_static=no 12846 12648 ;; … … 12982 12784 linux*) 12983 12785 case $CC in 12984 icc * | ecc*)12786 icc|ecc) 12985 12787 lt_prog_compiler_wl_F77='-Wl,' 12986 12788 lt_prog_compiler_pic_F77='-KPIC' 12987 12789 lt_prog_compiler_static_F77='-static' 12988 12790 ;; 12989 ccc *)12791 ccc) 12990 12792 lt_prog_compiler_wl_F77='-Wl,' 12991 12793 # All Alpha code is PIC. … … 13049 12851 # 13050 12852 if test -n "$lt_prog_compiler_pic_F77"; then 13051 13052 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 12853 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 13053 12854 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 13054 12855 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then … … 13068 12869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13069 12870 -e 's:$: $lt_compiler_flag:'` 13070 (eval echo "\"\$as_me:1 3070: $lt_compile\"" >&5)12871 (eval echo "\"\$as_me:12871: $lt_compile\"" >&5) 13071 12872 (eval "$lt_compile" 2>conftest.err) 13072 12873 ac_status=$? 13073 12874 cat conftest.err >&5 13074 echo "$as_me:1 3074: \$? = $ac_status" >&512875 echo "$as_me:12875: \$? = $ac_status" >&5 13075 12876 if (exit $ac_status) && test -s "$ac_outfile"; then 13076 12877 # The compiler can only warn and ignore the option if not recognized … … 13119 12920 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13120 12921 12922 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 12923 # that will create temporary files in the current directory regardless of 12924 # the output directory. Thus, making CWD read-only will cause this test 12925 # to fail, enabling locking or at least warning the user not to do parallel 12926 # builds. 12927 chmod -w . 12928 13121 12929 lt_compiler_flag="-o out/conftest2.$ac_objext" 13122 12930 # Insert the option either (1) after the last *FLAGS variable, or … … 13128 12936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13129 12937 -e 's:$: $lt_compiler_flag:'` 13130 (eval echo "\"\$as_me:1 3130: $lt_compile\"" >&5)12938 (eval echo "\"\$as_me:12938: $lt_compile\"" >&5) 13131 12939 (eval "$lt_compile" 2>out/conftest.err) 13132 12940 ac_status=$? 13133 12941 cat out/conftest.err >&5 13134 echo "$as_me:1 3134: \$? = $ac_status" >&512942 echo "$as_me:12942: \$? = $ac_status" >&5 13135 12943 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13136 12944 then … … 13142 12950 fi 13143 12951 chmod u+w . 13144 $rm conftest* 13145 # SGI C++ compiler will create directory out/ii_files/ for 13146 # template instantiation 13147 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13148 $rm out/* && rmdir out 12952 $rm conftest* out/* 12953 rmdir out 13149 12954 cd .. 13150 12955 rmdir conftest … … 13256 13061 13257 13062 amigaos*) 13258 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'13063 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 13259 13064 hardcode_libdir_flag_spec_F77='-L$libdir' 13260 13065 hardcode_minus_L_F77=yes … … 13298 13103 echo EXPORTS > $output_objdir/$soname.def; 13299 13104 cat $export_symbols >> $output_objdir/$soname.def; 13300 fi ~13105 fi${_S_} 13301 13106 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 13302 13107 else … … 13342 13147 hardcode_shlibpath_var_F77=no 13343 13148 ;; 13344 13345 linux*)13346 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then13347 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'13348 archive_cmds_F77="$tmp_archive_cmds"13349 supports_anon_versioning=no13350 case `$LD -v 2>/dev/null` in13351 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.1113352 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...13353 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...13354 *\ 2.11.*) ;; # other 2.11 versions13355 *) supports_anon_versioning=yes ;;13356 esac13357 if test $supports_anon_versioning = yes; then13358 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~13359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~13360 $echo "local: *; };" >> $output_objdir/$libname.ver~13361 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'13362 else13363 archive_expsym_cmds_F77="$tmp_archive_cmds"13364 fi13365 else13366 ld_shlibs_F77=no13367 fi13368 ;;13369 13149 13370 13150 *) … … 13395 13175 allow_undefined_flag_F77=unsupported 13396 13176 always_export_symbols_F77=yes 13397 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE ~$AR $AR_FLAGS $lib $output_objdir/$soname'13177 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 13398 13178 # Note: this linker hardcodes the directories in LIBPATH if there 13399 13179 # are no directories specified by -L. … … 13577 13357 archive_cmds_need_lc_F77=yes 13578 13358 # This is similar to how AIX traditionally builds it's shared libraries. 13579 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'13359 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 13580 13360 fi 13581 13361 fi … … 13583 13363 13584 13364 amigaos*) 13585 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'13365 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 13586 13366 hardcode_libdir_flag_spec_F77='-L$libdir' 13587 13367 hardcode_minus_L_F77=yes … … 13604 13384 libext=lib 13605 13385 # Tell ltmain to make .dll files, not .so files. 13606 shrext _cmds=".dll"13386 shrext=".dll" 13607 13387 # FIXME: Setting linknames here is a bad hack. 13608 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='13388 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 13609 13389 # The linker will automatically build a .lib file if we build a DLL. 13610 13390 old_archive_From_new_cmds_F77='true' … … 13616 13396 13617 13397 darwin* | rhapsody*) 13618 if test "$GXX" = yes; then13398 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 13619 13399 archive_cmds_need_lc_F77=no 13620 13400 case "$host_os" in … … 13622 13402 allow_undefined_flag_F77='-undefined suppress' 13623 13403 ;; 13624 *) # Darwin 1.3 on 13625 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 13626 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13627 else 13628 case ${MACOSX_DEPLOYMENT_TARGET} in 13629 10.[012]) 13630 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13631 ;; 13632 10.*) 13633 allow_undefined_flag_F77='-undefined dynamic_lookup' 13634 ;; 13635 esac 13636 fi 13404 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 13405 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13406 ;; 13407 *) # Darwin 7.0 on 13408 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 13409 10.[012]) 13410 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13411 ;; 13412 *) # 10.3 on 13413 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 13414 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13415 else 13416 allow_undefined_flag_F77='-undefined dynamic_lookup' 13417 fi 13418 ;; 13419 esac 13637 13420 ;; 13638 13421 esac 13422 # FIXME: Relying on posixy $() will cause problems for 13423 # cross-compilation, but unfortunately the echo tests do not 13424 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 13425 # `"' quotes if we put them in here... so don't! 13639 13426 lt_int_apple_cc_single_mod=no 13640 13427 output_verbose_link_cmd='echo' … … 13643 13430 fi 13644 13431 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 13645 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'13432 archive_cmds_F77='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13646 13433 else 13647 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'13434 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13648 13435 fi 13649 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'13436 module_cmds_F77='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 13650 13437 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 13651 13438 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 13652 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'13439 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13653 13440 else 13654 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'13441 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13655 13442 fi 13656 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'13443 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13657 13444 hardcode_direct_F77=no 13658 13445 hardcode_automatic_F77=yes … … 13660 13447 whole_archive_flag_spec_F77='-all_load $convenience' 13661 13448 link_all_deplibs_F77=yes 13662 else13663 ld_shlibs_F77=no13664 13449 fi 13665 13450 ;; … … 13695 13480 13696 13481 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13697 freebsd* | kfreebsd*-gnu)13482 freebsd*) 13698 13483 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 13699 13484 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13704 13489 hpux9*) 13705 13490 if test "$GCC" = yes; then 13706 archive_cmds_F77='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'13491 archive_cmds_F77='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13707 13492 else 13708 archive_cmds_F77='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'13493 archive_cmds_F77='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13709 13494 fi 13710 13495 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' … … 13826 13611 hardcode_minus_L_F77=yes 13827 13612 allow_undefined_flag_F77=unsupported 13828 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def ~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'13613 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 13829 13614 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 13830 13615 ;; … … 13850 13635 allow_undefined_flag_F77=' -expect_unresolved \*' 13851 13636 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 13852 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~13853 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'13637 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 13638 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 13854 13639 13855 13640 # Both c and cxx compiler support -rpath directly … … 13871 13656 if test "$GCC" = yes; then 13872 13657 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 13873 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13874 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'13658 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13659 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 13875 13660 else 13876 13661 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 13877 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13878 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'13662 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13663 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 13879 13664 fi 13880 13665 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13965 13750 # object files and a static libstdc++, better avoid it by now 13966 13751 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 13967 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13968 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'13752 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 13969 13754 hardcode_libdir_flag_spec_F77= 13970 13755 hardcode_shlibpath_var_F77=no … … 14003 13788 if test "$enable_shared" = yes && test "$GCC" = yes; then 14004 13789 case $archive_cmds_F77 in 14005 * '~'*)13790 *"$_S_"*) 14006 13791 # FIXME: we may have to deal with multi-command sequences. 14007 13792 ;; … … 14055 13840 esac 14056 13841 13842 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 13843 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 13844 hardcode_action_F77= 13845 if test -n "$hardcode_libdir_flag_spec_F77" || \ 13846 test -n "$runpath_var F77" || \ 13847 test "X$hardcode_automatic_F77"="Xyes" ; then 13848 13849 # We can hardcode non-existant directories. 13850 if test "$hardcode_direct_F77" != no && 13851 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13852 # have to relink, otherwise we might link with an installed library 13853 # when we should be linking with a yet-to-be-installed one 13854 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 13855 test "$hardcode_minus_L_F77" != no; then 13856 # Linking always hardcodes the temporary library directory. 13857 hardcode_action_F77=relink 13858 else 13859 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13860 hardcode_action_F77=immediate 13861 fi 13862 else 13863 # We cannot hardcode anything, or else we can only hardcode existing 13864 # directories. 13865 hardcode_action_F77=unsupported 13866 fi 13867 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 13868 echo "${ECHO_T}$hardcode_action_F77" >&6 13869 13870 if test "$hardcode_action_F77" = relink; then 13871 # Fast installation is not supported 13872 enable_fast_install=no 13873 elif test "$shlibpath_overrides_runpath" = yes || 13874 test "$enable_shared" = no; then 13875 # Fast installation is not necessary 13876 enable_fast_install=needless 13877 fi 13878 13879 striplib= 13880 old_striplib= 13881 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 13882 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 13883 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 13884 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13885 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13886 echo "$as_me:$LINENO: result: yes" >&5 13887 echo "${ECHO_T}yes" >&6 13888 else 13889 # FIXME - insert some real tests, host_os isn't really good enough 13890 case $host_os in 13891 NOT-darwin*) 13892 if test -n "$STRIP" ; then 13893 striplib="$STRIP -x" 13894 echo "$as_me:$LINENO: result: yes" >&5 13895 echo "${ECHO_T}yes" >&6 13896 else 13897 echo "$as_me:$LINENO: result: no" >&5 13898 echo "${ECHO_T}no" >&6 13899 fi 13900 ;; 13901 *) 13902 echo "$as_me:$LINENO: result: no" >&5 13903 echo "${ECHO_T}no" >&6 13904 ;; 13905 esac 13906 fi 13907 14057 13908 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 14058 13909 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 14060 13911 libname_spec='lib$name' 14061 13912 soname_spec= 14062 shrext _cmds=".so"13913 shrext=".so" 14063 13914 postinstall_cmds= 14064 13915 postuninstall_cmds= … … 14148 13999 library_names_spec='$libname.ixlibrary $libname.a' 14149 14000 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14150 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'14001 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' 14151 14002 ;; 14152 14003 … … 14173 14024 cygwin* | mingw* | pw32*) 14174 14025 version_type=windows 14175 shrext _cmds=".dll"14026 shrext=".dll" 14176 14027 need_version=no 14177 14028 need_lib_prefix=no … … 14181 14032 library_names_spec='$libname.dll.a' 14182 14033 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14183 postinstall_cmds='base_file=`basename \${file}` ~14184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~14185 dldir=$destdir/`dirname \$dlpath` ~14186 test -d \$dldir || mkdir -p \$dldir ~14034 postinstall_cmds='base_file=`basename \${file}`${_S_} 14035 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 14036 dldir=$destdir/`dirname \$dlpath`${_S_} 14037 test -d \$dldir || mkdir -p \$dldir${_S_} 14187 14038 $install_prog $dir/$dlname \$dldir/$dlname' 14188 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~14189 dlpath=$dir/\$dldll ~14039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 14040 dlpath=$dir/\$dldll${_S_} 14190 14041 $rm \$dlpath' 14191 14042 shlibpath_overrides_runpath=yes … … 14195 14046 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14196 14047 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14197 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"14048 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 14198 14049 ;; 14199 14050 mingw*) … … 14234 14085 need_lib_prefix=no 14235 14086 need_version=no 14236 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14087 # FIXME: Relying on posixy $() will cause problems for 14088 # cross-compilation, but unfortunately the echo tests do not 14089 # yet detect zsh echo's removal of \ escapes. 14090 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 14237 14091 soname_spec='${libname}${release}${major}$shared_ext' 14238 14092 shlibpath_overrides_runpath=yes 14239 14093 shlibpath_var=DYLD_LIBRARY_PATH 14240 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'14094 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 14241 14095 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 14242 if test "$GCC" = yes; then 14243 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 14244 else 14245 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 14096 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 14097 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 14246 14098 fi 14247 14099 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 14259 14111 freebsd1*) 14260 14112 dynamic_linker=no 14261 ;;14262 14263 kfreebsd*-gnu)14264 version_type=linux14265 need_lib_prefix=no14266 need_version=no14267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'14268 soname_spec='${libname}${release}${shared_ext}$major'14269 shlibpath_var=LD_LIBRARY_PATH14270 shlibpath_overrides_runpath=no14271 hardcode_into_libs=yes14272 dynamic_linker='GNU ld.so'14273 14113 ;; 14274 14114 … … 14321 14161 case "$host_cpu" in 14322 14162 ia64*) 14323 shrext _cmds='.so'14163 shrext='.so' 14324 14164 hardcode_into_libs=yes 14325 14165 dynamic_linker="$host_os dld.so" … … 14336 14176 ;; 14337 14177 hppa*64*) 14338 shrext _cmds='.sl'14178 shrext='.sl' 14339 14179 hardcode_into_libs=yes 14340 14180 dynamic_linker="$host_os dld.sl" … … 14347 14187 ;; 14348 14188 *) 14349 shrext _cmds='.sl'14189 shrext='.sl' 14350 14190 dynamic_linker="$host_os dld.sl" 14351 14191 shlibpath_var=SHLIB_PATH … … 14416 14256 hardcode_into_libs=yes 14417 14257 14418 # find out which ABI we are using14419 libsuff=14420 case "$host_cpu" in14421 x86_64*|s390x*|powerpc64*)14422 echo '#line 14422 "configure"' > conftest.$ac_ext14423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&514424 (eval $ac_compile) 2>&514425 ac_status=$?14426 echo "$as_me:$LINENO: \$? = $ac_status" >&514427 (exit $ac_status); }; then14428 case `/usr/bin/file conftest.$ac_objext` in14429 *64-bit*)14430 libsuff=6414431 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"14432 ;;14433 esac14434 fi14435 rm -rf conftest*14436 ;;14437 esac14438 14439 # Append ld.so.conf contents to the search path14440 if test -f /etc/ld.so.conf; then14441 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`14442 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"14443 fi14444 14445 14258 # We used to test for /lib/ld.so.1 and disable shared libraries on 14446 14259 # powerpc, because MkLinux only supported shared libraries with the … … 14450 14263 # assume the GNU/Linux dynamic linker is in use. 14451 14264 dynamic_linker='GNU/Linux ld.so' 14452 ;;14453 14454 knetbsd*-gnu)14455 version_type=linux14456 need_lib_prefix=no14457 need_version=no14458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'14459 soname_spec='${libname}${release}${shared_ext}$major'14460 shlibpath_var=LD_LIBRARY_PATH14461 shlibpath_overrides_runpath=no14462 hardcode_into_libs=yes14463 dynamic_linker='GNU ld.so'14464 14265 ;; 14465 14266 … … 14473 14274 dynamic_linker='NetBSD (a.out) ld.so' 14474 14275 else 14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'14276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 14476 14277 soname_spec='${libname}${release}${shared_ext}$major' 14477 14278 dynamic_linker='NetBSD ld.elf_so' … … 14489 14290 ;; 14490 14291 14491 nto-qnx *)14292 nto-qnx) 14492 14293 version_type=linux 14493 14294 need_lib_prefix=no … … 14502 14303 version_type=sunos 14503 14304 need_lib_prefix=no 14504 need_version= yes14305 need_version=no 14505 14306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14506 14307 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 14522 14323 os2*) 14523 14324 libname_spec='$name' 14524 shrext _cmds=".dll"14325 shrext=".dll" 14525 14326 need_lib_prefix=no 14526 14327 library_names_spec='$libname${shared_ext} $libname.a' … … 14619 14420 echo "${ECHO_T}$dynamic_linker" >&6 14620 14421 test "$dynamic_linker" = no && can_build_shared=no 14621 14622 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&514623 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&614624 hardcode_action_F77=14625 if test -n "$hardcode_libdir_flag_spec_F77" || \14626 test -n "$runpath_var F77" || \14627 test "X$hardcode_automatic_F77"="Xyes" ; then14628 14629 # We can hardcode non-existant directories.14630 if test "$hardcode_direct_F77" != no &&14631 # If the only mechanism to avoid hardcoding is shlibpath_var, we14632 # have to relink, otherwise we might link with an installed library14633 # when we should be linking with a yet-to-be-installed one14634 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&14635 test "$hardcode_minus_L_F77" != no; then14636 # Linking always hardcodes the temporary library directory.14637 hardcode_action_F77=relink14638 else14639 # We can link without hardcoding, and we can hardcode nonexisting dirs.14640 hardcode_action_F77=immediate14641 fi14642 else14643 # We cannot hardcode anything, or else we can only hardcode existing14644 # directories.14645 hardcode_action_F77=unsupported14646 fi14647 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&514648 echo "${ECHO_T}$hardcode_action_F77" >&614649 14650 if test "$hardcode_action_F77" = relink; then14651 # Fast installation is not supported14652 enable_fast_install=no14653 elif test "$shlibpath_overrides_runpath" = yes ||14654 test "$enable_shared" = no; then14655 # Fast installation is not necessary14656 enable_fast_install=needless14657 fi14658 14659 striplib=14660 old_striplib=14661 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&514662 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&614663 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then14664 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"14665 test -z "$striplib" && striplib="$STRIP --strip-unneeded"14666 echo "$as_me:$LINENO: result: yes" >&514667 echo "${ECHO_T}yes" >&614668 else14669 # FIXME - insert some real tests, host_os isn't really good enough14670 case $host_os in14671 darwin*)14672 if test -n "$STRIP" ; then14673 striplib="$STRIP -x"14674 echo "$as_me:$LINENO: result: yes" >&514675 echo "${ECHO_T}yes" >&614676 else14677 echo "$as_me:$LINENO: result: no" >&514678 echo "${ECHO_T}no" >&614679 fi14680 ;;14681 *)14682 echo "$as_me:$LINENO: result: no" >&514683 echo "${ECHO_T}no" >&614684 ;;14685 esac14686 fi14687 14688 14422 14689 14423 … … 14701 14435 # careful not to overquote the AC_SUBSTed values. We take copies of the 14702 14436 # variables and quote the copies for generation of the libtool script. 14703 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 14704 SED SHELL STRIP \ 14437 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 14705 14438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 14706 14439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 14760 14493 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 14761 14494 # Double-quote double-evaled strings. 14762 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""14495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 14763 14496 ;; 14764 14497 *) … … 14781 14514 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14782 14515 14516 # Set the command separator (default: ~) 14517 _S_=\${LIBTOOL_CMD_SEP-\~} 14518 14783 14519 # Shell to use when invoking shell scripts. 14784 14520 SHELL=$lt_SHELL … … 14832 14568 14833 14569 # A symbol stripping program 14834 STRIP=$ lt_STRIP14570 STRIP=$STRIP 14835 14571 14836 14572 # Used to examine libraries when file_magic_cmd begins "file" … … 14863 14599 14864 14600 # Shared library suffix (normally ".so"). 14865 shrext _cmds='$shrext_cmds'14601 shrext='$shrext' 14866 14602 14867 14603 # Executable file suffix (normally ""). … … 15080 14816 # `config.status --recheck' to rerun these tests and create the 15081 14817 # libtool script then. 15082 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 15083 if test -f "$ltmain_in"; then 15084 test -f Makefile && make "$ltmain" 15085 fi 14818 test -f Makefile && make "$ltmain" 15086 14819 fi 15087 14820 … … 15142 14875 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 15143 14876 15144 15145 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 14877 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15146 14878 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 15147 14879 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 15161 14893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15162 14894 -e 's:$: $lt_compiler_flag:'` 15163 (eval echo "\"\$as_me:1 5163: $lt_compile\"" >&5)14895 (eval echo "\"\$as_me:14895: $lt_compile\"" >&5) 15164 14896 (eval "$lt_compile" 2>conftest.err) 15165 14897 ac_status=$? 15166 14898 cat conftest.err >&5 15167 echo "$as_me:1 5167: \$? = $ac_status" >&514899 echo "$as_me:14899: \$? = $ac_status" >&5 15168 14900 if (exit $ac_status) && test -s "$ac_outfile"; then 15169 14901 # The compiler can only warn and ignore the option if not recognized … … 15308 15040 linux*) 15309 15041 case $CC in 15310 icc * | ecc*)15042 icc|ecc) 15311 15043 lt_prog_compiler_wl_GCJ='-Wl,' 15312 15044 lt_prog_compiler_pic_GCJ='-KPIC' 15313 15045 lt_prog_compiler_static_GCJ='-static' 15314 15046 ;; 15315 ccc *)15047 ccc) 15316 15048 lt_prog_compiler_wl_GCJ='-Wl,' 15317 15049 # All Alpha code is PIC. … … 15375 15107 # 15376 15108 if test -n "$lt_prog_compiler_pic_GCJ"; then 15377 15378 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15109 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15379 15110 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 15380 15111 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then … … 15394 15125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15395 15126 -e 's:$: $lt_compiler_flag:'` 15396 (eval echo "\"\$as_me:15 396: $lt_compile\"" >&5)15127 (eval echo "\"\$as_me:15127: $lt_compile\"" >&5) 15397 15128 (eval "$lt_compile" 2>conftest.err) 15398 15129 ac_status=$? 15399 15130 cat conftest.err >&5 15400 echo "$as_me:15 400: \$? = $ac_status" >&515131 echo "$as_me:15131: \$? = $ac_status" >&5 15401 15132 if (exit $ac_status) && test -s "$ac_outfile"; then 15402 15133 # The compiler can only warn and ignore the option if not recognized … … 15445 15176 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15446 15177 15178 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 15179 # that will create temporary files in the current directory regardless of 15180 # the output directory. Thus, making CWD read-only will cause this test 15181 # to fail, enabling locking or at least warning the user not to do parallel 15182 # builds. 15183 chmod -w . 15184 15447 15185 lt_compiler_flag="-o out/conftest2.$ac_objext" 15448 15186 # Insert the option either (1) after the last *FLAGS variable, or … … 15454 15192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15455 15193 -e 's:$: $lt_compiler_flag:'` 15456 (eval echo "\"\$as_me:15 456: $lt_compile\"" >&5)15194 (eval echo "\"\$as_me:15194: $lt_compile\"" >&5) 15457 15195 (eval "$lt_compile" 2>out/conftest.err) 15458 15196 ac_status=$? 15459 15197 cat out/conftest.err >&5 15460 echo "$as_me:15 460: \$? = $ac_status" >&515198 echo "$as_me:15198: \$? = $ac_status" >&5 15461 15199 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15462 15200 then … … 15468 15206 fi 15469 15207 chmod u+w . 15470 $rm conftest* 15471 # SGI C++ compiler will create directory out/ii_files/ for 15472 # template instantiation 15473 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15474 $rm out/* && rmdir out 15208 $rm conftest* out/* 15209 rmdir out 15475 15210 cd .. 15476 15211 rmdir conftest … … 15582 15317 15583 15318 amigaos*) 15584 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'15319 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 15585 15320 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15586 15321 hardcode_minus_L_GCJ=yes … … 15624 15359 echo EXPORTS > $output_objdir/$soname.def; 15625 15360 cat $export_symbols >> $output_objdir/$soname.def; 15626 fi ~15361 fi${_S_} 15627 15362 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 15628 15363 else … … 15668 15403 hardcode_shlibpath_var_GCJ=no 15669 15404 ;; 15670 15671 linux*)15672 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then15673 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'15674 archive_cmds_GCJ="$tmp_archive_cmds"15675 supports_anon_versioning=no15676 case `$LD -v 2>/dev/null` in15677 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.1115678 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...15679 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...15680 *\ 2.11.*) ;; # other 2.11 versions15681 *) supports_anon_versioning=yes ;;15682 esac15683 if test $supports_anon_versioning = yes; then15684 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~15685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~15686 $echo "local: *; };" >> $output_objdir/$libname.ver~15687 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'15688 else15689 archive_expsym_cmds_GCJ="$tmp_archive_cmds"15690 fi15691 else15692 ld_shlibs_GCJ=no15693 fi15694 ;;15695 15405 15696 15406 *) … … 15721 15431 allow_undefined_flag_GCJ=unsupported 15722 15432 always_export_symbols_GCJ=yes 15723 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE ~$AR $AR_FLAGS $lib $output_objdir/$soname'15433 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 15724 15434 # Note: this linker hardcodes the directories in LIBPATH if there 15725 15435 # are no directories specified by -L. … … 15925 15635 archive_cmds_need_lc_GCJ=yes 15926 15636 # This is similar to how AIX traditionally builds it's shared libraries. 15927 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag} ~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'15637 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 15928 15638 fi 15929 15639 fi … … 15931 15641 15932 15642 amigaos*) 15933 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data ~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'15643 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 15934 15644 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15935 15645 hardcode_minus_L_GCJ=yes … … 15952 15662 libext=lib 15953 15663 # Tell ltmain to make .dll files, not .so files. 15954 shrext _cmds=".dll"15664 shrext=".dll" 15955 15665 # FIXME: Setting linknames here is a bad hack. 15956 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='15666 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 15957 15667 # The linker will automatically build a .lib file if we build a DLL. 15958 15668 old_archive_From_new_cmds_GCJ='true' … … 15964 15674 15965 15675 darwin* | rhapsody*) 15966 if test "$GXX" = yes; then15676 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 15967 15677 archive_cmds_need_lc_GCJ=no 15968 15678 case "$host_os" in … … 15970 15680 allow_undefined_flag_GCJ='-undefined suppress' 15971 15681 ;; 15972 *) # Darwin 1.3 on 15973 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15974 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15975 else 15976 case ${MACOSX_DEPLOYMENT_TARGET} in 15977 10.[012]) 15978 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15979 ;; 15980 10.*) 15981 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 15982 ;; 15983 esac 15984 fi 15682 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 15683 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15684 ;; 15685 *) # Darwin 7.0 on 15686 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 15687 10.[012]) 15688 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15689 ;; 15690 *) # 10.3 on 15691 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 15692 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15693 else 15694 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 15695 fi 15696 ;; 15697 esac 15985 15698 ;; 15986 15699 esac 15700 # FIXME: Relying on posixy $() will cause problems for 15701 # cross-compilation, but unfortunately the echo tests do not 15702 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 15703 # `"' quotes if we put them in here... so don't! 15987 15704 lt_int_apple_cc_single_mod=no 15988 15705 output_verbose_link_cmd='echo' … … 15991 15708 fi 15992 15709 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 15993 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'15710 archive_cmds_GCJ='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15994 15711 else 15995 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'15712 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15996 15713 fi 15997 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'15714 module_cmds_GCJ='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 15998 15715 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15999 15716 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 16000 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'15717 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16001 15718 else 16002 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'15719 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16003 15720 fi 16004 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'15721 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16005 15722 hardcode_direct_GCJ=no 16006 15723 hardcode_automatic_GCJ=yes … … 16008 15725 whole_archive_flag_spec_GCJ='-all_load $convenience' 16009 15726 link_all_deplibs_GCJ=yes 16010 else16011 ld_shlibs_GCJ=no16012 15727 fi 16013 15728 ;; … … 16043 15758 16044 15759 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 16045 freebsd* | kfreebsd*-gnu)15760 freebsd*) 16046 15761 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 16047 15762 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16052 15767 hpux9*) 16053 15768 if test "$GCC" = yes; then 16054 archive_cmds_GCJ='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'15769 archive_cmds_GCJ='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16055 15770 else 16056 archive_cmds_GCJ='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'15771 archive_cmds_GCJ='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16057 15772 fi 16058 15773 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' … … 16174 15889 hardcode_minus_L_GCJ=yes 16175 15890 allow_undefined_flag_GCJ=unsupported 16176 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def ~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'15891 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 16177 15892 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 16178 15893 ;; … … 16198 15913 allow_undefined_flag_GCJ=' -expect_unresolved \*' 16199 15914 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 16200 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~16201 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'15915 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 15916 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 16202 15917 16203 15918 # Both c and cxx compiler support -rpath directly … … 16219 15934 if test "$GCC" = yes; then 16220 15935 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 16221 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16222 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'15936 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 15937 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 16223 15938 else 16224 15939 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 16225 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16226 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'15940 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 15941 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 16227 15942 fi 16228 15943 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16313 16028 # object files and a static libstdc++, better avoid it by now 16314 16029 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 16315 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'16030 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 16031 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 16317 16032 hardcode_libdir_flag_spec_GCJ= 16318 16033 hardcode_shlibpath_var_GCJ=no … … 16351 16066 if test "$enable_shared" = yes && test "$GCC" = yes; then 16352 16067 case $archive_cmds_GCJ in 16353 * '~'*)16068 *"$_S_"*) 16354 16069 # FIXME: we may have to deal with multi-command sequences. 16355 16070 ;; … … 16403 16118 esac 16404 16119 16120 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16121 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 16122 hardcode_action_GCJ= 16123 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 16124 test -n "$runpath_var GCJ" || \ 16125 test "X$hardcode_automatic_GCJ"="Xyes" ; then 16126 16127 # We can hardcode non-existant directories. 16128 if test "$hardcode_direct_GCJ" != no && 16129 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16130 # have to relink, otherwise we might link with an installed library 16131 # when we should be linking with a yet-to-be-installed one 16132 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 16133 test "$hardcode_minus_L_GCJ" != no; then 16134 # Linking always hardcodes the temporary library directory. 16135 hardcode_action_GCJ=relink 16136 else 16137 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16138 hardcode_action_GCJ=immediate 16139 fi 16140 else 16141 # We cannot hardcode anything, or else we can only hardcode existing 16142 # directories. 16143 hardcode_action_GCJ=unsupported 16144 fi 16145 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 16146 echo "${ECHO_T}$hardcode_action_GCJ" >&6 16147 16148 if test "$hardcode_action_GCJ" = relink; then 16149 # Fast installation is not supported 16150 enable_fast_install=no 16151 elif test "$shlibpath_overrides_runpath" = yes || 16152 test "$enable_shared" = no; then 16153 # Fast installation is not necessary 16154 enable_fast_install=needless 16155 fi 16156 16157 striplib= 16158 old_striplib= 16159 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 16160 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 16161 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 16162 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16163 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16164 echo "$as_me:$LINENO: result: yes" >&5 16165 echo "${ECHO_T}yes" >&6 16166 else 16167 # FIXME - insert some real tests, host_os isn't really good enough 16168 case $host_os in 16169 NOT-darwin*) 16170 if test -n "$STRIP" ; then 16171 striplib="$STRIP -x" 16172 echo "$as_me:$LINENO: result: yes" >&5 16173 echo "${ECHO_T}yes" >&6 16174 else 16175 echo "$as_me:$LINENO: result: no" >&5 16176 echo "${ECHO_T}no" >&6 16177 fi 16178 ;; 16179 *) 16180 echo "$as_me:$LINENO: result: no" >&5 16181 echo "${ECHO_T}no" >&6 16182 ;; 16183 esac 16184 fi 16185 16405 16186 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16406 16187 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 16408 16189 libname_spec='lib$name' 16409 16190 soname_spec= 16410 shrext _cmds=".so"16191 shrext=".so" 16411 16192 postinstall_cmds= 16412 16193 postuninstall_cmds= … … 16496 16277 library_names_spec='$libname.ixlibrary $libname.a' 16497 16278 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16498 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'16279 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' 16499 16280 ;; 16500 16281 … … 16521 16302 cygwin* | mingw* | pw32*) 16522 16303 version_type=windows 16523 shrext _cmds=".dll"16304 shrext=".dll" 16524 16305 need_version=no 16525 16306 need_lib_prefix=no … … 16529 16310 library_names_spec='$libname.dll.a' 16530 16311 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16531 postinstall_cmds='base_file=`basename \${file}` ~16532 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~16533 dldir=$destdir/`dirname \$dlpath` ~16534 test -d \$dldir || mkdir -p \$dldir ~16312 postinstall_cmds='base_file=`basename \${file}`${_S_} 16313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 16314 dldir=$destdir/`dirname \$dlpath`${_S_} 16315 test -d \$dldir || mkdir -p \$dldir${_S_} 16535 16316 $install_prog $dir/$dlname \$dldir/$dlname' 16536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~16537 dlpath=$dir/\$dldll ~16317 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 16318 dlpath=$dir/\$dldll${_S_} 16538 16319 $rm \$dlpath' 16539 16320 shlibpath_overrides_runpath=yes … … 16543 16324 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16544 16325 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16545 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"16326 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 16546 16327 ;; 16547 16328 mingw*) … … 16582 16363 need_lib_prefix=no 16583 16364 need_version=no 16584 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16365 # FIXME: Relying on posixy $() will cause problems for 16366 # cross-compilation, but unfortunately the echo tests do not 16367 # yet detect zsh echo's removal of \ escapes. 16368 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 16585 16369 soname_spec='${libname}${release}${major}$shared_ext' 16586 16370 shlibpath_overrides_runpath=yes 16587 16371 shlibpath_var=DYLD_LIBRARY_PATH 16588 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'16372 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 16589 16373 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 16590 if test "$GCC" = yes; then 16591 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 16592 else 16593 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 16374 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 16375 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 16594 16376 fi 16595 16377 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 16607 16389 freebsd1*) 16608 16390 dynamic_linker=no 16609 ;;16610 16611 kfreebsd*-gnu)16612 version_type=linux16613 need_lib_prefix=no16614 need_version=no16615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'16616 soname_spec='${libname}${release}${shared_ext}$major'16617 shlibpath_var=LD_LIBRARY_PATH16618 shlibpath_overrides_runpath=no16619 hardcode_into_libs=yes16620 dynamic_linker='GNU ld.so'16621 16391 ;; 16622 16392 … … 16669 16439 case "$host_cpu" in 16670 16440 ia64*) 16671 shrext _cmds='.so'16441 shrext='.so' 16672 16442 hardcode_into_libs=yes 16673 16443 dynamic_linker="$host_os dld.so" … … 16684 16454 ;; 16685 16455 hppa*64*) 16686 shrext _cmds='.sl'16456 shrext='.sl' 16687 16457 hardcode_into_libs=yes 16688 16458 dynamic_linker="$host_os dld.sl" … … 16695 16465 ;; 16696 16466 *) 16697 shrext _cmds='.sl'16467 shrext='.sl' 16698 16468 dynamic_linker="$host_os dld.sl" 16699 16469 shlibpath_var=SHLIB_PATH … … 16764 16534 hardcode_into_libs=yes 16765 16535 16766 # find out which ABI we are using16767 libsuff=16768 case "$host_cpu" in16769 x86_64*|s390x*|powerpc64*)16770 echo '#line 16770 "configure"' > conftest.$ac_ext16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&516772 (eval $ac_compile) 2>&516773 ac_status=$?16774 echo "$as_me:$LINENO: \$? = $ac_status" >&516775 (exit $ac_status); }; then16776 case `/usr/bin/file conftest.$ac_objext` in16777 *64-bit*)16778 libsuff=6416779 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"16780 ;;16781 esac16782 fi16783 rm -rf conftest*16784 ;;16785 esac16786 16787 # Append ld.so.conf contents to the search path16788 if test -f /etc/ld.so.conf; then16789 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`16790 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"16791 fi16792 16793 16536 # We used to test for /lib/ld.so.1 and disable shared libraries on 16794 16537 # powerpc, because MkLinux only supported shared libraries with the … … 16798 16541 # assume the GNU/Linux dynamic linker is in use. 16799 16542 dynamic_linker='GNU/Linux ld.so' 16800 ;;16801 16802 knetbsd*-gnu)16803 version_type=linux16804 need_lib_prefix=no16805 need_version=no16806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'16807 soname_spec='${libname}${release}${shared_ext}$major'16808 shlibpath_var=LD_LIBRARY_PATH16809 shlibpath_overrides_runpath=no16810 hardcode_into_libs=yes16811 dynamic_linker='GNU ld.so'16812 16543 ;; 16813 16544 … … 16821 16552 dynamic_linker='NetBSD (a.out) ld.so' 16822 16553 else 16823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'16554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 16824 16555 soname_spec='${libname}${release}${shared_ext}$major' 16825 16556 dynamic_linker='NetBSD ld.elf_so' … … 16837 16568 ;; 16838 16569 16839 nto-qnx *)16570 nto-qnx) 16840 16571 version_type=linux 16841 16572 need_lib_prefix=no … … 16850 16581 version_type=sunos 16851 16582 need_lib_prefix=no 16852 need_version= yes16583 need_version=no 16853 16584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16854 16585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 16870 16601 os2*) 16871 16602 libname_spec='$name' 16872 shrext _cmds=".dll"16603 shrext=".dll" 16873 16604 need_lib_prefix=no 16874 16605 library_names_spec='$libname${shared_ext} $libname.a' … … 16967 16698 echo "${ECHO_T}$dynamic_linker" >&6 16968 16699 test "$dynamic_linker" = no && can_build_shared=no 16969 16970 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&516971 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&616972 hardcode_action_GCJ=16973 if test -n "$hardcode_libdir_flag_spec_GCJ" || \16974 test -n "$runpath_var GCJ" || \16975 test "X$hardcode_automatic_GCJ"="Xyes" ; then16976 16977 # We can hardcode non-existant directories.16978 if test "$hardcode_direct_GCJ" != no &&16979 # If the only mechanism to avoid hardcoding is shlibpath_var, we16980 # have to relink, otherwise we might link with an installed library16981 # when we should be linking with a yet-to-be-installed one16982 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&16983 test "$hardcode_minus_L_GCJ" != no; then16984 # Linking always hardcodes the temporary library directory.16985 hardcode_action_GCJ=relink16986 else16987 # We can link without hardcoding, and we can hardcode nonexisting dirs.16988 hardcode_action_GCJ=immediate16989 fi16990 else16991 # We cannot hardcode anything, or else we can only hardcode existing16992 # directories.16993 hardcode_action_GCJ=unsupported16994 fi16995 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&516996 echo "${ECHO_T}$hardcode_action_GCJ" >&616997 16998 if test "$hardcode_action_GCJ" = relink; then16999 # Fast installation is not supported17000 enable_fast_install=no17001 elif test "$shlibpath_overrides_runpath" = yes ||17002 test "$enable_shared" = no; then17003 # Fast installation is not necessary17004 enable_fast_install=needless17005 fi17006 17007 striplib=17008 old_striplib=17009 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&517010 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&617011 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then17012 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"17013 test -z "$striplib" && striplib="$STRIP --strip-unneeded"17014 echo "$as_me:$LINENO: result: yes" >&517015 echo "${ECHO_T}yes" >&617016 else17017 # FIXME - insert some real tests, host_os isn't really good enough17018 case $host_os in17019 darwin*)17020 if test -n "$STRIP" ; then17021 striplib="$STRIP -x"17022 echo "$as_me:$LINENO: result: yes" >&517023 echo "${ECHO_T}yes" >&617024 else17025 echo "$as_me:$LINENO: result: no" >&517026 echo "${ECHO_T}no" >&617027 fi17028 ;;17029 *)17030 echo "$as_me:$LINENO: result: no" >&517031 echo "${ECHO_T}no" >&617032 ;;17033 esac17034 fi17035 16700 17036 16701 if test "x$enable_dlopen" != xyes; then … … 17553 17218 lt_status=$lt_dlunknown 17554 17219 cat > conftest.$ac_ext <<EOF 17555 #line 17 555"configure"17220 #line 17220 "configure" 17556 17221 #include "confdefs.h" 17557 17222 … … 17651 17316 lt_status=$lt_dlunknown 17652 17317 cat > conftest.$ac_ext <<EOF 17653 #line 17 653"configure"17318 #line 17318 "configure" 17654 17319 #include "confdefs.h" 17655 17320 … … 17768 17433 # careful not to overquote the AC_SUBSTed values. We take copies of the 17769 17434 # variables and quote the copies for generation of the libtool script. 17770 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 17771 SED SHELL STRIP \ 17435 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 17772 17436 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 17773 17437 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 17827 17491 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 17828 17492 # Double-quote double-evaled strings. 17829 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""17493 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 17830 17494 ;; 17831 17495 *) … … 17848 17512 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17849 17513 17514 # Set the command separator (default: ~) 17515 _S_=\${LIBTOOL_CMD_SEP-\~} 17516 17850 17517 # Shell to use when invoking shell scripts. 17851 17518 SHELL=$lt_SHELL … … 17899 17566 17900 17567 # A symbol stripping program 17901 STRIP=$ lt_STRIP17568 STRIP=$STRIP 17902 17569 17903 17570 # Used to examine libraries when file_magic_cmd begins "file" … … 17930 17597 17931 17598 # Shared library suffix (normally ".so"). 17932 shrext _cmds='$shrext_cmds'17599 shrext='$shrext' 17933 17600 17934 17601 # Executable file suffix (normally ""). … … 18147 17814 # `config.status --recheck' to rerun these tests and create the 18148 17815 # libtool script then. 18149 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18150 if test -f "$ltmain_in"; then 18151 test -f Makefile && make "$ltmain" 18152 fi 17816 test -f Makefile && make "$ltmain" 18153 17817 fi 18154 17818 … … 18213 17877 # careful not to overquote the AC_SUBSTed values. We take copies of the 18214 17878 # variables and quote the copies for generation of the libtool script. 18215 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18216 SED SHELL STRIP \ 17879 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18217 17880 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18218 17881 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 18272 17935 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 18273 17936 # Double-quote double-evaled strings. 18274 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""17937 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 18275 17938 ;; 18276 17939 *) … … 18293 17956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18294 17957 17958 # Set the command separator (default: ~) 17959 _S_=\${LIBTOOL_CMD_SEP-\~} 17960 18295 17961 # Shell to use when invoking shell scripts. 18296 17962 SHELL=$lt_SHELL … … 18344 18010 18345 18011 # A symbol stripping program 18346 STRIP=$ lt_STRIP18012 STRIP=$STRIP 18347 18013 18348 18014 # Used to examine libraries when file_magic_cmd begins "file" … … 18375 18041 18376 18042 # Shared library suffix (normally ".so"). 18377 shrext _cmds='$shrext_cmds'18043 shrext='$shrext' 18378 18044 18379 18045 # Executable file suffix (normally ""). … … 18592 18258 # `config.status --recheck' to rerun these tests and create the 18593 18259 # libtool script then. 18594 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18595 if test -f "$ltmain_in"; then 18596 test -f Makefile && make "$ltmain" 18597 fi 18260 test -f Makefile && make "$ltmain" 18598 18261 fi 18599 18262 … … 19172 18835 19173 18836 18837 18838 echo "$as_me:$LINENO: checking for sqrtf in -lmx" >&5 18839 echo $ECHO_N "checking for sqrtf in -lmx... $ECHO_C" >&6 18840 if test "${ac_cv_lib_mx_sqrtf+set}" = set; then 18841 echo $ECHO_N "(cached) $ECHO_C" >&6 18842 else 18843 ac_check_lib_save_LIBS=$LIBS 18844 LIBS="-lmx $LIBS" 18845 cat >conftest.$ac_ext <<_ACEOF 18846 #line $LINENO "configure" 18847 /* confdefs.h. */ 18848 _ACEOF 18849 cat confdefs.h >>conftest.$ac_ext 18850 cat >>conftest.$ac_ext <<_ACEOF 18851 /* end confdefs.h. */ 18852 18853 /* Override any gcc2 internal prototype to avoid an error. */ 18854 #ifdef __cplusplus 18855 extern "C" 18856 #endif 18857 /* We use char because int might match the return type of a gcc2 18858 builtin and then its argument prototype would still apply. */ 18859 char sqrtf (); 18860 int 18861 main () 18862 { 18863 sqrtf (); 18864 ; 18865 return 0; 18866 } 18867 _ACEOF 18868 rm -f conftest.$ac_objext conftest$ac_exeext 18869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18870 (eval $ac_link) 2>&5 18871 ac_status=$? 18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18873 (exit $ac_status); } && 18874 { ac_try='test -s conftest$ac_exeext' 18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18876 (eval $ac_try) 2>&5 18877 ac_status=$? 18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18879 (exit $ac_status); }; }; then 18880 ac_cv_lib_mx_sqrtf=yes 18881 else 18882 echo "$as_me: failed program was:" >&5 18883 sed 's/^/| /' conftest.$ac_ext >&5 18884 18885 ac_cv_lib_mx_sqrtf=no 18886 fi 18887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18888 LIBS=$ac_check_lib_save_LIBS 18889 fi 18890 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_sqrtf" >&5 18891 echo "${ECHO_T}$ac_cv_lib_mx_sqrtf" >&6 18892 if test $ac_cv_lib_mx_sqrtf = yes; then 18893 cat >>confdefs.h <<_ACEOF 18894 #define HAVE_LIBMX 1 18895 _ACEOF 18896 18897 LIBS="-lmx $LIBS" 18898 18899 fi 18900 18901 19174 18902 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile" 19175 18903 cat >confcache <<\_ACEOF … … 19268 18996 Usually this means the macro was only invoked conditionally." >&5 19269 18997 echo "$as_me: error: conditional \"AMDEP\" was never defined. 19270 Usually this means the macro was only invoked conditionally." >&2;}19271 { (exit 1); exit 1; }; }19272 fi19273 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then19274 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.19275 Usually this means the macro was only invoked conditionally." >&519276 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.19277 Usually this means the macro was only invoked conditionally." >&2;}19278 { (exit 1); exit 1; }; }19279 fi19280 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then19281 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.19282 Usually this means the macro was only invoked conditionally." >&519283 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.19284 18998 Usually this means the macro was only invoked conditionally." >&2;} 19285 18999 { (exit 1); exit 1; }; } … … 19821 19535 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 19822 19536 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 19823 s,@CYGPATH_W@,$CYGPATH_W,;t t19824 19537 s,@PACKAGE@,$PACKAGE,;t t 19825 19538 s,@VERSION@,$VERSION,;t t … … 19834 19547 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 19835 19548 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 19836 s,@mkdir_p@,$mkdir_p,;t t19837 19549 s,@AWK@,$AWK,;t t 19838 19550 s,@SET_MAKE@,$SET_MAKE,;t t 19839 s,@am__leading_dot@,$am__leading_dot,;t t19840 19551 s,@CC@,$CC,;t t 19841 19552 s,@CFLAGS@,$CFLAGS,;t t … … 19852 19563 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 19853 19564 s,@CCDEPMODE@,$CCDEPMODE,;t t 19854 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t19855 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t19856 19565 s,@build@,$build,;t t 19857 19566 s,@build_cpu@,$build_cpu,;t t … … 19874 19583 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 19875 19584 s,@CXXDEPMODE@,$CXXDEPMODE,;t t 19876 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t19877 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t19878 19585 s,@CXXCPP@,$CXXCPP,;t t 19879 19586 s,@F77@,$F77,;t t … … 20309 20016 rm -f $tmp/config.h 20310 20017 fi 20311 # Compute $ac_file's index in $config_headers. 20312 _am_stamp_count=1 20313 for _am_header in $config_headers :; do 20314 case $_am_header in 20315 $ac_file | $ac_file:* ) 20316 break ;; 20317 * ) 20318 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20018 # Run the commands associated with the file. 20019 case $ac_file in 20020 src/config.h ) # update the timestamp 20021 echo 'timestamp for src/config.h' >"src/stamp-h1" 20022 ;; 20319 20023 esac 20320 done20321 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||20322 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \20323 X$ac_file : 'X\(//\)[^/]' \| \20324 X$ac_file : 'X\(//\)$' \| \20325 X$ac_file : 'X\(/\)' \| \20326 . : '\(.\)' 2>/dev/null ||20327 echo X$ac_file |20328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }20329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }20330 /^X\(\/\/\)$/{ s//\1/; q; }20331 /^X\(\/\).*/{ s//\1/; q; }20332 s/.*/./; q'`/stamp-h$_am_stamp_count20333 20024 done 20334 20025 _ACEOF … … 20417 20108 # Extract the definition of DEP_FILES from the Makefile without 20418 20109 # running `make'. 20419 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`20110 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 20420 20111 test -z "$DEPDIR" && continue 20421 20112 # When using ansi2knr, U may be empty or an underscore; expand it 20422 U=`sed -n 's/^U =//p' < "$mf"`20113 U=`sed -n -e '/^U = / s///p' < "$mf"` 20423 20114 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 20424 20115 # We invoke sed twice because it is the simplest approach to 20425 20116 # changing $(DEPDIR) to its actual value in the expansion. 20426 for file in `sed -n '20117 for file in `sed -n -e ' 20427 20118 /^DEP_FILES = .*\\\\$/ { 20428 20119 s/^DEP_FILES = // -
branches/rel3/psModules/configure.in
r1888 r2165 64 64 AC_CHECK_LIB(pslib,main,,AC_MSG_ERROR(psLib library required)) 65 65 66 dnl for MacOSX, where sqrtf is in mx 67 AC_CHECK_LIB(mx,sqrtf) 68 66 69 AC_OUTPUT(Makefile src/Makefile test/Makefile) -
branches/rel3/psModules/src/Makefile.in
r2142 r2165 1 # Makefile.in generated by automake 1. 8.3 from Makefile.am.1 # Makefile.in generated by automake 1.6.3 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 17 18 SOURCES = $(libpsmodule_a_SOURCES) 16 SHELL = @SHELL@ 19 17 20 18 srcdir = @srcdir@ 21 19 top_srcdir = @top_srcdir@ 22 20 VPATH = @srcdir@ 21 prefix = @prefix@ 22 exec_prefix = @exec_prefix@ 23 24 bindir = @bindir@ 25 sbindir = @sbindir@ 26 libexecdir = @libexecdir@ 27 datadir = @datadir@ 28 sysconfdir = @sysconfdir@ 29 sharedstatedir = @sharedstatedir@ 30 localstatedir = @localstatedir@ 31 libdir = @libdir@ 32 infodir = @infodir@ 33 mandir = @mandir@ 34 includedir = @includedir@ 35 oldincludedir = /usr/include 23 36 pkgdatadir = $(datadir)/@PACKAGE@ 24 37 pkglibdir = $(libdir)/@PACKAGE@ 25 38 pkgincludedir = $(includedir)/@PACKAGE@ 26 39 top_builddir = .. 40 41 ACLOCAL = @ACLOCAL@ 42 AUTOCONF = @AUTOCONF@ 43 AUTOMAKE = @AUTOMAKE@ 44 AUTOHEADER = @AUTOHEADER@ 45 27 46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 28 47 INSTALL = @INSTALL@ 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 49 INSTALL_DATA = @INSTALL_DATA@ 29 50 install_sh_DATA = $(install_sh) -c -m 644 30 51 install_sh_PROGRAM = $(install_sh) -c 31 52 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 32 54 INSTALL_HEADER = $(INSTALL_DATA) 33 transform = $(program_transform_name)55 transform = @program_transform_name@ 34 56 NORMAL_INSTALL = : 35 57 PRE_INSTALL = : … … 38 60 PRE_UNINSTALL = : 39 61 POST_UNINSTALL = : 62 host_alias = @host_alias@ 40 63 host_triplet = @host@ 64 65 EXEEXT = @EXEEXT@ 66 OBJEXT = @OBJEXT@ 67 PATH_SEPARATOR = @PATH_SEPARATOR@ 68 AMTAR = @AMTAR@ 69 AR = @AR@ 70 AS = @AS@ 71 AWK = @AWK@ 72 CC = @CC@ 73 CFLAGS = @CFLAGS@ 74 CXX = @CXX@ 75 CXXCPP = @CXXCPP@ 76 DEPDIR = @DEPDIR@ 77 DLLTOOL = @DLLTOOL@ 78 ECHO = @ECHO@ 79 EGREP = @EGREP@ 80 F77 = @F77@ 81 GCJ = @GCJ@ 82 GCJFLAGS = @GCJFLAGS@ 83 GSL_CONFIG = @GSL_CONFIG@ 84 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 85 LIBTOOL = @LIBTOOL@ 86 LN_S = @LN_S@ 87 OBJDUMP = @OBJDUMP@ 88 PACKAGE = @PACKAGE@ 89 RANLIB = @RANLIB@ 90 RC = @RC@ 91 STRIP = @STRIP@ 92 VERSION = @VERSION@ 93 am__include = @am__include@ 94 am__quote = @am__quote@ 95 install_sh = @install_sh@ 96 lib_LIBRARIES = libpsmodule.a 97 98 libpsmodule_a_SOURCES = pmFlatField.c pmMaskBadPixels.c pmSubtractBias.c psTest.c pmSubtractBias.c pmNonLinear.c 99 libpsmodule_a_HEADERS = pmFlatField.h pmMaskBadPixels.h pmSubtractBias.h psTest.h pmSubtractBias.h pmNonLinear.h 100 libpsmodule_adir = $(includedir) 41 101 subdir = src 42 DIST_COMMON = $(libpsmodule_a_HEADERS) $(srcdir)/Makefile.am \43 $(srcdir)/Makefile.in $(srcdir)/config.h.in44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m445 am__aclocal_m4_deps = $(top_srcdir)/configure.in46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \47 $(ACLOCAL_M4)48 102 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 103 CONFIG_HEADER = config.h 50 104 CONFIG_CLEAN_FILES = 51 ARFLAGS = cru52 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libpsmodule_adir)"53 libLIBRARIES_INSTALL = $(INSTALL_DATA)54 105 LIBRARIES = $(lib_LIBRARIES) 55 libpsmodule_a_AR = $(AR) $(ARFLAGS) 106 107 libpsmodule_a_AR = $(AR) cru 56 108 libpsmodule_a_LIBADD = 57 109 am_libpsmodule_a_OBJECTS = pmFlatField.$(OBJEXT) \ 58 110 pmMaskBadPixels.$(OBJEXT) pmSubtractBias.$(OBJEXT) \ 59 psTest.$(OBJEXT) pmSubtractBias.$(OBJEXT) \ 60 pmNonLinear.$(OBJEXT) 111 psTest.$(OBJEXT) pmSubtractBias.$(OBJEXT) pmNonLinear.$(OBJEXT) 61 112 libpsmodule_a_OBJECTS = $(am_libpsmodule_a_OBJECTS) 62 DEFAULT_INCLUDES = -I. -I$(srcdir) -I. 113 114 DEFS = @DEFS@ 115 DEFAULT_INCLUDES = -I. -I$(srcdir) -I. 116 CPPFLAGS = @CPPFLAGS@ 117 LDFLAGS = @LDFLAGS@ 118 LIBS = @LIBS@ 63 119 depcomp = $(SHELL) $(top_srcdir)/depcomp 64 120 am__depfiles_maybe = depfiles … … 66 122 @AMDEP_TRUE@ ./$(DEPDIR)/pmMaskBadPixels.Po \ 67 123 @AMDEP_TRUE@ ./$(DEPDIR)/pmNonLinear.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/pmSubtractBias.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/psTest.Po 124 @AMDEP_TRUE@ ./$(DEPDIR)/pmSubtractBias.Po ./$(DEPDIR)/psTest.Po 70 125 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 71 126 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 72 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ 73 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 74 $(AM_CFLAGS) $(CFLAGS) 127 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 128 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 75 129 CCLD = $(CC) 76 130 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 77 131 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 132 DIST_SOURCES = $(libpsmodule_a_SOURCES) 133 HEADERS = $(libpsmodule_a_HEADERS) 134 135 DIST_COMMON = $(libpsmodule_a_HEADERS) Makefile.am Makefile.in \ 136 config.h.in 78 137 SOURCES = $(libpsmodule_a_SOURCES) 79 DIST_SOURCES = $(libpsmodule_a_SOURCES) 80 libpsmodule_aHEADERS_INSTALL = $(INSTALL_HEADER) 81 HEADERS = $(libpsmodule_a_HEADERS) 82 ETAGS = etags 83 CTAGS = ctags 84 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 85 ACLOCAL = @ACLOCAL@ 86 AMDEP_FALSE = @AMDEP_FALSE@ 87 AMDEP_TRUE = @AMDEP_TRUE@ 88 AMTAR = @AMTAR@ 89 AR = @AR@ 90 AUTOCONF = @AUTOCONF@ 91 AUTOHEADER = @AUTOHEADER@ 92 AUTOMAKE = @AUTOMAKE@ 93 AWK = @AWK@ 94 CC = @CC@ 95 CCDEPMODE = @CCDEPMODE@ 96 CFLAGS = @CFLAGS@ 97 CPP = @CPP@ 98 CPPFLAGS = @CPPFLAGS@ 99 CXX = @CXX@ 100 CXXCPP = @CXXCPP@ 101 CXXDEPMODE = @CXXDEPMODE@ 102 CXXFLAGS = @CXXFLAGS@ 103 CYGPATH_W = @CYGPATH_W@ 104 DEFS = @DEFS@ 105 DEPDIR = @DEPDIR@ 106 ECHO = @ECHO@ 107 ECHO_C = @ECHO_C@ 108 ECHO_N = @ECHO_N@ 109 ECHO_T = @ECHO_T@ 110 EGREP = @EGREP@ 111 EXEEXT = @EXEEXT@ 112 F77 = @F77@ 113 FFLAGS = @FFLAGS@ 114 GSL_CONFIG = @GSL_CONFIG@ 115 INSTALL_DATA = @INSTALL_DATA@ 116 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 117 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 118 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 119 LDFLAGS = @LDFLAGS@ 120 LIBOBJS = @LIBOBJS@ 121 LIBS = @LIBS@ 122 LIBTOOL = @LIBTOOL@ 123 LN_S = @LN_S@ 124 LTLIBOBJS = @LTLIBOBJS@ 125 MAKEINFO = @MAKEINFO@ 126 OBJEXT = @OBJEXT@ 127 PACKAGE = @PACKAGE@ 128 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 129 PACKAGE_NAME = @PACKAGE_NAME@ 130 PACKAGE_STRING = @PACKAGE_STRING@ 131 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 132 PACKAGE_VERSION = @PACKAGE_VERSION@ 133 PATH_SEPARATOR = @PATH_SEPARATOR@ 134 RANLIB = @RANLIB@ 135 SET_MAKE = @SET_MAKE@ 136 SHELL = @SHELL@ 137 STRIP = @STRIP@ 138 VERSION = @VERSION@ 139 ac_ct_AR = @ac_ct_AR@ 140 ac_ct_CC = @ac_ct_CC@ 141 ac_ct_CXX = @ac_ct_CXX@ 142 ac_ct_F77 = @ac_ct_F77@ 143 ac_ct_RANLIB = @ac_ct_RANLIB@ 144 ac_ct_STRIP = @ac_ct_STRIP@ 145 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 146 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 147 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ 148 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 149 am__include = @am__include@ 150 am__leading_dot = @am__leading_dot@ 151 am__quote = @am__quote@ 152 bindir = @bindir@ 153 build = @build@ 154 build_alias = @build_alias@ 155 build_cpu = @build_cpu@ 156 build_os = @build_os@ 157 build_vendor = @build_vendor@ 158 datadir = @datadir@ 159 exec_prefix = @exec_prefix@ 160 host = @host@ 161 host_alias = @host_alias@ 162 host_cpu = @host_cpu@ 163 host_os = @host_os@ 164 host_vendor = @host_vendor@ 165 includedir = @includedir@ 166 infodir = @infodir@ 167 install_sh = @install_sh@ 168 libdir = @libdir@ 169 libexecdir = @libexecdir@ 170 localstatedir = @localstatedir@ 171 mandir = @mandir@ 172 mkdir_p = @mkdir_p@ 173 oldincludedir = @oldincludedir@ 174 prefix = @prefix@ 175 program_transform_name = @program_transform_name@ 176 sbindir = @sbindir@ 177 sharedstatedir = @sharedstatedir@ 178 sysconfdir = @sysconfdir@ 179 target_alias = @target_alias@ 180 lib_LIBRARIES = libpsmodule.a 181 libpsmodule_a_SOURCES = pmFlatField.c pmMaskBadPixels.c pmSubtractBias.c psTest.c pmSubtractBias.c pmNonLinear.c 182 libpsmodule_a_HEADERS = pmFlatField.h pmMaskBadPixels.h pmSubtractBias.h psTest.h pmSubtractBias.h pmNonLinear.h 183 libpsmodule_adir = $(includedir) 138 184 139 all: config.h 185 140 $(MAKE) $(AM_MAKEFLAGS) all-am … … 187 142 .SUFFIXES: 188 143 .SUFFIXES: .c .lo .o .obj 189 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 190 @for dep in $?; do \ 191 case '$(am__configure_deps)' in \ 192 *$$dep*) \ 193 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 194 && exit 0; \ 195 exit 1;; \ 196 esac; \ 197 done; \ 198 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 144 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 199 145 cd $(top_srcdir) && \ 200 146 $(AUTOMAKE) --gnu src/Makefile 201 .PRECIOUS: Makefile 202 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 203 @case '$?' in \ 204 *config.status*) \ 205 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 206 *) \ 207 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 208 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 209 esac; 210 211 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 213 214 $(top_srcdir)/configure: $(am__configure_deps) 215 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 216 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 217 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 148 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 218 149 219 150 config.h: stamp-h1 … … 226 157 @rm -f stamp-h1 227 158 cd $(top_builddir) && $(SHELL) ./config.status src/config.h 228 $(srcdir)/config.h.in: $(am__configure_deps) 159 160 $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 229 161 cd $(top_srcdir) && $(AUTOHEADER) 230 rm -f stamp-h1 231 touch $@ 162 touch $(srcdir)/config.h.in 232 163 233 164 distclean-hdr: 234 165 -rm -f config.h stamp-h1 166 libLIBRARIES_INSTALL = $(INSTALL_DATA) 235 167 install-libLIBRARIES: $(lib_LIBRARIES) 236 168 @$(NORMAL_INSTALL) 237 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"169 $(mkinstalldirs) $(DESTDIR)$(libdir) 238 170 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 239 171 if test -f $$p; then \ 240 172 f="`echo $$p | sed -e 's|^.*/||'`"; \ 241 echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \242 $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \173 echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \ 174 $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \ 243 175 else :; fi; \ 244 176 done … … 247 179 if test -f $$p; then \ 248 180 p="`echo $$p | sed -e 's|^.*/||'`"; \ 249 echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \250 $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \181 echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ 182 $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ 251 183 else :; fi; \ 252 184 done … … 256 188 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 257 189 p="`echo $$p | sed -e 's|^.*/||'`"; \ 258 echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \259 rm -f "$(DESTDIR)$(libdir)/$$p"; \190 echo " rm -f $(DESTDIR)$(libdir)/$$p"; \ 191 rm -f $(DESTDIR)$(libdir)/$$p; \ 260 192 done 261 193 … … 268 200 269 201 mostlyclean-compile: 270 -rm -f *.$(OBJEXT) 202 -rm -f *.$(OBJEXT) core *.core 271 203 272 204 distclean-compile: … … 279 211 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/psTest.Po@am__quote@ 280 212 213 distclean-depend: 214 -rm -rf ./$(DEPDIR) 215 281 216 .c.o: 282 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 283 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 284 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 285 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 286 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 287 @am__fastdepCC_FALSE@ $(COMPILE) -c $< 217 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 218 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 219 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 220 $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 288 221 289 222 .c.obj: 290 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 291 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 292 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 293 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 294 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 295 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 223 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 224 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 225 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 226 $(COMPILE) -c `cygpath -w $<` 296 227 297 228 .c.lo: 298 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 299 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 300 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 301 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 302 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 303 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 229 @AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 230 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 231 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 232 $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 233 CCDEPMODE = @CCDEPMODE@ 304 234 305 235 mostlyclean-libtool: … … 312 242 -rm -f libtool 313 243 uninstall-info-am: 244 libpsmodule_aHEADERS_INSTALL = $(INSTALL_HEADER) 314 245 install-libpsmodule_aHEADERS: $(libpsmodule_a_HEADERS) 315 246 @$(NORMAL_INSTALL) 316 test -z "$(libpsmodule_adir)" || $(mkdir_p) "$(DESTDIR)$(libpsmodule_adir)"247 $(mkinstalldirs) $(DESTDIR)$(libpsmodule_adir) 317 248 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 318 249 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 319 250 f="`echo $$p | sed -e 's|^.*/||'`"; \ 320 echo " $(libpsmodule_aHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \321 $(libpsmodule_aHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libpsmodule_adir)/$$f"; \251 echo " $(libpsmodule_aHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libpsmodule_adir)/$$f"; \ 252 $(libpsmodule_aHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libpsmodule_adir)/$$f; \ 322 253 done 323 254 … … 326 257 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 327 258 f="`echo $$p | sed -e 's|^.*/||'`"; \ 328 echo " rm -f '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \ 329 rm -f "$(DESTDIR)$(libpsmodule_adir)/$$f"; \ 330 done 259 echo " rm -f $(DESTDIR)$(libpsmodule_adir)/$$f"; \ 260 rm -f $(DESTDIR)$(libpsmodule_adir)/$$f; \ 261 done 262 263 ETAGS = etags 264 ETAGSFLAGS = 265 266 tags: TAGS 331 267 332 268 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 338 274 END { for (i in files) print i; }'`; \ 339 275 mkid -fID $$unique 340 tags: TAGS341 276 342 277 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 353 288 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 354 289 $$tags $$unique 355 ctags: CTAGS356 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \357 $(TAGS_FILES) $(LISP)358 tags=; \359 here=`pwd`; \360 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \361 unique=`for i in $$list; do \362 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \363 done | \364 $(AWK) ' { files[$$0] = 1; } \365 END { for (i in files) print i; }'`; \366 test -z "$(CTAGS_ARGS)$$tags$$unique" \367 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \368 $$tags $$unique369 290 370 291 GTAGS: … … 374 295 375 296 distclean-tags: 376 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 297 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 298 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 299 300 top_distdir = .. 301 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 377 302 378 303 distdir: $(DISTFILES) 379 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 380 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 381 list='$(DISTFILES)'; for file in $$list; do \ 382 case $$file in \ 383 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 384 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 385 esac; \ 304 @list='$(DISTFILES)'; for file in $$list; do \ 386 305 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 387 306 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 388 307 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 389 308 dir="/$$dir"; \ 390 $(mk dir_p) "$(distdir)$$dir"; \309 $(mkinstalldirs) "$(distdir)$$dir"; \ 391 310 else \ 392 311 dir=''; \ … … 406 325 check: check-am 407 326 all-am: Makefile $(LIBRARIES) $(HEADERS) config.h 327 408 328 installdirs: 409 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libpsmodule_adir)"; do \ 410 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 411 done 329 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libpsmodule_adir) 330 412 331 install: install-am 413 332 install-exec: install-exec-am … … 421 340 install-strip: 422 341 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 423 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \342 INSTALL_STRIP_FLAG=-s \ 424 343 `test -z '$(STRIP)' || \ 425 344 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 429 348 430 349 distclean-generic: 431 -rm -f $(CONFIG_CLEAN_FILES)350 -rm -f Makefile $(CONFIG_CLEAN_FILES) 432 351 433 352 maintainer-clean-generic: … … 436 355 clean: clean-am 437 356 438 clean-am: clean-generic clean-libLIBRARIES clean-libtool \ 439 mostlyclean-am 357 clean-am: clean-generic clean-libLIBRARIES clean-libtool mostlyclean-am 440 358 441 359 distclean: distclean-am 442 -rm -rf ./$(DEPDIR) 443 -rm -f Makefile 444 distclean-am: clean-am distclean-compile distclean-generic\445 distclean- hdr distclean-libtool distclean-tags360 361 distclean-am: clean-am distclean-compile distclean-depend \ 362 distclean-generic distclean-hdr distclean-libtool \ 363 distclean-tags 446 364 447 365 dvi: dvi-am … … 449 367 dvi-am: 450 368 451 html: html-am452 453 369 info: info-am 454 370 … … 466 382 467 383 maintainer-clean: maintainer-clean-am 468 -rm -rf ./$(DEPDIR) 469 -rm -f Makefile 384 470 385 maintainer-clean-am: distclean-am maintainer-clean-generic 471 386 … … 475 390 mostlyclean-libtool 476 391 477 pdf: pdf-am478 479 pdf-am:480 481 ps: ps-am482 483 ps-am:484 485 392 uninstall-am: uninstall-info-am uninstall-libLIBRARIES \ 486 393 uninstall-libpsmodule_aHEADERS 487 394 488 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ 489 clean-libLIBRARIES clean-libtool ctags distclean \ 490 distclean-compile distclean-generic distclean-hdr \ 491 distclean-libtool distclean-tags distdir dvi dvi-am html \ 492 html-am info info-am install install-am install-data \ 493 install-data-am install-exec install-exec-am install-info \ 494 install-info-am install-libLIBRARIES \ 495 install-libpsmodule_aHEADERS install-man install-strip \ 496 installcheck installcheck-am installdirs maintainer-clean \ 497 maintainer-clean-generic mostlyclean mostlyclean-compile \ 498 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 395 .PHONY: GTAGS all all-am check check-am clean clean-generic \ 396 clean-libLIBRARIES clean-libtool distclean distclean-compile \ 397 distclean-depend distclean-generic distclean-hdr \ 398 distclean-libtool distclean-tags distdir dvi dvi-am info \ 399 info-am install install-am install-data install-data-am \ 400 install-exec install-exec-am install-info install-info-am \ 401 install-libLIBRARIES install-libpsmodule_aHEADERS install-man \ 402 install-strip installcheck installcheck-am installdirs \ 403 maintainer-clean maintainer-clean-generic mostlyclean \ 404 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 499 405 tags uninstall uninstall-am uninstall-info-am \ 500 406 uninstall-libLIBRARIES uninstall-libpsmodule_aHEADERS -
branches/rel3/psModules/src/config.h.in
r1786 r2165 18 18 /* Define to 1 if you have the `gslcblas' library (-lgslcblas). */ 19 19 #undef HAVE_LIBGSLCBLAS 20 21 /* Define to 1 if you have the `mx' library (-lmx). */ 22 #undef HAVE_LIBMX 20 23 21 24 /* Define to 1 if you have the `pslib' library (-lpslib). */ -
branches/rel3/psModules/test/Makefile.in
r2138 r2165 1 # Makefile.in generated by automake 1. 8.3 from Makefile.am.1 # Makefile.in generated by automake 1.6.3 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 17 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 16 SHELL = @SHELL@ 18 17 19 18 srcdir = @srcdir@ 20 19 top_srcdir = @top_srcdir@ 21 20 VPATH = @srcdir@ 21 prefix = @prefix@ 22 exec_prefix = @exec_prefix@ 23 24 bindir = @bindir@ 25 sbindir = @sbindir@ 26 libexecdir = @libexecdir@ 27 datadir = @datadir@ 28 sysconfdir = @sysconfdir@ 29 sharedstatedir = @sharedstatedir@ 30 localstatedir = @localstatedir@ 31 libdir = @libdir@ 32 infodir = @infodir@ 33 mandir = @mandir@ 34 includedir = @includedir@ 35 oldincludedir = /usr/include 22 36 pkgdatadir = $(datadir)/@PACKAGE@ 23 37 pkglibdir = $(libdir)/@PACKAGE@ 24 38 pkgincludedir = $(includedir)/@PACKAGE@ 25 39 top_builddir = .. 40 41 ACLOCAL = @ACLOCAL@ 42 AUTOCONF = @AUTOCONF@ 43 AUTOMAKE = @AUTOMAKE@ 44 AUTOHEADER = @AUTOHEADER@ 45 26 46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 27 47 INSTALL = @INSTALL@ 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 49 INSTALL_DATA = @INSTALL_DATA@ 28 50 install_sh_DATA = $(install_sh) -c -m 644 29 51 install_sh_PROGRAM = $(install_sh) -c 30 52 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 31 54 INSTALL_HEADER = $(INSTALL_DATA) 32 transform = $(program_transform_name)55 transform = @program_transform_name@ 33 56 NORMAL_INSTALL = : 34 57 PRE_INSTALL = : … … 37 60 PRE_UNINSTALL = : 38 61 POST_UNINSTALL = : 62 host_alias = @host_alias@ 39 63 host_triplet = @host@ 40 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT) \ 41 tst_pmNonLinear$(EXEEXT) tst_pmSubtractBias$(EXEEXT) 64 65 EXEEXT = @EXEEXT@ 66 OBJEXT = @OBJEXT@ 67 PATH_SEPARATOR = @PATH_SEPARATOR@ 68 AMTAR = @AMTAR@ 69 AR = @AR@ 70 AS = @AS@ 71 AWK = @AWK@ 72 CC = @CC@ 73 CFLAGS = @CFLAGS@ 74 CXX = @CXX@ 75 CXXCPP = @CXXCPP@ 76 DEPDIR = @DEPDIR@ 77 DLLTOOL = @DLLTOOL@ 78 ECHO = @ECHO@ 79 EGREP = @EGREP@ 80 F77 = @F77@ 81 GCJ = @GCJ@ 82 GCJFLAGS = @GCJFLAGS@ 83 GSL_CONFIG = @GSL_CONFIG@ 84 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 85 LIBTOOL = @LIBTOOL@ 86 LN_S = @LN_S@ 87 OBJDUMP = @OBJDUMP@ 88 PACKAGE = @PACKAGE@ 89 RANLIB = @RANLIB@ 90 RC = @RC@ 91 STRIP = @STRIP@ 92 VERSION = @VERSION@ 93 am__include = @am__include@ 94 am__quote = @am__quote@ 95 install_sh = @install_sh@ 96 bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels tst_pmNonLinear tst_pmSubtractBias 97 98 tst_pmFlatField_SOURCES = tst_pmFlatField.c 99 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule 100 101 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 102 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule 103 104 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c 105 tst_pmNonLinear_LDFLAGS = -L../src -lpsmodule 106 107 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c 108 tst_pmSubtractBias_LDFLAGS = -L../src -lpsmodule 42 109 subdir = test 43 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m445 am__aclocal_m4_deps = $(top_srcdir)/configure.in46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \47 $(ACLOCAL_M4)48 110 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 111 CONFIG_HEADER = $(top_builddir)/src/config.h 50 112 CONFIG_CLEAN_FILES = 51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)113 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT) \ 114 tst_pmNonLinear$(EXEEXT) tst_pmSubtractBias$(EXEEXT) 53 115 PROGRAMS = $(bin_PROGRAMS) 116 54 117 am_tst_pmFlatField_OBJECTS = tst_pmFlatField.$(OBJEXT) 55 118 tst_pmFlatField_OBJECTS = $(am_tst_pmFlatField_OBJECTS) 56 119 tst_pmFlatField_LDADD = $(LDADD) 120 tst_pmFlatField_DEPENDENCIES = 57 121 am_tst_pmMaskBadPixels_OBJECTS = tst_pmMaskBadPixels.$(OBJEXT) 58 122 tst_pmMaskBadPixels_OBJECTS = $(am_tst_pmMaskBadPixels_OBJECTS) 59 123 tst_pmMaskBadPixels_LDADD = $(LDADD) 124 tst_pmMaskBadPixels_DEPENDENCIES = 60 125 am_tst_pmNonLinear_OBJECTS = tst_pmNonLinear.$(OBJEXT) 61 126 tst_pmNonLinear_OBJECTS = $(am_tst_pmNonLinear_OBJECTS) 62 127 tst_pmNonLinear_LDADD = $(LDADD) 128 tst_pmNonLinear_DEPENDENCIES = 63 129 am_tst_pmSubtractBias_OBJECTS = tst_pmSubtractBias.$(OBJEXT) 64 130 tst_pmSubtractBias_OBJECTS = $(am_tst_pmSubtractBias_OBJECTS) 65 131 tst_pmSubtractBias_LDADD = $(LDADD) 66 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 132 tst_pmSubtractBias_DEPENDENCIES = 133 134 DEFS = @DEFS@ 135 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 136 CPPFLAGS = @CPPFLAGS@ 137 LDFLAGS = @LDFLAGS@ 138 LIBS = @LIBS@ 67 139 depcomp = $(SHELL) $(top_srcdir)/depcomp 68 140 am__depfiles_maybe = depfiles … … 73 145 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 74 146 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 75 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ 76 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 77 $(AM_CFLAGS) $(CFLAGS) 147 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 148 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 78 149 CCLD = $(CC) 79 150 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 80 151 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 81 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) \152 DIST_SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) \ 82 153 $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 83 DIST_SOURCES = $(tst_pmFlatField_SOURCES) \ 84 $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) \ 85 $(tst_pmSubtractBias_SOURCES) 86 ETAGS = etags 87 CTAGS = ctags 88 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 89 ACLOCAL = @ACLOCAL@ 90 AMDEP_FALSE = @AMDEP_FALSE@ 91 AMDEP_TRUE = @AMDEP_TRUE@ 92 AMTAR = @AMTAR@ 93 AR = @AR@ 94 AUTOCONF = @AUTOCONF@ 95 AUTOHEADER = @AUTOHEADER@ 96 AUTOMAKE = @AUTOMAKE@ 97 AWK = @AWK@ 98 CC = @CC@ 99 CCDEPMODE = @CCDEPMODE@ 100 CFLAGS = @CFLAGS@ 101 CPP = @CPP@ 102 CPPFLAGS = @CPPFLAGS@ 103 CXX = @CXX@ 104 CXXCPP = @CXXCPP@ 105 CXXDEPMODE = @CXXDEPMODE@ 106 CXXFLAGS = @CXXFLAGS@ 107 CYGPATH_W = @CYGPATH_W@ 108 DEFS = @DEFS@ 109 DEPDIR = @DEPDIR@ 110 ECHO = @ECHO@ 111 ECHO_C = @ECHO_C@ 112 ECHO_N = @ECHO_N@ 113 ECHO_T = @ECHO_T@ 114 EGREP = @EGREP@ 115 EXEEXT = @EXEEXT@ 116 F77 = @F77@ 117 FFLAGS = @FFLAGS@ 118 GSL_CONFIG = @GSL_CONFIG@ 119 INSTALL_DATA = @INSTALL_DATA@ 120 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 121 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 122 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 123 LDFLAGS = @LDFLAGS@ 124 LIBOBJS = @LIBOBJS@ 125 LIBS = @LIBS@ 126 LIBTOOL = @LIBTOOL@ 127 LN_S = @LN_S@ 128 LTLIBOBJS = @LTLIBOBJS@ 129 MAKEINFO = @MAKEINFO@ 130 OBJEXT = @OBJEXT@ 131 PACKAGE = @PACKAGE@ 132 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 133 PACKAGE_NAME = @PACKAGE_NAME@ 134 PACKAGE_STRING = @PACKAGE_STRING@ 135 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 136 PACKAGE_VERSION = @PACKAGE_VERSION@ 137 PATH_SEPARATOR = @PATH_SEPARATOR@ 138 RANLIB = @RANLIB@ 139 SET_MAKE = @SET_MAKE@ 140 SHELL = @SHELL@ 141 STRIP = @STRIP@ 142 VERSION = @VERSION@ 143 ac_ct_AR = @ac_ct_AR@ 144 ac_ct_CC = @ac_ct_CC@ 145 ac_ct_CXX = @ac_ct_CXX@ 146 ac_ct_F77 = @ac_ct_F77@ 147 ac_ct_RANLIB = @ac_ct_RANLIB@ 148 ac_ct_STRIP = @ac_ct_STRIP@ 149 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 150 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 151 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ 152 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 153 am__include = @am__include@ 154 am__leading_dot = @am__leading_dot@ 155 am__quote = @am__quote@ 156 bindir = @bindir@ 157 build = @build@ 158 build_alias = @build_alias@ 159 build_cpu = @build_cpu@ 160 build_os = @build_os@ 161 build_vendor = @build_vendor@ 162 datadir = @datadir@ 163 exec_prefix = @exec_prefix@ 164 host = @host@ 165 host_alias = @host_alias@ 166 host_cpu = @host_cpu@ 167 host_os = @host_os@ 168 host_vendor = @host_vendor@ 169 includedir = @includedir@ 170 infodir = @infodir@ 171 install_sh = @install_sh@ 172 libdir = @libdir@ 173 libexecdir = @libexecdir@ 174 localstatedir = @localstatedir@ 175 mandir = @mandir@ 176 mkdir_p = @mkdir_p@ 177 oldincludedir = @oldincludedir@ 178 prefix = @prefix@ 179 program_transform_name = @program_transform_name@ 180 sbindir = @sbindir@ 181 sharedstatedir = @sharedstatedir@ 182 sysconfdir = @sysconfdir@ 183 target_alias = @target_alias@ 184 tst_pmFlatField_SOURCES = tst_pmFlatField.c 185 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule 186 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 187 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule 188 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c 189 tst_pmNonLinear_LDFLAGS = -L../src -lpsmodule 190 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c 191 tst_pmSubtractBias_LDFLAGS = -L../src -lpsmodule 154 DIST_COMMON = Makefile.am Makefile.in 155 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 156 192 157 all: all-am 193 158 194 159 .SUFFIXES: 195 160 .SUFFIXES: .c .lo .o .obj 196 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 197 @for dep in $?; do \ 198 case '$(am__configure_deps)' in \ 199 *$$dep*) \ 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 201 && exit 0; \ 202 exit 1;; \ 203 esac; \ 204 done; \ 205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ 161 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 206 162 cd $(top_srcdir) && \ 207 163 $(AUTOMAKE) --gnu test/Makefile 208 .PRECIOUS: Makefile 209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 210 @case '$?' in \ 211 *config.status*) \ 212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 213 *) \ 214 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 215 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 216 esac; 217 218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 220 221 $(top_srcdir)/configure: $(am__configure_deps) 222 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 223 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 224 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 164 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 165 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 166 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 225 167 install-binPROGRAMS: $(bin_PROGRAMS) 226 168 @$(NORMAL_INSTALL) 227 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"169 $(mkinstalldirs) $(DESTDIR)$(bindir) 228 170 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 229 171 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 232 174 ; then \ 233 175 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 234 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \235 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \176 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ 177 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ 236 178 else :; fi; \ 237 179 done … … 241 183 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 242 184 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 243 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \244 rm -f "$(DESTDIR)$(bindir)/$$f"; \185 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ 186 rm -f $(DESTDIR)$(bindir)/$$f; \ 245 187 done 246 188 … … 265 207 266 208 mostlyclean-compile: 267 -rm -f *.$(OBJEXT) 209 -rm -f *.$(OBJEXT) core *.core 268 210 269 211 distclean-compile: … … 275 217 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tst_pmSubtractBias.Po@am__quote@ 276 218 219 distclean-depend: 220 -rm -rf ./$(DEPDIR) 221 277 222 .c.o: 278 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 279 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 280 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 281 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 282 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 283 @am__fastdepCC_FALSE@ $(COMPILE) -c $< 223 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 224 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 225 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 226 $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 284 227 285 228 .c.obj: 286 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 287 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 288 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 289 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 290 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 291 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 229 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 230 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 231 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 232 $(COMPILE) -c `cygpath -w $<` 292 233 293 234 .c.lo: 294 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 295 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 296 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 297 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 298 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 299 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 235 @AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 236 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 237 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 238 $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 239 CCDEPMODE = @CCDEPMODE@ 300 240 301 241 mostlyclean-libtool: … … 308 248 -rm -f libtool 309 249 uninstall-info-am: 250 251 ETAGS = etags 252 ETAGSFLAGS = 253 254 tags: TAGS 310 255 311 256 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 317 262 END { for (i in files) print i; }'`; \ 318 263 mkid -fID $$unique 319 tags: TAGS320 264 321 265 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 332 276 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 333 277 $$tags $$unique 334 ctags: CTAGS335 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \336 $(TAGS_FILES) $(LISP)337 tags=; \338 here=`pwd`; \339 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \340 unique=`for i in $$list; do \341 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \342 done | \343 $(AWK) ' { files[$$0] = 1; } \344 END { for (i in files) print i; }'`; \345 test -z "$(CTAGS_ARGS)$$tags$$unique" \346 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \347 $$tags $$unique348 278 349 279 GTAGS: … … 353 283 354 284 distclean-tags: 355 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 285 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 286 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 287 288 top_distdir = .. 289 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 356 290 357 291 distdir: $(DISTFILES) 358 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 359 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 360 list='$(DISTFILES)'; for file in $$list; do \ 361 case $$file in \ 362 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 363 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 364 esac; \ 292 @list='$(DISTFILES)'; for file in $$list; do \ 365 293 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 366 294 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 367 295 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 368 296 dir="/$$dir"; \ 369 $(mk dir_p) "$(distdir)$$dir"; \297 $(mkinstalldirs) "$(distdir)$$dir"; \ 370 298 else \ 371 299 dir=''; \ … … 385 313 check: check-am 386 314 all-am: Makefile $(PROGRAMS) 315 387 316 installdirs: 388 for dir in "$(DESTDIR)$(bindir)"; do \ 389 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 390 done 317 $(mkinstalldirs) $(DESTDIR)$(bindir) 318 391 319 install: install-am 392 320 install-exec: install-exec-am … … 400 328 install-strip: 401 329 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 402 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \330 INSTALL_STRIP_FLAG=-s \ 403 331 `test -z '$(STRIP)' || \ 404 332 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 408 336 409 337 distclean-generic: 410 -rm -f $(CONFIG_CLEAN_FILES)338 -rm -f Makefile $(CONFIG_CLEAN_FILES) 411 339 412 340 maintainer-clean-generic: … … 418 346 419 347 distclean: distclean-am 420 -rm -rf ./$(DEPDIR) 421 -rm -f Makefile 422 distclean-am: clean-am distclean-compile distclean-generic \ 423 distclean-libtool distclean-tags 348 349 distclean-am: clean-am distclean-compile distclean-depend \ 350 distclean-generic distclean-libtool distclean-tags 424 351 425 352 dvi: dvi-am … … 427 354 dvi-am: 428 355 429 html: html-am430 431 356 info: info-am 432 357 … … 444 369 445 370 maintainer-clean: maintainer-clean-am 446 -rm -rf ./$(DEPDIR) 447 -rm -f Makefile 371 448 372 maintainer-clean-am: distclean-am maintainer-clean-generic 449 373 … … 453 377 mostlyclean-libtool 454 378 455 pdf: pdf-am456 457 pdf-am:458 459 ps: ps-am460 461 ps-am:462 463 379 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 464 380 465 .PHONY: CTAGSGTAGS all all-am check check-am clean clean-binPROGRAMS \466 clean-generic clean-libtool ctagsdistclean distclean-compile \467 distclean- generic distclean-libtool distclean-tags distdir dvi\468 d vi-am html html-am info info-am install install-am\469 install- binPROGRAMS install-data install-data-am install-exec\470 install-exec -am install-info install-info-am install-man\471 install- strip installcheck installcheck-am installdirs\472 maintainer-clean maintainer-clean-generic mostlyclean\473 mostlyclean -compile mostlyclean-generic mostlyclean-libtool\474 pdf pdf-am ps ps-amtags uninstall uninstall-am \381 .PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \ 382 clean-generic clean-libtool distclean distclean-compile \ 383 distclean-depend distclean-generic distclean-libtool \ 384 distclean-tags distdir dvi dvi-am info info-am install \ 385 install-am install-binPROGRAMS install-data install-data-am \ 386 install-exec install-exec-am install-info install-info-am \ 387 install-man install-strip installcheck installcheck-am \ 388 installdirs maintainer-clean maintainer-clean-generic \ 389 mostlyclean mostlyclean-compile mostlyclean-generic \ 390 mostlyclean-libtool tags uninstall uninstall-am \ 475 391 uninstall-binPROGRAMS uninstall-info-am 476 392 -
branches/rel3/psModules/test/tst_pmFlatField.c
r1888 r2165 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 $ $Name: not supported by cvs2svn $21 * @date $Date: 2004- 09-24 23:42:28$20 * @version $Revision: 1.1.2.1 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2004-10-15 21:44:19 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 223 223 psFree(inReadout); 224 224 psFree(flatReadout); 225 psFree(inImage);225 //psFree(inImage); 226 226 psFree(flatImage1); 227 psFree(flatImage1);227 //psFree(flatImage1); 228 228 psFree(smallFlat); 229 229 psFree(largeMask); -
branches/rel3/psModules/test/tst_pmMaskBadPixels.c
r2138 r2165 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $20 * @date $Date: 2004-10-1 4 23:52:09 $19 * @version $Revision: 1.2.2.1 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2004-10-15 21:44:19 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 103 103 psFree(mask1); 104 104 psFree(inReadout); 105 psFree(inImage1);106 105 107 106 return 0; … … 119 118 psFree(mask2); 120 119 psFree(inReadout2); 121 psFree(inImage2);122 120 123 121 return 0; … … 138 136 psFree(mask3); 139 137 psFree(inReadout3); 140 psFree(inImage3);141 138 142 139 return 0; … … 157 154 psFree(mask4); 158 155 psFree(inReadout4); 159 psFree(inImage4);160 156 161 157 return 0; … … 169 165 pmMaskBadPixels(inReadout5, NULL, 0, 100.0, 1, 10); 170 166 psFree(inReadout5); 171 psFree(inImage5);172 167 173 168 return 0; … … 197 192 psFree(mask7); 198 193 psFree(inReadout7); 199 psFree(inImage7);200 194 201 195 return 0; … … 213 207 psFree(mask8); 214 208 psFree(inReadout8); 215 psFree(inImage8);216 209 217 210 return 0; … … 231 224 psFree(mask9); 232 225 psFree(inReadout9); 233 psFree(inImage9);234 226 235 227 return 0; … … 247 239 psFree(mask10); 248 240 psFree(inReadout10); 249 psFree(inImage10);250 241 251 242 return 0; … … 263 254 psFree(mask11); 264 255 psFree(inReadout11); 265 psFree(inImage11); 266 267 return 0; 268 } 269 256 257 return 0; 258 } 259 -
branches/rel3/psModules/test/verified/tst_pmFlatField.stderr
r2140 r2165 25 25 <DATE><TIME>|<HOST>|E|psModule.src.pmFlatField 26 26 Mask must be PS_TYPE_MASK type. Type: 1028 27 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree28 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmFlatField.c:<LINENO>.29 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree30 Block 5, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmFlatField.c:<LINENO>.31 27 32 28 ---> TESTPOINT PASSED (Test Point Driver{pmFlatField} | tst_pmFlatField.c) -
branches/rel3/psModules/test/verified/tst_pmMaskBadPixels.stderr
r2140 r2165 5 5 \**********************************************************************************/ 6 6 7 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree8 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.9 7 10 8 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on maskVal argument} | tst_pmMaskBadPixels.c) … … 16 14 \**********************************************************************************/ 17 15 18 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree19 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.20 16 21 17 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on saturation argument} | tst_pmMaskBadPixels.c) … … 27 23 \**********************************************************************************/ 28 24 29 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree30 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.31 25 32 26 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Create mask based on growVal and grow arguments} | tst_pmMaskBadPixels.c) … … 38 32 \**********************************************************************************/ 39 33 40 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree41 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.42 34 43 35 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Auto create mask based on maskVal argument} | tst_pmMaskBadPixels.c) … … 51 43 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 52 44 Null not allowed for mask image. 53 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree54 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.55 45 56 46 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use null mask} | tst_pmMaskBadPixels.c) … … 75 65 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 76 66 Input image size exceeds that of mask image: (60, 60) vs (50, 50) 77 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree78 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.79 67 80 68 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use input image bigger than mask} | tst_pmMaskBadPixels.c) … … 88 76 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 89 77 Input image mask size exceeds that of mask image: (60, 60) vs (50, 50) 90 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree91 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.92 78 93 79 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use input image mask bigger than mask} | tst_pmMaskBadPixels.c) … … 101 87 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 102 88 Total offset >= mask image: (150, 150) vs (50, 50) 103 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree104 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.105 89 106 90 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use offset greater than input image} | tst_pmMaskBadPixels.c) … … 114 98 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 115 99 Complex types not allowed for input image. Type: 2064 116 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree117 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.118 100 119 101 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use complex input image} | tst_pmMaskBadPixels.c) … … 127 109 <DATE><TIME>|<HOST>|E|psModule.src.pmMaskBadPixels 128 110 Mask must be PS_TYPE_MASK type. Type: 1032 129 <DATE><TIME>|<HOST>|E|psLib.sysUtils.psFree130 Block 1, allocated at psImage.c:<LINENO>, freed multiple times at tst_pmMaskBadPixels.c:<LINENO>.131 111 132 112 ---> TESTPOINT PASSED (Test Point Driver{pmMaskBadPixels - Attempt to use non-mask type mask image} | tst_pmMaskBadPixels.c)
Note:
See TracChangeset
for help on using the changeset viewer.
