Changeset 2839
- Timestamp:
- Dec 28, 2004, 9:24:22 AM (22 years ago)
- Location:
- trunk/psModules
- Files:
-
- 3 edited
-
Makefile.in (modified) (19 diffs)
-
aclocal.m4 (modified) (100 diffs)
-
configure (modified) (523 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/Makefile.in
r2164 r2839 1 # Makefile.in generated by automake 1. 6.3from Makefile.am.1 # Makefile.in generated by automake 1.9.2 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 20025 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 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 18 16 srcdir = @srcdir@ 19 17 top_srcdir = @top_srcdir@ 20 18 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/include36 19 pkgdatadir = $(datadir)/@PACKAGE@ 37 20 pkglibdir = $(libdir)/@PACKAGE@ 38 21 pkgincludedir = $(includedir)/@PACKAGE@ 39 22 top_builddir = . 40 41 ACLOCAL = @ACLOCAL@42 AUTOCONF = @AUTOCONF@43 AUTOMAKE = @AUTOMAKE@44 AUTOHEADER = @AUTOHEADER@45 46 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 47 24 INSTALL = @INSTALL@ 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@49 INSTALL_DATA = @INSTALL_DATA@50 25 install_sh_DATA = $(install_sh) -c -m 644 51 26 install_sh_PROGRAM = $(install_sh) -c 52 27 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@54 28 INSTALL_HEADER = $(INSTALL_DATA) 55 transform = @program_transform_name@29 transform = $(program_transform_name) 56 30 NORMAL_INSTALL = : 57 31 PRE_INSTALL = : … … 60 34 PRE_UNINSTALL = : 61 35 POST_UNINSTALL = : 62 host_alias = @host_alias@36 build_triplet = @build@ 63 37 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 AUTOMAKE_OPTIONS = foreign 1.4 97 98 SUBDIRS = src test 38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 39 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ 40 ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \ 41 install-sh ltmain.sh missing mkinstalldirs 99 42 subdir = . 100 43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44 am__aclocal_m4_deps = $(top_srcdir)/configure.in 45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 46 $(ACLOCAL_M4) 47 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 48 configure.lineno configure.status.lineno 101 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 102 50 CONFIG_HEADER = $(top_builddir)/src/config.h 103 51 CONFIG_CLEAN_FILES = 52 SOURCES = 104 53 DIST_SOURCES = 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 54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 55 html-recursive info-recursive install-data-recursive \ 56 install-exec-recursive install-info-recursive \ 57 install-recursive installcheck-recursive installdirs-recursive \ 58 pdf-recursive ps-recursive uninstall-info-recursive \ 59 uninstall-recursive 60 ETAGS = etags 61 CTAGS = ctags 114 62 DIST_SUBDIRS = $(SUBDIRS) 63 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 64 distdir = $(PACKAGE)-$(VERSION) 65 top_distdir = $(distdir) 66 am__remove_distdir = \ 67 { test ! -d $(distdir) \ 68 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 69 && rm -fr $(distdir); }; } 70 DIST_ARCHIVES = $(distdir).tar.gz 71 GZIP_ENV = --best 72 distuninstallcheck_listfiles = find . -type f -print 73 distcleancheck_listfiles = find . -type f -print 74 ACLOCAL = @ACLOCAL@ 75 AMDEP_FALSE = @AMDEP_FALSE@ 76 AMDEP_TRUE = @AMDEP_TRUE@ 77 AMTAR = @AMTAR@ 78 AR = @AR@ 79 AUTOCONF = @AUTOCONF@ 80 AUTOHEADER = @AUTOHEADER@ 81 AUTOMAKE = @AUTOMAKE@ 82 AWK = @AWK@ 83 CC = @CC@ 84 CCDEPMODE = @CCDEPMODE@ 85 CFLAGS = @CFLAGS@ 86 CPP = @CPP@ 87 CPPFLAGS = @CPPFLAGS@ 88 CXX = @CXX@ 89 CXXCPP = @CXXCPP@ 90 CXXDEPMODE = @CXXDEPMODE@ 91 CXXFLAGS = @CXXFLAGS@ 92 CYGPATH_W = @CYGPATH_W@ 93 DEFS = @DEFS@ 94 DEPDIR = @DEPDIR@ 95 ECHO = @ECHO@ 96 ECHO_C = @ECHO_C@ 97 ECHO_N = @ECHO_N@ 98 ECHO_T = @ECHO_T@ 99 EGREP = @EGREP@ 100 EXEEXT = @EXEEXT@ 101 F77 = @F77@ 102 FFLAGS = @FFLAGS@ 103 GSL_CONFIG = @GSL_CONFIG@ 104 INSTALL_DATA = @INSTALL_DATA@ 105 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 106 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 107 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 108 LDFLAGS = @LDFLAGS@ 109 LIBOBJS = @LIBOBJS@ 110 LIBS = @LIBS@ 111 LIBTOOL = @LIBTOOL@ 112 LN_S = @LN_S@ 113 LTLIBOBJS = @LTLIBOBJS@ 114 MAKEINFO = @MAKEINFO@ 115 OBJEXT = @OBJEXT@ 116 PACKAGE = @PACKAGE@ 117 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 118 PACKAGE_NAME = @PACKAGE_NAME@ 119 PACKAGE_STRING = @PACKAGE_STRING@ 120 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 121 PACKAGE_VERSION = @PACKAGE_VERSION@ 122 PATH_SEPARATOR = @PATH_SEPARATOR@ 123 RANLIB = @RANLIB@ 124 SET_MAKE = @SET_MAKE@ 125 SHELL = @SHELL@ 126 STRIP = @STRIP@ 127 VERSION = @VERSION@ 128 ac_ct_AR = @ac_ct_AR@ 129 ac_ct_CC = @ac_ct_CC@ 130 ac_ct_CXX = @ac_ct_CXX@ 131 ac_ct_F77 = @ac_ct_F77@ 132 ac_ct_RANLIB = @ac_ct_RANLIB@ 133 ac_ct_STRIP = @ac_ct_STRIP@ 134 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 135 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 136 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ 137 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 138 am__include = @am__include@ 139 am__leading_dot = @am__leading_dot@ 140 am__quote = @am__quote@ 141 am__tar = @am__tar@ 142 am__untar = @am__untar@ 143 bindir = @bindir@ 144 build = @build@ 145 build_alias = @build_alias@ 146 build_cpu = @build_cpu@ 147 build_os = @build_os@ 148 build_vendor = @build_vendor@ 149 datadir = @datadir@ 150 exec_prefix = @exec_prefix@ 151 host = @host@ 152 host_alias = @host_alias@ 153 host_cpu = @host_cpu@ 154 host_os = @host_os@ 155 host_vendor = @host_vendor@ 156 includedir = @includedir@ 157 infodir = @infodir@ 158 install_sh = @install_sh@ 159 libdir = @libdir@ 160 libexecdir = @libexecdir@ 161 localstatedir = @localstatedir@ 162 mandir = @mandir@ 163 mkdir_p = @mkdir_p@ 164 oldincludedir = @oldincludedir@ 165 prefix = @prefix@ 166 program_transform_name = @program_transform_name@ 167 sbindir = @sbindir@ 168 sharedstatedir = @sharedstatedir@ 169 sysconfdir = @sysconfdir@ 170 target_alias = @target_alias@ 171 AUTOMAKE_OPTIONS = foreign 1.4 172 SUBDIRS = src test 115 173 all: all-recursive 116 174 117 175 .SUFFIXES: 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) 176 am--refresh: 177 @: 178 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 179 @for dep in $?; do \ 180 case '$(am__configure_deps)' in \ 181 *$$dep*) \ 182 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 183 cd $(srcdir) && $(AUTOMAKE) --foreign \ 184 && exit 0; \ 185 exit 1;; \ 186 esac; \ 187 done; \ 188 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 122 189 cd $(top_srcdir) && \ 123 190 $(AUTOMAKE) --foreign Makefile 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) 191 .PRECIOUS: Makefile 192 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 193 @case '$?' in \ 194 *config.status*) \ 195 echo ' $(SHELL) ./config.status'; \ 196 $(SHELL) ./config.status;; \ 197 *) \ 198 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 199 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 200 esac; 201 202 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 128 203 $(SHELL) ./config.status --recheck 129 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 204 205 $(top_srcdir)/configure: $(am__configure_deps) 130 206 cd $(srcdir) && $(AUTOCONF) 131 132 $(ACLOCAL_M4): configure.in 207 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 133 208 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 134 209 … … 197 272 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 198 273 done 199 200 ETAGS = etags 201 ETAGSFLAGS = 202 203 tags: TAGS 274 ctags-recursive: 275 list='$(SUBDIRS)'; for subdir in $$list; do \ 276 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 277 done 204 278 205 279 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 211 285 END { for (i in files) print i; }'`; \ 212 286 mkid -fID $$unique 287 tags: TAGS 213 288 214 289 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 216 291 tags=; \ 217 292 here=`pwd`; \ 293 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 294 include_option=--etags-include; \ 295 empty_fix=.; \ 296 else \ 297 include_option=--include; \ 298 empty_fix=; \ 299 fi; \ 218 300 list='$(SUBDIRS)'; for subdir in $$list; do \ 219 301 if test "$$subdir" = .; then :; else \ 220 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 302 test ! -f $$subdir/TAGS || \ 303 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 221 304 fi; \ 222 305 done; \ … … 227 310 $(AWK) ' { files[$$0] = 1; } \ 228 311 END { for (i in files) print i; }'`; \ 229 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 230 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 312 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 313 test -n "$$unique" || unique=$$empty_fix; \ 314 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 315 $$tags $$unique; \ 316 fi 317 ctags: CTAGS 318 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 319 $(TAGS_FILES) $(LISP) 320 tags=; \ 321 here=`pwd`; \ 322 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 323 unique=`for i in $$list; do \ 324 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 325 done | \ 326 $(AWK) ' { files[$$0] = 1; } \ 327 END { for (i in files) print i; }'`; \ 328 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 329 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 231 330 $$tags $$unique 232 331 … … 237 336 238 337 distclean-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 338 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 252 339 253 340 distdir: $(DISTFILES) 254 341 $(am__remove_distdir) 255 342 mkdir $(distdir) 256 @list='$(DISTFILES)'; for file in $$list; do \ 343 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 344 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 345 list='$(DISTFILES)'; for file in $$list; do \ 346 case $$file in \ 347 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 348 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 349 esac; \ 257 350 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 258 351 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 259 352 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 260 353 dir="/$$dir"; \ 261 $(mk installdirs) "$(distdir)$$dir"; \354 $(mkdir_p) "$(distdir)$$dir"; \ 262 355 else \ 263 356 dir=''; \ … … 274 367 fi; \ 275 368 done 276 list='$( SUBDIRS)'; for subdir in $$list; do \369 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 277 370 if test "$$subdir" = .; then :; else \ 278 test -d $(distdir)/$$subdir\279 || mkdir $(distdir)/$$subdir\371 test -d "$(distdir)/$$subdir" \ 372 || $(mkdir_p) "$(distdir)/$$subdir" \ 280 373 || exit 1; \ 374 distdir=`$(am__cd) $(distdir) && pwd`; \ 375 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 281 376 (cd $$subdir && \ 282 377 $(MAKE) $(AM_MAKEFLAGS) \ 283 top_distdir="$ (top_distdir)" \284 distdir= ../$(distdir)/$$subdir\378 top_distdir="$$top_distdir" \ 379 distdir="$$distdir/$$subdir" \ 285 380 distdir) \ 286 381 || exit 1; \ … … 293 388 || chmod -R a+r $(distdir) 294 389 dist-gzip: distdir 295 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 390 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 391 $(am__remove_distdir) 392 393 dist-bzip2: distdir 394 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 395 $(am__remove_distdir) 396 397 dist-tarZ: distdir 398 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 399 $(am__remove_distdir) 400 401 dist-shar: distdir 402 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 403 $(am__remove_distdir) 404 405 dist-zip: distdir 406 -rm -f $(distdir).zip 407 zip -rq $(distdir).zip $(distdir) 296 408 $(am__remove_distdir) 297 409 298 410 dist dist-all: distdir 299 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz411 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 300 412 $(am__remove_distdir) 301 413 … … 304 416 # tarfile. 305 417 distcheck: dist 306 $(am__remove_distdir) 307 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 418 case '$(DIST_ARCHIVES)' in \ 419 *.tar.gz*) \ 420 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ 421 *.tar.bz2*) \ 422 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 423 *.tar.Z*) \ 424 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 425 *.shar.gz*) \ 426 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 427 *.zip*) \ 428 unzip $(distdir).zip ;;\ 429 esac 308 430 chmod -R a-w $(distdir); chmod a+w $(distdir) 309 mkdir $(distdir)/ =build310 mkdir $(distdir)/ =inst431 mkdir $(distdir)/_build 432 mkdir $(distdir)/_inst 311 433 chmod a-w $(distdir) 312 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ 313 && cd $(distdir)/=build \ 314 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 434 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 435 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 436 && cd $(distdir)/_build \ 437 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 315 438 $(DISTCHECK_CONFIGURE_FLAGS) \ 316 439 && $(MAKE) $(AM_MAKEFLAGS) \ … … 320 443 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 321 444 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 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 \ 445 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 446 distuninstallcheck \ 447 && chmod -R a-w "$$dc_install_base" \ 448 && ({ \ 449 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 450 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 451 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 452 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 453 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 454 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 455 && rm -rf "$$dc_destdir" \ 456 && $(MAKE) $(AM_MAKEFLAGS) dist \ 457 && rm -rf $(DIST_ARCHIVES) \ 328 458 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 329 459 $(am__remove_distdir) 330 @echo "$(distdir).tar.gz is ready for distribution" | \ 331 sed 'h;s/./=/g;p;x;p;x' 460 @(echo "$(distdir) archives ready for distribution: "; \ 461 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 462 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 463 distuninstallcheck: 464 @cd $(distuninstallcheck_dir) \ 465 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ 466 || { echo "ERROR: files left after uninstall:" ; \ 467 if test -n "$(DESTDIR)"; then \ 468 echo " (check DESTDIR support)"; \ 469 fi ; \ 470 $(distuninstallcheck_listfiles) ; \ 471 exit 1; } >&2 332 472 distcleancheck: distclean 333 if test '$(srcdir)' = . ; then \473 @if test '$(srcdir)' = . ; then \ 334 474 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 335 475 exit 1 ; \ 336 476 fi 337 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \338 || { echo "ERROR: files left after distclean:" ; \477 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 478 || { echo "ERROR: files left in build directory after distclean:" ; \ 339 479 $(distcleancheck_listfiles) ; \ 340 480 exit 1; } >&2 … … 344 484 installdirs: installdirs-recursive 345 485 installdirs-am: 346 347 486 install: install-recursive 348 487 install-exec: install-exec-recursive … … 356 495 install-strip: 357 496 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 358 INSTALL_STRIP_FLAG=-s \497 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 359 498 `test -z '$(STRIP)' || \ 360 499 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 364 503 365 504 distclean-generic: 366 - rm -f Makefile$(CONFIG_CLEAN_FILES)505 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 367 506 368 507 maintainer-clean-generic: … … 375 514 distclean: distclean-recursive 376 515 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 516 -rm -f Makefile 377 517 distclean-am: clean-am distclean-generic distclean-libtool \ 378 518 distclean-tags … … 382 522 dvi-am: 383 523 524 html: html-recursive 525 384 526 info: info-recursive 385 527 … … 398 540 maintainer-clean: maintainer-clean-recursive 399 541 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 400 -rm -rf autom4te.cache 542 -rm -rf $(top_srcdir)/autom4te.cache 543 -rm -f Makefile 401 544 maintainer-clean-am: distclean-am maintainer-clean-generic 402 545 … … 405 548 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 406 549 550 pdf: pdf-recursive 551 552 pdf-am: 553 554 ps: ps-recursive 555 556 ps-am: 557 407 558 uninstall-am: uninstall-info-am 408 559 409 560 uninstall-info: uninstall-info-recursive 410 561 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 562 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 563 check-am clean clean-generic clean-libtool clean-recursive \ 564 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 565 dist-shar dist-tarZ dist-zip distcheck distclean \ 566 distclean-generic distclean-libtool distclean-recursive \ 567 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 568 dvi-am html html-am info info-am install install-am \ 569 install-data install-data-am install-exec install-exec-am \ 570 install-info install-info-am install-man install-strip \ 571 installcheck installcheck-am installdirs installdirs-am \ 572 maintainer-clean maintainer-clean-generic \ 573 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 574 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 575 tags tags-recursive uninstall uninstall-am uninstall-info-am 426 576 427 577 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
trunk/psModules/aclocal.m4
r2164 r2839 1 # aclocal.m4 generated automatically by aclocal 1.6.3-*- Autoconf -*-2 3 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 20021 # generated automatically by aclocal 1.9.2 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 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 modify19 # it under the terms of the GNU General Public License as published by20 # 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 of25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the26 # GNU General Public License for more details.27 28 # You should have received a copy of the GNU General Public License29 # along with this program; if not, write to the Free Software30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA31 # 02111-1307, USA.32 33 AC_PREREQ([2.52])34 35 # serial 636 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 header39 # 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 expansion45 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]))[]dnl53 ])# _AM_DIRNAME54 55 56 # The stamp files are numbered to have different names.57 # We could number them on a directory basis, but that's additional58 # 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))dnl67 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 that74 # 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 timestamp80 echo 'timestamp for $1' >"_AM_STAMP([$1])"81 $2],82 [$3])83 ])# _AM_CONFIG_HEADER84 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_HEADER91 92 # Do all the work for Automake. -*- Autoconf -*-93 94 # This macro actually does too much some checks are only needed if95 # your package does certain things. But this isn't really a big deal.96 97 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 200298 # Free Software Foundation, Inc.99 100 # This program is free software; you can redistribute it and/or modify101 # it under the terms of the GNU General Public License as published by102 # 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 of107 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the108 # GNU General Public License for more details.109 110 # You should have received a copy of the GNU General Public License111 # along with this program; if not, write to the Free Software112 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA113 # 02111-1307, USA.114 115 # serial 8116 117 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be118 # written in clear, in which case automake, when reading aclocal.m4,119 # will think it sees a *use*, and therefore will trigger all it's120 # C support machinery. Also note that it means that autoscan, seeing121 # 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 allow127 # the ones we care about.128 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl129 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 style134 # call (pre autoconf-2.50), which is being phased out. PACKAGE135 # and VERSION should now be passed to AC_INIT and removed from136 # the call to AM_INIT_AUTOMAKE.137 # We support both call styles for the transition. After138 # the next Automake release, Autoconf can make the AC_INIT139 # arguments mandatory, and then we can depend on a new Autoconf140 # release and drop the old call support.141 AC_DEFUN([AM_INIT_AUTOMAKE],142 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl143 AC_REQUIRE([AC_PROG_INSTALL])dnl144 # test to see if srcdir already configured145 if test "`cd $srcdir && pwd`" != "`pwd`" &&146 test -f $srcdir/config.status; then147 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])148 fi149 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])])dnl154 AC_SUBST([PACKAGE], [$1])dnl155 AC_SUBST([VERSION], [$2])],156 [_AM_SET_OPTIONS([$1])dnl157 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl158 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl159 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])])dnl163 164 # Some tools Automake needs.165 AC_REQUIRE([AM_SANITY_CHECK])dnl166 AC_REQUIRE([AC_ARG_PROGRAM])dnl167 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_SH174 AM_PROG_INSTALL_STRIP175 # We need awk for the "check" target. The system "awk" is bad on176 # some platforms.177 AC_REQUIRE([AC_PROG_AWK])dnl178 AC_REQUIRE([AC_PROG_MAKE_SET])dnl179 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)])])dnl185 AC_PROVIDE_IFELSE([AC_PROG_][CXX],186 [_AM_DEPENDENCIES(CXX)],187 [define([AC_PROG_][CXX],188 defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl189 ])190 ])191 192 # Copyright 2002 Free Software Foundation, Inc.193 194 # This program is free software; you can redistribute it and/or modify195 # it under the terms of the GNU General Public License as published by196 # 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 of201 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the202 # GNU General Public License for more details.203 204 # You should have received a copy of the GNU General Public License205 # along with this program; if not, write to the Free Software206 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA207 208 # AM_AUTOMAKE_VERSION(VERSION)209 # ----------------------------210 # Automake X.Y traces this macro to ensure aclocal.m4 has been211 # 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_VERSION215 # -------------------------------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 modify226 # it under the terms of the GNU General Public License as published by227 # 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 of232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the233 # GNU General Public License for more details.234 235 # You should have received a copy of the GNU General Public License236 # along with this program; if not, write to the Free Software237 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA238 # 02111-1307, USA.239 240 # serial 2241 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 modify272 # it under the terms of the GNU General Public License as published by273 # 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 of278 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the279 # GNU General Public License for more details.280 281 # You should have received a copy of the GNU General Public License282 # along with this program; if not, write to the Free Software283 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA284 # 02111-1307, USA.285 286 # serial 3287 288 # AM_SANITY_CHECK289 # ---------------290 AC_DEFUN([AM_SANITY_CHECK],291 [AC_MSG_CHECKING([whether build environment is sane])292 # Just in case293 sleep 1294 echo timestamp > conftest.file295 # Do `set' in a subshell so we don't clobber the current shell's296 # arguments. Must try -L first in case configure is actually a297 # symlink; some systems play weird games with the mod time of symlinks298 # (eg FreeBSD returns the mod time of the symlink's containing299 # directory).300 if (301 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`302 if test "$[*]" = "X"; then303 # -L didn't work.304 set X `ls -t $srcdir/configure conftest.file`305 fi306 rm -f conftest.file307 if test "$[*]" != "X $srcdir/configure conftest.file" \308 && test "$[*]" != "X conftest.file $srcdir/configure"; then309 310 # If neither matched, then we have a broken ls. This can happen311 # if, for instance, CONFIG_SHELL is bash and it inherits a312 # broken ls alias from the environment. This has actually313 # happened. Such a system could not be considered "sane".314 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken315 alias in your environment])316 fi317 318 test "$[2]" = conftest.file319 )320 then321 # Ok.322 :323 else324 AC_MSG_ERROR([newly created file is older than distributed files!325 Check your system clock])326 fi327 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 modify335 # it under the terms of the GNU General Public License as published by336 # 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 of341 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the342 # GNU General Public License for more details.343 344 # You should have received a copy of the GNU General Public License345 # along with this program; if not, write to the Free Software346 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA347 # 02111-1307, USA.348 349 # serial 3350 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_RUN360 # ------------------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])dnl365 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"366 # Use eval to expand $SHELL367 if eval "$MISSING --run true"; then368 am_missing_run="$MISSING --run "369 else370 am_missing_run=371 AC_MSG_WARN([`missing' script is too old or missing])372 fi373 ])374 375 # AM_AUX_DIR_EXPAND376 377 # Copyright 2001 Free Software Foundation, Inc.378 379 # This program is free software; you can redistribute it and/or modify380 # it under the terms of the GNU General Public License as published by381 # 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 of386 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the387 # GNU General Public License for more details.388 389 # You should have received a copy of the GNU General Public License390 # along with this program; if not, write to the Free Software391 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA392 # 02111-1307, USA.393 394 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets395 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to396 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.397 #398 # Of course, Automake must honor this variable whenever it calls a399 # tool from the auxiliary directory. The problem is that $srcdir (and400 # therefore $ac_aux_dir as well) can be either absolute or relative,401 # depending on how configure is run. This is pretty annoying, since402 # it makes $ac_aux_dir quite unusable in subdirectories: in the top403 # source directory, any form will work fine, but in subdirectories a404 # relative path needs to be adjusted first.405 #406 # $ac_aux_dir/missing407 # fails when called from a subdirectory if $ac_aux_dir is relative408 # $top_srcdir/$ac_aux_dir/missing409 # fails if $ac_aux_dir is absolute,410 # fails when called from a subdirectory in a VPATH build with411 # a relative $ac_aux_dir412 #413 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir414 # are both prefixed by $srcdir. In an in-source build this is usually415 # harmless because $srcdir is `.', but things will broke when you416 # 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 as422 # MISSING="\${SHELL} $am_aux_dir/missing"423 # This will work as long as MISSING is not called from configure, because424 # unfortunately $(top_srcdir) has no meaning in configure.425 # However there are other variables, like CC, which are often used in426 # 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 an429 # absolute PATH. The drawback is that using absolute paths prevent a430 # 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 path437 am_aux_dir=`cd $ac_aux_dir && pwd`438 ])439 440 # AM_PROG_INSTALL_SH441 # ------------------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 modify447 # it under the terms of the GNU General Public License as published by448 # 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 of453 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the454 # GNU General Public License for more details.455 456 # You should have received a copy of the GNU General Public License457 # along with this program; if not, write to the Free Software458 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA459 # 02111-1307, USA.460 461 AC_DEFUN([AM_PROG_INSTALL_SH],462 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl463 install_sh=${install_sh-"$am_aux_dir/install-sh"}464 AC_SUBST(install_sh)])465 466 # AM_PROG_INSTALL_STRIP467 468 # Copyright 2001 Free Software Foundation, Inc.469 470 # This program is free software; you can redistribute it and/or modify471 # it under the terms of the GNU General Public License as published by472 # 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 of477 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the478 # GNU General Public License for more details.479 480 # You should have received a copy of the GNU General Public License481 # along with this program; if not, write to the Free Software482 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA483 # 02111-1307, USA.484 485 # One issue with vendor `install' (even GNU) is that you can't486 # specify the program used to strip binaries. This is especially487 # annoying in cross-compiling environments, where the build's strip488 # is unlikely to handle the host's binaries.489 # Fortunately install-sh will honor a STRIPPROG variable, so we490 # always use install-sh in `make install-strip', and initialize491 # 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])dnl494 # Installed binaries are usually stripped using `strip' when the user495 # run `make install-strip'. However `strip' might not be the right496 # tool to use in cross-compilation environments, therefore Automake497 # 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; then500 AC_CHECK_TOOL([STRIP], [strip], :)501 fi502 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 modify510 # it under the terms of the GNU General Public License as published by511 # 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 of516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the517 # GNU General Public License for more details.518 519 # You should have received a copy of the GNU General Public License520 # along with this program; if not, write to the Free Software521 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA522 # 02111-1307, USA.523 524 525 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be526 # written in clear, in which case automake, when reading aclocal.m4,527 # will think it sees a *use*, and therefore will trigger all it's528 # C support machinery. Also note that it means that autoscan, seeing529 # 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 was540 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular541 # 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])dnl545 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl546 AC_REQUIRE([AM_MAKE_INCLUDE])dnl547 AC_REQUIRE([AM_DEP_TRACK])dnl548 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"; then558 # We make a subdir and do the tests there. Otherwise we can end up559 # making bogus files that we don't know about and never remove. For560 # instance it was reported that on HP-UX the gcc test will end up561 # making a dummy file named `D' -- because `-MD' means `put the output562 # in D'.563 mkdir conftest.dir564 # Copy depcomp to subdir because otherwise we won't find it if we're565 # using a relative directory.566 cp "$am_depcomp" conftest.dir567 cd conftest.dir568 569 am_cv_$1_dependencies_compiler_type=none570 if test "$am_compiler_list" = ""; then571 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`572 fi573 for depmode in $am_compiler_list; do574 # We need to recreate these files for each test, as the compiler may575 # 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.c578 echo 'int i;' > conftest.h579 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf580 581 case $depmode in582 nosideeffect)583 # after this tag, mechanisms are not by side-effect, so they'll584 # only be used when explicitly requested585 if test "x$enable_dependency_tracking" = xyes; then586 continue587 else588 break589 fi590 ;;591 none) break ;;592 esac593 # We check with `-c' and `-o' for the sake of the "dashmstdout"594 # mode. It turns out that the SunPro C++ compiler does not properly595 # 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; then602 am_cv_$1_dependencies_compiler_type=$depmode603 break604 fi605 done606 607 cd ..608 rm -rf conftest.dir609 else610 am_cv_$1_dependencies_compiler_type=none611 fi612 ])613 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])614 ])615 616 617 # AM_SET_DEPDIR618 # -------------619 # Choose a directory name for dependency files.620 # This macro is AC_REQUIREd in _AM_DEPENDENCIES621 AC_DEFUN([AM_SET_DEPDIR],622 [rm -f .deps 2>/dev/null623 mkdir .deps 2>/dev/null624 if test -d .deps; then625 DEPDIR=.deps626 else627 # MS-DOS does not allow filenames that begin with a dot.628 DEPDIR=_deps629 fi630 rmdir .deps 2>/dev/null631 AC_SUBST([DEPDIR])632 ])633 634 635 # AM_DEP_TRACK636 # ------------637 AC_DEFUN([AM_DEP_TRACK],638 [AC_ARG_ENABLE(dependency-tracking,639 [ --disable-dependency-tracking Speeds up one-time builds640 --enable-dependency-tracking Do not reject slow dependency extractors])641 if test "x$enable_dependency_tracking" != xno; then642 am_depcomp="$ac_aux_dir/depcomp"643 AMDEPBACKSLASH='\'644 fi645 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 modify654 # it under the terms of the GNU General Public License as published by655 # 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 of660 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the661 # GNU General Public License for more details.662 663 # You should have received a copy of the GNU General Public License664 # along with this program; if not, write to the Free Software665 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA666 # 02111-1307, USA.667 668 #serial 2669 670 # _AM_OUTPUT_DEPENDENCY_COMMANDS671 # ------------------------------672 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],673 [for mf in $CONFIG_FILES; do674 # 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', but678 # some people rename them; so instead we look at the file content.679 # Grep'ing the first line is not enough: some people post-process680 # 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; then683 dirpart=`AS_DIRNAME("$mf")`684 else685 continue686 fi687 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue688 # Extract the definition of DEP_FILES from the Makefile without689 # running `make'.690 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`691 test -z "$DEPDIR" && continue692 # When using ansi2knr, U may be empty or an underscore; expand it693 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 to696 # changing $(DEPDIR) to its actual value in the expansion.697 for file in `sed -n -e '698 /^DEP_FILES = .*\\\\$/ {699 s/^DEP_FILES = //700 :loop701 s/\\\\$//702 p703 n704 /\\\\$/ b loop705 p706 }707 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \708 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do709 # Make sure the directory exists.710 test -f "$dirpart/$file" && continue711 fdir=`AS_DIRNAME(["$file"])`712 AS_MKDIR_P([$dirpart/$fdir])713 # echo "creating $dirpart/$file"714 echo '# dummy' > "$dirpart/$file"715 done716 done717 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS718 719 720 # AM_OUTPUT_DEPENDENCY_COMMANDS721 # -----------------------------722 # This macro should only be invoked once -- use via AC_REQUIRE.723 #724 # This code is only required when automatic dependency tracking725 # is enabled. FIXME. This creates each `.P' file that we will726 # 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 modify736 # it under the terms of the GNU General Public License as published by737 # 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 of742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the743 # GNU General Public License for more details.744 745 # You should have received a copy of the GNU General Public License746 # along with this program; if not, write to the Free Software747 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA748 # 02111-1307, USA.749 750 # serial 2751 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 done760 END761 # 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=none766 # First try GNU make style include.767 echo "include confinc" > confmf768 # 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 might771 # be invoked under some other name (usually "gmake"), in which772 # 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"; then774 am__include=include775 am__quote=776 _am_result=GNU777 fi778 # Now try BSD make style include.779 if test "$am__include" = "#"; then780 echo '.include "confinc"' > confmf781 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then782 am__include=.include783 am__quote="\""784 _am_result=BSD785 fi786 fi787 AC_SUBST(am__include)788 AC_SUBST(am__quote)789 AC_MSG_RESULT($_am_result)790 rm -f confinc confmf791 ])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 modify798 # it under the terms of the GNU General Public License as published by799 # 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 of804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the805 # GNU General Public License for more details.806 807 # You should have received a copy of the GNU General Public License808 # along with this program; if not, write to the Free Software809 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA810 # 02111-1307, USA.811 812 # serial 5813 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])])dnl822 AC_SUBST([$1_TRUE])823 AC_SUBST([$1_FALSE])824 if $2; then825 $1_TRUE=826 $1_FALSE='#'827 else828 $1_TRUE='#'829 $1_FALSE=830 fi831 AC_CONFIG_COMMANDS_PRE(832 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then833 AC_MSG_ERROR([conditional \"$1\" was never defined.834 Usually this means the macro was only invoked conditionally.])835 fi])])836 13 837 14 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- … … 957 134 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 958 135 959 # Sed substitution to undo escaping of the cmd sep variable960 unescape_variable_subst='s/\\\(${_S_}\)/\1/g'961 962 136 # Sed substitution to avoid accidental globbing in evaled expressions 963 137 no_glob_subst='s/\*/\\\*/g' … … 1009 183 case $host_os in 1010 184 openbsd*) 1011 old_postinstall_cmds="\$RANLIB -t \$oldlib \${_S_}$old_postinstall_cmds"185 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 1012 186 ;; 1013 187 *) 1014 old_postinstall_cmds="\$RANLIB \$oldlib \${_S_}$old_postinstall_cmds"188 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" 1015 189 ;; 1016 190 esac 1017 old_archive_cmds="$old_archive_cmds \${_S_}\$RANLIB \$oldlib"191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 1018 192 fi 1019 193 … … 1318 492 LD="${LD-ld} -m elf_i386" 1319 493 ;; 1320 ppc64-*linux* )494 ppc64-*linux*|powerpc64-*linux*) 1321 495 LD="${LD-ld} -m elf32ppclinux" 1322 496 ;; … … 1382 556 # Check whether the given compiler option works 1383 557 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 1384 [AC_CACHE_CHECK([$1], [$2], 558 [AC_REQUIRE([LT_AC_PROG_SED]) 559 AC_CACHE_CHECK([$1], [$2], 1385 560 [$2=no 1386 561 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) … … 1458 633 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 1459 634 i=0 1460 test ring="ABCD"635 teststring="ABCD" 1461 636 1462 637 case $build_os in … … 1487 662 ;; 1488 663 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 1489 670 *) 1490 671 # If test is not a shell built-in, we'll probably end up computing a 1491 672 # maximum length that is only half of the actual maximum length, but 1492 673 # we can't tell. 1493 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$test ring" 2>/dev/null` \1494 = "XX$test ring") >/dev/null 2>&1 &&1495 new_result=`expr "X$test ring" : ".*" 2>&1` &&674 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 675 = "XX$teststring") >/dev/null 2>&1 && 676 new_result=`expr "X$teststring" : ".*" 2>&1` && 1496 677 lt_cv_sys_max_cmd_len=$new_result && 1497 678 test $i != 17 # 1/2 MB should be enough 1498 679 do 1499 680 i=`expr $i + 1` 1500 test ring=$testring$testring681 teststring=$teststring$teststring 1501 682 done 1502 test ring=683 teststring= 1503 684 # Add a significant safety factor because C++ compilers can tack on massive 1504 685 # amounts of additional arguments before passing them to the linker. … … 1650 831 ]) 1651 832 ;; 1652 833 1653 834 *) 1654 835 AC_CHECK_FUNC([shl_load], … … 1738 919 mkdir out 1739 920 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1740 1741 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers1742 # that will create temporary files in the current directory regardless of1743 # the output directory. Thus, making CWD read-only will cause this test1744 # to fail, enabling locking or at least warning the user not to do parallel1745 # builds.1746 chmod -w .1747 921 1748 922 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 1769 943 fi 1770 944 chmod u+w . 1771 $rm conftest* out/* 1772 rmdir out 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 1773 950 cd .. 1774 951 rmdir conftest … … 1876 1053 # FIXME - insert some real tests, host_os isn't really good enough 1877 1054 case $host_os in 1878 NOT-darwin*)1055 darwin*) 1879 1056 if test -n "$STRIP" ; then 1880 1057 striplib="$STRIP -x" … … 1887 1064 AC_MSG_RESULT([no]) 1888 1065 ;; 1889 esac 1066 esac 1890 1067 fi 1891 1068 ])# AC_LIBTOOL_SYS_LIB_STRIP … … 1900 1077 libname_spec='lib$name' 1901 1078 soname_spec= 1902 shrext =".so"1079 shrext_cmds=".so" 1903 1080 postinstall_cmds= 1904 1081 postuninstall_cmds= … … 1988 1165 library_names_spec='$libname.ixlibrary $libname.a' 1989 1166 # Create ${libname}_ixlibrary.a entries in /sys/libs. 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'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' 1991 1168 ;; 1992 1169 … … 2013 1190 cygwin* | mingw* | pw32*) 2014 1191 version_type=windows 2015 shrext =".dll"1192 shrext_cmds=".dll" 2016 1193 need_version=no 2017 1194 need_lib_prefix=no … … 2021 1198 library_names_spec='$libname.dll.a' 2022 1199 # DLL is installed to $(libdir)/../bin by postinstall_cmds 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_}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~ 2027 1204 $install_prog $dir/$dlname \$dldir/$dlname' 2028 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ${_S_}2029 dlpath=$dir/\$dldll ${_S_}1205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1206 dlpath=$dir/\$dldll~ 2030 1207 $rm \$dlpath' 2031 1208 shlibpath_overrides_runpath=yes … … 2035 1212 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 2036 1213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 2037 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"1214 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 2038 1215 ;; 2039 1216 mingw*) … … 2074 1251 need_lib_prefix=no 2075 1252 need_version=no 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' 1253 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 2080 1254 soname_spec='${libname}${release}${major}$shared_ext' 2081 1255 shlibpath_overrides_runpath=yes 2082 1256 shlibpath_var=DYLD_LIBRARY_PATH 2083 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'1257 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 2084 1258 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 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"` 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' 2087 1263 fi 2088 1264 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 2100 1276 freebsd1*) 2101 1277 dynamic_linker=no 1278 ;; 1279 1280 kfreebsd*-gnu) 1281 version_type=linux 1282 need_lib_prefix=no 1283 need_version=no 1284 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_PATH 1287 shlibpath_overrides_runpath=no 1288 hardcode_into_libs=yes 1289 dynamic_linker='GNU ld.so' 2102 1290 ;; 2103 1291 … … 2150 1338 case "$host_cpu" in 2151 1339 ia64*) 2152 shrext ='.so'1340 shrext_cmds='.so' 2153 1341 hardcode_into_libs=yes 2154 1342 dynamic_linker="$host_os dld.so" … … 2165 1353 ;; 2166 1354 hppa*64*) 2167 shrext ='.sl'1355 shrext_cmds='.sl' 2168 1356 hardcode_into_libs=yes 2169 1357 dynamic_linker="$host_os dld.sl" … … 2176 1364 ;; 2177 1365 *) 2178 shrext ='.sl'1366 shrext_cmds='.sl' 2179 1367 dynamic_linker="$host_os dld.sl" 2180 1368 shlibpath_var=SHLIB_PATH … … 2245 1433 hardcode_into_libs=yes 2246 1434 1435 # find out which ABI we are using 1436 libsuff= 1437 case "$host_cpu" in 1438 x86_64*|s390x*|powerpc64*) 1439 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 1440 if AC_TRY_EVAL(ac_compile); then 1441 case `/usr/bin/file conftest.$ac_objext` in 1442 *64-bit*) 1443 libsuff=64 1444 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 1445 ;; 1446 esac 1447 fi 1448 rm -rf conftest* 1449 ;; 1450 esac 1451 1452 # Append ld.so.conf contents to the search path 1453 if test -f /etc/ld.so.conf; then 1454 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 fi 1457 2247 1458 # We used to test for /lib/ld.so.1 and disable shared libraries on 2248 1459 # powerpc, because MkLinux only supported shared libraries with the … … 2252 1463 # assume the GNU/Linux dynamic linker is in use. 2253 1464 dynamic_linker='GNU/Linux ld.so' 1465 ;; 1466 1467 knetbsd*-gnu) 1468 version_type=linux 1469 need_lib_prefix=no 1470 need_version=no 1471 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_PATH 1474 shlibpath_overrides_runpath=no 1475 hardcode_into_libs=yes 1476 dynamic_linker='GNU ld.so' 2254 1477 ;; 2255 1478 … … 2263 1486 dynamic_linker='NetBSD (a.out) ld.so' 2264 1487 else 2265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'1488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 2266 1489 soname_spec='${libname}${release}${shared_ext}$major' 2267 1490 dynamic_linker='NetBSD ld.elf_so' … … 2279 1502 ;; 2280 1503 2281 nto-qnx )1504 nto-qnx*) 2282 1505 version_type=linux 2283 1506 need_lib_prefix=no … … 2292 1515 version_type=sunos 2293 1516 need_lib_prefix=no 2294 need_version= no1517 need_version=yes 2295 1518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 2296 1519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 2312 1535 os2*) 2313 1536 libname_spec='$name' 2314 shrext =".dll"1537 shrext_cmds=".dll" 2315 1538 need_lib_prefix=no 2316 1539 library_names_spec='$libname${shared_ext} $libname.a' … … 2748 1971 # AC_PROG_LD 2749 1972 # ---------- 2750 # find the path to the GNU or non-GNU linker1973 # find the pathname to the GNU or non-GNU linker 2751 1974 AC_DEFUN([AC_PROG_LD], 2752 1975 [AC_ARG_WITH([gnu-ld], … … 2774 1997 [[\\/]]* | ?:[[\\/]]*) 2775 1998 re_direlt='/[[^/]][[^/]]*/\.\./' 2776 # Canonicalize the path of ld1999 # Canonicalize the pathname of ld 2777 2000 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 2778 2001 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 2837 2060 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 2838 2061 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 2839 case ` "$LD"-v 2>&1 </dev/null` in2062 case `$LD -v 2>&1 </dev/null` in 2840 2063 *GNU* | *'with BFD'*) 2841 2064 lt_cv_prog_gnu_ld=yes … … 2862 2085 *) reload_flag=" $reload_flag" ;; 2863 2086 esac 2864 reload_cmds='$ CC -nostdlib -Xlinker$reload_flag $archargs-o $output$reload_objs'2087 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2865 2088 ])# AC_PROG_LD_RELOAD_FLAG 2866 2089 … … 2902 2125 ;; 2903 2126 2904 cygwin* | mingw* | pw32*)2905 # win32_libid is a shell function defined in ltmain.sh2127 cygwin*) 2128 # func_win32_libid is a shell function defined in ltmain.sh 2906 2129 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2907 lt_cv_file_magic_cmd='win32_libid' 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' 2908 2138 ;; 2909 2139 2910 2140 darwin* | rhapsody*) 2911 # this will be overwritten by pass_all, but leave it in just in case2912 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" in2915 rhapsody* | darwin1.[[012]])2916 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`2917 ;;2918 *) # Darwin 1.3 on2919 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'2920 ;;2921 esac2922 2141 lt_cv_deplibs_check_method=pass_all 2923 2142 ;; 2924 2143 2925 freebsd* )2144 freebsd* | kfreebsd*-gnu) 2926 2145 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2927 2146 case $host_cpu in … … 2962 2181 2963 2182 irix5* | irix6* | nonstopux*) 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 ;; 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;; 2979 2188 esac 2980 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`2981 2189 lt_cv_deplibs_check_method=pass_all 2982 2190 ;; … … 2985 2193 linux*) 2986 2194 case $host_cpu in 2987 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)2195 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) 2988 2196 lt_cv_deplibs_check_method=pass_all ;; 2989 2197 *) 2990 2198 # 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 case 2991 2200 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 2992 2201 esac 2993 2202 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 2203 lt_cv_deplibs_check_method=pass_all 2994 2204 ;; 2995 2205 … … 3008 2218 ;; 3009 2219 3010 nto-qnx )2220 nto-qnx*) 3011 2221 lt_cv_deplibs_check_method=unknown 3012 2222 ;; … … 3023 2233 3024 2234 osf3* | osf4* | osf5*) 3025 # this will be overridden with pass_all, but let us keep it just in case3026 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'3027 lt_cv_file_magic_test_file=/shlib/libc.so3028 2235 lt_cv_deplibs_check_method=pass_all 3029 2236 ;; … … 3035 2242 solaris*) 3036 2243 lt_cv_deplibs_check_method=pass_all 3037 lt_cv_file_magic_test_file=/lib/libc.so3038 2244 ;; 3039 2245 … … 3075 2281 # AC_PROG_NM 3076 2282 # ---------- 3077 # find the path to a BSD-compatible name lister2283 # find the pathname to a BSD-compatible name lister 3078 2284 AC_DEFUN([AC_PROG_NM], 3079 2285 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, … … 3213 2419 [AC_REQUIRE([AC_PROG_CXX]) 3214 2420 AC_REQUIRE([AC_PROG_CXXCPP]) 3215 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,CXX" | sed 's/^,//'`])2421 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 3216 2422 ])# _LT_AC_LANG_CXX 3217 2423 … … 3229 2435 AC_DEFUN([_LT_AC_LANG_F77], 3230 2436 [AC_REQUIRE([AC_PROG_F77]) 3231 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,F77" | sed 's/^,//'`])2437 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) 3232 2438 ])# _LT_AC_LANG_F77 3233 2439 … … 3250 2456 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], 3251 2457 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) 3252 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,GCJ" | sed 's/^,//'`])2458 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) 3253 2459 ])# _LT_AC_LANG_GCJ 3254 2460 … … 3259 2465 AC_DEFUN([AC_LIBTOOL_RC], 3260 2466 [AC_REQUIRE([LT_AC_PROG_RC]) 3261 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,RC" | sed 's/^,//'`])2467 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) 3262 2468 ])# AC_LIBTOOL_RC 3263 2469 … … 3301 2507 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 3302 2508 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 3303 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$ ]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :2509 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : 3304 2510 else 3305 2511 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) … … 3324 2530 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3325 2531 AC_LIBTOOL_PROG_LD_SHLIBS($1) 2532 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3326 2533 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3327 2534 AC_LIBTOOL_SYS_LIB_STRIP 3328 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3329 2535 AC_LIBTOOL_DLOPEN_SELF($1) 3330 2536 … … 3342 2548 test "$enable_shared" = yes && enable_static=no 3343 2549 if test -n "$RANLIB"; then 3344 archive_cmds="$archive_cmds \${_S_}\$RANLIB \$lib"2550 archive_cmds="$archive_cmds~\$RANLIB \$lib" 3345 2551 postinstall_cmds='$RANLIB $lib' 3346 2552 fi 3347 2553 ;; 3348 2554 3349 aix4* )2555 aix4* | aix5*) 3350 2556 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 3351 2557 test "$enable_shared" = yes && enable_static=no … … 3353 2559 ;; 3354 2560 darwin* | rhapsody*) 3355 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then2561 if test "$GCC" = yes; then 3356 2562 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3357 2563 case "$host_os" in … … 3359 2565 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 3360 2566 ;; 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 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 3377 2580 ;; 3378 2581 esac 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' 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' 3386 2585 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 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}'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}' 3389 2588 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3390 2589 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 3392 2591 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 3393 2592 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3394 fi 3395 ;; 2593 else 2594 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2595 fi 2596 ;; 3396 2597 esac 3397 2598 AC_MSG_RESULT([$enable_shared]) … … 3528 2729 # overridden to take advantage of the native linker features on 3529 2730 # the platform it is being used on. 3530 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'2731 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3531 2732 fi 3532 2733 … … 3657 2858 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 3658 2859 # This is similar to how AIX traditionally builds it's shared libraries. 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'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' 3660 2861 fi 3661 2862 fi … … 3687 2888 echo EXPORTS > $output_objdir/$soname.def; 3688 2889 cat $export_symbols >> $output_objdir/$soname.def; 3689 fi ${_S_}2890 fi~ 3690 2891 $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' 3691 2892 else … … 3695 2896 3696 2897 darwin* | rhapsody*) 3697 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then2898 if test "$GXX" = yes; then 3698 2899 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3699 2900 case "$host_os" in … … 3701 2902 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 3702 2903 ;; 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 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' 2907 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 2916 fi 3719 2917 ;; 3720 2918 esac 3721 lt_int_apple_cc_single_mod=no3722 output_verbose_link_cmd='echo'3723 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then3724 lt_int_apple_cc_single_mod=yes3725 fi3726 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then3727 _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 else3729 _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 fi3731 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'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' 3732 2930 3733 2931 # 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 ; then3735 _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}'3736 else3737 _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}'3738 fi3739 _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}'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}' 3740 2938 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3741 2939 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 3743 2941 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 3744 2942 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3745 fi 2943 else 2944 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2945 fi 3746 2946 ;; 3747 2947 … … 3770 2970 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3771 2971 ;; 3772 freebsd* )2972 freebsd* | kfreebsd*-gnu) 3773 2973 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 3774 2974 # conventions … … 3792 2992 ;; 3793 2993 aCC) 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'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' 3795 2995 # Commands to make compiler produce verbose output that lists 3796 2996 # what "hidden" libraries, object files and flags are used when … … 3801 3001 # from the output so that they don't get included in the library 3802 3002 # dependencies. 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'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' 3804 3004 ;; 3805 3005 *) 3806 3006 if test "$GXX" = yes; then 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'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' 3808 3008 else 3809 3009 # FIXME: insert proper C++ library support … … 4094 3294 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 4095 3295 _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' 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_}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~ 4099 3299 $rm $lib.exp' 4100 3300 … … 4173 3373 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 4174 3374 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 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'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' 4177 3377 4178 3378 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 4219 3419 if $CC --version | grep -v '^2\.7' > /dev/null; then 4220 3420 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 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'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' 4223 3423 4224 3424 # Commands to make compiler produce verbose output that lists … … 4230 3430 # platform. 4231 3431 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 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'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' 4234 3434 4235 3435 # Commands to make compiler produce verbose output that lists … … 4280 3480 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 4281 3481 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3482 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 4282 3483 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 4283 3484 AC_LIBTOOL_SYS_LIB_STRIP 4284 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)4285 3485 AC_LIBTOOL_DLOPEN_SELF($1) 4286 3486 … … 4500 3700 test "$enable_shared" = yes && enable_static=no 4501 3701 if test -n "$RANLIB"; then 4502 archive_cmds="$archive_cmds \${_S_}\$RANLIB \$lib"3702 archive_cmds="$archive_cmds~\$RANLIB \$lib" 4503 3703 postinstall_cmds='$RANLIB $lib' 4504 3704 fi 4505 3705 ;; 4506 aix4* )3706 aix4* | aix5*) 4507 3707 test "$enable_shared" = yes && enable_static=no 4508 3708 ;; … … 4524 3724 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 4525 3725 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3726 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 4526 3727 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 4527 3728 AC_LIBTOOL_SYS_LIB_STRIP 4528 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3729 4529 3730 4530 3731 AC_LIBTOOL_CONFIG($1) … … 4574 3775 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 4575 3776 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3777 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 4576 3778 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 4577 3779 AC_LIBTOOL_SYS_LIB_STRIP 4578 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)4579 3780 AC_LIBTOOL_DLOPEN_SELF($1) 4580 3781 … … 4641 3842 if test -n "${ZSH_VERSION+set}" ; then 4642 3843 setopt NO_GLOB_SUBST 4643 fi 3844 fi 4644 3845 # Now quote all the things that may contain metacharacters while being 4645 3846 # careful not to overquote the AC_SUBSTed values. We take copies of the 4646 3847 # variables and quote the copies for generation of the libtool script. 4647 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 3848 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 3849 SED SHELL STRIP \ 4648 3850 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 4649 3851 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 4695 3897 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ 4696 3898 _LT_AC_TAGVAR(module_cmds, $1) | \ 4697 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 3899 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 4698 3900 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ 4699 3901 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ … … 4703 3905 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 4704 3906 # Double-quote double-evaled strings. 4705 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""3907 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 4706 3908 ;; 4707 3909 *) … … 4775 3977 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 4776 3978 4777 # Set the command separator (default: ~)4778 _S_=\${LIBTOOL_CMD_SEP-\~}4779 4780 3979 # Shell to use when invoking shell scripts. 4781 3980 SHELL=$lt_SHELL … … 4829 4028 4830 4029 # A symbol stripping program 4831 STRIP=$ STRIP4030 STRIP=$lt_STRIP 4832 4031 4833 4032 # Used to examine libraries when file_magic_cmd begins "file" … … 4860 4059 4861 4060 # Shared library suffix (normally ".so"). 4862 shrext ='$shrext'4061 shrext_cmds='$shrext_cmds' 4863 4062 4864 4063 # Executable file suffix (normally ""). … … 5104 4303 # `config.status --recheck' to rerun these tests and create the 5105 4304 # libtool script then. 5106 test -f Makefile && make "$ltmain" 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 5107 4309 fi 5108 4310 ])# AC_LIBTOOL_CONFIG … … 5177 4379 ;; 5178 4380 solaris* | sysv5*) 5179 symcode='[[BD T]]'4381 symcode='[[BDRT]]' 5180 4382 ;; 5181 4383 sysv4) … … 5195 4397 case `$NM -V 2>&1` in 5196 4398 *GNU* | *'with BFD'*) 5197 symcode='[[ABCDGI STW]]' ;;4399 symcode='[[ABCDGIRSTW]]' ;; 5198 4400 esac 5199 4401 … … 5410 4612 esac 5411 4613 ;; 5412 freebsd* )4614 freebsd* | kfreebsd*-gnu) 5413 4615 # FreeBSD uses GNU C++ 5414 4616 ;; … … 5461 4663 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 5462 4664 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5463 ;; 4665 ;; 5464 4666 cxx) 5465 4667 # Compaq C++ … … 5686 4888 linux*) 5687 4889 case $CC in 5688 icc |ecc)4890 icc* | ecc*) 5689 4891 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5690 4892 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 5691 4893 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5692 4894 ;; 5693 ccc )4895 ccc*) 5694 4896 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5695 4897 # All Alpha code is PIC. … … 5821 5023 _LT_AC_TAGVAR(hardcode_automatic, $1)=no 5822 5024 _LT_AC_TAGVAR(module_cmds, $1)= 5823 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5025 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5824 5026 _LT_AC_TAGVAR(always_export_symbols, $1)=no 5825 5027 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' … … 5877 5079 5878 5080 amigaos*) 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)'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)' 5880 5082 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 5881 5083 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes … … 5919 5121 echo EXPORTS > $output_objdir/$soname.def; 5920 5122 cat $export_symbols >> $output_objdir/$soname.def; 5921 fi ${_S_}5123 fi~ 5922 5124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 5923 5125 else … … 5963 5165 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 5964 5166 ;; 5167 5168 linux*) 5169 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 5170 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=no 5173 case `$LD -v 2>/dev/null` in 5174 *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 5175 *\ 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 versions 5178 *) supports_anon_versioning=yes ;; 5179 esac 5180 if test $supports_anon_versioning = yes; then 5181 _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 else 5186 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" 5187 fi 5188 else 5189 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5190 fi 5191 ;; 5965 5192 5966 5193 *) … … 5991 5218 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 5992 5219 _LT_AC_TAGVAR(always_export_symbols, $1)=yes 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'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' 5994 5221 # Note: this linker hardcodes the directories in LIBPATH if there 5995 5222 # are no directories specified by -L. … … 6113 5340 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 6114 5341 # This is similar to how AIX traditionally builds it's shared libraries. 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'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' 6116 5343 fi 6117 5344 fi … … 6119 5346 6120 5347 amigaos*) 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)'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)' 6122 5349 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 6123 5350 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes … … 6140 5367 libext=lib 6141 5368 # Tell ltmain to make .dll files, not .so files. 6142 shrext =".dll"5369 shrext_cmds=".dll" 6143 5370 # FIXME: Setting linknames here is a bad hack. 6144 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ${_S_}linknames='5371 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 6145 5372 # The linker will automatically build a .lib file if we build a DLL. 6146 5373 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' … … 6152 5379 6153 5380 darwin* | rhapsody*) 6154 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then5381 if test "$GXX" = yes ; then 6155 5382 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 6156 5383 case "$host_os" in … … 6158 5385 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 6159 5386 ;; 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 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 6176 5400 ;; 6177 5401 esac 6178 # FIXME: Relying on posixy $() will cause problems for6179 # cross-compilation, but unfortunately the echo tests do not6180 # yet detect zsh echo's removal of \ escapes. Also zsh mangles6181 # `"' quotes if we put them in here... so don't!6182 5402 lt_int_apple_cc_single_mod=no 6183 5403 output_verbose_link_cmd='echo' … … 6186 5406 fi 6187 5407 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 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'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' 6189 5409 else 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'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' 6191 5411 fi 6192 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'5412 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6193 5413 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 6194 5414 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 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}'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}' 6196 5416 else 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}'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}' 6198 5418 fi 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}'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}' 6200 5420 _LT_AC_TAGVAR(hardcode_direct, $1)=no 6201 5421 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 6203 5423 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 6204 5424 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 6205 fi 5425 else 5426 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5427 fi 6206 5428 ;; 6207 5429 … … 6236 5458 6237 5459 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 6238 freebsd* )5460 freebsd* | kfreebsd*-gnu) 6239 5461 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 6240 5462 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 6245 5467 hpux9*) 6246 5468 if test "$GCC" = yes; then 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'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' 6248 5470 else 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'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' 6250 5472 fi 6251 5473 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' … … 6367 5589 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 6368 5590 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 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'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' 6370 5592 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 6371 5593 ;; … … 6391 5613 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 6392 5614 _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' 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'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' 6395 5617 6396 5618 # Both c and cxx compiler support -rpath directly … … 6412 5634 if test "$GCC" = yes; then 6413 5635 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 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'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' 6416 5638 else 6417 5639 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'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' 6420 5642 fi 6421 5643 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 6506 5728 # object files and a static libstdc++, better avoid it by now 6507 5729 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'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' 6510 5732 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 6511 5733 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 6543 5765 if test "$enable_shared" = yes && test "$GCC" = yes; then 6544 5766 case $_LT_AC_TAGVAR(archive_cmds, $1) in 6545 * "$_S_"*)5767 *'~'*) 6546 5768 # FIXME: we may have to deal with multi-command sequences. 6547 5769 ;; … … 6553 5775 $rm conftest* 6554 5776 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6555 5777 6556 5778 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then 6557 5779 soname=conftest … … 6715 5937 ]) 6716 5938 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 modify 5944 # it under the terms of the GNU General Public License as published by 5945 # 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 of 5950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5951 # GNU General Public License for more details. 5952 5953 # You should have received a copy of the GNU General Public License 5954 # along with this program; if not, write to the Free Software 5955 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 5956 5957 # AM_AUTOMAKE_VERSION(VERSION) 5958 # ---------------------------- 5959 # Automake X.Y traces this macro to ensure aclocal.m4 has been 5960 # generated from the m4 files accompanying Automake X.Y. 5961 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 5962 5963 # AM_SET_CURRENT_AUTOMAKE_VERSION 5964 # ------------------------------- 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.9.2])]) 5969 5970 # AM_AUX_DIR_EXPAND 5971 5972 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 5973 5974 # This program is free software; you can redistribute it and/or modify 5975 # it under the terms of the GNU General Public License as published by 5976 # 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 of 5981 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5982 # GNU General Public License for more details. 5983 5984 # You should have received a copy of the GNU General Public License 5985 # along with this program; if not, write to the Free Software 5986 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 5987 # 02111-1307, USA. 5988 5989 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 5990 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 5991 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 5992 # 5993 # Of course, Automake must honor this variable whenever it calls a 5994 # tool from the auxiliary directory. The problem is that $srcdir (and 5995 # therefore $ac_aux_dir as well) can be either absolute or relative, 5996 # depending on how configure is run. This is pretty annoying, since 5997 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 5998 # source directory, any form will work fine, but in subdirectories a 5999 # relative path needs to be adjusted first. 6000 # 6001 # $ac_aux_dir/missing 6002 # fails when called from a subdirectory if $ac_aux_dir is relative 6003 # $top_srcdir/$ac_aux_dir/missing 6004 # fails if $ac_aux_dir is absolute, 6005 # fails when called from a subdirectory in a VPATH build with 6006 # a relative $ac_aux_dir 6007 # 6008 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 6009 # are both prefixed by $srcdir. In an in-source build this is usually 6010 # harmless because $srcdir is `.', but things will broke when you 6011 # 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 as 6017 # MISSING="\${SHELL} $am_aux_dir/missing" 6018 # This will work as long as MISSING is not called from configure, because 6019 # unfortunately $(top_srcdir) has no meaning in configure. 6020 # However there are other variables, like CC, which are often used in 6021 # 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 an 6024 # absolute PATH. The drawback is that using absolute paths prevent a 6025 # 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])dnl 6030 # expand $ac_aux_dir to an absolute path 6031 am_aux_dir=`cd $ac_aux_dir && pwd` 6032 ]) 6033 6034 # AM_CONDITIONAL -*- Autoconf -*- 6035 6036 # Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. 6037 6038 # This program is free software; you can redistribute it and/or modify 6039 # it under the terms of the GNU General Public License as published by 6040 # 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 of 6045 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6046 # GNU General Public License for more details. 6047 6048 # You should have received a copy of the GNU General Public License 6049 # along with this program; if not, write to the Free Software 6050 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6051 # 02111-1307, USA. 6052 6053 # serial 6 6054 6055 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 6056 # ------------------------------------- 6057 # Define a conditional. 6058 AC_DEFUN([AM_CONDITIONAL], 6059 [AC_PREREQ(2.52)dnl 6060 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 6061 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 6062 AC_SUBST([$1_TRUE]) 6063 AC_SUBST([$1_FALSE]) 6064 if $2; then 6065 $1_TRUE= 6066 $1_FALSE='#' 6067 else 6068 $1_TRUE='#' 6069 $1_FALSE= 6070 fi 6071 AC_CONFIG_COMMANDS_PRE( 6072 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 6073 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, 2004 6080 # Free Software Foundation, Inc. 6081 6082 # This program is free software; you can redistribute it and/or modify 6083 # it under the terms of the GNU General Public License as published by 6084 # 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 of 6089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6090 # GNU General Public License for more details. 6091 6092 # You should have received a copy of the GNU General Public License 6093 # along with this program; if not, write to the Free Software 6094 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6095 # 02111-1307, USA. 6096 6097 6098 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 6099 # written in clear, in which case automake, when reading aclocal.m4, 6100 # will think it sees a *use*, and therefore will trigger all it's 6101 # C support machinery. Also note that it means that autoscan, seeing 6102 # 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 was 6113 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 6114 # 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])dnl 6118 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 6119 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 6120 AC_REQUIRE([AM_DEP_TRACK])dnl 6121 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"; then 6131 # We make a subdir and do the tests there. Otherwise we can end up 6132 # making bogus files that we don't know about and never remove. For 6133 # instance it was reported that on HP-UX the gcc test will end up 6134 # making a dummy file named `D' -- because `-MD' means `put the output 6135 # in D'. 6136 mkdir conftest.dir 6137 # Copy depcomp to subdir because otherwise we won't find it if we're 6138 # using a relative directory. 6139 cp "$am_depcomp" conftest.dir 6140 cd conftest.dir 6141 # We will build objects and dependencies in a subdirectory because 6142 # it helps to detect inapplicable dependency modes. For instance 6143 # both Tru64's cc and ICC support -MD to output dependencies as a 6144 # side effect of compilation, but ICC will put the dependencies in 6145 # the current directory while Tru64 will put them in the object 6146 # directory. 6147 mkdir sub 6148 6149 am_cv_$1_dependencies_compiler_type=none 6150 if test "$am_compiler_list" = ""; then 6151 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 6152 fi 6153 for depmode in $am_compiler_list; do 6154 # Setup a source with many dependencies, because some compilers 6155 # like to wrap large dependency lists on column 80 (with \), and 6156 # 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 may 6159 # overwrite some of them when testing with obscure command lines. 6160 # This happens at least with the AIX C compiler. 6161 : > sub/conftest.c 6162 for i in 1 2 3 4 5 6; do 6163 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6164 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6165 # Solaris 8's {/usr,}/bin/sh. 6166 touch sub/conftst$i.h 6167 done 6168 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6169 6170 case $depmode in 6171 nosideeffect) 6172 # after this tag, mechanisms are not by side-effect, so they'll 6173 # only be used when explicitly requested 6174 if test "x$enable_dependency_tracking" = xyes; then 6175 continue 6176 else 6177 break 6178 fi 6179 ;; 6180 none) break ;; 6181 esac 6182 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6183 # mode. It turns out that the SunPro C++ compiler does not properly 6184 # 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; then 6193 # icc doesn't choke on unknown options, it will just issue warnings 6194 # or remarks (even with -Werror). So we grep stderr for any message 6195 # that says an option was ignored or not supported. 6196 # When given -MP, icc 7.0 and 7.1 complain thusly: 6197 # icc: Command line warning: ignoring option '-M'; no argument required 6198 # The diagnosis changed in icc 8.0: 6199 # icc: Command line remark: option '-MP' not supported 6200 if (grep 'ignoring option' conftest.err || 6201 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6202 am_cv_$1_dependencies_compiler_type=$depmode 6203 break 6204 fi 6205 fi 6206 done 6207 6208 cd .. 6209 rm -rf conftest.dir 6210 else 6211 am_cv_$1_dependencies_compiler_type=none 6212 fi 6213 ]) 6214 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 6215 AM_CONDITIONAL([am__fastdep$1], [ 6216 test "x$enable_dependency_tracking" != xno \ 6217 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 6218 ]) 6219 6220 6221 # AM_SET_DEPDIR 6222 # ------------- 6223 # Choose a directory name for dependency files. 6224 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 6225 AC_DEFUN([AM_SET_DEPDIR], 6226 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 6227 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 6228 ]) 6229 6230 6231 # AM_DEP_TRACK 6232 # ------------ 6233 AC_DEFUN([AM_DEP_TRACK], 6234 [AC_ARG_ENABLE(dependency-tracking, 6235 [ --disable-dependency-tracking speeds up one-time build 6236 --enable-dependency-tracking do not reject slow dependency extractors]) 6237 if test "x$enable_dependency_tracking" != xno; then 6238 am_depcomp="$ac_aux_dir/depcomp" 6239 AMDEPBACKSLASH='\' 6240 fi 6241 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 6242 AC_SUBST([AMDEPBACKSLASH]) 6243 ]) 6244 6245 # Generate code to set up dependency tracking. -*- Autoconf -*- 6246 6247 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 6248 # Free Software Foundation, Inc. 6249 6250 # This program is free software; you can redistribute it and/or modify 6251 # it under the terms of the GNU General Public License as published by 6252 # the Free Software Foundation; either version 2, or (at your option) 6253 # any later version. 6254 6255 # This program is distributed in the hope that it will be useful, 6256 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6257 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6258 # GNU General Public License for more details. 6259 6260 # You should have received a copy of the GNU General Public License 6261 # along with this program; if not, write to the Free Software 6262 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6263 # 02111-1307, USA. 6264 6265 #serial 2 6266 6267 # _AM_OUTPUT_DEPENDENCY_COMMANDS 6268 # ------------------------------ 6269 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 6270 [for mf in $CONFIG_FILES; do 6271 # Strip MF so we end up with the name of the file. 6272 mf=`echo "$mf" | sed -e 's/:.*$//'` 6273 # Check whether this is an Automake generated Makefile or not. 6274 # We used to match only the files named `Makefile.in', but 6275 # some people rename them; so instead we look at the file content. 6276 # Grep'ing the first line is not enough: some people post-process 6277 # each Makefile.in and add a new line on top of each file to say so. 6278 # So let's grep whole file. 6279 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6280 dirpart=`AS_DIRNAME("$mf")` 6281 else 6282 continue 6283 fi 6284 # Extract the definition of DEPDIR, am__include, and am__quote 6285 # from the Makefile without running `make'. 6286 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6287 test -z "$DEPDIR" && continue 6288 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6289 test -z "am__include" && continue 6290 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6291 # When using ansi2knr, U may be empty or an underscore; expand it 6292 U=`sed -n 's/^U = //p' < "$mf"` 6293 # Find all dependency output files, they are included files with 6294 # $(DEPDIR) in their names. We invoke sed twice because it is the 6295 # simplest approach to changing $(DEPDIR) to its actual value in the 6296 # expansion. 6297 for file in `sed -n " 6298 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6299 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6300 # Make sure the directory exists. 6301 test -f "$dirpart/$file" && continue 6302 fdir=`AS_DIRNAME(["$file"])` 6303 AS_MKDIR_P([$dirpart/$fdir]) 6304 # echo "creating $dirpart/$file" 6305 echo '# dummy' > "$dirpart/$file" 6306 done 6307 done 6308 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 6309 6310 6311 # AM_OUTPUT_DEPENDENCY_COMMANDS 6312 # ----------------------------- 6313 # This macro should only be invoked once -- use via AC_REQUIRE. 6314 # 6315 # This code is only required when automatic dependency tracking 6316 # is enabled. FIXME. This creates each `.P' file that we will 6317 # 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 modify 6329 # it under the terms of the GNU General Public License as published by 6330 # 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 of 6335 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6336 # GNU General Public License for more details. 6337 6338 # You should have received a copy of the GNU General Public License 6339 # along with this program; if not, write to the Free Software 6340 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6341 # 02111-1307, USA. 6342 6343 # serial 7 6344 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 if 6351 # your package does certain things. But this isn't really a big deal. 6352 6353 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 6354 # Free Software Foundation, Inc. 6355 6356 # This program is free software; you can redistribute it and/or modify 6357 # it under the terms of the GNU General Public License as published by 6358 # 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 of 6363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6364 # GNU General Public License for more details. 6365 6366 # You should have received a copy of the GNU General Public License 6367 # along with this program; if not, write to the Free Software 6368 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6369 # 02111-1307, USA. 6370 6371 # serial 11 6372 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 style 6377 # call (pre autoconf-2.50), which is being phased out. PACKAGE 6378 # and VERSION should now be passed to AC_INIT and removed from 6379 # the call to AM_INIT_AUTOMAKE. 6380 # We support both call styles for the transition. After 6381 # the next Automake release, Autoconf can make the AC_INIT 6382 # arguments mandatory, and then we can depend on a new Autoconf 6383 # release and drop the old call support. 6384 AC_DEFUN([AM_INIT_AUTOMAKE], 6385 [AC_PREREQ([2.58])dnl 6386 dnl Autoconf wants to disallow AM_ names. We explicitly allow 6387 dnl the ones we care about. 6388 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 6389 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 6390 AC_REQUIRE([AC_PROG_INSTALL])dnl 6391 # test to see if srcdir already configured 6392 if test "`cd $srcdir && pwd`" != "`pwd`" && 6393 test -f $srcdir/config.status; then 6394 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 6395 fi 6396 6397 # test whether we have cygpath 6398 if test -z "$CYGPATH_W"; then 6399 if (cygpath --version) >/dev/null 2>/dev/null; then 6400 CYGPATH_W='cygpath -w' 6401 else 6402 CYGPATH_W=echo 6403 fi 6404 fi 6405 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])])dnl 6411 AC_SUBST([PACKAGE], [$1])dnl 6412 AC_SUBST([VERSION], [$2])], 6413 [_AM_SET_OPTIONS([$1])dnl 6414 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 6415 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 6416 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])])dnl 6420 6421 # Some tools Automake needs. 6422 AC_REQUIRE([AM_SANITY_CHECK])dnl 6423 AC_REQUIRE([AC_ARG_PROGRAM])dnl 6424 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_PROG_INSTALL_SH 6430 AM_PROG_INSTALL_STRIP 6431 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 6432 # We need awk for the "check" target. The system "awk" is bad on 6433 # some platforms. 6434 AC_REQUIRE([AC_PROG_AWK])dnl 6435 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 6436 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 6437 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 6438 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 6439 [_AM_PROG_TAR([v7])])]) 6440 _AM_IF_OPTION([no-dependencies],, 6441 [AC_PROVIDE_IFELSE([AC_PROG_CC], 6442 [_AM_DEPENDENCIES(CC)], 6443 [define([AC_PROG_CC], 6444 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 6445 AC_PROVIDE_IFELSE([AC_PROG_CXX], 6446 [_AM_DEPENDENCIES(CXX)], 6447 [define([AC_PROG_CXX], 6448 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 6449 ]) 6450 ]) 6451 6452 6453 # When config.status generates a header, we must update the stamp-h file. 6454 # This file resides in the same directory as the config header 6455 # that is generated. The stamp files are numbered to have different names. 6456 6457 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 6458 # loop where config.status creates the headers, so we can generate 6459 # our stamp files there. 6460 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 6461 [# Compute $1's index in $config_headers. 6462 _am_stamp_count=1 6463 for _am_header in $config_headers :; do 6464 case $_am_header in 6465 $1 | $1:* ) 6466 break ;; 6467 * ) 6468 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6469 esac 6470 done 6471 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 6472 6473 # AM_PROG_INSTALL_SH 6474 # ------------------ 6475 # Define $install_sh. 6476 6477 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 6478 6479 # This program is free software; you can redistribute it and/or modify 6480 # it under the terms of the GNU General Public License as published by 6481 # the Free Software Foundation; either version 2, or (at your option) 6482 # any later version. 6483 6484 # This program is distributed in the hope that it will be useful, 6485 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6486 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6487 # GNU General Public License for more details. 6488 6489 # You should have received a copy of the GNU General Public License 6490 # along with this program; if not, write to the Free Software 6491 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6492 # 02111-1307, USA. 6493 6494 AC_DEFUN([AM_PROG_INSTALL_SH], 6495 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 6496 install_sh=${install_sh-"$am_aux_dir/install-sh"} 6497 AC_SUBST(install_sh)]) 6498 6499 # -*- Autoconf -*- 6500 # Copyright (C) 2003 Free Software Foundation, Inc. 6501 6502 # This program is free software; you can redistribute it and/or modify 6503 # it under the terms of the GNU General Public License as published by 6504 # the Free Software Foundation; either version 2, or (at your option) 6505 # any later version. 6506 6507 # This program is distributed in the hope that it will be useful, 6508 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6510 # GNU General Public License for more details. 6511 6512 # You should have received a copy of the GNU General Public License 6513 # along with this program; if not, write to the Free Software 6514 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6515 # 02111-1307, USA. 6516 6517 # serial 1 6518 6519 # Check whether the underlying file-system supports filenames 6520 # with a leading dot. For instance MS-DOS doesn't. 6521 AC_DEFUN([AM_SET_LEADING_DOT], 6522 [rm -rf .tst 2>/dev/null 6523 mkdir .tst 2>/dev/null 6524 if test -d .tst; then 6525 am__leading_dot=. 6526 else 6527 am__leading_dot=_ 6528 fi 6529 rmdir .tst 2>/dev/null 6530 AC_SUBST([am__leading_dot])]) 6531 6532 # Check to see how 'make' treats includes. -*- Autoconf -*- 6533 6534 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 6535 6536 # This program is free software; you can redistribute it and/or modify 6537 # it under the terms of the GNU General Public License as published by 6538 # the Free Software Foundation; either version 2, or (at your option) 6539 # any later version. 6540 6541 # This program is distributed in the hope that it will be useful, 6542 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6543 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6544 # GNU General Public License for more details. 6545 6546 # You should have received a copy of the GNU General Public License 6547 # along with this program; if not, write to the Free Software 6548 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6549 # 02111-1307, USA. 6550 6551 # serial 2 6552 6553 # AM_MAKE_INCLUDE() 6554 # ----------------- 6555 # Check to see how make treats includes. 6556 AC_DEFUN([AM_MAKE_INCLUDE], 6557 [am_make=${MAKE-make} 6558 cat > confinc << 'END' 6559 am__doit: 6560 @echo done 6561 .PHONY: am__doit 6562 END 6563 # If we don't find an include directive, just comment out the code. 6564 AC_MSG_CHECKING([for style of include used by $am_make]) 6565 am__include="#" 6566 am__quote= 6567 _am_result=none 6568 # First try GNU make style include. 6569 echo "include confinc" > confmf 6570 # We grep out `Entering directory' and `Leaving directory' 6571 # messages which can occur if `w' ends up in MAKEFLAGS. 6572 # In particular we don't look at `^make:' because GNU make might 6573 # be invoked under some other name (usually "gmake"), in which 6574 # case it prints its new name instead of `make'. 6575 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 6576 am__include=include 6577 am__quote= 6578 _am_result=GNU 6579 fi 6580 # Now try BSD make style include. 6581 if test "$am__include" = "#"; then 6582 echo '.include "confinc"' > confmf 6583 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 6584 am__include=.include 6585 am__quote="\"" 6586 _am_result=BSD 6587 fi 6588 fi 6589 AC_SUBST([am__include]) 6590 AC_SUBST([am__quote]) 6591 AC_MSG_RESULT([$_am_result]) 6592 rm -f confinc confmf 6593 ]) 6594 6595 # -*- Autoconf -*- 6596 6597 6598 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 6599 6600 # This program is free software; you can redistribute it and/or modify 6601 # it under the terms of the GNU General Public License as published by 6602 # the Free Software Foundation; either version 2, or (at your option) 6603 # any later version. 6604 6605 # This program is distributed in the hope that it will be useful, 6606 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6607 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6608 # GNU General Public License for more details. 6609 6610 # You should have received a copy of the GNU General Public License 6611 # along with this program; if not, write to the Free Software 6612 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6613 # 02111-1307, USA. 6614 6615 # serial 3 6616 6617 # AM_MISSING_PROG(NAME, PROGRAM) 6618 # ------------------------------ 6619 AC_DEFUN([AM_MISSING_PROG], 6620 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 6621 $1=${$1-"${am_missing_run}$2"} 6622 AC_SUBST($1)]) 6623 6624 6625 # AM_MISSING_HAS_RUN 6626 # ------------------ 6627 # Define MISSING if not defined so far and test if it supports --run. 6628 # If it does, set am_missing_run to use it, otherwise, to nothing. 6629 AC_DEFUN([AM_MISSING_HAS_RUN], 6630 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 6631 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 6632 # Use eval to expand $SHELL 6633 if eval "$MISSING --run true"; then 6634 am_missing_run="$MISSING --run " 6635 else 6636 am_missing_run= 6637 AC_MSG_WARN([`missing' script is too old or missing]) 6638 fi 6639 ]) 6640 6641 # AM_PROG_MKDIR_P 6642 # --------------- 6643 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 6644 6645 # Copyright (C) 2003, 2004 Free Software Foundation, Inc. 6646 6647 # This program is free software; you can redistribute it and/or modify 6648 # it under the terms of the GNU General Public License as published by 6649 # the Free Software Foundation; either version 2, or (at your option) 6650 # any later version. 6651 6652 # This program is distributed in the hope that it will be useful, 6653 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6654 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6655 # GNU General Public License for more details. 6656 6657 # You should have received a copy of the GNU General Public License 6658 # along with this program; if not, write to the Free Software 6659 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6660 # 02111-1307, USA. 6661 6662 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 6663 # created by `make install' are always world readable, even if the 6664 # installer happens to have an overly restrictive umask (e.g. 077). 6665 # This was a mistake. There are at least two reasons why we must not 6666 # use `-m 0755': 6667 # - it causes special bits like SGID to be ignored, 6668 # - it may be too restrictive (some setups expect 775 directories). 6669 # 6670 # Do not use -m 0755 and let people choose whatever they expect by 6671 # setting umask. 6672 # 6673 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 6674 # Some implementations (such as Solaris 8's) are not thread-safe: if a 6675 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 6676 # concurrently, both version can detect that a/ is missing, but only 6677 # one can create it and the other will error out. Consequently we 6678 # restrict ourselves to GNU make (using the --version option ensures 6679 # this.) 6680 AC_DEFUN([AM_PROG_MKDIR_P], 6681 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 6682 # We used to keeping the `.' as first argument, in order to 6683 # allow $(mkdir_p) to be used without argument. As in 6684 # $(mkdir_p) $(somedir) 6685 # where $(somedir) is conditionally defined. However this is wrong 6686 # for two reasons: 6687 # 1. if the package is installed by a user who cannot write `.' 6688 # make install will fail, 6689 # 2. the above comment should most certainly read 6690 # $(mkdir_p) $(DESTDIR)$(somedir) 6691 # so it does not work when $(somedir) is undefined and 6692 # $(DESTDIR) is not. 6693 # To support the latter case, we have to write 6694 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 6695 # so the `.' trick is pointless. 6696 mkdir_p='mkdir -p --' 6697 else 6698 # On NextStep and OpenStep, the `mkdir' command does not 6699 # recognize any option. It will interpret all options as 6700 # directories to create, and then abort because `.' already 6701 # exists. 6702 for d in ./-p ./--version; 6703 do 6704 test -d $d && rmdir $d 6705 done 6706 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 6707 if test -f "$ac_aux_dir/mkinstalldirs"; then 6708 mkdir_p='$(mkinstalldirs)' 6709 else 6710 mkdir_p='$(install_sh) -d' 6711 fi 6712 fi 6713 AC_SUBST([mkdir_p])]) 6714 6715 # Helper functions for option handling. -*- Autoconf -*- 6716 6717 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 6718 6719 # This program is free software; you can redistribute it and/or modify 6720 # it under the terms of the GNU General Public License as published by 6721 # the Free Software Foundation; either version 2, or (at your option) 6722 # any later version. 6723 6724 # This program is distributed in the hope that it will be useful, 6725 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6727 # GNU General Public License for more details. 6728 6729 # You should have received a copy of the GNU General Public License 6730 # along with this program; if not, write to the Free Software 6731 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6732 # 02111-1307, USA. 6733 6734 # serial 2 6735 6736 # _AM_MANGLE_OPTION(NAME) 6737 # ----------------------- 6738 AC_DEFUN([_AM_MANGLE_OPTION], 6739 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 6740 6741 # _AM_SET_OPTION(NAME) 6742 # ------------------------------ 6743 # Set option NAME. Presently that only means defining a flag for this option. 6744 AC_DEFUN([_AM_SET_OPTION], 6745 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 6746 6747 # _AM_SET_OPTIONS(OPTIONS) 6748 # ---------------------------------- 6749 # OPTIONS is a space-separated list of Automake options. 6750 AC_DEFUN([_AM_SET_OPTIONS], 6751 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 6752 6753 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 6754 # ------------------------------------------- 6755 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 6756 AC_DEFUN([_AM_IF_OPTION], 6757 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 6758 6759 # 6760 # Check to make sure that the build environment is sane. 6761 # 6762 6763 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 6764 6765 # This program is free software; you can redistribute it and/or modify 6766 # it under the terms of the GNU General Public License as published by 6767 # the Free Software Foundation; either version 2, or (at your option) 6768 # any later version. 6769 6770 # This program is distributed in the hope that it will be useful, 6771 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6772 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6773 # GNU General Public License for more details. 6774 6775 # You should have received a copy of the GNU General Public License 6776 # along with this program; if not, write to the Free Software 6777 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6778 # 02111-1307, USA. 6779 6780 # serial 3 6781 6782 # AM_SANITY_CHECK 6783 # --------------- 6784 AC_DEFUN([AM_SANITY_CHECK], 6785 [AC_MSG_CHECKING([whether build environment is sane]) 6786 # Just in case 6787 sleep 1 6788 echo timestamp > conftest.file 6789 # Do `set' in a subshell so we don't clobber the current shell's 6790 # arguments. Must try -L first in case configure is actually a 6791 # symlink; some systems play weird games with the mod time of symlinks 6792 # (eg FreeBSD returns the mod time of the symlink's containing 6793 # directory). 6794 if ( 6795 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 6796 if test "$[*]" = "X"; then 6797 # -L didn't work. 6798 set X `ls -t $srcdir/configure conftest.file` 6799 fi 6800 rm -f conftest.file 6801 if test "$[*]" != "X $srcdir/configure conftest.file" \ 6802 && test "$[*]" != "X conftest.file $srcdir/configure"; then 6803 6804 # If neither matched, then we have a broken ls. This can happen 6805 # if, for instance, CONFIG_SHELL is bash and it inherits a 6806 # broken ls alias from the environment. This has actually 6807 # happened. Such a system could not be considered "sane". 6808 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 6809 alias in your environment]) 6810 fi 6811 6812 test "$[2]" = conftest.file 6813 ) 6814 then 6815 # Ok. 6816 : 6817 else 6818 AC_MSG_ERROR([newly created file is older than distributed files! 6819 Check your system clock]) 6820 fi 6821 AC_MSG_RESULT(yes)]) 6822 6823 # AM_PROG_INSTALL_STRIP 6824 6825 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 6826 6827 # This program is free software; you can redistribute it and/or modify 6828 # it under the terms of the GNU General Public License as published by 6829 # the Free Software Foundation; either version 2, or (at your option) 6830 # any later version. 6831 6832 # This program is distributed in the hope that it will be useful, 6833 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6835 # GNU General Public License for more details. 6836 6837 # You should have received a copy of the GNU General Public License 6838 # along with this program; if not, write to the Free Software 6839 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6840 # 02111-1307, USA. 6841 6842 # One issue with vendor `install' (even GNU) is that you can't 6843 # specify the program used to strip binaries. This is especially 6844 # annoying in cross-compiling environments, where the build's strip 6845 # is unlikely to handle the host's binaries. 6846 # Fortunately install-sh will honor a STRIPPROG variable, so we 6847 # always use install-sh in `make install-strip', and initialize 6848 # STRIPPROG with the value of the STRIP variable (set by the user). 6849 AC_DEFUN([AM_PROG_INSTALL_STRIP], 6850 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 6851 # Installed binaries are usually stripped using `strip' when the user 6852 # run `make install-strip'. However `strip' might not be the right 6853 # tool to use in cross-compilation environments, therefore Automake 6854 # will honor the `STRIP' environment variable to overrule this program. 6855 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 6856 if test "$cross_compiling" != no; then 6857 AC_CHECK_TOOL([STRIP], [strip], :) 6858 fi 6859 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 6860 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 6861 6862 # Check how to create a tarball. -*- Autoconf -*- 6863 6864 # Copyright (C) 2004 Free Software Foundation, Inc. 6865 6866 # This program is free software; you can redistribute it and/or modify 6867 # it under the terms of the GNU General Public License as published by 6868 # the Free Software Foundation; either version 2, or (at your option) 6869 # any later version. 6870 6871 # This program is distributed in the hope that it will be useful, 6872 # but WITHOUT ANY WARRANTY; without even the implied warranty of 6873 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6874 # GNU General Public License for more details. 6875 6876 # You should have received a copy of the GNU General Public License 6877 # along with this program; if not, write to the Free Software 6878 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 6879 # 02111-1307, USA. 6880 6881 # serial 1 6882 6883 6884 # _AM_PROG_TAR(FORMAT) 6885 # -------------------- 6886 # Check how to create a tarball in format FORMAT. 6887 # FORMAT should be one of `v7', `ustar', or `pax'. 6888 # 6889 # Substitute a variable $(am__tar) that is a command 6890 # writing to stdout a FORMAT-tarball containing the directory 6891 # $tardir. 6892 # tardir=directory && $(am__tar) > result.tar 6893 # 6894 # Substitute a variable $(am__untar) that extract such 6895 # a tarball read from stdin. 6896 # $(am__untar) < result.tar 6897 AC_DEFUN([_AM_PROG_TAR], 6898 [# Always define AMTAR for backward compatibility. 6899 AM_MISSING_PROG([AMTAR], [tar]) 6900 m4_if([$1], [v7], 6901 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 6902 [m4_case([$1], [ustar],, [pax],, 6903 [m4_fatal([Unknown tar format])]) 6904 AC_MSG_CHECKING([how to create a $1 tar archive]) 6905 # Loop over all known methods to create a tar archive until one works. 6906 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 6907 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 6908 # Do not fold the above two line into one, because Tru64 sh and 6909 # Solaris sh will not grok spaces in the rhs of `-'. 6910 for _am_tool in $_am_tools 6911 do 6912 case $_am_tool in 6913 gnutar) 6914 for _am_tar in tar gnutar gtar; 6915 do 6916 AM_RUN_LOG([$_am_tar --version]) && break 6917 done 6918 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 6919 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 6920 am__untar="$_am_tar -xf -" 6921 ;; 6922 plaintar) 6923 # Must skip GNU tar: if it does not support --format= it doesn't create 6924 # ustar tarball either. 6925 (tar --version) >/dev/null 2>&1 && continue 6926 am__tar='tar chf - "$$tardir"' 6927 am__tar_='tar chf - "$tardir"' 6928 am__untar='tar xf -' 6929 ;; 6930 pax) 6931 am__tar='pax -L -x $1 -w "$$tardir"' 6932 am__tar_='pax -L -x $1 -w "$tardir"' 6933 am__untar='pax -r' 6934 ;; 6935 cpio) 6936 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 6937 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 6938 am__untar='cpio -i -H $1 -d' 6939 ;; 6940 none) 6941 am__tar=false 6942 am__tar_=false 6943 am__untar=false 6944 ;; 6945 esac 6946 6947 # If the value was cached, stop now. We just wanted to have am__tar 6948 # and am__untar set. 6949 test -n "${am_cv_prog_tar_$1}" && break 6950 6951 # tar/untar a dummy directory, and stop if the command works 6952 rm -rf conftest.dir 6953 mkdir conftest.dir 6954 echo GrepMe > conftest.dir/file 6955 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 6956 rm -rf conftest.dir 6957 if test -s conftest.tar; then 6958 AM_RUN_LOG([$am__untar <conftest.tar]) 6959 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 6960 fi 6961 done 6962 rm -rf conftest.dir 6963 6964 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 6965 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 6966 AC_SUBST([am__tar]) 6967 AC_SUBST([am__untar]) 6968 ]) # _AM_PROG_TAR 6969 -
trunk/psModules/configure
r2164 r2839 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 21 20 set -o posix 22 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 23 24 24 # Support unset when possible. 25 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 26 as_unset=unset 27 27 else … … 42 42 LC_TELEPHONE LC_TIME 43 43 do 44 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 45 eval $as_var=C; export $as_var 46 46 else … … 219 219 as_mkdir_p=: 220 220 else 221 test -d ./-p && rmdir ./-p 221 222 as_mkdir_p=false 222 223 fi … … 225 226 226 227 # Sed expression to map a string onto a valid CPP name. 227 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 228 229 229 230 # Sed expression to map a string onto a valid variable name. 230 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 231 232 232 233 … … 391 392 392 393 393 tagnames= `echo "$tagnames,CXX" | sed 's/^,//'`394 395 tagnames= `echo "$tagnames,F77" | sed 's/^,//'`394 tagnames=${tagnames+${tagnames},}CXX 395 396 tagnames=${tagnames+${tagnames},}F77 396 397 397 398 # Name of the host. … … 463 464 #endif" 464 465 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 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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' 466 467 ac_subst_files='' 467 468 … … 822 823 # Be sure to have absolute paths. 823 824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 824 localstatedir libdir includedir oldincludedir infodir mandir825 localstatedir libdir includedir oldincludedir infodir mandir 825 826 do 826 827 eval ac_val=$`echo $ac_var` … … 862 863 ac_confdir=`(dirname "$0") 2>/dev/null || 863 864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 864 X"$0" : 'X\(//\)[^/]' \| \865 X"$0" : 'X\(//\)$' \| \866 X"$0" : 'X\(/\)' \| \867 . : '\(.\)' 2>/dev/null ||865 X"$0" : 'X\(//\)[^/]' \| \ 866 X"$0" : 'X\(//\)$' \| \ 867 X"$0" : 'X\(/\)' \| \ 868 . : '\(.\)' 2>/dev/null || 868 869 echo X"$0" | 869 870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 977 978 Installation directories: 978 979 --prefix=PREFIX install architecture-independent files in PREFIX 979 [$ac_default_prefix]980 [$ac_default_prefix] 980 981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 981 [PREFIX]982 [PREFIX] 982 983 983 984 By default, \`make install' will install all the files in … … 1023 1024 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1024 1025 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1025 --disable-dependency-tracking Speeds up one-time builds1026 --enable-dependency-tracking Do not reject slow dependency extractors1026 --disable-dependency-tracking speeds up one-time build 1027 --enable-dependency-tracking do not reject slow dependency extractors 1027 1028 --enable-shared[=PKGS] 1028 1029 build shared libraries [default=yes] … … 1097 1098 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1098 1099 esac 1099 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 1100 # absolute. 1101 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 1102 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 1103 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 1104 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 1100 1101 # Do not use `cd foo && pwd` to compute absolute paths, because 1102 # the directories may not exist. 1103 case `pwd` in 1104 .) ac_abs_builddir="$ac_dir";; 1105 *) 1106 case "$ac_dir" in 1107 .) ac_abs_builddir=`pwd`;; 1108 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1109 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1110 esac;; 1111 esac 1112 case $ac_abs_builddir in 1113 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1114 *) 1115 case ${ac_top_builddir}. in 1116 .) ac_abs_top_builddir=$ac_abs_builddir;; 1117 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1118 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1119 esac;; 1120 esac 1121 case $ac_abs_builddir in 1122 .) ac_abs_srcdir=$ac_srcdir;; 1123 *) 1124 case $ac_srcdir in 1125 .) ac_abs_srcdir=$ac_abs_builddir;; 1126 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1127 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1128 esac;; 1129 esac 1130 case $ac_abs_builddir in 1131 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1132 *) 1133 case $ac_top_srcdir in 1134 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1135 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1136 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1137 esac;; 1138 esac 1105 1139 1106 1140 cd $ac_dir … … 1113 1147 $SHELL $ac_srcdir/configure --help=recursive 1114 1148 elif test -f $ac_srcdir/configure.ac || 1115 test -f $ac_srcdir/configure.in; then1149 test -f $ac_srcdir/configure.in; then 1116 1150 echo 1117 1151 $ac_configure --help … … 1127 1161 cat <<\_ACEOF 1128 1162 1129 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 1130 Free Software Foundation, Inc. 1163 Copyright (C) 2003 Free Software Foundation, Inc. 1131 1164 This configure script is free software; the Free Software Foundation 1132 1165 gives unlimited permission to copy, distribute and modify it. … … 1140 1173 1141 1174 It was created by $as_me, which was 1142 generated by GNU Autoconf 2.5 7. Invocation command line was1175 generated by GNU Autoconf 2.59. Invocation command line was 1143 1176 1144 1177 $ $0 $@ … … 1217 1250 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1218 1251 if test $ac_must_keep_next = true; then 1219 ac_must_keep_next=false # Got value, back to normal.1252 ac_must_keep_next=false # Got value, back to normal. 1220 1253 else 1221 case $ac_arg in1222 *=* | --config-cache | -C | -disable-* | --disable-* \1223 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \1224 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \1225 | -with-* | --with-* | -without-* | --without-* | --x)1226 case "$ac_configure_args0 " in1227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1228 esac1229 ;;1230 -* ) ac_must_keep_next=true ;;1231 esac1254 case $ac_arg in 1255 *=* | --config-cache | -C | -disable-* | --disable-* \ 1256 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1257 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1258 | -with-* | --with-* | -without-* | --without-* | --x) 1259 case "$ac_configure_args0 " in 1260 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1261 esac 1262 ;; 1263 -* ) ac_must_keep_next=true ;; 1264 esac 1232 1265 fi 1233 1266 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1263 1296 *ac_space=\ *) 1264 1297 sed -n \ 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1298 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1267 1300 ;; 1268 1301 *) 1269 1302 sed -n \ 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1271 1304 ;; 1272 1305 esac; … … 1297 1330 do 1298 1331 eval ac_val=$`echo $ac_var` 1299 echo "$ac_var='"'"'$ac_val'"'"'"1332 echo "$ac_var='"'"'$ac_val'"'"'" 1300 1333 done | sort 1301 1334 echo … … 1316 1349 echo "$as_me: exit $exit_status" 1317 1350 } >&5 1318 rm -f core core.**.core &&1351 rm -f core *.core && 1319 1352 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1320 1353 exit $exit_status … … 1396 1429 ac_cache_corrupted=false 1397 1430 for ac_var in `(set) 2>&1 | 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1431 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1399 1432 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1400 1433 eval ac_new_set=\$ac_env_${ac_var}_set … … 1413 1446 *) 1414 1447 if test "x$ac_old_val" != "x$ac_new_val"; then 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51448 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1416 1449 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51450 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1418 1451 echo "$as_me: former value: $ac_old_val" >&2;} 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51452 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1420 1453 echo "$as_me: current value: $ac_new_val" >&2;} 1421 ac_cache_corrupted=:1454 ac_cache_corrupted=: 1422 1455 fi;; 1423 1456 esac … … 1468 1501 1469 1502 1470 # Add the stamp file to the list of files AC keeps track of,1471 # along with our hook.1472 1503 ac_config_headers="$ac_config_headers src/config.h" 1473 1504 1474 1475 1476 am__api_version="1.6" 1505 am__api_version="1.9" 1477 1506 ac_aux_dir= 1478 1507 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1511 1540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1512 1541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1542 # OS/2's system install, which has a completely different semantic 1513 1543 # ./install, which can be erroneously created by make from ./install.sh. 1514 1544 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1527 1557 ./ | .// | /cC/* | \ 1528 1558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1529 1560 /usr/ucb/* ) ;; 1530 1561 *) … … 1534 1565 for ac_prog in ginstall scoinst install; do 1535 1566 for ac_exec_ext in '' $ac_executable_extensions; do 1536 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then1537 if test $ac_prog = install &&1538 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1539 # AIX install. It has an incompatible calling convention.1540 :1541 elif test $ac_prog = install &&1542 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1543 # program-specific install script used by HP pwplus--don't use.1544 :1545 else1546 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"1547 break 31548 fi1549 fi1567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1568 if test $ac_prog = install && 1569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1570 # AIX install. It has an incompatible calling convention. 1571 : 1572 elif test $ac_prog = install && 1573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1574 # program-specific install script used by HP pwplus--don't use. 1575 : 1576 else 1577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1578 break 3 1579 fi 1580 fi 1550 1581 done 1551 1582 done … … 1635 1666 rm conftest.sed 1636 1667 1637 1638 1668 # expand $ac_aux_dir to an absolute path 1639 1669 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1647 1677 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1648 1678 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1679 fi 1680 1681 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1682 # We used to keeping the `.' as first argument, in order to 1683 # allow $(mkdir_p) to be used without argument. As in 1684 # $(mkdir_p) $(somedir) 1685 # where $(somedir) is conditionally defined. However this is wrong 1686 # for two reasons: 1687 # 1. if the package is installed by a user who cannot write `.' 1688 # make install will fail, 1689 # 2. the above comment should most certainly read 1690 # $(mkdir_p) $(DESTDIR)$(somedir) 1691 # so it does not work when $(somedir) is undefined and 1692 # $(DESTDIR) is not. 1693 # To support the latter case, we have to write 1694 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1695 # so the `.' trick is pointless. 1696 mkdir_p='mkdir -p --' 1697 else 1698 # On NextStep and OpenStep, the `mkdir' command does not 1699 # recognize any option. It will interpret all options as 1700 # directories to create, and then abort because `.' already 1701 # exists. 1702 for d in ./-p ./--version; 1703 do 1704 test -d $d && rmdir $d 1705 done 1706 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1707 if test -f "$ac_aux_dir/mkinstalldirs"; then 1708 mkdir_p='$(mkinstalldirs)' 1709 else 1710 mkdir_p='$(install_sh) -d' 1711 fi 1649 1712 fi 1650 1713 … … 1691 1754 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1692 1755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1693 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`1756 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1694 1757 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1695 1758 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1718 1781 fi 1719 1782 1720 # test to see if srcdir already configured 1783 rm -rf .tst 2>/dev/null 1784 mkdir .tst 2>/dev/null 1785 if test -d .tst; then 1786 am__leading_dot=. 1787 else 1788 am__leading_dot=_ 1789 fi 1790 rmdir .tst 2>/dev/null 1791 1792 # test to see if srcdir already configured 1721 1793 if test "`cd $srcdir && pwd`" != "`pwd`" && 1722 1794 test -f $srcdir/config.status; then … … 1726 1798 fi 1727 1799 1800 # test whether we have cygpath 1801 if test -z "$CYGPATH_W"; then 1802 if (cygpath --version) >/dev/null 2>/dev/null; then 1803 CYGPATH_W='cygpath -w' 1804 else 1805 CYGPATH_W=echo 1806 fi 1807 fi 1808 1809 1728 1810 # Define the identity of the package. 1729 1811 PACKAGE=psModule … … 1755 1837 1756 1838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1757 1758 1759 AMTAR=${AMTAR-"${am_missing_run}tar"}1760 1839 1761 1840 install_sh=${install_sh-"$am_aux_dir/install-sh"} … … 1851 1930 # We need awk for the "check" target. The system "awk" is bad on 1852 1931 # some platforms. 1932 # Always define AMTAR for backward compatibility. 1933 1934 AMTAR=${AMTAR-"${am_missing_run}tar"} 1935 1936 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1937 1938 1853 1939 1854 1940 … … 2197 2283 2198 2284 cat >conftest.$ac_ext <<_ACEOF 2199 #line $LINENO "configure"2200 2285 /* confdefs.h. */ 2201 2286 _ACEOF … … 2217 2302 # It will help us diagnose broken compilers, and finding out an intuition 2218 2303 # of exeext. 2219 echo "$as_me:$LINENO: checking for C compiler default output " >&52220 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&62304 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2305 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2221 2306 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2222 2307 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 2238 2323 case $ac_file in 2239 2324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2240 ;;2325 ;; 2241 2326 conftest.$ac_ext ) 2242 # This is the source file.2243 ;;2327 # This is the source file. 2328 ;; 2244 2329 [ab].out ) 2245 # We found the default executable, but exeext='' is most2246 # certainly right.2247 break;;2330 # We found the default executable, but exeext='' is most 2331 # certainly right. 2332 break;; 2248 2333 *.* ) 2249 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2250 # FIXME: I believe we export ac_cv_exeext for Libtool,2251 # but it would be cool to find out if it's true. Does anybody2252 # maintain Libtool? --akim.2253 export ac_cv_exeext2254 break;;2334 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2335 # FIXME: I believe we export ac_cv_exeext for Libtool, 2336 # but it would be cool to find out if it's true. Does anybody 2337 # maintain Libtool? --akim. 2338 export ac_cv_exeext 2339 break;; 2255 2340 * ) 2256 break;;2341 break;; 2257 2342 esac 2258 2343 done … … 2328 2413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2329 2414 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2330 export ac_cv_exeext2331 break;;2415 export ac_cv_exeext 2416 break;; 2332 2417 * ) break;; 2333 2418 esac … … 2354 2439 else 2355 2440 cat >conftest.$ac_ext <<_ACEOF 2356 #line $LINENO "configure"2357 2441 /* confdefs.h. */ 2358 2442 _ACEOF … … 2405 2489 else 2406 2490 cat >conftest.$ac_ext <<_ACEOF 2407 #line $LINENO "configure"2408 2491 /* confdefs.h. */ 2409 2492 _ACEOF … … 2425 2508 rm -f conftest.$ac_objext 2426 2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2427 (eval $ac_compile) 2>&5 2510 (eval $ac_compile) 2>conftest.er1 2511 ac_status=$? 2512 grep -v '^ *+' conftest.er1 >conftest.err 2513 rm -f conftest.er1 2514 cat conftest.err >&5 2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2516 (exit $ac_status); } && 2517 { ac_try='test -z "$ac_c_werror_flag" 2518 || test ! -s conftest.err' 2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2520 (eval $ac_try) 2>&5 2428 2521 ac_status=$? 2429 2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2430 (exit $ac_status); } &&2431 { ac_try='test -s conftest.$ac_objext'2523 (exit $ac_status); }; } && 2524 { ac_try='test -s conftest.$ac_objext' 2432 2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2433 2526 (eval $ac_try) 2>&5 … … 2442 2535 ac_compiler_gnu=no 2443 2536 fi 2444 rm -f conftest. $ac_objext conftest.$ac_ext2537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2445 2538 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2446 2539 … … 2458 2551 else 2459 2552 cat >conftest.$ac_ext <<_ACEOF 2460 #line $LINENO "configure"2461 2553 /* confdefs.h. */ 2462 2554 _ACEOF … … 2475 2567 rm -f conftest.$ac_objext 2476 2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2477 (eval $ac_compile) 2>&5 2569 (eval $ac_compile) 2>conftest.er1 2570 ac_status=$? 2571 grep -v '^ *+' conftest.er1 >conftest.err 2572 rm -f conftest.er1 2573 cat conftest.err >&5 2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2575 (exit $ac_status); } && 2576 { ac_try='test -z "$ac_c_werror_flag" 2577 || test ! -s conftest.err' 2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2579 (eval $ac_try) 2>&5 2478 2580 ac_status=$? 2479 2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2480 (exit $ac_status); } &&2481 { ac_try='test -s conftest.$ac_objext'2582 (exit $ac_status); }; } && 2583 { ac_try='test -s conftest.$ac_objext' 2482 2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2483 2585 (eval $ac_try) 2>&5 … … 2492 2594 ac_cv_prog_cc_g=no 2493 2595 fi 2494 rm -f conftest. $ac_objext conftest.$ac_ext2596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2495 2597 fi 2496 2598 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2519 2621 ac_save_CC=$CC 2520 2622 cat >conftest.$ac_ext <<_ACEOF 2521 #line $LINENO "configure"2522 2623 /* confdefs.h. */ 2523 2624 _ACEOF … … 2547 2648 return s; 2548 2649 } 2650 2651 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2652 function prototypes and stuff, but not '\xHH' hex character constants. 2653 These don't provoke an error unfortunately, instead are silently treated 2654 as 'x'. The following induces an error, until -std1 is added to get 2655 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2656 array size at least. It's necessary to write '\x00'==0 to get something 2657 that's true only with -std1. */ 2658 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2659 2549 2660 int test (int i, double x); 2550 2661 struct s1 {int (*f) (int a);}; … … 2573 2684 rm -f conftest.$ac_objext 2574 2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2575 (eval $ac_compile) 2>&5 2686 (eval $ac_compile) 2>conftest.er1 2687 ac_status=$? 2688 grep -v '^ *+' conftest.er1 >conftest.err 2689 rm -f conftest.er1 2690 cat conftest.err >&5 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); } && 2693 { ac_try='test -z "$ac_c_werror_flag" 2694 || test ! -s conftest.err' 2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2696 (eval $ac_try) 2>&5 2576 2697 ac_status=$? 2577 2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2578 (exit $ac_status); } &&2579 { ac_try='test -s conftest.$ac_objext'2699 (exit $ac_status); }; } && 2700 { ac_try='test -s conftest.$ac_objext' 2580 2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2581 2702 (eval $ac_try) 2>&5 … … 2590 2711 2591 2712 fi 2592 rm -f conftest. $ac_objext2713 rm -f conftest.err conftest.$ac_objext 2593 2714 done 2594 2715 rm -f conftest.$ac_ext conftest.$ac_objext … … 2618 2739 rm -f conftest.$ac_objext 2619 2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2620 (eval $ac_compile) 2>&5 2741 (eval $ac_compile) 2>conftest.er1 2742 ac_status=$? 2743 grep -v '^ *+' conftest.er1 >conftest.err 2744 rm -f conftest.er1 2745 cat conftest.err >&5 2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2747 (exit $ac_status); } && 2748 { ac_try='test -z "$ac_c_werror_flag" 2749 || test ! -s conftest.err' 2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2751 (eval $ac_try) 2>&5 2621 2752 ac_status=$? 2622 2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2623 (exit $ac_status); } &&2624 { ac_try='test -s conftest.$ac_objext'2754 (exit $ac_status); }; } && 2755 { ac_try='test -s conftest.$ac_objext' 2625 2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2626 2757 (eval $ac_try) 2>&5 … … 2629 2760 (exit $ac_status); }; }; then 2630 2761 for ac_declaration in \ 2631 ''\ 2632 '#include <stdlib.h>' \ 2762 '' \ 2633 2763 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2634 2764 'extern "C" void std::exit (int); using std::exit;' \ … … 2638 2768 do 2639 2769 cat >conftest.$ac_ext <<_ACEOF 2640 #line $LINENO "configure"2641 2770 /* confdefs.h. */ 2642 2771 _ACEOF … … 2644 2773 cat >>conftest.$ac_ext <<_ACEOF 2645 2774 /* end confdefs.h. */ 2775 $ac_declaration 2646 2776 #include <stdlib.h> 2647 $ac_declaration2648 2777 int 2649 2778 main () … … 2656 2785 rm -f conftest.$ac_objext 2657 2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2658 (eval $ac_compile) 2>&5 2787 (eval $ac_compile) 2>conftest.er1 2788 ac_status=$? 2789 grep -v '^ *+' conftest.er1 >conftest.err 2790 rm -f conftest.er1 2791 cat conftest.err >&5 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); } && 2794 { ac_try='test -z "$ac_c_werror_flag" 2795 || test ! -s conftest.err' 2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2797 (eval $ac_try) 2>&5 2659 2798 ac_status=$? 2660 2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2661 (exit $ac_status); } &&2662 { ac_try='test -s conftest.$ac_objext'2800 (exit $ac_status); }; } && 2801 { ac_try='test -s conftest.$ac_objext' 2663 2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2664 2803 (eval $ac_try) 2>&5 … … 2673 2812 continue 2674 2813 fi 2675 rm -f conftest. $ac_objext conftest.$ac_ext2814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2676 2815 cat >conftest.$ac_ext <<_ACEOF 2677 #line $LINENO "configure"2678 2816 /* confdefs.h. */ 2679 2817 _ACEOF … … 2692 2830 rm -f conftest.$ac_objext 2693 2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2694 (eval $ac_compile) 2>&5 2832 (eval $ac_compile) 2>conftest.er1 2833 ac_status=$? 2834 grep -v '^ *+' conftest.er1 >conftest.err 2835 rm -f conftest.er1 2836 cat conftest.err >&5 2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2838 (exit $ac_status); } && 2839 { ac_try='test -z "$ac_c_werror_flag" 2840 || test ! -s conftest.err' 2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2842 (eval $ac_try) 2>&5 2695 2843 ac_status=$? 2696 2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 (exit $ac_status); } &&2698 { ac_try='test -s conftest.$ac_objext'2845 (exit $ac_status); }; } && 2846 { ac_try='test -s conftest.$ac_objext' 2699 2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2700 2848 (eval $ac_try) 2>&5 … … 2708 2856 2709 2857 fi 2710 rm -f conftest. $ac_objext conftest.$ac_ext2858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2711 2859 done 2712 2860 rm -f conftest* … … 2722 2870 2723 2871 fi 2724 rm -f conftest. $ac_objext conftest.$ac_ext2872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2725 2873 ac_ext=c 2726 2874 ac_cpp='$CPP $CPPFLAGS' … … 2728 2876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2729 2877 ac_compiler_gnu=$ac_cv_c_compiler_gnu 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 2878 DEPDIR="${am__leading_dot}deps" 2740 2879 2741 2880 ac_config_commands="$ac_config_commands depfiles" … … 2744 2883 am_make=${MAKE-make} 2745 2884 cat > confinc << 'END' 2746 doit:2885 am__doit: 2747 2886 @echo done 2887 .PHONY: am__doit 2748 2888 END 2749 2889 # If we don't find an include directive, just comment out the code. … … 2760 2900 # be invoked under some other name (usually "gmake"), in which 2761 2901 # case it prints its new name instead of `make'. 2762 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then2902 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2763 2903 am__include=include 2764 2904 am__quote= … … 2820 2960 cp "$am_depcomp" conftest.dir 2821 2961 cd conftest.dir 2962 # We will build objects and dependencies in a subdirectory because 2963 # it helps to detect inapplicable dependency modes. For instance 2964 # both Tru64's cc and ICC support -MD to output dependencies as a 2965 # side effect of compilation, but ICC will put the dependencies in 2966 # the current directory while Tru64 will put them in the object 2967 # directory. 2968 mkdir sub 2822 2969 2823 2970 am_cv_CC_dependencies_compiler_type=none … … 2826 2973 fi 2827 2974 for depmode in $am_compiler_list; do 2975 # Setup a source with many dependencies, because some compilers 2976 # like to wrap large dependency lists on column 80 (with \), and 2977 # we should not choose a depcomp mode which is confused by this. 2978 # 2828 2979 # We need to recreate these files for each test, as the compiler may 2829 2980 # overwrite some of them when testing with obscure command lines. 2830 2981 # This happens at least with the AIX C compiler. 2831 echo '#include "conftest.h"' > conftest.c 2832 echo 'int i;' > conftest.h 2833 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2982 : > sub/conftest.c 2983 for i in 1 2 3 4 5 6; do 2984 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2985 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2986 # Solaris 8's {/usr,}/bin/sh. 2987 touch sub/conftst$i.h 2988 done 2989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2834 2990 2835 2991 case $depmode in … … 2849 3005 # handle `-M -o', and we need to detect this. 2850 3006 if depmode=$depmode \ 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 && 3007 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3008 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3009 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3010 >/dev/null 2>conftest.err && 3011 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3012 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2855 3013 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2856 am_cv_CC_dependencies_compiler_type=$depmode 2857 break 3014 # icc doesn't choke on unknown options, it will just issue warnings 3015 # or remarks (even with -Werror). So we grep stderr for any message 3016 # that says an option was ignored or not supported. 3017 # When given -MP, icc 7.0 and 7.1 complain thusly: 3018 # icc: Command line warning: ignoring option '-M'; no argument required 3019 # The diagnosis changed in icc 8.0: 3020 # icc: Command line remark: option '-MP' not supported 3021 if (grep 'ignoring option' conftest.err || 3022 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3023 am_cv_CC_dependencies_compiler_type=$depmode 3024 break 3025 fi 2858 3026 fi 2859 3027 done … … 2869 3037 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2870 3038 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3039 3040 3041 3042 if 3043 test "x$enable_dependency_tracking" != xno \ 3044 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3045 am__fastdepCC_TRUE= 3046 am__fastdepCC_FALSE='#' 3047 else 3048 am__fastdepCC_TRUE='#' 3049 am__fastdepCC_FALSE= 3050 fi 2871 3051 2872 3052 … … 2887 3067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2888 3068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3069 # OS/2's system install, which has a completely different semantic 2889 3070 # ./install, which can be erroneously created by make from ./install.sh. 2890 3071 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 2903 3084 ./ | .// | /cC/* | \ 2904 3085 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3086 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2905 3087 /usr/ucb/* ) ;; 2906 3088 *) … … 2910 3092 for ac_prog in ginstall scoinst install; do 2911 3093 for ac_exec_ext in '' $ac_executable_extensions; do 2912 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2913 if test $ac_prog = install &&2914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2915 # AIX install. It has an incompatible calling convention.2916 :2917 elif test $ac_prog = install &&2918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2919 # program-specific install script used by HP pwplus--don't use.2920 :2921 else2922 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2923 break 32924 fi2925 fi3094 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3095 if test $ac_prog = install && 3096 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3097 # AIX install. It has an incompatible calling convention. 3098 : 3099 elif test $ac_prog = install && 3100 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3101 # program-specific install script used by HP pwplus--don't use. 3102 : 3103 else 3104 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3105 break 3 3106 fi 3107 fi 2926 3108 done 2927 3109 done … … 3175 3357 [\\/]* | ?:[\\/]*) 3176 3358 re_direlt='/[^/][^/]*/\.\./' 3177 # Canonicalize the path of ld3359 # Canonicalize the pathname of ld 3178 3360 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 3179 3361 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 3244 3426 else 3245 3427 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3246 case ` "$LD"-v 2>&1 </dev/null` in3428 case `$LD -v 2>&1 </dev/null` in 3247 3429 *GNU* | *'with BFD'*) 3248 3430 lt_cv_prog_gnu_ld=yes … … 3272 3454 *) reload_flag=" $reload_flag" ;; 3273 3455 esac 3274 reload_cmds='$ CC -nostdlib -Xlinker$reload_flag $archargs-o $output$reload_objs'3456 reload_cmds='$LD$reload_flag -o $output$reload_objs' 3275 3457 3276 3458 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 … … 3365 3547 ;; 3366 3548 3367 cygwin* | mingw* | pw32*)3368 # win32_libid is a shell function defined in ltmain.sh3549 cygwin*) 3550 # func_win32_libid is a shell function defined in ltmain.sh 3369 3551 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 3370 lt_cv_file_magic_cmd=' win32_libid'3552 lt_cv_file_magic_cmd='func_win32_libid' 3371 3553 ;; 3372 3554 3555 mingw* | pw32*) 3556 # Base MSYS/MinGW do not provide the 'file' command needed by 3557 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 3558 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 3559 lt_cv_file_magic_cmd='$OBJDUMP -f' 3560 ;; 3561 3373 3562 darwin* | rhapsody*) 3374 # this will be overwritten by pass_all, but leave it in just in case3375 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" in3378 rhapsody* | darwin1.[012])3379 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`3380 ;;3381 *) # Darwin 1.3 on3382 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'3383 ;;3384 esac3385 3563 lt_cv_deplibs_check_method=pass_all 3386 3564 ;; 3387 3565 3388 freebsd* )3566 freebsd* | kfreebsd*-gnu) 3389 3567 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3390 3568 case $host_cpu in … … 3425 3603 3426 3604 irix5* | irix6* | nonstopux*) 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 ;; 3605 case $LD in 3606 *-32|*"-32 ") libmagic=32-bit;; 3607 *-n32|*"-n32 ") libmagic=N32;; 3608 *-64|*"-64 ") libmagic=64-bit;; 3609 *) libmagic=never-match;; 3442 3610 esac 3443 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`3444 3611 lt_cv_deplibs_check_method=pass_all 3445 3612 ;; … … 3448 3615 linux*) 3449 3616 case $host_cpu in 3450 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)3617 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) 3451 3618 lt_cv_deplibs_check_method=pass_all ;; 3452 3619 *) 3453 3620 # glibc up to 2.1.1 does not perform some relocations on ARM 3621 # this will be overridden with pass_all, but let us keep it just in case 3454 3622 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3455 3623 esac 3456 3624 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3625 lt_cv_deplibs_check_method=pass_all 3457 3626 ;; 3458 3627 … … 3471 3640 ;; 3472 3641 3473 nto-qnx )3642 nto-qnx*) 3474 3643 lt_cv_deplibs_check_method=unknown 3475 3644 ;; … … 3486 3655 3487 3656 osf3* | osf4* | osf5*) 3488 # this will be overridden with pass_all, but let us keep it just in case3489 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'3490 lt_cv_file_magic_test_file=/shlib/libc.so3491 3657 lt_cv_deplibs_check_method=pass_all 3492 3658 ;; … … 3498 3664 solaris*) 3499 3665 lt_cv_deplibs_check_method=pass_all 3500 lt_cv_file_magic_test_file=/lib/libc.so3501 3666 ;; 3502 3667 … … 3578 3743 *-*-irix6*) 3579 3744 # Find out which ABI we are using. 3580 echo '#line 3 580"configure"' > conftest.$ac_ext3745 echo '#line 3745 "configure"' > conftest.$ac_ext 3581 3746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3582 3747 (eval $ac_compile) 2>&5 … … 3627 3792 LD="${LD-ld} -m elf_i386" 3628 3793 ;; 3629 ppc64-*linux* )3794 ppc64-*linux*|powerpc64-*linux*) 3630 3795 LD="${LD-ld} -m elf32ppclinux" 3631 3796 ;; … … 3675 3840 3676 3841 cat >conftest.$ac_ext <<_ACEOF 3677 #line $LINENO "configure"3678 3842 /* confdefs.h. */ 3679 3843 _ACEOF … … 3692 3856 rm -f conftest.$ac_objext conftest$ac_exeext 3693 3857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3694 (eval $ac_link) 2>&5 3858 (eval $ac_link) 2>conftest.er1 3859 ac_status=$? 3860 grep -v '^ *+' conftest.er1 >conftest.err 3861 rm -f conftest.er1 3862 cat conftest.err >&5 3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3864 (exit $ac_status); } && 3865 { ac_try='test -z "$ac_c_werror_flag" 3866 || test ! -s conftest.err' 3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3868 (eval $ac_try) 2>&5 3695 3869 ac_status=$? 3696 3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3697 (exit $ac_status); } &&3698 { ac_try='test -s conftest$ac_exeext'3871 (exit $ac_status); }; } && 3872 { ac_try='test -s conftest$ac_exeext' 3699 3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3700 3874 (eval $ac_try) 2>&5 … … 3709 3883 lt_cv_cc_needs_belf=no 3710 3884 fi 3711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3885 rm -f conftest.err conftest.$ac_objext \ 3886 conftest$ac_exeext conftest.$ac_ext 3712 3887 ac_ext=c 3713 3888 ac_cpp='$CPP $CPPFLAGS' … … 3758 3933 # not just through cpp. "Syntax error" is here to catch this case. 3759 3934 cat >conftest.$ac_ext <<_ACEOF 3760 #line $LINENO "configure"3761 3935 /* confdefs.h. */ 3762 3936 _ACEOF … … 3769 3943 # include <assert.h> 3770 3944 #endif 3771 Syntax error3945 Syntax error 3772 3946 _ACEOF 3773 3947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3781 3955 if test -s conftest.err; then 3782 3956 ac_cpp_err=$ac_c_preproc_warn_flag 3957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3783 3958 else 3784 3959 ac_cpp_err= … … 3801 3976 # can be detected and how. 3802 3977 cat >conftest.$ac_ext <<_ACEOF 3803 #line $LINENO "configure"3804 3978 /* confdefs.h. */ 3805 3979 _ACEOF … … 3819 3993 if test -s conftest.err; then 3820 3994 ac_cpp_err=$ac_c_preproc_warn_flag 3995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3821 3996 else 3822 3997 ac_cpp_err= … … 3865 4040 # not just through cpp. "Syntax error" is here to catch this case. 3866 4041 cat >conftest.$ac_ext <<_ACEOF 3867 #line $LINENO "configure"3868 4042 /* confdefs.h. */ 3869 4043 _ACEOF … … 3876 4050 # include <assert.h> 3877 4051 #endif 3878 Syntax error4052 Syntax error 3879 4053 _ACEOF 3880 4054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3888 4062 if test -s conftest.err; then 3889 4063 ac_cpp_err=$ac_c_preproc_warn_flag 4064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3890 4065 else 3891 4066 ac_cpp_err= … … 3908 4083 # can be detected and how. 3909 4084 cat >conftest.$ac_ext <<_ACEOF 3910 #line $LINENO "configure"3911 4085 /* confdefs.h. */ 3912 4086 _ACEOF … … 3926 4100 if test -s conftest.err; then 3927 4101 ac_cpp_err=$ac_c_preproc_warn_flag 4102 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3928 4103 else 3929 4104 ac_cpp_err= … … 3971 4146 else 3972 4147 cat >conftest.$ac_ext <<_ACEOF 3973 #line $LINENO "configure"3974 4148 /* confdefs.h. */ 3975 4149 _ACEOF … … 3992 4166 rm -f conftest.$ac_objext 3993 4167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3994 (eval $ac_compile) 2>&5 4168 (eval $ac_compile) 2>conftest.er1 4169 ac_status=$? 4170 grep -v '^ *+' conftest.er1 >conftest.err 4171 rm -f conftest.er1 4172 cat conftest.err >&5 4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4174 (exit $ac_status); } && 4175 { ac_try='test -z "$ac_c_werror_flag" 4176 || test ! -s conftest.err' 4177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4178 (eval $ac_try) 2>&5 3995 4179 ac_status=$? 3996 4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3997 (exit $ac_status); } &&3998 { ac_try='test -s conftest.$ac_objext'4181 (exit $ac_status); }; } && 4182 { ac_try='test -s conftest.$ac_objext' 3999 4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4000 4184 (eval $ac_try) 2>&5 … … 4009 4193 ac_cv_header_stdc=no 4010 4194 fi 4011 rm -f conftest. $ac_objext conftest.$ac_ext4195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4012 4196 4013 4197 if test $ac_cv_header_stdc = yes; then 4014 4198 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4015 4199 cat >conftest.$ac_ext <<_ACEOF 4016 #line $LINENO "configure"4017 4200 /* confdefs.h. */ 4018 4201 _ACEOF … … 4036 4219 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4037 4220 cat >conftest.$ac_ext <<_ACEOF 4038 #line $LINENO "configure"4039 4221 /* confdefs.h. */ 4040 4222 _ACEOF … … 4061 4243 else 4062 4244 cat >conftest.$ac_ext <<_ACEOF 4063 #line $LINENO "configure"4064 4245 /* confdefs.h. */ 4065 4246 _ACEOF … … 4073 4254 #else 4074 4255 # define ISLOWER(c) \ 4075 (('a' <= (c) && (c) <= 'i') \4076 || ('j' <= (c) && (c) <= 'r') \4077 || ('s' <= (c) && (c) <= 'z'))4256 (('a' <= (c) && (c) <= 'i') \ 4257 || ('j' <= (c) && (c) <= 'r') \ 4258 || ('s' <= (c) && (c) <= 'z')) 4078 4259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4079 4260 #endif … … 4086 4267 for (i = 0; i < 256; i++) 4087 4268 if (XOR (islower (i), ISLOWER (i)) 4088 || toupper (i) != TOUPPER (i))4269 || toupper (i) != TOUPPER (i)) 4089 4270 exit(2); 4090 4271 exit (0); … … 4111 4292 ac_cv_header_stdc=no 4112 4293 fi 4113 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4114 4295 fi 4115 4296 fi … … 4136 4317 4137 4318 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4138 inttypes.h stdint.h unistd.h4319 inttypes.h stdint.h unistd.h 4139 4320 do 4140 4321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4145 4326 else 4146 4327 cat >conftest.$ac_ext <<_ACEOF 4147 #line $LINENO "configure"4148 4328 /* confdefs.h. */ 4149 4329 _ACEOF … … 4157 4337 rm -f conftest.$ac_objext 4158 4338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4159 (eval $ac_compile) 2>&5 4339 (eval $ac_compile) 2>conftest.er1 4340 ac_status=$? 4341 grep -v '^ *+' conftest.er1 >conftest.err 4342 rm -f conftest.er1 4343 cat conftest.err >&5 4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4345 (exit $ac_status); } && 4346 { ac_try='test -z "$ac_c_werror_flag" 4347 || test ! -s conftest.err' 4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4349 (eval $ac_try) 2>&5 4160 4350 ac_status=$? 4161 4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); } &&4163 { ac_try='test -s conftest.$ac_objext'4352 (exit $ac_status); }; } && 4353 { ac_try='test -s conftest.$ac_objext' 4164 4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 4355 (eval $ac_try) 2>&5 … … 4174 4364 eval "$as_ac_Header=no" 4175 4365 fi 4176 rm -f conftest. $ac_objext conftest.$ac_ext4366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4177 4367 fi 4178 4368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4205 4395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4206 4396 cat >conftest.$ac_ext <<_ACEOF 4207 #line $LINENO "configure"4208 4397 /* confdefs.h. */ 4209 4398 _ACEOF … … 4216 4405 rm -f conftest.$ac_objext 4217 4406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4218 (eval $ac_compile) 2>&5 4407 (eval $ac_compile) 2>conftest.er1 4408 ac_status=$? 4409 grep -v '^ *+' conftest.er1 >conftest.err 4410 rm -f conftest.er1 4411 cat conftest.err >&5 4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4413 (exit $ac_status); } && 4414 { ac_try='test -z "$ac_c_werror_flag" 4415 || test ! -s conftest.err' 4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4417 (eval $ac_try) 2>&5 4219 4418 ac_status=$? 4220 4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4221 (exit $ac_status); } &&4222 { ac_try='test -s conftest.$ac_objext'4420 (exit $ac_status); }; } && 4421 { ac_try='test -s conftest.$ac_objext' 4223 4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4224 4423 (eval $ac_try) 2>&5 … … 4233 4432 ac_header_compiler=no 4234 4433 fi 4235 rm -f conftest. $ac_objext conftest.$ac_ext4434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4236 4435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4237 4436 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4241 4440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4242 4441 cat >conftest.$ac_ext <<_ACEOF 4243 #line $LINENO "configure"4244 4442 /* confdefs.h. */ 4245 4443 _ACEOF … … 4259 4457 if test -s conftest.err; then 4260 4458 ac_cpp_err=$ac_c_preproc_warn_flag 4459 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4261 4460 else 4262 4461 ac_cpp_err= … … 4278 4477 4279 4478 # So? What about this header? 4280 case $ac_header_compiler:$ac_header_preproc in4281 yes:no )4479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4480 yes:no: ) 4282 4481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4283 4482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4485 ac_header_preproc=yes 4486 ;; 4487 no:yes:* ) 4488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4284 4496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4285 4497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4286 4500 ( 4287 4501 cat <<\_ASBOX 4288 ## ------------------------------------ ## 4289 ## Report this to bug-autoconf@gnu.org. ## 4290 ## ------------------------------------ ## 4291 _ASBOX 4292 ) | 4293 sed "s/^/$as_me: WARNING: /" >&2 4294 ;; 4295 no:yes ) 4296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4302 ( 4303 cat <<\_ASBOX 4304 ## ------------------------------------ ## 4305 ## Report this to bug-autoconf@gnu.org. ## 4306 ## ------------------------------------ ## 4502 ## ------------------------------------------ ## 4503 ## Report this to the AC_PACKAGE_NAME lists. ## 4504 ## ------------------------------------------ ## 4307 4505 _ASBOX 4308 4506 ) | … … 4315 4513 echo $ECHO_N "(cached) $ECHO_C" >&6 4316 4514 else 4317 eval "$as_ac_Header= $ac_header_preproc"4515 eval "$as_ac_Header=\$ac_header_preproc" 4318 4516 fi 4319 4517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4449 4647 else 4450 4648 cat >conftest.$ac_ext <<_ACEOF 4451 #line $LINENO "configure"4452 4649 /* confdefs.h. */ 4453 4650 _ACEOF … … 4469 4666 rm -f conftest.$ac_objext 4470 4667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4471 (eval $ac_compile) 2>&5 4668 (eval $ac_compile) 2>conftest.er1 4669 ac_status=$? 4670 grep -v '^ *+' conftest.er1 >conftest.err 4671 rm -f conftest.er1 4672 cat conftest.err >&5 4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 (exit $ac_status); } && 4675 { ac_try='test -z "$ac_cxx_werror_flag" 4676 || test ! -s conftest.err' 4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4678 (eval $ac_try) 2>&5 4472 4679 ac_status=$? 4473 4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4474 (exit $ac_status); } &&4475 { ac_try='test -s conftest.$ac_objext'4681 (exit $ac_status); }; } && 4682 { ac_try='test -s conftest.$ac_objext' 4476 4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4477 4684 (eval $ac_try) 2>&5 … … 4486 4693 ac_compiler_gnu=no 4487 4694 fi 4488 rm -f conftest. $ac_objext conftest.$ac_ext4695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4489 4696 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4490 4697 … … 4502 4709 else 4503 4710 cat >conftest.$ac_ext <<_ACEOF 4504 #line $LINENO "configure"4505 4711 /* confdefs.h. */ 4506 4712 _ACEOF … … 4519 4725 rm -f conftest.$ac_objext 4520 4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4521 (eval $ac_compile) 2>&5 4727 (eval $ac_compile) 2>conftest.er1 4728 ac_status=$? 4729 grep -v '^ *+' conftest.er1 >conftest.err 4730 rm -f conftest.er1 4731 cat conftest.err >&5 4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4733 (exit $ac_status); } && 4734 { ac_try='test -z "$ac_cxx_werror_flag" 4735 || test ! -s conftest.err' 4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4737 (eval $ac_try) 2>&5 4522 4738 ac_status=$? 4523 4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4524 (exit $ac_status); } &&4525 { ac_try='test -s conftest.$ac_objext'4740 (exit $ac_status); }; } && 4741 { ac_try='test -s conftest.$ac_objext' 4526 4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4527 4743 (eval $ac_try) 2>&5 … … 4536 4752 ac_cv_prog_cxx_g=no 4537 4753 fi 4538 rm -f conftest. $ac_objext conftest.$ac_ext4754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4539 4755 fi 4540 4756 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 4556 4772 fi 4557 4773 for ac_declaration in \ 4558 ''\ 4559 '#include <stdlib.h>' \ 4774 '' \ 4560 4775 'extern "C" void std::exit (int) throw (); using std::exit;' \ 4561 4776 'extern "C" void std::exit (int); using std::exit;' \ … … 4565 4780 do 4566 4781 cat >conftest.$ac_ext <<_ACEOF 4567 #line $LINENO "configure"4568 4782 /* confdefs.h. */ 4569 4783 _ACEOF … … 4571 4785 cat >>conftest.$ac_ext <<_ACEOF 4572 4786 /* end confdefs.h. */ 4787 $ac_declaration 4573 4788 #include <stdlib.h> 4574 $ac_declaration4575 4789 int 4576 4790 main () … … 4583 4797 rm -f conftest.$ac_objext 4584 4798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4585 (eval $ac_compile) 2>&5 4799 (eval $ac_compile) 2>conftest.er1 4800 ac_status=$? 4801 grep -v '^ *+' conftest.er1 >conftest.err 4802 rm -f conftest.er1 4803 cat conftest.err >&5 4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4805 (exit $ac_status); } && 4806 { ac_try='test -z "$ac_cxx_werror_flag" 4807 || test ! -s conftest.err' 4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4809 (eval $ac_try) 2>&5 4586 4810 ac_status=$? 4587 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4588 (exit $ac_status); } &&4589 { ac_try='test -s conftest.$ac_objext'4812 (exit $ac_status); }; } && 4813 { ac_try='test -s conftest.$ac_objext' 4590 4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4591 4815 (eval $ac_try) 2>&5 … … 4600 4824 continue 4601 4825 fi 4602 rm -f conftest. $ac_objext conftest.$ac_ext4826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4603 4827 cat >conftest.$ac_ext <<_ACEOF 4604 #line $LINENO "configure"4605 4828 /* confdefs.h. */ 4606 4829 _ACEOF … … 4619 4842 rm -f conftest.$ac_objext 4620 4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4621 (eval $ac_compile) 2>&5 4844 (eval $ac_compile) 2>conftest.er1 4845 ac_status=$? 4846 grep -v '^ *+' conftest.er1 >conftest.err 4847 rm -f conftest.er1 4848 cat conftest.err >&5 4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4850 (exit $ac_status); } && 4851 { ac_try='test -z "$ac_cxx_werror_flag" 4852 || test ! -s conftest.err' 4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4854 (eval $ac_try) 2>&5 4622 4855 ac_status=$? 4623 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); } &&4625 { ac_try='test -s conftest.$ac_objext'4857 (exit $ac_status); }; } && 4858 { ac_try='test -s conftest.$ac_objext' 4626 4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4627 4860 (eval $ac_try) 2>&5 … … 4635 4868 4636 4869 fi 4637 rm -f conftest. $ac_objext conftest.$ac_ext4870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4638 4871 done 4639 4872 rm -f conftest* … … 4668 4901 cp "$am_depcomp" conftest.dir 4669 4902 cd conftest.dir 4903 # We will build objects and dependencies in a subdirectory because 4904 # it helps to detect inapplicable dependency modes. For instance 4905 # both Tru64's cc and ICC support -MD to output dependencies as a 4906 # side effect of compilation, but ICC will put the dependencies in 4907 # the current directory while Tru64 will put them in the object 4908 # directory. 4909 mkdir sub 4670 4910 4671 4911 am_cv_CXX_dependencies_compiler_type=none … … 4674 4914 fi 4675 4915 for depmode in $am_compiler_list; do 4916 # Setup a source with many dependencies, because some compilers 4917 # like to wrap large dependency lists on column 80 (with \), and 4918 # we should not choose a depcomp mode which is confused by this. 4919 # 4676 4920 # We need to recreate these files for each test, as the compiler may 4677 4921 # overwrite some of them when testing with obscure command lines. 4678 4922 # This happens at least with the AIX C compiler. 4679 echo '#include "conftest.h"' > conftest.c 4680 echo 'int i;' > conftest.h 4681 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 4923 : > sub/conftest.c 4924 for i in 1 2 3 4 5 6; do 4925 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4926 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4927 # Solaris 8's {/usr,}/bin/sh. 4928 touch sub/conftst$i.h 4929 done 4930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4682 4931 4683 4932 case $depmode in … … 4697 4946 # handle `-M -o', and we need to detect this. 4698 4947 if depmode=$depmode \ 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 && 4948 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4949 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4950 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4951 >/dev/null 2>conftest.err && 4952 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4953 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4703 4954 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4704 am_cv_CXX_dependencies_compiler_type=$depmode 4705 break 4955 # icc doesn't choke on unknown options, it will just issue warnings 4956 # or remarks (even with -Werror). So we grep stderr for any message 4957 # that says an option was ignored or not supported. 4958 # When given -MP, icc 7.0 and 7.1 complain thusly: 4959 # icc: Command line warning: ignoring option '-M'; no argument required 4960 # The diagnosis changed in icc 8.0: 4961 # icc: Command line remark: option '-MP' not supported 4962 if (grep 'ignoring option' conftest.err || 4963 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4964 am_cv_CXX_dependencies_compiler_type=$depmode 4965 break 4966 fi 4706 4967 fi 4707 4968 done … … 4717 4978 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 4718 4979 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4980 4981 4982 4983 if 4984 test "x$enable_dependency_tracking" != xno \ 4985 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4986 am__fastdepCXX_TRUE= 4987 am__fastdepCXX_FALSE='#' 4988 else 4989 am__fastdepCXX_TRUE='#' 4990 am__fastdepCXX_FALSE= 4991 fi 4719 4992 4720 4993 … … 4743 5016 # not just through cpp. "Syntax error" is here to catch this case. 4744 5017 cat >conftest.$ac_ext <<_ACEOF 4745 #line $LINENO "configure"4746 5018 /* confdefs.h. */ 4747 5019 _ACEOF … … 4754 5026 # include <assert.h> 4755 5027 #endif 4756 Syntax error5028 Syntax error 4757 5029 _ACEOF 4758 5030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 4766 5038 if test -s conftest.err; then 4767 5039 ac_cpp_err=$ac_cxx_preproc_warn_flag 5040 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4768 5041 else 4769 5042 ac_cpp_err= … … 4786 5059 # can be detected and how. 4787 5060 cat >conftest.$ac_ext <<_ACEOF 4788 #line $LINENO "configure"4789 5061 /* confdefs.h. */ 4790 5062 _ACEOF … … 4804 5076 if test -s conftest.err; then 4805 5077 ac_cpp_err=$ac_cxx_preproc_warn_flag 5078 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4806 5079 else 4807 5080 ac_cpp_err= … … 4850 5123 # not just through cpp. "Syntax error" is here to catch this case. 4851 5124 cat >conftest.$ac_ext <<_ACEOF 4852 #line $LINENO "configure"4853 5125 /* confdefs.h. */ 4854 5126 _ACEOF … … 4861 5133 # include <assert.h> 4862 5134 #endif 4863 Syntax error5135 Syntax error 4864 5136 _ACEOF 4865 5137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 4873 5145 if test -s conftest.err; then 4874 5146 ac_cpp_err=$ac_cxx_preproc_warn_flag 5147 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4875 5148 else 4876 5149 ac_cpp_err= … … 4893 5166 # can be detected and how. 4894 5167 cat >conftest.$ac_ext <<_ACEOF 4895 #line $LINENO "configure"4896 5168 /* confdefs.h. */ 4897 5169 _ACEOF … … 4911 5183 if test -s conftest.err; then 4912 5184 ac_cpp_err=$ac_cxx_preproc_warn_flag 5185 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4913 5186 else 4914 5187 ac_cpp_err= … … 4955 5228 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 4956 5229 if test -n "$ac_tool_prefix"; then 4957 for ac_prog in g77 f77 xlf frt pgf77 f l32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g955230 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 4958 5231 do 4959 5232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. … … 4997 5270 if test -z "$F77"; then 4998 5271 ac_ct_F77=$F77 4999 for ac_prog in g77 f77 xlf frt pgf77 f l32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g955272 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 5000 5273 do 5001 5274 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 5042 5315 5043 5316 # Provide some information about the compiler. 5044 echo "$as_me:5 044:" \5317 echo "$as_me:5317:" \ 5045 5318 "checking for Fortran 77 compiler version" >&5 5046 5319 ac_compiler=`set X $ac_compile; echo $2` … … 5060 5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5061 5334 (exit $ac_status); } 5335 rm -f a.out 5062 5336 5063 5337 # If we don't use `.F' as extension, the preprocessor is not run on the 5064 # input file. 5338 # input file. (Note that this only needs to work for GNU compilers.) 5065 5339 ac_save_ext=$ac_ext 5066 5340 ac_ext=F … … 5080 5354 rm -f conftest.$ac_objext 5081 5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5082 (eval $ac_compile) 2>&5 5356 (eval $ac_compile) 2>conftest.er1 5357 ac_status=$? 5358 grep -v '^ *+' conftest.er1 >conftest.err 5359 rm -f conftest.er1 5360 cat conftest.err >&5 5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5362 (exit $ac_status); } && 5363 { ac_try='test -z "$ac_f77_werror_flag" 5364 || test ! -s conftest.err' 5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5366 (eval $ac_try) 2>&5 5083 5367 ac_status=$? 5084 5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); } &&5086 { ac_try='test -s conftest.$ac_objext'5369 (exit $ac_status); }; } && 5370 { ac_try='test -s conftest.$ac_objext' 5087 5371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5088 5372 (eval $ac_try) 2>&5 … … 5097 5381 ac_compiler_gnu=no 5098 5382 fi 5099 rm -f conftest. $ac_objext conftest.$ac_ext5383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5100 5384 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 5101 5385 … … 5104 5388 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 5105 5389 ac_ext=$ac_save_ext 5106 G77=`test $ac_compiler_gnu = yes && echo yes`5107 5390 ac_test_FFLAGS=${FFLAGS+set} 5108 5391 ac_save_FFLAGS=$FFLAGS … … 5121 5404 rm -f conftest.$ac_objext 5122 5405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5123 (eval $ac_compile) 2>&5 5406 (eval $ac_compile) 2>conftest.er1 5407 ac_status=$? 5408 grep -v '^ *+' conftest.er1 >conftest.err 5409 rm -f conftest.er1 5410 cat conftest.err >&5 5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5412 (exit $ac_status); } && 5413 { ac_try='test -z "$ac_f77_werror_flag" 5414 || test ! -s conftest.err' 5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5416 (eval $ac_try) 2>&5 5124 5417 ac_status=$? 5125 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5126 (exit $ac_status); } &&5127 { ac_try='test -s conftest.$ac_objext'5419 (exit $ac_status); }; } && 5420 { ac_try='test -s conftest.$ac_objext' 5128 5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5129 5422 (eval $ac_try) 2>&5 … … 5138 5431 ac_cv_prog_f77_g=no 5139 5432 fi 5140 rm -f conftest. $ac_objext conftest.$ac_ext5433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5141 5434 5142 5435 fi … … 5146 5439 FFLAGS=$ac_save_FFLAGS 5147 5440 elif test $ac_cv_prog_f77_g = yes; then 5148 if test " $G77" =yes; then5441 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5149 5442 FFLAGS="-g -O2" 5150 5443 else … … 5152 5445 fi 5153 5446 else 5154 if test " $G77" =yes; then5447 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5155 5448 FFLAGS="-O2" 5156 5449 else … … 5158 5451 fi 5159 5452 fi 5453 5454 G77=`test $ac_compiler_gnu = yes && echo yes` 5160 5455 ac_ext=c 5161 5456 ac_cpp='$CPP $CPPFLAGS' … … 5175 5470 else 5176 5471 i=0 5177 test ring="ABCD"5472 teststring="ABCD" 5178 5473 5179 5474 case $build_os in … … 5204 5499 ;; 5205 5500 5501 amigaos*) 5502 # On AmigaOS with pdksh, this test takes hours, literally. 5503 # So we just punt and use a minimum line length of 8192. 5504 lt_cv_sys_max_cmd_len=8192; 5505 ;; 5506 5206 5507 *) 5207 5508 # If test is not a shell built-in, we'll probably end up computing a 5208 5509 # maximum length that is only half of the actual maximum length, but 5209 5510 # we can't tell. 5210 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$test ring" 2>/dev/null` \5211 = "XX$test ring") >/dev/null 2>&1 &&5212 new_result=`expr "X$test ring" : ".*" 2>&1` &&5511 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 5512 = "XX$teststring") >/dev/null 2>&1 && 5513 new_result=`expr "X$teststring" : ".*" 2>&1` && 5213 5514 lt_cv_sys_max_cmd_len=$new_result && 5214 5515 test $i != 17 # 1/2 MB should be enough 5215 5516 do 5216 5517 i=`expr $i + 1` 5217 test ring=$testring$testring5518 teststring=$teststring$teststring 5218 5519 done 5219 test ring=5520 teststring= 5220 5521 # Add a significant safety factor because C++ compilers can tack on massive 5221 5522 # amounts of additional arguments before passing them to the linker. … … 5285 5586 ;; 5286 5587 solaris* | sysv5*) 5287 symcode='[BD T]'5588 symcode='[BDRT]' 5288 5589 ;; 5289 5590 sysv4) … … 5303 5604 case `$NM -V 2>&1` in 5304 5605 *GNU* | *'with BFD'*) 5305 symcode='[ABCDGI STW]' ;;5606 symcode='[ABCDGIRSTW]' ;; 5306 5607 esac 5307 5608 … … 5482 5783 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5483 5784 5484 # Sed substitution to undo escaping of the cmd sep variable5485 unescape_variable_subst='s/\\\(${_S_}\)/\1/g'5486 5487 5785 # Sed substitution to avoid accidental globbing in evaled expressions 5488 5786 no_glob_subst='s/\*/\\\*/g' … … 5771 6069 case $host_os in 5772 6070 openbsd*) 5773 old_postinstall_cmds="\$RANLIB -t \$oldlib \${_S_}$old_postinstall_cmds"6071 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 5774 6072 ;; 5775 6073 *) 5776 old_postinstall_cmds="\$RANLIB \$oldlib \${_S_}$old_postinstall_cmds"6074 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" 5777 6075 ;; 5778 6076 esac 5779 old_archive_cmds="$old_archive_cmds \${_S_}\$RANLIB \$oldlib"6077 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5780 6078 fi 5781 6079 … … 6032 6330 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 6033 6331 6034 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6332 6333 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6035 6334 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 6036 6335 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 6050 6349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6051 6350 -e 's:$: $lt_compiler_flag:'` 6052 (eval echo "\"\$as_me:6 052: $lt_compile\"" >&5)6351 (eval echo "\"\$as_me:6351: $lt_compile\"" >&5) 6053 6352 (eval "$lt_compile" 2>conftest.err) 6054 6353 ac_status=$? 6055 6354 cat conftest.err >&5 6056 echo "$as_me:6 056: \$? = $ac_status" >&56355 echo "$as_me:6355: \$? = $ac_status" >&5 6057 6356 if (exit $ac_status) && test -s "$ac_outfile"; then 6058 6357 # The compiler can only warn and ignore the option if not recognized … … 6197 6496 linux*) 6198 6497 case $CC in 6199 icc |ecc)6498 icc* | ecc*) 6200 6499 lt_prog_compiler_wl='-Wl,' 6201 6500 lt_prog_compiler_pic='-KPIC' 6202 6501 lt_prog_compiler_static='-static' 6203 6502 ;; 6204 ccc )6503 ccc*) 6205 6504 lt_prog_compiler_wl='-Wl,' 6206 6505 # All Alpha code is PIC. … … 6264 6563 # 6265 6564 if test -n "$lt_prog_compiler_pic"; then 6266 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6565 6566 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6267 6567 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 6268 6568 if test "${lt_prog_compiler_pic_works+set}" = set; then … … 6282 6582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6283 6583 -e 's:$: $lt_compiler_flag:'` 6284 (eval echo "\"\$as_me:6 284: $lt_compile\"" >&5)6584 (eval echo "\"\$as_me:6584: $lt_compile\"" >&5) 6285 6585 (eval "$lt_compile" 2>conftest.err) 6286 6586 ac_status=$? 6287 6587 cat conftest.err >&5 6288 echo "$as_me:6 288: \$? = $ac_status" >&56588 echo "$as_me:6588: \$? = $ac_status" >&5 6289 6589 if (exit $ac_status) && test -s "$ac_outfile"; then 6290 6590 # The compiler can only warn and ignore the option if not recognized … … 6333 6633 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6334 6634 6335 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers6336 # that will create temporary files in the current directory regardless of6337 # the output directory. Thus, making CWD read-only will cause this test6338 # to fail, enabling locking or at least warning the user not to do parallel6339 # builds.6340 chmod -w .6341 6342 6635 lt_compiler_flag="-o out/conftest2.$ac_objext" 6343 6636 # Insert the option either (1) after the last *FLAGS variable, or … … 6349 6642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6350 6643 -e 's:$: $lt_compiler_flag:'` 6351 (eval echo "\"\$as_me:6 351: $lt_compile\"" >&5)6644 (eval echo "\"\$as_me:6644: $lt_compile\"" >&5) 6352 6645 (eval "$lt_compile" 2>out/conftest.err) 6353 6646 ac_status=$? 6354 6647 cat out/conftest.err >&5 6355 echo "$as_me:6 355: \$? = $ac_status" >&56648 echo "$as_me:6648: \$? = $ac_status" >&5 6356 6649 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6357 6650 then … … 6363 6656 fi 6364 6657 chmod u+w . 6365 $rm conftest* out/* 6366 rmdir out 6658 $rm conftest* 6659 # SGI C++ compiler will create directory out/ii_files/ for 6660 # template instantiation 6661 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 6662 $rm out/* && rmdir out 6367 6663 cd .. 6368 6664 rmdir conftest … … 6474 6770 6475 6771 amigaos*) 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)'6772 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)' 6477 6773 hardcode_libdir_flag_spec='-L$libdir' 6478 6774 hardcode_minus_L=yes … … 6516 6812 echo EXPORTS > $output_objdir/$soname.def; 6517 6813 cat $export_symbols >> $output_objdir/$soname.def; 6518 fi ${_S_}6814 fi~ 6519 6815 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 6520 6816 else … … 6560 6856 hardcode_shlibpath_var=no 6561 6857 ;; 6858 6859 linux*) 6860 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 6861 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 6862 archive_cmds="$tmp_archive_cmds" 6863 supports_anon_versioning=no 6864 case `$LD -v 2>/dev/null` in 6865 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 6866 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 6867 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 6868 *\ 2.11.*) ;; # other 2.11 versions 6869 *) supports_anon_versioning=yes ;; 6870 esac 6871 if test $supports_anon_versioning = yes; then 6872 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 6873 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 6874 $echo "local: *; };" >> $output_objdir/$libname.ver~ 6875 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 6876 else 6877 archive_expsym_cmds="$tmp_archive_cmds" 6878 fi 6879 else 6880 ld_shlibs=no 6881 fi 6882 ;; 6562 6883 6563 6884 *) … … 6588 6909 allow_undefined_flag=unsupported 6589 6910 always_export_symbols=yes 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'6911 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' 6591 6912 # Note: this linker hardcodes the directories in LIBPATH if there 6592 6913 # are no directories specified by -L. … … 6689 7010 # Determine the default libpath from the value encoded in an empty executable. 6690 7011 cat >conftest.$ac_ext <<_ACEOF 6691 #line $LINENO "configure"6692 7012 /* confdefs.h. */ 6693 7013 _ACEOF … … 6706 7026 rm -f conftest.$ac_objext conftest$ac_exeext 6707 7027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6708 (eval $ac_link) 2>&5 7028 (eval $ac_link) 2>conftest.er1 7029 ac_status=$? 7030 grep -v '^ *+' conftest.er1 >conftest.err 7031 rm -f conftest.er1 7032 cat conftest.err >&5 7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7034 (exit $ac_status); } && 7035 { ac_try='test -z "$ac_c_werror_flag" 7036 || test ! -s conftest.err' 7037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7038 (eval $ac_try) 2>&5 6709 7039 ac_status=$? 6710 7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6711 (exit $ac_status); } &&6712 { ac_try='test -s conftest$ac_exeext'7041 (exit $ac_status); }; } && 7042 { ac_try='test -s conftest$ac_exeext' 6713 7043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6714 7044 (eval $ac_try) 2>&5 … … 6727 7057 6728 7058 fi 6729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7059 rm -f conftest.err conftest.$ac_objext \ 7060 conftest$ac_exeext conftest.$ac_ext 6730 7061 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6731 7062 … … 6740 7071 # Determine the default libpath from the value encoded in an empty executable. 6741 7072 cat >conftest.$ac_ext <<_ACEOF 6742 #line $LINENO "configure"6743 7073 /* confdefs.h. */ 6744 7074 _ACEOF … … 6757 7087 rm -f conftest.$ac_objext conftest$ac_exeext 6758 7088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6759 (eval $ac_link) 2>&5 7089 (eval $ac_link) 2>conftest.er1 7090 ac_status=$? 7091 grep -v '^ *+' conftest.er1 >conftest.err 7092 rm -f conftest.er1 7093 cat conftest.err >&5 7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7095 (exit $ac_status); } && 7096 { ac_try='test -z "$ac_c_werror_flag" 7097 || test ! -s conftest.err' 7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7099 (eval $ac_try) 2>&5 6760 7100 ac_status=$? 6761 7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6762 (exit $ac_status); } &&6763 { ac_try='test -s conftest$ac_exeext'7102 (exit $ac_status); }; } && 7103 { ac_try='test -s conftest$ac_exeext' 6764 7104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6765 7105 (eval $ac_try) 2>&5 … … 6778 7118 6779 7119 fi 6780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7120 rm -f conftest.err conftest.$ac_objext \ 7121 conftest$ac_exeext conftest.$ac_ext 6781 7122 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6782 7123 … … 6792 7133 archive_cmds_need_lc=yes 6793 7134 # This is similar to how AIX traditionally builds it's shared libraries. 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'7135 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' 6795 7136 fi 6796 7137 fi … … 6798 7139 6799 7140 amigaos*) 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)'7141 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)' 6801 7142 hardcode_libdir_flag_spec='-L$libdir' 6802 7143 hardcode_minus_L=yes … … 6819 7160 libext=lib 6820 7161 # Tell ltmain to make .dll files, not .so files. 6821 shrext =".dll"7162 shrext_cmds=".dll" 6822 7163 # FIXME: Setting linknames here is a bad hack. 6823 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ${_S_}linknames='7164 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 6824 7165 # The linker will automatically build a .lib file if we build a DLL. 6825 7166 old_archive_From_new_cmds='true' … … 6831 7172 6832 7173 darwin* | rhapsody*) 6833 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then7174 if test "$GXX" = yes ; then 6834 7175 archive_cmds_need_lc=no 6835 7176 case "$host_os" in … … 6837 7178 allow_undefined_flag='-undefined suppress' 6838 7179 ;; 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 7180 *) # Darwin 1.3 on 7181 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 7182 allow_undefined_flag='-flat_namespace -undefined suppress' 7183 else 7184 case ${MACOSX_DEPLOYMENT_TARGET} in 7185 10.[012]) 7186 allow_undefined_flag='-flat_namespace -undefined suppress' 7187 ;; 7188 10.*) 7189 allow_undefined_flag='-undefined dynamic_lookup' 7190 ;; 7191 esac 7192 fi 6855 7193 ;; 6856 7194 esac 6857 # FIXME: Relying on posixy $() will cause problems for6858 # cross-compilation, but unfortunately the echo tests do not6859 # yet detect zsh echo's removal of \ escapes. Also zsh mangles6860 # `"' quotes if we put them in here... so don't!6861 7195 lt_int_apple_cc_single_mod=no 6862 7196 output_verbose_link_cmd='echo' … … 6865 7199 fi 6866 7200 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 6867 archive_cmds='$CC -dynamiclib $archargs-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'7201 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6868 7202 else 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'7203 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' 6870 7204 fi 6871 module_cmds='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'7205 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6872 7206 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 6873 7207 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 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}'7208 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}' 6875 7209 else 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}'7210 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}' 6877 7211 fi 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}'7212 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}' 6879 7213 hardcode_direct=no 6880 7214 hardcode_automatic=yes … … 6882 7216 whole_archive_flag_spec='-all_load $convenience' 6883 7217 link_all_deplibs=yes 7218 else 7219 ld_shlibs=no 6884 7220 fi 6885 7221 ;; … … 6915 7251 6916 7252 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 6917 freebsd* )7253 freebsd* | kfreebsd*-gnu) 6918 7254 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 6919 7255 hardcode_libdir_flag_spec='-R$libdir' … … 6924 7260 hpux9*) 6925 7261 if test "$GCC" = yes; then 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'7262 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' 6927 7263 else 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'7264 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' 6929 7265 fi 6930 7266 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' … … 7046 7382 hardcode_minus_L=yes 7047 7383 allow_undefined_flag=unsupported 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'7384 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' 7049 7385 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 7050 7386 ;; … … 7070 7406 allow_undefined_flag=' -expect_unresolved \*' 7071 7407 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' 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'7408 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 7409 $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' 7074 7410 7075 7411 # Both c and cxx compiler support -rpath directly … … 7091 7427 if test "$GCC" = yes; then 7092 7428 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 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'7429 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 7430 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 7095 7431 else 7096 7432 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'7433 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 7434 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 7099 7435 fi 7100 7436 hardcode_libdir_flag_spec='-R$libdir' … … 7185 7521 # object files and a static libstdc++, better avoid it by now 7186 7522 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'7523 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 7524 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 7189 7525 hardcode_libdir_flag_spec= 7190 7526 hardcode_shlibpath_var=no … … 7223 7559 if test "$enable_shared" = yes && test "$GCC" = yes; then 7224 7560 case $archive_cmds in 7225 * "$_S_"*)7561 *'~'*) 7226 7562 # FIXME: we may have to deal with multi-command sequences. 7227 7563 ;; … … 7275 7611 esac 7276 7612 7277 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&57278 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&67279 hardcode_action=7280 if test -n "$hardcode_libdir_flag_spec" || \7281 test -n "$runpath_var " || \7282 test "X$hardcode_automatic"="Xyes" ; then7283 7284 # We can hardcode non-existant directories.7285 if test "$hardcode_direct" != no &&7286 # If the only mechanism to avoid hardcoding is shlibpath_var, we7287 # have to relink, otherwise we might link with an installed library7288 # when we should be linking with a yet-to-be-installed one7289 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&7290 test "$hardcode_minus_L" != no; then7291 # Linking always hardcodes the temporary library directory.7292 hardcode_action=relink7293 else7294 # We can link without hardcoding, and we can hardcode nonexisting dirs.7295 hardcode_action=immediate7296 fi7297 else7298 # We cannot hardcode anything, or else we can only hardcode existing7299 # directories.7300 hardcode_action=unsupported7301 fi7302 echo "$as_me:$LINENO: result: $hardcode_action" >&57303 echo "${ECHO_T}$hardcode_action" >&67304 7305 if test "$hardcode_action" = relink; then7306 # Fast installation is not supported7307 enable_fast_install=no7308 elif test "$shlibpath_overrides_runpath" = yes ||7309 test "$enable_shared" = no; then7310 # Fast installation is not necessary7311 enable_fast_install=needless7312 fi7313 7314 striplib=7315 old_striplib=7316 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&57317 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&67318 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then7319 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"7320 test -z "$striplib" && striplib="$STRIP --strip-unneeded"7321 echo "$as_me:$LINENO: result: yes" >&57322 echo "${ECHO_T}yes" >&67323 else7324 # FIXME - insert some real tests, host_os isn't really good enough7325 case $host_os in7326 NOT-darwin*)7327 if test -n "$STRIP" ; then7328 striplib="$STRIP -x"7329 echo "$as_me:$LINENO: result: yes" >&57330 echo "${ECHO_T}yes" >&67331 else7332 echo "$as_me:$LINENO: result: no" >&57333 echo "${ECHO_T}no" >&67334 fi7335 ;;7336 *)7337 echo "$as_me:$LINENO: result: no" >&57338 echo "${ECHO_T}no" >&67339 ;;7340 esac7341 fi7342 7343 7613 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 7344 7614 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 7346 7616 libname_spec='lib$name' 7347 7617 soname_spec= 7348 shrext =".so"7618 shrext_cmds=".so" 7349 7619 postinstall_cmds= 7350 7620 postuninstall_cmds= … … 7434 7704 library_names_spec='$libname.ixlibrary $libname.a' 7435 7705 # Create ${libname}_ixlibrary.a entries in /sys/libs. 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'7706 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' 7437 7707 ;; 7438 7708 … … 7459 7729 cygwin* | mingw* | pw32*) 7460 7730 version_type=windows 7461 shrext =".dll"7731 shrext_cmds=".dll" 7462 7732 need_version=no 7463 7733 need_lib_prefix=no … … 7467 7737 library_names_spec='$libname.dll.a' 7468 7738 # DLL is installed to $(libdir)/../bin by postinstall_cmds 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_}7739 postinstall_cmds='base_file=`basename \${file}`~ 7740 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 7741 dldir=$destdir/`dirname \$dlpath`~ 7742 test -d \$dldir || mkdir -p \$dldir~ 7473 7743 $install_prog $dir/$dlname \$dldir/$dlname' 7474 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ${_S_}7475 dlpath=$dir/\$dldll ${_S_}7744 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 7745 dlpath=$dir/\$dldll~ 7476 7746 $rm \$dlpath' 7477 7747 shlibpath_overrides_runpath=yes … … 7481 7751 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 7482 7752 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7483 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"7753 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 7484 7754 ;; 7485 7755 mingw*) … … 7520 7790 need_lib_prefix=no 7521 7791 need_version=no 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' 7792 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 7526 7793 soname_spec='${libname}${release}${major}$shared_ext' 7527 7794 shlibpath_overrides_runpath=yes 7528 7795 shlibpath_var=DYLD_LIBRARY_PATH 7529 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'7796 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 7530 7797 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 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"` 7798 if test "$GCC" = yes; then 7799 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"` 7800 else 7801 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 7533 7802 fi 7534 7803 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 7546 7815 freebsd1*) 7547 7816 dynamic_linker=no 7817 ;; 7818 7819 kfreebsd*-gnu) 7820 version_type=linux 7821 need_lib_prefix=no 7822 need_version=no 7823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7824 soname_spec='${libname}${release}${shared_ext}$major' 7825 shlibpath_var=LD_LIBRARY_PATH 7826 shlibpath_overrides_runpath=no 7827 hardcode_into_libs=yes 7828 dynamic_linker='GNU ld.so' 7548 7829 ;; 7549 7830 … … 7596 7877 case "$host_cpu" in 7597 7878 ia64*) 7598 shrext ='.so'7879 shrext_cmds='.so' 7599 7880 hardcode_into_libs=yes 7600 7881 dynamic_linker="$host_os dld.so" … … 7611 7892 ;; 7612 7893 hppa*64*) 7613 shrext ='.sl'7894 shrext_cmds='.sl' 7614 7895 hardcode_into_libs=yes 7615 7896 dynamic_linker="$host_os dld.sl" … … 7622 7903 ;; 7623 7904 *) 7624 shrext ='.sl'7905 shrext_cmds='.sl' 7625 7906 dynamic_linker="$host_os dld.sl" 7626 7907 shlibpath_var=SHLIB_PATH … … 7691 7972 hardcode_into_libs=yes 7692 7973 7974 # find out which ABI we are using 7975 libsuff= 7976 case "$host_cpu" in 7977 x86_64*|s390x*|powerpc64*) 7978 echo '#line 7978 "configure"' > conftest.$ac_ext 7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7980 (eval $ac_compile) 2>&5 7981 ac_status=$? 7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7983 (exit $ac_status); }; then 7984 case `/usr/bin/file conftest.$ac_objext` in 7985 *64-bit*) 7986 libsuff=64 7987 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 7988 ;; 7989 esac 7990 fi 7991 rm -rf conftest* 7992 ;; 7993 esac 7994 7995 # Append ld.so.conf contents to the search path 7996 if test -f /etc/ld.so.conf; then 7997 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 7998 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 7999 fi 8000 7693 8001 # We used to test for /lib/ld.so.1 and disable shared libraries on 7694 8002 # powerpc, because MkLinux only supported shared libraries with the … … 7698 8006 # assume the GNU/Linux dynamic linker is in use. 7699 8007 dynamic_linker='GNU/Linux ld.so' 8008 ;; 8009 8010 knetbsd*-gnu) 8011 version_type=linux 8012 need_lib_prefix=no 8013 need_version=no 8014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 8015 soname_spec='${libname}${release}${shared_ext}$major' 8016 shlibpath_var=LD_LIBRARY_PATH 8017 shlibpath_overrides_runpath=no 8018 hardcode_into_libs=yes 8019 dynamic_linker='GNU ld.so' 7700 8020 ;; 7701 8021 … … 7709 8029 dynamic_linker='NetBSD (a.out) ld.so' 7710 8030 else 7711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'8031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7712 8032 soname_spec='${libname}${release}${shared_ext}$major' 7713 8033 dynamic_linker='NetBSD ld.elf_so' … … 7725 8045 ;; 7726 8046 7727 nto-qnx )8047 nto-qnx*) 7728 8048 version_type=linux 7729 8049 need_lib_prefix=no … … 7738 8058 version_type=sunos 7739 8059 need_lib_prefix=no 7740 need_version= no8060 need_version=yes 7741 8061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 7742 8062 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 7758 8078 os2*) 7759 8079 libname_spec='$name' 7760 shrext =".dll"8080 shrext_cmds=".dll" 7761 8081 need_lib_prefix=no 7762 8082 library_names_spec='$libname${shared_ext} $libname.a' … … 7856 8176 test "$dynamic_linker" = no && can_build_shared=no 7857 8177 8178 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 8179 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 8180 hardcode_action= 8181 if test -n "$hardcode_libdir_flag_spec" || \ 8182 test -n "$runpath_var " || \ 8183 test "X$hardcode_automatic"="Xyes" ; then 8184 8185 # We can hardcode non-existant directories. 8186 if test "$hardcode_direct" != no && 8187 # If the only mechanism to avoid hardcoding is shlibpath_var, we 8188 # have to relink, otherwise we might link with an installed library 8189 # when we should be linking with a yet-to-be-installed one 8190 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 8191 test "$hardcode_minus_L" != no; then 8192 # Linking always hardcodes the temporary library directory. 8193 hardcode_action=relink 8194 else 8195 # We can link without hardcoding, and we can hardcode nonexisting dirs. 8196 hardcode_action=immediate 8197 fi 8198 else 8199 # We cannot hardcode anything, or else we can only hardcode existing 8200 # directories. 8201 hardcode_action=unsupported 8202 fi 8203 echo "$as_me:$LINENO: result: $hardcode_action" >&5 8204 echo "${ECHO_T}$hardcode_action" >&6 8205 8206 if test "$hardcode_action" = relink; then 8207 # Fast installation is not supported 8208 enable_fast_install=no 8209 elif test "$shlibpath_overrides_runpath" = yes || 8210 test "$enable_shared" = no; then 8211 # Fast installation is not necessary 8212 enable_fast_install=needless 8213 fi 8214 8215 striplib= 8216 old_striplib= 8217 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 8218 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 8219 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 8220 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 8221 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 8222 echo "$as_me:$LINENO: result: yes" >&5 8223 echo "${ECHO_T}yes" >&6 8224 else 8225 # FIXME - insert some real tests, host_os isn't really good enough 8226 case $host_os in 8227 darwin*) 8228 if test -n "$STRIP" ; then 8229 striplib="$STRIP -x" 8230 echo "$as_me:$LINENO: result: yes" >&5 8231 echo "${ECHO_T}yes" >&6 8232 else 8233 echo "$as_me:$LINENO: result: no" >&5 8234 echo "${ECHO_T}no" >&6 8235 fi 8236 ;; 8237 *) 8238 echo "$as_me:$LINENO: result: no" >&5 8239 echo "${ECHO_T}no" >&6 8240 ;; 8241 esac 8242 fi 8243 7858 8244 if test "x$enable_dlopen" != xyes; then 7859 8245 enable_dlopen=unknown … … 7891 8277 LIBS="-ldl $LIBS" 7892 8278 cat >conftest.$ac_ext <<_ACEOF 7893 #line $LINENO "configure"7894 8279 /* confdefs.h. */ 7895 8280 _ACEOF … … 7915 8300 rm -f conftest.$ac_objext conftest$ac_exeext 7916 8301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7917 (eval $ac_link) 2>&5 8302 (eval $ac_link) 2>conftest.er1 8303 ac_status=$? 8304 grep -v '^ *+' conftest.er1 >conftest.err 8305 rm -f conftest.er1 8306 cat conftest.err >&5 8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8308 (exit $ac_status); } && 8309 { ac_try='test -z "$ac_c_werror_flag" 8310 || test ! -s conftest.err' 8311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8312 (eval $ac_try) 2>&5 7918 8313 ac_status=$? 7919 8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); } &&7921 { ac_try='test -s conftest$ac_exeext'8315 (exit $ac_status); }; } && 8316 { ac_try='test -s conftest$ac_exeext' 7922 8317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7923 8318 (eval $ac_try) 2>&5 … … 7932 8327 ac_cv_lib_dl_dlopen=no 7933 8328 fi 7934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8329 rm -f conftest.err conftest.$ac_objext \ 8330 conftest$ac_exeext conftest.$ac_ext 7935 8331 LIBS=$ac_check_lib_save_LIBS 7936 8332 fi … … 7956 8352 else 7957 8353 cat >conftest.$ac_ext <<_ACEOF 7958 #line $LINENO "configure"7959 8354 /* confdefs.h. */ 7960 8355 _ACEOF … … 7962 8357 cat >>conftest.$ac_ext <<_ACEOF 7963 8358 /* end confdefs.h. */ 8359 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 8360 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8361 #define shl_load innocuous_shl_load 8362 7964 8363 /* System header to define __stub macros and hopefully few prototypes, 7965 8364 which can conflict with char shl_load (); below. 7966 8365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7967 8366 <limits.h> exists even on freestanding compilers. */ 8367 7968 8368 #ifdef __STDC__ 7969 8369 # include <limits.h> … … 7971 8371 # include <assert.h> 7972 8372 #endif 8373 8374 #undef shl_load 8375 7973 8376 /* Override any gcc2 internal prototype to avoid an error. */ 7974 8377 #ifdef __cplusplus … … 8001 8404 rm -f conftest.$ac_objext conftest$ac_exeext 8002 8405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8003 (eval $ac_link) 2>&5 8406 (eval $ac_link) 2>conftest.er1 8407 ac_status=$? 8408 grep -v '^ *+' conftest.er1 >conftest.err 8409 rm -f conftest.er1 8410 cat conftest.err >&5 8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8412 (exit $ac_status); } && 8413 { ac_try='test -z "$ac_c_werror_flag" 8414 || test ! -s conftest.err' 8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8416 (eval $ac_try) 2>&5 8004 8417 ac_status=$? 8005 8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8006 (exit $ac_status); } &&8007 { ac_try='test -s conftest$ac_exeext'8419 (exit $ac_status); }; } && 8420 { ac_try='test -s conftest$ac_exeext' 8008 8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8009 8422 (eval $ac_try) 2>&5 … … 8018 8431 ac_cv_func_shl_load=no 8019 8432 fi 8020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8433 rm -f conftest.err conftest.$ac_objext \ 8434 conftest$ac_exeext conftest.$ac_ext 8021 8435 fi 8022 8436 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 8033 8447 LIBS="-ldld $LIBS" 8034 8448 cat >conftest.$ac_ext <<_ACEOF 8035 #line $LINENO "configure"8036 8449 /* confdefs.h. */ 8037 8450 _ACEOF … … 8057 8470 rm -f conftest.$ac_objext conftest$ac_exeext 8058 8471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8059 (eval $ac_link) 2>&5 8472 (eval $ac_link) 2>conftest.er1 8473 ac_status=$? 8474 grep -v '^ *+' conftest.er1 >conftest.err 8475 rm -f conftest.er1 8476 cat conftest.err >&5 8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8478 (exit $ac_status); } && 8479 { ac_try='test -z "$ac_c_werror_flag" 8480 || test ! -s conftest.err' 8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8482 (eval $ac_try) 2>&5 8060 8483 ac_status=$? 8061 8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8062 (exit $ac_status); } &&8063 { ac_try='test -s conftest$ac_exeext'8485 (exit $ac_status); }; } && 8486 { ac_try='test -s conftest$ac_exeext' 8064 8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8065 8488 (eval $ac_try) 2>&5 … … 8074 8497 ac_cv_lib_dld_shl_load=no 8075 8498 fi 8076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8499 rm -f conftest.err conftest.$ac_objext \ 8500 conftest$ac_exeext conftest.$ac_ext 8077 8501 LIBS=$ac_check_lib_save_LIBS 8078 8502 fi … … 8088 8512 else 8089 8513 cat >conftest.$ac_ext <<_ACEOF 8090 #line $LINENO "configure"8091 8514 /* confdefs.h. */ 8092 8515 _ACEOF … … 8094 8517 cat >>conftest.$ac_ext <<_ACEOF 8095 8518 /* end confdefs.h. */ 8519 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 8520 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8521 #define dlopen innocuous_dlopen 8522 8096 8523 /* System header to define __stub macros and hopefully few prototypes, 8097 8524 which can conflict with char dlopen (); below. 8098 8525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8099 8526 <limits.h> exists even on freestanding compilers. */ 8527 8100 8528 #ifdef __STDC__ 8101 8529 # include <limits.h> … … 8103 8531 # include <assert.h> 8104 8532 #endif 8533 8534 #undef dlopen 8535 8105 8536 /* Override any gcc2 internal prototype to avoid an error. */ 8106 8537 #ifdef __cplusplus … … 8133 8564 rm -f conftest.$ac_objext conftest$ac_exeext 8134 8565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8135 (eval $ac_link) 2>&5 8566 (eval $ac_link) 2>conftest.er1 8567 ac_status=$? 8568 grep -v '^ *+' conftest.er1 >conftest.err 8569 rm -f conftest.er1 8570 cat conftest.err >&5 8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8572 (exit $ac_status); } && 8573 { ac_try='test -z "$ac_c_werror_flag" 8574 || test ! -s conftest.err' 8575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8576 (eval $ac_try) 2>&5 8136 8577 ac_status=$? 8137 8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8138 (exit $ac_status); } &&8139 { ac_try='test -s conftest$ac_exeext'8579 (exit $ac_status); }; } && 8580 { ac_try='test -s conftest$ac_exeext' 8140 8581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8141 8582 (eval $ac_try) 2>&5 … … 8150 8591 ac_cv_func_dlopen=no 8151 8592 fi 8152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8593 rm -f conftest.err conftest.$ac_objext \ 8594 conftest$ac_exeext conftest.$ac_ext 8153 8595 fi 8154 8596 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 8165 8607 LIBS="-ldl $LIBS" 8166 8608 cat >conftest.$ac_ext <<_ACEOF 8167 #line $LINENO "configure"8168 8609 /* confdefs.h. */ 8169 8610 _ACEOF … … 8189 8630 rm -f conftest.$ac_objext conftest$ac_exeext 8190 8631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8191 (eval $ac_link) 2>&5 8632 (eval $ac_link) 2>conftest.er1 8633 ac_status=$? 8634 grep -v '^ *+' conftest.er1 >conftest.err 8635 rm -f conftest.er1 8636 cat conftest.err >&5 8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8638 (exit $ac_status); } && 8639 { ac_try='test -z "$ac_c_werror_flag" 8640 || test ! -s conftest.err' 8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8642 (eval $ac_try) 2>&5 8192 8643 ac_status=$? 8193 8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8194 (exit $ac_status); } &&8195 { ac_try='test -s conftest$ac_exeext'8645 (exit $ac_status); }; } && 8646 { ac_try='test -s conftest$ac_exeext' 8196 8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8197 8648 (eval $ac_try) 2>&5 … … 8206 8657 ac_cv_lib_dl_dlopen=no 8207 8658 fi 8208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8659 rm -f conftest.err conftest.$ac_objext \ 8660 conftest$ac_exeext conftest.$ac_ext 8209 8661 LIBS=$ac_check_lib_save_LIBS 8210 8662 fi … … 8222 8674 LIBS="-lsvld $LIBS" 8223 8675 cat >conftest.$ac_ext <<_ACEOF 8224 #line $LINENO "configure"8225 8676 /* confdefs.h. */ 8226 8677 _ACEOF … … 8246 8697 rm -f conftest.$ac_objext conftest$ac_exeext 8247 8698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8248 (eval $ac_link) 2>&5 8699 (eval $ac_link) 2>conftest.er1 8700 ac_status=$? 8701 grep -v '^ *+' conftest.er1 >conftest.err 8702 rm -f conftest.er1 8703 cat conftest.err >&5 8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8705 (exit $ac_status); } && 8706 { ac_try='test -z "$ac_c_werror_flag" 8707 || test ! -s conftest.err' 8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8709 (eval $ac_try) 2>&5 8249 8710 ac_status=$? 8250 8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); } &&8252 { ac_try='test -s conftest$ac_exeext'8712 (exit $ac_status); }; } && 8713 { ac_try='test -s conftest$ac_exeext' 8253 8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8254 8715 (eval $ac_try) 2>&5 … … 8263 8724 ac_cv_lib_svld_dlopen=no 8264 8725 fi 8265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8726 rm -f conftest.err conftest.$ac_objext \ 8727 conftest$ac_exeext conftest.$ac_ext 8266 8728 LIBS=$ac_check_lib_save_LIBS 8267 8729 fi … … 8279 8741 LIBS="-ldld $LIBS" 8280 8742 cat >conftest.$ac_ext <<_ACEOF 8281 #line $LINENO "configure"8282 8743 /* confdefs.h. */ 8283 8744 _ACEOF … … 8303 8764 rm -f conftest.$ac_objext conftest$ac_exeext 8304 8765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8305 (eval $ac_link) 2>&5 8766 (eval $ac_link) 2>conftest.er1 8767 ac_status=$? 8768 grep -v '^ *+' conftest.er1 >conftest.err 8769 rm -f conftest.er1 8770 cat conftest.err >&5 8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8772 (exit $ac_status); } && 8773 { ac_try='test -z "$ac_c_werror_flag" 8774 || test ! -s conftest.err' 8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8776 (eval $ac_try) 2>&5 8306 8777 ac_status=$? 8307 8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8308 (exit $ac_status); } &&8309 { ac_try='test -s conftest$ac_exeext'8779 (exit $ac_status); }; } && 8780 { ac_try='test -s conftest$ac_exeext' 8310 8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8311 8782 (eval $ac_try) 2>&5 … … 8320 8791 ac_cv_lib_dld_dld_link=no 8321 8792 fi 8322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8793 rm -f conftest.err conftest.$ac_objext \ 8794 conftest$ac_exeext conftest.$ac_ext 8323 8795 LIBS=$ac_check_lib_save_LIBS 8324 8796 fi … … 8375 8847 lt_status=$lt_dlunknown 8376 8848 cat > conftest.$ac_ext <<EOF 8377 #line 8 377"configure"8849 #line 8849 "configure" 8378 8850 #include "confdefs.h" 8379 8851 … … 8473 8945 lt_status=$lt_dlunknown 8474 8946 cat > conftest.$ac_ext <<EOF 8475 #line 8 475"configure"8947 #line 8947 "configure" 8476 8948 #include "confdefs.h" 8477 8949 … … 8593 9065 test "$enable_shared" = yes && enable_static=no 8594 9066 if test -n "$RANLIB"; then 8595 archive_cmds="$archive_cmds \${_S_}\$RANLIB \$lib"9067 archive_cmds="$archive_cmds~\$RANLIB \$lib" 8596 9068 postinstall_cmds='$RANLIB $lib' 8597 9069 fi 8598 9070 ;; 8599 9071 8600 aix4* )9072 aix4* | aix5*) 8601 9073 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 8602 9074 test "$enable_shared" = yes && enable_static=no … … 8604 9076 ;; 8605 9077 darwin* | rhapsody*) 8606 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then9078 if test "$GCC" = yes; then 8607 9079 archive_cmds_need_lc=no 8608 9080 case "$host_os" in … … 8610 9082 allow_undefined_flag='-undefined suppress' 8611 9083 ;; 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 9084 *) # Darwin 1.3 on 9085 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9086 allow_undefined_flag='-flat_namespace -undefined suppress' 9087 else 9088 case ${MACOSX_DEPLOYMENT_TARGET} in 9089 10.[012]) 9090 allow_undefined_flag='-flat_namespace -undefined suppress' 9091 ;; 9092 10.*) 9093 allow_undefined_flag='-undefined dynamic_lookup' 9094 ;; 9095 esac 9096 fi 8628 9097 ;; 8629 9098 esac 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' 9099 output_verbose_link_cmd='echo' 9100 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 9101 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8637 9102 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 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}'9103 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}' 9104 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}' 8640 9105 hardcode_direct=no 8641 9106 hardcode_automatic=yes … … 8643 9108 whole_archive_flag_spec='-all_load $convenience' 8644 9109 link_all_deplibs=yes 8645 fi 9110 else 9111 ld_shlibs=no 9112 fi 8646 9113 ;; 8647 9114 esac … … 8669 9136 # careful not to overquote the AC_SUBSTed values. We take copies of the 8670 9137 # variables and quote the copies for generation of the libtool script. 8671 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 9138 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 9139 SED SHELL STRIP \ 8672 9140 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 8673 9141 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 8727 9195 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 8728 9196 # Double-quote double-evaled strings. 8729 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""9197 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 8730 9198 ;; 8731 9199 *) … … 8796 9264 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 8797 9265 8798 # Set the command separator (default: ~)8799 _S_=\${LIBTOOL_CMD_SEP-\~}8800 8801 9266 # Shell to use when invoking shell scripts. 8802 9267 SHELL=$lt_SHELL … … 8850 9315 8851 9316 # A symbol stripping program 8852 STRIP=$ STRIP9317 STRIP=$lt_STRIP 8853 9318 8854 9319 # Used to examine libraries when file_magic_cmd begins "file" … … 8881 9346 8882 9347 # Shared library suffix (normally ".so"). 8883 shrext ='$shrext'9348 shrext_cmds='$shrext_cmds' 8884 9349 8885 9350 # Executable file suffix (normally ""). … … 9123 9588 # `config.status --recheck' to rerun these tests and create the 9124 9589 # libtool script then. 9125 test -f Makefile && make "$ltmain" 9590 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 9591 if test -f "$ltmain_in"; then 9592 test -f Makefile && make "$ltmain" 9593 fi 9126 9594 fi 9127 9595 … … 9304 9772 [\\/]* | ?:[\\/]*) 9305 9773 re_direlt='/[^/][^/]*/\.\./' 9306 # Canonicalize the path of ld9774 # Canonicalize the pathname of ld 9307 9775 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 9308 9776 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 9373 9841 else 9374 9842 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 9375 case ` "$LD"-v 2>&1 </dev/null` in9843 case `$LD -v 2>&1 </dev/null` in 9376 9844 *GNU* | *'with BFD'*) 9377 9845 lt_cv_prog_gnu_ld=yes … … 9418 9886 # overridden to take advantage of the native linker features on 9419 9887 # the platform it is being used on. 9420 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'9888 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 9421 9889 fi 9422 9890 … … 9526 9994 # Determine the default libpath from the value encoded in an empty executable. 9527 9995 cat >conftest.$ac_ext <<_ACEOF 9528 #line $LINENO "configure"9529 9996 /* confdefs.h. */ 9530 9997 _ACEOF … … 9543 10010 rm -f conftest.$ac_objext conftest$ac_exeext 9544 10011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9545 (eval $ac_link) 2>&5 10012 (eval $ac_link) 2>conftest.er1 10013 ac_status=$? 10014 grep -v '^ *+' conftest.er1 >conftest.err 10015 rm -f conftest.er1 10016 cat conftest.err >&5 10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10018 (exit $ac_status); } && 10019 { ac_try='test -z "$ac_cxx_werror_flag" 10020 || test ! -s conftest.err' 10021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10022 (eval $ac_try) 2>&5 9546 10023 ac_status=$? 9547 10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9548 (exit $ac_status); } &&9549 { ac_try='test -s conftest$ac_exeext'10025 (exit $ac_status); }; } && 10026 { ac_try='test -s conftest$ac_exeext' 9550 10027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9551 10028 (eval $ac_try) 2>&5 … … 9564 10041 9565 10042 fi 9566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10043 rm -f conftest.err conftest.$ac_objext \ 10044 conftest$ac_exeext conftest.$ac_ext 9567 10045 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9568 10046 … … 9578 10056 # Determine the default libpath from the value encoded in an empty executable. 9579 10057 cat >conftest.$ac_ext <<_ACEOF 9580 #line $LINENO "configure"9581 10058 /* confdefs.h. */ 9582 10059 _ACEOF … … 9595 10072 rm -f conftest.$ac_objext conftest$ac_exeext 9596 10073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9597 (eval $ac_link) 2>&5 10074 (eval $ac_link) 2>conftest.er1 10075 ac_status=$? 10076 grep -v '^ *+' conftest.er1 >conftest.err 10077 rm -f conftest.er1 10078 cat conftest.err >&5 10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10080 (exit $ac_status); } && 10081 { ac_try='test -z "$ac_cxx_werror_flag" 10082 || test ! -s conftest.err' 10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10084 (eval $ac_try) 2>&5 9598 10085 ac_status=$? 9599 10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9600 (exit $ac_status); } &&9601 { ac_try='test -s conftest$ac_exeext'10087 (exit $ac_status); }; } && 10088 { ac_try='test -s conftest$ac_exeext' 9602 10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9603 10090 (eval $ac_try) 2>&5 … … 9616 10103 9617 10104 fi 9618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10105 rm -f conftest.err conftest.$ac_objext \ 10106 conftest$ac_exeext conftest.$ac_ext 9619 10107 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9620 10108 … … 9630 10118 archive_cmds_need_lc_CXX=yes 9631 10119 # This is similar to how AIX traditionally builds it's shared libraries. 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'10120 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' 9633 10121 fi 9634 10122 fi … … 9660 10148 echo EXPORTS > $output_objdir/$soname.def; 9661 10149 cat $export_symbols >> $output_objdir/$soname.def; 9662 fi ${_S_}10150 fi~ 9663 10151 $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' 9664 10152 else … … 9668 10156 9669 10157 darwin* | rhapsody*) 9670 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then10158 if test "$GXX" = yes; then 9671 10159 archive_cmds_need_lc_CXX=no 9672 10160 case "$host_os" in … … 9674 10162 allow_undefined_flag_CXX='-undefined suppress' 9675 10163 ;; 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 10164 *) # Darwin 1.3 on 10165 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 10166 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10167 else 10168 case ${MACOSX_DEPLOYMENT_TARGET} in 10169 10.[012]) 10170 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10171 ;; 10172 10.*) 10173 allow_undefined_flag_CXX='-undefined dynamic_lookup' 10174 ;; 10175 esac 10176 fi 9692 10177 ;; 9693 10178 esac 9694 lt_int_apple_cc_single_mod=no9695 output_verbose_link_cmd='echo'9696 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then9697 lt_int_apple_cc_single_mod=yes9698 fi9699 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then9700 archive_cmds_CXX='$CC -dynamiclib $archargs-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'9701 else9702 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 fi9704 module_cmds_CXX='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'10179 lt_int_apple_cc_single_mod=no 10180 output_verbose_link_cmd='echo' 10181 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 10182 lt_int_apple_cc_single_mod=yes 10183 fi 10184 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10185 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10186 else 10187 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' 10188 fi 10189 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9705 10190 9706 10191 # 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 ; then9708 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}'9709 else9710 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}'9711 fi9712 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}'10192 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10193 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}' 10194 else 10195 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}' 10196 fi 10197 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}' 9713 10198 hardcode_direct_CXX=no 9714 10199 hardcode_automatic_CXX=yes … … 9716 10201 whole_archive_flag_spec_CXX='-all_load $convenience' 9717 10202 link_all_deplibs_CXX=yes 9718 fi 10203 else 10204 ld_shlibs_CXX=no 10205 fi 9719 10206 ;; 9720 10207 … … 9743 10230 archive_cmds_need_lc_CXX=no 9744 10231 ;; 9745 freebsd* )10232 freebsd* | kfreebsd*-gnu) 9746 10233 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 9747 10234 # conventions … … 9765 10252 ;; 9766 10253 aCC) 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'10254 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' 9768 10255 # Commands to make compiler produce verbose output that lists 9769 10256 # what "hidden" libraries, object files and flags are used when … … 9774 10261 # from the output so that they don't get included in the library 9775 10262 # dependencies. 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'10263 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' 9777 10264 ;; 9778 10265 *) 9779 10266 if test "$GXX" = yes; then 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'10267 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' 9781 10268 else 9782 10269 # FIXME: insert proper C++ library support … … 10067 10554 allow_undefined_flag_CXX=' -expect_unresolved \*' 10068 10555 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' 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_}10556 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 10557 echo "-hidden">> $lib.exp~ 10558 $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~ 10072 10559 $rm $lib.exp' 10073 10560 … … 10146 10633 no_undefined_flag_CXX=' -zdefs' 10147 10634 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 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'10635 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 10636 $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' 10150 10637 10151 10638 hardcode_libdir_flag_spec_CXX='-R$libdir' … … 10192 10679 if $CC --version | grep -v '^2\.7' > /dev/null; then 10193 10680 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 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'10681 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 10682 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 10196 10683 10197 10684 # Commands to make compiler produce verbose output that lists … … 10203 10690 # platform. 10204 10691 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 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'10692 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 10693 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 10207 10694 10208 10695 # Commands to make compiler produce verbose output that lists … … 10450 10937 esac 10451 10938 ;; 10452 freebsd* )10939 freebsd* | kfreebsd*-gnu) 10453 10940 # FreeBSD uses GNU C++ 10454 10941 ;; … … 10618 11105 # 10619 11106 if test -n "$lt_prog_compiler_pic_CXX"; then 10620 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 11107 11108 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10621 11109 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 10622 11110 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then … … 10636 11124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10637 11125 -e 's:$: $lt_compiler_flag:'` 10638 (eval echo "\"\$as_me:1 0638: $lt_compile\"" >&5)11126 (eval echo "\"\$as_me:11126: $lt_compile\"" >&5) 10639 11127 (eval "$lt_compile" 2>conftest.err) 10640 11128 ac_status=$? 10641 11129 cat conftest.err >&5 10642 echo "$as_me:1 0642: \$? = $ac_status" >&511130 echo "$as_me:11130: \$? = $ac_status" >&5 10643 11131 if (exit $ac_status) && test -s "$ac_outfile"; then 10644 11132 # The compiler can only warn and ignore the option if not recognized … … 10687 11175 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 10688 11176 10689 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers10690 # that will create temporary files in the current directory regardless of10691 # the output directory. Thus, making CWD read-only will cause this test10692 # to fail, enabling locking or at least warning the user not to do parallel10693 # builds.10694 chmod -w .10695 10696 11177 lt_compiler_flag="-o out/conftest2.$ac_objext" 10697 11178 # Insert the option either (1) after the last *FLAGS variable, or … … 10703 11184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10704 11185 -e 's:$: $lt_compiler_flag:'` 10705 (eval echo "\"\$as_me:1 0705: $lt_compile\"" >&5)11186 (eval echo "\"\$as_me:11186: $lt_compile\"" >&5) 10706 11187 (eval "$lt_compile" 2>out/conftest.err) 10707 11188 ac_status=$? 10708 11189 cat out/conftest.err >&5 10709 echo "$as_me:1 0709: \$? = $ac_status" >&511190 echo "$as_me:11190: \$? = $ac_status" >&5 10710 11191 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10711 11192 then … … 10717 11198 fi 10718 11199 chmod u+w . 10719 $rm conftest* out/* 10720 rmdir out 11200 $rm conftest* 11201 # SGI C++ compiler will create directory out/ii_files/ for 11202 # template instantiation 11203 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 11204 $rm out/* && rmdir out 10721 11205 cd .. 10722 11206 rmdir conftest … … 10794 11278 if test "$enable_shared" = yes && test "$GCC" = yes; then 10795 11279 case $archive_cmds_CXX in 10796 * "$_S_"*)11280 *'~'*) 10797 11281 # FIXME: we may have to deal with multi-command sequences. 10798 11282 ;; … … 10846 11330 esac 10847 11331 10848 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&510849 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&610850 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" ; then10854 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, we10858 # have to relink, otherwise we might link with an installed library10859 # when we should be linking with a yet-to-be-installed one10860 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&10861 test "$hardcode_minus_L_CXX" != no; then10862 # Linking always hardcodes the temporary library directory.10863 hardcode_action_CXX=relink10864 else10865 # We can link without hardcoding, and we can hardcode nonexisting dirs.10866 hardcode_action_CXX=immediate10867 fi10868 else10869 # We cannot hardcode anything, or else we can only hardcode existing10870 # directories.10871 hardcode_action_CXX=unsupported10872 fi10873 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&510874 echo "${ECHO_T}$hardcode_action_CXX" >&610875 10876 if test "$hardcode_action_CXX" = relink; then10877 # Fast installation is not supported10878 enable_fast_install=no10879 elif test "$shlibpath_overrides_runpath" = yes ||10880 test "$enable_shared" = no; then10881 # Fast installation is not necessary10882 enable_fast_install=needless10883 fi10884 10885 striplib=10886 old_striplib=10887 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&510888 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&610889 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then10890 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"10891 test -z "$striplib" && striplib="$STRIP --strip-unneeded"10892 echo "$as_me:$LINENO: result: yes" >&510893 echo "${ECHO_T}yes" >&610894 else10895 # FIXME - insert some real tests, host_os isn't really good enough10896 case $host_os in10897 NOT-darwin*)10898 if test -n "$STRIP" ; then10899 striplib="$STRIP -x"10900 echo "$as_me:$LINENO: result: yes" >&510901 echo "${ECHO_T}yes" >&610902 else10903 echo "$as_me:$LINENO: result: no" >&510904 echo "${ECHO_T}no" >&610905 fi10906 ;;10907 *)10908 echo "$as_me:$LINENO: result: no" >&510909 echo "${ECHO_T}no" >&610910 ;;10911 esac10912 fi10913 10914 11332 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10915 11333 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 10917 11335 libname_spec='lib$name' 10918 11336 soname_spec= 10919 shrext =".so"11337 shrext_cmds=".so" 10920 11338 postinstall_cmds= 10921 11339 postuninstall_cmds= … … 11005 11423 library_names_spec='$libname.ixlibrary $libname.a' 11006 11424 # Create ${libname}_ixlibrary.a entries in /sys/libs. 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'11425 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' 11008 11426 ;; 11009 11427 … … 11030 11448 cygwin* | mingw* | pw32*) 11031 11449 version_type=windows 11032 shrext =".dll"11450 shrext_cmds=".dll" 11033 11451 need_version=no 11034 11452 need_lib_prefix=no … … 11038 11456 library_names_spec='$libname.dll.a' 11039 11457 # DLL is installed to $(libdir)/../bin by postinstall_cmds 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_}11458 postinstall_cmds='base_file=`basename \${file}`~ 11459 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 11460 dldir=$destdir/`dirname \$dlpath`~ 11461 test -d \$dldir || mkdir -p \$dldir~ 11044 11462 $install_prog $dir/$dlname \$dldir/$dlname' 11045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ${_S_}11046 dlpath=$dir/\$dldll ${_S_}11463 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11464 dlpath=$dir/\$dldll~ 11047 11465 $rm \$dlpath' 11048 11466 shlibpath_overrides_runpath=yes … … 11052 11470 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11053 11471 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11054 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"11472 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 11055 11473 ;; 11056 11474 mingw*) … … 11091 11509 need_lib_prefix=no 11092 11510 need_version=no 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' 11511 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11097 11512 soname_spec='${libname}${release}${major}$shared_ext' 11098 11513 shlibpath_overrides_runpath=yes 11099 11514 shlibpath_var=DYLD_LIBRARY_PATH 11100 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'11515 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 11101 11516 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 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"` 11517 if test "$GCC" = yes; then 11518 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"` 11519 else 11520 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 11104 11521 fi 11105 11522 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 11117 11534 freebsd1*) 11118 11535 dynamic_linker=no 11536 ;; 11537 11538 kfreebsd*-gnu) 11539 version_type=linux 11540 need_lib_prefix=no 11541 need_version=no 11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11543 soname_spec='${libname}${release}${shared_ext}$major' 11544 shlibpath_var=LD_LIBRARY_PATH 11545 shlibpath_overrides_runpath=no 11546 hardcode_into_libs=yes 11547 dynamic_linker='GNU ld.so' 11119 11548 ;; 11120 11549 … … 11167 11596 case "$host_cpu" in 11168 11597 ia64*) 11169 shrext ='.so'11598 shrext_cmds='.so' 11170 11599 hardcode_into_libs=yes 11171 11600 dynamic_linker="$host_os dld.so" … … 11182 11611 ;; 11183 11612 hppa*64*) 11184 shrext ='.sl'11613 shrext_cmds='.sl' 11185 11614 hardcode_into_libs=yes 11186 11615 dynamic_linker="$host_os dld.sl" … … 11193 11622 ;; 11194 11623 *) 11195 shrext ='.sl'11624 shrext_cmds='.sl' 11196 11625 dynamic_linker="$host_os dld.sl" 11197 11626 shlibpath_var=SHLIB_PATH … … 11262 11691 hardcode_into_libs=yes 11263 11692 11693 # find out which ABI we are using 11694 libsuff= 11695 case "$host_cpu" in 11696 x86_64*|s390x*|powerpc64*) 11697 echo '#line 11697 "configure"' > conftest.$ac_ext 11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11699 (eval $ac_compile) 2>&5 11700 ac_status=$? 11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11702 (exit $ac_status); }; then 11703 case `/usr/bin/file conftest.$ac_objext` in 11704 *64-bit*) 11705 libsuff=64 11706 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 11707 ;; 11708 esac 11709 fi 11710 rm -rf conftest* 11711 ;; 11712 esac 11713 11714 # Append ld.so.conf contents to the search path 11715 if test -f /etc/ld.so.conf; then 11716 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 11717 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 11718 fi 11719 11264 11720 # We used to test for /lib/ld.so.1 and disable shared libraries on 11265 11721 # powerpc, because MkLinux only supported shared libraries with the … … 11269 11725 # assume the GNU/Linux dynamic linker is in use. 11270 11726 dynamic_linker='GNU/Linux ld.so' 11727 ;; 11728 11729 knetbsd*-gnu) 11730 version_type=linux 11731 need_lib_prefix=no 11732 need_version=no 11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11734 soname_spec='${libname}${release}${shared_ext}$major' 11735 shlibpath_var=LD_LIBRARY_PATH 11736 shlibpath_overrides_runpath=no 11737 hardcode_into_libs=yes 11738 dynamic_linker='GNU ld.so' 11271 11739 ;; 11272 11740 … … 11280 11748 dynamic_linker='NetBSD (a.out) ld.so' 11281 11749 else 11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'11750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11283 11751 soname_spec='${libname}${release}${shared_ext}$major' 11284 11752 dynamic_linker='NetBSD ld.elf_so' … … 11296 11764 ;; 11297 11765 11298 nto-qnx )11766 nto-qnx*) 11299 11767 version_type=linux 11300 11768 need_lib_prefix=no … … 11309 11777 version_type=sunos 11310 11778 need_lib_prefix=no 11311 need_version= no11779 need_version=yes 11312 11780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11313 11781 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11329 11797 os2*) 11330 11798 libname_spec='$name' 11331 shrext =".dll"11799 shrext_cmds=".dll" 11332 11800 need_lib_prefix=no 11333 11801 library_names_spec='$libname${shared_ext} $libname.a' … … 11427 11895 test "$dynamic_linker" = no && can_build_shared=no 11428 11896 11897 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11898 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 11899 hardcode_action_CXX= 11900 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 11901 test -n "$runpath_var CXX" || \ 11902 test "X$hardcode_automatic_CXX"="Xyes" ; then 11903 11904 # We can hardcode non-existant directories. 11905 if test "$hardcode_direct_CXX" != no && 11906 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11907 # have to relink, otherwise we might link with an installed library 11908 # when we should be linking with a yet-to-be-installed one 11909 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 11910 test "$hardcode_minus_L_CXX" != no; then 11911 # Linking always hardcodes the temporary library directory. 11912 hardcode_action_CXX=relink 11913 else 11914 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11915 hardcode_action_CXX=immediate 11916 fi 11917 else 11918 # We cannot hardcode anything, or else we can only hardcode existing 11919 # directories. 11920 hardcode_action_CXX=unsupported 11921 fi 11922 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 11923 echo "${ECHO_T}$hardcode_action_CXX" >&6 11924 11925 if test "$hardcode_action_CXX" = relink; then 11926 # Fast installation is not supported 11927 enable_fast_install=no 11928 elif test "$shlibpath_overrides_runpath" = yes || 11929 test "$enable_shared" = no; then 11930 # Fast installation is not necessary 11931 enable_fast_install=needless 11932 fi 11933 11934 striplib= 11935 old_striplib= 11936 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11937 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 11938 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 11939 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11940 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11941 echo "$as_me:$LINENO: result: yes" >&5 11942 echo "${ECHO_T}yes" >&6 11943 else 11944 # FIXME - insert some real tests, host_os isn't really good enough 11945 case $host_os in 11946 darwin*) 11947 if test -n "$STRIP" ; then 11948 striplib="$STRIP -x" 11949 echo "$as_me:$LINENO: result: yes" >&5 11950 echo "${ECHO_T}yes" >&6 11951 else 11952 echo "$as_me:$LINENO: result: no" >&5 11953 echo "${ECHO_T}no" >&6 11954 fi 11955 ;; 11956 *) 11957 echo "$as_me:$LINENO: result: no" >&5 11958 echo "${ECHO_T}no" >&6 11959 ;; 11960 esac 11961 fi 11962 11429 11963 if test "x$enable_dlopen" != xyes; then 11430 11964 enable_dlopen=unknown … … 11462 11996 LIBS="-ldl $LIBS" 11463 11997 cat >conftest.$ac_ext <<_ACEOF 11464 #line $LINENO "configure"11465 11998 /* confdefs.h. */ 11466 11999 _ACEOF … … 11486 12019 rm -f conftest.$ac_objext conftest$ac_exeext 11487 12020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11488 (eval $ac_link) 2>&5 12021 (eval $ac_link) 2>conftest.er1 12022 ac_status=$? 12023 grep -v '^ *+' conftest.er1 >conftest.err 12024 rm -f conftest.er1 12025 cat conftest.err >&5 12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12027 (exit $ac_status); } && 12028 { ac_try='test -z "$ac_cxx_werror_flag" 12029 || test ! -s conftest.err' 12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12031 (eval $ac_try) 2>&5 11489 12032 ac_status=$? 11490 12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11491 (exit $ac_status); } &&11492 { ac_try='test -s conftest$ac_exeext'12034 (exit $ac_status); }; } && 12035 { ac_try='test -s conftest$ac_exeext' 11493 12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11494 12037 (eval $ac_try) 2>&5 … … 11503 12046 ac_cv_lib_dl_dlopen=no 11504 12047 fi 11505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12048 rm -f conftest.err conftest.$ac_objext \ 12049 conftest$ac_exeext conftest.$ac_ext 11506 12050 LIBS=$ac_check_lib_save_LIBS 11507 12051 fi … … 11527 12071 else 11528 12072 cat >conftest.$ac_ext <<_ACEOF 11529 #line $LINENO "configure"11530 12073 /* confdefs.h. */ 11531 12074 _ACEOF … … 11533 12076 cat >>conftest.$ac_ext <<_ACEOF 11534 12077 /* end confdefs.h. */ 12078 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 12079 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12080 #define shl_load innocuous_shl_load 12081 11535 12082 /* System header to define __stub macros and hopefully few prototypes, 11536 12083 which can conflict with char shl_load (); below. 11537 12084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11538 12085 <limits.h> exists even on freestanding compilers. */ 12086 11539 12087 #ifdef __STDC__ 11540 12088 # include <limits.h> … … 11542 12090 # include <assert.h> 11543 12091 #endif 12092 12093 #undef shl_load 12094 11544 12095 /* Override any gcc2 internal prototype to avoid an error. */ 11545 12096 #ifdef __cplusplus … … 11572 12123 rm -f conftest.$ac_objext conftest$ac_exeext 11573 12124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11574 (eval $ac_link) 2>&5 12125 (eval $ac_link) 2>conftest.er1 12126 ac_status=$? 12127 grep -v '^ *+' conftest.er1 >conftest.err 12128 rm -f conftest.er1 12129 cat conftest.err >&5 12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12131 (exit $ac_status); } && 12132 { ac_try='test -z "$ac_cxx_werror_flag" 12133 || test ! -s conftest.err' 12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12135 (eval $ac_try) 2>&5 11575 12136 ac_status=$? 11576 12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11577 (exit $ac_status); } &&11578 { ac_try='test -s conftest$ac_exeext'12138 (exit $ac_status); }; } && 12139 { ac_try='test -s conftest$ac_exeext' 11579 12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11580 12141 (eval $ac_try) 2>&5 … … 11589 12150 ac_cv_func_shl_load=no 11590 12151 fi 11591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12152 rm -f conftest.err conftest.$ac_objext \ 12153 conftest$ac_exeext conftest.$ac_ext 11592 12154 fi 11593 12155 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 11604 12166 LIBS="-ldld $LIBS" 11605 12167 cat >conftest.$ac_ext <<_ACEOF 11606 #line $LINENO "configure"11607 12168 /* confdefs.h. */ 11608 12169 _ACEOF … … 11628 12189 rm -f conftest.$ac_objext conftest$ac_exeext 11629 12190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11630 (eval $ac_link) 2>&5 12191 (eval $ac_link) 2>conftest.er1 12192 ac_status=$? 12193 grep -v '^ *+' conftest.er1 >conftest.err 12194 rm -f conftest.er1 12195 cat conftest.err >&5 12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12197 (exit $ac_status); } && 12198 { ac_try='test -z "$ac_cxx_werror_flag" 12199 || test ! -s conftest.err' 12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12201 (eval $ac_try) 2>&5 11631 12202 ac_status=$? 11632 12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11633 (exit $ac_status); } &&11634 { ac_try='test -s conftest$ac_exeext'12204 (exit $ac_status); }; } && 12205 { ac_try='test -s conftest$ac_exeext' 11635 12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11636 12207 (eval $ac_try) 2>&5 … … 11645 12216 ac_cv_lib_dld_shl_load=no 11646 12217 fi 11647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12218 rm -f conftest.err conftest.$ac_objext \ 12219 conftest$ac_exeext conftest.$ac_ext 11648 12220 LIBS=$ac_check_lib_save_LIBS 11649 12221 fi … … 11659 12231 else 11660 12232 cat >conftest.$ac_ext <<_ACEOF 11661 #line $LINENO "configure"11662 12233 /* confdefs.h. */ 11663 12234 _ACEOF … … 11665 12236 cat >>conftest.$ac_ext <<_ACEOF 11666 12237 /* end confdefs.h. */ 12238 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 12239 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12240 #define dlopen innocuous_dlopen 12241 11667 12242 /* System header to define __stub macros and hopefully few prototypes, 11668 12243 which can conflict with char dlopen (); below. 11669 12244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11670 12245 <limits.h> exists even on freestanding compilers. */ 12246 11671 12247 #ifdef __STDC__ 11672 12248 # include <limits.h> … … 11674 12250 # include <assert.h> 11675 12251 #endif 12252 12253 #undef dlopen 12254 11676 12255 /* Override any gcc2 internal prototype to avoid an error. */ 11677 12256 #ifdef __cplusplus … … 11704 12283 rm -f conftest.$ac_objext conftest$ac_exeext 11705 12284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11706 (eval $ac_link) 2>&5 12285 (eval $ac_link) 2>conftest.er1 12286 ac_status=$? 12287 grep -v '^ *+' conftest.er1 >conftest.err 12288 rm -f conftest.er1 12289 cat conftest.err >&5 12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12291 (exit $ac_status); } && 12292 { ac_try='test -z "$ac_cxx_werror_flag" 12293 || test ! -s conftest.err' 12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12295 (eval $ac_try) 2>&5 11707 12296 ac_status=$? 11708 12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11709 (exit $ac_status); } &&11710 { ac_try='test -s conftest$ac_exeext'12298 (exit $ac_status); }; } && 12299 { ac_try='test -s conftest$ac_exeext' 11711 12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11712 12301 (eval $ac_try) 2>&5 … … 11721 12310 ac_cv_func_dlopen=no 11722 12311 fi 11723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12312 rm -f conftest.err conftest.$ac_objext \ 12313 conftest$ac_exeext conftest.$ac_ext 11724 12314 fi 11725 12315 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 11736 12326 LIBS="-ldl $LIBS" 11737 12327 cat >conftest.$ac_ext <<_ACEOF 11738 #line $LINENO "configure"11739 12328 /* confdefs.h. */ 11740 12329 _ACEOF … … 11760 12349 rm -f conftest.$ac_objext conftest$ac_exeext 11761 12350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11762 (eval $ac_link) 2>&5 12351 (eval $ac_link) 2>conftest.er1 12352 ac_status=$? 12353 grep -v '^ *+' conftest.er1 >conftest.err 12354 rm -f conftest.er1 12355 cat conftest.err >&5 12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12357 (exit $ac_status); } && 12358 { ac_try='test -z "$ac_cxx_werror_flag" 12359 || test ! -s conftest.err' 12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12361 (eval $ac_try) 2>&5 11763 12362 ac_status=$? 11764 12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11765 (exit $ac_status); } &&11766 { ac_try='test -s conftest$ac_exeext'12364 (exit $ac_status); }; } && 12365 { ac_try='test -s conftest$ac_exeext' 11767 12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11768 12367 (eval $ac_try) 2>&5 … … 11777 12376 ac_cv_lib_dl_dlopen=no 11778 12377 fi 11779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12378 rm -f conftest.err conftest.$ac_objext \ 12379 conftest$ac_exeext conftest.$ac_ext 11780 12380 LIBS=$ac_check_lib_save_LIBS 11781 12381 fi … … 11793 12393 LIBS="-lsvld $LIBS" 11794 12394 cat >conftest.$ac_ext <<_ACEOF 11795 #line $LINENO "configure"11796 12395 /* confdefs.h. */ 11797 12396 _ACEOF … … 11817 12416 rm -f conftest.$ac_objext conftest$ac_exeext 11818 12417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11819 (eval $ac_link) 2>&5 12418 (eval $ac_link) 2>conftest.er1 12419 ac_status=$? 12420 grep -v '^ *+' conftest.er1 >conftest.err 12421 rm -f conftest.er1 12422 cat conftest.err >&5 12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12424 (exit $ac_status); } && 12425 { ac_try='test -z "$ac_cxx_werror_flag" 12426 || test ! -s conftest.err' 12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12428 (eval $ac_try) 2>&5 11820 12429 ac_status=$? 11821 12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11822 (exit $ac_status); } &&11823 { ac_try='test -s conftest$ac_exeext'12431 (exit $ac_status); }; } && 12432 { ac_try='test -s conftest$ac_exeext' 11824 12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11825 12434 (eval $ac_try) 2>&5 … … 11834 12443 ac_cv_lib_svld_dlopen=no 11835 12444 fi 11836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12445 rm -f conftest.err conftest.$ac_objext \ 12446 conftest$ac_exeext conftest.$ac_ext 11837 12447 LIBS=$ac_check_lib_save_LIBS 11838 12448 fi … … 11850 12460 LIBS="-ldld $LIBS" 11851 12461 cat >conftest.$ac_ext <<_ACEOF 11852 #line $LINENO "configure"11853 12462 /* confdefs.h. */ 11854 12463 _ACEOF … … 11874 12483 rm -f conftest.$ac_objext conftest$ac_exeext 11875 12484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11876 (eval $ac_link) 2>&5 12485 (eval $ac_link) 2>conftest.er1 12486 ac_status=$? 12487 grep -v '^ *+' conftest.er1 >conftest.err 12488 rm -f conftest.er1 12489 cat conftest.err >&5 12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12491 (exit $ac_status); } && 12492 { ac_try='test -z "$ac_cxx_werror_flag" 12493 || test ! -s conftest.err' 12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12495 (eval $ac_try) 2>&5 11877 12496 ac_status=$? 11878 12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11879 (exit $ac_status); } &&11880 { ac_try='test -s conftest$ac_exeext'12498 (exit $ac_status); }; } && 12499 { ac_try='test -s conftest$ac_exeext' 11881 12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11882 12501 (eval $ac_try) 2>&5 … … 11891 12510 ac_cv_lib_dld_dld_link=no 11892 12511 fi 11893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12512 rm -f conftest.err conftest.$ac_objext \ 12513 conftest$ac_exeext conftest.$ac_ext 11894 12514 LIBS=$ac_check_lib_save_LIBS 11895 12515 fi … … 11946 12566 lt_status=$lt_dlunknown 11947 12567 cat > conftest.$ac_ext <<EOF 11948 #line 1 1948 "configure"12568 #line 12568 "configure" 11949 12569 #include "confdefs.h" 11950 12570 … … 12044 12664 lt_status=$lt_dlunknown 12045 12665 cat > conftest.$ac_ext <<EOF 12046 #line 12 046 "configure"12666 #line 12666 "configure" 12047 12667 #include "confdefs.h" 12048 12668 … … 12161 12781 # careful not to overquote the AC_SUBSTed values. We take copies of the 12162 12782 # variables and quote the copies for generation of the libtool script. 12163 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 12783 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 12784 SED SHELL STRIP \ 12164 12785 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 12165 12786 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 12219 12840 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 12220 12841 # Double-quote double-evaled strings. 12221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""12842 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 12222 12843 ;; 12223 12844 *) … … 12240 12861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 12241 12862 12242 # Set the command separator (default: ~)12243 _S_=\${LIBTOOL_CMD_SEP-\~}12244 12245 12863 # Shell to use when invoking shell scripts. 12246 12864 SHELL=$lt_SHELL … … 12294 12912 12295 12913 # A symbol stripping program 12296 STRIP=$ STRIP12914 STRIP=$lt_STRIP 12297 12915 12298 12916 # Used to examine libraries when file_magic_cmd begins "file" … … 12325 12943 12326 12944 # Shared library suffix (normally ".so"). 12327 shrext ='$shrext'12945 shrext_cmds='$shrext_cmds' 12328 12946 12329 12947 # Executable file suffix (normally ""). … … 12542 13160 # `config.status --recheck' to rerun these tests and create the 12543 13161 # libtool script then. 12544 test -f Makefile && make "$ltmain" 13162 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 13163 if test -f "$ltmain_in"; then 13164 test -f Makefile && make "$ltmain" 13165 fi 12545 13166 fi 12546 13167 … … 12640 13261 test "$enable_shared" = yes && enable_static=no 12641 13262 if test -n "$RANLIB"; then 12642 archive_cmds="$archive_cmds \${_S_}\$RANLIB \$lib"13263 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12643 13264 postinstall_cmds='$RANLIB $lib' 12644 13265 fi 12645 13266 ;; 12646 aix4* )13267 aix4* | aix5*) 12647 13268 test "$enable_shared" = yes && enable_static=no 12648 13269 ;; … … 12784 13405 linux*) 12785 13406 case $CC in 12786 icc |ecc)13407 icc* | ecc*) 12787 13408 lt_prog_compiler_wl_F77='-Wl,' 12788 13409 lt_prog_compiler_pic_F77='-KPIC' 12789 13410 lt_prog_compiler_static_F77='-static' 12790 13411 ;; 12791 ccc )13412 ccc*) 12792 13413 lt_prog_compiler_wl_F77='-Wl,' 12793 13414 # All Alpha code is PIC. … … 12851 13472 # 12852 13473 if test -n "$lt_prog_compiler_pic_F77"; then 12853 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 13474 13475 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 12854 13476 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 12855 13477 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then … … 12869 13491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12870 13492 -e 's:$: $lt_compiler_flag:'` 12871 (eval echo "\"\$as_me:1 2871: $lt_compile\"" >&5)13493 (eval echo "\"\$as_me:13493: $lt_compile\"" >&5) 12872 13494 (eval "$lt_compile" 2>conftest.err) 12873 13495 ac_status=$? 12874 13496 cat conftest.err >&5 12875 echo "$as_me:1 2875: \$? = $ac_status" >&513497 echo "$as_me:13497: \$? = $ac_status" >&5 12876 13498 if (exit $ac_status) && test -s "$ac_outfile"; then 12877 13499 # The compiler can only warn and ignore the option if not recognized … … 12920 13542 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 12921 13543 12922 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers12923 # that will create temporary files in the current directory regardless of12924 # the output directory. Thus, making CWD read-only will cause this test12925 # to fail, enabling locking or at least warning the user not to do parallel12926 # builds.12927 chmod -w .12928 12929 13544 lt_compiler_flag="-o out/conftest2.$ac_objext" 12930 13545 # Insert the option either (1) after the last *FLAGS variable, or … … 12936 13551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12937 13552 -e 's:$: $lt_compiler_flag:'` 12938 (eval echo "\"\$as_me:1 2938: $lt_compile\"" >&5)13553 (eval echo "\"\$as_me:13553: $lt_compile\"" >&5) 12939 13554 (eval "$lt_compile" 2>out/conftest.err) 12940 13555 ac_status=$? 12941 13556 cat out/conftest.err >&5 12942 echo "$as_me:1 2942: \$? = $ac_status" >&513557 echo "$as_me:13557: \$? = $ac_status" >&5 12943 13558 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12944 13559 then … … 12950 13565 fi 12951 13566 chmod u+w . 12952 $rm conftest* out/* 12953 rmdir out 13567 $rm conftest* 13568 # SGI C++ compiler will create directory out/ii_files/ for 13569 # template instantiation 13570 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13571 $rm out/* && rmdir out 12954 13572 cd .. 12955 13573 rmdir conftest … … 13061 13679 13062 13680 amigaos*) 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)'13681 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)' 13064 13682 hardcode_libdir_flag_spec_F77='-L$libdir' 13065 13683 hardcode_minus_L_F77=yes … … 13103 13721 echo EXPORTS > $output_objdir/$soname.def; 13104 13722 cat $export_symbols >> $output_objdir/$soname.def; 13105 fi ${_S_}13723 fi~ 13106 13724 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 13107 13725 else … … 13147 13765 hardcode_shlibpath_var_F77=no 13148 13766 ;; 13767 13768 linux*) 13769 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 13770 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13771 archive_cmds_F77="$tmp_archive_cmds" 13772 supports_anon_versioning=no 13773 case `$LD -v 2>/dev/null` in 13774 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 13775 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 13776 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 13777 *\ 2.11.*) ;; # other 2.11 versions 13778 *) supports_anon_versioning=yes ;; 13779 esac 13780 if test $supports_anon_versioning = yes; then 13781 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 13782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13783 $echo "local: *; };" >> $output_objdir/$libname.ver~ 13784 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13785 else 13786 archive_expsym_cmds_F77="$tmp_archive_cmds" 13787 fi 13788 else 13789 ld_shlibs_F77=no 13790 fi 13791 ;; 13149 13792 13150 13793 *) … … 13175 13818 allow_undefined_flag_F77=unsupported 13176 13819 always_export_symbols_F77=yes 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'13820 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' 13178 13821 # Note: this linker hardcodes the directories in LIBPATH if there 13179 13822 # are no directories specified by -L. … … 13282 13925 rm -f conftest.$ac_objext conftest$ac_exeext 13283 13926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13284 (eval $ac_link) 2>&5 13927 (eval $ac_link) 2>conftest.er1 13928 ac_status=$? 13929 grep -v '^ *+' conftest.er1 >conftest.err 13930 rm -f conftest.er1 13931 cat conftest.err >&5 13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13933 (exit $ac_status); } && 13934 { ac_try='test -z "$ac_f77_werror_flag" 13935 || test ! -s conftest.err' 13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13937 (eval $ac_try) 2>&5 13285 13938 ac_status=$? 13286 13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13287 (exit $ac_status); } &&13288 { ac_try='test -s conftest$ac_exeext'13940 (exit $ac_status); }; } && 13941 { ac_try='test -s conftest$ac_exeext' 13289 13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13290 13943 (eval $ac_try) 2>&5 … … 13303 13956 13304 13957 fi 13305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13958 rm -f conftest.err conftest.$ac_objext \ 13959 conftest$ac_exeext conftest.$ac_ext 13306 13960 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13307 13961 … … 13322 13976 rm -f conftest.$ac_objext conftest$ac_exeext 13323 13977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13324 (eval $ac_link) 2>&5 13978 (eval $ac_link) 2>conftest.er1 13979 ac_status=$? 13980 grep -v '^ *+' conftest.er1 >conftest.err 13981 rm -f conftest.er1 13982 cat conftest.err >&5 13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13984 (exit $ac_status); } && 13985 { ac_try='test -z "$ac_f77_werror_flag" 13986 || test ! -s conftest.err' 13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13988 (eval $ac_try) 2>&5 13325 13989 ac_status=$? 13326 13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13327 (exit $ac_status); } &&13328 { ac_try='test -s conftest$ac_exeext'13991 (exit $ac_status); }; } && 13992 { ac_try='test -s conftest$ac_exeext' 13329 13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13330 13994 (eval $ac_try) 2>&5 … … 13343 14007 13344 14008 fi 13345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14009 rm -f conftest.err conftest.$ac_objext \ 14010 conftest$ac_exeext conftest.$ac_ext 13346 14011 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13347 14012 … … 13357 14022 archive_cmds_need_lc_F77=yes 13358 14023 # This is similar to how AIX traditionally builds it's shared libraries. 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'14024 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' 13360 14025 fi 13361 14026 fi … … 13363 14028 13364 14029 amigaos*) 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)'14030 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)' 13366 14031 hardcode_libdir_flag_spec_F77='-L$libdir' 13367 14032 hardcode_minus_L_F77=yes … … 13384 14049 libext=lib 13385 14050 # Tell ltmain to make .dll files, not .so files. 13386 shrext =".dll"14051 shrext_cmds=".dll" 13387 14052 # FIXME: Setting linknames here is a bad hack. 13388 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ${_S_}linknames='14053 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 13389 14054 # The linker will automatically build a .lib file if we build a DLL. 13390 14055 old_archive_From_new_cmds_F77='true' … … 13396 14061 13397 14062 darwin* | rhapsody*) 13398 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then14063 if test "$GXX" = yes ; then 13399 14064 archive_cmds_need_lc_F77=no 13400 14065 case "$host_os" in … … 13402 14067 allow_undefined_flag_F77='-undefined suppress' 13403 14068 ;; 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 14069 *) # Darwin 1.3 on 14070 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 14071 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14072 else 14073 case ${MACOSX_DEPLOYMENT_TARGET} in 14074 10.[012]) 14075 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14076 ;; 14077 10.*) 14078 allow_undefined_flag_F77='-undefined dynamic_lookup' 14079 ;; 14080 esac 14081 fi 13420 14082 ;; 13421 14083 esac 13422 # FIXME: Relying on posixy $() will cause problems for13423 # cross-compilation, but unfortunately the echo tests do not13424 # yet detect zsh echo's removal of \ escapes. Also zsh mangles13425 # `"' quotes if we put them in here... so don't!13426 14084 lt_int_apple_cc_single_mod=no 13427 14085 output_verbose_link_cmd='echo' … … 13430 14088 fi 13431 14089 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 13432 archive_cmds_F77='$CC -dynamiclib $archargs-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'14090 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13433 14091 else 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'14092 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' 13435 14093 fi 13436 module_cmds_F77='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'14094 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 13437 14095 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 13438 14096 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 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}'14097 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}' 13440 14098 else 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}'14099 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}' 13442 14100 fi 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}'14101 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}' 13444 14102 hardcode_direct_F77=no 13445 14103 hardcode_automatic_F77=yes … … 13447 14105 whole_archive_flag_spec_F77='-all_load $convenience' 13448 14106 link_all_deplibs_F77=yes 14107 else 14108 ld_shlibs_F77=no 13449 14109 fi 13450 14110 ;; … … 13480 14140 13481 14141 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13482 freebsd* )14142 freebsd* | kfreebsd*-gnu) 13483 14143 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 13484 14144 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13489 14149 hpux9*) 13490 14150 if test "$GCC" = yes; then 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'14151 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' 13492 14152 else 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'14153 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' 13494 14154 fi 13495 14155 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' … … 13611 14271 hardcode_minus_L_F77=yes 13612 14272 allow_undefined_flag_F77=unsupported 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'14273 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' 13614 14274 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 13615 14275 ;; … … 13635 14295 allow_undefined_flag_F77=' -expect_unresolved \*' 13636 14296 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' 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'14297 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~ 14298 $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' 13639 14299 13640 14300 # Both c and cxx compiler support -rpath directly … … 13656 14316 if test "$GCC" = yes; then 13657 14317 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 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'14318 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 14319 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 13660 14320 else 13661 14321 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'14322 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 14323 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 13664 14324 fi 13665 14325 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13750 14410 # object files and a static libstdc++, better avoid it by now 13751 14411 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'14412 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 14413 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 13754 14414 hardcode_libdir_flag_spec_F77= 13755 14415 hardcode_shlibpath_var_F77=no … … 13788 14448 if test "$enable_shared" = yes && test "$GCC" = yes; then 13789 14449 case $archive_cmds_F77 in 13790 * "$_S_"*)14450 *'~'*) 13791 14451 # FIXME: we may have to deal with multi-command sequences. 13792 14452 ;; … … 13840 14500 esac 13841 14501 13842 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&513843 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&613844 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" ; then13848 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, we13852 # have to relink, otherwise we might link with an installed library13853 # when we should be linking with a yet-to-be-installed one13854 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&13855 test "$hardcode_minus_L_F77" != no; then13856 # Linking always hardcodes the temporary library directory.13857 hardcode_action_F77=relink13858 else13859 # We can link without hardcoding, and we can hardcode nonexisting dirs.13860 hardcode_action_F77=immediate13861 fi13862 else13863 # We cannot hardcode anything, or else we can only hardcode existing13864 # directories.13865 hardcode_action_F77=unsupported13866 fi13867 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&513868 echo "${ECHO_T}$hardcode_action_F77" >&613869 13870 if test "$hardcode_action_F77" = relink; then13871 # Fast installation is not supported13872 enable_fast_install=no13873 elif test "$shlibpath_overrides_runpath" = yes ||13874 test "$enable_shared" = no; then13875 # Fast installation is not necessary13876 enable_fast_install=needless13877 fi13878 13879 striplib=13880 old_striplib=13881 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&513882 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&613883 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then13884 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"13885 test -z "$striplib" && striplib="$STRIP --strip-unneeded"13886 echo "$as_me:$LINENO: result: yes" >&513887 echo "${ECHO_T}yes" >&613888 else13889 # FIXME - insert some real tests, host_os isn't really good enough13890 case $host_os in13891 NOT-darwin*)13892 if test -n "$STRIP" ; then13893 striplib="$STRIP -x"13894 echo "$as_me:$LINENO: result: yes" >&513895 echo "${ECHO_T}yes" >&613896 else13897 echo "$as_me:$LINENO: result: no" >&513898 echo "${ECHO_T}no" >&613899 fi13900 ;;13901 *)13902 echo "$as_me:$LINENO: result: no" >&513903 echo "${ECHO_T}no" >&613904 ;;13905 esac13906 fi13907 13908 14502 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 13909 14503 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 13911 14505 libname_spec='lib$name' 13912 14506 soname_spec= 13913 shrext =".so"14507 shrext_cmds=".so" 13914 14508 postinstall_cmds= 13915 14509 postuninstall_cmds= … … 13999 14593 library_names_spec='$libname.ixlibrary $libname.a' 14000 14594 # Create ${libname}_ixlibrary.a entries in /sys/libs. 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'14595 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' 14002 14596 ;; 14003 14597 … … 14024 14618 cygwin* | mingw* | pw32*) 14025 14619 version_type=windows 14026 shrext =".dll"14620 shrext_cmds=".dll" 14027 14621 need_version=no 14028 14622 need_lib_prefix=no … … 14032 14626 library_names_spec='$libname.dll.a' 14033 14627 # DLL is installed to $(libdir)/../bin by postinstall_cmds 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_}14628 postinstall_cmds='base_file=`basename \${file}`~ 14629 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 14630 dldir=$destdir/`dirname \$dlpath`~ 14631 test -d \$dldir || mkdir -p \$dldir~ 14038 14632 $install_prog $dir/$dlname \$dldir/$dlname' 14039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ${_S_}14040 dlpath=$dir/\$dldll ${_S_}14633 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14634 dlpath=$dir/\$dldll~ 14041 14635 $rm \$dlpath' 14042 14636 shlibpath_overrides_runpath=yes … … 14046 14640 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14047 14641 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14048 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"14642 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 14049 14643 ;; 14050 14644 mingw*) … … 14085 14679 need_lib_prefix=no 14086 14680 need_version=no 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' 14681 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14091 14682 soname_spec='${libname}${release}${major}$shared_ext' 14092 14683 shlibpath_overrides_runpath=yes 14093 14684 shlibpath_var=DYLD_LIBRARY_PATH 14094 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'14685 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 14095 14686 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 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"` 14687 if test "$GCC" = yes; then 14688 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"` 14689 else 14690 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 14098 14691 fi 14099 14692 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 14111 14704 freebsd1*) 14112 14705 dynamic_linker=no 14706 ;; 14707 14708 kfreebsd*-gnu) 14709 version_type=linux 14710 need_lib_prefix=no 14711 need_version=no 14712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14713 soname_spec='${libname}${release}${shared_ext}$major' 14714 shlibpath_var=LD_LIBRARY_PATH 14715 shlibpath_overrides_runpath=no 14716 hardcode_into_libs=yes 14717 dynamic_linker='GNU ld.so' 14113 14718 ;; 14114 14719 … … 14161 14766 case "$host_cpu" in 14162 14767 ia64*) 14163 shrext ='.so'14768 shrext_cmds='.so' 14164 14769 hardcode_into_libs=yes 14165 14770 dynamic_linker="$host_os dld.so" … … 14176 14781 ;; 14177 14782 hppa*64*) 14178 shrext ='.sl'14783 shrext_cmds='.sl' 14179 14784 hardcode_into_libs=yes 14180 14785 dynamic_linker="$host_os dld.sl" … … 14187 14792 ;; 14188 14793 *) 14189 shrext ='.sl'14794 shrext_cmds='.sl' 14190 14795 dynamic_linker="$host_os dld.sl" 14191 14796 shlibpath_var=SHLIB_PATH … … 14256 14861 hardcode_into_libs=yes 14257 14862 14863 # find out which ABI we are using 14864 libsuff= 14865 case "$host_cpu" in 14866 x86_64*|s390x*|powerpc64*) 14867 echo '#line 14867 "configure"' > conftest.$ac_ext 14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14869 (eval $ac_compile) 2>&5 14870 ac_status=$? 14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14872 (exit $ac_status); }; then 14873 case `/usr/bin/file conftest.$ac_objext` in 14874 *64-bit*) 14875 libsuff=64 14876 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 14877 ;; 14878 esac 14879 fi 14880 rm -rf conftest* 14881 ;; 14882 esac 14883 14884 # Append ld.so.conf contents to the search path 14885 if test -f /etc/ld.so.conf; then 14886 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 14887 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 14888 fi 14889 14258 14890 # We used to test for /lib/ld.so.1 and disable shared libraries on 14259 14891 # powerpc, because MkLinux only supported shared libraries with the … … 14263 14895 # assume the GNU/Linux dynamic linker is in use. 14264 14896 dynamic_linker='GNU/Linux ld.so' 14897 ;; 14898 14899 knetbsd*-gnu) 14900 version_type=linux 14901 need_lib_prefix=no 14902 need_version=no 14903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14904 soname_spec='${libname}${release}${shared_ext}$major' 14905 shlibpath_var=LD_LIBRARY_PATH 14906 shlibpath_overrides_runpath=no 14907 hardcode_into_libs=yes 14908 dynamic_linker='GNU ld.so' 14265 14909 ;; 14266 14910 … … 14274 14918 dynamic_linker='NetBSD (a.out) ld.so' 14275 14919 else 14276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14277 14921 soname_spec='${libname}${release}${shared_ext}$major' 14278 14922 dynamic_linker='NetBSD ld.elf_so' … … 14290 14934 ;; 14291 14935 14292 nto-qnx )14936 nto-qnx*) 14293 14937 version_type=linux 14294 14938 need_lib_prefix=no … … 14303 14947 version_type=sunos 14304 14948 need_lib_prefix=no 14305 need_version= no14949 need_version=yes 14306 14950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14307 14951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 14323 14967 os2*) 14324 14968 libname_spec='$name' 14325 shrext =".dll"14969 shrext_cmds=".dll" 14326 14970 need_lib_prefix=no 14327 14971 library_names_spec='$libname${shared_ext} $libname.a' … … 14420 15064 echo "${ECHO_T}$dynamic_linker" >&6 14421 15065 test "$dynamic_linker" = no && can_build_shared=no 15066 15067 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 15068 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 15069 hardcode_action_F77= 15070 if test -n "$hardcode_libdir_flag_spec_F77" || \ 15071 test -n "$runpath_var F77" || \ 15072 test "X$hardcode_automatic_F77"="Xyes" ; then 15073 15074 # We can hardcode non-existant directories. 15075 if test "$hardcode_direct_F77" != no && 15076 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15077 # have to relink, otherwise we might link with an installed library 15078 # when we should be linking with a yet-to-be-installed one 15079 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 15080 test "$hardcode_minus_L_F77" != no; then 15081 # Linking always hardcodes the temporary library directory. 15082 hardcode_action_F77=relink 15083 else 15084 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15085 hardcode_action_F77=immediate 15086 fi 15087 else 15088 # We cannot hardcode anything, or else we can only hardcode existing 15089 # directories. 15090 hardcode_action_F77=unsupported 15091 fi 15092 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 15093 echo "${ECHO_T}$hardcode_action_F77" >&6 15094 15095 if test "$hardcode_action_F77" = relink; then 15096 # Fast installation is not supported 15097 enable_fast_install=no 15098 elif test "$shlibpath_overrides_runpath" = yes || 15099 test "$enable_shared" = no; then 15100 # Fast installation is not necessary 15101 enable_fast_install=needless 15102 fi 15103 15104 striplib= 15105 old_striplib= 15106 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 15107 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 15108 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 15109 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 15110 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 15111 echo "$as_me:$LINENO: result: yes" >&5 15112 echo "${ECHO_T}yes" >&6 15113 else 15114 # FIXME - insert some real tests, host_os isn't really good enough 15115 case $host_os in 15116 darwin*) 15117 if test -n "$STRIP" ; then 15118 striplib="$STRIP -x" 15119 echo "$as_me:$LINENO: result: yes" >&5 15120 echo "${ECHO_T}yes" >&6 15121 else 15122 echo "$as_me:$LINENO: result: no" >&5 15123 echo "${ECHO_T}no" >&6 15124 fi 15125 ;; 15126 *) 15127 echo "$as_me:$LINENO: result: no" >&5 15128 echo "${ECHO_T}no" >&6 15129 ;; 15130 esac 15131 fi 15132 14422 15133 14423 15134 … … 14435 15146 # careful not to overquote the AC_SUBSTed values. We take copies of the 14436 15147 # variables and quote the copies for generation of the libtool script. 14437 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 15148 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 15149 SED SHELL STRIP \ 14438 15150 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 14439 15151 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 14493 15205 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 14494 15206 # Double-quote double-evaled strings. 14495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""15207 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 14496 15208 ;; 14497 15209 *) … … 14514 15226 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14515 15227 14516 # Set the command separator (default: ~)14517 _S_=\${LIBTOOL_CMD_SEP-\~}14518 14519 15228 # Shell to use when invoking shell scripts. 14520 15229 SHELL=$lt_SHELL … … 14568 15277 14569 15278 # A symbol stripping program 14570 STRIP=$ STRIP15279 STRIP=$lt_STRIP 14571 15280 14572 15281 # Used to examine libraries when file_magic_cmd begins "file" … … 14599 15308 14600 15309 # Shared library suffix (normally ".so"). 14601 shrext ='$shrext'15310 shrext_cmds='$shrext_cmds' 14602 15311 14603 15312 # Executable file suffix (normally ""). … … 14816 15525 # `config.status --recheck' to rerun these tests and create the 14817 15526 # libtool script then. 14818 test -f Makefile && make "$ltmain" 15527 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 15528 if test -f "$ltmain_in"; then 15529 test -f Makefile && make "$ltmain" 15530 fi 14819 15531 fi 14820 15532 … … 14875 15587 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 14876 15588 14877 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15589 15590 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 14878 15591 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 14879 15592 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 14893 15606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14894 15607 -e 's:$: $lt_compiler_flag:'` 14895 (eval echo "\"\$as_me:1 4895: $lt_compile\"" >&5)15608 (eval echo "\"\$as_me:15608: $lt_compile\"" >&5) 14896 15609 (eval "$lt_compile" 2>conftest.err) 14897 15610 ac_status=$? 14898 15611 cat conftest.err >&5 14899 echo "$as_me:1 4899: \$? = $ac_status" >&515612 echo "$as_me:15612: \$? = $ac_status" >&5 14900 15613 if (exit $ac_status) && test -s "$ac_outfile"; then 14901 15614 # The compiler can only warn and ignore the option if not recognized … … 15040 15753 linux*) 15041 15754 case $CC in 15042 icc |ecc)15755 icc* | ecc*) 15043 15756 lt_prog_compiler_wl_GCJ='-Wl,' 15044 15757 lt_prog_compiler_pic_GCJ='-KPIC' 15045 15758 lt_prog_compiler_static_GCJ='-static' 15046 15759 ;; 15047 ccc )15760 ccc*) 15048 15761 lt_prog_compiler_wl_GCJ='-Wl,' 15049 15762 # All Alpha code is PIC. … … 15107 15820 # 15108 15821 if test -n "$lt_prog_compiler_pic_GCJ"; then 15109 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15822 15823 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15110 15824 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 15111 15825 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then … … 15125 15839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15126 15840 -e 's:$: $lt_compiler_flag:'` 15127 (eval echo "\"\$as_me:15 127: $lt_compile\"" >&5)15841 (eval echo "\"\$as_me:15841: $lt_compile\"" >&5) 15128 15842 (eval "$lt_compile" 2>conftest.err) 15129 15843 ac_status=$? 15130 15844 cat conftest.err >&5 15131 echo "$as_me:15 131: \$? = $ac_status" >&515845 echo "$as_me:15845: \$? = $ac_status" >&5 15132 15846 if (exit $ac_status) && test -s "$ac_outfile"; then 15133 15847 # The compiler can only warn and ignore the option if not recognized … … 15176 15890 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15177 15891 15178 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers15179 # that will create temporary files in the current directory regardless of15180 # the output directory. Thus, making CWD read-only will cause this test15181 # to fail, enabling locking or at least warning the user not to do parallel15182 # builds.15183 chmod -w .15184 15185 15892 lt_compiler_flag="-o out/conftest2.$ac_objext" 15186 15893 # Insert the option either (1) after the last *FLAGS variable, or … … 15192 15899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15193 15900 -e 's:$: $lt_compiler_flag:'` 15194 (eval echo "\"\$as_me:15 194: $lt_compile\"" >&5)15901 (eval echo "\"\$as_me:15901: $lt_compile\"" >&5) 15195 15902 (eval "$lt_compile" 2>out/conftest.err) 15196 15903 ac_status=$? 15197 15904 cat out/conftest.err >&5 15198 echo "$as_me:15 198: \$? = $ac_status" >&515905 echo "$as_me:15905: \$? = $ac_status" >&5 15199 15906 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15200 15907 then … … 15206 15913 fi 15207 15914 chmod u+w . 15208 $rm conftest* out/* 15209 rmdir out 15915 $rm conftest* 15916 # SGI C++ compiler will create directory out/ii_files/ for 15917 # template instantiation 15918 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15919 $rm out/* && rmdir out 15210 15920 cd .. 15211 15921 rmdir conftest … … 15317 16027 15318 16028 amigaos*) 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)'16029 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)' 15320 16030 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15321 16031 hardcode_minus_L_GCJ=yes … … 15359 16069 echo EXPORTS > $output_objdir/$soname.def; 15360 16070 cat $export_symbols >> $output_objdir/$soname.def; 15361 fi ${_S_}16071 fi~ 15362 16072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 15363 16073 else … … 15403 16113 hardcode_shlibpath_var_GCJ=no 15404 16114 ;; 16115 16116 linux*) 16117 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 16118 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16119 archive_cmds_GCJ="$tmp_archive_cmds" 16120 supports_anon_versioning=no 16121 case `$LD -v 2>/dev/null` in 16122 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 16123 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 16124 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 16125 *\ 2.11.*) ;; # other 2.11 versions 16126 *) supports_anon_versioning=yes ;; 16127 esac 16128 if test $supports_anon_versioning = yes; then 16129 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 16130 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 16131 $echo "local: *; };" >> $output_objdir/$libname.ver~ 16132 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 16133 else 16134 archive_expsym_cmds_GCJ="$tmp_archive_cmds" 16135 fi 16136 else 16137 ld_shlibs_GCJ=no 16138 fi 16139 ;; 15405 16140 15406 16141 *) … … 15431 16166 allow_undefined_flag_GCJ=unsupported 15432 16167 always_export_symbols_GCJ=yes 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'16168 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' 15434 16169 # Note: this linker hardcodes the directories in LIBPATH if there 15435 16170 # are no directories specified by -L. … … 15532 16267 # Determine the default libpath from the value encoded in an empty executable. 15533 16268 cat >conftest.$ac_ext <<_ACEOF 15534 #line $LINENO "configure"15535 16269 /* confdefs.h. */ 15536 16270 _ACEOF … … 15549 16283 rm -f conftest.$ac_objext conftest$ac_exeext 15550 16284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15551 (eval $ac_link) 2>&5 16285 (eval $ac_link) 2>conftest.er1 16286 ac_status=$? 16287 grep -v '^ *+' conftest.er1 >conftest.err 16288 rm -f conftest.er1 16289 cat conftest.err >&5 16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16291 (exit $ac_status); } && 16292 { ac_try='test -z "$ac_c_werror_flag" 16293 || test ! -s conftest.err' 16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16295 (eval $ac_try) 2>&5 15552 16296 ac_status=$? 15553 16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15554 (exit $ac_status); } &&15555 { ac_try='test -s conftest$ac_exeext'16298 (exit $ac_status); }; } && 16299 { ac_try='test -s conftest$ac_exeext' 15556 16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15557 16301 (eval $ac_try) 2>&5 … … 15570 16314 15571 16315 fi 15572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16316 rm -f conftest.err conftest.$ac_objext \ 16317 conftest$ac_exeext conftest.$ac_ext 15573 16318 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15574 16319 … … 15583 16328 # Determine the default libpath from the value encoded in an empty executable. 15584 16329 cat >conftest.$ac_ext <<_ACEOF 15585 #line $LINENO "configure"15586 16330 /* confdefs.h. */ 15587 16331 _ACEOF … … 15600 16344 rm -f conftest.$ac_objext conftest$ac_exeext 15601 16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15602 (eval $ac_link) 2>&5 16346 (eval $ac_link) 2>conftest.er1 16347 ac_status=$? 16348 grep -v '^ *+' conftest.er1 >conftest.err 16349 rm -f conftest.er1 16350 cat conftest.err >&5 16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16352 (exit $ac_status); } && 16353 { ac_try='test -z "$ac_c_werror_flag" 16354 || test ! -s conftest.err' 16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16356 (eval $ac_try) 2>&5 15603 16357 ac_status=$? 15604 16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15605 (exit $ac_status); } &&15606 { ac_try='test -s conftest$ac_exeext'16359 (exit $ac_status); }; } && 16360 { ac_try='test -s conftest$ac_exeext' 15607 16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15608 16362 (eval $ac_try) 2>&5 … … 15621 16375 15622 16376 fi 15623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16377 rm -f conftest.err conftest.$ac_objext \ 16378 conftest$ac_exeext conftest.$ac_ext 15624 16379 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15625 16380 … … 15635 16390 archive_cmds_need_lc_GCJ=yes 15636 16391 # This is similar to how AIX traditionally builds it's shared libraries. 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'16392 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' 15638 16393 fi 15639 16394 fi … … 15641 16396 15642 16397 amigaos*) 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)'16398 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)' 15644 16399 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15645 16400 hardcode_minus_L_GCJ=yes … … 15662 16417 libext=lib 15663 16418 # Tell ltmain to make .dll files, not .so files. 15664 shrext =".dll"16419 shrext_cmds=".dll" 15665 16420 # FIXME: Setting linknames here is a bad hack. 15666 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ${_S_}linknames='16421 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 15667 16422 # The linker will automatically build a .lib file if we build a DLL. 15668 16423 old_archive_From_new_cmds_GCJ='true' … … 15674 16429 15675 16430 darwin* | rhapsody*) 15676 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then16431 if test "$GXX" = yes ; then 15677 16432 archive_cmds_need_lc_GCJ=no 15678 16433 case "$host_os" in … … 15680 16435 allow_undefined_flag_GCJ='-undefined suppress' 15681 16436 ;; 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 16437 *) # Darwin 1.3 on 16438 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 16439 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16440 else 16441 case ${MACOSX_DEPLOYMENT_TARGET} in 16442 10.[012]) 16443 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16444 ;; 16445 10.*) 16446 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 16447 ;; 16448 esac 16449 fi 15698 16450 ;; 15699 16451 esac 15700 # FIXME: Relying on posixy $() will cause problems for15701 # cross-compilation, but unfortunately the echo tests do not15702 # yet detect zsh echo's removal of \ escapes. Also zsh mangles15703 # `"' quotes if we put them in here... so don't!15704 16452 lt_int_apple_cc_single_mod=no 15705 16453 output_verbose_link_cmd='echo' … … 15708 16456 fi 15709 16457 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 15710 archive_cmds_GCJ='$CC -dynamiclib $archargs-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'16458 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15711 16459 else 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'16460 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' 15713 16461 fi 15714 module_cmds_GCJ='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'16462 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15715 16463 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15716 16464 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 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}'16465 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}' 15718 16466 else 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}'16467 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}' 15720 16468 fi 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}'16469 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}' 15722 16470 hardcode_direct_GCJ=no 15723 16471 hardcode_automatic_GCJ=yes … … 15725 16473 whole_archive_flag_spec_GCJ='-all_load $convenience' 15726 16474 link_all_deplibs_GCJ=yes 16475 else 16476 ld_shlibs_GCJ=no 15727 16477 fi 15728 16478 ;; … … 15758 16508 15759 16509 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15760 freebsd* )16510 freebsd* | kfreebsd*-gnu) 15761 16511 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15762 16512 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 15767 16517 hpux9*) 15768 16518 if test "$GCC" = yes; then 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'16519 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' 15770 16520 else 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'16521 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' 15772 16522 fi 15773 16523 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' … … 15889 16639 hardcode_minus_L_GCJ=yes 15890 16640 allow_undefined_flag_GCJ=unsupported 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'16641 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' 15892 16642 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 15893 16643 ;; … … 15913 16663 allow_undefined_flag_GCJ=' -expect_unresolved \*' 15914 16664 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' 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'16665 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~ 16666 $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' 15917 16667 15918 16668 # Both c and cxx compiler support -rpath directly … … 15934 16684 if test "$GCC" = yes; then 15935 16685 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 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'16686 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 16687 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 15938 16688 else 15939 16689 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'16690 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 16691 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15942 16692 fi 15943 16693 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16028 16778 # object files and a static libstdc++, better avoid it by now 16029 16779 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 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'16780 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 16781 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 16032 16782 hardcode_libdir_flag_spec_GCJ= 16033 16783 hardcode_shlibpath_var_GCJ=no … … 16066 16816 if test "$enable_shared" = yes && test "$GCC" = yes; then 16067 16817 case $archive_cmds_GCJ in 16068 * "$_S_"*)16818 *'~'*) 16069 16819 # FIXME: we may have to deal with multi-command sequences. 16070 16820 ;; … … 16118 16868 esac 16119 16869 16120 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&516121 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&616122 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" ; then16126 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, we16130 # have to relink, otherwise we might link with an installed library16131 # when we should be linking with a yet-to-be-installed one16132 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&16133 test "$hardcode_minus_L_GCJ" != no; then16134 # Linking always hardcodes the temporary library directory.16135 hardcode_action_GCJ=relink16136 else16137 # We can link without hardcoding, and we can hardcode nonexisting dirs.16138 hardcode_action_GCJ=immediate16139 fi16140 else16141 # We cannot hardcode anything, or else we can only hardcode existing16142 # directories.16143 hardcode_action_GCJ=unsupported16144 fi16145 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&516146 echo "${ECHO_T}$hardcode_action_GCJ" >&616147 16148 if test "$hardcode_action_GCJ" = relink; then16149 # Fast installation is not supported16150 enable_fast_install=no16151 elif test "$shlibpath_overrides_runpath" = yes ||16152 test "$enable_shared" = no; then16153 # Fast installation is not necessary16154 enable_fast_install=needless16155 fi16156 16157 striplib=16158 old_striplib=16159 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&516160 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&616161 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then16162 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"16163 test -z "$striplib" && striplib="$STRIP --strip-unneeded"16164 echo "$as_me:$LINENO: result: yes" >&516165 echo "${ECHO_T}yes" >&616166 else16167 # FIXME - insert some real tests, host_os isn't really good enough16168 case $host_os in16169 NOT-darwin*)16170 if test -n "$STRIP" ; then16171 striplib="$STRIP -x"16172 echo "$as_me:$LINENO: result: yes" >&516173 echo "${ECHO_T}yes" >&616174 else16175 echo "$as_me:$LINENO: result: no" >&516176 echo "${ECHO_T}no" >&616177 fi16178 ;;16179 *)16180 echo "$as_me:$LINENO: result: no" >&516181 echo "${ECHO_T}no" >&616182 ;;16183 esac16184 fi16185 16186 16870 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16187 16871 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 16189 16873 libname_spec='lib$name' 16190 16874 soname_spec= 16191 shrext =".so"16875 shrext_cmds=".so" 16192 16876 postinstall_cmds= 16193 16877 postuninstall_cmds= … … 16277 16961 library_names_spec='$libname.ixlibrary $libname.a' 16278 16962 # Create ${libname}_ixlibrary.a entries in /sys/libs. 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'16963 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' 16280 16964 ;; 16281 16965 … … 16302 16986 cygwin* | mingw* | pw32*) 16303 16987 version_type=windows 16304 shrext =".dll"16988 shrext_cmds=".dll" 16305 16989 need_version=no 16306 16990 need_lib_prefix=no … … 16310 16994 library_names_spec='$libname.dll.a' 16311 16995 # DLL is installed to $(libdir)/../bin by postinstall_cmds 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_}16996 postinstall_cmds='base_file=`basename \${file}`~ 16997 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 16998 dldir=$destdir/`dirname \$dlpath`~ 16999 test -d \$dldir || mkdir -p \$dldir~ 16316 17000 $install_prog $dir/$dlname \$dldir/$dlname' 16317 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ${_S_}16318 dlpath=$dir/\$dldll ${_S_}17001 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17002 dlpath=$dir/\$dldll~ 16319 17003 $rm \$dlpath' 16320 17004 shlibpath_overrides_runpath=yes … … 16324 17008 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16325 17009 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16326 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"17010 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 16327 17011 ;; 16328 17012 mingw*) … … 16363 17047 need_lib_prefix=no 16364 17048 need_version=no 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' 17049 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16369 17050 soname_spec='${libname}${release}${major}$shared_ext' 16370 17051 shlibpath_overrides_runpath=yes 16371 17052 shlibpath_var=DYLD_LIBRARY_PATH 16372 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'17053 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 16373 17054 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 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"` 17055 if test "$GCC" = yes; then 17056 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"` 17057 else 17058 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 16376 17059 fi 16377 17060 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 16389 17072 freebsd1*) 16390 17073 dynamic_linker=no 17074 ;; 17075 17076 kfreebsd*-gnu) 17077 version_type=linux 17078 need_lib_prefix=no 17079 need_version=no 17080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 17081 soname_spec='${libname}${release}${shared_ext}$major' 17082 shlibpath_var=LD_LIBRARY_PATH 17083 shlibpath_overrides_runpath=no 17084 hardcode_into_libs=yes 17085 dynamic_linker='GNU ld.so' 16391 17086 ;; 16392 17087 … … 16439 17134 case "$host_cpu" in 16440 17135 ia64*) 16441 shrext ='.so'17136 shrext_cmds='.so' 16442 17137 hardcode_into_libs=yes 16443 17138 dynamic_linker="$host_os dld.so" … … 16454 17149 ;; 16455 17150 hppa*64*) 16456 shrext ='.sl'17151 shrext_cmds='.sl' 16457 17152 hardcode_into_libs=yes 16458 17153 dynamic_linker="$host_os dld.sl" … … 16465 17160 ;; 16466 17161 *) 16467 shrext ='.sl'17162 shrext_cmds='.sl' 16468 17163 dynamic_linker="$host_os dld.sl" 16469 17164 shlibpath_var=SHLIB_PATH … … 16534 17229 hardcode_into_libs=yes 16535 17230 17231 # find out which ABI we are using 17232 libsuff= 17233 case "$host_cpu" in 17234 x86_64*|s390x*|powerpc64*) 17235 echo '#line 17235 "configure"' > conftest.$ac_ext 17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17237 (eval $ac_compile) 2>&5 17238 ac_status=$? 17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17240 (exit $ac_status); }; then 17241 case `/usr/bin/file conftest.$ac_objext` in 17242 *64-bit*) 17243 libsuff=64 17244 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 17245 ;; 17246 esac 17247 fi 17248 rm -rf conftest* 17249 ;; 17250 esac 17251 17252 # Append ld.so.conf contents to the search path 17253 if test -f /etc/ld.so.conf; then 17254 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 17255 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 17256 fi 17257 16536 17258 # We used to test for /lib/ld.so.1 and disable shared libraries on 16537 17259 # powerpc, because MkLinux only supported shared libraries with the … … 16541 17263 # assume the GNU/Linux dynamic linker is in use. 16542 17264 dynamic_linker='GNU/Linux ld.so' 17265 ;; 17266 17267 knetbsd*-gnu) 17268 version_type=linux 17269 need_lib_prefix=no 17270 need_version=no 17271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 17272 soname_spec='${libname}${release}${shared_ext}$major' 17273 shlibpath_var=LD_LIBRARY_PATH 17274 shlibpath_overrides_runpath=no 17275 hardcode_into_libs=yes 17276 dynamic_linker='GNU ld.so' 16543 17277 ;; 16544 17278 … … 16552 17286 dynamic_linker='NetBSD (a.out) ld.so' 16553 17287 else 16554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'17288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16555 17289 soname_spec='${libname}${release}${shared_ext}$major' 16556 17290 dynamic_linker='NetBSD ld.elf_so' … … 16568 17302 ;; 16569 17303 16570 nto-qnx )17304 nto-qnx*) 16571 17305 version_type=linux 16572 17306 need_lib_prefix=no … … 16581 17315 version_type=sunos 16582 17316 need_lib_prefix=no 16583 need_version= no17317 need_version=yes 16584 17318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16585 17319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 16601 17335 os2*) 16602 17336 libname_spec='$name' 16603 shrext =".dll"17337 shrext_cmds=".dll" 16604 17338 need_lib_prefix=no 16605 17339 library_names_spec='$libname${shared_ext} $libname.a' … … 16699 17433 test "$dynamic_linker" = no && can_build_shared=no 16700 17434 17435 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 17436 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 17437 hardcode_action_GCJ= 17438 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 17439 test -n "$runpath_var GCJ" || \ 17440 test "X$hardcode_automatic_GCJ"="Xyes" ; then 17441 17442 # We can hardcode non-existant directories. 17443 if test "$hardcode_direct_GCJ" != no && 17444 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17445 # have to relink, otherwise we might link with an installed library 17446 # when we should be linking with a yet-to-be-installed one 17447 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 17448 test "$hardcode_minus_L_GCJ" != no; then 17449 # Linking always hardcodes the temporary library directory. 17450 hardcode_action_GCJ=relink 17451 else 17452 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17453 hardcode_action_GCJ=immediate 17454 fi 17455 else 17456 # We cannot hardcode anything, or else we can only hardcode existing 17457 # directories. 17458 hardcode_action_GCJ=unsupported 17459 fi 17460 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 17461 echo "${ECHO_T}$hardcode_action_GCJ" >&6 17462 17463 if test "$hardcode_action_GCJ" = relink; then 17464 # Fast installation is not supported 17465 enable_fast_install=no 17466 elif test "$shlibpath_overrides_runpath" = yes || 17467 test "$enable_shared" = no; then 17468 # Fast installation is not necessary 17469 enable_fast_install=needless 17470 fi 17471 17472 striplib= 17473 old_striplib= 17474 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 17475 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 17476 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 17477 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 17478 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 17479 echo "$as_me:$LINENO: result: yes" >&5 17480 echo "${ECHO_T}yes" >&6 17481 else 17482 # FIXME - insert some real tests, host_os isn't really good enough 17483 case $host_os in 17484 darwin*) 17485 if test -n "$STRIP" ; then 17486 striplib="$STRIP -x" 17487 echo "$as_me:$LINENO: result: yes" >&5 17488 echo "${ECHO_T}yes" >&6 17489 else 17490 echo "$as_me:$LINENO: result: no" >&5 17491 echo "${ECHO_T}no" >&6 17492 fi 17493 ;; 17494 *) 17495 echo "$as_me:$LINENO: result: no" >&5 17496 echo "${ECHO_T}no" >&6 17497 ;; 17498 esac 17499 fi 17500 16701 17501 if test "x$enable_dlopen" != xyes; then 16702 17502 enable_dlopen=unknown … … 16734 17534 LIBS="-ldl $LIBS" 16735 17535 cat >conftest.$ac_ext <<_ACEOF 16736 #line $LINENO "configure"16737 17536 /* confdefs.h. */ 16738 17537 _ACEOF … … 16758 17557 rm -f conftest.$ac_objext conftest$ac_exeext 16759 17558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16760 (eval $ac_link) 2>&5 17559 (eval $ac_link) 2>conftest.er1 17560 ac_status=$? 17561 grep -v '^ *+' conftest.er1 >conftest.err 17562 rm -f conftest.er1 17563 cat conftest.err >&5 17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17565 (exit $ac_status); } && 17566 { ac_try='test -z "$ac_c_werror_flag" 17567 || test ! -s conftest.err' 17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17569 (eval $ac_try) 2>&5 16761 17570 ac_status=$? 16762 17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16763 (exit $ac_status); } &&16764 { ac_try='test -s conftest$ac_exeext'17572 (exit $ac_status); }; } && 17573 { ac_try='test -s conftest$ac_exeext' 16765 17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16766 17575 (eval $ac_try) 2>&5 … … 16775 17584 ac_cv_lib_dl_dlopen=no 16776 17585 fi 16777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17586 rm -f conftest.err conftest.$ac_objext \ 17587 conftest$ac_exeext conftest.$ac_ext 16778 17588 LIBS=$ac_check_lib_save_LIBS 16779 17589 fi … … 16799 17609 else 16800 17610 cat >conftest.$ac_ext <<_ACEOF 16801 #line $LINENO "configure"16802 17611 /* confdefs.h. */ 16803 17612 _ACEOF … … 16805 17614 cat >>conftest.$ac_ext <<_ACEOF 16806 17615 /* end confdefs.h. */ 17616 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 17617 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17618 #define shl_load innocuous_shl_load 17619 16807 17620 /* System header to define __stub macros and hopefully few prototypes, 16808 17621 which can conflict with char shl_load (); below. 16809 17622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16810 17623 <limits.h> exists even on freestanding compilers. */ 17624 16811 17625 #ifdef __STDC__ 16812 17626 # include <limits.h> … … 16814 17628 # include <assert.h> 16815 17629 #endif 17630 17631 #undef shl_load 17632 16816 17633 /* Override any gcc2 internal prototype to avoid an error. */ 16817 17634 #ifdef __cplusplus … … 16844 17661 rm -f conftest.$ac_objext conftest$ac_exeext 16845 17662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16846 (eval $ac_link) 2>&5 17663 (eval $ac_link) 2>conftest.er1 17664 ac_status=$? 17665 grep -v '^ *+' conftest.er1 >conftest.err 17666 rm -f conftest.er1 17667 cat conftest.err >&5 17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17669 (exit $ac_status); } && 17670 { ac_try='test -z "$ac_c_werror_flag" 17671 || test ! -s conftest.err' 17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17673 (eval $ac_try) 2>&5 16847 17674 ac_status=$? 16848 17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16849 (exit $ac_status); } &&16850 { ac_try='test -s conftest$ac_exeext'17676 (exit $ac_status); }; } && 17677 { ac_try='test -s conftest$ac_exeext' 16851 17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16852 17679 (eval $ac_try) 2>&5 … … 16861 17688 ac_cv_func_shl_load=no 16862 17689 fi 16863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17690 rm -f conftest.err conftest.$ac_objext \ 17691 conftest$ac_exeext conftest.$ac_ext 16864 17692 fi 16865 17693 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 16876 17704 LIBS="-ldld $LIBS" 16877 17705 cat >conftest.$ac_ext <<_ACEOF 16878 #line $LINENO "configure"16879 17706 /* confdefs.h. */ 16880 17707 _ACEOF … … 16900 17727 rm -f conftest.$ac_objext conftest$ac_exeext 16901 17728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16902 (eval $ac_link) 2>&5 17729 (eval $ac_link) 2>conftest.er1 17730 ac_status=$? 17731 grep -v '^ *+' conftest.er1 >conftest.err 17732 rm -f conftest.er1 17733 cat conftest.err >&5 17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17735 (exit $ac_status); } && 17736 { ac_try='test -z "$ac_c_werror_flag" 17737 || test ! -s conftest.err' 17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17739 (eval $ac_try) 2>&5 16903 17740 ac_status=$? 16904 17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16905 (exit $ac_status); } &&16906 { ac_try='test -s conftest$ac_exeext'17742 (exit $ac_status); }; } && 17743 { ac_try='test -s conftest$ac_exeext' 16907 17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16908 17745 (eval $ac_try) 2>&5 … … 16917 17754 ac_cv_lib_dld_shl_load=no 16918 17755 fi 16919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17756 rm -f conftest.err conftest.$ac_objext \ 17757 conftest$ac_exeext conftest.$ac_ext 16920 17758 LIBS=$ac_check_lib_save_LIBS 16921 17759 fi … … 16931 17769 else 16932 17770 cat >conftest.$ac_ext <<_ACEOF 16933 #line $LINENO "configure"16934 17771 /* confdefs.h. */ 16935 17772 _ACEOF … … 16937 17774 cat >>conftest.$ac_ext <<_ACEOF 16938 17775 /* end confdefs.h. */ 17776 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 17777 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17778 #define dlopen innocuous_dlopen 17779 16939 17780 /* System header to define __stub macros and hopefully few prototypes, 16940 17781 which can conflict with char dlopen (); below. 16941 17782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16942 17783 <limits.h> exists even on freestanding compilers. */ 17784 16943 17785 #ifdef __STDC__ 16944 17786 # include <limits.h> … … 16946 17788 # include <assert.h> 16947 17789 #endif 17790 17791 #undef dlopen 17792 16948 17793 /* Override any gcc2 internal prototype to avoid an error. */ 16949 17794 #ifdef __cplusplus … … 16976 17821 rm -f conftest.$ac_objext conftest$ac_exeext 16977 17822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16978 (eval $ac_link) 2>&5 17823 (eval $ac_link) 2>conftest.er1 17824 ac_status=$? 17825 grep -v '^ *+' conftest.er1 >conftest.err 17826 rm -f conftest.er1 17827 cat conftest.err >&5 17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17829 (exit $ac_status); } && 17830 { ac_try='test -z "$ac_c_werror_flag" 17831 || test ! -s conftest.err' 17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17833 (eval $ac_try) 2>&5 16979 17834 ac_status=$? 16980 17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16981 (exit $ac_status); } &&16982 { ac_try='test -s conftest$ac_exeext'17836 (exit $ac_status); }; } && 17837 { ac_try='test -s conftest$ac_exeext' 16983 17838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16984 17839 (eval $ac_try) 2>&5 … … 16993 17848 ac_cv_func_dlopen=no 16994 17849 fi 16995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17850 rm -f conftest.err conftest.$ac_objext \ 17851 conftest$ac_exeext conftest.$ac_ext 16996 17852 fi 16997 17853 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 17008 17864 LIBS="-ldl $LIBS" 17009 17865 cat >conftest.$ac_ext <<_ACEOF 17010 #line $LINENO "configure"17011 17866 /* confdefs.h. */ 17012 17867 _ACEOF … … 17032 17887 rm -f conftest.$ac_objext conftest$ac_exeext 17033 17888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17034 (eval $ac_link) 2>&5 17889 (eval $ac_link) 2>conftest.er1 17890 ac_status=$? 17891 grep -v '^ *+' conftest.er1 >conftest.err 17892 rm -f conftest.er1 17893 cat conftest.err >&5 17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17895 (exit $ac_status); } && 17896 { ac_try='test -z "$ac_c_werror_flag" 17897 || test ! -s conftest.err' 17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17899 (eval $ac_try) 2>&5 17035 17900 ac_status=$? 17036 17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17037 (exit $ac_status); } &&17038 { ac_try='test -s conftest$ac_exeext'17902 (exit $ac_status); }; } && 17903 { ac_try='test -s conftest$ac_exeext' 17039 17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17040 17905 (eval $ac_try) 2>&5 … … 17049 17914 ac_cv_lib_dl_dlopen=no 17050 17915 fi 17051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17916 rm -f conftest.err conftest.$ac_objext \ 17917 conftest$ac_exeext conftest.$ac_ext 17052 17918 LIBS=$ac_check_lib_save_LIBS 17053 17919 fi … … 17065 17931 LIBS="-lsvld $LIBS" 17066 17932 cat >conftest.$ac_ext <<_ACEOF 17067 #line $LINENO "configure"17068 17933 /* confdefs.h. */ 17069 17934 _ACEOF … … 17089 17954 rm -f conftest.$ac_objext conftest$ac_exeext 17090 17955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17091 (eval $ac_link) 2>&5 17956 (eval $ac_link) 2>conftest.er1 17957 ac_status=$? 17958 grep -v '^ *+' conftest.er1 >conftest.err 17959 rm -f conftest.er1 17960 cat conftest.err >&5 17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17962 (exit $ac_status); } && 17963 { ac_try='test -z "$ac_c_werror_flag" 17964 || test ! -s conftest.err' 17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17966 (eval $ac_try) 2>&5 17092 17967 ac_status=$? 17093 17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17094 (exit $ac_status); } &&17095 { ac_try='test -s conftest$ac_exeext'17969 (exit $ac_status); }; } && 17970 { ac_try='test -s conftest$ac_exeext' 17096 17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17097 17972 (eval $ac_try) 2>&5 … … 17106 17981 ac_cv_lib_svld_dlopen=no 17107 17982 fi 17108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17983 rm -f conftest.err conftest.$ac_objext \ 17984 conftest$ac_exeext conftest.$ac_ext 17109 17985 LIBS=$ac_check_lib_save_LIBS 17110 17986 fi … … 17122 17998 LIBS="-ldld $LIBS" 17123 17999 cat >conftest.$ac_ext <<_ACEOF 17124 #line $LINENO "configure"17125 18000 /* confdefs.h. */ 17126 18001 _ACEOF … … 17146 18021 rm -f conftest.$ac_objext conftest$ac_exeext 17147 18022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17148 (eval $ac_link) 2>&5 18023 (eval $ac_link) 2>conftest.er1 18024 ac_status=$? 18025 grep -v '^ *+' conftest.er1 >conftest.err 18026 rm -f conftest.er1 18027 cat conftest.err >&5 18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18029 (exit $ac_status); } && 18030 { ac_try='test -z "$ac_c_werror_flag" 18031 || test ! -s conftest.err' 18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18033 (eval $ac_try) 2>&5 17149 18034 ac_status=$? 17150 18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17151 (exit $ac_status); } &&17152 { ac_try='test -s conftest$ac_exeext'18036 (exit $ac_status); }; } && 18037 { ac_try='test -s conftest$ac_exeext' 17153 18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17154 18039 (eval $ac_try) 2>&5 … … 17163 18048 ac_cv_lib_dld_dld_link=no 17164 18049 fi 17165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18050 rm -f conftest.err conftest.$ac_objext \ 18051 conftest$ac_exeext conftest.$ac_ext 17166 18052 LIBS=$ac_check_lib_save_LIBS 17167 18053 fi … … 17218 18104 lt_status=$lt_dlunknown 17219 18105 cat > conftest.$ac_ext <<EOF 17220 #line 1 7220"configure"18106 #line 18106 "configure" 17221 18107 #include "confdefs.h" 17222 18108 … … 17316 18202 lt_status=$lt_dlunknown 17317 18203 cat > conftest.$ac_ext <<EOF 17318 #line 1 7318"configure"18204 #line 18204 "configure" 17319 18205 #include "confdefs.h" 17320 18206 … … 17433 18319 # careful not to overquote the AC_SUBSTed values. We take copies of the 17434 18320 # variables and quote the copies for generation of the libtool script. 17435 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18321 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18322 SED SHELL STRIP \ 17436 18323 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 17437 18324 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 17491 18378 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 17492 18379 # Double-quote double-evaled strings. 17493 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""18380 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 17494 18381 ;; 17495 18382 *) … … 17512 18399 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17513 18400 17514 # Set the command separator (default: ~)17515 _S_=\${LIBTOOL_CMD_SEP-\~}17516 17517 18401 # Shell to use when invoking shell scripts. 17518 18402 SHELL=$lt_SHELL … … 17566 18450 17567 18451 # A symbol stripping program 17568 STRIP=$ STRIP18452 STRIP=$lt_STRIP 17569 18453 17570 18454 # Used to examine libraries when file_magic_cmd begins "file" … … 17597 18481 17598 18482 # Shared library suffix (normally ".so"). 17599 shrext ='$shrext'18483 shrext_cmds='$shrext_cmds' 17600 18484 17601 18485 # Executable file suffix (normally ""). … … 17814 18698 # `config.status --recheck' to rerun these tests and create the 17815 18699 # libtool script then. 17816 test -f Makefile && make "$ltmain" 18700 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18701 if test -f "$ltmain_in"; then 18702 test -f Makefile && make "$ltmain" 18703 fi 17817 18704 fi 17818 18705 … … 17877 18764 # careful not to overquote the AC_SUBSTed values. We take copies of the 17878 18765 # variables and quote the copies for generation of the libtool script. 17879 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18766 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18767 SED SHELL STRIP \ 17880 18768 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 17881 18769 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 17935 18823 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 17936 18824 # Double-quote double-evaled strings. 17937 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""18825 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 17938 18826 ;; 17939 18827 *) … … 17956 18844 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17957 18845 17958 # Set the command separator (default: ~)17959 _S_=\${LIBTOOL_CMD_SEP-\~}17960 17961 18846 # Shell to use when invoking shell scripts. 17962 18847 SHELL=$lt_SHELL … … 18010 18895 18011 18896 # A symbol stripping program 18012 STRIP=$ STRIP18897 STRIP=$lt_STRIP 18013 18898 18014 18899 # Used to examine libraries when file_magic_cmd begins "file" … … 18041 18926 18042 18927 # Shared library suffix (normally ".so"). 18043 shrext ='$shrext'18928 shrext_cmds='$shrext_cmds' 18044 18929 18045 18930 # Executable file suffix (normally ""). … … 18258 19143 # `config.status --recheck' to rerun these tests and create the 18259 19144 # libtool script then. 18260 test -f Makefile && make "$ltmain" 19145 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19146 if test -f "$ltmain_in"; then 19147 test -f Makefile && make "$ltmain" 19148 fi 18261 19149 fi 18262 19150 … … 18471 19359 LIBS="-lsla $LIBS" 18472 19360 cat >conftest.$ac_ext <<_ACEOF 18473 #line $LINENO "configure"18474 19361 /* confdefs.h. */ 18475 19362 _ACEOF … … 18489 19376 rm -f conftest.$ac_objext conftest$ac_exeext 18490 19377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18491 (eval $ac_link) 2>&5 19378 (eval $ac_link) 2>conftest.er1 19379 ac_status=$? 19380 grep -v '^ *+' conftest.er1 >conftest.err 19381 rm -f conftest.er1 19382 cat conftest.err >&5 19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19384 (exit $ac_status); } && 19385 { ac_try='test -z "$ac_c_werror_flag" 19386 || test ! -s conftest.err' 19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19388 (eval $ac_try) 2>&5 18492 19389 ac_status=$? 18493 19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18494 (exit $ac_status); } &&18495 { ac_try='test -s conftest$ac_exeext'19391 (exit $ac_status); }; } && 19392 { ac_try='test -s conftest$ac_exeext' 18496 19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18497 19394 (eval $ac_try) 2>&5 … … 18506 19403 ac_cv_lib_sla_main=no 18507 19404 fi 18508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19405 rm -f conftest.err conftest.$ac_objext \ 19406 conftest$ac_exeext conftest.$ac_ext 18509 19407 LIBS=$ac_check_lib_save_LIBS 18510 19408 fi … … 18533 19431 LIBS="-lcfitsio $LIBS" 18534 19432 cat >conftest.$ac_ext <<_ACEOF 18535 #line $LINENO "configure"18536 19433 /* confdefs.h. */ 18537 19434 _ACEOF … … 18551 19448 rm -f conftest.$ac_objext conftest$ac_exeext 18552 19449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18553 (eval $ac_link) 2>&5 19450 (eval $ac_link) 2>conftest.er1 19451 ac_status=$? 19452 grep -v '^ *+' conftest.er1 >conftest.err 19453 rm -f conftest.er1 19454 cat conftest.err >&5 19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19456 (exit $ac_status); } && 19457 { ac_try='test -z "$ac_c_werror_flag" 19458 || test ! -s conftest.err' 19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19460 (eval $ac_try) 2>&5 18554 19461 ac_status=$? 18555 19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18556 (exit $ac_status); } &&18557 { ac_try='test -s conftest$ac_exeext'19463 (exit $ac_status); }; } && 19464 { ac_try='test -s conftest$ac_exeext' 18558 19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18559 19466 (eval $ac_try) 2>&5 … … 18568 19475 ac_cv_lib_cfitsio_main=no 18569 19476 fi 18570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19477 rm -f conftest.err conftest.$ac_objext \ 19478 conftest$ac_exeext conftest.$ac_ext 18571 19479 LIBS=$ac_check_lib_save_LIBS 18572 19480 fi … … 18595 19503 LIBS="-lfftw3f $LIBS" 18596 19504 cat >conftest.$ac_ext <<_ACEOF 18597 #line $LINENO "configure"18598 19505 /* confdefs.h. */ 18599 19506 _ACEOF … … 18613 19520 rm -f conftest.$ac_objext conftest$ac_exeext 18614 19521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18615 (eval $ac_link) 2>&5 19522 (eval $ac_link) 2>conftest.er1 19523 ac_status=$? 19524 grep -v '^ *+' conftest.er1 >conftest.err 19525 rm -f conftest.er1 19526 cat conftest.err >&5 19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19528 (exit $ac_status); } && 19529 { ac_try='test -z "$ac_c_werror_flag" 19530 || test ! -s conftest.err' 19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19532 (eval $ac_try) 2>&5 18616 19533 ac_status=$? 18617 19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18618 (exit $ac_status); } &&18619 { ac_try='test -s conftest$ac_exeext'19535 (exit $ac_status); }; } && 19536 { ac_try='test -s conftest$ac_exeext' 18620 19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18621 19538 (eval $ac_try) 2>&5 … … 18630 19547 ac_cv_lib_fftw3f_main=no 18631 19548 fi 18632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19549 rm -f conftest.err conftest.$ac_objext \ 19550 conftest$ac_exeext conftest.$ac_ext 18633 19551 LIBS=$ac_check_lib_save_LIBS 18634 19552 fi … … 18657 19575 LIBS="-lgsl $LIBS" 18658 19576 cat >conftest.$ac_ext <<_ACEOF 18659 #line $LINENO "configure"18660 19577 /* confdefs.h. */ 18661 19578 _ACEOF … … 18675 19592 rm -f conftest.$ac_objext conftest$ac_exeext 18676 19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18677 (eval $ac_link) 2>&5 19594 (eval $ac_link) 2>conftest.er1 19595 ac_status=$? 19596 grep -v '^ *+' conftest.er1 >conftest.err 19597 rm -f conftest.er1 19598 cat conftest.err >&5 19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19600 (exit $ac_status); } && 19601 { ac_try='test -z "$ac_c_werror_flag" 19602 || test ! -s conftest.err' 19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19604 (eval $ac_try) 2>&5 18678 19605 ac_status=$? 18679 19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18680 (exit $ac_status); } &&18681 { ac_try='test -s conftest$ac_exeext'19607 (exit $ac_status); }; } && 19608 { ac_try='test -s conftest$ac_exeext' 18682 19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18683 19610 (eval $ac_try) 2>&5 … … 18692 19619 ac_cv_lib_gsl_main=no 18693 19620 fi 18694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19621 rm -f conftest.err conftest.$ac_objext \ 19622 conftest$ac_exeext conftest.$ac_ext 18695 19623 LIBS=$ac_check_lib_save_LIBS 18696 19624 fi … … 18719 19647 LIBS="-lgslcblas $LIBS" 18720 19648 cat >conftest.$ac_ext <<_ACEOF 18721 #line $LINENO "configure"18722 19649 /* confdefs.h. */ 18723 19650 _ACEOF … … 18737 19664 rm -f conftest.$ac_objext conftest$ac_exeext 18738 19665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18739 (eval $ac_link) 2>&5 19666 (eval $ac_link) 2>conftest.er1 19667 ac_status=$? 19668 grep -v '^ *+' conftest.er1 >conftest.err 19669 rm -f conftest.er1 19670 cat conftest.err >&5 19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19672 (exit $ac_status); } && 19673 { ac_try='test -z "$ac_c_werror_flag" 19674 || test ! -s conftest.err' 19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19676 (eval $ac_try) 2>&5 18740 19677 ac_status=$? 18741 19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18742 (exit $ac_status); } &&18743 { ac_try='test -s conftest$ac_exeext'19679 (exit $ac_status); }; } && 19680 { ac_try='test -s conftest$ac_exeext' 18744 19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18745 19682 (eval $ac_try) 2>&5 … … 18754 19691 ac_cv_lib_gslcblas_main=no 18755 19692 fi 18756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19693 rm -f conftest.err conftest.$ac_objext \ 19694 conftest$ac_exeext conftest.$ac_ext 18757 19695 LIBS=$ac_check_lib_save_LIBS 18758 19696 fi … … 18781 19719 LIBS="-lpslib $LIBS" 18782 19720 cat >conftest.$ac_ext <<_ACEOF 18783 #line $LINENO "configure"18784 19721 /* confdefs.h. */ 18785 19722 _ACEOF … … 18799 19736 rm -f conftest.$ac_objext conftest$ac_exeext 18800 19737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18801 (eval $ac_link) 2>&5 19738 (eval $ac_link) 2>conftest.er1 19739 ac_status=$? 19740 grep -v '^ *+' conftest.er1 >conftest.err 19741 rm -f conftest.er1 19742 cat conftest.err >&5 19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19744 (exit $ac_status); } && 19745 { ac_try='test -z "$ac_c_werror_flag" 19746 || test ! -s conftest.err' 19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19748 (eval $ac_try) 2>&5 18802 19749 ac_status=$? 18803 19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18804 (exit $ac_status); } &&18805 { ac_try='test -s conftest$ac_exeext'19751 (exit $ac_status); }; } && 19752 { ac_try='test -s conftest$ac_exeext' 18806 19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18807 19754 (eval $ac_try) 2>&5 … … 18816 19763 ac_cv_lib_pslib_main=no 18817 19764 fi 18818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19765 rm -f conftest.err conftest.$ac_objext \ 19766 conftest$ac_exeext conftest.$ac_ext 18819 19767 LIBS=$ac_check_lib_save_LIBS 18820 19768 fi … … 18844 19792 LIBS="-lmx $LIBS" 18845 19793 cat >conftest.$ac_ext <<_ACEOF 18846 #line $LINENO "configure"18847 19794 /* confdefs.h. */ 18848 19795 _ACEOF … … 18868 19815 rm -f conftest.$ac_objext conftest$ac_exeext 18869 19816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18870 (eval $ac_link) 2>&5 19817 (eval $ac_link) 2>conftest.er1 19818 ac_status=$? 19819 grep -v '^ *+' conftest.er1 >conftest.err 19820 rm -f conftest.er1 19821 cat conftest.err >&5 19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19823 (exit $ac_status); } && 19824 { ac_try='test -z "$ac_c_werror_flag" 19825 || test ! -s conftest.err' 19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19827 (eval $ac_try) 2>&5 18871 19828 ac_status=$? 18872 19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18873 (exit $ac_status); } &&18874 { ac_try='test -s conftest$ac_exeext'19830 (exit $ac_status); }; } && 19831 { ac_try='test -s conftest$ac_exeext' 18875 19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18876 19833 (eval $ac_try) 2>&5 … … 18885 19842 ac_cv_lib_mx_sqrtf=no 18886 19843 fi 18887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19844 rm -f conftest.err conftest.$ac_objext \ 19845 conftest$ac_exeext conftest.$ac_ext 18888 19846 LIBS=$ac_check_lib_save_LIBS 18889 19847 fi … … 18929 19887 # substitution turns \\\\ into \\, and sed turns \\ into \). 18930 19888 sed -n \ 18931 "s/'/'\\\\''/g;18932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"19889 "s/'/'\\\\''/g; 19890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18933 19891 ;; 18934 19892 *) 18935 19893 # `set' quotes correctly as required by POSIX, so do not add quotes. 18936 19894 sed -n \ 18937 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"19895 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 18938 19896 ;; 18939 19897 esac; … … 18965 19923 # (actually we leave an empty line to preserve line numbers). 18966 19924 if test "x$srcdir" = x.; then 18967 ac_vpsub='/^[ ]*VPATH[]*=/{19925 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 18968 19926 s/:*\$(srcdir):*/:/; 18969 19927 s/:*\${srcdir}:*/:/; 18970 19928 s/:*@srcdir@:*/:/; 18971 s/^\([^=]*=[ ]*\):*/\1/;19929 s/^\([^=]*=[ ]*\):*/\1/; 18972 19930 s/:*$//; 18973 s/^[^=]*=[ ]*$//;19931 s/^[^=]*=[ ]*$//; 18974 19932 }' 18975 19933 fi … … 18982 19940 # 1. Remove the extension, and $U if already installed. 18983 19941 ac_i=`echo "$ac_i" | 18984 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`19942 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 18985 19943 # 2. Add them. 18986 19944 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 18996 19954 Usually this means the macro was only invoked conditionally." >&5 18997 19955 echo "$as_me: error: conditional \"AMDEP\" was never defined. 19956 Usually this means the macro was only invoked conditionally." >&2;} 19957 { (exit 1); exit 1; }; } 19958 fi 19959 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19960 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 19961 Usually this means the macro was only invoked conditionally." >&5 19962 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 19963 Usually this means the macro was only invoked conditionally." >&2;} 19964 { (exit 1); exit 1; }; } 19965 fi 19966 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 19967 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 19968 Usually this means the macro was only invoked conditionally." >&5 19969 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 18998 19970 Usually this means the macro was only invoked conditionally." >&2;} 18999 19971 { (exit 1); exit 1; }; } … … 19033 20005 set -o posix 19034 20006 fi 20007 DUALCASE=1; export DUALCASE # for MKS sh 19035 20008 19036 20009 # Support unset when possible. 19037 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then20010 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 19038 20011 as_unset=unset 19039 20012 else … … 19054 20027 LC_TELEPHONE LC_TIME 19055 20028 do 19056 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then20029 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 19057 20030 eval $as_var=C; export $as_var 19058 20031 else … … 19233 20206 as_mkdir_p=: 19234 20207 else 20208 test -d ./-p && rmdir ./-p 19235 20209 as_mkdir_p=false 19236 20210 fi … … 19239 20213 19240 20214 # Sed expression to map a string onto a valid CPP name. 19241 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"20215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19242 20216 19243 20217 # Sed expression to map a string onto a valid variable name. 19244 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"20218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19245 20219 19246 20220 … … 19269 20243 19270 20244 This file was extended by $as_me, which was 19271 generated by GNU Autoconf 2.5 7. Invocation command line was20245 generated by GNU Autoconf 2.59. Invocation command line was 19272 20246 19273 20247 CONFIG_FILES = $CONFIG_FILES … … 19313 20287 --recheck update $as_me by reconfiguring in the same conditions 19314 20288 --file=FILE[:TEMPLATE] 19315 instantiate the configuration file FILE20289 instantiate the configuration file FILE 19316 20290 --header=FILE[:TEMPLATE] 19317 instantiate the configuration header FILE20291 instantiate the configuration header FILE 19318 20292 19319 20293 Configuration files: … … 19332 20306 ac_cs_version="\\ 19333 20307 config.status 19334 configured by $0, generated by GNU Autoconf 2.5 7,20308 configured by $0, generated by GNU Autoconf 2.59, 19335 20309 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 19336 20310 19337 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 19338 Free Software Foundation, Inc. 20311 Copyright (C) 2003 Free Software Foundation, Inc. 19339 20312 This config.status script is free software; the Free Software Foundation 19340 20313 gives unlimited permission to copy, distribute and modify it." … … 19535 20508 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 19536 20509 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 20510 s,@CYGPATH_W@,$CYGPATH_W,;t t 19537 20511 s,@PACKAGE@,$PACKAGE,;t t 19538 20512 s,@VERSION@,$VERSION,;t t … … 19542 20516 s,@AUTOHEADER@,$AUTOHEADER,;t t 19543 20517 s,@MAKEINFO@,$MAKEINFO,;t t 19544 s,@AMTAR@,$AMTAR,;t t19545 20518 s,@install_sh@,$install_sh,;t t 19546 20519 s,@STRIP@,$STRIP,;t t 19547 20520 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 19548 20521 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 20522 s,@mkdir_p@,$mkdir_p,;t t 19549 20523 s,@AWK@,$AWK,;t t 19550 20524 s,@SET_MAKE@,$SET_MAKE,;t t 20525 s,@am__leading_dot@,$am__leading_dot,;t t 20526 s,@AMTAR@,$AMTAR,;t t 20527 s,@am__tar@,$am__tar,;t t 20528 s,@am__untar@,$am__untar,;t t 19551 20529 s,@CC@,$CC,;t t 19552 20530 s,@CFLAGS@,$CFLAGS,;t t … … 19563 20541 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 19564 20542 s,@CCDEPMODE@,$CCDEPMODE,;t t 20543 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 20544 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 19565 20545 s,@build@,$build,;t t 19566 20546 s,@build_cpu@,$build_cpu,;t t … … 19583 20563 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 19584 20564 s,@CXXDEPMODE@,$CXXDEPMODE,;t t 20565 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 20566 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 19585 20567 s,@CXXCPP@,$CXXCPP,;t t 19586 20568 s,@F77@,$F77,;t t … … 19620 20602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 19621 20603 if test -z "$ac_sed_cmds"; then 19622 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"20604 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 19623 20605 else 19624 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"20606 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 19625 20607 fi 19626 20608 ac_sed_frag=`expr $ac_sed_frag + 1` … … 19640 20622 case $ac_file in 19641 20623 - | *:- | *:-:* ) # input from stdin 19642 cat >$tmp/stdin19643 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`19644 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20624 cat >$tmp/stdin 20625 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20626 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19645 20627 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19646 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20628 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19647 20629 * ) ac_file_in=$ac_file.in ;; 19648 20630 esac … … 19651 20633 ac_dir=`(dirname "$ac_file") 2>/dev/null || 19652 20634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19653 X"$ac_file" : 'X\(//\)[^/]' \| \19654 X"$ac_file" : 'X\(//\)$' \| \19655 X"$ac_file" : 'X\(/\)' \| \19656 . : '\(.\)' 2>/dev/null ||20635 X"$ac_file" : 'X\(//\)[^/]' \| \ 20636 X"$ac_file" : 'X\(//\)$' \| \ 20637 X"$ac_file" : 'X\(/\)' \| \ 20638 . : '\(.\)' 2>/dev/null || 19657 20639 echo X"$ac_file" | 19658 20640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 19670 20652 as_dir=`(dirname "$as_dir") 2>/dev/null || 19671 20653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19672 X"$as_dir" : 'X\(//\)[^/]' \| \19673 X"$as_dir" : 'X\(//\)$' \| \19674 X"$as_dir" : 'X\(/\)' \| \19675 . : '\(.\)' 2>/dev/null ||20654 X"$as_dir" : 'X\(//\)[^/]' \| \ 20655 X"$as_dir" : 'X\(//\)$' \| \ 20656 X"$as_dir" : 'X\(/\)' \| \ 20657 . : '\(.\)' 2>/dev/null || 19676 20658 echo X"$as_dir" | 19677 20659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 19711 20693 ac_top_srcdir=$ac_top_builddir$srcdir ;; 19712 20694 esac 19713 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 19714 # absolute. 19715 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 19716 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 19717 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 19718 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 20695 20696 # Do not use `cd foo && pwd` to compute absolute paths, because 20697 # the directories may not exist. 20698 case `pwd` in 20699 .) ac_abs_builddir="$ac_dir";; 20700 *) 20701 case "$ac_dir" in 20702 .) ac_abs_builddir=`pwd`;; 20703 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 20704 *) ac_abs_builddir=`pwd`/"$ac_dir";; 20705 esac;; 20706 esac 20707 case $ac_abs_builddir in 20708 .) ac_abs_top_builddir=${ac_top_builddir}.;; 20709 *) 20710 case ${ac_top_builddir}. in 20711 .) ac_abs_top_builddir=$ac_abs_builddir;; 20712 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 20713 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 20714 esac;; 20715 esac 20716 case $ac_abs_builddir in 20717 .) ac_abs_srcdir=$ac_srcdir;; 20718 *) 20719 case $ac_srcdir in 20720 .) ac_abs_srcdir=$ac_abs_builddir;; 20721 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 20722 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 20723 esac;; 20724 esac 20725 case $ac_abs_builddir in 20726 .) ac_abs_top_srcdir=$ac_top_srcdir;; 20727 *) 20728 case $ac_top_srcdir in 20729 .) ac_abs_top_srcdir=$ac_abs_builddir;; 20730 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 20731 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 20732 esac;; 20733 esac 19719 20734 19720 20735 … … 19738 20753 fi 19739 20754 configure_input=$configure_input"Generated from `echo $ac_file_in | 19740 sed 's,.*/,,'` by configure."20755 sed 's,.*/,,'` by configure." 19741 20756 19742 20757 # First look for the input files in the build tree, otherwise in the … … 19747 20762 -) echo $tmp/stdin ;; 19748 20763 [\\/$]*) 19749 # Absolute (can't be DOS-style, as IFS=:)19750 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520764 # Absolute (can't be DOS-style, as IFS=:) 20765 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19751 20766 echo "$as_me: error: cannot find input file: $f" >&2;} 19752 20767 { (exit 1); exit 1; }; } 19753 echo $f;;20768 echo "$f";; 19754 20769 *) # Relative 19755 if test -f "$f"; then19756 # Build tree19757 echo $f 19758 elif test -f "$srcdir/$f"; then19759 # Source tree19760 echo $srcdir/$f 19761 else19762 # /dev/null tree19763 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520770 if test -f "$f"; then 20771 # Build tree 20772 echo "$f" 20773 elif test -f "$srcdir/$f"; then 20774 # Source tree 20775 echo "$srcdir/$f" 20776 else 20777 # /dev/null tree 20778 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19764 20779 echo "$as_me: error: cannot find input file: $f" >&2;} 19765 20780 { (exit 1); exit 1; }; } 19766 fi;;20781 fi;; 19767 20782 esac 19768 20783 done` || { (exit 1); exit 1; } … … 19806 20821 # 19807 20822 # ac_d sets the value in "#define NAME VALUE" lines. 19808 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'19809 ac_dB='[ ].*$,\1#\2'20823 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 20824 ac_dB='[ ].*$,\1#\2' 19810 20825 ac_dC=' ' 19811 20826 ac_dD=',;t' 19812 20827 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 19813 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'20828 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 19814 20829 ac_uB='$,\1#\2define\3' 19815 20830 ac_uC=' ' … … 19820 20835 case $ac_file in 19821 20836 - | *:- | *:-:* ) # input from stdin 19822 cat >$tmp/stdin19823 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`19824 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20837 cat >$tmp/stdin 20838 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20839 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19825 20840 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19826 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20841 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19827 20842 * ) ac_file_in=$ac_file.in ;; 19828 20843 esac … … 19838 20853 -) echo $tmp/stdin ;; 19839 20854 [\\/$]*) 19840 # Absolute (can't be DOS-style, as IFS=:)19841 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520855 # Absolute (can't be DOS-style, as IFS=:) 20856 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19842 20857 echo "$as_me: error: cannot find input file: $f" >&2;} 19843 20858 { (exit 1); exit 1; }; } 19844 echo $f;; 20859 # Do quote $f, to prevent DOS paths from being IFS'd. 20860 echo "$f";; 19845 20861 *) # Relative 19846 if test -f "$f"; then19847 # Build tree19848 echo $f 19849 elif test -f "$srcdir/$f"; then19850 # Source tree19851 echo $srcdir/$f 19852 else19853 # /dev/null tree19854 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520862 if test -f "$f"; then 20863 # Build tree 20864 echo "$f" 20865 elif test -f "$srcdir/$f"; then 20866 # Source tree 20867 echo "$srcdir/$f" 20868 else 20869 # /dev/null tree 20870 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19855 20871 echo "$as_me: error: cannot find input file: $f" >&2;} 19856 20872 { (exit 1); exit 1; }; } 19857 fi;;20873 fi;; 19858 20874 esac 19859 20875 done` || { (exit 1); exit 1; } 19860 20876 # Remove the trailing spaces. 19861 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in20877 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 19862 20878 19863 20879 _ACEOF … … 19882 20898 t clear 19883 20899 : clear 19884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp20900 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 19885 20901 t end 19886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp20902 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 19887 20903 : end 19888 20904 _ACEOF … … 19898 20914 # on some systems where configure will not decide to define it. 19899 20915 cat >>conftest.undefs <<\_ACEOF 19900 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,20916 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 19901 20917 _ACEOF 19902 20918 … … 19904 20920 # of here documents, and old seds have small limits too (100 cmds). 19905 20921 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 19906 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS20922 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 19907 20923 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 19908 20924 echo ' :' >>$CONFIG_STATUS … … 19913 20929 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 19914 20930 # Speed up: don't consider the non `#define' lines. 19915 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS20931 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 19916 20932 # Work around the forget-to-reset-the-flag bug. 19917 20933 echo 't clr' >>$CONFIG_STATUS … … 19940 20956 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 19941 20957 # Speed up: don't consider the non `#undef' 19942 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS20958 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 19943 20959 # Work around the forget-to-reset-the-flag bug. 19944 20960 echo 't clr' >>$CONFIG_STATUS … … 19974 20990 ac_dir=`(dirname "$ac_file") 2>/dev/null || 19975 20991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19976 X"$ac_file" : 'X\(//\)[^/]' \| \19977 X"$ac_file" : 'X\(//\)$' \| \19978 X"$ac_file" : 'X\(/\)' \| \19979 . : '\(.\)' 2>/dev/null ||20992 X"$ac_file" : 'X\(//\)[^/]' \| \ 20993 X"$ac_file" : 'X\(//\)$' \| \ 20994 X"$ac_file" : 'X\(/\)' \| \ 20995 . : '\(.\)' 2>/dev/null || 19980 20996 echo X"$ac_file" | 19981 20997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 19993 21009 as_dir=`(dirname "$as_dir") 2>/dev/null || 19994 21010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19995 X"$as_dir" : 'X\(//\)[^/]' \| \19996 X"$as_dir" : 'X\(//\)$' \| \19997 X"$as_dir" : 'X\(/\)' \| \19998 . : '\(.\)' 2>/dev/null ||21011 X"$as_dir" : 'X\(//\)[^/]' \| \ 21012 X"$as_dir" : 'X\(//\)$' \| \ 21013 X"$as_dir" : 'X\(/\)' \| \ 21014 . : '\(.\)' 2>/dev/null || 19999 21015 echo X"$as_dir" | 20000 21016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20016 21032 rm -f $tmp/config.h 20017 21033 fi 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 ;; 21034 # Compute $ac_file's index in $config_headers. 21035 _am_stamp_count=1 21036 for _am_header in $config_headers :; do 21037 case $_am_header in 21038 $ac_file | $ac_file:* ) 21039 break ;; 21040 * ) 21041 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20023 21042 esac 21043 done 21044 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 21045 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21046 X$ac_file : 'X\(//\)[^/]' \| \ 21047 X$ac_file : 'X\(//\)$' \| \ 21048 X$ac_file : 'X\(/\)' \| \ 21049 . : '\(.\)' 2>/dev/null || 21050 echo X$ac_file | 21051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 21052 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 21053 /^X\(\/\/\)$/{ s//\1/; q; } 21054 /^X\(\/\).*/{ s//\1/; q; } 21055 s/.*/./; q'`/stamp-h$_am_stamp_count 20024 21056 done 20025 21057 _ACEOF … … 20034 21066 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 20035 21067 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20036 X"$ac_dest" : 'X\(//\)[^/]' \| \20037 X"$ac_dest" : 'X\(//\)$' \| \20038 X"$ac_dest" : 'X\(/\)' \| \20039 . : '\(.\)' 2>/dev/null ||21068 X"$ac_dest" : 'X\(//\)[^/]' \| \ 21069 X"$ac_dest" : 'X\(//\)$' \| \ 21070 X"$ac_dest" : 'X\(/\)' \| \ 21071 . : '\(.\)' 2>/dev/null || 20040 21072 echo X"$ac_dest" | 20041 21073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20044 21076 /^X\(\/\).*/{ s//\1/; q; } 20045 21077 s/.*/./; q'` 21078 { if $as_mkdir_p; then 21079 mkdir -p "$ac_dir" 21080 else 21081 as_dir="$ac_dir" 21082 as_dirs= 21083 while test ! -d "$as_dir"; do 21084 as_dirs="$as_dir $as_dirs" 21085 as_dir=`(dirname "$as_dir") 2>/dev/null || 21086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21087 X"$as_dir" : 'X\(//\)[^/]' \| \ 21088 X"$as_dir" : 'X\(//\)$' \| \ 21089 X"$as_dir" : 'X\(/\)' \| \ 21090 . : '\(.\)' 2>/dev/null || 21091 echo X"$as_dir" | 21092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 21093 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 21094 /^X\(\/\/\)$/{ s//\1/; q; } 21095 /^X\(\/\).*/{ s//\1/; q; } 21096 s/.*/./; q'` 21097 done 21098 test ! -n "$as_dirs" || mkdir $as_dirs 21099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 21100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 21101 { (exit 1); exit 1; }; }; } 21102 20046 21103 ac_builddir=. 20047 21104 … … 20069 21126 ac_top_srcdir=$ac_top_builddir$srcdir ;; 20070 21127 esac 20071 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 20072 # absolute. 20073 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 20074 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 20075 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 20076 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 21128 21129 # Do not use `cd foo && pwd` to compute absolute paths, because 21130 # the directories may not exist. 21131 case `pwd` in 21132 .) ac_abs_builddir="$ac_dir";; 21133 *) 21134 case "$ac_dir" in 21135 .) ac_abs_builddir=`pwd`;; 21136 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 21137 *) ac_abs_builddir=`pwd`/"$ac_dir";; 21138 esac;; 21139 esac 21140 case $ac_abs_builddir in 21141 .) ac_abs_top_builddir=${ac_top_builddir}.;; 21142 *) 21143 case ${ac_top_builddir}. in 21144 .) ac_abs_top_builddir=$ac_abs_builddir;; 21145 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 21146 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 21147 esac;; 21148 esac 21149 case $ac_abs_builddir in 21150 .) ac_abs_srcdir=$ac_srcdir;; 21151 *) 21152 case $ac_srcdir in 21153 .) ac_abs_srcdir=$ac_abs_builddir;; 21154 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 21155 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 21156 esac;; 21157 esac 21158 case $ac_abs_builddir in 21159 .) ac_abs_top_srcdir=$ac_top_srcdir;; 21160 *) 21161 case $ac_top_srcdir in 21162 .) ac_abs_top_srcdir=$ac_abs_builddir;; 21163 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 21164 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 21165 esac;; 21166 esac 20077 21167 20078 21168 … … 20092 21182 dirpart=`(dirname "$mf") 2>/dev/null || 20093 21183 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20094 X"$mf" : 'X\(//\)[^/]' \| \20095 X"$mf" : 'X\(//\)$' \| \20096 X"$mf" : 'X\(/\)' \| \20097 . : '\(.\)' 2>/dev/null ||21184 X"$mf" : 'X\(//\)[^/]' \| \ 21185 X"$mf" : 'X\(//\)$' \| \ 21186 X"$mf" : 'X\(/\)' \| \ 21187 . : '\(.\)' 2>/dev/null || 20098 21188 echo X"$mf" | 20099 21189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20105 21195 continue 20106 21196 fi 20107 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 20108 # Extract the definition of DEP_FILES from the Makefile without 20109 # running `make'. 20110 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 21197 # Extract the definition of DEPDIR, am__include, and am__quote 21198 # from the Makefile without running `make'. 21199 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 20111 21200 test -z "$DEPDIR" && continue 21201 am__include=`sed -n 's/^am__include = //p' < "$mf"` 21202 test -z "am__include" && continue 21203 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 20112 21204 # When using ansi2knr, U may be empty or an underscore; expand it 20113 U=`sed -n -e '/^U = / s///p' < "$mf"` 20114 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 20115 # We invoke sed twice because it is the simplest approach to 20116 # changing $(DEPDIR) to its actual value in the expansion. 20117 for file in `sed -n -e ' 20118 /^DEP_FILES = .*\\\\$/ { 20119 s/^DEP_FILES = // 20120 :loop 20121 s/\\\\$// 20122 p 20123 n 20124 /\\\\$/ b loop 20125 p 20126 } 20127 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 21205 U=`sed -n 's/^U = //p' < "$mf"` 21206 # Find all dependency output files, they are included files with 21207 # $(DEPDIR) in their names. We invoke sed twice because it is the 21208 # simplest approach to changing $(DEPDIR) to its actual value in the 21209 # expansion. 21210 for file in `sed -n " 21211 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 20128 21212 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 20129 21213 # Make sure the directory exists. … … 20131 21215 fdir=`(dirname "$file") 2>/dev/null || 20132 21216 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20133 X"$file" : 'X\(//\)[^/]' \| \20134 X"$file" : 'X\(//\)$' \| \20135 X"$file" : 'X\(/\)' \| \20136 . : '\(.\)' 2>/dev/null ||21217 X"$file" : 'X\(//\)[^/]' \| \ 21218 X"$file" : 'X\(//\)$' \| \ 21219 X"$file" : 'X\(/\)' \| \ 21220 . : '\(.\)' 2>/dev/null || 20137 21221 echo X"$file" | 20138 21222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20150 21234 as_dir=`(dirname "$as_dir") 2>/dev/null || 20151 21235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20152 X"$as_dir" : 'X\(//\)[^/]' \| \20153 X"$as_dir" : 'X\(//\)$' \| \20154 X"$as_dir" : 'X\(/\)' \| \20155 . : '\(.\)' 2>/dev/null ||21236 X"$as_dir" : 'X\(//\)[^/]' \| \ 21237 X"$as_dir" : 'X\(//\)$' \| \ 21238 X"$as_dir" : 'X\(/\)' \| \ 21239 . : '\(.\)' 2>/dev/null || 20156 21240 echo X"$as_dir" | 20157 21241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Note:
See TracChangeset
for help on using the changeset viewer.
