Search
lxdream.org :: lxdream :: r1:eea311cfd33e
lxdream 0.9.1
released Jun 29
Download Now
changeset1:eea311cfd33e
parent0:ed8e5e0e94f1
child2:42349f6ea216
authornkeynes
dateSat Mar 13 00:03:32 2004 +0000 (15 years ago)
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
AUTHORS
ChangeLog
Makefile.am
Makefile.in
NEWS
README
TODO
acconfig.h
aclocal.m4
autogen.sh
config.h.in
configure
configure.in
dream.glade
dream.gladep
pixmaps/dcemu.gif
po/ChangeLog
po/Makefile.in.in
po/POTFILES.in
src/Makefile.am
src/Makefile.in
src/aica.c
src/aica.h
src/asic.c
src/asic.h
src/bootstrap.c
src/bootstrap.h
src/dream.h
src/gdrom/cdi.c
src/gdrom/cdi.h
src/gui/callbacks.c
src/gui/callbacks.h
src/gui/gui.c
src/gui/gui.h
src/gui/gui_mmr.c
src/gui/interface.c
src/gui/interface.h
src/gui/support.c
src/gui/support.h
src/loader.c
src/machine.c
src/main.c
src/maple/maple.c
src/maple/maple.h
src/pvr2/pvr2.c
src/pvr2/pvr2.h
src/sh4/Makefile
src/sh4/Makefile.am
src/sh4/Makefile.in
src/sh4/intc.c
src/sh4/intc.h
src/sh4/mem.c
src/sh4/mem.h
src/sh4/mmio.h
src/sh4/sh4core.c
src/sh4/sh4core.h
src/sh4/sh4dasm.c
src/sh4/sh4dasm.h
src/sh4/sh4mmio.c
src/sh4/sh4mmio.h
src/tst.c
src/tst1.c
src/video.c
src/video.h
stamp-h.in
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/ChangeLog Sat Mar 13 00:03:32 2004 +0000
1.3 @@ -0,0 +1,2 @@
1.4 +07 Mar 2004 - Restarting the project. Ported the gui layer to Gtk 2.0
1.5 + (although still need to replace the GtkCLists at some point)
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/Makefile.am Sat Mar 13 00:03:32 2004 +0000
2.3 @@ -0,0 +1,30 @@
2.4 +## Process this file with automake to produce Makefile.in
2.5 +
2.6 +SUBDIRS = src po
2.7 +
2.8 +EXTRA_DIST = \
2.9 + autogen.sh \
2.10 + dream.glade \
2.11 + dream.gladep
2.12 +
2.13 +install-data-local:
2.14 + @$(NORMAL_INSTALL)
2.15 + if test -d $(srcdir)/pixmaps; then \
2.16 + $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
2.17 + for pixmap in $(srcdir)/pixmaps/*; do \
2.18 + if test -f $$pixmap; then \
2.19 + $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
2.20 + fi \
2.21 + done \
2.22 + fi
2.23 +
2.24 +dist-hook:
2.25 + if test -d pixmaps; then \
2.26 + mkdir $(distdir)/pixmaps; \
2.27 + for pixmap in pixmaps/*; do \
2.28 + if test -f $$pixmap; then \
2.29 + cp -p $$pixmap $(distdir)/pixmaps; \
2.30 + fi \
2.31 + done \
2.32 + fi
2.33 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/Makefile.in Sat Mar 13 00:03:32 2004 +0000
3.3 @@ -0,0 +1,563 @@
3.4 +# Makefile.in generated by automake 1.7.9 from Makefile.am.
3.5 +# @configure_input@
3.6 +
3.7 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
3.8 +# Free Software Foundation, Inc.
3.9 +# This Makefile.in is free software; the Free Software Foundation
3.10 +# gives unlimited permission to copy and/or distribute it,
3.11 +# with or without modifications, as long as this notice is preserved.
3.12 +
3.13 +# This program is distributed in the hope that it will be useful,
3.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
3.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
3.16 +# PARTICULAR PURPOSE.
3.17 +
3.18 +@SET_MAKE@
3.19 +
3.20 +srcdir = @srcdir@
3.21 +top_srcdir = @top_srcdir@
3.22 +VPATH = @srcdir@
3.23 +pkgdatadir = $(datadir)/@PACKAGE@
3.24 +pkglibdir = $(libdir)/@PACKAGE@
3.25 +pkgincludedir = $(includedir)/@PACKAGE@
3.26 +top_builddir = .
3.27 +
3.28 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
3.29 +INSTALL = @INSTALL@
3.30 +install_sh_DATA = $(install_sh) -c -m 644
3.31 +install_sh_PROGRAM = $(install_sh) -c
3.32 +install_sh_SCRIPT = $(install_sh) -c
3.33 +INSTALL_HEADER = $(INSTALL_DATA)
3.34 +transform = $(program_transform_name)
3.35 +NORMAL_INSTALL = :
3.36 +PRE_INSTALL = :
3.37 +POST_INSTALL = :
3.38 +NORMAL_UNINSTALL = :
3.39 +PRE_UNINSTALL = :
3.40 +POST_UNINSTALL = :
3.41 +ACLOCAL = @ACLOCAL@
3.42 +AMDEP_FALSE = @AMDEP_FALSE@
3.43 +AMDEP_TRUE = @AMDEP_TRUE@
3.44 +AMTAR = @AMTAR@
3.45 +AUTOCONF = @AUTOCONF@
3.46 +AUTOHEADER = @AUTOHEADER@
3.47 +AUTOMAKE = @AUTOMAKE@
3.48 +AWK = @AWK@
3.49 +CATALOGS = @CATALOGS@
3.50 +CATOBJEXT = @CATOBJEXT@
3.51 +CC = @CC@
3.52 +CCDEPMODE = @CCDEPMODE@
3.53 +CFLAGS = @CFLAGS@
3.54 +CPP = @CPP@
3.55 +CPPFLAGS = @CPPFLAGS@
3.56 +CYGPATH_W = @CYGPATH_W@
3.57 +DATADIRNAME = @DATADIRNAME@
3.58 +DEFS = @DEFS@
3.59 +DEPDIR = @DEPDIR@
3.60 +ECHO_C = @ECHO_C@
3.61 +ECHO_N = @ECHO_N@
3.62 +ECHO_T = @ECHO_T@
3.63 +EGREP = @EGREP@
3.64 +EXEEXT = @EXEEXT@
3.65 +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
3.66 +GMOFILES = @GMOFILES@
3.67 +GMSGFMT = @GMSGFMT@
3.68 +INSTALL_DATA = @INSTALL_DATA@
3.69 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
3.70 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
3.71 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
3.72 +INSTOBJEXT = @INSTOBJEXT@
3.73 +INTLLIBS = @INTLLIBS@
3.74 +LDFLAGS = @LDFLAGS@
3.75 +LIBOBJS = @LIBOBJS@
3.76 +LIBS = @LIBS@
3.77 +LTLIBOBJS = @LTLIBOBJS@
3.78 +MAINT = @MAINT@
3.79 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
3.80 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
3.81 +MAKEINFO = @MAKEINFO@
3.82 +MKINSTALLDIRS = @MKINSTALLDIRS@
3.83 +MSGFMT = @MSGFMT@
3.84 +OBJEXT = @OBJEXT@
3.85 +PACKAGE = @PACKAGE@
3.86 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
3.87 +PACKAGE_CFLAGS = @PACKAGE_CFLAGS@
3.88 +PACKAGE_LIBS = @PACKAGE_LIBS@
3.89 +PACKAGE_NAME = @PACKAGE_NAME@
3.90 +PACKAGE_STRING = @PACKAGE_STRING@
3.91 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
3.92 +PACKAGE_VERSION = @PACKAGE_VERSION@
3.93 +PATH_SEPARATOR = @PATH_SEPARATOR@
3.94 +PKG_CONFIG = @PKG_CONFIG@
3.95 +POFILES = @POFILES@
3.96 +POSUB = @POSUB@
3.97 +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
3.98 +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
3.99 +SET_MAKE = @SET_MAKE@
3.100 +SHELL = @SHELL@
3.101 +STRIP = @STRIP@
3.102 +USE_NLS = @USE_NLS@
3.103 +VERSION = @VERSION@
3.104 +XGETTEXT = @XGETTEXT@
3.105 +ac_ct_CC = @ac_ct_CC@
3.106 +ac_ct_STRIP = @ac_ct_STRIP@
3.107 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
3.108 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
3.109 +am__include = @am__include@
3.110 +am__leading_dot = @am__leading_dot@
3.111 +am__quote = @am__quote@
3.112 +bindir = @bindir@
3.113 +build_alias = @build_alias@
3.114 +datadir = @datadir@
3.115 +exec_prefix = @exec_prefix@
3.116 +host_alias = @host_alias@
3.117 +includedir = @includedir@
3.118 +infodir = @infodir@
3.119 +install_sh = @install_sh@
3.120 +libdir = @libdir@
3.121 +libexecdir = @libexecdir@
3.122 +localstatedir = @localstatedir@
3.123 +mandir = @mandir@
3.124 +oldincludedir = @oldincludedir@
3.125 +prefix = @prefix@
3.126 +program_transform_name = @program_transform_name@
3.127 +sbindir = @sbindir@
3.128 +sharedstatedir = @sharedstatedir@
3.129 +sysconfdir = @sysconfdir@
3.130 +target_alias = @target_alias@
3.131 +
3.132 +SUBDIRS = src po
3.133 +
3.134 +EXTRA_DIST = \
3.135 + autogen.sh \
3.136 + dream.glade \
3.137 + dream.gladep
3.138 +
3.139 +subdir = .
3.140 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3.141 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
3.142 +CONFIG_HEADER = config.h
3.143 +CONFIG_CLEAN_FILES =
3.144 +DIST_SOURCES =
3.145 +
3.146 +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
3.147 + ps-recursive install-info-recursive uninstall-info-recursive \
3.148 + all-recursive install-data-recursive install-exec-recursive \
3.149 + installdirs-recursive install-recursive uninstall-recursive \
3.150 + check-recursive installcheck-recursive
3.151 +DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
3.152 + COPYING ChangeLog INSTALL Makefile.am NEWS acconfig.h \
3.153 + aclocal.m4 config.h.in configure.in depcomp install-sh missing \
3.154 + mkinstalldirs
3.155 +DIST_SUBDIRS = $(SUBDIRS)
3.156 +all: config.h
3.157 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
3.158 +
3.159 +.SUFFIXES:
3.160 +
3.161 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
3.162 + configure.lineno
3.163 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
3.164 + cd $(top_srcdir) && \
3.165 + $(AUTOMAKE) --gnu Makefile
3.166 +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
3.167 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
3.168 +
3.169 +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3.170 + $(SHELL) ./config.status --recheck
3.171 +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3.172 + cd $(srcdir) && $(AUTOCONF)
3.173 +
3.174 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
3.175 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
3.176 +
3.177 +config.h: stamp-h1
3.178 + @if test ! -f $@; then \
3.179 + rm -f stamp-h1; \
3.180 + $(MAKE) stamp-h1; \
3.181 + else :; fi
3.182 +
3.183 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
3.184 + @rm -f stamp-h1
3.185 + cd $(top_builddir) && $(SHELL) ./config.status config.h
3.186 +
3.187 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
3.188 + cd $(top_srcdir) && $(AUTOHEADER)
3.189 + touch $(srcdir)/config.h.in
3.190 +
3.191 +distclean-hdr:
3.192 + -rm -f config.h stamp-h1
3.193 +uninstall-info-am:
3.194 +
3.195 +# This directory's subdirectories are mostly independent; you can cd
3.196 +# into them and run `make' without going through this Makefile.
3.197 +# To change the values of `make' variables: instead of editing Makefiles,
3.198 +# (1) if the variable is set in `config.status', edit `config.status'
3.199 +# (which will cause the Makefiles to be regenerated when you run `make');
3.200 +# (2) otherwise, pass the desired values on the `make' command line.
3.201 +$(RECURSIVE_TARGETS):
3.202 + @set fnord $$MAKEFLAGS; amf=$$2; \
3.203 + dot_seen=no; \
3.204 + target=`echo $@ | sed s/-recursive//`; \
3.205 + list='$(SUBDIRS)'; for subdir in $$list; do \
3.206 + echo "Making $$target in $$subdir"; \
3.207 + if test "$$subdir" = "."; then \
3.208 + dot_seen=yes; \
3.209 + local_target="$$target-am"; \
3.210 + else \
3.211 + local_target="$$target"; \
3.212 + fi; \
3.213 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3.214 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3.215 + done; \
3.216 + if test "$$dot_seen" = "no"; then \
3.217 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
3.218 + fi; test -z "$$fail"
3.219 +
3.220 +mostlyclean-recursive clean-recursive distclean-recursive \
3.221 +maintainer-clean-recursive:
3.222 + @set fnord $$MAKEFLAGS; amf=$$2; \
3.223 + dot_seen=no; \
3.224 + case "$@" in \
3.225 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
3.226 + *) list='$(SUBDIRS)' ;; \
3.227 + esac; \
3.228 + rev=''; for subdir in $$list; do \
3.229 + if test "$$subdir" = "."; then :; else \
3.230 + rev="$$subdir $$rev"; \
3.231 + fi; \
3.232 + done; \
3.233 + rev="$$rev ."; \
3.234 + target=`echo $@ | sed s/-recursive//`; \
3.235 + for subdir in $$rev; do \
3.236 + echo "Making $$target in $$subdir"; \
3.237 + if test "$$subdir" = "."; then \
3.238 + local_target="$$target-am"; \
3.239 + else \
3.240 + local_target="$$target"; \
3.241 + fi; \
3.242 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3.243 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3.244 + done && test -z "$$fail"
3.245 +tags-recursive:
3.246 + list='$(SUBDIRS)'; for subdir in $$list; do \
3.247 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
3.248 + done
3.249 +ctags-recursive:
3.250 + list='$(SUBDIRS)'; for subdir in $$list; do \
3.251 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
3.252 + done
3.253 +
3.254 +ETAGS = etags
3.255 +ETAGSFLAGS =
3.256 +
3.257 +CTAGS = ctags
3.258 +CTAGSFLAGS =
3.259 +
3.260 +tags: TAGS
3.261 +
3.262 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
3.263 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
3.264 + unique=`for i in $$list; do \
3.265 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3.266 + done | \
3.267 + $(AWK) ' { files[$$0] = 1; } \
3.268 + END { for (i in files) print i; }'`; \
3.269 + mkid -fID $$unique
3.270 +
3.271 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3.272 + $(TAGS_FILES) $(LISP)
3.273 + tags=; \
3.274 + here=`pwd`; \
3.275 + if (etags --etags-include --version) >/dev/null 2>&1; then \
3.276 + include_option=--etags-include; \
3.277 + else \
3.278 + include_option=--include; \
3.279 + fi; \
3.280 + list='$(SUBDIRS)'; for subdir in $$list; do \
3.281 + if test "$$subdir" = .; then :; else \
3.282 + test -f $$subdir/TAGS && \
3.283 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
3.284 + fi; \
3.285 + done; \
3.286 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
3.287 + unique=`for i in $$list; do \
3.288 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3.289 + done | \
3.290 + $(AWK) ' { files[$$0] = 1; } \
3.291 + END { for (i in files) print i; }'`; \
3.292 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
3.293 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
3.294 + $$tags $$unique
3.295 +
3.296 +ctags: CTAGS
3.297 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3.298 + $(TAGS_FILES) $(LISP)
3.299 + tags=; \
3.300 + here=`pwd`; \
3.301 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
3.302 + unique=`for i in $$list; do \
3.303 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3.304 + done | \
3.305 + $(AWK) ' { files[$$0] = 1; } \
3.306 + END { for (i in files) print i; }'`; \
3.307 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
3.308 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
3.309 + $$tags $$unique
3.310 +
3.311 +GTAGS:
3.312 + here=`$(am__cd) $(top_builddir) && pwd` \
3.313 + && cd $(top_srcdir) \
3.314 + && gtags -i $(GTAGS_ARGS) $$here
3.315 +
3.316 +distclean-tags:
3.317 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
3.318 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3.319 +
3.320 +top_distdir = .
3.321 +distdir = $(PACKAGE)-$(VERSION)
3.322 +
3.323 +am__remove_distdir = \
3.324 + { test ! -d $(distdir) \
3.325 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
3.326 + && rm -fr $(distdir); }; }
3.327 +
3.328 +GZIP_ENV = --best
3.329 +distuninstallcheck_listfiles = find . -type f -print
3.330 +distcleancheck_listfiles = find . -type f -print
3.331 +
3.332 +distdir: $(DISTFILES)
3.333 + $(am__remove_distdir)
3.334 + mkdir $(distdir)
3.335 + $(mkinstalldirs) $(distdir)/po
3.336 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
3.337 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
3.338 + list='$(DISTFILES)'; for file in $$list; do \
3.339 + case $$file in \
3.340 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
3.341 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
3.342 + esac; \
3.343 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
3.344 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
3.345 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
3.346 + dir="/$$dir"; \
3.347 + $(mkinstalldirs) "$(distdir)$$dir"; \
3.348 + else \
3.349 + dir=''; \
3.350 + fi; \
3.351 + if test -d $$d/$$file; then \
3.352 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
3.353 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
3.354 + fi; \
3.355 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
3.356 + else \
3.357 + test -f $(distdir)/$$file \
3.358 + || cp -p $$d/$$file $(distdir)/$$file \
3.359 + || exit 1; \
3.360 + fi; \
3.361 + done
3.362 + list='$(SUBDIRS)'; for subdir in $$list; do \
3.363 + if test "$$subdir" = .; then :; else \
3.364 + test -d $(distdir)/$$subdir \
3.365 + || mkdir $(distdir)/$$subdir \
3.366 + || exit 1; \
3.367 + (cd $$subdir && \
3.368 + $(MAKE) $(AM_MAKEFLAGS) \
3.369 + top_distdir="$(top_distdir)" \
3.370 + distdir=../$(distdir)/$$subdir \
3.371 + distdir) \
3.372 + || exit 1; \
3.373 + fi; \
3.374 + done
3.375 + $(MAKE) $(AM_MAKEFLAGS) \
3.376 + top_distdir="$(top_distdir)" distdir="$(distdir)" \
3.377 + dist-hook
3.378 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
3.379 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
3.380 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
3.381 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
3.382 + || chmod -R a+r $(distdir)
3.383 +dist-gzip: distdir
3.384 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3.385 + $(am__remove_distdir)
3.386 +
3.387 +dist dist-all: distdir
3.388 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3.389 + $(am__remove_distdir)
3.390 +
3.391 +# This target untars the dist file and tries a VPATH configuration. Then
3.392 +# it guarantees that the distribution is self-contained by making another
3.393 +# tarfile.
3.394 +distcheck: dist
3.395 + $(am__remove_distdir)
3.396 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
3.397 + chmod -R a-w $(distdir); chmod a+w $(distdir)
3.398 + mkdir $(distdir)/_build
3.399 + mkdir $(distdir)/_inst
3.400 + chmod a-w $(distdir)
3.401 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
3.402 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
3.403 + && cd $(distdir)/_build \
3.404 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
3.405 + $(DISTCHECK_CONFIGURE_FLAGS) \
3.406 + && $(MAKE) $(AM_MAKEFLAGS) \
3.407 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
3.408 + && $(MAKE) $(AM_MAKEFLAGS) check \
3.409 + && $(MAKE) $(AM_MAKEFLAGS) install \
3.410 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
3.411 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
3.412 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
3.413 + distuninstallcheck \
3.414 + && chmod -R a-w "$$dc_install_base" \
3.415 + && ({ \
3.416 + (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
3.417 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
3.418 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
3.419 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
3.420 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
3.421 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
3.422 + && rm -rf "$$dc_destdir" \
3.423 + && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
3.424 + && rm -f $(distdir).tar.gz \
3.425 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
3.426 + $(am__remove_distdir)
3.427 + @echo "$(distdir).tar.gz is ready for distribution" | \
3.428 + sed 'h;s/./=/g;p;x;p;x'
3.429 +distuninstallcheck:
3.430 + @cd $(distuninstallcheck_dir) \
3.431 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
3.432 + || { echo "ERROR: files left after uninstall:" ; \
3.433 + if test -n "$(DESTDIR)"; then \
3.434 + echo " (check DESTDIR support)"; \
3.435 + fi ; \
3.436 + $(distuninstallcheck_listfiles) ; \
3.437 + exit 1; } >&2
3.438 +distcleancheck: distclean
3.439 + @if test '$(srcdir)' = . ; then \
3.440 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
3.441 + exit 1 ; \
3.442 + fi
3.443 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
3.444 + || { echo "ERROR: files left in build directory after distclean:" ; \
3.445 + $(distcleancheck_listfiles) ; \
3.446 + exit 1; } >&2
3.447 +check-am: all-am
3.448 +check: check-recursive
3.449 +all-am: Makefile config.h
3.450 +installdirs: installdirs-recursive
3.451 +installdirs-am:
3.452 +
3.453 +install: install-recursive
3.454 +install-exec: install-exec-recursive
3.455 +install-data: install-data-recursive
3.456 +uninstall: uninstall-recursive
3.457 +
3.458 +install-am: all-am
3.459 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
3.460 +
3.461 +installcheck: installcheck-recursive
3.462 +install-strip:
3.463 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
3.464 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
3.465 + `test -z '$(STRIP)' || \
3.466 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
3.467 +mostlyclean-generic:
3.468 +
3.469 +clean-generic:
3.470 +
3.471 +distclean-generic:
3.472 + -rm -f $(CONFIG_CLEAN_FILES)
3.473 +
3.474 +maintainer-clean-generic:
3.475 + @echo "This command is intended for maintainers to use"
3.476 + @echo "it deletes files that may require special tools to rebuild."
3.477 +clean: clean-recursive
3.478 +
3.479 +clean-am: clean-generic mostlyclean-am
3.480 +
3.481 +distclean: distclean-recursive
3.482 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
3.483 + -rm -f Makefile
3.484 +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
3.485 +
3.486 +dvi: dvi-recursive
3.487 +
3.488 +dvi-am:
3.489 +
3.490 +info: info-recursive
3.491 +
3.492 +info-am:
3.493 +
3.494 +install-data-am: install-data-local
3.495 +
3.496 +install-exec-am:
3.497 +
3.498 +install-info: install-info-recursive
3.499 +
3.500 +install-man:
3.501 +
3.502 +installcheck-am:
3.503 +
3.504 +maintainer-clean: maintainer-clean-recursive
3.505 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
3.506 + -rm -rf $(top_srcdir)/autom4te.cache
3.507 + -rm -f Makefile
3.508 +maintainer-clean-am: distclean-am maintainer-clean-generic
3.509 +
3.510 +mostlyclean: mostlyclean-recursive
3.511 +
3.512 +mostlyclean-am: mostlyclean-generic
3.513 +
3.514 +pdf: pdf-recursive
3.515 +
3.516 +pdf-am:
3.517 +
3.518 +ps: ps-recursive
3.519 +
3.520 +ps-am:
3.521 +
3.522 +uninstall-am: uninstall-info-am
3.523 +
3.524 +uninstall-info: uninstall-info-recursive
3.525 +
3.526 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
3.527 + clean-generic clean-recursive ctags ctags-recursive dist \
3.528 + dist-all dist-gzip distcheck distclean distclean-generic \
3.529 + distclean-hdr distclean-recursive distclean-tags distcleancheck \
3.530 + distdir distuninstallcheck dvi dvi-am dvi-recursive info \
3.531 + info-am info-recursive install install-am install-data \
3.532 + install-data-am install-data-local install-data-recursive \
3.533 + install-exec install-exec-am install-exec-recursive \
3.534 + install-info install-info-am install-info-recursive install-man \
3.535 + install-recursive install-strip installcheck installcheck-am \
3.536 + installdirs installdirs-am installdirs-recursive \
3.537 + maintainer-clean maintainer-clean-generic \
3.538 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
3.539 + mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
3.540 + ps-recursive tags tags-recursive uninstall uninstall-am \
3.541 + uninstall-info-am uninstall-info-recursive uninstall-recursive
3.542 +
3.543 +
3.544 +install-data-local:
3.545 + @$(NORMAL_INSTALL)
3.546 + if test -d $(srcdir)/pixmaps; then \
3.547 + $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
3.548 + for pixmap in $(srcdir)/pixmaps/*; do \
3.549 + if test -f $$pixmap; then \
3.550 + $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
3.551 + fi \
3.552 + done \
3.553 + fi
3.554 +
3.555 +dist-hook:
3.556 + if test -d pixmaps; then \
3.557 + mkdir $(distdir)/pixmaps; \
3.558 + for pixmap in pixmaps/*; do \
3.559 + if test -f $$pixmap; then \
3.560 + cp -p $$pixmap $(distdir)/pixmaps; \
3.561 + fi \
3.562 + done \
3.563 + fi
3.564 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
3.565 +# Otherwise a system limit (for SysV at least) may be exceeded.
3.566 +.NOEXPORT:
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/TODO Sat Mar 13 00:03:32 2004 +0000
4.3 @@ -0,0 +1,15 @@
4.4 +Immediate stuff to look at:
4.5 +
4.6 + * Maple bus
4.7 + - various controllers
4.8 +
4.9 + * IDE/GDRom drive
4.10 + - cd-file interface (cdi, bin/cue, , nrg, mds, etc)
4.11 +
4.12 +And then
4.13 + * EXTDMA unit
4.14 + * PowerVR chip
4.15 + * Sound chip
4.16 + - ARM7trm cpu core (yeah, this one will be fun)
4.17 + - DSP side
4.18 + * network adapter
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/acconfig.h Sat Mar 13 00:03:32 2004 +0000
5.3 @@ -0,0 +1,7 @@
5.4 +#undef ENABLE_NLS
5.5 +#undef HAVE_CATGETS
5.6 +#undef HAVE_GETTEXT
5.7 +#undef GETTEXT_PACKAGE
5.8 +#undef HAVE_LC_MESSAGES
5.9 +#undef HAVE_STPCPY
5.10 +#undef HAVE_LIBSM
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/aclocal.m4 Sat Mar 13 00:03:32 2004 +0000
6.3 @@ -0,0 +1,1474 @@
6.4 +# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
6.5 +
6.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
6.7 +# Free Software Foundation, Inc.
6.8 +# This file is free software; the Free Software Foundation
6.9 +# gives unlimited permission to copy and/or distribute it,
6.10 +# with or without modifications, as long as this notice is preserved.
6.11 +
6.12 +# This program is distributed in the hope that it will be useful,
6.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
6.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6.15 +# PARTICULAR PURPOSE.
6.16 +
6.17 +# Do all the work for Automake. -*- Autoconf -*-
6.18 +
6.19 +# This macro actually does too much some checks are only needed if
6.20 +# your package does certain things. But this isn't really a big deal.
6.21 +
6.22 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
6.23 +# Free Software Foundation, Inc.
6.24 +
6.25 +# This program is free software; you can redistribute it and/or modify
6.26 +# it under the terms of the GNU General Public License as published by
6.27 +# the Free Software Foundation; either version 2, or (at your option)
6.28 +# any later version.
6.29 +
6.30 +# This program is distributed in the hope that it will be useful,
6.31 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.32 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.33 +# GNU General Public License for more details.
6.34 +
6.35 +# You should have received a copy of the GNU General Public License
6.36 +# along with this program; if not, write to the Free Software
6.37 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.38 +# 02111-1307, USA.
6.39 +
6.40 +# serial 10
6.41 +
6.42 +AC_PREREQ([2.54])
6.43 +
6.44 +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
6.45 +# the ones we care about.
6.46 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6.47 +
6.48 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
6.49 +# AM_INIT_AUTOMAKE([OPTIONS])
6.50 +# -----------------------------------------------
6.51 +# The call with PACKAGE and VERSION arguments is the old style
6.52 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
6.53 +# and VERSION should now be passed to AC_INIT and removed from
6.54 +# the call to AM_INIT_AUTOMAKE.
6.55 +# We support both call styles for the transition. After
6.56 +# the next Automake release, Autoconf can make the AC_INIT
6.57 +# arguments mandatory, and then we can depend on a new Autoconf
6.58 +# release and drop the old call support.
6.59 +AC_DEFUN([AM_INIT_AUTOMAKE],
6.60 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6.61 + AC_REQUIRE([AC_PROG_INSTALL])dnl
6.62 +# test to see if srcdir already configured
6.63 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
6.64 + test -f $srcdir/config.status; then
6.65 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6.66 +fi
6.67 +
6.68 +# test whether we have cygpath
6.69 +if test -z "$CYGPATH_W"; then
6.70 + if (cygpath --version) >/dev/null 2>/dev/null; then
6.71 + CYGPATH_W='cygpath -w'
6.72 + else
6.73 + CYGPATH_W=echo
6.74 + fi
6.75 +fi
6.76 +AC_SUBST([CYGPATH_W])
6.77 +
6.78 +# Define the identity of the package.
6.79 +dnl Distinguish between old-style and new-style calls.
6.80 +m4_ifval([$2],
6.81 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
6.82 + AC_SUBST([PACKAGE], [$1])dnl
6.83 + AC_SUBST([VERSION], [$2])],
6.84 +[_AM_SET_OPTIONS([$1])dnl
6.85 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6.86 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6.87 +
6.88 +_AM_IF_OPTION([no-define],,
6.89 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6.90 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
6.91 +
6.92 +# Some tools Automake needs.
6.93 +AC_REQUIRE([AM_SANITY_CHECK])dnl
6.94 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
6.95 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
6.96 +AM_MISSING_PROG(AUTOCONF, autoconf)
6.97 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
6.98 +AM_MISSING_PROG(AUTOHEADER, autoheader)
6.99 +AM_MISSING_PROG(MAKEINFO, makeinfo)
6.100 +AM_MISSING_PROG(AMTAR, tar)
6.101 +AM_PROG_INSTALL_SH
6.102 +AM_PROG_INSTALL_STRIP
6.103 +# We need awk for the "check" target. The system "awk" is bad on
6.104 +# some platforms.
6.105 +AC_REQUIRE([AC_PROG_AWK])dnl
6.106 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
6.107 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6.108 +
6.109 +_AM_IF_OPTION([no-dependencies],,
6.110 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
6.111 + [_AM_DEPENDENCIES(CC)],
6.112 + [define([AC_PROG_CC],
6.113 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
6.114 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
6.115 + [_AM_DEPENDENCIES(CXX)],
6.116 + [define([AC_PROG_CXX],
6.117 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
6.118 +])
6.119 +])
6.120 +
6.121 +
6.122 +# When config.status generates a header, we must update the stamp-h file.
6.123 +# This file resides in the same directory as the config header
6.124 +# that is generated. The stamp files are numbered to have different names.
6.125 +
6.126 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
6.127 +# loop where config.status creates the headers, so we can generate
6.128 +# our stamp files there.
6.129 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
6.130 +[# Compute $1's index in $config_headers.
6.131 +_am_stamp_count=1
6.132 +for _am_header in $config_headers :; do
6.133 + case $_am_header in
6.134 + $1 | $1:* )
6.135 + break ;;
6.136 + * )
6.137 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6.138 + esac
6.139 +done
6.140 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
6.141 +
6.142 +# Copyright 2002 Free Software Foundation, Inc.
6.143 +
6.144 +# This program is free software; you can redistribute it and/or modify
6.145 +# it under the terms of the GNU General Public License as published by
6.146 +# the Free Software Foundation; either version 2, or (at your option)
6.147 +# any later version.
6.148 +
6.149 +# This program is distributed in the hope that it will be useful,
6.150 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.151 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.152 +# GNU General Public License for more details.
6.153 +
6.154 +# You should have received a copy of the GNU General Public License
6.155 +# along with this program; if not, write to the Free Software
6.156 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.157 +
6.158 +# AM_AUTOMAKE_VERSION(VERSION)
6.159 +# ----------------------------
6.160 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
6.161 +# generated from the m4 files accompanying Automake X.Y.
6.162 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
6.163 +
6.164 +# AM_SET_CURRENT_AUTOMAKE_VERSION
6.165 +# -------------------------------
6.166 +# Call AM_AUTOMAKE_VERSION so it can be traced.
6.167 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6.168 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6.169 + [AM_AUTOMAKE_VERSION([1.7.9])])
6.170 +
6.171 +# Helper functions for option handling. -*- Autoconf -*-
6.172 +
6.173 +# Copyright 2001, 2002 Free Software Foundation, Inc.
6.174 +
6.175 +# This program is free software; you can redistribute it and/or modify
6.176 +# it under the terms of the GNU General Public License as published by
6.177 +# the Free Software Foundation; either version 2, or (at your option)
6.178 +# any later version.
6.179 +
6.180 +# This program is distributed in the hope that it will be useful,
6.181 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.182 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.183 +# GNU General Public License for more details.
6.184 +
6.185 +# You should have received a copy of the GNU General Public License
6.186 +# along with this program; if not, write to the Free Software
6.187 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.188 +# 02111-1307, USA.
6.189 +
6.190 +# serial 2
6.191 +
6.192 +# _AM_MANGLE_OPTION(NAME)
6.193 +# -----------------------
6.194 +AC_DEFUN([_AM_MANGLE_OPTION],
6.195 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
6.196 +
6.197 +# _AM_SET_OPTION(NAME)
6.198 +# ------------------------------
6.199 +# Set option NAME. Presently that only means defining a flag for this option.
6.200 +AC_DEFUN([_AM_SET_OPTION],
6.201 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
6.202 +
6.203 +# _AM_SET_OPTIONS(OPTIONS)
6.204 +# ----------------------------------
6.205 +# OPTIONS is a space-separated list of Automake options.
6.206 +AC_DEFUN([_AM_SET_OPTIONS],
6.207 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6.208 +
6.209 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
6.210 +# -------------------------------------------
6.211 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
6.212 +AC_DEFUN([_AM_IF_OPTION],
6.213 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
6.214 +
6.215 +#
6.216 +# Check to make sure that the build environment is sane.
6.217 +#
6.218 +
6.219 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
6.220 +
6.221 +# This program is free software; you can redistribute it and/or modify
6.222 +# it under the terms of the GNU General Public License as published by
6.223 +# the Free Software Foundation; either version 2, or (at your option)
6.224 +# any later version.
6.225 +
6.226 +# This program is distributed in the hope that it will be useful,
6.227 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.228 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.229 +# GNU General Public License for more details.
6.230 +
6.231 +# You should have received a copy of the GNU General Public License
6.232 +# along with this program; if not, write to the Free Software
6.233 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.234 +# 02111-1307, USA.
6.235 +
6.236 +# serial 3
6.237 +
6.238 +# AM_SANITY_CHECK
6.239 +# ---------------
6.240 +AC_DEFUN([AM_SANITY_CHECK],
6.241 +[AC_MSG_CHECKING([whether build environment is sane])
6.242 +# Just in case
6.243 +sleep 1
6.244 +echo timestamp > conftest.file
6.245 +# Do `set' in a subshell so we don't clobber the current shell's
6.246 +# arguments. Must try -L first in case configure is actually a
6.247 +# symlink; some systems play weird games with the mod time of symlinks
6.248 +# (eg FreeBSD returns the mod time of the symlink's containing
6.249 +# directory).
6.250 +if (
6.251 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6.252 + if test "$[*]" = "X"; then
6.253 + # -L didn't work.
6.254 + set X `ls -t $srcdir/configure conftest.file`
6.255 + fi
6.256 + rm -f conftest.file
6.257 + if test "$[*]" != "X $srcdir/configure conftest.file" \
6.258 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
6.259 +
6.260 + # If neither matched, then we have a broken ls. This can happen
6.261 + # if, for instance, CONFIG_SHELL is bash and it inherits a
6.262 + # broken ls alias from the environment. This has actually
6.263 + # happened. Such a system could not be considered "sane".
6.264 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
6.265 +alias in your environment])
6.266 + fi
6.267 +
6.268 + test "$[2]" = conftest.file
6.269 + )
6.270 +then
6.271 + # Ok.
6.272 + :
6.273 +else
6.274 + AC_MSG_ERROR([newly created file is older than distributed files!
6.275 +Check your system clock])
6.276 +fi
6.277 +AC_MSG_RESULT(yes)])
6.278 +
6.279 +# -*- Autoconf -*-
6.280 +
6.281 +
6.282 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
6.283 +
6.284 +# This program is free software; you can redistribute it and/or modify
6.285 +# it under the terms of the GNU General Public License as published by
6.286 +# the Free Software Foundation; either version 2, or (at your option)
6.287 +# any later version.
6.288 +
6.289 +# This program is distributed in the hope that it will be useful,
6.290 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.291 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.292 +# GNU General Public License for more details.
6.293 +
6.294 +# You should have received a copy of the GNU General Public License
6.295 +# along with this program; if not, write to the Free Software
6.296 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.297 +# 02111-1307, USA.
6.298 +
6.299 +# serial 3
6.300 +
6.301 +# AM_MISSING_PROG(NAME, PROGRAM)
6.302 +# ------------------------------
6.303 +AC_DEFUN([AM_MISSING_PROG],
6.304 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
6.305 +$1=${$1-"${am_missing_run}$2"}
6.306 +AC_SUBST($1)])
6.307 +
6.308 +
6.309 +# AM_MISSING_HAS_RUN
6.310 +# ------------------
6.311 +# Define MISSING if not defined so far and test if it supports --run.
6.312 +# If it does, set am_missing_run to use it, otherwise, to nothing.
6.313 +AC_DEFUN([AM_MISSING_HAS_RUN],
6.314 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6.315 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
6.316 +# Use eval to expand $SHELL
6.317 +if eval "$MISSING --run true"; then
6.318 + am_missing_run="$MISSING --run "
6.319 +else
6.320 + am_missing_run=
6.321 + AC_MSG_WARN([`missing' script is too old or missing])
6.322 +fi
6.323 +])
6.324 +
6.325 +# AM_AUX_DIR_EXPAND
6.326 +
6.327 +# Copyright 2001 Free Software Foundation, Inc.
6.328 +
6.329 +# This program is free software; you can redistribute it and/or modify
6.330 +# it under the terms of the GNU General Public License as published by
6.331 +# the Free Software Foundation; either version 2, or (at your option)
6.332 +# any later version.
6.333 +
6.334 +# This program is distributed in the hope that it will be useful,
6.335 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.336 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.337 +# GNU General Public License for more details.
6.338 +
6.339 +# You should have received a copy of the GNU General Public License
6.340 +# along with this program; if not, write to the Free Software
6.341 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.342 +# 02111-1307, USA.
6.343 +
6.344 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6.345 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
6.346 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
6.347 +#
6.348 +# Of course, Automake must honor this variable whenever it calls a
6.349 +# tool from the auxiliary directory. The problem is that $srcdir (and
6.350 +# therefore $ac_aux_dir as well) can be either absolute or relative,
6.351 +# depending on how configure is run. This is pretty annoying, since
6.352 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
6.353 +# source directory, any form will work fine, but in subdirectories a
6.354 +# relative path needs to be adjusted first.
6.355 +#
6.356 +# $ac_aux_dir/missing
6.357 +# fails when called from a subdirectory if $ac_aux_dir is relative
6.358 +# $top_srcdir/$ac_aux_dir/missing
6.359 +# fails if $ac_aux_dir is absolute,
6.360 +# fails when called from a subdirectory in a VPATH build with
6.361 +# a relative $ac_aux_dir
6.362 +#
6.363 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
6.364 +# are both prefixed by $srcdir. In an in-source build this is usually
6.365 +# harmless because $srcdir is `.', but things will broke when you
6.366 +# start a VPATH build or use an absolute $srcdir.
6.367 +#
6.368 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
6.369 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
6.370 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
6.371 +# and then we would define $MISSING as
6.372 +# MISSING="\${SHELL} $am_aux_dir/missing"
6.373 +# This will work as long as MISSING is not called from configure, because
6.374 +# unfortunately $(top_srcdir) has no meaning in configure.
6.375 +# However there are other variables, like CC, which are often used in
6.376 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
6.377 +#
6.378 +# Another solution, used here, is to always expand $ac_aux_dir to an
6.379 +# absolute PATH. The drawback is that using absolute paths prevent a
6.380 +# configured tree to be moved without reconfiguration.
6.381 +
6.382 +# Rely on autoconf to set up CDPATH properly.
6.383 +AC_PREREQ([2.50])
6.384 +
6.385 +AC_DEFUN([AM_AUX_DIR_EXPAND], [
6.386 +# expand $ac_aux_dir to an absolute path
6.387 +am_aux_dir=`cd $ac_aux_dir && pwd`
6.388 +])
6.389 +
6.390 +# AM_PROG_INSTALL_SH
6.391 +# ------------------
6.392 +# Define $install_sh.
6.393 +
6.394 +# Copyright 2001 Free Software Foundation, Inc.
6.395 +
6.396 +# This program is free software; you can redistribute it and/or modify
6.397 +# it under the terms of the GNU General Public License as published by
6.398 +# the Free Software Foundation; either version 2, or (at your option)
6.399 +# any later version.
6.400 +
6.401 +# This program is distributed in the hope that it will be useful,
6.402 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.403 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.404 +# GNU General Public License for more details.
6.405 +
6.406 +# You should have received a copy of the GNU General Public License
6.407 +# along with this program; if not, write to the Free Software
6.408 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.409 +# 02111-1307, USA.
6.410 +
6.411 +AC_DEFUN([AM_PROG_INSTALL_SH],
6.412 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6.413 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
6.414 +AC_SUBST(install_sh)])
6.415 +
6.416 +# AM_PROG_INSTALL_STRIP
6.417 +
6.418 +# Copyright 2001 Free Software Foundation, Inc.
6.419 +
6.420 +# This program is free software; you can redistribute it and/or modify
6.421 +# it under the terms of the GNU General Public License as published by
6.422 +# the Free Software Foundation; either version 2, or (at your option)
6.423 +# any later version.
6.424 +
6.425 +# This program is distributed in the hope that it will be useful,
6.426 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.427 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.428 +# GNU General Public License for more details.
6.429 +
6.430 +# You should have received a copy of the GNU General Public License
6.431 +# along with this program; if not, write to the Free Software
6.432 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.433 +# 02111-1307, USA.
6.434 +
6.435 +# One issue with vendor `install' (even GNU) is that you can't
6.436 +# specify the program used to strip binaries. This is especially
6.437 +# annoying in cross-compiling environments, where the build's strip
6.438 +# is unlikely to handle the host's binaries.
6.439 +# Fortunately install-sh will honor a STRIPPROG variable, so we
6.440 +# always use install-sh in `make install-strip', and initialize
6.441 +# STRIPPROG with the value of the STRIP variable (set by the user).
6.442 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
6.443 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
6.444 +# Installed binaries are usually stripped using `strip' when the user
6.445 +# run `make install-strip'. However `strip' might not be the right
6.446 +# tool to use in cross-compilation environments, therefore Automake
6.447 +# will honor the `STRIP' environment variable to overrule this program.
6.448 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
6.449 +if test "$cross_compiling" != no; then
6.450 + AC_CHECK_TOOL([STRIP], [strip], :)
6.451 +fi
6.452 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
6.453 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
6.454 +
6.455 +# -*- Autoconf -*-
6.456 +# Copyright (C) 2003 Free Software Foundation, Inc.
6.457 +
6.458 +# This program is free software; you can redistribute it and/or modify
6.459 +# it under the terms of the GNU General Public License as published by
6.460 +# the Free Software Foundation; either version 2, or (at your option)
6.461 +# any later version.
6.462 +
6.463 +# This program is distributed in the hope that it will be useful,
6.464 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.465 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.466 +# GNU General Public License for more details.
6.467 +
6.468 +# You should have received a copy of the GNU General Public License
6.469 +# along with this program; if not, write to the Free Software
6.470 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.471 +# 02111-1307, USA.
6.472 +
6.473 +# serial 1
6.474 +
6.475 +# Check whether the underlying file-system supports filenames
6.476 +# with a leading dot. For instance MS-DOS doesn't.
6.477 +AC_DEFUN([AM_SET_LEADING_DOT],
6.478 +[rm -rf .tst 2>/dev/null
6.479 +mkdir .tst 2>/dev/null
6.480 +if test -d .tst; then
6.481 + am__leading_dot=.
6.482 +else
6.483 + am__leading_dot=_
6.484 +fi
6.485 +rmdir .tst 2>/dev/null
6.486 +AC_SUBST([am__leading_dot])])
6.487 +
6.488 +# serial 5 -*- Autoconf -*-
6.489 +
6.490 +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6.491 +
6.492 +# This program is free software; you can redistribute it and/or modify
6.493 +# it under the terms of the GNU General Public License as published by
6.494 +# the Free Software Foundation; either version 2, or (at your option)
6.495 +# any later version.
6.496 +
6.497 +# This program is distributed in the hope that it will be useful,
6.498 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.499 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.500 +# GNU General Public License for more details.
6.501 +
6.502 +# You should have received a copy of the GNU General Public License
6.503 +# along with this program; if not, write to the Free Software
6.504 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.505 +# 02111-1307, USA.
6.506 +
6.507 +
6.508 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6.509 +# written in clear, in which case automake, when reading aclocal.m4,
6.510 +# will think it sees a *use*, and therefore will trigger all it's
6.511 +# C support machinery. Also note that it means that autoscan, seeing
6.512 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6.513 +
6.514 +
6.515 +
6.516 +# _AM_DEPENDENCIES(NAME)
6.517 +# ----------------------
6.518 +# See how the compiler implements dependency checking.
6.519 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
6.520 +# We try a few techniques and use that to set a single cache variable.
6.521 +#
6.522 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
6.523 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
6.524 +# dependency, and given that the user is not expected to run this macro,
6.525 +# just rely on AC_PROG_CC.
6.526 +AC_DEFUN([_AM_DEPENDENCIES],
6.527 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
6.528 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
6.529 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
6.530 +AC_REQUIRE([AM_DEP_TRACK])dnl
6.531 +
6.532 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6.533 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
6.534 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6.535 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6.536 + [depcc="$$1" am_compiler_list=])
6.537 +
6.538 +AC_CACHE_CHECK([dependency style of $depcc],
6.539 + [am_cv_$1_dependencies_compiler_type],
6.540 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.541 + # We make a subdir and do the tests there. Otherwise we can end up
6.542 + # making bogus files that we don't know about and never remove. For
6.543 + # instance it was reported that on HP-UX the gcc test will end up
6.544 + # making a dummy file named `D' -- because `-MD' means `put the output
6.545 + # in D'.
6.546 + mkdir conftest.dir
6.547 + # Copy depcomp to subdir because otherwise we won't find it if we're
6.548 + # using a relative directory.
6.549 + cp "$am_depcomp" conftest.dir
6.550 + cd conftest.dir
6.551 + # We will build objects and dependencies in a subdirectory because
6.552 + # it helps to detect inapplicable dependency modes. For instance
6.553 + # both Tru64's cc and ICC support -MD to output dependencies as a
6.554 + # side effect of compilation, but ICC will put the dependencies in
6.555 + # the current directory while Tru64 will put them in the object
6.556 + # directory.
6.557 + mkdir sub
6.558 +
6.559 + am_cv_$1_dependencies_compiler_type=none
6.560 + if test "$am_compiler_list" = ""; then
6.561 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6.562 + fi
6.563 + for depmode in $am_compiler_list; do
6.564 + # Setup a source with many dependencies, because some compilers
6.565 + # like to wrap large dependency lists on column 80 (with \), and
6.566 + # we should not choose a depcomp mode which is confused by this.
6.567 + #
6.568 + # We need to recreate these files for each test, as the compiler may
6.569 + # overwrite some of them when testing with obscure command lines.
6.570 + # This happens at least with the AIX C compiler.
6.571 + : > sub/conftest.c
6.572 + for i in 1 2 3 4 5 6; do
6.573 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.574 + : > sub/conftst$i.h
6.575 + done
6.576 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.577 +
6.578 + case $depmode in
6.579 + nosideeffect)
6.580 + # after this tag, mechanisms are not by side-effect, so they'll
6.581 + # only be used when explicitly requested
6.582 + if test "x$enable_dependency_tracking" = xyes; then
6.583 + continue
6.584 + else
6.585 + break
6.586 + fi
6.587 + ;;
6.588 + none) break ;;
6.589 + esac
6.590 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.591 + # mode. It turns out that the SunPro C++ compiler does not properly
6.592 + # handle `-M -o', and we need to detect this.
6.593 + if depmode=$depmode \
6.594 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.595 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.596 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.597 + >/dev/null 2>conftest.err &&
6.598 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.599 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.600 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.601 + # icc doesn't choke on unknown options, it will just issue warnings
6.602 + # (even with -Werror). So we grep stderr for any message
6.603 + # that says an option was ignored.
6.604 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6.605 + am_cv_$1_dependencies_compiler_type=$depmode
6.606 + break
6.607 + fi
6.608 + fi
6.609 + done
6.610 +
6.611 + cd ..
6.612 + rm -rf conftest.dir
6.613 +else
6.614 + am_cv_$1_dependencies_compiler_type=none
6.615 +fi
6.616 +])
6.617 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
6.618 +AM_CONDITIONAL([am__fastdep$1], [
6.619 + test "x$enable_dependency_tracking" != xno \
6.620 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
6.621 +])
6.622 +
6.623 +
6.624 +# AM_SET_DEPDIR
6.625 +# -------------
6.626 +# Choose a directory name for dependency files.
6.627 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
6.628 +AC_DEFUN([AM_SET_DEPDIR],
6.629 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6.630 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
6.631 +])
6.632 +
6.633 +
6.634 +# AM_DEP_TRACK
6.635 +# ------------
6.636 +AC_DEFUN([AM_DEP_TRACK],
6.637 +[AC_ARG_ENABLE(dependency-tracking,
6.638 +[ --disable-dependency-tracking Speeds up one-time builds
6.639 + --enable-dependency-tracking Do not reject slow dependency extractors])
6.640 +if test "x$enable_dependency_tracking" != xno; then
6.641 + am_depcomp="$ac_aux_dir/depcomp"
6.642 + AMDEPBACKSLASH='\'
6.643 +fi
6.644 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6.645 +AC_SUBST([AMDEPBACKSLASH])
6.646 +])
6.647 +
6.648 +# Generate code to set up dependency tracking. -*- Autoconf -*-
6.649 +
6.650 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
6.651 +
6.652 +# This program is free software; you can redistribute it and/or modify
6.653 +# it under the terms of the GNU General Public License as published by
6.654 +# the Free Software Foundation; either version 2, or (at your option)
6.655 +# any later version.
6.656 +
6.657 +# This program is distributed in the hope that it will be useful,
6.658 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.659 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.660 +# GNU General Public License for more details.
6.661 +
6.662 +# You should have received a copy of the GNU General Public License
6.663 +# along with this program; if not, write to the Free Software
6.664 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.665 +# 02111-1307, USA.
6.666 +
6.667 +#serial 2
6.668 +
6.669 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
6.670 +# ------------------------------
6.671 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
6.672 +[for mf in $CONFIG_FILES; do
6.673 + # Strip MF so we end up with the name of the file.
6.674 + mf=`echo "$mf" | sed -e 's/:.*$//'`
6.675 + # Check whether this is an Automake generated Makefile or not.
6.676 + # We used to match only the files named `Makefile.in', but
6.677 + # some people rename them; so instead we look at the file content.
6.678 + # Grep'ing the first line is not enough: some people post-process
6.679 + # each Makefile.in and add a new line on top of each file to say so.
6.680 + # So let's grep whole file.
6.681 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6.682 + dirpart=`AS_DIRNAME("$mf")`
6.683 + else
6.684 + continue
6.685 + fi
6.686 + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
6.687 + # Extract the definition of DEP_FILES from the Makefile without
6.688 + # running `make'.
6.689 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6.690 + test -z "$DEPDIR" && continue
6.691 + # When using ansi2knr, U may be empty or an underscore; expand it
6.692 + U=`sed -n -e '/^U = / s///p' < "$mf"`
6.693 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6.694 + # We invoke sed twice because it is the simplest approach to
6.695 + # changing $(DEPDIR) to its actual value in the expansion.
6.696 + for file in `sed -n -e '
6.697 + /^DEP_FILES = .*\\\\$/ {
6.698 + s/^DEP_FILES = //
6.699 + :loop
6.700 + s/\\\\$//
6.701 + p
6.702 + n
6.703 + /\\\\$/ b loop
6.704 + p
6.705 + }
6.706 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6.707 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6.708 + # Make sure the directory exists.
6.709 + test -f "$dirpart/$file" && continue
6.710 + fdir=`AS_DIRNAME(["$file"])`
6.711 + AS_MKDIR_P([$dirpart/$fdir])
6.712 + # echo "creating $dirpart/$file"
6.713 + echo '# dummy' > "$dirpart/$file"
6.714 + done
6.715 +done
6.716 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
6.717 +
6.718 +
6.719 +# AM_OUTPUT_DEPENDENCY_COMMANDS
6.720 +# -----------------------------
6.721 +# This macro should only be invoked once -- use via AC_REQUIRE.
6.722 +#
6.723 +# This code is only required when automatic dependency tracking
6.724 +# is enabled. FIXME. This creates each `.P' file that we will
6.725 +# need in order to bootstrap the dependency handling code.
6.726 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
6.727 +[AC_CONFIG_COMMANDS([depfiles],
6.728 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
6.729 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
6.730 +])
6.731 +
6.732 +# Check to see how 'make' treats includes. -*- Autoconf -*-
6.733 +
6.734 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6.735 +
6.736 +# This program is free software; you can redistribute it and/or modify
6.737 +# it under the terms of the GNU General Public License as published by
6.738 +# the Free Software Foundation; either version 2, or (at your option)
6.739 +# any later version.
6.740 +
6.741 +# This program is distributed in the hope that it will be useful,
6.742 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.743 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.744 +# GNU General Public License for more details.
6.745 +
6.746 +# You should have received a copy of the GNU General Public License
6.747 +# along with this program; if not, write to the Free Software
6.748 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.749 +# 02111-1307, USA.
6.750 +
6.751 +# serial 2
6.752 +
6.753 +# AM_MAKE_INCLUDE()
6.754 +# -----------------
6.755 +# Check to see how make treats includes.
6.756 +AC_DEFUN([AM_MAKE_INCLUDE],
6.757 +[am_make=${MAKE-make}
6.758 +cat > confinc << 'END'
6.759 +am__doit:
6.760 + @echo done
6.761 +.PHONY: am__doit
6.762 +END
6.763 +# If we don't find an include directive, just comment out the code.
6.764 +AC_MSG_CHECKING([for style of include used by $am_make])
6.765 +am__include="#"
6.766 +am__quote=
6.767 +_am_result=none
6.768 +# First try GNU make style include.
6.769 +echo "include confinc" > confmf
6.770 +# We grep out `Entering directory' and `Leaving directory'
6.771 +# messages which can occur if `w' ends up in MAKEFLAGS.
6.772 +# In particular we don't look at `^make:' because GNU make might
6.773 +# be invoked under some other name (usually "gmake"), in which
6.774 +# case it prints its new name instead of `make'.
6.775 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6.776 + am__include=include
6.777 + am__quote=
6.778 + _am_result=GNU
6.779 +fi
6.780 +# Now try BSD make style include.
6.781 +if test "$am__include" = "#"; then
6.782 + echo '.include "confinc"' > confmf
6.783 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6.784 + am__include=.include
6.785 + am__quote="\""
6.786 + _am_result=BSD
6.787 + fi
6.788 +fi
6.789 +AC_SUBST([am__include])
6.790 +AC_SUBST([am__quote])
6.791 +AC_MSG_RESULT([$_am_result])
6.792 +rm -f confinc confmf
6.793 +])
6.794 +
6.795 +# AM_CONDITIONAL -*- Autoconf -*-
6.796 +
6.797 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
6.798 +
6.799 +# This program is free software; you can redistribute it and/or modify
6.800 +# it under the terms of the GNU General Public License as published by
6.801 +# the Free Software Foundation; either version 2, or (at your option)
6.802 +# any later version.
6.803 +
6.804 +# This program is distributed in the hope that it will be useful,
6.805 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.806 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.807 +# GNU General Public License for more details.
6.808 +
6.809 +# You should have received a copy of the GNU General Public License
6.810 +# along with this program; if not, write to the Free Software
6.811 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.812 +# 02111-1307, USA.
6.813 +
6.814 +# serial 5
6.815 +
6.816 +AC_PREREQ(2.52)
6.817 +
6.818 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6.819 +# -------------------------------------
6.820 +# Define a conditional.
6.821 +AC_DEFUN([AM_CONDITIONAL],
6.822 +[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
6.823 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6.824 +AC_SUBST([$1_TRUE])
6.825 +AC_SUBST([$1_FALSE])
6.826 +if $2; then
6.827 + $1_TRUE=
6.828 + $1_FALSE='#'
6.829 +else
6.830 + $1_TRUE='#'
6.831 + $1_FALSE=
6.832 +fi
6.833 +AC_CONFIG_COMMANDS_PRE(
6.834 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6.835 + AC_MSG_ERROR([conditional "$1" was never defined.
6.836 +Usually this means the macro was only invoked conditionally.])
6.837 +fi])])
6.838 +
6.839 +# Add --enable-maintainer-mode option to configure.
6.840 +# From Jim Meyering
6.841 +
6.842 +# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
6.843 +
6.844 +# This program is free software; you can redistribute it and/or modify
6.845 +# it under the terms of the GNU General Public License as published by
6.846 +# the Free Software Foundation; either version 2, or (at your option)
6.847 +# any later version.
6.848 +
6.849 +# This program is distributed in the hope that it will be useful,
6.850 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.851 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.852 +# GNU General Public License for more details.
6.853 +
6.854 +# You should have received a copy of the GNU General Public License
6.855 +# along with this program; if not, write to the Free Software
6.856 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.857 +# 02111-1307, USA.
6.858 +
6.859 +# serial 2
6.860 +
6.861 +AC_DEFUN([AM_MAINTAINER_MODE],
6.862 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
6.863 + dnl maintainer-mode is disabled by default
6.864 + AC_ARG_ENABLE(maintainer-mode,
6.865 +[ --enable-maintainer-mode enable make rules and dependencies not useful
6.866 + (and sometimes confusing) to the casual installer],
6.867 + USE_MAINTAINER_MODE=$enableval,
6.868 + USE_MAINTAINER_MODE=no)
6.869 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
6.870 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
6.871 + MAINT=$MAINTAINER_MODE_TRUE
6.872 + AC_SUBST(MAINT)dnl
6.873 +]
6.874 +)
6.875 +
6.876 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
6.877 +
6.878 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
6.879 +
6.880 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
6.881 +
6.882 +# This program is free software; you can redistribute it and/or modify
6.883 +# it under the terms of the GNU General Public License as published by
6.884 +# the Free Software Foundation; either version 2, or (at your option)
6.885 +# any later version.
6.886 +
6.887 +# This program is distributed in the hope that it will be useful,
6.888 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.889 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.890 +# GNU General Public License for more details.
6.891 +
6.892 +# You should have received a copy of the GNU General Public License
6.893 +# along with this program; if not, write to the Free Software
6.894 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.895 +# 02111-1307, USA.
6.896 +
6.897 +AC_PREREQ([2.52])
6.898 +
6.899 +# serial 6
6.900 +
6.901 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
6.902 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
6.903 +
6.904 +# isc-posix.m4 serial 2 (gettext-0.11.2)
6.905 +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
6.906 +dnl This file is free software, distributed under the terms of the GNU
6.907 +dnl General Public License. As a special exception to the GNU General
6.908 +dnl Public License, this file may be distributed as part of a program
6.909 +dnl that contains a configuration script generated by Autoconf, under
6.910 +dnl the same distribution terms as the rest of that program.
6.911 +
6.912 +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
6.913 +
6.914 +# This test replaces the one in autoconf.
6.915 +# Currently this macro should have the same name as the autoconf macro
6.916 +# because gettext's gettext.m4 (distributed in the automake package)
6.917 +# still uses it. Otherwise, the use in gettext.m4 makes autoheader
6.918 +# give these diagnostics:
6.919 +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
6.920 +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
6.921 +
6.922 +undefine([AC_ISC_POSIX])
6.923 +
6.924 +AC_DEFUN([AC_ISC_POSIX],
6.925 + [
6.926 + dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
6.927 + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
6.928 + ]
6.929 +)
6.930 +
6.931 +
6.932 +# Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
6.933 +
6.934 +# This program is free software; you can redistribute it and/or modify
6.935 +# it under the terms of the GNU General Public License as published by
6.936 +# the Free Software Foundation; either version 2, or (at your option)
6.937 +# any later version.
6.938 +
6.939 +# This program is distributed in the hope that it will be useful,
6.940 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
6.941 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6.942 +# GNU General Public License for more details.
6.943 +
6.944 +# You should have received a copy of the GNU General Public License
6.945 +# along with this program; if not, write to the Free Software
6.946 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
6.947 +# 02111-1307, USA.
6.948 +
6.949 +# serial 2
6.950 +
6.951 +# @defmac AC_PROG_CC_STDC
6.952 +# @maindex PROG_CC_STDC
6.953 +# @ovindex CC
6.954 +# If the C compiler in not in ANSI C mode by default, try to add an option
6.955 +# to output variable @code{CC} to make it so. This macro tries various
6.956 +# options that select ANSI C on some system or another. It considers the
6.957 +# compiler to be in ANSI C mode if it handles function prototypes correctly.
6.958 +#
6.959 +# If you use this macro, you should check after calling it whether the C
6.960 +# compiler has been set to accept ANSI C; if not, the shell variable
6.961 +# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
6.962 +# code in ANSI C, you can make an un-ANSIfied copy of it by using the
6.963 +# program @code{ansi2knr}, which comes with Ghostscript.
6.964 +# @end defmac
6.965 +
6.966 +AC_DEFUN([AM_PROG_CC_STDC],
6.967 +[AC_REQUIRE([AC_PROG_CC])
6.968 +AC_BEFORE([$0], [AC_C_INLINE])
6.969 +AC_BEFORE([$0], [AC_C_CONST])
6.970 +dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
6.971 +dnl a magic option to avoid problems with ANSI preprocessor commands
6.972 +dnl like #elif.
6.973 +dnl FIXME: can't do this because then AC_AIX won't work due to a
6.974 +dnl circular dependency.
6.975 +dnl AC_BEFORE([$0], [AC_PROG_CPP])
6.976 +AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])
6.977 +AC_CACHE_VAL(am_cv_prog_cc_stdc,
6.978 +[am_cv_prog_cc_stdc=no
6.979 +ac_save_CC="$CC"
6.980 +# Don't try gcc -ansi; that turns off useful extensions and
6.981 +# breaks some systems' header files.
6.982 +# AIX -qlanglvl=ansi
6.983 +# Ultrix and OSF/1 -std1
6.984 +# HP-UX 10.20 and later -Ae
6.985 +# HP-UX older versions -Aa -D_HPUX_SOURCE
6.986 +# SVR4 -Xc -D__EXTENSIONS__
6.987 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6.988 +do
6.989 + CC="$ac_save_CC $ac_arg"
6.990 + AC_TRY_COMPILE(
6.991 +[#include <stdarg.h>
6.992 +#include <stdio.h>
6.993 +#include <sys/types.h>
6.994 +#include <sys/stat.h>
6.995 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6.996 +struct buf { int x; };
6.997 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
6.998 +static char *e (p, i)
6.999 + char **p;
6.1000 + int i;
6.1001 +{
6.1002 + return p[i];
6.1003 +}
6.1004 +static char *f (char * (*g) (char **, int), char **p, ...)
6.1005 +{
6.1006 + char *s;
6.1007 + va_list v;
6.1008 + va_start (v,p);
6.1009 + s = g (p, va_arg (v,int));
6.1010 + va_end (v);
6.1011 + return s;
6.1012 +}
6.1013 +int test (int i, double x);
6.1014 +struct s1 {int (*f) (int a);};
6.1015 +struct s2 {int (*f) (double a);};
6.1016 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6.1017 +int argc;
6.1018 +char **argv;
6.1019 +], [
6.1020 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6.1021 +],
6.1022 +[am_cv_prog_cc_stdc="$ac_arg"; break])
6.1023 +done
6.1024 +CC="$ac_save_CC"
6.1025 +])
6.1026 +if test -z "$am_cv_prog_cc_stdc"; then
6.1027 + AC_MSG_RESULT([none needed])
6.1028 +else
6.1029 + AC_MSG_RESULT([$am_cv_prog_cc_stdc])
6.1030 +fi
6.1031 +case "x$am_cv_prog_cc_stdc" in
6.1032 + x|xno) ;;
6.1033 + *) CC="$CC $am_cv_prog_cc_stdc" ;;
6.1034 +esac
6.1035 +])
6.1036 +
6.1037 +AU_DEFUN([fp_PROG_CC_STDC], [AM_PROG_CC_STDC])
6.1038 +
6.1039 +
6.1040 +dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
6.1041 +dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
6.1042 +dnl also defines GSTUFF_PKG_ERRORS on error
6.1043 +AC_DEFUN(PKG_CHECK_MODULES, [
6.1044 + succeeded=no
6.1045 +
6.1046 + if test -z "$PKG_CONFIG"; then
6.1047 + AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
6.1048 + fi
6.1049 +
6.1050 + if test "$PKG_CONFIG" = "no" ; then
6.1051 + echo "*** The pkg-config script could not be found. Make sure it is"
6.1052 + echo "*** in your path, or set the PKG_CONFIG environment variable"
6.1053 + echo "*** to the full path to pkg-config."
6.1054 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.1055 + else
6.1056 + PKG_CONFIG_MIN_VERSION=0.9.0
6.1057 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.1058 + AC_MSG_CHECKING(for $2)
6.1059 +
6.1060 + if $PKG_CONFIG --exists "$2" ; then
6.1061 + AC_MSG_RESULT(yes)
6.1062 + succeeded=yes
6.1063 +
6.1064 + AC_MSG_CHECKING($1_CFLAGS)
6.1065 + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
6.1066 + AC_MSG_RESULT($$1_CFLAGS)
6.1067 +
6.1068 + AC_MSG_CHECKING($1_LIBS)
6.1069 + $1_LIBS=`$PKG_CONFIG --libs "$2"`
6.1070 + AC_MSG_RESULT($$1_LIBS)
6.1071 + else
6.1072 + $1_CFLAGS=""
6.1073 + $1_LIBS=""
6.1074 + ## If we have a custom action on failure, don't print errors, but
6.1075 + ## do set a variable so people can do so.
6.1076 + $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
6.1077 + ifelse([$4], ,echo $$1_PKG_ERRORS,)
6.1078 + fi
6.1079 +
6.1080 + AC_SUBST($1_CFLAGS)
6.1081 + AC_SUBST($1_LIBS)
6.1082 + else
6.1083 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.1084 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.1085 + fi
6.1086 + fi
6.1087 +
6.1088 + if test $succeeded = yes; then
6.1089 + ifelse([$3], , :, [$3])
6.1090 + else
6.1091 + ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
6.1092 + fi
6.1093 +])
6.1094 +
6.1095 +
6.1096 +
6.1097 +# Copyright (C) 1995-2002 Free Software Foundation, Inc.
6.1098 +# Copyright (C) 2001-2003 Red Hat, Inc.
6.1099 +#
6.1100 +# This file is free software, distributed under the terms of the GNU
6.1101 +# General Public License. As a special exception to the GNU General
6.1102 +# Public License, this file may be distributed as part of a program
6.1103 +# that contains a configuration script generated by Autoconf, under
6.1104 +# the same distribution terms as the rest of that program.
6.1105 +#
6.1106 +# This file can be copied and used freely without restrictions. It can
6.1107 +# be used in projects which are not available under the GNU Public License
6.1108 +# but which still want to provide support for the GNU gettext functionality.
6.1109 +#
6.1110 +# Macro to add for using GNU gettext.
6.1111 +# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
6.1112 +#
6.1113 +# Modified to never use included libintl.
6.1114 +# Owen Taylor <otaylor@redhat.com>, 12/15/1998
6.1115 +#
6.1116 +# Major rework to remove unused code
6.1117 +# Owen Taylor <otaylor@redhat.com>, 12/11/2002
6.1118 +#
6.1119 +# Added better handling of ALL_LINGUAS from GNU gettext version
6.1120 +# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
6.1121 +
6.1122 +#
6.1123 +# We need this here as well, since someone might use autoconf-2.5x
6.1124 +# to configure GLib then an older version to configure a package
6.1125 +# using AM_GLIB_GNU_GETTEXT
6.1126 +AC_PREREQ(2.53)
6.1127 +
6.1128 +dnl
6.1129 +dnl We go to great lengths to make sure that aclocal won't
6.1130 +dnl try to pull in the installed version of these macros
6.1131 +dnl when running aclocal in the glib directory.
6.1132 +dnl
6.1133 +m4_copy([AC_DEFUN],[glib_DEFUN])
6.1134 +m4_copy([AC_REQUIRE],[glib_REQUIRE])
6.1135 +dnl
6.1136 +dnl At the end, if we're not within glib, we'll define the public
6.1137 +dnl definitions in terms of our private definitions.
6.1138 +dnl
6.1139 +
6.1140 +# GLIB_LC_MESSAGES
6.1141 +#--------------------
6.1142 +glib_DEFUN([GLIB_LC_MESSAGES],
6.1143 + [AC_CHECK_HEADERS([locale.h])
6.1144 + if test $ac_cv_header_locale_h = yes; then
6.1145 + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
6.1146 + [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
6.1147 + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
6.1148 + if test $am_cv_val_LC_MESSAGES = yes; then
6.1149 + AC_DEFINE(HAVE_LC_MESSAGES, 1,
6.1150 + [Define if your <locale.h> file defines LC_MESSAGES.])
6.1151 + fi
6.1152 + fi])
6.1153 +
6.1154 +# GLIB_PATH_PROG_WITH_TEST
6.1155 +#----------------------------
6.1156 +dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
6.1157 +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
6.1158 +glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
6.1159 +[# Extract the first word of "$2", so it can be a program name with args.
6.1160 +set dummy $2; ac_word=[$]2
6.1161 +AC_MSG_CHECKING([for $ac_word])
6.1162 +AC_CACHE_VAL(ac_cv_path_$1,
6.1163 +[case "[$]$1" in
6.1164 + /*)
6.1165 + ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
6.1166 + ;;
6.1167 + *)
6.1168 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6.1169 + for ac_dir in ifelse([$5], , $PATH, [$5]); do
6.1170 + test -z "$ac_dir" && ac_dir=.
6.1171 + if test -f $ac_dir/$ac_word; then
6.1172 + if [$3]; then
6.1173 + ac_cv_path_$1="$ac_dir/$ac_word"
6.1174 + break
6.1175 + fi
6.1176 + fi
6.1177 + done
6.1178 + IFS="$ac_save_ifs"
6.1179 +dnl If no 4th arg is given, leave the cache variable unset,
6.1180 +dnl so AC_PATH_PROGS will keep looking.
6.1181 +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
6.1182 +])dnl
6.1183 + ;;
6.1184 +esac])dnl
6.1185 +$1="$ac_cv_path_$1"
6.1186 +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
6.1187 + AC_MSG_RESULT([$]$1)
6.1188 +else
6.1189 + AC_MSG_RESULT(no)
6.1190 +fi
6.1191 +AC_SUBST($1)dnl
6.1192 +])
6.1193 +
6.1194 +# GLIB_WITH_NLS
6.1195 +#-----------------
6.1196 +glib_DEFUN([GLIB_WITH_NLS],
6.1197 + dnl NLS is obligatory
6.1198 + [USE_NLS=yes
6.1199 + AC_SUBST(USE_NLS)
6.1200 +
6.1201 + gt_cv_have_gettext=no
6.1202 +
6.1203 + CATOBJEXT=NONE
6.1204 + XGETTEXT=:
6.1205 + INTLLIBS=
6.1206 +
6.1207 + AC_CHECK_HEADER(libintl.h,
6.1208 + [gt_cv_func_dgettext_libintl="no"
6.1209 + libintl_extra_libs=""
6.1210 +
6.1211 + #
6.1212 + # First check in libc
6.1213 + #
6.1214 + AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
6.1215 + [AC_TRY_LINK([
6.1216 +#include <libintl.h>
6.1217 +],
6.1218 + [return (int) dgettext ("","")],
6.1219 + gt_cv_func_dgettext_libc=yes,
6.1220 + gt_cv_func_dgettext_libc=no)
6.1221 + ])
6.1222 +
6.1223 + if test "$gt_cv_func_dgettext_libc" = "yes" ; then
6.1224 + AC_CHECK_FUNCS(bind_textdomain_codeset)
6.1225 + fi
6.1226 +
6.1227 + #
6.1228 + # If we don't have everything we want, check in libintl
6.1229 + #
6.1230 + if test "$gt_cv_func_dgettext_libc" != "yes" \
6.1231 + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6.1232 +
6.1233 + AC_CHECK_LIB(intl, bindtextdomain,
6.1234 + [AC_CHECK_LIB(intl, dgettext,
6.1235 + gt_cv_func_dgettext_libintl=yes)])
6.1236 +
6.1237 + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6.1238 + AC_MSG_CHECKING([if -liconv is needed to use gettext])
6.1239 + AC_MSG_RESULT([])
6.1240 + AC_CHECK_LIB(intl, dcgettext,
6.1241 + [gt_cv_func_dgettext_libintl=yes
6.1242 + libintl_extra_libs=-liconv],
6.1243 + :,-liconv)
6.1244 + fi
6.1245 +
6.1246 + #
6.1247 + # If we found libintl, then check in it for bind_textdomain_codeset();
6.1248 + # we'll prefer libc if neither have bind_textdomain_codeset(),
6.1249 + # and both have dgettext
6.1250 + #
6.1251 + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6.1252 + glib_save_LIBS="$LIBS"
6.1253 + LIBS="$LIBS -lintl $libintl_extra_libs"
6.1254 + unset ac_cv_func_bind_textdomain_codeset
6.1255 + AC_CHECK_FUNCS(bind_textdomain_codeset)
6.1256 + LIBS="$glib_save_LIBS"
6.1257 +
6.1258 + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6.1259 + gt_cv_func_dgettext_libc=no
6.1260 + else
6.1261 + if test "$gt_cv_func_dgettext_libc" = "yes"; then
6.1262 + gt_cv_func_dgettext_libintl=no
6.1263 + fi
6.1264 + fi
6.1265 + fi
6.1266 + fi
6.1267 +
6.1268 + if test "$gt_cv_func_dgettext_libc" = "yes" \
6.1269 + || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6.1270 + gt_cv_have_gettext=yes
6.1271 + fi
6.1272 +
6.1273 + if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6.1274 + INTLLIBS="-lintl $libintl_extra_libs"
6.1275 + fi
6.1276 +
6.1277 + if test "$gt_cv_have_gettext" = "yes"; then
6.1278 + AC_DEFINE(HAVE_GETTEXT,1,
6.1279 + [Define if the GNU gettext() function is already present or preinstalled.])
6.1280 + GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
6.1281 + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
6.1282 + if test "$MSGFMT" != "no"; then
6.1283 + glib_save_LIBS="$LIBS"
6.1284 + LIBS="$LIBS $INTLLIBS"
6.1285 + AC_CHECK_FUNCS(dcgettext)
6.1286 + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
6.1287 + GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
6.1288 + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
6.1289 + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
6.1290 + return _nl_msg_cat_cntr],
6.1291 + [CATOBJEXT=.gmo
6.1292 + DATADIRNAME=share],
6.1293 + [case $host in
6.1294 + *-*-solaris*)
6.1295 + dnl On Solaris, if bind_textdomain_codeset is in libc,
6.1296 + dnl GNU format message catalog is always supported,
6.1297 + dnl since both are added to the libc all together.
6.1298 + dnl Hence, we'd like to go with DATADIRNAME=share and
6.1299 + dnl and CATOBJEXT=.gmo in this case.
6.1300 + AC_CHECK_FUNC(bind_textdomain_codeset,
6.1301 + [CATOBJEXT=.gmo
6.1302 + DATADIRNAME=share],
6.1303 + [CATOBJEXT=.mo
6.1304 + DATADIRNAME=lib])
6.1305 + ;;
6.1306 + *)
6.1307 + CATOBJEXT=.mo
6.1308 + DATADIRNAME=lib
6.1309 + ;;
6.1310 + esac])
6.1311 + LIBS="$glib_save_LIBS"
6.1312 + INSTOBJEXT=.mo
6.1313 + else
6.1314 + gt_cv_have_gettext=no
6.1315 + fi
6.1316 + fi
6.1317 + ])
6.1318 +
6.1319 + if test "$gt_cv_have_gettext" = "yes" ; then
6.1320 + AC_DEFINE(ENABLE_NLS, 1,
6.1321 + [always defined to indicate that i18n is enabled])
6.1322 + fi
6.1323 +
6.1324 + dnl Test whether we really found GNU xgettext.
6.1325 + if test "$XGETTEXT" != ":"; then
6.1326 + dnl If it is not GNU xgettext we define it as : so that the
6.1327 + dnl Makefiles still can work.
6.1328 + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6.1329 + : ;
6.1330 + else
6.1331 + AC_MSG_RESULT(
6.1332 + [found xgettext program is not GNU xgettext; ignore it])
6.1333 + XGETTEXT=":"
6.1334 + fi
6.1335 + fi
6.1336 +
6.1337 + # We need to process the po/ directory.
6.1338 + POSUB=po
6.1339 +
6.1340 + AC_OUTPUT_COMMANDS(
6.1341 + [case "$CONFIG_FILES" in *po/Makefile.in*)
6.1342 + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6.1343 + esac])
6.1344 +
6.1345 + dnl These rules are solely for the distribution goal. While doing this
6.1346 + dnl we only have to keep exactly one list of the available catalogs
6.1347 + dnl in configure.in.
6.1348 + for lang in $ALL_LINGUAS; do
6.1349 + GMOFILES="$GMOFILES $lang.gmo"
6.1350 + POFILES="$POFILES $lang.po"
6.1351 + done
6.1352 +
6.1353 + dnl Make all variables we use known to autoconf.
6.1354 + AC_SUBST(CATALOGS)
6.1355 + AC_SUBST(CATOBJEXT)
6.1356 + AC_SUBST(DATADIRNAME)
6.1357 + AC_SUBST(GMOFILES)
6.1358 + AC_SUBST(INSTOBJEXT)
6.1359 + AC_SUBST(INTLLIBS)
6.1360 + AC_SUBST(PO_IN_DATADIR_TRUE)
6.1361 + AC_SUBST(PO_IN_DATADIR_FALSE)
6.1362 + AC_SUBST(POFILES)
6.1363 + AC_SUBST(POSUB)
6.1364 + ])
6.1365 +
6.1366 +# AM_GLIB_GNU_GETTEXT
6.1367 +# -------------------
6.1368 +# Do checks necessary for use of gettext. If a suitable implementation
6.1369 +# of gettext is found in either in libintl or in the C library,
6.1370 +# it will set INTLLIBS to the libraries needed for use of gettext
6.1371 +# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
6.1372 +# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
6.1373 +# on various variables needed by the Makefile.in.in installed by
6.1374 +# glib-gettextize.
6.1375 +dnl
6.1376 +glib_DEFUN(GLIB_GNU_GETTEXT,
6.1377 + [AC_REQUIRE([AC_PROG_CC])dnl
6.1378 + AC_REQUIRE([AC_HEADER_STDC])dnl
6.1379 +
6.1380 + GLIB_LC_MESSAGES
6.1381 + GLIB_WITH_NLS
6.1382 +
6.1383 + if test "$gt_cv_have_gettext" = "yes"; then
6.1384 + if test "x$ALL_LINGUAS" = "x"; then
6.1385 + LINGUAS=
6.1386 + else
6.1387 + AC_MSG_CHECKING(for catalogs to be installed)
6.1388 + NEW_LINGUAS=
6.1389 + for presentlang in $ALL_LINGUAS; do
6.1390 + useit=no
6.1391 + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6.1392 + desiredlanguages="$LINGUAS"
6.1393 + else
6.1394 + desiredlanguages="$ALL_LINGUAS"
6.1395 + fi
6.1396 + for desiredlang in $desiredlanguages; do
6.1397 + # Use the presentlang catalog if desiredlang is
6.1398 + # a. equal to presentlang, or
6.1399 + # b. a variant of presentlang (because in this case,
6.1400 + # presentlang can be used as a fallback for messages
6.1401 + # which are not translated in the desiredlang catalog).
6.1402 + case "$desiredlang" in
6.1403 + "$presentlang"*) useit=yes;;
6.1404 + esac
6.1405 + done
6.1406 + if test $useit = yes; then
6.1407 + NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6.1408 + fi
6.1409 + done
6.1410 + LINGUAS=$NEW_LINGUAS
6.1411 + AC_MSG_RESULT($LINGUAS)
6.1412 + fi
6.1413 +
6.1414 + dnl Construct list of names of catalog files to be constructed.
6.1415 + if test -n "$LINGUAS"; then
6.1416 + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6.1417 + fi
6.1418 + fi
6.1419 +
6.1420 + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
6.1421 + dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
6.1422 + dnl Try to locate is.
6.1423 + MKINSTALLDIRS=
6.1424 + if test -n "$ac_aux_dir"; then
6.1425 + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6.1426 + fi
6.1427 + if test -z "$MKINSTALLDIRS"; then
6.1428 + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6.1429 + fi
6.1430 + AC_SUBST(MKINSTALLDIRS)
6.1431 +
6.1432 + dnl Generate list of files to be processed by xgettext which will
6.1433 + dnl be included in po/Makefile.
6.1434 + test -d po || mkdir po
6.1435 + if test "x$srcdir" != "x."; then
6.1436 + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6.1437 + posrcprefix="$srcdir/"
6.1438 + else
6.1439 + posrcprefix="../$srcdir/"
6.1440 + fi
6.1441 + else
6.1442 + posrcprefix="../"
6.1443 + fi
6.1444 + rm -f po/POTFILES
6.1445 + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6.1446 + < $srcdir/po/POTFILES.in > po/POTFILES
6.1447 + ])
6.1448 +
6.1449 +# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
6.1450 +# -------------------------------
6.1451 +# Define VARIABLE to the location where catalog files will
6.1452 +# be installed by po/Makefile.
6.1453 +glib_DEFUN(GLIB_DEFINE_LOCALEDIR,
6.1454 +[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
6.1455 +glib_save_prefix="$prefix"
6.1456 +glib_save_exec_prefix="$exec_prefix"
6.1457 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
6.1458 +test "x$exec_prefix" = xNONE && exec_prefix=$prefix
6.1459 +if test "x$CATOBJEXT" = "x.mo" ; then
6.1460 + localedir=`eval echo "${libdir}/locale"`
6.1461 +else
6.1462 + localedir=`eval echo "${datadir}/locale"`
6.1463 +fi
6.1464 +prefix="$glib_save_prefix"
6.1465 +exec_prefix="$glib_save_exec_prefix"
6.1466 +AC_DEFINE_UNQUOTED($1, "$localedir",
6.1467 + [Define the location where the catalogs will be installed])
6.1468 +])
6.1469 +
6.1470 +dnl
6.1471 +dnl Now the definitions that aclocal will find
6.1472 +dnl
6.1473 +ifdef(glib_configure_in,[],[
6.1474 +AC_DEFUN(AM_GLIB_GNU_GETTEXT,[GLIB_GNU_GETTEXT($@)])
6.1475 +AC_DEFUN(AM_GLIB_DEFINE_LOCALEDIR,[GLIB_DEFINE_LOCALEDIR($@)])
6.1476 +])dnl
6.1477 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/autogen.sh Sat Mar 13 00:03:32 2004 +0000
7.3 @@ -0,0 +1,159 @@
7.4 +#!/bin/sh
7.5 +# Run this to generate all the initial makefiles, etc.
7.6 +
7.7 +srcdir=`dirname $0`
7.8 +test -z "$srcdir" && srcdir=.
7.9 +
7.10 +DIE=0
7.11 +
7.12 +if [ -n "$GNOME2_DIR" ]; then
7.13 + ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
7.14 + LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
7.15 + PATH="$GNOME2_DIR/bin:$PATH"
7.16 + export PATH
7.17 + export LD_LIBRARY_PATH
7.18 +fi
7.19 +
7.20 +(test -f $srcdir/configure.in) || {
7.21 + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
7.22 + echo " top-level package directory"
7.23 + exit 1
7.24 +}
7.25 +
7.26 +(autoconf --version) < /dev/null > /dev/null 2>&1 || {
7.27 + echo
7.28 + echo "**Error**: You must have \`autoconf' installed."
7.29 + echo "Download the appropriate package for your distribution,"
7.30 + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
7.31 + DIE=1
7.32 +}
7.33 +
7.34 +(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
7.35 + (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
7.36 + echo
7.37 + echo "**Error**: You must have \`intltool' installed."
7.38 + echo "You can get it from:"
7.39 + echo " ftp://ftp.gnome.org/pub/GNOME/"
7.40 + DIE=1
7.41 + }
7.42 +}
7.43 +
7.44 +(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && {
7.45 + (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
7.46 + echo
7.47 + echo "**Error**: You must have \`xml-i18n-toolize' installed."
7.48 + echo "You can get it from:"
7.49 + echo " ftp://ftp.gnome.org/pub/GNOME/"
7.50 + DIE=1
7.51 + }
7.52 +}
7.53 +
7.54 +(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
7.55 + (libtool --version) < /dev/null > /dev/null 2>&1 || {
7.56 + echo
7.57 + echo "**Error**: You must have \`libtool' installed."
7.58 + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
7.59 + DIE=1
7.60 + }
7.61 +}
7.62 +
7.63 +(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && {
7.64 + (grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \
7.65 + (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
7.66 + echo
7.67 + echo "**Error**: You must have \`glib' installed."
7.68 + echo "You can get it from: ftp://ftp.gtk.org/pub/gtk"
7.69 + DIE=1
7.70 + }
7.71 +}
7.72 +
7.73 +(automake --version) < /dev/null > /dev/null 2>&1 || {
7.74 + echo
7.75 + echo "**Error**: You must have \`automake' installed."
7.76 + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
7.77 + DIE=1
7.78 + NO_AUTOMAKE=yes
7.79 +}
7.80 +
7.81 +
7.82 +# if no automake, don't bother testing for aclocal
7.83 +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
7.84 + echo
7.85 + echo "**Error**: Missing \`aclocal'. The version of \`automake'"
7.86 + echo "installed doesn't appear recent enough."
7.87 + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/"
7.88 + DIE=1
7.89 +}
7.90 +
7.91 +if test "$DIE" -eq 1; then
7.92 + exit 1
7.93 +fi
7.94 +
7.95 +if test -z "$*"; then
7.96 + echo "**Warning**: I am going to run \`configure' with no arguments."
7.97 + echo "If you wish to pass any to it, please specify them on the"
7.98 + echo \`$0\'" command line."
7.99 + echo
7.100 +fi
7.101 +
7.102 +case $CC in
7.103 +xlc )
7.104 + am_opt=--include-deps;;
7.105 +esac
7.106 +
7.107 +for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.in -print`
7.108 +do
7.109 + dr=`dirname $coin`
7.110 + if test -f $dr/NO-AUTO-GEN; then
7.111 + echo skipping $dr -- flagged as no auto-gen
7.112 + else
7.113 + echo processing $dr
7.114 + ( cd $dr
7.115 +
7.116 + aclocalinclude="$ACLOCAL_FLAGS"
7.117 +
7.118 + if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then
7.119 + echo "Creating $dr/aclocal.m4 ..."
7.120 + test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
7.121 + echo "Running glib-gettextize... Ignore non-fatal messages."
7.122 + echo "no" | glib-gettextize --force --copy
7.123 + echo "Making $dr/aclocal.m4 writable ..."
7.124 + test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
7.125 + fi
7.126 + if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
7.127 + echo "Running intltoolize..."
7.128 + intltoolize --copy --force --automake
7.129 + fi
7.130 + if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then
7.131 + echo "Running xml-i18n-toolize..."
7.132 + xml-i18n-toolize --copy --force --automake
7.133 + fi
7.134 + if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
7.135 + if test -z "$NO_LIBTOOLIZE" ; then
7.136 + echo "Running libtoolize..."
7.137 + libtoolize --force --copy
7.138 + fi
7.139 + fi
7.140 + echo "Running aclocal $aclocalinclude ..."
7.141 + aclocal $aclocalinclude
7.142 + if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
7.143 + echo "Running autoheader..."
7.144 + autoheader
7.145 + fi
7.146 + echo "Running automake --gnu $am_opt ..."
7.147 + automake --add-missing --gnu $am_opt
7.148 + echo "Running autoconf ..."
7.149 + autoconf
7.150 + )
7.151 + fi
7.152 +done
7.153 +
7.154 +conf_flags="--enable-maintainer-mode"
7.155 +
7.156 +if test x$NOCONFIGURE = x; then
7.157 + echo Running $srcdir/configure $conf_flags "$@" ...
7.158 + $srcdir/configure $conf_flags "$@" \
7.159 + && echo Now type \`make\' to compile. || exit 1
7.160 +else
7.161 + echo Skipping configure process.
7.162 +fi
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/config.h.in Sat Mar 13 00:03:32 2004 +0000
8.3 @@ -0,0 +1,77 @@
8.4 +/* config.h.in. Generated from configure.in by autoheader. */
8.5 +#undef ENABLE_NLS
8.6 +#undef HAVE_CATGETS
8.7 +#undef HAVE_GETTEXT
8.8 +#undef GETTEXT_PACKAGE
8.9 +#undef HAVE_LC_MESSAGES
8.10 +#undef HAVE_STPCPY
8.11 +#undef HAVE_LIBSM
8.12 +
8.13 +/* always defined to indicate that i18n is enabled */
8.14 +#undef ENABLE_NLS
8.15 +
8.16 +/* Define to 1 if you have the `bind_textdomain_codeset' function. */
8.17 +#undef HAVE_BIND_TEXTDOMAIN_CODESET
8.18 +
8.19 +/* Define to 1 if you have the `dcgettext' function. */
8.20 +#undef HAVE_DCGETTEXT
8.21 +
8.22 +/* Define if the GNU gettext() function is already present or preinstalled. */
8.23 +#undef HAVE_GETTEXT
8.24 +
8.25 +/* Define to 1 if you have the <inttypes.h> header file. */
8.26 +#undef HAVE_INTTYPES_H
8.27 +
8.28 +/* Define if your <locale.h> file defines LC_MESSAGES. */
8.29 +#undef HAVE_LC_MESSAGES
8.30 +
8.31 +/* Define to 1 if you have the <locale.h> header file. */
8.32 +#undef HAVE_LOCALE_H
8.33 +
8.34 +/* Define to 1 if you have the <memory.h> header file. */
8.35 +#undef HAVE_MEMORY_H
8.36 +
8.37 +/* Define to 1 if you have the <stdint.h> header file. */
8.38 +#undef HAVE_STDINT_H
8.39 +
8.40 +/* Define to 1 if you have the <stdlib.h> header file. */
8.41 +#undef HAVE_STDLIB_H
8.42 +
8.43 +/* Define to 1 if you have the <strings.h> header file. */
8.44 +#undef HAVE_STRINGS_H
8.45 +
8.46 +/* Define to 1 if you have the <string.h> header file. */
8.47 +#undef HAVE_STRING_H
8.48 +
8.49 +/* Define to 1 if you have the <sys/stat.h> header file. */
8.50 +#undef HAVE_SYS_STAT_H
8.51 +
8.52 +/* Define to 1 if you have the <sys/types.h> header file. */
8.53 +#undef HAVE_SYS_TYPES_H
8.54 +
8.55 +/* Define to 1 if you have the <unistd.h> header file. */
8.56 +#undef HAVE_UNISTD_H
8.57 +
8.58 +/* Name of package */
8.59 +#undef PACKAGE
8.60 +
8.61 +/* Define to the address where bug reports for this package should be sent. */
8.62 +#undef PACKAGE_BUGREPORT
8.63 +
8.64 +/* Define to the full name of this package. */
8.65 +#undef PACKAGE_NAME
8.66 +
8.67 +/* Define to the full name and version of this package. */
8.68 +#undef PACKAGE_STRING
8.69 +
8.70 +/* Define to the one symbol short name of this package. */
8.71 +#undef PACKAGE_TARNAME
8.72 +
8.73 +/* Define to the version of this package. */
8.74 +#undef PACKAGE_VERSION
8.75 +
8.76 +/* Define to 1 if you have the ANSI C header files. */
8.77 +#undef STDC_HEADERS
8.78 +
8.79 +/* Version number of package */
8.80 +#undef VERSION
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/configure Sat Mar 13 00:03:32 2004 +0000
9.3 @@ -0,0 +1,7223 @@
9.4 +#! /bin/sh
9.5 +# Guess values for system-dependent variables and create Makefiles.
9.6 +# Generated by GNU Autoconf 2.59.
9.7 +#
9.8 +# Copyright (C) 2003 Free Software Foundation, Inc.
9.9 +# This configure script is free software; the Free Software Foundation
9.10 +# gives unlimited permission to copy, distribute and modify it.
9.11 +## --------------------- ##
9.12 +## M4sh Initialization. ##
9.13 +## --------------------- ##
9.14 +
9.15 +# Be Bourne compatible
9.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9.17 + emulate sh
9.18 + NULLCMD=:
9.19 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9.20 + # is contrary to our usage. Disable this feature.
9.21 + alias -g '${1+"$@"}'='"$@"'
9.22 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9.23 + set -o posix
9.24 +fi
9.25 +DUALCASE=1; export DUALCASE # for MKS sh
9.26 +
9.27 +# Support unset when possible.
9.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9.29 + as_unset=unset
9.30 +else
9.31 + as_unset=false
9.32 +fi
9.33 +
9.34 +
9.35 +# Work around bugs in pre-3.0 UWIN ksh.
9.36 +$as_unset ENV MAIL MAILPATH
9.37 +PS1='$ '
9.38 +PS2='> '
9.39 +PS4='+ '
9.40 +
9.41 +# NLS nuisances.
9.42 +for as_var in \
9.43 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9.44 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9.45 + LC_TELEPHONE LC_TIME
9.46 +do
9.47 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9.48 + eval $as_var=C; export $as_var
9.49 + else
9.50 + $as_unset $as_var
9.51 + fi
9.52 +done
9.53 +
9.54 +# Required to use basename.
9.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
9.56 + as_expr=expr
9.57 +else
9.58 + as_expr=false
9.59 +fi
9.60 +
9.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9.62 + as_basename=basename
9.63 +else
9.64 + as_basename=false
9.65 +fi
9.66 +
9.67 +
9.68 +# Name of the executable.
9.69 +as_me=`$as_basename "$0" ||
9.70 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9.71 + X"$0" : 'X\(//\)$' \| \
9.72 + X"$0" : 'X\(/\)$' \| \
9.73 + . : '\(.\)' 2>/dev/null ||
9.74 +echo X/"$0" |
9.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
9.77 + /^X\/\(\/\).*/{ s//\1/; q; }
9.78 + s/.*/./; q'`
9.79 +
9.80 +
9.81 +# PATH needs CR, and LINENO needs CR and PATH.
9.82 +# Avoid depending upon Character Ranges.
9.83 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9.84 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9.85 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9.86 +as_cr_digits='0123456789'
9.87 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9.88 +
9.89 +# The user is always right.
9.90 +if test "${PATH_SEPARATOR+set}" != set; then
9.91 + echo "#! /bin/sh" >conf$$.sh
9.92 + echo "exit 0" >>conf$$.sh
9.93 + chmod +x conf$$.sh
9.94 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9.95 + PATH_SEPARATOR=';'
9.96 + else
9.97 + PATH_SEPARATOR=:
9.98 + fi
9.99 + rm -f conf$$.sh
9.100 +fi
9.101 +
9.102 +
9.103 + as_lineno_1=$LINENO
9.104 + as_lineno_2=$LINENO
9.105 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9.106 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9.107 + test "x$as_lineno_3" = "x$as_lineno_2" || {
9.108 + # Find who we are. Look in the path if we contain no path at all
9.109 + # relative or not.
9.110 + case $0 in
9.111 + *[\\/]* ) as_myself=$0 ;;
9.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.113 +for as_dir in $PATH
9.114 +do
9.115 + IFS=$as_save_IFS
9.116 + test -z "$as_dir" && as_dir=.
9.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9.118 +done
9.119 +
9.120 + ;;
9.121 + esac
9.122 + # We did not find ourselves, most probably we were run as `sh COMMAND'
9.123 + # in which case we are not to be found in the path.
9.124 + if test "x$as_myself" = x; then
9.125 + as_myself=$0
9.126 + fi
9.127 + if test ! -f "$as_myself"; then
9.128 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
9.129 + { (exit 1); exit 1; }; }
9.130 + fi
9.131 + case $CONFIG_SHELL in
9.132 + '')
9.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9.135 +do
9.136 + IFS=$as_save_IFS
9.137 + test -z "$as_dir" && as_dir=.
9.138 + for as_base in sh bash ksh sh5; do
9.139 + case $as_dir in
9.140 + /*)
9.141 + if ("$as_dir/$as_base" -c '
9.142 + as_lineno_1=$LINENO
9.143 + as_lineno_2=$LINENO
9.144 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9.145 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9.146 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9.147 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9.148 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9.149 + CONFIG_SHELL=$as_dir/$as_base
9.150 + export CONFIG_SHELL
9.151 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9.152 + fi;;
9.153 + esac
9.154 + done
9.155 +done
9.156 +;;
9.157 + esac
9.158 +
9.159 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9.160 + # uniformly replaced by the line number. The first 'sed' inserts a
9.161 + # line-number line before each line; the second 'sed' does the real
9.162 + # work. The second script uses 'N' to pair each line-number line
9.163 + # with the numbered line, and appends trailing '-' during
9.164 + # substitution so that $LINENO is not a special case at line end.
9.165 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9.166 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9.167 + sed '=' <$as_myself |
9.168 + sed '
9.169 + N
9.170 + s,$,-,
9.171 + : loop
9.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9.173 + t loop
9.174 + s,-$,,
9.175 + s,^['$as_cr_digits']*\n,,
9.176 + ' >$as_me.lineno &&
9.177 + chmod +x $as_me.lineno ||
9.178 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9.179 + { (exit 1); exit 1; }; }
9.180 +
9.181 + # Don't try to exec as it changes $[0], causing all sort of problems
9.182 + # (the dirname of $[0] is not the place where we might find the
9.183 + # original and so on. Autoconf is especially sensible to this).
9.184 + . ./$as_me.lineno
9.185 + # Exit status is that of the last command.
9.186 + exit
9.187 +}
9.188 +
9.189 +
9.190 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9.191 + *c*,-n*) ECHO_N= ECHO_C='
9.192 +' ECHO_T=' ' ;;
9.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9.195 +esac
9.196 +
9.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
9.198 + as_expr=expr
9.199 +else
9.200 + as_expr=false
9.201 +fi
9.202 +
9.203 +rm -f conf$$ conf$$.exe conf$$.file
9.204 +echo >conf$$.file
9.205 +if ln -s conf$$.file conf$$ 2>/dev/null; then
9.206 + # We could just check for DJGPP; but this test a) works b) is more generic
9.207 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9.208 + if test -f conf$$.exe; then
9.209 + # Don't use ln at all; we don't have any links
9.210 + as_ln_s='cp -p'
9.211 + else
9.212 + as_ln_s='ln -s'
9.213 + fi
9.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
9.215 + as_ln_s=ln
9.216 +else
9.217 + as_ln_s='cp -p'
9.218 +fi
9.219 +rm -f conf$$ conf$$.exe conf$$.file
9.220 +
9.221 +if mkdir -p . 2>/dev/null; then
9.222 + as_mkdir_p=:
9.223 +else
9.224 + test -d ./-p && rmdir ./-p
9.225 + as_mkdir_p=false
9.226 +fi
9.227 +
9.228 +as_executable_p="test -f"
9.229 +
9.230 +# Sed expression to map a string onto a valid CPP name.
9.231 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9.232 +
9.233 +# Sed expression to map a string onto a valid variable name.
9.234 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9.235 +
9.236 +
9.237 +# IFS
9.238 +# We need space, tab and new line, in precisely that order.
9.239 +as_nl='
9.240 +'
9.241 +IFS=" $as_nl"
9.242 +
9.243 +# CDPATH.
9.244 +$as_unset CDPATH
9.245 +
9.246 +
9.247 +# Name of the host.
9.248 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9.249 +# so uname gets run too.
9.250 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9.251 +
9.252 +exec 6>&1
9.253 +
9.254 +#
9.255 +# Initializations.
9.256 +#
9.257 +ac_default_prefix=/usr/local
9.258 +ac_config_libobj_dir=.
9.259 +cross_compiling=no
9.260 +subdirs=
9.261 +MFLAGS=
9.262 +MAKEFLAGS=
9.263 +SHELL=${CONFIG_SHELL-/bin/sh}
9.264 +
9.265 +# Maximum number of lines to put in a shell here document.
9.266 +# This variable seems obsolete. It should probably be removed, and
9.267 +# only ac_max_sed_lines should be used.
9.268 +: ${ac_max_here_lines=38}
9.269 +
9.270 +# Identity of this package.
9.271 +PACKAGE_NAME=
9.272 +PACKAGE_TARNAME=
9.273 +PACKAGE_VERSION=
9.274 +PACKAGE_STRING=
9.275 +PACKAGE_BUGREPORT=
9.276 +
9.277 +ac_unique_file="configure.in"
9.278 +# Factoring default headers for most tests.
9.279 +ac_includes_default="\
9.280 +#include <stdio.h>
9.281 +#if HAVE_SYS_TYPES_H
9.282 +# include <sys/types.h>
9.283 +#endif
9.284 +#if HAVE_SYS_STAT_H
9.285 +# include <sys/stat.h>
9.286 +#endif
9.287 +#if STDC_HEADERS
9.288 +# include <stdlib.h>
9.289 +# include <stddef.h>
9.290 +#else
9.291 +# if HAVE_STDLIB_H
9.292 +# include <stdlib.h>
9.293 +# endif
9.294 +#endif
9.295 +#if HAVE_STRING_H
9.296 +# if !STDC_HEADERS && HAVE_MEMORY_H
9.297 +# include <memory.h>
9.298 +# endif
9.299 +# include <string.h>
9.300 +#endif
9.301 +#if HAVE_STRINGS_H
9.302 +# include <strings.h>
9.303 +#endif
9.304 +#if HAVE_INTTYPES_H
9.305 +# include <inttypes.h>
9.306 +#else
9.307 +# if HAVE_STDINT_H
9.308 +# include <stdint.h>
9.309 +# endif
9.310 +#endif
9.311 +#if HAVE_UNISTD_H
9.312 +# include <unistd.h>
9.313 +#endif"
9.314 +
9.315 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
9.316 +ac_subst_files=''
9.317 +
9.318 +# Initialize some variables set by options.
9.319 +ac_init_help=
9.320 +ac_init_version=false
9.321 +# The variables have the same names as the options, with
9.322 +# dashes changed to underlines.
9.323 +cache_file=/dev/null
9.324 +exec_prefix=NONE
9.325 +no_create=
9.326 +no_recursion=
9.327 +prefix=NONE
9.328 +program_prefix=NONE
9.329 +program_suffix=NONE
9.330 +program_transform_name=s,x,x,
9.331 +silent=
9.332 +site=
9.333 +srcdir=
9.334 +verbose=
9.335 +x_includes=NONE
9.336 +x_libraries=NONE
9.337 +
9.338 +# Installation directory options.
9.339 +# These are left unexpanded so users can "make install exec_prefix=/foo"
9.340 +# and all the variables that are supposed to be based on exec_prefix
9.341 +# by default will actually change.
9.342 +# Use braces instead of parens because sh, perl, etc. also accept them.
9.343 +bindir='${exec_prefix}/bin'
9.344 +sbindir='${exec_prefix}/sbin'
9.345 +libexecdir='${exec_prefix}/libexec'
9.346 +datadir='${prefix}/share'
9.347 +sysconfdir='${prefix}/etc'
9.348 +sharedstatedir='${prefix}/com'
9.349 +localstatedir='${prefix}/var'
9.350 +libdir='${exec_prefix}/lib'
9.351 +includedir='${prefix}/include'
9.352 +oldincludedir='/usr/include'
9.353 +infodir='${prefix}/info'
9.354 +mandir='${prefix}/man'
9.355 +
9.356 +ac_prev=
9.357 +for ac_option
9.358 +do
9.359 + # If the previous option needs an argument, assign it.
9.360 + if test -n "$ac_prev"; then
9.361 + eval "$ac_prev=\$ac_option"
9.362 + ac_prev=
9.363 + continue
9.364 + fi
9.365 +
9.366 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
9.367 +
9.368 + # Accept the important Cygnus configure options, so we can diagnose typos.
9.369 +
9.370 + case $ac_option in
9.371 +
9.372 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
9.373 + ac_prev=bindir ;;
9.374 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
9.375 + bindir=$ac_optarg ;;
9.376 +
9.377 + -build | --build | --buil | --bui | --bu)
9.378 + ac_prev=build_alias ;;
9.379 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
9.380 + build_alias=$ac_optarg ;;
9.381 +
9.382 + -cache-file | --cache-file | --cache-fil | --cache-fi \
9.383 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9.384 + ac_prev=cache_file ;;
9.385 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9.386 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
9.387 + cache_file=$ac_optarg ;;
9.388 +
9.389 + --config-cache | -C)
9.390 + cache_file=config.cache ;;
9.391 +
9.392 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
9.393 + ac_prev=datadir ;;
9.394 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
9.395 + | --da=*)
9.396 + datadir=$ac_optarg ;;
9.397 +
9.398 + -disable-* | --disable-*)
9.399 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
9.400 + # Reject names that are not valid shell variable names.
9.401 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9.402 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9.403 + { (exit 1); exit 1; }; }
9.404 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9.405 + eval "enable_$ac_feature=no" ;;
9.406 +
9.407 + -enable-* | --enable-*)
9.408 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
9.409 + # Reject names that are not valid shell variable names.
9.410 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9.411 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9.412 + { (exit 1); exit 1; }; }
9.413 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9.414 + case $ac_option in
9.415 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9.416 + *) ac_optarg=yes ;;
9.417 + esac
9.418 + eval "enable_$ac_feature='$ac_optarg'" ;;
9.419 +
9.420 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9.421 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9.422 + | --exec | --exe | --ex)
9.423 + ac_prev=exec_prefix ;;
9.424 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9.425 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9.426 + | --exec=* | --exe=* | --ex=*)
9.427 + exec_prefix=$ac_optarg ;;
9.428 +
9.429 + -gas | --gas | --ga | --g)
9.430 + # Obsolete; use --with-gas.
9.431 + with_gas=yes ;;
9.432 +
9.433 + -help | --help | --hel | --he | -h)
9.434 + ac_init_help=long ;;
9.435 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9.436 + ac_init_help=recursive ;;
9.437 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9.438 + ac_init_help=short ;;
9.439 +
9.440 + -host | --host | --hos | --ho)
9.441 + ac_prev=host_alias ;;
9.442 + -host=* | --host=* | --hos=* | --ho=*)
9.443 + host_alias=$ac_optarg ;;
9.444 +
9.445 + -includedir | --includedir | --includedi | --included | --include \
9.446 + | --includ | --inclu | --incl | --inc)
9.447 + ac_prev=includedir ;;
9.448 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9.449 + | --includ=* | --inclu=* | --incl=* | --inc=*)
9.450 + includedir=$ac_optarg ;;
9.451 +
9.452 + -infodir | --infodir | --infodi | --infod | --info | --inf)
9.453 + ac_prev=infodir ;;
9.454 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9.455 + infodir=$ac_optarg ;;
9.456 +
9.457 + -libdir | --libdir | --libdi | --libd)
9.458 + ac_prev=libdir ;;
9.459 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
9.460 + libdir=$ac_optarg ;;
9.461 +
9.462 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9.463 + | --libexe | --libex | --libe)
9.464 + ac_prev=libexecdir ;;
9.465 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9.466 + | --libexe=* | --libex=* | --libe=*)
9.467 + libexecdir=$ac_optarg ;;
9.468 +
9.469 + -localstatedir | --localstatedir | --localstatedi | --localstated \
9.470 + | --localstate | --localstat | --localsta | --localst \
9.471 + | --locals | --local | --loca | --loc | --lo)
9.472 + ac_prev=localstatedir ;;
9.473 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9.474 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
9.475 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
9.476 + localstatedir=$ac_optarg ;;
9.477 +
9.478 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9.479 + ac_prev=mandir ;;
9.480 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9.481 + mandir=$ac_optarg ;;
9.482 +
9.483 + -nfp | --nfp | --nf)
9.484 + # Obsolete; use --without-fp.
9.485 + with_fp=no ;;
9.486 +
9.487 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9.488 + | --no-cr | --no-c | -n)
9.489 + no_create=yes ;;
9.490 +
9.491 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9.492 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9.493 + no_recursion=yes ;;
9.494 +
9.495 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9.496 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9.497 + | --oldin | --oldi | --old | --ol | --o)
9.498 + ac_prev=oldincludedir ;;
9.499 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9.500 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9.501 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9.502 + oldincludedir=$ac_optarg ;;
9.503 +
9.504 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9.505 + ac_prev=prefix ;;
9.506 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9.507 + prefix=$ac_optarg ;;
9.508 +
9.509 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
9.510 + | --program-pre | --program-pr | --program-p)
9.511 + ac_prev=program_prefix ;;
9.512 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
9.513 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9.514 + program_prefix=$ac_optarg ;;
9.515 +
9.516 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
9.517 + | --program-suf | --program-su | --program-s)
9.518 + ac_prev=program_suffix ;;
9.519 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
9.520 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9.521 + program_suffix=$ac_optarg ;;
9.522 +
9.523 + -program-transform-name | --program-transform-name \
9.524 + | --program-transform-nam | --program-transform-na \
9.525 + | --program-transform-n | --program-transform- \
9.526 + | --program-transform | --program-transfor \
9.527 + | --program-transfo | --program-transf \
9.528 + | --program-trans | --program-tran \
9.529 + | --progr-tra | --program-tr | --program-t)
9.530 + ac_prev=program_transform_name ;;
9.531 + -program-transform-name=* | --program-transform-name=* \
9.532 + | --program-transform-nam=* | --program-transform-na=* \
9.533 + | --program-transform-n=* | --program-transform-=* \
9.534 + | --program-transform=* | --program-transfor=* \
9.535 + | --program-transfo=* | --program-transf=* \
9.536 + | --program-trans=* | --program-tran=* \
9.537 + | --progr-tra=* | --program-tr=* | --program-t=*)
9.538 + program_transform_name=$ac_optarg ;;
9.539 +
9.540 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9.541 + | -silent | --silent | --silen | --sile | --sil)
9.542 + silent=yes ;;
9.543 +
9.544 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9.545 + ac_prev=sbindir ;;
9.546 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9.547 + | --sbi=* | --sb=*)
9.548 + sbindir=$ac_optarg ;;
9.549 +
9.550 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
9.551 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9.552 + | --sharedst | --shareds | --shared | --share | --shar \
9.553 + | --sha | --sh)
9.554 + ac_prev=sharedstatedir ;;
9.555 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9.556 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9.557 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9.558 + | --sha=* | --sh=*)
9.559 + sharedstatedir=$ac_optarg ;;
9.560 +
9.561 + -site | --site | --sit)
9.562 + ac_prev=site ;;
9.563 + -site=* | --site=* | --sit=*)
9.564 + site=$ac_optarg ;;
9.565 +
9.566 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9.567 + ac_prev=srcdir ;;
9.568 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9.569 + srcdir=$ac_optarg ;;
9.570 +
9.571 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
9.572 + | --syscon | --sysco | --sysc | --sys | --sy)
9.573 + ac_prev=sysconfdir ;;
9.574 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
9.575 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
9.576 + sysconfdir=$ac_optarg ;;
9.577 +
9.578 + -target | --target | --targe | --targ | --tar | --ta | --t)
9.579 + ac_prev=target_alias ;;
9.580 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
9.581 + target_alias=$ac_optarg ;;
9.582 +
9.583 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
9.584 + verbose=yes ;;
9.585 +
9.586 + -version | --version | --versio | --versi | --vers | -V)
9.587 + ac_init_version=: ;;
9.588 +
9.589 + -with-* | --with-*)
9.590 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9.591 + # Reject names that are not valid shell variable names.
9.592 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9.593 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9.594 + { (exit 1); exit 1; }; }
9.595 + ac_package=`echo $ac_package| sed 's/-/_/g'`
9.596 + case $ac_option in
9.597 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9.598 + *) ac_optarg=yes ;;
9.599 + esac
9.600 + eval "with_$ac_package='$ac_optarg'" ;;
9.601 +
9.602 + -without-* | --without-*)
9.603 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
9.604 + # Reject names that are not valid shell variable names.
9.605 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9.606 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9.607 + { (exit 1); exit 1; }; }
9.608 + ac_package=`echo $ac_package | sed 's/-/_/g'`
9.609 + eval "with_$ac_package=no" ;;
9.610 +
9.611 + --x)
9.612 + # Obsolete; use --with-x.
9.613 + with_x=yes ;;
9.614 +
9.615 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
9.616 + | --x-incl | --x-inc | --x-in | --x-i)
9.617 + ac_prev=x_includes ;;
9.618 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
9.619 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
9.620 + x_includes=$ac_optarg ;;
9.621 +
9.622 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
9.623 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
9.624 + ac_prev=x_libraries ;;
9.625 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
9.626 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
9.627 + x_libraries=$ac_optarg ;;
9.628 +
9.629 + -*) { echo "$as_me: error: unrecognized option: $ac_option
9.630 +Try \`$0 --help' for more information." >&2
9.631 + { (exit 1); exit 1; }; }
9.632 + ;;
9.633 +
9.634 + *=*)
9.635 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
9.636 + # Reject names that are not valid shell variable names.
9.637 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
9.638 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
9.639 + { (exit 1); exit 1; }; }
9.640 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
9.641 + eval "$ac_envvar='$ac_optarg'"
9.642 + export $ac_envvar ;;
9.643 +
9.644 + *)
9.645 + # FIXME: should be removed in autoconf 3.0.
9.646 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
9.647 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
9.648 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
9.649 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
9.650 + ;;
9.651 +
9.652 + esac
9.653 +done
9.654 +
9.655 +if test -n "$ac_prev"; then
9.656 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
9.657 + { echo "$as_me: error: missing argument to $ac_option" >&2
9.658 + { (exit 1); exit 1; }; }
9.659 +fi
9.660 +
9.661 +# Be sure to have absolute paths.
9.662 +for ac_var in exec_prefix prefix
9.663 +do
9.664 + eval ac_val=$`echo $ac_var`
9.665 + case $ac_val in
9.666 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
9.667 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
9.668 + { (exit 1); exit 1; }; };;
9.669 + esac
9.670 +done
9.671 +
9.672 +# Be sure to have absolute paths.
9.673 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
9.674 + localstatedir libdir includedir oldincludedir infodir mandir
9.675 +do
9.676 + eval ac_val=$`echo $ac_var`
9.677 + case $ac_val in
9.678 + [\\/$]* | ?:[\\/]* ) ;;
9.679 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
9.680 + { (exit 1); exit 1; }; };;
9.681 + esac
9.682 +done
9.683 +
9.684 +# There might be people who depend on the old broken behavior: `$host'
9.685 +# used to hold the argument of --host etc.
9.686 +# FIXME: To remove some day.
9.687 +build=$build_alias
9.688 +host=$host_alias
9.689 +target=$target_alias
9.690 +
9.691 +# FIXME: To remove some day.
9.692 +if test "x$host_alias" != x; then
9.693 + if test "x$build_alias" = x; then
9.694 + cross_compiling=maybe
9.695 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
9.696 + If a cross compiler is detected then cross compile mode will be used." >&2
9.697 + elif test "x$build_alias" != "x$host_alias"; then
9.698 + cross_compiling=yes
9.699 + fi
9.700 +fi
9.701 +
9.702 +ac_tool_prefix=
9.703 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
9.704 +
9.705 +test "$silent" = yes && exec 6>/dev/null
9.706 +
9.707 +
9.708 +# Find the source files, if location was not specified.
9.709 +if test -z "$srcdir"; then
9.710 + ac_srcdir_defaulted=yes
9.711 + # Try the directory containing this script, then its parent.
9.712 + ac_confdir=`(dirname "$0") 2>/dev/null ||
9.713 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9.714 + X"$0" : 'X\(//\)[^/]' \| \
9.715 + X"$0" : 'X\(//\)$' \| \
9.716 + X"$0" : 'X\(/\)' \| \
9.717 + . : '\(.\)' 2>/dev/null ||
9.718 +echo X"$0" |
9.719 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9.720 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9.721 + /^X\(\/\/\)$/{ s//\1/; q; }
9.722 + /^X\(\/\).*/{ s//\1/; q; }
9.723 + s/.*/./; q'`
9.724 + srcdir=$ac_confdir
9.725 + if test ! -r $srcdir/$ac_unique_file; then
9.726 + srcdir=..
9.727 + fi
9.728 +else
9.729 + ac_srcdir_defaulted=no
9.730 +fi
9.731 +if test ! -r $srcdir/$ac_unique_file; then
9.732 + if test "$ac_srcdir_defaulted" = yes; then
9.733 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
9.734 + { (exit 1); exit 1; }; }
9.735 + else
9.736 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
9.737 + { (exit 1); exit 1; }; }
9.738 + fi
9.739 +fi
9.740 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
9.741 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
9.742 + { (exit 1); exit 1; }; }
9.743 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
9.744 +ac_env_build_alias_set=${build_alias+set}
9.745 +ac_env_build_alias_value=$build_alias
9.746 +ac_cv_env_build_alias_set=${build_alias+set}
9.747 +ac_cv_env_build_alias_value=$build_alias
9.748 +ac_env_host_alias_set=${host_alias+set}
9.749 +ac_env_host_alias_value=$host_alias
9.750 +ac_cv_env_host_alias_set=${host_alias+set}
9.751 +ac_cv_env_host_alias_value=$host_alias
9.752 +ac_env_target_alias_set=${target_alias+set}
9.753 +ac_env_target_alias_value=$target_alias
9.754 +ac_cv_env_target_alias_set=${target_alias+set}
9.755 +ac_cv_env_target_alias_value=$target_alias
9.756 +ac_env_CC_set=${CC+set}
9.757 +ac_env_CC_value=$CC
9.758 +ac_cv_env_CC_set=${CC+set}
9.759 +ac_cv_env_CC_value=$CC
9.760 +ac_env_CFLAGS_set=${CFLAGS+set}
9.761 +ac_env_CFLAGS_value=$CFLAGS
9.762 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
9.763 +ac_cv_env_CFLAGS_value=$CFLAGS
9.764 +ac_env_LDFLAGS_set=${LDFLAGS+set}
9.765 +ac_env_LDFLAGS_value=$LDFLAGS
9.766 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
9.767 +ac_cv_env_LDFLAGS_value=$LDFLAGS
9.768 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
9.769 +ac_env_CPPFLAGS_value=$CPPFLAGS
9.770 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
9.771 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
9.772 +ac_env_CPP_set=${CPP+set}
9.773 +ac_env_CPP_value=$CPP
9.774 +ac_cv_env_CPP_set=${CPP+set}
9.775 +ac_cv_env_CPP_value=$CPP
9.776 +
9.777 +#
9.778 +# Report the --help message.
9.779 +#
9.780 +if test "$ac_init_help" = "long"; then
9.781 + # Omit some internal or obsolete options to make the list less imposing.
9.782 + # This message is too long to be a string in the A/UX 3.1 sh.
9.783 + cat <<_ACEOF
9.784 +\`configure' configures this package to adapt to many kinds of systems.
9.785 +
9.786 +Usage: $0 [OPTION]... [VAR=VALUE]...
9.787 +
9.788 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
9.789 +VAR=VALUE. See below for descriptions of some of the useful variables.
9.790 +
9.791 +Defaults for the options are specified in brackets.
9.792 +
9.793 +Configuration:
9.794 + -h, --help display this help and exit
9.795 + --help=short display options specific to this package
9.796 + --help=recursive display the short help of all the included packages
9.797 + -V, --version display version information and exit
9.798 + -q, --quiet, --silent do not print \`checking...' messages
9.799 + --cache-file=FILE cache test results in FILE [disabled]
9.800 + -C, --config-cache alias for \`--cache-file=config.cache'
9.801 + -n, --no-create do not create output files
9.802 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
9.803 +
9.804 +_ACEOF
9.805 +
9.806 + cat <<_ACEOF
9.807 +Installation directories:
9.808 + --prefix=PREFIX install architecture-independent files in PREFIX
9.809 + [$ac_default_prefix]
9.810 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
9.811 + [PREFIX]
9.812 +
9.813 +By default, \`make install' will install all the files in
9.814 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
9.815 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
9.816 +for instance \`--prefix=\$HOME'.
9.817 +
9.818 +For better control, use the options below.
9.819 +
9.820 +Fine tuning of the installation directories:
9.821 + --bindir=DIR user executables [EPREFIX/bin]
9.822 + --sbindir=DIR system admin executables [EPREFIX/sbin]
9.823 + --libexecdir=DIR program executables [EPREFIX/libexec]
9.824 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
9.825 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
9.826 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
9.827 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
9.828 + --libdir=DIR object code libraries [EPREFIX/lib]
9.829 + --includedir=DIR C header files [PREFIX/include]
9.830 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
9.831 + --infodir=DIR info documentation [PREFIX/info]
9.832 + --mandir=DIR man documentation [PREFIX/man]
9.833 +_ACEOF
9.834 +
9.835 + cat <<\_ACEOF
9.836 +
9.837 +Program names:
9.838 + --program-prefix=PREFIX prepend PREFIX to installed program names
9.839 + --program-suffix=SUFFIX append SUFFIX to installed program names
9.840 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
9.841 +_ACEOF
9.842 +fi
9.843 +
9.844 +if test -n "$ac_init_help"; then
9.845 +
9.846 + cat <<\_ACEOF
9.847 +
9.848 +Optional Features:
9.849 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
9.850 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
9.851 + --enable-maintainer-mode enable make rules and dependencies not useful
9.852 + (and sometimes confusing) to the casual installer
9.853 + --disable-dependency-tracking Speeds up one-time builds
9.854 + --enable-dependency-tracking Do not reject slow dependency extractors
9.855 +
9.856 +Some influential environment variables:
9.857 + CC C compiler command
9.858 + CFLAGS C compiler flags
9.859 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
9.860 + nonstandard directory <lib dir>
9.861 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
9.862 + headers in a nonstandard directory <include dir>
9.863 + CPP C preprocessor
9.864 +
9.865 +Use these variables to override the choices made by `configure' or to help
9.866 +it to find libraries and programs with nonstandard names/locations.
9.867 +
9.868 +_ACEOF
9.869 +fi
9.870 +
9.871 +if test "$ac_init_help" = "recursive"; then
9.872 + # If there are subdirs, report their specific --help.
9.873 + ac_popdir=`pwd`
9.874 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
9.875 + test -d $ac_dir || continue
9.876 + ac_builddir=.
9.877 +
9.878 +if test "$ac_dir" != .; then
9.879 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9.880 + # A "../" for each directory in $ac_dir_suffix.
9.881 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9.882 +else
9.883 + ac_dir_suffix= ac_top_builddir=
9.884 +fi
9.885 +
9.886 +case $srcdir in
9.887 + .) # No --srcdir option. We are building in place.
9.888 + ac_srcdir=.
9.889 + if test -z "$ac_top_builddir"; then
9.890 + ac_top_srcdir=.
9.891 + else
9.892 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9.893 + fi ;;
9.894 + [\\/]* | ?:[\\/]* ) # Absolute path.
9.895 + ac_srcdir=$srcdir$ac_dir_suffix;
9.896 + ac_top_srcdir=$srcdir ;;
9.897 + *) # Relative path.
9.898 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9.899 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
9.900 +esac
9.901 +
9.902 +# Do not use `cd foo && pwd` to compute absolute paths, because
9.903 +# the directories may not exist.
9.904 +case `pwd` in
9.905 +.) ac_abs_builddir="$ac_dir";;
9.906 +*)
9.907 + case "$ac_dir" in
9.908 + .) ac_abs_builddir=`pwd`;;
9.909 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9.910 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
9.911 + esac;;
9.912 +esac
9.913 +case $ac_abs_builddir in
9.914 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
9.915 +*)
9.916 + case ${ac_top_builddir}. in
9.917 + .) ac_abs_top_builddir=$ac_abs_builddir;;
9.918 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9.919 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9.920 + esac;;
9.921 +esac
9.922 +case $ac_abs_builddir in
9.923 +.) ac_abs_srcdir=$ac_srcdir;;
9.924 +*)
9.925 + case $ac_srcdir in
9.926 + .) ac_abs_srcdir=$ac_abs_builddir;;
9.927 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9.928 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9.929 + esac;;
9.930 +esac
9.931 +case $ac_abs_builddir in
9.932 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
9.933 +*)
9.934 + case $ac_top_srcdir in
9.935 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
9.936 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9.937 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9.938 + esac;;
9.939 +esac
9.940 +
9.941 + cd $ac_dir
9.942 + # Check for guested configure; otherwise get Cygnus style configure.
9.943 + if test -f $ac_srcdir/configure.gnu; then
9.944 + echo
9.945 + $SHELL $ac_srcdir/configure.gnu --help=recursive
9.946 + elif test -f $ac_srcdir/configure; then
9.947 + echo
9.948 + $SHELL $ac_srcdir/configure --help=recursive
9.949 + elif test -f $ac_srcdir/configure.ac ||
9.950 + test -f $ac_srcdir/configure.in; then
9.951 + echo
9.952 + $ac_configure --help
9.953 + else
9.954 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
9.955 + fi
9.956 + cd "$ac_popdir"
9.957 + done
9.958 +fi
9.959 +
9.960 +test -n "$ac_init_help" && exit 0
9.961 +if $ac_init_version; then
9.962 + cat <<\_ACEOF
9.963 +
9.964 +Copyright (C) 2003 Free Software Foundation, Inc.
9.965 +This configure script is free software; the Free Software Foundation
9.966 +gives unlimited permission to copy, distribute and modify it.
9.967 +_ACEOF
9.968 + exit 0
9.969 +fi
9.970 +exec 5>config.log
9.971 +cat >&5 <<_ACEOF
9.972 +This file contains any messages produced by compilers while
9.973 +running configure, to aid debugging if configure makes a mistake.
9.974 +
9.975 +It was created by $as_me, which was
9.976 +generated by GNU Autoconf 2.59. Invocation command line was
9.977 +
9.978 + $ $0 $@
9.979 +
9.980 +_ACEOF
9.981 +{
9.982 +cat <<_ASUNAME
9.983 +## --------- ##
9.984 +## Platform. ##
9.985 +## --------- ##
9.986 +
9.987 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9.988 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
9.989 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
9.990 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
9.991 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
9.992 +
9.993 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9.994 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
9.995 +
9.996 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9.997 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9.998 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9.999 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
9.1000 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9.1001 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9.1002 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9.1003 +
9.1004 +_ASUNAME
9.1005 +
9.1006 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1007 +for as_dir in $PATH
9.1008 +do
9.1009 + IFS=$as_save_IFS
9.1010 + test -z "$as_dir" && as_dir=.
9.1011 + echo "PATH: $as_dir"
9.1012 +done
9.1013 +
9.1014 +} >&5
9.1015 +
9.1016 +cat >&5 <<_ACEOF
9.1017 +
9.1018 +
9.1019 +## ----------- ##
9.1020 +## Core tests. ##
9.1021 +## ----------- ##
9.1022 +
9.1023 +_ACEOF
9.1024 +
9.1025 +
9.1026 +# Keep a trace of the command line.
9.1027 +# Strip out --no-create and --no-recursion so they do not pile up.
9.1028 +# Strip out --silent because we don't want to record it for future runs.
9.1029 +# Also quote any args containing shell meta-characters.
9.1030 +# Make two passes to allow for proper duplicate-argument suppression.
9.1031 +ac_configure_args=
9.1032 +ac_configure_args0=
9.1033 +ac_configure_args1=
9.1034 +ac_sep=
9.1035 +ac_must_keep_next=false
9.1036 +for ac_pass in 1 2
9.1037 +do
9.1038 + for ac_arg
9.1039 + do
9.1040 + case $ac_arg in
9.1041 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
9.1042 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9.1043 + | -silent | --silent | --silen | --sile | --sil)
9.1044 + continue ;;
9.1045 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9.1046 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9.1047 + esac
9.1048 + case $ac_pass in
9.1049 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
9.1050 + 2)
9.1051 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
9.1052 + if test $ac_must_keep_next = true; then
9.1053 + ac_must_keep_next=false # Got value, back to normal.
9.1054 + else
9.1055 + case $ac_arg in
9.1056 + *=* | --config-cache | -C | -disable-* | --disable-* \
9.1057 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
9.1058 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
9.1059 + | -with-* | --with-* | -without-* | --without-* | --x)
9.1060 + case "$ac_configure_args0 " in
9.1061 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
9.1062 + esac
9.1063 + ;;
9.1064 + -* ) ac_must_keep_next=true ;;
9.1065 + esac
9.1066 + fi
9.1067 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
9.1068 + # Get rid of the leading space.
9.1069 + ac_sep=" "
9.1070 + ;;
9.1071 + esac
9.1072 + done
9.1073 +done
9.1074 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
9.1075 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
9.1076 +
9.1077 +# When interrupted or exit'd, cleanup temporary files, and complete
9.1078 +# config.log. We remove comments because anyway the quotes in there
9.1079 +# would cause problems or look ugly.
9.1080 +# WARNING: Be sure not to use single quotes in there, as some shells,
9.1081 +# such as our DU 5.0 friend, will then `close' the trap.
9.1082 +trap 'exit_status=$?
9.1083 + # Save into config.log some information that might help in debugging.
9.1084 + {
9.1085 + echo
9.1086 +
9.1087 + cat <<\_ASBOX
9.1088 +## ---------------- ##
9.1089 +## Cache variables. ##
9.1090 +## ---------------- ##
9.1091 +_ASBOX
9.1092 + echo
9.1093 + # The following way of writing the cache mishandles newlines in values,
9.1094 +{
9.1095 + (set) 2>&1 |
9.1096 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
9.1097 + *ac_space=\ *)
9.1098 + sed -n \
9.1099 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9.1100 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9.1101 + ;;
9.1102 + *)
9.1103 + sed -n \
9.1104 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9.1105 + ;;
9.1106 + esac;
9.1107 +}
9.1108 + echo
9.1109 +
9.1110 + cat <<\_ASBOX
9.1111 +## ----------------- ##
9.1112 +## Output variables. ##
9.1113 +## ----------------- ##
9.1114 +_ASBOX
9.1115 + echo
9.1116 + for ac_var in $ac_subst_vars
9.1117 + do
9.1118 + eval ac_val=$`echo $ac_var`
9.1119 + echo "$ac_var='"'"'$ac_val'"'"'"
9.1120 + done | sort
9.1121 + echo
9.1122 +
9.1123 + if test -n "$ac_subst_files"; then
9.1124 + cat <<\_ASBOX
9.1125 +## ------------- ##
9.1126 +## Output files. ##
9.1127 +## ------------- ##
9.1128 +_ASBOX
9.1129 + echo
9.1130 + for ac_var in $ac_subst_files
9.1131 + do
9.1132 + eval ac_val=$`echo $ac_var`
9.1133 + echo "$ac_var='"'"'$ac_val'"'"'"
9.1134 + done | sort
9.1135 + echo
9.1136 + fi
9.1137 +
9.1138 + if test -s confdefs.h; then
9.1139 + cat <<\_ASBOX
9.1140 +## ----------- ##
9.1141 +## confdefs.h. ##
9.1142 +## ----------- ##
9.1143 +_ASBOX
9.1144 + echo
9.1145 + sed "/^$/d" confdefs.h | sort
9.1146 + echo
9.1147 + fi
9.1148 + test "$ac_signal" != 0 &&
9.1149 + echo "$as_me: caught signal $ac_signal"
9.1150 + echo "$as_me: exit $exit_status"
9.1151 + } >&5
9.1152 + rm -f core *.core &&
9.1153 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
9.1154 + exit $exit_status
9.1155 + ' 0
9.1156 +for ac_signal in 1 2 13 15; do
9.1157 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
9.1158 +done
9.1159 +ac_signal=0
9.1160 +
9.1161 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
9.1162 +rm -rf conftest* confdefs.h
9.1163 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
9.1164 +echo >confdefs.h
9.1165 +
9.1166 +# Predefined preprocessor variables.
9.1167 +
9.1168 +cat >>confdefs.h <<_ACEOF
9.1169 +#define PACKAGE_NAME "$PACKAGE_NAME"
9.1170 +_ACEOF
9.1171 +
9.1172 +
9.1173 +cat >>confdefs.h <<_ACEOF
9.1174 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
9.1175 +_ACEOF
9.1176 +
9.1177 +
9.1178 +cat >>confdefs.h <<_ACEOF
9.1179 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
9.1180 +_ACEOF
9.1181 +
9.1182 +
9.1183 +cat >>confdefs.h <<_ACEOF
9.1184 +#define PACKAGE_STRING "$PACKAGE_STRING"
9.1185 +_ACEOF
9.1186 +
9.1187 +
9.1188 +cat >>confdefs.h <<_ACEOF
9.1189 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
9.1190 +_ACEOF
9.1191 +
9.1192 +
9.1193 +# Let the site file select an alternate cache file if it wants to.
9.1194 +# Prefer explicitly selected file to automatically selected ones.
9.1195 +if test -z "$CONFIG_SITE"; then
9.1196 + if test "x$prefix" != xNONE; then
9.1197 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
9.1198 + else
9.1199 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
9.1200 + fi
9.1201 +fi
9.1202 +for ac_site_file in $CONFIG_SITE; do
9.1203 + if test -r "$ac_site_file"; then
9.1204 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
9.1205 +echo "$as_me: loading site script $ac_site_file" >&6;}
9.1206 + sed 's/^/| /' "$ac_site_file" >&5
9.1207 + . "$ac_site_file"
9.1208 + fi
9.1209 +done
9.1210 +
9.1211 +if test -r "$cache_file"; then
9.1212 + # Some versions of bash will fail to source /dev/null (special
9.1213 + # files actually), so we avoid doing that.
9.1214 + if test -f "$cache_file"; then
9.1215 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
9.1216 +echo "$as_me: loading cache $cache_file" >&6;}
9.1217 + case $cache_file in
9.1218 + [\\/]* | ?:[\\/]* ) . $cache_file;;
9.1219 + *) . ./$cache_file;;
9.1220 + esac
9.1221 + fi
9.1222 +else
9.1223 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
9.1224 +echo "$as_me: creating cache $cache_file" >&6;}
9.1225 + >$cache_file
9.1226 +fi
9.1227 +
9.1228 +# Check that the precious variables saved in the cache have kept the same
9.1229 +# value.
9.1230 +ac_cache_corrupted=false
9.1231 +for ac_var in `(set) 2>&1 |
9.1232 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
9.1233 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
9.1234 + eval ac_new_set=\$ac_env_${ac_var}_set
9.1235 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
9.1236 + eval ac_new_val="\$ac_env_${ac_var}_value"
9.1237 + case $ac_old_set,$ac_new_set in
9.1238 + set,)
9.1239 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
9.1240 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
9.1241 + ac_cache_corrupted=: ;;
9.1242 + ,set)
9.1243 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
9.1244 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9.1245 + ac_cache_corrupted=: ;;
9.1246 + ,);;
9.1247 + *)
9.1248 + if test "x$ac_old_val" != "x$ac_new_val"; then
9.1249 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
9.1250 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9.1251 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
9.1252 +echo "$as_me: former value: $ac_old_val" >&2;}
9.1253 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
9.1254 +echo "$as_me: current value: $ac_new_val" >&2;}
9.1255 + ac_cache_corrupted=:
9.1256 + fi;;
9.1257 + esac
9.1258 + # Pass precious variables to config.status.
9.1259 + if test "$ac_new_set" = set; then
9.1260 + case $ac_new_val in
9.1261 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9.1262 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
9.1263 + *) ac_arg=$ac_var=$ac_new_val ;;
9.1264 + esac
9.1265 + case " $ac_configure_args " in
9.1266 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
9.1267 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
9.1268 + esac
9.1269 + fi
9.1270 +done
9.1271 +if $ac_cache_corrupted; then
9.1272 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
9.1273 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
9.1274 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
9.1275 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9.1276 + { (exit 1); exit 1; }; }
9.1277 +fi
9.1278 +
9.1279 +ac_ext=c
9.1280 +ac_cpp='$CPP $CPPFLAGS'
9.1281 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.1282 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.1283 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.1284 +
9.1285 +
9.1286 +
9.1287 +
9.1288 +
9.1289 +
9.1290 +
9.1291 +
9.1292 +
9.1293 +
9.1294 +
9.1295 +
9.1296 +
9.1297 +
9.1298 +
9.1299 +
9.1300 +
9.1301 +
9.1302 +
9.1303 +am__api_version="1.7"
9.1304 +ac_aux_dir=
9.1305 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
9.1306 + if test -f $ac_dir/install-sh; then
9.1307 + ac_aux_dir=$ac_dir
9.1308 + ac_install_sh="$ac_aux_dir/install-sh -c"
9.1309 + break
9.1310 + elif test -f $ac_dir/install.sh; then
9.1311 + ac_aux_dir=$ac_dir
9.1312 + ac_install_sh="$ac_aux_dir/install.sh -c"
9.1313 + break
9.1314 + elif test -f $ac_dir/shtool; then
9.1315 + ac_aux_dir=$ac_dir
9.1316 + ac_install_sh="$ac_aux_dir/shtool install -c"
9.1317 + break
9.1318 + fi
9.1319 +done
9.1320 +if test -z "$ac_aux_dir"; then
9.1321 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
9.1322 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
9.1323 + { (exit 1); exit 1; }; }
9.1324 +fi
9.1325 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
9.1326 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
9.1327 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
9.1328 +
9.1329 +# Find a good install program. We prefer a C program (faster),
9.1330 +# so one script is as good as another. But avoid the broken or
9.1331 +# incompatible versions:
9.1332 +# SysV /etc/install, /usr/sbin/install
9.1333 +# SunOS /usr/etc/install
9.1334 +# IRIX /sbin/install
9.1335 +# AIX /bin/install
9.1336 +# AmigaOS /C/install, which installs bootblocks on floppy discs
9.1337 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9.1338 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9.1339 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9.1340 +# OS/2's system install, which has a completely different semantic
9.1341 +# ./install, which can be erroneously created by make from ./install.sh.
9.1342 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9.1343 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9.1344 +if test -z "$INSTALL"; then
9.1345 +if test "${ac_cv_path_install+set}" = set; then
9.1346 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1347 +else
9.1348 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1349 +for as_dir in $PATH
9.1350 +do
9.1351 + IFS=$as_save_IFS
9.1352 + test -z "$as_dir" && as_dir=.
9.1353 + # Account for people who put trailing slashes in PATH elements.
9.1354 +case $as_dir/ in
9.1355 + ./ | .// | /cC/* | \
9.1356 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9.1357 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9.1358 + /usr/ucb/* ) ;;
9.1359 + *)
9.1360 + # OSF1 and SCO ODT 3.0 have their own names for install.
9.1361 + # Don't use installbsd from OSF since it installs stuff as root
9.1362 + # by default.
9.1363 + for ac_prog in ginstall scoinst install; do
9.1364 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1365 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9.1366 + if test $ac_prog = install &&
9.1367 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9.1368 + # AIX install. It has an incompatible calling convention.
9.1369 + :
9.1370 + elif test $ac_prog = install &&
9.1371 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9.1372 + # program-specific install script used by HP pwplus--don't use.
9.1373 + :
9.1374 + else
9.1375 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9.1376 + break 3
9.1377 + fi
9.1378 + fi
9.1379 + done
9.1380 + done
9.1381 + ;;
9.1382 +esac
9.1383 +done
9.1384 +
9.1385 +
9.1386 +fi
9.1387 + if test "${ac_cv_path_install+set}" = set; then
9.1388 + INSTALL=$ac_cv_path_install
9.1389 + else
9.1390 + # As a last resort, use the slow shell script. We don't cache a
9.1391 + # path for INSTALL within a source directory, because that will
9.1392 + # break other packages using the cache if that directory is
9.1393 + # removed, or if the path is relative.
9.1394 + INSTALL=$ac_install_sh
9.1395 + fi
9.1396 +fi
9.1397 +echo "$as_me:$LINENO: result: $INSTALL" >&5
9.1398 +echo "${ECHO_T}$INSTALL" >&6
9.1399 +
9.1400 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9.1401 +# It thinks the first close brace ends the variable substitution.
9.1402 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9.1403 +
9.1404 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9.1405 +
9.1406 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9.1407 +
9.1408 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
9.1409 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
9.1410 +# Just in case
9.1411 +sleep 1
9.1412 +echo timestamp > conftest.file
9.1413 +# Do `set' in a subshell so we don't clobber the current shell's
9.1414 +# arguments. Must try -L first in case configure is actually a
9.1415 +# symlink; some systems play weird games with the mod time of symlinks
9.1416 +# (eg FreeBSD returns the mod time of the symlink's containing
9.1417 +# directory).
9.1418 +if (
9.1419 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9.1420 + if test "$*" = "X"; then
9.1421 + # -L didn't work.
9.1422 + set X `ls -t $srcdir/configure conftest.file`
9.1423 + fi
9.1424 + rm -f conftest.file
9.1425 + if test "$*" != "X $srcdir/configure conftest.file" \
9.1426 + && test "$*" != "X conftest.file $srcdir/configure"; then
9.1427 +
9.1428 + # If neither matched, then we have a broken ls. This can happen
9.1429 + # if, for instance, CONFIG_SHELL is bash and it inherits a
9.1430 + # broken ls alias from the environment. This has actually
9.1431 + # happened. Such a system could not be considered "sane".
9.1432 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
9.1433 +alias in your environment" >&5
9.1434 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
9.1435 +alias in your environment" >&2;}
9.1436 + { (exit 1); exit 1; }; }
9.1437 + fi
9.1438 +
9.1439 + test "$2" = conftest.file
9.1440 + )
9.1441 +then
9.1442 + # Ok.
9.1443 + :
9.1444 +else
9.1445 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
9.1446 +Check your system clock" >&5
9.1447 +echo "$as_me: error: newly created file is older than distributed files!
9.1448 +Check your system clock" >&2;}
9.1449 + { (exit 1); exit 1; }; }
9.1450 +fi
9.1451 +echo "$as_me:$LINENO: result: yes" >&5
9.1452 +echo "${ECHO_T}yes" >&6
9.1453 +test "$program_prefix" != NONE &&
9.1454 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
9.1455 +# Use a double $ so make ignores it.
9.1456 +test "$program_suffix" != NONE &&
9.1457 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
9.1458 +# Double any \ or $. echo might interpret backslashes.
9.1459 +# By default was `s,x,x', remove it if useless.
9.1460 +cat <<\_ACEOF >conftest.sed
9.1461 +s/[\\$]/&&/g;s/;s,x,x,$//
9.1462 +_ACEOF
9.1463 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
9.1464 +rm conftest.sed
9.1465 +
9.1466 +
9.1467 +# expand $ac_aux_dir to an absolute path
9.1468 +am_aux_dir=`cd $ac_aux_dir && pwd`
9.1469 +
9.1470 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
9.1471 +# Use eval to expand $SHELL
9.1472 +if eval "$MISSING --run true"; then
9.1473 + am_missing_run="$MISSING --run "
9.1474 +else
9.1475 + am_missing_run=
9.1476 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
9.1477 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
9.1478 +fi
9.1479 +
9.1480 +for ac_prog in gawk mawk nawk awk
9.1481 +do
9.1482 + # Extract the first word of "$ac_prog", so it can be a program name with args.
9.1483 +set dummy $ac_prog; ac_word=$2
9.1484 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1485 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1486 +if test "${ac_cv_prog_AWK+set}" = set; then
9.1487 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1488 +else
9.1489 + if test -n "$AWK"; then
9.1490 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
9.1491 +else
9.1492 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1493 +for as_dir in $PATH
9.1494 +do
9.1495 + IFS=$as_save_IFS
9.1496 + test -z "$as_dir" && as_dir=.
9.1497 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1498 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1499 + ac_cv_prog_AWK="$ac_prog"
9.1500 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1501 + break 2
9.1502 + fi
9.1503 +done
9.1504 +done
9.1505 +
9.1506 +fi
9.1507 +fi
9.1508 +AWK=$ac_cv_prog_AWK
9.1509 +if test -n "$AWK"; then
9.1510 + echo "$as_me:$LINENO: result: $AWK" >&5
9.1511 +echo "${ECHO_T}$AWK" >&6
9.1512 +else
9.1513 + echo "$as_me:$LINENO: result: no" >&5
9.1514 +echo "${ECHO_T}no" >&6
9.1515 +fi
9.1516 +
9.1517 + test -n "$AWK" && break
9.1518 +done
9.1519 +
9.1520 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9.1521 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
9.1522 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
9.1523 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9.1524 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1525 +else
9.1526 + cat >conftest.make <<\_ACEOF
9.1527 +all:
9.1528 + @echo 'ac_maketemp="$(MAKE)"'
9.1529 +_ACEOF
9.1530 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9.1531 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
9.1532 +if test -n "$ac_maketemp"; then
9.1533 + eval ac_cv_prog_make_${ac_make}_set=yes
9.1534 +else
9.1535 + eval ac_cv_prog_make_${ac_make}_set=no
9.1536 +fi
9.1537 +rm -f conftest.make
9.1538 +fi
9.1539 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
9.1540 + echo "$as_me:$LINENO: result: yes" >&5
9.1541 +echo "${ECHO_T}yes" >&6
9.1542 + SET_MAKE=
9.1543 +else
9.1544 + echo "$as_me:$LINENO: result: no" >&5
9.1545 +echo "${ECHO_T}no" >&6
9.1546 + SET_MAKE="MAKE=${MAKE-make}"
9.1547 +fi
9.1548 +
9.1549 +rm -rf .tst 2>/dev/null
9.1550 +mkdir .tst 2>/dev/null
9.1551 +if test -d .tst; then
9.1552 + am__leading_dot=.
9.1553 +else
9.1554 + am__leading_dot=_
9.1555 +fi
9.1556 +rmdir .tst 2>/dev/null
9.1557 +
9.1558 + # test to see if srcdir already configured
9.1559 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
9.1560 + test -f $srcdir/config.status; then
9.1561 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
9.1562 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
9.1563 + { (exit 1); exit 1; }; }
9.1564 +fi
9.1565 +
9.1566 +# test whether we have cygpath
9.1567 +if test -z "$CYGPATH_W"; then
9.1568 + if (cygpath --version) >/dev/null 2>/dev/null; then
9.1569 + CYGPATH_W='cygpath -w'
9.1570 + else
9.1571 + CYGPATH_W=echo
9.1572 + fi
9.1573 +fi
9.1574 +
9.1575 +
9.1576 +# Define the identity of the package.
9.1577 + PACKAGE=dream
9.1578 + VERSION=0.1
9.1579 +
9.1580 +
9.1581 +cat >>confdefs.h <<_ACEOF
9.1582 +#define PACKAGE "$PACKAGE"
9.1583 +_ACEOF
9.1584 +
9.1585 +
9.1586 +cat >>confdefs.h <<_ACEOF
9.1587 +#define VERSION "$VERSION"
9.1588 +_ACEOF
9.1589 +
9.1590 +# Some tools Automake needs.
9.1591 +
9.1592 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9.1593 +
9.1594 +
9.1595 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9.1596 +
9.1597 +
9.1598 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9.1599 +
9.1600 +
9.1601 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9.1602 +
9.1603 +
9.1604 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9.1605 +
9.1606 +
9.1607 +AMTAR=${AMTAR-"${am_missing_run}tar"}
9.1608 +
9.1609 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
9.1610 +
9.1611 +# Installed binaries are usually stripped using `strip' when the user
9.1612 +# run `make install-strip'. However `strip' might not be the right
9.1613 +# tool to use in cross-compilation environments, therefore Automake
9.1614 +# will honor the `STRIP' environment variable to overrule this program.
9.1615 +if test "$cross_compiling" != no; then
9.1616 + if test -n "$ac_tool_prefix"; then
9.1617 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9.1618 +set dummy ${ac_tool_prefix}strip; ac_word=$2
9.1619 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1620 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1621 +if test "${ac_cv_prog_STRIP+set}" = set; then
9.1622 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1623 +else
9.1624 + if test -n "$STRIP"; then
9.1625 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9.1626 +else
9.1627 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1628 +for as_dir in $PATH
9.1629 +do
9.1630 + IFS=$as_save_IFS
9.1631 + test -z "$as_dir" && as_dir=.
9.1632 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1633 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1634 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9.1635 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1636 + break 2
9.1637 + fi
9.1638 +done
9.1639 +done
9.1640 +
9.1641 +fi
9.1642 +fi
9.1643 +STRIP=$ac_cv_prog_STRIP
9.1644 +if test -n "$STRIP"; then
9.1645 + echo "$as_me:$LINENO: result: $STRIP" >&5
9.1646 +echo "${ECHO_T}$STRIP" >&6
9.1647 +else
9.1648 + echo "$as_me:$LINENO: result: no" >&5
9.1649 +echo "${ECHO_T}no" >&6
9.1650 +fi
9.1651 +
9.1652 +fi
9.1653 +if test -z "$ac_cv_prog_STRIP"; then
9.1654 + ac_ct_STRIP=$STRIP
9.1655 + # Extract the first word of "strip", so it can be a program name with args.
9.1656 +set dummy strip; ac_word=$2
9.1657 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1658 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1659 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9.1660 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1661 +else
9.1662 + if test -n "$ac_ct_STRIP"; then
9.1663 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9.1664 +else
9.1665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1666 +for as_dir in $PATH
9.1667 +do
9.1668 + IFS=$as_save_IFS
9.1669 + test -z "$as_dir" && as_dir=.
9.1670 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1671 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1672 + ac_cv_prog_ac_ct_STRIP="strip"
9.1673 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1674 + break 2
9.1675 + fi
9.1676 +done
9.1677 +done
9.1678 +
9.1679 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
9.1680 +fi
9.1681 +fi
9.1682 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9.1683 +if test -n "$ac_ct_STRIP"; then
9.1684 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9.1685 +echo "${ECHO_T}$ac_ct_STRIP" >&6
9.1686 +else
9.1687 + echo "$as_me:$LINENO: result: no" >&5
9.1688 +echo "${ECHO_T}no" >&6
9.1689 +fi
9.1690 +
9.1691 + STRIP=$ac_ct_STRIP
9.1692 +else
9.1693 + STRIP="$ac_cv_prog_STRIP"
9.1694 +fi
9.1695 +
9.1696 +fi
9.1697 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
9.1698 +
9.1699 +# We need awk for the "check" target. The system "awk" is bad on
9.1700 +# some platforms.
9.1701 +
9.1702 +
9.1703 +
9.1704 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9.1705 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9.1706 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9.1707 +if test "${enable_maintainer_mode+set}" = set; then
9.1708 + enableval="$enable_maintainer_mode"
9.1709 + USE_MAINTAINER_MODE=$enableval
9.1710 +else
9.1711 + USE_MAINTAINER_MODE=no
9.1712 +fi;
9.1713 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
9.1714 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
9.1715 +
9.1716 +
9.1717 +if test $USE_MAINTAINER_MODE = yes; then
9.1718 + MAINTAINER_MODE_TRUE=
9.1719 + MAINTAINER_MODE_FALSE='#'
9.1720 +else
9.1721 + MAINTAINER_MODE_TRUE='#'
9.1722 + MAINTAINER_MODE_FALSE=
9.1723 +fi
9.1724 +
9.1725 + MAINT=$MAINTAINER_MODE_TRUE
9.1726 +
9.1727 +
9.1728 + ac_config_headers="$ac_config_headers config.h"
9.1729 +
9.1730 +
9.1731 +DEPDIR="${am__leading_dot}deps"
9.1732 +
9.1733 + ac_config_commands="$ac_config_commands depfiles"
9.1734 +
9.1735 +
9.1736 +am_make=${MAKE-make}
9.1737 +cat > confinc << 'END'
9.1738 +am__doit:
9.1739 + @echo done
9.1740 +.PHONY: am__doit
9.1741 +END
9.1742 +# If we don't find an include directive, just comment out the code.
9.1743 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9.1744 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
9.1745 +am__include="#"
9.1746 +am__quote=
9.1747 +_am_result=none
9.1748 +# First try GNU make style include.
9.1749 +echo "include confinc" > confmf
9.1750 +# We grep out `Entering directory' and `Leaving directory'
9.1751 +# messages which can occur if `w' ends up in MAKEFLAGS.
9.1752 +# In particular we don't look at `^make:' because GNU make might
9.1753 +# be invoked under some other name (usually "gmake"), in which
9.1754 +# case it prints its new name instead of `make'.
9.1755 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9.1756 + am__include=include
9.1757 + am__quote=
9.1758 + _am_result=GNU
9.1759 +fi
9.1760 +# Now try BSD make style include.
9.1761 +if test "$am__include" = "#"; then
9.1762 + echo '.include "confinc"' > confmf
9.1763 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9.1764 + am__include=.include
9.1765 + am__quote="\""
9.1766 + _am_result=BSD
9.1767 + fi
9.1768 +fi
9.1769 +
9.1770 +
9.1771 +echo "$as_me:$LINENO: result: $_am_result" >&5
9.1772 +echo "${ECHO_T}$_am_result" >&6
9.1773 +rm -f confinc confmf
9.1774 +
9.1775 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
9.1776 +if test "${enable_dependency_tracking+set}" = set; then
9.1777 + enableval="$enable_dependency_tracking"
9.1778 +
9.1779 +fi;
9.1780 +if test "x$enable_dependency_tracking" != xno; then
9.1781 + am_depcomp="$ac_aux_dir/depcomp"
9.1782 + AMDEPBACKSLASH='\'
9.1783 +fi
9.1784 +
9.1785 +
9.1786 +if test "x$enable_dependency_tracking" != xno; then
9.1787 + AMDEP_TRUE=
9.1788 + AMDEP_FALSE='#'
9.1789 +else
9.1790 + AMDEP_TRUE='#'
9.1791 + AMDEP_FALSE=
9.1792 +fi
9.1793 +
9.1794 +
9.1795 +
9.1796 +ac_ext=c
9.1797 +ac_cpp='$CPP $CPPFLAGS'
9.1798 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.1799 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.1800 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.1801 +if test -n "$ac_tool_prefix"; then
9.1802 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9.1803 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
9.1804 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1805 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1806 +if test "${ac_cv_prog_CC+set}" = set; then
9.1807 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1808 +else
9.1809 + if test -n "$CC"; then
9.1810 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.1811 +else
9.1812 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1813 +for as_dir in $PATH
9.1814 +do
9.1815 + IFS=$as_save_IFS
9.1816 + test -z "$as_dir" && as_dir=.
9.1817 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1818 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1819 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
9.1820 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1821 + break 2
9.1822 + fi
9.1823 +done
9.1824 +done
9.1825 +
9.1826 +fi
9.1827 +fi
9.1828 +CC=$ac_cv_prog_CC
9.1829 +if test -n "$CC"; then
9.1830 + echo "$as_me:$LINENO: result: $CC" >&5
9.1831 +echo "${ECHO_T}$CC" >&6
9.1832 +else
9.1833 + echo "$as_me:$LINENO: result: no" >&5
9.1834 +echo "${ECHO_T}no" >&6
9.1835 +fi
9.1836 +
9.1837 +fi
9.1838 +if test -z "$ac_cv_prog_CC"; then
9.1839 + ac_ct_CC=$CC
9.1840 + # Extract the first word of "gcc", so it can be a program name with args.
9.1841 +set dummy gcc; ac_word=$2
9.1842 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1843 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1844 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.1845 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1846 +else
9.1847 + if test -n "$ac_ct_CC"; then
9.1848 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.1849 +else
9.1850 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1851 +for as_dir in $PATH
9.1852 +do
9.1853 + IFS=$as_save_IFS
9.1854 + test -z "$as_dir" && as_dir=.
9.1855 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1856 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1857 + ac_cv_prog_ac_ct_CC="gcc"
9.1858 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1859 + break 2
9.1860 + fi
9.1861 +done
9.1862 +done
9.1863 +
9.1864 +fi
9.1865 +fi
9.1866 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.1867 +if test -n "$ac_ct_CC"; then
9.1868 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.1869 +echo "${ECHO_T}$ac_ct_CC" >&6
9.1870 +else
9.1871 + echo "$as_me:$LINENO: result: no" >&5
9.1872 +echo "${ECHO_T}no" >&6
9.1873 +fi
9.1874 +
9.1875 + CC=$ac_ct_CC
9.1876 +else
9.1877 + CC="$ac_cv_prog_CC"
9.1878 +fi
9.1879 +
9.1880 +if test -z "$CC"; then
9.1881 + if test -n "$ac_tool_prefix"; then
9.1882 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9.1883 +set dummy ${ac_tool_prefix}cc; ac_word=$2
9.1884 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1885 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1886 +if test "${ac_cv_prog_CC+set}" = set; then
9.1887 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1888 +else
9.1889 + if test -n "$CC"; then
9.1890 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.1891 +else
9.1892 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1893 +for as_dir in $PATH
9.1894 +do
9.1895 + IFS=$as_save_IFS
9.1896 + test -z "$as_dir" && as_dir=.
9.1897 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1898 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1899 + ac_cv_prog_CC="${ac_tool_prefix}cc"
9.1900 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1901 + break 2
9.1902 + fi
9.1903 +done
9.1904 +done
9.1905 +
9.1906 +fi
9.1907 +fi
9.1908 +CC=$ac_cv_prog_CC
9.1909 +if test -n "$CC"; then
9.1910 + echo "$as_me:$LINENO: result: $CC" >&5
9.1911 +echo "${ECHO_T}$CC" >&6
9.1912 +else
9.1913 + echo "$as_me:$LINENO: result: no" >&5
9.1914 +echo "${ECHO_T}no" >&6
9.1915 +fi
9.1916 +
9.1917 +fi
9.1918 +if test -z "$ac_cv_prog_CC"; then
9.1919 + ac_ct_CC=$CC
9.1920 + # Extract the first word of "cc", so it can be a program name with args.
9.1921 +set dummy cc; ac_word=$2
9.1922 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1923 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1924 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.1925 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1926 +else
9.1927 + if test -n "$ac_ct_CC"; then
9.1928 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.1929 +else
9.1930 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1931 +for as_dir in $PATH
9.1932 +do
9.1933 + IFS=$as_save_IFS
9.1934 + test -z "$as_dir" && as_dir=.
9.1935 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1936 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1937 + ac_cv_prog_ac_ct_CC="cc"
9.1938 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1939 + break 2
9.1940 + fi
9.1941 +done
9.1942 +done
9.1943 +
9.1944 +fi
9.1945 +fi
9.1946 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.1947 +if test -n "$ac_ct_CC"; then
9.1948 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.1949 +echo "${ECHO_T}$ac_ct_CC" >&6
9.1950 +else
9.1951 + echo "$as_me:$LINENO: result: no" >&5
9.1952 +echo "${ECHO_T}no" >&6
9.1953 +fi
9.1954 +
9.1955 + CC=$ac_ct_CC
9.1956 +else
9.1957 + CC="$ac_cv_prog_CC"
9.1958 +fi
9.1959 +
9.1960 +fi
9.1961 +if test -z "$CC"; then
9.1962 + # Extract the first word of "cc", so it can be a program name with args.
9.1963 +set dummy cc; ac_word=$2
9.1964 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.1965 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.1966 +if test "${ac_cv_prog_CC+set}" = set; then
9.1967 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.1968 +else
9.1969 + if test -n "$CC"; then
9.1970 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.1971 +else
9.1972 + ac_prog_rejected=no
9.1973 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.1974 +for as_dir in $PATH
9.1975 +do
9.1976 + IFS=$as_save_IFS
9.1977 + test -z "$as_dir" && as_dir=.
9.1978 + for ac_exec_ext in '' $ac_executable_extensions; do
9.1979 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.1980 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9.1981 + ac_prog_rejected=yes
9.1982 + continue
9.1983 + fi
9.1984 + ac_cv_prog_CC="cc"
9.1985 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.1986 + break 2
9.1987 + fi
9.1988 +done
9.1989 +done
9.1990 +
9.1991 +if test $ac_prog_rejected = yes; then
9.1992 + # We found a bogon in the path, so make sure we never use it.
9.1993 + set dummy $ac_cv_prog_CC
9.1994 + shift
9.1995 + if test $# != 0; then
9.1996 + # We chose a different compiler from the bogus one.
9.1997 + # However, it has the same basename, so the bogon will be chosen
9.1998 + # first if we set CC to just the basename; use the full file name.
9.1999 + shift
9.2000 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9.2001 + fi
9.2002 +fi
9.2003 +fi
9.2004 +fi
9.2005 +CC=$ac_cv_prog_CC
9.2006 +if test -n "$CC"; then
9.2007 + echo "$as_me:$LINENO: result: $CC" >&5
9.2008 +echo "${ECHO_T}$CC" >&6
9.2009 +else
9.2010 + echo "$as_me:$LINENO: result: no" >&5
9.2011 +echo "${ECHO_T}no" >&6
9.2012 +fi
9.2013 +
9.2014 +fi
9.2015 +if test -z "$CC"; then
9.2016 + if test -n "$ac_tool_prefix"; then
9.2017 + for ac_prog in cl
9.2018 + do
9.2019 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9.2020 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9.2021 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.2022 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.2023 +if test "${ac_cv_prog_CC+set}" = set; then
9.2024 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2025 +else
9.2026 + if test -n "$CC"; then
9.2027 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.2028 +else
9.2029 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.2030 +for as_dir in $PATH
9.2031 +do
9.2032 + IFS=$as_save_IFS
9.2033 + test -z "$as_dir" && as_dir=.
9.2034 + for ac_exec_ext in '' $ac_executable_extensions; do
9.2035 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.2036 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9.2037 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.2038 + break 2
9.2039 + fi
9.2040 +done
9.2041 +done
9.2042 +
9.2043 +fi
9.2044 +fi
9.2045 +CC=$ac_cv_prog_CC
9.2046 +if test -n "$CC"; then
9.2047 + echo "$as_me:$LINENO: result: $CC" >&5
9.2048 +echo "${ECHO_T}$CC" >&6
9.2049 +else
9.2050 + echo "$as_me:$LINENO: result: no" >&5
9.2051 +echo "${ECHO_T}no" >&6
9.2052 +fi
9.2053 +
9.2054 + test -n "$CC" && break
9.2055 + done
9.2056 +fi
9.2057 +if test -z "$CC"; then
9.2058 + ac_ct_CC=$CC
9.2059 + for ac_prog in cl
9.2060 +do
9.2061 + # Extract the first word of "$ac_prog", so it can be a program name with args.
9.2062 +set dummy $ac_prog; ac_word=$2
9.2063 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.2064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.2065 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.2066 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2067 +else
9.2068 + if test -n "$ac_ct_CC"; then
9.2069 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.2070 +else
9.2071 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.2072 +for as_dir in $PATH
9.2073 +do
9.2074 + IFS=$as_save_IFS
9.2075 + test -z "$as_dir" && as_dir=.
9.2076 + for ac_exec_ext in '' $ac_executable_extensions; do
9.2077 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.2078 + ac_cv_prog_ac_ct_CC="$ac_prog"
9.2079 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.2080 + break 2
9.2081 + fi
9.2082 +done
9.2083 +done
9.2084 +
9.2085 +fi
9.2086 +fi
9.2087 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.2088 +if test -n "$ac_ct_CC"; then
9.2089 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.2090 +echo "${ECHO_T}$ac_ct_CC" >&6
9.2091 +else
9.2092 + echo "$as_me:$LINENO: result: no" >&5
9.2093 +echo "${ECHO_T}no" >&6
9.2094 +fi
9.2095 +
9.2096 + test -n "$ac_ct_CC" && break
9.2097 +done
9.2098 +
9.2099 + CC=$ac_ct_CC
9.2100 +fi
9.2101 +
9.2102 +fi
9.2103 +
9.2104 +
9.2105 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9.2106 +See \`config.log' for more details." >&5
9.2107 +echo "$as_me: error: no acceptable C compiler found in \$PATH
9.2108 +See \`config.log' for more details." >&2;}
9.2109 + { (exit 1); exit 1; }; }
9.2110 +
9.2111 +# Provide some information about the compiler.
9.2112 +echo "$as_me:$LINENO:" \
9.2113 + "checking for C compiler version" >&5
9.2114 +ac_compiler=`set X $ac_compile; echo $2`
9.2115 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9.2116 + (eval $ac_compiler --version </dev/null >&5) 2>&5
9.2117 + ac_status=$?
9.2118 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2119 + (exit $ac_status); }
9.2120 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9.2121 + (eval $ac_compiler -v </dev/null >&5) 2>&5
9.2122 + ac_status=$?
9.2123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2124 + (exit $ac_status); }
9.2125 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9.2126 + (eval $ac_compiler -V </dev/null >&5) 2>&5
9.2127 + ac_status=$?
9.2128 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2129 + (exit $ac_status); }
9.2130 +
9.2131 +cat >conftest.$ac_ext <<_ACEOF
9.2132 +/* confdefs.h. */
9.2133 +_ACEOF
9.2134 +cat confdefs.h >>conftest.$ac_ext
9.2135 +cat >>conftest.$ac_ext <<_ACEOF
9.2136 +/* end confdefs.h. */
9.2137 +
9.2138 +int
9.2139 +main ()
9.2140 +{
9.2141 +
9.2142 + ;
9.2143 + return 0;
9.2144 +}
9.2145 +_ACEOF
9.2146 +ac_clean_files_save=$ac_clean_files
9.2147 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
9.2148 +# Try to create an executable without -o first, disregard a.out.
9.2149 +# It will help us diagnose broken compilers, and finding out an intuition
9.2150 +# of exeext.
9.2151 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
9.2152 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
9.2153 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9.2154 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9.2155 + (eval $ac_link_default) 2>&5
9.2156 + ac_status=$?
9.2157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2158 + (exit $ac_status); }; then
9.2159 + # Find the output, starting from the most likely. This scheme is
9.2160 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
9.2161 +# resort.
9.2162 +
9.2163 +# Be careful to initialize this variable, since it used to be cached.
9.2164 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
9.2165 +ac_cv_exeext=
9.2166 +# b.out is created by i960 compilers.
9.2167 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
9.2168 +do
9.2169 + test -f "$ac_file" || continue
9.2170 + case $ac_file in
9.2171 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
9.2172 + ;;
9.2173 + conftest.$ac_ext )
9.2174 + # This is the source file.
9.2175 + ;;
9.2176 + [ab].out )
9.2177 + # We found the default executable, but exeext='' is most
9.2178 + # certainly right.
9.2179 + break;;
9.2180 + *.* )
9.2181 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9.2182 + # FIXME: I believe we export ac_cv_exeext for Libtool,
9.2183 + # but it would be cool to find out if it's true. Does anybody
9.2184 + # maintain Libtool? --akim.
9.2185 + export ac_cv_exeext
9.2186 + break;;
9.2187 + * )
9.2188 + break;;
9.2189 + esac
9.2190 +done
9.2191 +else
9.2192 + echo "$as_me: failed program was:" >&5
9.2193 +sed 's/^/| /' conftest.$ac_ext >&5
9.2194 +
9.2195 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
9.2196 +See \`config.log' for more details." >&5
9.2197 +echo "$as_me: error: C compiler cannot create executables
9.2198 +See \`config.log' for more details." >&2;}
9.2199 + { (exit 77); exit 77; }; }
9.2200 +fi
9.2201 +
9.2202 +ac_exeext=$ac_cv_exeext
9.2203 +echo "$as_me:$LINENO: result: $ac_file" >&5
9.2204 +echo "${ECHO_T}$ac_file" >&6
9.2205 +
9.2206 +# Check the compiler produces executables we can run. If not, either
9.2207 +# the compiler is broken, or we cross compile.
9.2208 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
9.2209 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9.2210 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9.2211 +# If not cross compiling, check that we can run a simple program.
9.2212 +if test "$cross_compiling" != yes; then
9.2213 + if { ac_try='./$ac_file'
9.2214 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2215 + (eval $ac_try) 2>&5
9.2216 + ac_status=$?
9.2217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2218 + (exit $ac_status); }; }; then
9.2219 + cross_compiling=no
9.2220 + else
9.2221 + if test "$cross_compiling" = maybe; then
9.2222 + cross_compiling=yes
9.2223 + else
9.2224 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
9.2225 +If you meant to cross compile, use \`--host'.
9.2226 +See \`config.log' for more details." >&5
9.2227 +echo "$as_me: error: cannot run C compiled programs.
9.2228 +If you meant to cross compile, use \`--host'.
9.2229 +See \`config.log' for more details." >&2;}
9.2230 + { (exit 1); exit 1; }; }
9.2231 + fi
9.2232 + fi
9.2233 +fi
9.2234 +echo "$as_me:$LINENO: result: yes" >&5
9.2235 +echo "${ECHO_T}yes" >&6
9.2236 +
9.2237 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
9.2238 +ac_clean_files=$ac_clean_files_save
9.2239 +# Check the compiler produces executables we can run. If not, either
9.2240 +# the compiler is broken, or we cross compile.
9.2241 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
9.2242 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
9.2243 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
9.2244 +echo "${ECHO_T}$cross_compiling" >&6
9.2245 +
9.2246 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
9.2247 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
9.2248 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.2249 + (eval $ac_link) 2>&5
9.2250 + ac_status=$?
9.2251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2252 + (exit $ac_status); }; then
9.2253 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
9.2254 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9.2255 +# work properly (i.e., refer to `conftest.exe'), while it won't with
9.2256 +# `rm'.
9.2257 +for ac_file in conftest.exe conftest conftest.*; do
9.2258 + test -f "$ac_file" || continue
9.2259 + case $ac_file in
9.2260 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
9.2261 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9.2262 + export ac_cv_exeext
9.2263 + break;;
9.2264 + * ) break;;
9.2265 + esac
9.2266 +done
9.2267 +else
9.2268 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
9.2269 +See \`config.log' for more details." >&5
9.2270 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
9.2271 +See \`config.log' for more details." >&2;}
9.2272 + { (exit 1); exit 1; }; }
9.2273 +fi
9.2274 +
9.2275 +rm -f conftest$ac_cv_exeext
9.2276 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
9.2277 +echo "${ECHO_T}$ac_cv_exeext" >&6
9.2278 +
9.2279 +rm -f conftest.$ac_ext
9.2280 +EXEEXT=$ac_cv_exeext
9.2281 +ac_exeext=$EXEEXT
9.2282 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
9.2283 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
9.2284 +if test "${ac_cv_objext+set}" = set; then
9.2285 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2286 +else
9.2287 + cat >conftest.$ac_ext <<_ACEOF
9.2288 +/* confdefs.h. */
9.2289 +_ACEOF
9.2290 +cat confdefs.h >>conftest.$ac_ext
9.2291 +cat >>conftest.$ac_ext <<_ACEOF
9.2292 +/* end confdefs.h. */
9.2293 +
9.2294 +int
9.2295 +main ()
9.2296 +{
9.2297 +
9.2298 + ;
9.2299 + return 0;
9.2300 +}
9.2301 +_ACEOF
9.2302 +rm -f conftest.o conftest.obj
9.2303 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2304 + (eval $ac_compile) 2>&5
9.2305 + ac_status=$?
9.2306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2307 + (exit $ac_status); }; then
9.2308 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9.2309 + case $ac_file in
9.2310 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
9.2311 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9.2312 + break;;
9.2313 + esac
9.2314 +done
9.2315 +else
9.2316 + echo "$as_me: failed program was:" >&5
9.2317 +sed 's/^/| /' conftest.$ac_ext >&5
9.2318 +
9.2319 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
9.2320 +See \`config.log' for more details." >&5
9.2321 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
9.2322 +See \`config.log' for more details." >&2;}
9.2323 + { (exit 1); exit 1; }; }
9.2324 +fi
9.2325 +
9.2326 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
9.2327 +fi
9.2328 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9.2329 +echo "${ECHO_T}$ac_cv_objext" >&6
9.2330 +OBJEXT=$ac_cv_objext
9.2331 +ac_objext=$OBJEXT
9.2332 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9.2333 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9.2334 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
9.2335 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2336 +else
9.2337 + cat >conftest.$ac_ext <<_ACEOF
9.2338 +/* confdefs.h. */
9.2339 +_ACEOF
9.2340 +cat confdefs.h >>conftest.$ac_ext
9.2341 +cat >>conftest.$ac_ext <<_ACEOF
9.2342 +/* end confdefs.h. */
9.2343 +
9.2344 +int
9.2345 +main ()
9.2346 +{
9.2347 +#ifndef __GNUC__
9.2348 + choke me
9.2349 +#endif
9.2350 +
9.2351 + ;
9.2352 + return 0;
9.2353 +}
9.2354 +_ACEOF
9.2355 +rm -f conftest.$ac_objext
9.2356 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2357 + (eval $ac_compile) 2>conftest.er1
9.2358 + ac_status=$?
9.2359 + grep -v '^ *+' conftest.er1 >conftest.err
9.2360 + rm -f conftest.er1
9.2361 + cat conftest.err >&5
9.2362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2363 + (exit $ac_status); } &&
9.2364 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2365 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2366 + (eval $ac_try) 2>&5
9.2367 + ac_status=$?
9.2368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2369 + (exit $ac_status); }; } &&
9.2370 + { ac_try='test -s conftest.$ac_objext'
9.2371 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2372 + (eval $ac_try) 2>&5
9.2373 + ac_status=$?
9.2374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2375 + (exit $ac_status); }; }; then
9.2376 + ac_compiler_gnu=yes
9.2377 +else
9.2378 + echo "$as_me: failed program was:" >&5
9.2379 +sed 's/^/| /' conftest.$ac_ext >&5
9.2380 +
9.2381 +ac_compiler_gnu=no
9.2382 +fi
9.2383 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.2384 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
9.2385 +
9.2386 +fi
9.2387 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9.2388 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9.2389 +GCC=`test $ac_compiler_gnu = yes && echo yes`
9.2390 +ac_test_CFLAGS=${CFLAGS+set}
9.2391 +ac_save_CFLAGS=$CFLAGS
9.2392 +CFLAGS="-g"
9.2393 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9.2394 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9.2395 +if test "${ac_cv_prog_cc_g+set}" = set; then
9.2396 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2397 +else
9.2398 + cat >conftest.$ac_ext <<_ACEOF
9.2399 +/* confdefs.h. */
9.2400 +_ACEOF
9.2401 +cat confdefs.h >>conftest.$ac_ext
9.2402 +cat >>conftest.$ac_ext <<_ACEOF
9.2403 +/* end confdefs.h. */
9.2404 +
9.2405 +int
9.2406 +main ()
9.2407 +{
9.2408 +
9.2409 + ;
9.2410 + return 0;
9.2411 +}
9.2412 +_ACEOF
9.2413 +rm -f conftest.$ac_objext
9.2414 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2415 + (eval $ac_compile) 2>conftest.er1
9.2416 + ac_status=$?
9.2417 + grep -v '^ *+' conftest.er1 >conftest.err
9.2418 + rm -f conftest.er1
9.2419 + cat conftest.err >&5
9.2420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2421 + (exit $ac_status); } &&
9.2422 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2423 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2424 + (eval $ac_try) 2>&5
9.2425 + ac_status=$?
9.2426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2427 + (exit $ac_status); }; } &&
9.2428 + { ac_try='test -s conftest.$ac_objext'
9.2429 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2430 + (eval $ac_try) 2>&5
9.2431 + ac_status=$?
9.2432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2433 + (exit $ac_status); }; }; then
9.2434 + ac_cv_prog_cc_g=yes
9.2435 +else
9.2436 + echo "$as_me: failed program was:" >&5
9.2437 +sed 's/^/| /' conftest.$ac_ext >&5
9.2438 +
9.2439 +ac_cv_prog_cc_g=no
9.2440 +fi
9.2441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.2442 +fi
9.2443 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9.2444 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9.2445 +if test "$ac_test_CFLAGS" = set; then
9.2446 + CFLAGS=$ac_save_CFLAGS
9.2447 +elif test $ac_cv_prog_cc_g = yes; then
9.2448 + if test "$GCC" = yes; then
9.2449 + CFLAGS="-g -O2"
9.2450 + else
9.2451 + CFLAGS="-g"
9.2452 + fi
9.2453 +else
9.2454 + if test "$GCC" = yes; then
9.2455 + CFLAGS="-O2"
9.2456 + else
9.2457 + CFLAGS=
9.2458 + fi
9.2459 +fi
9.2460 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
9.2461 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
9.2462 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
9.2463 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2464 +else
9.2465 + ac_cv_prog_cc_stdc=no
9.2466 +ac_save_CC=$CC
9.2467 +cat >conftest.$ac_ext <<_ACEOF
9.2468 +/* confdefs.h. */
9.2469 +_ACEOF
9.2470 +cat confdefs.h >>conftest.$ac_ext
9.2471 +cat >>conftest.$ac_ext <<_ACEOF
9.2472 +/* end confdefs.h. */
9.2473 +#include <stdarg.h>
9.2474 +#include <stdio.h>
9.2475 +#include <sys/types.h>
9.2476 +#include <sys/stat.h>
9.2477 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
9.2478 +struct buf { int x; };
9.2479 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
9.2480 +static char *e (p, i)
9.2481 + char **p;
9.2482 + int i;
9.2483 +{
9.2484 + return p[i];
9.2485 +}
9.2486 +static char *f (char * (*g) (char **, int), char **p, ...)
9.2487 +{
9.2488 + char *s;
9.2489 + va_list v;
9.2490 + va_start (v,p);
9.2491 + s = g (p, va_arg (v,int));
9.2492 + va_end (v);
9.2493 + return s;
9.2494 +}
9.2495 +
9.2496 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
9.2497 + function prototypes and stuff, but not '\xHH' hex character constants.
9.2498 + These don't provoke an error unfortunately, instead are silently treated
9.2499 + as 'x'. The following induces an error, until -std1 is added to get
9.2500 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
9.2501 + array size at least. It's necessary to write '\x00'==0 to get something
9.2502 + that's true only with -std1. */
9.2503 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
9.2504 +
9.2505 +int test (int i, double x);
9.2506 +struct s1 {int (*f) (int a);};
9.2507 +struct s2 {int (*f) (double a);};
9.2508 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
9.2509 +int argc;
9.2510 +char **argv;
9.2511 +int
9.2512 +main ()
9.2513 +{
9.2514 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
9.2515 + ;
9.2516 + return 0;
9.2517 +}
9.2518 +_ACEOF
9.2519 +# Don't try gcc -ansi; that turns off useful extensions and
9.2520 +# breaks some systems' header files.
9.2521 +# AIX -qlanglvl=ansi
9.2522 +# Ultrix and OSF/1 -std1
9.2523 +# HP-UX 10.20 and later -Ae
9.2524 +# HP-UX older versions -Aa -D_HPUX_SOURCE
9.2525 +# SVR4 -Xc -D__EXTENSIONS__
9.2526 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9.2527 +do
9.2528 + CC="$ac_save_CC $ac_arg"
9.2529 + rm -f conftest.$ac_objext
9.2530 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2531 + (eval $ac_compile) 2>conftest.er1
9.2532 + ac_status=$?
9.2533 + grep -v '^ *+' conftest.er1 >conftest.err
9.2534 + rm -f conftest.er1
9.2535 + cat conftest.err >&5
9.2536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2537 + (exit $ac_status); } &&
9.2538 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2539 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2540 + (eval $ac_try) 2>&5
9.2541 + ac_status=$?
9.2542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2543 + (exit $ac_status); }; } &&
9.2544 + { ac_try='test -s conftest.$ac_objext'
9.2545 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2546 + (eval $ac_try) 2>&5
9.2547 + ac_status=$?
9.2548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2549 + (exit $ac_status); }; }; then
9.2550 + ac_cv_prog_cc_stdc=$ac_arg
9.2551 +break
9.2552 +else
9.2553 + echo "$as_me: failed program was:" >&5
9.2554 +sed 's/^/| /' conftest.$ac_ext >&5
9.2555 +
9.2556 +fi
9.2557 +rm -f conftest.err conftest.$ac_objext
9.2558 +done
9.2559 +rm -f conftest.$ac_ext conftest.$ac_objext
9.2560 +CC=$ac_save_CC
9.2561 +
9.2562 +fi
9.2563 +
9.2564 +case "x$ac_cv_prog_cc_stdc" in
9.2565 + x|xno)
9.2566 + echo "$as_me:$LINENO: result: none needed" >&5
9.2567 +echo "${ECHO_T}none needed" >&6 ;;
9.2568 + *)
9.2569 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
9.2570 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
9.2571 + CC="$CC $ac_cv_prog_cc_stdc" ;;
9.2572 +esac
9.2573 +
9.2574 +# Some people use a C++ compiler to compile C. Since we use `exit',
9.2575 +# in C++ we need to declare it. In case someone uses the same compiler
9.2576 +# for both compiling C and C++ we need to have the C++ compiler decide
9.2577 +# the declaration of exit, since it's the most demanding environment.
9.2578 +cat >conftest.$ac_ext <<_ACEOF
9.2579 +#ifndef __cplusplus
9.2580 + choke me
9.2581 +#endif
9.2582 +_ACEOF
9.2583 +rm -f conftest.$ac_objext
9.2584 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2585 + (eval $ac_compile) 2>conftest.er1
9.2586 + ac_status=$?
9.2587 + grep -v '^ *+' conftest.er1 >conftest.err
9.2588 + rm -f conftest.er1
9.2589 + cat conftest.err >&5
9.2590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2591 + (exit $ac_status); } &&
9.2592 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2593 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2594 + (eval $ac_try) 2>&5
9.2595 + ac_status=$?
9.2596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2597 + (exit $ac_status); }; } &&
9.2598 + { ac_try='test -s conftest.$ac_objext'
9.2599 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2600 + (eval $ac_try) 2>&5
9.2601 + ac_status=$?
9.2602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2603 + (exit $ac_status); }; }; then
9.2604 + for ac_declaration in \
9.2605 + '' \
9.2606 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
9.2607 + 'extern "C" void std::exit (int); using std::exit;' \
9.2608 + 'extern "C" void exit (int) throw ();' \
9.2609 + 'extern "C" void exit (int);' \
9.2610 + 'void exit (int);'
9.2611 +do
9.2612 + cat >conftest.$ac_ext <<_ACEOF
9.2613 +/* confdefs.h. */
9.2614 +_ACEOF
9.2615 +cat confdefs.h >>conftest.$ac_ext
9.2616 +cat >>conftest.$ac_ext <<_ACEOF
9.2617 +/* end confdefs.h. */
9.2618 +$ac_declaration
9.2619 +#include <stdlib.h>
9.2620 +int
9.2621 +main ()
9.2622 +{
9.2623 +exit (42);
9.2624 + ;
9.2625 + return 0;
9.2626 +}
9.2627 +_ACEOF
9.2628 +rm -f conftest.$ac_objext
9.2629 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2630 + (eval $ac_compile) 2>conftest.er1
9.2631 + ac_status=$?
9.2632 + grep -v '^ *+' conftest.er1 >conftest.err
9.2633 + rm -f conftest.er1
9.2634 + cat conftest.err >&5
9.2635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2636 + (exit $ac_status); } &&
9.2637 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2638 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2639 + (eval $ac_try) 2>&5
9.2640 + ac_status=$?
9.2641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2642 + (exit $ac_status); }; } &&
9.2643 + { ac_try='test -s conftest.$ac_objext'
9.2644 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2645 + (eval $ac_try) 2>&5
9.2646 + ac_status=$?
9.2647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2648 + (exit $ac_status); }; }; then
9.2649 + :
9.2650 +else
9.2651 + echo "$as_me: failed program was:" >&5
9.2652 +sed 's/^/| /' conftest.$ac_ext >&5
9.2653 +
9.2654 +continue
9.2655 +fi
9.2656 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.2657 + cat >conftest.$ac_ext <<_ACEOF
9.2658 +/* confdefs.h. */
9.2659 +_ACEOF
9.2660 +cat confdefs.h >>conftest.$ac_ext
9.2661 +cat >>conftest.$ac_ext <<_ACEOF
9.2662 +/* end confdefs.h. */
9.2663 +$ac_declaration
9.2664 +int
9.2665 +main ()
9.2666 +{
9.2667 +exit (42);
9.2668 + ;
9.2669 + return 0;
9.2670 +}
9.2671 +_ACEOF
9.2672 +rm -f conftest.$ac_objext
9.2673 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.2674 + (eval $ac_compile) 2>conftest.er1
9.2675 + ac_status=$?
9.2676 + grep -v '^ *+' conftest.er1 >conftest.err
9.2677 + rm -f conftest.er1
9.2678 + cat conftest.err >&5
9.2679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2680 + (exit $ac_status); } &&
9.2681 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2682 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2683 + (eval $ac_try) 2>&5
9.2684 + ac_status=$?
9.2685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2686 + (exit $ac_status); }; } &&
9.2687 + { ac_try='test -s conftest.$ac_objext'
9.2688 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2689 + (eval $ac_try) 2>&5
9.2690 + ac_status=$?
9.2691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2692 + (exit $ac_status); }; }; then
9.2693 + break
9.2694 +else
9.2695 + echo "$as_me: failed program was:" >&5
9.2696 +sed 's/^/| /' conftest.$ac_ext >&5
9.2697 +
9.2698 +fi
9.2699 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.2700 +done
9.2701 +rm -f conftest*
9.2702 +if test -n "$ac_declaration"; then
9.2703 + echo '#ifdef __cplusplus' >>confdefs.h
9.2704 + echo $ac_declaration >>confdefs.h
9.2705 + echo '#endif' >>confdefs.h
9.2706 +fi
9.2707 +
9.2708 +else
9.2709 + echo "$as_me: failed program was:" >&5
9.2710 +sed 's/^/| /' conftest.$ac_ext >&5
9.2711 +
9.2712 +fi
9.2713 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.2714 +ac_ext=c
9.2715 +ac_cpp='$CPP $CPPFLAGS'
9.2716 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.2717 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.2718 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.2719 +
9.2720 +depcc="$CC" am_compiler_list=
9.2721 +
9.2722 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9.2723 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9.2724 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9.2725 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2726 +else
9.2727 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9.2728 + # We make a subdir and do the tests there. Otherwise we can end up
9.2729 + # making bogus files that we don't know about and never remove. For
9.2730 + # instance it was reported that on HP-UX the gcc test will end up
9.2731 + # making a dummy file named `D' -- because `-MD' means `put the output
9.2732 + # in D'.
9.2733 + mkdir conftest.dir
9.2734 + # Copy depcomp to subdir because otherwise we won't find it if we're
9.2735 + # using a relative directory.
9.2736 + cp "$am_depcomp" conftest.dir
9.2737 + cd conftest.dir
9.2738 + # We will build objects and dependencies in a subdirectory because
9.2739 + # it helps to detect inapplicable dependency modes. For instance
9.2740 + # both Tru64's cc and ICC support -MD to output dependencies as a
9.2741 + # side effect of compilation, but ICC will put the dependencies in
9.2742 + # the current directory while Tru64 will put them in the object
9.2743 + # directory.
9.2744 + mkdir sub
9.2745 +
9.2746 + am_cv_CC_dependencies_compiler_type=none
9.2747 + if test "$am_compiler_list" = ""; then
9.2748 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9.2749 + fi
9.2750 + for depmode in $am_compiler_list; do
9.2751 + # Setup a source with many dependencies, because some compilers
9.2752 + # like to wrap large dependency lists on column 80 (with \), and
9.2753 + # we should not choose a depcomp mode which is confused by this.
9.2754 + #
9.2755 + # We need to recreate these files for each test, as the compiler may
9.2756 + # overwrite some of them when testing with obscure command lines.
9.2757 + # This happens at least with the AIX C compiler.
9.2758 + : > sub/conftest.c
9.2759 + for i in 1 2 3 4 5 6; do
9.2760 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
9.2761 + : > sub/conftst$i.h
9.2762 + done
9.2763 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9.2764 +
9.2765 + case $depmode in
9.2766 + nosideeffect)
9.2767 + # after this tag, mechanisms are not by side-effect, so they'll
9.2768 + # only be used when explicitly requested
9.2769 + if test "x$enable_dependency_tracking" = xyes; then
9.2770 + continue
9.2771 + else
9.2772 + break
9.2773 + fi
9.2774 + ;;
9.2775 + none) break ;;
9.2776 + esac
9.2777 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
9.2778 + # mode. It turns out that the SunPro C++ compiler does not properly
9.2779 + # handle `-M -o', and we need to detect this.
9.2780 + if depmode=$depmode \
9.2781 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9.2782 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9.2783 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9.2784 + >/dev/null 2>conftest.err &&
9.2785 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9.2786 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9.2787 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9.2788 + # icc doesn't choke on unknown options, it will just issue warnings
9.2789 + # (even with -Werror). So we grep stderr for any message
9.2790 + # that says an option was ignored.
9.2791 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
9.2792 + am_cv_CC_dependencies_compiler_type=$depmode
9.2793 + break
9.2794 + fi
9.2795 + fi
9.2796 + done
9.2797 +
9.2798 + cd ..
9.2799 + rm -rf conftest.dir
9.2800 +else
9.2801 + am_cv_CC_dependencies_compiler_type=none
9.2802 +fi
9.2803 +
9.2804 +fi
9.2805 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9.2806 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
9.2807 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9.2808 +
9.2809 +
9.2810 +
9.2811 +if
9.2812 + test "x$enable_dependency_tracking" != xno \
9.2813 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9.2814 + am__fastdepCC_TRUE=
9.2815 + am__fastdepCC_FALSE='#'
9.2816 +else
9.2817 + am__fastdepCC_TRUE='#'
9.2818 + am__fastdepCC_FALSE=
9.2819 +fi
9.2820 +
9.2821 +
9.2822 +
9.2823 +
9.2824 + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
9.2825 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
9.2826 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
9.2827 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2828 +else
9.2829 + ac_check_lib_save_LIBS=$LIBS
9.2830 +LIBS="-lcposix $LIBS"
9.2831 +cat >conftest.$ac_ext <<_ACEOF
9.2832 +/* confdefs.h. */
9.2833 +_ACEOF
9.2834 +cat confdefs.h >>conftest.$ac_ext
9.2835 +cat >>conftest.$ac_ext <<_ACEOF
9.2836 +/* end confdefs.h. */
9.2837 +
9.2838 +/* Override any gcc2 internal prototype to avoid an error. */
9.2839 +#ifdef __cplusplus
9.2840 +extern "C"
9.2841 +#endif
9.2842 +/* We use char because int might match the return type of a gcc2
9.2843 + builtin and then its argument prototype would still apply. */
9.2844 +char strerror ();
9.2845 +int
9.2846 +main ()
9.2847 +{
9.2848 +strerror ();
9.2849 + ;
9.2850 + return 0;
9.2851 +}
9.2852 +_ACEOF
9.2853 +rm -f conftest.$ac_objext conftest$ac_exeext
9.2854 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.2855 + (eval $ac_link) 2>conftest.er1
9.2856 + ac_status=$?
9.2857 + grep -v '^ *+' conftest.er1 >conftest.err
9.2858 + rm -f conftest.er1
9.2859 + cat conftest.err >&5
9.2860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2861 + (exit $ac_status); } &&
9.2862 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.2863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2864 + (eval $ac_try) 2>&5
9.2865 + ac_status=$?
9.2866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2867 + (exit $ac_status); }; } &&
9.2868 + { ac_try='test -s conftest$ac_exeext'
9.2869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.2870 + (eval $ac_try) 2>&5
9.2871 + ac_status=$?
9.2872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.2873 + (exit $ac_status); }; }; then
9.2874 + ac_cv_lib_cposix_strerror=yes
9.2875 +else
9.2876 + echo "$as_me: failed program was:" >&5
9.2877 +sed 's/^/| /' conftest.$ac_ext >&5
9.2878 +
9.2879 +ac_cv_lib_cposix_strerror=no
9.2880 +fi
9.2881 +rm -f conftest.err conftest.$ac_objext \
9.2882 + conftest$ac_exeext conftest.$ac_ext
9.2883 +LIBS=$ac_check_lib_save_LIBS
9.2884 +fi
9.2885 +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
9.2886 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
9.2887 +if test $ac_cv_lib_cposix_strerror = yes; then
9.2888 + LIBS="$LIBS -lcposix"
9.2889 +fi
9.2890 +
9.2891 +
9.2892 +
9.2893 +ac_ext=c
9.2894 +ac_cpp='$CPP $CPPFLAGS'
9.2895 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.2896 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.2897 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.2898 +if test -n "$ac_tool_prefix"; then
9.2899 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9.2900 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
9.2901 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.2902 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.2903 +if test "${ac_cv_prog_CC+set}" = set; then
9.2904 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2905 +else
9.2906 + if test -n "$CC"; then
9.2907 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.2908 +else
9.2909 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.2910 +for as_dir in $PATH
9.2911 +do
9.2912 + IFS=$as_save_IFS
9.2913 + test -z "$as_dir" && as_dir=.
9.2914 + for ac_exec_ext in '' $ac_executable_extensions; do
9.2915 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.2916 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
9.2917 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.2918 + break 2
9.2919 + fi
9.2920 +done
9.2921 +done
9.2922 +
9.2923 +fi
9.2924 +fi
9.2925 +CC=$ac_cv_prog_CC
9.2926 +if test -n "$CC"; then
9.2927 + echo "$as_me:$LINENO: result: $CC" >&5
9.2928 +echo "${ECHO_T}$CC" >&6
9.2929 +else
9.2930 + echo "$as_me:$LINENO: result: no" >&5
9.2931 +echo "${ECHO_T}no" >&6
9.2932 +fi
9.2933 +
9.2934 +fi
9.2935 +if test -z "$ac_cv_prog_CC"; then
9.2936 + ac_ct_CC=$CC
9.2937 + # Extract the first word of "gcc", so it can be a program name with args.
9.2938 +set dummy gcc; ac_word=$2
9.2939 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.2940 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.2941 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.2942 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2943 +else
9.2944 + if test -n "$ac_ct_CC"; then
9.2945 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.2946 +else
9.2947 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.2948 +for as_dir in $PATH
9.2949 +do
9.2950 + IFS=$as_save_IFS
9.2951 + test -z "$as_dir" && as_dir=.
9.2952 + for ac_exec_ext in '' $ac_executable_extensions; do
9.2953 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.2954 + ac_cv_prog_ac_ct_CC="gcc"
9.2955 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.2956 + break 2
9.2957 + fi
9.2958 +done
9.2959 +done
9.2960 +
9.2961 +fi
9.2962 +fi
9.2963 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.2964 +if test -n "$ac_ct_CC"; then
9.2965 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.2966 +echo "${ECHO_T}$ac_ct_CC" >&6
9.2967 +else
9.2968 + echo "$as_me:$LINENO: result: no" >&5
9.2969 +echo "${ECHO_T}no" >&6
9.2970 +fi
9.2971 +
9.2972 + CC=$ac_ct_CC
9.2973 +else
9.2974 + CC="$ac_cv_prog_CC"
9.2975 +fi
9.2976 +
9.2977 +if test -z "$CC"; then
9.2978 + if test -n "$ac_tool_prefix"; then
9.2979 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9.2980 +set dummy ${ac_tool_prefix}cc; ac_word=$2
9.2981 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.2982 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.2983 +if test "${ac_cv_prog_CC+set}" = set; then
9.2984 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.2985 +else
9.2986 + if test -n "$CC"; then
9.2987 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.2988 +else
9.2989 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.2990 +for as_dir in $PATH
9.2991 +do
9.2992 + IFS=$as_save_IFS
9.2993 + test -z "$as_dir" && as_dir=.
9.2994 + for ac_exec_ext in '' $ac_executable_extensions; do
9.2995 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.2996 + ac_cv_prog_CC="${ac_tool_prefix}cc"
9.2997 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.2998 + break 2
9.2999 + fi
9.3000 +done
9.3001 +done
9.3002 +
9.3003 +fi
9.3004 +fi
9.3005 +CC=$ac_cv_prog_CC
9.3006 +if test -n "$CC"; then
9.3007 + echo "$as_me:$LINENO: result: $CC" >&5
9.3008 +echo "${ECHO_T}$CC" >&6
9.3009 +else
9.3010 + echo "$as_me:$LINENO: result: no" >&5
9.3011 +echo "${ECHO_T}no" >&6
9.3012 +fi
9.3013 +
9.3014 +fi
9.3015 +if test -z "$ac_cv_prog_CC"; then
9.3016 + ac_ct_CC=$CC
9.3017 + # Extract the first word of "cc", so it can be a program name with args.
9.3018 +set dummy cc; ac_word=$2
9.3019 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.3020 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.3021 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.3022 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3023 +else
9.3024 + if test -n "$ac_ct_CC"; then
9.3025 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.3026 +else
9.3027 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.3028 +for as_dir in $PATH
9.3029 +do
9.3030 + IFS=$as_save_IFS
9.3031 + test -z "$as_dir" && as_dir=.
9.3032 + for ac_exec_ext in '' $ac_executable_extensions; do
9.3033 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.3034 + ac_cv_prog_ac_ct_CC="cc"
9.3035 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.3036 + break 2
9.3037 + fi
9.3038 +done
9.3039 +done
9.3040 +
9.3041 +fi
9.3042 +fi
9.3043 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.3044 +if test -n "$ac_ct_CC"; then
9.3045 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.3046 +echo "${ECHO_T}$ac_ct_CC" >&6
9.3047 +else
9.3048 + echo "$as_me:$LINENO: result: no" >&5
9.3049 +echo "${ECHO_T}no" >&6
9.3050 +fi
9.3051 +
9.3052 + CC=$ac_ct_CC
9.3053 +else
9.3054 + CC="$ac_cv_prog_CC"
9.3055 +fi
9.3056 +
9.3057 +fi
9.3058 +if test -z "$CC"; then
9.3059 + # Extract the first word of "cc", so it can be a program name with args.
9.3060 +set dummy cc; ac_word=$2
9.3061 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.3062 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.3063 +if test "${ac_cv_prog_CC+set}" = set; then
9.3064 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3065 +else
9.3066 + if test -n "$CC"; then
9.3067 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.3068 +else
9.3069 + ac_prog_rejected=no
9.3070 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.3071 +for as_dir in $PATH
9.3072 +do
9.3073 + IFS=$as_save_IFS
9.3074 + test -z "$as_dir" && as_dir=.
9.3075 + for ac_exec_ext in '' $ac_executable_extensions; do
9.3076 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.3077 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9.3078 + ac_prog_rejected=yes
9.3079 + continue
9.3080 + fi
9.3081 + ac_cv_prog_CC="cc"
9.3082 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.3083 + break 2
9.3084 + fi
9.3085 +done
9.3086 +done
9.3087 +
9.3088 +if test $ac_prog_rejected = yes; then
9.3089 + # We found a bogon in the path, so make sure we never use it.
9.3090 + set dummy $ac_cv_prog_CC
9.3091 + shift
9.3092 + if test $# != 0; then
9.3093 + # We chose a different compiler from the bogus one.
9.3094 + # However, it has the same basename, so the bogon will be chosen
9.3095 + # first if we set CC to just the basename; use the full file name.
9.3096 + shift
9.3097 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9.3098 + fi
9.3099 +fi
9.3100 +fi
9.3101 +fi
9.3102 +CC=$ac_cv_prog_CC
9.3103 +if test -n "$CC"; then
9.3104 + echo "$as_me:$LINENO: result: $CC" >&5
9.3105 +echo "${ECHO_T}$CC" >&6
9.3106 +else
9.3107 + echo "$as_me:$LINENO: result: no" >&5
9.3108 +echo "${ECHO_T}no" >&6
9.3109 +fi
9.3110 +
9.3111 +fi
9.3112 +if test -z "$CC"; then
9.3113 + if test -n "$ac_tool_prefix"; then
9.3114 + for ac_prog in cl
9.3115 + do
9.3116 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9.3117 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9.3118 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.3119 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.3120 +if test "${ac_cv_prog_CC+set}" = set; then
9.3121 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3122 +else
9.3123 + if test -n "$CC"; then
9.3124 + ac_cv_prog_CC="$CC" # Let the user override the test.
9.3125 +else
9.3126 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.3127 +for as_dir in $PATH
9.3128 +do
9.3129 + IFS=$as_save_IFS
9.3130 + test -z "$as_dir" && as_dir=.
9.3131 + for ac_exec_ext in '' $ac_executable_extensions; do
9.3132 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.3133 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9.3134 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.3135 + break 2
9.3136 + fi
9.3137 +done
9.3138 +done
9.3139 +
9.3140 +fi
9.3141 +fi
9.3142 +CC=$ac_cv_prog_CC
9.3143 +if test -n "$CC"; then
9.3144 + echo "$as_me:$LINENO: result: $CC" >&5
9.3145 +echo "${ECHO_T}$CC" >&6
9.3146 +else
9.3147 + echo "$as_me:$LINENO: result: no" >&5
9.3148 +echo "${ECHO_T}no" >&6
9.3149 +fi
9.3150 +
9.3151 + test -n "$CC" && break
9.3152 + done
9.3153 +fi
9.3154 +if test -z "$CC"; then
9.3155 + ac_ct_CC=$CC
9.3156 + for ac_prog in cl
9.3157 +do
9.3158 + # Extract the first word of "$ac_prog", so it can be a program name with args.
9.3159 +set dummy $ac_prog; ac_word=$2
9.3160 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.3161 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.3162 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9.3163 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3164 +else
9.3165 + if test -n "$ac_ct_CC"; then
9.3166 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9.3167 +else
9.3168 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.3169 +for as_dir in $PATH
9.3170 +do
9.3171 + IFS=$as_save_IFS
9.3172 + test -z "$as_dir" && as_dir=.
9.3173 + for ac_exec_ext in '' $ac_executable_extensions; do
9.3174 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.3175 + ac_cv_prog_ac_ct_CC="$ac_prog"
9.3176 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.3177 + break 2
9.3178 + fi
9.3179 +done
9.3180 +done
9.3181 +
9.3182 +fi
9.3183 +fi
9.3184 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9.3185 +if test -n "$ac_ct_CC"; then
9.3186 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9.3187 +echo "${ECHO_T}$ac_ct_CC" >&6
9.3188 +else
9.3189 + echo "$as_me:$LINENO: result: no" >&5
9.3190 +echo "${ECHO_T}no" >&6
9.3191 +fi
9.3192 +
9.3193 + test -n "$ac_ct_CC" && break
9.3194 +done
9.3195 +
9.3196 + CC=$ac_ct_CC
9.3197 +fi
9.3198 +
9.3199 +fi
9.3200 +
9.3201 +
9.3202 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9.3203 +See \`config.log' for more details." >&5
9.3204 +echo "$as_me: error: no acceptable C compiler found in \$PATH
9.3205 +See \`config.log' for more details." >&2;}
9.3206 + { (exit 1); exit 1; }; }
9.3207 +
9.3208 +# Provide some information about the compiler.
9.3209 +echo "$as_me:$LINENO:" \
9.3210 + "checking for C compiler version" >&5
9.3211 +ac_compiler=`set X $ac_compile; echo $2`
9.3212 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9.3213 + (eval $ac_compiler --version </dev/null >&5) 2>&5
9.3214 + ac_status=$?
9.3215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3216 + (exit $ac_status); }
9.3217 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9.3218 + (eval $ac_compiler -v </dev/null >&5) 2>&5
9.3219 + ac_status=$?
9.3220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3221 + (exit $ac_status); }
9.3222 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9.3223 + (eval $ac_compiler -V </dev/null >&5) 2>&5
9.3224 + ac_status=$?
9.3225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3226 + (exit $ac_status); }
9.3227 +
9.3228 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9.3229 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9.3230 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
9.3231 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3232 +else
9.3233 + cat >conftest.$ac_ext <<_ACEOF
9.3234 +/* confdefs.h. */
9.3235 +_ACEOF
9.3236 +cat confdefs.h >>conftest.$ac_ext
9.3237 +cat >>conftest.$ac_ext <<_ACEOF
9.3238 +/* end confdefs.h. */
9.3239 +
9.3240 +int
9.3241 +main ()
9.3242 +{
9.3243 +#ifndef __GNUC__
9.3244 + choke me
9.3245 +#endif
9.3246 +
9.3247 + ;
9.3248 + return 0;
9.3249 +}
9.3250 +_ACEOF
9.3251 +rm -f conftest.$ac_objext
9.3252 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3253 + (eval $ac_compile) 2>conftest.er1
9.3254 + ac_status=$?
9.3255 + grep -v '^ *+' conftest.er1 >conftest.err
9.3256 + rm -f conftest.er1
9.3257 + cat conftest.err >&5
9.3258 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3259 + (exit $ac_status); } &&
9.3260 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3261 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3262 + (eval $ac_try) 2>&5
9.3263 + ac_status=$?
9.3264 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3265 + (exit $ac_status); }; } &&
9.3266 + { ac_try='test -s conftest.$ac_objext'
9.3267 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3268 + (eval $ac_try) 2>&5
9.3269 + ac_status=$?
9.3270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3271 + (exit $ac_status); }; }; then
9.3272 + ac_compiler_gnu=yes
9.3273 +else
9.3274 + echo "$as_me: failed program was:" >&5
9.3275 +sed 's/^/| /' conftest.$ac_ext >&5
9.3276 +
9.3277 +ac_compiler_gnu=no
9.3278 +fi
9.3279 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3280 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
9.3281 +
9.3282 +fi
9.3283 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9.3284 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9.3285 +GCC=`test $ac_compiler_gnu = yes && echo yes`
9.3286 +ac_test_CFLAGS=${CFLAGS+set}
9.3287 +ac_save_CFLAGS=$CFLAGS
9.3288 +CFLAGS="-g"
9.3289 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9.3290 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9.3291 +if test "${ac_cv_prog_cc_g+set}" = set; then
9.3292 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3293 +else
9.3294 + cat >conftest.$ac_ext <<_ACEOF
9.3295 +/* confdefs.h. */
9.3296 +_ACEOF
9.3297 +cat confdefs.h >>conftest.$ac_ext
9.3298 +cat >>conftest.$ac_ext <<_ACEOF
9.3299 +/* end confdefs.h. */
9.3300 +
9.3301 +int
9.3302 +main ()
9.3303 +{
9.3304 +
9.3305 + ;
9.3306 + return 0;
9.3307 +}
9.3308 +_ACEOF
9.3309 +rm -f conftest.$ac_objext
9.3310 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3311 + (eval $ac_compile) 2>conftest.er1
9.3312 + ac_status=$?
9.3313 + grep -v '^ *+' conftest.er1 >conftest.err
9.3314 + rm -f conftest.er1
9.3315 + cat conftest.err >&5
9.3316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3317 + (exit $ac_status); } &&
9.3318 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3319 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3320 + (eval $ac_try) 2>&5
9.3321 + ac_status=$?
9.3322 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3323 + (exit $ac_status); }; } &&
9.3324 + { ac_try='test -s conftest.$ac_objext'
9.3325 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3326 + (eval $ac_try) 2>&5
9.3327 + ac_status=$?
9.3328 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3329 + (exit $ac_status); }; }; then
9.3330 + ac_cv_prog_cc_g=yes
9.3331 +else
9.3332 + echo "$as_me: failed program was:" >&5
9.3333 +sed 's/^/| /' conftest.$ac_ext >&5
9.3334 +
9.3335 +ac_cv_prog_cc_g=no
9.3336 +fi
9.3337 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3338 +fi
9.3339 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9.3340 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9.3341 +if test "$ac_test_CFLAGS" = set; then
9.3342 + CFLAGS=$ac_save_CFLAGS
9.3343 +elif test $ac_cv_prog_cc_g = yes; then
9.3344 + if test "$GCC" = yes; then
9.3345 + CFLAGS="-g -O2"
9.3346 + else
9.3347 + CFLAGS="-g"
9.3348 + fi
9.3349 +else
9.3350 + if test "$GCC" = yes; then
9.3351 + CFLAGS="-O2"
9.3352 + else
9.3353 + CFLAGS=
9.3354 + fi
9.3355 +fi
9.3356 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
9.3357 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
9.3358 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
9.3359 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3360 +else
9.3361 + ac_cv_prog_cc_stdc=no
9.3362 +ac_save_CC=$CC
9.3363 +cat >conftest.$ac_ext <<_ACEOF
9.3364 +/* confdefs.h. */
9.3365 +_ACEOF
9.3366 +cat confdefs.h >>conftest.$ac_ext
9.3367 +cat >>conftest.$ac_ext <<_ACEOF
9.3368 +/* end confdefs.h. */
9.3369 +#include <stdarg.h>
9.3370 +#include <stdio.h>
9.3371 +#include <sys/types.h>
9.3372 +#include <sys/stat.h>
9.3373 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
9.3374 +struct buf { int x; };
9.3375 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
9.3376 +static char *e (p, i)
9.3377 + char **p;
9.3378 + int i;
9.3379 +{
9.3380 + return p[i];
9.3381 +}
9.3382 +static char *f (char * (*g) (char **, int), char **p, ...)
9.3383 +{
9.3384 + char *s;
9.3385 + va_list v;
9.3386 + va_start (v,p);
9.3387 + s = g (p, va_arg (v,int));
9.3388 + va_end (v);
9.3389 + return s;
9.3390 +}
9.3391 +
9.3392 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
9.3393 + function prototypes and stuff, but not '\xHH' hex character constants.
9.3394 + These don't provoke an error unfortunately, instead are silently treated
9.3395 + as 'x'. The following induces an error, until -std1 is added to get
9.3396 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
9.3397 + array size at least. It's necessary to write '\x00'==0 to get something
9.3398 + that's true only with -std1. */
9.3399 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
9.3400 +
9.3401 +int test (int i, double x);
9.3402 +struct s1 {int (*f) (int a);};
9.3403 +struct s2 {int (*f) (double a);};
9.3404 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
9.3405 +int argc;
9.3406 +char **argv;
9.3407 +int
9.3408 +main ()
9.3409 +{
9.3410 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
9.3411 + ;
9.3412 + return 0;
9.3413 +}
9.3414 +_ACEOF
9.3415 +# Don't try gcc -ansi; that turns off useful extensions and
9.3416 +# breaks some systems' header files.
9.3417 +# AIX -qlanglvl=ansi
9.3418 +# Ultrix and OSF/1 -std1
9.3419 +# HP-UX 10.20 and later -Ae
9.3420 +# HP-UX older versions -Aa -D_HPUX_SOURCE
9.3421 +# SVR4 -Xc -D__EXTENSIONS__
9.3422 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9.3423 +do
9.3424 + CC="$ac_save_CC $ac_arg"
9.3425 + rm -f conftest.$ac_objext
9.3426 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3427 + (eval $ac_compile) 2>conftest.er1
9.3428 + ac_status=$?
9.3429 + grep -v '^ *+' conftest.er1 >conftest.err
9.3430 + rm -f conftest.er1
9.3431 + cat conftest.err >&5
9.3432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3433 + (exit $ac_status); } &&
9.3434 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3435 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3436 + (eval $ac_try) 2>&5
9.3437 + ac_status=$?
9.3438 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3439 + (exit $ac_status); }; } &&
9.3440 + { ac_try='test -s conftest.$ac_objext'
9.3441 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3442 + (eval $ac_try) 2>&5
9.3443 + ac_status=$?
9.3444 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3445 + (exit $ac_status); }; }; then
9.3446 + ac_cv_prog_cc_stdc=$ac_arg
9.3447 +break
9.3448 +else
9.3449 + echo "$as_me: failed program was:" >&5
9.3450 +sed 's/^/| /' conftest.$ac_ext >&5
9.3451 +
9.3452 +fi
9.3453 +rm -f conftest.err conftest.$ac_objext
9.3454 +done
9.3455 +rm -f conftest.$ac_ext conftest.$ac_objext
9.3456 +CC=$ac_save_CC
9.3457 +
9.3458 +fi
9.3459 +
9.3460 +case "x$ac_cv_prog_cc_stdc" in
9.3461 + x|xno)
9.3462 + echo "$as_me:$LINENO: result: none needed" >&5
9.3463 +echo "${ECHO_T}none needed" >&6 ;;
9.3464 + *)
9.3465 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
9.3466 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
9.3467 + CC="$CC $ac_cv_prog_cc_stdc" ;;
9.3468 +esac
9.3469 +
9.3470 +# Some people use a C++ compiler to compile C. Since we use `exit',
9.3471 +# in C++ we need to declare it. In case someone uses the same compiler
9.3472 +# for both compiling C and C++ we need to have the C++ compiler decide
9.3473 +# the declaration of exit, since it's the most demanding environment.
9.3474 +cat >conftest.$ac_ext <<_ACEOF
9.3475 +#ifndef __cplusplus
9.3476 + choke me
9.3477 +#endif
9.3478 +_ACEOF
9.3479 +rm -f conftest.$ac_objext
9.3480 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3481 + (eval $ac_compile) 2>conftest.er1
9.3482 + ac_status=$?
9.3483 + grep -v '^ *+' conftest.er1 >conftest.err
9.3484 + rm -f conftest.er1
9.3485 + cat conftest.err >&5
9.3486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3487 + (exit $ac_status); } &&
9.3488 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3489 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3490 + (eval $ac_try) 2>&5
9.3491 + ac_status=$?
9.3492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3493 + (exit $ac_status); }; } &&
9.3494 + { ac_try='test -s conftest.$ac_objext'
9.3495 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3496 + (eval $ac_try) 2>&5
9.3497 + ac_status=$?
9.3498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3499 + (exit $ac_status); }; }; then
9.3500 + for ac_declaration in \
9.3501 + '' \
9.3502 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
9.3503 + 'extern "C" void std::exit (int); using std::exit;' \
9.3504 + 'extern "C" void exit (int) throw ();' \
9.3505 + 'extern "C" void exit (int);' \
9.3506 + 'void exit (int);'
9.3507 +do
9.3508 + cat >conftest.$ac_ext <<_ACEOF
9.3509 +/* confdefs.h. */
9.3510 +_ACEOF
9.3511 +cat confdefs.h >>conftest.$ac_ext
9.3512 +cat >>conftest.$ac_ext <<_ACEOF
9.3513 +/* end confdefs.h. */
9.3514 +$ac_declaration
9.3515 +#include <stdlib.h>
9.3516 +int
9.3517 +main ()
9.3518 +{
9.3519 +exit (42);
9.3520 + ;
9.3521 + return 0;
9.3522 +}
9.3523 +_ACEOF
9.3524 +rm -f conftest.$ac_objext
9.3525 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3526 + (eval $ac_compile) 2>conftest.er1
9.3527 + ac_status=$?
9.3528 + grep -v '^ *+' conftest.er1 >conftest.err
9.3529 + rm -f conftest.er1
9.3530 + cat conftest.err >&5
9.3531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3532 + (exit $ac_status); } &&
9.3533 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3534 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3535 + (eval $ac_try) 2>&5
9.3536 + ac_status=$?
9.3537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3538 + (exit $ac_status); }; } &&
9.3539 + { ac_try='test -s conftest.$ac_objext'
9.3540 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3541 + (eval $ac_try) 2>&5
9.3542 + ac_status=$?
9.3543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3544 + (exit $ac_status); }; }; then
9.3545 + :
9.3546 +else
9.3547 + echo "$as_me: failed program was:" >&5
9.3548 +sed 's/^/| /' conftest.$ac_ext >&5
9.3549 +
9.3550 +continue
9.3551 +fi
9.3552 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3553 + cat >conftest.$ac_ext <<_ACEOF
9.3554 +/* confdefs.h. */
9.3555 +_ACEOF
9.3556 +cat confdefs.h >>conftest.$ac_ext
9.3557 +cat >>conftest.$ac_ext <<_ACEOF
9.3558 +/* end confdefs.h. */
9.3559 +$ac_declaration
9.3560 +int
9.3561 +main ()
9.3562 +{
9.3563 +exit (42);
9.3564 + ;
9.3565 + return 0;
9.3566 +}
9.3567 +_ACEOF
9.3568 +rm -f conftest.$ac_objext
9.3569 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3570 + (eval $ac_compile) 2>conftest.er1
9.3571 + ac_status=$?
9.3572 + grep -v '^ *+' conftest.er1 >conftest.err
9.3573 + rm -f conftest.er1
9.3574 + cat conftest.err >&5
9.3575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3576 + (exit $ac_status); } &&
9.3577 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3578 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3579 + (eval $ac_try) 2>&5
9.3580 + ac_status=$?
9.3581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3582 + (exit $ac_status); }; } &&
9.3583 + { ac_try='test -s conftest.$ac_objext'
9.3584 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3585 + (eval $ac_try) 2>&5
9.3586 + ac_status=$?
9.3587 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3588 + (exit $ac_status); }; }; then
9.3589 + break
9.3590 +else
9.3591 + echo "$as_me: failed program was:" >&5
9.3592 +sed 's/^/| /' conftest.$ac_ext >&5
9.3593 +
9.3594 +fi
9.3595 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3596 +done
9.3597 +rm -f conftest*
9.3598 +if test -n "$ac_declaration"; then
9.3599 + echo '#ifdef __cplusplus' >>confdefs.h
9.3600 + echo $ac_declaration >>confdefs.h
9.3601 + echo '#endif' >>confdefs.h
9.3602 +fi
9.3603 +
9.3604 +else
9.3605 + echo "$as_me: failed program was:" >&5
9.3606 +sed 's/^/| /' conftest.$ac_ext >&5
9.3607 +
9.3608 +fi
9.3609 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3610 +ac_ext=c
9.3611 +ac_cpp='$CPP $CPPFLAGS'
9.3612 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.3613 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.3614 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.3615 +
9.3616 +depcc="$CC" am_compiler_list=
9.3617 +
9.3618 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9.3619 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9.3620 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9.3621 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3622 +else
9.3623 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9.3624 + # We make a subdir and do the tests there. Otherwise we can end up
9.3625 + # making bogus files that we don't know about and never remove. For
9.3626 + # instance it was reported that on HP-UX the gcc test will end up
9.3627 + # making a dummy file named `D' -- because `-MD' means `put the output
9.3628 + # in D'.
9.3629 + mkdir conftest.dir
9.3630 + # Copy depcomp to subdir because otherwise we won't find it if we're
9.3631 + # using a relative directory.
9.3632 + cp "$am_depcomp" conftest.dir
9.3633 + cd conftest.dir
9.3634 + # We will build objects and dependencies in a subdirectory because
9.3635 + # it helps to detect inapplicable dependency modes. For instance
9.3636 + # both Tru64's cc and ICC support -MD to output dependencies as a
9.3637 + # side effect of compilation, but ICC will put the dependencies in
9.3638 + # the current directory while Tru64 will put them in the object
9.3639 + # directory.
9.3640 + mkdir sub
9.3641 +
9.3642 + am_cv_CC_dependencies_compiler_type=none
9.3643 + if test "$am_compiler_list" = ""; then
9.3644 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9.3645 + fi
9.3646 + for depmode in $am_compiler_list; do
9.3647 + # Setup a source with many dependencies, because some compilers
9.3648 + # like to wrap large dependency lists on column 80 (with \), and
9.3649 + # we should not choose a depcomp mode which is confused by this.
9.3650 + #
9.3651 + # We need to recreate these files for each test, as the compiler may
9.3652 + # overwrite some of them when testing with obscure command lines.
9.3653 + # This happens at least with the AIX C compiler.
9.3654 + : > sub/conftest.c
9.3655 + for i in 1 2 3 4 5 6; do
9.3656 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
9.3657 + : > sub/conftst$i.h
9.3658 + done
9.3659 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9.3660 +
9.3661 + case $depmode in
9.3662 + nosideeffect)
9.3663 + # after this tag, mechanisms are not by side-effect, so they'll
9.3664 + # only be used when explicitly requested
9.3665 + if test "x$enable_dependency_tracking" = xyes; then
9.3666 + continue
9.3667 + else
9.3668 + break
9.3669 + fi
9.3670 + ;;
9.3671 + none) break ;;
9.3672 + esac
9.3673 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
9.3674 + # mode. It turns out that the SunPro C++ compiler does not properly
9.3675 + # handle `-M -o', and we need to detect this.
9.3676 + if depmode=$depmode \
9.3677 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9.3678 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9.3679 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9.3680 + >/dev/null 2>conftest.err &&
9.3681 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9.3682 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9.3683 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9.3684 + # icc doesn't choke on unknown options, it will just issue warnings
9.3685 + # (even with -Werror). So we grep stderr for any message
9.3686 + # that says an option was ignored.
9.3687 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
9.3688 + am_cv_CC_dependencies_compiler_type=$depmode
9.3689 + break
9.3690 + fi
9.3691 + fi
9.3692 + done
9.3693 +
9.3694 + cd ..
9.3695 + rm -rf conftest.dir
9.3696 +else
9.3697 + am_cv_CC_dependencies_compiler_type=none
9.3698 +fi
9.3699 +
9.3700 +fi
9.3701 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9.3702 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
9.3703 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9.3704 +
9.3705 +
9.3706 +
9.3707 +if
9.3708 + test "x$enable_dependency_tracking" != xno \
9.3709 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9.3710 + am__fastdepCC_TRUE=
9.3711 + am__fastdepCC_FALSE='#'
9.3712 +else
9.3713 + am__fastdepCC_TRUE='#'
9.3714 + am__fastdepCC_FALSE=
9.3715 +fi
9.3716 +
9.3717 +
9.3718 +
9.3719 +
9.3720 +
9.3721 +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
9.3722 +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
9.3723 +if test "${am_cv_prog_cc_stdc+set}" = set; then
9.3724 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3725 +else
9.3726 + am_cv_prog_cc_stdc=no
9.3727 +ac_save_CC="$CC"
9.3728 +# Don't try gcc -ansi; that turns off useful extensions and
9.3729 +# breaks some systems' header files.
9.3730 +# AIX -qlanglvl=ansi
9.3731 +# Ultrix and OSF/1 -std1
9.3732 +# HP-UX 10.20 and later -Ae
9.3733 +# HP-UX older versions -Aa -D_HPUX_SOURCE
9.3734 +# SVR4 -Xc -D__EXTENSIONS__
9.3735 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9.3736 +do
9.3737 + CC="$ac_save_CC $ac_arg"
9.3738 + cat >conftest.$ac_ext <<_ACEOF
9.3739 +/* confdefs.h. */
9.3740 +_ACEOF
9.3741 +cat confdefs.h >>conftest.$ac_ext
9.3742 +cat >>conftest.$ac_ext <<_ACEOF
9.3743 +/* end confdefs.h. */
9.3744 +#include <stdarg.h>
9.3745 +#include <stdio.h>
9.3746 +#include <sys/types.h>
9.3747 +#include <sys/stat.h>
9.3748 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
9.3749 +struct buf { int x; };
9.3750 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
9.3751 +static char *e (p, i)
9.3752 + char **p;
9.3753 + int i;
9.3754 +{
9.3755 + return p[i];
9.3756 +}
9.3757 +static char *f (char * (*g) (char **, int), char **p, ...)
9.3758 +{
9.3759 + char *s;
9.3760 + va_list v;
9.3761 + va_start (v,p);
9.3762 + s = g (p, va_arg (v,int));
9.3763 + va_end (v);
9.3764 + return s;
9.3765 +}
9.3766 +int test (int i, double x);
9.3767 +struct s1 {int (*f) (int a);};
9.3768 +struct s2 {int (*f) (double a);};
9.3769 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
9.3770 +int argc;
9.3771 +char **argv;
9.3772 +
9.3773 +int
9.3774 +main ()
9.3775 +{
9.3776 +
9.3777 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
9.3778 +
9.3779 + ;
9.3780 + return 0;
9.3781 +}
9.3782 +_ACEOF
9.3783 +rm -f conftest.$ac_objext
9.3784 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.3785 + (eval $ac_compile) 2>conftest.er1
9.3786 + ac_status=$?
9.3787 + grep -v '^ *+' conftest.er1 >conftest.err
9.3788 + rm -f conftest.er1
9.3789 + cat conftest.err >&5
9.3790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3791 + (exit $ac_status); } &&
9.3792 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.3793 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3794 + (eval $ac_try) 2>&5
9.3795 + ac_status=$?
9.3796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3797 + (exit $ac_status); }; } &&
9.3798 + { ac_try='test -s conftest.$ac_objext'
9.3799 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.3800 + (eval $ac_try) 2>&5
9.3801 + ac_status=$?
9.3802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3803 + (exit $ac_status); }; }; then
9.3804 + am_cv_prog_cc_stdc="$ac_arg"; break
9.3805 +else
9.3806 + echo "$as_me: failed program was:" >&5
9.3807 +sed 's/^/| /' conftest.$ac_ext >&5
9.3808 +
9.3809 +fi
9.3810 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.3811 +done
9.3812 +CC="$ac_save_CC"
9.3813 +
9.3814 +fi
9.3815 +
9.3816 +if test -z "$am_cv_prog_cc_stdc"; then
9.3817 + echo "$as_me:$LINENO: result: none needed" >&5
9.3818 +echo "${ECHO_T}none needed" >&6
9.3819 +else
9.3820 + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
9.3821 +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
9.3822 +fi
9.3823 +case "x$am_cv_prog_cc_stdc" in
9.3824 + x|xno) ;;
9.3825 + *) CC="$CC $am_cv_prog_cc_stdc" ;;
9.3826 +esac
9.3827 +
9.3828 +ac_ext=c
9.3829 +ac_cpp='$CPP $CPPFLAGS'
9.3830 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.3831 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.3832 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.3833 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9.3834 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
9.3835 +# On Suns, sometimes $CPP names a directory.
9.3836 +if test -n "$CPP" && test -d "$CPP"; then
9.3837 + CPP=
9.3838 +fi
9.3839 +if test -z "$CPP"; then
9.3840 + if test "${ac_cv_prog_CPP+set}" = set; then
9.3841 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.3842 +else
9.3843 + # Double quotes because CPP needs to be expanded
9.3844 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9.3845 + do
9.3846 + ac_preproc_ok=false
9.3847 +for ac_c_preproc_warn_flag in '' yes
9.3848 +do
9.3849 + # Use a header file that comes with gcc, so configuring glibc
9.3850 + # with a fresh cross-compiler works.
9.3851 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9.3852 + # <limits.h> exists even on freestanding compilers.
9.3853 + # On the NeXT, cc -E runs the code through the compiler's parser,
9.3854 + # not just through cpp. "Syntax error" is here to catch this case.
9.3855 + cat >conftest.$ac_ext <<_ACEOF
9.3856 +/* confdefs.h. */
9.3857 +_ACEOF
9.3858 +cat confdefs.h >>conftest.$ac_ext
9.3859 +cat >>conftest.$ac_ext <<_ACEOF
9.3860 +/* end confdefs.h. */
9.3861 +#ifdef __STDC__
9.3862 +# include <limits.h>
9.3863 +#else
9.3864 +# include <assert.h>
9.3865 +#endif
9.3866 + Syntax error
9.3867 +_ACEOF
9.3868 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.3869 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.3870 + ac_status=$?
9.3871 + grep -v '^ *+' conftest.er1 >conftest.err
9.3872 + rm -f conftest.er1
9.3873 + cat conftest.err >&5
9.3874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3875 + (exit $ac_status); } >/dev/null; then
9.3876 + if test -s conftest.err; then
9.3877 + ac_cpp_err=$ac_c_preproc_warn_flag
9.3878 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.3879 + else
9.3880 + ac_cpp_err=
9.3881 + fi
9.3882 +else
9.3883 + ac_cpp_err=yes
9.3884 +fi
9.3885 +if test -z "$ac_cpp_err"; then
9.3886 + :
9.3887 +else
9.3888 + echo "$as_me: failed program was:" >&5
9.3889 +sed 's/^/| /' conftest.$ac_ext >&5
9.3890 +
9.3891 + # Broken: fails on valid input.
9.3892 +continue
9.3893 +fi
9.3894 +rm -f conftest.err conftest.$ac_ext
9.3895 +
9.3896 + # OK, works on sane cases. Now check whether non-existent headers
9.3897 + # can be detected and how.
9.3898 + cat >conftest.$ac_ext <<_ACEOF
9.3899 +/* confdefs.h. */
9.3900 +_ACEOF
9.3901 +cat confdefs.h >>conftest.$ac_ext
9.3902 +cat >>conftest.$ac_ext <<_ACEOF
9.3903 +/* end confdefs.h. */
9.3904 +#include <ac_nonexistent.h>
9.3905 +_ACEOF
9.3906 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.3907 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.3908 + ac_status=$?
9.3909 + grep -v '^ *+' conftest.er1 >conftest.err
9.3910 + rm -f conftest.er1
9.3911 + cat conftest.err >&5
9.3912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3913 + (exit $ac_status); } >/dev/null; then
9.3914 + if test -s conftest.err; then
9.3915 + ac_cpp_err=$ac_c_preproc_warn_flag
9.3916 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.3917 + else
9.3918 + ac_cpp_err=
9.3919 + fi
9.3920 +else
9.3921 + ac_cpp_err=yes
9.3922 +fi
9.3923 +if test -z "$ac_cpp_err"; then
9.3924 + # Broken: success on invalid input.
9.3925 +continue
9.3926 +else
9.3927 + echo "$as_me: failed program was:" >&5
9.3928 +sed 's/^/| /' conftest.$ac_ext >&5
9.3929 +
9.3930 + # Passes both tests.
9.3931 +ac_preproc_ok=:
9.3932 +break
9.3933 +fi
9.3934 +rm -f conftest.err conftest.$ac_ext
9.3935 +
9.3936 +done
9.3937 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9.3938 +rm -f conftest.err conftest.$ac_ext
9.3939 +if $ac_preproc_ok; then
9.3940 + break
9.3941 +fi
9.3942 +
9.3943 + done
9.3944 + ac_cv_prog_CPP=$CPP
9.3945 +
9.3946 +fi
9.3947 + CPP=$ac_cv_prog_CPP
9.3948 +else
9.3949 + ac_cv_prog_CPP=$CPP
9.3950 +fi
9.3951 +echo "$as_me:$LINENO: result: $CPP" >&5
9.3952 +echo "${ECHO_T}$CPP" >&6
9.3953 +ac_preproc_ok=false
9.3954 +for ac_c_preproc_warn_flag in '' yes
9.3955 +do
9.3956 + # Use a header file that comes with gcc, so configuring glibc
9.3957 + # with a fresh cross-compiler works.
9.3958 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9.3959 + # <limits.h> exists even on freestanding compilers.
9.3960 + # On the NeXT, cc -E runs the code through the compiler's parser,
9.3961 + # not just through cpp. "Syntax error" is here to catch this case.
9.3962 + cat >conftest.$ac_ext <<_ACEOF
9.3963 +/* confdefs.h. */
9.3964 +_ACEOF
9.3965 +cat confdefs.h >>conftest.$ac_ext
9.3966 +cat >>conftest.$ac_ext <<_ACEOF
9.3967 +/* end confdefs.h. */
9.3968 +#ifdef __STDC__
9.3969 +# include <limits.h>
9.3970 +#else
9.3971 +# include <assert.h>
9.3972 +#endif
9.3973 + Syntax error
9.3974 +_ACEOF
9.3975 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.3976 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.3977 + ac_status=$?
9.3978 + grep -v '^ *+' conftest.er1 >conftest.err
9.3979 + rm -f conftest.er1
9.3980 + cat conftest.err >&5
9.3981 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.3982 + (exit $ac_status); } >/dev/null; then
9.3983 + if test -s conftest.err; then
9.3984 + ac_cpp_err=$ac_c_preproc_warn_flag
9.3985 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.3986 + else
9.3987 + ac_cpp_err=
9.3988 + fi
9.3989 +else
9.3990 + ac_cpp_err=yes
9.3991 +fi
9.3992 +if test -z "$ac_cpp_err"; then
9.3993 + :
9.3994 +else
9.3995 + echo "$as_me: failed program was:" >&5
9.3996 +sed 's/^/| /' conftest.$ac_ext >&5
9.3997 +
9.3998 + # Broken: fails on valid input.
9.3999 +continue
9.4000 +fi
9.4001 +rm -f conftest.err conftest.$ac_ext
9.4002 +
9.4003 + # OK, works on sane cases. Now check whether non-existent headers
9.4004 + # can be detected and how.
9.4005 + cat >conftest.$ac_ext <<_ACEOF
9.4006 +/* confdefs.h. */
9.4007 +_ACEOF
9.4008 +cat confdefs.h >>conftest.$ac_ext
9.4009 +cat >>conftest.$ac_ext <<_ACEOF
9.4010 +/* end confdefs.h. */
9.4011 +#include <ac_nonexistent.h>
9.4012 +_ACEOF
9.4013 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.4014 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.4015 + ac_status=$?
9.4016 + grep -v '^ *+' conftest.er1 >conftest.err
9.4017 + rm -f conftest.er1
9.4018 + cat conftest.err >&5
9.4019 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4020 + (exit $ac_status); } >/dev/null; then
9.4021 + if test -s conftest.err; then
9.4022 + ac_cpp_err=$ac_c_preproc_warn_flag
9.4023 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.4024 + else
9.4025 + ac_cpp_err=
9.4026 + fi
9.4027 +else
9.4028 + ac_cpp_err=yes
9.4029 +fi
9.4030 +if test -z "$ac_cpp_err"; then
9.4031 + # Broken: success on invalid input.
9.4032 +continue
9.4033 +else
9.4034 + echo "$as_me: failed program was:" >&5
9.4035 +sed 's/^/| /' conftest.$ac_ext >&5
9.4036 +
9.4037 + # Passes both tests.
9.4038 +ac_preproc_ok=:
9.4039 +break
9.4040 +fi
9.4041 +rm -f conftest.err conftest.$ac_ext
9.4042 +
9.4043 +done
9.4044 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9.4045 +rm -f conftest.err conftest.$ac_ext
9.4046 +if $ac_preproc_ok; then
9.4047 + :
9.4048 +else
9.4049 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9.4050 +See \`config.log' for more details." >&5
9.4051 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9.4052 +See \`config.log' for more details." >&2;}
9.4053 + { (exit 1); exit 1; }; }
9.4054 +fi
9.4055 +
9.4056 +ac_ext=c
9.4057 +ac_cpp='$CPP $CPPFLAGS'
9.4058 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9.4059 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9.4060 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9.4061 +
9.4062 +
9.4063 +echo "$as_me:$LINENO: checking for egrep" >&5
9.4064 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
9.4065 +if test "${ac_cv_prog_egrep+set}" = set; then
9.4066 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4067 +else
9.4068 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
9.4069 + then ac_cv_prog_egrep='grep -E'
9.4070 + else ac_cv_prog_egrep='egrep'
9.4071 + fi
9.4072 +fi
9.4073 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
9.4074 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
9.4075 + EGREP=$ac_cv_prog_egrep
9.4076 +
9.4077 +
9.4078 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9.4079 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9.4080 +if test "${ac_cv_header_stdc+set}" = set; then
9.4081 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4082 +else
9.4083 + cat >conftest.$ac_ext <<_ACEOF
9.4084 +/* confdefs.h. */
9.4085 +_ACEOF
9.4086 +cat confdefs.h >>conftest.$ac_ext
9.4087 +cat >>conftest.$ac_ext <<_ACEOF
9.4088 +/* end confdefs.h. */
9.4089 +#include <stdlib.h>
9.4090 +#include <stdarg.h>
9.4091 +#include <string.h>
9.4092 +#include <float.h>
9.4093 +
9.4094 +int
9.4095 +main ()
9.4096 +{
9.4097 +
9.4098 + ;
9.4099 + return 0;
9.4100 +}
9.4101 +_ACEOF
9.4102 +rm -f conftest.$ac_objext
9.4103 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.4104 + (eval $ac_compile) 2>conftest.er1
9.4105 + ac_status=$?
9.4106 + grep -v '^ *+' conftest.er1 >conftest.err
9.4107 + rm -f conftest.er1
9.4108 + cat conftest.err >&5
9.4109 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4110 + (exit $ac_status); } &&
9.4111 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4112 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4113 + (eval $ac_try) 2>&5
9.4114 + ac_status=$?
9.4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4116 + (exit $ac_status); }; } &&
9.4117 + { ac_try='test -s conftest.$ac_objext'
9.4118 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4119 + (eval $ac_try) 2>&5
9.4120 + ac_status=$?
9.4121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4122 + (exit $ac_status); }; }; then
9.4123 + ac_cv_header_stdc=yes
9.4124 +else
9.4125 + echo "$as_me: failed program was:" >&5
9.4126 +sed 's/^/| /' conftest.$ac_ext >&5
9.4127 +
9.4128 +ac_cv_header_stdc=no
9.4129 +fi
9.4130 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.4131 +
9.4132 +if test $ac_cv_header_stdc = yes; then
9.4133 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9.4134 + cat >conftest.$ac_ext <<_ACEOF
9.4135 +/* confdefs.h. */
9.4136 +_ACEOF
9.4137 +cat confdefs.h >>conftest.$ac_ext
9.4138 +cat >>conftest.$ac_ext <<_ACEOF
9.4139 +/* end confdefs.h. */
9.4140 +#include <string.h>
9.4141 +
9.4142 +_ACEOF
9.4143 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9.4144 + $EGREP "memchr" >/dev/null 2>&1; then
9.4145 + :
9.4146 +else
9.4147 + ac_cv_header_stdc=no
9.4148 +fi
9.4149 +rm -f conftest*
9.4150 +
9.4151 +fi
9.4152 +
9.4153 +if test $ac_cv_header_stdc = yes; then
9.4154 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9.4155 + cat >conftest.$ac_ext <<_ACEOF
9.4156 +/* confdefs.h. */
9.4157 +_ACEOF
9.4158 +cat confdefs.h >>conftest.$ac_ext
9.4159 +cat >>conftest.$ac_ext <<_ACEOF
9.4160 +/* end confdefs.h. */
9.4161 +#include <stdlib.h>
9.4162 +
9.4163 +_ACEOF
9.4164 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9.4165 + $EGREP "free" >/dev/null 2>&1; then
9.4166 + :
9.4167 +else
9.4168 + ac_cv_header_stdc=no
9.4169 +fi
9.4170 +rm -f conftest*
9.4171 +
9.4172 +fi
9.4173 +
9.4174 +if test $ac_cv_header_stdc = yes; then
9.4175 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9.4176 + if test "$cross_compiling" = yes; then
9.4177 + :
9.4178 +else
9.4179 + cat >conftest.$ac_ext <<_ACEOF
9.4180 +/* confdefs.h. */
9.4181 +_ACEOF
9.4182 +cat confdefs.h >>conftest.$ac_ext
9.4183 +cat >>conftest.$ac_ext <<_ACEOF
9.4184 +/* end confdefs.h. */
9.4185 +#include <ctype.h>
9.4186 +#if ((' ' & 0x0FF) == 0x020)
9.4187 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9.4188 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9.4189 +#else
9.4190 +# define ISLOWER(c) \
9.4191 + (('a' <= (c) && (c) <= 'i') \
9.4192 + || ('j' <= (c) && (c) <= 'r') \
9.4193 + || ('s' <= (c) && (c) <= 'z'))
9.4194 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9.4195 +#endif
9.4196 +
9.4197 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9.4198 +int
9.4199 +main ()
9.4200 +{
9.4201 + int i;
9.4202 + for (i = 0; i < 256; i++)
9.4203 + if (XOR (islower (i), ISLOWER (i))
9.4204 + || toupper (i) != TOUPPER (i))
9.4205 + exit(2);
9.4206 + exit (0);
9.4207 +}
9.4208 +_ACEOF
9.4209 +rm -f conftest$ac_exeext
9.4210 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.4211 + (eval $ac_link) 2>&5
9.4212 + ac_status=$?
9.4213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4214 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9.4215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4216 + (eval $ac_try) 2>&5
9.4217 + ac_status=$?
9.4218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4219 + (exit $ac_status); }; }; then
9.4220 + :
9.4221 +else
9.4222 + echo "$as_me: program exited with status $ac_status" >&5
9.4223 +echo "$as_me: failed program was:" >&5
9.4224 +sed 's/^/| /' conftest.$ac_ext >&5
9.4225 +
9.4226 +( exit $ac_status )
9.4227 +ac_cv_header_stdc=no
9.4228 +fi
9.4229 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9.4230 +fi
9.4231 +fi
9.4232 +fi
9.4233 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9.4234 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
9.4235 +if test $ac_cv_header_stdc = yes; then
9.4236 +
9.4237 +cat >>confdefs.h <<\_ACEOF
9.4238 +#define STDC_HEADERS 1
9.4239 +_ACEOF
9.4240 +
9.4241 +fi
9.4242 +
9.4243 +
9.4244 +pkg_modules="libgnomeui-2.0"
9.4245 +
9.4246 + succeeded=no
9.4247 +
9.4248 + if test -z "$PKG_CONFIG"; then
9.4249 + # Extract the first word of "pkg-config", so it can be a program name with args.
9.4250 +set dummy pkg-config; ac_word=$2
9.4251 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.4252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.4253 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9.4254 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4255 +else
9.4256 + case $PKG_CONFIG in
9.4257 + [\\/]* | ?:[\\/]*)
9.4258 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9.4259 + ;;
9.4260 + *)
9.4261 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.4262 +for as_dir in $PATH
9.4263 +do
9.4264 + IFS=$as_save_IFS
9.4265 + test -z "$as_dir" && as_dir=.
9.4266 + for ac_exec_ext in '' $ac_executable_extensions; do
9.4267 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.4268 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9.4269 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.4270 + break 2
9.4271 + fi
9.4272 +done
9.4273 +done
9.4274 +
9.4275 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9.4276 + ;;
9.4277 +esac
9.4278 +fi
9.4279 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9.4280 +
9.4281 +if test -n "$PKG_CONFIG"; then
9.4282 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9.4283 +echo "${ECHO_T}$PKG_CONFIG" >&6
9.4284 +else
9.4285 + echo "$as_me:$LINENO: result: no" >&5
9.4286 +echo "${ECHO_T}no" >&6
9.4287 +fi
9.4288 +
9.4289 + fi
9.4290 +
9.4291 + if test "$PKG_CONFIG" = "no" ; then
9.4292 + echo "*** The pkg-config script could not be found. Make sure it is"
9.4293 + echo "*** in your path, or set the PKG_CONFIG environment variable"
9.4294 + echo "*** to the full path to pkg-config."
9.4295 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9.4296 + else
9.4297 + PKG_CONFIG_MIN_VERSION=0.9.0
9.4298 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9.4299 + echo "$as_me:$LINENO: checking for $pkg_modules" >&5
9.4300 +echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
9.4301 +
9.4302 + if $PKG_CONFIG --exists "$pkg_modules" ; then
9.4303 + echo "$as_me:$LINENO: result: yes" >&5
9.4304 +echo "${ECHO_T}yes" >&6
9.4305 + succeeded=yes
9.4306 +
9.4307 + echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
9.4308 +echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
9.4309 + PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"`
9.4310 + echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
9.4311 +echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
9.4312 +
9.4313 + echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
9.4314 +echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
9.4315 + PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"`
9.4316 + echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
9.4317 +echo "${ECHO_T}$PACKAGE_LIBS" >&6
9.4318 + else
9.4319 + PACKAGE_CFLAGS=""
9.4320 + PACKAGE_LIBS=""
9.4321 + ## If we have a custom action on failure, don't print errors, but
9.4322 + ## do set a variable so people can do so.
9.4323 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
9.4324 + echo $PACKAGE_PKG_ERRORS
9.4325 + fi
9.4326 +
9.4327 +
9.4328 +
9.4329 + else
9.4330 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9.4331 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
9.4332 + fi
9.4333 + fi
9.4334 +
9.4335 + if test $succeeded = yes; then
9.4336 + :
9.4337 + else
9.4338 + { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9.4339 +echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9.4340 + { (exit 1); exit 1; }; }
9.4341 + fi
9.4342 +
9.4343 +
9.4344 +
9.4345 +
9.4346 +GETTEXT_PACKAGE=dream
9.4347 +
9.4348 +cat >>confdefs.h <<_ACEOF
9.4349 +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
9.4350 +_ACEOF
9.4351 +
9.4352 +
9.4353 +ALL_LINGUAS=""
9.4354 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9.4355 +
9.4356 +
9.4357 +
9.4358 +
9.4359 +
9.4360 +
9.4361 +
9.4362 +
9.4363 +
9.4364 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9.4365 + inttypes.h stdint.h unistd.h
9.4366 +do
9.4367 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9.4368 +echo "$as_me:$LINENO: checking for $ac_header" >&5
9.4369 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9.4370 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9.4371 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4372 +else
9.4373 + cat >conftest.$ac_ext <<_ACEOF
9.4374 +/* confdefs.h. */
9.4375 +_ACEOF
9.4376 +cat confdefs.h >>conftest.$ac_ext
9.4377 +cat >>conftest.$ac_ext <<_ACEOF
9.4378 +/* end confdefs.h. */
9.4379 +$ac_includes_default
9.4380 +
9.4381 +#include <$ac_header>
9.4382 +_ACEOF
9.4383 +rm -f conftest.$ac_objext
9.4384 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.4385 + (eval $ac_compile) 2>conftest.er1
9.4386 + ac_status=$?
9.4387 + grep -v '^ *+' conftest.er1 >conftest.err
9.4388 + rm -f conftest.er1
9.4389 + cat conftest.err >&5
9.4390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4391 + (exit $ac_status); } &&
9.4392 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4393 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4394 + (eval $ac_try) 2>&5
9.4395 + ac_status=$?
9.4396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4397 + (exit $ac_status); }; } &&
9.4398 + { ac_try='test -s conftest.$ac_objext'
9.4399 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4400 + (eval $ac_try) 2>&5
9.4401 + ac_status=$?
9.4402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4403 + (exit $ac_status); }; }; then
9.4404 + eval "$as_ac_Header=yes"
9.4405 +else
9.4406 + echo "$as_me: failed program was:" >&5
9.4407 +sed 's/^/| /' conftest.$ac_ext >&5
9.4408 +
9.4409 +eval "$as_ac_Header=no"
9.4410 +fi
9.4411 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.4412 +fi
9.4413 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9.4414 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9.4415 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
9.4416 + cat >>confdefs.h <<_ACEOF
9.4417 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9.4418 +_ACEOF
9.4419 +
9.4420 +fi
9.4421 +
9.4422 +done
9.4423 +
9.4424 +
9.4425 +
9.4426 +
9.4427 +for ac_header in locale.h
9.4428 +do
9.4429 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9.4430 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9.4431 + echo "$as_me:$LINENO: checking for $ac_header" >&5
9.4432 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9.4433 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9.4434 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4435 +fi
9.4436 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9.4437 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9.4438 +else
9.4439 + # Is the header compilable?
9.4440 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
9.4441 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9.4442 +cat >conftest.$ac_ext <<_ACEOF
9.4443 +/* confdefs.h. */
9.4444 +_ACEOF
9.4445 +cat confdefs.h >>conftest.$ac_ext
9.4446 +cat >>conftest.$ac_ext <<_ACEOF
9.4447 +/* end confdefs.h. */
9.4448 +$ac_includes_default
9.4449 +#include <$ac_header>
9.4450 +_ACEOF
9.4451 +rm -f conftest.$ac_objext
9.4452 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.4453 + (eval $ac_compile) 2>conftest.er1
9.4454 + ac_status=$?
9.4455 + grep -v '^ *+' conftest.er1 >conftest.err
9.4456 + rm -f conftest.er1
9.4457 + cat conftest.err >&5
9.4458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4459 + (exit $ac_status); } &&
9.4460 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4462 + (eval $ac_try) 2>&5
9.4463 + ac_status=$?
9.4464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4465 + (exit $ac_status); }; } &&
9.4466 + { ac_try='test -s conftest.$ac_objext'
9.4467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4468 + (eval $ac_try) 2>&5
9.4469 + ac_status=$?
9.4470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4471 + (exit $ac_status); }; }; then
9.4472 + ac_header_compiler=yes
9.4473 +else
9.4474 + echo "$as_me: failed program was:" >&5
9.4475 +sed 's/^/| /' conftest.$ac_ext >&5
9.4476 +
9.4477 +ac_header_compiler=no
9.4478 +fi
9.4479 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.4480 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9.4481 +echo "${ECHO_T}$ac_header_compiler" >&6
9.4482 +
9.4483 +# Is the header present?
9.4484 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
9.4485 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9.4486 +cat >conftest.$ac_ext <<_ACEOF
9.4487 +/* confdefs.h. */
9.4488 +_ACEOF
9.4489 +cat confdefs.h >>conftest.$ac_ext
9.4490 +cat >>conftest.$ac_ext <<_ACEOF
9.4491 +/* end confdefs.h. */
9.4492 +#include <$ac_header>
9.4493 +_ACEOF
9.4494 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.4495 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.4496 + ac_status=$?
9.4497 + grep -v '^ *+' conftest.er1 >conftest.err
9.4498 + rm -f conftest.er1
9.4499 + cat conftest.err >&5
9.4500 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4501 + (exit $ac_status); } >/dev/null; then
9.4502 + if test -s conftest.err; then
9.4503 + ac_cpp_err=$ac_c_preproc_warn_flag
9.4504 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.4505 + else
9.4506 + ac_cpp_err=
9.4507 + fi
9.4508 +else
9.4509 + ac_cpp_err=yes
9.4510 +fi
9.4511 +if test -z "$ac_cpp_err"; then
9.4512 + ac_header_preproc=yes
9.4513 +else
9.4514 + echo "$as_me: failed program was:" >&5
9.4515 +sed 's/^/| /' conftest.$ac_ext >&5
9.4516 +
9.4517 + ac_header_preproc=no
9.4518 +fi
9.4519 +rm -f conftest.err conftest.$ac_ext
9.4520 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9.4521 +echo "${ECHO_T}$ac_header_preproc" >&6
9.4522 +
9.4523 +# So? What about this header?
9.4524 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9.4525 + yes:no: )
9.4526 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9.4527 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9.4528 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9.4529 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9.4530 + ac_header_preproc=yes
9.4531 + ;;
9.4532 + no:yes:* )
9.4533 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9.4534 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9.4535 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9.4536 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9.4537 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9.4538 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9.4539 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9.4540 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9.4541 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9.4542 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9.4543 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9.4544 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9.4545 + (
9.4546 + cat <<\_ASBOX
9.4547 +## ------------------------------------------ ##
9.4548 +## Report this to the AC_PACKAGE_NAME lists. ##
9.4549 +## ------------------------------------------ ##
9.4550 +_ASBOX
9.4551 + ) |
9.4552 + sed "s/^/$as_me: WARNING: /" >&2
9.4553 + ;;
9.4554 +esac
9.4555 +echo "$as_me:$LINENO: checking for $ac_header" >&5
9.4556 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9.4557 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9.4558 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4559 +else
9.4560 + eval "$as_ac_Header=\$ac_header_preproc"
9.4561 +fi
9.4562 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9.4563 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9.4564 +
9.4565 +fi
9.4566 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
9.4567 + cat >>confdefs.h <<_ACEOF
9.4568 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9.4569 +_ACEOF
9.4570 +
9.4571 +fi
9.4572 +
9.4573 +done
9.4574 +
9.4575 + if test $ac_cv_header_locale_h = yes; then
9.4576 + echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9.4577 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
9.4578 +if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9.4579 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4580 +else
9.4581 + cat >conftest.$ac_ext <<_ACEOF
9.4582 +/* confdefs.h. */
9.4583 +_ACEOF
9.4584 +cat confdefs.h >>conftest.$ac_ext
9.4585 +cat >>conftest.$ac_ext <<_ACEOF
9.4586 +/* end confdefs.h. */
9.4587 +#include <locale.h>
9.4588 +int
9.4589 +main ()
9.4590 +{
9.4591 +return LC_MESSAGES
9.4592 + ;
9.4593 + return 0;
9.4594 +}
9.4595 +_ACEOF
9.4596 +rm -f conftest.$ac_objext conftest$ac_exeext
9.4597 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.4598 + (eval $ac_link) 2>conftest.er1
9.4599 + ac_status=$?
9.4600 + grep -v '^ *+' conftest.er1 >conftest.err
9.4601 + rm -f conftest.er1
9.4602 + cat conftest.err >&5
9.4603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4604 + (exit $ac_status); } &&
9.4605 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4606 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4607 + (eval $ac_try) 2>&5
9.4608 + ac_status=$?
9.4609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4610 + (exit $ac_status); }; } &&
9.4611 + { ac_try='test -s conftest$ac_exeext'
9.4612 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4613 + (eval $ac_try) 2>&5
9.4614 + ac_status=$?
9.4615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4616 + (exit $ac_status); }; }; then
9.4617 + am_cv_val_LC_MESSAGES=yes
9.4618 +else
9.4619 + echo "$as_me: failed program was:" >&5
9.4620 +sed 's/^/| /' conftest.$ac_ext >&5
9.4621 +
9.4622 +am_cv_val_LC_MESSAGES=no
9.4623 +fi
9.4624 +rm -f conftest.err conftest.$ac_objext \
9.4625 + conftest$ac_exeext conftest.$ac_ext
9.4626 +fi
9.4627 +echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9.4628 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
9.4629 + if test $am_cv_val_LC_MESSAGES = yes; then
9.4630 +
9.4631 +cat >>confdefs.h <<\_ACEOF
9.4632 +#define HAVE_LC_MESSAGES 1
9.4633 +_ACEOF
9.4634 +
9.4635 + fi
9.4636 + fi
9.4637 + USE_NLS=yes
9.4638 +
9.4639 +
9.4640 + gt_cv_have_gettext=no
9.4641 +
9.4642 + CATOBJEXT=NONE
9.4643 + XGETTEXT=:
9.4644 + INTLLIBS=
9.4645 +
9.4646 + if test "${ac_cv_header_libintl_h+set}" = set; then
9.4647 + echo "$as_me:$LINENO: checking for libintl.h" >&5
9.4648 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
9.4649 +if test "${ac_cv_header_libintl_h+set}" = set; then
9.4650 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4651 +fi
9.4652 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
9.4653 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
9.4654 +else
9.4655 + # Is the header compilable?
9.4656 +echo "$as_me:$LINENO: checking libintl.h usability" >&5
9.4657 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
9.4658 +cat >conftest.$ac_ext <<_ACEOF
9.4659 +/* confdefs.h. */
9.4660 +_ACEOF
9.4661 +cat confdefs.h >>conftest.$ac_ext
9.4662 +cat >>conftest.$ac_ext <<_ACEOF
9.4663 +/* end confdefs.h. */
9.4664 +$ac_includes_default
9.4665 +#include <libintl.h>
9.4666 +_ACEOF
9.4667 +rm -f conftest.$ac_objext
9.4668 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9.4669 + (eval $ac_compile) 2>conftest.er1
9.4670 + ac_status=$?
9.4671 + grep -v '^ *+' conftest.er1 >conftest.err
9.4672 + rm -f conftest.er1
9.4673 + cat conftest.err >&5
9.4674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4675 + (exit $ac_status); } &&
9.4676 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4677 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4678 + (eval $ac_try) 2>&5
9.4679 + ac_status=$?
9.4680 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4681 + (exit $ac_status); }; } &&
9.4682 + { ac_try='test -s conftest.$ac_objext'
9.4683 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4684 + (eval $ac_try) 2>&5
9.4685 + ac_status=$?
9.4686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4687 + (exit $ac_status); }; }; then
9.4688 + ac_header_compiler=yes
9.4689 +else
9.4690 + echo "$as_me: failed program was:" >&5
9.4691 +sed 's/^/| /' conftest.$ac_ext >&5
9.4692 +
9.4693 +ac_header_compiler=no
9.4694 +fi
9.4695 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9.4696 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9.4697 +echo "${ECHO_T}$ac_header_compiler" >&6
9.4698 +
9.4699 +# Is the header present?
9.4700 +echo "$as_me:$LINENO: checking libintl.h presence" >&5
9.4701 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
9.4702 +cat >conftest.$ac_ext <<_ACEOF
9.4703 +/* confdefs.h. */
9.4704 +_ACEOF
9.4705 +cat confdefs.h >>conftest.$ac_ext
9.4706 +cat >>conftest.$ac_ext <<_ACEOF
9.4707 +/* end confdefs.h. */
9.4708 +#include <libintl.h>
9.4709 +_ACEOF
9.4710 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9.4711 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9.4712 + ac_status=$?
9.4713 + grep -v '^ *+' conftest.er1 >conftest.err
9.4714 + rm -f conftest.er1
9.4715 + cat conftest.err >&5
9.4716 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4717 + (exit $ac_status); } >/dev/null; then
9.4718 + if test -s conftest.err; then
9.4719 + ac_cpp_err=$ac_c_preproc_warn_flag
9.4720 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9.4721 + else
9.4722 + ac_cpp_err=
9.4723 + fi
9.4724 +else
9.4725 + ac_cpp_err=yes
9.4726 +fi
9.4727 +if test -z "$ac_cpp_err"; then
9.4728 + ac_header_preproc=yes
9.4729 +else
9.4730 + echo "$as_me: failed program was:" >&5
9.4731 +sed 's/^/| /' conftest.$ac_ext >&5
9.4732 +
9.4733 + ac_header_preproc=no
9.4734 +fi
9.4735 +rm -f conftest.err conftest.$ac_ext
9.4736 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9.4737 +echo "${ECHO_T}$ac_header_preproc" >&6
9.4738 +
9.4739 +# So? What about this header?
9.4740 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9.4741 + yes:no: )
9.4742 + { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
9.4743 +echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9.4744 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
9.4745 +echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
9.4746 + ac_header_preproc=yes
9.4747 + ;;
9.4748 + no:yes:* )
9.4749 + { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
9.4750 +echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
9.4751 + { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
9.4752 +echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
9.4753 + { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
9.4754 +echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
9.4755 + { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
9.4756 +echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
9.4757 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
9.4758 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
9.4759 + { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
9.4760 +echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
9.4761 + (
9.4762 + cat <<\_ASBOX
9.4763 +## ------------------------------------------ ##
9.4764 +## Report this to the AC_PACKAGE_NAME lists. ##
9.4765 +## ------------------------------------------ ##
9.4766 +_ASBOX
9.4767 + ) |
9.4768 + sed "s/^/$as_me: WARNING: /" >&2
9.4769 + ;;
9.4770 +esac
9.4771 +echo "$as_me:$LINENO: checking for libintl.h" >&5
9.4772 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
9.4773 +if test "${ac_cv_header_libintl_h+set}" = set; then
9.4774 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4775 +else
9.4776 + ac_cv_header_libintl_h=$ac_header_preproc
9.4777 +fi
9.4778 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
9.4779 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
9.4780 +
9.4781 +fi
9.4782 +if test $ac_cv_header_libintl_h = yes; then
9.4783 + gt_cv_func_dgettext_libintl="no"
9.4784 + libintl_extra_libs=""
9.4785 +
9.4786 + #
9.4787 + # First check in libc
9.4788 + #
9.4789 + echo "$as_me:$LINENO: checking for dgettext in libc" >&5
9.4790 +echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
9.4791 +if test "${gt_cv_func_dgettext_libc+set}" = set; then
9.4792 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4793 +else
9.4794 + cat >conftest.$ac_ext <<_ACEOF
9.4795 +/* confdefs.h. */
9.4796 +_ACEOF
9.4797 +cat confdefs.h >>conftest.$ac_ext
9.4798 +cat >>conftest.$ac_ext <<_ACEOF
9.4799 +/* end confdefs.h. */
9.4800 +
9.4801 +#include <libintl.h>
9.4802 +
9.4803 +int
9.4804 +main ()
9.4805 +{
9.4806 +return (int) dgettext ("","")
9.4807 + ;
9.4808 + return 0;
9.4809 +}
9.4810 +_ACEOF
9.4811 +rm -f conftest.$ac_objext conftest$ac_exeext
9.4812 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.4813 + (eval $ac_link) 2>conftest.er1
9.4814 + ac_status=$?
9.4815 + grep -v '^ *+' conftest.er1 >conftest.err
9.4816 + rm -f conftest.er1
9.4817 + cat conftest.err >&5
9.4818 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4819 + (exit $ac_status); } &&
9.4820 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4821 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4822 + (eval $ac_try) 2>&5
9.4823 + ac_status=$?
9.4824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4825 + (exit $ac_status); }; } &&
9.4826 + { ac_try='test -s conftest$ac_exeext'
9.4827 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4828 + (eval $ac_try) 2>&5
9.4829 + ac_status=$?
9.4830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4831 + (exit $ac_status); }; }; then
9.4832 + gt_cv_func_dgettext_libc=yes
9.4833 +else
9.4834 + echo "$as_me: failed program was:" >&5
9.4835 +sed 's/^/| /' conftest.$ac_ext >&5
9.4836 +
9.4837 +gt_cv_func_dgettext_libc=no
9.4838 +fi
9.4839 +rm -f conftest.err conftest.$ac_objext \
9.4840 + conftest$ac_exeext conftest.$ac_ext
9.4841 +
9.4842 +fi
9.4843 +echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
9.4844 +echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
9.4845 +
9.4846 + if test "$gt_cv_func_dgettext_libc" = "yes" ; then
9.4847 +
9.4848 +for ac_func in bind_textdomain_codeset
9.4849 +do
9.4850 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9.4851 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9.4852 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9.4853 +if eval "test \"\${$as_ac_var+set}\" = set"; then
9.4854 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4855 +else
9.4856 + cat >conftest.$ac_ext <<_ACEOF
9.4857 +/* confdefs.h. */
9.4858 +_ACEOF
9.4859 +cat confdefs.h >>conftest.$ac_ext
9.4860 +cat >>conftest.$ac_ext <<_ACEOF
9.4861 +/* end confdefs.h. */
9.4862 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9.4863 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
9.4864 +#define $ac_func innocuous_$ac_func
9.4865 +
9.4866 +/* System header to define __stub macros and hopefully few prototypes,
9.4867 + which can conflict with char $ac_func (); below.
9.4868 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9.4869 + <limits.h> exists even on freestanding compilers. */
9.4870 +
9.4871 +#ifdef __STDC__
9.4872 +# include <limits.h>
9.4873 +#else
9.4874 +# include <assert.h>
9.4875 +#endif
9.4876 +
9.4877 +#undef $ac_func
9.4878 +
9.4879 +/* Override any gcc2 internal prototype to avoid an error. */
9.4880 +#ifdef __cplusplus
9.4881 +extern "C"
9.4882 +{
9.4883 +#endif
9.4884 +/* We use char because int might match the return type of a gcc2
9.4885 + builtin and then its argument prototype would still apply. */
9.4886 +char $ac_func ();
9.4887 +/* The GNU C library defines this for functions which it implements
9.4888 + to always fail with ENOSYS. Some functions are actually named
9.4889 + something starting with __ and the normal name is an alias. */
9.4890 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9.4891 +choke me
9.4892 +#else
9.4893 +char (*f) () = $ac_func;
9.4894 +#endif
9.4895 +#ifdef __cplusplus
9.4896 +}
9.4897 +#endif
9.4898 +
9.4899 +int
9.4900 +main ()
9.4901 +{
9.4902 +return f != $ac_func;
9.4903 + ;
9.4904 + return 0;
9.4905 +}
9.4906 +_ACEOF
9.4907 +rm -f conftest.$ac_objext conftest$ac_exeext
9.4908 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.4909 + (eval $ac_link) 2>conftest.er1
9.4910 + ac_status=$?
9.4911 + grep -v '^ *+' conftest.er1 >conftest.err
9.4912 + rm -f conftest.er1
9.4913 + cat conftest.err >&5
9.4914 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4915 + (exit $ac_status); } &&
9.4916 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4917 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4918 + (eval $ac_try) 2>&5
9.4919 + ac_status=$?
9.4920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4921 + (exit $ac_status); }; } &&
9.4922 + { ac_try='test -s conftest$ac_exeext'
9.4923 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4924 + (eval $ac_try) 2>&5
9.4925 + ac_status=$?
9.4926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4927 + (exit $ac_status); }; }; then
9.4928 + eval "$as_ac_var=yes"
9.4929 +else
9.4930 + echo "$as_me: failed program was:" >&5
9.4931 +sed 's/^/| /' conftest.$ac_ext >&5
9.4932 +
9.4933 +eval "$as_ac_var=no"
9.4934 +fi
9.4935 +rm -f conftest.err conftest.$ac_objext \
9.4936 + conftest$ac_exeext conftest.$ac_ext
9.4937 +fi
9.4938 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9.4939 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9.4940 +if test `eval echo '${'$as_ac_var'}'` = yes; then
9.4941 + cat >>confdefs.h <<_ACEOF
9.4942 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9.4943 +_ACEOF
9.4944 +
9.4945 +fi
9.4946 +done
9.4947 +
9.4948 + fi
9.4949 +
9.4950 + #
9.4951 + # If we don't have everything we want, check in libintl
9.4952 + #
9.4953 + if test "$gt_cv_func_dgettext_libc" != "yes" \
9.4954 + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
9.4955 +
9.4956 + echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
9.4957 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
9.4958 +if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
9.4959 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.4960 +else
9.4961 + ac_check_lib_save_LIBS=$LIBS
9.4962 +LIBS="-lintl $LIBS"
9.4963 +cat >conftest.$ac_ext <<_ACEOF
9.4964 +/* confdefs.h. */
9.4965 +_ACEOF
9.4966 +cat confdefs.h >>conftest.$ac_ext
9.4967 +cat >>conftest.$ac_ext <<_ACEOF
9.4968 +/* end confdefs.h. */
9.4969 +
9.4970 +/* Override any gcc2 internal prototype to avoid an error. */
9.4971 +#ifdef __cplusplus
9.4972 +extern "C"
9.4973 +#endif
9.4974 +/* We use char because int might match the return type of a gcc2
9.4975 + builtin and then its argument prototype would still apply. */
9.4976 +char bindtextdomain ();
9.4977 +int
9.4978 +main ()
9.4979 +{
9.4980 +bindtextdomain ();
9.4981 + ;
9.4982 + return 0;
9.4983 +}
9.4984 +_ACEOF
9.4985 +rm -f conftest.$ac_objext conftest$ac_exeext
9.4986 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.4987 + (eval $ac_link) 2>conftest.er1
9.4988 + ac_status=$?
9.4989 + grep -v '^ *+' conftest.er1 >conftest.err
9.4990 + rm -f conftest.er1
9.4991 + cat conftest.err >&5
9.4992 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4993 + (exit $ac_status); } &&
9.4994 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.4995 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.4996 + (eval $ac_try) 2>&5
9.4997 + ac_status=$?
9.4998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.4999 + (exit $ac_status); }; } &&
9.5000 + { ac_try='test -s conftest$ac_exeext'
9.5001 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5002 + (eval $ac_try) 2>&5
9.5003 + ac_status=$?
9.5004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5005 + (exit $ac_status); }; }; then
9.5006 + ac_cv_lib_intl_bindtextdomain=yes
9.5007 +else
9.5008 + echo "$as_me: failed program was:" >&5
9.5009 +sed 's/^/| /' conftest.$ac_ext >&5
9.5010 +
9.5011 +ac_cv_lib_intl_bindtextdomain=no
9.5012 +fi
9.5013 +rm -f conftest.err conftest.$ac_objext \
9.5014 + conftest$ac_exeext conftest.$ac_ext
9.5015 +LIBS=$ac_check_lib_save_LIBS
9.5016 +fi
9.5017 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
9.5018 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
9.5019 +if test $ac_cv_lib_intl_bindtextdomain = yes; then
9.5020 + echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
9.5021 +echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
9.5022 +if test "${ac_cv_lib_intl_dgettext+set}" = set; then
9.5023 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5024 +else
9.5025 + ac_check_lib_save_LIBS=$LIBS
9.5026 +LIBS="-lintl $LIBS"
9.5027 +cat >conftest.$ac_ext <<_ACEOF
9.5028 +/* confdefs.h. */
9.5029 +_ACEOF
9.5030 +cat confdefs.h >>conftest.$ac_ext
9.5031 +cat >>conftest.$ac_ext <<_ACEOF
9.5032 +/* end confdefs.h. */
9.5033 +
9.5034 +/* Override any gcc2 internal prototype to avoid an error. */
9.5035 +#ifdef __cplusplus
9.5036 +extern "C"
9.5037 +#endif
9.5038 +/* We use char because int might match the return type of a gcc2
9.5039 + builtin and then its argument prototype would still apply. */
9.5040 +char dgettext ();
9.5041 +int
9.5042 +main ()
9.5043 +{
9.5044 +dgettext ();
9.5045 + ;
9.5046 + return 0;
9.5047 +}
9.5048 +_ACEOF
9.5049 +rm -f conftest.$ac_objext conftest$ac_exeext
9.5050 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.5051 + (eval $ac_link) 2>conftest.er1
9.5052 + ac_status=$?
9.5053 + grep -v '^ *+' conftest.er1 >conftest.err
9.5054 + rm -f conftest.er1
9.5055 + cat conftest.err >&5
9.5056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5057 + (exit $ac_status); } &&
9.5058 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.5059 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5060 + (eval $ac_try) 2>&5
9.5061 + ac_status=$?
9.5062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5063 + (exit $ac_status); }; } &&
9.5064 + { ac_try='test -s conftest$ac_exeext'
9.5065 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5066 + (eval $ac_try) 2>&5
9.5067 + ac_status=$?
9.5068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5069 + (exit $ac_status); }; }; then
9.5070 + ac_cv_lib_intl_dgettext=yes
9.5071 +else
9.5072 + echo "$as_me: failed program was:" >&5
9.5073 +sed 's/^/| /' conftest.$ac_ext >&5
9.5074 +
9.5075 +ac_cv_lib_intl_dgettext=no
9.5076 +fi
9.5077 +rm -f conftest.err conftest.$ac_objext \
9.5078 + conftest$ac_exeext conftest.$ac_ext
9.5079 +LIBS=$ac_check_lib_save_LIBS
9.5080 +fi
9.5081 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
9.5082 +echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
9.5083 +if test $ac_cv_lib_intl_dgettext = yes; then
9.5084 + gt_cv_func_dgettext_libintl=yes
9.5085 +fi
9.5086 +
9.5087 +fi
9.5088 +
9.5089 +
9.5090 + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
9.5091 + echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
9.5092 +echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
9.5093 + echo "$as_me:$LINENO: result: " >&5
9.5094 +echo "${ECHO_T}" >&6
9.5095 + echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
9.5096 +echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
9.5097 +if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
9.5098 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5099 +else
9.5100 + ac_check_lib_save_LIBS=$LIBS
9.5101 +LIBS="-lintl -liconv $LIBS"
9.5102 +cat >conftest.$ac_ext <<_ACEOF
9.5103 +/* confdefs.h. */
9.5104 +_ACEOF
9.5105 +cat confdefs.h >>conftest.$ac_ext
9.5106 +cat >>conftest.$ac_ext <<_ACEOF
9.5107 +/* end confdefs.h. */
9.5108 +
9.5109 +/* Override any gcc2 internal prototype to avoid an error. */
9.5110 +#ifdef __cplusplus
9.5111 +extern "C"
9.5112 +#endif
9.5113 +/* We use char because int might match the return type of a gcc2
9.5114 + builtin and then its argument prototype would still apply. */
9.5115 +char dcgettext ();
9.5116 +int
9.5117 +main ()
9.5118 +{
9.5119 +dcgettext ();
9.5120 + ;
9.5121 + return 0;
9.5122 +}
9.5123 +_ACEOF
9.5124 +rm -f conftest.$ac_objext conftest$ac_exeext
9.5125 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.5126 + (eval $ac_link) 2>conftest.er1
9.5127 + ac_status=$?
9.5128 + grep -v '^ *+' conftest.er1 >conftest.err
9.5129 + rm -f conftest.er1
9.5130 + cat conftest.err >&5
9.5131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5132 + (exit $ac_status); } &&
9.5133 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.5134 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5135 + (eval $ac_try) 2>&5
9.5136 + ac_status=$?
9.5137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5138 + (exit $ac_status); }; } &&
9.5139 + { ac_try='test -s conftest$ac_exeext'
9.5140 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5141 + (eval $ac_try) 2>&5
9.5142 + ac_status=$?
9.5143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5144 + (exit $ac_status); }; }; then
9.5145 + ac_cv_lib_intl_dcgettext=yes
9.5146 +else
9.5147 + echo "$as_me: failed program was:" >&5
9.5148 +sed 's/^/| /' conftest.$ac_ext >&5
9.5149 +
9.5150 +ac_cv_lib_intl_dcgettext=no
9.5151 +fi
9.5152 +rm -f conftest.err conftest.$ac_objext \
9.5153 + conftest$ac_exeext conftest.$ac_ext
9.5154 +LIBS=$ac_check_lib_save_LIBS
9.5155 +fi
9.5156 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
9.5157 +echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
9.5158 +if test $ac_cv_lib_intl_dcgettext = yes; then
9.5159 + gt_cv_func_dgettext_libintl=yes
9.5160 + libintl_extra_libs=-liconv
9.5161 +else
9.5162 + :
9.5163 +fi
9.5164 +
9.5165 + fi
9.5166 +
9.5167 + #
9.5168 + # If we found libintl, then check in it for bind_textdomain_codeset();
9.5169 + # we'll prefer libc if neither have bind_textdomain_codeset(),
9.5170 + # and both have dgettext
9.5171 + #
9.5172 + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
9.5173 + glib_save_LIBS="$LIBS"
9.5174 + LIBS="$LIBS -lintl $libintl_extra_libs"
9.5175 + unset ac_cv_func_bind_textdomain_codeset
9.5176 +
9.5177 +for ac_func in bind_textdomain_codeset
9.5178 +do
9.5179 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9.5180 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9.5181 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9.5182 +if eval "test \"\${$as_ac_var+set}\" = set"; then
9.5183 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5184 +else
9.5185 + cat >conftest.$ac_ext <<_ACEOF
9.5186 +/* confdefs.h. */
9.5187 +_ACEOF
9.5188 +cat confdefs.h >>conftest.$ac_ext
9.5189 +cat >>conftest.$ac_ext <<_ACEOF
9.5190 +/* end confdefs.h. */
9.5191 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9.5192 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
9.5193 +#define $ac_func innocuous_$ac_func
9.5194 +
9.5195 +/* System header to define __stub macros and hopefully few prototypes,
9.5196 + which can conflict with char $ac_func (); below.
9.5197 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9.5198 + <limits.h> exists even on freestanding compilers. */
9.5199 +
9.5200 +#ifdef __STDC__
9.5201 +# include <limits.h>
9.5202 +#else
9.5203 +# include <assert.h>
9.5204 +#endif
9.5205 +
9.5206 +#undef $ac_func
9.5207 +
9.5208 +/* Override any gcc2 internal prototype to avoid an error. */
9.5209 +#ifdef __cplusplus
9.5210 +extern "C"
9.5211 +{
9.5212 +#endif
9.5213 +/* We use char because int might match the return type of a gcc2
9.5214 + builtin and then its argument prototype would still apply. */
9.5215 +char $ac_func ();
9.5216 +/* The GNU C library defines this for functions which it implements
9.5217 + to always fail with ENOSYS. Some functions are actually named
9.5218 + something starting with __ and the normal name is an alias. */
9.5219 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9.5220 +choke me
9.5221 +#else
9.5222 +char (*f) () = $ac_func;
9.5223 +#endif
9.5224 +#ifdef __cplusplus
9.5225 +}
9.5226 +#endif
9.5227 +
9.5228 +int
9.5229 +main ()
9.5230 +{
9.5231 +return f != $ac_func;
9.5232 + ;
9.5233 + return 0;
9.5234 +}
9.5235 +_ACEOF
9.5236 +rm -f conftest.$ac_objext conftest$ac_exeext
9.5237 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.5238 + (eval $ac_link) 2>conftest.er1
9.5239 + ac_status=$?
9.5240 + grep -v '^ *+' conftest.er1 >conftest.err
9.5241 + rm -f conftest.er1
9.5242 + cat conftest.err >&5
9.5243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5244 + (exit $ac_status); } &&
9.5245 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.5246 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5247 + (eval $ac_try) 2>&5
9.5248 + ac_status=$?
9.5249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5250 + (exit $ac_status); }; } &&
9.5251 + { ac_try='test -s conftest$ac_exeext'
9.5252 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5253 + (eval $ac_try) 2>&5
9.5254 + ac_status=$?
9.5255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5256 + (exit $ac_status); }; }; then
9.5257 + eval "$as_ac_var=yes"
9.5258 +else
9.5259 + echo "$as_me: failed program was:" >&5
9.5260 +sed 's/^/| /' conftest.$ac_ext >&5
9.5261 +
9.5262 +eval "$as_ac_var=no"
9.5263 +fi
9.5264 +rm -f conftest.err conftest.$ac_objext \
9.5265 + conftest$ac_exeext conftest.$ac_ext
9.5266 +fi
9.5267 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9.5268 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9.5269 +if test `eval echo '${'$as_ac_var'}'` = yes; then
9.5270 + cat >>confdefs.h <<_ACEOF
9.5271 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9.5272 +_ACEOF
9.5273 +
9.5274 +fi
9.5275 +done
9.5276 +
9.5277 + LIBS="$glib_save_LIBS"
9.5278 +
9.5279 + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
9.5280 + gt_cv_func_dgettext_libc=no
9.5281 + else
9.5282 + if test "$gt_cv_func_dgettext_libc" = "yes"; then
9.5283 + gt_cv_func_dgettext_libintl=no
9.5284 + fi
9.5285 + fi
9.5286 + fi
9.5287 + fi
9.5288 +
9.5289 + if test "$gt_cv_func_dgettext_libc" = "yes" \
9.5290 + || test "$gt_cv_func_dgettext_libintl" = "yes"; then
9.5291 + gt_cv_have_gettext=yes
9.5292 + fi
9.5293 +
9.5294 + if test "$gt_cv_func_dgettext_libintl" = "yes"; then
9.5295 + INTLLIBS="-lintl $libintl_extra_libs"
9.5296 + fi
9.5297 +
9.5298 + if test "$gt_cv_have_gettext" = "yes"; then
9.5299 +
9.5300 +cat >>confdefs.h <<\_ACEOF
9.5301 +#define HAVE_GETTEXT 1
9.5302 +_ACEOF
9.5303 +
9.5304 + # Extract the first word of "msgfmt", so it can be a program name with args.
9.5305 +set dummy msgfmt; ac_word=$2
9.5306 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.5307 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.5308 +if test "${ac_cv_path_MSGFMT+set}" = set; then
9.5309 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5310 +else
9.5311 + case "$MSGFMT" in
9.5312 + /*)
9.5313 + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
9.5314 + ;;
9.5315 + *)
9.5316 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9.5317 + for ac_dir in $PATH; do
9.5318 + test -z "$ac_dir" && ac_dir=.
9.5319 + if test -f $ac_dir/$ac_word; then
9.5320 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
9.5321 + ac_cv_path_MSGFMT="$ac_dir/$ac_word"
9.5322 + break
9.5323 + fi
9.5324 + fi
9.5325 + done
9.5326 + IFS="$ac_save_ifs"
9.5327 + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
9.5328 + ;;
9.5329 +esac
9.5330 +fi
9.5331 +MSGFMT="$ac_cv_path_MSGFMT"
9.5332 +if test "$MSGFMT" != "no"; then
9.5333 + echo "$as_me:$LINENO: result: $MSGFMT" >&5
9.5334 +echo "${ECHO_T}$MSGFMT" >&6
9.5335 +else
9.5336 + echo "$as_me:$LINENO: result: no" >&5
9.5337 +echo "${ECHO_T}no" >&6
9.5338 +fi
9.5339 + if test "$MSGFMT" != "no"; then
9.5340 + glib_save_LIBS="$LIBS"
9.5341 + LIBS="$LIBS $INTLLIBS"
9.5342 +
9.5343 +for ac_func in dcgettext
9.5344 +do
9.5345 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9.5346 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9.5347 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9.5348 +if eval "test \"\${$as_ac_var+set}\" = set"; then
9.5349 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5350 +else
9.5351 + cat >conftest.$ac_ext <<_ACEOF
9.5352 +/* confdefs.h. */
9.5353 +_ACEOF
9.5354 +cat confdefs.h >>conftest.$ac_ext
9.5355 +cat >>conftest.$ac_ext <<_ACEOF
9.5356 +/* end confdefs.h. */
9.5357 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9.5358 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
9.5359 +#define $ac_func innocuous_$ac_func
9.5360 +
9.5361 +/* System header to define __stub macros and hopefully few prototypes,
9.5362 + which can conflict with char $ac_func (); below.
9.5363 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9.5364 + <limits.h> exists even on freestanding compilers. */
9.5365 +
9.5366 +#ifdef __STDC__
9.5367 +# include <limits.h>
9.5368 +#else
9.5369 +# include <assert.h>
9.5370 +#endif
9.5371 +
9.5372 +#undef $ac_func
9.5373 +
9.5374 +/* Override any gcc2 internal prototype to avoid an error. */
9.5375 +#ifdef __cplusplus
9.5376 +extern "C"
9.5377 +{
9.5378 +#endif
9.5379 +/* We use char because int might match the return type of a gcc2
9.5380 + builtin and then its argument prototype would still apply. */
9.5381 +char $ac_func ();
9.5382 +/* The GNU C library defines this for functions which it implements
9.5383 + to always fail with ENOSYS. Some functions are actually named
9.5384 + something starting with __ and the normal name is an alias. */
9.5385 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9.5386 +choke me
9.5387 +#else
9.5388 +char (*f) () = $ac_func;
9.5389 +#endif
9.5390 +#ifdef __cplusplus
9.5391 +}
9.5392 +#endif
9.5393 +
9.5394 +int
9.5395 +main ()
9.5396 +{
9.5397 +return f != $ac_func;
9.5398 + ;
9.5399 + return 0;
9.5400 +}
9.5401 +_ACEOF
9.5402 +rm -f conftest.$ac_objext conftest$ac_exeext
9.5403 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9.5404 + (eval $ac_link) 2>conftest.er1
9.5405 + ac_status=$?
9.5406 + grep -v '^ *+' conftest.er1 >conftest.err
9.5407 + rm -f conftest.er1
9.5408 + cat conftest.err >&5
9.5409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5410 + (exit $ac_status); } &&
9.5411 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9.5412 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5413 + (eval $ac_try) 2>&5
9.5414 + ac_status=$?
9.5415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5416 + (exit $ac_status); }; } &&
9.5417 + { ac_try='test -s conftest$ac_exeext'
9.5418 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9.5419 + (eval $ac_try) 2>&5
9.5420 + ac_status=$?
9.5421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9.5422 + (exit $ac_status); }; }; then
9.5423 + eval "$as_ac_var=yes"
9.5424 +else
9.5425 + echo "$as_me: failed program was:" >&5
9.5426 +sed 's/^/| /' conftest.$ac_ext >&5
9.5427 +
9.5428 +eval "$as_ac_var=no"
9.5429 +fi
9.5430 +rm -f conftest.err conftest.$ac_objext \
9.5431 + conftest$ac_exeext conftest.$ac_ext
9.5432 +fi
9.5433 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9.5434 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9.5435 +if test `eval echo '${'$as_ac_var'}'` = yes; then
9.5436 + cat >>confdefs.h <<_ACEOF
9.5437 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9.5438 +_ACEOF
9.5439 +
9.5440 +fi
9.5441 +done
9.5442 +
9.5443 + # Extract the first word of "gmsgfmt", so it can be a program name with args.
9.5444 +set dummy gmsgfmt; ac_word=$2
9.5445 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.5446 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.5447 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
9.5448 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5449 +else
9.5450 + case $GMSGFMT in
9.5451 + [\\/]* | ?:[\\/]*)
9.5452 + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
9.5453 + ;;
9.5454 + *)
9.5455 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9.5456 +for as_dir in $PATH
9.5457 +do
9.5458 + IFS=$as_save_IFS
9.5459 + test -z "$as_dir" && as_dir=.
9.5460 + for ac_exec_ext in '' $ac_executable_extensions; do
9.5461 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9.5462 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
9.5463 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9.5464 + break 2
9.5465 + fi
9.5466 +done
9.5467 +done
9.5468 +
9.5469 + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
9.5470 + ;;
9.5471 +esac
9.5472 +fi
9.5473 +GMSGFMT=$ac_cv_path_GMSGFMT
9.5474 +
9.5475 +if test -n "$GMSGFMT"; then
9.5476 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
9.5477 +echo "${ECHO_T}$GMSGFMT" >&6
9.5478 +else
9.5479 + echo "$as_me:$LINENO: result: no" >&5
9.5480 +echo "${ECHO_T}no" >&6
9.5481 +fi
9.5482 +
9.5483 + # Extract the first word of "xgettext", so it can be a program name with args.
9.5484 +set dummy xgettext; ac_word=$2
9.5485 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9.5486 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9.5487 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
9.5488 + echo $ECHO_N "(cached) $ECHO_C" >&6
9.5489 +else
9.5490 + case "$XGETTEXT" in
9.5491 + /*)
9.5492 + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
9.5493 + ;;
9.5494 + *)
9.5495 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9.5496 + for ac_dir in $PATH; do
9.5497 + test -z "$ac_dir" && ac_dir=.
9.5498 + if test -f $ac_dir/$ac_word; then
9.5499 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
9.5500 + ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
9.5501 + break
9.5502 + fi
9.5503 + fi
9.5504 + done
9.5505 + IFS="$ac_save_ifs"
9.5506 + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
9.5507 + ;;
9.5508 +esac
9.5509 +fi
9.5510 +XGETTEXT="$ac_cv_path_XGETTEXT"
9.5511 +if test "$XGETTEXT" != ":"; then
9.5512 + echo "$as_me:$LINENO: result: $XGETTEXT" >&5
9.5513 +echo "${ECHO_T}$XGETTEXT" >&6
9.5514 +else
9.5515 + echo "$as_me:$LINENO: result: no" >&5
9.5516 +echo "${ECHO_T}no" >&6
9.5517 +fi
9.5518 +
9.5519 + cat >conftest.$ac_ext <<_ACEOF
9.5520 +/* confdefs.h. */
9.5521 +_ACEOF
9.5522 +cat confdefs.h >>conftest.$ac_ext
9.5523 +cat >>conftest.$ac_ext <<_ACEOF
9.5524 +/* end confdefs.h. */
9.5525 +
9.5526 +int
9.5527 +main ()
9.5528 +{
9.5529 +extern int _nl_msg_cat_cntr;
9.5530 + return _nl_msg_cat_cntr
9.5531 + ;
9.5532 + return 0;
9.5533 +}
9.5534 +_ACEOF