Changeset 1890
- Timestamp:
- Sep 24, 2004, 1:48:42 PM (22 years ago)
- Location:
- trunk/psModules
- Files:
-
- 1 deleted
- 5 edited
-
Makefile.in (modified) (20 diffs)
-
aclocal.m4 (modified) (73 diffs)
-
configure (modified) (448 diffs)
-
src/Makefile (deleted)
-
src/Makefile.in (modified) (22 diffs)
-
test/Makefile.in (modified) (19 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/Makefile.in
r1888 r1890 1 # Makefile.in generated by automake 1. 8.3from Makefile.am.1 # Makefile.in generated by automake 1.7.8 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 16 17 srcdir = @srcdir@ 17 18 top_srcdir = @top_srcdir@ … … 21 22 pkgincludedir = $(includedir)/@PACKAGE@ 22 23 top_builddir = . 24 23 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 24 26 INSTALL = @INSTALL@ … … 35 37 POST_UNINSTALL = : 36 38 host_triplet = @host@ 37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \38 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \39 ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \40 install-sh ltmain.sh missing mkinstalldirs41 subdir = .42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m443 am__aclocal_m4_deps = $(top_srcdir)/configure.in44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \45 $(ACLOCAL_M4)46 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \47 configure.lineno configure.status.lineno48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs49 CONFIG_HEADER = $(top_builddir)/src/config.h50 CONFIG_CLEAN_FILES =51 SOURCES =52 DIST_SOURCES =53 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \54 html-recursive info-recursive install-data-recursive \55 install-exec-recursive install-info-recursive \56 install-recursive installcheck-recursive installdirs-recursive \57 pdf-recursive ps-recursive uninstall-info-recursive \58 uninstall-recursive59 ETAGS = etags60 CTAGS = ctags61 DIST_SUBDIRS = $(SUBDIRS)62 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)63 distdir = $(PACKAGE)-$(VERSION)64 top_distdir = $(distdir)65 am__remove_distdir = \66 { test ! -d $(distdir) \67 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \68 && rm -fr $(distdir); }; }69 DIST_ARCHIVES = $(distdir).tar.gz70 GZIP_ENV = --best71 distuninstallcheck_listfiles = find . -type f -print72 distcleancheck_listfiles = find . -type f -print73 39 ACLOCAL = @ACLOCAL@ 74 40 AMDEP_FALSE = @AMDEP_FALSE@ … … 158 124 localstatedir = @localstatedir@ 159 125 mandir = @mandir@ 160 mkdir_p = @mkdir_p@161 126 oldincludedir = @oldincludedir@ 162 127 prefix = @prefix@ … … 167 132 target_alias = @target_alias@ 168 133 AUTOMAKE_OPTIONS = foreign 1.4 134 169 135 SUBDIRS = src test 136 subdir = . 137 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 138 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 139 CONFIG_HEADER = $(top_builddir)/src/config.h 140 CONFIG_CLEAN_FILES = 141 DIST_SOURCES = 142 143 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ 144 ps-recursive install-info-recursive uninstall-info-recursive \ 145 all-recursive install-data-recursive install-exec-recursive \ 146 installdirs-recursive install-recursive uninstall-recursive \ 147 check-recursive installcheck-recursive 148 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \ 149 COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \ 150 config.guess config.sub configure configure.in depcomp \ 151 install-sh ltmain.sh missing mkinstalldirs 152 DIST_SUBDIRS = $(SUBDIRS) 170 153 all: all-recursive 171 154 172 155 .SUFFIXES: 173 am--refresh: 174 @: 175 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 176 @for dep in $?; do \ 177 case '$(am__configure_deps)' in \ 178 *$$dep*) \ 179 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 180 cd $(srcdir) && $(AUTOMAKE) --foreign \ 181 && exit 0; \ 182 exit 1;; \ 183 esac; \ 184 done; \ 185 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 156 157 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 158 configure.lineno 159 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 186 160 cd $(top_srcdir) && \ 187 161 $(AUTOMAKE) --foreign Makefile 188 .PRECIOUS: Makefile 189 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 190 @case '$?' in \ 191 *config.status*) \ 192 echo ' $(SHELL) ./config.status'; \ 193 $(SHELL) ./config.status;; \ 194 *) \ 195 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 196 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 197 esac; 198 199 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 162 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 163 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 164 165 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 200 166 $(SHELL) ./config.status --recheck 201 202 $(top_srcdir)/configure: $(am__configure_deps) 167 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 203 168 cd $(srcdir) && $(AUTOCONF) 204 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 169 170 $(ACLOCAL_M4): configure.in 205 171 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 206 172 … … 274 240 done 275 241 242 ETAGS = etags 243 ETAGSFLAGS = 244 245 CTAGS = ctags 246 CTAGSFLAGS = 247 248 tags: TAGS 249 276 250 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 277 251 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ … … 282 256 END { for (i in files) print i; }'`; \ 283 257 mkid -fID $$unique 284 tags: TAGS285 258 286 259 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 308 281 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 309 282 $$tags $$unique 283 310 284 ctags: CTAGS 311 285 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 330 304 distclean-tags: 331 305 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 306 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 307 308 top_distdir = . 309 distdir = $(PACKAGE)-$(VERSION) 310 311 am__remove_distdir = \ 312 { test ! -d $(distdir) \ 313 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 314 && rm -fr $(distdir); }; } 315 316 GZIP_ENV = --best 317 distuninstallcheck_listfiles = find . -type f -print 318 distcleancheck_listfiles = find . -type f -print 332 319 333 320 distdir: $(DISTFILES) … … 345 332 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 346 333 dir="/$$dir"; \ 347 $(mk dir_p) "$(distdir)$$dir"; \334 $(mkinstalldirs) "$(distdir)$$dir"; \ 348 335 else \ 349 336 dir=''; \ … … 362 349 list='$(SUBDIRS)'; for subdir in $$list; do \ 363 350 if test "$$subdir" = .; then :; else \ 364 test -d "$(distdir)/$$subdir"\365 || mkdir "$(distdir)/$$subdir"\351 test -d $(distdir)/$$subdir \ 352 || mkdir $(distdir)/$$subdir \ 366 353 || exit 1; \ 367 354 (cd $$subdir && \ 368 355 $(MAKE) $(AM_MAKEFLAGS) \ 369 top_distdir=" ../$(top_distdir)" \370 distdir= "../$(distdir)/$$subdir"\356 top_distdir="$(top_distdir)" \ 357 distdir=../$(distdir)/$$subdir \ 371 358 distdir) \ 372 359 || exit 1; \ … … 382 369 $(am__remove_distdir) 383 370 384 dist-bzip2: distdir385 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2386 $(am__remove_distdir)387 388 dist-tarZ: distdir389 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z390 $(am__remove_distdir)391 392 dist-shar: distdir393 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz394 $(am__remove_distdir)395 396 dist-zip: distdir397 -rm -f $(distdir).zip398 zip -rq $(distdir).zip $(distdir)399 $(am__remove_distdir)400 401 371 dist dist-all: distdir 402 372 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz … … 407 377 # tarfile. 408 378 distcheck: dist 409 case '$(DIST_ARCHIVES)' in \ 410 *.tar.gz*) \ 411 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ 412 *.tar.bz2*) \ 413 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ 414 *.tar.Z*) \ 415 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ 416 *.shar.gz*) \ 417 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\ 418 *.zip*) \ 419 unzip $(distdir).zip ;;\ 420 esac 379 $(am__remove_distdir) 380 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 421 381 chmod -R a-w $(distdir); chmod a+w $(distdir) 422 382 mkdir $(distdir)/_build … … 438 398 && chmod -R a-w "$$dc_install_base" \ 439 399 && ({ \ 440 (cd ../.. && umask 077 && mkdir"$$dc_destdir") \400 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ 441 401 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 442 402 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ … … 445 405 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 446 406 && rm -rf "$$dc_destdir" \ 447 && $(MAKE) $(AM_MAKEFLAGS) dist \448 && rm - rf $(DIST_ARCHIVES)\407 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 408 && rm -f $(distdir).tar.gz \ 449 409 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 450 410 $(am__remove_distdir) 451 @(echo "$(distdir) archives ready for distribution: "; \ 452 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 453 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 411 @echo "$(distdir).tar.gz is ready for distribution" | \ 412 sed 'h;s/./=/g;p;x;p;x' 454 413 distuninstallcheck: 455 414 @cd $(distuninstallcheck_dir) \ … … 475 434 installdirs: installdirs-recursive 476 435 installdirs-am: 436 477 437 install: install-recursive 478 438 install-exec: install-exec-recursive … … 486 446 install-strip: 487 447 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 488 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \448 INSTALL_STRIP_FLAG=-s \ 489 449 `test -z '$(STRIP)' || \ 490 450 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 513 473 dvi-am: 514 474 515 html: html-recursive516 517 475 info: info-recursive 518 476 … … 551 509 uninstall-info: uninstall-info-recursive 552 510 553 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 554 check-am clean clean-generic clean-libtool clean-recursive \ 555 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 556 dist-shar dist-tarZ dist-zip distcheck distclean \ 511 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ 512 clean-generic clean-libtool clean-recursive ctags \ 513 ctags-recursive dist dist-all dist-gzip distcheck distclean \ 557 514 distclean-generic distclean-libtool distclean-recursive \ 558 515 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 559 dvi-am html html-am info info-am install install-am \ 560 install-data install-data-am install-exec install-exec-am \ 561 install-info install-info-am install-man install-strip \ 562 installcheck installcheck-am installdirs installdirs-am \ 516 dvi-am dvi-recursive info info-am info-recursive install \ 517 install-am install-data install-data-am install-data-recursive \ 518 install-exec install-exec-am install-exec-recursive \ 519 install-info install-info-am install-info-recursive install-man \ 520 install-recursive install-strip installcheck installcheck-am \ 521 installdirs installdirs-am installdirs-recursive \ 563 522 maintainer-clean maintainer-clean-generic \ 564 523 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 565 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 566 tags tags-recursive uninstall uninstall-am uninstall-info-am 524 mostlyclean-libtool mostlyclean-recursive pdf pdf-am \ 525 pdf-recursive ps ps-am ps-recursive tags tags-recursive \ 526 uninstall uninstall-am uninstall-info-am \ 527 uninstall-info-recursive uninstall-recursive 567 528 568 529 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
trunk/psModules/aclocal.m4
r1888 r1890 1 # generated automatically by aclocal 1. 8.3-*- Autoconf -*-2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 , 2003, 20041 # generated automatically by aclocal 1.7.8 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 4 4 # Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation … … 11 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 12 # PARTICULAR PURPOSE. 13 14 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- 15 16 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 17 18 # This program is free software; you can redistribute it and/or modify 19 # it under the terms of the GNU General Public License as published by 20 # the Free Software Foundation; either version 2, or (at your option) 21 # any later version. 22 23 # This program is distributed in the hope that it will be useful, 24 # but WITHOUT ANY WARRANTY; without even the implied warranty of 25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 # GNU General Public License for more details. 27 28 # You should have received a copy of the GNU General Public License 29 # along with this program; if not, write to the Free Software 30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 31 # 02111-1307, USA. 32 33 AC_PREREQ([2.52]) 34 35 # serial 6 36 37 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 38 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 39 40 # Do all the work for Automake. -*- Autoconf -*- 41 42 # This macro actually does too much some checks are only needed if 43 # your package does certain things. But this isn't really a big deal. 44 45 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 46 # Free Software Foundation, Inc. 47 48 # This program is free software; you can redistribute it and/or modify 49 # it under the terms of the GNU General Public License as published by 50 # the Free Software Foundation; either version 2, or (at your option) 51 # any later version. 52 53 # This program is distributed in the hope that it will be useful, 54 # but WITHOUT ANY WARRANTY; without even the implied warranty of 55 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 56 # GNU General Public License for more details. 57 58 # You should have received a copy of the GNU General Public License 59 # along with this program; if not, write to the Free Software 60 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 61 # 02111-1307, USA. 62 63 # serial 10 64 65 AC_PREREQ([2.54]) 66 67 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 68 # the ones we care about. 69 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 70 71 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 72 # AM_INIT_AUTOMAKE([OPTIONS]) 73 # ----------------------------------------------- 74 # The call with PACKAGE and VERSION arguments is the old style 75 # call (pre autoconf-2.50), which is being phased out. PACKAGE 76 # and VERSION should now be passed to AC_INIT and removed from 77 # the call to AM_INIT_AUTOMAKE. 78 # We support both call styles for the transition. After 79 # the next Automake release, Autoconf can make the AC_INIT 80 # arguments mandatory, and then we can depend on a new Autoconf 81 # release and drop the old call support. 82 AC_DEFUN([AM_INIT_AUTOMAKE], 83 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 84 AC_REQUIRE([AC_PROG_INSTALL])dnl 85 # test to see if srcdir already configured 86 if test "`cd $srcdir && pwd`" != "`pwd`" && 87 test -f $srcdir/config.status; then 88 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 89 fi 90 91 # test whether we have cygpath 92 if test -z "$CYGPATH_W"; then 93 if (cygpath --version) >/dev/null 2>/dev/null; then 94 CYGPATH_W='cygpath -w' 95 else 96 CYGPATH_W=echo 97 fi 98 fi 99 AC_SUBST([CYGPATH_W]) 100 101 # Define the identity of the package. 102 dnl Distinguish between old-style and new-style calls. 103 m4_ifval([$2], 104 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 105 AC_SUBST([PACKAGE], [$1])dnl 106 AC_SUBST([VERSION], [$2])], 107 [_AM_SET_OPTIONS([$1])dnl 108 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 109 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 110 111 _AM_IF_OPTION([no-define],, 112 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 113 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 114 115 # Some tools Automake needs. 116 AC_REQUIRE([AM_SANITY_CHECK])dnl 117 AC_REQUIRE([AC_ARG_PROGRAM])dnl 118 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 119 AM_MISSING_PROG(AUTOCONF, autoconf) 120 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 121 AM_MISSING_PROG(AUTOHEADER, autoheader) 122 AM_MISSING_PROG(MAKEINFO, makeinfo) 123 AM_MISSING_PROG(AMTAR, tar) 124 AM_PROG_INSTALL_SH 125 AM_PROG_INSTALL_STRIP 126 # We need awk for the "check" target. The system "awk" is bad on 127 # some platforms. 128 AC_REQUIRE([AC_PROG_AWK])dnl 129 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 130 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 131 132 _AM_IF_OPTION([no-dependencies],, 133 [AC_PROVIDE_IFELSE([AC_PROG_CC], 134 [_AM_DEPENDENCIES(CC)], 135 [define([AC_PROG_CC], 136 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 137 AC_PROVIDE_IFELSE([AC_PROG_CXX], 138 [_AM_DEPENDENCIES(CXX)], 139 [define([AC_PROG_CXX], 140 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 141 ]) 142 ]) 143 144 145 # When config.status generates a header, we must update the stamp-h file. 146 # This file resides in the same directory as the config header 147 # that is generated. The stamp files are numbered to have different names. 148 149 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 150 # loop where config.status creates the headers, so we can generate 151 # our stamp files there. 152 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 153 [# Compute $1's index in $config_headers. 154 _am_stamp_count=1 155 for _am_header in $config_headers :; do 156 case $_am_header in 157 $1 | $1:* ) 158 break ;; 159 * ) 160 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 161 esac 162 done 163 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 164 165 # Copyright 2002 Free Software Foundation, Inc. 166 167 # This program is free software; you can redistribute it and/or modify 168 # it under the terms of the GNU General Public License as published by 169 # the Free Software Foundation; either version 2, or (at your option) 170 # any later version. 171 172 # This program is distributed in the hope that it will be useful, 173 # but WITHOUT ANY WARRANTY; without even the implied warranty of 174 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 175 # GNU General Public License for more details. 176 177 # You should have received a copy of the GNU General Public License 178 # along with this program; if not, write to the Free Software 179 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 180 181 # AM_AUTOMAKE_VERSION(VERSION) 182 # ---------------------------- 183 # Automake X.Y traces this macro to ensure aclocal.m4 has been 184 # generated from the m4 files accompanying Automake X.Y. 185 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) 186 187 # AM_SET_CURRENT_AUTOMAKE_VERSION 188 # ------------------------------- 189 # Call AM_AUTOMAKE_VERSION so it can be traced. 190 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 191 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 192 [AM_AUTOMAKE_VERSION([1.7.8])]) 193 194 # Helper functions for option handling. -*- Autoconf -*- 195 196 # Copyright 2001, 2002 Free Software Foundation, Inc. 197 198 # This program is free software; you can redistribute it and/or modify 199 # it under the terms of the GNU General Public License as published by 200 # the Free Software Foundation; either version 2, or (at your option) 201 # any later version. 202 203 # This program is distributed in the hope that it will be useful, 204 # but WITHOUT ANY WARRANTY; without even the implied warranty of 205 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 206 # GNU General Public License for more details. 207 208 # You should have received a copy of the GNU General Public License 209 # along with this program; if not, write to the Free Software 210 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 211 # 02111-1307, USA. 212 213 # serial 2 214 215 # _AM_MANGLE_OPTION(NAME) 216 # ----------------------- 217 AC_DEFUN([_AM_MANGLE_OPTION], 218 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 219 220 # _AM_SET_OPTION(NAME) 221 # ------------------------------ 222 # Set option NAME. Presently that only means defining a flag for this option. 223 AC_DEFUN([_AM_SET_OPTION], 224 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 225 226 # _AM_SET_OPTIONS(OPTIONS) 227 # ---------------------------------- 228 # OPTIONS is a space-separated list of Automake options. 229 AC_DEFUN([_AM_SET_OPTIONS], 230 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 231 232 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 233 # ------------------------------------------- 234 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 235 AC_DEFUN([_AM_IF_OPTION], 236 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 237 238 # 239 # Check to make sure that the build environment is sane. 240 # 241 242 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 243 244 # This program is free software; you can redistribute it and/or modify 245 # it under the terms of the GNU General Public License as published by 246 # the Free Software Foundation; either version 2, or (at your option) 247 # any later version. 248 249 # This program is distributed in the hope that it will be useful, 250 # but WITHOUT ANY WARRANTY; without even the implied warranty of 251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 252 # GNU General Public License for more details. 253 254 # You should have received a copy of the GNU General Public License 255 # along with this program; if not, write to the Free Software 256 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 257 # 02111-1307, USA. 258 259 # serial 3 260 261 # AM_SANITY_CHECK 262 # --------------- 263 AC_DEFUN([AM_SANITY_CHECK], 264 [AC_MSG_CHECKING([whether build environment is sane]) 265 # Just in case 266 sleep 1 267 echo timestamp > conftest.file 268 # Do `set' in a subshell so we don't clobber the current shell's 269 # arguments. Must try -L first in case configure is actually a 270 # symlink; some systems play weird games with the mod time of symlinks 271 # (eg FreeBSD returns the mod time of the symlink's containing 272 # directory). 273 if ( 274 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 275 if test "$[*]" = "X"; then 276 # -L didn't work. 277 set X `ls -t $srcdir/configure conftest.file` 278 fi 279 rm -f conftest.file 280 if test "$[*]" != "X $srcdir/configure conftest.file" \ 281 && test "$[*]" != "X conftest.file $srcdir/configure"; then 282 283 # If neither matched, then we have a broken ls. This can happen 284 # if, for instance, CONFIG_SHELL is bash and it inherits a 285 # broken ls alias from the environment. This has actually 286 # happened. Such a system could not be considered "sane". 287 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 288 alias in your environment]) 289 fi 290 291 test "$[2]" = conftest.file 292 ) 293 then 294 # Ok. 295 : 296 else 297 AC_MSG_ERROR([newly created file is older than distributed files! 298 Check your system clock]) 299 fi 300 AC_MSG_RESULT(yes)]) 301 302 # -*- Autoconf -*- 303 304 305 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 306 307 # This program is free software; you can redistribute it and/or modify 308 # it under the terms of the GNU General Public License as published by 309 # the Free Software Foundation; either version 2, or (at your option) 310 # any later version. 311 312 # This program is distributed in the hope that it will be useful, 313 # but WITHOUT ANY WARRANTY; without even the implied warranty of 314 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 315 # GNU General Public License for more details. 316 317 # You should have received a copy of the GNU General Public License 318 # along with this program; if not, write to the Free Software 319 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 320 # 02111-1307, USA. 321 322 # serial 3 323 324 # AM_MISSING_PROG(NAME, PROGRAM) 325 # ------------------------------ 326 AC_DEFUN([AM_MISSING_PROG], 327 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 328 $1=${$1-"${am_missing_run}$2"} 329 AC_SUBST($1)]) 330 331 332 # AM_MISSING_HAS_RUN 333 # ------------------ 334 # Define MISSING if not defined so far and test if it supports --run. 335 # If it does, set am_missing_run to use it, otherwise, to nothing. 336 AC_DEFUN([AM_MISSING_HAS_RUN], 337 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 338 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 339 # Use eval to expand $SHELL 340 if eval "$MISSING --run true"; then 341 am_missing_run="$MISSING --run " 342 else 343 am_missing_run= 344 AC_MSG_WARN([`missing' script is too old or missing]) 345 fi 346 ]) 347 348 # AM_AUX_DIR_EXPAND 349 350 # Copyright 2001 Free Software Foundation, Inc. 351 352 # This program is free software; you can redistribute it and/or modify 353 # it under the terms of the GNU General Public License as published by 354 # the Free Software Foundation; either version 2, or (at your option) 355 # any later version. 356 357 # This program is distributed in the hope that it will be useful, 358 # but WITHOUT ANY WARRANTY; without even the implied warranty of 359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 360 # GNU General Public License for more details. 361 362 # You should have received a copy of the GNU General Public License 363 # along with this program; if not, write to the Free Software 364 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 365 # 02111-1307, USA. 366 367 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 368 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 369 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 370 # 371 # Of course, Automake must honor this variable whenever it calls a 372 # tool from the auxiliary directory. The problem is that $srcdir (and 373 # therefore $ac_aux_dir as well) can be either absolute or relative, 374 # depending on how configure is run. This is pretty annoying, since 375 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 376 # source directory, any form will work fine, but in subdirectories a 377 # relative path needs to be adjusted first. 378 # 379 # $ac_aux_dir/missing 380 # fails when called from a subdirectory if $ac_aux_dir is relative 381 # $top_srcdir/$ac_aux_dir/missing 382 # fails if $ac_aux_dir is absolute, 383 # fails when called from a subdirectory in a VPATH build with 384 # a relative $ac_aux_dir 385 # 386 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 387 # are both prefixed by $srcdir. In an in-source build this is usually 388 # harmless because $srcdir is `.', but things will broke when you 389 # start a VPATH build or use an absolute $srcdir. 390 # 391 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 392 # iff we strip the leading $srcdir from $ac_aux_dir. That would be: 393 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 394 # and then we would define $MISSING as 395 # MISSING="\${SHELL} $am_aux_dir/missing" 396 # This will work as long as MISSING is not called from configure, because 397 # unfortunately $(top_srcdir) has no meaning in configure. 398 # However there are other variables, like CC, which are often used in 399 # configure, and could therefore not use this "fixed" $ac_aux_dir. 400 # 401 # Another solution, used here, is to always expand $ac_aux_dir to an 402 # absolute PATH. The drawback is that using absolute paths prevent a 403 # configured tree to be moved without reconfiguration. 404 405 # Rely on autoconf to set up CDPATH properly. 406 AC_PREREQ([2.50]) 407 408 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 409 # expand $ac_aux_dir to an absolute path 410 am_aux_dir=`cd $ac_aux_dir && pwd` 411 ]) 412 413 # AM_PROG_INSTALL_SH 414 # ------------------ 415 # Define $install_sh. 416 417 # Copyright 2001 Free Software Foundation, Inc. 418 419 # This program is free software; you can redistribute it and/or modify 420 # it under the terms of the GNU General Public License as published by 421 # the Free Software Foundation; either version 2, or (at your option) 422 # any later version. 423 424 # This program is distributed in the hope that it will be useful, 425 # but WITHOUT ANY WARRANTY; without even the implied warranty of 426 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 427 # GNU General Public License for more details. 428 429 # You should have received a copy of the GNU General Public License 430 # along with this program; if not, write to the Free Software 431 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 432 # 02111-1307, USA. 433 434 AC_DEFUN([AM_PROG_INSTALL_SH], 435 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 436 install_sh=${install_sh-"$am_aux_dir/install-sh"} 437 AC_SUBST(install_sh)]) 438 439 # AM_PROG_INSTALL_STRIP 440 441 # Copyright 2001 Free Software Foundation, Inc. 442 443 # This program is free software; you can redistribute it and/or modify 444 # it under the terms of the GNU General Public License as published by 445 # the Free Software Foundation; either version 2, or (at your option) 446 # any later version. 447 448 # This program is distributed in the hope that it will be useful, 449 # but WITHOUT ANY WARRANTY; without even the implied warranty of 450 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 451 # GNU General Public License for more details. 452 453 # You should have received a copy of the GNU General Public License 454 # along with this program; if not, write to the Free Software 455 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 456 # 02111-1307, USA. 457 458 # One issue with vendor `install' (even GNU) is that you can't 459 # specify the program used to strip binaries. This is especially 460 # annoying in cross-compiling environments, where the build's strip 461 # is unlikely to handle the host's binaries. 462 # Fortunately install-sh will honor a STRIPPROG variable, so we 463 # always use install-sh in `make install-strip', and initialize 464 # STRIPPROG with the value of the STRIP variable (set by the user). 465 AC_DEFUN([AM_PROG_INSTALL_STRIP], 466 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 467 # Installed binaries are usually stripped using `strip' when the user 468 # run `make install-strip'. However `strip' might not be the right 469 # tool to use in cross-compilation environments, therefore Automake 470 # will honor the `STRIP' environment variable to overrule this program. 471 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 472 if test "$cross_compiling" != no; then 473 AC_CHECK_TOOL([STRIP], [strip], :) 474 fi 475 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 476 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 477 478 # -*- Autoconf -*- 479 # Copyright (C) 2003 Free Software Foundation, Inc. 480 481 # This program is free software; you can redistribute it and/or modify 482 # it under the terms of the GNU General Public License as published by 483 # the Free Software Foundation; either version 2, or (at your option) 484 # any later version. 485 486 # This program is distributed in the hope that it will be useful, 487 # but WITHOUT ANY WARRANTY; without even the implied warranty of 488 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 489 # GNU General Public License for more details. 490 491 # You should have received a copy of the GNU General Public License 492 # along with this program; if not, write to the Free Software 493 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 494 # 02111-1307, USA. 495 496 # serial 1 497 498 # Check whether the underlying file-system supports filenames 499 # with a leading dot. For instance MS-DOS doesn't. 500 AC_DEFUN([AM_SET_LEADING_DOT], 501 [rm -rf .tst 2>/dev/null 502 mkdir .tst 2>/dev/null 503 if test -d .tst; then 504 am__leading_dot=. 505 else 506 am__leading_dot=_ 507 fi 508 rmdir .tst 2>/dev/null 509 AC_SUBST([am__leading_dot])]) 510 511 # serial 5 -*- Autoconf -*- 512 513 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 514 515 # This program is free software; you can redistribute it and/or modify 516 # it under the terms of the GNU General Public License as published by 517 # the Free Software Foundation; either version 2, or (at your option) 518 # any later version. 519 520 # This program is distributed in the hope that it will be useful, 521 # but WITHOUT ANY WARRANTY; without even the implied warranty of 522 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 523 # GNU General Public License for more details. 524 525 # You should have received a copy of the GNU General Public License 526 # along with this program; if not, write to the Free Software 527 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 528 # 02111-1307, USA. 529 530 531 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 532 # written in clear, in which case automake, when reading aclocal.m4, 533 # will think it sees a *use*, and therefore will trigger all it's 534 # C support machinery. Also note that it means that autoscan, seeing 535 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 536 537 538 539 # _AM_DEPENDENCIES(NAME) 540 # ---------------------- 541 # See how the compiler implements dependency checking. 542 # NAME is "CC", "CXX", "GCJ", or "OBJC". 543 # We try a few techniques and use that to set a single cache variable. 544 # 545 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 546 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 547 # dependency, and given that the user is not expected to run this macro, 548 # just rely on AC_PROG_CC. 549 AC_DEFUN([_AM_DEPENDENCIES], 550 [AC_REQUIRE([AM_SET_DEPDIR])dnl 551 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 552 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 553 AC_REQUIRE([AM_DEP_TRACK])dnl 554 555 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 556 [$1], CXX, [depcc="$CXX" am_compiler_list=], 557 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 558 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 559 [depcc="$$1" am_compiler_list=]) 560 561 AC_CACHE_CHECK([dependency style of $depcc], 562 [am_cv_$1_dependencies_compiler_type], 563 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 564 # We make a subdir and do the tests there. Otherwise we can end up 565 # making bogus files that we don't know about and never remove. For 566 # instance it was reported that on HP-UX the gcc test will end up 567 # making a dummy file named `D' -- because `-MD' means `put the output 568 # in D'. 569 mkdir conftest.dir 570 # Copy depcomp to subdir because otherwise we won't find it if we're 571 # using a relative directory. 572 cp "$am_depcomp" conftest.dir 573 cd conftest.dir 574 # We will build objects and dependencies in a subdirectory because 575 # it helps to detect inapplicable dependency modes. For instance 576 # both Tru64's cc and ICC support -MD to output dependencies as a 577 # side effect of compilation, but ICC will put the dependencies in 578 # the current directory while Tru64 will put them in the object 579 # directory. 580 mkdir sub 581 582 am_cv_$1_dependencies_compiler_type=none 583 if test "$am_compiler_list" = ""; then 584 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 585 fi 586 for depmode in $am_compiler_list; do 587 # Setup a source with many dependencies, because some compilers 588 # like to wrap large dependency lists on column 80 (with \), and 589 # we should not choose a depcomp mode which is confused by this. 590 # 591 # We need to recreate these files for each test, as the compiler may 592 # overwrite some of them when testing with obscure command lines. 593 # This happens at least with the AIX C compiler. 594 : > sub/conftest.c 595 for i in 1 2 3 4 5 6; do 596 echo '#include "conftst'$i'.h"' >> sub/conftest.c 597 : > sub/conftst$i.h 598 done 599 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 600 601 case $depmode in 602 nosideeffect) 603 # after this tag, mechanisms are not by side-effect, so they'll 604 # only be used when explicitly requested 605 if test "x$enable_dependency_tracking" = xyes; then 606 continue 607 else 608 break 609 fi 610 ;; 611 none) break ;; 612 esac 613 # We check with `-c' and `-o' for the sake of the "dashmstdout" 614 # mode. It turns out that the SunPro C++ compiler does not properly 615 # handle `-M -o', and we need to detect this. 616 if depmode=$depmode \ 617 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 618 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 619 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 620 >/dev/null 2>conftest.err && 621 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 622 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 623 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 624 # icc doesn't choke on unknown options, it will just issue warnings 625 # (even with -Werror). So we grep stderr for any message 626 # that says an option was ignored. 627 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 628 am_cv_$1_dependencies_compiler_type=$depmode 629 break 630 fi 631 fi 632 done 633 634 cd .. 635 rm -rf conftest.dir 636 else 637 am_cv_$1_dependencies_compiler_type=none 638 fi 639 ]) 640 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 641 AM_CONDITIONAL([am__fastdep$1], [ 642 test "x$enable_dependency_tracking" != xno \ 643 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 644 ]) 645 646 647 # AM_SET_DEPDIR 648 # ------------- 649 # Choose a directory name for dependency files. 650 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 651 AC_DEFUN([AM_SET_DEPDIR], 652 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 653 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 654 ]) 655 656 657 # AM_DEP_TRACK 658 # ------------ 659 AC_DEFUN([AM_DEP_TRACK], 660 [AC_ARG_ENABLE(dependency-tracking, 661 [ --disable-dependency-tracking Speeds up one-time builds 662 --enable-dependency-tracking Do not reject slow dependency extractors]) 663 if test "x$enable_dependency_tracking" != xno; then 664 am_depcomp="$ac_aux_dir/depcomp" 665 AMDEPBACKSLASH='\' 666 fi 667 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 668 AC_SUBST([AMDEPBACKSLASH]) 669 ]) 670 671 # Generate code to set up dependency tracking. -*- Autoconf -*- 672 673 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 674 675 # This program is free software; you can redistribute it and/or modify 676 # it under the terms of the GNU General Public License as published by 677 # the Free Software Foundation; either version 2, or (at your option) 678 # any later version. 679 680 # This program is distributed in the hope that it will be useful, 681 # but WITHOUT ANY WARRANTY; without even the implied warranty of 682 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 683 # GNU General Public License for more details. 684 685 # You should have received a copy of the GNU General Public License 686 # along with this program; if not, write to the Free Software 687 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 688 # 02111-1307, USA. 689 690 #serial 2 691 692 # _AM_OUTPUT_DEPENDENCY_COMMANDS 693 # ------------------------------ 694 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 695 [for mf in $CONFIG_FILES; do 696 # Strip MF so we end up with the name of the file. 697 mf=`echo "$mf" | sed -e 's/:.*$//'` 698 # Check whether this is an Automake generated Makefile or not. 699 # We used to match only the files named `Makefile.in', but 700 # some people rename them; so instead we look at the file content. 701 # Grep'ing the first line is not enough: some people post-process 702 # each Makefile.in and add a new line on top of each file to say so. 703 # So let's grep whole file. 704 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 705 dirpart=`AS_DIRNAME("$mf")` 706 else 707 continue 708 fi 709 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 710 # Extract the definition of DEP_FILES from the Makefile without 711 # running `make'. 712 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 713 test -z "$DEPDIR" && continue 714 # When using ansi2knr, U may be empty or an underscore; expand it 715 U=`sed -n -e '/^U = / s///p' < "$mf"` 716 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 717 # We invoke sed twice because it is the simplest approach to 718 # changing $(DEPDIR) to its actual value in the expansion. 719 for file in `sed -n -e ' 720 /^DEP_FILES = .*\\\\$/ { 721 s/^DEP_FILES = // 722 :loop 723 s/\\\\$// 724 p 725 n 726 /\\\\$/ b loop 727 p 728 } 729 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 730 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 731 # Make sure the directory exists. 732 test -f "$dirpart/$file" && continue 733 fdir=`AS_DIRNAME(["$file"])` 734 AS_MKDIR_P([$dirpart/$fdir]) 735 # echo "creating $dirpart/$file" 736 echo '# dummy' > "$dirpart/$file" 737 done 738 done 739 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 740 741 742 # AM_OUTPUT_DEPENDENCY_COMMANDS 743 # ----------------------------- 744 # This macro should only be invoked once -- use via AC_REQUIRE. 745 # 746 # This code is only required when automatic dependency tracking 747 # is enabled. FIXME. This creates each `.P' file that we will 748 # need in order to bootstrap the dependency handling code. 749 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 750 [AC_CONFIG_COMMANDS([depfiles], 751 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 752 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 753 ]) 754 755 # Check to see how 'make' treats includes. -*- Autoconf -*- 756 757 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 758 759 # This program is free software; you can redistribute it and/or modify 760 # it under the terms of the GNU General Public License as published by 761 # the Free Software Foundation; either version 2, or (at your option) 762 # any later version. 763 764 # This program is distributed in the hope that it will be useful, 765 # but WITHOUT ANY WARRANTY; without even the implied warranty of 766 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 767 # GNU General Public License for more details. 768 769 # You should have received a copy of the GNU General Public License 770 # along with this program; if not, write to the Free Software 771 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 772 # 02111-1307, USA. 773 774 # serial 2 775 776 # AM_MAKE_INCLUDE() 777 # ----------------- 778 # Check to see how make treats includes. 779 AC_DEFUN([AM_MAKE_INCLUDE], 780 [am_make=${MAKE-make} 781 cat > confinc << 'END' 782 am__doit: 783 @echo done 784 .PHONY: am__doit 785 END 786 # If we don't find an include directive, just comment out the code. 787 AC_MSG_CHECKING([for style of include used by $am_make]) 788 am__include="#" 789 am__quote= 790 _am_result=none 791 # First try GNU make style include. 792 echo "include confinc" > confmf 793 # We grep out `Entering directory' and `Leaving directory' 794 # messages which can occur if `w' ends up in MAKEFLAGS. 795 # In particular we don't look at `^make:' because GNU make might 796 # be invoked under some other name (usually "gmake"), in which 797 # case it prints its new name instead of `make'. 798 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 799 am__include=include 800 am__quote= 801 _am_result=GNU 802 fi 803 # Now try BSD make style include. 804 if test "$am__include" = "#"; then 805 echo '.include "confinc"' > confmf 806 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 807 am__include=.include 808 am__quote="\"" 809 _am_result=BSD 810 fi 811 fi 812 AC_SUBST([am__include]) 813 AC_SUBST([am__quote]) 814 AC_MSG_RESULT([$_am_result]) 815 rm -f confinc confmf 816 ]) 817 818 # AM_CONDITIONAL -*- Autoconf -*- 819 820 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 821 822 # This program is free software; you can redistribute it and/or modify 823 # it under the terms of the GNU General Public License as published by 824 # the Free Software Foundation; either version 2, or (at your option) 825 # any later version. 826 827 # This program is distributed in the hope that it will be useful, 828 # but WITHOUT ANY WARRANTY; without even the implied warranty of 829 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 830 # GNU General Public License for more details. 831 832 # You should have received a copy of the GNU General Public License 833 # along with this program; if not, write to the Free Software 834 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 835 # 02111-1307, USA. 836 837 # serial 5 838 839 AC_PREREQ(2.52) 840 841 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 842 # ------------------------------------- 843 # Define a conditional. 844 AC_DEFUN([AM_CONDITIONAL], 845 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 846 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 847 AC_SUBST([$1_TRUE]) 848 AC_SUBST([$1_FALSE]) 849 if $2; then 850 $1_TRUE= 851 $1_FALSE='#' 852 else 853 $1_TRUE='#' 854 $1_FALSE= 855 fi 856 AC_CONFIG_COMMANDS_PRE( 857 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 858 AC_MSG_ERROR([conditional "$1" was never defined. 859 Usually this means the macro was only invoked conditionally.]) 860 fi])]) 13 861 14 862 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- … … 492 1340 LD="${LD-ld} -m elf_i386" 493 1341 ;; 494 ppc64-*linux* |powerpc64-*linux*)1342 ppc64-*linux*) 495 1343 LD="${LD-ld} -m elf32ppclinux" 496 1344 ;; … … 556 1404 # Check whether the given compiler option works 557 1405 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 558 [AC_REQUIRE([LT_AC_PROG_SED]) 559 AC_CACHE_CHECK([$1], [$2], 1406 [AC_CACHE_CHECK([$1], [$2], 560 1407 [$2=no 561 1408 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) … … 633 1480 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 634 1481 i=0 635 test string="ABCD"1482 testring="ABCD" 636 1483 637 1484 case $build_os in … … 662 1509 ;; 663 1510 664 amigaos*)665 # On AmigaOS with pdksh, this test takes hours, literally.666 # So we just punt and use a minimum line length of 8192.667 lt_cv_sys_max_cmd_len=8192;668 ;;669 670 1511 *) 671 1512 # If test is not a shell built-in, we'll probably end up computing a 672 1513 # maximum length that is only half of the actual maximum length, but 673 1514 # we can't tell. 674 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$test string" 2>/dev/null` \675 = "XX$test string") >/dev/null 2>&1 &&676 new_result=`expr "X$test string" : ".*" 2>&1` &&1515 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ 1516 = "XX$testring") >/dev/null 2>&1 && 1517 new_result=`expr "X$testring" : ".*" 2>&1` && 677 1518 lt_cv_sys_max_cmd_len=$new_result && 678 1519 test $i != 17 # 1/2 MB should be enough 679 1520 do 680 1521 i=`expr $i + 1` 681 test string=$teststring$teststring1522 testring=$testring$testring 682 1523 done 683 test string=1524 testring= 684 1525 # Add a significant safety factor because C++ compilers can tack on massive 685 1526 # amounts of additional arguments before passing them to the linker. … … 831 1672 ]) 832 1673 ;; 833 1674 834 1675 *) 835 1676 AC_CHECK_FUNC([shl_load], … … 919 1760 mkdir out 920 1761 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1762 1763 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 1764 # that will create temporary files in the current directory regardless of 1765 # the output directory. Thus, making CWD read-only will cause this test 1766 # to fail, enabling locking or at least warning the user not to do parallel 1767 # builds. 1768 chmod -w . 921 1769 922 1770 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 943 1791 fi 944 1792 chmod u+w . 945 $rm conftest* 946 # SGI C++ compiler will create directory out/ii_files/ for 947 # template instantiation 948 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 949 $rm out/* && rmdir out 1793 $rm conftest* out/* 1794 rmdir out 950 1795 cd .. 951 1796 rmdir conftest … … 1064 1909 AC_MSG_RESULT([no]) 1065 1910 ;; 1066 esac 1911 esac 1067 1912 fi 1068 1913 ])# AC_LIBTOOL_SYS_LIB_STRIP … … 1077 1922 libname_spec='lib$name' 1078 1923 soname_spec= 1079 shrext _cmds=".so"1924 shrext=".so" 1080 1925 postinstall_cmds= 1081 1926 postuninstall_cmds= … … 1165 2010 library_names_spec='$libname.ixlibrary $libname.a' 1166 2011 # Create ${libname}_ixlibrary.a entries in /sys/libs. 1167 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a|| exit 1; done'2012 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 1168 2013 ;; 1169 2014 … … 1190 2035 cygwin* | mingw* | pw32*) 1191 2036 version_type=windows 1192 shrext _cmds=".dll"2037 shrext=".dll" 1193 2038 need_version=no 1194 2039 need_lib_prefix=no … … 1212 2057 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1213 2058 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1214 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"2059 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 1215 2060 ;; 1216 2061 mingw*) … … 1251 2096 need_lib_prefix=no 1252 2097 need_version=no 2098 # FIXME: Relying on posixy $() will cause problems for 2099 # cross-compilation, but unfortunately the echo tests do not 2100 # yet detect zsh echo's removal of \ escapes. 1253 2101 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1254 2102 soname_spec='${libname}${release}${major}$shared_ext' 1255 2103 shlibpath_overrides_runpath=yes 1256 2104 shlibpath_var=DYLD_LIBRARY_PATH 1257 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'2105 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 1258 2106 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1259 if test "$GCC" = yes; then 1260 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1261 else 1262 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 2107 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2108 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1263 2109 fi 1264 2110 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 1276 2122 freebsd1*) 1277 2123 dynamic_linker=no 1278 ;;1279 1280 kfreebsd*-gnu)1281 version_type=linux1282 need_lib_prefix=no1283 need_version=no1284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1285 soname_spec='${libname}${release}${shared_ext}$major'1286 shlibpath_var=LD_LIBRARY_PATH1287 shlibpath_overrides_runpath=no1288 hardcode_into_libs=yes1289 dynamic_linker='GNU ld.so'1290 2124 ;; 1291 2125 … … 1338 2172 case "$host_cpu" in 1339 2173 ia64*) 1340 shrext _cmds='.so'2174 shrext='.so' 1341 2175 hardcode_into_libs=yes 1342 2176 dynamic_linker="$host_os dld.so" … … 1353 2187 ;; 1354 2188 hppa*64*) 1355 shrext _cmds='.sl'2189 shrext='.sl' 1356 2190 hardcode_into_libs=yes 1357 2191 dynamic_linker="$host_os dld.sl" … … 1364 2198 ;; 1365 2199 *) 1366 shrext _cmds='.sl'2200 shrext='.sl' 1367 2201 dynamic_linker="$host_os dld.sl" 1368 2202 shlibpath_var=SHLIB_PATH … … 1433 2267 hardcode_into_libs=yes 1434 2268 1435 # find out which ABI we are using 2269 # We used to test for /lib/ld.so.1 and disable shared libraries on 2270 # powerpc, because MkLinux only supported shared libraries with the 2271 # GNU dynamic linker. Since this was broken with cross compilers, 2272 # most powerpc-linux boxes support dynamic linking these days and 2273 # people can always --disable-shared, the test was removed, and we 2274 # assume the GNU/Linux dynamic linker is in use. 2275 dynamic_linker='GNU/Linux ld.so' 2276 2277 # Find out which ABI we are using (multilib Linux x86_64 hack). 1436 2278 libsuff= 1437 2279 case "$host_cpu" in … … 1442 2284 *64-bit*) 1443 2285 libsuff=64 1444 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"1445 2286 ;; 1446 2287 esac … … 1448 2289 rm -rf conftest* 1449 2290 ;; 2291 *) 2292 ;; 1450 2293 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 1458 # We used to test for /lib/ld.so.1 and disable shared libraries on 1459 # powerpc, because MkLinux only supported shared libraries with the 1460 # GNU dynamic linker. Since this was broken with cross compilers, 1461 # most powerpc-linux boxes support dynamic linking these days and 1462 # people can always --disable-shared, the test was removed, and we 1463 # assume the GNU/Linux dynamic linker is in use. 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' 2294 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 2295 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 1477 2296 ;; 1478 2297 … … 1486 2305 dynamic_linker='NetBSD (a.out) ld.so' 1487 2306 else 1488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'2307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 1489 2308 soname_spec='${libname}${release}${shared_ext}$major' 1490 2309 dynamic_linker='NetBSD ld.elf_so' … … 1502 2321 ;; 1503 2322 1504 nto-qnx *)2323 nto-qnx) 1505 2324 version_type=linux 1506 2325 need_lib_prefix=no … … 1515 2334 version_type=sunos 1516 2335 need_lib_prefix=no 1517 need_version= yes2336 need_version=no 1518 2337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1519 2338 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 1535 2354 os2*) 1536 2355 libname_spec='$name' 1537 shrext _cmds=".dll"2356 shrext=".dll" 1538 2357 need_lib_prefix=no 1539 2358 library_names_spec='$libname${shared_ext} $libname.a' … … 1971 2790 # AC_PROG_LD 1972 2791 # ---------- 1973 # find the path nameto the GNU or non-GNU linker2792 # find the path to the GNU or non-GNU linker 1974 2793 AC_DEFUN([AC_PROG_LD], 1975 2794 [AC_ARG_WITH([gnu-ld], … … 1997 2816 [[\\/]]* | ?:[[\\/]]*) 1998 2817 re_direlt='/[[^/]][[^/]]*/\.\./' 1999 # Canonicalize the path nameof ld2818 # Canonicalize the path of ld 2000 2819 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 2001 2820 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 2125 2944 ;; 2126 2945 2127 cygwin* )2128 # func_win32_libid is a shell function defined in ltmain.sh2946 cygwin* | mingw* | pw32*) 2947 # win32_libid is a shell function defined in ltmain.sh 2129 2948 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2130 lt_cv_file_magic_cmd='func_win32_libid' 2131 ;; 2132 2133 mingw* | pw32*) 2134 # Base MSYS/MinGW do not provide the 'file' command needed by 2135 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2136 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2137 lt_cv_file_magic_cmd='$OBJDUMP -f' 2949 lt_cv_file_magic_cmd='win32_libid' 2138 2950 ;; 2139 2951 2140 2952 darwin* | rhapsody*) 2953 # this will be overwritten by pass_all, but leave it in just in case 2954 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 2955 lt_cv_file_magic_cmd='/usr/bin/file -L' 2956 case "$host_os" in 2957 rhapsody* | darwin1.[[012]]) 2958 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` 2959 ;; 2960 *) # Darwin 1.3 on 2961 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 2962 ;; 2963 esac 2141 2964 lt_cv_deplibs_check_method=pass_all 2142 2965 ;; 2143 2966 2144 freebsd* | kfreebsd*-gnu)2967 freebsd*) 2145 2968 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2146 2969 case $host_cpu in … … 2181 3004 2182 3005 irix5* | irix6* | nonstopux*) 2183 case $LD in 2184 *-32|*"-32 ") libmagic=32-bit;; 2185 *-n32|*"-n32 ") libmagic=N32;; 2186 *-64|*"-64 ") libmagic=64-bit;; 2187 *) libmagic=never-match;; 3006 case $host_os in 3007 irix5* | nonstopux*) 3008 # this will be overridden with pass_all, but let us keep it just in case 3009 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 3010 ;; 3011 *) 3012 case $LD in 3013 *-32|*"-32 ") libmagic=32-bit;; 3014 *-n32|*"-n32 ") libmagic=N32;; 3015 *-64|*"-64 ") libmagic=64-bit;; 3016 *) libmagic=never-match;; 3017 esac 3018 # this will be overridden with pass_all, but let us keep it just in case 3019 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" 3020 ;; 2188 3021 esac 3022 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 2189 3023 lt_cv_deplibs_check_method=pass_all 2190 3024 ;; … … 2193 3027 linux*) 2194 3028 case $host_cpu in 2195 alpha* |hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)3029 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*) 2196 3030 lt_cv_deplibs_check_method=pass_all ;; 2197 3031 *) 2198 3032 # glibc up to 2.1.1 does not perform some relocations on ARM 2199 # this will be overridden with pass_all, but let us keep it just in case2200 3033 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 2201 3034 esac 2202 3035 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 2203 lt_cv_deplibs_check_method=pass_all2204 3036 ;; 2205 3037 … … 2218 3050 ;; 2219 3051 2220 nto-qnx *)3052 nto-qnx) 2221 3053 lt_cv_deplibs_check_method=unknown 2222 3054 ;; … … 2233 3065 2234 3066 osf3* | osf4* | osf5*) 3067 # this will be overridden with pass_all, but let us keep it just in case 3068 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 3069 lt_cv_file_magic_test_file=/shlib/libc.so 2235 3070 lt_cv_deplibs_check_method=pass_all 2236 3071 ;; … … 2242 3077 solaris*) 2243 3078 lt_cv_deplibs_check_method=pass_all 3079 lt_cv_file_magic_test_file=/lib/libc.so 2244 3080 ;; 2245 3081 … … 2281 3117 # AC_PROG_NM 2282 3118 # ---------- 2283 # find the path nameto a BSD-compatible name lister3119 # find the path to a BSD-compatible name lister 2284 3120 AC_DEFUN([AC_PROG_NM], 2285 3121 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, … … 2419 3255 [AC_REQUIRE([AC_PROG_CXX]) 2420 3256 AC_REQUIRE([AC_PROG_CXXCPP]) 2421 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}CXX])3257 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) 2422 3258 ])# _LT_AC_LANG_CXX 2423 3259 … … 2435 3271 AC_DEFUN([_LT_AC_LANG_F77], 2436 3272 [AC_REQUIRE([AC_PROG_F77]) 2437 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}F77])3273 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) 2438 3274 ])# _LT_AC_LANG_F77 2439 3275 … … 2456 3292 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], 2457 3293 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) 2458 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}GCJ])3294 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) 2459 3295 ])# _LT_AC_LANG_GCJ 2460 3296 … … 2465 3301 AC_DEFUN([AC_LIBTOOL_RC], 2466 3302 [AC_REQUIRE([LT_AC_PROG_RC]) 2467 _LT_AC_SHELL_INIT([tagnames= ${tagnames+${tagnames},}RC])3303 _LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) 2468 3304 ])# AC_LIBTOOL_RC 2469 3305 … … 2507 3343 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 2508 3344 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 2509 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :3345 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : 2510 3346 else 2511 3347 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) … … 2530 3366 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 2531 3367 AC_LIBTOOL_PROG_LD_SHLIBS($1) 2532 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)2533 3368 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 2534 3369 AC_LIBTOOL_SYS_LIB_STRIP 3370 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 2535 3371 AC_LIBTOOL_DLOPEN_SELF($1) 2536 3372 … … 2553 3389 ;; 2554 3390 2555 aix4* | aix5*)3391 aix4*) 2556 3392 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2557 3393 test "$enable_shared" = yes && enable_static=no … … 2559 3395 ;; 2560 3396 darwin* | rhapsody*) 2561 if test "$GCC" = yes; then3397 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2562 3398 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2563 3399 case "$host_os" in … … 2566 3402 ;; 2567 3403 *) # 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 3404 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2580 3405 ;; 2581 3406 esac 2582 output_verbose_link_cmd='echo' 3407 # FIXME: Relying on posixy $() will cause problems for 3408 # cross-compilation, but unfortunately the echo tests do not 3409 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 3410 # `"' quotes if we put them in here... so don't! 3411 output_verbose_link_cmd='echo' 2583 3412 _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'3413 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 2585 3414 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 2586 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'2587 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3415 _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}' 3416 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2588 3417 _LT_AC_TAGVAR(hardcode_direct, $1)=no 2589 3418 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 2591 3420 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 2592 3421 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 2593 else 2594 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2595 fi 2596 ;; 3422 fi 3423 ;; 2597 3424 esac 2598 3425 AC_MSG_RESULT([$enable_shared]) … … 2896 3723 2897 3724 darwin* | rhapsody*) 2898 if test "$GXX" = yes; then3725 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 2899 3726 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2900 3727 case "$host_os" in … … 2903 3730 ;; 2904 3731 *) # Darwin 1.3 on 2905 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 2906 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3732 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3733 ;; 3734 esac 3735 lt_int_apple_cc_single_mod=no 3736 output_verbose_link_cmd='echo' 3737 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 3738 lt_int_apple_cc_single_mod=yes 3739 fi 3740 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3741 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3742 else 3743 _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' 3744 fi 3745 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 3746 3747 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 3748 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3749 _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}' 2907 3750 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 3751 _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}' 2916 3752 fi 2917 ;; 2918 esac 2919 lt_int_apple_cc_single_mod=no 2920 output_verbose_link_cmd='echo' 2921 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 2922 lt_int_apple_cc_single_mod=yes 2923 fi 2924 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 2925 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 2926 else 2927 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 2928 fi 2929 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 2930 2931 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 2932 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 2933 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2934 else 2935 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2936 fi 2937 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3753 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 2938 3754 _LT_AC_TAGVAR(hardcode_direct, $1)=no 2939 3755 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 2941 3757 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 2942 3758 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 2943 else 2944 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2945 fi 3759 fi 2946 3760 ;; 2947 3761 … … 2970 3784 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2971 3785 ;; 2972 freebsd* | kfreebsd*-gnu)3786 freebsd*) 2973 3787 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 2974 3788 # conventions … … 3001 3815 # from the output so that they don't get included in the library 3002 3816 # dependencies. 3003 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'3817 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 3004 3818 ;; 3005 3819 *) … … 3480 4294 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3481 4295 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3482 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3483 4296 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3484 4297 AC_LIBTOOL_SYS_LIB_STRIP 4298 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3485 4299 AC_LIBTOOL_DLOPEN_SELF($1) 3486 4300 … … 3704 4518 fi 3705 4519 ;; 3706 aix4* | aix5*)4520 aix4*) 3707 4521 test "$enable_shared" = yes && enable_static=no 3708 4522 ;; … … 3724 4538 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3725 4539 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3726 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3727 4540 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3728 4541 AC_LIBTOOL_SYS_LIB_STRIP 3729 4542 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3730 4543 3731 4544 AC_LIBTOOL_CONFIG($1) … … 3775 4588 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3776 4589 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3777 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3778 4590 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3779 4591 AC_LIBTOOL_SYS_LIB_STRIP 4592 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3780 4593 AC_LIBTOOL_DLOPEN_SELF($1) 3781 4594 … … 3842 4655 if test -n "${ZSH_VERSION+set}" ; then 3843 4656 setopt NO_GLOB_SUBST 3844 fi 4657 fi 3845 4658 # Now quote all the things that may contain metacharacters while being 3846 4659 # careful not to overquote the AC_SUBSTed values. We take copies of the 3847 4660 # variables and quote the copies for generation of the libtool script. 3848 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 3849 SED SHELL STRIP \ 4661 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 3850 4662 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 3851 4663 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 3897 4709 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ 3898 4710 _LT_AC_TAGVAR(module_cmds, $1) | \ 3899 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 4711 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 3900 4712 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ 3901 4713 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ … … 4028 4840 4029 4841 # A symbol stripping program 4030 STRIP=$ lt_STRIP4842 STRIP=$STRIP 4031 4843 4032 4844 # Used to examine libraries when file_magic_cmd begins "file" … … 4059 4871 4060 4872 # Shared library suffix (normally ".so"). 4061 shrext _cmds='$shrext_cmds'4873 shrext='$shrext' 4062 4874 4063 4875 # Executable file suffix (normally ""). … … 4303 5115 # `config.status --recheck' to rerun these tests and create the 4304 5116 # libtool script then. 4305 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 4306 if test -f "$ltmain_in"; then 4307 test -f Makefile && make "$ltmain" 4308 fi 5117 test -f Makefile && make "$ltmain" 4309 5118 fi 4310 5119 ])# AC_LIBTOOL_CONFIG … … 4612 5421 esac 4613 5422 ;; 4614 freebsd* | kfreebsd*-gnu)5423 freebsd*) 4615 5424 # FreeBSD uses GNU C++ 4616 5425 ;; … … 4663 5472 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4664 5473 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 4665 ;; 5474 ;; 4666 5475 cxx) 4667 5476 # Compaq C++ … … 4888 5697 linux*) 4889 5698 case $CC in 4890 icc * | ecc*)5699 icc|ecc) 4891 5700 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4892 5701 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4893 5702 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 4894 5703 ;; 4895 ccc *)5704 ccc) 4896 5705 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4897 5706 # All Alpha code is PIC. … … 5023 5832 _LT_AC_TAGVAR(hardcode_automatic, $1)=no 5024 5833 _LT_AC_TAGVAR(module_cmds, $1)= 5025 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5834 _LT_AC_TAGVAR(module_expsym_cmds, $1)= 5026 5835 _LT_AC_TAGVAR(always_export_symbols, $1)=no 5027 5836 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' … … 5167 5976 5168 5977 linux*) 5169 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then5978 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 5170 5979 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 5171 5980 _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" … … 5367 6176 libext=lib 5368 6177 # Tell ltmain to make .dll files, not .so files. 5369 shrext _cmds=".dll"6178 shrext=".dll" 5370 6179 # FIXME: Setting linknames here is a bad hack. 5371 6180 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 5379 6188 5380 6189 darwin* | rhapsody*) 5381 if test "$GXX" = yes ; then6190 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 5382 6191 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 5383 6192 case "$host_os" in … … 5386 6195 ;; 5387 6196 *) # 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 6197 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 5400 6198 ;; 5401 6199 esac 6200 # FIXME: Relying on posixy $() will cause problems for 6201 # cross-compilation, but unfortunately the echo tests do not 6202 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 6203 # `"' quotes if we put them in here... so don't! 5402 6204 lt_int_apple_cc_single_mod=no 5403 6205 output_verbose_link_cmd='echo' … … 5410 6212 _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' 5411 6213 fi 5412 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'6214 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 5413 6215 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 5414 6216 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 5417 6219 _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}' 5418 6220 fi 5419 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6221 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 5420 6222 _LT_AC_TAGVAR(hardcode_direct, $1)=no 5421 6223 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes … … 5423 6225 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 5424 6226 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 5425 else 5426 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5427 fi 6227 fi 5428 6228 ;; 5429 6229 … … 5458 6258 5459 6259 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 5460 freebsd* | kfreebsd*-gnu)6260 freebsd*) 5461 6261 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 5462 6262 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' … … 5775 6575 $rm conftest* 5776 6576 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 5777 6577 5778 6578 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then 5779 6579 soname=conftest … … 5937 6737 ]) 5938 6738 5939 # -*- Autoconf -*-5940 # Copyright (C) 2002, 2003 Free Software Foundation, Inc.5941 # Generated from amversion.in; do not edit by hand.5942 5943 # This program is free software; you can redistribute it and/or modify5944 # it under the terms of the GNU General Public License as published by5945 # the Free Software Foundation; either version 2, or (at your option)5946 # any later version.5947 5948 # This program is distributed in the hope that it will be useful,5949 # but WITHOUT ANY WARRANTY; without even the implied warranty of5950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the5951 # GNU General Public License for more details.5952 5953 # You should have received a copy of the GNU General Public License5954 # along with this program; if not, write to the Free Software5955 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA5956 5957 # AM_AUTOMAKE_VERSION(VERSION)5958 # ----------------------------5959 # Automake X.Y traces this macro to ensure aclocal.m4 has been5960 # generated from the m4 files accompanying Automake X.Y.5961 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])5962 5963 # AM_SET_CURRENT_AUTOMAKE_VERSION5964 # -------------------------------5965 # Call AM_AUTOMAKE_VERSION so it can be traced.5966 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.5967 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],5968 [AM_AUTOMAKE_VERSION([1.8.3])])5969 5970 # AM_AUX_DIR_EXPAND5971 5972 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.5973 5974 # This program is free software; you can redistribute it and/or modify5975 # it under the terms of the GNU General Public License as published by5976 # the Free Software Foundation; either version 2, or (at your option)5977 # any later version.5978 5979 # This program is distributed in the hope that it will be useful,5980 # but WITHOUT ANY WARRANTY; without even the implied warranty of5981 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the5982 # GNU General Public License for more details.5983 5984 # You should have received a copy of the GNU General Public License5985 # along with this program; if not, write to the Free Software5986 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA5987 # 02111-1307, USA.5988 5989 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets5990 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to5991 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.5992 #5993 # Of course, Automake must honor this variable whenever it calls a5994 # tool from the auxiliary directory. The problem is that $srcdir (and5995 # therefore $ac_aux_dir as well) can be either absolute or relative,5996 # depending on how configure is run. This is pretty annoying, since5997 # it makes $ac_aux_dir quite unusable in subdirectories: in the top5998 # source directory, any form will work fine, but in subdirectories a5999 # relative path needs to be adjusted first.6000 #6001 # $ac_aux_dir/missing6002 # fails when called from a subdirectory if $ac_aux_dir is relative6003 # $top_srcdir/$ac_aux_dir/missing6004 # fails if $ac_aux_dir is absolute,6005 # fails when called from a subdirectory in a VPATH build with6006 # a relative $ac_aux_dir6007 #6008 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir6009 # are both prefixed by $srcdir. In an in-source build this is usually6010 # harmless because $srcdir is `.', but things will broke when you6011 # start a VPATH build or use an absolute $srcdir.6012 #6013 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,6014 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:6015 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`6016 # and then we would define $MISSING as6017 # MISSING="\${SHELL} $am_aux_dir/missing"6018 # This will work as long as MISSING is not called from configure, because6019 # unfortunately $(top_srcdir) has no meaning in configure.6020 # However there are other variables, like CC, which are often used in6021 # configure, and could therefore not use this "fixed" $ac_aux_dir.6022 #6023 # Another solution, used here, is to always expand $ac_aux_dir to an6024 # absolute PATH. The drawback is that using absolute paths prevent a6025 # configured tree to be moved without reconfiguration.6026 6027 AC_DEFUN([AM_AUX_DIR_EXPAND],6028 [dnl Rely on autoconf to set up CDPATH properly.6029 AC_PREREQ([2.50])dnl6030 # expand $ac_aux_dir to an absolute path6031 am_aux_dir=`cd $ac_aux_dir && pwd`6032 ])6033 6034 # AM_CONDITIONAL -*- Autoconf -*-6035 6036 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6037 6038 # This program is free software; you can redistribute it and/or modify6039 # it under the terms of the GNU General Public License as published by6040 # the Free Software Foundation; either version 2, or (at your option)6041 # any later version.6042 6043 # This program is distributed in the hope that it will be useful,6044 # but WITHOUT ANY WARRANTY; without even the implied warranty of6045 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6046 # GNU General Public License for more details.6047 6048 # You should have received a copy of the GNU General Public License6049 # along with this program; if not, write to the Free Software6050 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6051 # 02111-1307, USA.6052 6053 # serial 66054 6055 # AM_CONDITIONAL(NAME, SHELL-CONDITION)6056 # -------------------------------------6057 # Define a conditional.6058 AC_DEFUN([AM_CONDITIONAL],6059 [AC_PREREQ(2.52)dnl6060 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],6061 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl6062 AC_SUBST([$1_TRUE])6063 AC_SUBST([$1_FALSE])6064 if $2; then6065 $1_TRUE=6066 $1_FALSE='#'6067 else6068 $1_TRUE='#'6069 $1_FALSE=6070 fi6071 AC_CONFIG_COMMANDS_PRE(6072 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then6073 AC_MSG_ERROR([conditional "$1" was never defined.6074 Usually this means the macro was only invoked conditionally.])6075 fi])])6076 6077 # serial 7 -*- Autoconf -*-6078 6079 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 20046080 # Free Software Foundation, Inc.6081 6082 # This program is free software; you can redistribute it and/or modify6083 # it under the terms of the GNU General Public License as published by6084 # the Free Software Foundation; either version 2, or (at your option)6085 # any later version.6086 6087 # This program is distributed in the hope that it will be useful,6088 # but WITHOUT ANY WARRANTY; without even the implied warranty of6089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6090 # GNU General Public License for more details.6091 6092 # You should have received a copy of the GNU General Public License6093 # along with this program; if not, write to the Free Software6094 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6095 # 02111-1307, USA.6096 6097 6098 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be6099 # written in clear, in which case automake, when reading aclocal.m4,6100 # will think it sees a *use*, and therefore will trigger all it's6101 # C support machinery. Also note that it means that autoscan, seeing6102 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...6103 6104 6105 6106 # _AM_DEPENDENCIES(NAME)6107 # ----------------------6108 # See how the compiler implements dependency checking.6109 # NAME is "CC", "CXX", "GCJ", or "OBJC".6110 # We try a few techniques and use that to set a single cache variable.6111 #6112 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was6113 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular6114 # dependency, and given that the user is not expected to run this macro,6115 # just rely on AC_PROG_CC.6116 AC_DEFUN([_AM_DEPENDENCIES],6117 [AC_REQUIRE([AM_SET_DEPDIR])dnl6118 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl6119 AC_REQUIRE([AM_MAKE_INCLUDE])dnl6120 AC_REQUIRE([AM_DEP_TRACK])dnl6121 6122 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],6123 [$1], CXX, [depcc="$CXX" am_compiler_list=],6124 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],6125 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],6126 [depcc="$$1" am_compiler_list=])6127 6128 AC_CACHE_CHECK([dependency style of $depcc],6129 [am_cv_$1_dependencies_compiler_type],6130 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then6131 # We make a subdir and do the tests there. Otherwise we can end up6132 # making bogus files that we don't know about and never remove. For6133 # instance it was reported that on HP-UX the gcc test will end up6134 # making a dummy file named `D' -- because `-MD' means `put the output6135 # in D'.6136 mkdir conftest.dir6137 # Copy depcomp to subdir because otherwise we won't find it if we're6138 # using a relative directory.6139 cp "$am_depcomp" conftest.dir6140 cd conftest.dir6141 # We will build objects and dependencies in a subdirectory because6142 # it helps to detect inapplicable dependency modes. For instance6143 # both Tru64's cc and ICC support -MD to output dependencies as a6144 # side effect of compilation, but ICC will put the dependencies in6145 # the current directory while Tru64 will put them in the object6146 # directory.6147 mkdir sub6148 6149 am_cv_$1_dependencies_compiler_type=none6150 if test "$am_compiler_list" = ""; then6151 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`6152 fi6153 for depmode in $am_compiler_list; do6154 # Setup a source with many dependencies, because some compilers6155 # like to wrap large dependency lists on column 80 (with \), and6156 # we should not choose a depcomp mode which is confused by this.6157 #6158 # We need to recreate these files for each test, as the compiler may6159 # overwrite some of them when testing with obscure command lines.6160 # This happens at least with the AIX C compiler.6161 : > sub/conftest.c6162 for i in 1 2 3 4 5 6; do6163 echo '#include "conftst'$i'.h"' >> sub/conftest.c6164 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with6165 # Solaris 8's {/usr,}/bin/sh.6166 touch sub/conftst$i.h6167 done6168 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf6169 6170 case $depmode in6171 nosideeffect)6172 # after this tag, mechanisms are not by side-effect, so they'll6173 # only be used when explicitly requested6174 if test "x$enable_dependency_tracking" = xyes; then6175 continue6176 else6177 break6178 fi6179 ;;6180 none) break ;;6181 esac6182 # We check with `-c' and `-o' for the sake of the "dashmstdout"6183 # mode. It turns out that the SunPro C++ compiler does not properly6184 # handle `-M -o', and we need to detect this.6185 if depmode=$depmode \6186 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \6187 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \6188 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \6189 >/dev/null 2>conftest.err &&6190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&6191 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&6192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then6193 # icc doesn't choke on unknown options, it will just issue warnings6194 # (even with -Werror). So we grep stderr for any message6195 # that says an option was ignored.6196 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else6197 am_cv_$1_dependencies_compiler_type=$depmode6198 break6199 fi6200 fi6201 done6202 6203 cd ..6204 rm -rf conftest.dir6205 else6206 am_cv_$1_dependencies_compiler_type=none6207 fi6208 ])6209 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])6210 AM_CONDITIONAL([am__fastdep$1], [6211 test "x$enable_dependency_tracking" != xno \6212 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])6213 ])6214 6215 6216 # AM_SET_DEPDIR6217 # -------------6218 # Choose a directory name for dependency files.6219 # This macro is AC_REQUIREd in _AM_DEPENDENCIES6220 AC_DEFUN([AM_SET_DEPDIR],6221 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl6222 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl6223 ])6224 6225 6226 # AM_DEP_TRACK6227 # ------------6228 AC_DEFUN([AM_DEP_TRACK],6229 [AC_ARG_ENABLE(dependency-tracking,6230 [ --disable-dependency-tracking speeds up one-time build6231 --enable-dependency-tracking do not reject slow dependency extractors])6232 if test "x$enable_dependency_tracking" != xno; then6233 am_depcomp="$ac_aux_dir/depcomp"6234 AMDEPBACKSLASH='\'6235 fi6236 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])6237 AC_SUBST([AMDEPBACKSLASH])6238 ])6239 6240 # Generate code to set up dependency tracking. -*- Autoconf -*-6241 6242 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.6243 6244 # This program is free software; you can redistribute it and/or modify6245 # it under the terms of the GNU General Public License as published by6246 # the Free Software Foundation; either version 2, or (at your option)6247 # any later version.6248 6249 # This program is distributed in the hope that it will be useful,6250 # but WITHOUT ANY WARRANTY; without even the implied warranty of6251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6252 # GNU General Public License for more details.6253 6254 # You should have received a copy of the GNU General Public License6255 # along with this program; if not, write to the Free Software6256 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6257 # 02111-1307, USA.6258 6259 #serial 26260 6261 # _AM_OUTPUT_DEPENDENCY_COMMANDS6262 # ------------------------------6263 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],6264 [for mf in $CONFIG_FILES; do6265 # Strip MF so we end up with the name of the file.6266 mf=`echo "$mf" | sed -e 's/:.*$//'`6267 # Check whether this is an Automake generated Makefile or not.6268 # We used to match only the files named `Makefile.in', but6269 # some people rename them; so instead we look at the file content.6270 # Grep'ing the first line is not enough: some people post-process6271 # each Makefile.in and add a new line on top of each file to say so.6272 # So let's grep whole file.6273 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then6274 dirpart=`AS_DIRNAME("$mf")`6275 else6276 continue6277 fi6278 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue6279 # Extract the definition of DEP_FILES from the Makefile without6280 # running `make'.6281 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`6282 test -z "$DEPDIR" && continue6283 # When using ansi2knr, U may be empty or an underscore; expand it6284 U=`sed -n 's/^U = //p' < "$mf"`6285 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"6286 # We invoke sed twice because it is the simplest approach to6287 # changing $(DEPDIR) to its actual value in the expansion.6288 for file in `sed -n '6289 /^DEP_FILES = .*\\\\$/ {6290 s/^DEP_FILES = //6291 :loop6292 s/\\\\$//6293 p6294 n6295 /\\\\$/ b loop6296 p6297 }6298 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \6299 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do6300 # Make sure the directory exists.6301 test -f "$dirpart/$file" && continue6302 fdir=`AS_DIRNAME(["$file"])`6303 AS_MKDIR_P([$dirpart/$fdir])6304 # echo "creating $dirpart/$file"6305 echo '# dummy' > "$dirpart/$file"6306 done6307 done6308 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS6309 6310 6311 # AM_OUTPUT_DEPENDENCY_COMMANDS6312 # -----------------------------6313 # This macro should only be invoked once -- use via AC_REQUIRE.6314 #6315 # This code is only required when automatic dependency tracking6316 # is enabled. FIXME. This creates each `.P' file that we will6317 # need in order to bootstrap the dependency handling code.6318 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],6319 [AC_CONFIG_COMMANDS([depfiles],6320 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],6321 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])6322 ])6323 6324 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-6325 6326 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6327 6328 # This program is free software; you can redistribute it and/or modify6329 # it under the terms of the GNU General Public License as published by6330 # the Free Software Foundation; either version 2, or (at your option)6331 # any later version.6332 6333 # This program is distributed in the hope that it will be useful,6334 # but WITHOUT ANY WARRANTY; without even the implied warranty of6335 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6336 # GNU General Public License for more details.6337 6338 # You should have received a copy of the GNU General Public License6339 # along with this program; if not, write to the Free Software6340 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6341 # 02111-1307, USA.6342 6343 # serial 76344 6345 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.6346 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])6347 6348 # Do all the work for Automake. -*- Autoconf -*-6349 6350 # This macro actually does too much some checks are only needed if6351 # your package does certain things. But this isn't really a big deal.6352 6353 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20036354 # Free Software Foundation, Inc.6355 6356 # This program is free software; you can redistribute it and/or modify6357 # it under the terms of the GNU General Public License as published by6358 # the Free Software Foundation; either version 2, or (at your option)6359 # any later version.6360 6361 # This program is distributed in the hope that it will be useful,6362 # but WITHOUT ANY WARRANTY; without even the implied warranty of6363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6364 # GNU General Public License for more details.6365 6366 # You should have received a copy of the GNU General Public License6367 # along with this program; if not, write to the Free Software6368 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6369 # 02111-1307, USA.6370 6371 # serial 116372 6373 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])6374 # AM_INIT_AUTOMAKE([OPTIONS])6375 # -----------------------------------------------6376 # The call with PACKAGE and VERSION arguments is the old style6377 # call (pre autoconf-2.50), which is being phased out. PACKAGE6378 # and VERSION should now be passed to AC_INIT and removed from6379 # the call to AM_INIT_AUTOMAKE.6380 # We support both call styles for the transition. After6381 # the next Automake release, Autoconf can make the AC_INIT6382 # arguments mandatory, and then we can depend on a new Autoconf6383 # release and drop the old call support.6384 AC_DEFUN([AM_INIT_AUTOMAKE],6385 [AC_PREREQ([2.58])dnl6386 dnl Autoconf wants to disallow AM_ names. We explicitly allow6387 dnl the ones we care about.6388 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl6389 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl6390 AC_REQUIRE([AC_PROG_INSTALL])dnl6391 # test to see if srcdir already configured6392 if test "`cd $srcdir && pwd`" != "`pwd`" &&6393 test -f $srcdir/config.status; then6394 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])6395 fi6396 6397 # test whether we have cygpath6398 if test -z "$CYGPATH_W"; then6399 if (cygpath --version) >/dev/null 2>/dev/null; then6400 CYGPATH_W='cygpath -w'6401 else6402 CYGPATH_W=echo6403 fi6404 fi6405 AC_SUBST([CYGPATH_W])6406 6407 # Define the identity of the package.6408 dnl Distinguish between old-style and new-style calls.6409 m4_ifval([$2],6410 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl6411 AC_SUBST([PACKAGE], [$1])dnl6412 AC_SUBST([VERSION], [$2])],6413 [_AM_SET_OPTIONS([$1])dnl6414 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl6415 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl6416 6417 _AM_IF_OPTION([no-define],,6418 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])6419 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl6420 6421 # Some tools Automake needs.6422 AC_REQUIRE([AM_SANITY_CHECK])dnl6423 AC_REQUIRE([AC_ARG_PROGRAM])dnl6424 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})6425 AM_MISSING_PROG(AUTOCONF, autoconf)6426 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})6427 AM_MISSING_PROG(AUTOHEADER, autoheader)6428 AM_MISSING_PROG(MAKEINFO, makeinfo)6429 AM_MISSING_PROG(AMTAR, tar)6430 AM_PROG_INSTALL_SH6431 AM_PROG_INSTALL_STRIP6432 AC_REQUIRE([AM_PROG_MKDIR_P])dnl6433 # We need awk for the "check" target. The system "awk" is bad on6434 # some platforms.6435 AC_REQUIRE([AC_PROG_AWK])dnl6436 AC_REQUIRE([AC_PROG_MAKE_SET])dnl6437 AC_REQUIRE([AM_SET_LEADING_DOT])dnl6438 6439 _AM_IF_OPTION([no-dependencies],,6440 [AC_PROVIDE_IFELSE([AC_PROG_CC],6441 [_AM_DEPENDENCIES(CC)],6442 [define([AC_PROG_CC],6443 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl6444 AC_PROVIDE_IFELSE([AC_PROG_CXX],6445 [_AM_DEPENDENCIES(CXX)],6446 [define([AC_PROG_CXX],6447 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl6448 ])6449 ])6450 6451 6452 # When config.status generates a header, we must update the stamp-h file.6453 # This file resides in the same directory as the config header6454 # that is generated. The stamp files are numbered to have different names.6455 6456 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the6457 # loop where config.status creates the headers, so we can generate6458 # our stamp files there.6459 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],6460 [# Compute $1's index in $config_headers.6461 _am_stamp_count=16462 for _am_header in $config_headers :; do6463 case $_am_header in6464 $1 | $1:* )6465 break ;;6466 * )6467 _am_stamp_count=`expr $_am_stamp_count + 1` ;;6468 esac6469 done6470 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])6471 6472 # AM_PROG_INSTALL_SH6473 # ------------------6474 # Define $install_sh.6475 6476 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.6477 6478 # This program is free software; you can redistribute it and/or modify6479 # it under the terms of the GNU General Public License as published by6480 # the Free Software Foundation; either version 2, or (at your option)6481 # any later version.6482 6483 # This program is distributed in the hope that it will be useful,6484 # but WITHOUT ANY WARRANTY; without even the implied warranty of6485 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6486 # GNU General Public License for more details.6487 6488 # You should have received a copy of the GNU General Public License6489 # along with this program; if not, write to the Free Software6490 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6491 # 02111-1307, USA.6492 6493 AC_DEFUN([AM_PROG_INSTALL_SH],6494 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl6495 install_sh=${install_sh-"$am_aux_dir/install-sh"}6496 AC_SUBST(install_sh)])6497 6498 # -*- Autoconf -*-6499 # Copyright (C) 2003 Free Software Foundation, Inc.6500 6501 # This program is free software; you can redistribute it and/or modify6502 # it under the terms of the GNU General Public License as published by6503 # the Free Software Foundation; either version 2, or (at your option)6504 # any later version.6505 6506 # This program is distributed in the hope that it will be useful,6507 # but WITHOUT ANY WARRANTY; without even the implied warranty of6508 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6509 # GNU General Public License for more details.6510 6511 # You should have received a copy of the GNU General Public License6512 # along with this program; if not, write to the Free Software6513 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6514 # 02111-1307, USA.6515 6516 # serial 16517 6518 # Check whether the underlying file-system supports filenames6519 # with a leading dot. For instance MS-DOS doesn't.6520 AC_DEFUN([AM_SET_LEADING_DOT],6521 [rm -rf .tst 2>/dev/null6522 mkdir .tst 2>/dev/null6523 if test -d .tst; then6524 am__leading_dot=.6525 else6526 am__leading_dot=_6527 fi6528 rmdir .tst 2>/dev/null6529 AC_SUBST([am__leading_dot])])6530 6531 # Check to see how 'make' treats includes. -*- Autoconf -*-6532 6533 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.6534 6535 # This program is free software; you can redistribute it and/or modify6536 # it under the terms of the GNU General Public License as published by6537 # the Free Software Foundation; either version 2, or (at your option)6538 # any later version.6539 6540 # This program is distributed in the hope that it will be useful,6541 # but WITHOUT ANY WARRANTY; without even the implied warranty of6542 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6543 # GNU General Public License for more details.6544 6545 # You should have received a copy of the GNU General Public License6546 # along with this program; if not, write to the Free Software6547 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6548 # 02111-1307, USA.6549 6550 # serial 26551 6552 # AM_MAKE_INCLUDE()6553 # -----------------6554 # Check to see how make treats includes.6555 AC_DEFUN([AM_MAKE_INCLUDE],6556 [am_make=${MAKE-make}6557 cat > confinc << 'END'6558 am__doit:6559 @echo done6560 .PHONY: am__doit6561 END6562 # If we don't find an include directive, just comment out the code.6563 AC_MSG_CHECKING([for style of include used by $am_make])6564 am__include="#"6565 am__quote=6566 _am_result=none6567 # First try GNU make style include.6568 echo "include confinc" > confmf6569 # We grep out `Entering directory' and `Leaving directory'6570 # messages which can occur if `w' ends up in MAKEFLAGS.6571 # In particular we don't look at `^make:' because GNU make might6572 # be invoked under some other name (usually "gmake"), in which6573 # case it prints its new name instead of `make'.6574 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then6575 am__include=include6576 am__quote=6577 _am_result=GNU6578 fi6579 # Now try BSD make style include.6580 if test "$am__include" = "#"; then6581 echo '.include "confinc"' > confmf6582 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then6583 am__include=.include6584 am__quote="\""6585 _am_result=BSD6586 fi6587 fi6588 AC_SUBST([am__include])6589 AC_SUBST([am__quote])6590 AC_MSG_RESULT([$_am_result])6591 rm -f confinc confmf6592 ])6593 6594 # -*- Autoconf -*-6595 6596 6597 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.6598 6599 # This program is free software; you can redistribute it and/or modify6600 # it under the terms of the GNU General Public License as published by6601 # the Free Software Foundation; either version 2, or (at your option)6602 # any later version.6603 6604 # This program is distributed in the hope that it will be useful,6605 # but WITHOUT ANY WARRANTY; without even the implied warranty of6606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6607 # GNU General Public License for more details.6608 6609 # You should have received a copy of the GNU General Public License6610 # along with this program; if not, write to the Free Software6611 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6612 # 02111-1307, USA.6613 6614 # serial 36615 6616 # AM_MISSING_PROG(NAME, PROGRAM)6617 # ------------------------------6618 AC_DEFUN([AM_MISSING_PROG],6619 [AC_REQUIRE([AM_MISSING_HAS_RUN])6620 $1=${$1-"${am_missing_run}$2"}6621 AC_SUBST($1)])6622 6623 6624 # AM_MISSING_HAS_RUN6625 # ------------------6626 # Define MISSING if not defined so far and test if it supports --run.6627 # If it does, set am_missing_run to use it, otherwise, to nothing.6628 AC_DEFUN([AM_MISSING_HAS_RUN],6629 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl6630 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"6631 # Use eval to expand $SHELL6632 if eval "$MISSING --run true"; then6633 am_missing_run="$MISSING --run "6634 else6635 am_missing_run=6636 AC_MSG_WARN([`missing' script is too old or missing])6637 fi6638 ])6639 6640 # AM_PROG_MKDIR_P6641 # ---------------6642 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.6643 6644 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.6645 6646 # This program is free software; you can redistribute it and/or modify6647 # it under the terms of the GNU General Public License as published by6648 # the Free Software Foundation; either version 2, or (at your option)6649 # any later version.6650 6651 # This program is distributed in the hope that it will be useful,6652 # but WITHOUT ANY WARRANTY; without even the implied warranty of6653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6654 # GNU General Public License for more details.6655 6656 # You should have received a copy of the GNU General Public License6657 # along with this program; if not, write to the Free Software6658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6659 # 02111-1307, USA.6660 6661 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories6662 # created by `make install' are always world readable, even if the6663 # installer happens to have an overly restrictive umask (e.g. 077).6664 # This was a mistake. There are at least two reasons why we must not6665 # use `-m 0755':6666 # - it causes special bits like SGID to be ignored,6667 # - it may be too restrictive (some setups expect 775 directories).6668 #6669 # Do not use -m 0755 and let people choose whatever they expect by6670 # setting umask.6671 #6672 # We cannot accept any implementation of `mkdir' that recognizes `-p'.6673 # Some implementations (such as Solaris 8's) are not thread-safe: if a6674 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'6675 # concurrently, both version can detect that a/ is missing, but only6676 # one can create it and the other will error out. Consequently we6677 # restrict ourselves to GNU make (using the --version option ensures6678 # this.)6679 AC_DEFUN([AM_PROG_MKDIR_P],6680 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then6681 # Keeping the `.' argument allows $(mkdir_p) to be used without6682 # argument. Indeed, we sometimes output rules like6683 # $(mkdir_p) $(somedir)6684 # where $(somedir) is conditionally defined.6685 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more6686 # expensive solution, as it forces Make to start a sub-shell.)6687 mkdir_p='mkdir -p -- .'6688 else6689 # On NextStep and OpenStep, the `mkdir' command does not6690 # recognize any option. It will interpret all options as6691 # directories to create, and then abort because `.' already6692 # exists.6693 for d in ./-p ./--version;6694 do6695 test -d $d && rmdir $d6696 done6697 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.6698 if test -f "$ac_aux_dir/mkinstalldirs"; then6699 mkdir_p='$(mkinstalldirs)'6700 else6701 mkdir_p='$(install_sh) -d'6702 fi6703 fi6704 AC_SUBST([mkdir_p])])6705 6706 # Helper functions for option handling. -*- Autoconf -*-6707 6708 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.6709 6710 # This program is free software; you can redistribute it and/or modify6711 # it under the terms of the GNU General Public License as published by6712 # the Free Software Foundation; either version 2, or (at your option)6713 # any later version.6714 6715 # This program is distributed in the hope that it will be useful,6716 # but WITHOUT ANY WARRANTY; without even the implied warranty of6717 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6718 # GNU General Public License for more details.6719 6720 # You should have received a copy of the GNU General Public License6721 # along with this program; if not, write to the Free Software6722 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6723 # 02111-1307, USA.6724 6725 # serial 26726 6727 # _AM_MANGLE_OPTION(NAME)6728 # -----------------------6729 AC_DEFUN([_AM_MANGLE_OPTION],6730 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])6731 6732 # _AM_SET_OPTION(NAME)6733 # ------------------------------6734 # Set option NAME. Presently that only means defining a flag for this option.6735 AC_DEFUN([_AM_SET_OPTION],6736 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])6737 6738 # _AM_SET_OPTIONS(OPTIONS)6739 # ----------------------------------6740 # OPTIONS is a space-separated list of Automake options.6741 AC_DEFUN([_AM_SET_OPTIONS],6742 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])6743 6744 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])6745 # -------------------------------------------6746 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.6747 AC_DEFUN([_AM_IF_OPTION],6748 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])6749 6750 #6751 # Check to make sure that the build environment is sane.6752 #6753 6754 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.6755 6756 # This program is free software; you can redistribute it and/or modify6757 # it under the terms of the GNU General Public License as published by6758 # the Free Software Foundation; either version 2, or (at your option)6759 # any later version.6760 6761 # This program is distributed in the hope that it will be useful,6762 # but WITHOUT ANY WARRANTY; without even the implied warranty of6763 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6764 # GNU General Public License for more details.6765 6766 # You should have received a copy of the GNU General Public License6767 # along with this program; if not, write to the Free Software6768 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6769 # 02111-1307, USA.6770 6771 # serial 36772 6773 # AM_SANITY_CHECK6774 # ---------------6775 AC_DEFUN([AM_SANITY_CHECK],6776 [AC_MSG_CHECKING([whether build environment is sane])6777 # Just in case6778 sleep 16779 echo timestamp > conftest.file6780 # Do `set' in a subshell so we don't clobber the current shell's6781 # arguments. Must try -L first in case configure is actually a6782 # symlink; some systems play weird games with the mod time of symlinks6783 # (eg FreeBSD returns the mod time of the symlink's containing6784 # directory).6785 if (6786 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`6787 if test "$[*]" = "X"; then6788 # -L didn't work.6789 set X `ls -t $srcdir/configure conftest.file`6790 fi6791 rm -f conftest.file6792 if test "$[*]" != "X $srcdir/configure conftest.file" \6793 && test "$[*]" != "X conftest.file $srcdir/configure"; then6794 6795 # If neither matched, then we have a broken ls. This can happen6796 # if, for instance, CONFIG_SHELL is bash and it inherits a6797 # broken ls alias from the environment. This has actually6798 # happened. Such a system could not be considered "sane".6799 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken6800 alias in your environment])6801 fi6802 6803 test "$[2]" = conftest.file6804 )6805 then6806 # Ok.6807 :6808 else6809 AC_MSG_ERROR([newly created file is older than distributed files!6810 Check your system clock])6811 fi6812 AC_MSG_RESULT(yes)])6813 6814 # AM_PROG_INSTALL_STRIP6815 6816 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.6817 6818 # This program is free software; you can redistribute it and/or modify6819 # it under the terms of the GNU General Public License as published by6820 # the Free Software Foundation; either version 2, or (at your option)6821 # any later version.6822 6823 # This program is distributed in the hope that it will be useful,6824 # but WITHOUT ANY WARRANTY; without even the implied warranty of6825 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the6826 # GNU General Public License for more details.6827 6828 # You should have received a copy of the GNU General Public License6829 # along with this program; if not, write to the Free Software6830 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA6831 # 02111-1307, USA.6832 6833 # One issue with vendor `install' (even GNU) is that you can't6834 # specify the program used to strip binaries. This is especially6835 # annoying in cross-compiling environments, where the build's strip6836 # is unlikely to handle the host's binaries.6837 # Fortunately install-sh will honor a STRIPPROG variable, so we6838 # always use install-sh in `make install-strip', and initialize6839 # STRIPPROG with the value of the STRIP variable (set by the user).6840 AC_DEFUN([AM_PROG_INSTALL_STRIP],6841 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl6842 # Installed binaries are usually stripped using `strip' when the user6843 # run `make install-strip'. However `strip' might not be the right6844 # tool to use in cross-compilation environments, therefore Automake6845 # will honor the `STRIP' environment variable to overrule this program.6846 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.6847 if test "$cross_compiling" != no; then6848 AC_CHECK_TOOL([STRIP], [strip], :)6849 fi6850 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"6851 AC_SUBST([INSTALL_STRIP_PROGRAM])])6852 -
trunk/psModules/configure
r1888 r1890 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 9.3 # Generated by GNU Autoconf 2.57. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6 # Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 20 21 set -o posix 21 22 fi 22 DUALCASE=1; export DUALCASE # for MKS sh23 23 24 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then25 if (FOO=FOO; unset FOO) >/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 - z"`(eval $as_var=C; export $as_var) 2>&1`"); then44 if (set +x; test -n "`(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 ./-p222 221 as_mkdir_p=false 223 222 fi … … 226 225 227 226 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp=" eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 229 228 230 229 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh=" eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 232 231 233 232 … … 392 391 393 392 394 tagnames= ${tagnames+${tagnames},}CXX395 396 tagnames= ${tagnames+${tagnames},}F77393 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` 394 395 tagnames=`echo "$tagnames,F77" | sed 's/^,//'` 397 396 398 397 # Name of the host. … … 464 463 #endif" 465 464 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_pAWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS' 467 466 ac_subst_files='' 468 467 … … 823 822 # Be sure to have absolute paths. 824 823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 825 localstatedir libdir includedir oldincludedir infodir mandir824 localstatedir libdir includedir oldincludedir infodir mandir 826 825 do 827 826 eval ac_val=$`echo $ac_var` … … 863 862 ac_confdir=`(dirname "$0") 2>/dev/null || 864 863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 865 X"$0" : 'X\(//\)[^/]' \| \866 X"$0" : 'X\(//\)$' \| \867 X"$0" : 'X\(/\)' \| \868 . : '\(.\)' 2>/dev/null ||864 X"$0" : 'X\(//\)[^/]' \| \ 865 X"$0" : 'X\(//\)$' \| \ 866 X"$0" : 'X\(/\)' \| \ 867 . : '\(.\)' 2>/dev/null || 869 868 echo X"$0" | 870 869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 978 977 Installation directories: 979 978 --prefix=PREFIX install architecture-independent files in PREFIX 980 [$ac_default_prefix]979 [$ac_default_prefix] 981 980 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 982 [PREFIX]981 [PREFIX] 983 982 984 983 By default, \`make install' will install all the files in … … 1024 1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1025 1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1026 --disable-dependency-tracking speeds up one-time build1027 --enable-dependency-tracking do not reject slow dependency extractors1025 --disable-dependency-tracking Speeds up one-time builds 1026 --enable-dependency-tracking Do not reject slow dependency extractors 1028 1027 --enable-shared[=PKGS] 1029 1028 build shared libraries [default=yes] … … 1098 1097 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1099 1098 esac 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 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` 1139 1105 1140 1106 cd $ac_dir … … 1147 1113 $SHELL $ac_srcdir/configure --help=recursive 1148 1114 elif test -f $ac_srcdir/configure.ac || 1149 test -f $ac_srcdir/configure.in; then1115 test -f $ac_srcdir/configure.in; then 1150 1116 echo 1151 1117 $ac_configure --help … … 1161 1127 cat <<\_ACEOF 1162 1128 1163 Copyright (C) 2003 Free Software Foundation, Inc. 1129 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 1130 Free Software Foundation, Inc. 1164 1131 This configure script is free software; the Free Software Foundation 1165 1132 gives unlimited permission to copy, distribute and modify it. … … 1173 1140 1174 1141 It was created by $as_me, which was 1175 generated by GNU Autoconf 2.5 9. Invocation command line was1142 generated by GNU Autoconf 2.57. Invocation command line was 1176 1143 1177 1144 $ $0 $@ … … 1250 1217 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1251 1218 if test $ac_must_keep_next = true; then 1252 ac_must_keep_next=false # Got value, back to normal.1219 ac_must_keep_next=false # Got value, back to normal. 1253 1220 else 1254 case $ac_arg in1255 *=* | --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 " in1260 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1261 esac1262 ;;1263 -* ) ac_must_keep_next=true ;;1264 esac1221 case $ac_arg in 1222 *=* | --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 " in 1227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1228 esac 1229 ;; 1230 -* ) ac_must_keep_next=true ;; 1231 esac 1265 1232 fi 1266 1233 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1296 1263 *ac_space=\ *) 1297 1264 sed -n \ 1298 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1300 1267 ;; 1301 1268 *) 1302 1269 sed -n \ 1303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1304 1271 ;; 1305 1272 esac; … … 1330 1297 do 1331 1298 eval ac_val=$`echo $ac_var` 1332 echo "$ac_var='"'"'$ac_val'"'"'"1299 echo "$ac_var='"'"'$ac_val'"'"'" 1333 1300 done | sort 1334 1301 echo … … 1349 1316 echo "$as_me: exit $exit_status" 1350 1317 } >&5 1351 rm -f core *.core &&1318 rm -f core core.* *.core && 1352 1319 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1353 1320 exit $exit_status … … 1429 1396 ac_cache_corrupted=false 1430 1397 for ac_var in `(set) 2>&1 | 1431 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1432 1399 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1433 1400 eval ac_new_set=\$ac_env_${ac_var}_set … … 1446 1413 *) 1447 1414 if test "x$ac_old_val" != "x$ac_new_val"; then 1448 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1449 1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1450 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1451 1418 echo "$as_me: former value: $ac_old_val" >&2;} 1452 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1453 1420 echo "$as_me: current value: $ac_new_val" >&2;} 1454 ac_cache_corrupted=:1421 ac_cache_corrupted=: 1455 1422 fi;; 1456 1423 esac … … 1503 1470 ac_config_headers="$ac_config_headers src/config.h" 1504 1471 1505 am__api_version="1. 8"1472 am__api_version="1.7" 1506 1473 ac_aux_dir= 1507 1474 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1540 1507 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1541 1508 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1542 # OS/2's system install, which has a completely different semantic1543 1509 # ./install, which can be erroneously created by make from ./install.sh. 1544 1510 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1557 1523 ./ | .// | /cC/* | \ 1558 1524 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1560 1525 /usr/ucb/* ) ;; 1561 1526 *) … … 1565 1530 for ac_prog in ginstall scoinst install; do 1566 1531 for ac_exec_ext in '' $ac_executable_extensions; do 1567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then1568 if test $ac_prog = install &&1569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1570 # 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; then1574 # program-specific install script used by HP pwplus--don't use.1575 :1576 else1577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"1578 break 31579 fi1580 fi1532 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1533 if test $ac_prog = install && 1534 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1535 # AIX install. It has an incompatible calling convention. 1536 : 1537 elif test $ac_prog = install && 1538 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1539 # program-specific install script used by HP pwplus--don't use. 1540 : 1541 else 1542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1543 break 3 1544 fi 1545 fi 1581 1546 done 1582 1547 done … … 1666 1631 rm conftest.sed 1667 1632 1633 1668 1634 # expand $ac_aux_dir to an absolute path 1669 1635 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1677 1643 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1678 1644 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1679 fi1680 1681 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1682 # Keeping the `.' argument allows $(mkdir_p) to be used without1683 # argument. Indeed, we sometimes output rules like1684 # $(mkdir_p) $(somedir)1685 # where $(somedir) is conditionally defined.1686 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more1687 # expensive solution, as it forces Make to start a sub-shell.)1688 mkdir_p='mkdir -p -- .'1689 else1690 # On NextStep and OpenStep, the `mkdir' command does not1691 # recognize any option. It will interpret all options as1692 # directories to create, and then abort because `.' already1693 # exists.1694 for d in ./-p ./--version;1695 do1696 test -d $d && rmdir $d1697 done1698 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.1699 if test -f "$ac_aux_dir/mkinstalldirs"; then1700 mkdir_p='$(mkinstalldirs)'1701 else1702 mkdir_p='$(install_sh) -d'1703 fi1704 1645 fi 1705 1646 … … 1746 1687 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1747 1688 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1748 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, :./+-,___p_,'`1689 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1749 1690 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1750 1691 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1782 1723 rmdir .tst 2>/dev/null 1783 1724 1784 # test to see if srcdir already configured1725 # test to see if srcdir already configured 1785 1726 if test "`cd $srcdir && pwd`" != "`pwd`" && 1786 1727 test -f $srcdir/config.status; then … … 2271 2212 2272 2213 cat >conftest.$ac_ext <<_ACEOF 2214 #line $LINENO "configure" 2273 2215 /* confdefs.h. */ 2274 2216 _ACEOF … … 2290 2232 # It will help us diagnose broken compilers, and finding out an intuition 2291 2233 # of exeext. 2292 echo "$as_me:$LINENO: checking for C compiler default output file name" >&52293 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&62234 echo "$as_me:$LINENO: checking for C compiler default output" >&5 2235 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2294 2236 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2295 2237 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 2311 2253 case $ac_file in 2312 2254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2313 ;;2255 ;; 2314 2256 conftest.$ac_ext ) 2315 # This is the source file.2316 ;;2257 # This is the source file. 2258 ;; 2317 2259 [ab].out ) 2318 # We found the default executable, but exeext='' is most2319 # certainly right.2320 break;;2260 # We found the default executable, but exeext='' is most 2261 # certainly right. 2262 break;; 2321 2263 *.* ) 2322 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2323 # FIXME: I believe we export ac_cv_exeext for Libtool,2324 # but it would be cool to find out if it's true. Does anybody2325 # maintain Libtool? --akim.2326 export ac_cv_exeext2327 break;;2264 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2265 # FIXME: I believe we export ac_cv_exeext for Libtool, 2266 # but it would be cool to find out if it's true. Does anybody 2267 # maintain Libtool? --akim. 2268 export ac_cv_exeext 2269 break;; 2328 2270 * ) 2329 break;;2271 break;; 2330 2272 esac 2331 2273 done … … 2401 2343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2402 2344 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2403 export ac_cv_exeext2404 break;;2345 export ac_cv_exeext 2346 break;; 2405 2347 * ) break;; 2406 2348 esac … … 2427 2369 else 2428 2370 cat >conftest.$ac_ext <<_ACEOF 2371 #line $LINENO "configure" 2429 2372 /* confdefs.h. */ 2430 2373 _ACEOF … … 2477 2420 else 2478 2421 cat >conftest.$ac_ext <<_ACEOF 2422 #line $LINENO "configure" 2479 2423 /* confdefs.h. */ 2480 2424 _ACEOF … … 2496 2440 rm -f conftest.$ac_objext 2497 2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2498 (eval $ac_compile) 2> conftest.er12442 (eval $ac_compile) 2>&5 2499 2443 ac_status=$? 2500 grep -v '^ *+' conftest.er1 >conftest.err2501 rm -f conftest.er12502 cat conftest.err >&52503 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 2445 (exit $ac_status); } && 2505 { ac_try='test -z "$ac_c_werror_flag" 2506 || test ! -s conftest.err' 2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2508 (eval $ac_try) 2>&5 2509 ac_status=$? 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); }; } && 2512 { ac_try='test -s conftest.$ac_objext' 2446 { ac_try='test -s conftest.$ac_objext' 2513 2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2514 2448 (eval $ac_try) 2>&5 … … 2523 2457 ac_compiler_gnu=no 2524 2458 fi 2525 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2459 rm -f conftest.$ac_objext conftest.$ac_ext 2526 2460 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2527 2461 … … 2539 2473 else 2540 2474 cat >conftest.$ac_ext <<_ACEOF 2475 #line $LINENO "configure" 2541 2476 /* confdefs.h. */ 2542 2477 _ACEOF … … 2555 2490 rm -f conftest.$ac_objext 2556 2491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2557 (eval $ac_compile) 2> conftest.er12492 (eval $ac_compile) 2>&5 2558 2493 ac_status=$? 2559 grep -v '^ *+' conftest.er1 >conftest.err2560 rm -f conftest.er12561 cat conftest.err >&52562 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2563 2495 (exit $ac_status); } && 2564 { ac_try='test -z "$ac_c_werror_flag" 2565 || test ! -s conftest.err' 2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2567 (eval $ac_try) 2>&5 2568 ac_status=$? 2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2570 (exit $ac_status); }; } && 2571 { ac_try='test -s conftest.$ac_objext' 2496 { ac_try='test -s conftest.$ac_objext' 2572 2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2573 2498 (eval $ac_try) 2>&5 … … 2582 2507 ac_cv_prog_cc_g=no 2583 2508 fi 2584 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2509 rm -f conftest.$ac_objext conftest.$ac_ext 2585 2510 fi 2586 2511 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2609 2534 ac_save_CC=$CC 2610 2535 cat >conftest.$ac_ext <<_ACEOF 2536 #line $LINENO "configure" 2611 2537 /* confdefs.h. */ 2612 2538 _ACEOF … … 2636 2562 return s; 2637 2563 } 2638 2639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2640 function prototypes and stuff, but not '\xHH' hex character constants.2641 These don't provoke an error unfortunately, instead are silently treated2642 as 'x'. The following induces an error, until -std1 is added to get2643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2644 array size at least. It's necessary to write '\x00'==0 to get something2645 that's true only with -std1. */2646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];2647 2648 2564 int test (int i, double x); 2649 2565 struct s1 {int (*f) (int a);}; … … 2672 2588 rm -f conftest.$ac_objext 2673 2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2674 (eval $ac_compile) 2> conftest.er12590 (eval $ac_compile) 2>&5 2675 2591 ac_status=$? 2676 grep -v '^ *+' conftest.er1 >conftest.err2677 rm -f conftest.er12678 cat conftest.err >&52679 2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 2593 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_c_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2594 { ac_try='test -s conftest.$ac_objext' 2689 2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2690 2596 (eval $ac_try) 2>&5 … … 2699 2605 2700 2606 fi 2701 rm -f conftest. err conftest.$ac_objext2607 rm -f conftest.$ac_objext 2702 2608 done 2703 2609 rm -f conftest.$ac_ext conftest.$ac_objext … … 2727 2633 rm -f conftest.$ac_objext 2728 2634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2729 (eval $ac_compile) 2> conftest.er12635 (eval $ac_compile) 2>&5 2730 2636 ac_status=$? 2731 grep -v '^ *+' conftest.er1 >conftest.err2732 rm -f conftest.er12733 cat conftest.err >&52734 2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 2638 (exit $ac_status); } && 2736 { ac_try='test -z "$ac_c_werror_flag" 2737 || test ! -s conftest.err' 2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2739 (eval $ac_try) 2>&5 2740 ac_status=$? 2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2742 (exit $ac_status); }; } && 2743 { ac_try='test -s conftest.$ac_objext' 2639 { ac_try='test -s conftest.$ac_objext' 2744 2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2745 2641 (eval $ac_try) 2>&5 … … 2748 2644 (exit $ac_status); }; }; then 2749 2645 for ac_declaration in \ 2750 '' \ 2646 ''\ 2647 '#include <stdlib.h>' \ 2751 2648 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2752 2649 'extern "C" void std::exit (int); using std::exit;' \ … … 2756 2653 do 2757 2654 cat >conftest.$ac_ext <<_ACEOF 2655 #line $LINENO "configure" 2758 2656 /* confdefs.h. */ 2759 2657 _ACEOF … … 2761 2659 cat >>conftest.$ac_ext <<_ACEOF 2762 2660 /* end confdefs.h. */ 2661 #include <stdlib.h> 2763 2662 $ac_declaration 2764 #include <stdlib.h>2765 2663 int 2766 2664 main () … … 2773 2671 rm -f conftest.$ac_objext 2774 2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2775 (eval $ac_compile) 2> conftest.er12673 (eval $ac_compile) 2>&5 2776 2674 ac_status=$? 2777 grep -v '^ *+' conftest.er1 >conftest.err2778 rm -f conftest.er12779 cat conftest.err >&52780 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2781 2676 (exit $ac_status); } && 2782 { ac_try='test -z "$ac_c_werror_flag" 2783 || test ! -s conftest.err' 2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2785 (eval $ac_try) 2>&5 2786 ac_status=$? 2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2788 (exit $ac_status); }; } && 2789 { ac_try='test -s conftest.$ac_objext' 2677 { ac_try='test -s conftest.$ac_objext' 2790 2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2791 2679 (eval $ac_try) 2>&5 … … 2800 2688 continue 2801 2689 fi 2802 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2690 rm -f conftest.$ac_objext conftest.$ac_ext 2803 2691 cat >conftest.$ac_ext <<_ACEOF 2692 #line $LINENO "configure" 2804 2693 /* confdefs.h. */ 2805 2694 _ACEOF … … 2818 2707 rm -f conftest.$ac_objext 2819 2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2820 (eval $ac_compile) 2> conftest.er12709 (eval $ac_compile) 2>&5 2821 2710 ac_status=$? 2822 grep -v '^ *+' conftest.er1 >conftest.err2823 rm -f conftest.er12824 cat conftest.err >&52825 2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2826 2712 (exit $ac_status); } && 2827 { ac_try='test -z "$ac_c_werror_flag" 2828 || test ! -s conftest.err' 2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2830 (eval $ac_try) 2>&5 2831 ac_status=$? 2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2833 (exit $ac_status); }; } && 2834 { ac_try='test -s conftest.$ac_objext' 2713 { ac_try='test -s conftest.$ac_objext' 2835 2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2836 2715 (eval $ac_try) 2>&5 … … 2844 2723 2845 2724 fi 2846 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2725 rm -f conftest.$ac_objext conftest.$ac_ext 2847 2726 done 2848 2727 rm -f conftest* … … 2858 2737 2859 2738 fi 2860 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2739 rm -f conftest.$ac_objext conftest.$ac_ext 2861 2740 ac_ext=c 2862 2741 ac_cpp='$CPP $CPPFLAGS' … … 2971 2850 for i in 1 2 3 4 5 6; do 2972 2851 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2974 # Solaris 8's {/usr,}/bin/sh. 2975 touch sub/conftst$i.h 2852 : > sub/conftst$i.h 2976 2853 done 2977 2854 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3050 2927 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3051 2928 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3052 # OS/2's system install, which has a completely different semantic3053 2929 # ./install, which can be erroneously created by make from ./install.sh. 3054 2930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 3067 2943 ./ | .// | /cC/* | \ 3068 2944 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3069 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3070 2945 /usr/ucb/* ) ;; 3071 2946 *) … … 3075 2950 for ac_prog in ginstall scoinst install; do 3076 2951 for ac_exec_ext in '' $ac_executable_extensions; do 3077 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3078 if test $ac_prog = install &&3079 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3080 # AIX install. It has an incompatible calling convention.3081 :3082 elif test $ac_prog = install &&3083 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3084 # program-specific install script used by HP pwplus--don't use.3085 :3086 else3087 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"3088 break 33089 fi3090 fi2952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2953 if test $ac_prog = install && 2954 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2955 # AIX install. It has an incompatible calling convention. 2956 : 2957 elif test $ac_prog = install && 2958 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2959 # program-specific install script used by HP pwplus--don't use. 2960 : 2961 else 2962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2963 break 3 2964 fi 2965 fi 3091 2966 done 3092 2967 done … … 3340 3215 [\\/]* | ?:[\\/]*) 3341 3216 re_direlt='/[^/][^/]*/\.\./' 3342 # Canonicalize the path nameof ld3217 # Canonicalize the path of ld 3343 3218 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 3344 3219 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 3530 3405 ;; 3531 3406 3532 cygwin* )3533 # func_win32_libid is a shell function defined in ltmain.sh3407 cygwin* | mingw* | pw32*) 3408 # win32_libid is a shell function defined in ltmain.sh 3534 3409 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 3535 lt_cv_file_magic_cmd=' func_win32_libid'3410 lt_cv_file_magic_cmd='win32_libid' 3536 3411 ;; 3537 3412 3538 mingw* | pw32*)3539 # Base MSYS/MinGW do not provide the 'file' command needed by3540 # func_win32_libid shell function, so use a weaker test based on 'objdump'.3541 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'3542 lt_cv_file_magic_cmd='$OBJDUMP -f'3543 ;;3544 3545 3413 darwin* | rhapsody*) 3414 # this will be overwritten by pass_all, but leave it in just in case 3415 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 3416 lt_cv_file_magic_cmd='/usr/bin/file -L' 3417 case "$host_os" in 3418 rhapsody* | darwin1.[012]) 3419 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` 3420 ;; 3421 *) # Darwin 1.3 on 3422 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 3423 ;; 3424 esac 3546 3425 lt_cv_deplibs_check_method=pass_all 3547 3426 ;; 3548 3427 3549 freebsd* | kfreebsd*-gnu)3428 freebsd*) 3550 3429 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3551 3430 case $host_cpu in … … 3586 3465 3587 3466 irix5* | irix6* | nonstopux*) 3588 case $LD in 3589 *-32|*"-32 ") libmagic=32-bit;; 3590 *-n32|*"-n32 ") libmagic=N32;; 3591 *-64|*"-64 ") libmagic=64-bit;; 3592 *) libmagic=never-match;; 3467 case $host_os in 3468 irix5* | nonstopux*) 3469 # this will be overridden with pass_all, but let us keep it just in case 3470 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 3471 ;; 3472 *) 3473 case $LD in 3474 *-32|*"-32 ") libmagic=32-bit;; 3475 *-n32|*"-n32 ") libmagic=N32;; 3476 *-64|*"-64 ") libmagic=64-bit;; 3477 *) libmagic=never-match;; 3478 esac 3479 # this will be overridden with pass_all, but let us keep it just in case 3480 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 3481 ;; 3593 3482 esac 3483 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 3594 3484 lt_cv_deplibs_check_method=pass_all 3595 3485 ;; … … 3598 3488 linux*) 3599 3489 case $host_cpu in 3600 alpha* |hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)3490 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*) 3601 3491 lt_cv_deplibs_check_method=pass_all ;; 3602 3492 *) 3603 3493 # glibc up to 2.1.1 does not perform some relocations on ARM 3604 # this will be overridden with pass_all, but let us keep it just in case3605 3494 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3606 3495 esac 3607 3496 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3608 lt_cv_deplibs_check_method=pass_all3609 3497 ;; 3610 3498 … … 3623 3511 ;; 3624 3512 3625 nto-qnx *)3513 nto-qnx) 3626 3514 lt_cv_deplibs_check_method=unknown 3627 3515 ;; … … 3638 3526 3639 3527 osf3* | osf4* | osf5*) 3528 # this will be overridden with pass_all, but let us keep it just in case 3529 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 3530 lt_cv_file_magic_test_file=/shlib/libc.so 3640 3531 lt_cv_deplibs_check_method=pass_all 3641 3532 ;; … … 3647 3538 solaris*) 3648 3539 lt_cv_deplibs_check_method=pass_all 3540 lt_cv_file_magic_test_file=/lib/libc.so 3649 3541 ;; 3650 3542 … … 3726 3618 *-*-irix6*) 3727 3619 # Find out which ABI we are using. 3728 echo '#line 3 728"configure"' > conftest.$ac_ext3620 echo '#line 3620 "configure"' > conftest.$ac_ext 3729 3621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3730 3622 (eval $ac_compile) 2>&5 … … 3775 3667 LD="${LD-ld} -m elf_i386" 3776 3668 ;; 3777 ppc64-*linux* |powerpc64-*linux*)3669 ppc64-*linux*) 3778 3670 LD="${LD-ld} -m elf32ppclinux" 3779 3671 ;; … … 3823 3715 3824 3716 cat >conftest.$ac_ext <<_ACEOF 3717 #line $LINENO "configure" 3825 3718 /* confdefs.h. */ 3826 3719 _ACEOF … … 3839 3732 rm -f conftest.$ac_objext conftest$ac_exeext 3840 3733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3841 (eval $ac_link) 2> conftest.er13734 (eval $ac_link) 2>&5 3842 3735 ac_status=$? 3843 grep -v '^ *+' conftest.er1 >conftest.err3844 rm -f conftest.er13845 cat conftest.err >&53846 3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3847 3737 (exit $ac_status); } && 3848 { ac_try='test -z "$ac_c_werror_flag" 3849 || test ! -s conftest.err' 3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3851 (eval $ac_try) 2>&5 3852 ac_status=$? 3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3854 (exit $ac_status); }; } && 3855 { ac_try='test -s conftest$ac_exeext' 3738 { ac_try='test -s conftest$ac_exeext' 3856 3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3857 3740 (eval $ac_try) 2>&5 … … 3866 3749 lt_cv_cc_needs_belf=no 3867 3750 fi 3868 rm -f conftest.err conftest.$ac_objext \ 3869 conftest$ac_exeext conftest.$ac_ext 3751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3870 3752 ac_ext=c 3871 3753 ac_cpp='$CPP $CPPFLAGS' … … 3916 3798 # not just through cpp. "Syntax error" is here to catch this case. 3917 3799 cat >conftest.$ac_ext <<_ACEOF 3800 #line $LINENO "configure" 3918 3801 /* confdefs.h. */ 3919 3802 _ACEOF … … 3926 3809 # include <assert.h> 3927 3810 #endif 3928 Syntax error3811 Syntax error 3929 3812 _ACEOF 3930 3813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3938 3821 if test -s conftest.err; then 3939 3822 ac_cpp_err=$ac_c_preproc_warn_flag 3940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3941 3823 else 3942 3824 ac_cpp_err= … … 3959 3841 # can be detected and how. 3960 3842 cat >conftest.$ac_ext <<_ACEOF 3843 #line $LINENO "configure" 3961 3844 /* confdefs.h. */ 3962 3845 _ACEOF … … 3976 3859 if test -s conftest.err; then 3977 3860 ac_cpp_err=$ac_c_preproc_warn_flag 3978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3979 3861 else 3980 3862 ac_cpp_err= … … 4023 3905 # not just through cpp. "Syntax error" is here to catch this case. 4024 3906 cat >conftest.$ac_ext <<_ACEOF 3907 #line $LINENO "configure" 4025 3908 /* confdefs.h. */ 4026 3909 _ACEOF … … 4033 3916 # include <assert.h> 4034 3917 #endif 4035 Syntax error3918 Syntax error 4036 3919 _ACEOF 4037 3920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 4045 3928 if test -s conftest.err; then 4046 3929 ac_cpp_err=$ac_c_preproc_warn_flag 4047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4048 3930 else 4049 3931 ac_cpp_err= … … 4066 3948 # can be detected and how. 4067 3949 cat >conftest.$ac_ext <<_ACEOF 3950 #line $LINENO "configure" 4068 3951 /* confdefs.h. */ 4069 3952 _ACEOF … … 4083 3966 if test -s conftest.err; then 4084 3967 ac_cpp_err=$ac_c_preproc_warn_flag 4085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4086 3968 else 4087 3969 ac_cpp_err= … … 4129 4011 else 4130 4012 cat >conftest.$ac_ext <<_ACEOF 4013 #line $LINENO "configure" 4131 4014 /* confdefs.h. */ 4132 4015 _ACEOF … … 4149 4032 rm -f conftest.$ac_objext 4150 4033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4151 (eval $ac_compile) 2> conftest.er14034 (eval $ac_compile) 2>&5 4152 4035 ac_status=$? 4153 grep -v '^ *+' conftest.er1 >conftest.err4154 rm -f conftest.er14155 cat conftest.err >&54156 4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4157 4037 (exit $ac_status); } && 4158 { ac_try='test -z "$ac_c_werror_flag" 4159 || test ! -s conftest.err' 4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4161 (eval $ac_try) 2>&5 4162 ac_status=$? 4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4164 (exit $ac_status); }; } && 4165 { ac_try='test -s conftest.$ac_objext' 4038 { ac_try='test -s conftest.$ac_objext' 4166 4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4167 4040 (eval $ac_try) 2>&5 … … 4176 4049 ac_cv_header_stdc=no 4177 4050 fi 4178 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4051 rm -f conftest.$ac_objext conftest.$ac_ext 4179 4052 4180 4053 if test $ac_cv_header_stdc = yes; then 4181 4054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4182 4055 cat >conftest.$ac_ext <<_ACEOF 4056 #line $LINENO "configure" 4183 4057 /* confdefs.h. */ 4184 4058 _ACEOF … … 4202 4076 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4203 4077 cat >conftest.$ac_ext <<_ACEOF 4078 #line $LINENO "configure" 4204 4079 /* confdefs.h. */ 4205 4080 _ACEOF … … 4226 4101 else 4227 4102 cat >conftest.$ac_ext <<_ACEOF 4103 #line $LINENO "configure" 4228 4104 /* confdefs.h. */ 4229 4105 _ACEOF … … 4237 4113 #else 4238 4114 # define ISLOWER(c) \ 4239 (('a' <= (c) && (c) <= 'i') \4240 || ('j' <= (c) && (c) <= 'r') \4241 || ('s' <= (c) && (c) <= 'z'))4115 (('a' <= (c) && (c) <= 'i') \ 4116 || ('j' <= (c) && (c) <= 'r') \ 4117 || ('s' <= (c) && (c) <= 'z')) 4242 4118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4243 4119 #endif … … 4250 4126 for (i = 0; i < 256; i++) 4251 4127 if (XOR (islower (i), ISLOWER (i)) 4252 || toupper (i) != TOUPPER (i))4128 || toupper (i) != TOUPPER (i)) 4253 4129 exit(2); 4254 4130 exit (0); … … 4275 4151 ac_cv_header_stdc=no 4276 4152 fi 4277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4153 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4278 4154 fi 4279 4155 fi … … 4300 4176 4301 4177 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4302 inttypes.h stdint.h unistd.h4178 inttypes.h stdint.h unistd.h 4303 4179 do 4304 4180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4309 4185 else 4310 4186 cat >conftest.$ac_ext <<_ACEOF 4187 #line $LINENO "configure" 4311 4188 /* confdefs.h. */ 4312 4189 _ACEOF … … 4320 4197 rm -f conftest.$ac_objext 4321 4198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4322 (eval $ac_compile) 2> conftest.er14199 (eval $ac_compile) 2>&5 4323 4200 ac_status=$? 4324 grep -v '^ *+' conftest.er1 >conftest.err4325 rm -f conftest.er14326 cat conftest.err >&54327 4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4328 4202 (exit $ac_status); } && 4329 { ac_try='test -z "$ac_c_werror_flag" 4330 || test ! -s conftest.err' 4331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4332 (eval $ac_try) 2>&5 4333 ac_status=$? 4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4335 (exit $ac_status); }; } && 4336 { ac_try='test -s conftest.$ac_objext' 4203 { ac_try='test -s conftest.$ac_objext' 4337 4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4338 4205 (eval $ac_try) 2>&5 … … 4347 4214 eval "$as_ac_Header=no" 4348 4215 fi 4349 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4216 rm -f conftest.$ac_objext conftest.$ac_ext 4350 4217 fi 4351 4218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4378 4245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4379 4246 cat >conftest.$ac_ext <<_ACEOF 4247 #line $LINENO "configure" 4380 4248 /* confdefs.h. */ 4381 4249 _ACEOF … … 4388 4256 rm -f conftest.$ac_objext 4389 4257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4390 (eval $ac_compile) 2> conftest.er14258 (eval $ac_compile) 2>&5 4391 4259 ac_status=$? 4392 grep -v '^ *+' conftest.er1 >conftest.err4393 rm -f conftest.er14394 cat conftest.err >&54395 4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 4261 (exit $ac_status); } && 4397 { ac_try='test -z "$ac_c_werror_flag" 4398 || test ! -s conftest.err' 4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4400 (eval $ac_try) 2>&5 4401 ac_status=$? 4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4403 (exit $ac_status); }; } && 4404 { ac_try='test -s conftest.$ac_objext' 4262 { ac_try='test -s conftest.$ac_objext' 4405 4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4406 4264 (eval $ac_try) 2>&5 … … 4415 4273 ac_header_compiler=no 4416 4274 fi 4417 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4275 rm -f conftest.$ac_objext conftest.$ac_ext 4418 4276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4419 4277 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4423 4281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4424 4282 cat >conftest.$ac_ext <<_ACEOF 4283 #line $LINENO "configure" 4425 4284 /* confdefs.h. */ 4426 4285 _ACEOF … … 4440 4299 if test -s conftest.err; then 4441 4300 ac_cpp_err=$ac_c_preproc_warn_flag 4442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4443 4301 else 4444 4302 ac_cpp_err= … … 4460 4318 4461 4319 # So? What about this header? 4462 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin4463 yes:no :)4320 case $ac_header_compiler:$ac_header_preproc in 4321 yes:no ) 4464 4322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4465 4323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4468 ac_header_preproc=yes 4324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4326 ( 4327 cat <<\_ASBOX 4328 ## ------------------------------------ ## 4329 ## Report this to bug-autoconf@gnu.org. ## 4330 ## ------------------------------------ ## 4331 _ASBOX 4332 ) | 4333 sed "s/^/$as_me: WARNING: /" >&2 4469 4334 ;; 4470 no:yes :*)4335 no:yes ) 4471 4336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4472 4337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4479 4340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4480 4341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4483 4342 ( 4484 4343 cat <<\_ASBOX 4485 ## ------------------------------------ ------##4486 ## Report this to the AC_PACKAGE_NAME lists.##4487 ## ------------------------------------ ------##4344 ## ------------------------------------ ## 4345 ## Report this to bug-autoconf@gnu.org. ## 4346 ## ------------------------------------ ## 4488 4347 _ASBOX 4489 4348 ) | … … 4496 4355 echo $ECHO_N "(cached) $ECHO_C" >&6 4497 4356 else 4498 eval "$as_ac_Header= \$ac_header_preproc"4357 eval "$as_ac_Header=$ac_header_preproc" 4499 4358 fi 4500 4359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4630 4489 else 4631 4490 cat >conftest.$ac_ext <<_ACEOF 4491 #line $LINENO "configure" 4632 4492 /* confdefs.h. */ 4633 4493 _ACEOF … … 4649 4509 rm -f conftest.$ac_objext 4650 4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4651 (eval $ac_compile) 2> conftest.er14511 (eval $ac_compile) 2>&5 4652 4512 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err4654 rm -f conftest.er14655 cat conftest.err >&54656 4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 4514 (exit $ac_status); } && 4658 { ac_try='test -z "$ac_cxx_werror_flag" 4659 || test ! -s conftest.err' 4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4661 (eval $ac_try) 2>&5 4662 ac_status=$? 4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4664 (exit $ac_status); }; } && 4665 { ac_try='test -s conftest.$ac_objext' 4515 { ac_try='test -s conftest.$ac_objext' 4666 4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4667 4517 (eval $ac_try) 2>&5 … … 4676 4526 ac_compiler_gnu=no 4677 4527 fi 4678 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4528 rm -f conftest.$ac_objext conftest.$ac_ext 4679 4529 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4680 4530 … … 4692 4542 else 4693 4543 cat >conftest.$ac_ext <<_ACEOF 4544 #line $LINENO "configure" 4694 4545 /* confdefs.h. */ 4695 4546 _ACEOF … … 4708 4559 rm -f conftest.$ac_objext 4709 4560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4710 (eval $ac_compile) 2> conftest.er14561 (eval $ac_compile) 2>&5 4711 4562 ac_status=$? 4712 grep -v '^ *+' conftest.er1 >conftest.err4713 rm -f conftest.er14714 cat conftest.err >&54715 4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 4564 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_cxx_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5 4721 ac_status=$? 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest.$ac_objext' 4565 { ac_try='test -s conftest.$ac_objext' 4725 4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4726 4567 (eval $ac_try) 2>&5 … … 4735 4576 ac_cv_prog_cxx_g=no 4736 4577 fi 4737 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4578 rm -f conftest.$ac_objext conftest.$ac_ext 4738 4579 fi 4739 4580 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 4755 4596 fi 4756 4597 for ac_declaration in \ 4757 '' \ 4598 ''\ 4599 '#include <stdlib.h>' \ 4758 4600 'extern "C" void std::exit (int) throw (); using std::exit;' \ 4759 4601 'extern "C" void std::exit (int); using std::exit;' \ … … 4763 4605 do 4764 4606 cat >conftest.$ac_ext <<_ACEOF 4607 #line $LINENO "configure" 4765 4608 /* confdefs.h. */ 4766 4609 _ACEOF … … 4768 4611 cat >>conftest.$ac_ext <<_ACEOF 4769 4612 /* end confdefs.h. */ 4613 #include <stdlib.h> 4770 4614 $ac_declaration 4771 #include <stdlib.h>4772 4615 int 4773 4616 main () … … 4780 4623 rm -f conftest.$ac_objext 4781 4624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4782 (eval $ac_compile) 2> conftest.er14625 (eval $ac_compile) 2>&5 4783 4626 ac_status=$? 4784 grep -v '^ *+' conftest.er1 >conftest.err4785 rm -f conftest.er14786 cat conftest.err >&54787 4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4788 4628 (exit $ac_status); } && 4789 { ac_try='test -z "$ac_cxx_werror_flag" 4790 || test ! -s conftest.err' 4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4792 (eval $ac_try) 2>&5 4793 ac_status=$? 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4795 (exit $ac_status); }; } && 4796 { ac_try='test -s conftest.$ac_objext' 4629 { ac_try='test -s conftest.$ac_objext' 4797 4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4798 4631 (eval $ac_try) 2>&5 … … 4807 4640 continue 4808 4641 fi 4809 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4642 rm -f conftest.$ac_objext conftest.$ac_ext 4810 4643 cat >conftest.$ac_ext <<_ACEOF 4644 #line $LINENO "configure" 4811 4645 /* confdefs.h. */ 4812 4646 _ACEOF … … 4825 4659 rm -f conftest.$ac_objext 4826 4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4827 (eval $ac_compile) 2> conftest.er14661 (eval $ac_compile) 2>&5 4828 4662 ac_status=$? 4829 grep -v '^ *+' conftest.er1 >conftest.err4830 rm -f conftest.er14831 cat conftest.err >&54832 4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4833 4664 (exit $ac_status); } && 4834 { ac_try='test -z "$ac_cxx_werror_flag" 4835 || test ! -s conftest.err' 4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4837 (eval $ac_try) 2>&5 4838 ac_status=$? 4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4840 (exit $ac_status); }; } && 4841 { ac_try='test -s conftest.$ac_objext' 4665 { ac_try='test -s conftest.$ac_objext' 4842 4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4843 4667 (eval $ac_try) 2>&5 … … 4851 4675 4852 4676 fi 4853 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4677 rm -f conftest.$ac_objext conftest.$ac_ext 4854 4678 done 4855 4679 rm -f conftest* … … 4907 4731 for i in 1 2 3 4 5 6; do 4908 4732 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4909 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4910 # Solaris 8's {/usr,}/bin/sh. 4911 touch sub/conftst$i.h 4733 : > sub/conftst$i.h 4912 4734 done 4913 4735 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 4994 4816 # not just through cpp. "Syntax error" is here to catch this case. 4995 4817 cat >conftest.$ac_ext <<_ACEOF 4818 #line $LINENO "configure" 4996 4819 /* confdefs.h. */ 4997 4820 _ACEOF … … 5004 4827 # include <assert.h> 5005 4828 #endif 5006 Syntax error4829 Syntax error 5007 4830 _ACEOF 5008 4831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 5016 4839 if test -s conftest.err; then 5017 4840 ac_cpp_err=$ac_cxx_preproc_warn_flag 5018 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag5019 4841 else 5020 4842 ac_cpp_err= … … 5037 4859 # can be detected and how. 5038 4860 cat >conftest.$ac_ext <<_ACEOF 4861 #line $LINENO "configure" 5039 4862 /* confdefs.h. */ 5040 4863 _ACEOF … … 5054 4877 if test -s conftest.err; then 5055 4878 ac_cpp_err=$ac_cxx_preproc_warn_flag 5056 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag5057 4879 else 5058 4880 ac_cpp_err= … … 5101 4923 # not just through cpp. "Syntax error" is here to catch this case. 5102 4924 cat >conftest.$ac_ext <<_ACEOF 4925 #line $LINENO "configure" 5103 4926 /* confdefs.h. */ 5104 4927 _ACEOF … … 5111 4934 # include <assert.h> 5112 4935 #endif 5113 Syntax error4936 Syntax error 5114 4937 _ACEOF 5115 4938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 5123 4946 if test -s conftest.err; then 5124 4947 ac_cpp_err=$ac_cxx_preproc_warn_flag 5125 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag5126 4948 else 5127 4949 ac_cpp_err= … … 5144 4966 # can be detected and how. 5145 4967 cat >conftest.$ac_ext <<_ACEOF 4968 #line $LINENO "configure" 5146 4969 /* confdefs.h. */ 5147 4970 _ACEOF … … 5161 4984 if test -s conftest.err; then 5162 4985 ac_cpp_err=$ac_cxx_preproc_warn_flag 5163 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag5164 4986 else 5165 4987 ac_cpp_err= … … 5206 5028 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 5207 5029 if test -n "$ac_tool_prefix"; then 5208 for ac_prog in g77 f77 xlf frt pgf77 f ort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran5030 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 5209 5031 do 5210 5032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. … … 5248 5070 if test -z "$F77"; then 5249 5071 ac_ct_F77=$F77 5250 for ac_prog in g77 f77 xlf frt pgf77 f ort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran5072 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 5251 5073 do 5252 5074 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 5293 5115 5294 5116 # Provide some information about the compiler. 5295 echo "$as_me:5 295:" \5117 echo "$as_me:5117:" \ 5296 5118 "checking for Fortran 77 compiler version" >&5 5297 5119 ac_compiler=`set X $ac_compile; echo $2` … … 5311 5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5312 5134 (exit $ac_status); } 5313 rm -f a.out5314 5135 5315 5136 # If we don't use `.F' as extension, the preprocessor is not run on the 5316 # input file. (Note that this only needs to work for GNU compilers.)5137 # input file. 5317 5138 ac_save_ext=$ac_ext 5318 5139 ac_ext=F … … 5332 5153 rm -f conftest.$ac_objext 5333 5154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5334 (eval $ac_compile) 2> conftest.er15155 (eval $ac_compile) 2>&5 5335 5156 ac_status=$? 5336 grep -v '^ *+' conftest.er1 >conftest.err5337 rm -f conftest.er15338 cat conftest.err >&55339 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5340 5158 (exit $ac_status); } && 5341 { ac_try='test -z "$ac_f77_werror_flag" 5342 || test ! -s conftest.err' 5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5344 (eval $ac_try) 2>&5 5345 ac_status=$? 5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5347 (exit $ac_status); }; } && 5348 { ac_try='test -s conftest.$ac_objext' 5159 { ac_try='test -s conftest.$ac_objext' 5349 5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5350 5161 (eval $ac_try) 2>&5 … … 5359 5170 ac_compiler_gnu=no 5360 5171 fi 5361 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext5172 rm -f conftest.$ac_objext conftest.$ac_ext 5362 5173 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 5363 5174 … … 5366 5177 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 5367 5178 ac_ext=$ac_save_ext 5179 G77=`test $ac_compiler_gnu = yes && echo yes` 5368 5180 ac_test_FFLAGS=${FFLAGS+set} 5369 5181 ac_save_FFLAGS=$FFLAGS … … 5382 5194 rm -f conftest.$ac_objext 5383 5195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5384 (eval $ac_compile) 2> conftest.er15196 (eval $ac_compile) 2>&5 5385 5197 ac_status=$? 5386 grep -v '^ *+' conftest.er1 >conftest.err5387 rm -f conftest.er15388 cat conftest.err >&55389 5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5390 5199 (exit $ac_status); } && 5391 { ac_try='test -z "$ac_f77_werror_flag" 5392 || test ! -s conftest.err' 5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5394 (eval $ac_try) 2>&5 5395 ac_status=$? 5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5397 (exit $ac_status); }; } && 5398 { ac_try='test -s conftest.$ac_objext' 5200 { ac_try='test -s conftest.$ac_objext' 5399 5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5400 5202 (eval $ac_try) 2>&5 … … 5409 5211 ac_cv_prog_f77_g=no 5410 5212 fi 5411 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext5213 rm -f conftest.$ac_objext conftest.$ac_ext 5412 5214 5413 5215 fi … … 5417 5219 FFLAGS=$ac_save_FFLAGS 5418 5220 elif test $ac_cv_prog_f77_g = yes; then 5419 if test " x$ac_cv_f77_compiler_gnu" = xyes; then5221 if test "$G77" = yes; then 5420 5222 FFLAGS="-g -O2" 5421 5223 else … … 5423 5225 fi 5424 5226 else 5425 if test " x$ac_cv_f77_compiler_gnu" = xyes; then5227 if test "$G77" = yes; then 5426 5228 FFLAGS="-O2" 5427 5229 else … … 5429 5231 fi 5430 5232 fi 5431 5432 G77=`test $ac_compiler_gnu = yes && echo yes`5433 5233 ac_ext=c 5434 5234 ac_cpp='$CPP $CPPFLAGS' … … 5448 5248 else 5449 5249 i=0 5450 test string="ABCD"5250 testring="ABCD" 5451 5251 5452 5252 case $build_os in … … 5477 5277 ;; 5478 5278 5479 amigaos*)5480 # On AmigaOS with pdksh, this test takes hours, literally.5481 # So we just punt and use a minimum line length of 8192.5482 lt_cv_sys_max_cmd_len=8192;5483 ;;5484 5485 5279 *) 5486 5280 # If test is not a shell built-in, we'll probably end up computing a 5487 5281 # maximum length that is only half of the actual maximum length, but 5488 5282 # we can't tell. 5489 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$test string" 2>/dev/null` \5490 = "XX$test string") >/dev/null 2>&1 &&5491 new_result=`expr "X$test string" : ".*" 2>&1` &&5283 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ 5284 = "XX$testring") >/dev/null 2>&1 && 5285 new_result=`expr "X$testring" : ".*" 2>&1` && 5492 5286 lt_cv_sys_max_cmd_len=$new_result && 5493 5287 test $i != 17 # 1/2 MB should be enough 5494 5288 do 5495 5289 i=`expr $i + 1` 5496 test string=$teststring$teststring5290 testring=$testring$testring 5497 5291 done 5498 test string=5292 testring= 5499 5293 # Add a significant safety factor because C++ compilers can tack on massive 5500 5294 # amounts of additional arguments before passing them to the linker. … … 6308 6102 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 6309 6103 6310 6311 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6104 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6312 6105 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 6313 6106 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 6327 6120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6328 6121 -e 's:$: $lt_compiler_flag:'` 6329 (eval echo "\"\$as_me:6 329: $lt_compile\"" >&5)6122 (eval echo "\"\$as_me:6122: $lt_compile\"" >&5) 6330 6123 (eval "$lt_compile" 2>conftest.err) 6331 6124 ac_status=$? 6332 6125 cat conftest.err >&5 6333 echo "$as_me:6 333: \$? = $ac_status" >&56126 echo "$as_me:6126: \$? = $ac_status" >&5 6334 6127 if (exit $ac_status) && test -s "$ac_outfile"; then 6335 6128 # The compiler can only warn and ignore the option if not recognized … … 6474 6267 linux*) 6475 6268 case $CC in 6476 icc * | ecc*)6269 icc|ecc) 6477 6270 lt_prog_compiler_wl='-Wl,' 6478 6271 lt_prog_compiler_pic='-KPIC' 6479 6272 lt_prog_compiler_static='-static' 6480 6273 ;; 6481 ccc *)6274 ccc) 6482 6275 lt_prog_compiler_wl='-Wl,' 6483 6276 # All Alpha code is PIC. … … 6541 6334 # 6542 6335 if test -n "$lt_prog_compiler_pic"; then 6543 6544 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6336 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6545 6337 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 6546 6338 if test "${lt_prog_compiler_pic_works+set}" = set; then … … 6560 6352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6561 6353 -e 's:$: $lt_compiler_flag:'` 6562 (eval echo "\"\$as_me:6 562: $lt_compile\"" >&5)6354 (eval echo "\"\$as_me:6354: $lt_compile\"" >&5) 6563 6355 (eval "$lt_compile" 2>conftest.err) 6564 6356 ac_status=$? 6565 6357 cat conftest.err >&5 6566 echo "$as_me:6 566: \$? = $ac_status" >&56358 echo "$as_me:6358: \$? = $ac_status" >&5 6567 6359 if (exit $ac_status) && test -s "$ac_outfile"; then 6568 6360 # The compiler can only warn and ignore the option if not recognized … … 6611 6403 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6612 6404 6405 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 6406 # that will create temporary files in the current directory regardless of 6407 # the output directory. Thus, making CWD read-only will cause this test 6408 # to fail, enabling locking or at least warning the user not to do parallel 6409 # builds. 6410 chmod -w . 6411 6613 6412 lt_compiler_flag="-o out/conftest2.$ac_objext" 6614 6413 # Insert the option either (1) after the last *FLAGS variable, or … … 6620 6419 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6621 6420 -e 's:$: $lt_compiler_flag:'` 6622 (eval echo "\"\$as_me:6 622: $lt_compile\"" >&5)6421 (eval echo "\"\$as_me:6421: $lt_compile\"" >&5) 6623 6422 (eval "$lt_compile" 2>out/conftest.err) 6624 6423 ac_status=$? 6625 6424 cat out/conftest.err >&5 6626 echo "$as_me:6 626: \$? = $ac_status" >&56425 echo "$as_me:6425: \$? = $ac_status" >&5 6627 6426 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6628 6427 then … … 6634 6433 fi 6635 6434 chmod u+w . 6636 $rm conftest* 6637 # SGI C++ compiler will create directory out/ii_files/ for 6638 # template instantiation 6639 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 6640 $rm out/* && rmdir out 6435 $rm conftest* out/* 6436 rmdir out 6641 6437 cd .. 6642 6438 rmdir conftest … … 6836 6632 6837 6633 linux*) 6838 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then6634 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 6839 6635 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 6840 6636 archive_cmds="$tmp_archive_cmds" … … 6988 6784 # Determine the default libpath from the value encoded in an empty executable. 6989 6785 cat >conftest.$ac_ext <<_ACEOF 6786 #line $LINENO "configure" 6990 6787 /* confdefs.h. */ 6991 6788 _ACEOF … … 7004 6801 rm -f conftest.$ac_objext conftest$ac_exeext 7005 6802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7006 (eval $ac_link) 2> conftest.er16803 (eval $ac_link) 2>&5 7007 6804 ac_status=$? 7008 grep -v '^ *+' conftest.er1 >conftest.err7009 rm -f conftest.er17010 cat conftest.err >&57011 6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7012 6806 (exit $ac_status); } && 7013 { ac_try='test -z "$ac_c_werror_flag" 7014 || test ! -s conftest.err' 7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7016 (eval $ac_try) 2>&5 7017 ac_status=$? 7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7019 (exit $ac_status); }; } && 7020 { ac_try='test -s conftest$ac_exeext' 6807 { ac_try='test -s conftest$ac_exeext' 7021 6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7022 6809 (eval $ac_try) 2>&5 … … 7035 6822 7036 6823 fi 7037 rm -f conftest.err conftest.$ac_objext \ 7038 conftest$ac_exeext conftest.$ac_ext 6824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7039 6825 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7040 6826 … … 7049 6835 # Determine the default libpath from the value encoded in an empty executable. 7050 6836 cat >conftest.$ac_ext <<_ACEOF 6837 #line $LINENO "configure" 7051 6838 /* confdefs.h. */ 7052 6839 _ACEOF … … 7065 6852 rm -f conftest.$ac_objext conftest$ac_exeext 7066 6853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7067 (eval $ac_link) 2> conftest.er16854 (eval $ac_link) 2>&5 7068 6855 ac_status=$? 7069 grep -v '^ *+' conftest.er1 >conftest.err7070 rm -f conftest.er17071 cat conftest.err >&57072 6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 6857 (exit $ac_status); } && 7074 { ac_try='test -z "$ac_c_werror_flag" 7075 || test ! -s conftest.err' 7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7077 (eval $ac_try) 2>&5 7078 ac_status=$? 7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7080 (exit $ac_status); }; } && 7081 { ac_try='test -s conftest$ac_exeext' 6858 { ac_try='test -s conftest$ac_exeext' 7082 6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7083 6860 (eval $ac_try) 2>&5 … … 7096 6873 7097 6874 fi 7098 rm -f conftest.err conftest.$ac_objext \ 7099 conftest$ac_exeext conftest.$ac_ext 6875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7100 6876 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7101 6877 … … 7138 6914 libext=lib 7139 6915 # Tell ltmain to make .dll files, not .so files. 7140 shrext _cmds=".dll"6916 shrext=".dll" 7141 6917 # FIXME: Setting linknames here is a bad hack. 7142 6918 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 7150 6926 7151 6927 darwin* | rhapsody*) 7152 if test "$GXX" = yes; then6928 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 7153 6929 archive_cmds_need_lc=no 7154 6930 case "$host_os" in … … 7157 6933 ;; 7158 6934 *) # Darwin 1.3 on 7159 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 7160 allow_undefined_flag='-flat_namespace -undefined suppress' 7161 else 7162 case ${MACOSX_DEPLOYMENT_TARGET} in 7163 10.[012]) 7164 allow_undefined_flag='-flat_namespace -undefined suppress' 7165 ;; 7166 10.*) 7167 allow_undefined_flag='-undefined dynamic_lookup' 7168 ;; 7169 esac 7170 fi 6935 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 7171 6936 ;; 7172 6937 esac 6938 # FIXME: Relying on posixy $() will cause problems for 6939 # cross-compilation, but unfortunately the echo tests do not 6940 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 6941 # `"' quotes if we put them in here... so don't! 7173 6942 lt_int_apple_cc_single_mod=no 7174 6943 output_verbose_link_cmd='echo' … … 7181 6950 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' 7182 6951 fi 7183 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'6952 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 7184 6953 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 7185 6954 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 7188 6957 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}' 7189 6958 fi 7190 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}'6959 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7191 6960 hardcode_direct=no 7192 6961 hardcode_automatic=yes … … 7194 6963 whole_archive_flag_spec='-all_load $convenience' 7195 6964 link_all_deplibs=yes 7196 else7197 ld_shlibs=no7198 6965 fi 7199 6966 ;; … … 7229 6996 7230 6997 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 7231 freebsd* | kfreebsd*-gnu)6998 freebsd*) 7232 6999 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 7233 7000 hardcode_libdir_flag_spec='-R$libdir' … … 7589 7356 esac 7590 7357 7358 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 7359 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 7360 hardcode_action= 7361 if test -n "$hardcode_libdir_flag_spec" || \ 7362 test -n "$runpath_var " || \ 7363 test "X$hardcode_automatic"="Xyes" ; then 7364 7365 # We can hardcode non-existant directories. 7366 if test "$hardcode_direct" != no && 7367 # If the only mechanism to avoid hardcoding is shlibpath_var, we 7368 # have to relink, otherwise we might link with an installed library 7369 # when we should be linking with a yet-to-be-installed one 7370 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 7371 test "$hardcode_minus_L" != no; then 7372 # Linking always hardcodes the temporary library directory. 7373 hardcode_action=relink 7374 else 7375 # We can link without hardcoding, and we can hardcode nonexisting dirs. 7376 hardcode_action=immediate 7377 fi 7378 else 7379 # We cannot hardcode anything, or else we can only hardcode existing 7380 # directories. 7381 hardcode_action=unsupported 7382 fi 7383 echo "$as_me:$LINENO: result: $hardcode_action" >&5 7384 echo "${ECHO_T}$hardcode_action" >&6 7385 7386 if test "$hardcode_action" = relink; then 7387 # Fast installation is not supported 7388 enable_fast_install=no 7389 elif test "$shlibpath_overrides_runpath" = yes || 7390 test "$enable_shared" = no; then 7391 # Fast installation is not necessary 7392 enable_fast_install=needless 7393 fi 7394 7395 striplib= 7396 old_striplib= 7397 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 7398 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 7399 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 7400 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 7401 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 7402 echo "$as_me:$LINENO: result: yes" >&5 7403 echo "${ECHO_T}yes" >&6 7404 else 7405 # FIXME - insert some real tests, host_os isn't really good enough 7406 case $host_os in 7407 darwin*) 7408 if test -n "$STRIP" ; then 7409 striplib="$STRIP -x" 7410 echo "$as_me:$LINENO: result: yes" >&5 7411 echo "${ECHO_T}yes" >&6 7412 else 7413 echo "$as_me:$LINENO: result: no" >&5 7414 echo "${ECHO_T}no" >&6 7415 fi 7416 ;; 7417 *) 7418 echo "$as_me:$LINENO: result: no" >&5 7419 echo "${ECHO_T}no" >&6 7420 ;; 7421 esac 7422 fi 7423 7591 7424 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 7592 7425 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 7594 7427 libname_spec='lib$name' 7595 7428 soname_spec= 7596 shrext _cmds=".so"7429 shrext=".so" 7597 7430 postinstall_cmds= 7598 7431 postuninstall_cmds= … … 7682 7515 library_names_spec='$libname.ixlibrary $libname.a' 7683 7516 # Create ${libname}_ixlibrary.a entries in /sys/libs. 7684 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'7517 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' 7685 7518 ;; 7686 7519 … … 7707 7540 cygwin* | mingw* | pw32*) 7708 7541 version_type=windows 7709 shrext _cmds=".dll"7542 shrext=".dll" 7710 7543 need_version=no 7711 7544 need_lib_prefix=no … … 7729 7562 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 7730 7563 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7731 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"7564 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 7732 7565 ;; 7733 7566 mingw*) … … 7768 7601 need_lib_prefix=no 7769 7602 need_version=no 7603 # FIXME: Relying on posixy $() will cause problems for 7604 # cross-compilation, but unfortunately the echo tests do not 7605 # yet detect zsh echo's removal of \ escapes. 7770 7606 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 7771 7607 soname_spec='${libname}${release}${major}$shared_ext' 7772 7608 shlibpath_overrides_runpath=yes 7773 7609 shlibpath_var=DYLD_LIBRARY_PATH 7774 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'7610 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 7775 7611 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 7776 if test "$GCC" = yes; then 7777 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"` 7778 else 7779 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 7612 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 7613 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"` 7780 7614 fi 7781 7615 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 7793 7627 freebsd1*) 7794 7628 dynamic_linker=no 7795 ;;7796 7797 kfreebsd*-gnu)7798 version_type=linux7799 need_lib_prefix=no7800 need_version=no7801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'7802 soname_spec='${libname}${release}${shared_ext}$major'7803 shlibpath_var=LD_LIBRARY_PATH7804 shlibpath_overrides_runpath=no7805 hardcode_into_libs=yes7806 dynamic_linker='GNU ld.so'7807 7629 ;; 7808 7630 … … 7855 7677 case "$host_cpu" in 7856 7678 ia64*) 7857 shrext _cmds='.so'7679 shrext='.so' 7858 7680 hardcode_into_libs=yes 7859 7681 dynamic_linker="$host_os dld.so" … … 7870 7692 ;; 7871 7693 hppa*64*) 7872 shrext _cmds='.sl'7694 shrext='.sl' 7873 7695 hardcode_into_libs=yes 7874 7696 dynamic_linker="$host_os dld.sl" … … 7881 7703 ;; 7882 7704 *) 7883 shrext _cmds='.sl'7705 shrext='.sl' 7884 7706 dynamic_linker="$host_os dld.sl" 7885 7707 shlibpath_var=SHLIB_PATH … … 7950 7772 hardcode_into_libs=yes 7951 7773 7952 # find out which ABI we are using 7774 # We used to test for /lib/ld.so.1 and disable shared libraries on 7775 # powerpc, because MkLinux only supported shared libraries with the 7776 # GNU dynamic linker. Since this was broken with cross compilers, 7777 # most powerpc-linux boxes support dynamic linking these days and 7778 # people can always --disable-shared, the test was removed, and we 7779 # assume the GNU/Linux dynamic linker is in use. 7780 dynamic_linker='GNU/Linux ld.so' 7781 7782 # Find out which ABI we are using (multilib Linux x86_64 hack). 7953 7783 libsuff= 7954 7784 case "$host_cpu" in 7955 7785 x86_64*|s390x*|powerpc64*) 7956 echo '#line 7 956 "configure"' > conftest.$ac_ext7786 echo '#line 7786 "configure"' > conftest.$ac_ext 7957 7787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7958 7788 (eval $ac_compile) 2>&5 … … 7963 7793 *64-bit*) 7964 7794 libsuff=64 7965 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"7966 7795 ;; 7967 7796 esac … … 7969 7798 rm -rf conftest* 7970 7799 ;; 7800 *) 7801 ;; 7971 7802 esac 7972 7973 # Append ld.so.conf contents to the search path 7974 if test -f /etc/ld.so.conf; then 7975 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 7976 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 7977 fi 7978 7979 # We used to test for /lib/ld.so.1 and disable shared libraries on 7980 # powerpc, because MkLinux only supported shared libraries with the 7981 # GNU dynamic linker. Since this was broken with cross compilers, 7982 # most powerpc-linux boxes support dynamic linking these days and 7983 # people can always --disable-shared, the test was removed, and we 7984 # assume the GNU/Linux dynamic linker is in use. 7985 dynamic_linker='GNU/Linux ld.so' 7986 ;; 7987 7988 knetbsd*-gnu) 7989 version_type=linux 7990 need_lib_prefix=no 7991 need_version=no 7992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7993 soname_spec='${libname}${release}${shared_ext}$major' 7994 shlibpath_var=LD_LIBRARY_PATH 7995 shlibpath_overrides_runpath=no 7996 hardcode_into_libs=yes 7997 dynamic_linker='GNU ld.so' 7803 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 7804 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 7998 7805 ;; 7999 7806 … … 8007 7814 dynamic_linker='NetBSD (a.out) ld.so' 8008 7815 else 8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'7816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 8010 7817 soname_spec='${libname}${release}${shared_ext}$major' 8011 7818 dynamic_linker='NetBSD ld.elf_so' … … 8023 7830 ;; 8024 7831 8025 nto-qnx *)7832 nto-qnx) 8026 7833 version_type=linux 8027 7834 need_lib_prefix=no … … 8036 7843 version_type=sunos 8037 7844 need_lib_prefix=no 8038 need_version= yes7845 need_version=no 8039 7846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 8040 7847 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 8056 7863 os2*) 8057 7864 libname_spec='$name' 8058 shrext _cmds=".dll"7865 shrext=".dll" 8059 7866 need_lib_prefix=no 8060 7867 library_names_spec='$libname${shared_ext} $libname.a' … … 8154 7961 test "$dynamic_linker" = no && can_build_shared=no 8155 7962 8156 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&58157 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&68158 hardcode_action=8159 if test -n "$hardcode_libdir_flag_spec" || \8160 test -n "$runpath_var " || \8161 test "X$hardcode_automatic"="Xyes" ; then8162 8163 # We can hardcode non-existant directories.8164 if test "$hardcode_direct" != no &&8165 # If the only mechanism to avoid hardcoding is shlibpath_var, we8166 # have to relink, otherwise we might link with an installed library8167 # when we should be linking with a yet-to-be-installed one8168 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&8169 test "$hardcode_minus_L" != no; then8170 # Linking always hardcodes the temporary library directory.8171 hardcode_action=relink8172 else8173 # We can link without hardcoding, and we can hardcode nonexisting dirs.8174 hardcode_action=immediate8175 fi8176 else8177 # We cannot hardcode anything, or else we can only hardcode existing8178 # directories.8179 hardcode_action=unsupported8180 fi8181 echo "$as_me:$LINENO: result: $hardcode_action" >&58182 echo "${ECHO_T}$hardcode_action" >&68183 8184 if test "$hardcode_action" = relink; then8185 # Fast installation is not supported8186 enable_fast_install=no8187 elif test "$shlibpath_overrides_runpath" = yes ||8188 test "$enable_shared" = no; then8189 # Fast installation is not necessary8190 enable_fast_install=needless8191 fi8192 8193 striplib=8194 old_striplib=8195 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&58196 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&68197 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then8198 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"8199 test -z "$striplib" && striplib="$STRIP --strip-unneeded"8200 echo "$as_me:$LINENO: result: yes" >&58201 echo "${ECHO_T}yes" >&68202 else8203 # FIXME - insert some real tests, host_os isn't really good enough8204 case $host_os in8205 darwin*)8206 if test -n "$STRIP" ; then8207 striplib="$STRIP -x"8208 echo "$as_me:$LINENO: result: yes" >&58209 echo "${ECHO_T}yes" >&68210 else8211 echo "$as_me:$LINENO: result: no" >&58212 echo "${ECHO_T}no" >&68213 fi8214 ;;8215 *)8216 echo "$as_me:$LINENO: result: no" >&58217 echo "${ECHO_T}no" >&68218 ;;8219 esac8220 fi8221 8222 7963 if test "x$enable_dlopen" != xyes; then 8223 7964 enable_dlopen=unknown … … 8255 7996 LIBS="-ldl $LIBS" 8256 7997 cat >conftest.$ac_ext <<_ACEOF 7998 #line $LINENO "configure" 8257 7999 /* confdefs.h. */ 8258 8000 _ACEOF … … 8278 8020 rm -f conftest.$ac_objext conftest$ac_exeext 8279 8021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8280 (eval $ac_link) 2> conftest.er18022 (eval $ac_link) 2>&5 8281 8023 ac_status=$? 8282 grep -v '^ *+' conftest.er1 >conftest.err8283 rm -f conftest.er18284 cat conftest.err >&58285 8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 8025 (exit $ac_status); } && 8287 { ac_try='test -z "$ac_c_werror_flag" 8288 || test ! -s conftest.err' 8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8290 (eval $ac_try) 2>&5 8291 ac_status=$? 8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8293 (exit $ac_status); }; } && 8294 { ac_try='test -s conftest$ac_exeext' 8026 { ac_try='test -s conftest$ac_exeext' 8295 8027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8296 8028 (eval $ac_try) 2>&5 … … 8305 8037 ac_cv_lib_dl_dlopen=no 8306 8038 fi 8307 rm -f conftest.err conftest.$ac_objext \ 8308 conftest$ac_exeext conftest.$ac_ext 8039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8309 8040 LIBS=$ac_check_lib_save_LIBS 8310 8041 fi … … 8330 8061 else 8331 8062 cat >conftest.$ac_ext <<_ACEOF 8063 #line $LINENO "configure" 8332 8064 /* confdefs.h. */ 8333 8065 _ACEOF … … 8335 8067 cat >>conftest.$ac_ext <<_ACEOF 8336 8068 /* end confdefs.h. */ 8337 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.8338 For example, HP-UX 11i <limits.h> declares gettimeofday. */8339 #define shl_load innocuous_shl_load8340 8341 8069 /* System header to define __stub macros and hopefully few prototypes, 8342 8070 which can conflict with char shl_load (); below. 8343 8071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8344 8072 <limits.h> exists even on freestanding compilers. */ 8345 8346 8073 #ifdef __STDC__ 8347 8074 # include <limits.h> … … 8349 8076 # include <assert.h> 8350 8077 #endif 8351 8352 #undef shl_load8353 8354 8078 /* Override any gcc2 internal prototype to avoid an error. */ 8355 8079 #ifdef __cplusplus … … 8382 8106 rm -f conftest.$ac_objext conftest$ac_exeext 8383 8107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8384 (eval $ac_link) 2> conftest.er18108 (eval $ac_link) 2>&5 8385 8109 ac_status=$? 8386 grep -v '^ *+' conftest.er1 >conftest.err8387 rm -f conftest.er18388 cat conftest.err >&58389 8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8390 8111 (exit $ac_status); } && 8391 { ac_try='test -z "$ac_c_werror_flag" 8392 || test ! -s conftest.err' 8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8394 (eval $ac_try) 2>&5 8395 ac_status=$? 8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8397 (exit $ac_status); }; } && 8398 { ac_try='test -s conftest$ac_exeext' 8112 { ac_try='test -s conftest$ac_exeext' 8399 8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8400 8114 (eval $ac_try) 2>&5 … … 8409 8123 ac_cv_func_shl_load=no 8410 8124 fi 8411 rm -f conftest.err conftest.$ac_objext \ 8412 conftest$ac_exeext conftest.$ac_ext 8125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8413 8126 fi 8414 8127 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 8425 8138 LIBS="-ldld $LIBS" 8426 8139 cat >conftest.$ac_ext <<_ACEOF 8140 #line $LINENO "configure" 8427 8141 /* confdefs.h. */ 8428 8142 _ACEOF … … 8448 8162 rm -f conftest.$ac_objext conftest$ac_exeext 8449 8163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8450 (eval $ac_link) 2> conftest.er18164 (eval $ac_link) 2>&5 8451 8165 ac_status=$? 8452 grep -v '^ *+' conftest.er1 >conftest.err8453 rm -f conftest.er18454 cat conftest.err >&58455 8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8456 8167 (exit $ac_status); } && 8457 { ac_try='test -z "$ac_c_werror_flag" 8458 || test ! -s conftest.err' 8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8460 (eval $ac_try) 2>&5 8461 ac_status=$? 8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8463 (exit $ac_status); }; } && 8464 { ac_try='test -s conftest$ac_exeext' 8168 { ac_try='test -s conftest$ac_exeext' 8465 8169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8466 8170 (eval $ac_try) 2>&5 … … 8475 8179 ac_cv_lib_dld_shl_load=no 8476 8180 fi 8477 rm -f conftest.err conftest.$ac_objext \ 8478 conftest$ac_exeext conftest.$ac_ext 8181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8479 8182 LIBS=$ac_check_lib_save_LIBS 8480 8183 fi … … 8490 8193 else 8491 8194 cat >conftest.$ac_ext <<_ACEOF 8195 #line $LINENO "configure" 8492 8196 /* confdefs.h. */ 8493 8197 _ACEOF … … 8495 8199 cat >>conftest.$ac_ext <<_ACEOF 8496 8200 /* end confdefs.h. */ 8497 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.8498 For example, HP-UX 11i <limits.h> declares gettimeofday. */8499 #define dlopen innocuous_dlopen8500 8501 8201 /* System header to define __stub macros and hopefully few prototypes, 8502 8202 which can conflict with char dlopen (); below. 8503 8203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8504 8204 <limits.h> exists even on freestanding compilers. */ 8505 8506 8205 #ifdef __STDC__ 8507 8206 # include <limits.h> … … 8509 8208 # include <assert.h> 8510 8209 #endif 8511 8512 #undef dlopen8513 8514 8210 /* Override any gcc2 internal prototype to avoid an error. */ 8515 8211 #ifdef __cplusplus … … 8542 8238 rm -f conftest.$ac_objext conftest$ac_exeext 8543 8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8544 (eval $ac_link) 2> conftest.er18240 (eval $ac_link) 2>&5 8545 8241 ac_status=$? 8546 grep -v '^ *+' conftest.er1 >conftest.err8547 rm -f conftest.er18548 cat conftest.err >&58549 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8550 8243 (exit $ac_status); } && 8551 { ac_try='test -z "$ac_c_werror_flag" 8552 || test ! -s conftest.err' 8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8554 (eval $ac_try) 2>&5 8555 ac_status=$? 8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8557 (exit $ac_status); }; } && 8558 { ac_try='test -s conftest$ac_exeext' 8244 { ac_try='test -s conftest$ac_exeext' 8559 8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8560 8246 (eval $ac_try) 2>&5 … … 8569 8255 ac_cv_func_dlopen=no 8570 8256 fi 8571 rm -f conftest.err conftest.$ac_objext \ 8572 conftest$ac_exeext conftest.$ac_ext 8257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8573 8258 fi 8574 8259 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 8585 8270 LIBS="-ldl $LIBS" 8586 8271 cat >conftest.$ac_ext <<_ACEOF 8272 #line $LINENO "configure" 8587 8273 /* confdefs.h. */ 8588 8274 _ACEOF … … 8608 8294 rm -f conftest.$ac_objext conftest$ac_exeext 8609 8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8610 (eval $ac_link) 2> conftest.er18296 (eval $ac_link) 2>&5 8611 8297 ac_status=$? 8612 grep -v '^ *+' conftest.er1 >conftest.err8613 rm -f conftest.er18614 cat conftest.err >&58615 8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8616 8299 (exit $ac_status); } && 8617 { ac_try='test -z "$ac_c_werror_flag" 8618 || test ! -s conftest.err' 8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8620 (eval $ac_try) 2>&5 8621 ac_status=$? 8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 (exit $ac_status); }; } && 8624 { ac_try='test -s conftest$ac_exeext' 8300 { ac_try='test -s conftest$ac_exeext' 8625 8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8626 8302 (eval $ac_try) 2>&5 … … 8635 8311 ac_cv_lib_dl_dlopen=no 8636 8312 fi 8637 rm -f conftest.err conftest.$ac_objext \ 8638 conftest$ac_exeext conftest.$ac_ext 8313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8639 8314 LIBS=$ac_check_lib_save_LIBS 8640 8315 fi … … 8652 8327 LIBS="-lsvld $LIBS" 8653 8328 cat >conftest.$ac_ext <<_ACEOF 8329 #line $LINENO "configure" 8654 8330 /* confdefs.h. */ 8655 8331 _ACEOF … … 8675 8351 rm -f conftest.$ac_objext conftest$ac_exeext 8676 8352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8677 (eval $ac_link) 2> conftest.er18353 (eval $ac_link) 2>&5 8678 8354 ac_status=$? 8679 grep -v '^ *+' conftest.er1 >conftest.err8680 rm -f conftest.er18681 cat conftest.err >&58682 8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8683 8356 (exit $ac_status); } && 8684 { ac_try='test -z "$ac_c_werror_flag" 8685 || test ! -s conftest.err' 8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8687 (eval $ac_try) 2>&5 8688 ac_status=$? 8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8690 (exit $ac_status); }; } && 8691 { ac_try='test -s conftest$ac_exeext' 8357 { ac_try='test -s conftest$ac_exeext' 8692 8358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8693 8359 (eval $ac_try) 2>&5 … … 8702 8368 ac_cv_lib_svld_dlopen=no 8703 8369 fi 8704 rm -f conftest.err conftest.$ac_objext \ 8705 conftest$ac_exeext conftest.$ac_ext 8370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8706 8371 LIBS=$ac_check_lib_save_LIBS 8707 8372 fi … … 8719 8384 LIBS="-ldld $LIBS" 8720 8385 cat >conftest.$ac_ext <<_ACEOF 8386 #line $LINENO "configure" 8721 8387 /* confdefs.h. */ 8722 8388 _ACEOF … … 8742 8408 rm -f conftest.$ac_objext conftest$ac_exeext 8743 8409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8744 (eval $ac_link) 2> conftest.er18410 (eval $ac_link) 2>&5 8745 8411 ac_status=$? 8746 grep -v '^ *+' conftest.er1 >conftest.err8747 rm -f conftest.er18748 cat conftest.err >&58749 8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8750 8413 (exit $ac_status); } && 8751 { ac_try='test -z "$ac_c_werror_flag" 8752 || test ! -s conftest.err' 8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8754 (eval $ac_try) 2>&5 8755 ac_status=$? 8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8757 (exit $ac_status); }; } && 8758 { ac_try='test -s conftest$ac_exeext' 8414 { ac_try='test -s conftest$ac_exeext' 8759 8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8760 8416 (eval $ac_try) 2>&5 … … 8769 8425 ac_cv_lib_dld_dld_link=no 8770 8426 fi 8771 rm -f conftest.err conftest.$ac_objext \ 8772 conftest$ac_exeext conftest.$ac_ext 8427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8773 8428 LIBS=$ac_check_lib_save_LIBS 8774 8429 fi … … 8825 8480 lt_status=$lt_dlunknown 8826 8481 cat > conftest.$ac_ext <<EOF 8827 #line 8 827"configure"8482 #line 8482 "configure" 8828 8483 #include "confdefs.h" 8829 8484 … … 8923 8578 lt_status=$lt_dlunknown 8924 8579 cat > conftest.$ac_ext <<EOF 8925 #line 8 925"configure"8580 #line 8580 "configure" 8926 8581 #include "confdefs.h" 8927 8582 … … 9048 8703 ;; 9049 8704 9050 aix4* | aix5*)8705 aix4*) 9051 8706 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 9052 8707 test "$enable_shared" = yes && enable_static=no … … 9054 8709 ;; 9055 8710 darwin* | rhapsody*) 9056 if test "$GCC" = yes; then8711 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 9057 8712 archive_cmds_need_lc=no 9058 8713 case "$host_os" in … … 9061 8716 ;; 9062 8717 *) # Darwin 1.3 on 9063 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9064 allow_undefined_flag='-flat_namespace -undefined suppress' 9065 else 9066 case ${MACOSX_DEPLOYMENT_TARGET} in 9067 10.[012]) 9068 allow_undefined_flag='-flat_namespace -undefined suppress' 9069 ;; 9070 10.*) 9071 allow_undefined_flag='-undefined dynamic_lookup' 9072 ;; 9073 esac 9074 fi 8718 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 9075 8719 ;; 9076 8720 esac 9077 output_verbose_link_cmd='echo' 8721 # FIXME: Relying on posixy $() will cause problems for 8722 # cross-compilation, but unfortunately the echo tests do not 8723 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 8724 # `"' quotes if we put them in here... so don't! 8725 output_verbose_link_cmd='echo' 9078 8726 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 9079 module_cmds='$CC $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'8727 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 9080 8728 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9081 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}'9082 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}'8729 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}' 8730 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9083 8731 hardcode_direct=no 9084 8732 hardcode_automatic=yes … … 9086 8734 whole_archive_flag_spec='-all_load $convenience' 9087 8735 link_all_deplibs=yes 9088 else 9089 ld_shlibs=no 9090 fi 8736 fi 9091 8737 ;; 9092 8738 esac … … 9114 8760 # careful not to overquote the AC_SUBSTed values. We take copies of the 9115 8761 # variables and quote the copies for generation of the libtool script. 9116 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 9117 SED SHELL STRIP \ 8762 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 9118 8763 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 9119 8764 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 9293 8938 9294 8939 # A symbol stripping program 9295 STRIP=$ lt_STRIP8940 STRIP=$STRIP 9296 8941 9297 8942 # Used to examine libraries when file_magic_cmd begins "file" … … 9324 8969 9325 8970 # Shared library suffix (normally ".so"). 9326 shrext _cmds='$shrext_cmds'8971 shrext='$shrext' 9327 8972 9328 8973 # Executable file suffix (normally ""). … … 9566 9211 # `config.status --recheck' to rerun these tests and create the 9567 9212 # libtool script then. 9568 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 9569 if test -f "$ltmain_in"; then 9570 test -f Makefile && make "$ltmain" 9571 fi 9213 test -f Makefile && make "$ltmain" 9572 9214 fi 9573 9215 … … 9750 9392 [\\/]* | ?:[\\/]*) 9751 9393 re_direlt='/[^/][^/]*/\.\./' 9752 # Canonicalize the path nameof ld9394 # Canonicalize the path of ld 9753 9395 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 9754 9396 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 9972 9614 # Determine the default libpath from the value encoded in an empty executable. 9973 9615 cat >conftest.$ac_ext <<_ACEOF 9616 #line $LINENO "configure" 9974 9617 /* confdefs.h. */ 9975 9618 _ACEOF … … 9988 9631 rm -f conftest.$ac_objext conftest$ac_exeext 9989 9632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9990 (eval $ac_link) 2> conftest.er19633 (eval $ac_link) 2>&5 9991 9634 ac_status=$? 9992 grep -v '^ *+' conftest.er1 >conftest.err9993 rm -f conftest.er19994 cat conftest.err >&59995 9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9996 9636 (exit $ac_status); } && 9997 { ac_try='test -z "$ac_cxx_werror_flag" 9998 || test ! -s conftest.err' 9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10000 (eval $ac_try) 2>&5 10001 ac_status=$? 10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10003 (exit $ac_status); }; } && 10004 { ac_try='test -s conftest$ac_exeext' 9637 { ac_try='test -s conftest$ac_exeext' 10005 9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10006 9639 (eval $ac_try) 2>&5 … … 10019 9652 10020 9653 fi 10021 rm -f conftest.err conftest.$ac_objext \ 10022 conftest$ac_exeext conftest.$ac_ext 9654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10023 9655 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10024 9656 … … 10034 9666 # Determine the default libpath from the value encoded in an empty executable. 10035 9667 cat >conftest.$ac_ext <<_ACEOF 9668 #line $LINENO "configure" 10036 9669 /* confdefs.h. */ 10037 9670 _ACEOF … … 10050 9683 rm -f conftest.$ac_objext conftest$ac_exeext 10051 9684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10052 (eval $ac_link) 2> conftest.er19685 (eval $ac_link) 2>&5 10053 9686 ac_status=$? 10054 grep -v '^ *+' conftest.er1 >conftest.err10055 rm -f conftest.er110056 cat conftest.err >&510057 9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10058 9688 (exit $ac_status); } && 10059 { ac_try='test -z "$ac_cxx_werror_flag" 10060 || test ! -s conftest.err' 10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10062 (eval $ac_try) 2>&5 10063 ac_status=$? 10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10065 (exit $ac_status); }; } && 10066 { ac_try='test -s conftest$ac_exeext' 9689 { ac_try='test -s conftest$ac_exeext' 10067 9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10068 9691 (eval $ac_try) 2>&5 … … 10081 9704 10082 9705 fi 10083 rm -f conftest.err conftest.$ac_objext \ 10084 conftest$ac_exeext conftest.$ac_ext 9706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10085 9707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10086 9708 … … 10134 9756 10135 9757 darwin* | rhapsody*) 10136 if test "$GXX" = yes; then9758 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 10137 9759 archive_cmds_need_lc_CXX=no 10138 9760 case "$host_os" in … … 10141 9763 ;; 10142 9764 *) # Darwin 1.3 on 10143 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 10144 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9765 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9766 ;; 9767 esac 9768 lt_int_apple_cc_single_mod=no 9769 output_verbose_link_cmd='echo' 9770 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 9771 lt_int_apple_cc_single_mod=yes 9772 fi 9773 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9774 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9775 else 9776 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' 9777 fi 9778 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 9779 9780 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9781 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9782 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}' 10145 9783 else 10146 case ${MACOSX_DEPLOYMENT_TARGET} in 10147 10.[012]) 10148 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10149 ;; 10150 10.*) 10151 allow_undefined_flag_CXX='-undefined dynamic_lookup' 10152 ;; 10153 esac 9784 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}' 10154 9785 fi 10155 ;; 10156 esac 10157 lt_int_apple_cc_single_mod=no 10158 output_verbose_link_cmd='echo' 10159 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 10160 lt_int_apple_cc_single_mod=yes 10161 fi 10162 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10163 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10164 else 10165 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' 10166 fi 10167 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10168 10169 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 10170 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10171 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}' 10172 else 10173 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}' 10174 fi 10175 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}' 9786 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10176 9787 hardcode_direct_CXX=no 10177 9788 hardcode_automatic_CXX=yes … … 10179 9790 whole_archive_flag_spec_CXX='-all_load $convenience' 10180 9791 link_all_deplibs_CXX=yes 10181 else 10182 ld_shlibs_CXX=no 10183 fi 9792 fi 10184 9793 ;; 10185 9794 … … 10208 9817 archive_cmds_need_lc_CXX=no 10209 9818 ;; 10210 freebsd* | kfreebsd*-gnu)9819 freebsd*) 10211 9820 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 10212 9821 # conventions … … 10239 9848 # from the output so that they don't get included in the library 10240 9849 # dependencies. 10241 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'9850 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' 10242 9851 ;; 10243 9852 *) … … 10915 10524 esac 10916 10525 ;; 10917 freebsd* | kfreebsd*-gnu)10526 freebsd*) 10918 10527 # FreeBSD uses GNU C++ 10919 10528 ;; … … 11083 10692 # 11084 10693 if test -n "$lt_prog_compiler_pic_CXX"; then 11085 11086 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10694 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 11087 10695 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 11088 10696 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then … … 11102 10710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11103 10711 -e 's:$: $lt_compiler_flag:'` 11104 (eval echo "\"\$as_me:1 1104: $lt_compile\"" >&5)10712 (eval echo "\"\$as_me:10712: $lt_compile\"" >&5) 11105 10713 (eval "$lt_compile" 2>conftest.err) 11106 10714 ac_status=$? 11107 10715 cat conftest.err >&5 11108 echo "$as_me:1 1108: \$? = $ac_status" >&510716 echo "$as_me:10716: \$? = $ac_status" >&5 11109 10717 if (exit $ac_status) && test -s "$ac_outfile"; then 11110 10718 # The compiler can only warn and ignore the option if not recognized … … 11153 10761 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 11154 10762 10763 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 10764 # that will create temporary files in the current directory regardless of 10765 # the output directory. Thus, making CWD read-only will cause this test 10766 # to fail, enabling locking or at least warning the user not to do parallel 10767 # builds. 10768 chmod -w . 10769 11155 10770 lt_compiler_flag="-o out/conftest2.$ac_objext" 11156 10771 # Insert the option either (1) after the last *FLAGS variable, or … … 11162 10777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11163 10778 -e 's:$: $lt_compiler_flag:'` 11164 (eval echo "\"\$as_me:1 1164: $lt_compile\"" >&5)10779 (eval echo "\"\$as_me:10779: $lt_compile\"" >&5) 11165 10780 (eval "$lt_compile" 2>out/conftest.err) 11166 10781 ac_status=$? 11167 10782 cat out/conftest.err >&5 11168 echo "$as_me:1 1168: \$? = $ac_status" >&510783 echo "$as_me:10783: \$? = $ac_status" >&5 11169 10784 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11170 10785 then … … 11176 10791 fi 11177 10792 chmod u+w . 11178 $rm conftest* 11179 # SGI C++ compiler will create directory out/ii_files/ for 11180 # template instantiation 11181 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 11182 $rm out/* && rmdir out 10793 $rm conftest* out/* 10794 rmdir out 11183 10795 cd .. 11184 10796 rmdir conftest … … 11308 10920 esac 11309 10921 10922 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10923 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 10924 hardcode_action_CXX= 10925 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 10926 test -n "$runpath_var CXX" || \ 10927 test "X$hardcode_automatic_CXX"="Xyes" ; then 10928 10929 # We can hardcode non-existant directories. 10930 if test "$hardcode_direct_CXX" != no && 10931 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10932 # have to relink, otherwise we might link with an installed library 10933 # when we should be linking with a yet-to-be-installed one 10934 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 10935 test "$hardcode_minus_L_CXX" != no; then 10936 # Linking always hardcodes the temporary library directory. 10937 hardcode_action_CXX=relink 10938 else 10939 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10940 hardcode_action_CXX=immediate 10941 fi 10942 else 10943 # We cannot hardcode anything, or else we can only hardcode existing 10944 # directories. 10945 hardcode_action_CXX=unsupported 10946 fi 10947 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 10948 echo "${ECHO_T}$hardcode_action_CXX" >&6 10949 10950 if test "$hardcode_action_CXX" = relink; then 10951 # Fast installation is not supported 10952 enable_fast_install=no 10953 elif test "$shlibpath_overrides_runpath" = yes || 10954 test "$enable_shared" = no; then 10955 # Fast installation is not necessary 10956 enable_fast_install=needless 10957 fi 10958 10959 striplib= 10960 old_striplib= 10961 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 10962 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 10963 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 10964 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10965 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10966 echo "$as_me:$LINENO: result: yes" >&5 10967 echo "${ECHO_T}yes" >&6 10968 else 10969 # FIXME - insert some real tests, host_os isn't really good enough 10970 case $host_os in 10971 darwin*) 10972 if test -n "$STRIP" ; then 10973 striplib="$STRIP -x" 10974 echo "$as_me:$LINENO: result: yes" >&5 10975 echo "${ECHO_T}yes" >&6 10976 else 10977 echo "$as_me:$LINENO: result: no" >&5 10978 echo "${ECHO_T}no" >&6 10979 fi 10980 ;; 10981 *) 10982 echo "$as_me:$LINENO: result: no" >&5 10983 echo "${ECHO_T}no" >&6 10984 ;; 10985 esac 10986 fi 10987 11310 10988 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 11311 10989 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 11313 10991 libname_spec='lib$name' 11314 10992 soname_spec= 11315 shrext _cmds=".so"10993 shrext=".so" 11316 10994 postinstall_cmds= 11317 10995 postuninstall_cmds= … … 11401 11079 library_names_spec='$libname.ixlibrary $libname.a' 11402 11080 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11403 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'11081 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' 11404 11082 ;; 11405 11083 … … 11426 11104 cygwin* | mingw* | pw32*) 11427 11105 version_type=windows 11428 shrext _cmds=".dll"11106 shrext=".dll" 11429 11107 need_version=no 11430 11108 need_lib_prefix=no … … 11448 11126 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11449 11127 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11450 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"11128 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 11451 11129 ;; 11452 11130 mingw*) … … 11487 11165 need_lib_prefix=no 11488 11166 need_version=no 11167 # FIXME: Relying on posixy $() will cause problems for 11168 # cross-compilation, but unfortunately the echo tests do not 11169 # yet detect zsh echo's removal of \ escapes. 11489 11170 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11490 11171 soname_spec='${libname}${release}${major}$shared_ext' 11491 11172 shlibpath_overrides_runpath=yes 11492 11173 shlibpath_var=DYLD_LIBRARY_PATH 11493 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'11174 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 11494 11175 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 11495 if test "$GCC" = yes; then 11496 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"` 11497 else 11498 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 11176 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 11177 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"` 11499 11178 fi 11500 11179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 11512 11191 freebsd1*) 11513 11192 dynamic_linker=no 11514 ;;11515 11516 kfreebsd*-gnu)11517 version_type=linux11518 need_lib_prefix=no11519 need_version=no11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11521 soname_spec='${libname}${release}${shared_ext}$major'11522 shlibpath_var=LD_LIBRARY_PATH11523 shlibpath_overrides_runpath=no11524 hardcode_into_libs=yes11525 dynamic_linker='GNU ld.so'11526 11193 ;; 11527 11194 … … 11574 11241 case "$host_cpu" in 11575 11242 ia64*) 11576 shrext _cmds='.so'11243 shrext='.so' 11577 11244 hardcode_into_libs=yes 11578 11245 dynamic_linker="$host_os dld.so" … … 11589 11256 ;; 11590 11257 hppa*64*) 11591 shrext _cmds='.sl'11258 shrext='.sl' 11592 11259 hardcode_into_libs=yes 11593 11260 dynamic_linker="$host_os dld.sl" … … 11600 11267 ;; 11601 11268 *) 11602 shrext _cmds='.sl'11269 shrext='.sl' 11603 11270 dynamic_linker="$host_os dld.sl" 11604 11271 shlibpath_var=SHLIB_PATH … … 11669 11336 hardcode_into_libs=yes 11670 11337 11671 # find out which ABI we are using 11338 # We used to test for /lib/ld.so.1 and disable shared libraries on 11339 # powerpc, because MkLinux only supported shared libraries with the 11340 # GNU dynamic linker. Since this was broken with cross compilers, 11341 # most powerpc-linux boxes support dynamic linking these days and 11342 # people can always --disable-shared, the test was removed, and we 11343 # assume the GNU/Linux dynamic linker is in use. 11344 dynamic_linker='GNU/Linux ld.so' 11345 11346 # Find out which ABI we are using (multilib Linux x86_64 hack). 11672 11347 libsuff= 11673 11348 case "$host_cpu" in 11674 11349 x86_64*|s390x*|powerpc64*) 11675 echo '#line 11 675"configure"' > conftest.$ac_ext11350 echo '#line 11350 "configure"' > conftest.$ac_ext 11676 11351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11677 11352 (eval $ac_compile) 2>&5 … … 11682 11357 *64-bit*) 11683 11358 libsuff=64 11684 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"11685 11359 ;; 11686 11360 esac … … 11688 11362 rm -rf conftest* 11689 11363 ;; 11364 *) 11365 ;; 11690 11366 esac 11691 11692 # Append ld.so.conf contents to the search path 11693 if test -f /etc/ld.so.conf; then 11694 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 11695 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 11696 fi 11697 11698 # We used to test for /lib/ld.so.1 and disable shared libraries on 11699 # powerpc, because MkLinux only supported shared libraries with the 11700 # GNU dynamic linker. Since this was broken with cross compilers, 11701 # most powerpc-linux boxes support dynamic linking these days and 11702 # people can always --disable-shared, the test was removed, and we 11703 # assume the GNU/Linux dynamic linker is in use. 11704 dynamic_linker='GNU/Linux ld.so' 11705 ;; 11706 11707 knetbsd*-gnu) 11708 version_type=linux 11709 need_lib_prefix=no 11710 need_version=no 11711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11712 soname_spec='${libname}${release}${shared_ext}$major' 11713 shlibpath_var=LD_LIBRARY_PATH 11714 shlibpath_overrides_runpath=no 11715 hardcode_into_libs=yes 11716 dynamic_linker='GNU ld.so' 11367 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 11368 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 11717 11369 ;; 11718 11370 … … 11726 11378 dynamic_linker='NetBSD (a.out) ld.so' 11727 11379 else 11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'11380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 11729 11381 soname_spec='${libname}${release}${shared_ext}$major' 11730 11382 dynamic_linker='NetBSD ld.elf_so' … … 11742 11394 ;; 11743 11395 11744 nto-qnx *)11396 nto-qnx) 11745 11397 version_type=linux 11746 11398 need_lib_prefix=no … … 11755 11407 version_type=sunos 11756 11408 need_lib_prefix=no 11757 need_version= yes11409 need_version=no 11758 11410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11759 11411 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11775 11427 os2*) 11776 11428 libname_spec='$name' 11777 shrext _cmds=".dll"11429 shrext=".dll" 11778 11430 need_lib_prefix=no 11779 11431 library_names_spec='$libname${shared_ext} $libname.a' … … 11873 11525 test "$dynamic_linker" = no && can_build_shared=no 11874 11526 11875 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&511876 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&611877 hardcode_action_CXX=11878 if test -n "$hardcode_libdir_flag_spec_CXX" || \11879 test -n "$runpath_var CXX" || \11880 test "X$hardcode_automatic_CXX"="Xyes" ; then11881 11882 # We can hardcode non-existant directories.11883 if test "$hardcode_direct_CXX" != no &&11884 # If the only mechanism to avoid hardcoding is shlibpath_var, we11885 # have to relink, otherwise we might link with an installed library11886 # when we should be linking with a yet-to-be-installed one11887 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&11888 test "$hardcode_minus_L_CXX" != no; then11889 # Linking always hardcodes the temporary library directory.11890 hardcode_action_CXX=relink11891 else11892 # We can link without hardcoding, and we can hardcode nonexisting dirs.11893 hardcode_action_CXX=immediate11894 fi11895 else11896 # We cannot hardcode anything, or else we can only hardcode existing11897 # directories.11898 hardcode_action_CXX=unsupported11899 fi11900 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&511901 echo "${ECHO_T}$hardcode_action_CXX" >&611902 11903 if test "$hardcode_action_CXX" = relink; then11904 # Fast installation is not supported11905 enable_fast_install=no11906 elif test "$shlibpath_overrides_runpath" = yes ||11907 test "$enable_shared" = no; then11908 # Fast installation is not necessary11909 enable_fast_install=needless11910 fi11911 11912 striplib=11913 old_striplib=11914 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&511915 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&611916 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then11917 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"11918 test -z "$striplib" && striplib="$STRIP --strip-unneeded"11919 echo "$as_me:$LINENO: result: yes" >&511920 echo "${ECHO_T}yes" >&611921 else11922 # FIXME - insert some real tests, host_os isn't really good enough11923 case $host_os in11924 darwin*)11925 if test -n "$STRIP" ; then11926 striplib="$STRIP -x"11927 echo "$as_me:$LINENO: result: yes" >&511928 echo "${ECHO_T}yes" >&611929 else11930 echo "$as_me:$LINENO: result: no" >&511931 echo "${ECHO_T}no" >&611932 fi11933 ;;11934 *)11935 echo "$as_me:$LINENO: result: no" >&511936 echo "${ECHO_T}no" >&611937 ;;11938 esac11939 fi11940 11941 11527 if test "x$enable_dlopen" != xyes; then 11942 11528 enable_dlopen=unknown … … 11974 11560 LIBS="-ldl $LIBS" 11975 11561 cat >conftest.$ac_ext <<_ACEOF 11562 #line $LINENO "configure" 11976 11563 /* confdefs.h. */ 11977 11564 _ACEOF … … 11997 11584 rm -f conftest.$ac_objext conftest$ac_exeext 11998 11585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11999 (eval $ac_link) 2> conftest.er111586 (eval $ac_link) 2>&5 12000 11587 ac_status=$? 12001 grep -v '^ *+' conftest.er1 >conftest.err12002 rm -f conftest.er112003 cat conftest.err >&512004 11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12005 11589 (exit $ac_status); } && 12006 { ac_try='test -z "$ac_cxx_werror_flag" 12007 || test ! -s conftest.err' 12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12009 (eval $ac_try) 2>&5 12010 ac_status=$? 12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12012 (exit $ac_status); }; } && 12013 { ac_try='test -s conftest$ac_exeext' 11590 { ac_try='test -s conftest$ac_exeext' 12014 11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12015 11592 (eval $ac_try) 2>&5 … … 12024 11601 ac_cv_lib_dl_dlopen=no 12025 11602 fi 12026 rm -f conftest.err conftest.$ac_objext \ 12027 conftest$ac_exeext conftest.$ac_ext 11603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12028 11604 LIBS=$ac_check_lib_save_LIBS 12029 11605 fi … … 12049 11625 else 12050 11626 cat >conftest.$ac_ext <<_ACEOF 11627 #line $LINENO "configure" 12051 11628 /* confdefs.h. */ 12052 11629 _ACEOF … … 12054 11631 cat >>conftest.$ac_ext <<_ACEOF 12055 11632 /* end confdefs.h. */ 12056 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.12057 For example, HP-UX 11i <limits.h> declares gettimeofday. */12058 #define shl_load innocuous_shl_load12059 12060 11633 /* System header to define __stub macros and hopefully few prototypes, 12061 11634 which can conflict with char shl_load (); below. 12062 11635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12063 11636 <limits.h> exists even on freestanding compilers. */ 12064 12065 11637 #ifdef __STDC__ 12066 11638 # include <limits.h> … … 12068 11640 # include <assert.h> 12069 11641 #endif 12070 12071 #undef shl_load12072 12073 11642 /* Override any gcc2 internal prototype to avoid an error. */ 12074 11643 #ifdef __cplusplus … … 12101 11670 rm -f conftest.$ac_objext conftest$ac_exeext 12102 11671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12103 (eval $ac_link) 2> conftest.er111672 (eval $ac_link) 2>&5 12104 11673 ac_status=$? 12105 grep -v '^ *+' conftest.er1 >conftest.err12106 rm -f conftest.er112107 cat conftest.err >&512108 11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12109 11675 (exit $ac_status); } && 12110 { ac_try='test -z "$ac_cxx_werror_flag" 12111 || test ! -s conftest.err' 12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12113 (eval $ac_try) 2>&5 12114 ac_status=$? 12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12116 (exit $ac_status); }; } && 12117 { ac_try='test -s conftest$ac_exeext' 11676 { ac_try='test -s conftest$ac_exeext' 12118 11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12119 11678 (eval $ac_try) 2>&5 … … 12128 11687 ac_cv_func_shl_load=no 12129 11688 fi 12130 rm -f conftest.err conftest.$ac_objext \ 12131 conftest$ac_exeext conftest.$ac_ext 11689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12132 11690 fi 12133 11691 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 12144 11702 LIBS="-ldld $LIBS" 12145 11703 cat >conftest.$ac_ext <<_ACEOF 11704 #line $LINENO "configure" 12146 11705 /* confdefs.h. */ 12147 11706 _ACEOF … … 12167 11726 rm -f conftest.$ac_objext conftest$ac_exeext 12168 11727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12169 (eval $ac_link) 2> conftest.er111728 (eval $ac_link) 2>&5 12170 11729 ac_status=$? 12171 grep -v '^ *+' conftest.er1 >conftest.err12172 rm -f conftest.er112173 cat conftest.err >&512174 11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12175 11731 (exit $ac_status); } && 12176 { ac_try='test -z "$ac_cxx_werror_flag" 12177 || test ! -s conftest.err' 12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12179 (eval $ac_try) 2>&5 12180 ac_status=$? 12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12182 (exit $ac_status); }; } && 12183 { ac_try='test -s conftest$ac_exeext' 11732 { ac_try='test -s conftest$ac_exeext' 12184 11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12185 11734 (eval $ac_try) 2>&5 … … 12194 11743 ac_cv_lib_dld_shl_load=no 12195 11744 fi 12196 rm -f conftest.err conftest.$ac_objext \ 12197 conftest$ac_exeext conftest.$ac_ext 11745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12198 11746 LIBS=$ac_check_lib_save_LIBS 12199 11747 fi … … 12209 11757 else 12210 11758 cat >conftest.$ac_ext <<_ACEOF 11759 #line $LINENO "configure" 12211 11760 /* confdefs.h. */ 12212 11761 _ACEOF … … 12214 11763 cat >>conftest.$ac_ext <<_ACEOF 12215 11764 /* end confdefs.h. */ 12216 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.12217 For example, HP-UX 11i <limits.h> declares gettimeofday. */12218 #define dlopen innocuous_dlopen12219 12220 11765 /* System header to define __stub macros and hopefully few prototypes, 12221 11766 which can conflict with char dlopen (); below. 12222 11767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12223 11768 <limits.h> exists even on freestanding compilers. */ 12224 12225 11769 #ifdef __STDC__ 12226 11770 # include <limits.h> … … 12228 11772 # include <assert.h> 12229 11773 #endif 12230 12231 #undef dlopen12232 12233 11774 /* Override any gcc2 internal prototype to avoid an error. */ 12234 11775 #ifdef __cplusplus … … 12261 11802 rm -f conftest.$ac_objext conftest$ac_exeext 12262 11803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12263 (eval $ac_link) 2> conftest.er111804 (eval $ac_link) 2>&5 12264 11805 ac_status=$? 12265 grep -v '^ *+' conftest.er1 >conftest.err12266 rm -f conftest.er112267 cat conftest.err >&512268 11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12269 11807 (exit $ac_status); } && 12270 { ac_try='test -z "$ac_cxx_werror_flag" 12271 || test ! -s conftest.err' 12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12273 (eval $ac_try) 2>&5 12274 ac_status=$? 12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12276 (exit $ac_status); }; } && 12277 { ac_try='test -s conftest$ac_exeext' 11808 { ac_try='test -s conftest$ac_exeext' 12278 11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12279 11810 (eval $ac_try) 2>&5 … … 12288 11819 ac_cv_func_dlopen=no 12289 11820 fi 12290 rm -f conftest.err conftest.$ac_objext \ 12291 conftest$ac_exeext conftest.$ac_ext 11821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12292 11822 fi 12293 11823 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 12304 11834 LIBS="-ldl $LIBS" 12305 11835 cat >conftest.$ac_ext <<_ACEOF 11836 #line $LINENO "configure" 12306 11837 /* confdefs.h. */ 12307 11838 _ACEOF … … 12327 11858 rm -f conftest.$ac_objext conftest$ac_exeext 12328 11859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12329 (eval $ac_link) 2> conftest.er111860 (eval $ac_link) 2>&5 12330 11861 ac_status=$? 12331 grep -v '^ *+' conftest.er1 >conftest.err12332 rm -f conftest.er112333 cat conftest.err >&512334 11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12335 11863 (exit $ac_status); } && 12336 { ac_try='test -z "$ac_cxx_werror_flag" 12337 || test ! -s conftest.err' 12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12339 (eval $ac_try) 2>&5 12340 ac_status=$? 12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12342 (exit $ac_status); }; } && 12343 { ac_try='test -s conftest$ac_exeext' 11864 { ac_try='test -s conftest$ac_exeext' 12344 11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12345 11866 (eval $ac_try) 2>&5 … … 12354 11875 ac_cv_lib_dl_dlopen=no 12355 11876 fi 12356 rm -f conftest.err conftest.$ac_objext \ 12357 conftest$ac_exeext conftest.$ac_ext 11877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12358 11878 LIBS=$ac_check_lib_save_LIBS 12359 11879 fi … … 12371 11891 LIBS="-lsvld $LIBS" 12372 11892 cat >conftest.$ac_ext <<_ACEOF 11893 #line $LINENO "configure" 12373 11894 /* confdefs.h. */ 12374 11895 _ACEOF … … 12394 11915 rm -f conftest.$ac_objext conftest$ac_exeext 12395 11916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12396 (eval $ac_link) 2> conftest.er111917 (eval $ac_link) 2>&5 12397 11918 ac_status=$? 12398 grep -v '^ *+' conftest.er1 >conftest.err12399 rm -f conftest.er112400 cat conftest.err >&512401 11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12402 11920 (exit $ac_status); } && 12403 { ac_try='test -z "$ac_cxx_werror_flag" 12404 || test ! -s conftest.err' 12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12406 (eval $ac_try) 2>&5 12407 ac_status=$? 12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12409 (exit $ac_status); }; } && 12410 { ac_try='test -s conftest$ac_exeext' 11921 { ac_try='test -s conftest$ac_exeext' 12411 11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12412 11923 (eval $ac_try) 2>&5 … … 12421 11932 ac_cv_lib_svld_dlopen=no 12422 11933 fi 12423 rm -f conftest.err conftest.$ac_objext \ 12424 conftest$ac_exeext conftest.$ac_ext 11934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12425 11935 LIBS=$ac_check_lib_save_LIBS 12426 11936 fi … … 12438 11948 LIBS="-ldld $LIBS" 12439 11949 cat >conftest.$ac_ext <<_ACEOF 11950 #line $LINENO "configure" 12440 11951 /* confdefs.h. */ 12441 11952 _ACEOF … … 12461 11972 rm -f conftest.$ac_objext conftest$ac_exeext 12462 11973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12463 (eval $ac_link) 2> conftest.er111974 (eval $ac_link) 2>&5 12464 11975 ac_status=$? 12465 grep -v '^ *+' conftest.er1 >conftest.err12466 rm -f conftest.er112467 cat conftest.err >&512468 11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12469 11977 (exit $ac_status); } && 12470 { ac_try='test -z "$ac_cxx_werror_flag" 12471 || test ! -s conftest.err' 12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12473 (eval $ac_try) 2>&5 12474 ac_status=$? 12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12476 (exit $ac_status); }; } && 12477 { ac_try='test -s conftest$ac_exeext' 11978 { ac_try='test -s conftest$ac_exeext' 12478 11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12479 11980 (eval $ac_try) 2>&5 … … 12488 11989 ac_cv_lib_dld_dld_link=no 12489 11990 fi 12490 rm -f conftest.err conftest.$ac_objext \ 12491 conftest$ac_exeext conftest.$ac_ext 11991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12492 11992 LIBS=$ac_check_lib_save_LIBS 12493 11993 fi … … 12544 12044 lt_status=$lt_dlunknown 12545 12045 cat > conftest.$ac_ext <<EOF 12546 #line 12 546 "configure"12046 #line 12046 "configure" 12547 12047 #include "confdefs.h" 12548 12048 … … 12642 12142 lt_status=$lt_dlunknown 12643 12143 cat > conftest.$ac_ext <<EOF 12644 #line 12 644 "configure"12144 #line 12144 "configure" 12645 12145 #include "confdefs.h" 12646 12146 … … 12759 12259 # careful not to overquote the AC_SUBSTed values. We take copies of the 12760 12260 # variables and quote the copies for generation of the libtool script. 12761 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 12762 SED SHELL STRIP \ 12261 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 12763 12262 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 12764 12263 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 12890 12389 12891 12390 # A symbol stripping program 12892 STRIP=$ lt_STRIP12391 STRIP=$STRIP 12893 12392 12894 12393 # Used to examine libraries when file_magic_cmd begins "file" … … 12921 12420 12922 12421 # Shared library suffix (normally ".so"). 12923 shrext _cmds='$shrext_cmds'12422 shrext='$shrext' 12924 12423 12925 12424 # Executable file suffix (normally ""). … … 13138 12637 # `config.status --recheck' to rerun these tests and create the 13139 12638 # libtool script then. 13140 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 13141 if test -f "$ltmain_in"; then 13142 test -f Makefile && make "$ltmain" 13143 fi 12639 test -f Makefile && make "$ltmain" 13144 12640 fi 13145 12641 … … 13243 12739 fi 13244 12740 ;; 13245 aix4* | aix5*)12741 aix4*) 13246 12742 test "$enable_shared" = yes && enable_static=no 13247 12743 ;; … … 13383 12879 linux*) 13384 12880 case $CC in 13385 icc * | ecc*)12881 icc|ecc) 13386 12882 lt_prog_compiler_wl_F77='-Wl,' 13387 12883 lt_prog_compiler_pic_F77='-KPIC' 13388 12884 lt_prog_compiler_static_F77='-static' 13389 12885 ;; 13390 ccc *)12886 ccc) 13391 12887 lt_prog_compiler_wl_F77='-Wl,' 13392 12888 # All Alpha code is PIC. … … 13450 12946 # 13451 12947 if test -n "$lt_prog_compiler_pic_F77"; then 13452 13453 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 12948 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 13454 12949 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 13455 12950 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then … … 13469 12964 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13470 12965 -e 's:$: $lt_compiler_flag:'` 13471 (eval echo "\"\$as_me:1 3471: $lt_compile\"" >&5)12966 (eval echo "\"\$as_me:12966: $lt_compile\"" >&5) 13472 12967 (eval "$lt_compile" 2>conftest.err) 13473 12968 ac_status=$? 13474 12969 cat conftest.err >&5 13475 echo "$as_me:1 3475: \$? = $ac_status" >&512970 echo "$as_me:12970: \$? = $ac_status" >&5 13476 12971 if (exit $ac_status) && test -s "$ac_outfile"; then 13477 12972 # The compiler can only warn and ignore the option if not recognized … … 13520 13015 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13521 13016 13017 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 13018 # that will create temporary files in the current directory regardless of 13019 # the output directory. Thus, making CWD read-only will cause this test 13020 # to fail, enabling locking or at least warning the user not to do parallel 13021 # builds. 13022 chmod -w . 13023 13522 13024 lt_compiler_flag="-o out/conftest2.$ac_objext" 13523 13025 # Insert the option either (1) after the last *FLAGS variable, or … … 13529 13031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13530 13032 -e 's:$: $lt_compiler_flag:'` 13531 (eval echo "\"\$as_me:13 531: $lt_compile\"" >&5)13033 (eval echo "\"\$as_me:13033: $lt_compile\"" >&5) 13532 13034 (eval "$lt_compile" 2>out/conftest.err) 13533 13035 ac_status=$? 13534 13036 cat out/conftest.err >&5 13535 echo "$as_me:13 535: \$? = $ac_status" >&513037 echo "$as_me:13037: \$? = $ac_status" >&5 13536 13038 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13537 13039 then … … 13543 13045 fi 13544 13046 chmod u+w . 13545 $rm conftest* 13546 # SGI C++ compiler will create directory out/ii_files/ for 13547 # template instantiation 13548 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13549 $rm out/* && rmdir out 13047 $rm conftest* out/* 13048 rmdir out 13550 13049 cd .. 13551 13050 rmdir conftest … … 13745 13244 13746 13245 linux*) 13747 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then13246 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 13748 13247 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13749 13248 archive_cmds_F77="$tmp_archive_cmds" … … 13903 13402 rm -f conftest.$ac_objext conftest$ac_exeext 13904 13403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13905 (eval $ac_link) 2> conftest.er113404 (eval $ac_link) 2>&5 13906 13405 ac_status=$? 13907 grep -v '^ *+' conftest.er1 >conftest.err13908 rm -f conftest.er113909 cat conftest.err >&513910 13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13911 13407 (exit $ac_status); } && 13912 { ac_try='test -z "$ac_f77_werror_flag" 13913 || test ! -s conftest.err' 13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13915 (eval $ac_try) 2>&5 13916 ac_status=$? 13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13918 (exit $ac_status); }; } && 13919 { ac_try='test -s conftest$ac_exeext' 13408 { ac_try='test -s conftest$ac_exeext' 13920 13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13921 13410 (eval $ac_try) 2>&5 … … 13934 13423 13935 13424 fi 13936 rm -f conftest.err conftest.$ac_objext \ 13937 conftest$ac_exeext conftest.$ac_ext 13425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13938 13426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13939 13427 … … 13954 13442 rm -f conftest.$ac_objext conftest$ac_exeext 13955 13443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13956 (eval $ac_link) 2> conftest.er113444 (eval $ac_link) 2>&5 13957 13445 ac_status=$? 13958 grep -v '^ *+' conftest.er1 >conftest.err13959 rm -f conftest.er113960 cat conftest.err >&513961 13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13962 13447 (exit $ac_status); } && 13963 { ac_try='test -z "$ac_f77_werror_flag" 13964 || test ! -s conftest.err' 13965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13966 (eval $ac_try) 2>&5 13967 ac_status=$? 13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13969 (exit $ac_status); }; } && 13970 { ac_try='test -s conftest$ac_exeext' 13448 { ac_try='test -s conftest$ac_exeext' 13971 13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13972 13450 (eval $ac_try) 2>&5 … … 13985 13463 13986 13464 fi 13987 rm -f conftest.err conftest.$ac_objext \ 13988 conftest$ac_exeext conftest.$ac_ext 13465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13989 13466 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13990 13467 … … 14027 13504 libext=lib 14028 13505 # Tell ltmain to make .dll files, not .so files. 14029 shrext _cmds=".dll"13506 shrext=".dll" 14030 13507 # FIXME: Setting linknames here is a bad hack. 14031 13508 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 14039 13516 14040 13517 darwin* | rhapsody*) 14041 if test "$GXX" = yes; then13518 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 14042 13519 archive_cmds_need_lc_F77=no 14043 13520 case "$host_os" in … … 14046 13523 ;; 14047 13524 *) # Darwin 1.3 on 14048 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 14049 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14050 else 14051 case ${MACOSX_DEPLOYMENT_TARGET} in 14052 10.[012]) 14053 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14054 ;; 14055 10.*) 14056 allow_undefined_flag_F77='-undefined dynamic_lookup' 14057 ;; 14058 esac 14059 fi 13525 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14060 13526 ;; 14061 13527 esac 13528 # FIXME: Relying on posixy $() will cause problems for 13529 # cross-compilation, but unfortunately the echo tests do not 13530 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 13531 # `"' quotes if we put them in here... so don't! 14062 13532 lt_int_apple_cc_single_mod=no 14063 13533 output_verbose_link_cmd='echo' … … 14070 13540 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' 14071 13541 fi 14072 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'13542 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 14073 13543 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 14074 13544 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 14077 13547 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}' 14078 13548 fi 14079 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}'13549 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 14080 13550 hardcode_direct_F77=no 14081 13551 hardcode_automatic_F77=yes … … 14083 13553 whole_archive_flag_spec_F77='-all_load $convenience' 14084 13554 link_all_deplibs_F77=yes 14085 else14086 ld_shlibs_F77=no14087 13555 fi 14088 13556 ;; … … 14118 13586 14119 13587 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 14120 freebsd* | kfreebsd*-gnu)13588 freebsd*) 14121 13589 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 14122 13590 hardcode_libdir_flag_spec_F77='-R$libdir' … … 14478 13946 esac 14479 13947 13948 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 13949 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 13950 hardcode_action_F77= 13951 if test -n "$hardcode_libdir_flag_spec_F77" || \ 13952 test -n "$runpath_var F77" || \ 13953 test "X$hardcode_automatic_F77"="Xyes" ; then 13954 13955 # We can hardcode non-existant directories. 13956 if test "$hardcode_direct_F77" != no && 13957 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13958 # have to relink, otherwise we might link with an installed library 13959 # when we should be linking with a yet-to-be-installed one 13960 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 13961 test "$hardcode_minus_L_F77" != no; then 13962 # Linking always hardcodes the temporary library directory. 13963 hardcode_action_F77=relink 13964 else 13965 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13966 hardcode_action_F77=immediate 13967 fi 13968 else 13969 # We cannot hardcode anything, or else we can only hardcode existing 13970 # directories. 13971 hardcode_action_F77=unsupported 13972 fi 13973 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 13974 echo "${ECHO_T}$hardcode_action_F77" >&6 13975 13976 if test "$hardcode_action_F77" = relink; then 13977 # Fast installation is not supported 13978 enable_fast_install=no 13979 elif test "$shlibpath_overrides_runpath" = yes || 13980 test "$enable_shared" = no; then 13981 # Fast installation is not necessary 13982 enable_fast_install=needless 13983 fi 13984 13985 striplib= 13986 old_striplib= 13987 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 13988 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 13989 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 13990 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13991 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13992 echo "$as_me:$LINENO: result: yes" >&5 13993 echo "${ECHO_T}yes" >&6 13994 else 13995 # FIXME - insert some real tests, host_os isn't really good enough 13996 case $host_os in 13997 darwin*) 13998 if test -n "$STRIP" ; then 13999 striplib="$STRIP -x" 14000 echo "$as_me:$LINENO: result: yes" >&5 14001 echo "${ECHO_T}yes" >&6 14002 else 14003 echo "$as_me:$LINENO: result: no" >&5 14004 echo "${ECHO_T}no" >&6 14005 fi 14006 ;; 14007 *) 14008 echo "$as_me:$LINENO: result: no" >&5 14009 echo "${ECHO_T}no" >&6 14010 ;; 14011 esac 14012 fi 14013 14480 14014 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 14481 14015 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 14483 14017 libname_spec='lib$name' 14484 14018 soname_spec= 14485 shrext _cmds=".so"14019 shrext=".so" 14486 14020 postinstall_cmds= 14487 14021 postuninstall_cmds= … … 14571 14105 library_names_spec='$libname.ixlibrary $libname.a' 14572 14106 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14573 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'14107 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' 14574 14108 ;; 14575 14109 … … 14596 14130 cygwin* | mingw* | pw32*) 14597 14131 version_type=windows 14598 shrext _cmds=".dll"14132 shrext=".dll" 14599 14133 need_version=no 14600 14134 need_lib_prefix=no … … 14618 14152 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14619 14153 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14620 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"14154 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 14621 14155 ;; 14622 14156 mingw*) … … 14657 14191 need_lib_prefix=no 14658 14192 need_version=no 14193 # FIXME: Relying on posixy $() will cause problems for 14194 # cross-compilation, but unfortunately the echo tests do not 14195 # yet detect zsh echo's removal of \ escapes. 14659 14196 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14660 14197 soname_spec='${libname}${release}${major}$shared_ext' 14661 14198 shlibpath_overrides_runpath=yes 14662 14199 shlibpath_var=DYLD_LIBRARY_PATH 14663 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'14200 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 14664 14201 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 14665 if test "$GCC" = yes; then 14666 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"` 14667 else 14668 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 14202 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 14203 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"` 14669 14204 fi 14670 14205 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 14682 14217 freebsd1*) 14683 14218 dynamic_linker=no 14684 ;;14685 14686 kfreebsd*-gnu)14687 version_type=linux14688 need_lib_prefix=no14689 need_version=no14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'14691 soname_spec='${libname}${release}${shared_ext}$major'14692 shlibpath_var=LD_LIBRARY_PATH14693 shlibpath_overrides_runpath=no14694 hardcode_into_libs=yes14695 dynamic_linker='GNU ld.so'14696 14219 ;; 14697 14220 … … 14744 14267 case "$host_cpu" in 14745 14268 ia64*) 14746 shrext _cmds='.so'14269 shrext='.so' 14747 14270 hardcode_into_libs=yes 14748 14271 dynamic_linker="$host_os dld.so" … … 14759 14282 ;; 14760 14283 hppa*64*) 14761 shrext _cmds='.sl'14284 shrext='.sl' 14762 14285 hardcode_into_libs=yes 14763 14286 dynamic_linker="$host_os dld.sl" … … 14770 14293 ;; 14771 14294 *) 14772 shrext _cmds='.sl'14295 shrext='.sl' 14773 14296 dynamic_linker="$host_os dld.sl" 14774 14297 shlibpath_var=SHLIB_PATH … … 14839 14362 hardcode_into_libs=yes 14840 14363 14841 # find out which ABI we are using 14364 # We used to test for /lib/ld.so.1 and disable shared libraries on 14365 # powerpc, because MkLinux only supported shared libraries with the 14366 # GNU dynamic linker. Since this was broken with cross compilers, 14367 # most powerpc-linux boxes support dynamic linking these days and 14368 # people can always --disable-shared, the test was removed, and we 14369 # assume the GNU/Linux dynamic linker is in use. 14370 dynamic_linker='GNU/Linux ld.so' 14371 14372 # Find out which ABI we are using (multilib Linux x86_64 hack). 14842 14373 libsuff= 14843 14374 case "$host_cpu" in 14844 14375 x86_64*|s390x*|powerpc64*) 14845 echo '#line 14 845"configure"' > conftest.$ac_ext14376 echo '#line 14376 "configure"' > conftest.$ac_ext 14846 14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14847 14378 (eval $ac_compile) 2>&5 … … 14852 14383 *64-bit*) 14853 14384 libsuff=64 14854 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"14855 14385 ;; 14856 14386 esac … … 14858 14388 rm -rf conftest* 14859 14389 ;; 14390 *) 14391 ;; 14860 14392 esac 14861 14862 # Append ld.so.conf contents to the search path 14863 if test -f /etc/ld.so.conf; then 14864 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 14865 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 14866 fi 14867 14868 # We used to test for /lib/ld.so.1 and disable shared libraries on 14869 # powerpc, because MkLinux only supported shared libraries with the 14870 # GNU dynamic linker. Since this was broken with cross compilers, 14871 # most powerpc-linux boxes support dynamic linking these days and 14872 # people can always --disable-shared, the test was removed, and we 14873 # assume the GNU/Linux dynamic linker is in use. 14874 dynamic_linker='GNU/Linux ld.so' 14875 ;; 14876 14877 knetbsd*-gnu) 14878 version_type=linux 14879 need_lib_prefix=no 14880 need_version=no 14881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14882 soname_spec='${libname}${release}${shared_ext}$major' 14883 shlibpath_var=LD_LIBRARY_PATH 14884 shlibpath_overrides_runpath=no 14885 hardcode_into_libs=yes 14886 dynamic_linker='GNU ld.so' 14393 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 14394 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 14887 14395 ;; 14888 14396 … … 14896 14404 dynamic_linker='NetBSD (a.out) ld.so' 14897 14405 else 14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 14899 14407 soname_spec='${libname}${release}${shared_ext}$major' 14900 14408 dynamic_linker='NetBSD ld.elf_so' … … 14912 14420 ;; 14913 14421 14914 nto-qnx *)14422 nto-qnx) 14915 14423 version_type=linux 14916 14424 need_lib_prefix=no … … 14925 14433 version_type=sunos 14926 14434 need_lib_prefix=no 14927 need_version= yes14435 need_version=no 14928 14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14929 14437 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 14945 14453 os2*) 14946 14454 libname_spec='$name' 14947 shrext _cmds=".dll"14455 shrext=".dll" 14948 14456 need_lib_prefix=no 14949 14457 library_names_spec='$libname${shared_ext} $libname.a' … … 15042 14550 echo "${ECHO_T}$dynamic_linker" >&6 15043 14551 test "$dynamic_linker" = no && can_build_shared=no 15044 15045 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&515046 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&615047 hardcode_action_F77=15048 if test -n "$hardcode_libdir_flag_spec_F77" || \15049 test -n "$runpath_var F77" || \15050 test "X$hardcode_automatic_F77"="Xyes" ; then15051 15052 # We can hardcode non-existant directories.15053 if test "$hardcode_direct_F77" != no &&15054 # If the only mechanism to avoid hardcoding is shlibpath_var, we15055 # have to relink, otherwise we might link with an installed library15056 # when we should be linking with a yet-to-be-installed one15057 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&15058 test "$hardcode_minus_L_F77" != no; then15059 # Linking always hardcodes the temporary library directory.15060 hardcode_action_F77=relink15061 else15062 # We can link without hardcoding, and we can hardcode nonexisting dirs.15063 hardcode_action_F77=immediate15064 fi15065 else15066 # We cannot hardcode anything, or else we can only hardcode existing15067 # directories.15068 hardcode_action_F77=unsupported15069 fi15070 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&515071 echo "${ECHO_T}$hardcode_action_F77" >&615072 15073 if test "$hardcode_action_F77" = relink; then15074 # Fast installation is not supported15075 enable_fast_install=no15076 elif test "$shlibpath_overrides_runpath" = yes ||15077 test "$enable_shared" = no; then15078 # Fast installation is not necessary15079 enable_fast_install=needless15080 fi15081 15082 striplib=15083 old_striplib=15084 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&515085 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&615086 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then15087 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"15088 test -z "$striplib" && striplib="$STRIP --strip-unneeded"15089 echo "$as_me:$LINENO: result: yes" >&515090 echo "${ECHO_T}yes" >&615091 else15092 # FIXME - insert some real tests, host_os isn't really good enough15093 case $host_os in15094 darwin*)15095 if test -n "$STRIP" ; then15096 striplib="$STRIP -x"15097 echo "$as_me:$LINENO: result: yes" >&515098 echo "${ECHO_T}yes" >&615099 else15100 echo "$as_me:$LINENO: result: no" >&515101 echo "${ECHO_T}no" >&615102 fi15103 ;;15104 *)15105 echo "$as_me:$LINENO: result: no" >&515106 echo "${ECHO_T}no" >&615107 ;;15108 esac15109 fi15110 15111 14552 15112 14553 … … 15124 14565 # careful not to overquote the AC_SUBSTed values. We take copies of the 15125 14566 # variables and quote the copies for generation of the libtool script. 15126 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 15127 SED SHELL STRIP \ 14567 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 15128 14568 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 15129 14569 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 15255 14695 15256 14696 # A symbol stripping program 15257 STRIP=$ lt_STRIP14697 STRIP=$STRIP 15258 14698 15259 14699 # Used to examine libraries when file_magic_cmd begins "file" … … 15286 14726 15287 14727 # Shared library suffix (normally ".so"). 15288 shrext _cmds='$shrext_cmds'14728 shrext='$shrext' 15289 14729 15290 14730 # Executable file suffix (normally ""). … … 15503 14943 # `config.status --recheck' to rerun these tests and create the 15504 14944 # libtool script then. 15505 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 15506 if test -f "$ltmain_in"; then 15507 test -f Makefile && make "$ltmain" 15508 fi 14945 test -f Makefile && make "$ltmain" 15509 14946 fi 15510 14947 … … 15565 15002 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 15566 15003 15567 15568 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15004 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15569 15005 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 15570 15006 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 15584 15020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15585 15021 -e 's:$: $lt_compiler_flag:'` 15586 (eval echo "\"\$as_me:15 586: $lt_compile\"" >&5)15022 (eval echo "\"\$as_me:15022: $lt_compile\"" >&5) 15587 15023 (eval "$lt_compile" 2>conftest.err) 15588 15024 ac_status=$? 15589 15025 cat conftest.err >&5 15590 echo "$as_me:15 590: \$? = $ac_status" >&515026 echo "$as_me:15026: \$? = $ac_status" >&5 15591 15027 if (exit $ac_status) && test -s "$ac_outfile"; then 15592 15028 # The compiler can only warn and ignore the option if not recognized … … 15731 15167 linux*) 15732 15168 case $CC in 15733 icc * | ecc*)15169 icc|ecc) 15734 15170 lt_prog_compiler_wl_GCJ='-Wl,' 15735 15171 lt_prog_compiler_pic_GCJ='-KPIC' 15736 15172 lt_prog_compiler_static_GCJ='-static' 15737 15173 ;; 15738 ccc *)15174 ccc) 15739 15175 lt_prog_compiler_wl_GCJ='-Wl,' 15740 15176 # All Alpha code is PIC. … … 15798 15234 # 15799 15235 if test -n "$lt_prog_compiler_pic_GCJ"; then 15800 15801 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15236 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15802 15237 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 15803 15238 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then … … 15817 15252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15818 15253 -e 's:$: $lt_compiler_flag:'` 15819 (eval echo "\"\$as_me:15 819: $lt_compile\"" >&5)15254 (eval echo "\"\$as_me:15254: $lt_compile\"" >&5) 15820 15255 (eval "$lt_compile" 2>conftest.err) 15821 15256 ac_status=$? 15822 15257 cat conftest.err >&5 15823 echo "$as_me:15 823: \$? = $ac_status" >&515258 echo "$as_me:15258: \$? = $ac_status" >&5 15824 15259 if (exit $ac_status) && test -s "$ac_outfile"; then 15825 15260 # The compiler can only warn and ignore the option if not recognized … … 15868 15303 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15869 15304 15305 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 15306 # that will create temporary files in the current directory regardless of 15307 # the output directory. Thus, making CWD read-only will cause this test 15308 # to fail, enabling locking or at least warning the user not to do parallel 15309 # builds. 15310 chmod -w . 15311 15870 15312 lt_compiler_flag="-o out/conftest2.$ac_objext" 15871 15313 # Insert the option either (1) after the last *FLAGS variable, or … … 15877 15319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15878 15320 -e 's:$: $lt_compiler_flag:'` 15879 (eval echo "\"\$as_me:15 879: $lt_compile\"" >&5)15321 (eval echo "\"\$as_me:15321: $lt_compile\"" >&5) 15880 15322 (eval "$lt_compile" 2>out/conftest.err) 15881 15323 ac_status=$? 15882 15324 cat out/conftest.err >&5 15883 echo "$as_me:15 883: \$? = $ac_status" >&515325 echo "$as_me:15325: \$? = $ac_status" >&5 15884 15326 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15885 15327 then … … 15891 15333 fi 15892 15334 chmod u+w . 15893 $rm conftest* 15894 # SGI C++ compiler will create directory out/ii_files/ for 15895 # template instantiation 15896 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15897 $rm out/* && rmdir out 15335 $rm conftest* out/* 15336 rmdir out 15898 15337 cd .. 15899 15338 rmdir conftest … … 16093 15532 16094 15533 linux*) 16095 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then15534 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 16096 15535 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16097 15536 archive_cmds_GCJ="$tmp_archive_cmds" … … 16245 15684 # Determine the default libpath from the value encoded in an empty executable. 16246 15685 cat >conftest.$ac_ext <<_ACEOF 15686 #line $LINENO "configure" 16247 15687 /* confdefs.h. */ 16248 15688 _ACEOF … … 16261 15701 rm -f conftest.$ac_objext conftest$ac_exeext 16262 15702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16263 (eval $ac_link) 2> conftest.er115703 (eval $ac_link) 2>&5 16264 15704 ac_status=$? 16265 grep -v '^ *+' conftest.er1 >conftest.err16266 rm -f conftest.er116267 cat conftest.err >&516268 15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16269 15706 (exit $ac_status); } && 16270 { ac_try='test -z "$ac_c_werror_flag" 16271 || test ! -s conftest.err' 16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16273 (eval $ac_try) 2>&5 16274 ac_status=$? 16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16276 (exit $ac_status); }; } && 16277 { ac_try='test -s conftest$ac_exeext' 15707 { ac_try='test -s conftest$ac_exeext' 16278 15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16279 15709 (eval $ac_try) 2>&5 … … 16292 15722 16293 15723 fi 16294 rm -f conftest.err conftest.$ac_objext \ 16295 conftest$ac_exeext conftest.$ac_ext 15724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16296 15725 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 16297 15726 … … 16306 15735 # Determine the default libpath from the value encoded in an empty executable. 16307 15736 cat >conftest.$ac_ext <<_ACEOF 15737 #line $LINENO "configure" 16308 15738 /* confdefs.h. */ 16309 15739 _ACEOF … … 16322 15752 rm -f conftest.$ac_objext conftest$ac_exeext 16323 15753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16324 (eval $ac_link) 2> conftest.er115754 (eval $ac_link) 2>&5 16325 15755 ac_status=$? 16326 grep -v '^ *+' conftest.er1 >conftest.err16327 rm -f conftest.er116328 cat conftest.err >&516329 15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16330 15757 (exit $ac_status); } && 16331 { ac_try='test -z "$ac_c_werror_flag" 16332 || test ! -s conftest.err' 16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16334 (eval $ac_try) 2>&5 16335 ac_status=$? 16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16337 (exit $ac_status); }; } && 16338 { ac_try='test -s conftest$ac_exeext' 15758 { ac_try='test -s conftest$ac_exeext' 16339 15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16340 15760 (eval $ac_try) 2>&5 … … 16353 15773 16354 15774 fi 16355 rm -f conftest.err conftest.$ac_objext \ 16356 conftest$ac_exeext conftest.$ac_ext 15775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16357 15776 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 16358 15777 … … 16395 15814 libext=lib 16396 15815 # Tell ltmain to make .dll files, not .so files. 16397 shrext _cmds=".dll"15816 shrext=".dll" 16398 15817 # FIXME: Setting linknames here is a bad hack. 16399 15818 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 16407 15826 16408 15827 darwin* | rhapsody*) 16409 if test "$GXX" = yes; then15828 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 16410 15829 archive_cmds_need_lc_GCJ=no 16411 15830 case "$host_os" in … … 16414 15833 ;; 16415 15834 *) # Darwin 1.3 on 16416 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 16417 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16418 else 16419 case ${MACOSX_DEPLOYMENT_TARGET} in 16420 10.[012]) 16421 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16422 ;; 16423 10.*) 16424 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 16425 ;; 16426 esac 16427 fi 15835 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16428 15836 ;; 16429 15837 esac 15838 # FIXME: Relying on posixy $() will cause problems for 15839 # cross-compilation, but unfortunately the echo tests do not 15840 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 15841 # `"' quotes if we put them in here... so don't! 16430 15842 lt_int_apple_cc_single_mod=no 16431 15843 output_verbose_link_cmd='echo' … … 16438 15850 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' 16439 15851 fi 16440 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'15852 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 16441 15853 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 16442 15854 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 16445 15857 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}' 16446 15858 fi 16447 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}'15859 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16448 15860 hardcode_direct_GCJ=no 16449 15861 hardcode_automatic_GCJ=yes … … 16451 15863 whole_archive_flag_spec_GCJ='-all_load $convenience' 16452 15864 link_all_deplibs_GCJ=yes 16453 else16454 ld_shlibs_GCJ=no16455 15865 fi 16456 15866 ;; … … 16486 15896 16487 15897 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 16488 freebsd* | kfreebsd*-gnu)15898 freebsd*) 16489 15899 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 16490 15900 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16846 16256 esac 16847 16257 16258 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16259 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 16260 hardcode_action_GCJ= 16261 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 16262 test -n "$runpath_var GCJ" || \ 16263 test "X$hardcode_automatic_GCJ"="Xyes" ; then 16264 16265 # We can hardcode non-existant directories. 16266 if test "$hardcode_direct_GCJ" != no && 16267 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16268 # have to relink, otherwise we might link with an installed library 16269 # when we should be linking with a yet-to-be-installed one 16270 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 16271 test "$hardcode_minus_L_GCJ" != no; then 16272 # Linking always hardcodes the temporary library directory. 16273 hardcode_action_GCJ=relink 16274 else 16275 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16276 hardcode_action_GCJ=immediate 16277 fi 16278 else 16279 # We cannot hardcode anything, or else we can only hardcode existing 16280 # directories. 16281 hardcode_action_GCJ=unsupported 16282 fi 16283 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 16284 echo "${ECHO_T}$hardcode_action_GCJ" >&6 16285 16286 if test "$hardcode_action_GCJ" = relink; then 16287 # Fast installation is not supported 16288 enable_fast_install=no 16289 elif test "$shlibpath_overrides_runpath" = yes || 16290 test "$enable_shared" = no; then 16291 # Fast installation is not necessary 16292 enable_fast_install=needless 16293 fi 16294 16295 striplib= 16296 old_striplib= 16297 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 16298 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 16299 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 16300 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16301 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16302 echo "$as_me:$LINENO: result: yes" >&5 16303 echo "${ECHO_T}yes" >&6 16304 else 16305 # FIXME - insert some real tests, host_os isn't really good enough 16306 case $host_os in 16307 darwin*) 16308 if test -n "$STRIP" ; then 16309 striplib="$STRIP -x" 16310 echo "$as_me:$LINENO: result: yes" >&5 16311 echo "${ECHO_T}yes" >&6 16312 else 16313 echo "$as_me:$LINENO: result: no" >&5 16314 echo "${ECHO_T}no" >&6 16315 fi 16316 ;; 16317 *) 16318 echo "$as_me:$LINENO: result: no" >&5 16319 echo "${ECHO_T}no" >&6 16320 ;; 16321 esac 16322 fi 16323 16848 16324 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16849 16325 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 16851 16327 libname_spec='lib$name' 16852 16328 soname_spec= 16853 shrext _cmds=".so"16329 shrext=".so" 16854 16330 postinstall_cmds= 16855 16331 postuninstall_cmds= … … 16939 16415 library_names_spec='$libname.ixlibrary $libname.a' 16940 16416 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16941 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'16417 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' 16942 16418 ;; 16943 16419 … … 16964 16440 cygwin* | mingw* | pw32*) 16965 16441 version_type=windows 16966 shrext _cmds=".dll"16442 shrext=".dll" 16967 16443 need_version=no 16968 16444 need_lib_prefix=no … … 16986 16462 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16987 16463 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16988 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"16464 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 16989 16465 ;; 16990 16466 mingw*) … … 17025 16501 need_lib_prefix=no 17026 16502 need_version=no 16503 # FIXME: Relying on posixy $() will cause problems for 16504 # cross-compilation, but unfortunately the echo tests do not 16505 # yet detect zsh echo's removal of \ escapes. 17027 16506 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 17028 16507 soname_spec='${libname}${release}${major}$shared_ext' 17029 16508 shlibpath_overrides_runpath=yes 17030 16509 shlibpath_var=DYLD_LIBRARY_PATH 17031 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'16510 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 17032 16511 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 17033 if test "$GCC" = yes; then 17034 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"` 17035 else 17036 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 16512 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 16513 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"` 17037 16514 fi 17038 16515 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 17050 16527 freebsd1*) 17051 16528 dynamic_linker=no 17052 ;;17053 17054 kfreebsd*-gnu)17055 version_type=linux17056 need_lib_prefix=no17057 need_version=no17058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'17059 soname_spec='${libname}${release}${shared_ext}$major'17060 shlibpath_var=LD_LIBRARY_PATH17061 shlibpath_overrides_runpath=no17062 hardcode_into_libs=yes17063 dynamic_linker='GNU ld.so'17064 16529 ;; 17065 16530 … … 17112 16577 case "$host_cpu" in 17113 16578 ia64*) 17114 shrext _cmds='.so'16579 shrext='.so' 17115 16580 hardcode_into_libs=yes 17116 16581 dynamic_linker="$host_os dld.so" … … 17127 16592 ;; 17128 16593 hppa*64*) 17129 shrext _cmds='.sl'16594 shrext='.sl' 17130 16595 hardcode_into_libs=yes 17131 16596 dynamic_linker="$host_os dld.sl" … … 17138 16603 ;; 17139 16604 *) 17140 shrext _cmds='.sl'16605 shrext='.sl' 17141 16606 dynamic_linker="$host_os dld.sl" 17142 16607 shlibpath_var=SHLIB_PATH … … 17207 16672 hardcode_into_libs=yes 17208 16673 17209 # find out which ABI we are using 16674 # We used to test for /lib/ld.so.1 and disable shared libraries on 16675 # powerpc, because MkLinux only supported shared libraries with the 16676 # GNU dynamic linker. Since this was broken with cross compilers, 16677 # most powerpc-linux boxes support dynamic linking these days and 16678 # people can always --disable-shared, the test was removed, and we 16679 # assume the GNU/Linux dynamic linker is in use. 16680 dynamic_linker='GNU/Linux ld.so' 16681 16682 # Find out which ABI we are using (multilib Linux x86_64 hack). 17210 16683 libsuff= 17211 16684 case "$host_cpu" in 17212 16685 x86_64*|s390x*|powerpc64*) 17213 echo '#line 1 7213"configure"' > conftest.$ac_ext16686 echo '#line 16686 "configure"' > conftest.$ac_ext 17214 16687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17215 16688 (eval $ac_compile) 2>&5 … … 17220 16693 *64-bit*) 17221 16694 libsuff=64 17222 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"17223 16695 ;; 17224 16696 esac … … 17226 16698 rm -rf conftest* 17227 16699 ;; 16700 *) 16701 ;; 17228 16702 esac 17229 17230 # Append ld.so.conf contents to the search path 17231 if test -f /etc/ld.so.conf; then 17232 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 17233 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 17234 fi 17235 17236 # We used to test for /lib/ld.so.1 and disable shared libraries on 17237 # powerpc, because MkLinux only supported shared libraries with the 17238 # GNU dynamic linker. Since this was broken with cross compilers, 17239 # most powerpc-linux boxes support dynamic linking these days and 17240 # people can always --disable-shared, the test was removed, and we 17241 # assume the GNU/Linux dynamic linker is in use. 17242 dynamic_linker='GNU/Linux ld.so' 17243 ;; 17244 17245 knetbsd*-gnu) 17246 version_type=linux 17247 need_lib_prefix=no 17248 need_version=no 17249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 17250 soname_spec='${libname}${release}${shared_ext}$major' 17251 shlibpath_var=LD_LIBRARY_PATH 17252 shlibpath_overrides_runpath=no 17253 hardcode_into_libs=yes 17254 dynamic_linker='GNU ld.so' 16703 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 16704 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 17255 16705 ;; 17256 16706 … … 17264 16714 dynamic_linker='NetBSD (a.out) ld.so' 17265 16715 else 17266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'16716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 17267 16717 soname_spec='${libname}${release}${shared_ext}$major' 17268 16718 dynamic_linker='NetBSD ld.elf_so' … … 17280 16730 ;; 17281 16731 17282 nto-qnx *)16732 nto-qnx) 17283 16733 version_type=linux 17284 16734 need_lib_prefix=no … … 17293 16743 version_type=sunos 17294 16744 need_lib_prefix=no 17295 need_version= yes16745 need_version=no 17296 16746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 17297 16747 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 17313 16763 os2*) 17314 16764 libname_spec='$name' 17315 shrext _cmds=".dll"16765 shrext=".dll" 17316 16766 need_lib_prefix=no 17317 16767 library_names_spec='$libname${shared_ext} $libname.a' … … 17411 16861 test "$dynamic_linker" = no && can_build_shared=no 17412 16862 17413 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&517414 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&617415 hardcode_action_GCJ=17416 if test -n "$hardcode_libdir_flag_spec_GCJ" || \17417 test -n "$runpath_var GCJ" || \17418 test "X$hardcode_automatic_GCJ"="Xyes" ; then17419 17420 # We can hardcode non-existant directories.17421 if test "$hardcode_direct_GCJ" != no &&17422 # If the only mechanism to avoid hardcoding is shlibpath_var, we17423 # have to relink, otherwise we might link with an installed library17424 # when we should be linking with a yet-to-be-installed one17425 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&17426 test "$hardcode_minus_L_GCJ" != no; then17427 # Linking always hardcodes the temporary library directory.17428 hardcode_action_GCJ=relink17429 else17430 # We can link without hardcoding, and we can hardcode nonexisting dirs.17431 hardcode_action_GCJ=immediate17432 fi17433 else17434 # We cannot hardcode anything, or else we can only hardcode existing17435 # directories.17436 hardcode_action_GCJ=unsupported17437 fi17438 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&517439 echo "${ECHO_T}$hardcode_action_GCJ" >&617440 17441 if test "$hardcode_action_GCJ" = relink; then17442 # Fast installation is not supported17443 enable_fast_install=no17444 elif test "$shlibpath_overrides_runpath" = yes ||17445 test "$enable_shared" = no; then17446 # Fast installation is not necessary17447 enable_fast_install=needless17448 fi17449 17450 striplib=17451 old_striplib=17452 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&517453 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&617454 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then17455 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"17456 test -z "$striplib" && striplib="$STRIP --strip-unneeded"17457 echo "$as_me:$LINENO: result: yes" >&517458 echo "${ECHO_T}yes" >&617459 else17460 # FIXME - insert some real tests, host_os isn't really good enough17461 case $host_os in17462 darwin*)17463 if test -n "$STRIP" ; then17464 striplib="$STRIP -x"17465 echo "$as_me:$LINENO: result: yes" >&517466 echo "${ECHO_T}yes" >&617467 else17468 echo "$as_me:$LINENO: result: no" >&517469 echo "${ECHO_T}no" >&617470 fi17471 ;;17472 *)17473 echo "$as_me:$LINENO: result: no" >&517474 echo "${ECHO_T}no" >&617475 ;;17476 esac17477 fi17478 17479 16863 if test "x$enable_dlopen" != xyes; then 17480 16864 enable_dlopen=unknown … … 17512 16896 LIBS="-ldl $LIBS" 17513 16897 cat >conftest.$ac_ext <<_ACEOF 16898 #line $LINENO "configure" 17514 16899 /* confdefs.h. */ 17515 16900 _ACEOF … … 17535 16920 rm -f conftest.$ac_objext conftest$ac_exeext 17536 16921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17537 (eval $ac_link) 2> conftest.er116922 (eval $ac_link) 2>&5 17538 16923 ac_status=$? 17539 grep -v '^ *+' conftest.er1 >conftest.err17540 rm -f conftest.er117541 cat conftest.err >&517542 16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17543 16925 (exit $ac_status); } && 17544 { ac_try='test -z "$ac_c_werror_flag" 17545 || test ! -s conftest.err' 17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17547 (eval $ac_try) 2>&5 17548 ac_status=$? 17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17550 (exit $ac_status); }; } && 17551 { ac_try='test -s conftest$ac_exeext' 16926 { ac_try='test -s conftest$ac_exeext' 17552 16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17553 16928 (eval $ac_try) 2>&5 … … 17562 16937 ac_cv_lib_dl_dlopen=no 17563 16938 fi 17564 rm -f conftest.err conftest.$ac_objext \ 17565 conftest$ac_exeext conftest.$ac_ext 16939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17566 16940 LIBS=$ac_check_lib_save_LIBS 17567 16941 fi … … 17587 16961 else 17588 16962 cat >conftest.$ac_ext <<_ACEOF 16963 #line $LINENO "configure" 17589 16964 /* confdefs.h. */ 17590 16965 _ACEOF … … 17592 16967 cat >>conftest.$ac_ext <<_ACEOF 17593 16968 /* end confdefs.h. */ 17594 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.17595 For example, HP-UX 11i <limits.h> declares gettimeofday. */17596 #define shl_load innocuous_shl_load17597 17598 16969 /* System header to define __stub macros and hopefully few prototypes, 17599 16970 which can conflict with char shl_load (); below. 17600 16971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17601 16972 <limits.h> exists even on freestanding compilers. */ 17602 17603 16973 #ifdef __STDC__ 17604 16974 # include <limits.h> … … 17606 16976 # include <assert.h> 17607 16977 #endif 17608 17609 #undef shl_load17610 17611 16978 /* Override any gcc2 internal prototype to avoid an error. */ 17612 16979 #ifdef __cplusplus … … 17639 17006 rm -f conftest.$ac_objext conftest$ac_exeext 17640 17007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17641 (eval $ac_link) 2> conftest.er117008 (eval $ac_link) 2>&5 17642 17009 ac_status=$? 17643 grep -v '^ *+' conftest.er1 >conftest.err17644 rm -f conftest.er117645 cat conftest.err >&517646 17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17647 17011 (exit $ac_status); } && 17648 { ac_try='test -z "$ac_c_werror_flag" 17649 || test ! -s conftest.err' 17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17651 (eval $ac_try) 2>&5 17652 ac_status=$? 17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17654 (exit $ac_status); }; } && 17655 { ac_try='test -s conftest$ac_exeext' 17012 { ac_try='test -s conftest$ac_exeext' 17656 17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17657 17014 (eval $ac_try) 2>&5 … … 17666 17023 ac_cv_func_shl_load=no 17667 17024 fi 17668 rm -f conftest.err conftest.$ac_objext \ 17669 conftest$ac_exeext conftest.$ac_ext 17025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17670 17026 fi 17671 17027 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 17682 17038 LIBS="-ldld $LIBS" 17683 17039 cat >conftest.$ac_ext <<_ACEOF 17040 #line $LINENO "configure" 17684 17041 /* confdefs.h. */ 17685 17042 _ACEOF … … 17705 17062 rm -f conftest.$ac_objext conftest$ac_exeext 17706 17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17707 (eval $ac_link) 2> conftest.er117064 (eval $ac_link) 2>&5 17708 17065 ac_status=$? 17709 grep -v '^ *+' conftest.er1 >conftest.err17710 rm -f conftest.er117711 cat conftest.err >&517712 17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17713 17067 (exit $ac_status); } && 17714 { ac_try='test -z "$ac_c_werror_flag" 17715 || test ! -s conftest.err' 17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17717 (eval $ac_try) 2>&5 17718 ac_status=$? 17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17720 (exit $ac_status); }; } && 17721 { ac_try='test -s conftest$ac_exeext' 17068 { ac_try='test -s conftest$ac_exeext' 17722 17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17723 17070 (eval $ac_try) 2>&5 … … 17732 17079 ac_cv_lib_dld_shl_load=no 17733 17080 fi 17734 rm -f conftest.err conftest.$ac_objext \ 17735 conftest$ac_exeext conftest.$ac_ext 17081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17736 17082 LIBS=$ac_check_lib_save_LIBS 17737 17083 fi … … 17747 17093 else 17748 17094 cat >conftest.$ac_ext <<_ACEOF 17095 #line $LINENO "configure" 17749 17096 /* confdefs.h. */ 17750 17097 _ACEOF … … 17752 17099 cat >>conftest.$ac_ext <<_ACEOF 17753 17100 /* end confdefs.h. */ 17754 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.17755 For example, HP-UX 11i <limits.h> declares gettimeofday. */17756 #define dlopen innocuous_dlopen17757 17758 17101 /* System header to define __stub macros and hopefully few prototypes, 17759 17102 which can conflict with char dlopen (); below. 17760 17103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17761 17104 <limits.h> exists even on freestanding compilers. */ 17762 17763 17105 #ifdef __STDC__ 17764 17106 # include <limits.h> … … 17766 17108 # include <assert.h> 17767 17109 #endif 17768 17769 #undef dlopen17770 17771 17110 /* Override any gcc2 internal prototype to avoid an error. */ 17772 17111 #ifdef __cplusplus … … 17799 17138 rm -f conftest.$ac_objext conftest$ac_exeext 17800 17139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17801 (eval $ac_link) 2> conftest.er117140 (eval $ac_link) 2>&5 17802 17141 ac_status=$? 17803 grep -v '^ *+' conftest.er1 >conftest.err17804 rm -f conftest.er117805 cat conftest.err >&517806 17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17807 17143 (exit $ac_status); } && 17808 { ac_try='test -z "$ac_c_werror_flag" 17809 || test ! -s conftest.err' 17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17811 (eval $ac_try) 2>&5 17812 ac_status=$? 17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17814 (exit $ac_status); }; } && 17815 { ac_try='test -s conftest$ac_exeext' 17144 { ac_try='test -s conftest$ac_exeext' 17816 17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17817 17146 (eval $ac_try) 2>&5 … … 17826 17155 ac_cv_func_dlopen=no 17827 17156 fi 17828 rm -f conftest.err conftest.$ac_objext \ 17829 conftest$ac_exeext conftest.$ac_ext 17157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17830 17158 fi 17831 17159 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 17842 17170 LIBS="-ldl $LIBS" 17843 17171 cat >conftest.$ac_ext <<_ACEOF 17172 #line $LINENO "configure" 17844 17173 /* confdefs.h. */ 17845 17174 _ACEOF … … 17865 17194 rm -f conftest.$ac_objext conftest$ac_exeext 17866 17195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17867 (eval $ac_link) 2> conftest.er117196 (eval $ac_link) 2>&5 17868 17197 ac_status=$? 17869 grep -v '^ *+' conftest.er1 >conftest.err17870 rm -f conftest.er117871 cat conftest.err >&517872 17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17873 17199 (exit $ac_status); } && 17874 { ac_try='test -z "$ac_c_werror_flag" 17875 || test ! -s conftest.err' 17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17877 (eval $ac_try) 2>&5 17878 ac_status=$? 17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17880 (exit $ac_status); }; } && 17881 { ac_try='test -s conftest$ac_exeext' 17200 { ac_try='test -s conftest$ac_exeext' 17882 17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17883 17202 (eval $ac_try) 2>&5 … … 17892 17211 ac_cv_lib_dl_dlopen=no 17893 17212 fi 17894 rm -f conftest.err conftest.$ac_objext \ 17895 conftest$ac_exeext conftest.$ac_ext 17213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17896 17214 LIBS=$ac_check_lib_save_LIBS 17897 17215 fi … … 17909 17227 LIBS="-lsvld $LIBS" 17910 17228 cat >conftest.$ac_ext <<_ACEOF 17229 #line $LINENO "configure" 17911 17230 /* confdefs.h. */ 17912 17231 _ACEOF … … 17932 17251 rm -f conftest.$ac_objext conftest$ac_exeext 17933 17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17934 (eval $ac_link) 2> conftest.er117253 (eval $ac_link) 2>&5 17935 17254 ac_status=$? 17936 grep -v '^ *+' conftest.er1 >conftest.err17937 rm -f conftest.er117938 cat conftest.err >&517939 17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17940 17256 (exit $ac_status); } && 17941 { ac_try='test -z "$ac_c_werror_flag" 17942 || test ! -s conftest.err' 17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17944 (eval $ac_try) 2>&5 17945 ac_status=$? 17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17947 (exit $ac_status); }; } && 17948 { ac_try='test -s conftest$ac_exeext' 17257 { ac_try='test -s conftest$ac_exeext' 17949 17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17950 17259 (eval $ac_try) 2>&5 … … 17959 17268 ac_cv_lib_svld_dlopen=no 17960 17269 fi 17961 rm -f conftest.err conftest.$ac_objext \ 17962 conftest$ac_exeext conftest.$ac_ext 17270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17963 17271 LIBS=$ac_check_lib_save_LIBS 17964 17272 fi … … 17976 17284 LIBS="-ldld $LIBS" 17977 17285 cat >conftest.$ac_ext <<_ACEOF 17286 #line $LINENO "configure" 17978 17287 /* confdefs.h. */ 17979 17288 _ACEOF … … 17999 17308 rm -f conftest.$ac_objext conftest$ac_exeext 18000 17309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18001 (eval $ac_link) 2> conftest.er117310 (eval $ac_link) 2>&5 18002 17311 ac_status=$? 18003 grep -v '^ *+' conftest.er1 >conftest.err18004 rm -f conftest.er118005 cat conftest.err >&518006 17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18007 17313 (exit $ac_status); } && 18008 { ac_try='test -z "$ac_c_werror_flag" 18009 || test ! -s conftest.err' 18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18011 (eval $ac_try) 2>&5 18012 ac_status=$? 18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18014 (exit $ac_status); }; } && 18015 { ac_try='test -s conftest$ac_exeext' 17314 { ac_try='test -s conftest$ac_exeext' 18016 17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18017 17316 (eval $ac_try) 2>&5 … … 18026 17325 ac_cv_lib_dld_dld_link=no 18027 17326 fi 18028 rm -f conftest.err conftest.$ac_objext \ 18029 conftest$ac_exeext conftest.$ac_ext 17327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18030 17328 LIBS=$ac_check_lib_save_LIBS 18031 17329 fi … … 18082 17380 lt_status=$lt_dlunknown 18083 17381 cat > conftest.$ac_ext <<EOF 18084 #line 1 8084"configure"17382 #line 17382 "configure" 18085 17383 #include "confdefs.h" 18086 17384 … … 18180 17478 lt_status=$lt_dlunknown 18181 17479 cat > conftest.$ac_ext <<EOF 18182 #line 1 8182"configure"17480 #line 17480 "configure" 18183 17481 #include "confdefs.h" 18184 17482 … … 18297 17595 # careful not to overquote the AC_SUBSTed values. We take copies of the 18298 17596 # variables and quote the copies for generation of the libtool script. 18299 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18300 SED SHELL STRIP \ 17597 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18301 17598 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18302 17599 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 18428 17725 18429 17726 # A symbol stripping program 18430 STRIP=$ lt_STRIP17727 STRIP=$STRIP 18431 17728 18432 17729 # Used to examine libraries when file_magic_cmd begins "file" … … 18459 17756 18460 17757 # Shared library suffix (normally ".so"). 18461 shrext _cmds='$shrext_cmds'17758 shrext='$shrext' 18462 17759 18463 17760 # Executable file suffix (normally ""). … … 18676 17973 # `config.status --recheck' to rerun these tests and create the 18677 17974 # libtool script then. 18678 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18679 if test -f "$ltmain_in"; then 18680 test -f Makefile && make "$ltmain" 18681 fi 17975 test -f Makefile && make "$ltmain" 18682 17976 fi 18683 17977 … … 18742 18036 # careful not to overquote the AC_SUBSTed values. We take copies of the 18743 18037 # variables and quote the copies for generation of the libtool script. 18744 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18745 SED SHELL STRIP \ 18038 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18746 18039 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18747 18040 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 18873 18166 18874 18167 # A symbol stripping program 18875 STRIP=$ lt_STRIP18168 STRIP=$STRIP 18876 18169 18877 18170 # Used to examine libraries when file_magic_cmd begins "file" … … 18904 18197 18905 18198 # Shared library suffix (normally ".so"). 18906 shrext _cmds='$shrext_cmds'18199 shrext='$shrext' 18907 18200 18908 18201 # Executable file suffix (normally ""). … … 19121 18414 # `config.status --recheck' to rerun these tests and create the 19122 18415 # libtool script then. 19123 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19124 if test -f "$ltmain_in"; then 19125 test -f Makefile && make "$ltmain" 19126 fi 18416 test -f Makefile && make "$ltmain" 19127 18417 fi 19128 18418 … … 19337 18627 LIBS="-lsla $LIBS" 19338 18628 cat >conftest.$ac_ext <<_ACEOF 18629 #line $LINENO "configure" 19339 18630 /* confdefs.h. */ 19340 18631 _ACEOF … … 19354 18645 rm -f conftest.$ac_objext conftest$ac_exeext 19355 18646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19356 (eval $ac_link) 2> conftest.er118647 (eval $ac_link) 2>&5 19357 18648 ac_status=$? 19358 grep -v '^ *+' conftest.er1 >conftest.err19359 rm -f conftest.er119360 cat conftest.err >&519361 18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19362 18650 (exit $ac_status); } && 19363 { ac_try='test -z "$ac_c_werror_flag" 19364 || test ! -s conftest.err' 19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19366 (eval $ac_try) 2>&5 19367 ac_status=$? 19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19369 (exit $ac_status); }; } && 19370 { ac_try='test -s conftest$ac_exeext' 18651 { ac_try='test -s conftest$ac_exeext' 19371 18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19372 18653 (eval $ac_try) 2>&5 … … 19381 18662 ac_cv_lib_sla_main=no 19382 18663 fi 19383 rm -f conftest.err conftest.$ac_objext \ 19384 conftest$ac_exeext conftest.$ac_ext 18664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19385 18665 LIBS=$ac_check_lib_save_LIBS 19386 18666 fi … … 19409 18689 LIBS="-lcfitsio $LIBS" 19410 18690 cat >conftest.$ac_ext <<_ACEOF 18691 #line $LINENO "configure" 19411 18692 /* confdefs.h. */ 19412 18693 _ACEOF … … 19426 18707 rm -f conftest.$ac_objext conftest$ac_exeext 19427 18708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19428 (eval $ac_link) 2> conftest.er118709 (eval $ac_link) 2>&5 19429 18710 ac_status=$? 19430 grep -v '^ *+' conftest.er1 >conftest.err19431 rm -f conftest.er119432 cat conftest.err >&519433 18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19434 18712 (exit $ac_status); } && 19435 { ac_try='test -z "$ac_c_werror_flag" 19436 || test ! -s conftest.err' 19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19438 (eval $ac_try) 2>&5 19439 ac_status=$? 19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19441 (exit $ac_status); }; } && 19442 { ac_try='test -s conftest$ac_exeext' 18713 { ac_try='test -s conftest$ac_exeext' 19443 18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19444 18715 (eval $ac_try) 2>&5 … … 19453 18724 ac_cv_lib_cfitsio_main=no 19454 18725 fi 19455 rm -f conftest.err conftest.$ac_objext \ 19456 conftest$ac_exeext conftest.$ac_ext 18726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19457 18727 LIBS=$ac_check_lib_save_LIBS 19458 18728 fi … … 19481 18751 LIBS="-lfftw3f $LIBS" 19482 18752 cat >conftest.$ac_ext <<_ACEOF 18753 #line $LINENO "configure" 19483 18754 /* confdefs.h. */ 19484 18755 _ACEOF … … 19498 18769 rm -f conftest.$ac_objext conftest$ac_exeext 19499 18770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19500 (eval $ac_link) 2> conftest.er118771 (eval $ac_link) 2>&5 19501 18772 ac_status=$? 19502 grep -v '^ *+' conftest.er1 >conftest.err19503 rm -f conftest.er119504 cat conftest.err >&519505 18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19506 18774 (exit $ac_status); } && 19507 { ac_try='test -z "$ac_c_werror_flag" 19508 || test ! -s conftest.err' 19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19510 (eval $ac_try) 2>&5 19511 ac_status=$? 19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19513 (exit $ac_status); }; } && 19514 { ac_try='test -s conftest$ac_exeext' 18775 { ac_try='test -s conftest$ac_exeext' 19515 18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19516 18777 (eval $ac_try) 2>&5 … … 19525 18786 ac_cv_lib_fftw3f_main=no 19526 18787 fi 19527 rm -f conftest.err conftest.$ac_objext \ 19528 conftest$ac_exeext conftest.$ac_ext 18788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19529 18789 LIBS=$ac_check_lib_save_LIBS 19530 18790 fi … … 19553 18813 LIBS="-lgsl $LIBS" 19554 18814 cat >conftest.$ac_ext <<_ACEOF 18815 #line $LINENO "configure" 19555 18816 /* confdefs.h. */ 19556 18817 _ACEOF … … 19570 18831 rm -f conftest.$ac_objext conftest$ac_exeext 19571 18832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19572 (eval $ac_link) 2> conftest.er118833 (eval $ac_link) 2>&5 19573 18834 ac_status=$? 19574 grep -v '^ *+' conftest.er1 >conftest.err19575 rm -f conftest.er119576 cat conftest.err >&519577 18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19578 18836 (exit $ac_status); } && 19579 { ac_try='test -z "$ac_c_werror_flag" 19580 || test ! -s conftest.err' 19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19582 (eval $ac_try) 2>&5 19583 ac_status=$? 19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19585 (exit $ac_status); }; } && 19586 { ac_try='test -s conftest$ac_exeext' 18837 { ac_try='test -s conftest$ac_exeext' 19587 18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19588 18839 (eval $ac_try) 2>&5 … … 19597 18848 ac_cv_lib_gsl_main=no 19598 18849 fi 19599 rm -f conftest.err conftest.$ac_objext \ 19600 conftest$ac_exeext conftest.$ac_ext 18850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19601 18851 LIBS=$ac_check_lib_save_LIBS 19602 18852 fi … … 19625 18875 LIBS="-lgslcblas $LIBS" 19626 18876 cat >conftest.$ac_ext <<_ACEOF 18877 #line $LINENO "configure" 19627 18878 /* confdefs.h. */ 19628 18879 _ACEOF … … 19642 18893 rm -f conftest.$ac_objext conftest$ac_exeext 19643 18894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19644 (eval $ac_link) 2> conftest.er118895 (eval $ac_link) 2>&5 19645 18896 ac_status=$? 19646 grep -v '^ *+' conftest.er1 >conftest.err19647 rm -f conftest.er119648 cat conftest.err >&519649 18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19650 18898 (exit $ac_status); } && 19651 { ac_try='test -z "$ac_c_werror_flag" 19652 || test ! -s conftest.err' 19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19654 (eval $ac_try) 2>&5 19655 ac_status=$? 19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19657 (exit $ac_status); }; } && 19658 { ac_try='test -s conftest$ac_exeext' 18899 { ac_try='test -s conftest$ac_exeext' 19659 18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19660 18901 (eval $ac_try) 2>&5 … … 19669 18910 ac_cv_lib_gslcblas_main=no 19670 18911 fi 19671 rm -f conftest.err conftest.$ac_objext \ 19672 conftest$ac_exeext conftest.$ac_ext 18912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19673 18913 LIBS=$ac_check_lib_save_LIBS 19674 18914 fi … … 19697 18937 LIBS="-lpslib $LIBS" 19698 18938 cat >conftest.$ac_ext <<_ACEOF 18939 #line $LINENO "configure" 19699 18940 /* confdefs.h. */ 19700 18941 _ACEOF … … 19714 18955 rm -f conftest.$ac_objext conftest$ac_exeext 19715 18956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19716 (eval $ac_link) 2> conftest.er118957 (eval $ac_link) 2>&5 19717 18958 ac_status=$? 19718 grep -v '^ *+' conftest.er1 >conftest.err19719 rm -f conftest.er119720 cat conftest.err >&519721 18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19722 18960 (exit $ac_status); } && 19723 { ac_try='test -z "$ac_c_werror_flag" 19724 || test ! -s conftest.err' 19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19726 (eval $ac_try) 2>&5 19727 ac_status=$? 19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19729 (exit $ac_status); }; } && 19730 { ac_try='test -s conftest$ac_exeext' 18961 { ac_try='test -s conftest$ac_exeext' 19731 18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19732 18963 (eval $ac_try) 2>&5 … … 19741 18972 ac_cv_lib_pslib_main=no 19742 18973 fi 19743 rm -f conftest.err conftest.$ac_objext \ 19744 conftest$ac_exeext conftest.$ac_ext 18974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19745 18975 LIBS=$ac_check_lib_save_LIBS 19746 18976 fi … … 19790 19020 # substitution turns \\\\ into \\, and sed turns \\ into \). 19791 19021 sed -n \ 19792 "s/'/'\\\\''/g;19793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"19022 "s/'/'\\\\''/g; 19023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 19794 19024 ;; 19795 19025 *) 19796 19026 # `set' quotes correctly as required by POSIX, so do not add quotes. 19797 19027 sed -n \ 19798 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"19028 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 19799 19029 ;; 19800 19030 esac; … … 19826 19056 # (actually we leave an empty line to preserve line numbers). 19827 19057 if test "x$srcdir" = x.; then 19828 ac_vpsub='/^[ ]*VPATH[]*=/{19058 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 19829 19059 s/:*\$(srcdir):*/:/; 19830 19060 s/:*\${srcdir}:*/:/; 19831 19061 s/:*@srcdir@:*/:/; 19832 s/^\([^=]*=[ ]*\):*/\1/;19062 s/^\([^=]*=[ ]*\):*/\1/; 19833 19063 s/:*$//; 19834 s/^[^=]*=[ ]*$//;19064 s/^[^=]*=[ ]*$//; 19835 19065 }' 19836 19066 fi … … 19843 19073 # 1. Remove the extension, and $U if already installed. 19844 19074 ac_i=`echo "$ac_i" | 19845 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`19075 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 19846 19076 # 2. Add them. 19847 19077 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 19908 19138 set -o posix 19909 19139 fi 19910 DUALCASE=1; export DUALCASE # for MKS sh19911 19140 19912 19141 # Support unset when possible. 19913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then19142 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 19914 19143 as_unset=unset 19915 19144 else … … 19930 19159 LC_TELEPHONE LC_TIME 19931 19160 do 19932 if (set +x; test - z"`(eval $as_var=C; export $as_var) 2>&1`"); then19161 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 19933 19162 eval $as_var=C; export $as_var 19934 19163 else … … 20109 19338 as_mkdir_p=: 20110 19339 else 20111 test -d ./-p && rmdir ./-p20112 19340 as_mkdir_p=false 20113 19341 fi … … 20116 19344 20117 19345 # Sed expression to map a string onto a valid CPP name. 20118 as_tr_cpp=" eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"19346 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 20119 19347 20120 19348 # Sed expression to map a string onto a valid variable name. 20121 as_tr_sh=" eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"19349 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 20122 19350 20123 19351 … … 20146 19374 20147 19375 This file was extended by $as_me, which was 20148 generated by GNU Autoconf 2.5 9. Invocation command line was19376 generated by GNU Autoconf 2.57. Invocation command line was 20149 19377 20150 19378 CONFIG_FILES = $CONFIG_FILES … … 20190 19418 --recheck update $as_me by reconfiguring in the same conditions 20191 19419 --file=FILE[:TEMPLATE] 20192 instantiate the configuration file FILE19420 instantiate the configuration file FILE 20193 19421 --header=FILE[:TEMPLATE] 20194 instantiate the configuration header FILE19422 instantiate the configuration header FILE 20195 19423 20196 19424 Configuration files: … … 20209 19437 ac_cs_version="\\ 20210 19438 config.status 20211 configured by $0, generated by GNU Autoconf 2.5 9,19439 configured by $0, generated by GNU Autoconf 2.57, 20212 19440 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 20213 19441 20214 Copyright (C) 2003 Free Software Foundation, Inc. 19442 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 19443 Free Software Foundation, Inc. 20215 19444 This config.status script is free software; the Free Software Foundation 20216 19445 gives unlimited permission to copy, distribute and modify it." … … 20424 19653 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 20425 19654 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 20426 s,@mkdir_p@,$mkdir_p,;t t20427 19655 s,@AWK@,$AWK,;t t 20428 19656 s,@SET_MAKE@,$SET_MAKE,;t t … … 20503 19731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 20504 19732 if test -z "$ac_sed_cmds"; then 20505 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"19733 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 20506 19734 else 20507 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"19735 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 20508 19736 fi 20509 19737 ac_sed_frag=`expr $ac_sed_frag + 1` … … 20523 19751 case $ac_file in 20524 19752 - | *:- | *:-:* ) # input from stdin 20525 cat >$tmp/stdin20526 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`20527 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;19753 cat >$tmp/stdin 19754 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19755 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 20528 19756 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;19757 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 20530 19758 * ) ac_file_in=$ac_file.in ;; 20531 19759 esac … … 20534 19762 ac_dir=`(dirname "$ac_file") 2>/dev/null || 20535 19763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20536 X"$ac_file" : 'X\(//\)[^/]' \| \20537 X"$ac_file" : 'X\(//\)$' \| \20538 X"$ac_file" : 'X\(/\)' \| \20539 . : '\(.\)' 2>/dev/null ||19764 X"$ac_file" : 'X\(//\)[^/]' \| \ 19765 X"$ac_file" : 'X\(//\)$' \| \ 19766 X"$ac_file" : 'X\(/\)' \| \ 19767 . : '\(.\)' 2>/dev/null || 20540 19768 echo X"$ac_file" | 20541 19769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20553 19781 as_dir=`(dirname "$as_dir") 2>/dev/null || 20554 19782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20555 X"$as_dir" : 'X\(//\)[^/]' \| \20556 X"$as_dir" : 'X\(//\)$' \| \20557 X"$as_dir" : 'X\(/\)' \| \20558 . : '\(.\)' 2>/dev/null ||19783 X"$as_dir" : 'X\(//\)[^/]' \| \ 19784 X"$as_dir" : 'X\(//\)$' \| \ 19785 X"$as_dir" : 'X\(/\)' \| \ 19786 . : '\(.\)' 2>/dev/null || 20559 19787 echo X"$as_dir" | 20560 19788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20594 19822 ac_top_srcdir=$ac_top_builddir$srcdir ;; 20595 19823 esac 20596 20597 # Do not use `cd foo && pwd` to compute absolute paths, because 20598 # the directories may not exist. 20599 case `pwd` in 20600 .) ac_abs_builddir="$ac_dir";; 20601 *) 20602 case "$ac_dir" in 20603 .) ac_abs_builddir=`pwd`;; 20604 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 20605 *) ac_abs_builddir=`pwd`/"$ac_dir";; 20606 esac;; 20607 esac 20608 case $ac_abs_builddir in 20609 .) ac_abs_top_builddir=${ac_top_builddir}.;; 20610 *) 20611 case ${ac_top_builddir}. in 20612 .) ac_abs_top_builddir=$ac_abs_builddir;; 20613 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 20614 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 20615 esac;; 20616 esac 20617 case $ac_abs_builddir in 20618 .) ac_abs_srcdir=$ac_srcdir;; 20619 *) 20620 case $ac_srcdir in 20621 .) ac_abs_srcdir=$ac_abs_builddir;; 20622 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 20623 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 20624 esac;; 20625 esac 20626 case $ac_abs_builddir in 20627 .) ac_abs_top_srcdir=$ac_top_srcdir;; 20628 *) 20629 case $ac_top_srcdir in 20630 .) ac_abs_top_srcdir=$ac_abs_builddir;; 20631 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 20632 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 20633 esac;; 20634 esac 19824 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 19825 # absolute. 19826 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 19827 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 19828 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 19829 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 20635 19830 20636 19831 … … 20654 19849 fi 20655 19850 configure_input=$configure_input"Generated from `echo $ac_file_in | 20656 sed 's,.*/,,'` by configure."19851 sed 's,.*/,,'` by configure." 20657 19852 20658 19853 # First look for the input files in the build tree, otherwise in the … … 20663 19858 -) echo $tmp/stdin ;; 20664 19859 [\\/$]*) 20665 # Absolute (can't be DOS-style, as IFS=:)20666 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&519860 # Absolute (can't be DOS-style, as IFS=:) 19861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 20667 19862 echo "$as_me: error: cannot find input file: $f" >&2;} 20668 19863 { (exit 1); exit 1; }; } 20669 echo "$f";;19864 echo $f;; 20670 19865 *) # Relative 20671 if test -f "$f"; then20672 # Build tree20673 echo "$f" 20674 elif test -f "$srcdir/$f"; then20675 # Source tree20676 echo "$srcdir/$f" 20677 else20678 # /dev/null tree20679 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&519866 if test -f "$f"; then 19867 # Build tree 19868 echo $f 19869 elif test -f "$srcdir/$f"; then 19870 # Source tree 19871 echo $srcdir/$f 19872 else 19873 # /dev/null tree 19874 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 20680 19875 echo "$as_me: error: cannot find input file: $f" >&2;} 20681 19876 { (exit 1); exit 1; }; } 20682 fi;;19877 fi;; 20683 19878 esac 20684 19879 done` || { (exit 1); exit 1; } … … 20722 19917 # 20723 19918 # ac_d sets the value in "#define NAME VALUE" lines. 20724 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'20725 ac_dB='[ ].*$,\1#\2'19919 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 19920 ac_dB='[ ].*$,\1#\2' 20726 19921 ac_dC=' ' 20727 19922 ac_dD=',;t' 20728 19923 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 20729 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'19924 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 20730 19925 ac_uB='$,\1#\2define\3' 20731 19926 ac_uC=' ' … … 20736 19931 case $ac_file in 20737 19932 - | *:- | *:-:* ) # input from stdin 20738 cat >$tmp/stdin20739 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`20740 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;19933 cat >$tmp/stdin 19934 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 20741 19936 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20742 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;19937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 20743 19938 * ) ac_file_in=$ac_file.in ;; 20744 19939 esac … … 20754 19949 -) echo $tmp/stdin ;; 20755 19950 [\\/$]*) 20756 # Absolute (can't be DOS-style, as IFS=:)20757 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&519951 # Absolute (can't be DOS-style, as IFS=:) 19952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 20758 19953 echo "$as_me: error: cannot find input file: $f" >&2;} 20759 19954 { (exit 1); exit 1; }; } 20760 # Do quote $f, to prevent DOS paths from being IFS'd. 20761 echo "$f";; 19955 echo $f;; 20762 19956 *) # Relative 20763 if test -f "$f"; then20764 # Build tree20765 echo "$f" 20766 elif test -f "$srcdir/$f"; then20767 # Source tree20768 echo "$srcdir/$f" 20769 else20770 # /dev/null tree20771 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&519957 if test -f "$f"; then 19958 # Build tree 19959 echo $f 19960 elif test -f "$srcdir/$f"; then 19961 # Source tree 19962 echo $srcdir/$f 19963 else 19964 # /dev/null tree 19965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 20772 19966 echo "$as_me: error: cannot find input file: $f" >&2;} 20773 19967 { (exit 1); exit 1; }; } 20774 fi;;19968 fi;; 20775 19969 esac 20776 19970 done` || { (exit 1); exit 1; } 20777 19971 # Remove the trailing spaces. 20778 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in19972 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 20779 19973 20780 19974 _ACEOF … … 20799 19993 t clear 20800 19994 : clear 20801 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp19995 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 20802 19996 t end 20803 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp19997 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 20804 19998 : end 20805 19999 _ACEOF … … 20815 20009 # on some systems where configure will not decide to define it. 20816 20010 cat >>conftest.undefs <<\_ACEOF 20817 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,20011 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 20818 20012 _ACEOF 20819 20013 … … 20821 20015 # of here documents, and old seds have small limits too (100 cmds). 20822 20016 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 20823 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS20017 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 20824 20018 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 20825 20019 echo ' :' >>$CONFIG_STATUS … … 20830 20024 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 20831 20025 # Speed up: don't consider the non `#define' lines. 20832 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS20026 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 20833 20027 # Work around the forget-to-reset-the-flag bug. 20834 20028 echo 't clr' >>$CONFIG_STATUS … … 20857 20051 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 20858 20052 # Speed up: don't consider the non `#undef' 20859 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS20053 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 20860 20054 # Work around the forget-to-reset-the-flag bug. 20861 20055 echo 't clr' >>$CONFIG_STATUS … … 20891 20085 ac_dir=`(dirname "$ac_file") 2>/dev/null || 20892 20086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20893 X"$ac_file" : 'X\(//\)[^/]' \| \20894 X"$ac_file" : 'X\(//\)$' \| \20895 X"$ac_file" : 'X\(/\)' \| \20896 . : '\(.\)' 2>/dev/null ||20087 X"$ac_file" : 'X\(//\)[^/]' \| \ 20088 X"$ac_file" : 'X\(//\)$' \| \ 20089 X"$ac_file" : 'X\(/\)' \| \ 20090 . : '\(.\)' 2>/dev/null || 20897 20091 echo X"$ac_file" | 20898 20092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20910 20104 as_dir=`(dirname "$as_dir") 2>/dev/null || 20911 20105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20912 X"$as_dir" : 'X\(//\)[^/]' \| \20913 X"$as_dir" : 'X\(//\)$' \| \20914 X"$as_dir" : 'X\(/\)' \| \20915 . : '\(.\)' 2>/dev/null ||20106 X"$as_dir" : 'X\(//\)[^/]' \| \ 20107 X"$as_dir" : 'X\(//\)$' \| \ 20108 X"$as_dir" : 'X\(/\)' \| \ 20109 . : '\(.\)' 2>/dev/null || 20916 20110 echo X"$as_dir" | 20917 20111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20945 20139 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 20946 20140 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20947 X$ac_file : 'X\(//\)[^/]' \| \20948 X$ac_file : 'X\(//\)$' \| \20949 X$ac_file : 'X\(/\)' \| \20950 . : '\(.\)' 2>/dev/null ||20141 X$ac_file : 'X\(//\)[^/]' \| \ 20142 X$ac_file : 'X\(//\)$' \| \ 20143 X$ac_file : 'X\(/\)' \| \ 20144 . : '\(.\)' 2>/dev/null || 20951 20145 echo X$ac_file | 20952 20146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20967 20161 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 20968 20162 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20969 X"$ac_dest" : 'X\(//\)[^/]' \| \20970 X"$ac_dest" : 'X\(//\)$' \| \20971 X"$ac_dest" : 'X\(/\)' \| \20972 . : '\(.\)' 2>/dev/null ||20163 X"$ac_dest" : 'X\(//\)[^/]' \| \ 20164 X"$ac_dest" : 'X\(//\)$' \| \ 20165 X"$ac_dest" : 'X\(/\)' \| \ 20166 . : '\(.\)' 2>/dev/null || 20973 20167 echo X"$ac_dest" | 20974 20168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20977 20171 /^X\(\/\).*/{ s//\1/; q; } 20978 20172 s/.*/./; q'` 20979 { if $as_mkdir_p; then20980 mkdir -p "$ac_dir"20981 else20982 as_dir="$ac_dir"20983 as_dirs=20984 while test ! -d "$as_dir"; do20985 as_dirs="$as_dir $as_dirs"20986 as_dir=`(dirname "$as_dir") 2>/dev/null ||20987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \20988 X"$as_dir" : 'X\(//\)[^/]' \| \20989 X"$as_dir" : 'X\(//\)$' \| \20990 X"$as_dir" : 'X\(/\)' \| \20991 . : '\(.\)' 2>/dev/null ||20992 echo X"$as_dir" |20993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }20994 /^X\(\/\/\)[^/].*/{ s//\1/; q; }20995 /^X\(\/\/\)$/{ s//\1/; q; }20996 /^X\(\/\).*/{ s//\1/; q; }20997 s/.*/./; q'`20998 done20999 test ! -n "$as_dirs" || mkdir $as_dirs21000 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&521001 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}21002 { (exit 1); exit 1; }; }; }21003 21004 20173 ac_builddir=. 21005 20174 … … 21027 20196 ac_top_srcdir=$ac_top_builddir$srcdir ;; 21028 20197 esac 21029 21030 # Do not use `cd foo && pwd` to compute absolute paths, because 21031 # the directories may not exist. 21032 case `pwd` in 21033 .) ac_abs_builddir="$ac_dir";; 21034 *) 21035 case "$ac_dir" in 21036 .) ac_abs_builddir=`pwd`;; 21037 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 21038 *) ac_abs_builddir=`pwd`/"$ac_dir";; 21039 esac;; 21040 esac 21041 case $ac_abs_builddir in 21042 .) ac_abs_top_builddir=${ac_top_builddir}.;; 21043 *) 21044 case ${ac_top_builddir}. in 21045 .) ac_abs_top_builddir=$ac_abs_builddir;; 21046 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 21047 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 21048 esac;; 21049 esac 21050 case $ac_abs_builddir in 21051 .) ac_abs_srcdir=$ac_srcdir;; 21052 *) 21053 case $ac_srcdir in 21054 .) ac_abs_srcdir=$ac_abs_builddir;; 21055 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 21056 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 21057 esac;; 21058 esac 21059 case $ac_abs_builddir in 21060 .) ac_abs_top_srcdir=$ac_top_srcdir;; 21061 *) 21062 case $ac_top_srcdir in 21063 .) ac_abs_top_srcdir=$ac_abs_builddir;; 21064 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 21065 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 21066 esac;; 21067 esac 20198 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 20199 # absolute. 20200 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 20201 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 20202 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 20203 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 21068 20204 21069 20205 … … 21083 20219 dirpart=`(dirname "$mf") 2>/dev/null || 21084 20220 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21085 X"$mf" : 'X\(//\)[^/]' \| \21086 X"$mf" : 'X\(//\)$' \| \21087 X"$mf" : 'X\(/\)' \| \21088 . : '\(.\)' 2>/dev/null ||20221 X"$mf" : 'X\(//\)[^/]' \| \ 20222 X"$mf" : 'X\(//\)$' \| \ 20223 X"$mf" : 'X\(/\)' \| \ 20224 . : '\(.\)' 2>/dev/null || 21089 20225 echo X"$mf" | 21090 20226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 21099 20235 # Extract the definition of DEP_FILES from the Makefile without 21100 20236 # running `make'. 21101 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`20237 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 21102 20238 test -z "$DEPDIR" && continue 21103 20239 # When using ansi2knr, U may be empty or an underscore; expand it 21104 U=`sed -n 's/^U =//p' < "$mf"`20240 U=`sed -n -e '/^U = / s///p' < "$mf"` 21105 20241 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 21106 20242 # We invoke sed twice because it is the simplest approach to 21107 20243 # changing $(DEPDIR) to its actual value in the expansion. 21108 for file in `sed -n '20244 for file in `sed -n -e ' 21109 20245 /^DEP_FILES = .*\\\\$/ { 21110 20246 s/^DEP_FILES = // … … 21122 20258 fdir=`(dirname "$file") 2>/dev/null || 21123 20259 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21124 X"$file" : 'X\(//\)[^/]' \| \21125 X"$file" : 'X\(//\)$' \| \21126 X"$file" : 'X\(/\)' \| \21127 . : '\(.\)' 2>/dev/null ||20260 X"$file" : 'X\(//\)[^/]' \| \ 20261 X"$file" : 'X\(//\)$' \| \ 20262 X"$file" : 'X\(/\)' \| \ 20263 . : '\(.\)' 2>/dev/null || 21128 20264 echo X"$file" | 21129 20265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 21141 20277 as_dir=`(dirname "$as_dir") 2>/dev/null || 21142 20278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21143 X"$as_dir" : 'X\(//\)[^/]' \| \21144 X"$as_dir" : 'X\(//\)$' \| \21145 X"$as_dir" : 'X\(/\)' \| \21146 . : '\(.\)' 2>/dev/null ||20279 X"$as_dir" : 'X\(//\)[^/]' \| \ 20280 X"$as_dir" : 'X\(//\)$' \| \ 20281 X"$as_dir" : 'X\(/\)' \| \ 20282 . : '\(.\)' 2>/dev/null || 21147 20283 echo X"$as_dir" | 21148 20284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -
trunk/psModules/src/Makefile.in
r1888 r1890 1 # Makefile.in generated by automake 1. 8.3from Makefile.am.1 # Makefile.in generated by automake 1.7.8 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 17 18 SOURCES = $(libpsmodule_a_SOURCES)19 16 20 17 srcdir = @srcdir@ … … 25 22 pkgincludedir = $(includedir)/@PACKAGE@ 26 23 top_builddir = .. 24 27 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 28 26 INSTALL = @INSTALL@ … … 39 37 POST_UNINSTALL = : 40 38 host_triplet = @host@ 41 subdir = src42 DIST_COMMON = $(libpsmodule_a_HEADERS) $(srcdir)/Makefile.am \43 $(srcdir)/Makefile.in $(srcdir)/config.h.in44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m445 am__aclocal_m4_deps = $(top_srcdir)/configure.in46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \47 $(ACLOCAL_M4)48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs49 CONFIG_HEADER = config.h50 CONFIG_CLEAN_FILES =51 ARFLAGS = cru52 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libpsmodule_adir)"53 libLIBRARIES_INSTALL = $(INSTALL_DATA)54 LIBRARIES = $(lib_LIBRARIES)55 libpsmodule_a_AR = $(AR) $(ARFLAGS)56 libpsmodule_a_LIBADD =57 am_libpsmodule_a_OBJECTS = pmFlatField.$(OBJEXT) \58 pmMaskBadPixels.$(OBJEXT) pmSubtractBias.$(OBJEXT) \59 psTest.$(OBJEXT) pmSubtractBias.$(OBJEXT)60 libpsmodule_a_OBJECTS = $(am_libpsmodule_a_OBJECTS)61 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.62 depcomp = $(SHELL) $(top_srcdir)/depcomp63 am__depfiles_maybe = depfiles64 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/pmFlatField.Po \65 @AMDEP_TRUE@ ./$(DEPDIR)/pmMaskBadPixels.Po \66 @AMDEP_TRUE@ ./$(DEPDIR)/pmSubtractBias.Po \67 @AMDEP_TRUE@ ./$(DEPDIR)/psTest.Po68 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \69 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)70 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \71 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \72 $(AM_CFLAGS) $(CFLAGS)73 CCLD = $(CC)74 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \75 $(AM_LDFLAGS) $(LDFLAGS) -o $@76 SOURCES = $(libpsmodule_a_SOURCES)77 DIST_SOURCES = $(libpsmodule_a_SOURCES)78 libpsmodule_aHEADERS_INSTALL = $(INSTALL_HEADER)79 HEADERS = $(libpsmodule_a_HEADERS)80 ETAGS = etags81 CTAGS = ctags82 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)83 39 ACLOCAL = @ACLOCAL@ 84 40 AMDEP_FALSE = @AMDEP_FALSE@ … … 168 124 localstatedir = @localstatedir@ 169 125 mandir = @mandir@ 170 mkdir_p = @mkdir_p@171 126 oldincludedir = @oldincludedir@ 172 127 prefix = @prefix@ … … 177 132 target_alias = @target_alias@ 178 133 lib_LIBRARIES = libpsmodule.a 134 179 135 libpsmodule_a_SOURCES = pmFlatField.c pmMaskBadPixels.c pmSubtractBias.c psTest.c pmSubtractBias.c 180 136 libpsmodule_a_HEADERS = pmFlatField.h pmMaskBadPixels.h pmSubtractBias.h psTest.h pmSubtractBias.h 181 137 libpsmodule_adir = . 138 subdir = src 139 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 140 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 141 CONFIG_HEADER = config.h 142 CONFIG_CLEAN_FILES = 143 LIBRARIES = $(lib_LIBRARIES) 144 145 libpsmodule_a_AR = $(AR) cru 146 libpsmodule_a_LIBADD = 147 am_libpsmodule_a_OBJECTS = pmFlatField.$(OBJEXT) \ 148 pmMaskBadPixels.$(OBJEXT) pmSubtractBias.$(OBJEXT) \ 149 psTest.$(OBJEXT) pmSubtractBias.$(OBJEXT) 150 libpsmodule_a_OBJECTS = $(am_libpsmodule_a_OBJECTS) 151 152 DEFAULT_INCLUDES = -I. -I$(srcdir) -I. 153 depcomp = $(SHELL) $(top_srcdir)/depcomp 154 am__depfiles_maybe = depfiles 155 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/pmFlatField.Po \ 156 @AMDEP_TRUE@ ./$(DEPDIR)/pmMaskBadPixels.Po \ 157 @AMDEP_TRUE@ ./$(DEPDIR)/pmSubtractBias.Po ./$(DEPDIR)/psTest.Po 158 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 159 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 160 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 161 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 162 CCLD = $(CC) 163 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 164 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 165 DIST_SOURCES = $(libpsmodule_a_SOURCES) 166 HEADERS = $(libpsmodule_a_HEADERS) 167 168 DIST_COMMON = $(libpsmodule_a_HEADERS) $(srcdir)/Makefile.in \ 169 Makefile.am config.h.in 170 SOURCES = $(libpsmodule_a_SOURCES) 171 182 172 all: config.h 183 173 $(MAKE) $(AM_MAKEFLAGS) all-am … … 185 175 .SUFFIXES: 186 176 .SUFFIXES: .c .lo .o .obj 187 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 188 @for dep in $?; do \ 189 case '$(am__configure_deps)' in \ 190 *$$dep*) \ 191 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 192 && exit 0; \ 193 exit 1;; \ 194 esac; \ 195 done; \ 196 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 177 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 197 178 cd $(top_srcdir) && \ 198 179 $(AUTOMAKE) --gnu src/Makefile 199 .PRECIOUS: Makefile 200 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 201 @case '$?' in \ 202 *config.status*) \ 203 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 204 *) \ 205 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 206 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 207 esac; 208 209 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 210 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 211 212 $(top_srcdir)/configure: $(am__configure_deps) 213 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 214 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 215 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 180 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 181 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 216 182 217 183 config.h: stamp-h1 … … 224 190 @rm -f stamp-h1 225 191 cd $(top_builddir) && $(SHELL) ./config.status src/config.h 226 $(srcdir)/config.h.in: $(am__configure_deps) 192 193 $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 227 194 cd $(top_srcdir) && $(AUTOHEADER) 228 rm -f stamp-h1 229 touch $@ 195 touch $(srcdir)/config.h.in 230 196 231 197 distclean-hdr: 232 198 -rm -f config.h stamp-h1 199 libLIBRARIES_INSTALL = $(INSTALL_DATA) 233 200 install-libLIBRARIES: $(lib_LIBRARIES) 234 201 @$(NORMAL_INSTALL) 235 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"202 $(mkinstalldirs) $(DESTDIR)$(libdir) 236 203 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 237 204 if test -f $$p; then \ 238 205 f="`echo $$p | sed -e 's|^.*/||'`"; \ 239 echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \240 $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \206 echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \ 207 $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \ 241 208 else :; fi; \ 242 209 done … … 245 212 if test -f $$p; then \ 246 213 p="`echo $$p | sed -e 's|^.*/||'`"; \ 247 echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \248 $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \214 echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ 215 $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ 249 216 else :; fi; \ 250 217 done … … 254 221 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 255 222 p="`echo $$p | sed -e 's|^.*/||'`"; \ 256 echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \257 rm -f "$(DESTDIR)$(libdir)/$$p"; \223 echo " rm -f $(DESTDIR)$(libdir)/$$p"; \ 224 rm -f $(DESTDIR)$(libdir)/$$p; \ 258 225 done 259 226 … … 266 233 267 234 mostlyclean-compile: 268 -rm -f *.$(OBJEXT) 235 -rm -f *.$(OBJEXT) core *.core 269 236 270 237 distclean-compile: … … 277 244 278 245 .c.o: 279 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 280 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 246 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 247 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 248 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 249 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 250 @am__fastdepCC_TRUE@ fi 281 251 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 282 252 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 283 253 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 284 @am__fastdepCC_FALSE@ $(COMPILE) -c $<254 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 285 255 286 256 .c.obj: 287 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 288 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 257 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 258 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 259 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 260 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 261 @am__fastdepCC_TRUE@ fi 289 262 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 290 263 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 291 264 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 292 @am__fastdepCC_FALSE@ $(COMPILE) -c ` $(CYGPATH_W) '$<'`265 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` 293 266 294 267 .c.lo: 295 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 296 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 268 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 269 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 270 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ 271 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 272 @am__fastdepCC_TRUE@ fi 297 273 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 298 274 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 299 275 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 300 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<276 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 301 277 302 278 mostlyclean-libtool: … … 309 285 -rm -f libtool 310 286 uninstall-info-am: 287 libpsmodule_aHEADERS_INSTALL = $(INSTALL_HEADER) 311 288 install-libpsmodule_aHEADERS: $(libpsmodule_a_HEADERS) 312 289 @$(NORMAL_INSTALL) 313 test -z "$(libpsmodule_adir)" || $(mkdir_p) "$(DESTDIR)$(libpsmodule_adir)"290 $(mkinstalldirs) $(DESTDIR)$(libpsmodule_adir) 314 291 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 315 292 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 316 293 f="`echo $$p | sed -e 's|^.*/||'`"; \ 317 echo " $(libpsmodule_aHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \318 $(libpsmodule_aHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libpsmodule_adir)/$$f"; \294 echo " $(libpsmodule_aHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libpsmodule_adir)/$$f"; \ 295 $(libpsmodule_aHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libpsmodule_adir)/$$f; \ 319 296 done 320 297 … … 323 300 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 324 301 f="`echo $$p | sed -e 's|^.*/||'`"; \ 325 echo " rm -f '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \ 326 rm -f "$(DESTDIR)$(libpsmodule_adir)/$$f"; \ 327 done 302 echo " rm -f $(DESTDIR)$(libpsmodule_adir)/$$f"; \ 303 rm -f $(DESTDIR)$(libpsmodule_adir)/$$f; \ 304 done 305 306 ETAGS = etags 307 ETAGSFLAGS = 308 309 CTAGS = ctags 310 CTAGSFLAGS = 311 312 tags: TAGS 328 313 329 314 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 335 320 END { for (i in files) print i; }'`; \ 336 321 mkid -fID $$unique 337 tags: TAGS338 322 339 323 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 350 334 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 351 335 $$tags $$unique 336 352 337 ctags: CTAGS 353 338 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 372 357 distclean-tags: 373 358 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 359 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 360 361 top_distdir = .. 362 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 374 363 375 364 distdir: $(DISTFILES) … … 385 374 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 386 375 dir="/$$dir"; \ 387 $(mk dir_p) "$(distdir)$$dir"; \376 $(mkinstalldirs) "$(distdir)$$dir"; \ 388 377 else \ 389 378 dir=''; \ … … 403 392 check: check-am 404 393 all-am: Makefile $(LIBRARIES) $(HEADERS) config.h 394 405 395 installdirs: 406 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libpsmodule_adir)"; do \ 407 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 408 done 396 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libpsmodule_adir) 409 397 install: install-am 410 398 install-exec: install-exec-am … … 418 406 install-strip: 419 407 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 420 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \408 INSTALL_STRIP_FLAG=-s \ 421 409 `test -z '$(STRIP)' || \ 422 410 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 433 421 clean: clean-am 434 422 435 clean-am: clean-generic clean-libLIBRARIES clean-libtool \ 436 mostlyclean-am 423 clean-am: clean-generic clean-libLIBRARIES clean-libtool mostlyclean-am 437 424 438 425 distclean: distclean-am 439 426 -rm -rf ./$(DEPDIR) 440 427 -rm -f Makefile 441 distclean-am: clean-am distclean-compile distclean-generic \442 distclean- hdr distclean-libtool distclean-tags428 distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \ 429 distclean-libtool distclean-tags 443 430 444 431 dvi: dvi-am 445 432 446 433 dvi-am: 447 448 html: html-am449 434 450 435 info: info-am … … 486 471 clean-libLIBRARIES clean-libtool ctags distclean \ 487 472 distclean-compile distclean-generic distclean-hdr \ 488 distclean-libtool distclean-tags distdir dvi dvi-am html \ 489 html-am info info-am install install-am install-data \ 490 install-data-am install-exec install-exec-am install-info \ 491 install-info-am install-libLIBRARIES \ 492 install-libpsmodule_aHEADERS install-man install-strip \ 493 installcheck installcheck-am installdirs maintainer-clean \ 494 maintainer-clean-generic mostlyclean mostlyclean-compile \ 495 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 496 tags uninstall uninstall-am uninstall-info-am \ 473 distclean-libtool distclean-tags distdir dvi dvi-am info \ 474 info-am install install-am install-data install-data-am \ 475 install-exec install-exec-am install-info install-info-am \ 476 install-libLIBRARIES install-libpsmodule_aHEADERS install-man \ 477 install-strip installcheck installcheck-am installdirs \ 478 maintainer-clean maintainer-clean-generic mostlyclean \ 479 mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \ 480 pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \ 497 481 uninstall-libLIBRARIES uninstall-libpsmodule_aHEADERS 498 482 -
trunk/psModules/test/Makefile.in
r1888 r1890 1 # Makefile.in generated by automake 1. 8.3from Makefile.am.1 # Makefile.in generated by automake 1.7.8 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,5 # 2003, 2004Free Software Foundation, Inc.4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 5 # Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 17 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES)18 16 19 17 srcdir = @srcdir@ … … 24 22 pkgincludedir = $(includedir)/@PACKAGE@ 25 23 top_builddir = .. 24 26 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 27 26 INSTALL = @INSTALL@ … … 38 37 POST_UNINSTALL = : 39 38 host_triplet = @host@ 40 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT)41 subdir = test42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m444 am__aclocal_m4_deps = $(top_srcdir)/configure.in45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \46 $(ACLOCAL_M4)47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs48 CONFIG_HEADER = $(top_builddir)/src/config.h49 CONFIG_CLEAN_FILES =50 am__installdirs = "$(DESTDIR)$(bindir)"51 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)52 PROGRAMS = $(bin_PROGRAMS)53 am_tst_pmFlatField_OBJECTS = tst_pmFlatField.$(OBJEXT)54 tst_pmFlatField_OBJECTS = $(am_tst_pmFlatField_OBJECTS)55 tst_pmFlatField_LDADD = $(LDADD)56 am_tst_pmMaskBadPixels_OBJECTS = tst_pmMaskBadPixels.$(OBJEXT)57 tst_pmMaskBadPixels_OBJECTS = $(am_tst_pmMaskBadPixels_OBJECTS)58 tst_pmMaskBadPixels_LDADD = $(LDADD)59 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src60 depcomp = $(SHELL) $(top_srcdir)/depcomp61 am__depfiles_maybe = depfiles62 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/tst_pmFlatField.Po \63 @AMDEP_TRUE@ ./$(DEPDIR)/tst_pmMaskBadPixels.Po64 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \65 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)66 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \67 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \68 $(AM_CFLAGS) $(CFLAGS)69 CCLD = $(CC)70 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \71 $(AM_LDFLAGS) $(LDFLAGS) -o $@72 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES)73 DIST_SOURCES = $(tst_pmFlatField_SOURCES) \74 $(tst_pmMaskBadPixels_SOURCES)75 ETAGS = etags76 CTAGS = ctags77 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)78 39 ACLOCAL = @ACLOCAL@ 79 40 AMDEP_FALSE = @AMDEP_FALSE@ … … 163 124 localstatedir = @localstatedir@ 164 125 mandir = @mandir@ 165 mkdir_p = @mkdir_p@166 126 oldincludedir = @oldincludedir@ 167 127 prefix = @prefix@ … … 171 131 sysconfdir = @sysconfdir@ 172 132 target_alias = @target_alias@ 133 bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels 134 173 135 tst_pmFlatField_SOURCES = tst_pmFlatField.c 174 136 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule 137 175 138 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 176 139 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule 140 subdir = test 141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 142 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 143 CONFIG_HEADER = $(top_builddir)/src/config.h 144 CONFIG_CLEAN_FILES = 145 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT) 146 PROGRAMS = $(bin_PROGRAMS) 147 148 am_tst_pmFlatField_OBJECTS = tst_pmFlatField.$(OBJEXT) 149 tst_pmFlatField_OBJECTS = $(am_tst_pmFlatField_OBJECTS) 150 tst_pmFlatField_LDADD = $(LDADD) 151 tst_pmFlatField_DEPENDENCIES = 152 am_tst_pmMaskBadPixels_OBJECTS = tst_pmMaskBadPixels.$(OBJEXT) 153 tst_pmMaskBadPixels_OBJECTS = $(am_tst_pmMaskBadPixels_OBJECTS) 154 tst_pmMaskBadPixels_LDADD = $(LDADD) 155 tst_pmMaskBadPixels_DEPENDENCIES = 156 157 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 158 depcomp = $(SHELL) $(top_srcdir)/depcomp 159 am__depfiles_maybe = depfiles 160 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/tst_pmFlatField.Po \ 161 @AMDEP_TRUE@ ./$(DEPDIR)/tst_pmMaskBadPixels.Po 162 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 163 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 165 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 166 CCLD = $(CC) 167 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 168 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 169 DIST_SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) 170 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am 171 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) 172 177 173 all: all-am 178 174 179 175 .SUFFIXES: 180 176 .SUFFIXES: .c .lo .o .obj 181 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 182 @for dep in $?; do \ 183 case '$(am__configure_deps)' in \ 184 *$$dep*) \ 185 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 186 && exit 0; \ 187 exit 1;; \ 188 esac; \ 189 done; \ 190 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ 177 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 191 178 cd $(top_srcdir) && \ 192 179 $(AUTOMAKE) --gnu test/Makefile 193 .PRECIOUS: Makefile 194 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 195 @case '$?' in \ 196 *config.status*) \ 197 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 198 *) \ 199 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 200 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 201 esac; 202 203 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 204 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 205 206 $(top_srcdir)/configure: $(am__configure_deps) 207 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 208 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 180 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 181 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 182 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 210 183 install-binPROGRAMS: $(bin_PROGRAMS) 211 184 @$(NORMAL_INSTALL) 212 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"185 $(mkinstalldirs) $(DESTDIR)$(bindir) 213 186 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 214 187 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 217 190 ; then \ 218 191 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 219 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \220 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f"|| exit 1; \192 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ 193 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ 221 194 else :; fi; \ 222 195 done … … 226 199 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 227 200 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 228 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \229 rm -f "$(DESTDIR)$(bindir)/$$f"; \201 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ 202 rm -f $(DESTDIR)$(bindir)/$$f; \ 230 203 done 231 204 … … 244 217 245 218 mostlyclean-compile: 246 -rm -f *.$(OBJEXT) 219 -rm -f *.$(OBJEXT) core *.core 247 220 248 221 distclean-compile: … … 253 226 254 227 .c.o: 255 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 256 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 228 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 229 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 230 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 231 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 232 @am__fastdepCC_TRUE@ fi 257 233 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 258 234 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 259 235 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 260 @am__fastdepCC_FALSE@ $(COMPILE) -c $<236 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 261 237 262 238 .c.obj: 263 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 264 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 239 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 240 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 241 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 242 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 243 @am__fastdepCC_TRUE@ fi 265 244 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 266 245 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 267 246 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 268 @am__fastdepCC_FALSE@ $(COMPILE) -c ` $(CYGPATH_W) '$<'`247 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` 269 248 270 249 .c.lo: 271 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 272 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 250 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 251 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 252 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ 253 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 254 @am__fastdepCC_TRUE@ fi 273 255 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 274 256 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 275 257 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 276 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<258 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 277 259 278 260 mostlyclean-libtool: … … 285 267 -rm -f libtool 286 268 uninstall-info-am: 269 270 ETAGS = etags 271 ETAGSFLAGS = 272 273 CTAGS = ctags 274 CTAGSFLAGS = 275 276 tags: TAGS 287 277 288 278 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 294 284 END { for (i in files) print i; }'`; \ 295 285 mkid -fID $$unique 296 tags: TAGS297 286 298 287 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 309 298 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 310 299 $$tags $$unique 300 311 301 ctags: CTAGS 312 302 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 331 321 distclean-tags: 332 322 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 323 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 324 325 top_distdir = .. 326 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 333 327 334 328 distdir: $(DISTFILES) … … 344 338 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 345 339 dir="/$$dir"; \ 346 $(mk dir_p) "$(distdir)$$dir"; \340 $(mkinstalldirs) "$(distdir)$$dir"; \ 347 341 else \ 348 342 dir=''; \ … … 362 356 check: check-am 363 357 all-am: Makefile $(PROGRAMS) 358 364 359 installdirs: 365 for dir in "$(DESTDIR)$(bindir)"; do \ 366 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 367 done 360 $(mkinstalldirs) $(DESTDIR)$(bindir) 368 361 install: install-am 369 362 install-exec: install-exec-am … … 377 370 install-strip: 378 371 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 379 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"INSTALL_STRIP_FLAG=-s \372 INSTALL_STRIP_FLAG=-s \ 380 373 `test -z '$(STRIP)' || \ 381 374 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 404 397 dvi-am: 405 398 406 html: html-am407 408 399 info: info-am 409 400 … … 443 434 clean-generic clean-libtool ctags distclean distclean-compile \ 444 435 distclean-generic distclean-libtool distclean-tags distdir dvi \ 445 dvi-am html html-am info info-am install install-am\446 install- binPROGRAMS install-data install-data-am install-exec\447 install- exec-am install-info install-info-am install-man\448 install -strip installcheck installcheck-am installdirs\449 maintainer-clean maintainer-clean-generic mostlyclean\450 mostlyclean- compile mostlyclean-generic mostlyclean-libtool\451 pdf pdf-am ps ps-am tags uninstall uninstall-am\452 uninstall- binPROGRAMS uninstall-info-am436 dvi-am info info-am install install-am install-binPROGRAMS \ 437 install-data install-data-am install-exec install-exec-am \ 438 install-info install-info-am install-man install-strip \ 439 installcheck installcheck-am installdirs maintainer-clean \ 440 maintainer-clean-generic mostlyclean mostlyclean-compile \ 441 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 442 tags uninstall uninstall-am uninstall-binPROGRAMS \ 443 uninstall-info-am 453 444 454 445 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note:
See TracChangeset
for help on using the changeset viewer.
