revision 658:f5926310bfbe
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 658:f5926310bfbe |
parent | 657:c4143facbfcb |
child | 659:6b1dff1575b3 |
author | nkeynes |
date | Wed Apr 16 12:43:52 2008 +0000 (15 years ago) |
Start removing X11isms from gtkui into drivers
Overhaul the configure rules for figuring out the video driver
Overhaul the configure rules for figuring out the video driver
![]() | Makefile.in | view | annotate | diff | log | |
![]() | aclocal.m4 | view | annotate | diff | log | |
![]() | config.h.in | view | annotate | diff | log | |
![]() | configure | view | annotate | diff | log | |
![]() | configure.in | view | annotate | diff | log | |
![]() | src/Makefile.am | view | annotate | diff | log | |
![]() | src/Makefile.in | view | annotate | diff | log | |
![]() | src/drivers/video_gtk.c | view | annotate | diff | log | |
![]() | src/gtkui/gtkui.c | view | annotate | diff | log | |
![]() | src/gtkui/main_win.c | view | annotate | diff | log | |
![]() | src/gtkui/path_dlg.c | view | annotate | diff | log |
1.1 --- a/Makefile.in Wed Apr 16 10:12:12 2008 +00001.2 +++ b/Makefile.in Wed Apr 16 12:43:52 2008 +00001.3 @@ -1,8 +1,8 @@1.4 -# Makefile.in generated by automake 1.7.9 from Makefile.am.1.5 +# Makefile.in generated by automake 1.9.6 from Makefile.am.1.6 # @configure_input@1.8 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20031.9 -# Free Software Foundation, Inc.1.10 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,1.11 +# 2003, 2004, 2005 Free Software Foundation, Inc.1.12 # This Makefile.in is free software; the Free Software Foundation1.13 # gives unlimited permission to copy and/or distribute it,1.14 # with or without modifications, as long as this notice is preserved.1.15 @@ -13,7 +13,6 @@1.16 # PARTICULAR PURPOSE.1.18 @SET_MAKE@1.19 -1.20 srcdir = @srcdir@1.21 top_srcdir = @top_srcdir@1.22 VPATH = @srcdir@1.23 @@ -21,7 +20,6 @@1.24 pkglibdir = $(libdir)/@PACKAGE@1.25 pkgincludedir = $(includedir)/@PACKAGE@1.26 top_builddir = .1.27 -1.28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd1.29 INSTALL = @INSTALL@1.30 install_sh_DATA = $(install_sh) -c -m 6441.31 @@ -35,7 +33,45 @@1.32 NORMAL_UNINSTALL = :1.33 PRE_UNINSTALL = :1.34 POST_UNINSTALL = :1.35 +build_triplet = @build@1.36 host_triplet = @host@1.37 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \1.38 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \1.39 + $(top_srcdir)/configure $(top_srcdir)/test/Makefile.in AUTHORS \1.40 + COPYING ChangeLog INSTALL NEWS acconfig.h config.guess \1.41 + config.sub depcomp install-sh missing mkinstalldirs1.42 +subdir = .1.43 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m41.44 +am__aclocal_m4_deps = $(top_srcdir)/configure.in1.45 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \1.46 + $(ACLOCAL_M4)1.47 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \1.48 + configure.lineno configure.status.lineno1.49 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs1.50 +CONFIG_HEADER = config.h1.51 +CONFIG_CLEAN_FILES = test/Makefile1.52 +SOURCES =1.53 +DIST_SOURCES =1.54 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \1.55 + html-recursive info-recursive install-data-recursive \1.56 + install-exec-recursive install-info-recursive \1.57 + install-recursive installcheck-recursive installdirs-recursive \1.58 + pdf-recursive ps-recursive uninstall-info-recursive \1.59 + uninstall-recursive1.60 +ETAGS = etags1.61 +CTAGS = ctags1.62 +DIST_SUBDIRS = src po test1.63 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)1.64 +distdir = $(PACKAGE)-$(VERSION)1.65 +top_distdir = $(distdir)1.66 +am__remove_distdir = \1.67 + { test ! -d $(distdir) \1.68 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \1.69 + && rm -fr $(distdir); }; }1.70 +DIST_ARCHIVES = $(distdir).tar.gz1.71 +GZIP_ENV = --best1.72 +distuninstallcheck_listfiles = find . -type f -print1.73 +distcleancheck_listfiles = find . -type f -print1.74 ACLOCAL = @ACLOCAL@1.75 ALSA_CFLAGS = @ALSA_CFLAGS@1.76 ALSA_LIBS = @ALSA_LIBS@1.77 @@ -117,8 +153,6 @@1.78 MSGFMT = @MSGFMT@1.79 MSGFMT_OPTS = @MSGFMT_OPTS@1.80 OBJEXT = @OBJEXT@1.81 -OSMESA_DRIVER_FALSE = @OSMESA_DRIVER_FALSE@1.82 -OSMESA_DRIVER_TRUE = @OSMESA_DRIVER_TRUE@1.83 PACKAGE = @PACKAGE@1.84 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@1.85 PACKAGE_NAME = @PACKAGE_NAME@1.86 @@ -141,6 +175,12 @@1.87 STRIP = @STRIP@1.88 USE_NLS = @USE_NLS@1.89 VERSION = @VERSION@1.90 +VIDEO_GLX_FALSE = @VIDEO_GLX_FALSE@1.91 +VIDEO_GLX_TRUE = @VIDEO_GLX_TRUE@1.92 +VIDEO_NSGL_FALSE = @VIDEO_NSGL_FALSE@1.93 +VIDEO_NSGL_TRUE = @VIDEO_NSGL_TRUE@1.94 +VIDEO_OSMESA_FALSE = @VIDEO_OSMESA_FALSE@1.95 +VIDEO_OSMESA_TRUE = @VIDEO_OSMESA_TRUE@1.96 XGETTEXT = @XGETTEXT@1.97 ac_ct_CC = @ac_ct_CC@1.98 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@1.99 @@ -148,6 +188,8 @@1.100 am__include = @am__include@1.101 am__leading_dot = @am__leading_dot@1.102 am__quote = @am__quote@1.103 +am__tar = @am__tar@1.104 +am__untar = @am__untar@1.105 bindir = @bindir@1.106 build = @build@1.107 build_alias = @build_alias@1.108 @@ -173,6 +215,7 @@1.109 localedir = @localedir@1.110 localstatedir = @localstatedir@1.111 mandir = @mandir@1.112 +mkdir_p = @mkdir_p@1.113 oldincludedir = @oldincludedir@1.114 pdfdir = @pdfdir@1.115 prefix = @prefix@1.116 @@ -182,47 +225,45 @@1.117 sharedstatedir = @sharedstatedir@1.118 sysconfdir = @sysconfdir@1.119 target_alias = @target_alias@1.120 -1.121 @BUILD_SYSTEST_TRUE@TEST_SUBDIR = test1.122 SUBDIRS = src po $(TEST_SUBDIR)1.123 -1.124 EXTRA_DIST = autogen.sh1.125 -subdir = .1.126 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m41.127 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs1.128 -CONFIG_HEADER = config.h1.129 -CONFIG_CLEAN_FILES = test/Makefile1.130 -DIST_SOURCES =1.131 -1.132 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \1.133 - ps-recursive install-info-recursive uninstall-info-recursive \1.134 - all-recursive install-data-recursive install-exec-recursive \1.135 - installdirs-recursive install-recursive uninstall-recursive \1.136 - check-recursive installcheck-recursive1.137 -DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \1.138 - COPYING ChangeLog INSTALL Makefile.am NEWS acconfig.h \1.139 - aclocal.m4 config.guess config.h.in config.sub configure \1.140 - configure.in depcomp install-sh missing mkinstalldirs1.141 -DIST_SUBDIRS = src po test1.142 all: config.h1.143 $(MAKE) $(AM_MAKEFLAGS) all-recursive1.145 .SUFFIXES:1.146 -1.147 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \1.148 - configure.lineno1.149 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)1.150 +am--refresh:1.151 + @:1.152 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)1.153 + @for dep in $?; do \1.154 + case '$(am__configure_deps)' in \1.155 + *$$dep*) \1.156 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \1.157 + cd $(srcdir) && $(AUTOMAKE) --gnu \1.158 + && exit 0; \1.159 + exit 1;; \1.160 + esac; \1.161 + done; \1.162 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \1.163 cd $(top_srcdir) && \1.164 $(AUTOMAKE) --gnu Makefile1.165 -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status1.166 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)1.167 +.PRECIOUS: Makefile1.168 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status1.169 + @case '$?' in \1.170 + *config.status*) \1.171 + echo ' $(SHELL) ./config.status'; \1.172 + $(SHELL) ./config.status;; \1.173 + *) \1.174 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \1.175 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \1.176 + esac;1.178 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)1.179 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)1.180 $(SHELL) ./config.status --recheck1.181 -$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)1.182 +1.183 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)1.184 cd $(srcdir) && $(AUTOCONF)1.185 -1.186 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in1.187 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)1.188 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)1.190 config.h: stamp-h11.191 @@ -234,10 +275,10 @@1.192 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status1.193 @rm -f stamp-h11.194 cd $(top_builddir) && $(SHELL) ./config.status config.h1.195 -1.196 -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h1.197 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h1.198 cd $(top_srcdir) && $(AUTOHEADER)1.199 - touch $(srcdir)/config.h.in1.200 + rm -f stamp-h11.201 + touch $@1.203 distclean-hdr:1.204 -rm -f config.h stamp-h11.205 @@ -252,7 +293,13 @@1.206 # (which will cause the Makefiles to be regenerated when you run `make');1.207 # (2) otherwise, pass the desired values on the `make' command line.1.208 $(RECURSIVE_TARGETS):1.209 - @set fnord $$MAKEFLAGS; amf=$$2; \1.210 + @failcom='exit 1'; \1.211 + for f in x $$MAKEFLAGS; do \1.212 + case $$f in \1.213 + *=* | --[!k]*);; \1.214 + *k*) failcom='fail=yes';; \1.215 + esac; \1.216 + done; \1.217 dot_seen=no; \1.218 target=`echo $@ | sed s/-recursive//`; \1.219 list='$(SUBDIRS)'; for subdir in $$list; do \1.220 @@ -264,7 +311,7 @@1.221 local_target="$$target"; \1.222 fi; \1.223 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \1.224 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \1.225 + || eval $$failcom; \1.226 done; \1.227 if test "$$dot_seen" = "no"; then \1.228 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \1.229 @@ -272,7 +319,13 @@1.231 mostlyclean-recursive clean-recursive distclean-recursive \1.232 maintainer-clean-recursive:1.233 - @set fnord $$MAKEFLAGS; amf=$$2; \1.234 + @failcom='exit 1'; \1.235 + for f in x $$MAKEFLAGS; do \1.236 + case $$f in \1.237 + *=* | --[!k]*);; \1.238 + *k*) failcom='fail=yes';; \1.239 + esac; \1.240 + done; \1.241 dot_seen=no; \1.242 case "$@" in \1.243 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \1.244 @@ -293,7 +346,7 @@1.245 local_target="$$target"; \1.246 fi; \1.247 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \1.248 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \1.249 + || eval $$failcom; \1.250 done && test -z "$$fail"1.251 tags-recursive:1.252 list='$(SUBDIRS)'; for subdir in $$list; do \1.253 @@ -304,14 +357,6 @@1.254 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \1.255 done1.257 -ETAGS = etags1.258 -ETAGSFLAGS =1.259 -1.260 -CTAGS = ctags1.261 -CTAGSFLAGS =1.262 -1.263 -tags: TAGS1.264 -1.265 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)1.266 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \1.267 unique=`for i in $$list; do \1.268 @@ -320,19 +365,22 @@1.269 $(AWK) ' { files[$$0] = 1; } \1.270 END { for (i in files) print i; }'`; \1.271 mkid -fID $$unique1.272 +tags: TAGS1.274 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1.275 $(TAGS_FILES) $(LISP)1.276 tags=; \1.277 here=`pwd`; \1.278 - if (etags --etags-include --version) >/dev/null 2>&1; then \1.279 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \1.280 include_option=--etags-include; \1.281 + empty_fix=.; \1.282 else \1.283 include_option=--include; \1.284 + empty_fix=; \1.285 fi; \1.286 list='$(SUBDIRS)'; for subdir in $$list; do \1.287 if test "$$subdir" = .; then :; else \1.288 - test -f $$subdir/TAGS && \1.289 + test ! -f $$subdir/TAGS || \1.290 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \1.291 fi; \1.292 done; \1.293 @@ -342,10 +390,11 @@1.294 done | \1.295 $(AWK) ' { files[$$0] = 1; } \1.296 END { for (i in files) print i; }'`; \1.297 - test -z "$(ETAGS_ARGS)$$tags$$unique" \1.298 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \1.299 - $$tags $$unique1.300 -1.301 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \1.302 + test -n "$$unique" || unique=$$empty_fix; \1.303 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \1.304 + $$tags $$unique; \1.305 + fi1.306 ctags: CTAGS1.307 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1.308 $(TAGS_FILES) $(LISP)1.309 @@ -368,24 +417,11 @@1.311 distclean-tags:1.312 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags1.313 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)1.314 -1.315 -top_distdir = .1.316 -distdir = $(PACKAGE)-$(VERSION)1.317 -1.318 -am__remove_distdir = \1.319 - { test ! -d $(distdir) \1.320 - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \1.321 - && rm -fr $(distdir); }; }1.322 -1.323 -GZIP_ENV = --best1.324 -distuninstallcheck_listfiles = find . -type f -print1.325 -distcleancheck_listfiles = find . -type f -print1.327 distdir: $(DISTFILES)1.328 $(am__remove_distdir)1.329 mkdir $(distdir)1.330 - $(mkinstalldirs) $(distdir)/po $(distdir)/test1.331 + $(mkdir_p) $(distdir)/po $(distdir)/test1.332 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \1.333 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \1.334 list='$(DISTFILES)'; for file in $$list; do \1.335 @@ -397,7 +433,7 @@1.336 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \1.337 if test "$$dir" != "$$file" && test "$$dir" != "."; then \1.338 dir="/$$dir"; \1.339 - $(mkinstalldirs) "$(distdir)$$dir"; \1.340 + $(mkdir_p) "$(distdir)$$dir"; \1.341 else \1.342 dir=''; \1.343 fi; \1.344 @@ -414,13 +450,15 @@1.345 done1.346 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \1.347 if test "$$subdir" = .; then :; else \1.348 - test -d $(distdir)/$$subdir \1.349 - || mkdir $(distdir)/$$subdir \1.350 + test -d "$(distdir)/$$subdir" \1.351 + || $(mkdir_p) "$(distdir)/$$subdir" \1.352 || exit 1; \1.353 + distdir=`$(am__cd) $(distdir) && pwd`; \1.354 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \1.355 (cd $$subdir && \1.356 $(MAKE) $(AM_MAKEFLAGS) \1.357 - top_distdir="$(top_distdir)" \1.358 - distdir=../$(distdir)/$$subdir \1.359 + top_distdir="$$top_distdir" \1.360 + distdir="$$distdir/$$subdir" \1.361 distdir) \1.362 || exit 1; \1.363 fi; \1.364 @@ -434,19 +472,46 @@1.365 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \1.366 || chmod -R a+r $(distdir)1.367 dist-gzip: distdir1.368 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1.369 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1.370 + $(am__remove_distdir)1.371 +1.372 +dist-bzip2: distdir1.373 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz21.374 + $(am__remove_distdir)1.375 +1.376 +dist-tarZ: distdir1.377 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z1.378 + $(am__remove_distdir)1.379 +1.380 +dist-shar: distdir1.381 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz1.382 + $(am__remove_distdir)1.383 +1.384 +dist-zip: distdir1.385 + -rm -f $(distdir).zip1.386 + zip -rq $(distdir).zip $(distdir)1.387 $(am__remove_distdir)1.389 dist dist-all: distdir1.390 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1.391 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1.392 $(am__remove_distdir)1.394 # This target untars the dist file and tries a VPATH configuration. Then1.395 # it guarantees that the distribution is self-contained by making another1.396 # tarfile.1.397 distcheck: dist1.398 - $(am__remove_distdir)1.399 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -1.400 + case '$(DIST_ARCHIVES)' in \1.401 + *.tar.gz*) \1.402 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\1.403 + *.tar.bz2*) \1.404 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\1.405 + *.tar.Z*) \1.406 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\1.407 + *.shar.gz*) \1.408 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\1.409 + *.zip*) \1.410 + unzip $(distdir).zip ;;\1.411 + esac1.412 chmod -R a-w $(distdir); chmod a+w $(distdir)1.413 mkdir $(distdir)/_build1.414 mkdir $(distdir)/_inst1.415 @@ -466,19 +531,20 @@1.416 distuninstallcheck \1.417 && chmod -R a-w "$$dc_install_base" \1.418 && ({ \1.419 - (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \1.420 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \1.421 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \1.422 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \1.423 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \1.424 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \1.425 } || { rm -rf "$$dc_destdir"; exit 1; }) \1.426 && rm -rf "$$dc_destdir" \1.427 - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \1.428 - && rm -f $(distdir).tar.gz \1.429 + && $(MAKE) $(AM_MAKEFLAGS) dist \1.430 + && rm -rf $(DIST_ARCHIVES) \1.431 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck1.432 $(am__remove_distdir)1.433 - @echo "$(distdir).tar.gz is ready for distribution" | \1.434 - sed 'h;s/./=/g;p;x;p;x'1.435 + @(echo "$(distdir) archives ready for distribution: "; \1.436 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \1.437 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'1.438 distuninstallcheck:1.439 @cd $(distuninstallcheck_dir) \1.440 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \1.441 @@ -502,7 +568,6 @@1.442 all-am: Makefile config.h1.443 installdirs: installdirs-recursive1.444 installdirs-am:1.445 -1.446 install: install-recursive1.447 install-exec: install-exec-recursive1.448 install-data: install-data-recursive1.449 @@ -522,7 +587,7 @@1.450 clean-generic:1.452 distclean-generic:1.453 - -rm -f $(CONFIG_CLEAN_FILES)1.454 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)1.456 maintainer-clean-generic:1.457 @echo "This command is intended for maintainers to use"1.458 @@ -540,6 +605,8 @@1.460 dvi-am:1.462 +html: html-recursive1.463 +1.464 info: info-recursive1.466 info-am:1.467 @@ -576,22 +643,20 @@1.469 uninstall-info: uninstall-info-recursive1.471 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \1.472 - clean-generic clean-recursive ctags ctags-recursive dist \1.473 - dist-all dist-gzip distcheck distclean distclean-generic \1.474 - distclean-hdr distclean-recursive distclean-tags distcleancheck \1.475 - distdir distuninstallcheck dvi dvi-am dvi-recursive info \1.476 - info-am info-recursive install install-am install-data \1.477 - install-data-am install-data-local install-data-recursive \1.478 - install-exec install-exec-am install-exec-recursive \1.479 - install-info install-info-am install-info-recursive install-man \1.480 - install-recursive install-strip installcheck installcheck-am \1.481 - installdirs installdirs-am installdirs-recursive \1.482 - maintainer-clean maintainer-clean-generic \1.483 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \1.484 + check-am clean clean-generic clean-recursive ctags \1.485 + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \1.486 + dist-shar dist-tarZ dist-zip distcheck distclean \1.487 + distclean-generic distclean-hdr distclean-recursive \1.488 + distclean-tags distcleancheck distdir distuninstallcheck dvi \1.489 + dvi-am html html-am info info-am install install-am \1.490 + install-data install-data-am install-data-local install-exec \1.491 + install-exec-am install-info install-info-am install-man \1.492 + install-strip installcheck installcheck-am installdirs \1.493 + installdirs-am maintainer-clean maintainer-clean-generic \1.494 maintainer-clean-recursive mostlyclean mostlyclean-generic \1.495 - mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \1.496 - ps-recursive tags tags-recursive uninstall uninstall-am \1.497 - uninstall-info-am uninstall-info-recursive uninstall-recursive1.498 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \1.499 + uninstall uninstall-am uninstall-info-am1.502 install-data-local:
2.1 --- a/aclocal.m4 Wed Apr 16 10:12:12 2008 +00002.2 +++ b/aclocal.m4 Wed Apr 16 12:43:52 2008 +00002.3 @@ -1,7 +1,7 @@2.4 -# generated automatically by aclocal 1.7.9 -*- Autoconf -*-2.5 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-2.7 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 20022.8 -# Free Software Foundation, Inc.2.9 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,2.10 +# 2005 Free Software Foundation, Inc.2.11 # This file is free software; the Free Software Foundation2.12 # gives unlimited permission to copy and/or distribute it,2.13 # with or without modifications, as long as this notice is preserved.2.14 @@ -11,1191 +11,6 @@2.15 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A2.16 # PARTICULAR PURPOSE.2.18 -# Do all the work for Automake. -*- Autoconf -*-2.19 -2.20 -# This macro actually does too much some checks are only needed if2.21 -# your package does certain things. But this isn't really a big deal.2.22 -2.23 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20032.24 -# Free Software Foundation, Inc.2.25 -2.26 -# This program is free software; you can redistribute it and/or modify2.27 -# it under the terms of the GNU General Public License as published by2.28 -# the Free Software Foundation; either version 2, or (at your option)2.29 -# any later version.2.30 -2.31 -# This program is distributed in the hope that it will be useful,2.32 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.33 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.34 -# GNU General Public License for more details.2.35 -2.36 -# You should have received a copy of the GNU General Public License2.37 -# along with this program; if not, write to the Free Software2.38 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.39 -# 02111-1307, USA.2.40 -2.41 -# serial 102.42 -2.43 -AC_PREREQ([2.54])2.44 -2.45 -# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow2.46 -# the ones we care about.2.47 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl2.48 -2.49 -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])2.50 -# AM_INIT_AUTOMAKE([OPTIONS])2.51 -# -----------------------------------------------2.52 -# The call with PACKAGE and VERSION arguments is the old style2.53 -# call (pre autoconf-2.50), which is being phased out. PACKAGE2.54 -# and VERSION should now be passed to AC_INIT and removed from2.55 -# the call to AM_INIT_AUTOMAKE.2.56 -# We support both call styles for the transition. After2.57 -# the next Automake release, Autoconf can make the AC_INIT2.58 -# arguments mandatory, and then we can depend on a new Autoconf2.59 -# release and drop the old call support.2.60 -AC_DEFUN([AM_INIT_AUTOMAKE],2.61 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl2.62 - AC_REQUIRE([AC_PROG_INSTALL])dnl2.63 -# test to see if srcdir already configured2.64 -if test "`cd $srcdir && pwd`" != "`pwd`" &&2.65 - test -f $srcdir/config.status; then2.66 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])2.67 -fi2.68 -2.69 -# test whether we have cygpath2.70 -if test -z "$CYGPATH_W"; then2.71 - if (cygpath --version) >/dev/null 2>/dev/null; then2.72 - CYGPATH_W='cygpath -w'2.73 - else2.74 - CYGPATH_W=echo2.75 - fi2.76 -fi2.77 -AC_SUBST([CYGPATH_W])2.78 -2.79 -# Define the identity of the package.2.80 -dnl Distinguish between old-style and new-style calls.2.81 -m4_ifval([$2],2.82 -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl2.83 - AC_SUBST([PACKAGE], [$1])dnl2.84 - AC_SUBST([VERSION], [$2])],2.85 -[_AM_SET_OPTIONS([$1])dnl2.86 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl2.87 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl2.88 -2.89 -_AM_IF_OPTION([no-define],,2.90 -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])2.91 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl2.92 -2.93 -# Some tools Automake needs.2.94 -AC_REQUIRE([AM_SANITY_CHECK])dnl2.95 -AC_REQUIRE([AC_ARG_PROGRAM])dnl2.96 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})2.97 -AM_MISSING_PROG(AUTOCONF, autoconf)2.98 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})2.99 -AM_MISSING_PROG(AUTOHEADER, autoheader)2.100 -AM_MISSING_PROG(MAKEINFO, makeinfo)2.101 -AM_MISSING_PROG(AMTAR, tar)2.102 -AM_PROG_INSTALL_SH2.103 -AM_PROG_INSTALL_STRIP2.104 -# We need awk for the "check" target. The system "awk" is bad on2.105 -# some platforms.2.106 -AC_REQUIRE([AC_PROG_AWK])dnl2.107 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl2.108 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl2.109 -2.110 -_AM_IF_OPTION([no-dependencies],,2.111 -[AC_PROVIDE_IFELSE([AC_PROG_CC],2.112 - [_AM_DEPENDENCIES(CC)],2.113 - [define([AC_PROG_CC],2.114 - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl2.115 -AC_PROVIDE_IFELSE([AC_PROG_CXX],2.116 - [_AM_DEPENDENCIES(CXX)],2.117 - [define([AC_PROG_CXX],2.118 - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl2.119 -])2.120 -])2.121 -2.122 -2.123 -# When config.status generates a header, we must update the stamp-h file.2.124 -# This file resides in the same directory as the config header2.125 -# that is generated. The stamp files are numbered to have different names.2.126 -2.127 -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the2.128 -# loop where config.status creates the headers, so we can generate2.129 -# our stamp files there.2.130 -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],2.131 -[# Compute $1's index in $config_headers.2.132 -_am_stamp_count=12.133 -for _am_header in $config_headers :; do2.134 - case $_am_header in2.135 - $1 | $1:* )2.136 - break ;;2.137 - * )2.138 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;2.139 - esac2.140 -done2.141 -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])2.142 -2.143 -# Copyright 2002 Free Software Foundation, Inc.2.144 -2.145 -# This program is free software; you can redistribute it and/or modify2.146 -# it under the terms of the GNU General Public License as published by2.147 -# the Free Software Foundation; either version 2, or (at your option)2.148 -# any later version.2.149 -2.150 -# This program is distributed in the hope that it will be useful,2.151 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.152 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.153 -# GNU General Public License for more details.2.154 -2.155 -# You should have received a copy of the GNU General Public License2.156 -# along with this program; if not, write to the Free Software2.157 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.158 -2.159 -# AM_AUTOMAKE_VERSION(VERSION)2.160 -# ----------------------------2.161 -# Automake X.Y traces this macro to ensure aclocal.m4 has been2.162 -# generated from the m4 files accompanying Automake X.Y.2.163 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])2.164 -2.165 -# AM_SET_CURRENT_AUTOMAKE_VERSION2.166 -# -------------------------------2.167 -# Call AM_AUTOMAKE_VERSION so it can be traced.2.168 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.2.169 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],2.170 - [AM_AUTOMAKE_VERSION([1.7.9])])2.171 -2.172 -# Helper functions for option handling. -*- Autoconf -*-2.173 -2.174 -# Copyright 2001, 2002 Free Software Foundation, Inc.2.175 -2.176 -# This program is free software; you can redistribute it and/or modify2.177 -# it under the terms of the GNU General Public License as published by2.178 -# the Free Software Foundation; either version 2, or (at your option)2.179 -# any later version.2.180 -2.181 -# This program is distributed in the hope that it will be useful,2.182 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.183 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.184 -# GNU General Public License for more details.2.185 -2.186 -# You should have received a copy of the GNU General Public License2.187 -# along with this program; if not, write to the Free Software2.188 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.189 -# 02111-1307, USA.2.190 -2.191 -# serial 22.192 -2.193 -# _AM_MANGLE_OPTION(NAME)2.194 -# -----------------------2.195 -AC_DEFUN([_AM_MANGLE_OPTION],2.196 -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])2.197 -2.198 -# _AM_SET_OPTION(NAME)2.199 -# ------------------------------2.200 -# Set option NAME. Presently that only means defining a flag for this option.2.201 -AC_DEFUN([_AM_SET_OPTION],2.202 -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])2.203 -2.204 -# _AM_SET_OPTIONS(OPTIONS)2.205 -# ----------------------------------2.206 -# OPTIONS is a space-separated list of Automake options.2.207 -AC_DEFUN([_AM_SET_OPTIONS],2.208 -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])2.209 -2.210 -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])2.211 -# -------------------------------------------2.212 -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.2.213 -AC_DEFUN([_AM_IF_OPTION],2.214 -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])2.215 -2.216 -#2.217 -# Check to make sure that the build environment is sane.2.218 -#2.219 -2.220 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.2.221 -2.222 -# This program is free software; you can redistribute it and/or modify2.223 -# it under the terms of the GNU General Public License as published by2.224 -# the Free Software Foundation; either version 2, or (at your option)2.225 -# any later version.2.226 -2.227 -# This program is distributed in the hope that it will be useful,2.228 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.229 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.230 -# GNU General Public License for more details.2.231 -2.232 -# You should have received a copy of the GNU General Public License2.233 -# along with this program; if not, write to the Free Software2.234 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.235 -# 02111-1307, USA.2.236 -2.237 -# serial 32.238 -2.239 -# AM_SANITY_CHECK2.240 -# ---------------2.241 -AC_DEFUN([AM_SANITY_CHECK],2.242 -[AC_MSG_CHECKING([whether build environment is sane])2.243 -# Just in case2.244 -sleep 12.245 -echo timestamp > conftest.file2.246 -# Do `set' in a subshell so we don't clobber the current shell's2.247 -# arguments. Must try -L first in case configure is actually a2.248 -# symlink; some systems play weird games with the mod time of symlinks2.249 -# (eg FreeBSD returns the mod time of the symlink's containing2.250 -# directory).2.251 -if (2.252 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`2.253 - if test "$[*]" = "X"; then2.254 - # -L didn't work.2.255 - set X `ls -t $srcdir/configure conftest.file`2.256 - fi2.257 - rm -f conftest.file2.258 - if test "$[*]" != "X $srcdir/configure conftest.file" \2.259 - && test "$[*]" != "X conftest.file $srcdir/configure"; then2.260 -2.261 - # If neither matched, then we have a broken ls. This can happen2.262 - # if, for instance, CONFIG_SHELL is bash and it inherits a2.263 - # broken ls alias from the environment. This has actually2.264 - # happened. Such a system could not be considered "sane".2.265 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken2.266 -alias in your environment])2.267 - fi2.268 -2.269 - test "$[2]" = conftest.file2.270 - )2.271 -then2.272 - # Ok.2.273 - :2.274 -else2.275 - AC_MSG_ERROR([newly created file is older than distributed files!2.276 -Check your system clock])2.277 -fi2.278 -AC_MSG_RESULT(yes)])2.279 -2.280 -# -*- Autoconf -*-2.281 -2.282 -2.283 -# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.2.284 -2.285 -# This program is free software; you can redistribute it and/or modify2.286 -# it under the terms of the GNU General Public License as published by2.287 -# the Free Software Foundation; either version 2, or (at your option)2.288 -# any later version.2.289 -2.290 -# This program is distributed in the hope that it will be useful,2.291 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.292 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.293 -# GNU General Public License for more details.2.294 -2.295 -# You should have received a copy of the GNU General Public License2.296 -# along with this program; if not, write to the Free Software2.297 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.298 -# 02111-1307, USA.2.299 -2.300 -# serial 32.301 -2.302 -# AM_MISSING_PROG(NAME, PROGRAM)2.303 -# ------------------------------2.304 -AC_DEFUN([AM_MISSING_PROG],2.305 -[AC_REQUIRE([AM_MISSING_HAS_RUN])2.306 -$1=${$1-"${am_missing_run}$2"}2.307 -AC_SUBST($1)])2.308 -2.309 -2.310 -# AM_MISSING_HAS_RUN2.311 -# ------------------2.312 -# Define MISSING if not defined so far and test if it supports --run.2.313 -# If it does, set am_missing_run to use it, otherwise, to nothing.2.314 -AC_DEFUN([AM_MISSING_HAS_RUN],2.315 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl2.316 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"2.317 -# Use eval to expand $SHELL2.318 -if eval "$MISSING --run true"; then2.319 - am_missing_run="$MISSING --run "2.320 -else2.321 - am_missing_run=2.322 - AC_MSG_WARN([`missing' script is too old or missing])2.323 -fi2.324 -])2.325 -2.326 -# AM_AUX_DIR_EXPAND2.327 -2.328 -# Copyright 2001 Free Software Foundation, Inc.2.329 -2.330 -# This program is free software; you can redistribute it and/or modify2.331 -# it under the terms of the GNU General Public License as published by2.332 -# the Free Software Foundation; either version 2, or (at your option)2.333 -# any later version.2.334 -2.335 -# This program is distributed in the hope that it will be useful,2.336 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.337 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.338 -# GNU General Public License for more details.2.339 -2.340 -# You should have received a copy of the GNU General Public License2.341 -# along with this program; if not, write to the Free Software2.342 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.343 -# 02111-1307, USA.2.344 -2.345 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets2.346 -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to2.347 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.2.348 -#2.349 -# Of course, Automake must honor this variable whenever it calls a2.350 -# tool from the auxiliary directory. The problem is that $srcdir (and2.351 -# therefore $ac_aux_dir as well) can be either absolute or relative,2.352 -# depending on how configure is run. This is pretty annoying, since2.353 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top2.354 -# source directory, any form will work fine, but in subdirectories a2.355 -# relative path needs to be adjusted first.2.356 -#2.357 -# $ac_aux_dir/missing2.358 -# fails when called from a subdirectory if $ac_aux_dir is relative2.359 -# $top_srcdir/$ac_aux_dir/missing2.360 -# fails if $ac_aux_dir is absolute,2.361 -# fails when called from a subdirectory in a VPATH build with2.362 -# a relative $ac_aux_dir2.363 -#2.364 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir2.365 -# are both prefixed by $srcdir. In an in-source build this is usually2.366 -# harmless because $srcdir is `.', but things will broke when you2.367 -# start a VPATH build or use an absolute $srcdir.2.368 -#2.369 -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,2.370 -# iff we strip the leading $srcdir from $ac_aux_dir. That would be:2.371 -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`2.372 -# and then we would define $MISSING as2.373 -# MISSING="\${SHELL} $am_aux_dir/missing"2.374 -# This will work as long as MISSING is not called from configure, because2.375 -# unfortunately $(top_srcdir) has no meaning in configure.2.376 -# However there are other variables, like CC, which are often used in2.377 -# configure, and could therefore not use this "fixed" $ac_aux_dir.2.378 -#2.379 -# Another solution, used here, is to always expand $ac_aux_dir to an2.380 -# absolute PATH. The drawback is that using absolute paths prevent a2.381 -# configured tree to be moved without reconfiguration.2.382 -2.383 -# Rely on autoconf to set up CDPATH properly.2.384 -AC_PREREQ([2.50])2.385 -2.386 -AC_DEFUN([AM_AUX_DIR_EXPAND], [2.387 -# expand $ac_aux_dir to an absolute path2.388 -am_aux_dir=`cd $ac_aux_dir && pwd`2.389 -])2.390 -2.391 -# AM_PROG_INSTALL_SH2.392 -# ------------------2.393 -# Define $install_sh.2.394 -2.395 -# Copyright 2001 Free Software Foundation, Inc.2.396 -2.397 -# This program is free software; you can redistribute it and/or modify2.398 -# it under the terms of the GNU General Public License as published by2.399 -# the Free Software Foundation; either version 2, or (at your option)2.400 -# any later version.2.401 -2.402 -# This program is distributed in the hope that it will be useful,2.403 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.404 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.405 -# GNU General Public License for more details.2.406 -2.407 -# You should have received a copy of the GNU General Public License2.408 -# along with this program; if not, write to the Free Software2.409 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.410 -# 02111-1307, USA.2.411 -2.412 -AC_DEFUN([AM_PROG_INSTALL_SH],2.413 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl2.414 -install_sh=${install_sh-"$am_aux_dir/install-sh"}2.415 -AC_SUBST(install_sh)])2.416 -2.417 -# AM_PROG_INSTALL_STRIP2.418 -2.419 -# Copyright 2001 Free Software Foundation, Inc.2.420 -2.421 -# This program is free software; you can redistribute it and/or modify2.422 -# it under the terms of the GNU General Public License as published by2.423 -# the Free Software Foundation; either version 2, or (at your option)2.424 -# any later version.2.425 -2.426 -# This program is distributed in the hope that it will be useful,2.427 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.428 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.429 -# GNU General Public License for more details.2.430 -2.431 -# You should have received a copy of the GNU General Public License2.432 -# along with this program; if not, write to the Free Software2.433 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.434 -# 02111-1307, USA.2.435 -2.436 -# One issue with vendor `install' (even GNU) is that you can't2.437 -# specify the program used to strip binaries. This is especially2.438 -# annoying in cross-compiling environments, where the build's strip2.439 -# is unlikely to handle the host's binaries.2.440 -# Fortunately install-sh will honor a STRIPPROG variable, so we2.441 -# always use install-sh in `make install-strip', and initialize2.442 -# STRIPPROG with the value of the STRIP variable (set by the user).2.443 -AC_DEFUN([AM_PROG_INSTALL_STRIP],2.444 -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl2.445 -# Installed binaries are usually stripped using `strip' when the user2.446 -# run `make install-strip'. However `strip' might not be the right2.447 -# tool to use in cross-compilation environments, therefore Automake2.448 -# will honor the `STRIP' environment variable to overrule this program.2.449 -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.2.450 -if test "$cross_compiling" != no; then2.451 - AC_CHECK_TOOL([STRIP], [strip], :)2.452 -fi2.453 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"2.454 -AC_SUBST([INSTALL_STRIP_PROGRAM])])2.455 -2.456 -# -*- Autoconf -*-2.457 -# Copyright (C) 2003 Free Software Foundation, Inc.2.458 -2.459 -# This program is free software; you can redistribute it and/or modify2.460 -# it under the terms of the GNU General Public License as published by2.461 -# the Free Software Foundation; either version 2, or (at your option)2.462 -# any later version.2.463 -2.464 -# This program is distributed in the hope that it will be useful,2.465 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.466 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.467 -# GNU General Public License for more details.2.468 -2.469 -# You should have received a copy of the GNU General Public License2.470 -# along with this program; if not, write to the Free Software2.471 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.472 -# 02111-1307, USA.2.473 -2.474 -# serial 12.475 -2.476 -# Check whether the underlying file-system supports filenames2.477 -# with a leading dot. For instance MS-DOS doesn't.2.478 -AC_DEFUN([AM_SET_LEADING_DOT],2.479 -[rm -rf .tst 2>/dev/null2.480 -mkdir .tst 2>/dev/null2.481 -if test -d .tst; then2.482 - am__leading_dot=.2.483 -else2.484 - am__leading_dot=_2.485 -fi2.486 -rmdir .tst 2>/dev/null2.487 -AC_SUBST([am__leading_dot])])2.488 -2.489 -# serial 5 -*- Autoconf -*-2.490 -2.491 -# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.2.492 -2.493 -# This program is free software; you can redistribute it and/or modify2.494 -# it under the terms of the GNU General Public License as published by2.495 -# the Free Software Foundation; either version 2, or (at your option)2.496 -# any later version.2.497 -2.498 -# This program is distributed in the hope that it will be useful,2.499 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.500 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.501 -# GNU General Public License for more details.2.502 -2.503 -# You should have received a copy of the GNU General Public License2.504 -# along with this program; if not, write to the Free Software2.505 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.506 -# 02111-1307, USA.2.507 -2.508 -2.509 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be2.510 -# written in clear, in which case automake, when reading aclocal.m4,2.511 -# will think it sees a *use*, and therefore will trigger all it's2.512 -# C support machinery. Also note that it means that autoscan, seeing2.513 -# CC etc. in the Makefile, will ask for an AC_PROG_CC use...2.514 -2.515 -2.516 -2.517 -# _AM_DEPENDENCIES(NAME)2.518 -# ----------------------2.519 -# See how the compiler implements dependency checking.2.520 -# NAME is "CC", "CXX", "GCJ", or "OBJC".2.521 -# We try a few techniques and use that to set a single cache variable.2.522 -#2.523 -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was2.524 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular2.525 -# dependency, and given that the user is not expected to run this macro,2.526 -# just rely on AC_PROG_CC.2.527 -AC_DEFUN([_AM_DEPENDENCIES],2.528 -[AC_REQUIRE([AM_SET_DEPDIR])dnl2.529 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl2.530 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl2.531 -AC_REQUIRE([AM_DEP_TRACK])dnl2.532 -2.533 -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],2.534 - [$1], CXX, [depcc="$CXX" am_compiler_list=],2.535 - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],2.536 - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],2.537 - [depcc="$$1" am_compiler_list=])2.538 -2.539 -AC_CACHE_CHECK([dependency style of $depcc],2.540 - [am_cv_$1_dependencies_compiler_type],2.541 -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.542 - # We make a subdir and do the tests there. Otherwise we can end up2.543 - # making bogus files that we don't know about and never remove. For2.544 - # instance it was reported that on HP-UX the gcc test will end up2.545 - # making a dummy file named `D' -- because `-MD' means `put the output2.546 - # in D'.2.547 - mkdir conftest.dir2.548 - # Copy depcomp to subdir because otherwise we won't find it if we're2.549 - # using a relative directory.2.550 - cp "$am_depcomp" conftest.dir2.551 - cd conftest.dir2.552 - # We will build objects and dependencies in a subdirectory because2.553 - # it helps to detect inapplicable dependency modes. For instance2.554 - # both Tru64's cc and ICC support -MD to output dependencies as a2.555 - # side effect of compilation, but ICC will put the dependencies in2.556 - # the current directory while Tru64 will put them in the object2.557 - # directory.2.558 - mkdir sub2.559 -2.560 - am_cv_$1_dependencies_compiler_type=none2.561 - if test "$am_compiler_list" = ""; then2.562 - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`2.563 - fi2.564 - for depmode in $am_compiler_list; do2.565 - # Setup a source with many dependencies, because some compilers2.566 - # like to wrap large dependency lists on column 80 (with \), and2.567 - # we should not choose a depcomp mode which is confused by this.2.568 - #2.569 - # We need to recreate these files for each test, as the compiler may2.570 - # overwrite some of them when testing with obscure command lines.2.571 - # This happens at least with the AIX C compiler.2.572 - : > sub/conftest.c2.573 - for i in 1 2 3 4 5 6; do2.574 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.575 - : > sub/conftst$i.h2.576 - done2.577 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.578 -2.579 - case $depmode in2.580 - nosideeffect)2.581 - # after this tag, mechanisms are not by side-effect, so they'll2.582 - # only be used when explicitly requested2.583 - if test "x$enable_dependency_tracking" = xyes; then2.584 - continue2.585 - else2.586 - break2.587 - fi2.588 - ;;2.589 - none) break ;;2.590 - esac2.591 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.592 - # mode. It turns out that the SunPro C++ compiler does not properly2.593 - # handle `-M -o', and we need to detect this.2.594 - if depmode=$depmode \2.595 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.596 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.597 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.598 - >/dev/null 2>conftest.err &&2.599 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.600 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.601 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.602 - # icc doesn't choke on unknown options, it will just issue warnings2.603 - # (even with -Werror). So we grep stderr for any message2.604 - # that says an option was ignored.2.605 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else2.606 - am_cv_$1_dependencies_compiler_type=$depmode2.607 - break2.608 - fi2.609 - fi2.610 - done2.611 -2.612 - cd ..2.613 - rm -rf conftest.dir2.614 -else2.615 - am_cv_$1_dependencies_compiler_type=none2.616 -fi2.617 -])2.618 -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])2.619 -AM_CONDITIONAL([am__fastdep$1], [2.620 - test "x$enable_dependency_tracking" != xno \2.621 - && test "$am_cv_$1_dependencies_compiler_type" = gcc3])2.622 -])2.623 -2.624 -2.625 -# AM_SET_DEPDIR2.626 -# -------------2.627 -# Choose a directory name for dependency files.2.628 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES2.629 -AC_DEFUN([AM_SET_DEPDIR],2.630 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl2.631 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl2.632 -])2.633 -2.634 -2.635 -# AM_DEP_TRACK2.636 -# ------------2.637 -AC_DEFUN([AM_DEP_TRACK],2.638 -[AC_ARG_ENABLE(dependency-tracking,2.639 -[ --disable-dependency-tracking Speeds up one-time builds2.640 - --enable-dependency-tracking Do not reject slow dependency extractors])2.641 -if test "x$enable_dependency_tracking" != xno; then2.642 - am_depcomp="$ac_aux_dir/depcomp"2.643 - AMDEPBACKSLASH='\'2.644 -fi2.645 -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])2.646 -AC_SUBST([AMDEPBACKSLASH])2.647 -])2.648 -2.649 -# Generate code to set up dependency tracking. -*- Autoconf -*-2.650 -2.651 -# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.2.652 -2.653 -# This program is free software; you can redistribute it and/or modify2.654 -# it under the terms of the GNU General Public License as published by2.655 -# the Free Software Foundation; either version 2, or (at your option)2.656 -# any later version.2.657 -2.658 -# This program is distributed in the hope that it will be useful,2.659 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.660 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.661 -# GNU General Public License for more details.2.662 -2.663 -# You should have received a copy of the GNU General Public License2.664 -# along with this program; if not, write to the Free Software2.665 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.666 -# 02111-1307, USA.2.667 -2.668 -#serial 22.669 -2.670 -# _AM_OUTPUT_DEPENDENCY_COMMANDS2.671 -# ------------------------------2.672 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],2.673 -[for mf in $CONFIG_FILES; do2.674 - # Strip MF so we end up with the name of the file.2.675 - mf=`echo "$mf" | sed -e 's/:.*$//'`2.676 - # Check whether this is an Automake generated Makefile or not.2.677 - # We used to match only the files named `Makefile.in', but2.678 - # some people rename them; so instead we look at the file content.2.679 - # Grep'ing the first line is not enough: some people post-process2.680 - # each Makefile.in and add a new line on top of each file to say so.2.681 - # So let's grep whole file.2.682 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then2.683 - dirpart=`AS_DIRNAME("$mf")`2.684 - else2.685 - continue2.686 - fi2.687 - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue2.688 - # Extract the definition of DEP_FILES from the Makefile without2.689 - # running `make'.2.690 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`2.691 - test -z "$DEPDIR" && continue2.692 - # When using ansi2knr, U may be empty or an underscore; expand it2.693 - U=`sed -n -e '/^U = / s///p' < "$mf"`2.694 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"2.695 - # We invoke sed twice because it is the simplest approach to2.696 - # changing $(DEPDIR) to its actual value in the expansion.2.697 - for file in `sed -n -e '2.698 - /^DEP_FILES = .*\\\\$/ {2.699 - s/^DEP_FILES = //2.700 - :loop2.701 - s/\\\\$//2.702 - p2.703 - n2.704 - /\\\\$/ b loop2.705 - p2.706 - }2.707 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \2.708 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do2.709 - # Make sure the directory exists.2.710 - test -f "$dirpart/$file" && continue2.711 - fdir=`AS_DIRNAME(["$file"])`2.712 - AS_MKDIR_P([$dirpart/$fdir])2.713 - # echo "creating $dirpart/$file"2.714 - echo '# dummy' > "$dirpart/$file"2.715 - done2.716 -done2.717 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS2.718 -2.719 -2.720 -# AM_OUTPUT_DEPENDENCY_COMMANDS2.721 -# -----------------------------2.722 -# This macro should only be invoked once -- use via AC_REQUIRE.2.723 -#2.724 -# This code is only required when automatic dependency tracking2.725 -# is enabled. FIXME. This creates each `.P' file that we will2.726 -# need in order to bootstrap the dependency handling code.2.727 -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],2.728 -[AC_CONFIG_COMMANDS([depfiles],2.729 - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],2.730 - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])2.731 -])2.732 -2.733 -# Check to see how 'make' treats includes. -*- Autoconf -*-2.734 -2.735 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.2.736 -2.737 -# This program is free software; you can redistribute it and/or modify2.738 -# it under the terms of the GNU General Public License as published by2.739 -# the Free Software Foundation; either version 2, or (at your option)2.740 -# any later version.2.741 -2.742 -# This program is distributed in the hope that it will be useful,2.743 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.744 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.745 -# GNU General Public License for more details.2.746 -2.747 -# You should have received a copy of the GNU General Public License2.748 -# along with this program; if not, write to the Free Software2.749 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.750 -# 02111-1307, USA.2.751 -2.752 -# serial 22.753 -2.754 -# AM_MAKE_INCLUDE()2.755 -# -----------------2.756 -# Check to see how make treats includes.2.757 -AC_DEFUN([AM_MAKE_INCLUDE],2.758 -[am_make=${MAKE-make}2.759 -cat > confinc << 'END'2.760 -am__doit:2.761 - @echo done2.762 -.PHONY: am__doit2.763 -END2.764 -# If we don't find an include directive, just comment out the code.2.765 -AC_MSG_CHECKING([for style of include used by $am_make])2.766 -am__include="#"2.767 -am__quote=2.768 -_am_result=none2.769 -# First try GNU make style include.2.770 -echo "include confinc" > confmf2.771 -# We grep out `Entering directory' and `Leaving directory'2.772 -# messages which can occur if `w' ends up in MAKEFLAGS.2.773 -# In particular we don't look at `^make:' because GNU make might2.774 -# be invoked under some other name (usually "gmake"), in which2.775 -# case it prints its new name instead of `make'.2.776 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2.777 - am__include=include2.778 - am__quote=2.779 - _am_result=GNU2.780 -fi2.781 -# Now try BSD make style include.2.782 -if test "$am__include" = "#"; then2.783 - echo '.include "confinc"' > confmf2.784 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2.785 - am__include=.include2.786 - am__quote="\""2.787 - _am_result=BSD2.788 - fi2.789 -fi2.790 -AC_SUBST([am__include])2.791 -AC_SUBST([am__quote])2.792 -AC_MSG_RESULT([$_am_result])2.793 -rm -f confinc confmf2.794 -])2.795 -2.796 -# AM_CONDITIONAL -*- Autoconf -*-2.797 -2.798 -# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.2.799 -2.800 -# This program is free software; you can redistribute it and/or modify2.801 -# it under the terms of the GNU General Public License as published by2.802 -# the Free Software Foundation; either version 2, or (at your option)2.803 -# any later version.2.804 -2.805 -# This program is distributed in the hope that it will be useful,2.806 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.807 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.808 -# GNU General Public License for more details.2.809 -2.810 -# You should have received a copy of the GNU General Public License2.811 -# along with this program; if not, write to the Free Software2.812 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.813 -# 02111-1307, USA.2.814 -2.815 -# serial 52.816 -2.817 -AC_PREREQ(2.52)2.818 -2.819 -# AM_CONDITIONAL(NAME, SHELL-CONDITION)2.820 -# -------------------------------------2.821 -# Define a conditional.2.822 -AC_DEFUN([AM_CONDITIONAL],2.823 -[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],2.824 - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl2.825 -AC_SUBST([$1_TRUE])2.826 -AC_SUBST([$1_FALSE])2.827 -if $2; then2.828 - $1_TRUE=2.829 - $1_FALSE='#'2.830 -else2.831 - $1_TRUE='#'2.832 - $1_FALSE=2.833 -fi2.834 -AC_CONFIG_COMMANDS_PRE(2.835 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then2.836 - AC_MSG_ERROR([conditional "$1" was never defined.2.837 -Usually this means the macro was only invoked conditionally.])2.838 -fi])])2.839 -2.840 -# Add --enable-maintainer-mode option to configure.2.841 -# From Jim Meyering2.842 -2.843 -# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.2.844 -2.845 -# This program is free software; you can redistribute it and/or modify2.846 -# it under the terms of the GNU General Public License as published by2.847 -# the Free Software Foundation; either version 2, or (at your option)2.848 -# any later version.2.849 -2.850 -# This program is distributed in the hope that it will be useful,2.851 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.852 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.853 -# GNU General Public License for more details.2.854 -2.855 -# You should have received a copy of the GNU General Public License2.856 -# along with this program; if not, write to the Free Software2.857 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.858 -# 02111-1307, USA.2.859 -2.860 -# serial 22.861 -2.862 -AC_DEFUN([AM_MAINTAINER_MODE],2.863 -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])2.864 - dnl maintainer-mode is disabled by default2.865 - AC_ARG_ENABLE(maintainer-mode,2.866 -[ --enable-maintainer-mode enable make rules and dependencies not useful2.867 - (and sometimes confusing) to the casual installer],2.868 - USE_MAINTAINER_MODE=$enableval,2.869 - USE_MAINTAINER_MODE=no)2.870 - AC_MSG_RESULT([$USE_MAINTAINER_MODE])2.871 - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])2.872 - MAINT=$MAINTAINER_MODE_TRUE2.873 - AC_SUBST(MAINT)dnl2.874 -]2.875 -)2.876 -2.877 -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])2.878 -2.879 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-2.880 -2.881 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.2.882 -2.883 -# This program is free software; you can redistribute it and/or modify2.884 -# it under the terms of the GNU General Public License as published by2.885 -# the Free Software Foundation; either version 2, or (at your option)2.886 -# any later version.2.887 -2.888 -# This program is distributed in the hope that it will be useful,2.889 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.890 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.891 -# GNU General Public License for more details.2.892 -2.893 -# You should have received a copy of the GNU General Public License2.894 -# along with this program; if not, write to the Free Software2.895 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.896 -# 02111-1307, USA.2.897 -2.898 -AC_PREREQ([2.52])2.899 -2.900 -# serial 62.901 -2.902 -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.2.903 -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])2.904 -2.905 -2.906 -# Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.2.907 -2.908 -# This program is free software; you can redistribute it and/or modify2.909 -# it under the terms of the GNU General Public License as published by2.910 -# the Free Software Foundation; either version 2, or (at your option)2.911 -# any later version.2.912 -2.913 -# This program is distributed in the hope that it will be useful,2.914 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.915 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.916 -# GNU General Public License for more details.2.917 -2.918 -# You should have received a copy of the GNU General Public License2.919 -# along with this program; if not, write to the Free Software2.920 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.921 -# 02111-1307, USA.2.922 -2.923 -# serial 22.924 -2.925 -# @defmac AC_PROG_CC_STDC2.926 -# @maindex PROG_CC_STDC2.927 -# @ovindex CC2.928 -# If the C compiler in not in ANSI C mode by default, try to add an option2.929 -# to output variable @code{CC} to make it so. This macro tries various2.930 -# options that select ANSI C on some system or another. It considers the2.931 -# compiler to be in ANSI C mode if it handles function prototypes correctly.2.932 -#2.933 -# If you use this macro, you should check after calling it whether the C2.934 -# compiler has been set to accept ANSI C; if not, the shell variable2.935 -# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source2.936 -# code in ANSI C, you can make an un-ANSIfied copy of it by using the2.937 -# program @code{ansi2knr}, which comes with Ghostscript.2.938 -# @end defmac2.939 -2.940 -AC_DEFUN([AM_PROG_CC_STDC],2.941 -[AC_REQUIRE([AC_PROG_CC])2.942 -AC_BEFORE([$0], [AC_C_INLINE])2.943 -AC_BEFORE([$0], [AC_C_CONST])2.944 -dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require2.945 -dnl a magic option to avoid problems with ANSI preprocessor commands2.946 -dnl like #elif.2.947 -dnl FIXME: can't do this because then AC_AIX won't work due to a2.948 -dnl circular dependency.2.949 -dnl AC_BEFORE([$0], [AC_PROG_CPP])2.950 -AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])2.951 -AC_CACHE_VAL(am_cv_prog_cc_stdc,2.952 -[am_cv_prog_cc_stdc=no2.953 -ac_save_CC="$CC"2.954 -# Don't try gcc -ansi; that turns off useful extensions and2.955 -# breaks some systems' header files.2.956 -# AIX -qlanglvl=ansi2.957 -# Ultrix and OSF/1 -std12.958 -# HP-UX 10.20 and later -Ae2.959 -# HP-UX older versions -Aa -D_HPUX_SOURCE2.960 -# SVR4 -Xc -D__EXTENSIONS__2.961 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.962 -do2.963 - CC="$ac_save_CC $ac_arg"2.964 - AC_TRY_COMPILE(2.965 -[#include <stdarg.h>2.966 -#include <stdio.h>2.967 -#include <sys/types.h>2.968 -#include <sys/stat.h>2.969 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.970 -struct buf { int x; };2.971 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.972 -static char *e (p, i)2.973 - char **p;2.974 - int i;2.975 -{2.976 - return p[i];2.977 -}2.978 -static char *f (char * (*g) (char **, int), char **p, ...)2.979 -{2.980 - char *s;2.981 - va_list v;2.982 - va_start (v,p);2.983 - s = g (p, va_arg (v,int));2.984 - va_end (v);2.985 - return s;2.986 -}2.987 -int test (int i, double x);2.988 -struct s1 {int (*f) (int a);};2.989 -struct s2 {int (*f) (double a);};2.990 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.991 -int argc;2.992 -char **argv;2.993 -], [2.994 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.995 -],2.996 -[am_cv_prog_cc_stdc="$ac_arg"; break])2.997 -done2.998 -CC="$ac_save_CC"2.999 -])2.1000 -if test -z "$am_cv_prog_cc_stdc"; then2.1001 - AC_MSG_RESULT([none needed])2.1002 -else2.1003 - AC_MSG_RESULT([$am_cv_prog_cc_stdc])2.1004 -fi2.1005 -case "x$am_cv_prog_cc_stdc" in2.1006 - x|xno) ;;2.1007 - *) CC="$CC $am_cv_prog_cc_stdc" ;;2.1008 -esac2.1009 -])2.1010 -2.1011 -AU_DEFUN([fp_PROG_CC_STDC], [AM_PROG_CC_STDC])2.1012 -2.1013 -# Figure out how to run the assembler. -*- Autoconf -*-2.1014 -2.1015 -# serial 22.1016 -2.1017 -# Copyright 2001 Free Software Foundation, Inc.2.1018 -2.1019 -# This program is free software; you can redistribute it and/or modify2.1020 -# it under the terms of the GNU General Public License as published by2.1021 -# the Free Software Foundation; either version 2, or (at your option)2.1022 -# any later version.2.1023 -2.1024 -# This program is distributed in the hope that it will be useful,2.1025 -# but WITHOUT ANY WARRANTY; without even the implied warranty of2.1026 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2.1027 -# GNU General Public License for more details.2.1028 -2.1029 -# You should have received a copy of the GNU General Public License2.1030 -# along with this program; if not, write to the Free Software2.1031 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA2.1032 -# 02111-1307, USA.2.1033 -2.1034 -# AM_PROG_AS2.1035 -# ----------2.1036 -AC_DEFUN([AM_PROG_AS],2.1037 -[# By default we simply use the C compiler to build assembly code.2.1038 -AC_REQUIRE([AC_PROG_CC])2.1039 -: ${CCAS='$(CC)'}2.1040 -# Set ASFLAGS if not already set.2.1041 -: ${CCASFLAGS='$(CFLAGS)'}2.1042 -AC_SUBST(CCAS)2.1043 -AC_SUBST(CCASFLAGS)])2.1044 -2.1045 -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-2.1046 -#2.1047 -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.2.1048 -#2.1049 -# This program is free software; you can redistribute it and/or modify2.1050 -# it under the terms of the GNU General Public License as published by2.1051 -# the Free Software Foundation; either version 2 of the License, or2.1052 -# (at your option) any later version.2.1053 -#2.1054 -# This program is distributed in the hope that it will be useful, but2.1055 -# WITHOUT ANY WARRANTY; without even the implied warranty of2.1056 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU2.1057 -# General Public License for more details.2.1058 -#2.1059 -# You should have received a copy of the GNU General Public License2.1060 -# along with this program; if not, write to the Free Software2.1061 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.2.1062 -#2.1063 -# As a special exception to the GNU General Public License, if you2.1064 -# distribute this file as part of a program that contains a2.1065 -# configuration script generated by Autoconf, you may include it under2.1066 -# the same distribution terms that you use for the rest of that program.2.1067 -2.1068 -# PKG_PROG_PKG_CONFIG([MIN-VERSION])2.1069 -# ----------------------------------2.1070 -AC_DEFUN([PKG_PROG_PKG_CONFIG],2.1071 -[m4_pattern_forbid([^_?PKG_[A-Z_]+$])2.1072 -m4_pattern_allow([^PKG_CONFIG(_PATH)?$])2.1073 -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl2.1074 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then2.1075 - AC_PATH_TOOL([PKG_CONFIG], [pkg-config])2.1076 -fi2.1077 -if test -n "$PKG_CONFIG"; then2.1078 - _pkg_min_version=m4_default([$1], [0.9.0])2.1079 - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])2.1080 - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then2.1081 - AC_MSG_RESULT([yes])2.1082 - else2.1083 - AC_MSG_RESULT([no])2.1084 - PKG_CONFIG=""2.1085 - fi2.1086 -2.1087 -fi[]dnl2.1088 -])# PKG_PROG_PKG_CONFIG2.1089 -2.1090 -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])2.1091 -#2.1092 -# Check to see whether a particular set of modules exists. Similar2.1093 -# to PKG_CHECK_MODULES(), but does not set variables or print errors.2.1094 -#2.1095 -#2.1096 -# Similar to PKG_CHECK_MODULES, make sure that the first instance of2.1097 -# this or PKG_CHECK_MODULES is called, or make sure to call2.1098 -# PKG_CHECK_EXISTS manually2.1099 -# --------------------------------------------------------------2.1100 -AC_DEFUN([PKG_CHECK_EXISTS],2.1101 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl2.1102 -if test -n "$PKG_CONFIG" && \2.1103 - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then2.1104 - m4_ifval([$2], [$2], [:])2.1105 -m4_ifvaln([$3], [else2.1106 - $3])dnl2.1107 -fi])2.1108 -2.1109 -2.1110 -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])2.1111 -# ---------------------------------------------2.1112 -m4_define([_PKG_CONFIG],2.1113 -[if test -n "$PKG_CONFIG"; then2.1114 - if test -n "$$1"; then2.1115 - pkg_cv_[]$1="$$1"2.1116 - else2.1117 - PKG_CHECK_EXISTS([$3],2.1118 - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],2.1119 - [pkg_failed=yes])2.1120 - fi2.1121 -else2.1122 - pkg_failed=untried2.1123 -fi[]dnl2.1124 -])# _PKG_CONFIG2.1125 -2.1126 -# _PKG_SHORT_ERRORS_SUPPORTED2.1127 -# -----------------------------2.1128 -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],2.1129 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])2.1130 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then2.1131 - _pkg_short_errors_supported=yes2.1132 -else2.1133 - _pkg_short_errors_supported=no2.1134 -fi[]dnl2.1135 -])# _PKG_SHORT_ERRORS_SUPPORTED2.1136 -2.1137 -2.1138 -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],2.1139 -# [ACTION-IF-NOT-FOUND])2.1140 -#2.1141 -#2.1142 -# Note that if there is a possibility the first call to2.1143 -# PKG_CHECK_MODULES might not happen, you should be sure to include an2.1144 -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac2.1145 -#2.1146 -#2.1147 -# --------------------------------------------------------------2.1148 -AC_DEFUN([PKG_CHECK_MODULES],2.1149 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl2.1150 -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl2.1151 -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl2.1152 -2.1153 -pkg_failed=no2.1154 -AC_MSG_CHECKING([for $1])2.1155 -2.1156 -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])2.1157 -_PKG_CONFIG([$1][_LIBS], [libs], [$2])2.1158 -2.1159 -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS2.1160 -and $1[]_LIBS to avoid the need to call pkg-config.2.1161 -See the pkg-config man page for more details.])2.1162 -2.1163 -if test $pkg_failed = yes; then2.1164 - _PKG_SHORT_ERRORS_SUPPORTED2.1165 - if test $_pkg_short_errors_supported = yes; then2.1166 - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`2.1167 - else2.1168 - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`2.1169 - fi2.1170 - # Put the nasty error message in config.log where it belongs2.1171 - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD2.1172 -2.1173 - ifelse([$4], , [AC_MSG_ERROR(dnl2.1174 -[Package requirements ($2) were not met:2.1175 -2.1176 -$$1_PKG_ERRORS2.1177 -2.1178 -Consider adjusting the PKG_CONFIG_PATH environment variable if you2.1179 -installed software in a non-standard prefix.2.1180 -2.1181 -_PKG_TEXT2.1182 -])],2.1183 - [AC_MSG_RESULT([no])2.1184 - $4])2.1185 -elif test $pkg_failed = untried; then2.1186 - ifelse([$4], , [AC_MSG_FAILURE(dnl2.1187 -[The pkg-config script could not be found or is too old. Make sure it2.1188 -is in your PATH or set the PKG_CONFIG environment variable to the full2.1189 -path to pkg-config.2.1190 -2.1191 -_PKG_TEXT2.1192 -2.1193 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],2.1194 - [$4])2.1195 -else2.1196 - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS2.1197 - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS2.1198 - AC_MSG_RESULT([yes])2.1199 - ifelse([$3], , :, [$3])2.1200 -fi[]dnl2.1201 -])# PKG_CHECK_MODULES2.1202 -2.1203 # Copyright (C) 1995-2002 Free Software Foundation, Inc.2.1204 # Copyright (C) 2001-2003,2004 Red Hat, Inc.2.1205 #2.1206 @@ -1406,7 +221,7 @@2.1207 AC_CHECK_FUNCS(dcgettext)2.1208 MSGFMT_OPTS=2.1209 AC_MSG_CHECKING([if msgfmt accepts -c])2.1210 - GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[2.1211 + GLIB_RUN_PROG([msgfmt -c -o /dev/null],[2.1212 msgid ""2.1213 msgstr ""2.1214 "Content-Type: text/plain; charset=UTF-8\n"2.1215 @@ -1630,3 +445,1108 @@2.1216 fi])2.1219 +# isc-posix.m4 serial 2 (gettext-0.11.2)2.1220 +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.2.1221 +dnl This file is free software; the Free Software Foundation2.1222 +dnl gives unlimited permission to copy and/or distribute it,2.1223 +dnl with or without modifications, as long as this notice is preserved.2.1224 +2.1225 +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.2.1226 +2.1227 +# This test replaces the one in autoconf.2.1228 +# Currently this macro should have the same name as the autoconf macro2.1229 +# because gettext's gettext.m4 (distributed in the automake package)2.1230 +# still uses it. Otherwise, the use in gettext.m4 makes autoheader2.1231 +# give these diagnostics:2.1232 +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX2.1233 +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX2.1234 +2.1235 +undefine([AC_ISC_POSIX])2.1236 +2.1237 +AC_DEFUN([AC_ISC_POSIX],2.1238 + [2.1239 + dnl This test replaces the obsolescent AC_ISC_POSIX kludge.2.1240 + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])2.1241 + ]2.1242 +)2.1243 +2.1244 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-2.1245 +#2.1246 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.2.1247 +#2.1248 +# This program is free software; you can redistribute it and/or modify2.1249 +# it under the terms of the GNU General Public License as published by2.1250 +# the Free Software Foundation; either version 2 of the License, or2.1251 +# (at your option) any later version.2.1252 +#2.1253 +# This program is distributed in the hope that it will be useful, but2.1254 +# WITHOUT ANY WARRANTY; without even the implied warranty of2.1255 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU2.1256 +# General Public License for more details.2.1257 +#2.1258 +# You should have received a copy of the GNU General Public License2.1259 +# along with this program; if not, write to the Free Software2.1260 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.2.1261 +#2.1262 +# As a special exception to the GNU General Public License, if you2.1263 +# distribute this file as part of a program that contains a2.1264 +# configuration script generated by Autoconf, you may include it under2.1265 +# the same distribution terms that you use for the rest of that program.2.1266 +2.1267 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])2.1268 +# ----------------------------------2.1269 +AC_DEFUN([PKG_PROG_PKG_CONFIG],2.1270 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])2.1271 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])2.1272 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl2.1273 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then2.1274 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])2.1275 +fi2.1276 +if test -n "$PKG_CONFIG"; then2.1277 + _pkg_min_version=m4_default([$1], [0.9.0])2.1278 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])2.1279 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then2.1280 + AC_MSG_RESULT([yes])2.1281 + else2.1282 + AC_MSG_RESULT([no])2.1283 + PKG_CONFIG=""2.1284 + fi2.1285 +2.1286 +fi[]dnl2.1287 +])# PKG_PROG_PKG_CONFIG2.1288 +2.1289 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])2.1290 +#2.1291 +# Check to see whether a particular set of modules exists. Similar2.1292 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.2.1293 +#2.1294 +#2.1295 +# Similar to PKG_CHECK_MODULES, make sure that the first instance of2.1296 +# this or PKG_CHECK_MODULES is called, or make sure to call2.1297 +# PKG_CHECK_EXISTS manually2.1298 +# --------------------------------------------------------------2.1299 +AC_DEFUN([PKG_CHECK_EXISTS],2.1300 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl2.1301 +if test -n "$PKG_CONFIG" && \2.1302 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then2.1303 + m4_ifval([$2], [$2], [:])2.1304 +m4_ifvaln([$3], [else2.1305 + $3])dnl2.1306 +fi])2.1307 +2.1308 +2.1309 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])2.1310 +# ---------------------------------------------2.1311 +m4_define([_PKG_CONFIG],2.1312 +[if test -n "$PKG_CONFIG"; then2.1313 + if test -n "$$1"; then2.1314 + pkg_cv_[]$1="$$1"2.1315 + else2.1316 + PKG_CHECK_EXISTS([$3],2.1317 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],2.1318 + [pkg_failed=yes])2.1319 + fi2.1320 +else2.1321 + pkg_failed=untried2.1322 +fi[]dnl2.1323 +])# _PKG_CONFIG2.1324 +2.1325 +# _PKG_SHORT_ERRORS_SUPPORTED2.1326 +# -----------------------------2.1327 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],2.1328 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])2.1329 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then2.1330 + _pkg_short_errors_supported=yes2.1331 +else2.1332 + _pkg_short_errors_supported=no2.1333 +fi[]dnl2.1334 +])# _PKG_SHORT_ERRORS_SUPPORTED2.1335 +2.1336 +2.1337 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],2.1338 +# [ACTION-IF-NOT-FOUND])2.1339 +#2.1340 +#2.1341 +# Note that if there is a possibility the first call to2.1342 +# PKG_CHECK_MODULES might not happen, you should be sure to include an2.1343 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac2.1344 +#2.1345 +#2.1346 +# --------------------------------------------------------------2.1347 +AC_DEFUN([PKG_CHECK_MODULES],2.1348 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl2.1349 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl2.1350 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl2.1351 +2.1352 +pkg_failed=no2.1353 +AC_MSG_CHECKING([for $1])2.1354 +2.1355 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])2.1356 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])2.1357 +2.1358 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS2.1359 +and $1[]_LIBS to avoid the need to call pkg-config.2.1360 +See the pkg-config man page for more details.])2.1361 +2.1362 +if test $pkg_failed = yes; then2.1363 + _PKG_SHORT_ERRORS_SUPPORTED2.1364 + if test $_pkg_short_errors_supported = yes; then2.1365 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`2.1366 + else2.1367 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`2.1368 + fi2.1369 + # Put the nasty error message in config.log where it belongs2.1370 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD2.1371 +2.1372 + ifelse([$4], , [AC_MSG_ERROR(dnl2.1373 +[Package requirements ($2) were not met:2.1374 +2.1375 +$$1_PKG_ERRORS2.1376 +2.1377 +Consider adjusting the PKG_CONFIG_PATH environment variable if you2.1378 +installed software in a non-standard prefix.2.1379 +2.1380 +_PKG_TEXT2.1381 +])],2.1382 + [AC_MSG_RESULT([no])2.1383 + $4])2.1384 +elif test $pkg_failed = untried; then2.1385 + ifelse([$4], , [AC_MSG_FAILURE(dnl2.1386 +[The pkg-config script could not be found or is too old. Make sure it2.1387 +is in your PATH or set the PKG_CONFIG environment variable to the full2.1388 +path to pkg-config.2.1389 +2.1390 +_PKG_TEXT2.1391 +2.1392 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],2.1393 + [$4])2.1394 +else2.1395 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS2.1396 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS2.1397 + AC_MSG_RESULT([yes])2.1398 + ifelse([$3], , :, [$3])2.1399 +fi[]dnl2.1400 +])# PKG_CHECK_MODULES2.1401 +2.1402 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.2.1403 +#2.1404 +# This file is free software; the Free Software Foundation2.1405 +# gives unlimited permission to copy and/or distribute it,2.1406 +# with or without modifications, as long as this notice is preserved.2.1407 +2.1408 +# AM_AUTOMAKE_VERSION(VERSION)2.1409 +# ----------------------------2.1410 +# Automake X.Y traces this macro to ensure aclocal.m4 has been2.1411 +# generated from the m4 files accompanying Automake X.Y.2.1412 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])2.1413 +2.1414 +# AM_SET_CURRENT_AUTOMAKE_VERSION2.1415 +# -------------------------------2.1416 +# Call AM_AUTOMAKE_VERSION so it can be traced.2.1417 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.2.1418 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],2.1419 + [AM_AUTOMAKE_VERSION([1.9.6])])2.1420 +2.1421 +# Figure out how to run the assembler. -*- Autoconf -*-2.1422 +2.1423 +# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.2.1424 +#2.1425 +# This file is free software; the Free Software Foundation2.1426 +# gives unlimited permission to copy and/or distribute it,2.1427 +# with or without modifications, as long as this notice is preserved.2.1428 +2.1429 +# serial 42.1430 +2.1431 +# AM_PROG_AS2.1432 +# ----------2.1433 +AC_DEFUN([AM_PROG_AS],2.1434 +[# By default we simply use the C compiler to build assembly code.2.1435 +AC_REQUIRE([AC_PROG_CC])2.1436 +test "${CCAS+set}" = set || CCAS=$CC2.1437 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS2.1438 +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])2.1439 +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])2.1440 +])2.1441 +2.1442 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-2.1443 +2.1444 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.2.1445 +#2.1446 +# This file is free software; the Free Software Foundation2.1447 +# gives unlimited permission to copy and/or distribute it,2.1448 +# with or without modifications, as long as this notice is preserved.2.1449 +2.1450 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets2.1451 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to2.1452 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.2.1453 +#2.1454 +# Of course, Automake must honor this variable whenever it calls a2.1455 +# tool from the auxiliary directory. The problem is that $srcdir (and2.1456 +# therefore $ac_aux_dir as well) can be either absolute or relative,2.1457 +# depending on how configure is run. This is pretty annoying, since2.1458 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top2.1459 +# source directory, any form will work fine, but in subdirectories a2.1460 +# relative path needs to be adjusted first.2.1461 +#2.1462 +# $ac_aux_dir/missing2.1463 +# fails when called from a subdirectory if $ac_aux_dir is relative2.1464 +# $top_srcdir/$ac_aux_dir/missing2.1465 +# fails if $ac_aux_dir is absolute,2.1466 +# fails when called from a subdirectory in a VPATH build with2.1467 +# a relative $ac_aux_dir2.1468 +#2.1469 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir2.1470 +# are both prefixed by $srcdir. In an in-source build this is usually2.1471 +# harmless because $srcdir is `.', but things will broke when you2.1472 +# start a VPATH build or use an absolute $srcdir.2.1473 +#2.1474 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,2.1475 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:2.1476 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`2.1477 +# and then we would define $MISSING as2.1478 +# MISSING="\${SHELL} $am_aux_dir/missing"2.1479 +# This will work as long as MISSING is not called from configure, because2.1480 +# unfortunately $(top_srcdir) has no meaning in configure.2.1481 +# However there are other variables, like CC, which are often used in2.1482 +# configure, and could therefore not use this "fixed" $ac_aux_dir.2.1483 +#2.1484 +# Another solution, used here, is to always expand $ac_aux_dir to an2.1485 +# absolute PATH. The drawback is that using absolute paths prevent a2.1486 +# configured tree to be moved without reconfiguration.2.1487 +2.1488 +AC_DEFUN([AM_AUX_DIR_EXPAND],2.1489 +[dnl Rely on autoconf to set up CDPATH properly.2.1490 +AC_PREREQ([2.50])dnl2.1491 +# expand $ac_aux_dir to an absolute path2.1492 +am_aux_dir=`cd $ac_aux_dir && pwd`2.1493 +])2.1494 +2.1495 +2.1496 +# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 20052.1497 +# Free Software Foundation, Inc.2.1498 +#2.1499 +# This file is free software; the Free Software Foundation2.1500 +# gives unlimited permission to copy and/or distribute it,2.1501 +# with or without modifications, as long as this notice is preserved.2.1502 +2.1503 +# serial 42.1504 +2.1505 +# This was merged into AC_PROG_CC in Autoconf.2.1506 +2.1507 +AU_DEFUN([AM_PROG_CC_STDC],2.1508 +[AC_PROG_CC2.1509 +AC_DIAGNOSE([obsolete], [$0:2.1510 + your code should no longer depend upon `am_cv_prog_cc_stdc', but upon2.1511 + `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when2.1512 + you adjust the code. You can also remove the above call to2.1513 + AC_PROG_CC if you already called it elsewhere.])2.1514 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc2.1515 +])2.1516 +AU_DEFUN([fp_PROG_CC_STDC])2.1517 +2.1518 +# AM_CONDITIONAL -*- Autoconf -*-2.1519 +2.1520 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 20052.1521 +# Free Software Foundation, Inc.2.1522 +#2.1523 +# This file is free software; the Free Software Foundation2.1524 +# gives unlimited permission to copy and/or distribute it,2.1525 +# with or without modifications, as long as this notice is preserved.2.1526 +2.1527 +# serial 72.1528 +2.1529 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)2.1530 +# -------------------------------------2.1531 +# Define a conditional.2.1532 +AC_DEFUN([AM_CONDITIONAL],2.1533 +[AC_PREREQ(2.52)dnl2.1534 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],2.1535 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl2.1536 +AC_SUBST([$1_TRUE])2.1537 +AC_SUBST([$1_FALSE])2.1538 +if $2; then2.1539 + $1_TRUE=2.1540 + $1_FALSE='#'2.1541 +else2.1542 + $1_TRUE='#'2.1543 + $1_FALSE=2.1544 +fi2.1545 +AC_CONFIG_COMMANDS_PRE(2.1546 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then2.1547 + AC_MSG_ERROR([[conditional "$1" was never defined.2.1548 +Usually this means the macro was only invoked conditionally.]])2.1549 +fi])])2.1550 +2.1551 +2.1552 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 20052.1553 +# Free Software Foundation, Inc.2.1554 +#2.1555 +# This file is free software; the Free Software Foundation2.1556 +# gives unlimited permission to copy and/or distribute it,2.1557 +# with or without modifications, as long as this notice is preserved.2.1558 +2.1559 +# serial 82.1560 +2.1561 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be2.1562 +# written in clear, in which case automake, when reading aclocal.m4,2.1563 +# will think it sees a *use*, and therefore will trigger all it's2.1564 +# C support machinery. Also note that it means that autoscan, seeing2.1565 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...2.1566 +2.1567 +2.1568 +# _AM_DEPENDENCIES(NAME)2.1569 +# ----------------------2.1570 +# See how the compiler implements dependency checking.2.1571 +# NAME is "CC", "CXX", "GCJ", or "OBJC".2.1572 +# We try a few techniques and use that to set a single cache variable.2.1573 +#2.1574 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was2.1575 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular2.1576 +# dependency, and given that the user is not expected to run this macro,2.1577 +# just rely on AC_PROG_CC.2.1578 +AC_DEFUN([_AM_DEPENDENCIES],2.1579 +[AC_REQUIRE([AM_SET_DEPDIR])dnl2.1580 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl2.1581 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl2.1582 +AC_REQUIRE([AM_DEP_TRACK])dnl2.1583 +2.1584 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],2.1585 + [$1], CXX, [depcc="$CXX" am_compiler_list=],2.1586 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],2.1587 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],2.1588 + [depcc="$$1" am_compiler_list=])2.1589 +2.1590 +AC_CACHE_CHECK([dependency style of $depcc],2.1591 + [am_cv_$1_dependencies_compiler_type],2.1592 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.1593 + # We make a subdir and do the tests there. Otherwise we can end up2.1594 + # making bogus files that we don't know about and never remove. For2.1595 + # instance it was reported that on HP-UX the gcc test will end up2.1596 + # making a dummy file named `D' -- because `-MD' means `put the output2.1597 + # in D'.2.1598 + mkdir conftest.dir2.1599 + # Copy depcomp to subdir because otherwise we won't find it if we're2.1600 + # using a relative directory.2.1601 + cp "$am_depcomp" conftest.dir2.1602 + cd conftest.dir2.1603 + # We will build objects and dependencies in a subdirectory because2.1604 + # it helps to detect inapplicable dependency modes. For instance2.1605 + # both Tru64's cc and ICC support -MD to output dependencies as a2.1606 + # side effect of compilation, but ICC will put the dependencies in2.1607 + # the current directory while Tru64 will put them in the object2.1608 + # directory.2.1609 + mkdir sub2.1610 +2.1611 + am_cv_$1_dependencies_compiler_type=none2.1612 + if test "$am_compiler_list" = ""; then2.1613 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`2.1614 + fi2.1615 + for depmode in $am_compiler_list; do2.1616 + # Setup a source with many dependencies, because some compilers2.1617 + # like to wrap large dependency lists on column 80 (with \), and2.1618 + # we should not choose a depcomp mode which is confused by this.2.1619 + #2.1620 + # We need to recreate these files for each test, as the compiler may2.1621 + # overwrite some of them when testing with obscure command lines.2.1622 + # This happens at least with the AIX C compiler.2.1623 + : > sub/conftest.c2.1624 + for i in 1 2 3 4 5 6; do2.1625 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.1626 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.1627 + # Solaris 8's {/usr,}/bin/sh.2.1628 + touch sub/conftst$i.h2.1629 + done2.1630 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.1631 +2.1632 + case $depmode in2.1633 + nosideeffect)2.1634 + # after this tag, mechanisms are not by side-effect, so they'll2.1635 + # only be used when explicitly requested2.1636 + if test "x$enable_dependency_tracking" = xyes; then2.1637 + continue2.1638 + else2.1639 + break2.1640 + fi2.1641 + ;;2.1642 + none) break ;;2.1643 + esac2.1644 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.1645 + # mode. It turns out that the SunPro C++ compiler does not properly2.1646 + # handle `-M -o', and we need to detect this.2.1647 + if depmode=$depmode \2.1648 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.1649 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.1650 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.1651 + >/dev/null 2>conftest.err &&2.1652 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.1653 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.1654 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.1655 + # icc doesn't choke on unknown options, it will just issue warnings2.1656 + # or remarks (even with -Werror). So we grep stderr for any message2.1657 + # that says an option was ignored or not supported.2.1658 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.1659 + # icc: Command line warning: ignoring option '-M'; no argument required2.1660 + # The diagnosis changed in icc 8.0:2.1661 + # icc: Command line remark: option '-MP' not supported2.1662 + if (grep 'ignoring option' conftest.err ||2.1663 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.1664 + am_cv_$1_dependencies_compiler_type=$depmode2.1665 + break2.1666 + fi2.1667 + fi2.1668 + done2.1669 +2.1670 + cd ..2.1671 + rm -rf conftest.dir2.1672 +else2.1673 + am_cv_$1_dependencies_compiler_type=none2.1674 +fi2.1675 +])2.1676 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])2.1677 +AM_CONDITIONAL([am__fastdep$1], [2.1678 + test "x$enable_dependency_tracking" != xno \2.1679 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])2.1680 +])2.1681 +2.1682 +2.1683 +# AM_SET_DEPDIR2.1684 +# -------------2.1685 +# Choose a directory name for dependency files.2.1686 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES2.1687 +AC_DEFUN([AM_SET_DEPDIR],2.1688 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl2.1689 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl2.1690 +])2.1691 +2.1692 +2.1693 +# AM_DEP_TRACK2.1694 +# ------------2.1695 +AC_DEFUN([AM_DEP_TRACK],2.1696 +[AC_ARG_ENABLE(dependency-tracking,2.1697 +[ --disable-dependency-tracking speeds up one-time build2.1698 + --enable-dependency-tracking do not reject slow dependency extractors])2.1699 +if test "x$enable_dependency_tracking" != xno; then2.1700 + am_depcomp="$ac_aux_dir/depcomp"2.1701 + AMDEPBACKSLASH='\'2.1702 +fi2.1703 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])2.1704 +AC_SUBST([AMDEPBACKSLASH])2.1705 +])2.1706 +2.1707 +# Generate code to set up dependency tracking. -*- Autoconf -*-2.1708 +2.1709 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 20052.1710 +# Free Software Foundation, Inc.2.1711 +#2.1712 +# This file is free software; the Free Software Foundation2.1713 +# gives unlimited permission to copy and/or distribute it,2.1714 +# with or without modifications, as long as this notice is preserved.2.1715 +2.1716 +#serial 32.1717 +2.1718 +# _AM_OUTPUT_DEPENDENCY_COMMANDS2.1719 +# ------------------------------2.1720 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],2.1721 +[for mf in $CONFIG_FILES; do2.1722 + # Strip MF so we end up with the name of the file.2.1723 + mf=`echo "$mf" | sed -e 's/:.*$//'`2.1724 + # Check whether this is an Automake generated Makefile or not.2.1725 + # We used to match only the files named `Makefile.in', but2.1726 + # some people rename them; so instead we look at the file content.2.1727 + # Grep'ing the first line is not enough: some people post-process2.1728 + # each Makefile.in and add a new line on top of each file to say so.2.1729 + # So let's grep whole file.2.1730 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then2.1731 + dirpart=`AS_DIRNAME("$mf")`2.1732 + else2.1733 + continue2.1734 + fi2.1735 + # Extract the definition of DEPDIR, am__include, and am__quote2.1736 + # from the Makefile without running `make'.2.1737 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`2.1738 + test -z "$DEPDIR" && continue2.1739 + am__include=`sed -n 's/^am__include = //p' < "$mf"`2.1740 + test -z "am__include" && continue2.1741 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`2.1742 + # When using ansi2knr, U may be empty or an underscore; expand it2.1743 + U=`sed -n 's/^U = //p' < "$mf"`2.1744 + # Find all dependency output files, they are included files with2.1745 + # $(DEPDIR) in their names. We invoke sed twice because it is the2.1746 + # simplest approach to changing $(DEPDIR) to its actual value in the2.1747 + # expansion.2.1748 + for file in `sed -n "2.1749 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \2.1750 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do2.1751 + # Make sure the directory exists.2.1752 + test -f "$dirpart/$file" && continue2.1753 + fdir=`AS_DIRNAME(["$file"])`2.1754 + AS_MKDIR_P([$dirpart/$fdir])2.1755 + # echo "creating $dirpart/$file"2.1756 + echo '# dummy' > "$dirpart/$file"2.1757 + done2.1758 +done2.1759 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS2.1760 +2.1761 +2.1762 +# AM_OUTPUT_DEPENDENCY_COMMANDS2.1763 +# -----------------------------2.1764 +# This macro should only be invoked once -- use via AC_REQUIRE.2.1765 +#2.1766 +# This code is only required when automatic dependency tracking2.1767 +# is enabled. FIXME. This creates each `.P' file that we will2.1768 +# need in order to bootstrap the dependency handling code.2.1769 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],2.1770 +[AC_CONFIG_COMMANDS([depfiles],2.1771 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],2.1772 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])2.1773 +])2.1774 +2.1775 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 20052.1776 +# Free Software Foundation, Inc.2.1777 +#2.1778 +# This file is free software; the Free Software Foundation2.1779 +# gives unlimited permission to copy and/or distribute it,2.1780 +# with or without modifications, as long as this notice is preserved.2.1781 +2.1782 +# serial 82.1783 +2.1784 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.2.1785 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])2.1786 +2.1787 +# Do all the work for Automake. -*- Autoconf -*-2.1788 +2.1789 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 20052.1790 +# Free Software Foundation, Inc.2.1791 +#2.1792 +# This file is free software; the Free Software Foundation2.1793 +# gives unlimited permission to copy and/or distribute it,2.1794 +# with or without modifications, as long as this notice is preserved.2.1795 +2.1796 +# serial 122.1797 +2.1798 +# This macro actually does too much. Some checks are only needed if2.1799 +# your package does certain things. But this isn't really a big deal.2.1800 +2.1801 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])2.1802 +# AM_INIT_AUTOMAKE([OPTIONS])2.1803 +# -----------------------------------------------2.1804 +# The call with PACKAGE and VERSION arguments is the old style2.1805 +# call (pre autoconf-2.50), which is being phased out. PACKAGE2.1806 +# and VERSION should now be passed to AC_INIT and removed from2.1807 +# the call to AM_INIT_AUTOMAKE.2.1808 +# We support both call styles for the transition. After2.1809 +# the next Automake release, Autoconf can make the AC_INIT2.1810 +# arguments mandatory, and then we can depend on a new Autoconf2.1811 +# release and drop the old call support.2.1812 +AC_DEFUN([AM_INIT_AUTOMAKE],2.1813 +[AC_PREREQ([2.58])dnl2.1814 +dnl Autoconf wants to disallow AM_ names. We explicitly allow2.1815 +dnl the ones we care about.2.1816 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl2.1817 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl2.1818 +AC_REQUIRE([AC_PROG_INSTALL])dnl2.1819 +# test to see if srcdir already configured2.1820 +if test "`cd $srcdir && pwd`" != "`pwd`" &&2.1821 + test -f $srcdir/config.status; then2.1822 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])2.1823 +fi2.1824 +2.1825 +# test whether we have cygpath2.1826 +if test -z "$CYGPATH_W"; then2.1827 + if (cygpath --version) >/dev/null 2>/dev/null; then2.1828 + CYGPATH_W='cygpath -w'2.1829 + else2.1830 + CYGPATH_W=echo2.1831 + fi2.1832 +fi2.1833 +AC_SUBST([CYGPATH_W])2.1834 +2.1835 +# Define the identity of the package.2.1836 +dnl Distinguish between old-style and new-style calls.2.1837 +m4_ifval([$2],2.1838 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl2.1839 + AC_SUBST([PACKAGE], [$1])dnl2.1840 + AC_SUBST([VERSION], [$2])],2.1841 +[_AM_SET_OPTIONS([$1])dnl2.1842 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl2.1843 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl2.1844 +2.1845 +_AM_IF_OPTION([no-define],,2.1846 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])2.1847 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl2.1848 +2.1849 +# Some tools Automake needs.2.1850 +AC_REQUIRE([AM_SANITY_CHECK])dnl2.1851 +AC_REQUIRE([AC_ARG_PROGRAM])dnl2.1852 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})2.1853 +AM_MISSING_PROG(AUTOCONF, autoconf)2.1854 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})2.1855 +AM_MISSING_PROG(AUTOHEADER, autoheader)2.1856 +AM_MISSING_PROG(MAKEINFO, makeinfo)2.1857 +AM_PROG_INSTALL_SH2.1858 +AM_PROG_INSTALL_STRIP2.1859 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl2.1860 +# We need awk for the "check" target. The system "awk" is bad on2.1861 +# some platforms.2.1862 +AC_REQUIRE([AC_PROG_AWK])dnl2.1863 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl2.1864 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl2.1865 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],2.1866 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],2.1867 + [_AM_PROG_TAR([v7])])])2.1868 +_AM_IF_OPTION([no-dependencies],,2.1869 +[AC_PROVIDE_IFELSE([AC_PROG_CC],2.1870 + [_AM_DEPENDENCIES(CC)],2.1871 + [define([AC_PROG_CC],2.1872 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl2.1873 +AC_PROVIDE_IFELSE([AC_PROG_CXX],2.1874 + [_AM_DEPENDENCIES(CXX)],2.1875 + [define([AC_PROG_CXX],2.1876 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl2.1877 +])2.1878 +])2.1879 +2.1880 +2.1881 +# When config.status generates a header, we must update the stamp-h file.2.1882 +# This file resides in the same directory as the config header2.1883 +# that is generated. The stamp files are numbered to have different names.2.1884 +2.1885 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the2.1886 +# loop where config.status creates the headers, so we can generate2.1887 +# our stamp files there.2.1888 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],2.1889 +[# Compute $1's index in $config_headers.2.1890 +_am_stamp_count=12.1891 +for _am_header in $config_headers :; do2.1892 + case $_am_header in2.1893 + $1 | $1:* )2.1894 + break ;;2.1895 + * )2.1896 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;2.1897 + esac2.1898 +done2.1899 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])2.1900 +2.1901 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.2.1902 +#2.1903 +# This file is free software; the Free Software Foundation2.1904 +# gives unlimited permission to copy and/or distribute it,2.1905 +# with or without modifications, as long as this notice is preserved.2.1906 +2.1907 +# AM_PROG_INSTALL_SH2.1908 +# ------------------2.1909 +# Define $install_sh.2.1910 +AC_DEFUN([AM_PROG_INSTALL_SH],2.1911 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl2.1912 +install_sh=${install_sh-"$am_aux_dir/install-sh"}2.1913 +AC_SUBST(install_sh)])2.1914 +2.1915 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.2.1916 +#2.1917 +# This file is free software; the Free Software Foundation2.1918 +# gives unlimited permission to copy and/or distribute it,2.1919 +# with or without modifications, as long as this notice is preserved.2.1920 +2.1921 +# serial 22.1922 +2.1923 +# Check whether the underlying file-system supports filenames2.1924 +# with a leading dot. For instance MS-DOS doesn't.2.1925 +AC_DEFUN([AM_SET_LEADING_DOT],2.1926 +[rm -rf .tst 2>/dev/null2.1927 +mkdir .tst 2>/dev/null2.1928 +if test -d .tst; then2.1929 + am__leading_dot=.2.1930 +else2.1931 + am__leading_dot=_2.1932 +fi2.1933 +rmdir .tst 2>/dev/null2.1934 +AC_SUBST([am__leading_dot])])2.1935 +2.1936 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-2.1937 +# From Jim Meyering2.1938 +2.1939 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 20052.1940 +# Free Software Foundation, Inc.2.1941 +#2.1942 +# This file is free software; the Free Software Foundation2.1943 +# gives unlimited permission to copy and/or distribute it,2.1944 +# with or without modifications, as long as this notice is preserved.2.1945 +2.1946 +# serial 42.1947 +2.1948 +AC_DEFUN([AM_MAINTAINER_MODE],2.1949 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])2.1950 + dnl maintainer-mode is disabled by default2.1951 + AC_ARG_ENABLE(maintainer-mode,2.1952 +[ --enable-maintainer-mode enable make rules and dependencies not useful2.1953 + (and sometimes confusing) to the casual installer],2.1954 + USE_MAINTAINER_MODE=$enableval,2.1955 + USE_MAINTAINER_MODE=no)2.1956 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])2.1957 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])2.1958 + MAINT=$MAINTAINER_MODE_TRUE2.1959 + AC_SUBST(MAINT)dnl2.1960 +]2.1961 +)2.1962 +2.1963 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])2.1964 +2.1965 +# Check to see how 'make' treats includes. -*- Autoconf -*-2.1966 +2.1967 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.2.1968 +#2.1969 +# This file is free software; the Free Software Foundation2.1970 +# gives unlimited permission to copy and/or distribute it,2.1971 +# with or without modifications, as long as this notice is preserved.2.1972 +2.1973 +# serial 32.1974 +2.1975 +# AM_MAKE_INCLUDE()2.1976 +# -----------------2.1977 +# Check to see how make treats includes.2.1978 +AC_DEFUN([AM_MAKE_INCLUDE],2.1979 +[am_make=${MAKE-make}2.1980 +cat > confinc << 'END'2.1981 +am__doit:2.1982 + @echo done2.1983 +.PHONY: am__doit2.1984 +END2.1985 +# If we don't find an include directive, just comment out the code.2.1986 +AC_MSG_CHECKING([for style of include used by $am_make])2.1987 +am__include="#"2.1988 +am__quote=2.1989 +_am_result=none2.1990 +# First try GNU make style include.2.1991 +echo "include confinc" > confmf2.1992 +# We grep out `Entering directory' and `Leaving directory'2.1993 +# messages which can occur if `w' ends up in MAKEFLAGS.2.1994 +# In particular we don't look at `^make:' because GNU make might2.1995 +# be invoked under some other name (usually "gmake"), in which2.1996 +# case it prints its new name instead of `make'.2.1997 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2.1998 + am__include=include2.1999 + am__quote=2.2000 + _am_result=GNU2.2001 +fi2.2002 +# Now try BSD make style include.2.2003 +if test "$am__include" = "#"; then2.2004 + echo '.include "confinc"' > confmf2.2005 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2.2006 + am__include=.include2.2007 + am__quote="\""2.2008 + _am_result=BSD2.2009 + fi2.2010 +fi2.2011 +AC_SUBST([am__include])2.2012 +AC_SUBST([am__quote])2.2013 +AC_MSG_RESULT([$_am_result])2.2014 +rm -f confinc confmf2.2015 +])2.2016 +2.2017 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-2.2018 +2.2019 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 20052.2020 +# Free Software Foundation, Inc.2.2021 +#2.2022 +# This file is free software; the Free Software Foundation2.2023 +# gives unlimited permission to copy and/or distribute it,2.2024 +# with or without modifications, as long as this notice is preserved.2.2025 +2.2026 +# serial 42.2027 +2.2028 +# AM_MISSING_PROG(NAME, PROGRAM)2.2029 +# ------------------------------2.2030 +AC_DEFUN([AM_MISSING_PROG],2.2031 +[AC_REQUIRE([AM_MISSING_HAS_RUN])2.2032 +$1=${$1-"${am_missing_run}$2"}2.2033 +AC_SUBST($1)])2.2034 +2.2035 +2.2036 +# AM_MISSING_HAS_RUN2.2037 +# ------------------2.2038 +# Define MISSING if not defined so far and test if it supports --run.2.2039 +# If it does, set am_missing_run to use it, otherwise, to nothing.2.2040 +AC_DEFUN([AM_MISSING_HAS_RUN],2.2041 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl2.2042 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"2.2043 +# Use eval to expand $SHELL2.2044 +if eval "$MISSING --run true"; then2.2045 + am_missing_run="$MISSING --run "2.2046 +else2.2047 + am_missing_run=2.2048 + AC_MSG_WARN([`missing' script is too old or missing])2.2049 +fi2.2050 +])2.2051 +2.2052 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.2.2053 +#2.2054 +# This file is free software; the Free Software Foundation2.2055 +# gives unlimited permission to copy and/or distribute it,2.2056 +# with or without modifications, as long as this notice is preserved.2.2057 +2.2058 +# AM_PROG_MKDIR_P2.2059 +# ---------------2.2060 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.2.2061 +#2.2062 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories2.2063 +# created by `make install' are always world readable, even if the2.2064 +# installer happens to have an overly restrictive umask (e.g. 077).2.2065 +# This was a mistake. There are at least two reasons why we must not2.2066 +# use `-m 0755':2.2067 +# - it causes special bits like SGID to be ignored,2.2068 +# - it may be too restrictive (some setups expect 775 directories).2.2069 +#2.2070 +# Do not use -m 0755 and let people choose whatever they expect by2.2071 +# setting umask.2.2072 +#2.2073 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.2.2074 +# Some implementations (such as Solaris 8's) are not thread-safe: if a2.2075 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'2.2076 +# concurrently, both version can detect that a/ is missing, but only2.2077 +# one can create it and the other will error out. Consequently we2.2078 +# restrict ourselves to GNU make (using the --version option ensures2.2079 +# this.)2.2080 +AC_DEFUN([AM_PROG_MKDIR_P],2.2081 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then2.2082 + # We used to keeping the `.' as first argument, in order to2.2083 + # allow $(mkdir_p) to be used without argument. As in2.2084 + # $(mkdir_p) $(somedir)2.2085 + # where $(somedir) is conditionally defined. However this is wrong2.2086 + # for two reasons:2.2087 + # 1. if the package is installed by a user who cannot write `.'2.2088 + # make install will fail,2.2089 + # 2. the above comment should most certainly read2.2090 + # $(mkdir_p) $(DESTDIR)$(somedir)2.2091 + # so it does not work when $(somedir) is undefined and2.2092 + # $(DESTDIR) is not.2.2093 + # To support the latter case, we have to write2.2094 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),2.2095 + # so the `.' trick is pointless.2.2096 + mkdir_p='mkdir -p --'2.2097 +else2.2098 + # On NextStep and OpenStep, the `mkdir' command does not2.2099 + # recognize any option. It will interpret all options as2.2100 + # directories to create, and then abort because `.' already2.2101 + # exists.2.2102 + for d in ./-p ./--version;2.2103 + do2.2104 + test -d $d && rmdir $d2.2105 + done2.2106 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.2.2107 + if test -f "$ac_aux_dir/mkinstalldirs"; then2.2108 + mkdir_p='$(mkinstalldirs)'2.2109 + else2.2110 + mkdir_p='$(install_sh) -d'2.2111 + fi2.2112 +fi2.2113 +AC_SUBST([mkdir_p])])2.2114 +2.2115 +# Helper functions for option handling. -*- Autoconf -*-2.2116 +2.2117 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.2.2118 +#2.2119 +# This file is free software; the Free Software Foundation2.2120 +# gives unlimited permission to copy and/or distribute it,2.2121 +# with or without modifications, as long as this notice is preserved.2.2122 +2.2123 +# serial 32.2124 +2.2125 +# _AM_MANGLE_OPTION(NAME)2.2126 +# -----------------------2.2127 +AC_DEFUN([_AM_MANGLE_OPTION],2.2128 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])2.2129 +2.2130 +# _AM_SET_OPTION(NAME)2.2131 +# ------------------------------2.2132 +# Set option NAME. Presently that only means defining a flag for this option.2.2133 +AC_DEFUN([_AM_SET_OPTION],2.2134 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])2.2135 +2.2136 +# _AM_SET_OPTIONS(OPTIONS)2.2137 +# ----------------------------------2.2138 +# OPTIONS is a space-separated list of Automake options.2.2139 +AC_DEFUN([_AM_SET_OPTIONS],2.2140 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])2.2141 +2.2142 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])2.2143 +# -------------------------------------------2.2144 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.2.2145 +AC_DEFUN([_AM_IF_OPTION],2.2146 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])2.2147 +2.2148 +# Check to make sure that the build environment is sane. -*- Autoconf -*-2.2149 +2.2150 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 20052.2151 +# Free Software Foundation, Inc.2.2152 +#2.2153 +# This file is free software; the Free Software Foundation2.2154 +# gives unlimited permission to copy and/or distribute it,2.2155 +# with or without modifications, as long as this notice is preserved.2.2156 +2.2157 +# serial 42.2158 +2.2159 +# AM_SANITY_CHECK2.2160 +# ---------------2.2161 +AC_DEFUN([AM_SANITY_CHECK],2.2162 +[AC_MSG_CHECKING([whether build environment is sane])2.2163 +# Just in case2.2164 +sleep 12.2165 +echo timestamp > conftest.file2.2166 +# Do `set' in a subshell so we don't clobber the current shell's2.2167 +# arguments. Must try -L first in case configure is actually a2.2168 +# symlink; some systems play weird games with the mod time of symlinks2.2169 +# (eg FreeBSD returns the mod time of the symlink's containing2.2170 +# directory).2.2171 +if (2.2172 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`2.2173 + if test "$[*]" = "X"; then2.2174 + # -L didn't work.2.2175 + set X `ls -t $srcdir/configure conftest.file`2.2176 + fi2.2177 + rm -f conftest.file2.2178 + if test "$[*]" != "X $srcdir/configure conftest.file" \2.2179 + && test "$[*]" != "X conftest.file $srcdir/configure"; then2.2180 +2.2181 + # If neither matched, then we have a broken ls. This can happen2.2182 + # if, for instance, CONFIG_SHELL is bash and it inherits a2.2183 + # broken ls alias from the environment. This has actually2.2184 + # happened. Such a system could not be considered "sane".2.2185 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken2.2186 +alias in your environment])2.2187 + fi2.2188 +2.2189 + test "$[2]" = conftest.file2.2190 + )2.2191 +then2.2192 + # Ok.2.2193 + :2.2194 +else2.2195 + AC_MSG_ERROR([newly created file is older than distributed files!2.2196 +Check your system clock])2.2197 +fi2.2198 +AC_MSG_RESULT(yes)])2.2199 +2.2200 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.2.2201 +#2.2202 +# This file is free software; the Free Software Foundation2.2203 +# gives unlimited permission to copy and/or distribute it,2.2204 +# with or without modifications, as long as this notice is preserved.2.2205 +2.2206 +# AM_PROG_INSTALL_STRIP2.2207 +# ---------------------2.2208 +# One issue with vendor `install' (even GNU) is that you can't2.2209 +# specify the program used to strip binaries. This is especially2.2210 +# annoying in cross-compiling environments, where the build's strip2.2211 +# is unlikely to handle the host's binaries.2.2212 +# Fortunately install-sh will honor a STRIPPROG variable, so we2.2213 +# always use install-sh in `make install-strip', and initialize2.2214 +# STRIPPROG with the value of the STRIP variable (set by the user).2.2215 +AC_DEFUN([AM_PROG_INSTALL_STRIP],2.2216 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl2.2217 +# Installed binaries are usually stripped using `strip' when the user2.2218 +# run `make install-strip'. However `strip' might not be the right2.2219 +# tool to use in cross-compilation environments, therefore Automake2.2220 +# will honor the `STRIP' environment variable to overrule this program.2.2221 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.2.2222 +if test "$cross_compiling" != no; then2.2223 + AC_CHECK_TOOL([STRIP], [strip], :)2.2224 +fi2.2225 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"2.2226 +AC_SUBST([INSTALL_STRIP_PROGRAM])])2.2227 +2.2228 +# Check how to create a tarball. -*- Autoconf -*-2.2229 +2.2230 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.2.2231 +#2.2232 +# This file is free software; the Free Software Foundation2.2233 +# gives unlimited permission to copy and/or distribute it,2.2234 +# with or without modifications, as long as this notice is preserved.2.2235 +2.2236 +# serial 22.2237 +2.2238 +# _AM_PROG_TAR(FORMAT)2.2239 +# --------------------2.2240 +# Check how to create a tarball in format FORMAT.2.2241 +# FORMAT should be one of `v7', `ustar', or `pax'.2.2242 +#2.2243 +# Substitute a variable $(am__tar) that is a command2.2244 +# writing to stdout a FORMAT-tarball containing the directory2.2245 +# $tardir.2.2246 +# tardir=directory && $(am__tar) > result.tar2.2247 +#2.2248 +# Substitute a variable $(am__untar) that extract such2.2249 +# a tarball read from stdin.2.2250 +# $(am__untar) < result.tar2.2251 +AC_DEFUN([_AM_PROG_TAR],2.2252 +[# Always define AMTAR for backward compatibility.2.2253 +AM_MISSING_PROG([AMTAR], [tar])2.2254 +m4_if([$1], [v7],2.2255 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],2.2256 + [m4_case([$1], [ustar],, [pax],,2.2257 + [m4_fatal([Unknown tar format])])2.2258 +AC_MSG_CHECKING([how to create a $1 tar archive])2.2259 +# Loop over all known methods to create a tar archive until one works.2.2260 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'2.2261 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}2.2262 +# Do not fold the above two line into one, because Tru64 sh and2.2263 +# Solaris sh will not grok spaces in the rhs of `-'.2.2264 +for _am_tool in $_am_tools2.2265 +do2.2266 + case $_am_tool in2.2267 + gnutar)2.2268 + for _am_tar in tar gnutar gtar;2.2269 + do2.2270 + AM_RUN_LOG([$_am_tar --version]) && break2.2271 + done2.2272 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'2.2273 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'2.2274 + am__untar="$_am_tar -xf -"2.2275 + ;;2.2276 + plaintar)2.2277 + # Must skip GNU tar: if it does not support --format= it doesn't create2.2278 + # ustar tarball either.2.2279 + (tar --version) >/dev/null 2>&1 && continue2.2280 + am__tar='tar chf - "$$tardir"'2.2281 + am__tar_='tar chf - "$tardir"'2.2282 + am__untar='tar xf -'2.2283 + ;;2.2284 + pax)2.2285 + am__tar='pax -L -x $1 -w "$$tardir"'2.2286 + am__tar_='pax -L -x $1 -w "$tardir"'2.2287 + am__untar='pax -r'2.2288 + ;;2.2289 + cpio)2.2290 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'2.2291 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'2.2292 + am__untar='cpio -i -H $1 -d'2.2293 + ;;2.2294 + none)2.2295 + am__tar=false2.2296 + am__tar_=false2.2297 + am__untar=false2.2298 + ;;2.2299 + esac2.2300 +2.2301 + # If the value was cached, stop now. We just wanted to have am__tar2.2302 + # and am__untar set.2.2303 + test -n "${am_cv_prog_tar_$1}" && break2.2304 +2.2305 + # tar/untar a dummy directory, and stop if the command works2.2306 + rm -rf conftest.dir2.2307 + mkdir conftest.dir2.2308 + echo GrepMe > conftest.dir/file2.2309 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])2.2310 + rm -rf conftest.dir2.2311 + if test -s conftest.tar; then2.2312 + AM_RUN_LOG([$am__untar <conftest.tar])2.2313 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break2.2314 + fi2.2315 +done2.2316 +rm -rf conftest.dir2.2317 +2.2318 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])2.2319 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])2.2320 +AC_SUBST([am__tar])2.2321 +AC_SUBST([am__untar])2.2322 +]) # _AM_PROG_TAR2.2323 +
3.1 --- a/config.h.in Wed Apr 16 10:12:12 2008 +00003.2 +++ b/config.h.in Wed Apr 16 12:43:52 2008 +00003.3 @@ -28,8 +28,8 @@3.4 /* Define to 1 if you have the `bind_textdomain_codeset' function. */3.5 #undef HAVE_BIND_TEXTDOMAIN_CODESET3.7 -/* Have Carbon framework */3.8 -#undef HAVE_CARBON3.9 +/* Have Cocoa framework */3.10 +#undef HAVE_COCOA3.12 /* Define to 1 if you have the `dcgettext' function. */3.13 #undef HAVE_DCGETTEXT3.14 @@ -40,9 +40,18 @@3.15 /* Define if the GNU gettext() function is already present or preinstalled. */3.16 #undef HAVE_GETTEXT3.18 +/* Have GLX support */3.19 +#undef HAVE_GLX3.20 +3.21 /* Have GTK libraries */3.22 #undef HAVE_GTK3.24 +/* Building with GTK+Cocoa */3.25 +#undef HAVE_GTK_OSX3.26 +3.27 +/* Building with GTK+X11 */3.28 +#undef HAVE_GTK_X113.29 +3.30 /* Define to 1 if you have the <inttypes.h> header file. */3.31 #undef HAVE_INTTYPES_H3.33 @@ -67,6 +76,9 @@3.34 /* Define to 1 if you have the <memory.h> header file. */3.35 #undef HAVE_MEMORY_H3.37 +/* Have NSOpenGL support */3.38 +#undef HAVE_NSGL3.39 +3.40 /* Have EXT_framebuffer_object support */3.41 #undef HAVE_OPENGL_FBO3.43 @@ -76,6 +88,9 @@3.44 /* Have ARB shader support */3.45 #undef HAVE_OPENGL_SHADER_ARB3.47 +/* Building with the OSMesa video driver */3.48 +#undef HAVE_OSMESA3.49 +3.50 /* Have pulseaudio support */3.51 #undef HAVE_PULSE
4.1 --- a/configure Wed Apr 16 10:12:12 2008 +00004.2 +++ b/configure Wed Apr 16 12:43:52 2008 +00004.3 @@ -1,9 +1,9 @@4.4 #! /bin/sh4.5 # Guess values for system-dependent variables and create Makefiles.4.6 -# Generated by GNU Autoconf 2.61.4.7 +# Generated by GNU Autoconf 2.62.4.8 #4.9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,4.10 -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.4.11 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.4.12 # This configure script is free software; the Free Software Foundation4.13 # gives unlimited permission to copy, distribute and modify it.4.14 ## --------------------- ##4.15 @@ -15,7 +15,7 @@4.16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then4.17 emulate sh4.18 NULLCMD=:4.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which4.20 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which4.21 # is contrary to our usage. Disable this feature.4.22 alias -g '${1+"$@"}'='"$@"'4.23 setopt NO_GLOB_SUBST4.24 @@ -37,17 +37,45 @@4.25 as_cr_digits='0123456789'4.26 as_cr_alnum=$as_cr_Letters$as_cr_digits4.28 +as_nl='4.29 +'4.30 +export as_nl4.31 +# Printing a long string crashes Solaris 7 /usr/bin/printf.4.32 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'4.33 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo4.34 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo4.35 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then4.36 + as_echo='printf %s\n'4.37 + as_echo_n='printf %s'4.38 +else4.39 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then4.40 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'4.41 + as_echo_n='/usr/ucb/echo -n'4.42 + else4.43 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'4.44 + as_echo_n_body='eval4.45 + arg=$1;4.46 + case $arg in4.47 + *"$as_nl"*)4.48 + expr "X$arg" : "X\\(.*\\)$as_nl";4.49 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;4.50 + esac;4.51 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"4.52 + '4.53 + export as_echo_n_body4.54 + as_echo_n='sh -c $as_echo_n_body as_echo'4.55 + fi4.56 + export as_echo_body4.57 + as_echo='sh -c $as_echo_body as_echo'4.58 +fi4.59 +4.60 # The user is always right.4.61 if test "${PATH_SEPARATOR+set}" != set; then4.62 - echo "#! /bin/sh" >conf$$.sh4.63 - echo "exit 0" >>conf$$.sh4.64 - chmod +x conf$$.sh4.65 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then4.66 - PATH_SEPARATOR=';'4.67 - else4.68 - PATH_SEPARATOR=:4.69 - fi4.70 - rm -f conf$$.sh4.71 + PATH_SEPARATOR=:4.72 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {4.73 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||4.74 + PATH_SEPARATOR=';'4.75 + }4.76 fi4.78 # Support unset when possible.4.79 @@ -63,8 +91,6 @@4.80 # there to prevent editors from complaining about space-tab.4.81 # (If _AS_PATH_WALK were called with IFS unset, it would disable word4.82 # splitting by setting IFS to empty value.)4.83 -as_nl='4.84 -'4.85 IFS=" "" $as_nl"4.87 # Find who we are. Look in the path if we contain no directory separator.4.88 @@ -87,7 +113,7 @@4.89 as_myself=$04.90 fi4.91 if test ! -f "$as_myself"; then4.92 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&24.93 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&24.94 { (exit 1); exit 1; }4.95 fi4.97 @@ -100,17 +126,10 @@4.98 PS4='+ '4.100 # NLS nuisances.4.101 -for as_var in \4.102 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \4.103 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \4.104 - LC_TELEPHONE LC_TIME4.105 -do4.106 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then4.107 - eval $as_var=C; export $as_var4.108 - else4.109 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var4.110 - fi4.111 -done4.112 +LC_ALL=C4.113 +export LC_ALL4.114 +LANGUAGE=C4.115 +export LANGUAGE4.117 # Required to use basename.4.118 if expr a : '\(a\)' >/dev/null 2>&1 &&4.119 @@ -132,7 +151,7 @@4.120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \4.121 X"$0" : 'X\(//\)$' \| \4.122 X"$0" : 'X\(/\)' \| . 2>/dev/null ||4.123 -echo X/"$0" |4.124 +$as_echo X/"$0" |4.125 sed '/^.*\/\([^/][^/]*\)\/*$/{4.126 s//\1/4.127 q4.128 @@ -158,7 +177,7 @@4.129 as_have_required=no4.130 fi4.132 - if test $as_have_required = yes && (eval ":4.133 + if test $as_have_required = yes && (eval ":4.134 (as_func_return () {4.135 (exit \$1)4.136 }4.137 @@ -240,7 +259,7 @@4.138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then4.139 emulate sh4.140 NULLCMD=:4.141 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which4.142 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which4.143 # is contrary to our usage. Disable this feature.4.144 alias -g '${1+"$@"}'='"$@"'4.145 setopt NO_GLOB_SUBST4.146 @@ -261,7 +280,7 @@4.147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then4.148 emulate sh4.149 NULLCMD=:4.150 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which4.151 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which4.152 # is contrary to our usage. Disable this feature.4.153 alias -g '${1+"$@"}'='"$@"'4.154 setopt NO_GLOB_SUBST4.155 @@ -341,10 +360,10 @@4.157 if test "x$CONFIG_SHELL" != x; then4.158 for as_var in BASH_ENV ENV4.159 - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var4.160 - done4.161 - export CONFIG_SHELL4.162 - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}4.163 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var4.164 + done4.165 + export CONFIG_SHELL4.166 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}4.167 fi4.170 @@ -413,9 +432,10 @@4.172 test \$exitcode = 0") || {4.173 echo No shell found that supports shell functions.4.174 - echo Please tell autoconf@gnu.org about your system,4.175 - echo including any error possibly output before this4.176 - echo message4.177 + echo Please tell bug-autoconf@gnu.org about your system,4.178 + echo including any error possibly output before this message.4.179 + echo This can help us improve future autoconf versions.4.180 + echo Configuration will now proceed without shell functions.4.181 }4.184 @@ -451,7 +471,7 @@4.185 s/-\n.*//4.186 ' >$as_me.lineno &&4.187 chmod +x "$as_me.lineno" ||4.188 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&24.189 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&24.190 { (exit 1); exit 1; }; }4.192 # Don't try to exec as it changes $[0], causing all sort of problems4.193 @@ -479,7 +499,6 @@4.194 *)4.195 ECHO_N='-n';;4.196 esac4.197 -4.198 if expr a : '\(a\)' >/dev/null 2>&1 &&4.199 test "X`expr 00001 : '.*\(...\)'`" = X001; then4.200 as_expr=expr4.201 @@ -492,19 +511,22 @@4.202 rm -f conf$$.dir/conf$$.file4.203 else4.204 rm -f conf$$.dir4.205 - mkdir conf$$.dir4.206 -fi4.207 -echo >conf$$.file4.208 -if ln -s conf$$.file conf$$ 2>/dev/null; then4.209 - as_ln_s='ln -s'4.210 - # ... but there are two gotchas:4.211 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.4.212 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.4.213 - # In both cases, we have to default to `cp -p'.4.214 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||4.215 + mkdir conf$$.dir 2>/dev/null4.216 +fi4.217 +if (echo >conf$$.file) 2>/dev/null; then4.218 + if ln -s conf$$.file conf$$ 2>/dev/null; then4.219 + as_ln_s='ln -s'4.220 + # ... but there are two gotchas:4.221 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.4.222 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.4.223 + # In both cases, we have to default to `cp -p'.4.224 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||4.225 + as_ln_s='cp -p'4.226 + elif ln conf$$.file conf$$ 2>/dev/null; then4.227 + as_ln_s=ln4.228 + else4.229 as_ln_s='cp -p'4.230 -elif ln conf$$.file conf$$ 2>/dev/null; then4.231 - as_ln_s=ln4.232 + fi4.233 else4.234 as_ln_s='cp -p'4.235 fi4.236 @@ -529,10 +551,10 @@4.237 as_test_x='4.238 eval sh -c '\''4.239 if test -d "$1"; then4.240 - test -d "$1/.";4.241 + test -d "$1/.";4.242 else4.243 case $1 in4.244 - -*)set "./$1";;4.245 + -*)set "./$1";;4.246 esac;4.247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in4.248 ???[sx]*):;;*)false;;esac;fi4.249 @@ -661,13 +683,16 @@4.250 AUTOMAKE4.251 AUTOHEADER4.252 MAKEINFO4.253 -AMTAR4.254 install_sh4.255 STRIP4.256 INSTALL_STRIP_PROGRAM4.257 +mkdir_p4.258 AWK4.259 SET_MAKE4.260 am__leading_dot4.261 +AMTAR4.262 +am__tar4.263 +am__untar4.264 MAINTAINER_MODE_TRUE4.265 MAINTAINER_MODE_FALSE4.266 MAINT4.267 @@ -700,17 +725,21 @@4.268 host_cpu4.269 host_vendor4.270 host_os4.271 -OSMESA_DRIVER_TRUE4.272 -OSMESA_DRIVER_FALSE4.273 +GUI_CARBON_TRUE4.274 +GUI_CARBON_FALSE4.275 PKG_CONFIG4.276 LIBPNG_CFLAGS4.277 LIBPNG_LIBS4.278 GTK_CFLAGS4.279 GTK_LIBS4.280 -GUI_CARBON_TRUE4.281 -GUI_CARBON_FALSE4.282 GUI_GTK_TRUE4.283 GUI_GTK_FALSE4.284 +VIDEO_OSMESA_TRUE4.285 +VIDEO_OSMESA_FALSE4.286 +VIDEO_GLX_TRUE4.287 +VIDEO_GLX_FALSE4.288 +VIDEO_NSGL_TRUE4.289 +VIDEO_NSGL_FALSE4.290 BUILD_SH4X86_TRUE4.291 BUILD_SH4X86_FALSE4.292 BUILD_X86_64_TRUE4.293 @@ -761,6 +790,14 @@4.294 LIBOBJS4.295 LTLIBOBJS'4.296 ac_subst_files=''4.297 +ac_user_opts='4.298 +enable_option_checking4.299 +enable_maintainer_mode4.300 +enable_dependency_tracking4.301 +enable_trace4.302 +enable_watch4.303 +with_osmesa4.304 +'4.305 ac_precious_vars='build_alias4.306 host_alias4.307 target_alias4.308 @@ -769,6 +806,8 @@4.309 LDFLAGS4.310 LIBS4.311 CPPFLAGS4.312 +CCAS4.313 +CCASFLAGS4.314 CPP4.315 PKG_CONFIG4.316 LIBPNG_CFLAGS4.317 @@ -786,6 +825,8 @@4.318 # Initialize some variables set by options.4.319 ac_init_help=4.320 ac_init_version=false4.321 +ac_unrecognized_opts=4.322 +ac_unrecognized_sep=4.323 # The variables have the same names as the options, with4.324 # dashes changed to underlines.4.325 cache_file=/dev/null4.326 @@ -884,13 +925,21 @@4.327 datarootdir=$ac_optarg ;;4.329 -disable-* | --disable-*)4.330 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`4.331 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`4.332 # Reject names that are not valid shell variable names.4.333 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&4.334 - { echo "$as_me: error: invalid feature name: $ac_feature" >&24.335 - { (exit 1); exit 1; }; }4.336 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`4.337 - eval enable_$ac_feature=no ;;4.338 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&4.339 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&24.340 + { (exit 1); exit 1; }; }4.341 + ac_useropt_orig=$ac_useropt4.342 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`4.343 + case $ac_user_opts in4.344 + *"4.345 +"enable_$ac_useropt"4.346 +"*) ;;4.347 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"4.348 + ac_unrecognized_sep=', ';;4.349 + esac4.350 + eval enable_$ac_useropt=no ;;4.352 -docdir | --docdir | --docdi | --doc | --do)4.353 ac_prev=docdir ;;4.354 @@ -903,13 +952,21 @@4.355 dvidir=$ac_optarg ;;4.357 -enable-* | --enable-*)4.358 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`4.359 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`4.360 # Reject names that are not valid shell variable names.4.361 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&4.362 - { echo "$as_me: error: invalid feature name: $ac_feature" >&24.363 - { (exit 1); exit 1; }; }4.364 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`4.365 - eval enable_$ac_feature=\$ac_optarg ;;4.366 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&4.367 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&24.368 + { (exit 1); exit 1; }; }4.369 + ac_useropt_orig=$ac_useropt4.370 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`4.371 + case $ac_user_opts in4.372 + *"4.373 +"enable_$ac_useropt"4.374 +"*) ;;4.375 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"4.376 + ac_unrecognized_sep=', ';;4.377 + esac4.378 + eval enable_$ac_useropt=\$ac_optarg ;;4.380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \4.381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \4.382 @@ -1100,22 +1157,38 @@4.383 ac_init_version=: ;;4.385 -with-* | --with-*)4.386 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`4.387 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`4.388 # Reject names that are not valid shell variable names.4.389 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&4.390 - { echo "$as_me: error: invalid package name: $ac_package" >&24.391 - { (exit 1); exit 1; }; }4.392 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`4.393 - eval with_$ac_package=\$ac_optarg ;;4.394 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&4.395 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&24.396 + { (exit 1); exit 1; }; }4.397 + ac_useropt_orig=$ac_useropt4.398 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`4.399 + case $ac_user_opts in4.400 + *"4.401 +"with_$ac_useropt"4.402 +"*) ;;4.403 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"4.404 + ac_unrecognized_sep=', ';;4.405 + esac4.406 + eval with_$ac_useropt=\$ac_optarg ;;4.408 -without-* | --without-*)4.409 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`4.410 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`4.411 # Reject names that are not valid shell variable names.4.412 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&4.413 - { echo "$as_me: error: invalid package name: $ac_package" >&24.414 - { (exit 1); exit 1; }; }4.415 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`4.416 - eval with_$ac_package=no ;;4.417 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&4.418 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&24.419 + { (exit 1); exit 1; }; }4.420 + ac_useropt_orig=$ac_useropt4.421 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`4.422 + case $ac_user_opts in4.423 + *"4.424 +"with_$ac_useropt"4.425 +"*) ;;4.426 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"4.427 + ac_unrecognized_sep=', ';;4.428 + esac4.429 + eval with_$ac_useropt=no ;;4.431 --x)4.432 # Obsolete; use --with-x.4.433 @@ -1135,7 +1208,7 @@4.434 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)4.435 x_libraries=$ac_optarg ;;4.437 - -*) { echo "$as_me: error: unrecognized option: $ac_option4.438 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option4.439 Try \`$0 --help' for more information." >&24.440 { (exit 1); exit 1; }; }4.441 ;;4.442 @@ -1144,16 +1217,16 @@4.443 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`4.444 # Reject names that are not valid shell variable names.4.445 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&4.446 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&24.447 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&24.448 { (exit 1); exit 1; }; }4.449 eval $ac_envvar=\$ac_optarg4.450 export $ac_envvar ;;4.452 *)4.453 # FIXME: should be removed in autoconf 3.0.4.454 - echo "$as_me: WARNING: you should use --build, --host, --target" >&24.455 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&24.456 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&4.457 - echo "$as_me: WARNING: invalid host type: $ac_option" >&24.458 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&24.459 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}4.460 ;;4.462 @@ -1162,22 +1235,38 @@4.464 if test -n "$ac_prev"; then4.465 ac_option=--`echo $ac_prev | sed 's/_/-/g'`4.466 - { echo "$as_me: error: missing argument to $ac_option" >&24.467 - { (exit 1); exit 1; }; }4.468 -fi4.469 -4.470 -# Be sure to have absolute directory names.4.471 + { $as_echo "$as_me: error: missing argument to $ac_option" >&24.472 + { (exit 1); exit 1; }; }4.473 +fi4.474 +4.475 +if test -n "$ac_unrecognized_opts"; then4.476 + case $enable_option_checking in4.477 + no) ;;4.478 + fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&24.479 + { (exit 1); exit 1; }; } ;;4.480 + *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;4.481 + esac4.482 +fi4.483 +4.484 +# Check all directory arguments for consistency.4.485 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \4.486 datadir sysconfdir sharedstatedir localstatedir includedir \4.487 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \4.488 libdir localedir mandir4.489 do4.490 eval ac_val=\$$ac_var4.491 + # Remove trailing slashes.4.492 + case $ac_val in4.493 + */ )4.494 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`4.495 + eval $ac_var=\$ac_val;;4.496 + esac4.497 + # Be sure to have absolute directory names.4.498 case $ac_val in4.499 [\\/$]* | ?:[\\/]* ) continue;;4.500 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;4.501 esac4.502 - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&24.503 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&24.504 { (exit 1); exit 1; }; }4.505 done4.507 @@ -1192,7 +1281,7 @@4.508 if test "x$host_alias" != x; then4.509 if test "x$build_alias" = x; then4.510 cross_compiling=maybe4.511 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.4.512 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.4.513 If a cross compiler is detected then cross compile mode will be used." >&24.514 elif test "x$build_alias" != "x$host_alias"; then4.515 cross_compiling=yes4.516 @@ -1208,10 +1297,10 @@4.517 ac_pwd=`pwd` && test -n "$ac_pwd" &&4.518 ac_ls_di=`ls -di .` &&4.519 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||4.520 - { echo "$as_me: error: Working directory cannot be determined" >&24.521 + { $as_echo "$as_me: error: Working directory cannot be determined" >&24.522 { (exit 1); exit 1; }; }4.523 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||4.524 - { echo "$as_me: error: pwd does not report name of working directory" >&24.525 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&24.526 { (exit 1); exit 1; }; }4.529 @@ -1219,12 +1308,12 @@4.530 if test -z "$srcdir"; then4.531 ac_srcdir_defaulted=yes4.532 # Try the directory containing this script, then the parent directory.4.533 - ac_confdir=`$as_dirname -- "$0" ||4.534 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \4.535 - X"$0" : 'X\(//\)[^/]' \| \4.536 - X"$0" : 'X\(//\)$' \| \4.537 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||4.538 -echo X"$0" |4.539 + ac_confdir=`$as_dirname -- "$as_myself" ||4.540 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \4.541 + X"$as_myself" : 'X\(//\)[^/]' \| \4.542 + X"$as_myself" : 'X\(//\)$' \| \4.543 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||4.544 +$as_echo X"$as_myself" |4.545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{4.546 s//\1/4.547 q4.548 @@ -1251,12 +1340,12 @@4.549 fi4.550 if test ! -r "$srcdir/$ac_unique_file"; then4.551 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."4.552 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&24.553 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&24.554 { (exit 1); exit 1; }; }4.555 fi4.556 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"4.557 ac_abs_confdir=`(4.558 - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&24.559 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&24.560 { (exit 1); exit 1; }; }4.561 pwd)`4.562 # When building in place, set srcdir=.4.563 @@ -1305,9 +1394,9 @@4.565 Installation directories:4.566 --prefix=PREFIX install architecture-independent files in PREFIX4.567 - [$ac_default_prefix]4.568 + [$ac_default_prefix]4.569 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX4.570 - [PREFIX]4.571 + [PREFIX]4.573 By default, \`make install' will install all the files in4.574 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify4.575 @@ -1317,25 +1406,25 @@4.576 For better control, use the options below.4.578 Fine tuning of the installation directories:4.579 - --bindir=DIR user executables [EPREFIX/bin]4.580 - --sbindir=DIR system admin executables [EPREFIX/sbin]4.581 - --libexecdir=DIR program executables [EPREFIX/libexec]4.582 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]4.583 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]4.584 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]4.585 - --libdir=DIR object code libraries [EPREFIX/lib]4.586 - --includedir=DIR C header files [PREFIX/include]4.587 - --oldincludedir=DIR C header files for non-gcc [/usr/include]4.588 - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]4.589 - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]4.590 - --infodir=DIR info documentation [DATAROOTDIR/info]4.591 - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]4.592 - --mandir=DIR man documentation [DATAROOTDIR/man]4.593 - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]4.594 - --htmldir=DIR html documentation [DOCDIR]4.595 - --dvidir=DIR dvi documentation [DOCDIR]4.596 - --pdfdir=DIR pdf documentation [DOCDIR]4.597 - --psdir=DIR ps documentation [DOCDIR]4.598 + --bindir=DIR user executables [EPREFIX/bin]4.599 + --sbindir=DIR system admin executables [EPREFIX/sbin]4.600 + --libexecdir=DIR program executables [EPREFIX/libexec]4.601 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]4.602 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]4.603 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]4.604 + --libdir=DIR object code libraries [EPREFIX/lib]4.605 + --includedir=DIR C header files [PREFIX/include]4.606 + --oldincludedir=DIR C header files for non-gcc [/usr/include]4.607 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]4.608 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]4.609 + --infodir=DIR info documentation [DATAROOTDIR/info]4.610 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]4.611 + --mandir=DIR man documentation [DATAROOTDIR/man]4.612 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]4.613 + --htmldir=DIR html documentation [DOCDIR]4.614 + --dvidir=DIR dvi documentation [DOCDIR]4.615 + --pdfdir=DIR pdf documentation [DOCDIR]4.616 + --psdir=DIR ps documentation [DOCDIR]4.617 _ACEOF4.619 cat <<\_ACEOF4.620 @@ -1356,12 +1445,13 @@4.621 cat <<\_ACEOF4.623 Optional Features:4.624 + --disable-option-checking ignore unrecognized --enable/--with options4.625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)4.626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]4.627 - --enable-maintainer-mode enable make rules and dependencies not useful4.628 - (and sometimes confusing) to the casual installer4.629 - --disable-dependency-tracking Speeds up one-time builds4.630 - --enable-dependency-tracking Do not reject slow dependency extractors4.631 + --enable-maintainer-mode enable make rules and dependencies not useful4.632 + (and sometimes confusing) to the casual installer4.633 + --disable-dependency-tracking speeds up one-time build4.634 + --enable-dependency-tracking do not reject slow dependency extractors4.635 --enable-trace Enable generation of IO traces (warning: hurts4.636 performance)4.637 --enable-watch Enable watchpoints in the debugger (warning: hurts4.638 @@ -1381,6 +1471,8 @@4.639 LIBS libraries to pass to the linker, e.g. -l<library>4.640 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if4.641 you have headers in a nonstandard directory <include dir>4.642 + CCAS assembler compiler command (defaults to CC)4.643 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)4.644 CPP C preprocessor4.645 PKG_CONFIG path to pkg-config utility4.646 LIBPNG_CFLAGS4.647 @@ -1407,15 +1499,17 @@4.648 if test "$ac_init_help" = "recursive"; then4.649 # If there are subdirs, report their specific --help.4.650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue4.651 - test -d "$ac_dir" || continue4.652 + test -d "$ac_dir" ||4.653 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||4.654 + continue4.655 ac_builddir=.4.657 case "$ac_dir" in4.658 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;4.659 *)4.660 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`4.661 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`4.662 # A ".." for each directory in $ac_dir_suffix.4.663 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`4.664 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`4.665 case $ac_top_builddir_sub in4.666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;4.667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;4.668 @@ -1451,7 +1545,7 @@4.669 echo &&4.670 $SHELL "$ac_srcdir/configure" --help=recursive4.671 else4.672 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&24.673 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&24.674 fi || ac_status=$?4.675 cd "$ac_pwd" || { ac_status=$?; break; }4.676 done4.677 @@ -1461,10 +1555,10 @@4.678 if $ac_init_version; then4.679 cat <<\_ACEOF4.680 configure4.681 -generated by GNU Autoconf 2.614.682 +generated by GNU Autoconf 2.624.684 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,4.685 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.4.686 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.4.687 This configure script is free software; the Free Software Foundation4.688 gives unlimited permission to copy, distribute and modify it.4.689 _ACEOF4.690 @@ -1475,7 +1569,7 @@4.691 running configure, to aid debugging if configure makes a mistake.4.693 It was created by $as_me, which was4.694 -generated by GNU Autoconf 2.61. Invocation command line was4.695 +generated by GNU Autoconf 2.62. Invocation command line was4.697 $ $0 $@4.699 @@ -1511,7 +1605,7 @@4.700 do4.701 IFS=$as_save_IFS4.702 test -z "$as_dir" && as_dir=.4.703 - echo "PATH: $as_dir"4.704 + $as_echo "PATH: $as_dir"4.705 done4.706 IFS=$as_save_IFS4.708 @@ -1546,7 +1640,7 @@4.709 | -silent | --silent | --silen | --sile | --sil)4.710 continue ;;4.711 *\'*)4.712 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;4.713 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;4.714 esac4.715 case $ac_pass in4.716 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;4.717 @@ -1598,11 +1692,12 @@4.718 case $ac_val in #(4.719 *${as_nl}*)4.720 case $ac_var in #(4.721 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&54.722 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;4.723 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&54.724 +$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;4.725 esac4.726 case $ac_var in #(4.727 _ | IFS | as_nl) ;; #(4.728 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(4.729 *) $as_unset $ac_var ;;4.730 esac ;;4.731 esac4.732 @@ -1632,9 +1727,9 @@4.733 do4.734 eval ac_val=\$$ac_var4.735 case $ac_val in4.736 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;4.737 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;4.738 esac4.739 - echo "$ac_var='\''$ac_val'\''"4.740 + $as_echo "$ac_var='\''$ac_val'\''"4.741 done | sort4.742 echo4.744 @@ -1649,9 +1744,9 @@4.745 do4.746 eval ac_val=\$$ac_var4.747 case $ac_val in4.748 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;4.749 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;4.750 esac4.751 - echo "$ac_var='\''$ac_val'\''"4.752 + $as_echo "$ac_var='\''$ac_val'\''"4.753 done | sort4.754 echo4.755 fi4.756 @@ -1667,8 +1762,8 @@4.757 echo4.758 fi4.759 test "$ac_signal" != 0 &&4.760 - echo "$as_me: caught signal $ac_signal"4.761 - echo "$as_me: exit $exit_status"4.762 + $as_echo "$as_me: caught signal $ac_signal"4.763 + $as_echo "$as_me: exit $exit_status"4.764 } >&54.765 rm -f core *.core core.conftest.* &&4.766 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&4.767 @@ -1710,21 +1805,24 @@4.770 # Let the site file select an alternate cache file if it wants to.4.771 -# Prefer explicitly selected file to automatically selected ones.4.772 +# Prefer an explicitly selected file to automatically selected ones.4.773 +ac_site_file1=NONE4.774 +ac_site_file2=NONE4.775 if test -n "$CONFIG_SITE"; then4.776 - set x "$CONFIG_SITE"4.777 + ac_site_file1=$CONFIG_SITE4.778 elif test "x$prefix" != xNONE; then4.779 - set x "$prefix/share/config.site" "$prefix/etc/config.site"4.780 -else4.781 - set x "$ac_default_prefix/share/config.site" \4.782 - "$ac_default_prefix/etc/config.site"4.783 -fi4.784 -shift4.785 -for ac_site_file4.786 -do4.787 + ac_site_file1=$prefix/share/config.site4.788 + ac_site_file2=$prefix/etc/config.site4.789 +else4.790 + ac_site_file1=$ac_default_prefix/share/config.site4.791 + ac_site_file2=$ac_default_prefix/etc/config.site4.792 +fi4.793 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"4.794 +do4.795 + test "x$ac_site_file" = xNONE && continue4.796 if test -r "$ac_site_file"; then4.797 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&54.798 -echo "$as_me: loading site script $ac_site_file" >&6;}4.799 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&54.800 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}4.801 sed 's/^/| /' "$ac_site_file" >&54.802 . "$ac_site_file"4.803 fi4.804 @@ -1734,16 +1832,16 @@4.805 # Some versions of bash will fail to source /dev/null (special4.806 # files actually), so we avoid doing that.4.807 if test -f "$cache_file"; then4.808 - { echo "$as_me:$LINENO: loading cache $cache_file" >&54.809 -echo "$as_me: loading cache $cache_file" >&6;}4.810 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&54.811 +$as_echo "$as_me: loading cache $cache_file" >&6;}4.812 case $cache_file in4.813 [\\/]* | ?:[\\/]* ) . "$cache_file";;4.814 *) . "./$cache_file";;4.815 esac4.816 fi4.817 else4.818 - { echo "$as_me:$LINENO: creating cache $cache_file" >&54.819 -echo "$as_me: creating cache $cache_file" >&6;}4.820 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&54.821 +$as_echo "$as_me: creating cache $cache_file" >&6;}4.822 >$cache_file4.823 fi4.825 @@ -1757,29 +1855,38 @@4.826 eval ac_new_val=\$ac_env_${ac_var}_value4.827 case $ac_old_set,$ac_new_set in4.828 set,)4.829 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&54.830 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}4.831 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&54.832 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}4.833 ac_cache_corrupted=: ;;4.834 ,set)4.835 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&54.836 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}4.837 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&54.838 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}4.839 ac_cache_corrupted=: ;;4.840 ,);;4.841 *)4.842 if test "x$ac_old_val" != "x$ac_new_val"; then4.843 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&54.844 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}4.845 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&54.846 -echo "$as_me: former value: $ac_old_val" >&2;}4.847 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&54.848 -echo "$as_me: current value: $ac_new_val" >&2;}4.849 - ac_cache_corrupted=:4.850 + # differences in whitespace do not lead to failure.4.851 + ac_old_val_w=`echo x $ac_old_val`4.852 + ac_new_val_w=`echo x $ac_new_val`4.853 + if test "$ac_old_val_w" != "$ac_new_val_w"; then4.854 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&54.855 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}4.856 + ac_cache_corrupted=:4.857 + else4.858 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&54.859 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}4.860 + eval $ac_var=\$ac_old_val4.861 + fi4.862 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&54.863 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}4.864 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&54.865 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}4.866 fi;;4.867 esac4.868 # Pass precious variables to config.status.4.869 if test "$ac_new_set" = set; then4.870 case $ac_new_val in4.871 - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;4.872 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;4.873 *) ac_arg=$ac_var=$ac_new_val ;;4.874 esac4.875 case " $ac_configure_args " in4.876 @@ -1789,10 +1896,10 @@4.877 fi4.878 done4.879 if $ac_cache_corrupted; then4.880 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&54.881 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}4.882 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&54.883 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}4.884 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&54.885 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}4.886 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&54.887 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}4.888 { (exit 1); exit 1; }; }4.889 fi4.891 @@ -1819,7 +1926,7 @@4.892 ac_compiler_gnu=$ac_cv_c_compiler_gnu4.895 -am__api_version="1.7"4.896 +am__api_version="1.9"4.897 ac_aux_dir=4.898 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do4.899 if test -f "$ac_dir/install-sh"; then4.900 @@ -1837,8 +1944,8 @@4.901 fi4.902 done4.903 if test -z "$ac_aux_dir"; then4.904 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&54.905 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}4.906 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&54.907 +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}4.908 { (exit 1); exit 1; }; }4.909 fi4.911 @@ -1864,11 +1971,12 @@4.912 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"4.913 # OS/2's system install, which has a completely different semantic4.914 # ./install, which can be erroneously created by make from ./install.sh.4.915 -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&54.916 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }4.917 +# Reject install programs that cannot install multiple files.4.918 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&54.919 +$as_echo_n "checking for a BSD-compatible install... " >&6; }4.920 if test -z "$INSTALL"; then4.921 if test "${ac_cv_path_install+set}" = set; then4.922 - echo $ECHO_N "(cached) $ECHO_C" >&64.923 + $as_echo_n "(cached) " >&64.924 else4.925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.926 for as_dir in $PATH4.927 @@ -1897,17 +2005,29 @@4.928 # program-specific install script used by HP pwplus--don't use.4.929 :4.930 else4.931 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"4.932 - break 34.933 + rm -rf conftest.one conftest.two conftest.dir4.934 + echo one > conftest.one4.935 + echo two > conftest.two4.936 + mkdir conftest.dir4.937 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&4.938 + test -s conftest.one && test -s conftest.two &&4.939 + test -s conftest.dir/conftest.one &&4.940 + test -s conftest.dir/conftest.two4.941 + then4.942 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"4.943 + break 34.944 + fi4.945 fi4.946 fi4.947 done4.948 done4.949 ;;4.950 esac4.951 -done4.952 -IFS=$as_save_IFS4.953 -4.954 +4.955 +done4.956 +IFS=$as_save_IFS4.957 +4.958 +rm -rf conftest.one conftest.two conftest.dir4.960 fi4.961 if test "${ac_cv_path_install+set}" = set; then4.962 @@ -1920,8 +2040,8 @@4.963 INSTALL=$ac_install_sh4.964 fi4.965 fi4.966 -{ echo "$as_me:$LINENO: result: $INSTALL" >&54.967 -echo "${ECHO_T}$INSTALL" >&6; }4.968 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&54.969 +$as_echo "$INSTALL" >&6; }4.971 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.4.972 # It thinks the first close brace ends the variable substitution.4.973 @@ -1931,8 +2051,8 @@4.975 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'4.977 -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&54.978 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }4.979 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&54.980 +$as_echo_n "checking whether build environment is sane... " >&6; }4.981 # Just in case4.982 sleep 14.983 echo timestamp > conftest.file4.984 @@ -1955,9 +2075,9 @@4.985 # if, for instance, CONFIG_SHELL is bash and it inherits a4.986 # broken ls alias from the environment. This has actually4.987 # happened. Such a system could not be considered "sane".4.988 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken4.989 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken4.990 alias in your environment" >&54.991 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken4.992 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken4.993 alias in your environment" >&2;}4.994 { (exit 1); exit 1; }; }4.995 fi4.996 @@ -1968,27 +2088,23 @@4.997 # Ok.4.998 :4.999 else4.1000 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!4.1001 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!4.1002 Check your system clock" >&54.1003 -echo "$as_me: error: newly created file is older than distributed files!4.1004 +$as_echo "$as_me: error: newly created file is older than distributed files!4.1005 Check your system clock" >&2;}4.1006 { (exit 1); exit 1; }; }4.1007 fi4.1008 -{ echo "$as_me:$LINENO: result: yes" >&54.1009 -echo "${ECHO_T}yes" >&6; }4.1010 +{ $as_echo "$as_me:$LINENO: result: yes" >&54.1011 +$as_echo "yes" >&6; }4.1012 test "$program_prefix" != NONE &&4.1013 program_transform_name="s&^&$program_prefix&;$program_transform_name"4.1014 # Use a double $ so make ignores it.4.1015 test "$program_suffix" != NONE &&4.1016 program_transform_name="s&\$&$program_suffix&;$program_transform_name"4.1017 -# Double any \ or $. echo might interpret backslashes.4.1018 +# Double any \ or $.4.1019 # By default was `s,x,x', remove it if useless.4.1020 -cat <<\_ACEOF >conftest.sed4.1021 -s/[\\$]/&&/g;s/;s,x,x,$//4.1022 -_ACEOF4.1023 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`4.1024 -rm -f conftest.sed4.1025 -4.1026 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'4.1027 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`4.1029 # expand $ac_aux_dir to an absolute path4.1030 am_aux_dir=`cd $ac_aux_dir && pwd`4.1031 @@ -1999,18 +2115,51 @@4.1032 am_missing_run="$MISSING --run "4.1033 else4.1034 am_missing_run=4.1035 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&54.1036 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}4.1037 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&54.1038 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}4.1039 +fi4.1040 +4.1041 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then4.1042 + # We used to keeping the `.' as first argument, in order to4.1043 + # allow $(mkdir_p) to be used without argument. As in4.1044 + # $(mkdir_p) $(somedir)4.1045 + # where $(somedir) is conditionally defined. However this is wrong4.1046 + # for two reasons:4.1047 + # 1. if the package is installed by a user who cannot write `.'4.1048 + # make install will fail,4.1049 + # 2. the above comment should most certainly read4.1050 + # $(mkdir_p) $(DESTDIR)$(somedir)4.1051 + # so it does not work when $(somedir) is undefined and4.1052 + # $(DESTDIR) is not.4.1053 + # To support the latter case, we have to write4.1054 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),4.1055 + # so the `.' trick is pointless.4.1056 + mkdir_p='mkdir -p --'4.1057 +else4.1058 + # On NextStep and OpenStep, the `mkdir' command does not4.1059 + # recognize any option. It will interpret all options as4.1060 + # directories to create, and then abort because `.' already4.1061 + # exists.4.1062 + for d in ./-p ./--version;4.1063 + do4.1064 + test -d $d && rmdir $d4.1065 + done4.1066 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.4.1067 + if test -f "$ac_aux_dir/mkinstalldirs"; then4.1068 + mkdir_p='$(mkinstalldirs)'4.1069 + else4.1070 + mkdir_p='$(install_sh) -d'4.1071 + fi4.1072 fi4.1074 for ac_prog in gawk mawk nawk awk4.1075 do4.1076 # Extract the first word of "$ac_prog", so it can be a program name with args.4.1077 set dummy $ac_prog; ac_word=$24.1078 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1079 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1080 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1081 +$as_echo_n "checking for $ac_word... " >&6; }4.1082 if test "${ac_cv_prog_AWK+set}" = set; then4.1083 - echo $ECHO_N "(cached) $ECHO_C" >&64.1084 + $as_echo_n "(cached) " >&64.1085 else4.1086 if test -n "$AWK"; then4.1087 ac_cv_prog_AWK="$AWK" # Let the user override the test.4.1088 @@ -2023,7 +2172,7 @@4.1089 for ac_exec_ext in '' $ac_executable_extensions; do4.1090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1091 ac_cv_prog_AWK="$ac_prog"4.1092 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1093 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1094 break 24.1095 fi4.1096 done4.1097 @@ -2034,22 +2183,23 @@4.1098 fi4.1099 AWK=$ac_cv_prog_AWK4.1100 if test -n "$AWK"; then4.1101 - { echo "$as_me:$LINENO: result: $AWK" >&54.1102 -echo "${ECHO_T}$AWK" >&6; }4.1103 -else4.1104 - { echo "$as_me:$LINENO: result: no" >&54.1105 -echo "${ECHO_T}no" >&6; }4.1106 + { $as_echo "$as_me:$LINENO: result: $AWK" >&54.1107 +$as_echo "$AWK" >&6; }4.1108 +else4.1109 + { $as_echo "$as_me:$LINENO: result: no" >&54.1110 +$as_echo "no" >&6; }4.1111 fi4.1114 test -n "$AWK" && break4.1115 done4.1117 -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&54.1118 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }4.1119 -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`4.1120 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&54.1121 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }4.1122 +set x ${MAKE-make}4.1123 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`4.1124 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then4.1125 - echo $ECHO_N "(cached) $ECHO_C" >&64.1126 + $as_echo_n "(cached) " >&64.1127 else4.1128 cat >conftest.make <<\_ACEOF4.1129 SHELL = /bin/sh4.1130 @@ -2066,12 +2216,12 @@4.1131 rm -f conftest.make4.1132 fi4.1133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then4.1134 - { echo "$as_me:$LINENO: result: yes" >&54.1135 -echo "${ECHO_T}yes" >&6; }4.1136 + { $as_echo "$as_me:$LINENO: result: yes" >&54.1137 +$as_echo "yes" >&6; }4.1138 SET_MAKE=4.1139 else4.1140 - { echo "$as_me:$LINENO: result: no" >&54.1141 -echo "${ECHO_T}no" >&6; }4.1142 + { $as_echo "$as_me:$LINENO: result: no" >&54.1143 +$as_echo "no" >&6; }4.1144 SET_MAKE="MAKE=${MAKE-make}"4.1145 fi4.1147 @@ -2084,11 +2234,11 @@4.1148 fi4.1149 rmdir .tst 2>/dev/null4.1151 - # test to see if srcdir already configured4.1152 +# test to see if srcdir already configured4.1153 if test "`cd $srcdir && pwd`" != "`pwd`" &&4.1154 test -f $srcdir/config.status; then4.1155 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&54.1156 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}4.1157 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&54.1158 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}4.1159 { (exit 1); exit 1; }; }4.1160 fi4.1162 @@ -2132,9 +2282,6 @@4.1164 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}4.1166 -4.1167 -AMTAR=${AMTAR-"${am_missing_run}tar"}4.1168 -4.1169 install_sh=${install_sh-"$am_aux_dir/install-sh"}4.1171 # Installed binaries are usually stripped using `strip' when the user4.1172 @@ -2145,10 +2292,10 @@4.1173 if test -n "$ac_tool_prefix"; then4.1174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.4.1175 set dummy ${ac_tool_prefix}strip; ac_word=$24.1176 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1177 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1178 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1179 +$as_echo_n "checking for $ac_word... " >&6; }4.1180 if test "${ac_cv_prog_STRIP+set}" = set; then4.1181 - echo $ECHO_N "(cached) $ECHO_C" >&64.1182 + $as_echo_n "(cached) " >&64.1183 else4.1184 if test -n "$STRIP"; then4.1185 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.4.1186 @@ -2161,7 +2308,7 @@4.1187 for ac_exec_ext in '' $ac_executable_extensions; do4.1188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"4.1190 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1191 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1192 break 24.1193 fi4.1194 done4.1195 @@ -2172,11 +2319,11 @@4.1196 fi4.1197 STRIP=$ac_cv_prog_STRIP4.1198 if test -n "$STRIP"; then4.1199 - { echo "$as_me:$LINENO: result: $STRIP" >&54.1200 -echo "${ECHO_T}$STRIP" >&6; }4.1201 -else4.1202 - { echo "$as_me:$LINENO: result: no" >&54.1203 -echo "${ECHO_T}no" >&6; }4.1204 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&54.1205 +$as_echo "$STRIP" >&6; }4.1206 +else4.1207 + { $as_echo "$as_me:$LINENO: result: no" >&54.1208 +$as_echo "no" >&6; }4.1209 fi4.1212 @@ -2185,10 +2332,10 @@4.1213 ac_ct_STRIP=$STRIP4.1214 # Extract the first word of "strip", so it can be a program name with args.4.1215 set dummy strip; ac_word=$24.1216 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1217 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1218 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1219 +$as_echo_n "checking for $ac_word... " >&6; }4.1220 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then4.1221 - echo $ECHO_N "(cached) $ECHO_C" >&64.1222 + $as_echo_n "(cached) " >&64.1223 else4.1224 if test -n "$ac_ct_STRIP"; then4.1225 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.4.1226 @@ -2201,7 +2348,7 @@4.1227 for ac_exec_ext in '' $ac_executable_extensions; do4.1228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1229 ac_cv_prog_ac_ct_STRIP="strip"4.1230 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1231 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1232 break 24.1233 fi4.1234 done4.1235 @@ -2212,11 +2359,11 @@4.1236 fi4.1237 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP4.1238 if test -n "$ac_ct_STRIP"; then4.1239 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&54.1240 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }4.1241 -else4.1242 - { echo "$as_me:$LINENO: result: no" >&54.1243 -echo "${ECHO_T}no" >&6; }4.1244 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&54.1245 +$as_echo "$ac_ct_STRIP" >&6; }4.1246 +else4.1247 + { $as_echo "$as_me:$LINENO: result: no" >&54.1248 +$as_echo "no" >&6; }4.1249 fi4.1251 if test "x$ac_ct_STRIP" = x; then4.1252 @@ -2224,10 +2371,10 @@4.1253 else4.1254 case $cross_compiling:$ac_tool_warned in4.1255 yes:)4.1256 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1257 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1258 whose name does not start with the host triplet. If you think this4.1259 configuration is useful to you, please write to autoconf@gnu.org." >&54.1260 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1261 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1262 whose name does not start with the host triplet. If you think this4.1263 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.1264 ac_tool_warned=yes ;;4.1265 @@ -2243,11 +2390,18 @@4.1267 # We need awk for the "check" target. The system "awk" is bad on4.1268 # some platforms.4.1269 -4.1270 -4.1271 -4.1272 -{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&54.1273 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }4.1274 +# Always define AMTAR for backward compatibility.4.1275 +4.1276 +AMTAR=${AMTAR-"${am_missing_run}tar"}4.1277 +4.1278 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'4.1279 +4.1280 +4.1281 +4.1282 +4.1283 +4.1284 +{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&54.1285 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }4.1286 # Check whether --enable-maintainer-mode was given.4.1287 if test "${enable_maintainer_mode+set}" = set; then4.1288 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval4.1289 @@ -2255,8 +2409,8 @@4.1290 USE_MAINTAINER_MODE=no4.1291 fi4.1293 - { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&54.1294 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }4.1295 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&54.1296 +$as_echo "$USE_MAINTAINER_MODE" >&6; }4.1299 if test $USE_MAINTAINER_MODE = yes; then4.1300 @@ -2285,8 +2439,8 @@4.1301 .PHONY: am__doit4.1302 END4.1303 # If we don't find an include directive, just comment out the code.4.1304 -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&54.1305 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }4.1306 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&54.1307 +$as_echo_n "checking for style of include used by $am_make... " >&6; }4.1308 am__include="#"4.1309 am__quote=4.1310 _am_result=none4.1311 @@ -2313,8 +2467,8 @@4.1312 fi4.1315 -{ echo "$as_me:$LINENO: result: $_am_result" >&54.1316 -echo "${ECHO_T}$_am_result" >&6; }4.1317 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&54.1318 +$as_echo "$_am_result" >&6; }4.1319 rm -f confinc confmf4.1321 # Check whether --enable-dependency-tracking was given.4.1322 @@ -2346,10 +2500,10 @@4.1323 if test -n "$ac_tool_prefix"; then4.1324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.4.1325 set dummy ${ac_tool_prefix}gcc; ac_word=$24.1326 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1327 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1328 -if test "${ac_cv_prog_CC+set}" = set; then4.1329 - echo $ECHO_N "(cached) $ECHO_C" >&64.1330 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1331 +$as_echo_n "checking for $ac_word... " >&6; }4.1332 +if test "${ac_cv_prog_CC+set}" = set; then4.1333 + $as_echo_n "(cached) " >&64.1334 else4.1335 if test -n "$CC"; then4.1336 ac_cv_prog_CC="$CC" # Let the user override the test.4.1337 @@ -2362,22 +2516,22 @@4.1338 for ac_exec_ext in '' $ac_executable_extensions; do4.1339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1340 ac_cv_prog_CC="${ac_tool_prefix}gcc"4.1341 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1342 - break 24.1343 - fi4.1344 -done4.1345 -done4.1346 -IFS=$as_save_IFS4.1347 -4.1348 -fi4.1349 -fi4.1350 -CC=$ac_cv_prog_CC4.1351 -if test -n "$CC"; then4.1352 - { echo "$as_me:$LINENO: result: $CC" >&54.1353 -echo "${ECHO_T}$CC" >&6; }4.1354 -else4.1355 - { echo "$as_me:$LINENO: result: no" >&54.1356 -echo "${ECHO_T}no" >&6; }4.1357 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1358 + break 24.1359 + fi4.1360 +done4.1361 +done4.1362 +IFS=$as_save_IFS4.1363 +4.1364 +fi4.1365 +fi4.1366 +CC=$ac_cv_prog_CC4.1367 +if test -n "$CC"; then4.1368 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.1369 +$as_echo "$CC" >&6; }4.1370 +else4.1371 + { $as_echo "$as_me:$LINENO: result: no" >&54.1372 +$as_echo "no" >&6; }4.1373 fi4.1376 @@ -2386,10 +2540,10 @@4.1377 ac_ct_CC=$CC4.1378 # Extract the first word of "gcc", so it can be a program name with args.4.1379 set dummy gcc; ac_word=$24.1380 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1381 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1382 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1383 +$as_echo_n "checking for $ac_word... " >&6; }4.1384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.1385 - echo $ECHO_N "(cached) $ECHO_C" >&64.1386 + $as_echo_n "(cached) " >&64.1387 else4.1388 if test -n "$ac_ct_CC"; then4.1389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.1390 @@ -2402,7 +2556,7 @@4.1391 for ac_exec_ext in '' $ac_executable_extensions; do4.1392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1393 ac_cv_prog_ac_ct_CC="gcc"4.1394 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1395 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1396 break 24.1397 fi4.1398 done4.1399 @@ -2413,11 +2567,11 @@4.1400 fi4.1401 ac_ct_CC=$ac_cv_prog_ac_ct_CC4.1402 if test -n "$ac_ct_CC"; then4.1403 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.1404 -echo "${ECHO_T}$ac_ct_CC" >&6; }4.1405 -else4.1406 - { echo "$as_me:$LINENO: result: no" >&54.1407 -echo "${ECHO_T}no" >&6; }4.1408 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.1409 +$as_echo "$ac_ct_CC" >&6; }4.1410 +else4.1411 + { $as_echo "$as_me:$LINENO: result: no" >&54.1412 +$as_echo "no" >&6; }4.1413 fi4.1415 if test "x$ac_ct_CC" = x; then4.1416 @@ -2425,10 +2579,10 @@4.1417 else4.1418 case $cross_compiling:$ac_tool_warned in4.1419 yes:)4.1420 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1421 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1422 whose name does not start with the host triplet. If you think this4.1423 configuration is useful to you, please write to autoconf@gnu.org." >&54.1424 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1425 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1426 whose name does not start with the host triplet. If you think this4.1427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.1428 ac_tool_warned=yes ;;4.1429 @@ -2443,10 +2597,10 @@4.1430 if test -n "$ac_tool_prefix"; then4.1431 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.4.1432 set dummy ${ac_tool_prefix}cc; ac_word=$24.1433 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1434 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1435 -if test "${ac_cv_prog_CC+set}" = set; then4.1436 - echo $ECHO_N "(cached) $ECHO_C" >&64.1437 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1438 +$as_echo_n "checking for $ac_word... " >&6; }4.1439 +if test "${ac_cv_prog_CC+set}" = set; then4.1440 + $as_echo_n "(cached) " >&64.1441 else4.1442 if test -n "$CC"; then4.1443 ac_cv_prog_CC="$CC" # Let the user override the test.4.1444 @@ -2459,22 +2613,22 @@4.1445 for ac_exec_ext in '' $ac_executable_extensions; do4.1446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1447 ac_cv_prog_CC="${ac_tool_prefix}cc"4.1448 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1449 - break 24.1450 - fi4.1451 -done4.1452 -done4.1453 -IFS=$as_save_IFS4.1454 -4.1455 -fi4.1456 -fi4.1457 -CC=$ac_cv_prog_CC4.1458 -if test -n "$CC"; then4.1459 - { echo "$as_me:$LINENO: result: $CC" >&54.1460 -echo "${ECHO_T}$CC" >&6; }4.1461 -else4.1462 - { echo "$as_me:$LINENO: result: no" >&54.1463 -echo "${ECHO_T}no" >&6; }4.1464 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1465 + break 24.1466 + fi4.1467 +done4.1468 +done4.1469 +IFS=$as_save_IFS4.1470 +4.1471 +fi4.1472 +fi4.1473 +CC=$ac_cv_prog_CC4.1474 +if test -n "$CC"; then4.1475 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.1476 +$as_echo "$CC" >&6; }4.1477 +else4.1478 + { $as_echo "$as_me:$LINENO: result: no" >&54.1479 +$as_echo "no" >&6; }4.1480 fi4.1483 @@ -2483,10 +2637,10 @@4.1484 if test -z "$CC"; then4.1485 # Extract the first word of "cc", so it can be a program name with args.4.1486 set dummy cc; ac_word=$24.1487 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1488 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1489 -if test "${ac_cv_prog_CC+set}" = set; then4.1490 - echo $ECHO_N "(cached) $ECHO_C" >&64.1491 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1492 +$as_echo_n "checking for $ac_word... " >&6; }4.1493 +if test "${ac_cv_prog_CC+set}" = set; then4.1494 + $as_echo_n "(cached) " >&64.1495 else4.1496 if test -n "$CC"; then4.1497 ac_cv_prog_CC="$CC" # Let the user override the test.4.1498 @@ -2504,7 +2658,7 @@4.1499 continue4.1500 fi4.1501 ac_cv_prog_CC="cc"4.1502 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1503 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1504 break 24.1505 fi4.1506 done4.1507 @@ -2527,11 +2681,11 @@4.1508 fi4.1509 CC=$ac_cv_prog_CC4.1510 if test -n "$CC"; then4.1511 - { echo "$as_me:$LINENO: result: $CC" >&54.1512 -echo "${ECHO_T}$CC" >&6; }4.1513 -else4.1514 - { echo "$as_me:$LINENO: result: no" >&54.1515 -echo "${ECHO_T}no" >&6; }4.1516 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.1517 +$as_echo "$CC" >&6; }4.1518 +else4.1519 + { $as_echo "$as_me:$LINENO: result: no" >&54.1520 +$as_echo "no" >&6; }4.1521 fi4.1524 @@ -2542,10 +2696,10 @@4.1525 do4.1526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4.1527 set dummy $ac_tool_prefix$ac_prog; ac_word=$24.1528 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1529 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1530 -if test "${ac_cv_prog_CC+set}" = set; then4.1531 - echo $ECHO_N "(cached) $ECHO_C" >&64.1532 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1533 +$as_echo_n "checking for $ac_word... " >&6; }4.1534 +if test "${ac_cv_prog_CC+set}" = set; then4.1535 + $as_echo_n "(cached) " >&64.1536 else4.1537 if test -n "$CC"; then4.1538 ac_cv_prog_CC="$CC" # Let the user override the test.4.1539 @@ -2558,22 +2712,22 @@4.1540 for ac_exec_ext in '' $ac_executable_extensions; do4.1541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"4.1543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1544 - break 24.1545 - fi4.1546 -done4.1547 -done4.1548 -IFS=$as_save_IFS4.1549 -4.1550 -fi4.1551 -fi4.1552 -CC=$ac_cv_prog_CC4.1553 -if test -n "$CC"; then4.1554 - { echo "$as_me:$LINENO: result: $CC" >&54.1555 -echo "${ECHO_T}$CC" >&6; }4.1556 -else4.1557 - { echo "$as_me:$LINENO: result: no" >&54.1558 -echo "${ECHO_T}no" >&6; }4.1559 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1560 + break 24.1561 + fi4.1562 +done4.1563 +done4.1564 +IFS=$as_save_IFS4.1565 +4.1566 +fi4.1567 +fi4.1568 +CC=$ac_cv_prog_CC4.1569 +if test -n "$CC"; then4.1570 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.1571 +$as_echo "$CC" >&6; }4.1572 +else4.1573 + { $as_echo "$as_me:$LINENO: result: no" >&54.1574 +$as_echo "no" >&6; }4.1575 fi4.1578 @@ -2586,10 +2740,10 @@4.1579 do4.1580 # Extract the first word of "$ac_prog", so it can be a program name with args.4.1581 set dummy $ac_prog; ac_word=$24.1582 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.1583 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.1584 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.1585 +$as_echo_n "checking for $ac_word... " >&6; }4.1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.1587 - echo $ECHO_N "(cached) $ECHO_C" >&64.1588 + $as_echo_n "(cached) " >&64.1589 else4.1590 if test -n "$ac_ct_CC"; then4.1591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.1592 @@ -2602,7 +2756,7 @@4.1593 for ac_exec_ext in '' $ac_executable_extensions; do4.1594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.1595 ac_cv_prog_ac_ct_CC="$ac_prog"4.1596 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1597 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.1598 break 24.1599 fi4.1600 done4.1601 @@ -2613,11 +2767,11 @@4.1602 fi4.1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC4.1604 if test -n "$ac_ct_CC"; then4.1605 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.1606 -echo "${ECHO_T}$ac_ct_CC" >&6; }4.1607 -else4.1608 - { echo "$as_me:$LINENO: result: no" >&54.1609 -echo "${ECHO_T}no" >&6; }4.1610 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.1611 +$as_echo "$ac_ct_CC" >&6; }4.1612 +else4.1613 + { $as_echo "$as_me:$LINENO: result: no" >&54.1614 +$as_echo "no" >&6; }4.1615 fi4.1618 @@ -2629,10 +2783,10 @@4.1619 else4.1620 case $cross_compiling:$ac_tool_warned in4.1621 yes:)4.1622 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1623 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.1624 whose name does not start with the host triplet. If you think this4.1625 configuration is useful to you, please write to autoconf@gnu.org." >&54.1626 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1627 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.1628 whose name does not start with the host triplet. If you think this4.1629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.1630 ac_tool_warned=yes ;;4.1631 @@ -2644,44 +2798,48 @@4.1632 fi4.1635 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH4.1636 -See \`config.log' for more details." >&54.1637 -echo "$as_me: error: no acceptable C compiler found in \$PATH4.1638 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH4.1639 +See \`config.log' for more details." >&54.1640 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH4.1641 See \`config.log' for more details." >&2;}4.1642 { (exit 1); exit 1; }; }4.1644 # Provide some information about the compiler.4.1645 -echo "$as_me:$LINENO: checking for C compiler version" >&54.1646 -ac_compiler=`set X $ac_compile; echo $2`4.1647 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&54.1648 +set X $ac_compile4.1649 +ac_compiler=$24.1650 { (ac_try="$ac_compiler --version >&5"4.1651 case "(($ac_try" in4.1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1653 *) ac_try_echo=$ac_try;;4.1654 esac4.1655 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1656 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1657 +$as_echo "$ac_try_echo") >&54.1658 (eval "$ac_compiler --version >&5") 2>&54.1659 ac_status=$?4.1660 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1661 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1662 (exit $ac_status); }4.1663 { (ac_try="$ac_compiler -v >&5"4.1664 case "(($ac_try" in4.1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1666 *) ac_try_echo=$ac_try;;4.1667 esac4.1668 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1669 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1670 +$as_echo "$ac_try_echo") >&54.1671 (eval "$ac_compiler -v >&5") 2>&54.1672 ac_status=$?4.1673 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1674 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1675 (exit $ac_status); }4.1676 { (ac_try="$ac_compiler -V >&5"4.1677 case "(($ac_try" in4.1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1679 *) ac_try_echo=$ac_try;;4.1680 esac4.1681 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1682 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1683 +$as_echo "$ac_try_echo") >&54.1684 (eval "$ac_compiler -V >&5") 2>&54.1685 ac_status=$?4.1686 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1687 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1688 (exit $ac_status); }4.1690 cat >conftest.$ac_ext <<_ACEOF4.1691 @@ -2700,27 +2858,22 @@4.1692 }4.1693 _ACEOF4.1694 ac_clean_files_save=$ac_clean_files4.1695 -ac_clean_files="$ac_clean_files a.out a.exe b.out"4.1696 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"4.1697 # Try to create an executable without -o first, disregard a.out.4.1698 # It will help us diagnose broken compilers, and finding out an intuition4.1699 # of exeext.4.1700 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&54.1701 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }4.1702 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`4.1703 -#4.1704 -# List of possible output files, starting from the most likely.4.1705 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)4.1706 -# only as a last resort. b.out is created by i960 compilers.4.1707 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'4.1708 -#4.1709 -# The IRIX 6 linker writes into existing files which may not be4.1710 -# executable, retaining their permissions. Remove them first so a4.1711 -# subsequent execution test works.4.1712 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&54.1713 +$as_echo_n "checking for C compiler default output file name... " >&6; }4.1714 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`4.1715 +4.1716 +# The possible output files:4.1717 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"4.1718 +4.1719 ac_rmfiles=4.1720 for ac_file in $ac_files4.1721 do4.1722 case $ac_file in4.1723 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;4.1724 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;4.1725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;4.1726 esac4.1727 done4.1728 @@ -2731,10 +2884,11 @@4.1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1730 *) ac_try_echo=$ac_try;;4.1731 esac4.1732 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1733 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1734 +$as_echo "$ac_try_echo") >&54.1735 (eval "$ac_link_default") 2>&54.1736 ac_status=$?4.1737 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1738 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1739 (exit $ac_status); }; then4.1740 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.4.1741 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'4.1742 @@ -2745,7 +2899,7 @@4.1743 do4.1744 test -f "$ac_file" || continue4.1745 case $ac_file in4.1746 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )4.1747 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )4.1748 ;;4.1749 [ab].out )4.1750 # We found the default executable, but exeext='' is most4.1751 @@ -2772,15 +2926,15 @@4.1752 ac_file=''4.1753 fi4.1755 -{ echo "$as_me:$LINENO: result: $ac_file" >&54.1756 -echo "${ECHO_T}$ac_file" >&6; }4.1757 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&54.1758 +$as_echo "$ac_file" >&6; }4.1759 if test -z "$ac_file"; then4.1760 - echo "$as_me: failed program was:" >&54.1761 -sed 's/^/| /' conftest.$ac_ext >&54.1762 -4.1763 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables4.1764 -See \`config.log' for more details." >&54.1765 -echo "$as_me: error: C compiler cannot create executables4.1766 + $as_echo "$as_me: failed program was:" >&54.1767 +sed 's/^/| /' conftest.$ac_ext >&54.1768 +4.1769 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables4.1770 +See \`config.log' for more details." >&54.1771 +$as_echo "$as_me: error: C compiler cannot create executables4.1772 See \`config.log' for more details." >&2;}4.1773 { (exit 77); exit 77; }; }4.1774 fi4.1775 @@ -2789,8 +2943,8 @@4.1777 # Check that the compiler produces executables we can run. If not, either4.1778 # the compiler is broken, or we cross compile.4.1779 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&54.1780 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }4.1781 +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&54.1782 +$as_echo_n "checking whether the C compiler works... " >&6; }4.1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.04.1784 # If not cross compiling, check that we can run a simple program.4.1785 if test "$cross_compiling" != yes; then4.1786 @@ -2799,49 +2953,51 @@4.1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1788 *) ac_try_echo=$ac_try;;4.1789 esac4.1790 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1791 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1792 +$as_echo "$ac_try_echo") >&54.1793 (eval "$ac_try") 2>&54.1794 ac_status=$?4.1795 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1796 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1797 (exit $ac_status); }; }; then4.1798 cross_compiling=no4.1799 else4.1800 if test "$cross_compiling" = maybe; then4.1801 cross_compiling=yes4.1802 else4.1803 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.4.1804 + { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.4.1805 If you meant to cross compile, use \`--host'.4.1806 See \`config.log' for more details." >&54.1807 -echo "$as_me: error: cannot run C compiled programs.4.1808 +$as_echo "$as_me: error: cannot run C compiled programs.4.1809 If you meant to cross compile, use \`--host'.4.1810 See \`config.log' for more details." >&2;}4.1811 { (exit 1); exit 1; }; }4.1812 fi4.1813 fi4.1814 fi4.1815 -{ echo "$as_me:$LINENO: result: yes" >&54.1816 -echo "${ECHO_T}yes" >&6; }4.1817 -4.1818 -rm -f a.out a.exe conftest$ac_cv_exeext b.out4.1819 +{ $as_echo "$as_me:$LINENO: result: yes" >&54.1820 +$as_echo "yes" >&6; }4.1821 +4.1822 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out4.1823 ac_clean_files=$ac_clean_files_save4.1824 # Check that the compiler produces executables we can run. If not, either4.1825 # the compiler is broken, or we cross compile.4.1826 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&54.1827 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }4.1828 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&54.1829 -echo "${ECHO_T}$cross_compiling" >&6; }4.1830 -4.1831 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&54.1832 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }4.1833 -if { (ac_try="$ac_link"4.1834 -case "(($ac_try" in4.1835 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1836 - *) ac_try_echo=$ac_try;;4.1837 -esac4.1838 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1839 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&54.1840 +$as_echo_n "checking whether we are cross compiling... " >&6; }4.1841 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&54.1842 +$as_echo "$cross_compiling" >&6; }4.1843 +4.1844 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&54.1845 +$as_echo_n "checking for suffix of executables... " >&6; }4.1846 +if { (ac_try="$ac_link"4.1847 +case "(($ac_try" in4.1848 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1849 + *) ac_try_echo=$ac_try;;4.1850 +esac4.1851 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1852 +$as_echo "$ac_try_echo") >&54.1853 (eval "$ac_link") 2>&54.1854 ac_status=$?4.1855 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1856 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1857 (exit $ac_status); }; then4.1858 # If both `conftest.exe' and `conftest' are `present' (well, observable)4.1859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will4.1860 @@ -2850,31 +3006,31 @@4.1861 for ac_file in conftest.exe conftest conftest.*; do4.1862 test -f "$ac_file" || continue4.1863 case $ac_file in4.1864 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;4.1865 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;4.1866 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`4.1867 break;;4.1868 * ) break;;4.1869 esac4.1870 done4.1871 else4.1872 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link4.1873 -See \`config.log' for more details." >&54.1874 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link4.1875 + { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link4.1876 +See \`config.log' for more details." >&54.1877 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link4.1878 See \`config.log' for more details." >&2;}4.1879 { (exit 1); exit 1; }; }4.1880 fi4.1882 rm -f conftest$ac_cv_exeext4.1883 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&54.1884 -echo "${ECHO_T}$ac_cv_exeext" >&6; }4.1885 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&54.1886 +$as_echo "$ac_cv_exeext" >&6; }4.1888 rm -f conftest.$ac_ext4.1889 EXEEXT=$ac_cv_exeext4.1890 ac_exeext=$EXEEXT4.1891 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&54.1892 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }4.1893 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&54.1894 +$as_echo_n "checking for suffix of object files... " >&6; }4.1895 if test "${ac_cv_objext+set}" = set; then4.1896 - echo $ECHO_N "(cached) $ECHO_C" >&64.1897 + $as_echo_n "(cached) " >&64.1898 else4.1899 cat >conftest.$ac_ext <<_ACEOF4.1900 /* confdefs.h. */4.1901 @@ -2897,40 +3053,41 @@4.1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1903 *) ac_try_echo=$ac_try;;4.1904 esac4.1905 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1906 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1907 +$as_echo "$ac_try_echo") >&54.1908 (eval "$ac_compile") 2>&54.1909 ac_status=$?4.1910 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1911 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1912 (exit $ac_status); }; then4.1913 for ac_file in conftest.o conftest.obj conftest.*; do4.1914 test -f "$ac_file" || continue;4.1915 case $ac_file in4.1916 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;4.1917 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;4.1918 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`4.1919 break;;4.1920 esac4.1921 done4.1922 else4.1923 - echo "$as_me: failed program was:" >&54.1924 -sed 's/^/| /' conftest.$ac_ext >&54.1925 -4.1926 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile4.1927 -See \`config.log' for more details." >&54.1928 -echo "$as_me: error: cannot compute suffix of object files: cannot compile4.1929 + $as_echo "$as_me: failed program was:" >&54.1930 +sed 's/^/| /' conftest.$ac_ext >&54.1931 +4.1932 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile4.1933 +See \`config.log' for more details." >&54.1934 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile4.1935 See \`config.log' for more details." >&2;}4.1936 { (exit 1); exit 1; }; }4.1937 fi4.1939 rm -f conftest.$ac_cv_objext conftest.$ac_ext4.1940 fi4.1941 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&54.1942 -echo "${ECHO_T}$ac_cv_objext" >&6; }4.1943 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&54.1944 +$as_echo "$ac_cv_objext" >&6; }4.1945 OBJEXT=$ac_cv_objext4.1946 ac_objext=$OBJEXT4.1947 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&54.1948 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }4.1949 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&54.1950 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }4.1951 if test "${ac_cv_c_compiler_gnu+set}" = set; then4.1952 - echo $ECHO_N "(cached) $ECHO_C" >&64.1953 + $as_echo_n "(cached) " >&64.1954 else4.1955 cat >conftest.$ac_ext <<_ACEOF4.1956 /* confdefs.h. */4.1957 @@ -2956,20 +3113,21 @@4.1958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.1959 *) ac_try_echo=$ac_try;;4.1960 esac4.1961 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.1962 - (eval "$ac_compile") 2>conftest.er14.1963 - ac_status=$?4.1964 - grep -v '^ *+' conftest.er1 >conftest.err4.1965 - rm -f conftest.er14.1966 - cat conftest.err >&54.1967 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.1968 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.1969 +$as_echo "$ac_try_echo") >&54.1970 + (eval "$ac_compile") 2>conftest.er14.1971 + ac_status=$?4.1972 + grep -v '^ *+' conftest.er1 >conftest.err4.1973 + rm -f conftest.er14.1974 + cat conftest.err >&54.1975 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.1976 (exit $ac_status); } && {4.1977 test -z "$ac_c_werror_flag" ||4.1978 test ! -s conftest.err4.1979 } && test -s conftest.$ac_objext; then4.1980 ac_compiler_gnu=yes4.1981 else4.1982 - echo "$as_me: failed program was:" >&54.1983 + $as_echo "$as_me: failed program was:" >&54.1984 sed 's/^/| /' conftest.$ac_ext >&54.1986 ac_compiler_gnu=no4.1987 @@ -2979,15 +3137,19 @@4.1988 ac_cv_c_compiler_gnu=$ac_compiler_gnu4.1990 fi4.1991 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&54.1992 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }4.1993 -GCC=`test $ac_compiler_gnu = yes && echo yes`4.1994 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&54.1995 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }4.1996 +if test $ac_compiler_gnu = yes; then4.1997 + GCC=yes4.1998 +else4.1999 + GCC=4.2000 +fi4.2001 ac_test_CFLAGS=${CFLAGS+set}4.2002 ac_save_CFLAGS=$CFLAGS4.2003 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&54.2004 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }4.2005 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&54.2006 +$as_echo_n "checking whether $CC accepts -g... " >&6; }4.2007 if test "${ac_cv_prog_cc_g+set}" = set; then4.2008 - echo $ECHO_N "(cached) $ECHO_C" >&64.2009 + $as_echo_n "(cached) " >&64.2010 else4.2011 ac_save_c_werror_flag=$ac_c_werror_flag4.2012 ac_c_werror_flag=yes4.2013 @@ -3014,20 +3176,21 @@4.2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2015 *) ac_try_echo=$ac_try;;4.2016 esac4.2017 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2018 - (eval "$ac_compile") 2>conftest.er14.2019 - ac_status=$?4.2020 - grep -v '^ *+' conftest.er1 >conftest.err4.2021 - rm -f conftest.er14.2022 - cat conftest.err >&54.2023 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2024 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2025 +$as_echo "$ac_try_echo") >&54.2026 + (eval "$ac_compile") 2>conftest.er14.2027 + ac_status=$?4.2028 + grep -v '^ *+' conftest.er1 >conftest.err4.2029 + rm -f conftest.er14.2030 + cat conftest.err >&54.2031 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2032 (exit $ac_status); } && {4.2033 test -z "$ac_c_werror_flag" ||4.2034 test ! -s conftest.err4.2035 } && test -s conftest.$ac_objext; then4.2036 ac_cv_prog_cc_g=yes4.2037 else4.2038 - echo "$as_me: failed program was:" >&54.2039 + $as_echo "$as_me: failed program was:" >&54.2040 sed 's/^/| /' conftest.$ac_ext >&54.2042 CFLAGS=""4.2043 @@ -3052,20 +3215,21 @@4.2044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2045 *) ac_try_echo=$ac_try;;4.2046 esac4.2047 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2048 - (eval "$ac_compile") 2>conftest.er14.2049 - ac_status=$?4.2050 - grep -v '^ *+' conftest.er1 >conftest.err4.2051 - rm -f conftest.er14.2052 - cat conftest.err >&54.2053 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2054 - (exit $ac_status); } && {4.2055 - test -z "$ac_c_werror_flag" ||4.2056 - test ! -s conftest.err4.2057 - } && test -s conftest.$ac_objext; then4.2058 - :4.2059 -else4.2060 - echo "$as_me: failed program was:" >&54.2061 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2062 +$as_echo "$ac_try_echo") >&54.2063 + (eval "$ac_compile") 2>conftest.er14.2064 + ac_status=$?4.2065 + grep -v '^ *+' conftest.er1 >conftest.err4.2066 + rm -f conftest.er14.2067 + cat conftest.err >&54.2068 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2069 + (exit $ac_status); } && {4.2070 + test -z "$ac_c_werror_flag" ||4.2071 + test ! -s conftest.err4.2072 + } && test -s conftest.$ac_objext; then4.2073 + :4.2074 +else4.2075 + $as_echo "$as_me: failed program was:" >&54.2076 sed 's/^/| /' conftest.$ac_ext >&54.2078 ac_c_werror_flag=$ac_save_c_werror_flag4.2079 @@ -3091,20 +3255,21 @@4.2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2081 *) ac_try_echo=$ac_try;;4.2082 esac4.2083 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2084 - (eval "$ac_compile") 2>conftest.er14.2085 - ac_status=$?4.2086 - grep -v '^ *+' conftest.er1 >conftest.err4.2087 - rm -f conftest.er14.2088 - cat conftest.err >&54.2089 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2090 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2091 +$as_echo "$ac_try_echo") >&54.2092 + (eval "$ac_compile") 2>conftest.er14.2093 + ac_status=$?4.2094 + grep -v '^ *+' conftest.er1 >conftest.err4.2095 + rm -f conftest.er14.2096 + cat conftest.err >&54.2097 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2098 (exit $ac_status); } && {4.2099 test -z "$ac_c_werror_flag" ||4.2100 test ! -s conftest.err4.2101 } && test -s conftest.$ac_objext; then4.2102 ac_cv_prog_cc_g=yes4.2103 else4.2104 - echo "$as_me: failed program was:" >&54.2105 + $as_echo "$as_me: failed program was:" >&54.2106 sed 's/^/| /' conftest.$ac_ext >&54.2109 @@ -3119,8 +3284,8 @@4.2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.2111 ac_c_werror_flag=$ac_save_c_werror_flag4.2112 fi4.2113 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&54.2114 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }4.2115 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&54.2116 +$as_echo "$ac_cv_prog_cc_g" >&6; }4.2117 if test "$ac_test_CFLAGS" = set; then4.2118 CFLAGS=$ac_save_CFLAGS4.2119 elif test $ac_cv_prog_cc_g = yes; then4.2120 @@ -3136,10 +3301,10 @@4.2121 CFLAGS=4.2122 fi4.2123 fi4.2124 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&54.2125 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }4.2126 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&54.2127 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }4.2128 if test "${ac_cv_prog_cc_c89+set}" = set; then4.2129 - echo $ECHO_N "(cached) $ECHO_C" >&64.2130 + $as_echo_n "(cached) " >&64.2131 else4.2132 ac_cv_prog_cc_c89=no4.2133 ac_save_CC=$CC4.2134 @@ -3210,20 +3375,21 @@4.2135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2136 *) ac_try_echo=$ac_try;;4.2137 esac4.2138 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2139 - (eval "$ac_compile") 2>conftest.er14.2140 - ac_status=$?4.2141 - grep -v '^ *+' conftest.er1 >conftest.err4.2142 - rm -f conftest.er14.2143 - cat conftest.err >&54.2144 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2145 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2146 +$as_echo "$ac_try_echo") >&54.2147 + (eval "$ac_compile") 2>conftest.er14.2148 + ac_status=$?4.2149 + grep -v '^ *+' conftest.er1 >conftest.err4.2150 + rm -f conftest.er14.2151 + cat conftest.err >&54.2152 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2153 (exit $ac_status); } && {4.2154 test -z "$ac_c_werror_flag" ||4.2155 test ! -s conftest.err4.2156 } && test -s conftest.$ac_objext; then4.2157 ac_cv_prog_cc_c89=$ac_arg4.2158 else4.2159 - echo "$as_me: failed program was:" >&54.2160 + $as_echo "$as_me: failed program was:" >&54.2161 sed 's/^/| /' conftest.$ac_ext >&54.2164 @@ -3239,15 +3405,15 @@4.2165 # AC_CACHE_VAL4.2166 case "x$ac_cv_prog_cc_c89" in4.2167 x)4.2168 - { echo "$as_me:$LINENO: result: none needed" >&54.2169 -echo "${ECHO_T}none needed" >&6; } ;;4.2170 + { $as_echo "$as_me:$LINENO: result: none needed" >&54.2171 +$as_echo "none needed" >&6; } ;;4.2172 xno)4.2173 - { echo "$as_me:$LINENO: result: unsupported" >&54.2174 -echo "${ECHO_T}unsupported" >&6; } ;;4.2175 + { $as_echo "$as_me:$LINENO: result: unsupported" >&54.2176 +$as_echo "unsupported" >&6; } ;;4.2177 *)4.2178 CC="$CC $ac_cv_prog_cc_c89"4.2179 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&54.2180 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;4.2181 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&54.2182 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;4.2183 esac4.2186 @@ -3259,10 +3425,10 @@4.2188 depcc="$CC" am_compiler_list=4.2190 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&54.2191 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }4.2192 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&54.2193 +$as_echo_n "checking dependency style of $depcc... " >&6; }4.2194 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then4.2195 - echo $ECHO_N "(cached) $ECHO_C" >&64.2196 + $as_echo_n "(cached) " >&64.2197 else4.2198 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4.2199 # We make a subdir and do the tests there. Otherwise we can end up4.2200 @@ -3298,7 +3464,9 @@4.2201 : > sub/conftest.c4.2202 for i in 1 2 3 4 5 6; do4.2203 echo '#include "conftst'$i'.h"' >> sub/conftest.c4.2204 - : > sub/conftst$i.h4.2205 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with4.2206 + # Solaris 8's {/usr,}/bin/sh.4.2207 + touch sub/conftst$i.h4.2208 done4.2209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf4.2211 @@ -3326,9 +3494,14 @@4.2212 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&4.2213 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then4.2214 # icc doesn't choke on unknown options, it will just issue warnings4.2215 - # (even with -Werror). So we grep stderr for any message4.2216 - # that says an option was ignored.4.2217 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else4.2218 + # or remarks (even with -Werror). So we grep stderr for any message4.2219 + # that says an option was ignored or not supported.4.2220 + # When given -MP, icc 7.0 and 7.1 complain thusly:4.2221 + # icc: Command line warning: ignoring option '-M'; no argument required4.2222 + # The diagnosis changed in icc 8.0:4.2223 + # icc: Command line remark: option '-MP' not supported4.2224 + if (grep 'ignoring option' conftest.err ||4.2225 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else4.2226 am_cv_CC_dependencies_compiler_type=$depmode4.2227 break4.2228 fi4.2229 @@ -3342,8 +3515,8 @@4.2230 fi4.2232 fi4.2233 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&54.2234 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }4.2235 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&54.2236 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }4.2237 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type4.2240 @@ -3360,12 +3533,14 @@4.2244 -{ echo "$as_me:$LINENO: checking for library containing strerror" >&54.2245 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }4.2246 -if test "${ac_cv_search_strerror+set}" = set; then4.2247 - echo $ECHO_N "(cached) $ECHO_C" >&64.2248 -else4.2249 - ac_func_search_save_LIBS=$LIBS4.2250 +4.2251 + { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&54.2252 +$as_echo_n "checking for strerror in -lcposix... " >&6; }4.2253 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then4.2254 + $as_echo_n "(cached) " >&64.2255 +else4.2256 + ac_check_lib_save_LIBS=$LIBS4.2257 +LIBS="-lcposix $LIBS"4.2258 cat >conftest.$ac_ext <<_ACEOF4.2259 /* confdefs.h. */4.2260 _ACEOF4.2261 @@ -3388,60 +3563,47 @@4.2262 return 0;4.2263 }4.2264 _ACEOF4.2265 -for ac_lib in '' cposix; do4.2266 - if test -z "$ac_lib"; then4.2267 - ac_res="none required"4.2268 - else4.2269 - ac_res=-l$ac_lib4.2270 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"4.2271 - fi4.2272 - rm -f conftest.$ac_objext conftest$ac_exeext4.2273 -if { (ac_try="$ac_link"4.2274 -case "(($ac_try" in4.2275 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2276 - *) ac_try_echo=$ac_try;;4.2277 -esac4.2278 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2279 - (eval "$ac_link") 2>conftest.er14.2280 - ac_status=$?4.2281 - grep -v '^ *+' conftest.er1 >conftest.err4.2282 - rm -f conftest.er14.2283 - cat conftest.err >&54.2284 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2285 - (exit $ac_status); } && {4.2286 - test -z "$ac_c_werror_flag" ||4.2287 - test ! -s conftest.err4.2288 - } && test -s conftest$ac_exeext &&4.2289 - $as_test_x conftest$ac_exeext; then4.2290 - ac_cv_search_strerror=$ac_res4.2291 -else4.2292 - echo "$as_me: failed program was:" >&54.2293 -sed 's/^/| /' conftest.$ac_ext >&54.2294 -4.2295 -4.2296 -fi4.2297 -4.2298 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4.2299 - conftest$ac_exeext4.2300 - if test "${ac_cv_search_strerror+set}" = set; then4.2301 - break4.2302 -fi4.2303 -done4.2304 -if test "${ac_cv_search_strerror+set}" = set; then4.2305 - :4.2306 -else4.2307 - ac_cv_search_strerror=no4.2308 -fi4.2309 -rm conftest.$ac_ext4.2310 -LIBS=$ac_func_search_save_LIBS4.2311 -fi4.2312 -{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&54.2313 -echo "${ECHO_T}$ac_cv_search_strerror" >&6; }4.2314 -ac_res=$ac_cv_search_strerror4.2315 -if test "$ac_res" != no; then4.2316 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"4.2317 -4.2318 -fi4.2319 +rm -f conftest.$ac_objext conftest$ac_exeext4.2320 +if { (ac_try="$ac_link"4.2321 +case "(($ac_try" in4.2322 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2323 + *) ac_try_echo=$ac_try;;4.2324 +esac4.2325 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2326 +$as_echo "$ac_try_echo") >&54.2327 + (eval "$ac_link") 2>conftest.er14.2328 + ac_status=$?4.2329 + grep -v '^ *+' conftest.er1 >conftest.err4.2330 + rm -f conftest.er14.2331 + cat conftest.err >&54.2332 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2333 + (exit $ac_status); } && {4.2334 + test -z "$ac_c_werror_flag" ||4.2335 + test ! -s conftest.err4.2336 + } && test -s conftest$ac_exeext && {4.2337 + test "$cross_compiling" = yes ||4.2338 + $as_test_x conftest$ac_exeext4.2339 + }; then4.2340 + ac_cv_lib_cposix_strerror=yes4.2341 +else4.2342 + $as_echo "$as_me: failed program was:" >&54.2343 +sed 's/^/| /' conftest.$ac_ext >&54.2344 +4.2345 + ac_cv_lib_cposix_strerror=no4.2346 +fi4.2347 +4.2348 +rm -rf conftest.dSYM4.2349 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4.2350 + conftest$ac_exeext conftest.$ac_ext4.2351 +LIBS=$ac_check_lib_save_LIBS4.2352 +fi4.2353 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&54.2354 +$as_echo "$ac_cv_lib_cposix_strerror" >&6; }4.2355 +if test $ac_cv_lib_cposix_strerror = yes; then4.2356 + LIBS="$LIBS -lcposix"4.2357 +fi4.2358 +4.2359 +4.2361 ac_ext=c4.2362 ac_cpp='$CPP $CPPFLAGS'4.2363 @@ -3451,10 +3613,10 @@4.2364 if test -n "$ac_tool_prefix"; then4.2365 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.4.2366 set dummy ${ac_tool_prefix}gcc; ac_word=$24.2367 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2368 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2369 -if test "${ac_cv_prog_CC+set}" = set; then4.2370 - echo $ECHO_N "(cached) $ECHO_C" >&64.2371 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2372 +$as_echo_n "checking for $ac_word... " >&6; }4.2373 +if test "${ac_cv_prog_CC+set}" = set; then4.2374 + $as_echo_n "(cached) " >&64.2375 else4.2376 if test -n "$CC"; then4.2377 ac_cv_prog_CC="$CC" # Let the user override the test.4.2378 @@ -3467,22 +3629,22 @@4.2379 for ac_exec_ext in '' $ac_executable_extensions; do4.2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.2381 ac_cv_prog_CC="${ac_tool_prefix}gcc"4.2382 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2383 - break 24.2384 - fi4.2385 -done4.2386 -done4.2387 -IFS=$as_save_IFS4.2388 -4.2389 -fi4.2390 -fi4.2391 -CC=$ac_cv_prog_CC4.2392 -if test -n "$CC"; then4.2393 - { echo "$as_me:$LINENO: result: $CC" >&54.2394 -echo "${ECHO_T}$CC" >&6; }4.2395 -else4.2396 - { echo "$as_me:$LINENO: result: no" >&54.2397 -echo "${ECHO_T}no" >&6; }4.2398 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2399 + break 24.2400 + fi4.2401 +done4.2402 +done4.2403 +IFS=$as_save_IFS4.2404 +4.2405 +fi4.2406 +fi4.2407 +CC=$ac_cv_prog_CC4.2408 +if test -n "$CC"; then4.2409 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.2410 +$as_echo "$CC" >&6; }4.2411 +else4.2412 + { $as_echo "$as_me:$LINENO: result: no" >&54.2413 +$as_echo "no" >&6; }4.2414 fi4.2417 @@ -3491,10 +3653,10 @@4.2418 ac_ct_CC=$CC4.2419 # Extract the first word of "gcc", so it can be a program name with args.4.2420 set dummy gcc; ac_word=$24.2421 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2422 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2423 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2424 +$as_echo_n "checking for $ac_word... " >&6; }4.2425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.2426 - echo $ECHO_N "(cached) $ECHO_C" >&64.2427 + $as_echo_n "(cached) " >&64.2428 else4.2429 if test -n "$ac_ct_CC"; then4.2430 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.2431 @@ -3507,7 +3669,7 @@4.2432 for ac_exec_ext in '' $ac_executable_extensions; do4.2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.2434 ac_cv_prog_ac_ct_CC="gcc"4.2435 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2436 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2437 break 24.2438 fi4.2439 done4.2440 @@ -3518,11 +3680,11 @@4.2441 fi4.2442 ac_ct_CC=$ac_cv_prog_ac_ct_CC4.2443 if test -n "$ac_ct_CC"; then4.2444 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.2445 -echo "${ECHO_T}$ac_ct_CC" >&6; }4.2446 -else4.2447 - { echo "$as_me:$LINENO: result: no" >&54.2448 -echo "${ECHO_T}no" >&6; }4.2449 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.2450 +$as_echo "$ac_ct_CC" >&6; }4.2451 +else4.2452 + { $as_echo "$as_me:$LINENO: result: no" >&54.2453 +$as_echo "no" >&6; }4.2454 fi4.2456 if test "x$ac_ct_CC" = x; then4.2457 @@ -3530,10 +3692,10 @@4.2458 else4.2459 case $cross_compiling:$ac_tool_warned in4.2460 yes:)4.2461 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.2462 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.2463 whose name does not start with the host triplet. If you think this4.2464 configuration is useful to you, please write to autoconf@gnu.org." >&54.2465 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.2466 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.2467 whose name does not start with the host triplet. If you think this4.2468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.2469 ac_tool_warned=yes ;;4.2470 @@ -3548,10 +3710,10 @@4.2471 if test -n "$ac_tool_prefix"; then4.2472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.4.2473 set dummy ${ac_tool_prefix}cc; ac_word=$24.2474 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2475 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2476 -if test "${ac_cv_prog_CC+set}" = set; then4.2477 - echo $ECHO_N "(cached) $ECHO_C" >&64.2478 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2479 +$as_echo_n "checking for $ac_word... " >&6; }4.2480 +if test "${ac_cv_prog_CC+set}" = set; then4.2481 + $as_echo_n "(cached) " >&64.2482 else4.2483 if test -n "$CC"; then4.2484 ac_cv_prog_CC="$CC" # Let the user override the test.4.2485 @@ -3564,22 +3726,22 @@4.2486 for ac_exec_ext in '' $ac_executable_extensions; do4.2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.2488 ac_cv_prog_CC="${ac_tool_prefix}cc"4.2489 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2490 - break 24.2491 - fi4.2492 -done4.2493 -done4.2494 -IFS=$as_save_IFS4.2495 -4.2496 -fi4.2497 -fi4.2498 -CC=$ac_cv_prog_CC4.2499 -if test -n "$CC"; then4.2500 - { echo "$as_me:$LINENO: result: $CC" >&54.2501 -echo "${ECHO_T}$CC" >&6; }4.2502 -else4.2503 - { echo "$as_me:$LINENO: result: no" >&54.2504 -echo "${ECHO_T}no" >&6; }4.2505 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2506 + break 24.2507 + fi4.2508 +done4.2509 +done4.2510 +IFS=$as_save_IFS4.2511 +4.2512 +fi4.2513 +fi4.2514 +CC=$ac_cv_prog_CC4.2515 +if test -n "$CC"; then4.2516 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.2517 +$as_echo "$CC" >&6; }4.2518 +else4.2519 + { $as_echo "$as_me:$LINENO: result: no" >&54.2520 +$as_echo "no" >&6; }4.2521 fi4.2524 @@ -3588,10 +3750,10 @@4.2525 if test -z "$CC"; then4.2526 # Extract the first word of "cc", so it can be a program name with args.4.2527 set dummy cc; ac_word=$24.2528 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2529 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2530 -if test "${ac_cv_prog_CC+set}" = set; then4.2531 - echo $ECHO_N "(cached) $ECHO_C" >&64.2532 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2533 +$as_echo_n "checking for $ac_word... " >&6; }4.2534 +if test "${ac_cv_prog_CC+set}" = set; then4.2535 + $as_echo_n "(cached) " >&64.2536 else4.2537 if test -n "$CC"; then4.2538 ac_cv_prog_CC="$CC" # Let the user override the test.4.2539 @@ -3609,7 +3771,7 @@4.2540 continue4.2541 fi4.2542 ac_cv_prog_CC="cc"4.2543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2544 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2545 break 24.2546 fi4.2547 done4.2548 @@ -3632,11 +3794,11 @@4.2549 fi4.2550 CC=$ac_cv_prog_CC4.2551 if test -n "$CC"; then4.2552 - { echo "$as_me:$LINENO: result: $CC" >&54.2553 -echo "${ECHO_T}$CC" >&6; }4.2554 -else4.2555 - { echo "$as_me:$LINENO: result: no" >&54.2556 -echo "${ECHO_T}no" >&6; }4.2557 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.2558 +$as_echo "$CC" >&6; }4.2559 +else4.2560 + { $as_echo "$as_me:$LINENO: result: no" >&54.2561 +$as_echo "no" >&6; }4.2562 fi4.2565 @@ -3647,10 +3809,10 @@4.2566 do4.2567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4.2568 set dummy $ac_tool_prefix$ac_prog; ac_word=$24.2569 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2570 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2571 -if test "${ac_cv_prog_CC+set}" = set; then4.2572 - echo $ECHO_N "(cached) $ECHO_C" >&64.2573 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2574 +$as_echo_n "checking for $ac_word... " >&6; }4.2575 +if test "${ac_cv_prog_CC+set}" = set; then4.2576 + $as_echo_n "(cached) " >&64.2577 else4.2578 if test -n "$CC"; then4.2579 ac_cv_prog_CC="$CC" # Let the user override the test.4.2580 @@ -3663,22 +3825,22 @@4.2581 for ac_exec_ext in '' $ac_executable_extensions; do4.2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.2583 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"4.2584 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2585 - break 24.2586 - fi4.2587 -done4.2588 -done4.2589 -IFS=$as_save_IFS4.2590 -4.2591 -fi4.2592 -fi4.2593 -CC=$ac_cv_prog_CC4.2594 -if test -n "$CC"; then4.2595 - { echo "$as_me:$LINENO: result: $CC" >&54.2596 -echo "${ECHO_T}$CC" >&6; }4.2597 -else4.2598 - { echo "$as_me:$LINENO: result: no" >&54.2599 -echo "${ECHO_T}no" >&6; }4.2600 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2601 + break 24.2602 + fi4.2603 +done4.2604 +done4.2605 +IFS=$as_save_IFS4.2606 +4.2607 +fi4.2608 +fi4.2609 +CC=$ac_cv_prog_CC4.2610 +if test -n "$CC"; then4.2611 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.2612 +$as_echo "$CC" >&6; }4.2613 +else4.2614 + { $as_echo "$as_me:$LINENO: result: no" >&54.2615 +$as_echo "no" >&6; }4.2616 fi4.2619 @@ -3691,10 +3853,10 @@4.2620 do4.2621 # Extract the first word of "$ac_prog", so it can be a program name with args.4.2622 set dummy $ac_prog; ac_word=$24.2623 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.2624 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.2625 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.2626 +$as_echo_n "checking for $ac_word... " >&6; }4.2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.2628 - echo $ECHO_N "(cached) $ECHO_C" >&64.2629 + $as_echo_n "(cached) " >&64.2630 else4.2631 if test -n "$ac_ct_CC"; then4.2632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.2633 @@ -3707,7 +3869,7 @@4.2634 for ac_exec_ext in '' $ac_executable_extensions; do4.2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.2636 ac_cv_prog_ac_ct_CC="$ac_prog"4.2637 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2638 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.2639 break 24.2640 fi4.2641 done4.2642 @@ -3718,11 +3880,11 @@4.2643 fi4.2644 ac_ct_CC=$ac_cv_prog_ac_ct_CC4.2645 if test -n "$ac_ct_CC"; then4.2646 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.2647 -echo "${ECHO_T}$ac_ct_CC" >&6; }4.2648 -else4.2649 - { echo "$as_me:$LINENO: result: no" >&54.2650 -echo "${ECHO_T}no" >&6; }4.2651 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.2652 +$as_echo "$ac_ct_CC" >&6; }4.2653 +else4.2654 + { $as_echo "$as_me:$LINENO: result: no" >&54.2655 +$as_echo "no" >&6; }4.2656 fi4.2659 @@ -3734,10 +3896,10 @@4.2660 else4.2661 case $cross_compiling:$ac_tool_warned in4.2662 yes:)4.2663 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.2664 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.2665 whose name does not start with the host triplet. If you think this4.2666 configuration is useful to you, please write to autoconf@gnu.org." >&54.2667 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.2668 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.2669 whose name does not start with the host triplet. If you think this4.2670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.2671 ac_tool_warned=yes ;;4.2672 @@ -3749,50 +3911,54 @@4.2673 fi4.2676 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH4.2677 -See \`config.log' for more details." >&54.2678 -echo "$as_me: error: no acceptable C compiler found in \$PATH4.2679 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH4.2680 +See \`config.log' for more details." >&54.2681 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH4.2682 See \`config.log' for more details." >&2;}4.2683 { (exit 1); exit 1; }; }4.2685 # Provide some information about the compiler.4.2686 -echo "$as_me:$LINENO: checking for C compiler version" >&54.2687 -ac_compiler=`set X $ac_compile; echo $2`4.2688 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&54.2689 +set X $ac_compile4.2690 +ac_compiler=$24.2691 { (ac_try="$ac_compiler --version >&5"4.2692 case "(($ac_try" in4.2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2694 *) ac_try_echo=$ac_try;;4.2695 esac4.2696 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2697 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2698 +$as_echo "$ac_try_echo") >&54.2699 (eval "$ac_compiler --version >&5") 2>&54.2700 ac_status=$?4.2701 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2702 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2703 (exit $ac_status); }4.2704 { (ac_try="$ac_compiler -v >&5"4.2705 case "(($ac_try" in4.2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2707 *) ac_try_echo=$ac_try;;4.2708 esac4.2709 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2710 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2711 +$as_echo "$ac_try_echo") >&54.2712 (eval "$ac_compiler -v >&5") 2>&54.2713 ac_status=$?4.2714 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2715 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2716 (exit $ac_status); }4.2717 { (ac_try="$ac_compiler -V >&5"4.2718 case "(($ac_try" in4.2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2720 *) ac_try_echo=$ac_try;;4.2721 esac4.2722 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2723 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2724 +$as_echo "$ac_try_echo") >&54.2725 (eval "$ac_compiler -V >&5") 2>&54.2726 ac_status=$?4.2727 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2728 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2729 (exit $ac_status); }4.2731 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&54.2732 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }4.2733 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&54.2734 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }4.2735 if test "${ac_cv_c_compiler_gnu+set}" = set; then4.2736 - echo $ECHO_N "(cached) $ECHO_C" >&64.2737 + $as_echo_n "(cached) " >&64.2738 else4.2739 cat >conftest.$ac_ext <<_ACEOF4.2740 /* confdefs.h. */4.2741 @@ -3818,20 +3984,21 @@4.2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2743 *) ac_try_echo=$ac_try;;4.2744 esac4.2745 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2746 - (eval "$ac_compile") 2>conftest.er14.2747 - ac_status=$?4.2748 - grep -v '^ *+' conftest.er1 >conftest.err4.2749 - rm -f conftest.er14.2750 - cat conftest.err >&54.2751 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2752 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2753 +$as_echo "$ac_try_echo") >&54.2754 + (eval "$ac_compile") 2>conftest.er14.2755 + ac_status=$?4.2756 + grep -v '^ *+' conftest.er1 >conftest.err4.2757 + rm -f conftest.er14.2758 + cat conftest.err >&54.2759 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2760 (exit $ac_status); } && {4.2761 test -z "$ac_c_werror_flag" ||4.2762 test ! -s conftest.err4.2763 } && test -s conftest.$ac_objext; then4.2764 ac_compiler_gnu=yes4.2765 else4.2766 - echo "$as_me: failed program was:" >&54.2767 + $as_echo "$as_me: failed program was:" >&54.2768 sed 's/^/| /' conftest.$ac_ext >&54.2770 ac_compiler_gnu=no4.2771 @@ -3841,15 +4008,19 @@4.2772 ac_cv_c_compiler_gnu=$ac_compiler_gnu4.2774 fi4.2775 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&54.2776 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }4.2777 -GCC=`test $ac_compiler_gnu = yes && echo yes`4.2778 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&54.2779 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }4.2780 +if test $ac_compiler_gnu = yes; then4.2781 + GCC=yes4.2782 +else4.2783 + GCC=4.2784 +fi4.2785 ac_test_CFLAGS=${CFLAGS+set}4.2786 ac_save_CFLAGS=$CFLAGS4.2787 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&54.2788 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }4.2789 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&54.2790 +$as_echo_n "checking whether $CC accepts -g... " >&6; }4.2791 if test "${ac_cv_prog_cc_g+set}" = set; then4.2792 - echo $ECHO_N "(cached) $ECHO_C" >&64.2793 + $as_echo_n "(cached) " >&64.2794 else4.2795 ac_save_c_werror_flag=$ac_c_werror_flag4.2796 ac_c_werror_flag=yes4.2797 @@ -3876,20 +4047,21 @@4.2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2799 *) ac_try_echo=$ac_try;;4.2800 esac4.2801 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2802 - (eval "$ac_compile") 2>conftest.er14.2803 - ac_status=$?4.2804 - grep -v '^ *+' conftest.er1 >conftest.err4.2805 - rm -f conftest.er14.2806 - cat conftest.err >&54.2807 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2808 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2809 +$as_echo "$ac_try_echo") >&54.2810 + (eval "$ac_compile") 2>conftest.er14.2811 + ac_status=$?4.2812 + grep -v '^ *+' conftest.er1 >conftest.err4.2813 + rm -f conftest.er14.2814 + cat conftest.err >&54.2815 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2816 (exit $ac_status); } && {4.2817 test -z "$ac_c_werror_flag" ||4.2818 test ! -s conftest.err4.2819 } && test -s conftest.$ac_objext; then4.2820 ac_cv_prog_cc_g=yes4.2821 else4.2822 - echo "$as_me: failed program was:" >&54.2823 + $as_echo "$as_me: failed program was:" >&54.2824 sed 's/^/| /' conftest.$ac_ext >&54.2826 CFLAGS=""4.2827 @@ -3914,20 +4086,21 @@4.2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2829 *) ac_try_echo=$ac_try;;4.2830 esac4.2831 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2832 - (eval "$ac_compile") 2>conftest.er14.2833 - ac_status=$?4.2834 - grep -v '^ *+' conftest.er1 >conftest.err4.2835 - rm -f conftest.er14.2836 - cat conftest.err >&54.2837 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2838 - (exit $ac_status); } && {4.2839 - test -z "$ac_c_werror_flag" ||4.2840 - test ! -s conftest.err4.2841 - } && test -s conftest.$ac_objext; then4.2842 - :4.2843 -else4.2844 - echo "$as_me: failed program was:" >&54.2845 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2846 +$as_echo "$ac_try_echo") >&54.2847 + (eval "$ac_compile") 2>conftest.er14.2848 + ac_status=$?4.2849 + grep -v '^ *+' conftest.er1 >conftest.err4.2850 + rm -f conftest.er14.2851 + cat conftest.err >&54.2852 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2853 + (exit $ac_status); } && {4.2854 + test -z "$ac_c_werror_flag" ||4.2855 + test ! -s conftest.err4.2856 + } && test -s conftest.$ac_objext; then4.2857 + :4.2858 +else4.2859 + $as_echo "$as_me: failed program was:" >&54.2860 sed 's/^/| /' conftest.$ac_ext >&54.2862 ac_c_werror_flag=$ac_save_c_werror_flag4.2863 @@ -3953,20 +4126,21 @@4.2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2865 *) ac_try_echo=$ac_try;;4.2866 esac4.2867 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2868 - (eval "$ac_compile") 2>conftest.er14.2869 - ac_status=$?4.2870 - grep -v '^ *+' conftest.er1 >conftest.err4.2871 - rm -f conftest.er14.2872 - cat conftest.err >&54.2873 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2874 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2875 +$as_echo "$ac_try_echo") >&54.2876 + (eval "$ac_compile") 2>conftest.er14.2877 + ac_status=$?4.2878 + grep -v '^ *+' conftest.er1 >conftest.err4.2879 + rm -f conftest.er14.2880 + cat conftest.err >&54.2881 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2882 (exit $ac_status); } && {4.2883 test -z "$ac_c_werror_flag" ||4.2884 test ! -s conftest.err4.2885 } && test -s conftest.$ac_objext; then4.2886 ac_cv_prog_cc_g=yes4.2887 else4.2888 - echo "$as_me: failed program was:" >&54.2889 + $as_echo "$as_me: failed program was:" >&54.2890 sed 's/^/| /' conftest.$ac_ext >&54.2893 @@ -3981,8 +4155,8 @@4.2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.2895 ac_c_werror_flag=$ac_save_c_werror_flag4.2896 fi4.2897 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&54.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }4.2899 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&54.2900 +$as_echo "$ac_cv_prog_cc_g" >&6; }4.2901 if test "$ac_test_CFLAGS" = set; then4.2902 CFLAGS=$ac_save_CFLAGS4.2903 elif test $ac_cv_prog_cc_g = yes; then4.2904 @@ -3998,10 +4172,10 @@4.2905 CFLAGS=4.2906 fi4.2907 fi4.2908 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&54.2909 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }4.2910 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&54.2911 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }4.2912 if test "${ac_cv_prog_cc_c89+set}" = set; then4.2913 - echo $ECHO_N "(cached) $ECHO_C" >&64.2914 + $as_echo_n "(cached) " >&64.2915 else4.2916 ac_cv_prog_cc_c89=no4.2917 ac_save_CC=$CC4.2918 @@ -4072,20 +4246,21 @@4.2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.2920 *) ac_try_echo=$ac_try;;4.2921 esac4.2922 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.2923 - (eval "$ac_compile") 2>conftest.er14.2924 - ac_status=$?4.2925 - grep -v '^ *+' conftest.er1 >conftest.err4.2926 - rm -f conftest.er14.2927 - cat conftest.err >&54.2928 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.2929 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.2930 +$as_echo "$ac_try_echo") >&54.2931 + (eval "$ac_compile") 2>conftest.er14.2932 + ac_status=$?4.2933 + grep -v '^ *+' conftest.er1 >conftest.err4.2934 + rm -f conftest.er14.2935 + cat conftest.err >&54.2936 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.2937 (exit $ac_status); } && {4.2938 test -z "$ac_c_werror_flag" ||4.2939 test ! -s conftest.err4.2940 } && test -s conftest.$ac_objext; then4.2941 ac_cv_prog_cc_c89=$ac_arg4.2942 else4.2943 - echo "$as_me: failed program was:" >&54.2944 + $as_echo "$as_me: failed program was:" >&54.2945 sed 's/^/| /' conftest.$ac_ext >&54.2948 @@ -4101,15 +4276,15 @@4.2949 # AC_CACHE_VAL4.2950 case "x$ac_cv_prog_cc_c89" in4.2951 x)4.2952 - { echo "$as_me:$LINENO: result: none needed" >&54.2953 -echo "${ECHO_T}none needed" >&6; } ;;4.2954 + { $as_echo "$as_me:$LINENO: result: none needed" >&54.2955 +$as_echo "none needed" >&6; } ;;4.2956 xno)4.2957 - { echo "$as_me:$LINENO: result: unsupported" >&54.2958 -echo "${ECHO_T}unsupported" >&6; } ;;4.2959 + { $as_echo "$as_me:$LINENO: result: unsupported" >&54.2960 +$as_echo "unsupported" >&6; } ;;4.2961 *)4.2962 CC="$CC $ac_cv_prog_cc_c89"4.2963 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&54.2964 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;4.2965 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&54.2966 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;4.2967 esac4.2970 @@ -4121,10 +4296,10 @@4.2972 depcc="$CC" am_compiler_list=4.2974 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&54.2975 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }4.2976 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&54.2977 +$as_echo_n "checking dependency style of $depcc... " >&6; }4.2978 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then4.2979 - echo $ECHO_N "(cached) $ECHO_C" >&64.2980 + $as_echo_n "(cached) " >&64.2981 else4.2982 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4.2983 # We make a subdir and do the tests there. Otherwise we can end up4.2984 @@ -4160,7 +4335,9 @@4.2985 : > sub/conftest.c4.2986 for i in 1 2 3 4 5 6; do4.2987 echo '#include "conftst'$i'.h"' >> sub/conftest.c4.2988 - : > sub/conftst$i.h4.2989 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with4.2990 + # Solaris 8's {/usr,}/bin/sh.4.2991 + touch sub/conftst$i.h4.2992 done4.2993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf4.2995 @@ -4188,9 +4365,14 @@4.2996 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&4.2997 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then4.2998 # icc doesn't choke on unknown options, it will just issue warnings4.2999 - # (even with -Werror). So we grep stderr for any message4.3000 - # that says an option was ignored.4.3001 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else4.3002 + # or remarks (even with -Werror). So we grep stderr for any message4.3003 + # that says an option was ignored or not supported.4.3004 + # When given -MP, icc 7.0 and 7.1 complain thusly:4.3005 + # icc: Command line warning: ignoring option '-M'; no argument required4.3006 + # The diagnosis changed in icc 8.0:4.3007 + # icc: Command line remark: option '-MP' not supported4.3008 + if (grep 'ignoring option' conftest.err ||4.3009 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else4.3010 am_cv_CC_dependencies_compiler_type=$depmode4.3011 break4.3012 fi4.3013 @@ -4204,8 +4386,8 @@4.3014 fi4.3016 fi4.3017 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&54.3018 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }4.3019 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&54.3020 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }4.3021 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type4.3024 @@ -4221,27 +4403,581 @@4.3025 fi4.3028 -4.3029 -4.3030 -4.3031 -{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&54.3032 -echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }4.3033 -if test "${am_cv_prog_cc_stdc+set}" = set; then4.3034 - echo $ECHO_N "(cached) $ECHO_C" >&64.3035 -else4.3036 - am_cv_prog_cc_stdc=no4.3037 -ac_save_CC="$CC"4.3038 -# Don't try gcc -ansi; that turns off useful extensions and4.3039 -# breaks some systems' header files.4.3040 -# AIX -qlanglvl=ansi4.3041 -# Ultrix and OSF/1 -std14.3042 -# HP-UX 10.20 and later -Ae4.3043 -# HP-UX older versions -Aa -D_HPUX_SOURCE4.3044 -# SVR4 -Xc -D__EXTENSIONS__4.3045 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"4.3046 -do4.3047 - CC="$ac_save_CC $ac_arg"4.3048 - cat >conftest.$ac_ext <<_ACEOF4.3049 +ac_ext=c4.3050 +ac_cpp='$CPP $CPPFLAGS'4.3051 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'4.3052 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'4.3053 +ac_compiler_gnu=$ac_cv_c_compiler_gnu4.3054 +if test -n "$ac_tool_prefix"; then4.3055 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.4.3056 +set dummy ${ac_tool_prefix}gcc; ac_word=$24.3057 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3058 +$as_echo_n "checking for $ac_word... " >&6; }4.3059 +if test "${ac_cv_prog_CC+set}" = set; then4.3060 + $as_echo_n "(cached) " >&64.3061 +else4.3062 + if test -n "$CC"; then4.3063 + ac_cv_prog_CC="$CC" # Let the user override the test.4.3064 +else4.3065 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3066 +for as_dir in $PATH4.3067 +do4.3068 + IFS=$as_save_IFS4.3069 + test -z "$as_dir" && as_dir=.4.3070 + for ac_exec_ext in '' $ac_executable_extensions; do4.3071 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3072 + ac_cv_prog_CC="${ac_tool_prefix}gcc"4.3073 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3074 + break 24.3075 + fi4.3076 +done4.3077 +done4.3078 +IFS=$as_save_IFS4.3079 +4.3080 +fi4.3081 +fi4.3082 +CC=$ac_cv_prog_CC4.3083 +if test -n "$CC"; then4.3084 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.3085 +$as_echo "$CC" >&6; }4.3086 +else4.3087 + { $as_echo "$as_me:$LINENO: result: no" >&54.3088 +$as_echo "no" >&6; }4.3089 +fi4.3090 +4.3091 +4.3092 +fi4.3093 +if test -z "$ac_cv_prog_CC"; then4.3094 + ac_ct_CC=$CC4.3095 + # Extract the first word of "gcc", so it can be a program name with args.4.3096 +set dummy gcc; ac_word=$24.3097 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3098 +$as_echo_n "checking for $ac_word... " >&6; }4.3099 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.3100 + $as_echo_n "(cached) " >&64.3101 +else4.3102 + if test -n "$ac_ct_CC"; then4.3103 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.3104 +else4.3105 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3106 +for as_dir in $PATH4.3107 +do4.3108 + IFS=$as_save_IFS4.3109 + test -z "$as_dir" && as_dir=.4.3110 + for ac_exec_ext in '' $ac_executable_extensions; do4.3111 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3112 + ac_cv_prog_ac_ct_CC="gcc"4.3113 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3114 + break 24.3115 + fi4.3116 +done4.3117 +done4.3118 +IFS=$as_save_IFS4.3119 +4.3120 +fi4.3121 +fi4.3122 +ac_ct_CC=$ac_cv_prog_ac_ct_CC4.3123 +if test -n "$ac_ct_CC"; then4.3124 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.3125 +$as_echo "$ac_ct_CC" >&6; }4.3126 +else4.3127 + { $as_echo "$as_me:$LINENO: result: no" >&54.3128 +$as_echo "no" >&6; }4.3129 +fi4.3130 +4.3131 + if test "x$ac_ct_CC" = x; then4.3132 + CC=""4.3133 + else4.3134 + case $cross_compiling:$ac_tool_warned in4.3135 +yes:)4.3136 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.3137 +whose name does not start with the host triplet. If you think this4.3138 +configuration is useful to you, please write to autoconf@gnu.org." >&54.3139 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.3140 +whose name does not start with the host triplet. If you think this4.3141 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.3142 +ac_tool_warned=yes ;;4.3143 +esac4.3144 + CC=$ac_ct_CC4.3145 + fi4.3146 +else4.3147 + CC="$ac_cv_prog_CC"4.3148 +fi4.3149 +4.3150 +if test -z "$CC"; then4.3151 + if test -n "$ac_tool_prefix"; then4.3152 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.4.3153 +set dummy ${ac_tool_prefix}cc; ac_word=$24.3154 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3155 +$as_echo_n "checking for $ac_word... " >&6; }4.3156 +if test "${ac_cv_prog_CC+set}" = set; then4.3157 + $as_echo_n "(cached) " >&64.3158 +else4.3159 + if test -n "$CC"; then4.3160 + ac_cv_prog_CC="$CC" # Let the user override the test.4.3161 +else4.3162 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3163 +for as_dir in $PATH4.3164 +do4.3165 + IFS=$as_save_IFS4.3166 + test -z "$as_dir" && as_dir=.4.3167 + for ac_exec_ext in '' $ac_executable_extensions; do4.3168 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3169 + ac_cv_prog_CC="${ac_tool_prefix}cc"4.3170 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3171 + break 24.3172 + fi4.3173 +done4.3174 +done4.3175 +IFS=$as_save_IFS4.3176 +4.3177 +fi4.3178 +fi4.3179 +CC=$ac_cv_prog_CC4.3180 +if test -n "$CC"; then4.3181 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.3182 +$as_echo "$CC" >&6; }4.3183 +else4.3184 + { $as_echo "$as_me:$LINENO: result: no" >&54.3185 +$as_echo "no" >&6; }4.3186 +fi4.3187 +4.3188 +4.3189 + fi4.3190 +fi4.3191 +if test -z "$CC"; then4.3192 + # Extract the first word of "cc", so it can be a program name with args.4.3193 +set dummy cc; ac_word=$24.3194 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3195 +$as_echo_n "checking for $ac_word... " >&6; }4.3196 +if test "${ac_cv_prog_CC+set}" = set; then4.3197 + $as_echo_n "(cached) " >&64.3198 +else4.3199 + if test -n "$CC"; then4.3200 + ac_cv_prog_CC="$CC" # Let the user override the test.4.3201 +else4.3202 + ac_prog_rejected=no4.3203 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3204 +for as_dir in $PATH4.3205 +do4.3206 + IFS=$as_save_IFS4.3207 + test -z "$as_dir" && as_dir=.4.3208 + for ac_exec_ext in '' $ac_executable_extensions; do4.3209 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3210 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then4.3211 + ac_prog_rejected=yes4.3212 + continue4.3213 + fi4.3214 + ac_cv_prog_CC="cc"4.3215 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3216 + break 24.3217 + fi4.3218 +done4.3219 +done4.3220 +IFS=$as_save_IFS4.3221 +4.3222 +if test $ac_prog_rejected = yes; then4.3223 + # We found a bogon in the path, so make sure we never use it.4.3224 + set dummy $ac_cv_prog_CC4.3225 + shift4.3226 + if test $# != 0; then4.3227 + # We chose a different compiler from the bogus one.4.3228 + # However, it has the same basename, so the bogon will be chosen4.3229 + # first if we set CC to just the basename; use the full file name.4.3230 + shift4.3231 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"4.3232 + fi4.3233 +fi4.3234 +fi4.3235 +fi4.3236 +CC=$ac_cv_prog_CC4.3237 +if test -n "$CC"; then4.3238 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.3239 +$as_echo "$CC" >&6; }4.3240 +else4.3241 + { $as_echo "$as_me:$LINENO: result: no" >&54.3242 +$as_echo "no" >&6; }4.3243 +fi4.3244 +4.3245 +4.3246 +fi4.3247 +if test -z "$CC"; then4.3248 + if test -n "$ac_tool_prefix"; then4.3249 + for ac_prog in cl.exe4.3250 + do4.3251 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4.3252 +set dummy $ac_tool_prefix$ac_prog; ac_word=$24.3253 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3254 +$as_echo_n "checking for $ac_word... " >&6; }4.3255 +if test "${ac_cv_prog_CC+set}" = set; then4.3256 + $as_echo_n "(cached) " >&64.3257 +else4.3258 + if test -n "$CC"; then4.3259 + ac_cv_prog_CC="$CC" # Let the user override the test.4.3260 +else4.3261 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3262 +for as_dir in $PATH4.3263 +do4.3264 + IFS=$as_save_IFS4.3265 + test -z "$as_dir" && as_dir=.4.3266 + for ac_exec_ext in '' $ac_executable_extensions; do4.3267 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3268 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"4.3269 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3270 + break 24.3271 + fi4.3272 +done4.3273 +done4.3274 +IFS=$as_save_IFS4.3275 +4.3276 +fi4.3277 +fi4.3278 +CC=$ac_cv_prog_CC4.3279 +if test -n "$CC"; then4.3280 + { $as_echo "$as_me:$LINENO: result: $CC" >&54.3281 +$as_echo "$CC" >&6; }4.3282 +else4.3283 + { $as_echo "$as_me:$LINENO: result: no" >&54.3284 +$as_echo "no" >&6; }4.3285 +fi4.3286 +4.3287 +4.3288 + test -n "$CC" && break4.3289 + done4.3290 +fi4.3291 +if test -z "$CC"; then4.3292 + ac_ct_CC=$CC4.3293 + for ac_prog in cl.exe4.3294 +do4.3295 + # Extract the first word of "$ac_prog", so it can be a program name with args.4.3296 +set dummy $ac_prog; ac_word=$24.3297 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.3298 +$as_echo_n "checking for $ac_word... " >&6; }4.3299 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then4.3300 + $as_echo_n "(cached) " >&64.3301 +else4.3302 + if test -n "$ac_ct_CC"; then4.3303 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.4.3304 +else4.3305 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.3306 +for as_dir in $PATH4.3307 +do4.3308 + IFS=$as_save_IFS4.3309 + test -z "$as_dir" && as_dir=.4.3310 + for ac_exec_ext in '' $ac_executable_extensions; do4.3311 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.3312 + ac_cv_prog_ac_ct_CC="$ac_prog"4.3313 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.3314 + break 24.3315 + fi4.3316 +done4.3317 +done4.3318 +IFS=$as_save_IFS4.3319 +4.3320 +fi4.3321 +fi4.3322 +ac_ct_CC=$ac_cv_prog_ac_ct_CC4.3323 +if test -n "$ac_ct_CC"; then4.3324 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&54.3325 +$as_echo "$ac_ct_CC" >&6; }4.3326 +else4.3327 + { $as_echo "$as_me:$LINENO: result: no" >&54.3328 +$as_echo "no" >&6; }4.3329 +fi4.3330 +4.3331 +4.3332 + test -n "$ac_ct_CC" && break4.3333 +done4.3334 +4.3335 + if test "x$ac_ct_CC" = x; then4.3336 + CC=""4.3337 + else4.3338 + case $cross_compiling:$ac_tool_warned in4.3339 +yes:)4.3340 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.3341 +whose name does not start with the host triplet. If you think this4.3342 +configuration is useful to you, please write to autoconf@gnu.org." >&54.3343 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.3344 +whose name does not start with the host triplet. If you think this4.3345 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.3346 +ac_tool_warned=yes ;;4.3347 +esac4.3348 + CC=$ac_ct_CC4.3349 + fi4.3350 +fi4.3351 +4.3352 +fi4.3353 +4.3354 +4.3355 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH4.3356 +See \`config.log' for more details." >&54.3357 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH4.3358 +See \`config.log' for more details." >&2;}4.3359 + { (exit 1); exit 1; }; }4.3360 +4.3361 +# Provide some information about the compiler.4.3362 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&54.3363 +set X $ac_compile4.3364 +ac_compiler=$24.3365 +{ (ac_try="$ac_compiler --version >&5"4.3366 +case "(($ac_try" in4.3367 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3368 + *) ac_try_echo=$ac_try;;4.3369 +esac4.3370 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3371 +$as_echo "$ac_try_echo") >&54.3372 + (eval "$ac_compiler --version >&5") 2>&54.3373 + ac_status=$?4.3374 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3375 + (exit $ac_status); }4.3376 +{ (ac_try="$ac_compiler -v >&5"4.3377 +case "(($ac_try" in4.3378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3379 + *) ac_try_echo=$ac_try;;4.3380 +esac4.3381 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3382 +$as_echo "$ac_try_echo") >&54.3383 + (eval "$ac_compiler -v >&5") 2>&54.3384 + ac_status=$?4.3385 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3386 + (exit $ac_status); }4.3387 +{ (ac_try="$ac_compiler -V >&5"4.3388 +case "(($ac_try" in4.3389 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3390 + *) ac_try_echo=$ac_try;;4.3391 +esac4.3392 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3393 +$as_echo "$ac_try_echo") >&54.3394 + (eval "$ac_compiler -V >&5") 2>&54.3395 + ac_status=$?4.3396 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3397 + (exit $ac_status); }4.3398 +4.3399 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&54.3400 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }4.3401 +if test "${ac_cv_c_compiler_gnu+set}" = set; then4.3402 + $as_echo_n "(cached) " >&64.3403 +else4.3404 + cat >conftest.$ac_ext <<_ACEOF4.3405 +/* confdefs.h. */4.3406 +_ACEOF4.3407 +cat confdefs.h >>conftest.$ac_ext4.3408 +cat >>conftest.$ac_ext <<_ACEOF4.3409 +/* end confdefs.h. */4.3410 +4.3411 +int4.3412 +main ()4.3413 +{4.3414 +#ifndef __GNUC__4.3415 + choke me4.3416 +#endif4.3417 +4.3418 + ;4.3419 + return 0;4.3420 +}4.3421 +_ACEOF4.3422 +rm -f conftest.$ac_objext4.3423 +if { (ac_try="$ac_compile"4.3424 +case "(($ac_try" in4.3425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3426 + *) ac_try_echo=$ac_try;;4.3427 +esac4.3428 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3429 +$as_echo "$ac_try_echo") >&54.3430 + (eval "$ac_compile") 2>conftest.er14.3431 + ac_status=$?4.3432 + grep -v '^ *+' conftest.er1 >conftest.err4.3433 + rm -f conftest.er14.3434 + cat conftest.err >&54.3435 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3436 + (exit $ac_status); } && {4.3437 + test -z "$ac_c_werror_flag" ||4.3438 + test ! -s conftest.err4.3439 + } && test -s conftest.$ac_objext; then4.3440 + ac_compiler_gnu=yes4.3441 +else4.3442 + $as_echo "$as_me: failed program was:" >&54.3443 +sed 's/^/| /' conftest.$ac_ext >&54.3444 +4.3445 + ac_compiler_gnu=no4.3446 +fi4.3447 +4.3448 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.3449 +ac_cv_c_compiler_gnu=$ac_compiler_gnu4.3450 +4.3451 +fi4.3452 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&54.3453 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }4.3454 +if test $ac_compiler_gnu = yes; then4.3455 + GCC=yes4.3456 +else4.3457 + GCC=4.3458 +fi4.3459 +ac_test_CFLAGS=${CFLAGS+set}4.3460 +ac_save_CFLAGS=$CFLAGS4.3461 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&54.3462 +$as_echo_n "checking whether $CC accepts -g... " >&6; }4.3463 +if test "${ac_cv_prog_cc_g+set}" = set; then4.3464 + $as_echo_n "(cached) " >&64.3465 +else4.3466 + ac_save_c_werror_flag=$ac_c_werror_flag4.3467 + ac_c_werror_flag=yes4.3468 + ac_cv_prog_cc_g=no4.3469 + CFLAGS="-g"4.3470 + cat >conftest.$ac_ext <<_ACEOF4.3471 +/* confdefs.h. */4.3472 +_ACEOF4.3473 +cat confdefs.h >>conftest.$ac_ext4.3474 +cat >>conftest.$ac_ext <<_ACEOF4.3475 +/* end confdefs.h. */4.3476 +4.3477 +int4.3478 +main ()4.3479 +{4.3480 +4.3481 + ;4.3482 + return 0;4.3483 +}4.3484 +_ACEOF4.3485 +rm -f conftest.$ac_objext4.3486 +if { (ac_try="$ac_compile"4.3487 +case "(($ac_try" in4.3488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3489 + *) ac_try_echo=$ac_try;;4.3490 +esac4.3491 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3492 +$as_echo "$ac_try_echo") >&54.3493 + (eval "$ac_compile") 2>conftest.er14.3494 + ac_status=$?4.3495 + grep -v '^ *+' conftest.er1 >conftest.err4.3496 + rm -f conftest.er14.3497 + cat conftest.err >&54.3498 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3499 + (exit $ac_status); } && {4.3500 + test -z "$ac_c_werror_flag" ||4.3501 + test ! -s conftest.err4.3502 + } && test -s conftest.$ac_objext; then4.3503 + ac_cv_prog_cc_g=yes4.3504 +else4.3505 + $as_echo "$as_me: failed program was:" >&54.3506 +sed 's/^/| /' conftest.$ac_ext >&54.3507 +4.3508 + CFLAGS=""4.3509 + cat >conftest.$ac_ext <<_ACEOF4.3510 +/* confdefs.h. */4.3511 +_ACEOF4.3512 +cat confdefs.h >>conftest.$ac_ext4.3513 +cat >>conftest.$ac_ext <<_ACEOF4.3514 +/* end confdefs.h. */4.3515 +4.3516 +int4.3517 +main ()4.3518 +{4.3519 +4.3520 + ;4.3521 + return 0;4.3522 +}4.3523 +_ACEOF4.3524 +rm -f conftest.$ac_objext4.3525 +if { (ac_try="$ac_compile"4.3526 +case "(($ac_try" in4.3527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3528 + *) ac_try_echo=$ac_try;;4.3529 +esac4.3530 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3531 +$as_echo "$ac_try_echo") >&54.3532 + (eval "$ac_compile") 2>conftest.er14.3533 + ac_status=$?4.3534 + grep -v '^ *+' conftest.er1 >conftest.err4.3535 + rm -f conftest.er14.3536 + cat conftest.err >&54.3537 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3538 + (exit $ac_status); } && {4.3539 + test -z "$ac_c_werror_flag" ||4.3540 + test ! -s conftest.err4.3541 + } && test -s conftest.$ac_objext; then4.3542 + :4.3543 +else4.3544 + $as_echo "$as_me: failed program was:" >&54.3545 +sed 's/^/| /' conftest.$ac_ext >&54.3546 +4.3547 + ac_c_werror_flag=$ac_save_c_werror_flag4.3548 + CFLAGS="-g"4.3549 + cat >conftest.$ac_ext <<_ACEOF4.3550 +/* confdefs.h. */4.3551 +_ACEOF4.3552 +cat confdefs.h >>conftest.$ac_ext4.3553 +cat >>conftest.$ac_ext <<_ACEOF4.3554 +/* end confdefs.h. */4.3555 +4.3556 +int4.3557 +main ()4.3558 +{4.3559 +4.3560 + ;4.3561 + return 0;4.3562 +}4.3563 +_ACEOF4.3564 +rm -f conftest.$ac_objext4.3565 +if { (ac_try="$ac_compile"4.3566 +case "(($ac_try" in4.3567 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3568 + *) ac_try_echo=$ac_try;;4.3569 +esac4.3570 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3571 +$as_echo "$ac_try_echo") >&54.3572 + (eval "$ac_compile") 2>conftest.er14.3573 + ac_status=$?4.3574 + grep -v '^ *+' conftest.er1 >conftest.err4.3575 + rm -f conftest.er14.3576 + cat conftest.err >&54.3577 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3578 + (exit $ac_status); } && {4.3579 + test -z "$ac_c_werror_flag" ||4.3580 + test ! -s conftest.err4.3581 + } && test -s conftest.$ac_objext; then4.3582 + ac_cv_prog_cc_g=yes4.3583 +else4.3584 + $as_echo "$as_me: failed program was:" >&54.3585 +sed 's/^/| /' conftest.$ac_ext >&54.3586 +4.3587 +4.3588 +fi4.3589 +4.3590 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.3591 +fi4.3592 +4.3593 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.3594 +fi4.3595 +4.3596 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.3597 + ac_c_werror_flag=$ac_save_c_werror_flag4.3598 +fi4.3599 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&54.3600 +$as_echo "$ac_cv_prog_cc_g" >&6; }4.3601 +if test "$ac_test_CFLAGS" = set; then4.3602 + CFLAGS=$ac_save_CFLAGS4.3603 +elif test $ac_cv_prog_cc_g = yes; then4.3604 + if test "$GCC" = yes; then4.3605 + CFLAGS="-g -O2"4.3606 + else4.3607 + CFLAGS="-g"4.3608 + fi4.3609 +else4.3610 + if test "$GCC" = yes; then4.3611 + CFLAGS="-O2"4.3612 + else4.3613 + CFLAGS=4.3614 + fi4.3615 +fi4.3616 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&54.3617 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }4.3618 +if test "${ac_cv_prog_cc_c89+set}" = set; then4.3619 + $as_echo_n "(cached) " >&64.3620 +else4.3621 + ac_cv_prog_cc_c89=no4.3622 +ac_save_CC=$CC4.3623 +cat >conftest.$ac_ext <<_ACEOF4.3624 /* confdefs.h. */4.3625 _ACEOF4.3626 cat confdefs.h >>conftest.$ac_ext4.3627 @@ -4269,71 +5005,85 @@4.3628 va_end (v);4.3629 return s;4.3630 }4.3631 +4.3632 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has4.3633 + function prototypes and stuff, but not '\xHH' hex character constants.4.3634 + These don't provoke an error unfortunately, instead are silently treated4.3635 + as 'x'. The following induces an error, until -std is added to get4.3636 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an4.3637 + array size at least. It's necessary to write '\x00'==0 to get something4.3638 + that's true only with -std. */4.3639 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];4.3640 +4.3641 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters4.3642 + inside strings and character constants. */4.3643 +#define FOO(x) 'x'4.3644 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];4.3645 +4.3646 int test (int i, double x);4.3647 struct s1 {int (*f) (int a);};4.3648 struct s2 {int (*f) (double a);};4.3649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);4.3650 int argc;4.3651 char **argv;4.3652 -4.3653 -int4.3654 -main ()4.3655 -{4.3656 -4.3657 +int4.3658 +main ()4.3659 +{4.3660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];4.3661 -4.3662 - ;4.3663 - return 0;4.3664 -}4.3665 -_ACEOF4.3666 -rm -f conftest.$ac_objext4.3667 -if { (ac_try="$ac_compile"4.3668 -case "(($ac_try" in4.3669 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3670 - *) ac_try_echo=$ac_try;;4.3671 -esac4.3672 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.3673 - (eval "$ac_compile") 2>conftest.er14.3674 - ac_status=$?4.3675 - grep -v '^ *+' conftest.er1 >conftest.err4.3676 - rm -f conftest.er14.3677 - cat conftest.err >&54.3678 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.3679 - (exit $ac_status); } && {4.3680 - test -z "$ac_c_werror_flag" ||4.3681 - test ! -s conftest.err4.3682 - } && test -s conftest.$ac_objext; then4.3683 - am_cv_prog_cc_stdc="$ac_arg"; break4.3684 -else4.3685 - echo "$as_me: failed program was:" >&54.3686 -sed 's/^/| /' conftest.$ac_ext >&54.3687 -4.3688 -4.3689 -fi4.3690 -4.3691 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.3692 -done4.3693 -CC="$ac_save_CC"4.3694 -4.3695 -fi4.3696 -4.3697 -if test -z "$am_cv_prog_cc_stdc"; then4.3698 - { echo "$as_me:$LINENO: result: none needed" >&54.3699 -echo "${ECHO_T}none needed" >&6; }4.3700 -else4.3701 - { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&54.3702 -echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }4.3703 -fi4.3704 -case "x$am_cv_prog_cc_stdc" in4.3705 - x|xno) ;;4.3706 - *) CC="$CC $am_cv_prog_cc_stdc" ;;4.3707 -esac4.3708 -4.3709 -# By default we simply use the C compiler to build assembly code.4.3710 -4.3711 -: ${CCAS='$(CC)'}4.3712 -# Set ASFLAGS if not already set.4.3713 -: ${CCASFLAGS='$(CFLAGS)'}4.3714 + ;4.3715 + return 0;4.3716 +}4.3717 +_ACEOF4.3718 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \4.3719 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"4.3720 +do4.3721 + CC="$ac_save_CC $ac_arg"4.3722 + rm -f conftest.$ac_objext4.3723 +if { (ac_try="$ac_compile"4.3724 +case "(($ac_try" in4.3725 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3726 + *) ac_try_echo=$ac_try;;4.3727 +esac4.3728 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3729 +$as_echo "$ac_try_echo") >&54.3730 + (eval "$ac_compile") 2>conftest.er14.3731 + ac_status=$?4.3732 + grep -v '^ *+' conftest.er1 >conftest.err4.3733 + rm -f conftest.er14.3734 + cat conftest.err >&54.3735 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3736 + (exit $ac_status); } && {4.3737 + test -z "$ac_c_werror_flag" ||4.3738 + test ! -s conftest.err4.3739 + } && test -s conftest.$ac_objext; then4.3740 + ac_cv_prog_cc_c89=$ac_arg4.3741 +else4.3742 + $as_echo "$as_me: failed program was:" >&54.3743 +sed 's/^/| /' conftest.$ac_ext >&54.3744 +4.3745 +4.3746 +fi4.3747 +4.3748 +rm -f core conftest.err conftest.$ac_objext4.3749 + test "x$ac_cv_prog_cc_c89" != "xno" && break4.3750 +done4.3751 +rm -f conftest.$ac_ext4.3752 +CC=$ac_save_CC4.3753 +4.3754 +fi4.3755 +# AC_CACHE_VAL4.3756 +case "x$ac_cv_prog_cc_c89" in4.3757 + x)4.3758 + { $as_echo "$as_me:$LINENO: result: none needed" >&54.3759 +$as_echo "none needed" >&6; } ;;4.3760 + xno)4.3761 + { $as_echo "$as_me:$LINENO: result: unsupported" >&54.3762 +$as_echo "unsupported" >&6; } ;;4.3763 + *)4.3764 + CC="$CC $ac_cv_prog_cc_c89"4.3765 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&54.3766 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;4.3767 +esac4.3770 ac_ext=c4.3771 @@ -4341,15 +5091,140 @@4.3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'4.3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'4.3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu4.3775 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54.3776 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4.3777 +4.3778 +depcc="$CC" am_compiler_list=4.3779 +4.3780 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&54.3781 +$as_echo_n "checking dependency style of $depcc... " >&6; }4.3782 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then4.3783 + $as_echo_n "(cached) " >&64.3784 +else4.3785 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4.3786 + # We make a subdir and do the tests there. Otherwise we can end up4.3787 + # making bogus files that we don't know about and never remove. For4.3788 + # instance it was reported that on HP-UX the gcc test will end up4.3789 + # making a dummy file named `D' -- because `-MD' means `put the output4.3790 + # in D'.4.3791 + mkdir conftest.dir4.3792 + # Copy depcomp to subdir because otherwise we won't find it if we're4.3793 + # using a relative directory.4.3794 + cp "$am_depcomp" conftest.dir4.3795 + cd conftest.dir4.3796 + # We will build objects and dependencies in a subdirectory because4.3797 + # it helps to detect inapplicable dependency modes. For instance4.3798 + # both Tru64's cc and ICC support -MD to output dependencies as a4.3799 + # side effect of compilation, but ICC will put the dependencies in4.3800 + # the current directory while Tru64 will put them in the object4.3801 + # directory.4.3802 + mkdir sub4.3803 +4.3804 + am_cv_CC_dependencies_compiler_type=none4.3805 + if test "$am_compiler_list" = ""; then4.3806 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`4.3807 + fi4.3808 + for depmode in $am_compiler_list; do4.3809 + # Setup a source with many dependencies, because some compilers4.3810 + # like to wrap large dependency lists on column 80 (with \), and4.3811 + # we should not choose a depcomp mode which is confused by this.4.3812 + #4.3813 + # We need to recreate these files for each test, as the compiler may4.3814 + # overwrite some of them when testing with obscure command lines.4.3815 + # This happens at least with the AIX C compiler.4.3816 + : > sub/conftest.c4.3817 + for i in 1 2 3 4 5 6; do4.3818 + echo '#include "conftst'$i'.h"' >> sub/conftest.c4.3819 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with4.3820 + # Solaris 8's {/usr,}/bin/sh.4.3821 + touch sub/conftst$i.h4.3822 + done4.3823 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf4.3824 +4.3825 + case $depmode in4.3826 + nosideeffect)4.3827 + # after this tag, mechanisms are not by side-effect, so they'll4.3828 + # only be used when explicitly requested4.3829 + if test "x$enable_dependency_tracking" = xyes; then4.3830 + continue4.3831 + else4.3832 + break4.3833 + fi4.3834 + ;;4.3835 + none) break ;;4.3836 + esac4.3837 + # We check with `-c' and `-o' for the sake of the "dashmstdout"4.3838 + # mode. It turns out that the SunPro C++ compiler does not properly4.3839 + # handle `-M -o', and we need to detect this.4.3840 + if depmode=$depmode \4.3841 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \4.3842 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \4.3843 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \4.3844 + >/dev/null 2>conftest.err &&4.3845 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&4.3846 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&4.3847 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then4.3848 + # icc doesn't choke on unknown options, it will just issue warnings4.3849 + # or remarks (even with -Werror). So we grep stderr for any message4.3850 + # that says an option was ignored or not supported.4.3851 + # When given -MP, icc 7.0 and 7.1 complain thusly:4.3852 + # icc: Command line warning: ignoring option '-M'; no argument required4.3853 + # The diagnosis changed in icc 8.0:4.3854 + # icc: Command line remark: option '-MP' not supported4.3855 + if (grep 'ignoring option' conftest.err ||4.3856 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else4.3857 + am_cv_CC_dependencies_compiler_type=$depmode4.3858 + break4.3859 + fi4.3860 + fi4.3861 + done4.3862 +4.3863 + cd ..4.3864 + rm -rf conftest.dir4.3865 +else4.3866 + am_cv_CC_dependencies_compiler_type=none4.3867 +fi4.3868 +4.3869 +fi4.3870 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&54.3871 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }4.3872 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type4.3873 +4.3874 +4.3875 +4.3876 +if4.3877 + test "x$enable_dependency_tracking" != xno \4.3878 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then4.3879 + am__fastdepCC_TRUE=4.3880 + am__fastdepCC_FALSE='#'4.3881 +else4.3882 + am__fastdepCC_TRUE='#'4.3883 + am__fastdepCC_FALSE=4.3884 +fi4.3885 +4.3886 +4.3887 +4.3888 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc4.3889 +4.3890 +# By default we simply use the C compiler to build assembly code.4.3891 +4.3892 +test "${CCAS+set}" = set || CCAS=$CC4.3893 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS4.3894 +4.3895 +4.3896 +4.3897 +ac_ext=c4.3898 +ac_cpp='$CPP $CPPFLAGS'4.3899 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'4.3900 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'4.3901 +ac_compiler_gnu=$ac_cv_c_compiler_gnu4.3902 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54.3903 +$as_echo_n "checking how to run the C preprocessor... " >&6; }4.3904 # On Suns, sometimes $CPP names a directory.4.3905 if test -n "$CPP" && test -d "$CPP"; then4.3906 CPP=4.3907 fi4.3908 if test -z "$CPP"; then4.3909 if test "${ac_cv_prog_CPP+set}" = set; then4.3910 - echo $ECHO_N "(cached) $ECHO_C" >&64.3911 + $as_echo_n "(cached) " >&64.3912 else4.3913 # Double quotes because CPP needs to be expanded4.3914 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"4.3915 @@ -4381,20 +5256,21 @@4.3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3917 *) ac_try_echo=$ac_try;;4.3918 esac4.3919 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.3920 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3921 +$as_echo "$ac_try_echo") >&54.3922 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.3923 ac_status=$?4.3924 grep -v '^ *+' conftest.er1 >conftest.err4.3925 rm -f conftest.er14.3926 cat conftest.err >&54.3927 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.3928 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3929 (exit $ac_status); } >/dev/null && {4.3930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.3931 test ! -s conftest.err4.3932 }; then4.3933 :4.3934 else4.3935 - echo "$as_me: failed program was:" >&54.3936 + $as_echo "$as_me: failed program was:" >&54.3937 sed 's/^/| /' conftest.$ac_ext >&54.3939 # Broken: fails on valid input.4.3940 @@ -4418,13 +5294,14 @@4.3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3942 *) ac_try_echo=$ac_try;;4.3943 esac4.3944 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.3945 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3946 +$as_echo "$ac_try_echo") >&54.3947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.3948 ac_status=$?4.3949 grep -v '^ *+' conftest.er1 >conftest.err4.3950 rm -f conftest.er14.3951 cat conftest.err >&54.3952 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.3953 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3954 (exit $ac_status); } >/dev/null && {4.3955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.3956 test ! -s conftest.err4.3957 @@ -4432,7 +5309,7 @@4.3958 # Broken: success on invalid input.4.3959 continue4.3960 else4.3961 - echo "$as_me: failed program was:" >&54.3962 + $as_echo "$as_me: failed program was:" >&54.3963 sed 's/^/| /' conftest.$ac_ext >&54.3965 # Passes both tests.4.3966 @@ -4457,8 +5334,8 @@4.3967 else4.3968 ac_cv_prog_CPP=$CPP4.3969 fi4.3970 -{ echo "$as_me:$LINENO: result: $CPP" >&54.3971 -echo "${ECHO_T}$CPP" >&6; }4.3972 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&54.3973 +$as_echo "$CPP" >&6; }4.3974 ac_preproc_ok=false4.3975 for ac_c_preproc_warn_flag in '' yes4.3976 do4.3977 @@ -4486,20 +5363,21 @@4.3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.3979 *) ac_try_echo=$ac_try;;4.3980 esac4.3981 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.3982 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.3983 +$as_echo "$ac_try_echo") >&54.3984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.3985 ac_status=$?4.3986 grep -v '^ *+' conftest.er1 >conftest.err4.3987 rm -f conftest.er14.3988 cat conftest.err >&54.3989 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.3990 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.3991 (exit $ac_status); } >/dev/null && {4.3992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.3993 test ! -s conftest.err4.3994 }; then4.3995 :4.3996 else4.3997 - echo "$as_me: failed program was:" >&54.3998 + $as_echo "$as_me: failed program was:" >&54.3999 sed 's/^/| /' conftest.$ac_ext >&54.4001 # Broken: fails on valid input.4.4002 @@ -4523,13 +5401,14 @@4.4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4004 *) ac_try_echo=$ac_try;;4.4005 esac4.4006 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4007 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4008 +$as_echo "$ac_try_echo") >&54.4009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.4010 ac_status=$?4.4011 grep -v '^ *+' conftest.er1 >conftest.err4.4012 rm -f conftest.er14.4013 cat conftest.err >&54.4014 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4015 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4016 (exit $ac_status); } >/dev/null && {4.4017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.4018 test ! -s conftest.err4.4019 @@ -4537,7 +5416,7 @@4.4020 # Broken: success on invalid input.4.4021 continue4.4022 else4.4023 - echo "$as_me: failed program was:" >&54.4024 + $as_echo "$as_me: failed program was:" >&54.4025 sed 's/^/| /' conftest.$ac_ext >&54.4027 # Passes both tests.4.4028 @@ -4553,9 +5432,9 @@4.4029 if $ac_preproc_ok; then4.4030 :4.4031 else4.4032 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check4.4033 -See \`config.log' for more details." >&54.4034 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4.4035 + { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check4.4036 +See \`config.log' for more details." >&54.4037 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4.4038 See \`config.log' for more details." >&2;}4.4039 { (exit 1); exit 1; }; }4.4040 fi4.4041 @@ -4567,42 +5446,37 @@4.4042 ac_compiler_gnu=$ac_cv_c_compiler_gnu4.4045 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54.4046 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }4.4047 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54.4048 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }4.4049 if test "${ac_cv_path_GREP+set}" = set; then4.4050 - echo $ECHO_N "(cached) $ECHO_C" >&64.4051 -else4.4052 - # Extract the first word of "grep ggrep" to use in msg output4.4053 -if test -z "$GREP"; then4.4054 -set dummy grep ggrep; ac_prog_name=$24.4055 -if test "${ac_cv_path_GREP+set}" = set; then4.4056 - echo $ECHO_N "(cached) $ECHO_C" >&64.4057 -else4.4058 + $as_echo_n "(cached) " >&64.4059 +else4.4060 + if test -z "$GREP"; then4.4061 ac_path_GREP_found=false4.4062 -# Loop through the user's path and test for each of PROGNAME-LIST4.4063 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.4064 + # Loop through the user's path and test for each of PROGNAME-LIST4.4065 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.4066 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4.4067 do4.4068 IFS=$as_save_IFS4.4069 test -z "$as_dir" && as_dir=.4.4070 for ac_prog in grep ggrep; do4.4071 - for ac_exec_ext in '' $ac_executable_extensions; do4.4072 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4.4073 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4.4074 - # Check for GNU ac_path_GREP and select it if it is found.4.4075 + for ac_exec_ext in '' $ac_executable_extensions; do4.4076 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4.4077 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4.4078 +# Check for GNU ac_path_GREP and select it if it is found.4.4079 # Check for GNU $ac_path_GREP4.4080 case `"$ac_path_GREP" --version 2>&1` in4.4081 *GNU*)4.4082 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;4.4083 *)4.4084 ac_count=04.4085 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"4.4086 + $as_echo_n 0123456789 >"conftest.in"4.4087 while :4.4088 do4.4089 cat "conftest.in" "conftest.in" >"conftest.tmp"4.4090 mv "conftest.tmp" "conftest.in"4.4091 cp "conftest.in" "conftest.nl"4.4092 - echo 'GREP' >> "conftest.nl"4.4093 + $as_echo 'GREP' >> "conftest.nl"4.4094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4.4095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4.4096 ac_count=`expr $ac_count + 1`4.4097 @@ -4617,74 +5491,60 @@4.4098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4.4099 esac4.4101 -4.4102 - $ac_path_GREP_found && break 34.4103 - done4.4104 -done4.4105 -4.4106 -done4.4107 -IFS=$as_save_IFS4.4108 -4.4109 -4.4110 -fi4.4111 -4.4112 -GREP="$ac_cv_path_GREP"4.4113 -if test -z "$GREP"; then4.4114 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54.4115 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}4.4116 - { (exit 1); exit 1; }; }4.4117 -fi4.4118 -4.4119 + $ac_path_GREP_found && break 34.4120 + done4.4121 + done4.4122 +done4.4123 +IFS=$as_save_IFS4.4124 + if test -z "$ac_cv_path_GREP"; then4.4125 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54.4126 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}4.4127 + { (exit 1); exit 1; }; }4.4128 + fi4.4129 else4.4130 ac_cv_path_GREP=$GREP4.4131 fi4.4133 -4.4134 -fi4.4135 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&54.4136 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }4.4137 +fi4.4138 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&54.4139 +$as_echo "$ac_cv_path_GREP" >&6; }4.4140 GREP="$ac_cv_path_GREP"4.4143 -{ echo "$as_me:$LINENO: checking for egrep" >&54.4144 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4.4145 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&54.4146 +$as_echo_n "checking for egrep... " >&6; }4.4147 if test "${ac_cv_path_EGREP+set}" = set; then4.4148 - echo $ECHO_N "(cached) $ECHO_C" >&64.4149 + $as_echo_n "(cached) " >&64.4150 else4.4151 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14.4152 then ac_cv_path_EGREP="$GREP -E"4.4153 else4.4154 - # Extract the first word of "egrep" to use in msg output4.4155 -if test -z "$EGREP"; then4.4156 -set dummy egrep; ac_prog_name=$24.4157 -if test "${ac_cv_path_EGREP+set}" = set; then4.4158 - echo $ECHO_N "(cached) $ECHO_C" >&64.4159 -else4.4160 + if test -z "$EGREP"; then4.4161 ac_path_EGREP_found=false4.4162 -# Loop through the user's path and test for each of PROGNAME-LIST4.4163 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.4164 + # Loop through the user's path and test for each of PROGNAME-LIST4.4165 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4.4166 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4.4167 do4.4168 IFS=$as_save_IFS4.4169 test -z "$as_dir" && as_dir=.4.4170 for ac_prog in egrep; do4.4171 - for ac_exec_ext in '' $ac_executable_extensions; do4.4172 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4.4173 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4.4174 - # Check for GNU ac_path_EGREP and select it if it is found.4.4175 + for ac_exec_ext in '' $ac_executable_extensions; do4.4176 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4.4177 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4.4178 +# Check for GNU ac_path_EGREP and select it if it is found.4.4179 # Check for GNU $ac_path_EGREP4.4180 case `"$ac_path_EGREP" --version 2>&1` in4.4181 *GNU*)4.4182 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;4.4183 *)4.4184 ac_count=04.4185 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"4.4186 + $as_echo_n 0123456789 >"conftest.in"4.4187 while :4.4188 do4.4189 cat "conftest.in" "conftest.in" >"conftest.tmp"4.4190 mv "conftest.tmp" "conftest.in"4.4191 cp "conftest.in" "conftest.nl"4.4192 - echo 'EGREP' >> "conftest.nl"4.4193 + $as_echo 'EGREP' >> "conftest.nl"4.4194 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4.4195 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4.4196 ac_count=`expr $ac_count + 1`4.4197 @@ -4699,40 +5559,31 @@4.4198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4.4199 esac4.4201 -4.4202 - $ac_path_EGREP_found && break 34.4203 - done4.4204 -done4.4205 -4.4206 -done4.4207 -IFS=$as_save_IFS4.4208 -4.4209 -4.4210 -fi4.4211 -4.4212 -EGREP="$ac_cv_path_EGREP"4.4213 -if test -z "$EGREP"; then4.4214 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54.4215 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}4.4216 - { (exit 1); exit 1; }; }4.4217 -fi4.4218 -4.4219 + $ac_path_EGREP_found && break 34.4220 + done4.4221 + done4.4222 +done4.4223 +IFS=$as_save_IFS4.4224 + if test -z "$ac_cv_path_EGREP"; then4.4225 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54.4226 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}4.4227 + { (exit 1); exit 1; }; }4.4228 + fi4.4229 else4.4230 ac_cv_path_EGREP=$EGREP4.4231 fi4.4233 -4.4234 fi4.4235 fi4.4236 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54.4237 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4.4238 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54.4239 +$as_echo "$ac_cv_path_EGREP" >&6; }4.4240 EGREP="$ac_cv_path_EGREP"4.4243 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&54.4244 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }4.4245 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&54.4246 +$as_echo_n "checking for ANSI C header files... " >&6; }4.4247 if test "${ac_cv_header_stdc+set}" = set; then4.4248 - echo $ECHO_N "(cached) $ECHO_C" >&64.4249 + $as_echo_n "(cached) " >&64.4250 else4.4251 cat >conftest.$ac_ext <<_ACEOF4.4252 /* confdefs.h. */4.4253 @@ -4759,20 +5610,21 @@4.4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4255 *) ac_try_echo=$ac_try;;4.4256 esac4.4257 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4258 - (eval "$ac_compile") 2>conftest.er14.4259 - ac_status=$?4.4260 - grep -v '^ *+' conftest.er1 >conftest.err4.4261 - rm -f conftest.er14.4262 - cat conftest.err >&54.4263 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4264 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4265 +$as_echo "$ac_try_echo") >&54.4266 + (eval "$ac_compile") 2>conftest.er14.4267 + ac_status=$?4.4268 + grep -v '^ *+' conftest.er1 >conftest.err4.4269 + rm -f conftest.er14.4270 + cat conftest.err >&54.4271 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4272 (exit $ac_status); } && {4.4273 test -z "$ac_c_werror_flag" ||4.4274 test ! -s conftest.err4.4275 } && test -s conftest.$ac_objext; then4.4276 ac_cv_header_stdc=yes4.4277 else4.4278 - echo "$as_me: failed program was:" >&54.4279 + $as_echo "$as_me: failed program was:" >&54.4280 sed 's/^/| /' conftest.$ac_ext >&54.4282 ac_cv_header_stdc=no4.4283 @@ -4864,37 +5716,40 @@4.4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4285 *) ac_try_echo=$ac_try;;4.4286 esac4.4287 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4288 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4289 +$as_echo "$ac_try_echo") >&54.4290 (eval "$ac_link") 2>&54.4291 ac_status=$?4.4292 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4293 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'4.4295 { (case "(($ac_try" in4.4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4297 *) ac_try_echo=$ac_try;;4.4298 esac4.4299 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4300 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4301 +$as_echo "$ac_try_echo") >&54.4302 (eval "$ac_try") 2>&54.4303 ac_status=$?4.4304 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4305 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4306 (exit $ac_status); }; }; then4.4307 :4.4308 else4.4309 - echo "$as_me: program exited with status $ac_status" >&54.4310 -echo "$as_me: failed program was:" >&54.4311 + $as_echo "$as_me: program exited with status $ac_status" >&54.4312 +$as_echo "$as_me: failed program was:" >&54.4313 sed 's/^/| /' conftest.$ac_ext >&54.4315 ( exit $ac_status )4.4316 ac_cv_header_stdc=no4.4317 fi4.4318 +rm -rf conftest.dSYM4.4319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4.4320 fi4.4323 fi4.4324 fi4.4325 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&54.4326 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }4.4327 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&54.4328 +$as_echo "$ac_cv_header_stdc" >&6; }4.4329 if test $ac_cv_header_stdc = yes; then4.4331 cat >>confdefs.h <<\_ACEOF4.4332 @@ -4905,34 +5760,34 @@4.4334 # Make sure we can run config.sub.4.4335 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||4.4336 - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&54.4337 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}4.4338 - { (exit 1); exit 1; }; }4.4339 -4.4340 -{ echo "$as_me:$LINENO: checking build system type" >&54.4341 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }4.4342 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&54.4343 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}4.4344 + { (exit 1); exit 1; }; }4.4345 +4.4346 +{ $as_echo "$as_me:$LINENO: checking build system type" >&54.4347 +$as_echo_n "checking build system type... " >&6; }4.4348 if test "${ac_cv_build+set}" = set; then4.4349 - echo $ECHO_N "(cached) $ECHO_C" >&64.4350 + $as_echo_n "(cached) " >&64.4351 else4.4352 ac_build_alias=$build_alias4.4353 test "x$ac_build_alias" = x &&4.4354 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`4.4355 test "x$ac_build_alias" = x &&4.4356 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&54.4357 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4.4358 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&54.4359 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4.4360 { (exit 1); exit 1; }; }4.4361 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||4.4362 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&54.4363 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}4.4364 - { (exit 1); exit 1; }; }4.4365 -4.4366 -fi4.4367 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&54.4368 -echo "${ECHO_T}$ac_cv_build" >&6; }4.4369 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&54.4370 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}4.4371 + { (exit 1); exit 1; }; }4.4372 +4.4373 +fi4.4374 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&54.4375 +$as_echo "$ac_cv_build" >&6; }4.4376 case $ac_cv_build in4.4377 *-*-*) ;;4.4378 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&54.4379 -echo "$as_me: error: invalid value of canonical build" >&2;}4.4380 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&54.4381 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}4.4382 { (exit 1); exit 1; }; };;4.4383 esac4.4384 build=$ac_cv_build4.4385 @@ -4949,27 +5804,27 @@4.4386 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac4.4389 -{ echo "$as_me:$LINENO: checking host system type" >&54.4390 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }4.4391 +{ $as_echo "$as_me:$LINENO: checking host system type" >&54.4392 +$as_echo_n "checking host system type... " >&6; }4.4393 if test "${ac_cv_host+set}" = set; then4.4394 - echo $ECHO_N "(cached) $ECHO_C" >&64.4395 + $as_echo_n "(cached) " >&64.4396 else4.4397 if test "x$host_alias" = x; then4.4398 ac_cv_host=$ac_cv_build4.4399 else4.4400 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||4.4401 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&54.4402 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}4.4403 - { (exit 1); exit 1; }; }4.4404 -fi4.4405 -4.4406 -fi4.4407 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&54.4408 -echo "${ECHO_T}$ac_cv_host" >&6; }4.4409 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&54.4410 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}4.4411 + { (exit 1); exit 1; }; }4.4412 +fi4.4413 +4.4414 +fi4.4415 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&54.4416 +$as_echo "$ac_cv_host" >&6; }4.4417 case $ac_cv_host in4.4418 *-*-*) ;;4.4419 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&54.4420 -echo "$as_me: error: invalid value of canonical host" >&2;}4.4421 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&54.4422 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}4.4423 { (exit 1); exit 1; }; };;4.4424 esac4.4425 host=$ac_cv_host4.4426 @@ -5017,6 +5872,7 @@4.4427 fi4.4430 +4.4431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4.4434 @@ -5030,11 +5886,11 @@4.4435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4.4436 inttypes.h stdint.h unistd.h4.4437 do4.4438 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4.4439 -{ echo "$as_me:$LINENO: checking for $ac_header" >&54.4440 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4.4441 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`4.4442 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&54.4443 +$as_echo_n "checking for $ac_header... " >&6; }4.4444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4.4445 - echo $ECHO_N "(cached) $ECHO_C" >&64.4446 + $as_echo_n "(cached) " >&64.4447 else4.4448 cat >conftest.$ac_ext <<_ACEOF4.4449 /* confdefs.h. */4.4450 @@ -5052,20 +5908,21 @@4.4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4452 *) ac_try_echo=$ac_try;;4.4453 esac4.4454 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4455 - (eval "$ac_compile") 2>conftest.er14.4456 - ac_status=$?4.4457 - grep -v '^ *+' conftest.er1 >conftest.err4.4458 - rm -f conftest.er14.4459 - cat conftest.err >&54.4460 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4461 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4462 +$as_echo "$ac_try_echo") >&54.4463 + (eval "$ac_compile") 2>conftest.er14.4464 + ac_status=$?4.4465 + grep -v '^ *+' conftest.er1 >conftest.err4.4466 + rm -f conftest.er14.4467 + cat conftest.err >&54.4468 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4469 (exit $ac_status); } && {4.4470 test -z "$ac_c_werror_flag" ||4.4471 test ! -s conftest.err4.4472 } && test -s conftest.$ac_objext; then4.4473 eval "$as_ac_Header=yes"4.4474 else4.4475 - echo "$as_me: failed program was:" >&54.4476 + $as_echo "$as_me: failed program was:" >&54.4477 sed 's/^/| /' conftest.$ac_ext >&54.4479 eval "$as_ac_Header=no"4.4480 @@ -5073,110 +5930,33 @@4.4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.4483 fi4.4484 -ac_res=`eval echo '${'$as_ac_Header'}'`4.4485 - { echo "$as_me:$LINENO: result: $ac_res" >&54.4486 -echo "${ECHO_T}$ac_res" >&6; }4.4487 -if test `eval echo '${'$as_ac_Header'}'` = yes; then4.4488 +ac_res=`eval 'as_val=${'$as_ac_Header'}4.4489 + $as_echo "$as_val"'`4.4490 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&54.4491 +$as_echo "$ac_res" >&6; }4.4492 +if test `eval 'as_val=${'$as_ac_Header'}4.4493 + $as_echo "$as_val"'` = yes; then4.4494 cat >>confdefs.h <<_ACEOF4.4495 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 14.4496 -_ACEOF4.4497 -4.4498 -fi4.4499 -4.4500 -done4.4501 -4.4502 -4.4503 -if test "x$with_osmesa" != xno; then4.4504 -4.4505 -4.4506 -{ echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&54.4507 -echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }4.4508 -if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then4.4509 - echo $ECHO_N "(cached) $ECHO_C" >&64.4510 -else4.4511 - ac_check_lib_save_LIBS=$LIBS4.4512 -LIBS="-lOSMesa $LIBS"4.4513 -cat >conftest.$ac_ext <<_ACEOF4.4514 -/* confdefs.h. */4.4515 -_ACEOF4.4516 -cat confdefs.h >>conftest.$ac_ext4.4517 -cat >>conftest.$ac_ext <<_ACEOF4.4518 -/* end confdefs.h. */4.4519 -4.4520 -/* Override any GCC internal prototype to avoid an error.4.4521 - Use char because int might match the return type of a GCC4.4522 - builtin and then its argument prototype would still apply. */4.4523 -#ifdef __cplusplus4.4524 -extern "C"4.4525 -#endif4.4526 -char OSMesaCreateContext ();4.4527 -int4.4528 -main ()4.4529 -{4.4530 -return OSMesaCreateContext ();4.4531 - ;4.4532 - return 0;4.4533 -}4.4534 -_ACEOF4.4535 -rm -f conftest.$ac_objext conftest$ac_exeext4.4536 -if { (ac_try="$ac_link"4.4537 -case "(($ac_try" in4.4538 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4539 - *) ac_try_echo=$ac_try;;4.4540 -esac4.4541 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4542 - (eval "$ac_link") 2>conftest.er14.4543 - ac_status=$?4.4544 - grep -v '^ *+' conftest.er1 >conftest.err4.4545 - rm -f conftest.er14.4546 - cat conftest.err >&54.4547 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4548 - (exit $ac_status); } && {4.4549 - test -z "$ac_c_werror_flag" ||4.4550 - test ! -s conftest.err4.4551 - } && test -s conftest$ac_exeext &&4.4552 - $as_test_x conftest$ac_exeext; then4.4553 - ac_cv_lib_OSMesa_OSMesaCreateContext=yes4.4554 -else4.4555 - echo "$as_me: failed program was:" >&54.4556 -sed 's/^/| /' conftest.$ac_ext >&54.4557 -4.4558 - ac_cv_lib_OSMesa_OSMesaCreateContext=no4.4559 -fi4.4560 -4.4561 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4.4562 - conftest$ac_exeext conftest.$ac_ext4.4563 -LIBS=$ac_check_lib_save_LIBS4.4564 -fi4.4565 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&54.4566 -echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }4.4567 -if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then4.4568 - cat >>confdefs.h <<_ACEOF4.4569 -#define HAVE_LIBOSMESA 14.4570 -_ACEOF4.4571 -4.4572 - LIBS="-lOSMesa $LIBS"4.4573 -4.4574 -else4.4575 - { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found4.4576 -See \`config.log' for more details." >&54.4577 -echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found4.4578 -See \`config.log' for more details." >&2;}4.4579 - { (exit 1); exit 1; }; }4.4580 -fi4.4581 -4.4582 - if test "${ac_cv_header_GL_osmesa_h+set}" = set; then4.4583 - { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&54.4584 -echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }4.4585 -if test "${ac_cv_header_GL_osmesa_h+set}" = set; then4.4586 - echo $ECHO_N "(cached) $ECHO_C" >&64.4587 -fi4.4588 -{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&54.4589 -echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }4.4590 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 14.4591 +_ACEOF4.4592 +4.4593 +fi4.4594 +4.4595 +done4.4596 +4.4597 +4.4598 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then4.4599 + { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&54.4600 +$as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }4.4601 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then4.4602 + $as_echo_n "(cached) " >&64.4603 +fi4.4604 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&54.4605 +$as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }4.4606 else4.4607 # Is the header compilable?4.4608 -{ echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&54.4609 -echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }4.4610 +{ $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&54.4611 +$as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }4.4612 cat >conftest.$ac_ext <<_ACEOF4.4613 /* confdefs.h. */4.4614 _ACEOF4.4615 @@ -5184,270 +5964,123 @@4.4616 cat >>conftest.$ac_ext <<_ACEOF4.4617 /* end confdefs.h. */4.4618 $ac_includes_default4.4619 -#include <GL/osmesa.h>4.4620 -_ACEOF4.4621 -rm -f conftest.$ac_objext4.4622 -if { (ac_try="$ac_compile"4.4623 -case "(($ac_try" in4.4624 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4625 - *) ac_try_echo=$ac_try;;4.4626 -esac4.4627 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4628 - (eval "$ac_compile") 2>conftest.er14.4629 - ac_status=$?4.4630 - grep -v '^ *+' conftest.er1 >conftest.err4.4631 - rm -f conftest.er14.4632 - cat conftest.err >&54.4633 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4634 +#include <Cocoa/Cocoa.h>4.4635 +_ACEOF4.4636 +rm -f conftest.$ac_objext4.4637 +if { (ac_try="$ac_compile"4.4638 +case "(($ac_try" in4.4639 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4640 + *) ac_try_echo=$ac_try;;4.4641 +esac4.4642 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4643 +$as_echo "$ac_try_echo") >&54.4644 + (eval "$ac_compile") 2>conftest.er14.4645 + ac_status=$?4.4646 + grep -v '^ *+' conftest.er1 >conftest.err4.4647 + rm -f conftest.er14.4648 + cat conftest.err >&54.4649 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4650 (exit $ac_status); } && {4.4651 test -z "$ac_c_werror_flag" ||4.4652 test ! -s conftest.err4.4653 } && test -s conftest.$ac_objext; then4.4654 ac_header_compiler=yes4.4655 else4.4656 - echo "$as_me: failed program was:" >&54.4657 + $as_echo "$as_me: failed program was:" >&54.4658 sed 's/^/| /' conftest.$ac_ext >&54.4660 ac_header_compiler=no4.4661 fi4.4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.4664 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&54.4665 -echo "${ECHO_T}$ac_header_compiler" >&6; }4.4666 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&54.4667 +$as_echo "$ac_header_compiler" >&6; }4.4669 # Is the header present?4.4670 -{ echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&54.4671 -echo $ECHO_N "checking GL/osmesa.h presence... $ECHO_C" >&6; }4.4672 -cat >conftest.$ac_ext <<_ACEOF4.4673 -/* confdefs.h. */4.4674 -_ACEOF4.4675 -cat confdefs.h >>conftest.$ac_ext4.4676 -cat >>conftest.$ac_ext <<_ACEOF4.4677 -/* end confdefs.h. */4.4678 -#include <GL/osmesa.h>4.4679 +{ $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&54.4680 +$as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }4.4681 +cat >conftest.$ac_ext <<_ACEOF4.4682 +/* confdefs.h. */4.4683 +_ACEOF4.4684 +cat confdefs.h >>conftest.$ac_ext4.4685 +cat >>conftest.$ac_ext <<_ACEOF4.4686 +/* end confdefs.h. */4.4687 +#include <Cocoa/Cocoa.h>4.4688 _ACEOF4.4689 if { (ac_try="$ac_cpp conftest.$ac_ext"4.4690 case "(($ac_try" in4.4691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4692 *) ac_try_echo=$ac_try;;4.4693 esac4.4694 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4695 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.4696 +$as_echo "$ac_try_echo") >&54.4697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.4698 ac_status=$?4.4699 grep -v '^ *+' conftest.er1 >conftest.err4.4700 rm -f conftest.er14.4701 cat conftest.err >&54.4702 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4703 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.4704 (exit $ac_status); } >/dev/null && {4.4705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.4706 test ! -s conftest.err4.4707 }; then4.4708 ac_header_preproc=yes4.4709 else4.4710 - echo "$as_me: failed program was:" >&54.4711 + $as_echo "$as_me: failed program was:" >&54.4712 sed 's/^/| /' conftest.$ac_ext >&54.4714 ac_header_preproc=no4.4715 fi4.4717 rm -f conftest.err conftest.$ac_ext4.4718 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&54.4719 -echo "${ECHO_T}$ac_header_preproc" >&6; }4.4720 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&54.4721 +$as_echo "$ac_header_preproc" >&6; }4.4723 # So? What about this header?4.4724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in4.4725 yes:no: )4.4726 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&54.4727 -echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4.4728 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&54.4729 -echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}4.4730 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&54.4731 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4.4732 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&54.4733 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}4.4734 ac_header_preproc=yes4.4735 ;;4.4736 no:yes:* )4.4737 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&54.4738 -echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}4.4739 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&54.4740 -echo "$as_me: WARNING: GL/osmesa.h: check for missing prerequisite headers?" >&2;}4.4741 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&54.4742 -echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}4.4743 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&54.4744 -echo "$as_me: WARNING: GL/osmesa.h: section \"Present But Cannot Be Compiled\"" >&2;}4.4745 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&54.4746 -echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}4.4747 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&54.4748 -echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}4.4749 -4.4750 - ;;4.4751 -esac4.4752 -{ echo "$as_me:$LINENO: checking for GL/osmesa.h" >&54.4753 -echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }4.4754 -if test "${ac_cv_header_GL_osmesa_h+set}" = set; then4.4755 - echo $ECHO_N "(cached) $ECHO_C" >&64.4756 -else4.4757 - ac_cv_header_GL_osmesa_h=$ac_header_preproc4.4758 -fi4.4759 -{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&54.4760 -echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }4.4761 -4.4762 -fi4.4763 -if test $ac_cv_header_GL_osmesa_h = yes; then4.4764 - :4.4765 -else4.4766 - { { echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found4.4767 -See \`config.log' for more details." >&54.4768 -echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found4.4769 -See \`config.log' for more details." >&2;}4.4770 - { (exit 1); exit 1; }; }4.4771 -fi4.4772 -4.4773 -4.4774 -4.4775 -fi4.4776 -4.4777 -4.4778 -4.4779 -if test "x$with_osmesa" != xno; then4.4780 - OSMESA_DRIVER_TRUE=4.4781 - OSMESA_DRIVER_FALSE='#'4.4782 -else4.4783 - OSMESA_DRIVER_TRUE='#'4.4784 - OSMESA_DRIVER_FALSE=4.4785 -fi4.4786 -4.4787 -4.4788 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then4.4789 - { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&54.4790 -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }4.4791 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then4.4792 - echo $ECHO_N "(cached) $ECHO_C" >&64.4793 -fi4.4794 -{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&54.4795 -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }4.4796 -else4.4797 - # Is the header compilable?4.4798 -{ echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&54.4799 -echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }4.4800 -cat >conftest.$ac_ext <<_ACEOF4.4801 -/* confdefs.h. */4.4802 -_ACEOF4.4803 -cat confdefs.h >>conftest.$ac_ext4.4804 -cat >>conftest.$ac_ext <<_ACEOF4.4805 -/* end confdefs.h. */4.4806 -$ac_includes_default4.4807 -#include <Carbon/Carbon.h>4.4808 -_ACEOF4.4809 -rm -f conftest.$ac_objext4.4810 -if { (ac_try="$ac_compile"4.4811 -case "(($ac_try" in4.4812 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4813 - *) ac_try_echo=$ac_try;;4.4814 -esac4.4815 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4816 - (eval "$ac_compile") 2>conftest.er14.4817 - ac_status=$?4.4818 - grep -v '^ *+' conftest.er1 >conftest.err4.4819 - rm -f conftest.er14.4820 - cat conftest.err >&54.4821 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4822 - (exit $ac_status); } && {4.4823 - test -z "$ac_c_werror_flag" ||4.4824 - test ! -s conftest.err4.4825 - } && test -s conftest.$ac_objext; then4.4826 - ac_header_compiler=yes4.4827 -else4.4828 - echo "$as_me: failed program was:" >&54.4829 -sed 's/^/| /' conftest.$ac_ext >&54.4830 -4.4831 - ac_header_compiler=no4.4832 -fi4.4833 -4.4834 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4.4835 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&54.4836 -echo "${ECHO_T}$ac_header_compiler" >&6; }4.4837 -4.4838 -# Is the header present?4.4839 -{ echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&54.4840 -echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }4.4841 -cat >conftest.$ac_ext <<_ACEOF4.4842 -/* confdefs.h. */4.4843 -_ACEOF4.4844 -cat confdefs.h >>conftest.$ac_ext4.4845 -cat >>conftest.$ac_ext <<_ACEOF4.4846 -/* end confdefs.h. */4.4847 -#include <Carbon/Carbon.h>4.4848 -_ACEOF4.4849 -if { (ac_try="$ac_cpp conftest.$ac_ext"4.4850 -case "(($ac_try" in4.4851 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.4852 - *) ac_try_echo=$ac_try;;4.4853 -esac4.4854 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.4855 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er14.4856 - ac_status=$?4.4857 - grep -v '^ *+' conftest.er1 >conftest.err4.4858 - rm -f conftest.er14.4859 - cat conftest.err >&54.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.4861 - (exit $ac_status); } >/dev/null && {4.4862 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||4.4863 - test ! -s conftest.err4.4864 - }; then4.4865 - ac_header_preproc=yes4.4866 -else4.4867 - echo "$as_me: failed program was:" >&54.4868 -sed 's/^/| /' conftest.$ac_ext >&54.4869 -4.4870 - ac_header_preproc=no4.4871 -fi4.4872 -4.4873 -rm -f conftest.err conftest.$ac_ext4.4874 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&54.4875 -echo "${ECHO_T}$ac_header_preproc" >&6; }4.4876 -4.4877 -# So? What about this header?4.4878 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in4.4879 - yes:no: )4.4880 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&54.4881 -echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4.4882 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&54.4883 -echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}4.4884 - ac_header_preproc=yes4.4885 - ;;4.4886 - no:yes:* )4.4887 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&54.4888 -echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}4.4889 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&54.4890 -echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}4.4891 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&54.4892 -echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}4.4893 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&54.4894 -echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}4.4895 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&54.4896 -echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}4.4897 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&54.4898 -echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}4.4899 -4.4900 - ;;4.4901 -esac4.4902 -{ echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&54.4903 -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }4.4904 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then4.4905 - echo $ECHO_N "(cached) $ECHO_C" >&64.4906 -else4.4907 - ac_cv_header_Carbon_Carbon_h=$ac_header_preproc4.4908 -fi4.4909 -{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&54.4910 -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }4.4911 -4.4912 -fi4.4913 -if test $ac_cv_header_Carbon_Carbon_h = yes; then4.4914 -4.4915 - HAVE_CARBON='yes'4.4916 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&54.4917 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}4.4918 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&54.4919 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}4.4920 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&54.4921 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}4.4922 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&54.4923 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}4.4924 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&54.4925 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}4.4926 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&54.4927 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}4.4928 +4.4929 + ;;4.4930 +esac4.4931 +{ $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&54.4932 +$as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }4.4933 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then4.4934 + $as_echo_n "(cached) " >&64.4935 +else4.4936 + ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc4.4937 +fi4.4938 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&54.4939 +$as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }4.4940 +4.4941 +fi4.4942 +if test $ac_cv_header_Cocoa_Cocoa_h = yes; then4.4943 +4.4944 + HAVE_COCOA='yes'4.4945 APPLE_BUILD='yes'4.4946 - LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"4.4947 -4.4948 -cat >>confdefs.h <<\_ACEOF4.4949 -#define HAVE_CARBON 14.4950 + LIBS="$LIBS -framework AppKit"4.4951 + LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"4.4952 +4.4953 +cat >>confdefs.h <<\_ACEOF4.4954 +#define HAVE_COCOA 14.4955 _ACEOF4.4958 @@ -5461,15 +6094,25 @@4.4962 +if test "$HAVE_COCOA" = 'yes'; then4.4963 + GUI_CARBON_TRUE=4.4964 + GUI_CARBON_FALSE='#'4.4965 +else4.4966 + GUI_CARBON_TRUE='#'4.4967 + GUI_CARBON_FALSE=4.4968 +fi4.4969 +4.4970 +4.4971 +4.4973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then4.4974 if test -n "$ac_tool_prefix"; then4.4975 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.4.4976 set dummy ${ac_tool_prefix}pkg-config; ac_word=$24.4977 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.4978 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.4979 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.4980 +$as_echo_n "checking for $ac_word... " >&6; }4.4981 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then4.4982 - echo $ECHO_N "(cached) $ECHO_C" >&64.4983 + $as_echo_n "(cached) " >&64.4984 else4.4985 case $PKG_CONFIG in4.4986 [\\/]* | ?:[\\/]*)4.4987 @@ -5484,7 +6127,7 @@4.4988 for ac_exec_ext in '' $ac_executable_extensions; do4.4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.4990 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"4.4991 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.4992 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.4993 break 24.4994 fi4.4995 done4.4996 @@ -5496,11 +6139,11 @@4.4997 fi4.4998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG4.4999 if test -n "$PKG_CONFIG"; then4.5000 - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&54.5001 -echo "${ECHO_T}$PKG_CONFIG" >&6; }4.5002 -else4.5003 - { echo "$as_me:$LINENO: result: no" >&54.5004 -echo "${ECHO_T}no" >&6; }4.5005 + { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&54.5006 +$as_echo "$PKG_CONFIG" >&6; }4.5007 +else4.5008 + { $as_echo "$as_me:$LINENO: result: no" >&54.5009 +$as_echo "no" >&6; }4.5010 fi4.5013 @@ -5509,10 +6152,10 @@4.5014 ac_pt_PKG_CONFIG=$PKG_CONFIG4.5015 # Extract the first word of "pkg-config", so it can be a program name with args.4.5016 set dummy pkg-config; ac_word=$24.5017 -{ echo "$as_me:$LINENO: checking for $ac_word" >&54.5018 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4.5019 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54.5020 +$as_echo_n "checking for $ac_word... " >&6; }4.5021 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then4.5022 - echo $ECHO_N "(cached) $ECHO_C" >&64.5023 + $as_echo_n "(cached) " >&64.5024 else4.5025 case $ac_pt_PKG_CONFIG in4.5026 [\\/]* | ?:[\\/]*)4.5027 @@ -5527,7 +6170,7 @@4.5028 for ac_exec_ext in '' $ac_executable_extensions; do4.5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4.5030 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"4.5031 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.5032 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54.5033 break 24.5034 fi4.5035 done4.5036 @@ -5539,11 +6182,11 @@4.5037 fi4.5038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG4.5039 if test -n "$ac_pt_PKG_CONFIG"; then4.5040 - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&54.5041 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }4.5042 -else4.5043 - { echo "$as_me:$LINENO: result: no" >&54.5044 -echo "${ECHO_T}no" >&6; }4.5045 + { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&54.5046 +$as_echo "$ac_pt_PKG_CONFIG" >&6; }4.5047 +else4.5048 + { $as_echo "$as_me:$LINENO: result: no" >&54.5049 +$as_echo "no" >&6; }4.5050 fi4.5052 if test "x$ac_pt_PKG_CONFIG" = x; then4.5053 @@ -5551,10 +6194,10 @@4.5054 else4.5055 case $cross_compiling:$ac_tool_warned in4.5056 yes:)4.5057 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.5058 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools4.5059 whose name does not start with the host triplet. If you think this4.5060 configuration is useful to you, please write to autoconf@gnu.org." >&54.5061 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.5062 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools4.5063 whose name does not start with the host triplet. If you think this4.5064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}4.5065 ac_tool_warned=yes ;;4.5066 @@ -5568,32 +6211,32 @@4.5067 fi4.5068 if test -n "$PKG_CONFIG"; then4.5069 _pkg_min_version=0.9.04.5070 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&54.5071 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }4.5072 + { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&54.5073 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }4.5074 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then4.5075 - { echo "$as_me:$LINENO: result: yes" >&54.5076 -echo "${ECHO_T}yes" >&6; }4.5077 + { $as_echo "$as_me:$LINENO: result: yes" >&54.5078 +$as_echo "yes" >&6; }4.5079 else4.5080 - { echo "$as_me:$LINENO: result: no" >&54.5081 -echo "${ECHO_T}no" >&6; }4.5082 + { $as_echo "$as_me:$LINENO: result: no" >&54.5083 +$as_echo "no" >&6; }4.5084 PKG_CONFIG=""4.5085 fi4.5087 fi4.5089 pkg_failed=no4.5090 -{ echo "$as_me:$LINENO: checking for LIBPNG" >&54.5091 -echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }4.5092 +{ $as_echo "$as_me:$LINENO: checking for LIBPNG" >&54.5093 +$as_echo_n "checking for LIBPNG... " >&6; }4.5095 if test -n "$PKG_CONFIG"; then4.5096 if test -n "$LIBPNG_CFLAGS"; then4.5097 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"4.5098 else4.5099 if test -n "$PKG_CONFIG" && \4.5100 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&54.5101 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&54.5102 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&54.5103 ac_status=$?4.5104 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.5105 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.5106 (exit $ac_status); }; then4.5107 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`4.5108 else4.5109 @@ -5608,10 +6251,10 @@4.5110 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"4.5111 else4.5112 if test -n "$PKG_CONFIG" && \4.5113 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&54.5114 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&54.5115 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&54.5116 ac_status=$?4.5117 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.5118 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.5119 (exit $ac_status); }; then4.5120 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`4.5121 else4.5122 @@ -5639,7 +6282,7 @@4.5123 # Put the nasty error message in config.log where it belongs4.5124 echo "$LIBPNG_PKG_ERRORS" >&54.5126 - { { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:4.5127 + { { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:4.5129 $LIBPNG_PKG_ERRORS4.5131 @@ -5650,7 +6293,7 @@4.5132 and LIBPNG_LIBS to avoid the need to call pkg-config.4.5133 See the pkg-config man page for more details.4.5134 " >&54.5135 -echo "$as_me: error: Package requirements (libpng ) were not met:4.5136 +$as_echo "$as_me: error: Package requirements (libpng ) were not met:4.5138 $LIBPNG_PKG_ERRORS4.5140 @@ -5663,7 +6306,7 @@4.5141 " >&2;}4.5142 { (exit 1); exit 1; }; }4.5143 elif test $pkg_failed = untried; then4.5144 - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it4.5145 + { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it4.5146 is in your PATH or set the PKG_CONFIG environment variable to the full4.5147 path to pkg-config.4.5149 @@ -5671,9 +6314,9 @@4.5150 and LIBPNG_LIBS to avoid the need to call pkg-config.4.5151 See the pkg-config man page for more details.4.5153 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.4.5154 -See \`config.log' for more details." >&54.5155 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it4.5156 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.4.5157 +See \`config.log' for more details." >&54.5158 +$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it4.5159 is in your PATH or set the PKG_CONFIG environment variable to the full4.5160 path to pkg-config.4.5162 @@ -5681,22 +6324,22 @@4.5163 and LIBPNG_LIBS to avoid the need to call pkg-config.4.5164 See the pkg-config man page for more details.4.5166 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.4.5167 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.4.5168 See \`config.log' for more details." >&2;}4.5169 { (exit 1); exit 1; }; }4.5170 else4.5171 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS4.5172 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS4.5173 - { echo "$as_me:$LINENO: result: yes" >&54.5174 -echo "${ECHO_T}yes" >&6; }4.5175 + { $as_echo "$as_me:$LINENO: result: yes" >&54.5176 +$as_echo "yes" >&6; }4.5177 :4.5178 fi4.5181 -{ echo "$as_me:$LINENO: checking for uncompress in -lz" >&54.5182 -echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }4.5183 +{ $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&54.5184 +$as_echo_n "checking for uncompress in -lz... " >&6; }4.5185 if test "${ac_cv_lib_z_uncompress+set}" = set; then4.5186 - echo $ECHO_N "(cached) $ECHO_C" >&64.5187 + $as_echo_n "(cached) " >&64.5188 else4.5189 ac_check_lib_save_LIBS=$LIBS4.5190 LIBS="-lz $LIBS"4.5191 @@ -5728,32 +6371,36 @@4.5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4.5193 *) ac_try_echo=$ac_try;;4.5194 esac4.5195 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54.5196 - (eval "$ac_link") 2>conftest.er14.5197 - ac_status=$?4.5198 - grep -v '^ *+' conftest.er1 >conftest.err4.5199 - rm -f conftest.er14.5200 - cat conftest.err >&54.5201 - echo "$as_me:$LINENO: \$? = $ac_status" >&54.5202 - (exit $ac_status); } && {4.5203 - test -z "$ac_c_werror_flag" ||4.5204 - test ! -s conftest.err4.5205 - } && test -s conftest$ac_exeext &&4.5206 - $as_test_x conftest$ac_exeext; then4.5207 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4.5208 +$as_echo "$ac_try_echo") >&54.5209 + (eval "$ac_link") 2>conftest.er14.5210 + ac_status=$?4.5211 + grep -v '^ *+' conftest.er1 >conftest.err4.5212 + rm -f conftest.er14.5213 + cat conftest.err >&54.5214 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54.5215 + (exit $ac_status); } && {4.5216 + test -z "$ac_c_werror_flag" ||4.5217 + test ! -s conftest.err4.5218 + } && test -s conftest$ac_exeext && {4.5219 + test "$cross_compiling" = yes ||4.5220 + $as_test_x conftest$ac_exeext4.5221 + }; then4.5222 ac_cv_lib_z_uncompress=yes4.5223 else4.5224 - echo "$as_me: failed program was:" >&54.5225 + $as_echo "$as_me: failed program was:" >&54.5226 sed 's/^/| /' conftest.$ac_ext >&54.5228 ac_cv_lib_z_uncompress=no4.5229 fi4.5231 +rm -rf conftest.dSYM4.5232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4.5233 conftest$ac_exeext conftest.$ac_ext4.5234 LIBS=$ac_check_lib_save_LIBS4.5235 fi4.5236 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&54.5237 -echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }4.5238 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&54.5239 +$as_echo "$ac_cv_lib_z_uncompress" >&6; }4.5240 if test $ac_cv_lib_z_uncompress = yes; then4.5241 cat >>confdefs.h <<_ACEOF4.5242 #define HAVE_LIBZ 14.5243 @@ -5768,502 +6415,21 @@4.5244 fi4.5247 -if test "$APPLE_BUILD" != 'yes'; then4.5248 -if test "x$with_osmesa" == "xno"; then4.5249 -4.5250 -{ echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&54.5251 -echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }4.5252 -if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then4.5253 - echo $ECHO_N "(cached) $ECHO_C" >&64.5254 -else4.5255 - ac_check_lib_save_LIBS=$LIBS4.5256 -LIBS="-lGL $LIBS"4.5257 -cat >conftest.$ac_ext <<_ACEOF4.5258 -/* confdefs.h. */4.5259 -_ACEOF4.5260 -cat confdefs.h >>conftest.$ac_ext4.5261 -cat >>conftest.$ac_ext <<_ACEOF4.5262 -/* end confdefs.h. */4.5263 -4.5264 -/* Override any GCC internal prototype to avoid an error.4.5265 - Use char because int might match the return type of a GCC4.5266 - builtin and then its argument prototype would still apply. */4.5267 -#ifdef __cplusplus4.5268 -extern "C"4.5269 -#endif4.5270 -char glXQueryVersion ();4.5271 -int4.5272 -main ()4.5273 -{4.5274 -return glXQueryVersion ();4.5275 - ;4.5276 - return 0;4.5277 -}