Search
lxdream.org :: lxdream :: r658:f5926310bfbe
lxdream 0.9.1
released Jun 29
Download Now
changeset658:f5926310bfbe
parent657:c4143facbfcb
child659:6b1dff1575b3
authornkeynes
dateWed 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
Makefile.in
aclocal.m4
config.h.in
configure
configure.in
src/Makefile.am
src/Makefile.in
src/drivers/video_gtk.c
src/gtkui/gtkui.c
src/gtkui/main_win.c
src/gtkui/path_dlg.c
1.1 --- a/Makefile.in Wed Apr 16 10:12:12 2008 +0000
1.2 +++ b/Makefile.in Wed Apr 16 12:43:52 2008 +0000
1.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.7
1.8 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
1.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 Foundation
1.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.17
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)" && cd
1.29 INSTALL = @INSTALL@
1.30 install_sh_DATA = $(install_sh) -c -m 644
1.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 mkinstalldirs
1.42 +subdir = .
1.43 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1.44 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
1.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.lineno
1.49 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1.50 +CONFIG_HEADER = config.h
1.51 +CONFIG_CLEAN_FILES = test/Makefile
1.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-recursive
1.60 +ETAGS = etags
1.61 +CTAGS = ctags
1.62 +DIST_SUBDIRS = src po test
1.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.gz
1.71 +GZIP_ENV = --best
1.72 +distuninstallcheck_listfiles = find . -type f -print
1.73 +distcleancheck_listfiles = find . -type f -print
1.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 = test
1.122 SUBDIRS = src po $(TEST_SUBDIR)
1.123 -
1.124 EXTRA_DIST = autogen.sh
1.125 -subdir = .
1.126 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1.127 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1.128 -CONFIG_HEADER = config.h
1.129 -CONFIG_CLEAN_FILES = test/Makefile
1.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-recursive
1.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 mkinstalldirs
1.141 -DIST_SUBDIRS = src po test
1.142 all: config.h
1.143 $(MAKE) $(AM_MAKEFLAGS) all-recursive
1.144
1.145 .SUFFIXES:
1.146 -
1.147 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
1.148 - configure.lineno
1.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 Makefile
1.165 -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
1.166 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
1.167 +.PRECIOUS: Makefile
1.168 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1.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.177
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 --recheck
1.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.in
1.187 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1.188 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1.189
1.190 config.h: stamp-h1
1.191 @@ -234,10 +275,10 @@
1.192 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
1.193 @rm -f stamp-h1
1.194 cd $(top_builddir) && $(SHELL) ./config.status config.h
1.195 -
1.196 -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
1.197 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
1.198 cd $(top_srcdir) && $(AUTOHEADER)
1.199 - touch $(srcdir)/config.h.in
1.200 + rm -f stamp-h1
1.201 + touch $@
1.202
1.203 distclean-hdr:
1.204 -rm -f config.h stamp-h1
1.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.230
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 done
1.256
1.257 -ETAGS = etags
1.258 -ETAGSFLAGS =
1.259 -
1.260 -CTAGS = ctags
1.261 -CTAGSFLAGS =
1.262 -
1.263 -tags: TAGS
1.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 $$unique
1.272 +tags: TAGS
1.273
1.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 $$unique
1.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 + fi
1.306 ctags: CTAGS
1.307 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
1.308 $(TAGS_FILES) $(LISP)
1.309 @@ -368,24 +417,11 @@
1.310
1.311 distclean-tags:
1.312 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1.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 = --best
1.324 -distuninstallcheck_listfiles = find . -type f -print
1.325 -distcleancheck_listfiles = find . -type f -print
1.326
1.327 distdir: $(DISTFILES)
1.328 $(am__remove_distdir)
1.329 mkdir $(distdir)
1.330 - $(mkinstalldirs) $(distdir)/po $(distdir)/test
1.331 + $(mkdir_p) $(distdir)/po $(distdir)/test
1.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 done
1.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: distdir
1.368 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1.369 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1.370 + $(am__remove_distdir)
1.371 +
1.372 +dist-bzip2: distdir
1.373 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1.374 + $(am__remove_distdir)
1.375 +
1.376 +dist-tarZ: distdir
1.377 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1.378 + $(am__remove_distdir)
1.379 +
1.380 +dist-shar: distdir
1.381 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1.382 + $(am__remove_distdir)
1.383 +
1.384 +dist-zip: distdir
1.385 + -rm -f $(distdir).zip
1.386 + zip -rq $(distdir).zip $(distdir)
1.387 $(am__remove_distdir)
1.388
1.389 dist dist-all: distdir
1.390 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1.391 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1.392 $(am__remove_distdir)
1.393
1.394 # This target untars the dist file and tries a VPATH configuration. Then
1.395 # it guarantees that the distribution is self-contained by making another
1.396 # tarfile.
1.397 distcheck: dist
1.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 + esac
1.412 chmod -R a-w $(distdir); chmod a+w $(distdir)
1.413 mkdir $(distdir)/_build
1.414 mkdir $(distdir)/_inst
1.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) distcleancheck
1.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.h
1.443 installdirs: installdirs-recursive
1.444 installdirs-am:
1.445 -
1.446 install: install-recursive
1.447 install-exec: install-exec-recursive
1.448 install-data: install-data-recursive
1.449 @@ -522,7 +587,7 @@
1.450 clean-generic:
1.451
1.452 distclean-generic:
1.453 - -rm -f $(CONFIG_CLEAN_FILES)
1.454 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1.455
1.456 maintainer-clean-generic:
1.457 @echo "This command is intended for maintainers to use"
1.458 @@ -540,6 +605,8 @@
1.459
1.460 dvi-am:
1.461
1.462 +html: html-recursive
1.463 +
1.464 info: info-recursive
1.465
1.466 info-am:
1.467 @@ -576,22 +643,20 @@
1.468
1.469 uninstall-info: uninstall-info-recursive
1.470
1.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-recursive
1.498 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
1.499 + uninstall uninstall-am uninstall-info-am
1.500
1.501
1.502 install-data-local:
2.1 --- a/aclocal.m4 Wed Apr 16 10:12:12 2008 +0000
2.2 +++ b/aclocal.m4 Wed Apr 16 12:43:52 2008 +0000
2.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.6
2.7 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
2.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 Foundation
2.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 A
2.16 # PARTICULAR PURPOSE.
2.17
2.18 -# Do all the work for Automake. -*- Autoconf -*-
2.19 -
2.20 -# This macro actually does too much some checks are only needed if
2.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, 2003
2.24 -# Free Software Foundation, Inc.
2.25 -
2.26 -# This program is free software; you can redistribute it and/or modify
2.27 -# it under the terms of the GNU General Public License as published by
2.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 of
2.33 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.34 -# GNU General Public License for more details.
2.35 -
2.36 -# You should have received a copy of the GNU General Public License
2.37 -# along with this program; if not, write to the Free Software
2.38 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.39 -# 02111-1307, USA.
2.40 -
2.41 -# serial 10
2.42 -
2.43 -AC_PREREQ([2.54])
2.44 -
2.45 -# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
2.46 -# the ones we care about.
2.47 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
2.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 style
2.53 -# call (pre autoconf-2.50), which is being phased out. PACKAGE
2.54 -# and VERSION should now be passed to AC_INIT and removed from
2.55 -# the call to AM_INIT_AUTOMAKE.
2.56 -# We support both call styles for the transition. After
2.57 -# the next Automake release, Autoconf can make the AC_INIT
2.58 -# arguments mandatory, and then we can depend on a new Autoconf
2.59 -# release and drop the old call support.
2.60 -AC_DEFUN([AM_INIT_AUTOMAKE],
2.61 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
2.62 - AC_REQUIRE([AC_PROG_INSTALL])dnl
2.63 -# test to see if srcdir already configured
2.64 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
2.65 - test -f $srcdir/config.status; then
2.66 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2.67 -fi
2.68 -
2.69 -# test whether we have cygpath
2.70 -if test -z "$CYGPATH_W"; then
2.71 - if (cygpath --version) >/dev/null 2>/dev/null; then
2.72 - CYGPATH_W='cygpath -w'
2.73 - else
2.74 - CYGPATH_W=echo
2.75 - fi
2.76 -fi
2.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])])dnl
2.83 - AC_SUBST([PACKAGE], [$1])dnl
2.84 - AC_SUBST([VERSION], [$2])],
2.85 -[_AM_SET_OPTIONS([$1])dnl
2.86 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
2.87 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
2.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])])dnl
2.92 -
2.93 -# Some tools Automake needs.
2.94 -AC_REQUIRE([AM_SANITY_CHECK])dnl
2.95 -AC_REQUIRE([AC_ARG_PROGRAM])dnl
2.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_SH
2.103 -AM_PROG_INSTALL_STRIP
2.104 -# We need awk for the "check" target. The system "awk" is bad on
2.105 -# some platforms.
2.106 -AC_REQUIRE([AC_PROG_AWK])dnl
2.107 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl
2.108 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2.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)])])dnl
2.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)])])dnl
2.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 header
2.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 the
2.128 -# loop where config.status creates the headers, so we can generate
2.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=1
2.133 -for _am_header in $config_headers :; do
2.134 - case $_am_header in
2.135 - $1 | $1:* )
2.136 - break ;;
2.137 - * )
2.138 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2.139 - esac
2.140 -done
2.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 modify
2.146 -# it under the terms of the GNU General Public License as published by
2.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 of
2.152 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.153 -# GNU General Public License for more details.
2.154 -
2.155 -# You should have received a copy of the GNU General Public License
2.156 -# along with this program; if not, write to the Free Software
2.157 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.158 -
2.159 -# AM_AUTOMAKE_VERSION(VERSION)
2.160 -# ----------------------------
2.161 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
2.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_VERSION
2.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 modify
2.177 -# it under the terms of the GNU General Public License as published by
2.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 of
2.183 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.184 -# GNU General Public License for more details.
2.185 -
2.186 -# You should have received a copy of the GNU General Public License
2.187 -# along with this program; if not, write to the Free Software
2.188 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.189 -# 02111-1307, USA.
2.190 -
2.191 -# serial 2
2.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 modify
2.223 -# it under the terms of the GNU General Public License as published by
2.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 of
2.229 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.230 -# GNU General Public License for more details.
2.231 -
2.232 -# You should have received a copy of the GNU General Public License
2.233 -# along with this program; if not, write to the Free Software
2.234 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.235 -# 02111-1307, USA.
2.236 -
2.237 -# serial 3
2.238 -
2.239 -# AM_SANITY_CHECK
2.240 -# ---------------
2.241 -AC_DEFUN([AM_SANITY_CHECK],
2.242 -[AC_MSG_CHECKING([whether build environment is sane])
2.243 -# Just in case
2.244 -sleep 1
2.245 -echo timestamp > conftest.file
2.246 -# Do `set' in a subshell so we don't clobber the current shell's
2.247 -# arguments. Must try -L first in case configure is actually a
2.248 -# symlink; some systems play weird games with the mod time of symlinks
2.249 -# (eg FreeBSD returns the mod time of the symlink's containing
2.250 -# directory).
2.251 -if (
2.252 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2.253 - if test "$[*]" = "X"; then
2.254 - # -L didn't work.
2.255 - set X `ls -t $srcdir/configure conftest.file`
2.256 - fi
2.257 - rm -f conftest.file
2.258 - if test "$[*]" != "X $srcdir/configure conftest.file" \
2.259 - && test "$[*]" != "X conftest.file $srcdir/configure"; then
2.260 -
2.261 - # If neither matched, then we have a broken ls. This can happen
2.262 - # if, for instance, CONFIG_SHELL is bash and it inherits a
2.263 - # broken ls alias from the environment. This has actually
2.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 broken
2.266 -alias in your environment])
2.267 - fi
2.268 -
2.269 - test "$[2]" = conftest.file
2.270 - )
2.271 -then
2.272 - # Ok.
2.273 - :
2.274 -else
2.275 - AC_MSG_ERROR([newly created file is older than distributed files!
2.276 -Check your system clock])
2.277 -fi
2.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 modify
2.286 -# it under the terms of the GNU General Public License as published by
2.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 of
2.292 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.293 -# GNU General Public License for more details.
2.294 -
2.295 -# You should have received a copy of the GNU General Public License
2.296 -# along with this program; if not, write to the Free Software
2.297 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.298 -# 02111-1307, USA.
2.299 -
2.300 -# serial 3
2.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_RUN
2.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])dnl
2.316 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2.317 -# Use eval to expand $SHELL
2.318 -if eval "$MISSING --run true"; then
2.319 - am_missing_run="$MISSING --run "
2.320 -else
2.321 - am_missing_run=
2.322 - AC_MSG_WARN([`missing' script is too old or missing])
2.323 -fi
2.324 -])
2.325 -
2.326 -# AM_AUX_DIR_EXPAND
2.327 -
2.328 -# Copyright 2001 Free Software Foundation, Inc.
2.329 -
2.330 -# This program is free software; you can redistribute it and/or modify
2.331 -# it under the terms of the GNU General Public License as published by
2.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 of
2.337 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.338 -# GNU General Public License for more details.
2.339 -
2.340 -# You should have received a copy of the GNU General Public License
2.341 -# along with this program; if not, write to the Free Software
2.342 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.343 -# 02111-1307, USA.
2.344 -
2.345 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
2.346 -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
2.347 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
2.348 -#
2.349 -# Of course, Automake must honor this variable whenever it calls a
2.350 -# tool from the auxiliary directory. The problem is that $srcdir (and
2.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, since
2.353 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top
2.354 -# source directory, any form will work fine, but in subdirectories a
2.355 -# relative path needs to be adjusted first.
2.356 -#
2.357 -# $ac_aux_dir/missing
2.358 -# fails when called from a subdirectory if $ac_aux_dir is relative
2.359 -# $top_srcdir/$ac_aux_dir/missing
2.360 -# fails if $ac_aux_dir is absolute,
2.361 -# fails when called from a subdirectory in a VPATH build with
2.362 -# a relative $ac_aux_dir
2.363 -#
2.364 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
2.365 -# are both prefixed by $srcdir. In an in-source build this is usually
2.366 -# harmless because $srcdir is `.', but things will broke when you
2.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 as
2.373 -# MISSING="\${SHELL} $am_aux_dir/missing"
2.374 -# This will work as long as MISSING is not called from configure, because
2.375 -# unfortunately $(top_srcdir) has no meaning in configure.
2.376 -# However there are other variables, like CC, which are often used in
2.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 an
2.380 -# absolute PATH. The drawback is that using absolute paths prevent a
2.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 path
2.388 -am_aux_dir=`cd $ac_aux_dir && pwd`
2.389 -])
2.390 -
2.391 -# AM_PROG_INSTALL_SH
2.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 modify
2.398 -# it under the terms of the GNU General Public License as published by
2.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 of
2.404 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.405 -# GNU General Public License for more details.
2.406 -
2.407 -# You should have received a copy of the GNU General Public License
2.408 -# along with this program; if not, write to the Free Software
2.409 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.410 -# 02111-1307, USA.
2.411 -
2.412 -AC_DEFUN([AM_PROG_INSTALL_SH],
2.413 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2.414 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
2.415 -AC_SUBST(install_sh)])
2.416 -
2.417 -# AM_PROG_INSTALL_STRIP
2.418 -
2.419 -# Copyright 2001 Free Software Foundation, Inc.
2.420 -
2.421 -# This program is free software; you can redistribute it and/or modify
2.422 -# it under the terms of the GNU General Public License as published by
2.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 of
2.428 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.429 -# GNU General Public License for more details.
2.430 -
2.431 -# You should have received a copy of the GNU General Public License
2.432 -# along with this program; if not, write to the Free Software
2.433 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.434 -# 02111-1307, USA.
2.435 -
2.436 -# One issue with vendor `install' (even GNU) is that you can't
2.437 -# specify the program used to strip binaries. This is especially
2.438 -# annoying in cross-compiling environments, where the build's strip
2.439 -# is unlikely to handle the host's binaries.
2.440 -# Fortunately install-sh will honor a STRIPPROG variable, so we
2.441 -# always use install-sh in `make install-strip', and initialize
2.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])dnl
2.445 -# Installed binaries are usually stripped using `strip' when the user
2.446 -# run `make install-strip'. However `strip' might not be the right
2.447 -# tool to use in cross-compilation environments, therefore Automake
2.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; then
2.451 - AC_CHECK_TOOL([STRIP], [strip], :)
2.452 -fi
2.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 modify
2.460 -# it under the terms of the GNU General Public License as published by
2.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 of
2.466 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.467 -# GNU General Public License for more details.
2.468 -
2.469 -# You should have received a copy of the GNU General Public License
2.470 -# along with this program; if not, write to the Free Software
2.471 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.472 -# 02111-1307, USA.
2.473 -
2.474 -# serial 1
2.475 -
2.476 -# Check whether the underlying file-system supports filenames
2.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/null
2.480 -mkdir .tst 2>/dev/null
2.481 -if test -d .tst; then
2.482 - am__leading_dot=.
2.483 -else
2.484 - am__leading_dot=_
2.485 -fi
2.486 -rmdir .tst 2>/dev/null
2.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 modify
2.494 -# it under the terms of the GNU General Public License as published by
2.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 of
2.500 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.501 -# GNU General Public License for more details.
2.502 -
2.503 -# You should have received a copy of the GNU General Public License
2.504 -# along with this program; if not, write to the Free Software
2.505 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.506 -# 02111-1307, USA.
2.507 -
2.508 -
2.509 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2.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's
2.512 -# C support machinery. Also note that it means that autoscan, seeing
2.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 was
2.524 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
2.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])dnl
2.529 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
2.530 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl
2.531 -AC_REQUIRE([AM_DEP_TRACK])dnl
2.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"; then
2.542 - # We make a subdir and do the tests there. Otherwise we can end up
2.543 - # making bogus files that we don't know about and never remove. For
2.544 - # instance it was reported that on HP-UX the gcc test will end up
2.545 - # making a dummy file named `D' -- because `-MD' means `put the output
2.546 - # in D'.
2.547 - mkdir conftest.dir
2.548 - # Copy depcomp to subdir because otherwise we won't find it if we're
2.549 - # using a relative directory.
2.550 - cp "$am_depcomp" conftest.dir
2.551 - cd conftest.dir
2.552 - # We will build objects and dependencies in a subdirectory because
2.553 - # it helps to detect inapplicable dependency modes. For instance
2.554 - # both Tru64's cc and ICC support -MD to output dependencies as a
2.555 - # side effect of compilation, but ICC will put the dependencies in
2.556 - # the current directory while Tru64 will put them in the object
2.557 - # directory.
2.558 - mkdir sub
2.559 -
2.560 - am_cv_$1_dependencies_compiler_type=none
2.561 - if test "$am_compiler_list" = ""; then
2.562 - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
2.563 - fi
2.564 - for depmode in $am_compiler_list; do
2.565 - # Setup a source with many dependencies, because some compilers
2.566 - # like to wrap large dependency lists on column 80 (with \), and
2.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 may
2.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.c
2.573 - for i in 1 2 3 4 5 6; do
2.574 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
2.575 - : > sub/conftst$i.h
2.576 - done
2.577 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2.578 -
2.579 - case $depmode in
2.580 - nosideeffect)
2.581 - # after this tag, mechanisms are not by side-effect, so they'll
2.582 - # only be used when explicitly requested
2.583 - if test "x$enable_dependency_tracking" = xyes; then
2.584 - continue
2.585 - else
2.586 - break
2.587 - fi
2.588 - ;;
2.589 - none) break ;;
2.590 - esac
2.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 properly
2.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; then
2.602 - # icc doesn't choke on unknown options, it will just issue warnings
2.603 - # (even with -Werror). So we grep stderr for any message
2.604 - # that says an option was ignored.
2.605 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2.606 - am_cv_$1_dependencies_compiler_type=$depmode
2.607 - break
2.608 - fi
2.609 - fi
2.610 - done
2.611 -
2.612 - cd ..
2.613 - rm -rf conftest.dir
2.614 -else
2.615 - am_cv_$1_dependencies_compiler_type=none
2.616 -fi
2.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_DEPDIR
2.626 -# -------------
2.627 -# Choose a directory name for dependency files.
2.628 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2.629 -AC_DEFUN([AM_SET_DEPDIR],
2.630 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2.631 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
2.632 -])
2.633 -
2.634 -
2.635 -# AM_DEP_TRACK
2.636 -# ------------
2.637 -AC_DEFUN([AM_DEP_TRACK],
2.638 -[AC_ARG_ENABLE(dependency-tracking,
2.639 -[ --disable-dependency-tracking Speeds up one-time builds
2.640 - --enable-dependency-tracking Do not reject slow dependency extractors])
2.641 -if test "x$enable_dependency_tracking" != xno; then
2.642 - am_depcomp="$ac_aux_dir/depcomp"
2.643 - AMDEPBACKSLASH='\'
2.644 -fi
2.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 modify
2.654 -# it under the terms of the GNU General Public License as published by
2.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 of
2.660 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.661 -# GNU General Public License for more details.
2.662 -
2.663 -# You should have received a copy of the GNU General Public License
2.664 -# along with this program; if not, write to the Free Software
2.665 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.666 -# 02111-1307, USA.
2.667 -
2.668 -#serial 2
2.669 -
2.670 -# _AM_OUTPUT_DEPENDENCY_COMMANDS
2.671 -# ------------------------------
2.672 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2.673 -[for mf in $CONFIG_FILES; do
2.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', but
2.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-process
2.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; then
2.683 - dirpart=`AS_DIRNAME("$mf")`
2.684 - else
2.685 - continue
2.686 - fi
2.687 - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
2.688 - # Extract the definition of DEP_FILES from the Makefile without
2.689 - # running `make'.
2.690 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2.691 - test -z "$DEPDIR" && continue
2.692 - # When using ansi2knr, U may be empty or an underscore; expand it
2.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 to
2.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 - :loop
2.701 - s/\\\\$//
2.702 - p
2.703 - n
2.704 - /\\\\$/ b loop
2.705 - p
2.706 - }
2.707 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2.708 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2.709 - # Make sure the directory exists.
2.710 - test -f "$dirpart/$file" && continue
2.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 - done
2.716 -done
2.717 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2.718 -
2.719 -
2.720 -# AM_OUTPUT_DEPENDENCY_COMMANDS
2.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 tracking
2.725 -# is enabled. FIXME. This creates each `.P' file that we will
2.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 modify
2.738 -# it under the terms of the GNU General Public License as published by
2.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 of
2.744 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.745 -# GNU General Public License for more details.
2.746 -
2.747 -# You should have received a copy of the GNU General Public License
2.748 -# along with this program; if not, write to the Free Software
2.749 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.750 -# 02111-1307, USA.
2.751 -
2.752 -# serial 2
2.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 done
2.762 -.PHONY: am__doit
2.763 -END
2.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=none
2.769 -# First try GNU make style include.
2.770 -echo "include confinc" > confmf
2.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 might
2.774 -# be invoked under some other name (usually "gmake"), in which
2.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"; then
2.777 - am__include=include
2.778 - am__quote=
2.779 - _am_result=GNU
2.780 -fi
2.781 -# Now try BSD make style include.
2.782 -if test "$am__include" = "#"; then
2.783 - echo '.include "confinc"' > confmf
2.784 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2.785 - am__include=.include
2.786 - am__quote="\""
2.787 - _am_result=BSD
2.788 - fi
2.789 -fi
2.790 -AC_SUBST([am__include])
2.791 -AC_SUBST([am__quote])
2.792 -AC_MSG_RESULT([$_am_result])
2.793 -rm -f confinc confmf
2.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 modify
2.801 -# it under the terms of the GNU General Public License as published by
2.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 of
2.807 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.808 -# GNU General Public License for more details.
2.809 -
2.810 -# You should have received a copy of the GNU General Public License
2.811 -# along with this program; if not, write to the Free Software
2.812 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.813 -# 02111-1307, USA.
2.814 -
2.815 -# serial 5
2.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])])dnl
2.825 -AC_SUBST([$1_TRUE])
2.826 -AC_SUBST([$1_FALSE])
2.827 -if $2; then
2.828 - $1_TRUE=
2.829 - $1_FALSE='#'
2.830 -else
2.831 - $1_TRUE='#'
2.832 - $1_FALSE=
2.833 -fi
2.834 -AC_CONFIG_COMMANDS_PRE(
2.835 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2.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 Meyering
2.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 modify
2.846 -# it under the terms of the GNU General Public License as published by
2.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 of
2.852 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.853 -# GNU General Public License for more details.
2.854 -
2.855 -# You should have received a copy of the GNU General Public License
2.856 -# along with this program; if not, write to the Free Software
2.857 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.858 -# 02111-1307, USA.
2.859 -
2.860 -# serial 2
2.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 default
2.865 - AC_ARG_ENABLE(maintainer-mode,
2.866 -[ --enable-maintainer-mode enable make rules and dependencies not useful
2.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_TRUE
2.873 - AC_SUBST(MAINT)dnl
2.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 modify
2.884 -# it under the terms of the GNU General Public License as published by
2.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 of
2.890 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.891 -# GNU General Public License for more details.
2.892 -
2.893 -# You should have received a copy of the GNU General Public License
2.894 -# along with this program; if not, write to the Free Software
2.895 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.896 -# 02111-1307, USA.
2.897 -
2.898 -AC_PREREQ([2.52])
2.899 -
2.900 -# serial 6
2.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 modify
2.909 -# it under the terms of the GNU General Public License as published by
2.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 of
2.915 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.916 -# GNU General Public License for more details.
2.917 -
2.918 -# You should have received a copy of the GNU General Public License
2.919 -# along with this program; if not, write to the Free Software
2.920 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.921 -# 02111-1307, USA.
2.922 -
2.923 -# serial 2
2.924 -
2.925 -# @defmac AC_PROG_CC_STDC
2.926 -# @maindex PROG_CC_STDC
2.927 -# @ovindex CC
2.928 -# If the C compiler in not in ANSI C mode by default, try to add an option
2.929 -# to output variable @code{CC} to make it so. This macro tries various
2.930 -# options that select ANSI C on some system or another. It considers the
2.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 C
2.934 -# compiler has been set to accept ANSI C; if not, the shell variable
2.935 -# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
2.936 -# code in ANSI C, you can make an un-ANSIfied copy of it by using the
2.937 -# program @code{ansi2knr}, which comes with Ghostscript.
2.938 -# @end defmac
2.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, require
2.945 -dnl a magic option to avoid problems with ANSI preprocessor commands
2.946 -dnl like #elif.
2.947 -dnl FIXME: can't do this because then AC_AIX won't work due to a
2.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=no
2.953 -ac_save_CC="$CC"
2.954 -# Don't try gcc -ansi; that turns off useful extensions and
2.955 -# breaks some systems' header files.
2.956 -# AIX -qlanglvl=ansi
2.957 -# Ultrix and OSF/1 -std1
2.958 -# HP-UX 10.20 and later -Ae
2.959 -# HP-UX older versions -Aa -D_HPUX_SOURCE
2.960 -# SVR4 -Xc -D__EXTENSIONS__
2.961 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2.962 -do
2.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 -done
2.998 -CC="$ac_save_CC"
2.999 -])
2.1000 -if test -z "$am_cv_prog_cc_stdc"; then
2.1001 - AC_MSG_RESULT([none needed])
2.1002 -else
2.1003 - AC_MSG_RESULT([$am_cv_prog_cc_stdc])
2.1004 -fi
2.1005 -case "x$am_cv_prog_cc_stdc" in
2.1006 - x|xno) ;;
2.1007 - *) CC="$CC $am_cv_prog_cc_stdc" ;;
2.1008 -esac
2.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 2
2.1016 -
2.1017 -# Copyright 2001 Free Software Foundation, Inc.
2.1018 -
2.1019 -# This program is free software; you can redistribute it and/or modify
2.1020 -# it under the terms of the GNU General Public License as published by
2.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 of
2.1026 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.1027 -# GNU General Public License for more details.
2.1028 -
2.1029 -# You should have received a copy of the GNU General Public License
2.1030 -# along with this program; if not, write to the Free Software
2.1031 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2.1032 -# 02111-1307, USA.
2.1033 -
2.1034 -# AM_PROG_AS
2.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 modify
2.1050 -# it under the terms of the GNU General Public License as published by
2.1051 -# the Free Software Foundation; either version 2 of the License, or
2.1052 -# (at your option) any later version.
2.1053 -#
2.1054 -# This program is distributed in the hope that it will be useful, but
2.1055 -# WITHOUT ANY WARRANTY; without even the implied warranty of
2.1056 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2.1057 -# General Public License for more details.
2.1058 -#
2.1059 -# You should have received a copy of the GNU General Public License
2.1060 -# along with this program; if not, write to the Free Software
2.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 you
2.1064 -# distribute this file as part of a program that contains a
2.1065 -# configuration script generated by Autoconf, you may include it under
2.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])dnl
2.1074 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2.1075 - AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
2.1076 -fi
2.1077 -if test -n "$PKG_CONFIG"; then
2.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; then
2.1081 - AC_MSG_RESULT([yes])
2.1082 - else
2.1083 - AC_MSG_RESULT([no])
2.1084 - PKG_CONFIG=""
2.1085 - fi
2.1086 -
2.1087 -fi[]dnl
2.1088 -])# PKG_PROG_PKG_CONFIG
2.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. Similar
2.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 of
2.1097 -# this or PKG_CHECK_MODULES is called, or make sure to call
2.1098 -# PKG_CHECK_EXISTS manually
2.1099 -# --------------------------------------------------------------
2.1100 -AC_DEFUN([PKG_CHECK_EXISTS],
2.1101 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
2.1102 -if test -n "$PKG_CONFIG" && \
2.1103 - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
2.1104 - m4_ifval([$2], [$2], [:])
2.1105 -m4_ifvaln([$3], [else
2.1106 - $3])dnl
2.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"; then
2.1114 - if test -n "$$1"; then
2.1115 - pkg_cv_[]$1="$$1"
2.1116 - else
2.1117 - PKG_CHECK_EXISTS([$3],
2.1118 - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
2.1119 - [pkg_failed=yes])
2.1120 - fi
2.1121 -else
2.1122 - pkg_failed=untried
2.1123 -fi[]dnl
2.1124 -])# _PKG_CONFIG
2.1125 -
2.1126 -# _PKG_SHORT_ERRORS_SUPPORTED
2.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; then
2.1131 - _pkg_short_errors_supported=yes
2.1132 -else
2.1133 - _pkg_short_errors_supported=no
2.1134 -fi[]dnl
2.1135 -])# _PKG_SHORT_ERRORS_SUPPORTED
2.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 to
2.1143 -# PKG_CHECK_MODULES might not happen, you should be sure to include an
2.1144 -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
2.1145 -#
2.1146 -#
2.1147 -# --------------------------------------------------------------
2.1148 -AC_DEFUN([PKG_CHECK_MODULES],
2.1149 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
2.1150 -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
2.1151 -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
2.1152 -
2.1153 -pkg_failed=no
2.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[]_CFLAGS
2.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; then
2.1164 - _PKG_SHORT_ERRORS_SUPPORTED
2.1165 - if test $_pkg_short_errors_supported = yes; then
2.1166 - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
2.1167 - else
2.1168 - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
2.1169 - fi
2.1170 - # Put the nasty error message in config.log where it belongs
2.1171 - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
2.1172 -
2.1173 - ifelse([$4], , [AC_MSG_ERROR(dnl
2.1174 -[Package requirements ($2) were not met:
2.1175 -
2.1176 -$$1_PKG_ERRORS
2.1177 -
2.1178 -Consider adjusting the PKG_CONFIG_PATH environment variable if you
2.1179 -installed software in a non-standard prefix.
2.1180 -
2.1181 -_PKG_TEXT
2.1182 -])],
2.1183 - [AC_MSG_RESULT([no])
2.1184 - $4])
2.1185 -elif test $pkg_failed = untried; then
2.1186 - ifelse([$4], , [AC_MSG_FAILURE(dnl
2.1187 -[The pkg-config script could not be found or is too old. Make sure it
2.1188 -is in your PATH or set the PKG_CONFIG environment variable to the full
2.1189 -path to pkg-config.
2.1190 -
2.1191 -_PKG_TEXT
2.1192 -
2.1193 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
2.1194 - [$4])
2.1195 -else
2.1196 - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
2.1197 - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
2.1198 - AC_MSG_RESULT([yes])
2.1199 - ifelse([$3], , :, [$3])
2.1200 -fi[]dnl
2.1201 -])# PKG_CHECK_MODULES
2.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.1217
2.1218
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 Foundation
2.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 macro
2.1229 +# because gettext's gettext.m4 (distributed in the automake package)
2.1230 +# still uses it. Otherwise, the use in gettext.m4 makes autoheader
2.1231 +# give these diagnostics:
2.1232 +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
2.1233 +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
2.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 modify
2.1249 +# it under the terms of the GNU General Public License as published by
2.1250 +# the Free Software Foundation; either version 2 of the License, or
2.1251 +# (at your option) any later version.
2.1252 +#
2.1253 +# This program is distributed in the hope that it will be useful, but
2.1254 +# WITHOUT ANY WARRANTY; without even the implied warranty of
2.1255 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2.1256 +# General Public License for more details.
2.1257 +#
2.1258 +# You should have received a copy of the GNU General Public License
2.1259 +# along with this program; if not, write to the Free Software
2.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 you
2.1263 +# distribute this file as part of a program that contains a
2.1264 +# configuration script generated by Autoconf, you may include it under
2.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])dnl
2.1273 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2.1274 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
2.1275 +fi
2.1276 +if test -n "$PKG_CONFIG"; then
2.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; then
2.1280 + AC_MSG_RESULT([yes])
2.1281 + else
2.1282 + AC_MSG_RESULT([no])
2.1283 + PKG_CONFIG=""
2.1284 + fi
2.1285 +
2.1286 +fi[]dnl
2.1287 +])# PKG_PROG_PKG_CONFIG
2.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. Similar
2.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 of
2.1296 +# this or PKG_CHECK_MODULES is called, or make sure to call
2.1297 +# PKG_CHECK_EXISTS manually
2.1298 +# --------------------------------------------------------------
2.1299 +AC_DEFUN([PKG_CHECK_EXISTS],
2.1300 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
2.1301 +if test -n "$PKG_CONFIG" && \
2.1302 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
2.1303 + m4_ifval([$2], [$2], [:])
2.1304 +m4_ifvaln([$3], [else
2.1305 + $3])dnl
2.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"; then
2.1313 + if test -n "$$1"; then
2.1314 + pkg_cv_[]$1="$$1"
2.1315 + else
2.1316 + PKG_CHECK_EXISTS([$3],
2.1317 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
2.1318 + [pkg_failed=yes])
2.1319 + fi
2.1320 +else
2.1321 + pkg_failed=untried
2.1322 +fi[]dnl
2.1323 +])# _PKG_CONFIG
2.1324 +
2.1325 +# _PKG_SHORT_ERRORS_SUPPORTED
2.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; then
2.1330 + _pkg_short_errors_supported=yes
2.1331 +else
2.1332 + _pkg_short_errors_supported=no
2.1333 +fi[]dnl
2.1334 +])# _PKG_SHORT_ERRORS_SUPPORTED
2.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 to
2.1342 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
2.1343 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
2.1344 +#
2.1345 +#
2.1346 +# --------------------------------------------------------------
2.1347 +AC_DEFUN([PKG_CHECK_MODULES],
2.1348 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
2.1349 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
2.1350 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
2.1351 +
2.1352 +pkg_failed=no
2.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[]_CFLAGS
2.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; then
2.1363 + _PKG_SHORT_ERRORS_SUPPORTED
2.1364 + if test $_pkg_short_errors_supported = yes; then
2.1365 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
2.1366 + else
2.1367 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
2.1368 + fi
2.1369 + # Put the nasty error message in config.log where it belongs
2.1370 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
2.1371 +
2.1372 + ifelse([$4], , [AC_MSG_ERROR(dnl
2.1373 +[Package requirements ($2) were not met:
2.1374 +
2.1375 +$$1_PKG_ERRORS
2.1376 +
2.1377 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
2.1378 +installed software in a non-standard prefix.
2.1379 +
2.1380 +_PKG_TEXT
2.1381 +])],
2.1382 + [AC_MSG_RESULT([no])
2.1383 + $4])
2.1384 +elif test $pkg_failed = untried; then
2.1385 + ifelse([$4], , [AC_MSG_FAILURE(dnl
2.1386 +[The pkg-config script could not be found or is too old. Make sure it
2.1387 +is in your PATH or set the PKG_CONFIG environment variable to the full
2.1388 +path to pkg-config.
2.1389 +
2.1390 +_PKG_TEXT
2.1391 +
2.1392 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
2.1393 + [$4])
2.1394 +else
2.1395 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
2.1396 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
2.1397 + AC_MSG_RESULT([yes])
2.1398 + ifelse([$3], , :, [$3])
2.1399 +fi[]dnl
2.1400 +])# PKG_CHECK_MODULES
2.1401 +
2.1402 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
2.1403 +#
2.1404 +# This file is free software; the Free Software Foundation
2.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 been
2.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_VERSION
2.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 Foundation
2.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 4
2.1430 +
2.1431 +# AM_PROG_AS
2.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=$CC
2.1437 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2.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 Foundation
2.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 sets
2.1451 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
2.1452 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
2.1453 +#
2.1454 +# Of course, Automake must honor this variable whenever it calls a
2.1455 +# tool from the auxiliary directory. The problem is that $srcdir (and
2.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, since
2.1458 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
2.1459 +# source directory, any form will work fine, but in subdirectories a
2.1460 +# relative path needs to be adjusted first.
2.1461 +#
2.1462 +# $ac_aux_dir/missing
2.1463 +# fails when called from a subdirectory if $ac_aux_dir is relative
2.1464 +# $top_srcdir/$ac_aux_dir/missing
2.1465 +# fails if $ac_aux_dir is absolute,
2.1466 +# fails when called from a subdirectory in a VPATH build with
2.1467 +# a relative $ac_aux_dir
2.1468 +#
2.1469 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
2.1470 +# are both prefixed by $srcdir. In an in-source build this is usually
2.1471 +# harmless because $srcdir is `.', but things will broke when you
2.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 as
2.1478 +# MISSING="\${SHELL} $am_aux_dir/missing"
2.1479 +# This will work as long as MISSING is not called from configure, because
2.1480 +# unfortunately $(top_srcdir) has no meaning in configure.
2.1481 +# However there are other variables, like CC, which are often used in
2.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 an
2.1485 +# absolute PATH. The drawback is that using absolute paths prevent a
2.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])dnl
2.1491 +# expand $ac_aux_dir to an absolute path
2.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, 2005
2.1497 +# Free Software Foundation, Inc.
2.1498 +#
2.1499 +# This file is free software; the Free Software Foundation
2.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 4
2.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_CC
2.1509 +AC_DIAGNOSE([obsolete], [$0:
2.1510 + your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
2.1511 + `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when
2.1512 + you adjust the code. You can also remove the above call to
2.1513 + AC_PROG_CC if you already called it elsewhere.])
2.1514 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
2.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, 2005
2.1521 +# Free Software Foundation, Inc.
2.1522 +#
2.1523 +# This file is free software; the Free Software Foundation
2.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 7
2.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)dnl
2.1534 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
2.1535 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2.1536 +AC_SUBST([$1_TRUE])
2.1537 +AC_SUBST([$1_FALSE])
2.1538 +if $2; then
2.1539 + $1_TRUE=
2.1540 + $1_FALSE='#'
2.1541 +else
2.1542 + $1_TRUE='#'
2.1543 + $1_FALSE=
2.1544 +fi
2.1545 +AC_CONFIG_COMMANDS_PRE(
2.1546 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2.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, 2005
2.1553 +# Free Software Foundation, Inc.
2.1554 +#
2.1555 +# This file is free software; the Free Software Foundation
2.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 8
2.1560 +
2.1561 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2.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's
2.1564 +# C support machinery. Also note that it means that autoscan, seeing
2.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 was
2.1575 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
2.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])dnl
2.1580 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
2.1581 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
2.1582 +AC_REQUIRE([AM_DEP_TRACK])dnl
2.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"; then
2.1593 + # We make a subdir and do the tests there. Otherwise we can end up
2.1594 + # making bogus files that we don't know about and never remove. For
2.1595 + # instance it was reported that on HP-UX the gcc test will end up
2.1596 + # making a dummy file named `D' -- because `-MD' means `put the output
2.1597 + # in D'.
2.1598 + mkdir conftest.dir
2.1599 + # Copy depcomp to subdir because otherwise we won't find it if we're
2.1600 + # using a relative directory.
2.1601 + cp "$am_depcomp" conftest.dir
2.1602 + cd conftest.dir
2.1603 + # We will build objects and dependencies in a subdirectory because
2.1604 + # it helps to detect inapplicable dependency modes. For instance
2.1605 + # both Tru64's cc and ICC support -MD to output dependencies as a
2.1606 + # side effect of compilation, but ICC will put the dependencies in
2.1607 + # the current directory while Tru64 will put them in the object
2.1608 + # directory.
2.1609 + mkdir sub
2.1610 +
2.1611 + am_cv_$1_dependencies_compiler_type=none
2.1612 + if test "$am_compiler_list" = ""; then
2.1613 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
2.1614 + fi
2.1615 + for depmode in $am_compiler_list; do
2.1616 + # Setup a source with many dependencies, because some compilers
2.1617 + # like to wrap large dependency lists on column 80 (with \), and
2.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 may
2.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.c
2.1624 + for i in 1 2 3 4 5 6; do
2.1625 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
2.1626 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2.1627 + # Solaris 8's {/usr,}/bin/sh.
2.1628 + touch sub/conftst$i.h
2.1629 + done
2.1630 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2.1631 +
2.1632 + case $depmode in
2.1633 + nosideeffect)
2.1634 + # after this tag, mechanisms are not by side-effect, so they'll
2.1635 + # only be used when explicitly requested
2.1636 + if test "x$enable_dependency_tracking" = xyes; then
2.1637 + continue
2.1638 + else
2.1639 + break
2.1640 + fi
2.1641 + ;;
2.1642 + none) break ;;
2.1643 + esac
2.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 properly
2.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; then
2.1655 + # icc doesn't choke on unknown options, it will just issue warnings
2.1656 + # or remarks (even with -Werror). So we grep stderr for any message
2.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 required
2.1660 + # The diagnosis changed in icc 8.0:
2.1661 + # icc: Command line remark: option '-MP' not supported
2.1662 + if (grep 'ignoring option' conftest.err ||
2.1663 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2.1664 + am_cv_$1_dependencies_compiler_type=$depmode
2.1665 + break
2.1666 + fi
2.1667 + fi
2.1668 + done
2.1669 +
2.1670 + cd ..
2.1671 + rm -rf conftest.dir
2.1672 +else
2.1673 + am_cv_$1_dependencies_compiler_type=none
2.1674 +fi
2.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_DEPDIR
2.1684 +# -------------
2.1685 +# Choose a directory name for dependency files.
2.1686 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2.1687 +AC_DEFUN([AM_SET_DEPDIR],
2.1688 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2.1689 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
2.1690 +])
2.1691 +
2.1692 +
2.1693 +# AM_DEP_TRACK
2.1694 +# ------------
2.1695 +AC_DEFUN([AM_DEP_TRACK],
2.1696 +[AC_ARG_ENABLE(dependency-tracking,
2.1697 +[ --disable-dependency-tracking speeds up one-time build
2.1698 + --enable-dependency-tracking do not reject slow dependency extractors])
2.1699 +if test "x$enable_dependency_tracking" != xno; then
2.1700 + am_depcomp="$ac_aux_dir/depcomp"
2.1701 + AMDEPBACKSLASH='\'
2.1702 +fi
2.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, 2005
2.1710 +# Free Software Foundation, Inc.
2.1711 +#
2.1712 +# This file is free software; the Free Software Foundation
2.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 3
2.1717 +
2.1718 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
2.1719 +# ------------------------------
2.1720 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2.1721 +[for mf in $CONFIG_FILES; do
2.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', but
2.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-process
2.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; then
2.1731 + dirpart=`AS_DIRNAME("$mf")`
2.1732 + else
2.1733 + continue
2.1734 + fi
2.1735 + # Extract the definition of DEPDIR, am__include, and am__quote
2.1736 + # from the Makefile without running `make'.
2.1737 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
2.1738 + test -z "$DEPDIR" && continue
2.1739 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
2.1740 + test -z "am__include" && continue
2.1741 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
2.1742 + # When using ansi2knr, U may be empty or an underscore; expand it
2.1743 + U=`sed -n 's/^U = //p' < "$mf"`
2.1744 + # Find all dependency output files, they are included files with
2.1745 + # $(DEPDIR) in their names. We invoke sed twice because it is the
2.1746 + # simplest approach to changing $(DEPDIR) to its actual value in the
2.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'`; do
2.1751 + # Make sure the directory exists.
2.1752 + test -f "$dirpart/$file" && continue
2.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 + done
2.1758 +done
2.1759 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2.1760 +
2.1761 +
2.1762 +# AM_OUTPUT_DEPENDENCY_COMMANDS
2.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 tracking
2.1767 +# is enabled. FIXME. This creates each `.P' file that we will
2.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, 2005
2.1776 +# Free Software Foundation, Inc.
2.1777 +#
2.1778 +# This file is free software; the Free Software Foundation
2.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 8
2.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, 2005
2.1790 +# Free Software Foundation, Inc.
2.1791 +#
2.1792 +# This file is free software; the Free Software Foundation
2.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 12
2.1797 +
2.1798 +# This macro actually does too much. Some checks are only needed if
2.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 style
2.1805 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
2.1806 +# and VERSION should now be passed to AC_INIT and removed from
2.1807 +# the call to AM_INIT_AUTOMAKE.
2.1808 +# We support both call styles for the transition. After
2.1809 +# the next Automake release, Autoconf can make the AC_INIT
2.1810 +# arguments mandatory, and then we can depend on a new Autoconf
2.1811 +# release and drop the old call support.
2.1812 +AC_DEFUN([AM_INIT_AUTOMAKE],
2.1813 +[AC_PREREQ([2.58])dnl
2.1814 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
2.1815 +dnl the ones we care about.
2.1816 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
2.1817 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
2.1818 +AC_REQUIRE([AC_PROG_INSTALL])dnl
2.1819 +# test to see if srcdir already configured
2.1820 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
2.1821 + test -f $srcdir/config.status; then
2.1822 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2.1823 +fi
2.1824 +
2.1825 +# test whether we have cygpath
2.1826 +if test -z "$CYGPATH_W"; then
2.1827 + if (cygpath --version) >/dev/null 2>/dev/null; then
2.1828 + CYGPATH_W='cygpath -w'
2.1829 + else
2.1830 + CYGPATH_W=echo
2.1831 + fi
2.1832 +fi
2.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])])dnl
2.1839 + AC_SUBST([PACKAGE], [$1])dnl
2.1840 + AC_SUBST([VERSION], [$2])],
2.1841 +[_AM_SET_OPTIONS([$1])dnl
2.1842 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
2.1843 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
2.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])])dnl
2.1848 +
2.1849 +# Some tools Automake needs.
2.1850 +AC_REQUIRE([AM_SANITY_CHECK])dnl
2.1851 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
2.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_SH
2.1858 +AM_PROG_INSTALL_STRIP
2.1859 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
2.1860 +# We need awk for the "check" target. The system "awk" is bad on
2.1861 +# some platforms.
2.1862 +AC_REQUIRE([AC_PROG_AWK])dnl
2.1863 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
2.1864 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2.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)])])dnl
2.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)])])dnl
2.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 header
2.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 the
2.1886 +# loop where config.status creates the headers, so we can generate
2.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=1
2.1891 +for _am_header in $config_headers :; do
2.1892 + case $_am_header in
2.1893 + $1 | $1:* )
2.1894 + break ;;
2.1895 + * )
2.1896 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2.1897 + esac
2.1898 +done
2.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 Foundation
2.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_SH
2.1908 +# ------------------
2.1909 +# Define $install_sh.
2.1910 +AC_DEFUN([AM_PROG_INSTALL_SH],
2.1911 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2.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 Foundation
2.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 2
2.1922 +
2.1923 +# Check whether the underlying file-system supports filenames
2.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/null
2.1927 +mkdir .tst 2>/dev/null
2.1928 +if test -d .tst; then
2.1929 + am__leading_dot=.
2.1930 +else
2.1931 + am__leading_dot=_
2.1932 +fi
2.1933 +rmdir .tst 2>/dev/null
2.1934 +AC_SUBST([am__leading_dot])])
2.1935 +
2.1936 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
2.1937 +# From Jim Meyering
2.1938 +
2.1939 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
2.1940 +# Free Software Foundation, Inc.
2.1941 +#
2.1942 +# This file is free software; the Free Software Foundation
2.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 4
2.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 default
2.1951 + AC_ARG_ENABLE(maintainer-mode,
2.1952 +[ --enable-maintainer-mode enable make rules and dependencies not useful
2.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_TRUE
2.1959 + AC_SUBST(MAINT)dnl
2.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 Foundation
2.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 3
2.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 done
2.1983 +.PHONY: am__doit
2.1984 +END
2.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=none
2.1990 +# First try GNU make style include.
2.1991 +echo "include confinc" > confmf
2.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 might
2.1995 +# be invoked under some other name (usually "gmake"), in which
2.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"; then
2.1998 + am__include=include
2.1999 + am__quote=
2.2000 + _am_result=GNU
2.2001 +fi
2.2002 +# Now try BSD make style include.
2.2003 +if test "$am__include" = "#"; then
2.2004 + echo '.include "confinc"' > confmf
2.2005 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2.2006 + am__include=.include
2.2007 + am__quote="\""
2.2008 + _am_result=BSD
2.2009 + fi
2.2010 +fi
2.2011 +AC_SUBST([am__include])
2.2012 +AC_SUBST([am__quote])
2.2013 +AC_MSG_RESULT([$_am_result])
2.2014 +rm -f confinc confmf
2.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, 2005
2.2020 +# Free Software Foundation, Inc.
2.2021 +#
2.2022 +# This file is free software; the Free Software Foundation
2.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 4
2.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_RUN
2.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])dnl
2.2042 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2.2043 +# Use eval to expand $SHELL
2.2044 +if eval "$MISSING --run true"; then
2.2045 + am_missing_run="$MISSING --run "
2.2046 +else
2.2047 + am_missing_run=
2.2048 + AC_MSG_WARN([`missing' script is too old or missing])
2.2049 +fi
2.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 Foundation
2.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_P
2.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 directories
2.2063 +# created by `make install' are always world readable, even if the
2.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 not
2.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 by
2.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 a
2.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 only
2.2077 +# one can create it and the other will error out. Consequently we
2.2078 +# restrict ourselves to GNU make (using the --version option ensures
2.2079 +# this.)
2.2080 +AC_DEFUN([AM_PROG_MKDIR_P],
2.2081 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2.2082 + # We used to keeping the `.' as first argument, in order to
2.2083 + # allow $(mkdir_p) to be used without argument. As in
2.2084 + # $(mkdir_p) $(somedir)
2.2085 + # where $(somedir) is conditionally defined. However this is wrong
2.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 read
2.2090 + # $(mkdir_p) $(DESTDIR)$(somedir)
2.2091 + # so it does not work when $(somedir) is undefined and
2.2092 + # $(DESTDIR) is not.
2.2093 + # To support the latter case, we have to write
2.2094 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2.2095 + # so the `.' trick is pointless.
2.2096 + mkdir_p='mkdir -p --'
2.2097 +else
2.2098 + # On NextStep and OpenStep, the `mkdir' command does not
2.2099 + # recognize any option. It will interpret all options as
2.2100 + # directories to create, and then abort because `.' already
2.2101 + # exists.
2.2102 + for d in ./-p ./--version;
2.2103 + do
2.2104 + test -d $d && rmdir $d
2.2105 + done
2.2106 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2.2107 + if test -f "$ac_aux_dir/mkinstalldirs"; then
2.2108 + mkdir_p='$(mkinstalldirs)'
2.2109 + else
2.2110 + mkdir_p='$(install_sh) -d'
2.2111 + fi
2.2112 +fi
2.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 Foundation
2.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 3
2.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, 2005
2.2151 +# Free Software Foundation, Inc.
2.2152 +#
2.2153 +# This file is free software; the Free Software Foundation
2.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 4
2.2158 +
2.2159 +# AM_SANITY_CHECK
2.2160 +# ---------------
2.2161 +AC_DEFUN([AM_SANITY_CHECK],
2.2162 +[AC_MSG_CHECKING([whether build environment is sane])
2.2163 +# Just in case
2.2164 +sleep 1
2.2165 +echo timestamp > conftest.file
2.2166 +# Do `set' in a subshell so we don't clobber the current shell's
2.2167 +# arguments. Must try -L first in case configure is actually a
2.2168 +# symlink; some systems play weird games with the mod time of symlinks
2.2169 +# (eg FreeBSD returns the mod time of the symlink's containing
2.2170 +# directory).
2.2171 +if (
2.2172 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2.2173 + if test "$[*]" = "X"; then
2.2174 + # -L didn't work.
2.2175 + set X `ls -t $srcdir/configure conftest.file`
2.2176 + fi
2.2177 + rm -f conftest.file
2.2178 + if test "$[*]" != "X $srcdir/configure conftest.file" \
2.2179 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
2.2180 +
2.2181 + # If neither matched, then we have a broken ls. This can happen
2.2182 + # if, for instance, CONFIG_SHELL is bash and it inherits a
2.2183 + # broken ls alias from the environment. This has actually
2.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 broken
2.2186 +alias in your environment])
2.2187 + fi
2.2188 +
2.2189 + test "$[2]" = conftest.file
2.2190 + )
2.2191 +then
2.2192 + # Ok.
2.2193 + :
2.2194 +else
2.2195 + AC_MSG_ERROR([newly created file is older than distributed files!
2.2196 +Check your system clock])
2.2197 +fi
2.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 Foundation
2.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_STRIP
2.2207 +# ---------------------
2.2208 +# One issue with vendor `install' (even GNU) is that you can't
2.2209 +# specify the program used to strip binaries. This is especially
2.2210 +# annoying in cross-compiling environments, where the build's strip
2.2211 +# is unlikely to handle the host's binaries.
2.2212 +# Fortunately install-sh will honor a STRIPPROG variable, so we
2.2213 +# always use install-sh in `make install-strip', and initialize
2.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])dnl
2.2217 +# Installed binaries are usually stripped using `strip' when the user
2.2218 +# run `make install-strip'. However `strip' might not be the right
2.2219 +# tool to use in cross-compilation environments, therefore Automake
2.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; then
2.2223 + AC_CHECK_TOOL([STRIP], [strip], :)
2.2224 +fi
2.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 Foundation
2.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 2
2.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 command
2.2244 +# writing to stdout a FORMAT-tarball containing the directory
2.2245 +# $tardir.
2.2246 +# tardir=directory && $(am__tar) > result.tar
2.2247 +#
2.2248 +# Substitute a variable $(am__untar) that extract such
2.2249 +# a tarball read from stdin.
2.2250 +# $(am__untar) < result.tar
2.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 and
2.2263 +# Solaris sh will not grok spaces in the rhs of `-'.
2.2264 +for _am_tool in $_am_tools
2.2265 +do
2.2266 + case $_am_tool in
2.2267 + gnutar)
2.2268 + for _am_tar in tar gnutar gtar;
2.2269 + do
2.2270 + AM_RUN_LOG([$_am_tar --version]) && break
2.2271 + done
2.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 create
2.2278 + # ustar tarball either.
2.2279 + (tar --version) >/dev/null 2>&1 && continue
2.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=false
2.2296 + am__tar_=false
2.2297 + am__untar=false
2.2298 + ;;
2.2299 + esac
2.2300 +
2.2301 + # If the value was cached, stop now. We just wanted to have am__tar
2.2302 + # and am__untar set.
2.2303 + test -n "${am_cv_prog_tar_$1}" && break
2.2304 +
2.2305 + # tar/untar a dummy directory, and stop if the command works
2.2306 + rm -rf conftest.dir
2.2307 + mkdir conftest.dir
2.2308 + echo GrepMe > conftest.dir/file
2.2309 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2.2310 + rm -rf conftest.dir
2.2311 + if test -s conftest.tar; then
2.2312 + AM_RUN_LOG([$am__untar <conftest.tar])
2.2313 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2.2314 + fi
2.2315 +done
2.2316 +rm -rf conftest.dir
2.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_TAR
2.2323 +
3.1 --- a/config.h.in Wed Apr 16 10:12:12 2008 +0000
3.2 +++ b/config.h.in Wed Apr 16 12:43:52 2008 +0000
3.3 @@ -28,8 +28,8 @@
3.4 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
3.5 #undef HAVE_BIND_TEXTDOMAIN_CODESET
3.6
3.7 -/* Have Carbon framework */
3.8 -#undef HAVE_CARBON
3.9 +/* Have Cocoa framework */
3.10 +#undef HAVE_COCOA
3.11
3.12 /* Define to 1 if you have the `dcgettext' function. */
3.13 #undef HAVE_DCGETTEXT
3.14 @@ -40,9 +40,18 @@
3.15 /* Define if the GNU gettext() function is already present or preinstalled. */
3.16 #undef HAVE_GETTEXT
3.17
3.18 +/* Have GLX support */
3.19 +#undef HAVE_GLX
3.20 +
3.21 /* Have GTK libraries */
3.22 #undef HAVE_GTK
3.23
3.24 +/* Building with GTK+Cocoa */
3.25 +#undef HAVE_GTK_OSX
3.26 +
3.27 +/* Building with GTK+X11 */
3.28 +#undef HAVE_GTK_X11
3.29 +
3.30 /* Define to 1 if you have the <inttypes.h> header file. */
3.31 #undef HAVE_INTTYPES_H
3.32
3.33 @@ -67,6 +76,9 @@
3.34 /* Define to 1 if you have the <memory.h> header file. */
3.35 #undef HAVE_MEMORY_H
3.36
3.37 +/* Have NSOpenGL support */
3.38 +#undef HAVE_NSGL
3.39 +
3.40 /* Have EXT_framebuffer_object support */
3.41 #undef HAVE_OPENGL_FBO
3.42
3.43 @@ -76,6 +88,9 @@
3.44 /* Have ARB shader support */
3.45 #undef HAVE_OPENGL_SHADER_ARB
3.46
3.47 +/* Building with the OSMesa video driver */
3.48 +#undef HAVE_OSMESA
3.49 +
3.50 /* Have pulseaudio support */
3.51 #undef HAVE_PULSE
3.52
4.1 --- a/configure Wed Apr 16 10:12:12 2008 +0000
4.2 +++ b/configure Wed Apr 16 12:43:52 2008 +0000
4.3 @@ -1,9 +1,9 @@
4.4 #! /bin/sh
4.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 Foundation
4.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; then
4.17 emulate sh
4.18 NULLCMD=:
4.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4.20 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4.21 # is contrary to our usage. Disable this feature.
4.22 alias -g '${1+"$@"}'='"$@"'
4.23 setopt NO_GLOB_SUBST
4.24 @@ -37,17 +37,45 @@
4.25 as_cr_digits='0123456789'
4.26 as_cr_alnum=$as_cr_Letters$as_cr_digits
4.27
4.28 +as_nl='
4.29 +'
4.30 +export as_nl
4.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_echo
4.34 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4.35 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4.36 + as_echo='printf %s\n'
4.37 + as_echo_n='printf %s'
4.38 +else
4.39 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4.40 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4.41 + as_echo_n='/usr/ucb/echo -n'
4.42 + else
4.43 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4.44 + as_echo_n_body='eval
4.45 + arg=$1;
4.46 + case $arg in
4.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_body
4.54 + as_echo_n='sh -c $as_echo_n_body as_echo'
4.55 + fi
4.56 + export as_echo_body
4.57 + as_echo='sh -c $as_echo_body as_echo'
4.58 +fi
4.59 +
4.60 # The user is always right.
4.61 if test "${PATH_SEPARATOR+set}" != set; then
4.62 - echo "#! /bin/sh" >conf$$.sh
4.63 - echo "exit 0" >>conf$$.sh
4.64 - chmod +x conf$$.sh
4.65 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4.66 - PATH_SEPARATOR=';'
4.67 - else
4.68 - PATH_SEPARATOR=:
4.69 - fi
4.70 - rm -f conf$$.sh
4.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 fi
4.77
4.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 word
4.82 # splitting by setting IFS to empty value.)
4.83 -as_nl='
4.84 -'
4.85 IFS=" "" $as_nl"
4.86
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=$0
4.90 fi
4.91 if test ! -f "$as_myself"; then
4.92 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4.93 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4.94 { (exit 1); exit 1; }
4.95 fi
4.96
4.97 @@ -100,17 +126,10 @@
4.98 PS4='+ '
4.99
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_TIME
4.105 -do
4.106 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4.107 - eval $as_var=C; export $as_var
4.108 - else
4.109 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4.110 - fi
4.111 -done
4.112 +LC_ALL=C
4.113 +export LC_ALL
4.114 +LANGUAGE=C
4.115 +export LANGUAGE
4.116
4.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 q
4.128 @@ -158,7 +177,7 @@
4.129 as_have_required=no
4.130 fi
4.131
4.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; then
4.139 emulate sh
4.140 NULLCMD=:
4.141 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4.142 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4.143 # is contrary to our usage. Disable this feature.
4.144 alias -g '${1+"$@"}'='"$@"'
4.145 setopt NO_GLOB_SUBST
4.146 @@ -261,7 +280,7 @@
4.147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4.148 emulate sh
4.149 NULLCMD=:
4.150 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4.151 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4.152 # is contrary to our usage. Disable this feature.
4.153 alias -g '${1+"$@"}'='"$@"'
4.154 setopt NO_GLOB_SUBST
4.155 @@ -341,10 +360,10 @@
4.156
4.157 if test "x$CONFIG_SHELL" != x; then
4.158 for as_var in BASH_ENV ENV
4.159 - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4.160 - done
4.161 - export CONFIG_SHELL
4.162 - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
4.163 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4.164 + done
4.165 + export CONFIG_SHELL
4.166 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
4.167 fi
4.168
4.169
4.170 @@ -413,9 +432,10 @@
4.171
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 this
4.176 - echo message
4.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.182
4.183
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" >&2
4.189 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4.190 { (exit 1); exit 1; }; }
4.191
4.192 # Don't try to exec as it changes $[0], causing all sort of problems
4.193 @@ -479,7 +499,6 @@
4.194 *)
4.195 ECHO_N='-n';;
4.196 esac
4.197 -
4.198 if expr a : '\(a\)' >/dev/null 2>&1 &&
4.199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4.200 as_expr=expr
4.201 @@ -492,19 +511,22 @@
4.202 rm -f conf$$.dir/conf$$.file
4.203 else
4.204 rm -f conf$$.dir
4.205 - mkdir conf$$.dir
4.206 -fi
4.207 -echo >conf$$.file
4.208 -if ln -s conf$$.file conf$$ 2>/dev/null; then
4.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/null
4.216 +fi
4.217 +if (echo >conf$$.file) 2>/dev/null; then
4.218 + if ln -s conf$$.file conf$$ 2>/dev/null; then
4.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; then
4.227 + as_ln_s=ln
4.228 + else
4.229 as_ln_s='cp -p'
4.230 -elif ln conf$$.file conf$$ 2>/dev/null; then
4.231 - as_ln_s=ln
4.232 + fi
4.233 else
4.234 as_ln_s='cp -p'
4.235 fi
4.236 @@ -529,10 +551,10 @@
4.237 as_test_x='
4.238 eval sh -c '\''
4.239 if test -d "$1"; then
4.240 - test -d "$1/.";
4.241 + test -d "$1/.";
4.242 else
4.243 case $1 in
4.244 - -*)set "./$1";;
4.245 + -*)set "./$1";;
4.246 esac;
4.247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4.248 ???[sx]*):;;*)false;;esac;fi
4.249 @@ -661,13 +683,16 @@
4.250 AUTOMAKE
4.251 AUTOHEADER
4.252 MAKEINFO
4.253 -AMTAR
4.254 install_sh
4.255 STRIP
4.256 INSTALL_STRIP_PROGRAM
4.257 +mkdir_p
4.258 AWK
4.259 SET_MAKE
4.260 am__leading_dot
4.261 +AMTAR
4.262 +am__tar
4.263 +am__untar
4.264 MAINTAINER_MODE_TRUE
4.265 MAINTAINER_MODE_FALSE
4.266 MAINT
4.267 @@ -700,17 +725,21 @@
4.268 host_cpu
4.269 host_vendor
4.270 host_os
4.271 -OSMESA_DRIVER_TRUE
4.272 -OSMESA_DRIVER_FALSE
4.273 +GUI_CARBON_TRUE
4.274 +GUI_CARBON_FALSE
4.275 PKG_CONFIG
4.276 LIBPNG_CFLAGS
4.277 LIBPNG_LIBS
4.278 GTK_CFLAGS
4.279 GTK_LIBS
4.280 -GUI_CARBON_TRUE
4.281 -GUI_CARBON_FALSE
4.282 GUI_GTK_TRUE
4.283 GUI_GTK_FALSE
4.284 +VIDEO_OSMESA_TRUE
4.285 +VIDEO_OSMESA_FALSE
4.286 +VIDEO_GLX_TRUE
4.287 +VIDEO_GLX_FALSE
4.288 +VIDEO_NSGL_TRUE
4.289 +VIDEO_NSGL_FALSE
4.290 BUILD_SH4X86_TRUE
4.291 BUILD_SH4X86_FALSE
4.292 BUILD_X86_64_TRUE
4.293 @@ -761,6 +790,14 @@
4.294 LIBOBJS
4.295 LTLIBOBJS'
4.296 ac_subst_files=''
4.297 +ac_user_opts='
4.298 +enable_option_checking
4.299 +enable_maintainer_mode
4.300 +enable_dependency_tracking
4.301 +enable_trace
4.302 +enable_watch
4.303 +with_osmesa
4.304 +'
4.305 ac_precious_vars='build_alias
4.306 host_alias
4.307 target_alias
4.308 @@ -769,6 +806,8 @@
4.309 LDFLAGS
4.310 LIBS
4.311 CPPFLAGS
4.312 +CCAS
4.313 +CCASFLAGS
4.314 CPP
4.315 PKG_CONFIG
4.316 LIBPNG_CFLAGS
4.317 @@ -786,6 +825,8 @@
4.318 # Initialize some variables set by options.
4.319 ac_init_help=
4.320 ac_init_version=false
4.321 +ac_unrecognized_opts=
4.322 +ac_unrecognized_sep=
4.323 # The variables have the same names as the options, with
4.324 # dashes changed to underlines.
4.325 cache_file=/dev/null
4.326 @@ -884,13 +925,21 @@
4.327 datarootdir=$ac_optarg ;;
4.328
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" >&2
4.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" >&2
4.340 + { (exit 1); exit 1; }; }
4.341 + ac_useropt_orig=$ac_useropt
4.342 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
4.343 + case $ac_user_opts in
4.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 + esac
4.350 + eval enable_$ac_useropt=no ;;
4.351
4.352 -docdir | --docdir | --docdi | --doc | --do)
4.353 ac_prev=docdir ;;
4.354 @@ -903,13 +952,21 @@
4.355 dvidir=$ac_optarg ;;
4.356
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" >&2
4.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" >&2
4.368 + { (exit 1); exit 1; }; }
4.369 + ac_useropt_orig=$ac_useropt
4.370 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
4.371 + case $ac_user_opts in
4.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 + esac
4.378 + eval enable_$ac_useropt=\$ac_optarg ;;
4.379
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.384
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" >&2
4.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" >&2
4.396 + { (exit 1); exit 1; }; }
4.397 + ac_useropt_orig=$ac_useropt
4.398 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
4.399 + case $ac_user_opts in
4.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 + esac
4.406 + eval with_$ac_useropt=\$ac_optarg ;;
4.407
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" >&2
4.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" >&2
4.419 + { (exit 1); exit 1; }; }
4.420 + ac_useropt_orig=$ac_useropt
4.421 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
4.422 + case $ac_user_opts in
4.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 + esac
4.429 + eval with_$ac_useropt=no ;;
4.430
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.436
4.437 - -*) { echo "$as_me: error: unrecognized option: $ac_option
4.438 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
4.439 Try \`$0 --help' for more information." >&2
4.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" >&2
4.447 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4.448 { (exit 1); exit 1; }; }
4.449 eval $ac_envvar=\$ac_optarg
4.450 export $ac_envvar ;;
4.451
4.452 *)
4.453 # FIXME: should be removed in autoconf 3.0.
4.454 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4.455 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4.456 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4.457 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4.458 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4.459 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4.460 ;;
4.461
4.462 @@ -1162,22 +1235,38 @@
4.463
4.464 if test -n "$ac_prev"; then
4.465 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4.466 - { echo "$as_me: error: missing argument to $ac_option" >&2
4.467 - { (exit 1); exit 1; }; }
4.468 -fi
4.469 -
4.470 -# Be sure to have absolute directory names.
4.471 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
4.472 + { (exit 1); exit 1; }; }
4.473 +fi
4.474 +
4.475 +if test -n "$ac_unrecognized_opts"; then
4.476 + case $enable_option_checking in
4.477 + no) ;;
4.478 + fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
4.479 + { (exit 1); exit 1; }; } ;;
4.480 + *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
4.481 + esac
4.482 +fi
4.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 mandir
4.489 do
4.490 eval ac_val=\$$ac_var
4.491 + # Remove trailing slashes.
4.492 + case $ac_val in
4.493 + */ )
4.494 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
4.495 + eval $ac_var=\$ac_val;;
4.496 + esac
4.497 + # Be sure to have absolute directory names.
4.498 case $ac_val in
4.499 [\\/$]* | ?:[\\/]* ) continue;;
4.500 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
4.501 esac
4.502 - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4.503 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4.504 { (exit 1); exit 1; }; }
4.505 done
4.506
4.507 @@ -1192,7 +1281,7 @@
4.508 if test "x$host_alias" != x; then
4.509 if test "x$build_alias" = x; then
4.510 cross_compiling=maybe
4.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." >&2
4.514 elif test "x$build_alias" != "x$host_alias"; then
4.515 cross_compiling=yes
4.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" >&2
4.521 + { $as_echo "$as_me: error: Working directory cannot be determined" >&2
4.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" >&2
4.525 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
4.526 { (exit 1); exit 1; }; }
4.527
4.528
4.529 @@ -1219,12 +1308,12 @@
4.530 if test -z "$srcdir"; then
4.531 ac_srcdir_defaulted=yes
4.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 q
4.548 @@ -1251,12 +1340,12 @@
4.549 fi
4.550 if test ! -r "$srcdir/$ac_unique_file"; then
4.551 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
4.552 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
4.553 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
4.554 { (exit 1); exit 1; }; }
4.555 fi
4.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" >&2
4.559 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
4.560 { (exit 1); exit 1; }; }
4.561 pwd)`
4.562 # When building in place, set srcdir=.
4.563 @@ -1305,9 +1394,9 @@
4.564
4.565 Installation directories:
4.566 --prefix=PREFIX install architecture-independent files in PREFIX
4.567 - [$ac_default_prefix]
4.568 + [$ac_default_prefix]
4.569 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4.570 - [PREFIX]
4.571 + [PREFIX]
4.572
4.573 By default, \`make install' will install all the files in
4.574 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
4.575 @@ -1317,25 +1406,25 @@
4.576 For better control, use the options below.
4.577
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 _ACEOF
4.618
4.619 cat <<\_ACEOF
4.620 @@ -1356,12 +1445,13 @@
4.621 cat <<\_ACEOF
4.622
4.623 Optional Features:
4.624 + --disable-option-checking ignore unrecognized --enable/--with options
4.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 useful
4.628 - (and sometimes confusing) to the casual installer
4.629 - --disable-dependency-tracking Speeds up one-time builds
4.630 - --enable-dependency-tracking Do not reject slow dependency extractors
4.631 + --enable-maintainer-mode enable make rules and dependencies not useful
4.632 + (and sometimes confusing) to the casual installer
4.633 + --disable-dependency-tracking speeds up one-time build
4.634 + --enable-dependency-tracking do not reject slow dependency extractors
4.635 --enable-trace Enable generation of IO traces (warning: hurts
4.636 performance)
4.637 --enable-watch Enable watchpoints in the debugger (warning: hurts
4.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> if
4.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 preprocessor
4.645 PKG_CONFIG path to pkg-config utility
4.646 LIBPNG_CFLAGS
4.647 @@ -1407,15 +1499,17 @@
4.648 if test "$ac_init_help" = "recursive"; then
4.649 # If there are subdirs, report their specific --help.
4.650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
4.651 - test -d "$ac_dir" || continue
4.652 + test -d "$ac_dir" ||
4.653 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
4.654 + continue
4.655 ac_builddir=.
4.656
4.657 case "$ac_dir" in
4.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 in
4.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=recursive
4.671 else
4.672 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
4.673 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
4.674 fi || ac_status=$?
4.675 cd "$ac_pwd" || { ac_status=$?; break; }
4.676 done
4.677 @@ -1461,10 +1555,10 @@
4.678 if $ac_init_version; then
4.679 cat <<\_ACEOF
4.680 configure
4.681 -generated by GNU Autoconf 2.61
4.682 +generated by GNU Autoconf 2.62
4.683
4.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 Foundation
4.688 gives unlimited permission to copy, distribute and modify it.
4.689 _ACEOF
4.690 @@ -1475,7 +1569,7 @@
4.691 running configure, to aid debugging if configure makes a mistake.
4.692
4.693 It was created by $as_me, which was
4.694 -generated by GNU Autoconf 2.61. Invocation command line was
4.695 +generated by GNU Autoconf 2.62. Invocation command line was
4.696
4.697 $ $0 $@
4.698
4.699 @@ -1511,7 +1605,7 @@
4.700 do
4.701 IFS=$as_save_IFS
4.702 test -z "$as_dir" && as_dir=.
4.703 - echo "PATH: $as_dir"
4.704 + $as_echo "PATH: $as_dir"
4.705 done
4.706 IFS=$as_save_IFS
4.707
4.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 esac
4.715 case $ac_pass in
4.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." >&5
4.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." >&5
4.724 +$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4.725 esac
4.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 esac
4.732 @@ -1632,9 +1727,9 @@
4.733 do
4.734 eval ac_val=\$$ac_var
4.735 case $ac_val in
4.736 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4.737 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4.738 esac
4.739 - echo "$ac_var='\''$ac_val'\''"
4.740 + $as_echo "$ac_var='\''$ac_val'\''"
4.741 done | sort
4.742 echo
4.743
4.744 @@ -1649,9 +1744,9 @@
4.745 do
4.746 eval ac_val=\$$ac_var
4.747 case $ac_val in
4.748 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4.749 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4.750 esac
4.751 - echo "$ac_var='\''$ac_val'\''"
4.752 + $as_echo "$ac_var='\''$ac_val'\''"
4.753 done | sort
4.754 echo
4.755 fi
4.756 @@ -1667,8 +1762,8 @@
4.757 echo
4.758 fi
4.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 } >&5
4.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.768
4.769
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=NONE
4.774 +ac_site_file2=NONE
4.775 if test -n "$CONFIG_SITE"; then
4.776 - set x "$CONFIG_SITE"
4.777 + ac_site_file1=$CONFIG_SITE
4.778 elif test "x$prefix" != xNONE; then
4.779 - set x "$prefix/share/config.site" "$prefix/etc/config.site"
4.780 -else
4.781 - set x "$ac_default_prefix/share/config.site" \
4.782 - "$ac_default_prefix/etc/config.site"
4.783 -fi
4.784 -shift
4.785 -for ac_site_file
4.786 -do
4.787 + ac_site_file1=$prefix/share/config.site
4.788 + ac_site_file2=$prefix/etc/config.site
4.789 +else
4.790 + ac_site_file1=$ac_default_prefix/share/config.site
4.791 + ac_site_file2=$ac_default_prefix/etc/config.site
4.792 +fi
4.793 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4.794 +do
4.795 + test "x$ac_site_file" = xNONE && continue
4.796 if test -r "$ac_site_file"; then
4.797 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
4.798 -echo "$as_me: loading site script $ac_site_file" >&6;}
4.799 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
4.800 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
4.801 sed 's/^/| /' "$ac_site_file" >&5
4.802 . "$ac_site_file"
4.803 fi
4.804 @@ -1734,16 +1832,16 @@
4.805 # Some versions of bash will fail to source /dev/null (special
4.806 # files actually), so we avoid doing that.
4.807 if test -f "$cache_file"; then
4.808 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4.809 -echo "$as_me: loading cache $cache_file" >&6;}
4.810 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
4.811 +$as_echo "$as_me: loading cache $cache_file" >&6;}
4.812 case $cache_file in
4.813 [\\/]* | ?:[\\/]* ) . "$cache_file";;
4.814 *) . "./$cache_file";;
4.815 esac
4.816 fi
4.817 else
4.818 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4.819 -echo "$as_me: creating cache $cache_file" >&6;}
4.820 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
4.821 +$as_echo "$as_me: creating cache $cache_file" >&6;}
4.822 >$cache_file
4.823 fi
4.824
4.825 @@ -1757,29 +1855,38 @@
4.826 eval ac_new_val=\$ac_env_${ac_var}_value
4.827 case $ac_old_set,$ac_new_set in
4.828 set,)
4.829 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4.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" >&5
4.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" >&5
4.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" >&5
4.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"; then
4.843 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4.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" >&5
4.846 -echo "$as_me: former value: $ac_old_val" >&2;}
4.847 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
4.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"; then
4.854 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4.855 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4.856 + ac_cache_corrupted=:
4.857 + else
4.858 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4.859 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4.860 + eval $ac_var=\$ac_old_val
4.861 + fi
4.862 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
4.863 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
4.864 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
4.865 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
4.866 fi;;
4.867 esac
4.868 # Pass precious variables to config.status.
4.869 if test "$ac_new_set" = set; then
4.870 case $ac_new_val in
4.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 esac
4.875 case " $ac_configure_args " in
4.876 @@ -1789,10 +1896,10 @@
4.877 fi
4.878 done
4.879 if $ac_cache_corrupted; then
4.880 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
4.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" >&5
4.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" >&5
4.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" >&5
4.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 fi
4.890
4.891 @@ -1819,7 +1926,7 @@
4.892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4.893
4.894
4.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/../.."; do
4.899 if test -f "$ac_dir/install-sh"; then
4.900 @@ -1837,8 +1944,8 @@
4.901 fi
4.902 done
4.903 if test -z "$ac_aux_dir"; then
4.904 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4.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/../..\"" >&5
4.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 fi
4.910
4.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 semantic
4.914 # ./install, which can be erroneously created by make from ./install.sh.
4.915 -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4.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" >&5
4.919 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
4.920 if test -z "$INSTALL"; then
4.921 if test "${ac_cv_path_install+set}" = set; then
4.922 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.923 + $as_echo_n "(cached) " >&6
4.924 else
4.925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.926 for as_dir in $PATH
4.927 @@ -1897,17 +2005,29 @@
4.928 # program-specific install script used by HP pwplus--don't use.
4.929 :
4.930 else
4.931 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4.932 - break 3
4.933 + rm -rf conftest.one conftest.two conftest.dir
4.934 + echo one > conftest.one
4.935 + echo two > conftest.two
4.936 + mkdir conftest.dir
4.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.two
4.941 + then
4.942 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4.943 + break 3
4.944 + fi
4.945 fi
4.946 fi
4.947 done
4.948 done
4.949 ;;
4.950 esac
4.951 -done
4.952 -IFS=$as_save_IFS
4.953 -
4.954 +
4.955 +done
4.956 +IFS=$as_save_IFS
4.957 +
4.958 +rm -rf conftest.one conftest.two conftest.dir
4.959
4.960 fi
4.961 if test "${ac_cv_path_install+set}" = set; then
4.962 @@ -1920,8 +2040,8 @@
4.963 INSTALL=$ac_install_sh
4.964 fi
4.965 fi
4.966 -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4.967 -echo "${ECHO_T}$INSTALL" >&6; }
4.968 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4.969 +$as_echo "$INSTALL" >&6; }
4.970
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.974
4.975 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4.976
4.977 -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
4.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" >&5
4.980 +$as_echo_n "checking whether build environment is sane... " >&6; }
4.981 # Just in case
4.982 sleep 1
4.983 echo timestamp > conftest.file
4.984 @@ -1955,9 +2075,9 @@
4.985 # if, for instance, CONFIG_SHELL is bash and it inherits a
4.986 # broken ls alias from the environment. This has actually
4.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 broken
4.989 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
4.990 alias in your environment" >&5
4.991 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
4.992 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
4.993 alias in your environment" >&2;}
4.994 { (exit 1); exit 1; }; }
4.995 fi
4.996 @@ -1968,27 +2088,23 @@
4.997 # Ok.
4.998 :
4.999 else
4.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" >&5
4.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 fi
4.1008 -{ echo "$as_me:$LINENO: result: yes" >&5
4.1009 -echo "${ECHO_T}yes" >&6; }
4.1010 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
4.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.sed
4.1021 -s/[\\$]/&&/g;s/;s,x,x,$//
4.1022 -_ACEOF
4.1023 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4.1024 -rm -f conftest.sed
4.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.1028
4.1029 # expand $ac_aux_dir to an absolute path
4.1030 am_aux_dir=`cd $ac_aux_dir && pwd`
4.1031 @@ -1999,18 +2115,51 @@
4.1032 am_missing_run="$MISSING --run "
4.1033 else
4.1034 am_missing_run=
4.1035 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4.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" >&5
4.1038 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4.1039 +fi
4.1040 +
4.1041 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
4.1042 + # We used to keeping the `.' as first argument, in order to
4.1043 + # allow $(mkdir_p) to be used without argument. As in
4.1044 + # $(mkdir_p) $(somedir)
4.1045 + # where $(somedir) is conditionally defined. However this is wrong
4.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 read
4.1050 + # $(mkdir_p) $(DESTDIR)$(somedir)
4.1051 + # so it does not work when $(somedir) is undefined and
4.1052 + # $(DESTDIR) is not.
4.1053 + # To support the latter case, we have to write
4.1054 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
4.1055 + # so the `.' trick is pointless.
4.1056 + mkdir_p='mkdir -p --'
4.1057 +else
4.1058 + # On NextStep and OpenStep, the `mkdir' command does not
4.1059 + # recognize any option. It will interpret all options as
4.1060 + # directories to create, and then abort because `.' already
4.1061 + # exists.
4.1062 + for d in ./-p ./--version;
4.1063 + do
4.1064 + test -d $d && rmdir $d
4.1065 + done
4.1066 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
4.1067 + if test -f "$ac_aux_dir/mkinstalldirs"; then
4.1068 + mkdir_p='$(mkinstalldirs)'
4.1069 + else
4.1070 + mkdir_p='$(install_sh) -d'
4.1071 + fi
4.1072 fi
4.1073
4.1074 for ac_prog in gawk mawk nawk awk
4.1075 do
4.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=$2
4.1078 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1079 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1080 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1081 +$as_echo_n "checking for $ac_word... " >&6; }
4.1082 if test "${ac_cv_prog_AWK+set}" = set; then
4.1083 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1084 + $as_echo_n "(cached) " >&6
4.1085 else
4.1086 if test -n "$AWK"; then
4.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; do
4.1090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1091 ac_cv_prog_AWK="$ac_prog"
4.1092 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1093 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1094 break 2
4.1095 fi
4.1096 done
4.1097 @@ -2034,22 +2183,23 @@
4.1098 fi
4.1099 AWK=$ac_cv_prog_AWK
4.1100 if test -n "$AWK"; then
4.1101 - { echo "$as_me:$LINENO: result: $AWK" >&5
4.1102 -echo "${ECHO_T}$AWK" >&6; }
4.1103 -else
4.1104 - { echo "$as_me:$LINENO: result: no" >&5
4.1105 -echo "${ECHO_T}no" >&6; }
4.1106 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4.1107 +$as_echo "$AWK" >&6; }
4.1108 +else
4.1109 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1110 +$as_echo "no" >&6; }
4.1111 fi
4.1112
4.1113
4.1114 test -n "$AWK" && break
4.1115 done
4.1116
4.1117 -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4.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)" >&5
4.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"; }; then
4.1125 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1126 + $as_echo_n "(cached) " >&6
4.1127 else
4.1128 cat >conftest.make <<\_ACEOF
4.1129 SHELL = /bin/sh
4.1130 @@ -2066,12 +2216,12 @@
4.1131 rm -f conftest.make
4.1132 fi
4.1133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4.1134 - { echo "$as_me:$LINENO: result: yes" >&5
4.1135 -echo "${ECHO_T}yes" >&6; }
4.1136 + { $as_echo "$as_me:$LINENO: result: yes" >&5
4.1137 +$as_echo "yes" >&6; }
4.1138 SET_MAKE=
4.1139 else
4.1140 - { echo "$as_me:$LINENO: result: no" >&5
4.1141 -echo "${ECHO_T}no" >&6; }
4.1142 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1143 +$as_echo "no" >&6; }
4.1144 SET_MAKE="MAKE=${MAKE-make}"
4.1145 fi
4.1146
4.1147 @@ -2084,11 +2234,11 @@
4.1148 fi
4.1149 rmdir .tst 2>/dev/null
4.1150
4.1151 - # test to see if srcdir already configured
4.1152 +# test to see if srcdir already configured
4.1153 if test "`cd $srcdir && pwd`" != "`pwd`" &&
4.1154 test -f $srcdir/config.status; then
4.1155 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4.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" >&5
4.1158 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4.1159 { (exit 1); exit 1; }; }
4.1160 fi
4.1161
4.1162 @@ -2132,9 +2282,6 @@
4.1163
4.1164 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4.1165
4.1166 -
4.1167 -AMTAR=${AMTAR-"${am_missing_run}tar"}
4.1168 -
4.1169 install_sh=${install_sh-"$am_aux_dir/install-sh"}
4.1170
4.1171 # Installed binaries are usually stripped using `strip' when the user
4.1172 @@ -2145,10 +2292,10 @@
4.1173 if test -n "$ac_tool_prefix"; then
4.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=$2
4.1176 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1177 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1178 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1179 +$as_echo_n "checking for $ac_word... " >&6; }
4.1180 if test "${ac_cv_prog_STRIP+set}" = set; then
4.1181 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1182 + $as_echo_n "(cached) " >&6
4.1183 else
4.1184 if test -n "$STRIP"; then
4.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; do
4.1188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4.1190 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1191 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1192 break 2
4.1193 fi
4.1194 done
4.1195 @@ -2172,11 +2319,11 @@
4.1196 fi
4.1197 STRIP=$ac_cv_prog_STRIP
4.1198 if test -n "$STRIP"; then
4.1199 - { echo "$as_me:$LINENO: result: $STRIP" >&5
4.1200 -echo "${ECHO_T}$STRIP" >&6; }
4.1201 -else
4.1202 - { echo "$as_me:$LINENO: result: no" >&5
4.1203 -echo "${ECHO_T}no" >&6; }
4.1204 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4.1205 +$as_echo "$STRIP" >&6; }
4.1206 +else
4.1207 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1208 +$as_echo "no" >&6; }
4.1209 fi
4.1210
4.1211
4.1212 @@ -2185,10 +2332,10 @@
4.1213 ac_ct_STRIP=$STRIP
4.1214 # Extract the first word of "strip", so it can be a program name with args.
4.1215 set dummy strip; ac_word=$2
4.1216 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1217 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1218 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1219 +$as_echo_n "checking for $ac_word... " >&6; }
4.1220 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4.1221 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1222 + $as_echo_n "(cached) " >&6
4.1223 else
4.1224 if test -n "$ac_ct_STRIP"; then
4.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; do
4.1228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1229 ac_cv_prog_ac_ct_STRIP="strip"
4.1230 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1231 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1232 break 2
4.1233 fi
4.1234 done
4.1235 @@ -2212,11 +2359,11 @@
4.1236 fi
4.1237 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4.1238 if test -n "$ac_ct_STRIP"; then
4.1239 - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4.1240 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4.1241 -else
4.1242 - { echo "$as_me:$LINENO: result: no" >&5
4.1243 -echo "${ECHO_T}no" >&6; }
4.1244 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4.1245 +$as_echo "$ac_ct_STRIP" >&6; }
4.1246 +else
4.1247 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1248 +$as_echo "no" >&6; }
4.1249 fi
4.1250
4.1251 if test "x$ac_ct_STRIP" = x; then
4.1252 @@ -2224,10 +2371,10 @@
4.1253 else
4.1254 case $cross_compiling:$ac_tool_warned in
4.1255 yes:)
4.1256 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1257 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1258 whose name does not start with the host triplet. If you think this
4.1259 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.1260 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1261 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1262 whose name does not start with the host triplet. If you think this
4.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.1266
4.1267 # We need awk for the "check" target. The system "awk" is bad on
4.1268 # some platforms.
4.1269 -
4.1270 -
4.1271 -
4.1272 -{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4.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" >&5
4.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; then
4.1288 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4.1289 @@ -2255,8 +2409,8 @@
4.1290 USE_MAINTAINER_MODE=no
4.1291 fi
4.1292
4.1293 - { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4.1294 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4.1295 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4.1296 +$as_echo "$USE_MAINTAINER_MODE" >&6; }
4.1297
4.1298
4.1299 if test $USE_MAINTAINER_MODE = yes; then
4.1300 @@ -2285,8 +2439,8 @@
4.1301 .PHONY: am__doit
4.1302 END
4.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" >&5
4.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" >&5
4.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=none
4.1311 @@ -2313,8 +2467,8 @@
4.1312 fi
4.1313
4.1314
4.1315 -{ echo "$as_me:$LINENO: result: $_am_result" >&5
4.1316 -echo "${ECHO_T}$_am_result" >&6; }
4.1317 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4.1318 +$as_echo "$_am_result" >&6; }
4.1319 rm -f confinc confmf
4.1320
4.1321 # Check whether --enable-dependency-tracking was given.
4.1322 @@ -2346,10 +2500,10 @@
4.1323 if test -n "$ac_tool_prefix"; then
4.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=$2
4.1326 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1327 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1328 -if test "${ac_cv_prog_CC+set}" = set; then
4.1329 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1330 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1331 +$as_echo_n "checking for $ac_word... " >&6; }
4.1332 +if test "${ac_cv_prog_CC+set}" = set; then
4.1333 + $as_echo_n "(cached) " >&6
4.1334 else
4.1335 if test -n "$CC"; then
4.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; do
4.1339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4.1341 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1342 - break 2
4.1343 - fi
4.1344 -done
4.1345 -done
4.1346 -IFS=$as_save_IFS
4.1347 -
4.1348 -fi
4.1349 -fi
4.1350 -CC=$ac_cv_prog_CC
4.1351 -if test -n "$CC"; then
4.1352 - { echo "$as_me:$LINENO: result: $CC" >&5
4.1353 -echo "${ECHO_T}$CC" >&6; }
4.1354 -else
4.1355 - { echo "$as_me:$LINENO: result: no" >&5
4.1356 -echo "${ECHO_T}no" >&6; }
4.1357 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1358 + break 2
4.1359 + fi
4.1360 +done
4.1361 +done
4.1362 +IFS=$as_save_IFS
4.1363 +
4.1364 +fi
4.1365 +fi
4.1366 +CC=$ac_cv_prog_CC
4.1367 +if test -n "$CC"; then
4.1368 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.1369 +$as_echo "$CC" >&6; }
4.1370 +else
4.1371 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1372 +$as_echo "no" >&6; }
4.1373 fi
4.1374
4.1375
4.1376 @@ -2386,10 +2540,10 @@
4.1377 ac_ct_CC=$CC
4.1378 # Extract the first word of "gcc", so it can be a program name with args.
4.1379 set dummy gcc; ac_word=$2
4.1380 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1381 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1382 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1383 +$as_echo_n "checking for $ac_word... " >&6; }
4.1384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.1385 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1386 + $as_echo_n "(cached) " >&6
4.1387 else
4.1388 if test -n "$ac_ct_CC"; then
4.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; do
4.1392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1393 ac_cv_prog_ac_ct_CC="gcc"
4.1394 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1395 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1396 break 2
4.1397 fi
4.1398 done
4.1399 @@ -2413,11 +2567,11 @@
4.1400 fi
4.1401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.1402 if test -n "$ac_ct_CC"; then
4.1403 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.1404 -echo "${ECHO_T}$ac_ct_CC" >&6; }
4.1405 -else
4.1406 - { echo "$as_me:$LINENO: result: no" >&5
4.1407 -echo "${ECHO_T}no" >&6; }
4.1408 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.1409 +$as_echo "$ac_ct_CC" >&6; }
4.1410 +else
4.1411 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1412 +$as_echo "no" >&6; }
4.1413 fi
4.1414
4.1415 if test "x$ac_ct_CC" = x; then
4.1416 @@ -2425,10 +2579,10 @@
4.1417 else
4.1418 case $cross_compiling:$ac_tool_warned in
4.1419 yes:)
4.1420 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1421 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1422 whose name does not start with the host triplet. If you think this
4.1423 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.1424 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1425 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1426 whose name does not start with the host triplet. If you think this
4.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"; then
4.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=$2
4.1433 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1434 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1435 -if test "${ac_cv_prog_CC+set}" = set; then
4.1436 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1437 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1438 +$as_echo_n "checking for $ac_word... " >&6; }
4.1439 +if test "${ac_cv_prog_CC+set}" = set; then
4.1440 + $as_echo_n "(cached) " >&6
4.1441 else
4.1442 if test -n "$CC"; then
4.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; do
4.1446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1447 ac_cv_prog_CC="${ac_tool_prefix}cc"
4.1448 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1449 - break 2
4.1450 - fi
4.1451 -done
4.1452 -done
4.1453 -IFS=$as_save_IFS
4.1454 -
4.1455 -fi
4.1456 -fi
4.1457 -CC=$ac_cv_prog_CC
4.1458 -if test -n "$CC"; then
4.1459 - { echo "$as_me:$LINENO: result: $CC" >&5
4.1460 -echo "${ECHO_T}$CC" >&6; }
4.1461 -else
4.1462 - { echo "$as_me:$LINENO: result: no" >&5
4.1463 -echo "${ECHO_T}no" >&6; }
4.1464 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1465 + break 2
4.1466 + fi
4.1467 +done
4.1468 +done
4.1469 +IFS=$as_save_IFS
4.1470 +
4.1471 +fi
4.1472 +fi
4.1473 +CC=$ac_cv_prog_CC
4.1474 +if test -n "$CC"; then
4.1475 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.1476 +$as_echo "$CC" >&6; }
4.1477 +else
4.1478 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1479 +$as_echo "no" >&6; }
4.1480 fi
4.1481
4.1482
4.1483 @@ -2483,10 +2637,10 @@
4.1484 if test -z "$CC"; then
4.1485 # Extract the first word of "cc", so it can be a program name with args.
4.1486 set dummy cc; ac_word=$2
4.1487 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1488 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1489 -if test "${ac_cv_prog_CC+set}" = set; then
4.1490 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1491 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1492 +$as_echo_n "checking for $ac_word... " >&6; }
4.1493 +if test "${ac_cv_prog_CC+set}" = set; then
4.1494 + $as_echo_n "(cached) " >&6
4.1495 else
4.1496 if test -n "$CC"; then
4.1497 ac_cv_prog_CC="$CC" # Let the user override the test.
4.1498 @@ -2504,7 +2658,7 @@
4.1499 continue
4.1500 fi
4.1501 ac_cv_prog_CC="cc"
4.1502 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1503 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1504 break 2
4.1505 fi
4.1506 done
4.1507 @@ -2527,11 +2681,11 @@
4.1508 fi
4.1509 CC=$ac_cv_prog_CC
4.1510 if test -n "$CC"; then
4.1511 - { echo "$as_me:$LINENO: result: $CC" >&5
4.1512 -echo "${ECHO_T}$CC" >&6; }
4.1513 -else
4.1514 - { echo "$as_me:$LINENO: result: no" >&5
4.1515 -echo "${ECHO_T}no" >&6; }
4.1516 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.1517 +$as_echo "$CC" >&6; }
4.1518 +else
4.1519 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1520 +$as_echo "no" >&6; }
4.1521 fi
4.1522
4.1523
4.1524 @@ -2542,10 +2696,10 @@
4.1525 do
4.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=$2
4.1528 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1529 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1530 -if test "${ac_cv_prog_CC+set}" = set; then
4.1531 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1532 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1533 +$as_echo_n "checking for $ac_word... " >&6; }
4.1534 +if test "${ac_cv_prog_CC+set}" = set; then
4.1535 + $as_echo_n "(cached) " >&6
4.1536 else
4.1537 if test -n "$CC"; then
4.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; do
4.1541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4.1543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1544 - break 2
4.1545 - fi
4.1546 -done
4.1547 -done
4.1548 -IFS=$as_save_IFS
4.1549 -
4.1550 -fi
4.1551 -fi
4.1552 -CC=$ac_cv_prog_CC
4.1553 -if test -n "$CC"; then
4.1554 - { echo "$as_me:$LINENO: result: $CC" >&5
4.1555 -echo "${ECHO_T}$CC" >&6; }
4.1556 -else
4.1557 - { echo "$as_me:$LINENO: result: no" >&5
4.1558 -echo "${ECHO_T}no" >&6; }
4.1559 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1560 + break 2
4.1561 + fi
4.1562 +done
4.1563 +done
4.1564 +IFS=$as_save_IFS
4.1565 +
4.1566 +fi
4.1567 +fi
4.1568 +CC=$ac_cv_prog_CC
4.1569 +if test -n "$CC"; then
4.1570 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.1571 +$as_echo "$CC" >&6; }
4.1572 +else
4.1573 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1574 +$as_echo "no" >&6; }
4.1575 fi
4.1576
4.1577
4.1578 @@ -2586,10 +2740,10 @@
4.1579 do
4.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=$2
4.1582 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1583 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.1584 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.1585 +$as_echo_n "checking for $ac_word... " >&6; }
4.1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.1587 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1588 + $as_echo_n "(cached) " >&6
4.1589 else
4.1590 if test -n "$ac_ct_CC"; then
4.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; do
4.1594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.1595 ac_cv_prog_ac_ct_CC="$ac_prog"
4.1596 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1597 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.1598 break 2
4.1599 fi
4.1600 done
4.1601 @@ -2613,11 +2767,11 @@
4.1602 fi
4.1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.1604 if test -n "$ac_ct_CC"; then
4.1605 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.1606 -echo "${ECHO_T}$ac_ct_CC" >&6; }
4.1607 -else
4.1608 - { echo "$as_me:$LINENO: result: no" >&5
4.1609 -echo "${ECHO_T}no" >&6; }
4.1610 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.1611 +$as_echo "$ac_ct_CC" >&6; }
4.1612 +else
4.1613 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.1614 +$as_echo "no" >&6; }
4.1615 fi
4.1616
4.1617
4.1618 @@ -2629,10 +2783,10 @@
4.1619 else
4.1620 case $cross_compiling:$ac_tool_warned in
4.1621 yes:)
4.1622 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1623 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.1624 whose name does not start with the host triplet. If you think this
4.1625 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.1626 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1627 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.1628 whose name does not start with the host triplet. If you think this
4.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 fi
4.1633
4.1634
4.1635 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4.1636 -See \`config.log' for more details." >&5
4.1637 -echo "$as_me: error: no acceptable C compiler found in \$PATH
4.1638 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4.1639 +See \`config.log' for more details." >&5
4.1640 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4.1641 See \`config.log' for more details." >&2;}
4.1642 { (exit 1); exit 1; }; }
4.1643
4.1644 # Provide some information about the compiler.
4.1645 -echo "$as_me:$LINENO: checking for C compiler version" >&5
4.1646 -ac_compiler=`set X $ac_compile; echo $2`
4.1647 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4.1648 +set X $ac_compile
4.1649 +ac_compiler=$2
4.1650 { (ac_try="$ac_compiler --version >&5"
4.1651 case "(($ac_try" in
4.1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1653 *) ac_try_echo=$ac_try;;
4.1654 esac
4.1655 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1656 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1657 +$as_echo "$ac_try_echo") >&5
4.1658 (eval "$ac_compiler --version >&5") 2>&5
4.1659 ac_status=$?
4.1660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1661 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1662 (exit $ac_status); }
4.1663 { (ac_try="$ac_compiler -v >&5"
4.1664 case "(($ac_try" in
4.1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1666 *) ac_try_echo=$ac_try;;
4.1667 esac
4.1668 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1669 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1670 +$as_echo "$ac_try_echo") >&5
4.1671 (eval "$ac_compiler -v >&5") 2>&5
4.1672 ac_status=$?
4.1673 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1674 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1675 (exit $ac_status); }
4.1676 { (ac_try="$ac_compiler -V >&5"
4.1677 case "(($ac_try" in
4.1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1679 *) ac_try_echo=$ac_try;;
4.1680 esac
4.1681 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1682 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1683 +$as_echo "$ac_try_echo") >&5
4.1684 (eval "$ac_compiler -V >&5") 2>&5
4.1685 ac_status=$?
4.1686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1687 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1688 (exit $ac_status); }
4.1689
4.1690 cat >conftest.$ac_ext <<_ACEOF
4.1691 @@ -2700,27 +2858,22 @@
4.1692 }
4.1693 _ACEOF
4.1694 ac_clean_files_save=$ac_clean_files
4.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 intuition
4.1699 # of exeext.
4.1700 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4.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 be
4.1710 -# executable, retaining their permissions. Remove them first so a
4.1711 -# subsequent execution test works.
4.1712 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4.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_files
4.1721 do
4.1722 case $ac_file in
4.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 esac
4.1727 done
4.1728 @@ -2731,10 +2884,11 @@
4.1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1730 *) ac_try_echo=$ac_try;;
4.1731 esac
4.1732 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1733 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1734 +$as_echo "$ac_try_echo") >&5
4.1735 (eval "$ac_link_default") 2>&5
4.1736 ac_status=$?
4.1737 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1738 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1739 (exit $ac_status); }; then
4.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 do
4.1744 test -f "$ac_file" || continue
4.1745 case $ac_file in
4.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 most
4.1751 @@ -2772,15 +2926,15 @@
4.1752 ac_file=''
4.1753 fi
4.1754
4.1755 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
4.1756 -echo "${ECHO_T}$ac_file" >&6; }
4.1757 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4.1758 +$as_echo "$ac_file" >&6; }
4.1759 if test -z "$ac_file"; then
4.1760 - echo "$as_me: failed program was:" >&5
4.1761 -sed 's/^/| /' conftest.$ac_ext >&5
4.1762 -
4.1763 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
4.1764 -See \`config.log' for more details." >&5
4.1765 -echo "$as_me: error: C compiler cannot create executables
4.1766 + $as_echo "$as_me: failed program was:" >&5
4.1767 +sed 's/^/| /' conftest.$ac_ext >&5
4.1768 +
4.1769 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4.1770 +See \`config.log' for more details." >&5
4.1771 +$as_echo "$as_me: error: C compiler cannot create executables
4.1772 See \`config.log' for more details." >&2;}
4.1773 { (exit 77); exit 77; }; }
4.1774 fi
4.1775 @@ -2789,8 +2943,8 @@
4.1776
4.1777 # Check that the compiler produces executables we can run. If not, either
4.1778 # the compiler is broken, or we cross compile.
4.1779 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4.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" >&5
4.1782 +$as_echo_n "checking whether the C compiler works... " >&6; }
4.1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4.1784 # If not cross compiling, check that we can run a simple program.
4.1785 if test "$cross_compiling" != yes; then
4.1786 @@ -2799,49 +2953,51 @@
4.1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1788 *) ac_try_echo=$ac_try;;
4.1789 esac
4.1790 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1791 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1792 +$as_echo "$ac_try_echo") >&5
4.1793 (eval "$ac_try") 2>&5
4.1794 ac_status=$?
4.1795 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1796 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1797 (exit $ac_status); }; }; then
4.1798 cross_compiling=no
4.1799 else
4.1800 if test "$cross_compiling" = maybe; then
4.1801 cross_compiling=yes
4.1802 else
4.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." >&5
4.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 fi
4.1813 fi
4.1814 fi
4.1815 -{ echo "$as_me:$LINENO: result: yes" >&5
4.1816 -echo "${ECHO_T}yes" >&6; }
4.1817 -
4.1818 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
4.1819 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
4.1820 +$as_echo "yes" >&6; }
4.1821 +
4.1822 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4.1823 ac_clean_files=$ac_clean_files_save
4.1824 # Check that the compiler produces executables we can run. If not, either
4.1825 # the compiler is broken, or we cross compile.
4.1826 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4.1827 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
4.1828 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
4.1829 -echo "${ECHO_T}$cross_compiling" >&6; }
4.1830 -
4.1831 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
4.1832 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
4.1833 -if { (ac_try="$ac_link"
4.1834 -case "(($ac_try" in
4.1835 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1836 - *) ac_try_echo=$ac_try;;
4.1837 -esac
4.1838 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1839 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4.1840 +$as_echo_n "checking whether we are cross compiling... " >&6; }
4.1841 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4.1842 +$as_echo "$cross_compiling" >&6; }
4.1843 +
4.1844 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4.1845 +$as_echo_n "checking for suffix of executables... " >&6; }
4.1846 +if { (ac_try="$ac_link"
4.1847 +case "(($ac_try" in
4.1848 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.1849 + *) ac_try_echo=$ac_try;;
4.1850 +esac
4.1851 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1852 +$as_echo "$ac_try_echo") >&5
4.1853 (eval "$ac_link") 2>&5
4.1854 ac_status=$?
4.1855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1856 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1857 (exit $ac_status); }; then
4.1858 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4.1859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4.1860 @@ -2850,31 +3006,31 @@
4.1861 for ac_file in conftest.exe conftest conftest.*; do
4.1862 test -f "$ac_file" || continue
4.1863 case $ac_file in
4.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 esac
4.1870 done
4.1871 else
4.1872 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4.1873 -See \`config.log' for more details." >&5
4.1874 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4.1875 + { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4.1876 +See \`config.log' for more details." >&5
4.1877 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4.1878 See \`config.log' for more details." >&2;}
4.1879 { (exit 1); exit 1; }; }
4.1880 fi
4.1881
4.1882 rm -f conftest$ac_cv_exeext
4.1883 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4.1884 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
4.1885 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4.1886 +$as_echo "$ac_cv_exeext" >&6; }
4.1887
4.1888 rm -f conftest.$ac_ext
4.1889 EXEEXT=$ac_cv_exeext
4.1890 ac_exeext=$EXEEXT
4.1891 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
4.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" >&5
4.1894 +$as_echo_n "checking for suffix of object files... " >&6; }
4.1895 if test "${ac_cv_objext+set}" = set; then
4.1896 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1897 + $as_echo_n "(cached) " >&6
4.1898 else
4.1899 cat >conftest.$ac_ext <<_ACEOF
4.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 esac
4.1905 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1906 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1907 +$as_echo "$ac_try_echo") >&5
4.1908 (eval "$ac_compile") 2>&5
4.1909 ac_status=$?
4.1910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1911 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1912 (exit $ac_status); }; then
4.1913 for ac_file in conftest.o conftest.obj conftest.*; do
4.1914 test -f "$ac_file" || continue;
4.1915 case $ac_file in
4.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 esac
4.1921 done
4.1922 else
4.1923 - echo "$as_me: failed program was:" >&5
4.1924 -sed 's/^/| /' conftest.$ac_ext >&5
4.1925 -
4.1926 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4.1927 -See \`config.log' for more details." >&5
4.1928 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
4.1929 + $as_echo "$as_me: failed program was:" >&5
4.1930 +sed 's/^/| /' conftest.$ac_ext >&5
4.1931 +
4.1932 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4.1933 +See \`config.log' for more details." >&5
4.1934 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4.1935 See \`config.log' for more details." >&2;}
4.1936 { (exit 1); exit 1; }; }
4.1937 fi
4.1938
4.1939 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4.1940 fi
4.1941 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4.1942 -echo "${ECHO_T}$ac_cv_objext" >&6; }
4.1943 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4.1944 +$as_echo "$ac_cv_objext" >&6; }
4.1945 OBJEXT=$ac_cv_objext
4.1946 ac_objext=$OBJEXT
4.1947 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4.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" >&5
4.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; then
4.1952 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.1953 + $as_echo_n "(cached) " >&6
4.1954 else
4.1955 cat >conftest.$ac_ext <<_ACEOF
4.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 esac
4.1961 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.1962 - (eval "$ac_compile") 2>conftest.er1
4.1963 - ac_status=$?
4.1964 - grep -v '^ *+' conftest.er1 >conftest.err
4.1965 - rm -f conftest.er1
4.1966 - cat conftest.err >&5
4.1967 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1968 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.1969 +$as_echo "$ac_try_echo") >&5
4.1970 + (eval "$ac_compile") 2>conftest.er1
4.1971 + ac_status=$?
4.1972 + grep -v '^ *+' conftest.er1 >conftest.err
4.1973 + rm -f conftest.er1
4.1974 + cat conftest.err >&5
4.1975 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.1976 (exit $ac_status); } && {
4.1977 test -z "$ac_c_werror_flag" ||
4.1978 test ! -s conftest.err
4.1979 } && test -s conftest.$ac_objext; then
4.1980 ac_compiler_gnu=yes
4.1981 else
4.1982 - echo "$as_me: failed program was:" >&5
4.1983 + $as_echo "$as_me: failed program was:" >&5
4.1984 sed 's/^/| /' conftest.$ac_ext >&5
4.1985
4.1986 ac_compiler_gnu=no
4.1987 @@ -2979,15 +3137,19 @@
4.1988 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4.1989
4.1990 fi
4.1991 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4.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" >&5
4.1995 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4.1996 +if test $ac_compiler_gnu = yes; then
4.1997 + GCC=yes
4.1998 +else
4.1999 + GCC=
4.2000 +fi
4.2001 ac_test_CFLAGS=${CFLAGS+set}
4.2002 ac_save_CFLAGS=$CFLAGS
4.2003 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4.2004 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4.2005 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4.2006 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
4.2007 if test "${ac_cv_prog_cc_g+set}" = set; then
4.2008 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2009 + $as_echo_n "(cached) " >&6
4.2010 else
4.2011 ac_save_c_werror_flag=$ac_c_werror_flag
4.2012 ac_c_werror_flag=yes
4.2013 @@ -3014,20 +3176,21 @@
4.2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2015 *) ac_try_echo=$ac_try;;
4.2016 esac
4.2017 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2018 - (eval "$ac_compile") 2>conftest.er1
4.2019 - ac_status=$?
4.2020 - grep -v '^ *+' conftest.er1 >conftest.err
4.2021 - rm -f conftest.er1
4.2022 - cat conftest.err >&5
4.2023 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2024 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2025 +$as_echo "$ac_try_echo") >&5
4.2026 + (eval "$ac_compile") 2>conftest.er1
4.2027 + ac_status=$?
4.2028 + grep -v '^ *+' conftest.er1 >conftest.err
4.2029 + rm -f conftest.er1
4.2030 + cat conftest.err >&5
4.2031 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2032 (exit $ac_status); } && {
4.2033 test -z "$ac_c_werror_flag" ||
4.2034 test ! -s conftest.err
4.2035 } && test -s conftest.$ac_objext; then
4.2036 ac_cv_prog_cc_g=yes
4.2037 else
4.2038 - echo "$as_me: failed program was:" >&5
4.2039 + $as_echo "$as_me: failed program was:" >&5
4.2040 sed 's/^/| /' conftest.$ac_ext >&5
4.2041
4.2042 CFLAGS=""
4.2043 @@ -3052,20 +3215,21 @@
4.2044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2045 *) ac_try_echo=$ac_try;;
4.2046 esac
4.2047 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2048 - (eval "$ac_compile") 2>conftest.er1
4.2049 - ac_status=$?
4.2050 - grep -v '^ *+' conftest.er1 >conftest.err
4.2051 - rm -f conftest.er1
4.2052 - cat conftest.err >&5
4.2053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2054 - (exit $ac_status); } && {
4.2055 - test -z "$ac_c_werror_flag" ||
4.2056 - test ! -s conftest.err
4.2057 - } && test -s conftest.$ac_objext; then
4.2058 - :
4.2059 -else
4.2060 - echo "$as_me: failed program was:" >&5
4.2061 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2062 +$as_echo "$ac_try_echo") >&5
4.2063 + (eval "$ac_compile") 2>conftest.er1
4.2064 + ac_status=$?
4.2065 + grep -v '^ *+' conftest.er1 >conftest.err
4.2066 + rm -f conftest.er1
4.2067 + cat conftest.err >&5
4.2068 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2069 + (exit $ac_status); } && {
4.2070 + test -z "$ac_c_werror_flag" ||
4.2071 + test ! -s conftest.err
4.2072 + } && test -s conftest.$ac_objext; then
4.2073 + :
4.2074 +else
4.2075 + $as_echo "$as_me: failed program was:" >&5
4.2076 sed 's/^/| /' conftest.$ac_ext >&5
4.2077
4.2078 ac_c_werror_flag=$ac_save_c_werror_flag
4.2079 @@ -3091,20 +3255,21 @@
4.2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2081 *) ac_try_echo=$ac_try;;
4.2082 esac
4.2083 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2084 - (eval "$ac_compile") 2>conftest.er1
4.2085 - ac_status=$?
4.2086 - grep -v '^ *+' conftest.er1 >conftest.err
4.2087 - rm -f conftest.er1
4.2088 - cat conftest.err >&5
4.2089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2090 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2091 +$as_echo "$ac_try_echo") >&5
4.2092 + (eval "$ac_compile") 2>conftest.er1
4.2093 + ac_status=$?
4.2094 + grep -v '^ *+' conftest.er1 >conftest.err
4.2095 + rm -f conftest.er1
4.2096 + cat conftest.err >&5
4.2097 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2098 (exit $ac_status); } && {
4.2099 test -z "$ac_c_werror_flag" ||
4.2100 test ! -s conftest.err
4.2101 } && test -s conftest.$ac_objext; then
4.2102 ac_cv_prog_cc_g=yes
4.2103 else
4.2104 - echo "$as_me: failed program was:" >&5
4.2105 + $as_echo "$as_me: failed program was:" >&5
4.2106 sed 's/^/| /' conftest.$ac_ext >&5
4.2107
4.2108
4.2109 @@ -3119,8 +3284,8 @@
4.2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.2111 ac_c_werror_flag=$ac_save_c_werror_flag
4.2112 fi
4.2113 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4.2114 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4.2115 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4.2116 +$as_echo "$ac_cv_prog_cc_g" >&6; }
4.2117 if test "$ac_test_CFLAGS" = set; then
4.2118 CFLAGS=$ac_save_CFLAGS
4.2119 elif test $ac_cv_prog_cc_g = yes; then
4.2120 @@ -3136,10 +3301,10 @@
4.2121 CFLAGS=
4.2122 fi
4.2123 fi
4.2124 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4.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" >&5
4.2127 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4.2128 if test "${ac_cv_prog_cc_c89+set}" = set; then
4.2129 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2130 + $as_echo_n "(cached) " >&6
4.2131 else
4.2132 ac_cv_prog_cc_c89=no
4.2133 ac_save_CC=$CC
4.2134 @@ -3210,20 +3375,21 @@
4.2135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2136 *) ac_try_echo=$ac_try;;
4.2137 esac
4.2138 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2139 - (eval "$ac_compile") 2>conftest.er1
4.2140 - ac_status=$?
4.2141 - grep -v '^ *+' conftest.er1 >conftest.err
4.2142 - rm -f conftest.er1
4.2143 - cat conftest.err >&5
4.2144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2145 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2146 +$as_echo "$ac_try_echo") >&5
4.2147 + (eval "$ac_compile") 2>conftest.er1
4.2148 + ac_status=$?
4.2149 + grep -v '^ *+' conftest.er1 >conftest.err
4.2150 + rm -f conftest.er1
4.2151 + cat conftest.err >&5
4.2152 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2153 (exit $ac_status); } && {
4.2154 test -z "$ac_c_werror_flag" ||
4.2155 test ! -s conftest.err
4.2156 } && test -s conftest.$ac_objext; then
4.2157 ac_cv_prog_cc_c89=$ac_arg
4.2158 else
4.2159 - echo "$as_me: failed program was:" >&5
4.2160 + $as_echo "$as_me: failed program was:" >&5
4.2161 sed 's/^/| /' conftest.$ac_ext >&5
4.2162
4.2163
4.2164 @@ -3239,15 +3405,15 @@
4.2165 # AC_CACHE_VAL
4.2166 case "x$ac_cv_prog_cc_c89" in
4.2167 x)
4.2168 - { echo "$as_me:$LINENO: result: none needed" >&5
4.2169 -echo "${ECHO_T}none needed" >&6; } ;;
4.2170 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
4.2171 +$as_echo "none needed" >&6; } ;;
4.2172 xno)
4.2173 - { echo "$as_me:$LINENO: result: unsupported" >&5
4.2174 -echo "${ECHO_T}unsupported" >&6; } ;;
4.2175 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4.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" >&5
4.2180 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4.2181 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4.2182 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4.2183 esac
4.2184
4.2185
4.2186 @@ -3259,10 +3425,10 @@
4.2187
4.2188 depcc="$CC" am_compiler_list=
4.2189
4.2190 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4.2191 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4.2192 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4.2193 +$as_echo_n "checking dependency style of $depcc... " >&6; }
4.2194 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4.2195 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2196 + $as_echo_n "(cached) " >&6
4.2197 else
4.2198 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4.2199 # We make a subdir and do the tests there. Otherwise we can end up
4.2200 @@ -3298,7 +3464,9 @@
4.2201 : > sub/conftest.c
4.2202 for i in 1 2 3 4 5 6; do
4.2203 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4.2204 - : > sub/conftst$i.h
4.2205 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4.2206 + # Solaris 8's {/usr,}/bin/sh.
4.2207 + touch sub/conftst$i.h
4.2208 done
4.2209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4.2210
4.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; then
4.2214 # icc doesn't choke on unknown options, it will just issue warnings
4.2215 - # (even with -Werror). So we grep stderr for any message
4.2216 - # that says an option was ignored.
4.2217 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4.2218 + # or remarks (even with -Werror). So we grep stderr for any message
4.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 required
4.2222 + # The diagnosis changed in icc 8.0:
4.2223 + # icc: Command line remark: option '-MP' not supported
4.2224 + if (grep 'ignoring option' conftest.err ||
4.2225 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4.2226 am_cv_CC_dependencies_compiler_type=$depmode
4.2227 break
4.2228 fi
4.2229 @@ -3342,8 +3515,8 @@
4.2230 fi
4.2231
4.2232 fi
4.2233 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4.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" >&5
4.2236 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4.2237 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4.2238
4.2239
4.2240 @@ -3360,12 +3533,14 @@
4.2241
4.2242
4.2243
4.2244 -{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
4.2245 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4.2246 -if test "${ac_cv_search_strerror+set}" = set; then
4.2247 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2248 -else
4.2249 - ac_func_search_save_LIBS=$LIBS
4.2250 +
4.2251 + { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
4.2252 +$as_echo_n "checking for strerror in -lcposix... " >&6; }
4.2253 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
4.2254 + $as_echo_n "(cached) " >&6
4.2255 +else
4.2256 + ac_check_lib_save_LIBS=$LIBS
4.2257 +LIBS="-lcposix $LIBS"
4.2258 cat >conftest.$ac_ext <<_ACEOF
4.2259 /* confdefs.h. */
4.2260 _ACEOF
4.2261 @@ -3388,60 +3563,47 @@
4.2262 return 0;
4.2263 }
4.2264 _ACEOF
4.2265 -for ac_lib in '' cposix; do
4.2266 - if test -z "$ac_lib"; then
4.2267 - ac_res="none required"
4.2268 - else
4.2269 - ac_res=-l$ac_lib
4.2270 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4.2271 - fi
4.2272 - rm -f conftest.$ac_objext conftest$ac_exeext
4.2273 -if { (ac_try="$ac_link"
4.2274 -case "(($ac_try" in
4.2275 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2276 - *) ac_try_echo=$ac_try;;
4.2277 -esac
4.2278 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2279 - (eval "$ac_link") 2>conftest.er1
4.2280 - ac_status=$?
4.2281 - grep -v '^ *+' conftest.er1 >conftest.err
4.2282 - rm -f conftest.er1
4.2283 - cat conftest.err >&5
4.2284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2285 - (exit $ac_status); } && {
4.2286 - test -z "$ac_c_werror_flag" ||
4.2287 - test ! -s conftest.err
4.2288 - } && test -s conftest$ac_exeext &&
4.2289 - $as_test_x conftest$ac_exeext; then
4.2290 - ac_cv_search_strerror=$ac_res
4.2291 -else
4.2292 - echo "$as_me: failed program was:" >&5
4.2293 -sed 's/^/| /' conftest.$ac_ext >&5
4.2294 -
4.2295 -
4.2296 -fi
4.2297 -
4.2298 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4.2299 - conftest$ac_exeext
4.2300 - if test "${ac_cv_search_strerror+set}" = set; then
4.2301 - break
4.2302 -fi
4.2303 -done
4.2304 -if test "${ac_cv_search_strerror+set}" = set; then
4.2305 - :
4.2306 -else
4.2307 - ac_cv_search_strerror=no
4.2308 -fi
4.2309 -rm conftest.$ac_ext
4.2310 -LIBS=$ac_func_search_save_LIBS
4.2311 -fi
4.2312 -{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4.2313 -echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4.2314 -ac_res=$ac_cv_search_strerror
4.2315 -if test "$ac_res" != no; then
4.2316 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4.2317 -
4.2318 -fi
4.2319 +rm -f conftest.$ac_objext conftest$ac_exeext
4.2320 +if { (ac_try="$ac_link"
4.2321 +case "(($ac_try" in
4.2322 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2323 + *) ac_try_echo=$ac_try;;
4.2324 +esac
4.2325 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2326 +$as_echo "$ac_try_echo") >&5
4.2327 + (eval "$ac_link") 2>conftest.er1
4.2328 + ac_status=$?
4.2329 + grep -v '^ *+' conftest.er1 >conftest.err
4.2330 + rm -f conftest.er1
4.2331 + cat conftest.err >&5
4.2332 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2333 + (exit $ac_status); } && {
4.2334 + test -z "$ac_c_werror_flag" ||
4.2335 + test ! -s conftest.err
4.2336 + } && test -s conftest$ac_exeext && {
4.2337 + test "$cross_compiling" = yes ||
4.2338 + $as_test_x conftest$ac_exeext
4.2339 + }; then
4.2340 + ac_cv_lib_cposix_strerror=yes
4.2341 +else
4.2342 + $as_echo "$as_me: failed program was:" >&5
4.2343 +sed 's/^/| /' conftest.$ac_ext >&5
4.2344 +
4.2345 + ac_cv_lib_cposix_strerror=no
4.2346 +fi
4.2347 +
4.2348 +rm -rf conftest.dSYM
4.2349 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4.2350 + conftest$ac_exeext conftest.$ac_ext
4.2351 +LIBS=$ac_check_lib_save_LIBS
4.2352 +fi
4.2353 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
4.2354 +$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
4.2355 +if test $ac_cv_lib_cposix_strerror = yes; then
4.2356 + LIBS="$LIBS -lcposix"
4.2357 +fi
4.2358 +
4.2359 +
4.2360
4.2361 ac_ext=c
4.2362 ac_cpp='$CPP $CPPFLAGS'
4.2363 @@ -3451,10 +3613,10 @@
4.2364 if test -n "$ac_tool_prefix"; then
4.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=$2
4.2367 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2368 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2369 -if test "${ac_cv_prog_CC+set}" = set; then
4.2370 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2371 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2372 +$as_echo_n "checking for $ac_word... " >&6; }
4.2373 +if test "${ac_cv_prog_CC+set}" = set; then
4.2374 + $as_echo_n "(cached) " >&6
4.2375 else
4.2376 if test -n "$CC"; then
4.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; do
4.2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.2381 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4.2382 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2383 - break 2
4.2384 - fi
4.2385 -done
4.2386 -done
4.2387 -IFS=$as_save_IFS
4.2388 -
4.2389 -fi
4.2390 -fi
4.2391 -CC=$ac_cv_prog_CC
4.2392 -if test -n "$CC"; then
4.2393 - { echo "$as_me:$LINENO: result: $CC" >&5
4.2394 -echo "${ECHO_T}$CC" >&6; }
4.2395 -else
4.2396 - { echo "$as_me:$LINENO: result: no" >&5
4.2397 -echo "${ECHO_T}no" >&6; }
4.2398 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2399 + break 2
4.2400 + fi
4.2401 +done
4.2402 +done
4.2403 +IFS=$as_save_IFS
4.2404 +
4.2405 +fi
4.2406 +fi
4.2407 +CC=$ac_cv_prog_CC
4.2408 +if test -n "$CC"; then
4.2409 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.2410 +$as_echo "$CC" >&6; }
4.2411 +else
4.2412 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2413 +$as_echo "no" >&6; }
4.2414 fi
4.2415
4.2416
4.2417 @@ -3491,10 +3653,10 @@
4.2418 ac_ct_CC=$CC
4.2419 # Extract the first word of "gcc", so it can be a program name with args.
4.2420 set dummy gcc; ac_word=$2
4.2421 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2422 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2423 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2424 +$as_echo_n "checking for $ac_word... " >&6; }
4.2425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.2426 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2427 + $as_echo_n "(cached) " >&6
4.2428 else
4.2429 if test -n "$ac_ct_CC"; then
4.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; do
4.2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.2434 ac_cv_prog_ac_ct_CC="gcc"
4.2435 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2436 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2437 break 2
4.2438 fi
4.2439 done
4.2440 @@ -3518,11 +3680,11 @@
4.2441 fi
4.2442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.2443 if test -n "$ac_ct_CC"; then
4.2444 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.2445 -echo "${ECHO_T}$ac_ct_CC" >&6; }
4.2446 -else
4.2447 - { echo "$as_me:$LINENO: result: no" >&5
4.2448 -echo "${ECHO_T}no" >&6; }
4.2449 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.2450 +$as_echo "$ac_ct_CC" >&6; }
4.2451 +else
4.2452 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2453 +$as_echo "no" >&6; }
4.2454 fi
4.2455
4.2456 if test "x$ac_ct_CC" = x; then
4.2457 @@ -3530,10 +3692,10 @@
4.2458 else
4.2459 case $cross_compiling:$ac_tool_warned in
4.2460 yes:)
4.2461 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.2462 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.2463 whose name does not start with the host triplet. If you think this
4.2464 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.2465 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.2466 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.2467 whose name does not start with the host triplet. If you think this
4.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"; then
4.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=$2
4.2474 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2475 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2476 -if test "${ac_cv_prog_CC+set}" = set; then
4.2477 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2478 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2479 +$as_echo_n "checking for $ac_word... " >&6; }
4.2480 +if test "${ac_cv_prog_CC+set}" = set; then
4.2481 + $as_echo_n "(cached) " >&6
4.2482 else
4.2483 if test -n "$CC"; then
4.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; do
4.2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.2488 ac_cv_prog_CC="${ac_tool_prefix}cc"
4.2489 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2490 - break 2
4.2491 - fi
4.2492 -done
4.2493 -done
4.2494 -IFS=$as_save_IFS
4.2495 -
4.2496 -fi
4.2497 -fi
4.2498 -CC=$ac_cv_prog_CC
4.2499 -if test -n "$CC"; then
4.2500 - { echo "$as_me:$LINENO: result: $CC" >&5
4.2501 -echo "${ECHO_T}$CC" >&6; }
4.2502 -else
4.2503 - { echo "$as_me:$LINENO: result: no" >&5
4.2504 -echo "${ECHO_T}no" >&6; }
4.2505 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2506 + break 2
4.2507 + fi
4.2508 +done
4.2509 +done
4.2510 +IFS=$as_save_IFS
4.2511 +
4.2512 +fi
4.2513 +fi
4.2514 +CC=$ac_cv_prog_CC
4.2515 +if test -n "$CC"; then
4.2516 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.2517 +$as_echo "$CC" >&6; }
4.2518 +else
4.2519 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2520 +$as_echo "no" >&6; }
4.2521 fi
4.2522
4.2523
4.2524 @@ -3588,10 +3750,10 @@
4.2525 if test -z "$CC"; then
4.2526 # Extract the first word of "cc", so it can be a program name with args.
4.2527 set dummy cc; ac_word=$2
4.2528 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2529 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2530 -if test "${ac_cv_prog_CC+set}" = set; then
4.2531 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2532 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2533 +$as_echo_n "checking for $ac_word... " >&6; }
4.2534 +if test "${ac_cv_prog_CC+set}" = set; then
4.2535 + $as_echo_n "(cached) " >&6
4.2536 else
4.2537 if test -n "$CC"; then
4.2538 ac_cv_prog_CC="$CC" # Let the user override the test.
4.2539 @@ -3609,7 +3771,7 @@
4.2540 continue
4.2541 fi
4.2542 ac_cv_prog_CC="cc"
4.2543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2544 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2545 break 2
4.2546 fi
4.2547 done
4.2548 @@ -3632,11 +3794,11 @@
4.2549 fi
4.2550 CC=$ac_cv_prog_CC
4.2551 if test -n "$CC"; then
4.2552 - { echo "$as_me:$LINENO: result: $CC" >&5
4.2553 -echo "${ECHO_T}$CC" >&6; }
4.2554 -else
4.2555 - { echo "$as_me:$LINENO: result: no" >&5
4.2556 -echo "${ECHO_T}no" >&6; }
4.2557 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.2558 +$as_echo "$CC" >&6; }
4.2559 +else
4.2560 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2561 +$as_echo "no" >&6; }
4.2562 fi
4.2563
4.2564
4.2565 @@ -3647,10 +3809,10 @@
4.2566 do
4.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=$2
4.2569 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2570 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2571 -if test "${ac_cv_prog_CC+set}" = set; then
4.2572 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2573 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2574 +$as_echo_n "checking for $ac_word... " >&6; }
4.2575 +if test "${ac_cv_prog_CC+set}" = set; then
4.2576 + $as_echo_n "(cached) " >&6
4.2577 else
4.2578 if test -n "$CC"; then
4.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; do
4.2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.2583 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4.2584 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2585 - break 2
4.2586 - fi
4.2587 -done
4.2588 -done
4.2589 -IFS=$as_save_IFS
4.2590 -
4.2591 -fi
4.2592 -fi
4.2593 -CC=$ac_cv_prog_CC
4.2594 -if test -n "$CC"; then
4.2595 - { echo "$as_me:$LINENO: result: $CC" >&5
4.2596 -echo "${ECHO_T}$CC" >&6; }
4.2597 -else
4.2598 - { echo "$as_me:$LINENO: result: no" >&5
4.2599 -echo "${ECHO_T}no" >&6; }
4.2600 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2601 + break 2
4.2602 + fi
4.2603 +done
4.2604 +done
4.2605 +IFS=$as_save_IFS
4.2606 +
4.2607 +fi
4.2608 +fi
4.2609 +CC=$ac_cv_prog_CC
4.2610 +if test -n "$CC"; then
4.2611 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.2612 +$as_echo "$CC" >&6; }
4.2613 +else
4.2614 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2615 +$as_echo "no" >&6; }
4.2616 fi
4.2617
4.2618
4.2619 @@ -3691,10 +3853,10 @@
4.2620 do
4.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=$2
4.2623 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2624 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.2625 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.2626 +$as_echo_n "checking for $ac_word... " >&6; }
4.2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.2628 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2629 + $as_echo_n "(cached) " >&6
4.2630 else
4.2631 if test -n "$ac_ct_CC"; then
4.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; do
4.2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.2636 ac_cv_prog_ac_ct_CC="$ac_prog"
4.2637 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2638 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.2639 break 2
4.2640 fi
4.2641 done
4.2642 @@ -3718,11 +3880,11 @@
4.2643 fi
4.2644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.2645 if test -n "$ac_ct_CC"; then
4.2646 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.2647 -echo "${ECHO_T}$ac_ct_CC" >&6; }
4.2648 -else
4.2649 - { echo "$as_me:$LINENO: result: no" >&5
4.2650 -echo "${ECHO_T}no" >&6; }
4.2651 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.2652 +$as_echo "$ac_ct_CC" >&6; }
4.2653 +else
4.2654 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.2655 +$as_echo "no" >&6; }
4.2656 fi
4.2657
4.2658
4.2659 @@ -3734,10 +3896,10 @@
4.2660 else
4.2661 case $cross_compiling:$ac_tool_warned in
4.2662 yes:)
4.2663 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.2664 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.2665 whose name does not start with the host triplet. If you think this
4.2666 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.2667 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.2668 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.2669 whose name does not start with the host triplet. If you think this
4.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 fi
4.2674
4.2675
4.2676 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4.2677 -See \`config.log' for more details." >&5
4.2678 -echo "$as_me: error: no acceptable C compiler found in \$PATH
4.2679 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4.2680 +See \`config.log' for more details." >&5
4.2681 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4.2682 See \`config.log' for more details." >&2;}
4.2683 { (exit 1); exit 1; }; }
4.2684
4.2685 # Provide some information about the compiler.
4.2686 -echo "$as_me:$LINENO: checking for C compiler version" >&5
4.2687 -ac_compiler=`set X $ac_compile; echo $2`
4.2688 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4.2689 +set X $ac_compile
4.2690 +ac_compiler=$2
4.2691 { (ac_try="$ac_compiler --version >&5"
4.2692 case "(($ac_try" in
4.2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2694 *) ac_try_echo=$ac_try;;
4.2695 esac
4.2696 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2697 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2698 +$as_echo "$ac_try_echo") >&5
4.2699 (eval "$ac_compiler --version >&5") 2>&5
4.2700 ac_status=$?
4.2701 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2702 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2703 (exit $ac_status); }
4.2704 { (ac_try="$ac_compiler -v >&5"
4.2705 case "(($ac_try" in
4.2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2707 *) ac_try_echo=$ac_try;;
4.2708 esac
4.2709 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2710 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2711 +$as_echo "$ac_try_echo") >&5
4.2712 (eval "$ac_compiler -v >&5") 2>&5
4.2713 ac_status=$?
4.2714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2715 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2716 (exit $ac_status); }
4.2717 { (ac_try="$ac_compiler -V >&5"
4.2718 case "(($ac_try" in
4.2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2720 *) ac_try_echo=$ac_try;;
4.2721 esac
4.2722 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2723 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2724 +$as_echo "$ac_try_echo") >&5
4.2725 (eval "$ac_compiler -V >&5") 2>&5
4.2726 ac_status=$?
4.2727 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2728 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2729 (exit $ac_status); }
4.2730
4.2731 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4.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" >&5
4.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; then
4.2736 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2737 + $as_echo_n "(cached) " >&6
4.2738 else
4.2739 cat >conftest.$ac_ext <<_ACEOF
4.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 esac
4.2745 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2746 - (eval "$ac_compile") 2>conftest.er1
4.2747 - ac_status=$?
4.2748 - grep -v '^ *+' conftest.er1 >conftest.err
4.2749 - rm -f conftest.er1
4.2750 - cat conftest.err >&5
4.2751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2752 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2753 +$as_echo "$ac_try_echo") >&5
4.2754 + (eval "$ac_compile") 2>conftest.er1
4.2755 + ac_status=$?
4.2756 + grep -v '^ *+' conftest.er1 >conftest.err
4.2757 + rm -f conftest.er1
4.2758 + cat conftest.err >&5
4.2759 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2760 (exit $ac_status); } && {
4.2761 test -z "$ac_c_werror_flag" ||
4.2762 test ! -s conftest.err
4.2763 } && test -s conftest.$ac_objext; then
4.2764 ac_compiler_gnu=yes
4.2765 else
4.2766 - echo "$as_me: failed program was:" >&5
4.2767 + $as_echo "$as_me: failed program was:" >&5
4.2768 sed 's/^/| /' conftest.$ac_ext >&5
4.2769
4.2770 ac_compiler_gnu=no
4.2771 @@ -3841,15 +4008,19 @@
4.2772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4.2773
4.2774 fi
4.2775 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4.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" >&5
4.2779 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4.2780 +if test $ac_compiler_gnu = yes; then
4.2781 + GCC=yes
4.2782 +else
4.2783 + GCC=
4.2784 +fi
4.2785 ac_test_CFLAGS=${CFLAGS+set}
4.2786 ac_save_CFLAGS=$CFLAGS
4.2787 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4.2788 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4.2789 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4.2790 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
4.2791 if test "${ac_cv_prog_cc_g+set}" = set; then
4.2792 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2793 + $as_echo_n "(cached) " >&6
4.2794 else
4.2795 ac_save_c_werror_flag=$ac_c_werror_flag
4.2796 ac_c_werror_flag=yes
4.2797 @@ -3876,20 +4047,21 @@
4.2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2799 *) ac_try_echo=$ac_try;;
4.2800 esac
4.2801 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2802 - (eval "$ac_compile") 2>conftest.er1
4.2803 - ac_status=$?
4.2804 - grep -v '^ *+' conftest.er1 >conftest.err
4.2805 - rm -f conftest.er1
4.2806 - cat conftest.err >&5
4.2807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2808 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2809 +$as_echo "$ac_try_echo") >&5
4.2810 + (eval "$ac_compile") 2>conftest.er1
4.2811 + ac_status=$?
4.2812 + grep -v '^ *+' conftest.er1 >conftest.err
4.2813 + rm -f conftest.er1
4.2814 + cat conftest.err >&5
4.2815 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2816 (exit $ac_status); } && {
4.2817 test -z "$ac_c_werror_flag" ||
4.2818 test ! -s conftest.err
4.2819 } && test -s conftest.$ac_objext; then
4.2820 ac_cv_prog_cc_g=yes
4.2821 else
4.2822 - echo "$as_me: failed program was:" >&5
4.2823 + $as_echo "$as_me: failed program was:" >&5
4.2824 sed 's/^/| /' conftest.$ac_ext >&5
4.2825
4.2826 CFLAGS=""
4.2827 @@ -3914,20 +4086,21 @@
4.2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2829 *) ac_try_echo=$ac_try;;
4.2830 esac
4.2831 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2832 - (eval "$ac_compile") 2>conftest.er1
4.2833 - ac_status=$?
4.2834 - grep -v '^ *+' conftest.er1 >conftest.err
4.2835 - rm -f conftest.er1
4.2836 - cat conftest.err >&5
4.2837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2838 - (exit $ac_status); } && {
4.2839 - test -z "$ac_c_werror_flag" ||
4.2840 - test ! -s conftest.err
4.2841 - } && test -s conftest.$ac_objext; then
4.2842 - :
4.2843 -else
4.2844 - echo "$as_me: failed program was:" >&5
4.2845 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2846 +$as_echo "$ac_try_echo") >&5
4.2847 + (eval "$ac_compile") 2>conftest.er1
4.2848 + ac_status=$?
4.2849 + grep -v '^ *+' conftest.er1 >conftest.err
4.2850 + rm -f conftest.er1
4.2851 + cat conftest.err >&5
4.2852 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2853 + (exit $ac_status); } && {
4.2854 + test -z "$ac_c_werror_flag" ||
4.2855 + test ! -s conftest.err
4.2856 + } && test -s conftest.$ac_objext; then
4.2857 + :
4.2858 +else
4.2859 + $as_echo "$as_me: failed program was:" >&5
4.2860 sed 's/^/| /' conftest.$ac_ext >&5
4.2861
4.2862 ac_c_werror_flag=$ac_save_c_werror_flag
4.2863 @@ -3953,20 +4126,21 @@
4.2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2865 *) ac_try_echo=$ac_try;;
4.2866 esac
4.2867 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2868 - (eval "$ac_compile") 2>conftest.er1
4.2869 - ac_status=$?
4.2870 - grep -v '^ *+' conftest.er1 >conftest.err
4.2871 - rm -f conftest.er1
4.2872 - cat conftest.err >&5
4.2873 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2874 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2875 +$as_echo "$ac_try_echo") >&5
4.2876 + (eval "$ac_compile") 2>conftest.er1
4.2877 + ac_status=$?
4.2878 + grep -v '^ *+' conftest.er1 >conftest.err
4.2879 + rm -f conftest.er1
4.2880 + cat conftest.err >&5
4.2881 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2882 (exit $ac_status); } && {
4.2883 test -z "$ac_c_werror_flag" ||
4.2884 test ! -s conftest.err
4.2885 } && test -s conftest.$ac_objext; then
4.2886 ac_cv_prog_cc_g=yes
4.2887 else
4.2888 - echo "$as_me: failed program was:" >&5
4.2889 + $as_echo "$as_me: failed program was:" >&5
4.2890 sed 's/^/| /' conftest.$ac_ext >&5
4.2891
4.2892
4.2893 @@ -3981,8 +4155,8 @@
4.2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.2895 ac_c_werror_flag=$ac_save_c_werror_flag
4.2896 fi
4.2897 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4.2899 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4.2900 +$as_echo "$ac_cv_prog_cc_g" >&6; }
4.2901 if test "$ac_test_CFLAGS" = set; then
4.2902 CFLAGS=$ac_save_CFLAGS
4.2903 elif test $ac_cv_prog_cc_g = yes; then
4.2904 @@ -3998,10 +4172,10 @@
4.2905 CFLAGS=
4.2906 fi
4.2907 fi
4.2908 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4.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" >&5
4.2911 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4.2912 if test "${ac_cv_prog_cc_c89+set}" = set; then
4.2913 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2914 + $as_echo_n "(cached) " >&6
4.2915 else
4.2916 ac_cv_prog_cc_c89=no
4.2917 ac_save_CC=$CC
4.2918 @@ -4072,20 +4246,21 @@
4.2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.2920 *) ac_try_echo=$ac_try;;
4.2921 esac
4.2922 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.2923 - (eval "$ac_compile") 2>conftest.er1
4.2924 - ac_status=$?
4.2925 - grep -v '^ *+' conftest.er1 >conftest.err
4.2926 - rm -f conftest.er1
4.2927 - cat conftest.err >&5
4.2928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2929 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.2930 +$as_echo "$ac_try_echo") >&5
4.2931 + (eval "$ac_compile") 2>conftest.er1
4.2932 + ac_status=$?
4.2933 + grep -v '^ *+' conftest.er1 >conftest.err
4.2934 + rm -f conftest.er1
4.2935 + cat conftest.err >&5
4.2936 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.2937 (exit $ac_status); } && {
4.2938 test -z "$ac_c_werror_flag" ||
4.2939 test ! -s conftest.err
4.2940 } && test -s conftest.$ac_objext; then
4.2941 ac_cv_prog_cc_c89=$ac_arg
4.2942 else
4.2943 - echo "$as_me: failed program was:" >&5
4.2944 + $as_echo "$as_me: failed program was:" >&5
4.2945 sed 's/^/| /' conftest.$ac_ext >&5
4.2946
4.2947
4.2948 @@ -4101,15 +4276,15 @@
4.2949 # AC_CACHE_VAL
4.2950 case "x$ac_cv_prog_cc_c89" in
4.2951 x)
4.2952 - { echo "$as_me:$LINENO: result: none needed" >&5
4.2953 -echo "${ECHO_T}none needed" >&6; } ;;
4.2954 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
4.2955 +$as_echo "none needed" >&6; } ;;
4.2956 xno)
4.2957 - { echo "$as_me:$LINENO: result: unsupported" >&5
4.2958 -echo "${ECHO_T}unsupported" >&6; } ;;
4.2959 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4.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" >&5
4.2964 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4.2965 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4.2966 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4.2967 esac
4.2968
4.2969
4.2970 @@ -4121,10 +4296,10 @@
4.2971
4.2972 depcc="$CC" am_compiler_list=
4.2973
4.2974 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4.2975 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4.2976 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4.2977 +$as_echo_n "checking dependency style of $depcc... " >&6; }
4.2978 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4.2979 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.2980 + $as_echo_n "(cached) " >&6
4.2981 else
4.2982 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4.2983 # We make a subdir and do the tests there. Otherwise we can end up
4.2984 @@ -4160,7 +4335,9 @@
4.2985 : > sub/conftest.c
4.2986 for i in 1 2 3 4 5 6; do
4.2987 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4.2988 - : > sub/conftst$i.h
4.2989 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4.2990 + # Solaris 8's {/usr,}/bin/sh.
4.2991 + touch sub/conftst$i.h
4.2992 done
4.2993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4.2994
4.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; then
4.2998 # icc doesn't choke on unknown options, it will just issue warnings
4.2999 - # (even with -Werror). So we grep stderr for any message
4.3000 - # that says an option was ignored.
4.3001 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4.3002 + # or remarks (even with -Werror). So we grep stderr for any message
4.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 required
4.3006 + # The diagnosis changed in icc 8.0:
4.3007 + # icc: Command line remark: option '-MP' not supported
4.3008 + if (grep 'ignoring option' conftest.err ||
4.3009 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4.3010 am_cv_CC_dependencies_compiler_type=$depmode
4.3011 break
4.3012 fi
4.3013 @@ -4204,8 +4386,8 @@
4.3014 fi
4.3015
4.3016 fi
4.3017 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4.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" >&5
4.3020 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4.3021 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4.3022
4.3023
4.3024 @@ -4221,27 +4403,581 @@
4.3025 fi
4.3026
4.3027
4.3028 -
4.3029 -
4.3030 -
4.3031 -{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4.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; then
4.3034 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.3035 -else
4.3036 - am_cv_prog_cc_stdc=no
4.3037 -ac_save_CC="$CC"
4.3038 -# Don't try gcc -ansi; that turns off useful extensions and
4.3039 -# breaks some systems' header files.
4.3040 -# AIX -qlanglvl=ansi
4.3041 -# Ultrix and OSF/1 -std1
4.3042 -# HP-UX 10.20 and later -Ae
4.3043 -# HP-UX older versions -Aa -D_HPUX_SOURCE
4.3044 -# SVR4 -Xc -D__EXTENSIONS__
4.3045 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4.3046 -do
4.3047 - CC="$ac_save_CC $ac_arg"
4.3048 - cat >conftest.$ac_ext <<_ACEOF
4.3049 +ac_ext=c
4.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_gnu
4.3054 +if test -n "$ac_tool_prefix"; then
4.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=$2
4.3057 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3058 +$as_echo_n "checking for $ac_word... " >&6; }
4.3059 +if test "${ac_cv_prog_CC+set}" = set; then
4.3060 + $as_echo_n "(cached) " >&6
4.3061 +else
4.3062 + if test -n "$CC"; then
4.3063 + ac_cv_prog_CC="$CC" # Let the user override the test.
4.3064 +else
4.3065 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3066 +for as_dir in $PATH
4.3067 +do
4.3068 + IFS=$as_save_IFS
4.3069 + test -z "$as_dir" && as_dir=.
4.3070 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3071 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.3072 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
4.3073 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.3074 + break 2
4.3075 + fi
4.3076 +done
4.3077 +done
4.3078 +IFS=$as_save_IFS
4.3079 +
4.3080 +fi
4.3081 +fi
4.3082 +CC=$ac_cv_prog_CC
4.3083 +if test -n "$CC"; then
4.3084 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.3085 +$as_echo "$CC" >&6; }
4.3086 +else
4.3087 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3088 +$as_echo "no" >&6; }
4.3089 +fi
4.3090 +
4.3091 +
4.3092 +fi
4.3093 +if test -z "$ac_cv_prog_CC"; then
4.3094 + ac_ct_CC=$CC
4.3095 + # Extract the first word of "gcc", so it can be a program name with args.
4.3096 +set dummy gcc; ac_word=$2
4.3097 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3098 +$as_echo_n "checking for $ac_word... " >&6; }
4.3099 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.3100 + $as_echo_n "(cached) " >&6
4.3101 +else
4.3102 + if test -n "$ac_ct_CC"; then
4.3103 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4.3104 +else
4.3105 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3106 +for as_dir in $PATH
4.3107 +do
4.3108 + IFS=$as_save_IFS
4.3109 + test -z "$as_dir" && as_dir=.
4.3110 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3111 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.3112 + ac_cv_prog_ac_ct_CC="gcc"
4.3113 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.3114 + break 2
4.3115 + fi
4.3116 +done
4.3117 +done
4.3118 +IFS=$as_save_IFS
4.3119 +
4.3120 +fi
4.3121 +fi
4.3122 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.3123 +if test -n "$ac_ct_CC"; then
4.3124 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.3125 +$as_echo "$ac_ct_CC" >&6; }
4.3126 +else
4.3127 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3128 +$as_echo "no" >&6; }
4.3129 +fi
4.3130 +
4.3131 + if test "x$ac_ct_CC" = x; then
4.3132 + CC=""
4.3133 + else
4.3134 + case $cross_compiling:$ac_tool_warned in
4.3135 +yes:)
4.3136 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.3137 +whose name does not start with the host triplet. If you think this
4.3138 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4.3139 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.3140 +whose name does not start with the host triplet. If you think this
4.3141 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4.3142 +ac_tool_warned=yes ;;
4.3143 +esac
4.3144 + CC=$ac_ct_CC
4.3145 + fi
4.3146 +else
4.3147 + CC="$ac_cv_prog_CC"
4.3148 +fi
4.3149 +
4.3150 +if test -z "$CC"; then
4.3151 + if test -n "$ac_tool_prefix"; then
4.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=$2
4.3154 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3155 +$as_echo_n "checking for $ac_word... " >&6; }
4.3156 +if test "${ac_cv_prog_CC+set}" = set; then
4.3157 + $as_echo_n "(cached) " >&6
4.3158 +else
4.3159 + if test -n "$CC"; then
4.3160 + ac_cv_prog_CC="$CC" # Let the user override the test.
4.3161 +else
4.3162 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3163 +for as_dir in $PATH
4.3164 +do
4.3165 + IFS=$as_save_IFS
4.3166 + test -z "$as_dir" && as_dir=.
4.3167 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3168 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.3169 + ac_cv_prog_CC="${ac_tool_prefix}cc"
4.3170 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.3171 + break 2
4.3172 + fi
4.3173 +done
4.3174 +done
4.3175 +IFS=$as_save_IFS
4.3176 +
4.3177 +fi
4.3178 +fi
4.3179 +CC=$ac_cv_prog_CC
4.3180 +if test -n "$CC"; then
4.3181 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.3182 +$as_echo "$CC" >&6; }
4.3183 +else
4.3184 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3185 +$as_echo "no" >&6; }
4.3186 +fi
4.3187 +
4.3188 +
4.3189 + fi
4.3190 +fi
4.3191 +if test -z "$CC"; then
4.3192 + # Extract the first word of "cc", so it can be a program name with args.
4.3193 +set dummy cc; ac_word=$2
4.3194 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3195 +$as_echo_n "checking for $ac_word... " >&6; }
4.3196 +if test "${ac_cv_prog_CC+set}" = set; then
4.3197 + $as_echo_n "(cached) " >&6
4.3198 +else
4.3199 + if test -n "$CC"; then
4.3200 + ac_cv_prog_CC="$CC" # Let the user override the test.
4.3201 +else
4.3202 + ac_prog_rejected=no
4.3203 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3204 +for as_dir in $PATH
4.3205 +do
4.3206 + IFS=$as_save_IFS
4.3207 + test -z "$as_dir" && as_dir=.
4.3208 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3209 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.3210 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4.3211 + ac_prog_rejected=yes
4.3212 + continue
4.3213 + fi
4.3214 + ac_cv_prog_CC="cc"
4.3215 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.3216 + break 2
4.3217 + fi
4.3218 +done
4.3219 +done
4.3220 +IFS=$as_save_IFS
4.3221 +
4.3222 +if test $ac_prog_rejected = yes; then
4.3223 + # We found a bogon in the path, so make sure we never use it.
4.3224 + set dummy $ac_cv_prog_CC
4.3225 + shift
4.3226 + if test $# != 0; then
4.3227 + # We chose a different compiler from the bogus one.
4.3228 + # However, it has the same basename, so the bogon will be chosen
4.3229 + # first if we set CC to just the basename; use the full file name.
4.3230 + shift
4.3231 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4.3232 + fi
4.3233 +fi
4.3234 +fi
4.3235 +fi
4.3236 +CC=$ac_cv_prog_CC
4.3237 +if test -n "$CC"; then
4.3238 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.3239 +$as_echo "$CC" >&6; }
4.3240 +else
4.3241 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3242 +$as_echo "no" >&6; }
4.3243 +fi
4.3244 +
4.3245 +
4.3246 +fi
4.3247 +if test -z "$CC"; then
4.3248 + if test -n "$ac_tool_prefix"; then
4.3249 + for ac_prog in cl.exe
4.3250 + do
4.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=$2
4.3253 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3254 +$as_echo_n "checking for $ac_word... " >&6; }
4.3255 +if test "${ac_cv_prog_CC+set}" = set; then
4.3256 + $as_echo_n "(cached) " >&6
4.3257 +else
4.3258 + if test -n "$CC"; then
4.3259 + ac_cv_prog_CC="$CC" # Let the user override the test.
4.3260 +else
4.3261 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3262 +for as_dir in $PATH
4.3263 +do
4.3264 + IFS=$as_save_IFS
4.3265 + test -z "$as_dir" && as_dir=.
4.3266 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3267 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.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" >&5
4.3270 + break 2
4.3271 + fi
4.3272 +done
4.3273 +done
4.3274 +IFS=$as_save_IFS
4.3275 +
4.3276 +fi
4.3277 +fi
4.3278 +CC=$ac_cv_prog_CC
4.3279 +if test -n "$CC"; then
4.3280 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
4.3281 +$as_echo "$CC" >&6; }
4.3282 +else
4.3283 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3284 +$as_echo "no" >&6; }
4.3285 +fi
4.3286 +
4.3287 +
4.3288 + test -n "$CC" && break
4.3289 + done
4.3290 +fi
4.3291 +if test -z "$CC"; then
4.3292 + ac_ct_CC=$CC
4.3293 + for ac_prog in cl.exe
4.3294 +do
4.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=$2
4.3297 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.3298 +$as_echo_n "checking for $ac_word... " >&6; }
4.3299 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4.3300 + $as_echo_n "(cached) " >&6
4.3301 +else
4.3302 + if test -n "$ac_ct_CC"; then
4.3303 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4.3304 +else
4.3305 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.3306 +for as_dir in $PATH
4.3307 +do
4.3308 + IFS=$as_save_IFS
4.3309 + test -z "$as_dir" && as_dir=.
4.3310 + for ac_exec_ext in '' $ac_executable_extensions; do
4.3311 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.3312 + ac_cv_prog_ac_ct_CC="$ac_prog"
4.3313 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.3314 + break 2
4.3315 + fi
4.3316 +done
4.3317 +done
4.3318 +IFS=$as_save_IFS
4.3319 +
4.3320 +fi
4.3321 +fi
4.3322 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
4.3323 +if test -n "$ac_ct_CC"; then
4.3324 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4.3325 +$as_echo "$ac_ct_CC" >&6; }
4.3326 +else
4.3327 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.3328 +$as_echo "no" >&6; }
4.3329 +fi
4.3330 +
4.3331 +
4.3332 + test -n "$ac_ct_CC" && break
4.3333 +done
4.3334 +
4.3335 + if test "x$ac_ct_CC" = x; then
4.3336 + CC=""
4.3337 + else
4.3338 + case $cross_compiling:$ac_tool_warned in
4.3339 +yes:)
4.3340 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.3341 +whose name does not start with the host triplet. If you think this
4.3342 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4.3343 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.3344 +whose name does not start with the host triplet. If you think this
4.3345 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4.3346 +ac_tool_warned=yes ;;
4.3347 +esac
4.3348 + CC=$ac_ct_CC
4.3349 + fi
4.3350 +fi
4.3351 +
4.3352 +fi
4.3353 +
4.3354 +
4.3355 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4.3356 +See \`config.log' for more details." >&5
4.3357 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4.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" >&5
4.3363 +set X $ac_compile
4.3364 +ac_compiler=$2
4.3365 +{ (ac_try="$ac_compiler --version >&5"
4.3366 +case "(($ac_try" in
4.3367 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3368 + *) ac_try_echo=$ac_try;;
4.3369 +esac
4.3370 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3371 +$as_echo "$ac_try_echo") >&5
4.3372 + (eval "$ac_compiler --version >&5") 2>&5
4.3373 + ac_status=$?
4.3374 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3375 + (exit $ac_status); }
4.3376 +{ (ac_try="$ac_compiler -v >&5"
4.3377 +case "(($ac_try" in
4.3378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3379 + *) ac_try_echo=$ac_try;;
4.3380 +esac
4.3381 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3382 +$as_echo "$ac_try_echo") >&5
4.3383 + (eval "$ac_compiler -v >&5") 2>&5
4.3384 + ac_status=$?
4.3385 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3386 + (exit $ac_status); }
4.3387 +{ (ac_try="$ac_compiler -V >&5"
4.3388 +case "(($ac_try" in
4.3389 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3390 + *) ac_try_echo=$ac_try;;
4.3391 +esac
4.3392 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3393 +$as_echo "$ac_try_echo") >&5
4.3394 + (eval "$ac_compiler -V >&5") 2>&5
4.3395 + ac_status=$?
4.3396 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3397 + (exit $ac_status); }
4.3398 +
4.3399 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4.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; then
4.3402 + $as_echo_n "(cached) " >&6
4.3403 +else
4.3404 + cat >conftest.$ac_ext <<_ACEOF
4.3405 +/* confdefs.h. */
4.3406 +_ACEOF
4.3407 +cat confdefs.h >>conftest.$ac_ext
4.3408 +cat >>conftest.$ac_ext <<_ACEOF
4.3409 +/* end confdefs.h. */
4.3410 +
4.3411 +int
4.3412 +main ()
4.3413 +{
4.3414 +#ifndef __GNUC__
4.3415 + choke me
4.3416 +#endif
4.3417 +
4.3418 + ;
4.3419 + return 0;
4.3420 +}
4.3421 +_ACEOF
4.3422 +rm -f conftest.$ac_objext
4.3423 +if { (ac_try="$ac_compile"
4.3424 +case "(($ac_try" in
4.3425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3426 + *) ac_try_echo=$ac_try;;
4.3427 +esac
4.3428 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3429 +$as_echo "$ac_try_echo") >&5
4.3430 + (eval "$ac_compile") 2>conftest.er1
4.3431 + ac_status=$?
4.3432 + grep -v '^ *+' conftest.er1 >conftest.err
4.3433 + rm -f conftest.er1
4.3434 + cat conftest.err >&5
4.3435 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3436 + (exit $ac_status); } && {
4.3437 + test -z "$ac_c_werror_flag" ||
4.3438 + test ! -s conftest.err
4.3439 + } && test -s conftest.$ac_objext; then
4.3440 + ac_compiler_gnu=yes
4.3441 +else
4.3442 + $as_echo "$as_me: failed program was:" >&5
4.3443 +sed 's/^/| /' conftest.$ac_ext >&5
4.3444 +
4.3445 + ac_compiler_gnu=no
4.3446 +fi
4.3447 +
4.3448 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.3449 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
4.3450 +
4.3451 +fi
4.3452 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4.3453 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4.3454 +if test $ac_compiler_gnu = yes; then
4.3455 + GCC=yes
4.3456 +else
4.3457 + GCC=
4.3458 +fi
4.3459 +ac_test_CFLAGS=${CFLAGS+set}
4.3460 +ac_save_CFLAGS=$CFLAGS
4.3461 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4.3462 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
4.3463 +if test "${ac_cv_prog_cc_g+set}" = set; then
4.3464 + $as_echo_n "(cached) " >&6
4.3465 +else
4.3466 + ac_save_c_werror_flag=$ac_c_werror_flag
4.3467 + ac_c_werror_flag=yes
4.3468 + ac_cv_prog_cc_g=no
4.3469 + CFLAGS="-g"
4.3470 + cat >conftest.$ac_ext <<_ACEOF
4.3471 +/* confdefs.h. */
4.3472 +_ACEOF
4.3473 +cat confdefs.h >>conftest.$ac_ext
4.3474 +cat >>conftest.$ac_ext <<_ACEOF
4.3475 +/* end confdefs.h. */
4.3476 +
4.3477 +int
4.3478 +main ()
4.3479 +{
4.3480 +
4.3481 + ;
4.3482 + return 0;
4.3483 +}
4.3484 +_ACEOF
4.3485 +rm -f conftest.$ac_objext
4.3486 +if { (ac_try="$ac_compile"
4.3487 +case "(($ac_try" in
4.3488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3489 + *) ac_try_echo=$ac_try;;
4.3490 +esac
4.3491 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3492 +$as_echo "$ac_try_echo") >&5
4.3493 + (eval "$ac_compile") 2>conftest.er1
4.3494 + ac_status=$?
4.3495 + grep -v '^ *+' conftest.er1 >conftest.err
4.3496 + rm -f conftest.er1
4.3497 + cat conftest.err >&5
4.3498 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3499 + (exit $ac_status); } && {
4.3500 + test -z "$ac_c_werror_flag" ||
4.3501 + test ! -s conftest.err
4.3502 + } && test -s conftest.$ac_objext; then
4.3503 + ac_cv_prog_cc_g=yes
4.3504 +else
4.3505 + $as_echo "$as_me: failed program was:" >&5
4.3506 +sed 's/^/| /' conftest.$ac_ext >&5
4.3507 +
4.3508 + CFLAGS=""
4.3509 + cat >conftest.$ac_ext <<_ACEOF
4.3510 +/* confdefs.h. */
4.3511 +_ACEOF
4.3512 +cat confdefs.h >>conftest.$ac_ext
4.3513 +cat >>conftest.$ac_ext <<_ACEOF
4.3514 +/* end confdefs.h. */
4.3515 +
4.3516 +int
4.3517 +main ()
4.3518 +{
4.3519 +
4.3520 + ;
4.3521 + return 0;
4.3522 +}
4.3523 +_ACEOF
4.3524 +rm -f conftest.$ac_objext
4.3525 +if { (ac_try="$ac_compile"
4.3526 +case "(($ac_try" in
4.3527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3528 + *) ac_try_echo=$ac_try;;
4.3529 +esac
4.3530 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3531 +$as_echo "$ac_try_echo") >&5
4.3532 + (eval "$ac_compile") 2>conftest.er1
4.3533 + ac_status=$?
4.3534 + grep -v '^ *+' conftest.er1 >conftest.err
4.3535 + rm -f conftest.er1
4.3536 + cat conftest.err >&5
4.3537 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3538 + (exit $ac_status); } && {
4.3539 + test -z "$ac_c_werror_flag" ||
4.3540 + test ! -s conftest.err
4.3541 + } && test -s conftest.$ac_objext; then
4.3542 + :
4.3543 +else
4.3544 + $as_echo "$as_me: failed program was:" >&5
4.3545 +sed 's/^/| /' conftest.$ac_ext >&5
4.3546 +
4.3547 + ac_c_werror_flag=$ac_save_c_werror_flag
4.3548 + CFLAGS="-g"
4.3549 + cat >conftest.$ac_ext <<_ACEOF
4.3550 +/* confdefs.h. */
4.3551 +_ACEOF
4.3552 +cat confdefs.h >>conftest.$ac_ext
4.3553 +cat >>conftest.$ac_ext <<_ACEOF
4.3554 +/* end confdefs.h. */
4.3555 +
4.3556 +int
4.3557 +main ()
4.3558 +{
4.3559 +
4.3560 + ;
4.3561 + return 0;
4.3562 +}
4.3563 +_ACEOF
4.3564 +rm -f conftest.$ac_objext
4.3565 +if { (ac_try="$ac_compile"
4.3566 +case "(($ac_try" in
4.3567 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3568 + *) ac_try_echo=$ac_try;;
4.3569 +esac
4.3570 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3571 +$as_echo "$ac_try_echo") >&5
4.3572 + (eval "$ac_compile") 2>conftest.er1
4.3573 + ac_status=$?
4.3574 + grep -v '^ *+' conftest.er1 >conftest.err
4.3575 + rm -f conftest.er1
4.3576 + cat conftest.err >&5
4.3577 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3578 + (exit $ac_status); } && {
4.3579 + test -z "$ac_c_werror_flag" ||
4.3580 + test ! -s conftest.err
4.3581 + } && test -s conftest.$ac_objext; then
4.3582 + ac_cv_prog_cc_g=yes
4.3583 +else
4.3584 + $as_echo "$as_me: failed program was:" >&5
4.3585 +sed 's/^/| /' conftest.$ac_ext >&5
4.3586 +
4.3587 +
4.3588 +fi
4.3589 +
4.3590 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.3591 +fi
4.3592 +
4.3593 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.3594 +fi
4.3595 +
4.3596 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.3597 + ac_c_werror_flag=$ac_save_c_werror_flag
4.3598 +fi
4.3599 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4.3600 +$as_echo "$ac_cv_prog_cc_g" >&6; }
4.3601 +if test "$ac_test_CFLAGS" = set; then
4.3602 + CFLAGS=$ac_save_CFLAGS
4.3603 +elif test $ac_cv_prog_cc_g = yes; then
4.3604 + if test "$GCC" = yes; then
4.3605 + CFLAGS="-g -O2"
4.3606 + else
4.3607 + CFLAGS="-g"
4.3608 + fi
4.3609 +else
4.3610 + if test "$GCC" = yes; then
4.3611 + CFLAGS="-O2"
4.3612 + else
4.3613 + CFLAGS=
4.3614 + fi
4.3615 +fi
4.3616 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4.3617 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4.3618 +if test "${ac_cv_prog_cc_c89+set}" = set; then
4.3619 + $as_echo_n "(cached) " >&6
4.3620 +else
4.3621 + ac_cv_prog_cc_c89=no
4.3622 +ac_save_CC=$CC
4.3623 +cat >conftest.$ac_ext <<_ACEOF
4.3624 /* confdefs.h. */
4.3625 _ACEOF
4.3626 cat confdefs.h >>conftest.$ac_ext
4.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 has
4.3633 + function prototypes and stuff, but not '\xHH' hex character constants.
4.3634 + These don't provoke an error unfortunately, instead are silently treated
4.3635 + as 'x'. The following induces an error, until -std is added to get
4.3636 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4.3637 + array size at least. It's necessary to write '\x00'==0 to get something
4.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 parameters
4.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 -int
4.3654 -main ()
4.3655 -{
4.3656 -
4.3657 +int
4.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 -_ACEOF
4.3666 -rm -f conftest.$ac_objext
4.3667 -if { (ac_try="$ac_compile"
4.3668 -case "(($ac_try" in
4.3669 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3670 - *) ac_try_echo=$ac_try;;
4.3671 -esac
4.3672 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.3673 - (eval "$ac_compile") 2>conftest.er1
4.3674 - ac_status=$?
4.3675 - grep -v '^ *+' conftest.er1 >conftest.err
4.3676 - rm -f conftest.er1
4.3677 - cat conftest.err >&5
4.3678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3679 - (exit $ac_status); } && {
4.3680 - test -z "$ac_c_werror_flag" ||
4.3681 - test ! -s conftest.err
4.3682 - } && test -s conftest.$ac_objext; then
4.3683 - am_cv_prog_cc_stdc="$ac_arg"; break
4.3684 -else
4.3685 - echo "$as_me: failed program was:" >&5
4.3686 -sed 's/^/| /' conftest.$ac_ext >&5
4.3687 -
4.3688 -
4.3689 -fi
4.3690 -
4.3691 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.3692 -done
4.3693 -CC="$ac_save_CC"
4.3694 -
4.3695 -fi
4.3696 -
4.3697 -if test -z "$am_cv_prog_cc_stdc"; then
4.3698 - { echo "$as_me:$LINENO: result: none needed" >&5
4.3699 -echo "${ECHO_T}none needed" >&6; }
4.3700 -else
4.3701 - { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
4.3702 -echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
4.3703 -fi
4.3704 -case "x$am_cv_prog_cc_stdc" in
4.3705 - x|xno) ;;
4.3706 - *) CC="$CC $am_cv_prog_cc_stdc" ;;
4.3707 -esac
4.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 +_ACEOF
4.3718 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4.3719 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4.3720 +do
4.3721 + CC="$ac_save_CC $ac_arg"
4.3722 + rm -f conftest.$ac_objext
4.3723 +if { (ac_try="$ac_compile"
4.3724 +case "(($ac_try" in
4.3725 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3726 + *) ac_try_echo=$ac_try;;
4.3727 +esac
4.3728 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3729 +$as_echo "$ac_try_echo") >&5
4.3730 + (eval "$ac_compile") 2>conftest.er1
4.3731 + ac_status=$?
4.3732 + grep -v '^ *+' conftest.er1 >conftest.err
4.3733 + rm -f conftest.er1
4.3734 + cat conftest.err >&5
4.3735 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3736 + (exit $ac_status); } && {
4.3737 + test -z "$ac_c_werror_flag" ||
4.3738 + test ! -s conftest.err
4.3739 + } && test -s conftest.$ac_objext; then
4.3740 + ac_cv_prog_cc_c89=$ac_arg
4.3741 +else
4.3742 + $as_echo "$as_me: failed program was:" >&5
4.3743 +sed 's/^/| /' conftest.$ac_ext >&5
4.3744 +
4.3745 +
4.3746 +fi
4.3747 +
4.3748 +rm -f core conftest.err conftest.$ac_objext
4.3749 + test "x$ac_cv_prog_cc_c89" != "xno" && break
4.3750 +done
4.3751 +rm -f conftest.$ac_ext
4.3752 +CC=$ac_save_CC
4.3753 +
4.3754 +fi
4.3755 +# AC_CACHE_VAL
4.3756 +case "x$ac_cv_prog_cc_c89" in
4.3757 + x)
4.3758 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
4.3759 +$as_echo "none needed" >&6; } ;;
4.3760 + xno)
4.3761 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4.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" >&5
4.3766 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4.3767 +esac
4.3768
4.3769
4.3770 ac_ext=c
4.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_gnu
4.3775 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4.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" >&5
4.3781 +$as_echo_n "checking dependency style of $depcc... " >&6; }
4.3782 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4.3783 + $as_echo_n "(cached) " >&6
4.3784 +else
4.3785 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4.3786 + # We make a subdir and do the tests there. Otherwise we can end up
4.3787 + # making bogus files that we don't know about and never remove. For
4.3788 + # instance it was reported that on HP-UX the gcc test will end up
4.3789 + # making a dummy file named `D' -- because `-MD' means `put the output
4.3790 + # in D'.
4.3791 + mkdir conftest.dir
4.3792 + # Copy depcomp to subdir because otherwise we won't find it if we're
4.3793 + # using a relative directory.
4.3794 + cp "$am_depcomp" conftest.dir
4.3795 + cd conftest.dir
4.3796 + # We will build objects and dependencies in a subdirectory because
4.3797 + # it helps to detect inapplicable dependency modes. For instance
4.3798 + # both Tru64's cc and ICC support -MD to output dependencies as a
4.3799 + # side effect of compilation, but ICC will put the dependencies in
4.3800 + # the current directory while Tru64 will put them in the object
4.3801 + # directory.
4.3802 + mkdir sub
4.3803 +
4.3804 + am_cv_CC_dependencies_compiler_type=none
4.3805 + if test "$am_compiler_list" = ""; then
4.3806 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4.3807 + fi
4.3808 + for depmode in $am_compiler_list; do
4.3809 + # Setup a source with many dependencies, because some compilers
4.3810 + # like to wrap large dependency lists on column 80 (with \), and
4.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 may
4.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.c
4.3817 + for i in 1 2 3 4 5 6; do
4.3818 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4.3819 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4.3820 + # Solaris 8's {/usr,}/bin/sh.
4.3821 + touch sub/conftst$i.h
4.3822 + done
4.3823 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4.3824 +
4.3825 + case $depmode in
4.3826 + nosideeffect)
4.3827 + # after this tag, mechanisms are not by side-effect, so they'll
4.3828 + # only be used when explicitly requested
4.3829 + if test "x$enable_dependency_tracking" = xyes; then
4.3830 + continue
4.3831 + else
4.3832 + break
4.3833 + fi
4.3834 + ;;
4.3835 + none) break ;;
4.3836 + esac
4.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 properly
4.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; then
4.3848 + # icc doesn't choke on unknown options, it will just issue warnings
4.3849 + # or remarks (even with -Werror). So we grep stderr for any message
4.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 required
4.3853 + # The diagnosis changed in icc 8.0:
4.3854 + # icc: Command line remark: option '-MP' not supported
4.3855 + if (grep 'ignoring option' conftest.err ||
4.3856 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4.3857 + am_cv_CC_dependencies_compiler_type=$depmode
4.3858 + break
4.3859 + fi
4.3860 + fi
4.3861 + done
4.3862 +
4.3863 + cd ..
4.3864 + rm -rf conftest.dir
4.3865 +else
4.3866 + am_cv_CC_dependencies_compiler_type=none
4.3867 +fi
4.3868 +
4.3869 +fi
4.3870 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4.3871 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4.3872 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4.3873 +
4.3874 +
4.3875 +
4.3876 +if
4.3877 + test "x$enable_dependency_tracking" != xno \
4.3878 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4.3879 + am__fastdepCC_TRUE=
4.3880 + am__fastdepCC_FALSE='#'
4.3881 +else
4.3882 + am__fastdepCC_TRUE='#'
4.3883 + am__fastdepCC_FALSE=
4.3884 +fi
4.3885 +
4.3886 +
4.3887 +
4.3888 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4.3889 +
4.3890 +# By default we simply use the C compiler to build assembly code.
4.3891 +
4.3892 +test "${CCAS+set}" = set || CCAS=$CC
4.3893 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4.3894 +
4.3895 +
4.3896 +
4.3897 +ac_ext=c
4.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_gnu
4.3902 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4.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"; then
4.3906 CPP=
4.3907 fi
4.3908 if test -z "$CPP"; then
4.3909 if test "${ac_cv_prog_CPP+set}" = set; then
4.3910 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.3911 + $as_echo_n "(cached) " >&6
4.3912 else
4.3913 # Double quotes because CPP needs to be expanded
4.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 esac
4.3919 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.3920 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3921 +$as_echo "$ac_try_echo") >&5
4.3922 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.3923 ac_status=$?
4.3924 grep -v '^ *+' conftest.er1 >conftest.err
4.3925 rm -f conftest.er1
4.3926 cat conftest.err >&5
4.3927 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3928 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3929 (exit $ac_status); } >/dev/null && {
4.3930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.3931 test ! -s conftest.err
4.3932 }; then
4.3933 :
4.3934 else
4.3935 - echo "$as_me: failed program was:" >&5
4.3936 + $as_echo "$as_me: failed program was:" >&5
4.3937 sed 's/^/| /' conftest.$ac_ext >&5
4.3938
4.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 esac
4.3944 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.3945 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3946 +$as_echo "$ac_try_echo") >&5
4.3947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.3948 ac_status=$?
4.3949 grep -v '^ *+' conftest.er1 >conftest.err
4.3950 rm -f conftest.er1
4.3951 cat conftest.err >&5
4.3952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3953 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3954 (exit $ac_status); } >/dev/null && {
4.3955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.3956 test ! -s conftest.err
4.3957 @@ -4432,7 +5309,7 @@
4.3958 # Broken: success on invalid input.
4.3959 continue
4.3960 else
4.3961 - echo "$as_me: failed program was:" >&5
4.3962 + $as_echo "$as_me: failed program was:" >&5
4.3963 sed 's/^/| /' conftest.$ac_ext >&5
4.3964
4.3965 # Passes both tests.
4.3966 @@ -4457,8 +5334,8 @@
4.3967 else
4.3968 ac_cv_prog_CPP=$CPP
4.3969 fi
4.3970 -{ echo "$as_me:$LINENO: result: $CPP" >&5
4.3971 -echo "${ECHO_T}$CPP" >&6; }
4.3972 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4.3973 +$as_echo "$CPP" >&6; }
4.3974 ac_preproc_ok=false
4.3975 for ac_c_preproc_warn_flag in '' yes
4.3976 do
4.3977 @@ -4486,20 +5363,21 @@
4.3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.3979 *) ac_try_echo=$ac_try;;
4.3980 esac
4.3981 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.3982 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.3983 +$as_echo "$ac_try_echo") >&5
4.3984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.3985 ac_status=$?
4.3986 grep -v '^ *+' conftest.er1 >conftest.err
4.3987 rm -f conftest.er1
4.3988 cat conftest.err >&5
4.3989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3990 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.3991 (exit $ac_status); } >/dev/null && {
4.3992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.3993 test ! -s conftest.err
4.3994 }; then
4.3995 :
4.3996 else
4.3997 - echo "$as_me: failed program was:" >&5
4.3998 + $as_echo "$as_me: failed program was:" >&5
4.3999 sed 's/^/| /' conftest.$ac_ext >&5
4.4000
4.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 esac
4.4006 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4007 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4008 +$as_echo "$ac_try_echo") >&5
4.4009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.4010 ac_status=$?
4.4011 grep -v '^ *+' conftest.er1 >conftest.err
4.4012 rm -f conftest.er1
4.4013 cat conftest.err >&5
4.4014 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4015 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4016 (exit $ac_status); } >/dev/null && {
4.4017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.4018 test ! -s conftest.err
4.4019 @@ -4537,7 +5416,7 @@
4.4020 # Broken: success on invalid input.
4.4021 continue
4.4022 else
4.4023 - echo "$as_me: failed program was:" >&5
4.4024 + $as_echo "$as_me: failed program was:" >&5
4.4025 sed 's/^/| /' conftest.$ac_ext >&5
4.4026
4.4027 # Passes both tests.
4.4028 @@ -4553,9 +5432,9 @@
4.4029 if $ac_preproc_ok; then
4.4030 :
4.4031 else
4.4032 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4.4033 -See \`config.log' for more details." >&5
4.4034 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4.4035 + { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4.4036 +See \`config.log' for more details." >&5
4.4037 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4.4038 See \`config.log' for more details." >&2;}
4.4039 { (exit 1); exit 1; }; }
4.4040 fi
4.4041 @@ -4567,42 +5446,37 @@
4.4042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4.4043
4.4044
4.4045 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4.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" >&5
4.4048 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4.4049 if test "${ac_cv_path_GREP+set}" = set; then
4.4050 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4051 -else
4.4052 - # Extract the first word of "grep ggrep" to use in msg output
4.4053 -if test -z "$GREP"; then
4.4054 -set dummy grep ggrep; ac_prog_name=$2
4.4055 -if test "${ac_cv_path_GREP+set}" = set; then
4.4056 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4057 -else
4.4058 + $as_echo_n "(cached) " >&6
4.4059 +else
4.4060 + if test -z "$GREP"; then
4.4061 ac_path_GREP_found=false
4.4062 -# Loop through the user's path and test for each of PROGNAME-LIST
4.4063 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.4064 + # Loop through the user's path and test for each of PROGNAME-LIST
4.4065 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.4066 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4.4067 do
4.4068 IFS=$as_save_IFS
4.4069 test -z "$as_dir" && as_dir=.
4.4070 for ac_prog in grep ggrep; do
4.4071 - for ac_exec_ext in '' $ac_executable_extensions; do
4.4072 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4.4073 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4.4074 - # Check for GNU ac_path_GREP and select it if it is found.
4.4075 + for ac_exec_ext in '' $ac_executable_extensions; do
4.4076 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4.4077 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4.4078 +# Check for GNU ac_path_GREP and select it if it is found.
4.4079 # Check for GNU $ac_path_GREP
4.4080 case `"$ac_path_GREP" --version 2>&1` in
4.4081 *GNU*)
4.4082 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4.4083 *)
4.4084 ac_count=0
4.4085 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4.4086 + $as_echo_n 0123456789 >"conftest.in"
4.4087 while :
4.4088 do
4.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 || break
4.4095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4.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 esac
4.4100
4.4101 -
4.4102 - $ac_path_GREP_found && break 3
4.4103 - done
4.4104 -done
4.4105 -
4.4106 -done
4.4107 -IFS=$as_save_IFS
4.4108 -
4.4109 -
4.4110 -fi
4.4111 -
4.4112 -GREP="$ac_cv_path_GREP"
4.4113 -if test -z "$GREP"; then
4.4114 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4.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 -fi
4.4118 -
4.4119 + $ac_path_GREP_found && break 3
4.4120 + done
4.4121 + done
4.4122 +done
4.4123 +IFS=$as_save_IFS
4.4124 + if test -z "$ac_cv_path_GREP"; then
4.4125 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4.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 + fi
4.4129 else
4.4130 ac_cv_path_GREP=$GREP
4.4131 fi
4.4132
4.4133 -
4.4134 -fi
4.4135 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4.4136 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4.4137 +fi
4.4138 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4.4139 +$as_echo "$ac_cv_path_GREP" >&6; }
4.4140 GREP="$ac_cv_path_GREP"
4.4141
4.4142
4.4143 -{ echo "$as_me:$LINENO: checking for egrep" >&5
4.4144 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4.4145 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4.4146 +$as_echo_n "checking for egrep... " >&6; }
4.4147 if test "${ac_cv_path_EGREP+set}" = set; then
4.4148 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4149 + $as_echo_n "(cached) " >&6
4.4150 else
4.4151 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4.4152 then ac_cv_path_EGREP="$GREP -E"
4.4153 else
4.4154 - # Extract the first word of "egrep" to use in msg output
4.4155 -if test -z "$EGREP"; then
4.4156 -set dummy egrep; ac_prog_name=$2
4.4157 -if test "${ac_cv_path_EGREP+set}" = set; then
4.4158 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4159 -else
4.4160 + if test -z "$EGREP"; then
4.4161 ac_path_EGREP_found=false
4.4162 -# Loop through the user's path and test for each of PROGNAME-LIST
4.4163 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.4164 + # Loop through the user's path and test for each of PROGNAME-LIST
4.4165 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.4166 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4.4167 do
4.4168 IFS=$as_save_IFS
4.4169 test -z "$as_dir" && as_dir=.
4.4170 for ac_prog in egrep; do
4.4171 - for ac_exec_ext in '' $ac_executable_extensions; do
4.4172 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4.4173 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4.4174 - # Check for GNU ac_path_EGREP and select it if it is found.
4.4175 + for ac_exec_ext in '' $ac_executable_extensions; do
4.4176 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4.4177 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4.4178 +# Check for GNU ac_path_EGREP and select it if it is found.
4.4179 # Check for GNU $ac_path_EGREP
4.4180 case `"$ac_path_EGREP" --version 2>&1` in
4.4181 *GNU*)
4.4182 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4.4183 *)
4.4184 ac_count=0
4.4185 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4.4186 + $as_echo_n 0123456789 >"conftest.in"
4.4187 while :
4.4188 do
4.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 || break
4.4195 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4.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 esac
4.4200
4.4201 -
4.4202 - $ac_path_EGREP_found && break 3
4.4203 - done
4.4204 -done
4.4205 -
4.4206 -done
4.4207 -IFS=$as_save_IFS
4.4208 -
4.4209 -
4.4210 -fi
4.4211 -
4.4212 -EGREP="$ac_cv_path_EGREP"
4.4213 -if test -z "$EGREP"; then
4.4214 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4.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 -fi
4.4218 -
4.4219 + $ac_path_EGREP_found && break 3
4.4220 + done
4.4221 + done
4.4222 +done
4.4223 +IFS=$as_save_IFS
4.4224 + if test -z "$ac_cv_path_EGREP"; then
4.4225 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4.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 + fi
4.4229 else
4.4230 ac_cv_path_EGREP=$EGREP
4.4231 fi
4.4232
4.4233 -
4.4234 fi
4.4235 fi
4.4236 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4.4237 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4.4238 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4.4239 +$as_echo "$ac_cv_path_EGREP" >&6; }
4.4240 EGREP="$ac_cv_path_EGREP"
4.4241
4.4242
4.4243 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4.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" >&5
4.4246 +$as_echo_n "checking for ANSI C header files... " >&6; }
4.4247 if test "${ac_cv_header_stdc+set}" = set; then
4.4248 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4249 + $as_echo_n "(cached) " >&6
4.4250 else
4.4251 cat >conftest.$ac_ext <<_ACEOF
4.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 esac
4.4257 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4258 - (eval "$ac_compile") 2>conftest.er1
4.4259 - ac_status=$?
4.4260 - grep -v '^ *+' conftest.er1 >conftest.err
4.4261 - rm -f conftest.er1
4.4262 - cat conftest.err >&5
4.4263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4264 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4265 +$as_echo "$ac_try_echo") >&5
4.4266 + (eval "$ac_compile") 2>conftest.er1
4.4267 + ac_status=$?
4.4268 + grep -v '^ *+' conftest.er1 >conftest.err
4.4269 + rm -f conftest.er1
4.4270 + cat conftest.err >&5
4.4271 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4272 (exit $ac_status); } && {
4.4273 test -z "$ac_c_werror_flag" ||
4.4274 test ! -s conftest.err
4.4275 } && test -s conftest.$ac_objext; then
4.4276 ac_cv_header_stdc=yes
4.4277 else
4.4278 - echo "$as_me: failed program was:" >&5
4.4279 + $as_echo "$as_me: failed program was:" >&5
4.4280 sed 's/^/| /' conftest.$ac_ext >&5
4.4281
4.4282 ac_cv_header_stdc=no
4.4283 @@ -4864,37 +5716,40 @@
4.4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4285 *) ac_try_echo=$ac_try;;
4.4286 esac
4.4287 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4288 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4289 +$as_echo "$ac_try_echo") >&5
4.4290 (eval "$ac_link") 2>&5
4.4291 ac_status=$?
4.4292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4293 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4.4295 { (case "(($ac_try" in
4.4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4297 *) ac_try_echo=$ac_try;;
4.4298 esac
4.4299 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4300 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4301 +$as_echo "$ac_try_echo") >&5
4.4302 (eval "$ac_try") 2>&5
4.4303 ac_status=$?
4.4304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4305 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4306 (exit $ac_status); }; }; then
4.4307 :
4.4308 else
4.4309 - echo "$as_me: program exited with status $ac_status" >&5
4.4310 -echo "$as_me: failed program was:" >&5
4.4311 + $as_echo "$as_me: program exited with status $ac_status" >&5
4.4312 +$as_echo "$as_me: failed program was:" >&5
4.4313 sed 's/^/| /' conftest.$ac_ext >&5
4.4314
4.4315 ( exit $ac_status )
4.4316 ac_cv_header_stdc=no
4.4317 fi
4.4318 +rm -rf conftest.dSYM
4.4319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4.4320 fi
4.4321
4.4322
4.4323 fi
4.4324 fi
4.4325 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4.4326 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4.4327 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4.4328 +$as_echo "$ac_cv_header_stdc" >&6; }
4.4329 if test $ac_cv_header_stdc = yes; then
4.4330
4.4331 cat >>confdefs.h <<\_ACEOF
4.4332 @@ -4905,34 +5760,34 @@
4.4333
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" >&5
4.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" >&5
4.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" >&5
4.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" >&5
4.4347 +$as_echo_n "checking build system type... " >&6; }
4.4348 if test "${ac_cv_build+set}" = set; then
4.4349 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4350 + $as_echo_n "(cached) " >&6
4.4351 else
4.4352 ac_build_alias=$build_alias
4.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" >&5
4.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" >&5
4.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" >&5
4.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 -fi
4.4367 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4.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" >&5
4.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 +fi
4.4374 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4.4375 +$as_echo "$ac_cv_build" >&6; }
4.4376 case $ac_cv_build in
4.4377 *-*-*) ;;
4.4378 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4.4379 -echo "$as_me: error: invalid value of canonical build" >&2;}
4.4380 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4.4381 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4.4382 { (exit 1); exit 1; }; };;
4.4383 esac
4.4384 build=$ac_cv_build
4.4385 @@ -4949,27 +5804,27 @@
4.4386 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4.4387
4.4388
4.4389 -{ echo "$as_me:$LINENO: checking host system type" >&5
4.4390 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4.4391 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4.4392 +$as_echo_n "checking host system type... " >&6; }
4.4393 if test "${ac_cv_host+set}" = set; then
4.4394 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4395 + $as_echo_n "(cached) " >&6
4.4396 else
4.4397 if test "x$host_alias" = x; then
4.4398 ac_cv_host=$ac_cv_build
4.4399 else
4.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" >&5
4.4402 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4.4403 - { (exit 1); exit 1; }; }
4.4404 -fi
4.4405 -
4.4406 -fi
4.4407 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4.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" >&5
4.4410 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4.4411 + { (exit 1); exit 1; }; }
4.4412 +fi
4.4413 +
4.4414 +fi
4.4415 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4.4416 +$as_echo "$ac_cv_host" >&6; }
4.4417 case $ac_cv_host in
4.4418 *-*-*) ;;
4.4419 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4.4420 -echo "$as_me: error: invalid value of canonical host" >&2;}
4.4421 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4.4422 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4.4423 { (exit 1); exit 1; }; };;
4.4424 esac
4.4425 host=$ac_cv_host
4.4426 @@ -5017,6 +5872,7 @@
4.4427 fi
4.4428
4.4429
4.4430 +
4.4431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4.4432
4.4433
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.h
4.4437 do
4.4438 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4.4439 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4.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" >&5
4.4443 +$as_echo_n "checking for $ac_header... " >&6; }
4.4444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4.4445 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4446 + $as_echo_n "(cached) " >&6
4.4447 else
4.4448 cat >conftest.$ac_ext <<_ACEOF
4.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 esac
4.4454 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4455 - (eval "$ac_compile") 2>conftest.er1
4.4456 - ac_status=$?
4.4457 - grep -v '^ *+' conftest.er1 >conftest.err
4.4458 - rm -f conftest.er1
4.4459 - cat conftest.err >&5
4.4460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4461 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4462 +$as_echo "$ac_try_echo") >&5
4.4463 + (eval "$ac_compile") 2>conftest.er1
4.4464 + ac_status=$?
4.4465 + grep -v '^ *+' conftest.er1 >conftest.err
4.4466 + rm -f conftest.er1
4.4467 + cat conftest.err >&5
4.4468 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4469 (exit $ac_status); } && {
4.4470 test -z "$ac_c_werror_flag" ||
4.4471 test ! -s conftest.err
4.4472 } && test -s conftest.$ac_objext; then
4.4473 eval "$as_ac_Header=yes"
4.4474 else
4.4475 - echo "$as_me: failed program was:" >&5
4.4476 + $as_echo "$as_me: failed program was:" >&5
4.4477 sed 's/^/| /' conftest.$ac_ext >&5
4.4478
4.4479 eval "$as_ac_Header=no"
4.4480 @@ -5073,110 +5930,33 @@
4.4481
4.4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.4483 fi
4.4484 -ac_res=`eval echo '${'$as_ac_Header'}'`
4.4485 - { echo "$as_me:$LINENO: result: $ac_res" >&5
4.4486 -echo "${ECHO_T}$ac_res" >&6; }
4.4487 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
4.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" >&5
4.4491 +$as_echo "$ac_res" >&6; }
4.4492 +if test `eval 'as_val=${'$as_ac_Header'}
4.4493 + $as_echo "$as_val"'` = yes; then
4.4494 cat >>confdefs.h <<_ACEOF
4.4495 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4.4496 -_ACEOF
4.4497 -
4.4498 -fi
4.4499 -
4.4500 -done
4.4501 -
4.4502 -
4.4503 -if test "x$with_osmesa" != xno; then
4.4504 -
4.4505 -
4.4506 -{ echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
4.4507 -echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
4.4508 -if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
4.4509 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4510 -else
4.4511 - ac_check_lib_save_LIBS=$LIBS
4.4512 -LIBS="-lOSMesa $LIBS"
4.4513 -cat >conftest.$ac_ext <<_ACEOF
4.4514 -/* confdefs.h. */
4.4515 -_ACEOF
4.4516 -cat confdefs.h >>conftest.$ac_ext
4.4517 -cat >>conftest.$ac_ext <<_ACEOF
4.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 GCC
4.4522 - builtin and then its argument prototype would still apply. */
4.4523 -#ifdef __cplusplus
4.4524 -extern "C"
4.4525 -#endif
4.4526 -char OSMesaCreateContext ();
4.4527 -int
4.4528 -main ()
4.4529 -{
4.4530 -return OSMesaCreateContext ();
4.4531 - ;
4.4532 - return 0;
4.4533 -}
4.4534 -_ACEOF
4.4535 -rm -f conftest.$ac_objext conftest$ac_exeext
4.4536 -if { (ac_try="$ac_link"
4.4537 -case "(($ac_try" in
4.4538 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4539 - *) ac_try_echo=$ac_try;;
4.4540 -esac
4.4541 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4542 - (eval "$ac_link") 2>conftest.er1
4.4543 - ac_status=$?
4.4544 - grep -v '^ *+' conftest.er1 >conftest.err
4.4545 - rm -f conftest.er1
4.4546 - cat conftest.err >&5
4.4547 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4548 - (exit $ac_status); } && {
4.4549 - test -z "$ac_c_werror_flag" ||
4.4550 - test ! -s conftest.err
4.4551 - } && test -s conftest$ac_exeext &&
4.4552 - $as_test_x conftest$ac_exeext; then
4.4553 - ac_cv_lib_OSMesa_OSMesaCreateContext=yes
4.4554 -else
4.4555 - echo "$as_me: failed program was:" >&5
4.4556 -sed 's/^/| /' conftest.$ac_ext >&5
4.4557 -
4.4558 - ac_cv_lib_OSMesa_OSMesaCreateContext=no
4.4559 -fi
4.4560 -
4.4561 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4.4562 - conftest$ac_exeext conftest.$ac_ext
4.4563 -LIBS=$ac_check_lib_save_LIBS
4.4564 -fi
4.4565 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
4.4566 -echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
4.4567 -if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
4.4568 - cat >>confdefs.h <<_ACEOF
4.4569 -#define HAVE_LIBOSMESA 1
4.4570 -_ACEOF
4.4571 -
4.4572 - LIBS="-lOSMesa $LIBS"
4.4573 -
4.4574 -else
4.4575 - { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
4.4576 -See \`config.log' for more details." >&5
4.4577 -echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
4.4578 -See \`config.log' for more details." >&2;}
4.4579 - { (exit 1); exit 1; }; }
4.4580 -fi
4.4581 -
4.4582 - if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
4.4583 - { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
4.4584 -echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
4.4585 -if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
4.4586 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4587 -fi
4.4588 -{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
4.4589 -echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
4.4590 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4.4591 +_ACEOF
4.4592 +
4.4593 +fi
4.4594 +
4.4595 +done
4.4596 +
4.4597 +
4.4598 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4.4599 + { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
4.4600 +$as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
4.4601 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4.4602 + $as_echo_n "(cached) " >&6
4.4603 +fi
4.4604 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
4.4605 +$as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
4.4606 else
4.4607 # Is the header compilable?
4.4608 -{ echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
4.4609 -echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }
4.4610 +{ $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
4.4611 +$as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
4.4612 cat >conftest.$ac_ext <<_ACEOF
4.4613 /* confdefs.h. */
4.4614 _ACEOF
4.4615 @@ -5184,270 +5964,123 @@
4.4616 cat >>conftest.$ac_ext <<_ACEOF
4.4617 /* end confdefs.h. */
4.4618 $ac_includes_default
4.4619 -#include <GL/osmesa.h>
4.4620 -_ACEOF
4.4621 -rm -f conftest.$ac_objext
4.4622 -if { (ac_try="$ac_compile"
4.4623 -case "(($ac_try" in
4.4624 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4625 - *) ac_try_echo=$ac_try;;
4.4626 -esac
4.4627 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4628 - (eval "$ac_compile") 2>conftest.er1
4.4629 - ac_status=$?
4.4630 - grep -v '^ *+' conftest.er1 >conftest.err
4.4631 - rm -f conftest.er1
4.4632 - cat conftest.err >&5
4.4633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4634 +#include <Cocoa/Cocoa.h>
4.4635 +_ACEOF
4.4636 +rm -f conftest.$ac_objext
4.4637 +if { (ac_try="$ac_compile"
4.4638 +case "(($ac_try" in
4.4639 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4640 + *) ac_try_echo=$ac_try;;
4.4641 +esac
4.4642 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4643 +$as_echo "$ac_try_echo") >&5
4.4644 + (eval "$ac_compile") 2>conftest.er1
4.4645 + ac_status=$?
4.4646 + grep -v '^ *+' conftest.er1 >conftest.err
4.4647 + rm -f conftest.er1
4.4648 + cat conftest.err >&5
4.4649 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4650 (exit $ac_status); } && {
4.4651 test -z "$ac_c_werror_flag" ||
4.4652 test ! -s conftest.err
4.4653 } && test -s conftest.$ac_objext; then
4.4654 ac_header_compiler=yes
4.4655 else
4.4656 - echo "$as_me: failed program was:" >&5
4.4657 + $as_echo "$as_me: failed program was:" >&5
4.4658 sed 's/^/| /' conftest.$ac_ext >&5
4.4659
4.4660 ac_header_compiler=no
4.4661 fi
4.4662
4.4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.4664 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4.4665 -echo "${ECHO_T}$ac_header_compiler" >&6; }
4.4666 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4.4667 +$as_echo "$ac_header_compiler" >&6; }
4.4668
4.4669 # Is the header present?
4.4670 -{ echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
4.4671 -echo $ECHO_N "checking GL/osmesa.h presence... $ECHO_C" >&6; }
4.4672 -cat >conftest.$ac_ext <<_ACEOF
4.4673 -/* confdefs.h. */
4.4674 -_ACEOF
4.4675 -cat confdefs.h >>conftest.$ac_ext
4.4676 -cat >>conftest.$ac_ext <<_ACEOF
4.4677 -/* end confdefs.h. */
4.4678 -#include <GL/osmesa.h>
4.4679 +{ $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
4.4680 +$as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
4.4681 +cat >conftest.$ac_ext <<_ACEOF
4.4682 +/* confdefs.h. */
4.4683 +_ACEOF
4.4684 +cat confdefs.h >>conftest.$ac_ext
4.4685 +cat >>conftest.$ac_ext <<_ACEOF
4.4686 +/* end confdefs.h. */
4.4687 +#include <Cocoa/Cocoa.h>
4.4688 _ACEOF
4.4689 if { (ac_try="$ac_cpp conftest.$ac_ext"
4.4690 case "(($ac_try" in
4.4691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4692 *) ac_try_echo=$ac_try;;
4.4693 esac
4.4694 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4695 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.4696 +$as_echo "$ac_try_echo") >&5
4.4697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.4698 ac_status=$?
4.4699 grep -v '^ *+' conftest.er1 >conftest.err
4.4700 rm -f conftest.er1
4.4701 cat conftest.err >&5
4.4702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4703 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4704 (exit $ac_status); } >/dev/null && {
4.4705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.4706 test ! -s conftest.err
4.4707 }; then
4.4708 ac_header_preproc=yes
4.4709 else
4.4710 - echo "$as_me: failed program was:" >&5
4.4711 + $as_echo "$as_me: failed program was:" >&5
4.4712 sed 's/^/| /' conftest.$ac_ext >&5
4.4713
4.4714 ac_header_preproc=no
4.4715 fi
4.4716
4.4717 rm -f conftest.err conftest.$ac_ext
4.4718 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4.4719 -echo "${ECHO_T}$ac_header_preproc" >&6; }
4.4720 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4.4721 +$as_echo "$ac_header_preproc" >&6; }
4.4722
4.4723 # So? What about this header?
4.4724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4.4725 yes:no: )
4.4726 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
4.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" >&5
4.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!" >&5
4.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" >&5
4.4733 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
4.4734 ac_header_preproc=yes
4.4735 ;;
4.4736 no:yes:* )
4.4737 - { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
4.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?" >&5
4.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" >&5
4.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\"" >&5
4.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" >&5
4.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" >&5
4.4748 -echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
4.4749 -
4.4750 - ;;
4.4751 -esac
4.4752 -{ echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
4.4753 -echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
4.4754 -if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
4.4755 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4756 -else
4.4757 - ac_cv_header_GL_osmesa_h=$ac_header_preproc
4.4758 -fi
4.4759 -{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
4.4760 -echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
4.4761 -
4.4762 -fi
4.4763 -if test $ac_cv_header_GL_osmesa_h = yes; then
4.4764 - :
4.4765 -else
4.4766 - { { echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
4.4767 -See \`config.log' for more details." >&5
4.4768 -echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
4.4769 -See \`config.log' for more details." >&2;}
4.4770 - { (exit 1); exit 1; }; }
4.4771 -fi
4.4772 -
4.4773 -
4.4774 -
4.4775 -fi
4.4776 -
4.4777 -
4.4778 -
4.4779 -if test "x$with_osmesa" != xno; then
4.4780 - OSMESA_DRIVER_TRUE=
4.4781 - OSMESA_DRIVER_FALSE='#'
4.4782 -else
4.4783 - OSMESA_DRIVER_TRUE='#'
4.4784 - OSMESA_DRIVER_FALSE=
4.4785 -fi
4.4786 -
4.4787 -
4.4788 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4.4789 - { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4.4790 -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
4.4791 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4.4792 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4793 -fi
4.4794 -{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4.4795 -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
4.4796 -else
4.4797 - # Is the header compilable?
4.4798 -{ echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
4.4799 -echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
4.4800 -cat >conftest.$ac_ext <<_ACEOF
4.4801 -/* confdefs.h. */
4.4802 -_ACEOF
4.4803 -cat confdefs.h >>conftest.$ac_ext
4.4804 -cat >>conftest.$ac_ext <<_ACEOF
4.4805 -/* end confdefs.h. */
4.4806 -$ac_includes_default
4.4807 -#include <Carbon/Carbon.h>
4.4808 -_ACEOF
4.4809 -rm -f conftest.$ac_objext
4.4810 -if { (ac_try="$ac_compile"
4.4811 -case "(($ac_try" in
4.4812 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4813 - *) ac_try_echo=$ac_try;;
4.4814 -esac
4.4815 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4816 - (eval "$ac_compile") 2>conftest.er1
4.4817 - ac_status=$?
4.4818 - grep -v '^ *+' conftest.er1 >conftest.err
4.4819 - rm -f conftest.er1
4.4820 - cat conftest.err >&5
4.4821 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4822 - (exit $ac_status); } && {
4.4823 - test -z "$ac_c_werror_flag" ||
4.4824 - test ! -s conftest.err
4.4825 - } && test -s conftest.$ac_objext; then
4.4826 - ac_header_compiler=yes
4.4827 -else
4.4828 - echo "$as_me: failed program was:" >&5
4.4829 -sed 's/^/| /' conftest.$ac_ext >&5
4.4830 -
4.4831 - ac_header_compiler=no
4.4832 -fi
4.4833 -
4.4834 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4.4835 -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4.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" >&5
4.4840 -echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
4.4841 -cat >conftest.$ac_ext <<_ACEOF
4.4842 -/* confdefs.h. */
4.4843 -_ACEOF
4.4844 -cat confdefs.h >>conftest.$ac_ext
4.4845 -cat >>conftest.$ac_ext <<_ACEOF
4.4846 -/* end confdefs.h. */
4.4847 -#include <Carbon/Carbon.h>
4.4848 -_ACEOF
4.4849 -if { (ac_try="$ac_cpp conftest.$ac_ext"
4.4850 -case "(($ac_try" in
4.4851 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4.4852 - *) ac_try_echo=$ac_try;;
4.4853 -esac
4.4854 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.4855 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4.4856 - ac_status=$?
4.4857 - grep -v '^ *+' conftest.er1 >conftest.err
4.4858 - rm -f conftest.er1
4.4859 - cat conftest.err >&5
4.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.4861 - (exit $ac_status); } >/dev/null && {
4.4862 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4.4863 - test ! -s conftest.err
4.4864 - }; then
4.4865 - ac_header_preproc=yes
4.4866 -else
4.4867 - echo "$as_me: failed program was:" >&5
4.4868 -sed 's/^/| /' conftest.$ac_ext >&5
4.4869 -
4.4870 - ac_header_preproc=no
4.4871 -fi
4.4872 -
4.4873 -rm -f conftest.err conftest.$ac_ext
4.4874 -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4.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 in
4.4879 - yes:no: )
4.4880 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
4.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" >&5
4.4883 -echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
4.4884 - ac_header_preproc=yes
4.4885 - ;;
4.4886 - no:yes:* )
4.4887 - { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
4.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?" >&5
4.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" >&5
4.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\"" >&5
4.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" >&5
4.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" >&5
4.4898 -echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
4.4899 -
4.4900 - ;;
4.4901 -esac
4.4902 -{ echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4.4903 -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
4.4904 -if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4.4905 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4906 -else
4.4907 - ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
4.4908 -fi
4.4909 -{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4.4910 -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
4.4911 -
4.4912 -fi
4.4913 -if test $ac_cv_header_Carbon_Carbon_h = yes; then
4.4914 -
4.4915 - HAVE_CARBON='yes'
4.4916 + { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
4.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?" >&5
4.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" >&5
4.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\"" >&5
4.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" >&5
4.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" >&5
4.4927 +$as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
4.4928 +
4.4929 + ;;
4.4930 +esac
4.4931 +{ $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
4.4932 +$as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
4.4933 +if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4.4934 + $as_echo_n "(cached) " >&6
4.4935 +else
4.4936 + ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
4.4937 +fi
4.4938 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
4.4939 +$as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
4.4940 +
4.4941 +fi
4.4942 +if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
4.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 <<\_ACEOF
4.4949 -#define HAVE_CARBON 1
4.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 <<\_ACEOF
4.4954 +#define HAVE_COCOA 1
4.4955 _ACEOF
4.4956
4.4957
4.4958 @@ -5461,15 +6094,25 @@
4.4959
4.4960
4.4961
4.4962 +if test "$HAVE_COCOA" = 'yes'; then
4.4963 + GUI_CARBON_TRUE=
4.4964 + GUI_CARBON_FALSE='#'
4.4965 +else
4.4966 + GUI_CARBON_TRUE='#'
4.4967 + GUI_CARBON_FALSE=
4.4968 +fi
4.4969 +
4.4970 +
4.4971 +
4.4972
4.4973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4.4974 if test -n "$ac_tool_prefix"; then
4.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=$2
4.4977 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.4978 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.4979 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.4980 +$as_echo_n "checking for $ac_word... " >&6; }
4.4981 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4.4982 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.4983 + $as_echo_n "(cached) " >&6
4.4984 else
4.4985 case $PKG_CONFIG in
4.4986 [\\/]* | ?:[\\/]*)
4.4987 @@ -5484,7 +6127,7 @@
4.4988 for ac_exec_ext in '' $ac_executable_extensions; do
4.4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.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" >&5
4.4992 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.4993 break 2
4.4994 fi
4.4995 done
4.4996 @@ -5496,11 +6139,11 @@
4.4997 fi
4.4998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4.4999 if test -n "$PKG_CONFIG"; then
4.5000 - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4.5001 -echo "${ECHO_T}$PKG_CONFIG" >&6; }
4.5002 -else
4.5003 - { echo "$as_me:$LINENO: result: no" >&5
4.5004 -echo "${ECHO_T}no" >&6; }
4.5005 + { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4.5006 +$as_echo "$PKG_CONFIG" >&6; }
4.5007 +else
4.5008 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.5009 +$as_echo "no" >&6; }
4.5010 fi
4.5011
4.5012
4.5013 @@ -5509,10 +6152,10 @@
4.5014 ac_pt_PKG_CONFIG=$PKG_CONFIG
4.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=$2
4.5017 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4.5018 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4.5019 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4.5020 +$as_echo_n "checking for $ac_word... " >&6; }
4.5021 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4.5022 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.5023 + $as_echo_n "(cached) " >&6
4.5024 else
4.5025 case $ac_pt_PKG_CONFIG in
4.5026 [\\/]* | ?:[\\/]*)
4.5027 @@ -5527,7 +6170,7 @@
4.5028 for ac_exec_ext in '' $ac_executable_extensions; do
4.5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4.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" >&5
4.5032 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4.5033 break 2
4.5034 fi
4.5035 done
4.5036 @@ -5539,11 +6182,11 @@
4.5037 fi
4.5038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4.5039 if test -n "$ac_pt_PKG_CONFIG"; then
4.5040 - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4.5041 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4.5042 -else
4.5043 - { echo "$as_me:$LINENO: result: no" >&5
4.5044 -echo "${ECHO_T}no" >&6; }
4.5045 + { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4.5046 +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4.5047 +else
4.5048 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.5049 +$as_echo "no" >&6; }
4.5050 fi
4.5051
4.5052 if test "x$ac_pt_PKG_CONFIG" = x; then
4.5053 @@ -5551,10 +6194,10 @@
4.5054 else
4.5055 case $cross_compiling:$ac_tool_warned in
4.5056 yes:)
4.5057 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.5058 +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4.5059 whose name does not start with the host triplet. If you think this
4.5060 configuration is useful to you, please write to autoconf@gnu.org." >&5
4.5061 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.5062 +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4.5063 whose name does not start with the host triplet. If you think this
4.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 fi
4.5068 if test -n "$PKG_CONFIG"; then
4.5069 _pkg_min_version=0.9.0
4.5070 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4.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" >&5
4.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; then
4.5075 - { echo "$as_me:$LINENO: result: yes" >&5
4.5076 -echo "${ECHO_T}yes" >&6; }
4.5077 + { $as_echo "$as_me:$LINENO: result: yes" >&5
4.5078 +$as_echo "yes" >&6; }
4.5079 else
4.5080 - { echo "$as_me:$LINENO: result: no" >&5
4.5081 -echo "${ECHO_T}no" >&6; }
4.5082 + { $as_echo "$as_me:$LINENO: result: no" >&5
4.5083 +$as_echo "no" >&6; }
4.5084 PKG_CONFIG=""
4.5085 fi
4.5086
4.5087 fi
4.5088
4.5089 pkg_failed=no
4.5090 -{ echo "$as_me:$LINENO: checking for LIBPNG" >&5
4.5091 -echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
4.5092 +{ $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
4.5093 +$as_echo_n "checking for LIBPNG... " >&6; }
4.5094
4.5095 if test -n "$PKG_CONFIG"; then
4.5096 if test -n "$LIBPNG_CFLAGS"; then
4.5097 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
4.5098 else
4.5099 if test -n "$PKG_CONFIG" && \
4.5100 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
4.5101 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
4.5102 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
4.5103 ac_status=$?
4.5104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5105 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5106 (exit $ac_status); }; then
4.5107 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
4.5108 else
4.5109 @@ -5608,10 +6251,10 @@
4.5110 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
4.5111 else
4.5112 if test -n "$PKG_CONFIG" && \
4.5113 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
4.5114 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
4.5115 ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
4.5116 ac_status=$?
4.5117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5118 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5119 (exit $ac_status); }; then
4.5120 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
4.5121 else
4.5122 @@ -5639,7 +6282,7 @@
4.5123 # Put the nasty error message in config.log where it belongs
4.5124 echo "$LIBPNG_PKG_ERRORS" >&5
4.5125
4.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.5128
4.5129 $LIBPNG_PKG_ERRORS
4.5130
4.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 " >&5
4.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.5137
4.5138 $LIBPNG_PKG_ERRORS
4.5139
4.5140 @@ -5663,7 +6306,7 @@
4.5141 " >&2;}
4.5142 { (exit 1); exit 1; }; }
4.5143 elif test $pkg_failed = untried; then
4.5144 - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4.5145 + { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4.5146 is in your PATH or set the PKG_CONFIG environment variable to the full
4.5147 path to pkg-config.
4.5148
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.5152
4.5153 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4.5154 -See \`config.log' for more details." >&5
4.5155 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4.5156 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4.5157 +See \`config.log' for more details." >&5
4.5158 +$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4.5159 is in your PATH or set the PKG_CONFIG environment variable to the full
4.5160 path to pkg-config.
4.5161
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.5165
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 else
4.5171 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
4.5172 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
4.5173 - { echo "$as_me:$LINENO: result: yes" >&5
4.5174 -echo "${ECHO_T}yes" >&6; }
4.5175 + { $as_echo "$as_me:$LINENO: result: yes" >&5
4.5176 +$as_echo "yes" >&6; }
4.5177 :
4.5178 fi
4.5179
4.5180
4.5181 -{ echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
4.5182 -echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
4.5183 +{ $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
4.5184 +$as_echo_n "checking for uncompress in -lz... " >&6; }
4.5185 if test "${ac_cv_lib_z_uncompress+set}" = set; then
4.5186 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.5187 + $as_echo_n "(cached) " >&6
4.5188 else
4.5189 ac_check_lib_save_LIBS=$LIBS
4.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 esac
4.5195 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4.5196 - (eval "$ac_link") 2>conftest.er1
4.5197 - ac_status=$?
4.5198 - grep -v '^ *+' conftest.er1 >conftest.err
4.5199 - rm -f conftest.er1
4.5200 - cat conftest.err >&5
4.5201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5202 - (exit $ac_status); } && {
4.5203 - test -z "$ac_c_werror_flag" ||
4.5204 - test ! -s conftest.err
4.5205 - } && test -s conftest$ac_exeext &&
4.5206 - $as_test_x conftest$ac_exeext; then
4.5207 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4.5208 +$as_echo "$ac_try_echo") >&5
4.5209 + (eval "$ac_link") 2>conftest.er1
4.5210 + ac_status=$?
4.5211 + grep -v '^ *+' conftest.er1 >conftest.err
4.5212 + rm -f conftest.er1
4.5213 + cat conftest.err >&5
4.5214 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4.5215 + (exit $ac_status); } && {
4.5216 + test -z "$ac_c_werror_flag" ||
4.5217 + test ! -s conftest.err
4.5218 + } && test -s conftest$ac_exeext && {
4.5219 + test "$cross_compiling" = yes ||
4.5220 + $as_test_x conftest$ac_exeext
4.5221 + }; then
4.5222 ac_cv_lib_z_uncompress=yes
4.5223 else
4.5224 - echo "$as_me: failed program was:" >&5
4.5225 + $as_echo "$as_me: failed program was:" >&5
4.5226 sed 's/^/| /' conftest.$ac_ext >&5
4.5227
4.5228 ac_cv_lib_z_uncompress=no
4.5229 fi
4.5230
4.5231 +rm -rf conftest.dSYM
4.5232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4.5233 conftest$ac_exeext conftest.$ac_ext
4.5234 LIBS=$ac_check_lib_save_LIBS
4.5235 fi
4.5236 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
4.5237 -echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
4.5238 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
4.5239 +$as_echo "$ac_cv_lib_z_uncompress" >&6; }
4.5240 if test $ac_cv_lib_z_uncompress = yes; then
4.5241 cat >>confdefs.h <<_ACEOF
4.5242 #define HAVE_LIBZ 1
4.5243 @@ -5768,502 +6415,21 @@
4.5244 fi
4.5245
4.5246
4.5247 -if test "$APPLE_BUILD" != 'yes'; then
4.5248 -if test "x$with_osmesa" == "xno"; then
4.5249 -
4.5250 -{ echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
4.5251 -echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
4.5252 -if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
4.5253 - echo $ECHO_N "(cached) $ECHO_C" >&6
4.5254 -else
4.5255 - ac_check_lib_save_LIBS=$LIBS
4.5256 -LIBS="-lGL $LIBS"
4.5257 -cat >conftest.$ac_ext <<_ACEOF
4.5258 -/* confdefs.h. */
4.5259 -_ACEOF
4.5260 -cat confdefs.h >>conftest.$ac_ext
4.5261 -cat >>conftest.$ac_ext <<_ACEOF
4.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 GCC
4.5266 - builtin and then its argument prototype would still apply. */
4.5267 -#ifdef __cplusplus
4.5268 -extern "C"
4.5269 -#endif
4.5270 -char glXQueryVersion ();
4.5271 -int
4.5272 -main ()
4.5273 -{
4.5274 -return glXQueryVersion ();
4.5275 - ;
4.5276 - return 0;
4.5277 -}