Codebase list libhdate / 51e9472
[svn-upgrade] Integrating new upstream version, libhdate (1.4.9) Baruch Even 17 years ago
29 changed file(s) with 18694 addition(s) and 11580 deletion(s). Raw diff Collapse all Expand all
0 libhdate (1.4.9)
1
2 * Fix endianess bug in big endian machins (/examples/hcal/hcal.c and hdate.c)
3
4 -- Yaacov Zamir <kzamir@wall.co.il> Saturday, 7 April 2007 22:00
5
06 libhdate (1.4.8)
17
28 * Fix help printing bug: Add new line at the end of hdate help text.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
1415
1516 srcdir = @srcdir@
1617 top_srcdir = @top_srcdir@
1718 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3619 pkgdatadir = $(datadir)/@PACKAGE@
3720 pkglibdir = $(libdir)/@PACKAGE@
3821 pkgincludedir = $(includedir)/@PACKAGE@
39
4022 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4724 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
5330 NORMAL_INSTALL = :
5431 PRE_INSTALL = :
5532 POST_INSTALL = :
5633 NORMAL_UNINSTALL = :
5734 PRE_UNINSTALL = :
5835 POST_UNINSTALL = :
59 host_alias = @host_alias@
36 build_triplet = @build@
6037 host_triplet = @host@
38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39 $(srcdir)/Makefile.in $(srcdir)/libhdate.pc.in \
40 $(srcdir)/libhdate.spec.in $(top_srcdir)/configure \
41 $(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
42 ChangeLog INSTALL NEWS TODO compile config.guess config.sub \
43 depcomp install-sh ltmain.sh missing mkinstalldirs
44 subdir = .
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/configure.in
47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48 $(ACLOCAL_M4)
49 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50 configure.lineno configure.status.lineno
51 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
52 CONFIG_CLEAN_FILES = libhdate.spec libhdate.pc intl/Makefile
53 SOURCES =
54 DIST_SOURCES =
55 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
56 html-recursive info-recursive install-data-recursive \
57 install-exec-recursive install-info-recursive \
58 install-recursive installcheck-recursive installdirs-recursive \
59 pdf-recursive ps-recursive uninstall-info-recursive \
60 uninstall-recursive
61 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
62 am__vpath_adj = case $$p in \
63 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
64 *) f=$$p;; \
65 esac;
66 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
67 am__installdirs = "$(DESTDIR)$(libhdatedocdir)" \
68 "$(DESTDIR)$(pkgconfigdir)"
69 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
70 pkgconfigDATA_INSTALL = $(INSTALL_DATA)
71 DATA = $(libhdatedoc_DATA) $(pkgconfig_DATA)
72 ETAGS = etags
73 CTAGS = ctags
74 DIST_SUBDIRS = $(SUBDIRS)
75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76 distdir = $(PACKAGE)-$(VERSION)
77 top_distdir = $(distdir)
78 am__remove_distdir = \
79 { test ! -d $(distdir) \
80 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
81 && rm -fr $(distdir); }; }
82 DIST_ARCHIVES = $(distdir).tar.gz
83 GZIP_ENV = --best
84 distuninstallcheck_listfiles = find . -type f -print
85 distcleancheck_listfiles = find . -type f -print
86 ACLOCAL = @ACLOCAL@
87 ALLOCA = @ALLOCA@
88 AMDEP_FALSE = @AMDEP_FALSE@
89 AMDEP_TRUE = @AMDEP_TRUE@
90 AMTAR = @AMTAR@
6191 AR = @AR@
62 AS = @AS@
92 AUTOCONF = @AUTOCONF@
93 AUTOHEADER = @AUTOHEADER@
94 AUTOMAKE = @AUTOMAKE@
95 AWK = @AWK@
6396 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6497 CATOBJEXT = @CATOBJEXT@
6598 CC = @CC@
99 CCDEPMODE = @CCDEPMODE@
66100 CFLAGS = @CFLAGS@
101 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
102 CPP = @CPP@
103 CPPFLAGS = @CPPFLAGS@
67104 CXX = @CXX@
68105 CXXCPP = @CXXCPP@
106 CXXDEPMODE = @CXXDEPMODE@
107 CXXFLAGS = @CXXFLAGS@
108 CYGPATH_W = @CYGPATH_W@
69109 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
71112 ECHO = @ECHO@
113 ECHO_C = @ECHO_C@
114 ECHO_N = @ECHO_N@
115 ECHO_T = @ECHO_T@
72116 EGREP = @EGREP@
73117 EXEEXT = @EXEEXT@
74118 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
119 FFLAGS = @FFLAGS@
77120 GENCAT = @GENCAT@
78121 GLIBC2 = @GLIBC2@
79122 GLIBC21 = @GLIBC21@
80123 GMSGFMT = @GMSGFMT@
124 GMSGFMT_015 = @GMSGFMT_015@
125 GREP = @GREP@
81126 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83127 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84128 HAVE_SNPRINTF = @HAVE_SNPRINTF@
129 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85130 HAVE_WPRINTF = @HAVE_WPRINTF@
131 INSTALL_DATA = @INSTALL_DATA@
132 INSTALL_PROGRAM = @INSTALL_PROGRAM@
133 INSTALL_SCRIPT = @INSTALL_SCRIPT@
134 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86135 INSTOBJEXT = @INSTOBJEXT@
87136 INTLBISON = @INTLBISON@
88137 INTLLIBS = @INTLLIBS@
89138 INTLOBJS = @INTLOBJS@
90139 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91140 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
141 LDFLAGS = @LDFLAGS@
93142 LIBICONV = @LIBICONV@
94143 LIBINTL = @LIBINTL@
144 LIBMULTITHREAD = @LIBMULTITHREAD@
145 LIBOBJS = @LIBOBJS@
146 LIBPTH = @LIBPTH@
95147 LIBS = @LIBS@
148 LIBTHREAD = @LIBTHREAD@
96149 LIBTOOL = @LIBTOOL@
97150 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99151 LTLIBICONV = @LTLIBICONV@
100152 LTLIBINTL = @LTLIBINTL@
153 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
154 LTLIBOBJS = @LTLIBOBJS@
155 LTLIBPTH = @LTLIBPTH@
156 LTLIBTHREAD = @LTLIBTHREAD@
101157 MAINT = @MAINT@
158 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
159 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102160 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
161 MSGFMT = @MSGFMT@
162 MSGFMT_015 = @MSGFMT_015@
163 MSGMERGE = @MSGMERGE@
105164 OBJEXT = @OBJEXT@
106165 PACKAGE = @PACKAGE@
166 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
167 PACKAGE_NAME = @PACKAGE_NAME@
168 PACKAGE_STRING = @PACKAGE_STRING@
169 PACKAGE_TARNAME = @PACKAGE_TARNAME@
170 PACKAGE_VERSION = @PACKAGE_VERSION@
171 PATH_SEPARATOR = @PATH_SEPARATOR@
107172 PA_MODULES_PATH = @PA_MODULES_PATH@
108173 PA_VERSION = @PA_VERSION@
109174 PE_CFLAGS = @PE_CFLAGS@
110175 PE_MODULES_PATH = @PE_MODULES_PATH@
111176 PKG_CONFIG = @PKG_CONFIG@
112177 POSUB = @POSUB@
178 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113179 PY_CFLAGS = @PY_CFLAGS@
114180 PY_MODULES_PATH = @PY_MODULES_PATH@
115181 PY_VERSION = @PY_VERSION@
116182 RANLIB = @RANLIB@
117 RC = @RC@
183 SET_MAKE = @SET_MAKE@
184 SHELL = @SHELL@
118185 STRIP = @STRIP@
119186 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120187 USE_NLS = @USE_NLS@
121188 VERSION = @VERSION@
122189 VERSION_INFO = @VERSION_INFO@
190 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
191 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
192 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
193 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
194 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
195 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
196 WITH_PERL_FALSE = @WITH_PERL_FALSE@
197 WITH_PERL_TRUE = @WITH_PERL_TRUE@
198 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
199 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
200 WOE32DLL = @WOE32DLL@
201 XGETTEXT = @XGETTEXT@
202 XGETTEXT_015 = @XGETTEXT_015@
203 ac_ct_CC = @ac_ct_CC@
204 ac_ct_CXX = @ac_ct_CXX@
205 ac_ct_F77 = @ac_ct_F77@
206 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
207 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
208 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
209 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
210 am__include = @am__include@
211 am__leading_dot = @am__leading_dot@
212 am__quote = @am__quote@
213 am__tar = @am__tar@
214 am__untar = @am__untar@
215 bindir = @bindir@
216 build = @build@
217 build_alias = @build_alias@
218 build_cpu = @build_cpu@
219 build_os = @build_os@
220 build_vendor = @build_vendor@
221 datadir = @datadir@
222 datarootdir = @datarootdir@
223 docdir = @docdir@
224 dvidir = @dvidir@
225 exec_prefix = @exec_prefix@
123226 have_pascal = @have_pascal@
124227 have_perl = @have_perl@
125228 have_python = @have_python@
126229 have_swig = @have_swig@
127
230 host = @host@
231 host_alias = @host_alias@
232 host_cpu = @host_cpu@
233 host_os = @host_os@
234 host_vendor = @host_vendor@
235 htmldir = @htmldir@
236 includedir = @includedir@
237 infodir = @infodir@
238 install_sh = @install_sh@
239 libdir = @libdir@
240 libexecdir = @libexecdir@
241 localedir = @localedir@
242 localstatedir = @localstatedir@
243 mandir = @mandir@
244 mkdir_p = @mkdir_p@
245 oldincludedir = @oldincludedir@
246 pdfdir = @pdfdir@
247 prefix = @prefix@
248 program_transform_name = @program_transform_name@
249 psdir = @psdir@
250 sbindir = @sbindir@
251 sharedstatedir = @sharedstatedir@
252 sysconfdir = @sysconfdir@
253 target_alias = @target_alias@
128254 SUBDIRS = intl po src examples bindings
129
130255 pkgconfigdir = $(libdir)/pkgconfig
131256 pkgconfig_DATA = libhdate.pc
132
133257 libhdatedocdir = ${prefix}/share/doc/libhdate
134 libhdatedoc_DATA = README hdate_README COPYING AUTHORS ChangeLog INSTALL NEWS TODO USE ABOUT-NLS
135
258 libhdatedoc_DATA = \
259 README\
260 hdate_README\
261 COPYING\
262 AUTHORS\
263 ChangeLog\
264 INSTALL\
265 NEWS\
266 TODO\
267 USE\
268 ABOUT-NLS
136269
137270 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in libhdate.spec libhdate.spec.in
138 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
139 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
140 CONFIG_CLEAN_FILES = libhdate.spec libhdate.pc
141 DATA = $(libhdatedoc_DATA) $(pkgconfig_DATA)
142
143 DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
144 Makefile.am Makefile.in NEWS TODO aclocal.m4 config.guess config.sub \
145 configure configure.in install-sh libhdate.pc.in libhdate.spec.in \
146 ltmain.sh missing mkinstalldirs
147
148
149 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
150
151 TAR = tar
152 GZIP_ENV = --best
153 all: all-redirect
271 all: all-recursive
272
154273 .SUFFIXES:
155 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
156 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
157
158 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
159 cd $(top_builddir) \
160 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
161
162 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
163 cd $(srcdir) && $(ACLOCAL)
164
165 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
274 am--refresh:
275 @:
276 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
277 @for dep in $?; do \
278 case '$(am__configure_deps)' in \
279 *$$dep*) \
280 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
281 cd $(srcdir) && $(AUTOMAKE) --gnu \
282 && exit 0; \
283 exit 1;; \
284 esac; \
285 done; \
286 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
287 cd $(top_srcdir) && \
288 $(AUTOMAKE) --gnu Makefile
289 .PRECIOUS: Makefile
290 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
291 @case '$?' in \
292 *config.status*) \
293 echo ' $(SHELL) ./config.status'; \
294 $(SHELL) ./config.status;; \
295 *) \
296 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
297 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
298 esac;
299
300 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
166301 $(SHELL) ./config.status --recheck
167 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
302
303 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
168304 cd $(srcdir) && $(AUTOCONF)
169 libhdate.spec: $(top_builddir)/config.status libhdate.spec.in
170 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
171 libhdate.pc: $(top_builddir)/config.status libhdate.pc.in
172 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
173
305 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
306 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
307 libhdate.spec: $(top_builddir)/config.status $(srcdir)/libhdate.spec.in
308 cd $(top_builddir) && $(SHELL) ./config.status $@
309 libhdate.pc: $(top_builddir)/config.status $(srcdir)/libhdate.pc.in
310 cd $(top_builddir) && $(SHELL) ./config.status $@
311 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
312 cd $(top_builddir) && $(SHELL) ./config.status $@
313
314 mostlyclean-libtool:
315 -rm -f *.lo
316
317 clean-libtool:
318 -rm -rf .libs _libs
319
320 distclean-libtool:
321 -rm -f libtool
322 uninstall-info-am:
174323 install-libhdatedocDATA: $(libhdatedoc_DATA)
175324 @$(NORMAL_INSTALL)
176 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
325 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
177326 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
178 if test -f $(srcdir)/$$p; then \
179 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
180 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
181 else if test -f $$p; then \
182 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
183 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
184 fi; fi; \
327 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
328 f=$(am__strip_dir) \
329 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
330 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
185331 done
186332
187333 uninstall-libhdatedocDATA:
188334 @$(NORMAL_UNINSTALL)
189 list='$(libhdatedoc_DATA)'; for p in $$list; do \
190 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
191 done
192
335 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
336 f=$(am__strip_dir) \
337 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
338 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
339 done
193340 install-pkgconfigDATA: $(pkgconfig_DATA)
194341 @$(NORMAL_INSTALL)
195 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
342 test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
196343 @list='$(pkgconfig_DATA)'; for p in $$list; do \
197 if test -f $(srcdir)/$$p; then \
198 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
199 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
200 else if test -f $$p; then \
201 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
202 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
203 fi; fi; \
344 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
345 f=$(am__strip_dir) \
346 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
347 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
204348 done
205349
206350 uninstall-pkgconfigDATA:
207351 @$(NORMAL_UNINSTALL)
208 list='$(pkgconfig_DATA)'; for p in $$list; do \
209 rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
352 @list='$(pkgconfig_DATA)'; for p in $$list; do \
353 f=$(am__strip_dir) \
354 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
355 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
210356 done
211357
212358 # This directory's subdirectories are mostly independent; you can cd
215361 # (1) if the variable is set in `config.status', edit `config.status'
216362 # (which will cause the Makefiles to be regenerated when you run `make');
217363 # (2) otherwise, pass the desired values on the `make' command line.
218
219 @SET_MAKE@
220
221 all-recursive install-data-recursive install-exec-recursive \
222 installdirs-recursive install-recursive uninstall-recursive \
223 check-recursive installcheck-recursive info-recursive dvi-recursive:
224 @set fnord $(MAKEFLAGS); amf=$$2; \
364 $(RECURSIVE_TARGETS):
365 @failcom='exit 1'; \
366 for f in x $$MAKEFLAGS; do \
367 case $$f in \
368 *=* | --[!k]*);; \
369 *k*) failcom='fail=yes';; \
370 esac; \
371 done; \
225372 dot_seen=no; \
226373 target=`echo $@ | sed s/-recursive//`; \
227374 list='$(SUBDIRS)'; for subdir in $$list; do \
233380 local_target="$$target"; \
234381 fi; \
235382 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
236 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
383 || eval $$failcom; \
237384 done; \
238385 if test "$$dot_seen" = "no"; then \
239386 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
241388
242389 mostlyclean-recursive clean-recursive distclean-recursive \
243390 maintainer-clean-recursive:
244 @set fnord $(MAKEFLAGS); amf=$$2; \
391 @failcom='exit 1'; \
392 for f in x $$MAKEFLAGS; do \
393 case $$f in \
394 *=* | --[!k]*);; \
395 *k*) failcom='fail=yes';; \
396 esac; \
397 done; \
245398 dot_seen=no; \
246 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
247 rev="$$subdir $$rev"; \
248 test "$$subdir" != "." || dot_seen=yes; \
399 case "$@" in \
400 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
401 *) list='$(SUBDIRS)' ;; \
402 esac; \
403 rev=''; for subdir in $$list; do \
404 if test "$$subdir" = "."; then :; else \
405 rev="$$subdir $$rev"; \
406 fi; \
249407 done; \
250 test "$$dot_seen" = "no" && rev=". $$rev"; \
408 rev="$$rev ."; \
251409 target=`echo $@ | sed s/-recursive//`; \
252410 for subdir in $$rev; do \
253411 echo "Making $$target in $$subdir"; \
257415 local_target="$$target"; \
258416 fi; \
259417 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
260 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
418 || eval $$failcom; \
261419 done && test -z "$$fail"
262420 tags-recursive:
263421 list='$(SUBDIRS)'; for subdir in $$list; do \
264422 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
265423 done
266
424 ctags-recursive:
425 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
427 done
428
429 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
436 mkid -fID $$unique
267437 tags: TAGS
268438
269 ID: $(HEADERS) $(SOURCES) $(LISP)
270 list='$(SOURCES) $(HEADERS)'; \
271 unique=`for i in $$list; do echo $$i; done | \
272 awk ' { files[$$0] = 1; } \
273 END { for (i in files) print i; }'`; \
274 here=`pwd` && cd $(srcdir) \
275 && mkid -f$$here/ID $$unique $(LISP)
276
277 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
439 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
440 $(TAGS_FILES) $(LISP)
278441 tags=; \
279442 here=`pwd`; \
443 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
444 include_option=--etags-include; \
445 empty_fix=.; \
446 else \
447 include_option=--include; \
448 empty_fix=; \
449 fi; \
280450 list='$(SUBDIRS)'; for subdir in $$list; do \
281 if test "$$subdir" = .; then :; else \
282 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
283 fi; \
451 if test "$$subdir" = .; then :; else \
452 test ! -f $$subdir/TAGS || \
453 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
454 fi; \
284455 done; \
285 list='$(SOURCES) $(HEADERS)'; \
286 unique=`for i in $$list; do echo $$i; done | \
287 awk ' { files[$$0] = 1; } \
456 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
457 unique=`for i in $$list; do \
458 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
459 done | \
460 $(AWK) ' { files[$$0] = 1; } \
288461 END { for (i in files) print i; }'`; \
289 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
290 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
291
292 mostlyclean-tags:
293
294 clean-tags:
462 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
463 test -n "$$unique" || unique=$$empty_fix; \
464 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
465 $$tags $$unique; \
466 fi
467 ctags: CTAGS
468 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
469 $(TAGS_FILES) $(LISP)
470 tags=; \
471 here=`pwd`; \
472 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
473 unique=`for i in $$list; do \
474 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
475 done | \
476 $(AWK) ' { files[$$0] = 1; } \
477 END { for (i in files) print i; }'`; \
478 test -z "$(CTAGS_ARGS)$$tags$$unique" \
479 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
480 $$tags $$unique
481
482 GTAGS:
483 here=`$(am__cd) $(top_builddir) && pwd` \
484 && cd $(top_srcdir) \
485 && gtags -i $(GTAGS_ARGS) $$here
295486
296487 distclean-tags:
297 -rm -f TAGS ID
298
299 maintainer-clean-tags:
300
301 distdir = $(PACKAGE)-$(VERSION)
302 top_distdir = $(distdir)
488 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
489
490 distdir: $(DISTFILES)
491 $(am__remove_distdir)
492 mkdir $(distdir)
493 $(mkdir_p) $(distdir)/. $(distdir)/intl $(distdir)/po
494 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
495 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
496 list='$(DISTFILES)'; for file in $$list; do \
497 case $$file in \
498 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
499 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
500 esac; \
501 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
502 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
503 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
504 dir="/$$dir"; \
505 $(mkdir_p) "$(distdir)$$dir"; \
506 else \
507 dir=''; \
508 fi; \
509 if test -d $$d/$$file; then \
510 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
511 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
512 fi; \
513 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
514 else \
515 test -f $(distdir)/$$file \
516 || cp -p $$d/$$file $(distdir)/$$file \
517 || exit 1; \
518 fi; \
519 done
520 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
521 if test "$$subdir" = .; then :; else \
522 test -d "$(distdir)/$$subdir" \
523 || $(mkdir_p) "$(distdir)/$$subdir" \
524 || exit 1; \
525 distdir=`$(am__cd) $(distdir) && pwd`; \
526 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
527 (cd $$subdir && \
528 $(MAKE) $(AM_MAKEFLAGS) \
529 top_distdir="$$top_distdir" \
530 distdir="$$distdir/$$subdir" \
531 distdir) \
532 || exit 1; \
533 fi; \
534 done
535 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
536 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
537 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
538 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
539 || chmod -R a+r $(distdir)
540 dist-gzip: distdir
541 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
542 $(am__remove_distdir)
543
544 dist-bzip2: distdir
545 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
546 $(am__remove_distdir)
547
548 dist-tarZ: distdir
549 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
550 $(am__remove_distdir)
551
552 dist-shar: distdir
553 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
554 $(am__remove_distdir)
555
556 dist-zip: distdir
557 -rm -f $(distdir).zip
558 zip -rq $(distdir).zip $(distdir)
559 $(am__remove_distdir)
560
561 dist dist-all: distdir
562 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
563 $(am__remove_distdir)
303564
304565 # This target untars the dist file and tries a VPATH configuration. Then
305566 # it guarantees that the distribution is self-contained by making another
306567 # tarfile.
307568 distcheck: dist
308 -rm -rf $(distdir)
309 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
310 mkdir $(distdir)/=build
311 mkdir $(distdir)/=inst
312 dc_install_base=`cd $(distdir)/=inst && pwd`; \
313 cd $(distdir)/=build \
314 && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
569 case '$(DIST_ARCHIVES)' in \
570 *.tar.gz*) \
571 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
572 *.tar.bz2*) \
573 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
574 *.tar.Z*) \
575 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
576 *.shar.gz*) \
577 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
578 *.zip*) \
579 unzip $(distdir).zip ;;\
580 esac
581 chmod -R a-w $(distdir); chmod a+w $(distdir)
582 mkdir $(distdir)/_build
583 mkdir $(distdir)/_inst
584 chmod a-w $(distdir)
585 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
586 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
587 && cd $(distdir)/_build \
588 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
589 --with-included-gettext \
590 $(DISTCHECK_CONFIGURE_FLAGS) \
315591 && $(MAKE) $(AM_MAKEFLAGS) \
316592 && $(MAKE) $(AM_MAKEFLAGS) dvi \
317593 && $(MAKE) $(AM_MAKEFLAGS) check \
318594 && $(MAKE) $(AM_MAKEFLAGS) install \
319595 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
320 && $(MAKE) $(AM_MAKEFLAGS) dist
321 -rm -rf $(distdir)
322 @banner="$(distdir).tar.gz is ready for distribution"; \
323 dashes=`echo "$$banner" | sed s/./=/g`; \
324 echo "$$dashes"; \
325 echo "$$banner"; \
326 echo "$$dashes"
327 dist: distdir
328 -chmod -R a+r $(distdir)
329 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
330 -rm -rf $(distdir)
331 dist-all: distdir
332 -chmod -R a+r $(distdir)
333 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
334 -rm -rf $(distdir)
335 distdir: $(DISTFILES)
336 -rm -rf $(distdir)
337 mkdir $(distdir)
338 -chmod 777 $(distdir)
339 @for file in $(DISTFILES); do \
340 d=$(srcdir); \
341 if test -d $$d/$$file; then \
342 cp -pr $$d/$$file $(distdir)/$$file; \
343 else \
344 test -f $(distdir)/$$file \
345 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
346 || cp -p $$d/$$file $(distdir)/$$file || :; \
347 fi; \
348 done
349 for subdir in $(SUBDIRS); do \
350 if test "$$subdir" = .; then :; else \
351 test -d $(distdir)/$$subdir \
352 || mkdir $(distdir)/$$subdir \
353 || exit 1; \
354 chmod 777 $(distdir)/$$subdir; \
355 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
356 || exit 1; \
357 fi; \
358 done
359 info-am:
360 info: info-recursive
361 dvi-am:
362 dvi: dvi-recursive
596 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
597 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
598 distuninstallcheck \
599 && chmod -R a-w "$$dc_install_base" \
600 && ({ \
601 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
602 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
603 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
604 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
605 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
606 } || { rm -rf "$$dc_destdir"; exit 1; }) \
607 && rm -rf "$$dc_destdir" \
608 && $(MAKE) $(AM_MAKEFLAGS) dist \
609 && rm -rf $(DIST_ARCHIVES) \
610 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
611 $(am__remove_distdir)
612 @(echo "$(distdir) archives ready for distribution: "; \
613 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
614 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
615 distuninstallcheck:
616 @cd $(distuninstallcheck_dir) \
617 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
618 || { echo "ERROR: files left after uninstall:" ; \
619 if test -n "$(DESTDIR)"; then \
620 echo " (check DESTDIR support)"; \
621 fi ; \
622 $(distuninstallcheck_listfiles) ; \
623 exit 1; } >&2
624 distcleancheck: distclean
625 @if test '$(srcdir)' = . ; then \
626 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
627 exit 1 ; \
628 fi
629 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
630 || { echo "ERROR: files left in build directory after distclean:" ; \
631 $(distcleancheck_listfiles) ; \
632 exit 1; } >&2
363633 check-am: all-am
364634 check: check-recursive
365 installcheck-am:
366 installcheck: installcheck-recursive
367 install-exec-am:
635 all-am: Makefile $(DATA)
636 installdirs: installdirs-recursive
637 installdirs-am:
638 for dir in "$(DESTDIR)$(libhdatedocdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
639 test -z "$$dir" || $(mkdir_p) "$$dir"; \
640 done
641 install: install-recursive
368642 install-exec: install-exec-recursive
369
370 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
371643 install-data: install-data-recursive
644 uninstall: uninstall-recursive
372645
373646 install-am: all-am
374647 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
375 install: install-recursive
376 uninstall-am: uninstall-libhdatedocDATA uninstall-pkgconfigDATA
377 uninstall: uninstall-recursive
378 all-am: Makefile $(DATA)
379 all-redirect: all-recursive
648
649 installcheck: installcheck-recursive
380650 install-strip:
381 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
382 installdirs: installdirs-recursive
383 installdirs-am:
384 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir) $(DESTDIR)$(pkgconfigdir)
385
386
651 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
652 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
653 `test -z '$(STRIP)' || \
654 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
387655 mostlyclean-generic:
388656
389657 clean-generic:
390658
391659 distclean-generic:
392 -rm -f Makefile $(CONFIG_CLEAN_FILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
660 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
394661
395662 maintainer-clean-generic:
396 mostlyclean-am: mostlyclean-tags mostlyclean-generic
663 @echo "This command is intended for maintainers to use"
664 @echo "it deletes files that may require special tools to rebuild."
665 clean: clean-recursive
666
667 clean-am: clean-generic clean-libtool mostlyclean-am
668
669 distclean: distclean-recursive
670 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
671 -rm -f Makefile
672 distclean-am: clean-am distclean-generic distclean-libtool \
673 distclean-tags
674
675 dvi: dvi-recursive
676
677 dvi-am:
678
679 html: html-recursive
680
681 info: info-recursive
682
683 info-am:
684
685 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
686
687 install-exec-am:
688
689 install-info: install-info-recursive
690
691 install-man:
692
693 installcheck-am:
694
695 maintainer-clean: maintainer-clean-recursive
696 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
697 -rm -rf $(top_srcdir)/autom4te.cache
698 -rm -f Makefile
699 maintainer-clean-am: distclean-am maintainer-clean-generic
397700
398701 mostlyclean: mostlyclean-recursive
399702
400 clean-am: clean-tags clean-generic mostlyclean-am
401
402 clean: clean-recursive
403
404 distclean-am: distclean-tags distclean-generic clean-am
405 -rm -f libtool
406
407 distclean: distclean-recursive
408 -rm -f config.status
409
410 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
411 distclean-am
412 @echo "This command is intended for maintainers to use;"
413 @echo "it deletes files that may require special tools to rebuild."
414
415 maintainer-clean: maintainer-clean-recursive
416 -rm -f config.status
417
418 .PHONY: uninstall-libhdatedocDATA install-libhdatedocDATA \
419 uninstall-pkgconfigDATA install-pkgconfigDATA install-data-recursive \
420 uninstall-data-recursive install-exec-recursive \
421 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
422 all-recursive check-recursive installcheck-recursive info-recursive \
423 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
424 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
425 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
426 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
427 install-exec install-data-am install-data install-am install \
428 uninstall-am uninstall all-redirect all-am all installdirs-am \
429 installdirs mostlyclean-generic distclean-generic clean-generic \
430 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
431
703 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
704
705 pdf: pdf-recursive
706
707 pdf-am:
708
709 ps: ps-recursive
710
711 ps-am:
712
713 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA \
714 uninstall-pkgconfigDATA
715
716 uninstall-info: uninstall-info-recursive
717
718 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
719 check-am clean clean-generic clean-libtool clean-recursive \
720 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
721 dist-shar dist-tarZ dist-zip distcheck distclean \
722 distclean-generic distclean-libtool distclean-recursive \
723 distclean-tags distcleancheck distdir distuninstallcheck dvi \
724 dvi-am html html-am info info-am install install-am \
725 install-data install-data-am install-exec install-exec-am \
726 install-info install-info-am install-libhdatedocDATA \
727 install-man install-pkgconfigDATA install-strip installcheck \
728 installcheck-am installdirs installdirs-am maintainer-clean \
729 maintainer-clean-generic maintainer-clean-recursive \
730 mostlyclean mostlyclean-generic mostlyclean-libtool \
731 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
732 uninstall uninstall-am uninstall-info-am \
733 uninstall-libhdatedocDATA uninstall-pkgconfigDATA
432734
433735 # Tell versions [3.59,3.63) of GNU make to not export all variables.
434736 # Otherwise a system limit (for SysV at least) may be exceeded.
0 dnl aclocal.m4 generated automatically by aclocal 1.4-p6
1
2 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # codeset.m4 serial 2 (gettext-0.16)
14 dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.
315 dnl This file is free software; the Free Software Foundation
416 dnl gives unlimited permission to copy and/or distribute it,
517 dnl with or without modifications, as long as this notice is preserved.
618
7 dnl This program is distributed in the hope that it will be useful,
8 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 dnl PARTICULAR PURPOSE.
11
12 # lib-prefix.m4 serial 4 (gettext-0.14.2)
13 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
19 dnl From Bruno Haible.
20
21 AC_DEFUN([AM_LANGINFO_CODESET],
22 [
23 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
24 [AC_TRY_LINK([#include <langinfo.h>],
25 [char* cs = nl_langinfo(CODESET); return !cs;],
26 am_cv_langinfo_codeset=yes,
27 am_cv_langinfo_codeset=no)
28 ])
29 if test $am_cv_langinfo_codeset = yes; then
30 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
31 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
32 fi
33 ])
34
35 # gettext.m4 serial 59 (gettext-0.16.1)
36 dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
1437 dnl This file is free software; the Free Software Foundation
1538 dnl gives unlimited permission to copy and/or distribute it,
1639 dnl with or without modifications, as long as this notice is preserved.
17
18 dnl From Bruno Haible.
19
20 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
21 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
22 dnl require excessive bracketing.
23 ifdef([AC_HELP_STRING],
24 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
25 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
26
27 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
28 dnl to access previously installed libraries. The basic assumption is that
29 dnl a user will want packages to use other packages he previously installed
30 dnl with the same --prefix option.
31 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
32 dnl libraries, but is otherwise very convenient.
33 AC_DEFUN([AC_LIB_PREFIX],
40 dnl
41 dnl This file can can be used in projects which are not available under
42 dnl the GNU General Public License or the GNU Library General Public
43 dnl License but which still want to provide support for the GNU gettext
44 dnl functionality.
45 dnl Please note that the actual code of the GNU gettext library is covered
46 dnl by the GNU Library General Public License, and the rest of the GNU
47 dnl gettext package package is covered by the GNU General Public License.
48 dnl They are *not* in the public domain.
49
50 dnl Authors:
51 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
52 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
53
54 dnl Macro to add for using GNU gettext.
55
56 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
57 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
58 dnl default (if it is not specified or empty) is 'no-libtool'.
59 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
60 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
61 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
62 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
63 dnl depending on --{enable,disable}-{shared,static} and on the presence of
64 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
65 dnl $(top_builddir)/intl/libintl.a will be created.
66 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
67 dnl implementations (in libc or libintl) without the ngettext() function
68 dnl will be ignored. If NEEDSYMBOL is specified and is
69 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
70 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
71 dnl INTLDIR is used to find the intl libraries. If empty,
72 dnl the value `$(top_builddir)/intl/' is used.
73 dnl
74 dnl The result of the configuration is one of three cases:
75 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
76 dnl and used.
77 dnl Catalog format: GNU --> install in $(datadir)
78 dnl Catalog extension: .mo after installation, .gmo in source tree
79 dnl 2) GNU gettext has been found in the system's C library.
80 dnl Catalog format: GNU --> install in $(datadir)
81 dnl Catalog extension: .mo after installation, .gmo in source tree
82 dnl 3) No internationalization, always use English msgid.
83 dnl Catalog format: none
84 dnl Catalog extension: none
85 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
86 dnl The use of .gmo is historical (it was needed to avoid overwriting the
87 dnl GNU format catalogs when building on a platform with an X/Open gettext),
88 dnl but we keep it in order not to force irrelevant filename changes on the
89 dnl maintainers.
90 dnl
91 AC_DEFUN([AM_GNU_GETTEXT],
3492 [
35 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
36 AC_REQUIRE([AC_PROG_CC])
37 AC_REQUIRE([AC_CANONICAL_HOST])
93 dnl Argument checking.
94 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
95 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
96 ])])])])])
97 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
98 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
99 ])])])])
100 define([gt_included_intl],
101 ifelse([$1], [external],
102 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
103 [yes]))
104 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
105 gt_NEEDS_INIT
106 AM_GNU_GETTEXT_NEED([$2])
107
108 AC_REQUIRE([AM_PO_SUBDIRS])dnl
109 ifelse(gt_included_intl, yes, [
110 AC_REQUIRE([AM_INTL_SUBDIR])dnl
111 ])
112
113 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
38114 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
39 dnl By default, look in $includedir and $libdir.
40 use_additional=yes
41 AC_LIB_WITH_FINAL_PREFIX([
42 eval additional_includedir=\"$includedir\"
43 eval additional_libdir=\"$libdir\"
115 AC_REQUIRE([AC_LIB_RPATH])
116
117 dnl Sometimes libintl requires libiconv, so first search for libiconv.
118 dnl Ideally we would do this search only after the
119 dnl if test "$USE_NLS" = "yes"; then
120 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
121 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
122 dnl the configure script would need to contain the same shell code
123 dnl again, outside any 'if'. There are two solutions:
124 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
125 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
126 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
127 dnl documented, we avoid it.
128 ifelse(gt_included_intl, yes, , [
129 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
44130 ])
45 AC_LIB_ARG_WITH([lib-prefix],
46 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
47 --without-lib-prefix don't search for libraries in includedir and libdir],
48 [
49 if test "X$withval" = "Xno"; then
50 use_additional=no
51 else
52 if test "X$withval" = "X"; then
53 AC_LIB_WITH_FINAL_PREFIX([
54 eval additional_includedir=\"$includedir\"
55 eval additional_libdir=\"$libdir\"
56 ])
57 else
58 additional_includedir="$withval/include"
59 additional_libdir="$withval/lib"
131
132 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
133 gt_INTL_MACOSX
134
135 dnl Set USE_NLS.
136 AC_REQUIRE([AM_NLS])
137
138 ifelse(gt_included_intl, yes, [
139 BUILD_INCLUDED_LIBINTL=no
140 USE_INCLUDED_LIBINTL=no
141 ])
142 LIBINTL=
143 LTLIBINTL=
144 POSUB=
145
146 dnl Add a version number to the cache macros.
147 case " $gt_needs " in
148 *" need-formatstring-macros "*) gt_api_version=3 ;;
149 *" need-ngettext "*) gt_api_version=2 ;;
150 *) gt_api_version=1 ;;
151 esac
152 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
153 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
154
155 dnl If we use NLS figure out what method
156 if test "$USE_NLS" = "yes"; then
157 gt_use_preinstalled_gnugettext=no
158 ifelse(gt_included_intl, yes, [
159 AC_MSG_CHECKING([whether included gettext is requested])
160 AC_ARG_WITH(included-gettext,
161 [ --with-included-gettext use the GNU gettext library included here],
162 nls_cv_force_use_gnu_gettext=$withval,
163 nls_cv_force_use_gnu_gettext=no)
164 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
165
166 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
167 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
168 ])
169 dnl User does not insist on using GNU NLS library. Figure out what
170 dnl to use. If GNU gettext is available we use this. Else we have
171 dnl to fall back to GNU NLS library.
172
173 if test $gt_api_version -ge 3; then
174 gt_revision_test_code='
175 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
176 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
177 #endif
178 changequote(,)dnl
179 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
180 changequote([,])dnl
181 '
182 else
183 gt_revision_test_code=
184 fi
185 if test $gt_api_version -ge 2; then
186 gt_expression_test_code=' + * ngettext ("", "", 0)'
187 else
188 gt_expression_test_code=
189 fi
190
191 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
192 [AC_TRY_LINK([#include <libintl.h>
193 $gt_revision_test_code
194 extern int _nl_msg_cat_cntr;
195 extern int *_nl_domain_bindings;],
196 [bindtextdomain ("", "");
197 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
198 [eval "$gt_func_gnugettext_libc=yes"],
199 [eval "$gt_func_gnugettext_libc=no"])])
200
201 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
202 dnl Sometimes libintl requires libiconv, so first search for libiconv.
203 ifelse(gt_included_intl, yes, , [
204 AM_ICONV_LINK
205 ])
206 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
207 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
208 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
209 dnl even if libiconv doesn't exist.
210 AC_LIB_LINKFLAGS_BODY([intl])
211 AC_CACHE_CHECK([for GNU gettext in libintl],
212 [$gt_func_gnugettext_libintl],
213 [gt_save_CPPFLAGS="$CPPFLAGS"
214 CPPFLAGS="$CPPFLAGS $INCINTL"
215 gt_save_LIBS="$LIBS"
216 LIBS="$LIBS $LIBINTL"
217 dnl Now see whether libintl exists and does not depend on libiconv.
218 AC_TRY_LINK([#include <libintl.h>
219 $gt_revision_test_code
220 extern int _nl_msg_cat_cntr;
221 extern
222 #ifdef __cplusplus
223 "C"
224 #endif
225 const char *_nl_expand_alias (const char *);],
226 [bindtextdomain ("", "");
227 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
228 [eval "$gt_func_gnugettext_libintl=yes"],
229 [eval "$gt_func_gnugettext_libintl=no"])
230 dnl Now see whether libintl exists and depends on libiconv.
231 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
232 LIBS="$LIBS $LIBICONV"
233 AC_TRY_LINK([#include <libintl.h>
234 $gt_revision_test_code
235 extern int _nl_msg_cat_cntr;
236 extern
237 #ifdef __cplusplus
238 "C"
239 #endif
240 const char *_nl_expand_alias (const char *);],
241 [bindtextdomain ("", "");
242 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
243 [LIBINTL="$LIBINTL $LIBICONV"
244 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
245 eval "$gt_func_gnugettext_libintl=yes"
246 ])
247 fi
248 CPPFLAGS="$gt_save_CPPFLAGS"
249 LIBS="$gt_save_LIBS"])
250 fi
251
252 dnl If an already present or preinstalled GNU gettext() is found,
253 dnl use it. But if this macro is used in GNU gettext, and GNU
254 dnl gettext is already preinstalled in libintl, we update this
255 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
256 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
257 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
258 && test "$PACKAGE" != gettext-runtime \
259 && test "$PACKAGE" != gettext-tools; }; then
260 gt_use_preinstalled_gnugettext=yes
261 else
262 dnl Reset the values set by searching for libintl.
263 LIBINTL=
264 LTLIBINTL=
265 INCINTL=
266 fi
267
268 ifelse(gt_included_intl, yes, [
269 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
270 dnl GNU gettext is not found in the C library.
271 dnl Fall back on included GNU gettext library.
272 nls_cv_use_gnu_gettext=yes
273 fi
274 fi
275
276 if test "$nls_cv_use_gnu_gettext" = "yes"; then
277 dnl Mark actions used to generate GNU NLS library.
278 BUILD_INCLUDED_LIBINTL=yes
279 USE_INCLUDED_LIBINTL=yes
280 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
281 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
282 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
283 fi
284
285 CATOBJEXT=
286 if test "$gt_use_preinstalled_gnugettext" = "yes" \
287 || test "$nls_cv_use_gnu_gettext" = "yes"; then
288 dnl Mark actions to use GNU gettext tools.
289 CATOBJEXT=.gmo
290 fi
291 ])
292
293 if test -n "$INTL_MACOSX_LIBS"; then
294 if test "$gt_use_preinstalled_gnugettext" = "yes" \
295 || test "$nls_cv_use_gnu_gettext" = "yes"; then
296 dnl Some extra flags are needed during linking.
297 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
298 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
60299 fi
61300 fi
301
302 if test "$gt_use_preinstalled_gnugettext" = "yes" \
303 || test "$nls_cv_use_gnu_gettext" = "yes"; then
304 AC_DEFINE(ENABLE_NLS, 1,
305 [Define to 1 if translation of program messages to the user's native language
306 is requested.])
307 else
308 USE_NLS=no
309 fi
310 fi
311
312 AC_MSG_CHECKING([whether to use NLS])
313 AC_MSG_RESULT([$USE_NLS])
314 if test "$USE_NLS" = "yes"; then
315 AC_MSG_CHECKING([where the gettext function comes from])
316 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
317 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
318 gt_source="external libintl"
319 else
320 gt_source="libc"
321 fi
322 else
323 gt_source="included intl directory"
324 fi
325 AC_MSG_RESULT([$gt_source])
326 fi
327
328 if test "$USE_NLS" = "yes"; then
329
330 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
331 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
332 AC_MSG_CHECKING([how to link with libintl])
333 AC_MSG_RESULT([$LIBINTL])
334 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
335 fi
336
337 dnl For backward compatibility. Some packages may be using this.
338 AC_DEFINE(HAVE_GETTEXT, 1,
339 [Define if the GNU gettext() function is already present or preinstalled.])
340 AC_DEFINE(HAVE_DCGETTEXT, 1,
341 [Define if the GNU dcgettext() function is already present or preinstalled.])
342 fi
343
344 dnl We need to process the po/ directory.
345 POSUB=po
346 fi
347
348 ifelse(gt_included_intl, yes, [
349 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
350 dnl to 'yes' because some of the testsuite requires it.
351 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
352 BUILD_INCLUDED_LIBINTL=yes
353 fi
354
355 dnl Make all variables we use known to autoconf.
356 AC_SUBST(BUILD_INCLUDED_LIBINTL)
357 AC_SUBST(USE_INCLUDED_LIBINTL)
358 AC_SUBST(CATOBJEXT)
359
360 dnl For backward compatibility. Some configure.ins may be using this.
361 nls_cv_header_intl=
362 nls_cv_header_libgt=
363
364 dnl For backward compatibility. Some Makefiles may be using this.
365 DATADIRNAME=share
366 AC_SUBST(DATADIRNAME)
367
368 dnl For backward compatibility. Some Makefiles may be using this.
369 INSTOBJEXT=.mo
370 AC_SUBST(INSTOBJEXT)
371
372 dnl For backward compatibility. Some Makefiles may be using this.
373 GENCAT=gencat
374 AC_SUBST(GENCAT)
375
376 dnl For backward compatibility. Some Makefiles may be using this.
377 INTLOBJS=
378 if test "$USE_INCLUDED_LIBINTL" = yes; then
379 INTLOBJS="\$(GETTOBJS)"
380 fi
381 AC_SUBST(INTLOBJS)
382
383 dnl Enable libtool support if the surrounding package wishes it.
384 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
385 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
386 ])
387
388 dnl For backward compatibility. Some Makefiles may be using this.
389 INTLLIBS="$LIBINTL"
390 AC_SUBST(INTLLIBS)
391
392 dnl Make all documented variables known to autoconf.
393 AC_SUBST(LIBINTL)
394 AC_SUBST(LTLIBINTL)
395 AC_SUBST(POSUB)
62396 ])
63 if test $use_additional = yes; then
64 dnl Potentially add $additional_includedir to $CPPFLAGS.
65 dnl But don't add it
66 dnl 1. if it's the standard /usr/include,
67 dnl 2. if it's already present in $CPPFLAGS,
68 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
69 dnl 4. if it doesn't exist as a directory.
70 if test "X$additional_includedir" != "X/usr/include"; then
71 haveit=
72 for x in $CPPFLAGS; do
73 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
74 if test "X$x" = "X-I$additional_includedir"; then
75 haveit=yes
76 break
77 fi
397
398
399 dnl Checks for special options needed on MacOS X.
400 dnl Defines INTL_MACOSX_LIBS.
401 AC_DEFUN([gt_INTL_MACOSX],
402 [
403 dnl Check for API introduced in MacOS X 10.2.
404 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
405 gt_cv_func_CFPreferencesCopyAppValue,
406 [gt_save_LIBS="$LIBS"
407 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
408 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
409 [CFPreferencesCopyAppValue(NULL, NULL)],
410 [gt_cv_func_CFPreferencesCopyAppValue=yes],
411 [gt_cv_func_CFPreferencesCopyAppValue=no])
412 LIBS="$gt_save_LIBS"])
413 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
414 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
415 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
416 fi
417 dnl Check for API introduced in MacOS X 10.3.
418 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
419 [gt_save_LIBS="$LIBS"
420 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
421 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
422 [gt_cv_func_CFLocaleCopyCurrent=yes],
423 [gt_cv_func_CFLocaleCopyCurrent=no])
424 LIBS="$gt_save_LIBS"])
425 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
426 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
427 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
428 fi
429 INTL_MACOSX_LIBS=
430 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
431 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
432 fi
433 AC_SUBST([INTL_MACOSX_LIBS])
434 ])
435
436
437 dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
438 m4_define([gt_NEEDS_INIT],
439 [
440 m4_divert_text([DEFAULTS], [gt_needs=])
441 m4_define([gt_NEEDS_INIT], [])
442 ])
443
444
445 dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
446 AC_DEFUN([AM_GNU_GETTEXT_NEED],
447 [
448 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
449 ])
450
451
452 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
453 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
454
455 # glibc2.m4 serial 1
456 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
457 dnl This file is free software; the Free Software Foundation
458 dnl gives unlimited permission to copy and/or distribute it,
459 dnl with or without modifications, as long as this notice is preserved.
460
461 # Test for the GNU C Library, version 2.0 or newer.
462 # From Bruno Haible.
463
464 AC_DEFUN([gt_GLIBC2],
465 [
466 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
467 ac_cv_gnu_library_2,
468 [AC_EGREP_CPP([Lucky GNU user],
469 [
470 #include <features.h>
471 #ifdef __GNU_LIBRARY__
472 #if (__GLIBC__ >= 2)
473 Lucky GNU user
474 #endif
475 #endif
476 ],
477 ac_cv_gnu_library_2=yes,
478 ac_cv_gnu_library_2=no)
479 ]
480 )
481 AC_SUBST(GLIBC2)
482 GLIBC2="$ac_cv_gnu_library_2"
483 ]
484 )
485
486 # glibc21.m4 serial 3
487 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
488 dnl This file is free software; the Free Software Foundation
489 dnl gives unlimited permission to copy and/or distribute it,
490 dnl with or without modifications, as long as this notice is preserved.
491
492 # Test for the GNU C Library, version 2.1 or newer.
493 # From Bruno Haible.
494
495 AC_DEFUN([gl_GLIBC21],
496 [
497 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
498 ac_cv_gnu_library_2_1,
499 [AC_EGREP_CPP([Lucky GNU user],
500 [
501 #include <features.h>
502 #ifdef __GNU_LIBRARY__
503 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
504 Lucky GNU user
505 #endif
506 #endif
507 ],
508 ac_cv_gnu_library_2_1=yes,
509 ac_cv_gnu_library_2_1=no)
510 ]
511 )
512 AC_SUBST(GLIBC21)
513 GLIBC21="$ac_cv_gnu_library_2_1"
514 ]
515 )
516
517 # iconv.m4 serial AM4 (gettext-0.11.3)
518 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
519 dnl This file is free software; the Free Software Foundation
520 dnl gives unlimited permission to copy and/or distribute it,
521 dnl with or without modifications, as long as this notice is preserved.
522
523 dnl From Bruno Haible.
524
525 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
526 [
527 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
528 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
529 AC_REQUIRE([AC_LIB_RPATH])
530
531 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
532 dnl accordingly.
533 AC_LIB_LINKFLAGS_BODY([iconv])
534 ])
535
536 AC_DEFUN([AM_ICONV_LINK],
537 [
538 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
539 dnl those with the standalone portable GNU libiconv installed).
540
541 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
542 dnl accordingly.
543 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
544
545 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
546 dnl because if the user has installed libiconv and not disabled its use
547 dnl via --without-libiconv-prefix, he wants to use it. The first
548 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
549 am_save_CPPFLAGS="$CPPFLAGS"
550 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
551
552 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
553 am_cv_func_iconv="no, consider installing GNU libiconv"
554 am_cv_lib_iconv=no
555 AC_TRY_LINK([#include <stdlib.h>
556 #include <iconv.h>],
557 [iconv_t cd = iconv_open("","");
558 iconv(cd,NULL,NULL,NULL,NULL);
559 iconv_close(cd);],
560 am_cv_func_iconv=yes)
561 if test "$am_cv_func_iconv" != yes; then
562 am_save_LIBS="$LIBS"
563 LIBS="$LIBS $LIBICONV"
564 AC_TRY_LINK([#include <stdlib.h>
565 #include <iconv.h>],
566 [iconv_t cd = iconv_open("","");
567 iconv(cd,NULL,NULL,NULL,NULL);
568 iconv_close(cd);],
569 am_cv_lib_iconv=yes
570 am_cv_func_iconv=yes)
571 LIBS="$am_save_LIBS"
572 fi
573 ])
574 if test "$am_cv_func_iconv" = yes; then
575 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
576 fi
577 if test "$am_cv_lib_iconv" = yes; then
578 AC_MSG_CHECKING([how to link with libiconv])
579 AC_MSG_RESULT([$LIBICONV])
580 else
581 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
582 dnl either.
583 CPPFLAGS="$am_save_CPPFLAGS"
584 LIBICONV=
585 LTLIBICONV=
586 fi
587 AC_SUBST(LIBICONV)
588 AC_SUBST(LTLIBICONV)
589 ])
590
591 AC_DEFUN([AM_ICONV],
592 [
593 AM_ICONV_LINK
594 if test "$am_cv_func_iconv" = yes; then
595 AC_MSG_CHECKING([for iconv declaration])
596 AC_CACHE_VAL(am_cv_proto_iconv, [
597 AC_TRY_COMPILE([
598 #include <stdlib.h>
599 #include <iconv.h>
600 extern
601 #ifdef __cplusplus
602 "C"
603 #endif
604 #if defined(__STDC__) || defined(__cplusplus)
605 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
606 #else
607 size_t iconv();
608 #endif
609 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
610 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
611 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
612 AC_MSG_RESULT([$]{ac_t:-
613 }[$]am_cv_proto_iconv)
614 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
615 [Define as const if the declaration of iconv() needs const.])
616 fi
617 ])
618
619 # intdiv0.m4 serial 1 (gettext-0.11.3)
620 dnl Copyright (C) 2002 Free Software Foundation, Inc.
621 dnl This file is free software; the Free Software Foundation
622 dnl gives unlimited permission to copy and/or distribute it,
623 dnl with or without modifications, as long as this notice is preserved.
624
625 dnl From Bruno Haible.
626
627 AC_DEFUN([gt_INTDIV0],
628 [
629 AC_REQUIRE([AC_PROG_CC])dnl
630 AC_REQUIRE([AC_CANONICAL_HOST])dnl
631
632 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
633 gt_cv_int_divbyzero_sigfpe,
634 [
635 AC_TRY_RUN([
636 #include <stdlib.h>
637 #include <signal.h>
638
639 static void
640 #ifdef __cplusplus
641 sigfpe_handler (int sig)
642 #else
643 sigfpe_handler (sig) int sig;
644 #endif
645 {
646 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
647 exit (sig != SIGFPE);
648 }
649
650 int x = 1;
651 int y = 0;
652 int z;
653 int nan;
654
655 int main ()
656 {
657 signal (SIGFPE, sigfpe_handler);
658 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
659 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
660 signal (SIGTRAP, sigfpe_handler);
661 #endif
662 /* Linux/SPARC yields signal SIGILL. */
663 #if defined (__sparc__) && defined (__linux__)
664 signal (SIGILL, sigfpe_handler);
665 #endif
666
667 z = x / y;
668 nan = y / y;
669 exit (1);
670 }
671 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
672 [
673 # Guess based on the CPU.
674 case "$host_cpu" in
675 alpha* | i[34567]86 | m68k | s390*)
676 gt_cv_int_divbyzero_sigfpe="guessing yes";;
677 *)
678 gt_cv_int_divbyzero_sigfpe="guessing no";;
679 esac
680 ])
681 ])
682 case "$gt_cv_int_divbyzero_sigfpe" in
683 *yes) value=1;;
684 *) value=0;;
685 esac
686 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
687 [Define if integer division by zero raises signal SIGFPE.])
688 ])
689
690 # intl.m4 serial 3 (gettext-0.16)
691 dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
692 dnl This file is free software; the Free Software Foundation
693 dnl gives unlimited permission to copy and/or distribute it,
694 dnl with or without modifications, as long as this notice is preserved.
695 dnl
696 dnl This file can can be used in projects which are not available under
697 dnl the GNU General Public License or the GNU Library General Public
698 dnl License but which still want to provide support for the GNU gettext
699 dnl functionality.
700 dnl Please note that the actual code of the GNU gettext library is covered
701 dnl by the GNU Library General Public License, and the rest of the GNU
702 dnl gettext package package is covered by the GNU General Public License.
703 dnl They are *not* in the public domain.
704
705 dnl Authors:
706 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
707 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
708
709 AC_PREREQ(2.52)
710
711 dnl Checks for all prerequisites of the intl subdirectory,
712 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
713 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
714 AC_DEFUN([AM_INTL_SUBDIR],
715 [
716 AC_REQUIRE([AC_PROG_INSTALL])dnl
717 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
718 AC_REQUIRE([AC_PROG_CC])dnl
719 AC_REQUIRE([AC_CANONICAL_HOST])dnl
720 AC_REQUIRE([gt_GLIBC2])dnl
721 AC_REQUIRE([AC_PROG_RANLIB])dnl
722 AC_REQUIRE([gl_VISIBILITY])dnl
723 AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
724 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
725 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
726 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
727 AC_REQUIRE([gt_TYPE_WINT_T])dnl
728 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
729 AC_REQUIRE([gt_TYPE_INTMAX_T])
730 AC_REQUIRE([gt_PRINTF_POSIX])
731 AC_REQUIRE([gl_GLIBC21])dnl
732 AC_REQUIRE([gl_XSIZE])dnl
733 AC_REQUIRE([gt_INTL_MACOSX])dnl
734
735 AC_CHECK_TYPE([ptrdiff_t], ,
736 [AC_DEFINE([ptrdiff_t], [long],
737 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
738 ])
739 AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
740 AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen])
741
742 dnl Use the _snprintf function only if it is declared (because on NetBSD it
743 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
744 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
745 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
746
747 dnl Use the *_unlocked functions only if they are declared.
748 dnl (because some of them were defined without being declared in Solaris
749 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
750 dnl on Solaris 2.5.1 to run on Solaris 2.6).
751 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
752 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
753
754 case $gt_cv_func_printf_posix in
755 *yes) HAVE_POSIX_PRINTF=1 ;;
756 *) HAVE_POSIX_PRINTF=0 ;;
757 esac
758 AC_SUBST([HAVE_POSIX_PRINTF])
759 if test "$ac_cv_func_asprintf" = yes; then
760 HAVE_ASPRINTF=1
761 else
762 HAVE_ASPRINTF=0
763 fi
764 AC_SUBST([HAVE_ASPRINTF])
765 if test "$ac_cv_func_snprintf" = yes; then
766 HAVE_SNPRINTF=1
767 else
768 HAVE_SNPRINTF=0
769 fi
770 AC_SUBST([HAVE_SNPRINTF])
771 if test "$ac_cv_func_wprintf" = yes; then
772 HAVE_WPRINTF=1
773 else
774 HAVE_WPRINTF=0
775 fi
776 AC_SUBST([HAVE_WPRINTF])
777
778 AM_LANGINFO_CODESET
779 gt_LC_MESSAGES
780
781 dnl Compilation on mingw and Cygwin needs special Makefile rules, because
782 dnl 1. when we install a shared library, we must arrange to export
783 dnl auxiliary pointer variables for every exported variable,
784 dnl 2. when we install a shared library and a static library simultaneously,
785 dnl the include file specifies __declspec(dllimport) and therefore we
786 dnl must arrange to define the auxiliary pointer variables for the
787 dnl exported variables _also_ in the static library.
788 if test "$enable_shared" = yes; then
789 case "$host_os" in
790 cygwin*) is_woe32dll=yes ;;
791 *) is_woe32dll=no ;;
792 esac
793 else
794 is_woe32dll=no
795 fi
796 WOE32DLL=$is_woe32dll
797 AC_SUBST([WOE32DLL])
798
799 dnl Rename some macros and functions used for locking.
800 AH_BOTTOM([
801 #define __libc_lock_t gl_lock_t
802 #define __libc_lock_define gl_lock_define
803 #define __libc_lock_define_initialized gl_lock_define_initialized
804 #define __libc_lock_init gl_lock_init
805 #define __libc_lock_lock gl_lock_lock
806 #define __libc_lock_unlock gl_lock_unlock
807 #define __libc_lock_recursive_t gl_recursive_lock_t
808 #define __libc_lock_define_recursive gl_recursive_lock_define
809 #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
810 #define __libc_lock_init_recursive gl_recursive_lock_init
811 #define __libc_lock_lock_recursive gl_recursive_lock_lock
812 #define __libc_lock_unlock_recursive gl_recursive_lock_unlock
813 #define glthread_in_use libintl_thread_in_use
814 #define glthread_lock_init libintl_lock_init
815 #define glthread_lock_lock libintl_lock_lock
816 #define glthread_lock_unlock libintl_lock_unlock
817 #define glthread_lock_destroy libintl_lock_destroy
818 #define glthread_rwlock_init libintl_rwlock_init
819 #define glthread_rwlock_rdlock libintl_rwlock_rdlock
820 #define glthread_rwlock_wrlock libintl_rwlock_wrlock
821 #define glthread_rwlock_unlock libintl_rwlock_unlock
822 #define glthread_rwlock_destroy libintl_rwlock_destroy
823 #define glthread_recursive_lock_init libintl_recursive_lock_init
824 #define glthread_recursive_lock_lock libintl_recursive_lock_lock
825 #define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
826 #define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
827 #define glthread_once libintl_once
828 #define glthread_once_call libintl_once_call
829 #define glthread_once_singlethreaded libintl_once_singlethreaded
830 ])
831 ])
832
833
834 dnl Checks for the core files of the intl subdirectory:
835 dnl dcigettext.c
836 dnl eval-plural.h
837 dnl explodename.c
838 dnl finddomain.c
839 dnl gettextP.h
840 dnl gmo.h
841 dnl hash-string.h hash-string.c
842 dnl l10nflist.c
843 dnl libgnuintl.h.in (except the *printf stuff)
844 dnl loadinfo.h
845 dnl loadmsgcat.c
846 dnl localealias.c
847 dnl log.c
848 dnl plural-exp.h plural-exp.c
849 dnl plural.y
850 dnl Used by libglocale.
851 AC_DEFUN([gt_INTL_SUBDIR_CORE],
852 [
853 AC_REQUIRE([AC_C_INLINE])dnl
854 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
855 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
856 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
857 AC_REQUIRE([AC_FUNC_MMAP])dnl
858 AC_REQUIRE([gt_INTDIV0])dnl
859 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
860 AC_REQUIRE([gt_INTTYPES_PRI])dnl
861 AC_REQUIRE([gl_LOCK])dnl
862
863 AC_TRY_LINK(
864 [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
865 [],
866 [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
867 [Define to 1 if the compiler understands __builtin_expect.])])
868
869 AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
870 AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
871 stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
872 argz_next __fsetlocking])
873
874 dnl Use the *_unlocked functions only if they are declared.
875 dnl (because some of them were defined without being declared in Solaris
876 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
877 dnl on Solaris 2.5.1 to run on Solaris 2.6).
878 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
879 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
880 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
881
882 AM_ICONV
883
884 dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined,
885 dnl and a _NL_LOCALE_NAME macro always.
886 AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name,
887 [AC_TRY_LINK([#include <langinfo.h>
888 #include <locale.h>],
889 [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));],
890 gt_cv_nl_locale_name=yes,
891 gt_cv_nl_locale_name=no)
892 ])
893 if test $gt_cv_nl_locale_name = yes; then
894 AC_DEFINE(HAVE_NL_LOCALE_NAME, 1,
895 [Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.])
896 fi
897
898 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
899 dnl because plural.y uses bison specific features. It requires at least
900 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
901 dnl compile.
902 dnl bison is only needed for the maintainer (who touches plural.y). But in
903 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
904 dnl the rule in general Makefile. Now, some people carelessly touch the
905 dnl files or have a broken "make" program, hence the plural.c rule will
906 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
907 dnl present or too old.
908 AC_CHECK_PROGS([INTLBISON], [bison])
909 if test -z "$INTLBISON"; then
910 ac_verc_fail=yes
911 else
912 dnl Found it, now check the version.
913 AC_MSG_CHECKING([version of bison])
914 changequote(<<,>>)dnl
915 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
916 case $ac_prog_version in
917 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
918 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
919 changequote([,])dnl
920 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
921 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
922 esac
923 AC_MSG_RESULT([$ac_prog_version])
924 fi
925 if test $ac_verc_fail = yes; then
926 INTLBISON=:
927 fi
928 ])
929
930
931 dnl gt_CHECK_DECL(FUNC, INCLUDES)
932 dnl Check whether a function is declared.
933 AC_DEFUN([gt_CHECK_DECL],
934 [
935 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
936 [AC_TRY_COMPILE([$2], [
937 #ifndef $1
938 char *p = (char *) $1;
939 #endif
940 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
941 if test $ac_cv_have_decl_$1 = yes; then
942 gt_value=1
943 else
944 gt_value=0
945 fi
946 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
947 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
948 ])
949
950 # intmax.m4 serial 3 (gettext-0.16)
951 dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
952 dnl This file is free software; the Free Software Foundation
953 dnl gives unlimited permission to copy and/or distribute it,
954 dnl with or without modifications, as long as this notice is preserved.
955
956 dnl From Bruno Haible.
957 dnl Test whether the system has the 'intmax_t' type, but don't attempt to
958 dnl find a replacement if it is lacking.
959
960 AC_DEFUN([gt_TYPE_INTMAX_T],
961 [
962 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
963 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
964 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
965 [AC_TRY_COMPILE([
966 #include <stddef.h>
967 #include <stdlib.h>
968 #if HAVE_STDINT_H_WITH_UINTMAX
969 #include <stdint.h>
970 #endif
971 #if HAVE_INTTYPES_H_WITH_UINTMAX
972 #include <inttypes.h>
973 #endif
974 ], [intmax_t x = -1;
975 return !x;],
976 gt_cv_c_intmax_t=yes,
977 gt_cv_c_intmax_t=no)])
978 if test $gt_cv_c_intmax_t = yes; then
979 AC_DEFINE(HAVE_INTMAX_T, 1,
980 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
981 fi
982 ])
983
984 # inttypes-pri.m4 serial 4 (gettext-0.16)
985 dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc.
986 dnl This file is free software; the Free Software Foundation
987 dnl gives unlimited permission to copy and/or distribute it,
988 dnl with or without modifications, as long as this notice is preserved.
989
990 dnl From Bruno Haible.
991
992 AC_PREREQ(2.52)
993
994 # Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
995 # macros to non-string values. This is the case on AIX 4.3.3.
996
997 AC_DEFUN([gt_INTTYPES_PRI],
998 [
999 AC_CHECK_HEADERS([inttypes.h])
1000 if test $ac_cv_header_inttypes_h = yes; then
1001 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
1002 gt_cv_inttypes_pri_broken,
1003 [
1004 AC_TRY_COMPILE([#include <inttypes.h>
1005 #ifdef PRId32
1006 char *p = PRId32;
1007 #endif
1008 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
1009 ])
1010 fi
1011 if test "$gt_cv_inttypes_pri_broken" = yes; then
1012 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
1013 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
1014 PRI_MACROS_BROKEN=1
1015 else
1016 PRI_MACROS_BROKEN=0
1017 fi
1018 AC_SUBST([PRI_MACROS_BROKEN])
1019 ])
1020
1021 # inttypes_h.m4 serial 7
1022 dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
1023 dnl This file is free software; the Free Software Foundation
1024 dnl gives unlimited permission to copy and/or distribute it,
1025 dnl with or without modifications, as long as this notice is preserved.
1026
1027 dnl From Paul Eggert.
1028
1029 # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
1030 # doesn't clash with <sys/types.h>, and declares uintmax_t.
1031
1032 AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
1033 [
1034 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
1035 [AC_TRY_COMPILE(
1036 [#include <sys/types.h>
1037 #include <inttypes.h>],
1038 [uintmax_t i = (uintmax_t) -1; return !i;],
1039 gl_cv_header_inttypes_h=yes,
1040 gl_cv_header_inttypes_h=no)])
1041 if test $gl_cv_header_inttypes_h = yes; then
1042 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
1043 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
1044 and declares uintmax_t. ])
1045 fi
1046 ])
1047
1048 # lcmessage.m4 serial 4 (gettext-0.14.2)
1049 dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
1050 dnl This file is free software; the Free Software Foundation
1051 dnl gives unlimited permission to copy and/or distribute it,
1052 dnl with or without modifications, as long as this notice is preserved.
1053 dnl
1054 dnl This file can can be used in projects which are not available under
1055 dnl the GNU General Public License or the GNU Library General Public
1056 dnl License but which still want to provide support for the GNU gettext
1057 dnl functionality.
1058 dnl Please note that the actual code of the GNU gettext library is covered
1059 dnl by the GNU Library General Public License, and the rest of the GNU
1060 dnl gettext package package is covered by the GNU General Public License.
1061 dnl They are *not* in the public domain.
1062
1063 dnl Authors:
1064 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
1065
1066 # Check whether LC_MESSAGES is available in <locale.h>.
1067
1068 AC_DEFUN([gt_LC_MESSAGES],
1069 [
1070 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
1071 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
1072 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
1073 if test $gt_cv_val_LC_MESSAGES = yes; then
1074 AC_DEFINE(HAVE_LC_MESSAGES, 1,
1075 [Define if your <locale.h> file defines LC_MESSAGES.])
1076 fi
1077 ])
1078
1079 # lib-ld.m4 serial 3 (gettext-0.13)
1080 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1081 dnl This file is free software; the Free Software Foundation
1082 dnl gives unlimited permission to copy and/or distribute it,
1083 dnl with or without modifications, as long as this notice is preserved.
1084
1085 dnl Subroutines of libtool.m4,
1086 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
1087 dnl with libtool.m4.
1088
1089 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
1090 AC_DEFUN([AC_LIB_PROG_LD_GNU],
1091 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
1092 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1093 case `$LD -v 2>&1 </dev/null` in
1094 *GNU* | *'with BFD'*)
1095 acl_cv_prog_gnu_ld=yes ;;
1096 *)
1097 acl_cv_prog_gnu_ld=no ;;
1098 esac])
1099 with_gnu_ld=$acl_cv_prog_gnu_ld
1100 ])
1101
1102 dnl From libtool-1.4. Sets the variable LD.
1103 AC_DEFUN([AC_LIB_PROG_LD],
1104 [AC_ARG_WITH(gnu-ld,
1105 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1106 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1107 AC_REQUIRE([AC_PROG_CC])dnl
1108 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1109 # Prepare PATH_SEPARATOR.
1110 # The user is always right.
1111 if test "${PATH_SEPARATOR+set}" != set; then
1112 echo "#! /bin/sh" >conf$$.sh
1113 echo "exit 0" >>conf$$.sh
1114 chmod +x conf$$.sh
1115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1116 PATH_SEPARATOR=';'
1117 else
1118 PATH_SEPARATOR=:
1119 fi
1120 rm -f conf$$.sh
1121 fi
1122 ac_prog=ld
1123 if test "$GCC" = yes; then
1124 # Check if gcc -print-prog-name=ld gives a path.
1125 AC_MSG_CHECKING([for ld used by GCC])
1126 case $host in
1127 *-*-mingw*)
1128 # gcc leaves a trailing carriage return which upsets mingw
1129 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1130 *)
1131 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1132 esac
1133 case $ac_prog in
1134 # Accept absolute paths.
1135 [[\\/]* | [A-Za-z]:[\\/]*)]
1136 [re_direlt='/[^/][^/]*/\.\./']
1137 # Canonicalize the path of ld
1138 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1139 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1140 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
781141 done
79 if test -z "$haveit"; then
80 if test "X$additional_includedir" = "X/usr/local/include"; then
81 if test -n "$GCC"; then
82 case $host_os in
83 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
84 esac
85 fi
86 fi
87 if test -z "$haveit"; then
88 if test -d "$additional_includedir"; then
89 dnl Really add $additional_includedir to $CPPFLAGS.
90 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
91 fi
92 fi
93 fi
1142 test -z "$LD" && LD="$ac_prog"
1143 ;;
1144 "")
1145 # If it fails, then pretend we aren't using GCC.
1146 ac_prog=ld
1147 ;;
1148 *)
1149 # If it is relative, then search for the first ld in PATH.
1150 with_gnu_ld=unknown
1151 ;;
1152 esac
1153 elif test "$with_gnu_ld" = yes; then
1154 AC_MSG_CHECKING([for GNU ld])
1155 else
1156 AC_MSG_CHECKING([for non-GNU ld])
1157 fi
1158 AC_CACHE_VAL(acl_cv_path_LD,
1159 [if test -z "$LD"; then
1160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1161 for ac_dir in $PATH; do
1162 test -z "$ac_dir" && ac_dir=.
1163 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1164 acl_cv_path_LD="$ac_dir/$ac_prog"
1165 # Check to see if the program is GNU ld. I'd rather use --version,
1166 # but apparently some GNU ld's only accept -v.
1167 # Break only if it was the GNU/non-GNU ld that we prefer.
1168 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1169 *GNU* | *'with BFD'*)
1170 test "$with_gnu_ld" != no && break ;;
1171 *)
1172 test "$with_gnu_ld" != yes && break ;;
1173 esac
941174 fi
95 dnl Potentially add $additional_libdir to $LDFLAGS.
96 dnl But don't add it
97 dnl 1. if it's the standard /usr/lib,
98 dnl 2. if it's already present in $LDFLAGS,
99 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
100 dnl 4. if it doesn't exist as a directory.
101 if test "X$additional_libdir" != "X/usr/lib"; then
102 haveit=
103 for x in $LDFLAGS; do
104 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
105 if test "X$x" = "X-L$additional_libdir"; then
106 haveit=yes
107 break
108 fi
109 done
110 if test -z "$haveit"; then
111 if test "X$additional_libdir" = "X/usr/local/lib"; then
112 if test -n "$GCC"; then
113 case $host_os in
114 linux*) haveit=yes;;
115 esac
116 fi
117 fi
118 if test -z "$haveit"; then
119 if test -d "$additional_libdir"; then
120 dnl Really add $additional_libdir to $LDFLAGS.
121 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
122 fi
123 fi
124 fi
125 fi
126 fi
1175 done
1176 IFS="$ac_save_ifs"
1177 else
1178 acl_cv_path_LD="$LD" # Let the user override the test with a path.
1179 fi])
1180 LD="$acl_cv_path_LD"
1181 if test -n "$LD"; then
1182 AC_MSG_RESULT($LD)
1183 else
1184 AC_MSG_RESULT(no)
1185 fi
1186 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1187 AC_LIB_PROG_LD_GNU
1271188 ])
1281189
129 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
130 dnl acl_final_exec_prefix, containing the values to which $prefix and
131 dnl $exec_prefix will expand at the end of the configure script.
132 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
133 [
134 dnl Unfortunately, prefix and exec_prefix get only finally determined
135 dnl at the end of configure.
136 if test "X$prefix" = "XNONE"; then
137 acl_final_prefix="$ac_default_prefix"
138 else
139 acl_final_prefix="$prefix"
140 fi
141 if test "X$exec_prefix" = "XNONE"; then
142 acl_final_exec_prefix='${prefix}'
143 else
144 acl_final_exec_prefix="$exec_prefix"
145 fi
146 acl_save_prefix="$prefix"
147 prefix="$acl_final_prefix"
148 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
149 prefix="$acl_save_prefix"
150 ])
151
152 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
153 dnl variables prefix and exec_prefix bound to the values they will have
154 dnl at the end of the configure script.
155 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
156 [
157 acl_save_prefix="$prefix"
158 prefix="$acl_final_prefix"
159 acl_save_exec_prefix="$exec_prefix"
160 exec_prefix="$acl_final_exec_prefix"
161 $1
162 exec_prefix="$acl_save_exec_prefix"
163 prefix="$acl_save_prefix"
164 ])
165
166 # lib-link.m4 serial 6 (gettext-0.14.3)
167 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
1190 # lib-link.m4 serial 9 (gettext-0.16)
1191 dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.
1681192 dnl This file is free software; the Free Software Foundation
1691193 dnl gives unlimited permission to copy and/or distribute it,
1701194 dnl with or without modifications, as long as this notice is preserved.
2911315 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
2921316 AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
2931317 [
1318 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2941319 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2951320 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2961321 dnl By default, look in $includedir and $libdir.
3131338 ])
3141339 else
3151340 additional_includedir="$withval/include"
316 additional_libdir="$withval/lib"
1341 additional_libdir="$withval/$acl_libdirstem"
3171342 fi
3181343 fi
3191344 ])
3621387 found_so=
3631388 found_a=
3641389 if test $use_additional = yes; then
365 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
1390 if test -n "$shlibext" \
1391 && { test -f "$additional_libdir/lib$name.$shlibext" \
1392 || { test "$shlibext" = dll \
1393 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
3661394 found_dir="$additional_libdir"
367 found_so="$additional_libdir/lib$name.$shlibext"
1395 if test -f "$additional_libdir/lib$name.$shlibext"; then
1396 found_so="$additional_libdir/lib$name.$shlibext"
1397 else
1398 found_so="$additional_libdir/lib$name.dll.a"
1399 fi
3681400 if test -f "$additional_libdir/lib$name.la"; then
3691401 found_la="$additional_libdir/lib$name.la"
3701402 fi
3841416 case "$x" in
3851417 -L*)
3861418 dir=`echo "X$x" | sed -e 's/^X-L//'`
387 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1419 if test -n "$shlibext" \
1420 && { test -f "$dir/lib$name.$shlibext" \
1421 || { test "$shlibext" = dll \
1422 && test -f "$dir/lib$name.dll.a"; }; }; then
3881423 found_dir="$dir"
389 found_so="$dir/lib$name.$shlibext"
1424 if test -f "$dir/lib$name.$shlibext"; then
1425 found_so="$dir/lib$name.$shlibext"
1426 else
1427 found_so="$dir/lib$name.dll.a"
1428 fi
3901429 if test -f "$dir/lib$name.la"; then
3911430 found_la="$dir/lib$name.la"
3921431 fi
4131452 dnl Linking with a shared library. We attempt to hardcode its
4141453 dnl directory into the executable's runpath, unless it's the
4151454 dnl standard /usr/lib.
416 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1455 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4171456 dnl No hardcoding is needed.
4181457 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
4191458 else
4991538 dnl Assume the include files are nearby.
5001539 additional_includedir=
5011540 case "$found_dir" in
502 */lib | */lib/)
503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1541 */$acl_libdirstem | */$acl_libdirstem/)
1542 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5041543 additional_includedir="$basedir/include"
5051544 ;;
5061545 esac
5611600 dnl 3. if it's already present in $LDFLAGS or the already
5621601 dnl constructed $LIBNAME,
5631602 dnl 4. if it doesn't exist as a directory.
564 if test "X$additional_libdir" != "X/usr/lib"; then
1603 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5651604 haveit=
566 if test "X$additional_libdir" = "X/usr/local/lib"; then
1605 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5671606 if test -n "$GCC"; then
5681607 case $host_os in
5691608 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7171756 done
7181757 ])
7191758
720 # lib-ld.m4 serial 3 (gettext-0.13)
721 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1759 dnl For those cases where a variable contains several -L and -l options
1760 dnl referring to unknown libraries and directories, this macro determines the
1761 dnl necessary additional linker options for the runtime path.
1762 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
1763 dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
1764 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
1765 dnl otherwise linking without libtool is assumed.
1766 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
1767 [
1768 AC_REQUIRE([AC_LIB_RPATH])
1769 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1770 $1=
1771 if test "$enable_rpath" != no; then
1772 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1773 dnl Use an explicit option to hardcode directories into the resulting
1774 dnl binary.
1775 rpathdirs=
1776 next=
1777 for opt in $2; do
1778 if test -n "$next"; then
1779 dir="$next"
1780 dnl No need to hardcode the standard /usr/lib.
1781 if test "X$dir" != "X/usr/$acl_libdirstem"; then
1782 rpathdirs="$rpathdirs $dir"
1783 fi
1784 next=
1785 else
1786 case $opt in
1787 -L) next=yes ;;
1788 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
1789 dnl No need to hardcode the standard /usr/lib.
1790 if test "X$dir" != "X/usr/$acl_libdirstem"; then
1791 rpathdirs="$rpathdirs $dir"
1792 fi
1793 next= ;;
1794 *) next= ;;
1795 esac
1796 fi
1797 done
1798 if test "X$rpathdirs" != "X"; then
1799 if test -n ""$3""; then
1800 dnl libtool is used for linking. Use -R options.
1801 for dir in $rpathdirs; do
1802 $1="${$1}${$1:+ }-R$dir"
1803 done
1804 else
1805 dnl The linker is used for linking directly.
1806 if test -n "$hardcode_libdir_separator"; then
1807 dnl Weird platform: only the last -rpath option counts, the user
1808 dnl must pass all path elements in one option.
1809 alldirs=
1810 for dir in $rpathdirs; do
1811 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"
1812 done
1813 acl_save_libdir="$libdir"
1814 libdir="$alldirs"
1815 eval flag=\"$hardcode_libdir_flag_spec\"
1816 libdir="$acl_save_libdir"
1817 $1="$flag"
1818 else
1819 dnl The -rpath options are cumulative.
1820 for dir in $rpathdirs; do
1821 acl_save_libdir="$libdir"
1822 libdir="$dir"
1823 eval flag=\"$hardcode_libdir_flag_spec\"
1824 libdir="$acl_save_libdir"
1825 $1="${$1}${$1:+ }$flag"
1826 done
1827 fi
1828 fi
1829 fi
1830 fi
1831 fi
1832 AC_SUBST([$1])
1833 ])
1834
1835 # lib-prefix.m4 serial 5 (gettext-0.15)
1836 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
7221837 dnl This file is free software; the Free Software Foundation
7231838 dnl gives unlimited permission to copy and/or distribute it,
7241839 dnl with or without modifications, as long as this notice is preserved.
7251840
726 dnl Subroutines of libtool.m4,
727 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
728 dnl with libtool.m4.
729
730 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
731 AC_DEFUN([AC_LIB_PROG_LD_GNU],
732 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
733 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
734 case `$LD -v 2>&1 </dev/null` in
735 *GNU* | *'with BFD'*)
736 acl_cv_prog_gnu_ld=yes ;;
737 *)
738 acl_cv_prog_gnu_ld=no ;;
739 esac])
740 with_gnu_ld=$acl_cv_prog_gnu_ld
1841 dnl From Bruno Haible.
1842
1843 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
1844 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
1845 dnl require excessive bracketing.
1846 ifdef([AC_HELP_STRING],
1847 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
1848 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
1849
1850 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
1851 dnl to access previously installed libraries. The basic assumption is that
1852 dnl a user will want packages to use other packages he previously installed
1853 dnl with the same --prefix option.
1854 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
1855 dnl libraries, but is otherwise very convenient.
1856 AC_DEFUN([AC_LIB_PREFIX],
1857 [
1858 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
1859 AC_REQUIRE([AC_PROG_CC])
1860 AC_REQUIRE([AC_CANONICAL_HOST])
1861 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1862 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1863 dnl By default, look in $includedir and $libdir.
1864 use_additional=yes
1865 AC_LIB_WITH_FINAL_PREFIX([
1866 eval additional_includedir=\"$includedir\"
1867 eval additional_libdir=\"$libdir\"
1868 ])
1869 AC_LIB_ARG_WITH([lib-prefix],
1870 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1871 --without-lib-prefix don't search for libraries in includedir and libdir],
1872 [
1873 if test "X$withval" = "Xno"; then
1874 use_additional=no
1875 else
1876 if test "X$withval" = "X"; then
1877 AC_LIB_WITH_FINAL_PREFIX([
1878 eval additional_includedir=\"$includedir\"
1879 eval additional_libdir=\"$libdir\"
1880 ])
1881 else
1882 additional_includedir="$withval/include"
1883 additional_libdir="$withval/$acl_libdirstem"
1884 fi
1885 fi
7411886 ])
742
743 dnl From libtool-1.4. Sets the variable LD.
744 AC_DEFUN([AC_LIB_PROG_LD],
745 [AC_ARG_WITH(gnu-ld,
746 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
747 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
748 AC_REQUIRE([AC_PROG_CC])dnl
749 AC_REQUIRE([AC_CANONICAL_HOST])dnl
750 # Prepare PATH_SEPARATOR.
751 # The user is always right.
752 if test "${PATH_SEPARATOR+set}" != set; then
753 echo "#! /bin/sh" >conf$$.sh
754 echo "exit 0" >>conf$$.sh
755 chmod +x conf$$.sh
756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
757 PATH_SEPARATOR=';'
1887 if test $use_additional = yes; then
1888 dnl Potentially add $additional_includedir to $CPPFLAGS.
1889 dnl But don't add it
1890 dnl 1. if it's the standard /usr/include,
1891 dnl 2. if it's already present in $CPPFLAGS,
1892 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
1893 dnl 4. if it doesn't exist as a directory.
1894 if test "X$additional_includedir" != "X/usr/include"; then
1895 haveit=
1896 for x in $CPPFLAGS; do
1897 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1898 if test "X$x" = "X-I$additional_includedir"; then
1899 haveit=yes
1900 break
1901 fi
1902 done
1903 if test -z "$haveit"; then
1904 if test "X$additional_includedir" = "X/usr/local/include"; then
1905 if test -n "$GCC"; then
1906 case $host_os in
1907 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1908 esac
1909 fi
1910 fi
1911 if test -z "$haveit"; then
1912 if test -d "$additional_includedir"; then
1913 dnl Really add $additional_includedir to $CPPFLAGS.
1914 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
1915 fi
1916 fi
1917 fi
1918 fi
1919 dnl Potentially add $additional_libdir to $LDFLAGS.
1920 dnl But don't add it
1921 dnl 1. if it's the standard /usr/lib,
1922 dnl 2. if it's already present in $LDFLAGS,
1923 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
1924 dnl 4. if it doesn't exist as a directory.
1925 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
1926 haveit=
1927 for x in $LDFLAGS; do
1928 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1929 if test "X$x" = "X-L$additional_libdir"; then
1930 haveit=yes
1931 break
1932 fi
1933 done
1934 if test -z "$haveit"; then
1935 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
1936 if test -n "$GCC"; then
1937 case $host_os in
1938 linux*) haveit=yes;;
1939 esac
1940 fi
1941 fi
1942 if test -z "$haveit"; then
1943 if test -d "$additional_libdir"; then
1944 dnl Really add $additional_libdir to $LDFLAGS.
1945 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
1946 fi
1947 fi
1948 fi
1949 fi
1950 fi
1951 ])
1952
1953 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1954 dnl acl_final_exec_prefix, containing the values to which $prefix and
1955 dnl $exec_prefix will expand at the end of the configure script.
1956 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1957 [
1958 dnl Unfortunately, prefix and exec_prefix get only finally determined
1959 dnl at the end of configure.
1960 if test "X$prefix" = "XNONE"; then
1961 acl_final_prefix="$ac_default_prefix"
7581962 else
759 PATH_SEPARATOR=:
760 fi
761 rm -f conf$$.sh
762 fi
763 ac_prog=ld
764 if test "$GCC" = yes; then
765 # Check if gcc -print-prog-name=ld gives a path.
766 AC_MSG_CHECKING([for ld used by GCC])
767 case $host in
768 *-*-mingw*)
769 # gcc leaves a trailing carriage return which upsets mingw
770 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
771 *)
772 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
773 esac
774 case $ac_prog in
775 # Accept absolute paths.
776 [[\\/]* | [A-Za-z]:[\\/]*)]
777 [re_direlt='/[^/][^/]*/\.\./']
778 # Canonicalize the path of ld
779 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
780 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
781 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
782 done
783 test -z "$LD" && LD="$ac_prog"
784 ;;
785 "")
786 # If it fails, then pretend we aren't using GCC.
787 ac_prog=ld
788 ;;
789 *)
790 # If it is relative, then search for the first ld in PATH.
791 with_gnu_ld=unknown
792 ;;
793 esac
794 elif test "$with_gnu_ld" = yes; then
795 AC_MSG_CHECKING([for GNU ld])
796 else
797 AC_MSG_CHECKING([for non-GNU ld])
798 fi
799 AC_CACHE_VAL(acl_cv_path_LD,
800 [if test -z "$LD"; then
801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
802 for ac_dir in $PATH; do
803 test -z "$ac_dir" && ac_dir=.
804 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
805 acl_cv_path_LD="$ac_dir/$ac_prog"
806 # Check to see if the program is GNU ld. I'd rather use --version,
807 # but apparently some GNU ld's only accept -v.
808 # Break only if it was the GNU/non-GNU ld that we prefer.
809 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
810 *GNU* | *'with BFD'*)
811 test "$with_gnu_ld" != no && break ;;
812 *)
813 test "$with_gnu_ld" != yes && break ;;
814 esac
815 fi
816 done
817 IFS="$ac_save_ifs"
818 else
819 acl_cv_path_LD="$LD" # Let the user override the test with a path.
820 fi])
821 LD="$acl_cv_path_LD"
822 if test -n "$LD"; then
823 AC_MSG_RESULT($LD)
824 else
825 AC_MSG_RESULT(no)
826 fi
827 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
828 AC_LIB_PROG_LD_GNU
1963 acl_final_prefix="$prefix"
1964 fi
1965 if test "X$exec_prefix" = "XNONE"; then
1966 acl_final_exec_prefix='${prefix}'
1967 else
1968 acl_final_exec_prefix="$exec_prefix"
1969 fi
1970 acl_save_prefix="$prefix"
1971 prefix="$acl_final_prefix"
1972 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1973 prefix="$acl_save_prefix"
8291974 ])
8301975
831 # Do all the work for Automake. This macro actually does too much --
832 # some checks are only needed if your package does certain things.
833 # But this isn't really a big deal.
834
835 # serial 1
836
837 dnl Usage:
838 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
839
840 AC_DEFUN([AM_INIT_AUTOMAKE],
841 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
842 AC_REQUIRE([AC_PROG_INSTALL])
843 PACKAGE=[$1]
844 AC_SUBST(PACKAGE)
845 VERSION=[$2]
846 AC_SUBST(VERSION)
847 dnl test to see if srcdir already configured
848 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
849 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
850 fi
851 ifelse([$3],,
852 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
853 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
854 AC_REQUIRE([AM_SANITY_CHECK])
855 AC_REQUIRE([AC_ARG_PROGRAM])
856 dnl FIXME This is truly gross.
857 missing_dir=`cd $ac_aux_dir && pwd`
858 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
859 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
860 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
861 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
862 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
863 AC_REQUIRE([AC_PROG_MAKE_SET])])
864
865 # Copyright 2002 Free Software Foundation, Inc.
866
867 # This program is free software; you can redistribute it and/or modify
868 # it under the terms of the GNU General Public License as published by
869 # the Free Software Foundation; either version 2, or (at your option)
870 # any later version.
871
872 # This program is distributed in the hope that it will be useful,
873 # but WITHOUT ANY WARRANTY; without even the implied warranty of
874 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
875 # GNU General Public License for more details.
876
877 # You should have received a copy of the GNU General Public License
878 # along with this program; if not, write to the Free Software
879 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
880
881 # AM_AUTOMAKE_VERSION(VERSION)
882 # ----------------------------
883 # Automake X.Y traces this macro to ensure aclocal.m4 has been
884 # generated from the m4 files accompanying Automake X.Y.
885 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
886
887 # AM_SET_CURRENT_AUTOMAKE_VERSION
888 # -------------------------------
889 # Call AM_AUTOMAKE_VERSION so it can be traced.
890 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
891 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
892 [AM_AUTOMAKE_VERSION([1.4-p6])])
893
894 #
895 # Check to make sure that the build environment is sane.
896 #
897
898 AC_DEFUN([AM_SANITY_CHECK],
899 [AC_MSG_CHECKING([whether build environment is sane])
900 # Just in case
901 sleep 1
902 echo timestamp > conftestfile
903 # Do `set' in a subshell so we don't clobber the current shell's
904 # arguments. Must try -L first in case configure is actually a
905 # symlink; some systems play weird games with the mod time of symlinks
906 # (eg FreeBSD returns the mod time of the symlink's containing
907 # directory).
908 if (
909 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
910 if test "[$]*" = "X"; then
911 # -L didn't work.
912 set X `ls -t $srcdir/configure conftestfile`
913 fi
914 if test "[$]*" != "X $srcdir/configure conftestfile" \
915 && test "[$]*" != "X conftestfile $srcdir/configure"; then
916
917 # If neither matched, then we have a broken ls. This can happen
918 # if, for instance, CONFIG_SHELL is bash and it inherits a
919 # broken ls alias from the environment. This has actually
920 # happened. Such a system could not be considered "sane".
921 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
922 alias in your environment])
923 fi
924
925 test "[$]2" = conftestfile
926 )
927 then
928 # Ok.
929 :
930 else
931 AC_MSG_ERROR([newly created file is older than distributed files!
932 Check your system clock])
933 fi
934 rm -f conftest*
935 AC_MSG_RESULT(yes)])
936
937 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
938 dnl The program must properly implement --version.
939 AC_DEFUN([AM_MISSING_PROG],
940 [AC_MSG_CHECKING(for working $2)
941 # Run test in a subshell; some versions of sh will print an error if
942 # an executable is not found, even if stderr is redirected.
943 # Redirect stdin to placate older versions of autoconf. Sigh.
944 if ($2 --version) < /dev/null > /dev/null 2>&1; then
945 $1=$2
946 AC_MSG_RESULT(found)
947 else
948 $1="$3/missing $2"
949 AC_MSG_RESULT(missing)
950 fi
951 AC_SUBST($1)])
952
953 # Add --enable-maintainer-mode option to configure.
954 # From Jim Meyering
955
956 # serial 1
957
958 AC_DEFUN([AM_MAINTAINER_MODE],
959 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
960 dnl maintainer-mode is disabled by default
961 AC_ARG_ENABLE(maintainer-mode,
962 [ --enable-maintainer-mode enable make rules and dependencies not useful
963 (and sometimes confusing) to the casual installer],
964 USE_MAINTAINER_MODE=$enableval,
965 USE_MAINTAINER_MODE=no)
966 AC_MSG_RESULT($USE_MAINTAINER_MODE)
967 AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
968 MAINT=$MAINTAINER_MODE_TRUE
969 AC_SUBST(MAINT)dnl
970 ]
971 )
972
973 # Define a conditional.
974
975 AC_DEFUN([AM_CONDITIONAL],
976 [AC_SUBST($1_TRUE)
977 AC_SUBST($1_FALSE)
978 if $2; then
979 $1_TRUE=
980 $1_FALSE='#'
981 else
982 $1_TRUE='#'
983 $1_FALSE=
984 fi])
985
986 # isc-posix.m4 serial 2 (gettext-0.11.2)
987 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
988 dnl This file is free software; the Free Software Foundation
989 dnl gives unlimited permission to copy and/or distribute it,
990 dnl with or without modifications, as long as this notice is preserved.
991
992 # This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
993
994 # This test replaces the one in autoconf.
995 # Currently this macro should have the same name as the autoconf macro
996 # because gettext's gettext.m4 (distributed in the automake package)
997 # still uses it. Otherwise, the use in gettext.m4 makes autoheader
998 # give these diagnostics:
999 # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
1000 # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
1001
1002 undefine([AC_ISC_POSIX])
1003
1004 AC_DEFUN([AC_ISC_POSIX],
1005 [
1006 dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
1007 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
1008 ]
1009 )
1976 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
1977 dnl variables prefix and exec_prefix bound to the values they will have
1978 dnl at the end of the configure script.
1979 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
1980 [
1981 acl_save_prefix="$prefix"
1982 prefix="$acl_final_prefix"
1983 acl_save_exec_prefix="$exec_prefix"
1984 exec_prefix="$acl_final_exec_prefix"
1985 $1
1986 exec_prefix="$acl_save_exec_prefix"
1987 prefix="$acl_save_prefix"
1988 ])
1989
1990 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
1991 dnl the basename of the libdir, either "lib" or "lib64".
1992 AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
1993 [
1994 dnl There is no formal standard regarding lib and lib64. The current
1995 dnl practice is that on a system supporting 32-bit and 64-bit instruction
1996 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
1997 dnl libraries go under $prefix/lib. We determine the compiler's default
1998 dnl mode by looking at the compiler's library search path. If at least
1999 dnl of its elements ends in /lib64 or points to a directory whose absolute
2000 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
2001 dnl default, namely "lib".
2002 acl_libdirstem=lib
2003 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
2004 if test -n "$searchpath"; then
2005 acl_save_IFS="${IFS= }"; IFS=":"
2006 for searchdir in $searchpath; do
2007 if test -d "$searchdir"; then
2008 case "$searchdir" in
2009 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
2010 *) searchdir=`cd "$searchdir" && pwd`
2011 case "$searchdir" in
2012 */lib64 ) acl_libdirstem=lib64 ;;
2013 esac ;;
2014 esac
2015 fi
2016 done
2017 IFS="$acl_save_IFS"
2018 fi
2019 ])
10102020
10112021 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
10122022
1013 # serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL
2023 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
10142024
10152025
10162026 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
23943404 dynamic_linker=no
23953405 ;;
23963406
2397 kfreebsd*-gnu)
2398 version_type=linux
2399 need_lib_prefix=no
2400 need_version=no
2401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2402 soname_spec='${libname}${release}${shared_ext}$major'
2403 shlibpath_var=LD_LIBRARY_PATH
2404 shlibpath_overrides_runpath=no
2405 hardcode_into_libs=yes
2406 dynamic_linker='GNU ld.so'
2407 ;;
2408
24093407 freebsd* | dragonfly*)
24103408 # DragonFly does not have aout. When/if they implement a new
24113409 # versioning mechanism, adjust this.
25613559 ;;
25623560
25633561 # This must be Linux ELF.
2564 linux*)
3562 linux* | k*bsd*-gnu)
25653563 version_type=linux
25663564 need_lib_prefix=no
25673565 need_version=no
26003598 shlibpath_overrides_runpath=no
26013599 hardcode_into_libs=yes
26023600 dynamic_linker='NetBSD ld.elf_so'
2603 ;;
2604
2605 knetbsd*-gnu)
2606 version_type=linux
2607 need_lib_prefix=no
2608 need_version=no
2609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2610 soname_spec='${libname}${release}${shared_ext}$major'
2611 shlibpath_var=LD_LIBRARY_PATH
2612 shlibpath_overrides_runpath=no
2613 hardcode_into_libs=yes
2614 dynamic_linker='GNU ld.so'
26153601 ;;
26163602
26173603 netbsd*)
33194305 lt_cv_deplibs_check_method=pass_all
33204306 ;;
33214307
3322 freebsd* | kfreebsd*-gnu | dragonfly*)
4308 freebsd* | dragonfly*)
33234309 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
33244310 case $host_cpu in
33254311 i*86 )
33734359 ;;
33744360
33754361 # This must be Linux ELF.
3376 linux*)
4362 linux* | k*bsd*-gnu)
33774363 lt_cv_deplibs_check_method=pass_all
33784364 ;;
33794365
3380 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4366 netbsd* | netbsdelf*-gnu)
33814367 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
33824368 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
33834369 else
41255111 freebsd-elf*)
41265112 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
41275113 ;;
4128 freebsd* | kfreebsd*-gnu | dragonfly*)
5114 freebsd* | dragonfly*)
41295115 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
41305116 # conventions
41315117 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
42845270 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
42855271 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
42865272 ;;
4287 linux*)
5273 linux* | k*bsd*-gnu)
42885274 case $cc_basename in
42895275 KCC*)
42905276 # Kuck and Associates, Inc. (KAI) C++ Compiler
43865372 ;;
43875373 esac
43885374 ;;
4389 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5375 netbsd* | netbsdelf*-gnu)
43905376 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
43915377 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
43925378 wlarc=
56516637 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
56526638 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
56536639 ;;
5654 linux*)
6640 linux* | k*bsd*-gnu)
56556641 if test "$host_cpu" = ia64; then
56566642 symcode='[[ABCDGIRSTW]]'
56576643 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
59246910 ;;
59256911 esac
59266912 ;;
5927 freebsd* | kfreebsd*-gnu | dragonfly*)
6913 freebsd* | dragonfly*)
59286914 # FreeBSD uses GNU C++
59296915 ;;
59306916 hpux9* | hpux10* | hpux11*)
59676953 ;;
59686954 esac
59696955 ;;
5970 linux*)
6956 linux* | k*bsd*-gnu)
59716957 case $cc_basename in
59726958 KCC*)
59736959 # KAI C++ Compiler
60106996 ;;
60116997 esac
60126998 ;;
6013 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6999 netbsd* | netbsdelf*-gnu)
60147000 ;;
60157001 osf3* | osf4* | osf5*)
60167002 case $cc_basename in
62217207 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
62227208 ;;
62237209
6224 linux*)
7210 linux* | k*bsd*-gnu)
62257211 case $cc_basename in
62267212 icc* | ecc*)
62277213 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
63627348 cygwin* | mingw*)
63637349 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
63647350 ;;
6365 kfreebsd*-gnu)
6366 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6367 ;;
6368 linux*)
7351 linux* | k*bsd*-gnu)
63697352 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
63707353 ;;
63717354 *)
65387521 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
65397522 ;;
65407523
6541 linux*)
7524 linux* | k*bsd*-gnu)
65427525 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
65437526 tmp_addflag=
65447527 case $cc_basename,$host_cpu in
65707553 fi
65717554 ;;
65727555
6573 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7556 netbsd* | netbsdelf*-gnu)
65747557 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
65757558 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
65767559 wlarc=
69067889 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
69077890 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
69087891 ;;
6909
6910 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
6911 kfreebsd*-gnu)
6912 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6913 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6914 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6915 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6916 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6917 ;;
69187892
69197893 hpux9*)
69207894 if test "$GCC" = yes; then
70117985 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
70127986 ;;
70137987
7014 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7988 netbsd* | netbsdelf*-gnu)
70157989 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
70167990 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
70177991 else
74138387 AC_MSG_RESULT([$SED])
74148388 ])
74158389
7416 # gettext.m4 serial 37 (gettext-0.14.4)
7417 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
8390 # lock.m4 serial 6 (gettext-0.16)
8391 dnl Copyright (C) 2005-2006 Free Software Foundation, Inc.
8392 dnl This file is free software; the Free Software Foundation
8393 dnl gives unlimited permission to copy and/or distribute it,
8394 dnl with or without modifications, as long as this notice is preserved.
8395
8396 dnl From Bruno Haible.
8397
8398 dnl Tests for a multithreading library to be used.
8399 dnl Defines at most one of the macros USE_POSIX_THREADS, USE_SOLARIS_THREADS,
8400 dnl USE_PTH_THREADS, USE_WIN32_THREADS
8401 dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use
8402 dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with
8403 dnl libtool).
8404 dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for
8405 dnl programs that really need multithread functionality. The difference
8406 dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak
8407 dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread".
8408 dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for
8409 dnl multithread-safe programs.
8410
8411 AC_DEFUN([gl_LOCK_EARLY],
8412 [
8413 AC_REQUIRE([gl_LOCK_EARLY_BODY])
8414 ])
8415
8416 dnl The guts of gl_LOCK_EARLY. Needs to be expanded only once.
8417
8418 AC_DEFUN([gl_LOCK_EARLY_BODY],
8419 [
8420 dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
8421 dnl influences the result of the autoconf tests that test for *_unlocked
8422 dnl declarations, on AIX 5 at least. Therefore it must come early.
8423 AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
8424 AC_BEFORE([$0], [gl_ARGP])dnl
8425
8426 AC_REQUIRE([AC_CANONICAL_HOST])
8427 AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
8428 dnl Check for multithreading.
8429 AC_ARG_ENABLE(threads,
8430 AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])
8431 AC_HELP_STRING([--disable-threads], [build without multithread safety]),
8432 [gl_use_threads=$enableval],
8433 [case "$host_os" in
8434 dnl Disable multithreading by default on OSF/1, because it interferes
8435 dnl with fork()/exec(): When msgexec is linked with -lpthread, its child
8436 dnl process gets an endless segmentation fault inside execvp().
8437 osf*) gl_use_threads=no ;;
8438 *) gl_use_threads=yes ;;
8439 esac
8440 ])
8441 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
8442 # For using <pthread.h>:
8443 case "$host_os" in
8444 osf*)
8445 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
8446 # groks <pthread.h>. cc also understands the flag -pthread, but
8447 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
8448 # 2. putting a flag into CPPFLAGS that has an effect on the linker
8449 # causes the AC_TRY_LINK test below to succeed unexpectedly,
8450 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
8451 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
8452 ;;
8453 esac
8454 # Some systems optimize for single-threaded programs by default, and
8455 # need special flags to disable these optimizations. For example, the
8456 # definition of 'errno' in <errno.h>.
8457 case "$host_os" in
8458 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
8459 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
8460 esac
8461 fi
8462 ])
8463
8464 dnl The guts of gl_LOCK. Needs to be expanded only once.
8465
8466 AC_DEFUN([gl_LOCK_BODY],
8467 [
8468 AC_REQUIRE([gl_LOCK_EARLY_BODY])
8469 gl_threads_api=none
8470 LIBTHREAD=
8471 LTLIBTHREAD=
8472 LIBMULTITHREAD=
8473 LTLIBMULTITHREAD=
8474 if test "$gl_use_threads" != no; then
8475 dnl Check whether the compiler and linker support weak declarations.
8476 AC_MSG_CHECKING([whether imported symbols can be declared weak])
8477 gl_have_weak=no
8478 AC_TRY_LINK([extern void xyzzy ();
8479 #pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes])
8480 AC_MSG_RESULT([$gl_have_weak])
8481 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
8482 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
8483 # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
8484 AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no)
8485 if test "$gl_have_pthread_h" = yes; then
8486 # Other possible tests:
8487 # -lpthreads (FSU threads, PCthreads)
8488 # -lgthreads
8489 gl_have_pthread=
8490 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
8491 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
8492 # the second one only in libpthread, and lock.c needs it.
8493 AC_TRY_LINK([#include <pthread.h>],
8494 [pthread_mutex_lock((pthread_mutex_t*)0);
8495 pthread_mutexattr_init((pthread_mutexattr_t*)0);],
8496 [gl_have_pthread=yes])
8497 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
8498 # since it is defined as a macro on OSF/1.)
8499 if test -n "$gl_have_pthread"; then
8500 # The program links fine without libpthread. But it may actually
8501 # need to link with libpthread in order to create multiple threads.
8502 AC_CHECK_LIB(pthread, pthread_kill,
8503 [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
8504 # On Solaris and HP-UX, most pthread functions exist also in libc.
8505 # Therefore pthread_in_use() needs to actually try to create a
8506 # thread: pthread_create from libc will fail, whereas
8507 # pthread_create will actually create a thread.
8508 case "$host_os" in
8509 solaris* | hpux*)
8510 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1,
8511 [Define if the pthread_in_use() detection is hard.])
8512 esac
8513 ])
8514 else
8515 # Some library is needed. Try libpthread and libc_r.
8516 AC_CHECK_LIB(pthread, pthread_kill,
8517 [gl_have_pthread=yes
8518 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
8519 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
8520 if test -z "$gl_have_pthread"; then
8521 # For FreeBSD 4.
8522 AC_CHECK_LIB(c_r, pthread_kill,
8523 [gl_have_pthread=yes
8524 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
8525 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
8526 fi
8527 fi
8528 if test -n "$gl_have_pthread"; then
8529 gl_threads_api=posix
8530 AC_DEFINE([USE_POSIX_THREADS], 1,
8531 [Define if the POSIX multithreading library can be used.])
8532 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
8533 if test $gl_have_weak = yes; then
8534 AC_DEFINE([USE_POSIX_THREADS_WEAK], 1,
8535 [Define if references to the POSIX multithreading library should be made weak.])
8536 LIBTHREAD=
8537 LTLIBTHREAD=
8538 fi
8539 fi
8540 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
8541 # pthread_rwlock_* functions.
8542 AC_CHECK_TYPE([pthread_rwlock_t],
8543 [AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1,
8544 [Define if the POSIX multithreading library has read/write locks.])],
8545 [],
8546 [#include <pthread.h>])
8547 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
8548 AC_TRY_COMPILE([#include <pthread.h>],
8549 [#if __FreeBSD__ == 4
8550 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
8551 #else
8552 int x = (int)PTHREAD_MUTEX_RECURSIVE;
8553 return !x;
8554 #endif],
8555 [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1,
8556 [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
8557 fi
8558 fi
8559 fi
8560 if test -z "$gl_have_pthread"; then
8561 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
8562 gl_have_solaristhread=
8563 gl_save_LIBS="$LIBS"
8564 LIBS="$LIBS -lthread"
8565 AC_TRY_LINK([#include <thread.h>
8566 #include <synch.h>],
8567 [thr_self();],
8568 [gl_have_solaristhread=yes])
8569 LIBS="$gl_save_LIBS"
8570 if test -n "$gl_have_solaristhread"; then
8571 gl_threads_api=solaris
8572 LIBTHREAD=-lthread
8573 LTLIBTHREAD=-lthread
8574 LIBMULTITHREAD="$LIBTHREAD"
8575 LTLIBMULTITHREAD="$LTLIBTHREAD"
8576 AC_DEFINE([USE_SOLARIS_THREADS], 1,
8577 [Define if the old Solaris multithreading library can be used.])
8578 if test $gl_have_weak = yes; then
8579 AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1,
8580 [Define if references to the old Solaris multithreading library should be made weak.])
8581 LIBTHREAD=
8582 LTLIBTHREAD=
8583 fi
8584 fi
8585 fi
8586 fi
8587 if test "$gl_use_threads" = pth; then
8588 gl_save_CPPFLAGS="$CPPFLAGS"
8589 AC_LIB_LINKFLAGS(pth)
8590 gl_have_pth=
8591 gl_save_LIBS="$LIBS"
8592 LIBS="$LIBS -lpth"
8593 AC_TRY_LINK([#include <pth.h>], [pth_self();], gl_have_pth=yes)
8594 LIBS="$gl_save_LIBS"
8595 if test -n "$gl_have_pth"; then
8596 gl_threads_api=pth
8597 LIBTHREAD="$LIBPTH"
8598 LTLIBTHREAD="$LTLIBPTH"
8599 LIBMULTITHREAD="$LIBTHREAD"
8600 LTLIBMULTITHREAD="$LTLIBTHREAD"
8601 AC_DEFINE([USE_PTH_THREADS], 1,
8602 [Define if the GNU Pth multithreading library can be used.])
8603 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
8604 if test $gl_have_weak = yes; then
8605 AC_DEFINE([USE_PTH_THREADS_WEAK], 1,
8606 [Define if references to the GNU Pth multithreading library should be made weak.])
8607 LIBTHREAD=
8608 LTLIBTHREAD=
8609 fi
8610 fi
8611 else
8612 CPPFLAGS="$gl_save_CPPFLAGS"
8613 fi
8614 fi
8615 if test -z "$gl_have_pthread"; then
8616 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
8617 if { case "$host_os" in
8618 mingw*) true;;
8619 *) false;;
8620 esac
8621 }; then
8622 gl_threads_api=win32
8623 AC_DEFINE([USE_WIN32_THREADS], 1,
8624 [Define if the Win32 multithreading API can be used.])
8625 fi
8626 fi
8627 fi
8628 fi
8629 AC_MSG_CHECKING([for multithread API to use])
8630 AC_MSG_RESULT([$gl_threads_api])
8631 AC_SUBST(LIBTHREAD)
8632 AC_SUBST(LTLIBTHREAD)
8633 AC_SUBST(LIBMULTITHREAD)
8634 AC_SUBST(LTLIBMULTITHREAD)
8635 ])
8636
8637 AC_DEFUN([gl_LOCK],
8638 [
8639 AC_REQUIRE([gl_LOCK_EARLY])
8640 AC_REQUIRE([gl_LOCK_BODY])
8641 gl_PREREQ_LOCK
8642 ])
8643
8644 # Prerequisites of lib/lock.c.
8645 AC_DEFUN([gl_PREREQ_LOCK], [
8646 AC_REQUIRE([AC_C_INLINE])
8647 ])
8648
8649 dnl Survey of platforms:
8650 dnl
8651 dnl Platform Available Compiler Supports test-lock
8652 dnl flavours option weak result
8653 dnl --------------- --------- --------- -------- ---------
8654 dnl Linux 2.4/glibc posix -lpthread Y OK
8655 dnl
8656 dnl GNU Hurd/glibc posix
8657 dnl
8658 dnl FreeBSD 5.3 posix -lc_r Y
8659 dnl posix -lkse ? Y
8660 dnl posix -lpthread ? Y
8661 dnl posix -lthr Y
8662 dnl
8663 dnl FreeBSD 5.2 posix -lc_r Y
8664 dnl posix -lkse Y
8665 dnl posix -lthr Y
8666 dnl
8667 dnl FreeBSD 4.0,4.10 posix -lc_r Y OK
8668 dnl
8669 dnl NetBSD 1.6 --
8670 dnl
8671 dnl OpenBSD 3.4 posix -lpthread Y OK
8672 dnl
8673 dnl MacOS X 10.[123] posix -lpthread Y OK
8674 dnl
8675 dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK
8676 dnl solaris -lthread Y Sol 7,8: 0.0; Sol 9: OK
8677 dnl
8678 dnl HP-UX 11 posix -lpthread N (cc) OK
8679 dnl Y (gcc)
8680 dnl
8681 dnl IRIX 6.5 posix -lpthread Y 0.5
8682 dnl
8683 dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK
8684 dnl
8685 dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK
8686 dnl -lpthread (gcc) Y
8687 dnl
8688 dnl Cygwin posix -lpthread Y OK
8689 dnl
8690 dnl Any of the above pth -lpth 0.0
8691 dnl
8692 dnl Mingw win32 N OK
8693 dnl
8694 dnl BeOS 5 --
8695 dnl
8696 dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is
8697 dnl turned off:
8698 dnl OK if all three tests terminate OK,
8699 dnl 0.5 if the first test terminates OK but the second one loops endlessly,
8700 dnl 0.0 if the first test already loops endlessly.
8701
8702 # longdouble.m4 serial 2 (gettext-0.15)
8703 dnl Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc.
8704 dnl This file is free software; the Free Software Foundation
8705 dnl gives unlimited permission to copy and/or distribute it,
8706 dnl with or without modifications, as long as this notice is preserved.
8707
8708 dnl From Bruno Haible.
8709 dnl Test whether the compiler supports the 'long double' type.
8710 dnl Prerequisite: AC_PROG_CC
8711
8712 dnl This file is only needed in autoconf <= 2.59. Newer versions of autoconf
8713 dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics.
8714
8715 AC_DEFUN([gt_TYPE_LONGDOUBLE],
8716 [
8717 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8718 [if test "$GCC" = yes; then
8719 gt_cv_c_long_double=yes
8720 else
8721 AC_TRY_COMPILE([
8722 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8723 long double foo = 0.0;
8724 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8725 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8726 ], ,
8727 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8728 fi])
8729 if test $gt_cv_c_long_double = yes; then
8730 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8731 fi
8732 ])
8733
8734 # longlong.m4 serial 8
8735 dnl Copyright (C) 1999-2006 Free Software Foundation, Inc.
8736 dnl This file is free software; the Free Software Foundation
8737 dnl gives unlimited permission to copy and/or distribute it,
8738 dnl with or without modifications, as long as this notice is preserved.
8739
8740 dnl From Paul Eggert.
8741
8742 # Define HAVE_LONG_LONG_INT if 'long long int' works.
8743 # This fixes a bug in Autoconf 2.60, but can be removed once we
8744 # assume 2.61 everywhere.
8745
8746 # Note: If the type 'long long int' exists but is only 32 bits large
8747 # (as on some very old compilers), AC_TYPE_LONG_LONG_INT will not be
8748 # defined. In this case you can treat 'long long int' like 'long int'.
8749
8750 AC_DEFUN([AC_TYPE_LONG_LONG_INT],
8751 [
8752 AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
8753 [AC_LINK_IFELSE(
8754 [AC_LANG_PROGRAM(
8755 [[long long int ll = 9223372036854775807ll;
8756 long long int nll = -9223372036854775807LL;
8757 typedef int a[((-9223372036854775807LL < 0
8758 && 0 < 9223372036854775807ll)
8759 ? 1 : -1)];
8760 int i = 63;]],
8761 [[long long int llmax = 9223372036854775807ll;
8762 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
8763 | (llmax / ll) | (llmax % ll));]])],
8764 [ac_cv_type_long_long_int=yes],
8765 [ac_cv_type_long_long_int=no])])
8766 if test $ac_cv_type_long_long_int = yes; then
8767 AC_DEFINE([HAVE_LONG_LONG_INT], 1,
8768 [Define to 1 if the system has the type `long long int'.])
8769 fi
8770 ])
8771
8772 # This macro is obsolescent and should go away soon.
8773 AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8774 [
8775 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
8776 ac_cv_type_long_long=$ac_cv_type_long_long_int
8777 if test $ac_cv_type_long_long = yes; then
8778 AC_DEFINE(HAVE_LONG_LONG, 1,
8779 [Define if you have the 'long long' type.])
8780 fi
8781 ])
8782
8783 # nls.m4 serial 3 (gettext-0.15)
8784 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
74188785 dnl This file is free software; the Free Software Foundation
74198786 dnl gives unlimited permission to copy and/or distribute it,
74208787 dnl with or without modifications, as long as this notice is preserved.
74328799 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
74338800 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
74348801
7435 dnl Macro to add for using GNU gettext.
7436
7437 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
7438 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
7439 dnl default (if it is not specified or empty) is 'no-libtool'.
7440 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
7441 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
7442 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
7443 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
7444 dnl depending on --{enable,disable}-{shared,static} and on the presence of
7445 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
7446 dnl $(top_builddir)/intl/libintl.a will be created.
7447 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
7448 dnl implementations (in libc or libintl) without the ngettext() function
7449 dnl will be ignored. If NEEDSYMBOL is specified and is
7450 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
7451 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
7452 dnl INTLDIR is used to find the intl libraries. If empty,
7453 dnl the value `$(top_builddir)/intl/' is used.
7454 dnl
7455 dnl The result of the configuration is one of three cases:
7456 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
7457 dnl and used.
7458 dnl Catalog format: GNU --> install in $(datadir)
7459 dnl Catalog extension: .mo after installation, .gmo in source tree
7460 dnl 2) GNU gettext has been found in the system's C library.
7461 dnl Catalog format: GNU --> install in $(datadir)
7462 dnl Catalog extension: .mo after installation, .gmo in source tree
7463 dnl 3) No internationalization, always use English msgid.
7464 dnl Catalog format: none
7465 dnl Catalog extension: none
7466 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
7467 dnl The use of .gmo is historical (it was needed to avoid overwriting the
7468 dnl GNU format catalogs when building on a platform with an X/Open gettext),
7469 dnl but we keep it in order not to force irrelevant filename changes on the
7470 dnl maintainers.
7471 dnl
7472 AC_DEFUN([AM_GNU_GETTEXT],
8802 AC_PREREQ(2.50)
8803
8804 AC_DEFUN([AM_NLS],
74738805 [
7474 dnl Argument checking.
7475 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
7476 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
7477 ])])])])])
7478 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
7479 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
7480 ])])])])
7481 define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
7482 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
7483
7484 AC_REQUIRE([AM_PO_SUBDIRS])dnl
7485 ifelse(gt_included_intl, yes, [
7486 AC_REQUIRE([AM_INTL_SUBDIR])dnl
7487 ])
7488
7489 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
7490 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
7491 AC_REQUIRE([AC_LIB_RPATH])
7492
7493 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7494 dnl Ideally we would do this search only after the
7495 dnl if test "$USE_NLS" = "yes"; then
7496 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7497 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
7498 dnl the configure script would need to contain the same shell code
7499 dnl again, outside any 'if'. There are two solutions:
7500 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
7501 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
7502 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
7503 dnl documented, we avoid it.
7504 ifelse(gt_included_intl, yes, , [
7505 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
7506 ])
7507
7508 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
7509 gt_INTL_MACOSX
7510
7511 dnl Set USE_NLS.
7512 AM_NLS
7513
7514 ifelse(gt_included_intl, yes, [
7515 BUILD_INCLUDED_LIBINTL=no
7516 USE_INCLUDED_LIBINTL=no
7517 ])
7518 LIBINTL=
7519 LTLIBINTL=
7520 POSUB=
7521
7522 dnl If we use NLS figure out what method
7523 if test "$USE_NLS" = "yes"; then
7524 gt_use_preinstalled_gnugettext=no
7525 ifelse(gt_included_intl, yes, [
7526 AC_MSG_CHECKING([whether included gettext is requested])
7527 AC_ARG_WITH(included-gettext,
7528 [ --with-included-gettext use the GNU gettext library included here],
7529 nls_cv_force_use_gnu_gettext=$withval,
7530 nls_cv_force_use_gnu_gettext=no)
7531 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
7532
7533 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
7534 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7535 ])
7536 dnl User does not insist on using GNU NLS library. Figure out what
7537 dnl to use. If GNU gettext is available we use this. Else we have
7538 dnl to fall back to GNU NLS library.
7539
7540 dnl Add a version number to the cache macros.
7541 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
7542 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
7543 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
7544
7545 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
7546 [AC_TRY_LINK([#include <libintl.h>
7547 ]ifelse([$2], [need-formatstring-macros],
7548 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7549 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7550 #endif
7551 changequote(,)dnl
7552 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7553 changequote([,])dnl
7554 ], [])[extern int _nl_msg_cat_cntr;
7555 extern int *_nl_domain_bindings;],
7556 [bindtextdomain ("", "");
7557 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
7558 gt_cv_func_gnugettext_libc=yes,
7559 gt_cv_func_gnugettext_libc=no)])
7560
7561 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7562 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7563 ifelse(gt_included_intl, yes, , [
7564 AM_ICONV_LINK
7565 ])
7566 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
7567 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
7568 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
7569 dnl even if libiconv doesn't exist.
7570 AC_LIB_LINKFLAGS_BODY([intl])
7571 AC_CACHE_CHECK([for GNU gettext in libintl],
7572 gt_cv_func_gnugettext_libintl,
7573 [gt_save_CPPFLAGS="$CPPFLAGS"
7574 CPPFLAGS="$CPPFLAGS $INCINTL"
7575 gt_save_LIBS="$LIBS"
7576 LIBS="$LIBS $LIBINTL"
7577 dnl Now see whether libintl exists and does not depend on libiconv.
7578 AC_TRY_LINK([#include <libintl.h>
7579 ]ifelse([$2], [need-formatstring-macros],
7580 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7581 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7582 #endif
7583 changequote(,)dnl
7584 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7585 changequote([,])dnl
7586 ], [])[extern int _nl_msg_cat_cntr;
7587 extern
7588 #ifdef __cplusplus
7589 "C"
7590 #endif
7591 const char *_nl_expand_alias (const char *);],
7592 [bindtextdomain ("", "");
7593 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7594 gt_cv_func_gnugettext_libintl=yes,
7595 gt_cv_func_gnugettext_libintl=no)
7596 dnl Now see whether libintl exists and depends on libiconv.
7597 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
7598 LIBS="$LIBS $LIBICONV"
7599 AC_TRY_LINK([#include <libintl.h>
7600 ]ifelse([$2], [need-formatstring-macros],
7601 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7602 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7603 #endif
7604 changequote(,)dnl
7605 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7606 changequote([,])dnl
7607 ], [])[extern int _nl_msg_cat_cntr;
7608 extern
7609 #ifdef __cplusplus
7610 "C"
7611 #endif
7612 const char *_nl_expand_alias (const char *);],
7613 [bindtextdomain ("", "");
7614 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7615 [LIBINTL="$LIBINTL $LIBICONV"
7616 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7617 gt_cv_func_gnugettext_libintl=yes
7618 ])
7619 fi
7620 CPPFLAGS="$gt_save_CPPFLAGS"
7621 LIBS="$gt_save_LIBS"])
7622 fi
7623
7624 dnl If an already present or preinstalled GNU gettext() is found,
7625 dnl use it. But if this macro is used in GNU gettext, and GNU
7626 dnl gettext is already preinstalled in libintl, we update this
7627 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
7628 if test "$gt_cv_func_gnugettext_libc" = "yes" \
7629 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
7630 && test "$PACKAGE" != gettext-runtime \
7631 && test "$PACKAGE" != gettext-tools; }; then
7632 gt_use_preinstalled_gnugettext=yes
7633 else
7634 dnl Reset the values set by searching for libintl.
7635 LIBINTL=
7636 LTLIBINTL=
7637 INCINTL=
7638 fi
7639
7640 ifelse(gt_included_intl, yes, [
7641 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7642 dnl GNU gettext is not found in the C library.
7643 dnl Fall back on included GNU gettext library.
7644 nls_cv_use_gnu_gettext=yes
7645 fi
7646 fi
7647
7648 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7649 dnl Mark actions used to generate GNU NLS library.
7650 BUILD_INCLUDED_LIBINTL=yes
7651 USE_INCLUDED_LIBINTL=yes
7652 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
7653 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
7654 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7655 fi
7656
7657 CATOBJEXT=
7658 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7659 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7660 dnl Mark actions to use GNU gettext tools.
7661 CATOBJEXT=.gmo
7662 fi
7663 ])
7664
7665 if test -n "$INTL_MACOSX_LIBS"; then
7666 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7667 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7668 dnl Some extra flags are needed during linking.
7669 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7670 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7671 fi
7672 fi
7673
7674 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7675 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7676 AC_DEFINE(ENABLE_NLS, 1,
7677 [Define to 1 if translation of program messages to the user's native language
7678 is requested.])
7679 else
7680 USE_NLS=no
7681 fi
7682 fi
7683
7684 AC_MSG_CHECKING([whether to use NLS])
7685 AC_MSG_RESULT([$USE_NLS])
7686 if test "$USE_NLS" = "yes"; then
7687 AC_MSG_CHECKING([where the gettext function comes from])
7688 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7689 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7690 gt_source="external libintl"
7691 else
7692 gt_source="libc"
7693 fi
7694 else
7695 gt_source="included intl directory"
7696 fi
7697 AC_MSG_RESULT([$gt_source])
7698 fi
7699
7700 if test "$USE_NLS" = "yes"; then
7701
7702 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7703 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7704 AC_MSG_CHECKING([how to link with libintl])
7705 AC_MSG_RESULT([$LIBINTL])
7706 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
7707 fi
7708
7709 dnl For backward compatibility. Some packages may be using this.
7710 AC_DEFINE(HAVE_GETTEXT, 1,
7711 [Define if the GNU gettext() function is already present or preinstalled.])
7712 AC_DEFINE(HAVE_DCGETTEXT, 1,
7713 [Define if the GNU dcgettext() function is already present or preinstalled.])
7714 fi
7715
7716 dnl We need to process the po/ directory.
7717 POSUB=po
7718 fi
7719
7720 ifelse(gt_included_intl, yes, [
7721 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
7722 dnl to 'yes' because some of the testsuite requires it.
7723 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
7724 BUILD_INCLUDED_LIBINTL=yes
7725 fi
7726
7727 dnl Make all variables we use known to autoconf.
7728 AC_SUBST(BUILD_INCLUDED_LIBINTL)
7729 AC_SUBST(USE_INCLUDED_LIBINTL)
7730 AC_SUBST(CATOBJEXT)
7731
7732 dnl For backward compatibility. Some configure.ins may be using this.
7733 nls_cv_header_intl=
7734 nls_cv_header_libgt=
7735
7736 dnl For backward compatibility. Some Makefiles may be using this.
7737 DATADIRNAME=share
7738 AC_SUBST(DATADIRNAME)
7739
7740 dnl For backward compatibility. Some Makefiles may be using this.
7741 INSTOBJEXT=.mo
7742 AC_SUBST(INSTOBJEXT)
7743
7744 dnl For backward compatibility. Some Makefiles may be using this.
7745 GENCAT=gencat
7746 AC_SUBST(GENCAT)
7747
7748 dnl For backward compatibility. Some Makefiles may be using this.
7749 INTLOBJS=
7750 if test "$USE_INCLUDED_LIBINTL" = yes; then
7751 INTLOBJS="\$(GETTOBJS)"
7752 fi
7753 AC_SUBST(INTLOBJS)
7754
7755 dnl Enable libtool support if the surrounding package wishes it.
7756 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
7757 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
7758 ])
7759
7760 dnl For backward compatibility. Some Makefiles may be using this.
7761 INTLLIBS="$LIBINTL"
7762 AC_SUBST(INTLLIBS)
7763
7764 dnl Make all documented variables known to autoconf.
7765 AC_SUBST(LIBINTL)
7766 AC_SUBST(LTLIBINTL)
7767 AC_SUBST(POSUB)
8806 AC_MSG_CHECKING([whether NLS is requested])
8807 dnl Default is enabled NLS
8808 AC_ARG_ENABLE(nls,
8809 [ --disable-nls do not use Native Language Support],
8810 USE_NLS=$enableval, USE_NLS=yes)
8811 AC_MSG_RESULT($USE_NLS)
8812 AC_SUBST(USE_NLS)
77688813 ])
77698814
7770
7771 dnl Checks for all prerequisites of the intl subdirectory,
7772 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
7773 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
7774 AC_DEFUN([AM_INTL_SUBDIR],
7775 [
7776 AC_REQUIRE([AC_PROG_INSTALL])dnl
7777 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7778 AC_REQUIRE([AC_PROG_CC])dnl
7779 AC_REQUIRE([AC_CANONICAL_HOST])dnl
7780 AC_REQUIRE([gt_GLIBC2])dnl
7781 AC_REQUIRE([AC_PROG_RANLIB])dnl
7782 AC_REQUIRE([AC_ISC_POSIX])dnl
7783 AC_REQUIRE([AC_HEADER_STDC])dnl
7784 AC_REQUIRE([AC_C_CONST])dnl
7785 AC_REQUIRE([bh_C_SIGNED])dnl
7786 AC_REQUIRE([AC_C_INLINE])dnl
7787 AC_REQUIRE([AC_TYPE_OFF_T])dnl
7788 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
7789 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
7790 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
7791 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
7792 AC_REQUIRE([gt_TYPE_WINT_T])dnl
7793 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
7794 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
7795 AC_REQUIRE([gt_TYPE_INTMAX_T])
7796 AC_REQUIRE([gt_PRINTF_POSIX])
7797 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
7798 AC_REQUIRE([AC_FUNC_MMAP])dnl
7799 AC_REQUIRE([gl_GLIBC21])dnl
7800 AC_REQUIRE([gt_INTDIV0])dnl
7801 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
7802 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
7803 AC_REQUIRE([gt_INTTYPES_PRI])dnl
7804 AC_REQUIRE([gl_XSIZE])dnl
7805 AC_REQUIRE([gt_INTL_MACOSX])dnl
7806
7807 AC_CHECK_TYPE([ptrdiff_t], ,
7808 [AC_DEFINE([ptrdiff_t], [long],
7809 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
7810 ])
7811 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7812 stdlib.h string.h unistd.h sys/param.h])
7813 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
7814 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
7815 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
7816 __fsetlocking])
7817
7818 dnl Use the _snprintf function only if it is declared (because on NetBSD it
7819 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
7820 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
7821 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
7822
7823 dnl Use the *_unlocked functions only if they are declared.
7824 dnl (because some of them were defined without being declared in Solaris
7825 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
7826 dnl on Solaris 2.5.1 to run on Solaris 2.6).
7827 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
7828 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
7829 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
7830 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
7831
7832 case $gt_cv_func_printf_posix in
7833 *yes) HAVE_POSIX_PRINTF=1 ;;
7834 *) HAVE_POSIX_PRINTF=0 ;;
7835 esac
7836 AC_SUBST([HAVE_POSIX_PRINTF])
7837 if test "$ac_cv_func_asprintf" = yes; then
7838 HAVE_ASPRINTF=1
7839 else
7840 HAVE_ASPRINTF=0
7841 fi
7842 AC_SUBST([HAVE_ASPRINTF])
7843 if test "$ac_cv_func_snprintf" = yes; then
7844 HAVE_SNPRINTF=1
7845 else
7846 HAVE_SNPRINTF=0
7847 fi
7848 AC_SUBST([HAVE_SNPRINTF])
7849 if test "$ac_cv_func_wprintf" = yes; then
7850 HAVE_WPRINTF=1
7851 else
7852 HAVE_WPRINTF=0
7853 fi
7854 AC_SUBST([HAVE_WPRINTF])
7855
7856 AM_ICONV
7857 AM_LANGINFO_CODESET
7858 if test $ac_cv_header_locale_h = yes; then
7859 gt_LC_MESSAGES
7860 fi
7861
7862 if test -n "$INTL_MACOSX_LIBS"; then
7863 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7864 fi
7865
7866 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
7867 dnl because plural.y uses bison specific features. It requires at least
7868 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
7869 dnl compile.
7870 dnl bison is only needed for the maintainer (who touches plural.y). But in
7871 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
7872 dnl the rule in general Makefile. Now, some people carelessly touch the
7873 dnl files or have a broken "make" program, hence the plural.c rule will
7874 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
7875 dnl present or too old.
7876 AC_CHECK_PROGS([INTLBISON], [bison])
7877 if test -z "$INTLBISON"; then
7878 ac_verc_fail=yes
7879 else
7880 dnl Found it, now check the version.
7881 AC_MSG_CHECKING([version of bison])
7882 changequote(<<,>>)dnl
7883 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7884 case $ac_prog_version in
7885 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
7886 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
7887 changequote([,])dnl
7888 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
7889 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
7890 esac
7891 AC_MSG_RESULT([$ac_prog_version])
7892 fi
7893 if test $ac_verc_fail = yes; then
7894 INTLBISON=:
7895 fi
7896 ])
7897
7898
7899 dnl Checks for special options needed on MacOS X.
7900 dnl Defines INTL_MACOSX_LIBS.
7901 AC_DEFUN([gt_INTL_MACOSX],
7902 [
7903 dnl Check for API introduced in MacOS X 10.2.
7904 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
7905 gt_cv_func_CFPreferencesCopyAppValue,
7906 [gt_save_CPPFLAGS="$CPPFLAGS"
7907 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7908 gt_save_LIBS="$LIBS"
7909 LIBS="$LIBS -framework CoreFoundation"
7910 AC_TRY_LINK([#include <CFPreferences.h>],
7911 [CFPreferencesCopyAppValue(NULL, NULL)],
7912 [gt_cv_func_CFPreferencesCopyAppValue=yes],
7913 [gt_cv_func_CFPreferencesCopyAppValue=no])
7914 CPPFLAGS="$gt_save_CPPFLAGS"
7915 LIBS="$gt_save_LIBS"])
7916 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7917 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
7918 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
7919 fi
7920 dnl Check for API introduced in MacOS X 10.3.
7921 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
7922 [gt_save_CPPFLAGS="$CPPFLAGS"
7923 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7924 gt_save_LIBS="$LIBS"
7925 LIBS="$LIBS -framework CoreFoundation"
7926 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
7927 [gt_cv_func_CFLocaleCopyCurrent=yes],
7928 [gt_cv_func_CFLocaleCopyCurrent=no])
7929 CPPFLAGS="$gt_save_CPPFLAGS"
7930 LIBS="$gt_save_LIBS"])
7931 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7932 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
7933 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
7934 fi
7935 INTL_MACOSX_LIBS=
7936 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7937 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7938 fi
7939 AC_SUBST([INTL_MACOSX_LIBS])
7940 ])
7941
7942
7943 dnl gt_CHECK_DECL(FUNC, INCLUDES)
7944 dnl Check whether a function is declared.
7945 AC_DEFUN([gt_CHECK_DECL],
7946 [
7947 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
7948 [AC_TRY_COMPILE([$2], [
7949 #ifndef $1
7950 char *p = (char *) $1;
7951 #endif
7952 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
7953 if test $ac_cv_have_decl_$1 = yes; then
7954 gt_value=1
7955 else
7956 gt_value=0
7957 fi
7958 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
7959 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
7960 ])
7961
7962
7963 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
7964 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
7965
7966 # po.m4 serial 7 (gettext-0.14.3)
7967 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
8815 # po.m4 serial 13 (gettext-0.15)
8816 dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
79688817 dnl This file is free software; the Free Software Foundation
79698818 dnl gives unlimited permission to copy and/or distribute it,
79708819 dnl with or without modifications, as long as this notice is preserved.
79898838 [
79908839 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
79918840 AC_REQUIRE([AC_PROG_INSTALL])dnl
7992 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
8841 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
79938842 AC_REQUIRE([AM_NLS])dnl
79948843
79958844 dnl Perform the following tests also if --disable-nls has been given,
80038852 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
80048853 :)
80058854 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
8855
8856 dnl Test whether it is GNU msgfmt >= 0.15.
8857 changequote(,)dnl
8858 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
8859 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
8860 *) MSGFMT_015=$MSGFMT ;;
8861 esac
8862 changequote([,])dnl
8863 AC_SUBST([MSGFMT_015])
8864 changequote(,)dnl
8865 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
8866 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
8867 *) GMSGFMT_015=$GMSGFMT ;;
8868 esac
8869 changequote([,])dnl
8870 AC_SUBST([GMSGFMT_015])
80068871
80078872 dnl Search for GNU xgettext 0.12 or newer in the PATH.
80088873 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
80148879 dnl Remove leftover from FreeBSD xgettext call.
80158880 rm -f messages.po
80168881
8882 dnl Test whether it is GNU xgettext >= 0.15.
8883 changequote(,)dnl
8884 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
8885 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
8886 *) XGETTEXT_015=$XGETTEXT ;;
8887 esac
8888 changequote([,])dnl
8889 AC_SUBST([XGETTEXT_015])
8890
80178891 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
80188892 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
80198893 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
80208894
8021 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
8022 dnl Test whether we really found GNU msgfmt.
8023 if test "$GMSGFMT" != ":"; then
8024 dnl If it is no GNU msgfmt we define it as : so that the
8025 dnl Makefiles still can work.
8026 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
8027 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8028 : ;
8029 else
8030 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
8031 AC_MSG_RESULT(
8032 [found $GMSGFMT program is not GNU msgfmt; ignore it])
8033 GMSGFMT=":"
8034 fi
8035 fi
8036
8037 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
8038 dnl Test whether we really found GNU xgettext.
8039 if test "$XGETTEXT" != ":"; then
8040 dnl If it is no GNU xgettext we define it as : so that the
8041 dnl Makefiles still can work.
8042 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
8043 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8044 : ;
8045 else
8046 AC_MSG_RESULT(
8047 [found xgettext program is not GNU xgettext; ignore it])
8048 XGETTEXT=":"
8049 fi
8050 dnl Remove leftover from FreeBSD xgettext call.
8051 rm -f messages.po
8052 fi
8053
8054 AC_OUTPUT_COMMANDS([
8895 dnl Installation directories.
8896 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
8897 dnl have to define it here, so that it can be used in po/Makefile.
8898 test -n "$localedir" || localedir='${datadir}/locale'
8899 AC_SUBST([localedir])
8900
8901 AC_CONFIG_COMMANDS([po-directories], [[
80558902 for ac_file in $CONFIG_FILES; do
80568903 # Support "outfile[:infile[:infile...]]"
80578904 case "$ac_file" in
80888935 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
80898936 fi
80908937 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8091 # Hide the ALL_LINGUAS assigment from automake.
8938 # Hide the ALL_LINGUAS assigment from automake < 1.5.
80928939 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
80938940 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
80948941 else
80958942 # The set of available languages was given in configure.in.
8943 # Hide the ALL_LINGUAS assigment from automake < 1.5.
80968944 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
80978945 fi
80988946 # Compute POFILES
81629010 fi
81639011 ;;
81649012 esac
8165 done],
9013 done]],
81669014 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
81679015 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8168 # from automake.
9016 # from automake < 1.5.
81699017 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
81709018 # Capture the value of LINGUAS because we need it to compute CATALOGS.
81719019 LINGUAS="${LINGUAS-%UNSET%}"
82519099 changequote([,])dnl
82529100
82539101 # Set POTFILES to the value of the Makefile variable POTFILES.
8254 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
9102 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
82559103 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
82569104 # Compute POTFILES_DEPS as
82579105 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
82709118 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
82719119 else
82729120 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
8273 sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
9121 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
82749122 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
82759123 fi
8276 # Hide the ALL_LINGUAS assigment from automake.
9124 # Hide the ALL_LINGUAS assigment from automake < 1.5.
82779125 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
82789126 # Compute POFILES
82799127 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
83939241 mv "$ac_file.tmp" "$ac_file"
83949242 ])
83959243
8396 # nls.m4 serial 2 (gettext-0.14.3)
8397 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
9244 # printf-posix.m4 serial 2 (gettext-0.13.1)
9245 dnl Copyright (C) 2003 Free Software Foundation, Inc.
83989246 dnl This file is free software; the Free Software Foundation
83999247 dnl gives unlimited permission to copy and/or distribute it,
84009248 dnl with or without modifications, as long as this notice is preserved.
8401 dnl
8402 dnl This file can can be used in projects which are not available under
8403 dnl the GNU General Public License or the GNU Library General Public
8404 dnl License but which still want to provide support for the GNU gettext
8405 dnl functionality.
8406 dnl Please note that the actual code of the GNU gettext library is covered
8407 dnl by the GNU Library General Public License, and the rest of the GNU
8408 dnl gettext package package is covered by the GNU General Public License.
8409 dnl They are *not* in the public domain.
8410
8411 dnl Authors:
8412 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8413 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8414
8415 AC_PREREQ(2.50)
8416
8417 AC_DEFUN([AM_NLS],
9249
9250 dnl From Bruno Haible.
9251 dnl Test whether the printf() function supports POSIX/XSI format strings with
9252 dnl positions.
9253
9254 AC_DEFUN([gt_PRINTF_POSIX],
84189255 [
8419 AC_MSG_CHECKING([whether NLS is requested])
8420 dnl Default is enabled NLS
8421 AC_ARG_ENABLE(nls,
8422 [ --disable-nls do not use Native Language Support],
8423 USE_NLS=$enableval, USE_NLS=yes)
8424 AC_MSG_RESULT($USE_NLS)
8425 AC_SUBST(USE_NLS)
8426 ])
8427
8428 AC_DEFUN([AM_MKINSTALLDIRS],
8429 [
8430 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
8431 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
8432 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
8433 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
8434 dnl Try to locate it.
8435 MKINSTALLDIRS=
8436 if test -n "$ac_aux_dir"; then
8437 case "$ac_aux_dir" in
8438 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
8439 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
8440 esac
8441 fi
8442 if test -z "$MKINSTALLDIRS"; then
8443 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8444 fi
8445 AC_SUBST(MKINSTALLDIRS)
9256 AC_REQUIRE([AC_PROG_CC])
9257 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
9258 gt_cv_func_printf_posix,
9259 [
9260 AC_TRY_RUN([
9261 #include <stdio.h>
9262 #include <string.h>
9263 /* The string "%2$d %1$d", with dollar characters protected from the shell's
9264 dollar expansion (possibly an autoconf bug). */
9265 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
9266 static char buf[100];
9267 int main ()
9268 {
9269 sprintf (buf, format, 33, 55);
9270 return (strcmp (buf, "55 33") != 0);
9271 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
9272 [
9273 AC_EGREP_CPP(notposix, [
9274 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
9275 notposix
9276 #endif
9277 ], gt_cv_func_printf_posix="guessing no",
9278 gt_cv_func_printf_posix="guessing yes")
9279 ])
9280 ])
9281 case $gt_cv_func_printf_posix in
9282 *yes)
9283 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
9284 [Define if your printf() function supports format strings with positions.])
9285 ;;
9286 esac
84469287 ])
84479288
84489289 # progtest.m4 serial 4 (gettext-0.14.2)
85389379 AC_SUBST($1)dnl
85399380 ])
85409381
8541 # iconv.m4 serial AM4 (gettext-0.11.3)
8542 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
9382 # size_max.m4 serial 5
9383 dnl Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
85439384 dnl This file is free software; the Free Software Foundation
85449385 dnl gives unlimited permission to copy and/or distribute it,
85459386 dnl with or without modifications, as long as this notice is preserved.
85469387
85479388 dnl From Bruno Haible.
85489389
8549 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
9390 AC_DEFUN([gl_SIZE_MAX],
85509391 [
8551 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
8552 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
8553 AC_REQUIRE([AC_LIB_RPATH])
8554
8555 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8556 dnl accordingly.
8557 AC_LIB_LINKFLAGS_BODY([iconv])
8558 ])
8559
8560 AC_DEFUN([AM_ICONV_LINK],
8561 [
8562 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
8563 dnl those with the standalone portable GNU libiconv installed).
8564
8565 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8566 dnl accordingly.
8567 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
8568
8569 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
8570 dnl because if the user has installed libiconv and not disabled its use
8571 dnl via --without-libiconv-prefix, he wants to use it. The first
8572 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
8573 am_save_CPPFLAGS="$CPPFLAGS"
8574 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
8575
8576 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
8577 am_cv_func_iconv="no, consider installing GNU libiconv"
8578 am_cv_lib_iconv=no
8579 AC_TRY_LINK([#include <stdlib.h>
8580 #include <iconv.h>],
8581 [iconv_t cd = iconv_open("","");
8582 iconv(cd,NULL,NULL,NULL,NULL);
8583 iconv_close(cd);],
8584 am_cv_func_iconv=yes)
8585 if test "$am_cv_func_iconv" != yes; then
8586 am_save_LIBS="$LIBS"
8587 LIBS="$LIBS $LIBICONV"
8588 AC_TRY_LINK([#include <stdlib.h>
8589 #include <iconv.h>],
8590 [iconv_t cd = iconv_open("","");
8591 iconv(cd,NULL,NULL,NULL,NULL);
8592 iconv_close(cd);],
8593 am_cv_lib_iconv=yes
8594 am_cv_func_iconv=yes)
8595 LIBS="$am_save_LIBS"
9392 AC_CHECK_HEADERS(stdint.h)
9393 dnl First test whether the system already has SIZE_MAX.
9394 AC_MSG_CHECKING([for SIZE_MAX])
9395 AC_CACHE_VAL([gl_cv_size_max], [
9396 gl_cv_size_max=
9397 AC_EGREP_CPP([Found it], [
9398 #include <limits.h>
9399 #if HAVE_STDINT_H
9400 #include <stdint.h>
9401 #endif
9402 #ifdef SIZE_MAX
9403 Found it
9404 #endif
9405 ], gl_cv_size_max=yes)
9406 if test -z "$gl_cv_size_max"; then
9407 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
9408 dnl than the type 'unsigned long'. Try hard to find a definition that can
9409 dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
9410 _AC_COMPUTE_INT([sizeof (size_t) * CHAR_BIT - 1], size_t_bits_minus_1,
9411 [#include <stddef.h>
9412 #include <limits.h>], size_t_bits_minus_1=)
9413 _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint,
9414 [#include <stddef.h>], fits_in_uint=)
9415 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
9416 if test $fits_in_uint = 1; then
9417 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
9418 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
9419 AC_TRY_COMPILE([#include <stddef.h>
9420 extern size_t foo;
9421 extern unsigned long foo;
9422 ], [], fits_in_uint=0)
9423 fi
9424 dnl We cannot use 'expr' to simplify this expression, because 'expr'
9425 dnl works only with 'long' integers in the host environment, while we
9426 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
9427 if test $fits_in_uint = 1; then
9428 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
9429 else
9430 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
9431 fi
9432 else
9433 dnl Shouldn't happen, but who knows...
9434 gl_cv_size_max='((size_t)~(size_t)0)'
9435 fi
85969436 fi
85979437 ])
8598 if test "$am_cv_func_iconv" = yes; then
8599 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
8600 fi
8601 if test "$am_cv_lib_iconv" = yes; then
8602 AC_MSG_CHECKING([how to link with libiconv])
8603 AC_MSG_RESULT([$LIBICONV])
8604 else
8605 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
8606 dnl either.
8607 CPPFLAGS="$am_save_CPPFLAGS"
8608 LIBICONV=
8609 LTLIBICONV=
8610 fi
8611 AC_SUBST(LIBICONV)
8612 AC_SUBST(LTLIBICONV)
9438 AC_MSG_RESULT([$gl_cv_size_max])
9439 if test "$gl_cv_size_max" != yes; then
9440 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
9441 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
9442 fi
86139443 ])
86149444
8615 AC_DEFUN([AM_ICONV],
8616 [
8617 AM_ICONV_LINK
8618 if test "$am_cv_func_iconv" = yes; then
8619 AC_MSG_CHECKING([for iconv declaration])
8620 AC_CACHE_VAL(am_cv_proto_iconv, [
8621 AC_TRY_COMPILE([
8622 #include <stdlib.h>
8623 #include <iconv.h>
8624 extern
8625 #ifdef __cplusplus
8626 "C"
8627 #endif
8628 #if defined(__STDC__) || defined(__cplusplus)
8629 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8630 #else
8631 size_t iconv();
8632 #endif
8633 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
8634 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
8635 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8636 AC_MSG_RESULT([$]{ac_t:-
8637 }[$]am_cv_proto_iconv)
8638 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
8639 [Define as const if the declaration of iconv() needs const.])
8640 fi
8641 ])
8642
8643 # glibc2.m4 serial 1
8644 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
8645 dnl This file is free software; the Free Software Foundation
8646 dnl gives unlimited permission to copy and/or distribute it,
8647 dnl with or without modifications, as long as this notice is preserved.
8648
8649 # Test for the GNU C Library, version 2.0 or newer.
8650 # From Bruno Haible.
8651
8652 AC_DEFUN([gt_GLIBC2],
8653 [
8654 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
8655 ac_cv_gnu_library_2,
8656 [AC_EGREP_CPP([Lucky GNU user],
8657 [
8658 #include <features.h>
8659 #ifdef __GNU_LIBRARY__
8660 #if (__GLIBC__ >= 2)
8661 Lucky GNU user
8662 #endif
8663 #endif
8664 ],
8665 ac_cv_gnu_library_2=yes,
8666 ac_cv_gnu_library_2=no)
8667 ]
8668 )
8669 AC_SUBST(GLIBC2)
8670 GLIBC2="$ac_cv_gnu_library_2"
8671 ]
8672 )
8673
8674 # signed.m4 serial 1 (gettext-0.10.40)
8675 dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
8676 dnl This file is free software; the Free Software Foundation
8677 dnl gives unlimited permission to copy and/or distribute it,
8678 dnl with or without modifications, as long as this notice is preserved.
8679
8680 dnl From Bruno Haible.
8681
8682 AC_DEFUN([bh_C_SIGNED],
8683 [
8684 AC_CACHE_CHECK([for signed], bh_cv_c_signed,
8685 [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)])
8686 if test $bh_cv_c_signed = no; then
8687 AC_DEFINE(signed, ,
8688 [Define to empty if the C compiler doesn't support this keyword.])
8689 fi
8690 ])
8691
8692 # longlong.m4 serial 5
8693 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8694 dnl This file is free software; the Free Software Foundation
8695 dnl gives unlimited permission to copy and/or distribute it,
8696 dnl with or without modifications, as long as this notice is preserved.
8697
8698 dnl From Paul Eggert.
8699
8700 # Define HAVE_LONG_LONG if 'long long' works.
8701
8702 AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8703 [
8704 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
8705 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
8706 [long long llmax = (long long) -1;
8707 return ll << i | ll >> i | llmax / ll | llmax % ll;],
8708 ac_cv_type_long_long=yes,
8709 ac_cv_type_long_long=no)])
8710 if test $ac_cv_type_long_long = yes; then
8711 AC_DEFINE(HAVE_LONG_LONG, 1,
8712 [Define if you have the 'long long' type.])
8713 fi
8714 ])
8715
8716 # longdouble.m4 serial 1 (gettext-0.12)
8717 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8718 dnl This file is free software; the Free Software Foundation
8719 dnl gives unlimited permission to copy and/or distribute it,
8720 dnl with or without modifications, as long as this notice is preserved.
8721
8722 dnl From Bruno Haible.
8723 dnl Test whether the compiler supports the 'long double' type.
8724 dnl Prerequisite: AC_PROG_CC
8725
8726 AC_DEFUN([gt_TYPE_LONGDOUBLE],
8727 [
8728 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8729 [if test "$GCC" = yes; then
8730 gt_cv_c_long_double=yes
8731 else
8732 AC_TRY_COMPILE([
8733 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8734 long double foo = 0.0;
8735 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8736 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8737 ], ,
8738 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8739 fi])
8740 if test $gt_cv_c_long_double = yes; then
8741 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8742 fi
8743 ])
8744
8745 # wchar_t.m4 serial 1 (gettext-0.12)
8746 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8747 dnl This file is free software; the Free Software Foundation
8748 dnl gives unlimited permission to copy and/or distribute it,
8749 dnl with or without modifications, as long as this notice is preserved.
8750
8751 dnl From Bruno Haible.
8752 dnl Test whether <stddef.h> has the 'wchar_t' type.
8753 dnl Prerequisite: AC_PROG_CC
8754
8755 AC_DEFUN([gt_TYPE_WCHAR_T],
8756 [
8757 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
8758 [AC_TRY_COMPILE([#include <stddef.h>
8759 wchar_t foo = (wchar_t)'\0';], ,
8760 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
8761 if test $gt_cv_c_wchar_t = yes; then
8762 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
8763 fi
8764 ])
8765
8766 # wint_t.m4 serial 1 (gettext-0.12)
8767 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8768 dnl This file is free software; the Free Software Foundation
8769 dnl gives unlimited permission to copy and/or distribute it,
8770 dnl with or without modifications, as long as this notice is preserved.
8771
8772 dnl From Bruno Haible.
8773 dnl Test whether <wchar.h> has the 'wint_t' type.
8774 dnl Prerequisite: AC_PROG_CC
8775
8776 AC_DEFUN([gt_TYPE_WINT_T],
8777 [
8778 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
8779 [AC_TRY_COMPILE([#include <wchar.h>
8780 wint_t foo = (wchar_t)'\0';], ,
8781 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
8782 if test $gt_cv_c_wint_t = yes; then
8783 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
8784 fi
8785 ])
8786
8787 # inttypes_h.m4 serial 6
8788 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8789 dnl This file is free software; the Free Software Foundation
8790 dnl gives unlimited permission to copy and/or distribute it,
8791 dnl with or without modifications, as long as this notice is preserved.
8792
8793 dnl From Paul Eggert.
8794
8795 # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
8796 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8797
8798 AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
8799 [
8800 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
8801 [AC_TRY_COMPILE(
8802 [#include <sys/types.h>
8803 #include <inttypes.h>],
8804 [uintmax_t i = (uintmax_t) -1;],
8805 gl_cv_header_inttypes_h=yes,
8806 gl_cv_header_inttypes_h=no)])
8807 if test $gl_cv_header_inttypes_h = yes; then
8808 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
8809 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
8810 and declares uintmax_t. ])
8811 fi
8812 ])
8813
8814 # stdint_h.m4 serial 5
8815 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
9445 # stdint_h.m4 serial 6
9446 dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
88169447 dnl This file is free software; the Free Software Foundation
88179448 dnl gives unlimited permission to copy and/or distribute it,
88189449 dnl with or without modifications, as long as this notice is preserved.
88289459 [AC_TRY_COMPILE(
88299460 [#include <sys/types.h>
88309461 #include <stdint.h>],
8831 [uintmax_t i = (uintmax_t) -1;],
9462 [uintmax_t i = (uintmax_t) -1; return !i;],
88329463 gl_cv_header_stdint_h=yes,
88339464 gl_cv_header_stdint_h=no)])
88349465 if test $gl_cv_header_stdint_h = yes; then
88369467 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
88379468 and declares uintmax_t. ])
88389469 fi
8839 ])
8840
8841 # intmax.m4 serial 2 (gettext-0.14.2)
8842 dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
8843 dnl This file is free software; the Free Software Foundation
8844 dnl gives unlimited permission to copy and/or distribute it,
8845 dnl with or without modifications, as long as this notice is preserved.
8846
8847 dnl From Bruno Haible.
8848 dnl Test whether the system has the 'intmax_t' type, but don't attempt to
8849 dnl find a replacement if it is lacking.
8850
8851 AC_DEFUN([gt_TYPE_INTMAX_T],
8852 [
8853 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
8854 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
8855 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
8856 [AC_TRY_COMPILE([
8857 #include <stddef.h>
8858 #include <stdlib.h>
8859 #if HAVE_STDINT_H_WITH_UINTMAX
8860 #include <stdint.h>
8861 #endif
8862 #if HAVE_INTTYPES_H_WITH_UINTMAX
8863 #include <inttypes.h>
8864 #endif
8865 ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
8866 if test $gt_cv_c_intmax_t = yes; then
8867 AC_DEFINE(HAVE_INTMAX_T, 1,
8868 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
8869 fi
8870 ])
8871
8872 # printf-posix.m4 serial 2 (gettext-0.13.1)
8873 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8874 dnl This file is free software; the Free Software Foundation
8875 dnl gives unlimited permission to copy and/or distribute it,
8876 dnl with or without modifications, as long as this notice is preserved.
8877
8878 dnl From Bruno Haible.
8879 dnl Test whether the printf() function supports POSIX/XSI format strings with
8880 dnl positions.
8881
8882 AC_DEFUN([gt_PRINTF_POSIX],
8883 [
8884 AC_REQUIRE([AC_PROG_CC])
8885 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
8886 gt_cv_func_printf_posix,
8887 [
8888 AC_TRY_RUN([
8889 #include <stdio.h>
8890 #include <string.h>
8891 /* The string "%2$d %1$d", with dollar characters protected from the shell's
8892 dollar expansion (possibly an autoconf bug). */
8893 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8894 static char buf[100];
8895 int main ()
8896 {
8897 sprintf (buf, format, 33, 55);
8898 return (strcmp (buf, "55 33") != 0);
8899 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
8900 [
8901 AC_EGREP_CPP(notposix, [
8902 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8903 notposix
8904 #endif
8905 ], gt_cv_func_printf_posix="guessing no",
8906 gt_cv_func_printf_posix="guessing yes")
8907 ])
8908 ])
8909 case $gt_cv_func_printf_posix in
8910 *yes)
8911 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
8912 [Define if your printf() function supports format strings with positions.])
8913 ;;
8914 esac
8915 ])
8916
8917 # glibc21.m4 serial 3
8918 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
8919 dnl This file is free software; the Free Software Foundation
8920 dnl gives unlimited permission to copy and/or distribute it,
8921 dnl with or without modifications, as long as this notice is preserved.
8922
8923 # Test for the GNU C Library, version 2.1 or newer.
8924 # From Bruno Haible.
8925
8926 AC_DEFUN([gl_GLIBC21],
8927 [
8928 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
8929 ac_cv_gnu_library_2_1,
8930 [AC_EGREP_CPP([Lucky GNU user],
8931 [
8932 #include <features.h>
8933 #ifdef __GNU_LIBRARY__
8934 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
8935 Lucky GNU user
8936 #endif
8937 #endif
8938 ],
8939 ac_cv_gnu_library_2_1=yes,
8940 ac_cv_gnu_library_2_1=no)
8941 ]
8942 )
8943 AC_SUBST(GLIBC21)
8944 GLIBC21="$ac_cv_gnu_library_2_1"
8945 ]
8946 )
8947
8948 # intdiv0.m4 serial 1 (gettext-0.11.3)
8949 dnl Copyright (C) 2002 Free Software Foundation, Inc.
8950 dnl This file is free software; the Free Software Foundation
8951 dnl gives unlimited permission to copy and/or distribute it,
8952 dnl with or without modifications, as long as this notice is preserved.
8953
8954 dnl From Bruno Haible.
8955
8956 AC_DEFUN([gt_INTDIV0],
8957 [
8958 AC_REQUIRE([AC_PROG_CC])dnl
8959 AC_REQUIRE([AC_CANONICAL_HOST])dnl
8960
8961 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
8962 gt_cv_int_divbyzero_sigfpe,
8963 [
8964 AC_TRY_RUN([
8965 #include <stdlib.h>
8966 #include <signal.h>
8967
8968 static void
8969 #ifdef __cplusplus
8970 sigfpe_handler (int sig)
8971 #else
8972 sigfpe_handler (sig) int sig;
8973 #endif
8974 {
8975 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
8976 exit (sig != SIGFPE);
8977 }
8978
8979 int x = 1;
8980 int y = 0;
8981 int z;
8982 int nan;
8983
8984 int main ()
8985 {
8986 signal (SIGFPE, sigfpe_handler);
8987 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
8988 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
8989 signal (SIGTRAP, sigfpe_handler);
8990 #endif
8991 /* Linux/SPARC yields signal SIGILL. */
8992 #if defined (__sparc__) && defined (__linux__)
8993 signal (SIGILL, sigfpe_handler);
8994 #endif
8995
8996 z = x / y;
8997 nan = y / y;
8998 exit (1);
8999 }
9000 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
9001 [
9002 # Guess based on the CPU.
9003 case "$host_cpu" in
9004 alpha* | i[34567]86 | m68k | s390*)
9005 gt_cv_int_divbyzero_sigfpe="guessing yes";;
9006 *)
9007 gt_cv_int_divbyzero_sigfpe="guessing no";;
9008 esac
9009 ])
9010 ])
9011 case "$gt_cv_int_divbyzero_sigfpe" in
9012 *yes) value=1;;
9013 *) value=0;;
9014 esac
9015 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
9016 [Define if integer division by zero raises signal SIGFPE.])
90179470 ])
90189471
90199472 # uintmax_t.m4 serial 9
90479500 fi
90489501 ])
90499502
9050 # ulonglong.m4 serial 4
9051 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
9503 # ulonglong.m4 serial 6
9504 dnl Copyright (C) 1999-2006 Free Software Foundation, Inc.
90529505 dnl This file is free software; the Free Software Foundation
90539506 dnl gives unlimited permission to copy and/or distribute it,
90549507 dnl with or without modifications, as long as this notice is preserved.
90559508
90569509 dnl From Paul Eggert.
90579510
9058 # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
9059
9511 # Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
9512 # This fixes a bug in Autoconf 2.60, but can be removed once we
9513 # assume 2.61 everywhere.
9514
9515 # Note: If the type 'unsigned long long int' exists but is only 32 bits
9516 # large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
9517 # will not be defined. In this case you can treat 'unsigned long long int'
9518 # like 'unsigned long int'.
9519
9520 AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
9521 [
9522 AC_CACHE_CHECK([for unsigned long long int],
9523 [ac_cv_type_unsigned_long_long_int],
9524 [AC_LINK_IFELSE(
9525 [AC_LANG_PROGRAM(
9526 [[unsigned long long int ull = 18446744073709551615ULL;
9527 typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
9528 ? 1 : -1)];
9529 int i = 63;]],
9530 [[unsigned long long int ullmax = 18446744073709551615ull;
9531 return (ull << 63 | ull >> 63 | ull << i | ull >> i
9532 | ullmax / ull | ullmax % ull);]])],
9533 [ac_cv_type_unsigned_long_long_int=yes],
9534 [ac_cv_type_unsigned_long_long_int=no])])
9535 if test $ac_cv_type_unsigned_long_long_int = yes; then
9536 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1,
9537 [Define to 1 if the system has the type `unsigned long long int'.])
9538 fi
9539 ])
9540
9541 # This macro is obsolescent and should go away soon.
90609542 AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
90619543 [
9062 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
9063 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
9064 [unsigned long long ullmax = (unsigned long long) -1;
9065 return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
9066 ac_cv_type_unsigned_long_long=yes,
9067 ac_cv_type_unsigned_long_long=no)])
9544 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
9545 ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
90689546 if test $ac_cv_type_unsigned_long_long = yes; then
90699547 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
90709548 [Define if you have the 'unsigned long long' type.])
90719549 fi
90729550 ])
90739551
9074 # inttypes.m4 serial 1 (gettext-0.11.4)
9075 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
9552 # visibility.m4 serial 1 (gettext-0.15)
9553 dnl Copyright (C) 2005 Free Software Foundation, Inc.
90769554 dnl This file is free software; the Free Software Foundation
90779555 dnl gives unlimited permission to copy and/or distribute it,
90789556 dnl with or without modifications, as long as this notice is preserved.
90799557
9080 dnl From Paul Eggert.
9081
9082 # Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
9083 # <sys/types.h>.
9084
9085 AC_DEFUN([gt_HEADER_INTTYPES_H],
9558 dnl From Bruno Haible.
9559
9560 dnl Tests whether the compiler supports the command-line option
9561 dnl -fvisibility=hidden and the function and variable attributes
9562 dnl __attribute__((__visibility__("hidden"))) and
9563 dnl __attribute__((__visibility__("default"))).
9564 dnl Does *not* test for __visibility__("protected") - which has tricky
9565 dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
9566 dnl MacOS X.
9567 dnl Does *not* test for __visibility__("internal") - which has processor
9568 dnl dependent semantics.
9569 dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
9570 dnl "really only recommended for legacy code".
9571 dnl Set the variable CFLAG_VISIBILITY.
9572 dnl Defines and sets the variable HAVE_VISIBILITY.
9573
9574 AC_DEFUN([gl_VISIBILITY],
90869575 [
9087 AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
9088 [
9089 AC_TRY_COMPILE(
9090 [#include <sys/types.h>
9091 #include <inttypes.h>],
9092 [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
9093 ])
9094 if test $gt_cv_header_inttypes_h = yes; then
9095 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
9096 [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
9097 fi
9576 AC_REQUIRE([AC_PROG_CC])
9577 CFLAG_VISIBILITY=
9578 HAVE_VISIBILITY=0
9579 if test -n "$GCC"; then
9580 AC_MSG_CHECKING([for simple visibility declarations])
9581 AC_CACHE_VAL(gl_cv_cc_visibility, [
9582 gl_save_CFLAGS="$CFLAGS"
9583 CFLAGS="$CFLAGS -fvisibility=hidden"
9584 AC_TRY_COMPILE(
9585 [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
9586 extern __attribute__((__visibility__("default"))) int exportedvar;
9587 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
9588 extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
9589 [],
9590 gl_cv_cc_visibility=yes,
9591 gl_cv_cc_visibility=no)
9592 CFLAGS="$gl_save_CFLAGS"])
9593 AC_MSG_RESULT([$gl_cv_cc_visibility])
9594 if test $gl_cv_cc_visibility = yes; then
9595 CFLAG_VISIBILITY="-fvisibility=hidden"
9596 HAVE_VISIBILITY=1
9597 fi
9598 fi
9599 AC_SUBST([CFLAG_VISIBILITY])
9600 AC_SUBST([HAVE_VISIBILITY])
9601 AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
9602 [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
90989603 ])
90999604
9100 # inttypes-pri.m4 serial 1 (gettext-0.11.4)
9101 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
9605 # wchar_t.m4 serial 1 (gettext-0.12)
9606 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
91029607 dnl This file is free software; the Free Software Foundation
91039608 dnl gives unlimited permission to copy and/or distribute it,
91049609 dnl with or without modifications, as long as this notice is preserved.
91059610
91069611 dnl From Bruno Haible.
9107
9108 # Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
9109 # macros to non-string values. This is the case on AIX 4.3.3.
9110
9111 AC_DEFUN([gt_INTTYPES_PRI],
9612 dnl Test whether <stddef.h> has the 'wchar_t' type.
9613 dnl Prerequisite: AC_PROG_CC
9614
9615 AC_DEFUN([gt_TYPE_WCHAR_T],
91129616 [
9113 AC_REQUIRE([gt_HEADER_INTTYPES_H])
9114 if test $gt_cv_header_inttypes_h = yes; then
9115 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
9116 gt_cv_inttypes_pri_broken,
9117 [
9118 AC_TRY_COMPILE([#include <inttypes.h>
9119 #ifdef PRId32
9120 char *p = PRId32;
9121 #endif
9122 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
9123 ])
9124 fi
9125 if test "$gt_cv_inttypes_pri_broken" = yes; then
9126 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
9127 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
9617 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
9618 [AC_TRY_COMPILE([#include <stddef.h>
9619 wchar_t foo = (wchar_t)'\0';], ,
9620 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
9621 if test $gt_cv_c_wchar_t = yes; then
9622 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
9623 fi
9624 ])
9625
9626 # wint_t.m4 serial 1 (gettext-0.12)
9627 dnl Copyright (C) 2003 Free Software Foundation, Inc.
9628 dnl This file is free software; the Free Software Foundation
9629 dnl gives unlimited permission to copy and/or distribute it,
9630 dnl with or without modifications, as long as this notice is preserved.
9631
9632 dnl From Bruno Haible.
9633 dnl Test whether <wchar.h> has the 'wint_t' type.
9634 dnl Prerequisite: AC_PROG_CC
9635
9636 AC_DEFUN([gt_TYPE_WINT_T],
9637 [
9638 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
9639 [AC_TRY_COMPILE([#include <wchar.h>
9640 wint_t foo = (wchar_t)'\0';], ,
9641 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
9642 if test $gt_cv_c_wint_t = yes; then
9643 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
91289644 fi
91299645 ])
91309646
91429658 AC_CHECK_HEADERS(stdint.h)
91439659 ])
91449660
9145 # size_max.m4 serial 2
9146 dnl Copyright (C) 2003 Free Software Foundation, Inc.
9147 dnl This file is free software; the Free Software Foundation
9148 dnl gives unlimited permission to copy and/or distribute it,
9149 dnl with or without modifications, as long as this notice is preserved.
9150
9151 dnl From Bruno Haible.
9152
9153 AC_DEFUN([gl_SIZE_MAX],
9154 [
9155 AC_CHECK_HEADERS(stdint.h)
9156 dnl First test whether the system already has SIZE_MAX.
9157 AC_MSG_CHECKING([for SIZE_MAX])
9158 result=
9159 AC_EGREP_CPP([Found it], [
9160 #include <limits.h>
9161 #if HAVE_STDINT_H
9162 #include <stdint.h>
9163 #endif
9164 #ifdef SIZE_MAX
9165 Found it
9166 #endif
9167 ], result=yes)
9168 if test -z "$result"; then
9169 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
9170 dnl than the type 'unsigned long'.
9171 dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr',
9172 dnl which is guaranteed to work from LONG_MIN to LONG_MAX.
9173 _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi,
9174 [#include <stddef.h>], result=?)
9175 _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo,
9176 [#include <stddef.h>], result=?)
9177 _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint,
9178 [#include <stddef.h>], result=?)
9179 if test "$fits_in_uint" = 1; then
9180 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
9181 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
9182 AC_TRY_COMPILE([#include <stddef.h>
9183 extern size_t foo;
9184 extern unsigned long foo;
9185 ], [], fits_in_uint=0)
9661 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
9662 #
9663 # This file is free software; the Free Software Foundation
9664 # gives unlimited permission to copy and/or distribute it,
9665 # with or without modifications, as long as this notice is preserved.
9666
9667 # AM_AUTOMAKE_VERSION(VERSION)
9668 # ----------------------------
9669 # Automake X.Y traces this macro to ensure aclocal.m4 has been
9670 # generated from the m4 files accompanying Automake X.Y.
9671 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
9672
9673 # AM_SET_CURRENT_AUTOMAKE_VERSION
9674 # -------------------------------
9675 # Call AM_AUTOMAKE_VERSION so it can be traced.
9676 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
9677 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9678 [AM_AUTOMAKE_VERSION([1.9.6])])
9679
9680 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9681
9682 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9683 #
9684 # This file is free software; the Free Software Foundation
9685 # gives unlimited permission to copy and/or distribute it,
9686 # with or without modifications, as long as this notice is preserved.
9687
9688 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9689 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
9690 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9691 #
9692 # Of course, Automake must honor this variable whenever it calls a
9693 # tool from the auxiliary directory. The problem is that $srcdir (and
9694 # therefore $ac_aux_dir as well) can be either absolute or relative,
9695 # depending on how configure is run. This is pretty annoying, since
9696 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
9697 # source directory, any form will work fine, but in subdirectories a
9698 # relative path needs to be adjusted first.
9699 #
9700 # $ac_aux_dir/missing
9701 # fails when called from a subdirectory if $ac_aux_dir is relative
9702 # $top_srcdir/$ac_aux_dir/missing
9703 # fails if $ac_aux_dir is absolute,
9704 # fails when called from a subdirectory in a VPATH build with
9705 # a relative $ac_aux_dir
9706 #
9707 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9708 # are both prefixed by $srcdir. In an in-source build this is usually
9709 # harmless because $srcdir is `.', but things will broke when you
9710 # start a VPATH build or use an absolute $srcdir.
9711 #
9712 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9713 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
9714 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
9715 # and then we would define $MISSING as
9716 # MISSING="\${SHELL} $am_aux_dir/missing"
9717 # This will work as long as MISSING is not called from configure, because
9718 # unfortunately $(top_srcdir) has no meaning in configure.
9719 # However there are other variables, like CC, which are often used in
9720 # configure, and could therefore not use this "fixed" $ac_aux_dir.
9721 #
9722 # Another solution, used here, is to always expand $ac_aux_dir to an
9723 # absolute PATH. The drawback is that using absolute paths prevent a
9724 # configured tree to be moved without reconfiguration.
9725
9726 AC_DEFUN([AM_AUX_DIR_EXPAND],
9727 [dnl Rely on autoconf to set up CDPATH properly.
9728 AC_PREREQ([2.50])dnl
9729 # expand $ac_aux_dir to an absolute path
9730 am_aux_dir=`cd $ac_aux_dir && pwd`
9731 ])
9732
9733 # AM_CONDITIONAL -*- Autoconf -*-
9734
9735 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
9736 # Free Software Foundation, Inc.
9737 #
9738 # This file is free software; the Free Software Foundation
9739 # gives unlimited permission to copy and/or distribute it,
9740 # with or without modifications, as long as this notice is preserved.
9741
9742 # serial 7
9743
9744 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9745 # -------------------------------------
9746 # Define a conditional.
9747 AC_DEFUN([AM_CONDITIONAL],
9748 [AC_PREREQ(2.52)dnl
9749 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9750 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9751 AC_SUBST([$1_TRUE])
9752 AC_SUBST([$1_FALSE])
9753 if $2; then
9754 $1_TRUE=
9755 $1_FALSE='#'
9756 else
9757 $1_TRUE='#'
9758 $1_FALSE=
9759 fi
9760 AC_CONFIG_COMMANDS_PRE(
9761 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9762 AC_MSG_ERROR([[conditional "$1" was never defined.
9763 Usually this means the macro was only invoked conditionally.]])
9764 fi])])
9765
9766
9767 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9768 # Free Software Foundation, Inc.
9769 #
9770 # This file is free software; the Free Software Foundation
9771 # gives unlimited permission to copy and/or distribute it,
9772 # with or without modifications, as long as this notice is preserved.
9773
9774 # serial 8
9775
9776 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9777 # written in clear, in which case automake, when reading aclocal.m4,
9778 # will think it sees a *use*, and therefore will trigger all it's
9779 # C support machinery. Also note that it means that autoscan, seeing
9780 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
9781
9782
9783 # _AM_DEPENDENCIES(NAME)
9784 # ----------------------
9785 # See how the compiler implements dependency checking.
9786 # NAME is "CC", "CXX", "GCJ", or "OBJC".
9787 # We try a few techniques and use that to set a single cache variable.
9788 #
9789 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9790 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
9791 # dependency, and given that the user is not expected to run this macro,
9792 # just rely on AC_PROG_CC.
9793 AC_DEFUN([_AM_DEPENDENCIES],
9794 [AC_REQUIRE([AM_SET_DEPDIR])dnl
9795 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
9796 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9797 AC_REQUIRE([AM_DEP_TRACK])dnl
9798
9799 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
9800 [$1], CXX, [depcc="$CXX" am_compiler_list=],
9801 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9802 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9803 [depcc="$$1" am_compiler_list=])
9804
9805 AC_CACHE_CHECK([dependency style of $depcc],
9806 [am_cv_$1_dependencies_compiler_type],
9807 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9808 # We make a subdir and do the tests there. Otherwise we can end up
9809 # making bogus files that we don't know about and never remove. For
9810 # instance it was reported that on HP-UX the gcc test will end up
9811 # making a dummy file named `D' -- because `-MD' means `put the output
9812 # in D'.
9813 mkdir conftest.dir
9814 # Copy depcomp to subdir because otherwise we won't find it if we're
9815 # using a relative directory.
9816 cp "$am_depcomp" conftest.dir
9817 cd conftest.dir
9818 # We will build objects and dependencies in a subdirectory because
9819 # it helps to detect inapplicable dependency modes. For instance
9820 # both Tru64's cc and ICC support -MD to output dependencies as a
9821 # side effect of compilation, but ICC will put the dependencies in
9822 # the current directory while Tru64 will put them in the object
9823 # directory.
9824 mkdir sub
9825
9826 am_cv_$1_dependencies_compiler_type=none
9827 if test "$am_compiler_list" = ""; then
9828 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9829 fi
9830 for depmode in $am_compiler_list; do
9831 # Setup a source with many dependencies, because some compilers
9832 # like to wrap large dependency lists on column 80 (with \), and
9833 # we should not choose a depcomp mode which is confused by this.
9834 #
9835 # We need to recreate these files for each test, as the compiler may
9836 # overwrite some of them when testing with obscure command lines.
9837 # This happens at least with the AIX C compiler.
9838 : > sub/conftest.c
9839 for i in 1 2 3 4 5 6; do
9840 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9841 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9842 # Solaris 8's {/usr,}/bin/sh.
9843 touch sub/conftst$i.h
9844 done
9845 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9846
9847 case $depmode in
9848 nosideeffect)
9849 # after this tag, mechanisms are not by side-effect, so they'll
9850 # only be used when explicitly requested
9851 if test "x$enable_dependency_tracking" = xyes; then
9852 continue
9853 else
9854 break
9855 fi
9856 ;;
9857 none) break ;;
9858 esac
9859 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9860 # mode. It turns out that the SunPro C++ compiler does not properly
9861 # handle `-M -o', and we need to detect this.
9862 if depmode=$depmode \
9863 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9864 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9865 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9866 >/dev/null 2>conftest.err &&
9867 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9868 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9869 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9870 # icc doesn't choke on unknown options, it will just issue warnings
9871 # or remarks (even with -Werror). So we grep stderr for any message
9872 # that says an option was ignored or not supported.
9873 # When given -MP, icc 7.0 and 7.1 complain thusly:
9874 # icc: Command line warning: ignoring option '-M'; no argument required
9875 # The diagnosis changed in icc 8.0:
9876 # icc: Command line remark: option '-MP' not supported
9877 if (grep 'ignoring option' conftest.err ||
9878 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9879 am_cv_$1_dependencies_compiler_type=$depmode
9880 break
9881 fi
91869882 fi
9187 if test -z "$result"; then
9188 if test "$fits_in_uint" = 1; then
9189 result="$res_hi$res_lo"U
9190 else
9191 result="$res_hi$res_lo"UL
9192 fi
9193 else
9194 dnl Shouldn't happen, but who knows...
9195 result='~(size_t)0'
9196 fi
9197 fi
9198 AC_MSG_RESULT([$result])
9199 if test "$result" != yes; then
9200 AC_DEFINE_UNQUOTED([SIZE_MAX], [$result],
9201 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
9202 fi
9883 done
9884
9885 cd ..
9886 rm -rf conftest.dir
9887 else
9888 am_cv_$1_dependencies_compiler_type=none
9889 fi
92039890 ])
9204
9205 # codeset.m4 serial AM1 (gettext-0.10.40)
9206 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
9207 dnl This file is free software; the Free Software Foundation
9208 dnl gives unlimited permission to copy and/or distribute it,
9209 dnl with or without modifications, as long as this notice is preserved.
9210
9211 dnl From Bruno Haible.
9212
9213 AC_DEFUN([AM_LANGINFO_CODESET],
9214 [
9215 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
9216 [AC_TRY_LINK([#include <langinfo.h>],
9217 [char* cs = nl_langinfo(CODESET);],
9218 am_cv_langinfo_codeset=yes,
9219 am_cv_langinfo_codeset=no)
9220 ])
9221 if test $am_cv_langinfo_codeset = yes; then
9222 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
9223 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
9224 fi
9891 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9892 AM_CONDITIONAL([am__fastdep$1], [
9893 test "x$enable_dependency_tracking" != xno \
9894 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
92259895 ])
92269896
9227 # lcmessage.m4 serial 4 (gettext-0.14.2)
9228 dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
9229 dnl This file is free software; the Free Software Foundation
9230 dnl gives unlimited permission to copy and/or distribute it,
9231 dnl with or without modifications, as long as this notice is preserved.
9232 dnl
9233 dnl This file can can be used in projects which are not available under
9234 dnl the GNU General Public License or the GNU Library General Public
9235 dnl License but which still want to provide support for the GNU gettext
9236 dnl functionality.
9237 dnl Please note that the actual code of the GNU gettext library is covered
9238 dnl by the GNU Library General Public License, and the rest of the GNU
9239 dnl gettext package package is covered by the GNU General Public License.
9240 dnl They are *not* in the public domain.
9241
9242 dnl Authors:
9243 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
9244
9245 # Check whether LC_MESSAGES is available in <locale.h>.
9246
9247 AC_DEFUN([gt_LC_MESSAGES],
9248 [
9249 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
9250 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
9251 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
9252 if test $gt_cv_val_LC_MESSAGES = yes; then
9253 AC_DEFINE(HAVE_LC_MESSAGES, 1,
9254 [Define if your <locale.h> file defines LC_MESSAGES.])
9255 fi
9897
9898 # AM_SET_DEPDIR
9899 # -------------
9900 # Choose a directory name for dependency files.
9901 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
9902 AC_DEFUN([AM_SET_DEPDIR],
9903 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9904 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
92569905 ])
92579906
9907
9908 # AM_DEP_TRACK
9909 # ------------
9910 AC_DEFUN([AM_DEP_TRACK],
9911 [AC_ARG_ENABLE(dependency-tracking,
9912 [ --disable-dependency-tracking speeds up one-time build
9913 --enable-dependency-tracking do not reject slow dependency extractors])
9914 if test "x$enable_dependency_tracking" != xno; then
9915 am_depcomp="$ac_aux_dir/depcomp"
9916 AMDEPBACKSLASH='\'
9917 fi
9918 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9919 AC_SUBST([AMDEPBACKSLASH])
9920 ])
9921
9922 # Generate code to set up dependency tracking. -*- Autoconf -*-
9923
9924 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9925 # Free Software Foundation, Inc.
9926 #
9927 # This file is free software; the Free Software Foundation
9928 # gives unlimited permission to copy and/or distribute it,
9929 # with or without modifications, as long as this notice is preserved.
9930
9931 #serial 3
9932
9933 # _AM_OUTPUT_DEPENDENCY_COMMANDS
9934 # ------------------------------
9935 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9936 [for mf in $CONFIG_FILES; do
9937 # Strip MF so we end up with the name of the file.
9938 mf=`echo "$mf" | sed -e 's/:.*$//'`
9939 # Check whether this is an Automake generated Makefile or not.
9940 # We used to match only the files named `Makefile.in', but
9941 # some people rename them; so instead we look at the file content.
9942 # Grep'ing the first line is not enough: some people post-process
9943 # each Makefile.in and add a new line on top of each file to say so.
9944 # So let's grep whole file.
9945 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9946 dirpart=`AS_DIRNAME("$mf")`
9947 else
9948 continue
9949 fi
9950 # Extract the definition of DEPDIR, am__include, and am__quote
9951 # from the Makefile without running `make'.
9952 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9953 test -z "$DEPDIR" && continue
9954 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9955 test -z "am__include" && continue
9956 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9957 # When using ansi2knr, U may be empty or an underscore; expand it
9958 U=`sed -n 's/^U = //p' < "$mf"`
9959 # Find all dependency output files, they are included files with
9960 # $(DEPDIR) in their names. We invoke sed twice because it is the
9961 # simplest approach to changing $(DEPDIR) to its actual value in the
9962 # expansion.
9963 for file in `sed -n "
9964 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9965 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9966 # Make sure the directory exists.
9967 test -f "$dirpart/$file" && continue
9968 fdir=`AS_DIRNAME(["$file"])`
9969 AS_MKDIR_P([$dirpart/$fdir])
9970 # echo "creating $dirpart/$file"
9971 echo '# dummy' > "$dirpart/$file"
9972 done
9973 done
9974 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9975
9976
9977 # AM_OUTPUT_DEPENDENCY_COMMANDS
9978 # -----------------------------
9979 # This macro should only be invoked once -- use via AC_REQUIRE.
9980 #
9981 # This code is only required when automatic dependency tracking
9982 # is enabled. FIXME. This creates each `.P' file that we will
9983 # need in order to bootstrap the dependency handling code.
9984 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
9985 [AC_CONFIG_COMMANDS([depfiles],
9986 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9987 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9988 ])
9989
9990 # Do all the work for Automake. -*- Autoconf -*-
9991
9992 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9993 # Free Software Foundation, Inc.
9994 #
9995 # This file is free software; the Free Software Foundation
9996 # gives unlimited permission to copy and/or distribute it,
9997 # with or without modifications, as long as this notice is preserved.
9998
9999 # serial 12
10000
10001 # This macro actually does too much. Some checks are only needed if
10002 # your package does certain things. But this isn't really a big deal.
10003
10004 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
10005 # AM_INIT_AUTOMAKE([OPTIONS])
10006 # -----------------------------------------------
10007 # The call with PACKAGE and VERSION arguments is the old style
10008 # call (pre autoconf-2.50), which is being phased out. PACKAGE
10009 # and VERSION should now be passed to AC_INIT and removed from
10010 # the call to AM_INIT_AUTOMAKE.
10011 # We support both call styles for the transition. After
10012 # the next Automake release, Autoconf can make the AC_INIT
10013 # arguments mandatory, and then we can depend on a new Autoconf
10014 # release and drop the old call support.
10015 AC_DEFUN([AM_INIT_AUTOMAKE],
10016 [AC_PREREQ([2.58])dnl
10017 dnl Autoconf wants to disallow AM_ names. We explicitly allow
10018 dnl the ones we care about.
10019 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
10020 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
10021 AC_REQUIRE([AC_PROG_INSTALL])dnl
10022 # test to see if srcdir already configured
10023 if test "`cd $srcdir && pwd`" != "`pwd`" &&
10024 test -f $srcdir/config.status; then
10025 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
10026 fi
10027
10028 # test whether we have cygpath
10029 if test -z "$CYGPATH_W"; then
10030 if (cygpath --version) >/dev/null 2>/dev/null; then
10031 CYGPATH_W='cygpath -w'
10032 else
10033 CYGPATH_W=echo
10034 fi
10035 fi
10036 AC_SUBST([CYGPATH_W])
10037
10038 # Define the identity of the package.
10039 dnl Distinguish between old-style and new-style calls.
10040 m4_ifval([$2],
10041 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
10042 AC_SUBST([PACKAGE], [$1])dnl
10043 AC_SUBST([VERSION], [$2])],
10044 [_AM_SET_OPTIONS([$1])dnl
10045 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
10046 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
10047
10048 _AM_IF_OPTION([no-define],,
10049 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
10050 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
10051
10052 # Some tools Automake needs.
10053 AC_REQUIRE([AM_SANITY_CHECK])dnl
10054 AC_REQUIRE([AC_ARG_PROGRAM])dnl
10055 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
10056 AM_MISSING_PROG(AUTOCONF, autoconf)
10057 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
10058 AM_MISSING_PROG(AUTOHEADER, autoheader)
10059 AM_MISSING_PROG(MAKEINFO, makeinfo)
10060 AM_PROG_INSTALL_SH
10061 AM_PROG_INSTALL_STRIP
10062 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
10063 # We need awk for the "check" target. The system "awk" is bad on
10064 # some platforms.
10065 AC_REQUIRE([AC_PROG_AWK])dnl
10066 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
10067 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
10068 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
10069 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
10070 [_AM_PROG_TAR([v7])])])
10071 _AM_IF_OPTION([no-dependencies],,
10072 [AC_PROVIDE_IFELSE([AC_PROG_CC],
10073 [_AM_DEPENDENCIES(CC)],
10074 [define([AC_PROG_CC],
10075 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
10076 AC_PROVIDE_IFELSE([AC_PROG_CXX],
10077 [_AM_DEPENDENCIES(CXX)],
10078 [define([AC_PROG_CXX],
10079 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
10080 ])
10081 ])
10082
10083
10084 # When config.status generates a header, we must update the stamp-h file.
10085 # This file resides in the same directory as the config header
10086 # that is generated. The stamp files are numbered to have different names.
10087
10088 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
10089 # loop where config.status creates the headers, so we can generate
10090 # our stamp files there.
10091 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
10092 [# Compute $1's index in $config_headers.
10093 _am_stamp_count=1
10094 for _am_header in $config_headers :; do
10095 case $_am_header in
10096 $1 | $1:* )
10097 break ;;
10098 * )
10099 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10100 esac
10101 done
10102 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
10103
10104 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
10105 #
10106 # This file is free software; the Free Software Foundation
10107 # gives unlimited permission to copy and/or distribute it,
10108 # with or without modifications, as long as this notice is preserved.
10109
10110 # AM_PROG_INSTALL_SH
10111 # ------------------
10112 # Define $install_sh.
10113 AC_DEFUN([AM_PROG_INSTALL_SH],
10114 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10115 install_sh=${install_sh-"$am_aux_dir/install-sh"}
10116 AC_SUBST(install_sh)])
10117
10118 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
10119 #
10120 # This file is free software; the Free Software Foundation
10121 # gives unlimited permission to copy and/or distribute it,
10122 # with or without modifications, as long as this notice is preserved.
10123
10124 # serial 2
10125
10126 # Check whether the underlying file-system supports filenames
10127 # with a leading dot. For instance MS-DOS doesn't.
10128 AC_DEFUN([AM_SET_LEADING_DOT],
10129 [rm -rf .tst 2>/dev/null
10130 mkdir .tst 2>/dev/null
10131 if test -d .tst; then
10132 am__leading_dot=.
10133 else
10134 am__leading_dot=_
10135 fi
10136 rmdir .tst 2>/dev/null
10137 AC_SUBST([am__leading_dot])])
10138
10139 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
10140 # From Jim Meyering
10141
10142 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
10143 # Free Software Foundation, Inc.
10144 #
10145 # This file is free software; the Free Software Foundation
10146 # gives unlimited permission to copy and/or distribute it,
10147 # with or without modifications, as long as this notice is preserved.
10148
10149 # serial 4
10150
10151 AC_DEFUN([AM_MAINTAINER_MODE],
10152 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
10153 dnl maintainer-mode is disabled by default
10154 AC_ARG_ENABLE(maintainer-mode,
10155 [ --enable-maintainer-mode enable make rules and dependencies not useful
10156 (and sometimes confusing) to the casual installer],
10157 USE_MAINTAINER_MODE=$enableval,
10158 USE_MAINTAINER_MODE=no)
10159 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
10160 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
10161 MAINT=$MAINTAINER_MODE_TRUE
10162 AC_SUBST(MAINT)dnl
10163 ]
10164 )
10165
10166 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
10167
10168 # Check to see how 'make' treats includes. -*- Autoconf -*-
10169
10170 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
10171 #
10172 # This file is free software; the Free Software Foundation
10173 # gives unlimited permission to copy and/or distribute it,
10174 # with or without modifications, as long as this notice is preserved.
10175
10176 # serial 3
10177
10178 # AM_MAKE_INCLUDE()
10179 # -----------------
10180 # Check to see how make treats includes.
10181 AC_DEFUN([AM_MAKE_INCLUDE],
10182 [am_make=${MAKE-make}
10183 cat > confinc << 'END'
10184 am__doit:
10185 @echo done
10186 .PHONY: am__doit
10187 END
10188 # If we don't find an include directive, just comment out the code.
10189 AC_MSG_CHECKING([for style of include used by $am_make])
10190 am__include="#"
10191 am__quote=
10192 _am_result=none
10193 # First try GNU make style include.
10194 echo "include confinc" > confmf
10195 # We grep out `Entering directory' and `Leaving directory'
10196 # messages which can occur if `w' ends up in MAKEFLAGS.
10197 # In particular we don't look at `^make:' because GNU make might
10198 # be invoked under some other name (usually "gmake"), in which
10199 # case it prints its new name instead of `make'.
10200 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
10201 am__include=include
10202 am__quote=
10203 _am_result=GNU
10204 fi
10205 # Now try BSD make style include.
10206 if test "$am__include" = "#"; then
10207 echo '.include "confinc"' > confmf
10208 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
10209 am__include=.include
10210 am__quote="\""
10211 _am_result=BSD
10212 fi
10213 fi
10214 AC_SUBST([am__include])
10215 AC_SUBST([am__quote])
10216 AC_MSG_RESULT([$_am_result])
10217 rm -f confinc confmf
10218 ])
10219
10220 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
10221
10222 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
10223 # Free Software Foundation, Inc.
10224 #
10225 # This file is free software; the Free Software Foundation
10226 # gives unlimited permission to copy and/or distribute it,
10227 # with or without modifications, as long as this notice is preserved.
10228
10229 # serial 4
10230
10231 # AM_MISSING_PROG(NAME, PROGRAM)
10232 # ------------------------------
10233 AC_DEFUN([AM_MISSING_PROG],
10234 [AC_REQUIRE([AM_MISSING_HAS_RUN])
10235 $1=${$1-"${am_missing_run}$2"}
10236 AC_SUBST($1)])
10237
10238
10239 # AM_MISSING_HAS_RUN
10240 # ------------------
10241 # Define MISSING if not defined so far and test if it supports --run.
10242 # If it does, set am_missing_run to use it, otherwise, to nothing.
10243 AC_DEFUN([AM_MISSING_HAS_RUN],
10244 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10245 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
10246 # Use eval to expand $SHELL
10247 if eval "$MISSING --run true"; then
10248 am_missing_run="$MISSING --run "
10249 else
10250 am_missing_run=
10251 AC_MSG_WARN([`missing' script is too old or missing])
10252 fi
10253 ])
10254
10255 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
10256 #
10257 # This file is free software; the Free Software Foundation
10258 # gives unlimited permission to copy and/or distribute it,
10259 # with or without modifications, as long as this notice is preserved.
10260
10261 # AM_PROG_MKDIR_P
10262 # ---------------
10263 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
10264 #
10265 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
10266 # created by `make install' are always world readable, even if the
10267 # installer happens to have an overly restrictive umask (e.g. 077).
10268 # This was a mistake. There are at least two reasons why we must not
10269 # use `-m 0755':
10270 # - it causes special bits like SGID to be ignored,
10271 # - it may be too restrictive (some setups expect 775 directories).
10272 #
10273 # Do not use -m 0755 and let people choose whatever they expect by
10274 # setting umask.
10275 #
10276 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
10277 # Some implementations (such as Solaris 8's) are not thread-safe: if a
10278 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
10279 # concurrently, both version can detect that a/ is missing, but only
10280 # one can create it and the other will error out. Consequently we
10281 # restrict ourselves to GNU make (using the --version option ensures
10282 # this.)
10283 AC_DEFUN([AM_PROG_MKDIR_P],
10284 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
10285 # We used to keeping the `.' as first argument, in order to
10286 # allow $(mkdir_p) to be used without argument. As in
10287 # $(mkdir_p) $(somedir)
10288 # where $(somedir) is conditionally defined. However this is wrong
10289 # for two reasons:
10290 # 1. if the package is installed by a user who cannot write `.'
10291 # make install will fail,
10292 # 2. the above comment should most certainly read
10293 # $(mkdir_p) $(DESTDIR)$(somedir)
10294 # so it does not work when $(somedir) is undefined and
10295 # $(DESTDIR) is not.
10296 # To support the latter case, we have to write
10297 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
10298 # so the `.' trick is pointless.
10299 mkdir_p='mkdir -p --'
10300 else
10301 # On NextStep and OpenStep, the `mkdir' command does not
10302 # recognize any option. It will interpret all options as
10303 # directories to create, and then abort because `.' already
10304 # exists.
10305 for d in ./-p ./--version;
10306 do
10307 test -d $d && rmdir $d
10308 done
10309 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
10310 if test -f "$ac_aux_dir/mkinstalldirs"; then
10311 mkdir_p='$(mkinstalldirs)'
10312 else
10313 mkdir_p='$(install_sh) -d'
10314 fi
10315 fi
10316 AC_SUBST([mkdir_p])])
10317
10318 # Helper functions for option handling. -*- Autoconf -*-
10319
10320 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
10321 #
10322 # This file is free software; the Free Software Foundation
10323 # gives unlimited permission to copy and/or distribute it,
10324 # with or without modifications, as long as this notice is preserved.
10325
10326 # serial 3
10327
10328 # _AM_MANGLE_OPTION(NAME)
10329 # -----------------------
10330 AC_DEFUN([_AM_MANGLE_OPTION],
10331 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
10332
10333 # _AM_SET_OPTION(NAME)
10334 # ------------------------------
10335 # Set option NAME. Presently that only means defining a flag for this option.
10336 AC_DEFUN([_AM_SET_OPTION],
10337 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
10338
10339 # _AM_SET_OPTIONS(OPTIONS)
10340 # ----------------------------------
10341 # OPTIONS is a space-separated list of Automake options.
10342 AC_DEFUN([_AM_SET_OPTIONS],
10343 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
10344
10345 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
10346 # -------------------------------------------
10347 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
10348 AC_DEFUN([_AM_IF_OPTION],
10349 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10350
10351 # Check to make sure that the build environment is sane. -*- Autoconf -*-
10352
10353 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
10354 # Free Software Foundation, Inc.
10355 #
10356 # This file is free software; the Free Software Foundation
10357 # gives unlimited permission to copy and/or distribute it,
10358 # with or without modifications, as long as this notice is preserved.
10359
10360 # serial 4
10361
10362 # AM_SANITY_CHECK
10363 # ---------------
10364 AC_DEFUN([AM_SANITY_CHECK],
10365 [AC_MSG_CHECKING([whether build environment is sane])
10366 # Just in case
10367 sleep 1
10368 echo timestamp > conftest.file
10369 # Do `set' in a subshell so we don't clobber the current shell's
10370 # arguments. Must try -L first in case configure is actually a
10371 # symlink; some systems play weird games with the mod time of symlinks
10372 # (eg FreeBSD returns the mod time of the symlink's containing
10373 # directory).
10374 if (
10375 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
10376 if test "$[*]" = "X"; then
10377 # -L didn't work.
10378 set X `ls -t $srcdir/configure conftest.file`
10379 fi
10380 rm -f conftest.file
10381 if test "$[*]" != "X $srcdir/configure conftest.file" \
10382 && test "$[*]" != "X conftest.file $srcdir/configure"; then
10383
10384 # If neither matched, then we have a broken ls. This can happen
10385 # if, for instance, CONFIG_SHELL is bash and it inherits a
10386 # broken ls alias from the environment. This has actually
10387 # happened. Such a system could not be considered "sane".
10388 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
10389 alias in your environment])
10390 fi
10391
10392 test "$[2]" = conftest.file
10393 )
10394 then
10395 # Ok.
10396 :
10397 else
10398 AC_MSG_ERROR([newly created file is older than distributed files!
10399 Check your system clock])
10400 fi
10401 AC_MSG_RESULT(yes)])
10402
10403 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
10404 #
10405 # This file is free software; the Free Software Foundation
10406 # gives unlimited permission to copy and/or distribute it,
10407 # with or without modifications, as long as this notice is preserved.
10408
10409 # AM_PROG_INSTALL_STRIP
10410 # ---------------------
10411 # One issue with vendor `install' (even GNU) is that you can't
10412 # specify the program used to strip binaries. This is especially
10413 # annoying in cross-compiling environments, where the build's strip
10414 # is unlikely to handle the host's binaries.
10415 # Fortunately install-sh will honor a STRIPPROG variable, so we
10416 # always use install-sh in `make install-strip', and initialize
10417 # STRIPPROG with the value of the STRIP variable (set by the user).
10418 AC_DEFUN([AM_PROG_INSTALL_STRIP],
10419 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
10420 # Installed binaries are usually stripped using `strip' when the user
10421 # run `make install-strip'. However `strip' might not be the right
10422 # tool to use in cross-compilation environments, therefore Automake
10423 # will honor the `STRIP' environment variable to overrule this program.
10424 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
10425 if test "$cross_compiling" != no; then
10426 AC_CHECK_TOOL([STRIP], [strip], :)
10427 fi
10428 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
10429 AC_SUBST([INSTALL_STRIP_PROGRAM])])
10430
10431 # Check how to create a tarball. -*- Autoconf -*-
10432
10433 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
10434 #
10435 # This file is free software; the Free Software Foundation
10436 # gives unlimited permission to copy and/or distribute it,
10437 # with or without modifications, as long as this notice is preserved.
10438
10439 # serial 2
10440
10441 # _AM_PROG_TAR(FORMAT)
10442 # --------------------
10443 # Check how to create a tarball in format FORMAT.
10444 # FORMAT should be one of `v7', `ustar', or `pax'.
10445 #
10446 # Substitute a variable $(am__tar) that is a command
10447 # writing to stdout a FORMAT-tarball containing the directory
10448 # $tardir.
10449 # tardir=directory && $(am__tar) > result.tar
10450 #
10451 # Substitute a variable $(am__untar) that extract such
10452 # a tarball read from stdin.
10453 # $(am__untar) < result.tar
10454 AC_DEFUN([_AM_PROG_TAR],
10455 [# Always define AMTAR for backward compatibility.
10456 AM_MISSING_PROG([AMTAR], [tar])
10457 m4_if([$1], [v7],
10458 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
10459 [m4_case([$1], [ustar],, [pax],,
10460 [m4_fatal([Unknown tar format])])
10461 AC_MSG_CHECKING([how to create a $1 tar archive])
10462 # Loop over all known methods to create a tar archive until one works.
10463 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10464 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10465 # Do not fold the above two line into one, because Tru64 sh and
10466 # Solaris sh will not grok spaces in the rhs of `-'.
10467 for _am_tool in $_am_tools
10468 do
10469 case $_am_tool in
10470 gnutar)
10471 for _am_tar in tar gnutar gtar;
10472 do
10473 AM_RUN_LOG([$_am_tar --version]) && break
10474 done
10475 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10476 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10477 am__untar="$_am_tar -xf -"
10478 ;;
10479 plaintar)
10480 # Must skip GNU tar: if it does not support --format= it doesn't create
10481 # ustar tarball either.
10482 (tar --version) >/dev/null 2>&1 && continue
10483 am__tar='tar chf - "$$tardir"'
10484 am__tar_='tar chf - "$tardir"'
10485 am__untar='tar xf -'
10486 ;;
10487 pax)
10488 am__tar='pax -L -x $1 -w "$$tardir"'
10489 am__tar_='pax -L -x $1 -w "$tardir"'
10490 am__untar='pax -r'
10491 ;;
10492 cpio)
10493 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10494 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10495 am__untar='cpio -i -H $1 -d'
10496 ;;
10497 none)
10498 am__tar=false
10499 am__tar_=false
10500 am__untar=false
10501 ;;
10502 esac
10503
10504 # If the value was cached, stop now. We just wanted to have am__tar
10505 # and am__untar set.
10506 test -n "${am_cv_prog_tar_$1}" && break
10507
10508 # tar/untar a dummy directory, and stop if the command works
10509 rm -rf conftest.dir
10510 mkdir conftest.dir
10511 echo GrepMe > conftest.dir/file
10512 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
10513 rm -rf conftest.dir
10514 if test -s conftest.tar; then
10515 AM_RUN_LOG([$am__untar <conftest.tar])
10516 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10517 fi
10518 done
10519 rm -rf conftest.dir
10520
10521 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10522 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
10523 AC_SUBST([am__tar])
10524 AC_SUBST([am__untar])
10525 ]) # _AM_PROG_TAR
10526
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
14 @SET_MAKE@
1515 srcdir = @srcdir@
1616 top_srcdir = @top_srcdir@
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
4021 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4723 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
5329 NORMAL_INSTALL = :
5430 PRE_INSTALL = :
5531 POST_INSTALL = :
5632 NORMAL_UNINSTALL = :
5733 PRE_UNINSTALL = :
5834 POST_UNINSTALL = :
59 host_alias = @host_alias@
35 build_triplet = @build@
6036 host_triplet = @host@
37 subdir = bindings
38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
48 html-recursive info-recursive install-data-recursive \
49 install-exec-recursive install-info-recursive \
50 install-recursive installcheck-recursive installdirs-recursive \
51 pdf-recursive ps-recursive uninstall-info-recursive \
52 uninstall-recursive
53 ETAGS = etags
54 CTAGS = ctags
55 DIST_SUBDIRS = $(SUBDIRS)
56 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
57 ACLOCAL = @ACLOCAL@
58 ALLOCA = @ALLOCA@
59 AMDEP_FALSE = @AMDEP_FALSE@
60 AMDEP_TRUE = @AMDEP_TRUE@
61 AMTAR = @AMTAR@
6162 AR = @AR@
62 AS = @AS@
63 AUTOCONF = @AUTOCONF@
64 AUTOHEADER = @AUTOHEADER@
65 AUTOMAKE = @AUTOMAKE@
66 AWK = @AWK@
6367 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6468 CATOBJEXT = @CATOBJEXT@
6569 CC = @CC@
70 CCDEPMODE = @CCDEPMODE@
6671 CFLAGS = @CFLAGS@
72 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
73 CPP = @CPP@
74 CPPFLAGS = @CPPFLAGS@
6775 CXX = @CXX@
6876 CXXCPP = @CXXCPP@
77 CXXDEPMODE = @CXXDEPMODE@
78 CXXFLAGS = @CXXFLAGS@
79 CYGPATH_W = @CYGPATH_W@
6980 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
81 DEFS = @DEFS@
82 DEPDIR = @DEPDIR@
7183 ECHO = @ECHO@
84 ECHO_C = @ECHO_C@
85 ECHO_N = @ECHO_N@
86 ECHO_T = @ECHO_T@
7287 EGREP = @EGREP@
7388 EXEEXT = @EXEEXT@
7489 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
90 FFLAGS = @FFLAGS@
7791 GENCAT = @GENCAT@
7892 GLIBC2 = @GLIBC2@
7993 GLIBC21 = @GLIBC21@
8094 GMSGFMT = @GMSGFMT@
95 GMSGFMT_015 = @GMSGFMT_015@
96 GREP = @GREP@
8197 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8398 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8499 HAVE_SNPRINTF = @HAVE_SNPRINTF@
100 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85101 HAVE_WPRINTF = @HAVE_WPRINTF@
102 INSTALL_DATA = @INSTALL_DATA@
103 INSTALL_PROGRAM = @INSTALL_PROGRAM@
104 INSTALL_SCRIPT = @INSTALL_SCRIPT@
105 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86106 INSTOBJEXT = @INSTOBJEXT@
87107 INTLBISON = @INTLBISON@
88108 INTLLIBS = @INTLLIBS@
89109 INTLOBJS = @INTLOBJS@
90110 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91111 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
112 LDFLAGS = @LDFLAGS@
93113 LIBICONV = @LIBICONV@
94114 LIBINTL = @LIBINTL@
115 LIBMULTITHREAD = @LIBMULTITHREAD@
116 LIBOBJS = @LIBOBJS@
117 LIBPTH = @LIBPTH@
95118 LIBS = @LIBS@
119 LIBTHREAD = @LIBTHREAD@
96120 LIBTOOL = @LIBTOOL@
97121 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99122 LTLIBICONV = @LTLIBICONV@
100123 LTLIBINTL = @LTLIBINTL@
124 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
125 LTLIBOBJS = @LTLIBOBJS@
126 LTLIBPTH = @LTLIBPTH@
127 LTLIBTHREAD = @LTLIBTHREAD@
101128 MAINT = @MAINT@
129 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
130 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102131 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
132 MSGFMT = @MSGFMT@
133 MSGFMT_015 = @MSGFMT_015@
134 MSGMERGE = @MSGMERGE@
105135 OBJEXT = @OBJEXT@
106136 PACKAGE = @PACKAGE@
137 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
138 PACKAGE_NAME = @PACKAGE_NAME@
139 PACKAGE_STRING = @PACKAGE_STRING@
140 PACKAGE_TARNAME = @PACKAGE_TARNAME@
141 PACKAGE_VERSION = @PACKAGE_VERSION@
142 PATH_SEPARATOR = @PATH_SEPARATOR@
107143 PA_MODULES_PATH = @PA_MODULES_PATH@
108144 PA_VERSION = @PA_VERSION@
109145 PE_CFLAGS = @PE_CFLAGS@
110146 PE_MODULES_PATH = @PE_MODULES_PATH@
111147 PKG_CONFIG = @PKG_CONFIG@
112148 POSUB = @POSUB@
149 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113150 PY_CFLAGS = @PY_CFLAGS@
114151 PY_MODULES_PATH = @PY_MODULES_PATH@
115152 PY_VERSION = @PY_VERSION@
116153 RANLIB = @RANLIB@
117 RC = @RC@
154 SET_MAKE = @SET_MAKE@
155 SHELL = @SHELL@
118156 STRIP = @STRIP@
119157 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120158 USE_NLS = @USE_NLS@
121159 VERSION = @VERSION@
122160 VERSION_INFO = @VERSION_INFO@
161 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
162 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
163 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
164 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
165 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
166 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
167 WITH_PERL_FALSE = @WITH_PERL_FALSE@
168 WITH_PERL_TRUE = @WITH_PERL_TRUE@
169 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
170 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
171 WOE32DLL = @WOE32DLL@
172 XGETTEXT = @XGETTEXT@
173 XGETTEXT_015 = @XGETTEXT_015@
174 ac_ct_CC = @ac_ct_CC@
175 ac_ct_CXX = @ac_ct_CXX@
176 ac_ct_F77 = @ac_ct_F77@
177 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
178 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
179 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
180 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
181 am__include = @am__include@
182 am__leading_dot = @am__leading_dot@
183 am__quote = @am__quote@
184 am__tar = @am__tar@
185 am__untar = @am__untar@
186 bindir = @bindir@
187 build = @build@
188 build_alias = @build_alias@
189 build_cpu = @build_cpu@
190 build_os = @build_os@
191 build_vendor = @build_vendor@
192 datadir = @datadir@
193 datarootdir = @datarootdir@
194 docdir = @docdir@
195 dvidir = @dvidir@
196 exec_prefix = @exec_prefix@
123197 have_pascal = @have_pascal@
124198 have_perl = @have_perl@
125199 have_python = @have_python@
126200 have_swig = @have_swig@
127
201 host = @host@
202 host_alias = @host_alias@
203 host_cpu = @host_cpu@
204 host_os = @host_os@
205 host_vendor = @host_vendor@
206 htmldir = @htmldir@
207 includedir = @includedir@
208 infodir = @infodir@
209 install_sh = @install_sh@
210 libdir = @libdir@
211 libexecdir = @libexecdir@
212 localedir = @localedir@
213 localstatedir = @localstatedir@
214 mandir = @mandir@
215 mkdir_p = @mkdir_p@
216 oldincludedir = @oldincludedir@
217 pdfdir = @pdfdir@
218 prefix = @prefix@
219 program_transform_name = @program_transform_name@
220 psdir = @psdir@
221 sbindir = @sbindir@
222 sharedstatedir = @sharedstatedir@
223 sysconfdir = @sysconfdir@
224 target_alias = @target_alias@
128225 SUBDIRS = python perl pascal
129 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
130 CONFIG_CLEAN_FILES =
131 DIST_COMMON = Makefile.am Makefile.in
132
133
134 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135
136 TAR = tar
137 GZIP_ENV = --best
138 all: all-redirect
226 all: all-recursive
227
139228 .SUFFIXES:
140 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
141 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/Makefile
142
143 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
144 cd $(top_builddir) \
145 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146
229 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
230 @for dep in $?; do \
231 case '$(am__configure_deps)' in \
232 *$$dep*) \
233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
234 && exit 0; \
235 exit 1;; \
236 esac; \
237 done; \
238 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/Makefile'; \
239 cd $(top_srcdir) && \
240 $(AUTOMAKE) --gnu bindings/Makefile
241 .PRECIOUS: Makefile
242 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
243 @case '$?' in \
244 *config.status*) \
245 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
246 *) \
247 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
248 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
249 esac;
250
251 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
252 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
253
254 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
255 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
256 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
257 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
258
259 mostlyclean-libtool:
260 -rm -f *.lo
261
262 clean-libtool:
263 -rm -rf .libs _libs
264
265 distclean-libtool:
266 -rm -f libtool
267 uninstall-info-am:
147268
148269 # This directory's subdirectories are mostly independent; you can cd
149270 # into them and run `make' without going through this Makefile.
151272 # (1) if the variable is set in `config.status', edit `config.status'
152273 # (which will cause the Makefiles to be regenerated when you run `make');
153274 # (2) otherwise, pass the desired values on the `make' command line.
154
155 @SET_MAKE@
156
157 all-recursive install-data-recursive install-exec-recursive \
158 installdirs-recursive install-recursive uninstall-recursive \
159 check-recursive installcheck-recursive info-recursive dvi-recursive:
160 @set fnord $(MAKEFLAGS); amf=$$2; \
275 $(RECURSIVE_TARGETS):
276 @failcom='exit 1'; \
277 for f in x $$MAKEFLAGS; do \
278 case $$f in \
279 *=* | --[!k]*);; \
280 *k*) failcom='fail=yes';; \
281 esac; \
282 done; \
161283 dot_seen=no; \
162284 target=`echo $@ | sed s/-recursive//`; \
163285 list='$(SUBDIRS)'; for subdir in $$list; do \
169291 local_target="$$target"; \
170292 fi; \
171293 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
294 || eval $$failcom; \
173295 done; \
174296 if test "$$dot_seen" = "no"; then \
175297 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
177299
178300 mostlyclean-recursive clean-recursive distclean-recursive \
179301 maintainer-clean-recursive:
180 @set fnord $(MAKEFLAGS); amf=$$2; \
302 @failcom='exit 1'; \
303 for f in x $$MAKEFLAGS; do \
304 case $$f in \
305 *=* | --[!k]*);; \
306 *k*) failcom='fail=yes';; \
307 esac; \
308 done; \
181309 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
310 case "$@" in \
311 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
312 *) list='$(SUBDIRS)' ;; \
313 esac; \
314 rev=''; for subdir in $$list; do \
315 if test "$$subdir" = "."; then :; else \
316 rev="$$subdir $$rev"; \
317 fi; \
185318 done; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
319 rev="$$rev ."; \
187320 target=`echo $@ | sed s/-recursive//`; \
188321 for subdir in $$rev; do \
189322 echo "Making $$target in $$subdir"; \
193326 local_target="$$target"; \
194327 fi; \
195328 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
329 || eval $$failcom; \
197330 done && test -z "$$fail"
198331 tags-recursive:
199332 list='$(SUBDIRS)'; for subdir in $$list; do \
200333 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
201334 done
202
335 ctags-recursive:
336 list='$(SUBDIRS)'; for subdir in $$list; do \
337 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
338 done
339
340 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
341 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
342 unique=`for i in $$list; do \
343 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
344 done | \
345 $(AWK) ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 mkid -fID $$unique
203348 tags: TAGS
204349
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
209 END { for (i in files) print i; }'`; \
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
350 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
351 $(TAGS_FILES) $(LISP)
214352 tags=; \
215353 here=`pwd`; \
354 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
355 include_option=--etags-include; \
356 empty_fix=.; \
357 else \
358 include_option=--include; \
359 empty_fix=; \
360 fi; \
216361 list='$(SUBDIRS)'; for subdir in $$list; do \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
362 if test "$$subdir" = .; then :; else \
363 test ! -f $$subdir/TAGS || \
364 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
365 fi; \
220366 done; \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
367 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
368 unique=`for i in $$list; do \
369 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
370 done | \
371 $(AWK) ' { files[$$0] = 1; } \
224372 END { for (i in files) print i; }'`; \
225 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
226 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
227
228 mostlyclean-tags:
229
230 clean-tags:
373 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
374 test -n "$$unique" || unique=$$empty_fix; \
375 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
376 $$tags $$unique; \
377 fi
378 ctags: CTAGS
379 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
380 $(TAGS_FILES) $(LISP)
381 tags=; \
382 here=`pwd`; \
383 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
384 unique=`for i in $$list; do \
385 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
386 done | \
387 $(AWK) ' { files[$$0] = 1; } \
388 END { for (i in files) print i; }'`; \
389 test -z "$(CTAGS_ARGS)$$tags$$unique" \
390 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
391 $$tags $$unique
392
393 GTAGS:
394 here=`$(am__cd) $(top_builddir) && pwd` \
395 && cd $(top_srcdir) \
396 && gtags -i $(GTAGS_ARGS) $$here
231397
232398 distclean-tags:
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = bindings
399 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
240400
241401 distdir: $(DISTFILES)
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
402 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
403 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
404 list='$(DISTFILES)'; for file in $$list; do \
405 case $$file in \
406 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
407 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
408 esac; \
409 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
410 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
411 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
412 dir="/$$dir"; \
413 $(mkdir_p) "$(distdir)$$dir"; \
414 else \
415 dir=''; \
416 fi; \
244417 if test -d $$d/$$file; then \
245 cp -pr $$d/$$file $(distdir)/$$file; \
418 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
419 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
420 fi; \
421 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
246422 else \
247423 test -f $(distdir)/$$file \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
424 || cp -p $$d/$$file $(distdir)/$$file \
425 || exit 1; \
250426 fi; \
251427 done
252 for subdir in $(SUBDIRS); do \
428 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
253429 if test "$$subdir" = .; then :; else \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
430 test -d "$(distdir)/$$subdir" \
431 || $(mkdir_p) "$(distdir)/$$subdir" \
256432 || exit 1; \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
433 distdir=`$(am__cd) $(distdir) && pwd`; \
434 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
435 (cd $$subdir && \
436 $(MAKE) $(AM_MAKEFLAGS) \
437 top_distdir="$$top_distdir" \
438 distdir="$$distdir/$$subdir" \
439 distdir) \
259440 || exit 1; \
260441 fi; \
261442 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
266443 check-am: all-am
267444 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
445 all-am: Makefile
446 installdirs: installdirs-recursive
447 installdirs-am:
448 install: install-recursive
271449 install-exec: install-exec-recursive
272
273 install-data-am:
274450 install-data: install-data-recursive
451 uninstall: uninstall-recursive
275452
276453 install-am: all-am
277454 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
281 all-am: Makefile
282 all-redirect: all-recursive
455
456 installcheck: installcheck-recursive
283457 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285 installdirs: installdirs-recursive
286 installdirs-am:
287
288
458 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
459 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
460 `test -z '$(STRIP)' || \
461 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
289462 mostlyclean-generic:
290463
291464 clean-generic:
292465
293466 distclean-generic:
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
467 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
296468
297469 maintainer-clean-generic:
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
470 @echo "This command is intended for maintainers to use"
471 @echo "it deletes files that may require special tools to rebuild."
472 clean: clean-recursive
473
474 clean-am: clean-generic clean-libtool mostlyclean-am
475
476 distclean: distclean-recursive
477 -rm -f Makefile
478 distclean-am: clean-am distclean-generic distclean-libtool \
479 distclean-tags
480
481 dvi: dvi-recursive
482
483 dvi-am:
484
485 html: html-recursive
486
487 info: info-recursive
488
489 info-am:
490
491 install-data-am:
492
493 install-exec-am:
494
495 install-info: install-info-recursive
496
497 install-man:
498
499 installcheck-am:
500
501 maintainer-clean: maintainer-clean-recursive
502 -rm -f Makefile
503 maintainer-clean-am: distclean-am maintainer-clean-generic
299504
300505 mostlyclean: mostlyclean-recursive
301506
302 clean-am: clean-tags clean-generic mostlyclean-am
303
304 clean: clean-recursive
305
306 distclean-am: distclean-tags distclean-generic clean-am
307 -rm -f libtool
308
309 distclean: distclean-recursive
310
311 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
312 distclean-am
313 @echo "This command is intended for maintainers to use;"
314 @echo "it deletes files that may require special tools to rebuild."
315
316 maintainer-clean: maintainer-clean-recursive
317
318 .PHONY: install-data-recursive uninstall-data-recursive \
319 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
320 uninstalldirs-recursive all-recursive check-recursive \
321 installcheck-recursive info-recursive dvi-recursive \
322 mostlyclean-recursive distclean-recursive clean-recursive \
323 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
324 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
325 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
326 install-exec install-data-am install-data install-am install \
327 uninstall-am uninstall all-redirect all-am all installdirs-am \
328 installdirs mostlyclean-generic distclean-generic clean-generic \
329 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
330
507 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
508
509 pdf: pdf-recursive
510
511 pdf-am:
512
513 ps: ps-recursive
514
515 ps-am:
516
517 uninstall-am: uninstall-info-am
518
519 uninstall-info: uninstall-info-recursive
520
521 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
522 clean clean-generic clean-libtool clean-recursive ctags \
523 ctags-recursive distclean distclean-generic distclean-libtool \
524 distclean-recursive distclean-tags distdir dvi dvi-am html \
525 html-am info info-am install install-am install-data \
526 install-data-am install-exec install-exec-am install-info \
527 install-info-am install-man install-strip installcheck \
528 installcheck-am installdirs installdirs-am maintainer-clean \
529 maintainer-clean-generic maintainer-clean-recursive \
530 mostlyclean mostlyclean-generic mostlyclean-libtool \
531 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
532 uninstall uninstall-am uninstall-info-am
331533
332534 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333535 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
14 @SET_MAKE@
1515 srcdir = @srcdir@
1616 top_srcdir = @top_srcdir@
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
4021 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4723 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
5329 NORMAL_INSTALL = :
5430 PRE_INSTALL = :
5531 POST_INSTALL = :
5632 NORMAL_UNINSTALL = :
5733 PRE_UNINSTALL = :
5834 POST_UNINSTALL = :
59 host_alias = @host_alias@
35 build_triplet = @build@
6036 host_triplet = @host@
37 subdir = bindings/pascal
38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48 ACLOCAL = @ACLOCAL@
49 ALLOCA = @ALLOCA@
50 AMDEP_FALSE = @AMDEP_FALSE@
51 AMDEP_TRUE = @AMDEP_TRUE@
52 AMTAR = @AMTAR@
6153 AR = @AR@
62 AS = @AS@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
6358 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6459 CATOBJEXT = @CATOBJEXT@
6560 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6662 CFLAGS = @CFLAGS@
63 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
64 CPP = @CPP@
65 CPPFLAGS = @CPPFLAGS@
6766 CXX = @CXX@
6867 CXXCPP = @CXXCPP@
68 CXXDEPMODE = @CXXDEPMODE@
69 CXXFLAGS = @CXXFLAGS@
70 CYGPATH_W = @CYGPATH_W@
6971 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
72 DEFS = @DEFS@
73 DEPDIR = @DEPDIR@
7174 ECHO = @ECHO@
75 ECHO_C = @ECHO_C@
76 ECHO_N = @ECHO_N@
77 ECHO_T = @ECHO_T@
7278 EGREP = @EGREP@
7379 EXEEXT = @EXEEXT@
7480 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
81 FFLAGS = @FFLAGS@
7782 GENCAT = @GENCAT@
7883 GLIBC2 = @GLIBC2@
7984 GLIBC21 = @GLIBC21@
8085 GMSGFMT = @GMSGFMT@
86 GMSGFMT_015 = @GMSGFMT_015@
87 GREP = @GREP@
8188 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8389 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8490 HAVE_SNPRINTF = @HAVE_SNPRINTF@
91 HAVE_VISIBILITY = @HAVE_VISIBILITY@
8592 HAVE_WPRINTF = @HAVE_WPRINTF@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8697 INSTOBJEXT = @INSTOBJEXT@
8798 INTLBISON = @INTLBISON@
8899 INTLLIBS = @INTLLIBS@
89100 INTLOBJS = @INTLOBJS@
90101 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91102 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
103 LDFLAGS = @LDFLAGS@
93104 LIBICONV = @LIBICONV@
94105 LIBINTL = @LIBINTL@
106 LIBMULTITHREAD = @LIBMULTITHREAD@
107 LIBOBJS = @LIBOBJS@
108 LIBPTH = @LIBPTH@
95109 LIBS = @LIBS@
110 LIBTHREAD = @LIBTHREAD@
96111 LIBTOOL = @LIBTOOL@
97112 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99113 LTLIBICONV = @LTLIBICONV@
100114 LTLIBINTL = @LTLIBINTL@
115 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
116 LTLIBOBJS = @LTLIBOBJS@
117 LTLIBPTH = @LTLIBPTH@
118 LTLIBTHREAD = @LTLIBTHREAD@
101119 MAINT = @MAINT@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102122 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
123 MSGFMT = @MSGFMT@
124 MSGFMT_015 = @MSGFMT_015@
125 MSGMERGE = @MSGMERGE@
105126 OBJEXT = @OBJEXT@
106127 PACKAGE = @PACKAGE@
128 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
129 PACKAGE_NAME = @PACKAGE_NAME@
130 PACKAGE_STRING = @PACKAGE_STRING@
131 PACKAGE_TARNAME = @PACKAGE_TARNAME@
132 PACKAGE_VERSION = @PACKAGE_VERSION@
133 PATH_SEPARATOR = @PATH_SEPARATOR@
107134 PA_MODULES_PATH = @PA_MODULES_PATH@
108135 PA_VERSION = @PA_VERSION@
109136 PE_CFLAGS = @PE_CFLAGS@
110137 PE_MODULES_PATH = @PE_MODULES_PATH@
111138 PKG_CONFIG = @PKG_CONFIG@
112139 POSUB = @POSUB@
140 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113141 PY_CFLAGS = @PY_CFLAGS@
114142 PY_MODULES_PATH = @PY_MODULES_PATH@
115143 PY_VERSION = @PY_VERSION@
116144 RANLIB = @RANLIB@
117 RC = @RC@
145 SET_MAKE = @SET_MAKE@
146 SHELL = @SHELL@
118147 STRIP = @STRIP@
119148 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120149 USE_NLS = @USE_NLS@
121150 VERSION = @VERSION@
122151 VERSION_INFO = @VERSION_INFO@
152 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
153 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
154 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
155 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
156 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
157 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
158 WITH_PERL_FALSE = @WITH_PERL_FALSE@
159 WITH_PERL_TRUE = @WITH_PERL_TRUE@
160 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
161 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
162 WOE32DLL = @WOE32DLL@
163 XGETTEXT = @XGETTEXT@
164 XGETTEXT_015 = @XGETTEXT_015@
165 ac_ct_CC = @ac_ct_CC@
166 ac_ct_CXX = @ac_ct_CXX@
167 ac_ct_F77 = @ac_ct_F77@
168 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
169 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
170 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
171 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
172 am__include = @am__include@
173 am__leading_dot = @am__leading_dot@
174 am__quote = @am__quote@
175 am__tar = @am__tar@
176 am__untar = @am__untar@
177 bindir = @bindir@
178 build = @build@
179 build_alias = @build_alias@
180 build_cpu = @build_cpu@
181 build_os = @build_os@
182 build_vendor = @build_vendor@
183 datadir = @datadir@
184 datarootdir = @datarootdir@
185 docdir = @docdir@
186 dvidir = @dvidir@
187 exec_prefix = @exec_prefix@
123188 have_pascal = @have_pascal@
124189 have_perl = @have_perl@
125190 have_python = @have_python@
126191 have_swig = @have_swig@
127
192 host = @host@
193 host_alias = @host_alias@
194 host_cpu = @host_cpu@
195 host_os = @host_os@
196 host_vendor = @host_vendor@
197 htmldir = @htmldir@
198 includedir = @includedir@
199 infodir = @infodir@
200 install_sh = @install_sh@
201 libdir = @libdir@
202 libexecdir = @libexecdir@
203 localedir = @localedir@
204 localstatedir = @localstatedir@
205 mandir = @mandir@
206 mkdir_p = @mkdir_p@
207 oldincludedir = @oldincludedir@
208 pdfdir = @pdfdir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 psdir = @psdir@
212 sbindir = @sbindir@
213 sharedstatedir = @sharedstatedir@
214 sysconfdir = @sysconfdir@
215 target_alias = @target_alias@
128216 EXTRA_DIST = Package.fpc hdate.pp hdate_class.pp fpc_README changelog
129
130217 @WITH_PASCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132218 @WITH_PASCAL_TRUE@CLEANFILES = *.o *.ppu
133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
219 all: all-am
220
143221 .SUFFIXES:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/pascal/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
222 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
223 @for dep in $?; do \
224 case '$(am__configure_deps)' in \
225 *$$dep*) \
226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
227 && exit 0; \
228 exit 1;; \
229 esac; \
230 done; \
231 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/pascal/Makefile'; \
232 cd $(top_srcdir) && \
233 $(AUTOMAKE) --gnu bindings/pascal/Makefile
234 .PRECIOUS: Makefile
235 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
236 @case '$?' in \
237 *config.status*) \
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
239 *) \
240 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
241 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
242 esac;
243
244 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
245 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
246
247 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
248 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
249 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
252 mostlyclean-libtool:
253 -rm -f *.lo
254
255 clean-libtool:
256 -rm -rf .libs _libs
257
258 distclean-libtool:
259 -rm -f libtool
260 uninstall-info-am:
151261 tags: TAGS
152262 TAGS:
153263
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/pascal
264 ctags: CTAGS
265 CTAGS:
266
158267
159268 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
269 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
270 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
271 list='$(DISTFILES)'; for file in $$list; do \
272 case $$file in \
273 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
274 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
275 esac; \
276 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
277 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
278 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
279 dir="/$$dir"; \
280 $(mkdir_p) "$(distdir)$$dir"; \
281 else \
282 dir=''; \
283 fi; \
162284 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
285 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
286 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
287 fi; \
288 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164289 else \
165290 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
291 || cp -p $$d/$$file $(distdir)/$$file \
292 || exit 1; \
168293 fi; \
169294 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174295 check-am: all-am
175296 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
297 all-am: Makefile
298 installdirs:
299 install: install-am
179300 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182301 install-data: install-data-am
302 uninstall: uninstall-am
183303
184304 install-am: all-am
185305 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
306
307 installcheck: installcheck-am
191308 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
309 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
310 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
311 `test -z '$(STRIP)' || \
312 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196313 mostlyclean-generic:
197314
198315 clean-generic:
199316 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200317
201318 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
319 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204320
205321 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
322 @echo "This command is intended for maintainers to use"
323 @echo "it deletes files that may require special tools to rebuild."
324 @WITH_PASCAL_FALSE@install-data-local:
325 clean: clean-am
326
327 clean-am: clean-generic clean-libtool mostlyclean-am
328
329 distclean: distclean-am
330 -rm -f Makefile
331 distclean-am: clean-am distclean-generic distclean-libtool
332
333 dvi: dvi-am
334
335 dvi-am:
336
337 html: html-am
338
339 info: info-am
340
341 info-am:
342
343 install-data-am: install-data-local
344
345 install-exec-am:
346
347 install-info: install-info-am
348
349 install-man:
350
351 installcheck-am:
352
353 maintainer-clean: maintainer-clean-am
354 -rm -f Makefile
355 maintainer-clean-am: distclean-am maintainer-clean-generic
207356
208357 mostlyclean: mostlyclean-am
209358
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
221 @echo "it deletes files that may require special tools to rebuild."
222
223 maintainer-clean: maintainer-clean-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
359 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
360
361 pdf: pdf-am
362
363 pdf-am:
364
365 ps: ps-am
366
367 ps-am:
368
369 uninstall-am: uninstall-info-am
370
371 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
372 distclean distclean-generic distclean-libtool distdir dvi \
373 dvi-am html html-am info info-am install install-am \
374 install-data install-data-am install-data-local install-exec \
375 install-exec-am install-info install-info-am install-man \
376 install-strip installcheck installcheck-am installdirs \
377 maintainer-clean maintainer-clean-generic mostlyclean \
378 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
379 uninstall uninstall-am uninstall-info-am
231380
232381
233382 @WITH_PASCAL_TRUE@all-am: hdate.o hdate_class.o
246395 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) hdate_class.ppu $(DESTDIR)$(PA_MODULES_PATH)/hdate/hdate_class.ppu
247396 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) fpc_README $(DESTDIR)$(PA_MODULES_PATH)/hdate/fpc_README
248397 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) Package.fpc $(DESTDIR)$(PA_MODULES_PATH)/hdate/Package.fpc
249
250398 # Tell versions [3.59,3.63) of GNU make to not export all variables.
251399 # Otherwise a system limit (for SysV at least) may be exceeded.
252400 .NOEXPORT:
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
14 @SET_MAKE@
1515 srcdir = @srcdir@
1616 top_srcdir = @top_srcdir@
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
4021 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4723 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
5329 NORMAL_INSTALL = :
5430 PRE_INSTALL = :
5531 POST_INSTALL = :
5632 NORMAL_UNINSTALL = :
5733 PRE_UNINSTALL = :
5834 POST_UNINSTALL = :
59 host_alias = @host_alias@
35 build_triplet = @build@
6036 host_triplet = @host@
37 subdir = bindings/perl
38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48 ACLOCAL = @ACLOCAL@
49 ALLOCA = @ALLOCA@
50 AMDEP_FALSE = @AMDEP_FALSE@
51 AMDEP_TRUE = @AMDEP_TRUE@
52 AMTAR = @AMTAR@
6153 AR = @AR@
62 AS = @AS@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
6358 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6459 CATOBJEXT = @CATOBJEXT@
6560 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6662 CFLAGS = @CFLAGS@
63 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
64 CPP = @CPP@
65 CPPFLAGS = @CPPFLAGS@
6766 CXX = @CXX@
6867 CXXCPP = @CXXCPP@
68 CXXDEPMODE = @CXXDEPMODE@
69 CXXFLAGS = @CXXFLAGS@
70 CYGPATH_W = @CYGPATH_W@
6971 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
72 DEFS = @DEFS@
73 DEPDIR = @DEPDIR@
7174 ECHO = @ECHO@
75 ECHO_C = @ECHO_C@
76 ECHO_N = @ECHO_N@
77 ECHO_T = @ECHO_T@
7278 EGREP = @EGREP@
7379 EXEEXT = @EXEEXT@
7480 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
81 FFLAGS = @FFLAGS@
7782 GENCAT = @GENCAT@
7883 GLIBC2 = @GLIBC2@
7984 GLIBC21 = @GLIBC21@
8085 GMSGFMT = @GMSGFMT@
86 GMSGFMT_015 = @GMSGFMT_015@
87 GREP = @GREP@
8188 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8389 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8490 HAVE_SNPRINTF = @HAVE_SNPRINTF@
91 HAVE_VISIBILITY = @HAVE_VISIBILITY@
8592 HAVE_WPRINTF = @HAVE_WPRINTF@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8697 INSTOBJEXT = @INSTOBJEXT@
8798 INTLBISON = @INTLBISON@
8899 INTLLIBS = @INTLLIBS@
89100 INTLOBJS = @INTLOBJS@
90101 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91102 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
103 LDFLAGS = @LDFLAGS@
93104 LIBICONV = @LIBICONV@
94105 LIBINTL = @LIBINTL@
106 LIBMULTITHREAD = @LIBMULTITHREAD@
107 LIBOBJS = @LIBOBJS@
108 LIBPTH = @LIBPTH@
95109 LIBS = @LIBS@
110 LIBTHREAD = @LIBTHREAD@
96111 LIBTOOL = @LIBTOOL@
97112 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99113 LTLIBICONV = @LTLIBICONV@
100114 LTLIBINTL = @LTLIBINTL@
115 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
116 LTLIBOBJS = @LTLIBOBJS@
117 LTLIBPTH = @LTLIBPTH@
118 LTLIBTHREAD = @LTLIBTHREAD@
101119 MAINT = @MAINT@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102122 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
123 MSGFMT = @MSGFMT@
124 MSGFMT_015 = @MSGFMT_015@
125 MSGMERGE = @MSGMERGE@
105126 OBJEXT = @OBJEXT@
106127 PACKAGE = @PACKAGE@
128 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
129 PACKAGE_NAME = @PACKAGE_NAME@
130 PACKAGE_STRING = @PACKAGE_STRING@
131 PACKAGE_TARNAME = @PACKAGE_TARNAME@
132 PACKAGE_VERSION = @PACKAGE_VERSION@
133 PATH_SEPARATOR = @PATH_SEPARATOR@
107134 PA_MODULES_PATH = @PA_MODULES_PATH@
108135 PA_VERSION = @PA_VERSION@
109136 PE_CFLAGS = @PE_CFLAGS@
110137 PE_MODULES_PATH = @PE_MODULES_PATH@
111138 PKG_CONFIG = @PKG_CONFIG@
112139 POSUB = @POSUB@
140 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113141 PY_CFLAGS = @PY_CFLAGS@
114142 PY_MODULES_PATH = @PY_MODULES_PATH@
115143 PY_VERSION = @PY_VERSION@
116144 RANLIB = @RANLIB@
117 RC = @RC@
145 SET_MAKE = @SET_MAKE@
146 SHELL = @SHELL@
118147 STRIP = @STRIP@
119148 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120149 USE_NLS = @USE_NLS@
121150 VERSION = @VERSION@
122151 VERSION_INFO = @VERSION_INFO@
152 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
153 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
154 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
155 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
156 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
157 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
158 WITH_PERL_FALSE = @WITH_PERL_FALSE@
159 WITH_PERL_TRUE = @WITH_PERL_TRUE@
160 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
161 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
162 WOE32DLL = @WOE32DLL@
163 XGETTEXT = @XGETTEXT@
164 XGETTEXT_015 = @XGETTEXT_015@
165 ac_ct_CC = @ac_ct_CC@
166 ac_ct_CXX = @ac_ct_CXX@
167 ac_ct_F77 = @ac_ct_F77@
168 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
169 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
170 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
171 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
172 am__include = @am__include@
173 am__leading_dot = @am__leading_dot@
174 am__quote = @am__quote@
175 am__tar = @am__tar@
176 am__untar = @am__untar@
177 bindir = @bindir@
178 build = @build@
179 build_alias = @build_alias@
180 build_cpu = @build_cpu@
181 build_os = @build_os@
182 build_vendor = @build_vendor@
183 datadir = @datadir@
184 datarootdir = @datarootdir@
185 docdir = @docdir@
186 dvidir = @dvidir@
187 exec_prefix = @exec_prefix@
123188 have_pascal = @have_pascal@
124189 have_perl = @have_perl@
125190 have_python = @have_python@
126191 have_swig = @have_swig@
127
192 host = @host@
193 host_alias = @host_alias@
194 host_cpu = @host_cpu@
195 host_os = @host_os@
196 host_vendor = @host_vendor@
197 htmldir = @htmldir@
198 includedir = @includedir@
199 infodir = @infodir@
200 install_sh = @install_sh@
201 libdir = @libdir@
202 libexecdir = @libexecdir@
203 localedir = @localedir@
204 localstatedir = @localstatedir@
205 mandir = @mandir@
206 mkdir_p = @mkdir_p@
207 oldincludedir = @oldincludedir@
208 pdfdir = @pdfdir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 psdir = @psdir@
212 sbindir = @sbindir@
213 sharedstatedir = @sharedstatedir@
214 sysconfdir = @sysconfdir@
215 target_alias = @target_alias@
128216 EXTRA_DIST = hdate.i
129
130217 @WITH_PERL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132218 @WITH_PERL_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.pm
133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
219 all: all-am
220
143221 .SUFFIXES:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/perl/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
222 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
223 @for dep in $?; do \
224 case '$(am__configure_deps)' in \
225 *$$dep*) \
226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
227 && exit 0; \
228 exit 1;; \
229 esac; \
230 done; \
231 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/perl/Makefile'; \
232 cd $(top_srcdir) && \
233 $(AUTOMAKE) --gnu bindings/perl/Makefile
234 .PRECIOUS: Makefile
235 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
236 @case '$?' in \
237 *config.status*) \
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
239 *) \
240 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
241 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
242 esac;
243
244 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
245 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
246
247 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
248 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
249 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
252 mostlyclean-libtool:
253 -rm -f *.lo
254
255 clean-libtool:
256 -rm -rf .libs _libs
257
258 distclean-libtool:
259 -rm -f libtool
260 uninstall-info-am:
151261 tags: TAGS
152262 TAGS:
153263
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/perl
264 ctags: CTAGS
265 CTAGS:
266
158267
159268 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
269 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
270 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
271 list='$(DISTFILES)'; for file in $$list; do \
272 case $$file in \
273 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
274 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
275 esac; \
276 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
277 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
278 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
279 dir="/$$dir"; \
280 $(mkdir_p) "$(distdir)$$dir"; \
281 else \
282 dir=''; \
283 fi; \
162284 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
285 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
286 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
287 fi; \
288 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164289 else \
165290 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
291 || cp -p $$d/$$file $(distdir)/$$file \
292 || exit 1; \
168293 fi; \
169294 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174295 check-am: all-am
175296 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
297 all-am: Makefile
298 installdirs:
299 install: install-am
179300 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182301 install-data: install-data-am
302 uninstall: uninstall-am
183303
184304 install-am: all-am
185305 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
306
307 installcheck: installcheck-am
191308 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
309 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
310 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
311 `test -z '$(STRIP)' || \
312 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196313 mostlyclean-generic:
197314
198315 clean-generic:
199316 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200317
201318 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
319 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204320
205321 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
322 @echo "This command is intended for maintainers to use"
323 @echo "it deletes files that may require special tools to rebuild."
324 @WITH_PERL_FALSE@install-data-local:
325 clean: clean-am
326
327 clean-am: clean-generic clean-libtool mostlyclean-am
328
329 distclean: distclean-am
330 -rm -f Makefile
331 distclean-am: clean-am distclean-generic distclean-libtool
332
333 dvi: dvi-am
334
335 dvi-am:
336
337 html: html-am
338
339 info: info-am
340
341 info-am:
342
343 install-data-am: install-data-local
344
345 install-exec-am:
346
347 install-info: install-info-am
348
349 install-man:
350
351 installcheck-am:
352
353 maintainer-clean: maintainer-clean-am
354 -rm -f Makefile
355 maintainer-clean-am: distclean-am maintainer-clean-generic
207356
208357 mostlyclean: mostlyclean-am
209358
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
221 @echo "it deletes files that may require special tools to rebuild."
222
223 maintainer-clean: maintainer-clean-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
359 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
360
361 pdf: pdf-am
362
363 pdf-am:
364
365 ps: ps-am
366
367 ps-am:
368
369 uninstall-am: uninstall-info-am
370
371 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
372 distclean distclean-generic distclean-libtool distdir dvi \
373 dvi-am html html-am info info-am install install-am \
374 install-data install-data-am install-data-local install-exec \
375 install-exec-am install-info install-info-am install-man \
376 install-strip installcheck installcheck-am installdirs \
377 maintainer-clean maintainer-clean-generic mostlyclean \
378 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
379 uninstall uninstall-am uninstall-info-am
231380
232381
233382 @WITH_PERL_TRUE@all-am: hdate.so
243392 @WITH_PERL_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/
244393 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.so $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/hdate.so
245394 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.pm $(DESTDIR)$(PE_MODULES_PATH)/hdate.pm
246
247395 # Tell versions [3.59,3.63) of GNU make to not export all variables.
248396 # Otherwise a system limit (for SysV at least) may be exceeded.
249397 .NOEXPORT:
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
14 @SET_MAKE@
1515 srcdir = @srcdir@
1616 top_srcdir = @top_srcdir@
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
4021 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4723 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
5329 NORMAL_INSTALL = :
5430 PRE_INSTALL = :
5531 POST_INSTALL = :
5632 NORMAL_UNINSTALL = :
5733 PRE_UNINSTALL = :
5834 POST_UNINSTALL = :
59 host_alias = @host_alias@
35 build_triplet = @build@
6036 host_triplet = @host@
37 subdir = bindings/python
38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48 ACLOCAL = @ACLOCAL@
49 ALLOCA = @ALLOCA@
50 AMDEP_FALSE = @AMDEP_FALSE@
51 AMDEP_TRUE = @AMDEP_TRUE@
52 AMTAR = @AMTAR@
6153 AR = @AR@
62 AS = @AS@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
6358 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6459 CATOBJEXT = @CATOBJEXT@
6560 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6662 CFLAGS = @CFLAGS@
63 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
64 CPP = @CPP@
65 CPPFLAGS = @CPPFLAGS@
6766 CXX = @CXX@
6867 CXXCPP = @CXXCPP@
68 CXXDEPMODE = @CXXDEPMODE@
69 CXXFLAGS = @CXXFLAGS@
70 CYGPATH_W = @CYGPATH_W@
6971 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
72 DEFS = @DEFS@
73 DEPDIR = @DEPDIR@
7174 ECHO = @ECHO@
75 ECHO_C = @ECHO_C@
76 ECHO_N = @ECHO_N@
77 ECHO_T = @ECHO_T@
7278 EGREP = @EGREP@
7379 EXEEXT = @EXEEXT@
7480 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
81 FFLAGS = @FFLAGS@
7782 GENCAT = @GENCAT@
7883 GLIBC2 = @GLIBC2@
7984 GLIBC21 = @GLIBC21@
8085 GMSGFMT = @GMSGFMT@
86 GMSGFMT_015 = @GMSGFMT_015@
87 GREP = @GREP@
8188 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8389 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8490 HAVE_SNPRINTF = @HAVE_SNPRINTF@
91 HAVE_VISIBILITY = @HAVE_VISIBILITY@
8592 HAVE_WPRINTF = @HAVE_WPRINTF@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8697 INSTOBJEXT = @INSTOBJEXT@
8798 INTLBISON = @INTLBISON@
8899 INTLLIBS = @INTLLIBS@
89100 INTLOBJS = @INTLOBJS@
90101 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91102 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
103 LDFLAGS = @LDFLAGS@
93104 LIBICONV = @LIBICONV@
94105 LIBINTL = @LIBINTL@
106 LIBMULTITHREAD = @LIBMULTITHREAD@
107 LIBOBJS = @LIBOBJS@
108 LIBPTH = @LIBPTH@
95109 LIBS = @LIBS@
110 LIBTHREAD = @LIBTHREAD@
96111 LIBTOOL = @LIBTOOL@
97112 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99113 LTLIBICONV = @LTLIBICONV@
100114 LTLIBINTL = @LTLIBINTL@
115 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
116 LTLIBOBJS = @LTLIBOBJS@
117 LTLIBPTH = @LTLIBPTH@
118 LTLIBTHREAD = @LTLIBTHREAD@
101119 MAINT = @MAINT@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102122 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
123 MSGFMT = @MSGFMT@
124 MSGFMT_015 = @MSGFMT_015@
125 MSGMERGE = @MSGMERGE@
105126 OBJEXT = @OBJEXT@
106127 PACKAGE = @PACKAGE@
128 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
129 PACKAGE_NAME = @PACKAGE_NAME@
130 PACKAGE_STRING = @PACKAGE_STRING@
131 PACKAGE_TARNAME = @PACKAGE_TARNAME@
132 PACKAGE_VERSION = @PACKAGE_VERSION@
133 PATH_SEPARATOR = @PATH_SEPARATOR@
107134 PA_MODULES_PATH = @PA_MODULES_PATH@
108135 PA_VERSION = @PA_VERSION@
109136 PE_CFLAGS = @PE_CFLAGS@
110137 PE_MODULES_PATH = @PE_MODULES_PATH@
111138 PKG_CONFIG = @PKG_CONFIG@
112139 POSUB = @POSUB@
140 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113141 PY_CFLAGS = @PY_CFLAGS@
114142 PY_MODULES_PATH = @PY_MODULES_PATH@
115143 PY_VERSION = @PY_VERSION@
116144 RANLIB = @RANLIB@
117 RC = @RC@
145 SET_MAKE = @SET_MAKE@
146 SHELL = @SHELL@
118147 STRIP = @STRIP@
119148 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120149 USE_NLS = @USE_NLS@
121150 VERSION = @VERSION@
122151 VERSION_INFO = @VERSION_INFO@
152 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
153 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
154 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
155 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
156 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
157 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
158 WITH_PERL_FALSE = @WITH_PERL_FALSE@
159 WITH_PERL_TRUE = @WITH_PERL_TRUE@
160 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
161 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
162 WOE32DLL = @WOE32DLL@
163 XGETTEXT = @XGETTEXT@
164 XGETTEXT_015 = @XGETTEXT_015@
165 ac_ct_CC = @ac_ct_CC@
166 ac_ct_CXX = @ac_ct_CXX@
167 ac_ct_F77 = @ac_ct_F77@
168 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
169 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
170 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
171 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
172 am__include = @am__include@
173 am__leading_dot = @am__leading_dot@
174 am__quote = @am__quote@
175 am__tar = @am__tar@
176 am__untar = @am__untar@
177 bindir = @bindir@
178 build = @build@
179 build_alias = @build_alias@
180 build_cpu = @build_cpu@
181 build_os = @build_os@
182 build_vendor = @build_vendor@
183 datadir = @datadir@
184 datarootdir = @datarootdir@
185 docdir = @docdir@
186 dvidir = @dvidir@
187 exec_prefix = @exec_prefix@
123188 have_pascal = @have_pascal@
124189 have_perl = @have_perl@
125190 have_python = @have_python@
126191 have_swig = @have_swig@
127
192 host = @host@
193 host_alias = @host_alias@
194 host_cpu = @host_cpu@
195 host_os = @host_os@
196 host_vendor = @host_vendor@
197 htmldir = @htmldir@
198 includedir = @includedir@
199 infodir = @infodir@
200 install_sh = @install_sh@
201 libdir = @libdir@
202 libexecdir = @libexecdir@
203 localedir = @localedir@
204 localstatedir = @localstatedir@
205 mandir = @mandir@
206 mkdir_p = @mkdir_p@
207 oldincludedir = @oldincludedir@
208 pdfdir = @pdfdir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 psdir = @psdir@
212 sbindir = @sbindir@
213 sharedstatedir = @sharedstatedir@
214 sysconfdir = @sysconfdir@
215 target_alias = @target_alias@
128216 EXTRA_DIST = hdate.i
129
130217 @WITH_PYTHON_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132218 @WITH_PYTHON_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.py
133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
219 all: all-am
220
143221 .SUFFIXES:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/python/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
222 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
223 @for dep in $?; do \
224 case '$(am__configure_deps)' in \
225 *$$dep*) \
226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
227 && exit 0; \
228 exit 1;; \
229 esac; \
230 done; \
231 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/python/Makefile'; \
232 cd $(top_srcdir) && \
233 $(AUTOMAKE) --gnu bindings/python/Makefile
234 .PRECIOUS: Makefile
235 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
236 @case '$?' in \
237 *config.status*) \
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
239 *) \
240 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
241 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
242 esac;
243
244 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
245 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
246
247 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
248 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
249 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
252 mostlyclean-libtool:
253 -rm -f *.lo
254
255 clean-libtool:
256 -rm -rf .libs _libs
257
258 distclean-libtool:
259 -rm -f libtool
260 uninstall-info-am:
151261 tags: TAGS
152262 TAGS:
153263
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/python
264 ctags: CTAGS
265 CTAGS:
266
158267
159268 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
269 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
270 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
271 list='$(DISTFILES)'; for file in $$list; do \
272 case $$file in \
273 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
274 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
275 esac; \
276 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
277 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
278 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
279 dir="/$$dir"; \
280 $(mkdir_p) "$(distdir)$$dir"; \
281 else \
282 dir=''; \
283 fi; \
162284 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
285 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
286 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
287 fi; \
288 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164289 else \
165290 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
291 || cp -p $$d/$$file $(distdir)/$$file \
292 || exit 1; \
168293 fi; \
169294 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174295 check-am: all-am
175296 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
297 all-am: Makefile
298 installdirs:
299 install: install-am
179300 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182301 install-data: install-data-am
302 uninstall: uninstall-am
183303
184304 install-am: all-am
185305 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
306
307 installcheck: installcheck-am
191308 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
309 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
310 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
311 `test -z '$(STRIP)' || \
312 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196313 mostlyclean-generic:
197314
198315 clean-generic:
199316 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200317
201318 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
319 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204320
205321 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
322 @echo "This command is intended for maintainers to use"
323 @echo "it deletes files that may require special tools to rebuild."
324 @WITH_PYTHON_FALSE@install-data-local:
325 clean: clean-am
326
327 clean-am: clean-generic clean-libtool mostlyclean-am
328
329 distclean: distclean-am
330 -rm -f Makefile
331 distclean-am: clean-am distclean-generic distclean-libtool
332
333 dvi: dvi-am
334
335 dvi-am:
336
337 html: html-am
338
339 info: info-am
340
341 info-am:
342
343 install-data-am: install-data-local
344
345 install-exec-am:
346
347 install-info: install-info-am
348
349 install-man:
350
351 installcheck-am:
352
353 maintainer-clean: maintainer-clean-am
354 -rm -f Makefile
355 maintainer-clean-am: distclean-am maintainer-clean-generic
207356
208357 mostlyclean: mostlyclean-am
209358
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
221 @echo "it deletes files that may require special tools to rebuild."
222
223 maintainer-clean: maintainer-clean-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
359 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
360
361 pdf: pdf-am
362
363 pdf-am:
364
365 ps: ps-am
366
367 ps-am:
368
369 uninstall-am: uninstall-info-am
370
371 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
372 distclean distclean-generic distclean-libtool distdir dvi \
373 dvi-am html html-am info info-am install install-am \
374 install-data install-data-am install-data-local install-exec \
375 install-exec-am install-info install-info-am install-man \
376 install-strip installcheck installcheck-am installdirs \
377 maintainer-clean maintainer-clean-generic mostlyclean \
378 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
379 uninstall uninstall-am uninstall-info-am
231380
232381
233382 @WITH_PYTHON_TRUE@all-am: _hdate.so
243392 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PY_MODULES_PATH)
244393 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) _hdate.so $(DESTDIR)$(PY_MODULES_PATH)/_hdate.so
245394 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) hdate.py $(DESTDIR)$(PY_MODULES_PATH)/hdate.py
246
247395 # Tell versions [3.59,3.63) of GNU make to not export all variables.
248396 # Otherwise a system limit (for SysV at least) may be exceeded.
249397 .NOEXPORT:
0 #! /bin/sh
1 # Wrapper for compilers which do not understand `-c -o'.
2
3 scriptversion=2005-05-14.22
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
6 # Written by Tom Tromey <tromey@cygnus.com>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
22 # As a special exception to the GNU General Public License, if you
23 # distribute this file as part of a program that contains a
24 # configuration script generated by Autoconf, you may include it under
25 # the same distribution terms that you use for the rest of that program.
26
27 # This file is maintained in Automake, please report
28 # bugs to <bug-automake@gnu.org> or send patches to
29 # <automake-patches@gnu.org>.
30
31 case $1 in
32 '')
33 echo "$0: No command. Try \`$0 --help' for more information." 1>&2
34 exit 1;
35 ;;
36 -h | --h*)
37 cat <<\EOF
38 Usage: compile [--help] [--version] PROGRAM [ARGS]
39
40 Wrapper for compilers which do not understand `-c -o'.
41 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
42 arguments, and rename the output as expected.
43
44 If you are trying to build a whole package this is not the
45 right script to run: please start by reading the file `INSTALL'.
46
47 Report bugs to <bug-automake@gnu.org>.
48 EOF
49 exit $?
50 ;;
51 -v | --v*)
52 echo "compile $scriptversion"
53 exit $?
54 ;;
55 esac
56
57 ofile=
58 cfile=
59 eat=
60
61 for arg
62 do
63 if test -n "$eat"; then
64 eat=
65 else
66 case $1 in
67 -o)
68 # configure might choose to run compile as `compile cc -o foo foo.c'.
69 # So we strip `-o arg' only if arg is an object.
70 eat=1
71 case $2 in
72 *.o | *.obj)
73 ofile=$2
74 ;;
75 *)
76 set x "$@" -o "$2"
77 shift
78 ;;
79 esac
80 ;;
81 *.c)
82 cfile=$1
83 set x "$@" "$1"
84 shift
85 ;;
86 *)
87 set x "$@" "$1"
88 shift
89 ;;
90 esac
91 fi
92 shift
93 done
94
95 if test -z "$ofile" || test -z "$cfile"; then
96 # If no `-o' option was seen then we might have been invoked from a
97 # pattern rule where we don't need one. That is ok -- this is a
98 # normal compilation that the losing compiler can handle. If no
99 # `.c' file was seen then we are probably linking. That is also
100 # ok.
101 exec "$@"
102 fi
103
104 # Name of file we expect compiler to create.
105 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
106
107 # Create the lock directory.
108 # Note: use `[/.-]' here to ensure that we don't use the same name
109 # that we are using for the .o file. Also, base the name on the expected
110 # object file name, since that is what matters with a parallel build.
111 lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
112 while true; do
113 if mkdir "$lockdir" >/dev/null 2>&1; then
114 break
115 fi
116 sleep 1
117 done
118 # FIXME: race condition here if user kills between mkdir and trap.
119 trap "rmdir '$lockdir'; exit 1" 1 2 15
120
121 # Run the compile.
122 "$@"
123 ret=$?
124
125 if test -f "$cofile"; then
126 mv "$cofile" "$ofile"
127 elif test -f "${cofile}bj"; then
128 mv "${cofile}bj" "$ofile"
129 fi
130
131 rmdir "$lockdir"
132 exit $ret
133
134 # Local Variables:
135 # mode: shell-script
136 # sh-indentation: 2
137 # eval: (add-hook 'write-file-hooks 'time-stamp)
138 # time-stamp-start: "scriptversion="
139 # time-stamp-format: "%:y-%02m-%02d.%02H"
140 # time-stamp-end: "$"
141 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-08-03'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-07-02'
67
78 # This file is free software; you can redistribute it and/or modify it
89 # under the terms of the GNU General Public License as published by
105106 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
106107 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
107108 : ${TMPDIR=/tmp} ;
108 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
109 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
109110 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
110111 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
111112 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
205206 *:ekkoBSD:*:*)
206207 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
207208 exit ;;
209 *:SolidBSD:*:*)
210 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
211 exit ;;
208212 macppc:MirBSD:*:*)
209 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
213 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
210214 exit ;;
211215 *:MirBSD:*:*)
212216 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
763767 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
764768 exit ;;
765769 *:FreeBSD:*:*)
766 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
770 case ${UNAME_MACHINE} in
771 pc98)
772 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
773 amd64)
774 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775 *)
776 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
777 esac
767778 exit ;;
768779 i*:CYGWIN*:*)
769780 echo ${UNAME_MACHINE}-pc-cygwin
778789 i*:PW*:*)
779790 echo ${UNAME_MACHINE}-pc-pw32
780791 exit ;;
781 x86:Interix*:[34]*)
782 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
792 x86:Interix*:[3456]*)
793 echo i586-pc-interix${UNAME_RELEASE}
794 exit ;;
795 EM64T:Interix*:[3456]*)
796 echo x86_64-unknown-interix${UNAME_RELEASE}
783797 exit ;;
784798 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
785799 echo i${UNAME_MACHINE}-pc-mks
814828 echo ${UNAME_MACHINE}-pc-minix
815829 exit ;;
816830 arm*:Linux:*:*)
831 echo ${UNAME_MACHINE}-unknown-linux-gnu
832 exit ;;
833 avr32*:Linux:*:*)
817834 echo ${UNAME_MACHINE}-unknown-linux-gnu
818835 exit ;;
819836 cris:Linux:*:*)
850867 #endif
851868 #endif
852869 EOF
853 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
870 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
871 /^CPU/{
872 s: ::g
873 p
874 }'`"
854875 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
855876 ;;
856877 mips64:Linux:*:*)
869890 #endif
870891 #endif
871892 EOF
872 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
893 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
894 /^CPU/{
895 s: ::g
896 p
897 }'`"
873898 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
874899 ;;
875900 or32:Linux:*:*)
917942 exit ;;
918943 sparc:Linux:*:* | sparc64:Linux:*:*)
919944 echo ${UNAME_MACHINE}-unknown-linux-gnu
945 exit ;;
946 vax:Linux:*:*)
947 echo ${UNAME_MACHINE}-dec-linux-gnu
920948 exit ;;
921949 x86_64:Linux:*:*)
922950 echo x86_64-unknown-linux-gnu
963991 LIBC=gnulibc1
964992 # endif
965993 #else
966 #ifdef __INTEL_COMPILER
994 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
967995 LIBC=gnu
968996 #else
969997 LIBC=gnuaout
9731001 LIBC=dietlibc
9741002 #endif
9751003 EOF
976 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1004 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1005 /^LIBC/{
1006 s: ::g
1007 p
1008 }'`"
9771009 test x"${LIBC}" != x && {
9781010 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
9791011 exit
11841216 *:Darwin:*:*)
11851217 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
11861218 case $UNAME_PROCESSOR in
1187 *86) UNAME_PROCESSOR=i686 ;;
11881219 unknown) UNAME_PROCESSOR=powerpc ;;
11891220 esac
11901221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12621293 exit ;;
12631294 i*86:skyos:*:*)
12641295 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1296 exit ;;
1297 i*86:rdos:*:*)
1298 echo ${UNAME_MACHINE}-pc-rdos
12651299 exit ;;
12661300 esac
12671301
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-07-08'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-09-20'
67
78 # This file is (in principle) common to ALL GNU software.
89 # The presence of a machine in this file suggests that SOME GNU software
118119 # Here we must recognize all the valid KERNEL-OS combinations.
119120 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120121 case $maybe_os in
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
124 storm-chaos* | os2-emx* | rtmk-nova*)
123125 os=-$maybe_os
124126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125127 ;;
170172 -hiux*)
171173 os=-hiuxwe2
172174 ;;
175 -sco6)
176 os=-sco5v6
177 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
178 ;;
173179 -sco5)
174180 os=-sco3.2v5
175181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
184190 ;;
185191 -sco3.2v[4-9]*)
192 # Don't forget version if it is 3.2v4 or newer.
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco5v6*)
186196 # Don't forget version if it is 3.2v4 or newer.
187197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188198 ;;
230240 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
231241 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232242 | am33_2.0 \
233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
243 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
234244 | bfin \
235245 | c4x | clipper \
236246 | d10v | d30v | dlx | dsp16xx \
238248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
239249 | i370 | i860 | i960 | ia64 \
240250 | ip2k | iq2000 \
241 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
251 | m32c | m32r | m32rle | m68000 | m68k | m88k \
252 | maxq | mb | microblaze | mcore \
242253 | mips | mipsbe | mipseb | mipsel | mipsle \
243254 | mips16 \
244255 | mips64 | mips64el \
256267 | mipsisa64sr71k | mipsisa64sr71kel \
257268 | mipstx39 | mipstx39el \
258269 | mn10200 | mn10300 \
259 | ms1 \
270 | mt \
260271 | msp430 \
272 | nios | nios2 \
261273 | ns16k | ns32k \
262274 | or32 \
263275 | pdp10 | pdp11 | pj | pjl \
264276 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
265277 | pyramid \
266 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
278 | score \
279 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
267280 | sh64 | sh64le \
268 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
269 | sparcv8 | sparcv9 | sparcv9b \
270 | strongarm \
281 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
282 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
283 | spu | strongarm \
271284 | tahoe | thumb | tic4x | tic80 | tron \
272285 | v850 | v850e \
273286 | we32k \
274 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
287 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
275288 | z8k)
276 basic_machine=$basic_machine-unknown
277 ;;
278 m32c)
279289 basic_machine=$basic_machine-unknown
280290 ;;
281291 m6811 | m68hc11 | m6812 | m68hc12)
284294 os=-none
285295 ;;
286296 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
297 ;;
298 ms1)
299 basic_machine=mt-unknown
287300 ;;
288301
289302 # We use `pc' rather than `unknown'
304317 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
305318 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
306319 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
307 | avr-* \
320 | avr-* | avr32-* \
308321 | bfin-* | bs2000-* \
309322 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
310323 | clipper-* | craynv-* | cydra-* \
315328 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
316329 | i*86-* | i860-* | i960-* | ia64-* \
317330 | ip2k-* | iq2000-* \
318 | m32r-* | m32rle-* \
331 | m32c-* | m32r-* | m32rle-* \
319332 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
320333 | m88110-* | m88k-* | maxq-* | mcore-* \
321334 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
335348 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
336349 | mipstx39-* | mipstx39el-* \
337350 | mmix-* \
338 | ms1-* \
351 | mt-* \
339352 | msp430-* \
353 | nios-* | nios2-* \
340354 | none-* | np1-* | ns16k-* | ns32k-* \
341355 | orion-* \
342356 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
343357 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
344358 | pyramid-* \
345359 | romp-* | rs6000-* \
346 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
360 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
347361 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
348 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
362 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
349363 | sparclite-* \
350 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
364 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
351365 | tahoe-* | thumb-* \
352366 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
353367 | tron-* \
354368 | v850-* | v850e-* | vax-* \
355369 | we32k-* \
356 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
370 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
357371 | xstormy16-* | xtensa-* \
358372 | ymp-* \
359373 | z8k-*)
360 ;;
361 m32c-*)
362374 ;;
363375 # Recognize the various machine names and aliases which stand
364376 # for a CPU type and a company and sometimes even an OS.
694706 msdos)
695707 basic_machine=i386-pc
696708 os=-msdos
709 ;;
710 ms1-*)
711 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
697712 ;;
698713 mvs)
699714 basic_machine=i370-ibm
802817 pc532 | pc532-*)
803818 basic_machine=ns32k-pc532
804819 ;;
820 pc98)
821 basic_machine=i386-pc
822 ;;
823 pc98-*)
824 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
825 ;;
805826 pentium | p5 | k5 | k6 | nexgen | viac3)
806827 basic_machine=i586-pc
807828 ;;
858879 basic_machine=i586-unknown
859880 os=-pw32
860881 ;;
882 rdos)
883 basic_machine=i386-pc
884 os=-rdos
885 ;;
861886 rom68k)
862887 basic_machine=m68k-rom68k
863888 os=-coff
883908 ;;
884909 sb1el)
885910 basic_machine=mipsisa64sb1el-unknown
911 ;;
912 sde)
913 basic_machine=mipsisa32-sde
914 os=-elf
886915 ;;
887916 sei)
888917 basic_machine=mips-sei
11001129 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
11011130 basic_machine=sh-unknown
11021131 ;;
1103 sparc | sparcv8 | sparcv9 | sparcv9b)
1132 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
11041133 basic_machine=sparc-sun
11051134 ;;
11061135 cydra)
11731202 | -aos* \
11741203 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11751204 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1176 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1205 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1206 | -openbsd* | -solidbsd* \
11771207 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
11781208 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
11791209 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
11801210 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
11811211 | -chorusos* | -chorusrdb* \
11821212 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1183 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1213 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1214 | -uxpv* | -beos* | -mpeix* | -udk* \
11841215 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11851216 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11861217 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11871218 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
11881219 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
11891220 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1190 | -skyos* | -haiku*)
1221 | -skyos* | -haiku* | -rdos* | -toppers*)
11911222 # Remember, each alternative MUST END IN *, to match a version number.
11921223 ;;
11931224 -qnx*)
13391370 # system, and we'll never get to this point.
13401371
13411372 case $basic_machine in
1373 score-*)
1374 os=-elf
1375 ;;
1376 spu-*)
1377 os=-elf
1378 ;;
13421379 *-acorn)
13431380 os=-riscix1.2
13441381 ;;
13481385 arm*-semi)
13491386 os=-aout
13501387 ;;
1351 c4x-* | tic4x-*)
1352 os=-coff
1353 ;;
1388 c4x-* | tic4x-*)
1389 os=-coff
1390 ;;
13541391 # This must come before the *-dec entry.
13551392 pdp10-*)
13561393 os=-tops20
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59.
2 # Generated by GNU Autoconf 2.61.
33 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
56 # This configure script is free software; the Free Software Foundation
67 # gives unlimited permission to copy, distribute and modify it.
78 ## --------------------- ##
89 ## M4sh Initialization. ##
910 ## --------------------- ##
1011
11 # Be Bourne compatible
12 # Be more Bourne compatible
13 DUALCASE=1; export DUALCASE # for MKS sh
1214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1315 emulate sh
1416 NULLCMD=:
1517 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1618 # is contrary to our usage. Disable this feature.
1719 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
7832 # Avoid depending upon Character Ranges.
7933 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9549 rm -f conf$$.sh
9650 fi
9751
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" "" $as_nl"
68
69 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10973 for as_dir in $PATH
11074 do
11175 IFS=$as_save_IFS
11276 test -z "$as_dir" && as_dir=.
11377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11478 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
79 IFS=$as_save_IFS
80
81 ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86 as_myself=$0
87 fi
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
106 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122111 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117 as_expr=expr
118 else
119 as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123 as_basename=basename
124 else
125 as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\/\)$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\).*/{
144 s//\1/
145 q
146 }
147 s/.*/./; q'`
148
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
129220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131222 do
132223 IFS=$as_save_IFS
133224 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
225 case $as_dir in
136226 /*)
137 if ("$as_dir/$as_base" -c '
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$as_shell" 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
138327 as_lineno_1=$LINENO
139328 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141329 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
154426
155427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156428 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
161434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
438 p
439 /[$]LINENO/=
440 ' <$as_myself |
164441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
444 b
445 :lineno
165446 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169449 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
450 s/-\n.*//
172451 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
452 chmod +x "$as_me.lineno" ||
174453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175454 { (exit 1); exit 1; }; }
176455
177456 # Don't try to exec as it changes $[0], causing all sort of problems
178457 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
458 # original and so on. Autoconf is especially sensitive to this).
459 . "./$as_me.lineno"
181460 # Exit status is that of the last command.
182461 exit
183462 }
184463
185464
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
473 -n*)
474 case `echo 'x\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
477 esac;;
478 *)
479 ECHO_N='-n';;
191480 esac
192481
193 if expr a : '\(a\)' >/dev/null 2>&1; then
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
194484 as_expr=expr
195485 else
196486 as_expr=false
197487 fi
198488
199489 rm -f conf$$ conf$$.exe conf$$.file
490 if test -d conf$$.dir; then
491 rm -f conf$$.dir/conf$$.file
492 else
493 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
200496 echo >conf$$.file
201497 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
206504 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210505 elif ln conf$$.file conf$$ 2>/dev/null; then
211506 as_ln_s=ln
212507 else
213508 as_ln_s='cp -p'
214509 fi
215 rm -f conf$$ conf$$.exe conf$$.file
510 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511 rmdir conf$$.dir 2>/dev/null
216512
217513 if mkdir -p . 2>/dev/null; then
218514 as_mkdir_p=:
221517 as_mkdir_p=false
222518 fi
223519
224 as_executable_p="test -f"
520 if test -x / >/dev/null 2>&1; then
521 as_test_x='test -x'
522 else
523 if ls -dL / >/dev/null 2>&1; then
524 as_ls_L_option=L
525 else
526 as_ls_L_option=
527 fi
528 as_test_x='
529 eval sh -c '\''
530 if test -d "$1"; then
531 test -d "$1/.";
532 else
533 case $1 in
534 -*)set "./$1";;
535 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
537 ???[sx]*):;;*)false;;esac;fi
538 '\'' sh
539 '
540 fi
541 as_executable_p=$as_test_x
225542
226543 # Sed expression to map a string onto a valid CPP name.
227544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229546 # Sed expression to map a string onto a valid variable name.
230547 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231548
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241549
242550
243551
394702
395703 tagnames=${tagnames+${tagnames},}F77
396704
705 exec 7<&0 </dev/null 6>&1
706
397707 # Name of the host.
398708 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
399709 # so uname gets run too.
400710 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
401711
402 exec 6>&1
403
404712 #
405713 # Initializations.
406714 #
407715 ac_default_prefix=/usr/local
716 ac_clean_files=
408717 ac_config_libobj_dir=.
718 LIBOBJS=
409719 cross_compiling=no
410720 subdirs=
411721 MFLAGS=
412722 MAKEFLAGS=
413723 SHELL=${CONFIG_SHELL-/bin/sh}
414
415 # Maximum number of lines to put in a shell here document.
416 # This variable seems obsolete. It should probably be removed, and
417 # only ac_max_sed_lines should be used.
418 : ${ac_max_here_lines=38}
419724
420725 # Identity of this package.
421726 PACKAGE_NAME=
428733 # Factoring default headers for most tests.
429734 ac_includes_default="\
430735 #include <stdio.h>
431 #if HAVE_SYS_TYPES_H
736 #ifdef HAVE_SYS_TYPES_H
432737 # include <sys/types.h>
433738 #endif
434 #if HAVE_SYS_STAT_H
739 #ifdef HAVE_SYS_STAT_H
435740 # include <sys/stat.h>
436741 #endif
437 #if STDC_HEADERS
742 #ifdef STDC_HEADERS
438743 # include <stdlib.h>
439744 # include <stddef.h>
440745 #else
441 # if HAVE_STDLIB_H
746 # ifdef HAVE_STDLIB_H
442747 # include <stdlib.h>
443748 # endif
444749 #endif
445 #if HAVE_STRING_H
446 # if !STDC_HEADERS && HAVE_MEMORY_H
750 #ifdef HAVE_STRING_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
447752 # include <memory.h>
448753 # endif
449754 # include <string.h>
450755 #endif
451 #if HAVE_STRINGS_H
756 #ifdef HAVE_STRINGS_H
452757 # include <strings.h>
453758 #endif
454 #if HAVE_INTTYPES_H
759 #ifdef HAVE_INTTYPES_H
455760 # include <inttypes.h>
456 #else
457 # if HAVE_STDINT_H
458 # include <stdint.h>
459 # endif
460761 #endif
461 #if HAVE_UNISTD_H
762 #ifdef HAVE_STDINT_H
763 # include <stdint.h>
764 #endif
765 #ifdef HAVE_UNISTD_H
462766 # include <unistd.h>
463767 #endif"
464768
465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG have_swig have_pascal PA_VERSION PA_MODULES_PATH WITH_PASCAL_TRUE WITH_PASCAL_FALSE have_python PY_VERSION PY_CFLAGS PY_MODULES_PATH WITH_PYTHON_TRUE WITH_PYTHON_FALSE have_perl PE_CFLAGS PE_MODULES_PATH WITH_PERL_TRUE WITH_PERL_FALSE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC2 ALLOCA GLIBC21 INTL_MACOSX_LIBS HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB WITH_EXAMPLES_TRUE WITH_EXAMPLES_FALSE WITH_HCAL_TRUE WITH_HCAL_FALSE LIBOBJS LTLIBOBJS'
769 gt_needs=
770 ac_subst_vars='SHELL
771 PATH_SEPARATOR
772 PACKAGE_NAME
773 PACKAGE_TARNAME
774 PACKAGE_VERSION
775 PACKAGE_STRING
776 PACKAGE_BUGREPORT
777 exec_prefix
778 prefix
779 program_transform_name
780 bindir
781 sbindir
782 libexecdir
783 datarootdir
784 datadir
785 sysconfdir
786 sharedstatedir
787 localstatedir
788 includedir
789 oldincludedir
790 docdir
791 infodir
792 htmldir
793 dvidir
794 pdfdir
795 psdir
796 libdir
797 localedir
798 mandir
799 DEFS
800 ECHO_C
801 ECHO_N
802 ECHO_T
803 LIBS
804 build_alias
805 host_alias
806 target_alias
807 VERSION_INFO
808 INSTALL_PROGRAM
809 INSTALL_SCRIPT
810 INSTALL_DATA
811 CYGPATH_W
812 PACKAGE
813 VERSION
814 ACLOCAL
815 AUTOCONF
816 AUTOMAKE
817 AUTOHEADER
818 MAKEINFO
819 install_sh
820 STRIP
821 INSTALL_STRIP_PROGRAM
822 mkdir_p
823 AWK
824 SET_MAKE
825 am__leading_dot
826 AMTAR
827 am__tar
828 am__untar
829 MAINTAINER_MODE_TRUE
830 MAINTAINER_MODE_FALSE
831 MAINT
832 CC
833 CFLAGS
834 LDFLAGS
835 CPPFLAGS
836 ac_ct_CC
837 EXEEXT
838 OBJEXT
839 DEPDIR
840 am__include
841 am__quote
842 AMDEP_TRUE
843 AMDEP_FALSE
844 AMDEPBACKSLASH
845 CCDEPMODE
846 am__fastdepCC_TRUE
847 am__fastdepCC_FALSE
848 LN_S
849 CPP
850 GREP
851 EGREP
852 build
853 build_cpu
854 build_vendor
855 build_os
856 host
857 host_cpu
858 host_vendor
859 host_os
860 ECHO
861 AR
862 RANLIB
863 CXX
864 CXXFLAGS
865 ac_ct_CXX
866 CXXDEPMODE
867 am__fastdepCXX_TRUE
868 am__fastdepCXX_FALSE
869 CXXCPP
870 F77
871 FFLAGS
872 ac_ct_F77
873 LIBTOOL
874 PKG_CONFIG
875 have_swig
876 have_pascal
877 PA_VERSION
878 PA_MODULES_PATH
879 WITH_PASCAL_TRUE
880 WITH_PASCAL_FALSE
881 have_python
882 PY_VERSION
883 PY_CFLAGS
884 PY_MODULES_PATH
885 WITH_PYTHON_TRUE
886 WITH_PYTHON_FALSE
887 have_perl
888 PE_CFLAGS
889 PE_MODULES_PATH
890 WITH_PERL_TRUE
891 WITH_PERL_FALSE
892 USE_NLS
893 MSGFMT
894 GMSGFMT
895 MSGFMT_015
896 GMSGFMT_015
897 XGETTEXT
898 XGETTEXT_015
899 MSGMERGE
900 GLIBC2
901 CFLAG_VISIBILITY
902 HAVE_VISIBILITY
903 ALLOCA
904 PRI_MACROS_BROKEN
905 LIBPTH
906 LTLIBPTH
907 LIBTHREAD
908 LTLIBTHREAD
909 LIBMULTITHREAD
910 LTLIBMULTITHREAD
911 LIBICONV
912 LTLIBICONV
913 INTLBISON
914 GLIBC21
915 INTL_MACOSX_LIBS
916 HAVE_POSIX_PRINTF
917 HAVE_ASPRINTF
918 HAVE_SNPRINTF
919 HAVE_WPRINTF
920 WOE32DLL
921 BUILD_INCLUDED_LIBINTL
922 USE_INCLUDED_LIBINTL
923 CATOBJEXT
924 DATADIRNAME
925 INSTOBJEXT
926 GENCAT
927 INTLOBJS
928 INTL_LIBTOOL_SUFFIX_PREFIX
929 INTLLIBS
930 LIBINTL
931 LTLIBINTL
932 POSUB
933 WITH_EXAMPLES_TRUE
934 WITH_EXAMPLES_FALSE
935 WITH_HCAL_TRUE
936 WITH_HCAL_FALSE
937 LIBOBJS
938 LTLIBOBJS'
466939 ac_subst_files=''
940 ac_precious_vars='build_alias
941 host_alias
942 target_alias
943 CC
944 CFLAGS
945 LDFLAGS
946 LIBS
947 CPPFLAGS
948 CPP
949 CXX
950 CXXFLAGS
951 CCC
952 CXXCPP
953 F77
954 FFLAGS'
955
467956
468957 # Initialize some variables set by options.
469958 ac_init_help=
490979 # and all the variables that are supposed to be based on exec_prefix
491980 # by default will actually change.
492981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
493983 bindir='${exec_prefix}/bin'
494984 sbindir='${exec_prefix}/sbin'
495985 libexecdir='${exec_prefix}/libexec'
496 datadir='${prefix}/share'
986 datarootdir='${prefix}/share'
987 datadir='${datarootdir}'
497988 sysconfdir='${prefix}/etc'
498989 sharedstatedir='${prefix}/com'
499990 localstatedir='${prefix}/var'
500 libdir='${exec_prefix}/lib'
501991 includedir='${prefix}/include'
502992 oldincludedir='/usr/include'
503 infodir='${prefix}/info'
504 mandir='${prefix}/man'
993 docdir='${datarootdir}/doc/${PACKAGE}'
994 infodir='${datarootdir}/info'
995 htmldir='${docdir}'
996 dvidir='${docdir}'
997 pdfdir='${docdir}'
998 psdir='${docdir}'
999 libdir='${exec_prefix}/lib'
1000 localedir='${datarootdir}/locale'
1001 mandir='${datarootdir}/man'
5051002
5061003 ac_prev=
1004 ac_dashdash=
5071005 for ac_option
5081006 do
5091007 # If the previous option needs an argument, assign it.
5101008 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
1009 eval $ac_prev=\$ac_option
5121010 ac_prev=
5131011 continue
5141012 fi
5151013
516 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1014 case $ac_option in
1015 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016 *) ac_optarg=yes ;;
1017 esac
5171018
5181019 # Accept the important Cygnus configure options, so we can diagnose typos.
5191020
520 case $ac_option in
1021 case $ac_dashdash$ac_option in
1022 --)
1023 ac_dashdash=yes ;;
5211024
5221025 -bindir | --bindir | --bindi | --bind | --bin | --bi)
5231026 ac_prev=bindir ;;
5391042 --config-cache | -C)
5401043 cache_file=config.cache ;;
5411044
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1045 -datadir | --datadir | --datadi | --datad)
5431046 ac_prev=datadir ;;
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545 | --da=*)
1047 -datadir=* | --datadir=* | --datadi=* | --datad=*)
5461048 datadir=$ac_optarg ;;
1049
1050 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1051 | --dataroo | --dataro | --datar)
1052 ac_prev=datarootdir ;;
1053 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1054 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1055 datarootdir=$ac_optarg ;;
5471056
5481057 -disable-* | --disable-*)
5491058 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5501059 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1060 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5521061 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5531062 { (exit 1); exit 1; }; }
554 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
1063 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1064 eval enable_$ac_feature=no ;;
1065
1066 -docdir | --docdir | --docdi | --doc | --do)
1067 ac_prev=docdir ;;
1068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1069 docdir=$ac_optarg ;;
1070
1071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1072 ac_prev=dvidir ;;
1073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1074 dvidir=$ac_optarg ;;
5561075
5571076 -enable-* | --enable-*)
5581077 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5591078 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1079 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5611080 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5621081 { (exit 1); exit 1; }; }
563 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
564 case $ac_option in
565 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 *) ac_optarg=yes ;;
567 esac
568 eval "enable_$ac_feature='$ac_optarg'" ;;
1082 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1083 eval enable_$ac_feature=\$ac_optarg ;;
5691084
5701085 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5711086 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5921107 -host=* | --host=* | --hos=* | --ho=*)
5931108 host_alias=$ac_optarg ;;
5941109
1110 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1111 ac_prev=htmldir ;;
1112 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1113 | --ht=*)
1114 htmldir=$ac_optarg ;;
1115
5951116 -includedir | --includedir | --includedi | --included | --include \
5961117 | --includ | --inclu | --incl | --inc)
5971118 ac_prev=includedir ;;
6161137 | --libexe=* | --libex=* | --libe=*)
6171138 libexecdir=$ac_optarg ;;
6181139
1140 -localedir | --localedir | --localedi | --localed | --locale)
1141 ac_prev=localedir ;;
1142 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1143 localedir=$ac_optarg ;;
1144
6191145 -localstatedir | --localstatedir | --localstatedi | --localstated \
620 | --localstate | --localstat | --localsta | --localst \
621 | --locals | --local | --loca | --loc | --lo)
1146 | --localstate | --localstat | --localsta | --localst | --locals)
6221147 ac_prev=localstatedir ;;
6231148 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
624 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
625 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1149 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6261150 localstatedir=$ac_optarg ;;
6271151
6281152 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6871211 | --progr-tra=* | --program-tr=* | --program-t=*)
6881212 program_transform_name=$ac_optarg ;;
6891213
1214 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1215 ac_prev=pdfdir ;;
1216 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1217 pdfdir=$ac_optarg ;;
1218
1219 -psdir | --psdir | --psdi | --psd | --ps)
1220 ac_prev=psdir ;;
1221 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222 psdir=$ac_optarg ;;
1223
6901224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6911225 | -silent | --silent | --silen | --sile | --sil)
6921226 silent=yes ;;
7391273 -with-* | --with-*)
7401274 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7411275 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1276 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7431277 { echo "$as_me: error: invalid package name: $ac_package" >&2
7441278 { (exit 1); exit 1; }; }
745 ac_package=`echo $ac_package| sed 's/-/_/g'`
746 case $ac_option in
747 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 *) ac_optarg=yes ;;
749 esac
750 eval "with_$ac_package='$ac_optarg'" ;;
1279 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1280 eval with_$ac_package=\$ac_optarg ;;
7511281
7521282 -without-* | --without-*)
7531283 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7541284 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1285 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7561286 { echo "$as_me: error: invalid package name: $ac_package" >&2
7571287 { (exit 1); exit 1; }; }
758 ac_package=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
1288 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1289 eval with_$ac_package=no ;;
7601290
7611291 --x)
7621292 # Obsolete; use --with-x.
7871317 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
7881318 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7891319 { (exit 1); exit 1; }; }
790 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
1320 eval $ac_envvar=\$ac_optarg
7921321 export $ac_envvar ;;
7931322
7941323 *)
8081337 { (exit 1); exit 1; }; }
8091338 fi
8101339
811 # Be sure to have absolute paths.
812 for ac_var in exec_prefix prefix
1340 # Be sure to have absolute directory names.
1341 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
8131345 do
814 eval ac_val=$`echo $ac_var`
1346 eval ac_val=\$$ac_var
8151347 case $ac_val in
816 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
1348 [\\/$]* | ?:[\\/]* ) continue;;
1349 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
8191350 esac
820 done
821
822 # Be sure to have absolute paths.
823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
825 do
826 eval ac_val=$`echo $ac_var`
827 case $ac_val in
828 [\\/$]* | ?:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
831 esac
1351 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1352 { (exit 1); exit 1; }; }
8321353 done
8331354
8341355 # There might be people who depend on the old broken behavior: `$host'
8551376 test "$silent" = yes && exec 6>/dev/null
8561377
8571378
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 { echo "$as_me: error: Working directory cannot be determined" >&2
1383 { (exit 1); exit 1; }; }
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 { echo "$as_me: error: pwd does not report name of working directory" >&2
1386 { (exit 1); exit 1; }; }
1387
1388
8581389 # Find the source files, if location was not specified.
8591390 if test -z "$srcdir"; then
8601391 ac_srcdir_defaulted=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir=`(dirname "$0") 2>/dev/null ||
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$0" ||
8631394 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8641395 X"$0" : 'X\(//\)[^/]' \| \
8651396 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
1397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8681398 echo X"$0" |
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
873 s/.*/./; q'`
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1401 q
1402 }
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1405 q
1406 }
1407 /^X\(\/\/\)$/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\).*/{
1412 s//\1/
1413 q
1414 }
1415 s/.*/./; q'`
8741416 srcdir=$ac_confdir
875 if test ! -r $srcdir/$ac_unique_file; then
1417 if test ! -r "$srcdir/$ac_unique_file"; then
8761418 srcdir=..
8771419 fi
8781420 else
8791421 ac_srcdir_defaulted=no
8801422 fi
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
8841426 { (exit 1); exit 1; }; }
885 else
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1427 fi
1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 ac_abs_confdir=`(
1430 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
8871431 { (exit 1); exit 1; }; }
888 fi
889 fi
890 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set=${build_alias+set}
895 ac_env_build_alias_value=$build_alias
896 ac_cv_env_build_alias_set=${build_alias+set}
897 ac_cv_env_build_alias_value=$build_alias
898 ac_env_host_alias_set=${host_alias+set}
899 ac_env_host_alias_value=$host_alias
900 ac_cv_env_host_alias_set=${host_alias+set}
901 ac_cv_env_host_alias_value=$host_alias
902 ac_env_target_alias_set=${target_alias+set}
903 ac_env_target_alias_value=$target_alias
904 ac_cv_env_target_alias_set=${target_alias+set}
905 ac_cv_env_target_alias_value=$target_alias
906 ac_env_CC_set=${CC+set}
907 ac_env_CC_value=$CC
908 ac_cv_env_CC_set=${CC+set}
909 ac_cv_env_CC_value=$CC
910 ac_env_CFLAGS_set=${CFLAGS+set}
911 ac_env_CFLAGS_value=$CFLAGS
912 ac_cv_env_CFLAGS_set=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value=$CFLAGS
914 ac_env_LDFLAGS_set=${LDFLAGS+set}
915 ac_env_LDFLAGS_value=$LDFLAGS
916 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value=$LDFLAGS
918 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
922 ac_env_CPP_set=${CPP+set}
923 ac_env_CPP_value=$CPP
924 ac_cv_env_CPP_set=${CPP+set}
925 ac_cv_env_CPP_value=$CPP
926 ac_env_CXX_set=${CXX+set}
927 ac_env_CXX_value=$CXX
928 ac_cv_env_CXX_set=${CXX+set}
929 ac_cv_env_CXX_value=$CXX
930 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
934 ac_env_CXXCPP_set=${CXXCPP+set}
935 ac_env_CXXCPP_value=$CXXCPP
936 ac_cv_env_CXXCPP_set=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value=$CXXCPP
938 ac_env_F77_set=${F77+set}
939 ac_env_F77_value=$F77
940 ac_cv_env_F77_set=${F77+set}
941 ac_cv_env_F77_value=$F77
942 ac_env_FFLAGS_set=${FFLAGS+set}
943 ac_env_FFLAGS_value=$FFLAGS
944 ac_cv_env_FFLAGS_set=${FFLAGS+set}
945 ac_cv_env_FFLAGS_value=$FFLAGS
1432 pwd)`
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 srcdir=.
1436 fi
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1440 case $srcdir in
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 esac
1443 for ac_var in $ac_precious_vars; do
1444 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_${ac_var}_value=\$${ac_var}
1446 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448 done
9461449
9471450 #
9481451 # Report the --help message.
9711474 -n, --no-create do not create output files
9721475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
9731476
974 _ACEOF
975
976 cat <<_ACEOF
9771477 Installation directories:
9781478 --prefix=PREFIX install architecture-independent files in PREFIX
9791479 [$ac_default_prefix]
9911491 --bindir=DIR user executables [EPREFIX/bin]
9921492 --sbindir=DIR system admin executables [EPREFIX/sbin]
9931493 --libexecdir=DIR program executables [EPREFIX/libexec]
994 --datadir=DIR read-only architecture-independent data [PREFIX/share]
9951494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
9961495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
9971496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
9981497 --libdir=DIR object code libraries [EPREFIX/lib]
9991498 --includedir=DIR C header files [PREFIX/include]
10001499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1001 --infodir=DIR info documentation [PREFIX/info]
1002 --mandir=DIR man documentation [PREFIX/man]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
10031510 _ACEOF
10041511
10051512 cat <<\_ACEOF
10221529 Optional Features:
10231530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10241531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-maintainer-mode enable make rules and dependencies not useful
1026 (and sometimes confusing) to the casual installer
1027 --enable-shared[=PKGS]
1028 build shared libraries [default=yes]
1029 --enable-static[=PKGS]
1030 build static libraries [default=yes]
1532 --enable-maintainer-mode enable make rules and dependencies not useful
1533 (and sometimes confusing) to the casual installer
1534 --disable-dependency-tracking speeds up one-time build
1535 --enable-dependency-tracking do not reject slow dependency extractors
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
10311538 --enable-fast-install[=PKGS]
10321539 optimize for fast installation [default=yes]
10331540 --disable-libtool-lock avoid locking (might break parallel builds)
10351542 --enable-python build python binding default=no
10361543 --enable-perl build perl binding default=no
10371544 --disable-nls do not use Native Language Support
1545 --enable-threads={posix|solaris|pth|win32}
1546 specify multithreading API
1547 --disable-threads build without multithread safety
10381548 --disable-rpath do not hardcode runtime library paths
10391549 --enable-examples build examples default=no
10401550 --disable-hcal build hcal/hdate default=yes
10451555 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10461556 --with-pic try to use only PIC/non-PIC objects [default=use
10471557 both]
1048 --with-tags[=TAGS]
1049 include additional configurations [automatic]
1558 --with-tags[=TAGS] include additional configurations [automatic]
10501559 --with-python-sitelib-dir=PATH path to python site lib
10511560 --with-perl-sitelib-dir=PATH path to perl site lib
10521561 --with-gnu-ld assume the C compiler uses GNU ld default=no
1562 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
1563 --without-libpth-prefix don't search for libpth in includedir and libdir
10531564 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
10541565 --without-libiconv-prefix don't search for libiconv in includedir and libdir
10551566 --with-included-gettext use the GNU gettext library included here
10611572 CFLAGS C compiler flags
10621573 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10631574 nonstandard directory <lib dir>
1064 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1065 headers in a nonstandard directory <include dir>
1575 LIBS libraries to pass to the linker, e.g. -l<library>
1576 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1577 you have headers in a nonstandard directory <include dir>
10661578 CPP C preprocessor
10671579 CXX C++ compiler command
10681580 CXXFLAGS C++ compiler flags
10741586 it to find libraries and programs with nonstandard names/locations.
10751587
10761588 _ACEOF
1589 ac_status=$?
10771590 fi
10781591
10791592 if test "$ac_init_help" = "recursive"; then
10801593 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
10821594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1595 test -d "$ac_dir" || continue
10841596 ac_builddir=.
10851597
1086 if test "$ac_dir" != .; then
1598 case "$ac_dir" in
1599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 *)
10871601 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090 else
1091 ac_dir_suffix= ac_top_builddir=
1092 fi
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1607 esac ;;
1608 esac
1609 ac_abs_top_builddir=$ac_pwd
1610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611 # for backward compatibility:
1612 ac_top_builddir=$ac_top_build_prefix
10931613
10941614 case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1615 .) # We are building in place.
10961616 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1617 ac_top_srcdir=$ac_top_builddir_sub
1618 ac_abs_top_srcdir=$ac_pwd ;;
1619 [\\/]* | ?:[\\/]* ) # Absolute name.
11031620 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1621 ac_top_srcdir=$srcdir
1622 ac_abs_top_srcdir=$srcdir ;;
1623 *) # Relative name.
1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11081627 esac
1109
1110 # Do not use `cd foo && pwd` to compute absolute paths, because
1111 # the directories may not exist.
1112 case `pwd` in
1113 .) ac_abs_builddir="$ac_dir";;
1114 *)
1115 case "$ac_dir" in
1116 .) ac_abs_builddir=`pwd`;;
1117 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1118 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1119 esac;;
1120 esac
1121 case $ac_abs_builddir in
1122 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1123 *)
1124 case ${ac_top_builddir}. in
1125 .) ac_abs_top_builddir=$ac_abs_builddir;;
1126 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1127 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1128 esac;;
1129 esac
1130 case $ac_abs_builddir in
1131 .) ac_abs_srcdir=$ac_srcdir;;
1132 *)
1133 case $ac_srcdir in
1134 .) ac_abs_srcdir=$ac_abs_builddir;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1136 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1141 *)
1142 case $ac_top_srcdir in
1143 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1145 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1146 esac;;
1147 esac
1148
1149 cd $ac_dir
1150 # Check for guested configure; otherwise get Cygnus style configure.
1151 if test -f $ac_srcdir/configure.gnu; then
1152 echo
1153 $SHELL $ac_srcdir/configure.gnu --help=recursive
1154 elif test -f $ac_srcdir/configure; then
1155 echo
1156 $SHELL $ac_srcdir/configure --help=recursive
1157 elif test -f $ac_srcdir/configure.ac ||
1158 test -f $ac_srcdir/configure.in; then
1159 echo
1160 $ac_configure --help
1628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629
1630 cd "$ac_dir" || { ac_status=$?; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1633 echo &&
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1636 echo &&
1637 $SHELL "$ac_srcdir/configure" --help=recursive
11611638 else
11621639 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1163 fi
1164 cd "$ac_popdir"
1640 fi || ac_status=$?
1641 cd "$ac_pwd" || { ac_status=$?; break; }
11651642 done
11661643 fi
11671644
1168 test -n "$ac_init_help" && exit 0
1645 test -n "$ac_init_help" && exit $ac_status
11691646 if $ac_init_version; then
11701647 cat <<\_ACEOF
1171
1172 Copyright (C) 2003 Free Software Foundation, Inc.
1648 configure
1649 generated by GNU Autoconf 2.61
1650
1651 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1652 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11731653 This configure script is free software; the Free Software Foundation
11741654 gives unlimited permission to copy, distribute and modify it.
11751655 _ACEOF
1176 exit 0
1177 fi
1178 exec 5>config.log
1179 cat >&5 <<_ACEOF
1656 exit
1657 fi
1658 cat >config.log <<_ACEOF
11801659 This file contains any messages produced by compilers while
11811660 running configure, to aid debugging if configure makes a mistake.
11821661
11831662 It was created by $as_me, which was
1184 generated by GNU Autoconf 2.59. Invocation command line was
1663 generated by GNU Autoconf 2.61. Invocation command line was
11851664
11861665 $ $0 $@
11871666
11881667 _ACEOF
1668 exec 5>>config.log
11891669 {
11901670 cat <<_ASUNAME
11911671 ## --------- ##
12041684 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
12051685 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
12061686 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1207 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1687 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
12081688 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
12091689 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
12101690 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
12181698 test -z "$as_dir" && as_dir=.
12191699 echo "PATH: $as_dir"
12201700 done
1701 IFS=$as_save_IFS
12211702
12221703 } >&5
12231704
12391720 ac_configure_args=
12401721 ac_configure_args0=
12411722 ac_configure_args1=
1242 ac_sep=
12431723 ac_must_keep_next=false
12441724 for ac_pass in 1 2
12451725 do
12501730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12511731 | -silent | --silent | --silen | --sile | --sil)
12521732 continue ;;
1253 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1733 *\'*)
12541734 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12551735 esac
12561736 case $ac_pass in
12721752 -* ) ac_must_keep_next=true ;;
12731753 esac
12741754 fi
1275 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1276 # Get rid of the leading space.
1277 ac_sep=" "
1755 ac_configure_args="$ac_configure_args '$ac_arg'"
12781756 ;;
12791757 esac
12801758 done
12851763 # When interrupted or exit'd, cleanup temporary files, and complete
12861764 # config.log. We remove comments because anyway the quotes in there
12871765 # would cause problems or look ugly.
1288 # WARNING: Be sure not to use single quotes in there, as some shells,
1289 # such as our DU 5.0 friend, will then `close' the trap.
1766 # WARNING: Use '\'' to represent an apostrophe within the trap.
1767 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
12901768 trap 'exit_status=$?
12911769 # Save into config.log some information that might help in debugging.
12921770 {
12991777 _ASBOX
13001778 echo
13011779 # The following way of writing the cache mishandles newlines in values,
1302 {
1780 (
1781 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1782 eval ac_val=\$$ac_var
1783 case $ac_val in #(
1784 *${as_nl}*)
1785 case $ac_var in #(
1786 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1787 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1788 esac
1789 case $ac_var in #(
1790 _ | IFS | as_nl) ;; #(
1791 *) $as_unset $ac_var ;;
1792 esac ;;
1793 esac
1794 done
13031795 (set) 2>&1 |
1304 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1305 *ac_space=\ *)
1796 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1797 *${as_nl}ac_space=\ *)
13061798 sed -n \
1307 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1799 "s/'\''/'\''\\\\'\'''\''/g;
1800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1801 ;; #(
1802 *)
1803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13091804 ;;
1310 *)
1311 sed -n \
1312 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1313 ;;
1314 esac;
1315 }
1805 esac |
1806 sort
1807 )
13161808 echo
13171809
13181810 cat <<\_ASBOX
13231815 echo
13241816 for ac_var in $ac_subst_vars
13251817 do
1326 eval ac_val=$`echo $ac_var`
1327 echo "$ac_var='"'"'$ac_val'"'"'"
1818 eval ac_val=\$$ac_var
1819 case $ac_val in
1820 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1821 esac
1822 echo "$ac_var='\''$ac_val'\''"
13281823 done | sort
13291824 echo
13301825
13311826 if test -n "$ac_subst_files"; then
13321827 cat <<\_ASBOX
1333 ## ------------- ##
1334 ## Output files. ##
1335 ## ------------- ##
1828 ## ------------------- ##
1829 ## File substitutions. ##
1830 ## ------------------- ##
13361831 _ASBOX
13371832 echo
13381833 for ac_var in $ac_subst_files
13391834 do
1340 eval ac_val=$`echo $ac_var`
1341 echo "$ac_var='"'"'$ac_val'"'"'"
1835 eval ac_val=\$$ac_var
1836 case $ac_val in
1837 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 esac
1839 echo "$ac_var='\''$ac_val'\''"
13421840 done | sort
13431841 echo
13441842 fi
13501848 ## ----------- ##
13511849 _ASBOX
13521850 echo
1353 sed "/^$/d" confdefs.h | sort
1851 cat confdefs.h
13541852 echo
13551853 fi
13561854 test "$ac_signal" != 0 &&
13571855 echo "$as_me: caught signal $ac_signal"
13581856 echo "$as_me: exit $exit_status"
13591857 } >&5
1360 rm -f core *.core &&
1361 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1858 rm -f core *.core core.conftest.* &&
1859 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
13621860 exit $exit_status
1363 ' 0
1861 ' 0
13641862 for ac_signal in 1 2 13 15; do
13651863 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
13661864 done
13671865 ac_signal=0
13681866
13691867 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1370 rm -rf conftest* confdefs.h
1371 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1372 echo >confdefs.h
1868 rm -f -r conftest* confdefs.h
13731869
13741870 # Predefined preprocessor variables.
13751871
14001896
14011897 # Let the site file select an alternate cache file if it wants to.
14021898 # Prefer explicitly selected file to automatically selected ones.
1403 if test -z "$CONFIG_SITE"; then
1404 if test "x$prefix" != xNONE; then
1405 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1406 else
1407 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1408 fi
1409 fi
1410 for ac_site_file in $CONFIG_SITE; do
1899 if test -n "$CONFIG_SITE"; then
1900 set x "$CONFIG_SITE"
1901 elif test "x$prefix" != xNONE; then
1902 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1903 else
1904 set x "$ac_default_prefix/share/config.site" \
1905 "$ac_default_prefix/etc/config.site"
1906 fi
1907 shift
1908 for ac_site_file
1909 do
14111910 if test -r "$ac_site_file"; then
14121911 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
14131912 echo "$as_me: loading site script $ac_site_file" >&6;}
14231922 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
14241923 echo "$as_me: loading cache $cache_file" >&6;}
14251924 case $cache_file in
1426 [\\/]* | ?:[\\/]* ) . $cache_file;;
1427 *) . ./$cache_file;;
1925 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1926 *) . "./$cache_file";;
14281927 esac
14291928 fi
14301929 else
14331932 >$cache_file
14341933 fi
14351934
1935 gt_needs="$gt_needs "
14361936 # Check that the precious variables saved in the cache have kept the same
14371937 # value.
14381938 ac_cache_corrupted=false
1439 for ac_var in `(set) 2>&1 |
1440 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1939 for ac_var in $ac_precious_vars; do
14411940 eval ac_old_set=\$ac_cv_env_${ac_var}_set
14421941 eval ac_new_set=\$ac_env_${ac_var}_set
1443 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1444 eval ac_new_val="\$ac_env_${ac_var}_value"
1942 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1943 eval ac_new_val=\$ac_env_${ac_var}_value
14451944 case $ac_old_set,$ac_new_set in
14461945 set,)
14471946 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
14661965 # Pass precious variables to config.status.
14671966 if test "$ac_new_set" = set; then
14681967 case $ac_new_val in
1469 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1470 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1968 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
14711969 *) ac_arg=$ac_var=$ac_new_val ;;
14721970 esac
14731971 case " $ac_configure_args " in
14841982 { (exit 1); exit 1; }; }
14851983 fi
14861984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
14872001 ac_ext=c
14882002 ac_cpp='$CPP $CPPFLAGS'
14892003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922006
14932007
14942008
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
15122009 PACKAGE=libhdate
15132010 LIBHDATE_MAJOR_VERSION=1
15142011 LIBHDATE_MINOR_VERSION=4
1515 LIBHDATE_MICRO_VERSION=8
2012 LIBHDATE_MICRO_VERSION=9
15162013
15172014 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
15182015 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
15192016
15202017
15212018
1522 am__api_version="1.4"
2019 am__api_version="1.9"
15232020 ac_aux_dir=
1524 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1525 if test -f $ac_dir/install-sh; then
2021 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2022 if test -f "$ac_dir/install-sh"; then
15262023 ac_aux_dir=$ac_dir
15272024 ac_install_sh="$ac_aux_dir/install-sh -c"
15282025 break
1529 elif test -f $ac_dir/install.sh; then
2026 elif test -f "$ac_dir/install.sh"; then
15302027 ac_aux_dir=$ac_dir
15312028 ac_install_sh="$ac_aux_dir/install.sh -c"
15322029 break
1533 elif test -f $ac_dir/shtool; then
2030 elif test -f "$ac_dir/shtool"; then
15342031 ac_aux_dir=$ac_dir
15352032 ac_install_sh="$ac_aux_dir/shtool install -c"
15362033 break
15372034 fi
15382035 done
15392036 if test -z "$ac_aux_dir"; then
1540 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1541 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2037 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2038 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
15422039 { (exit 1); exit 1; }; }
15432040 fi
1544 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1545 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1546 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2041
2042 # These three variables are undocumented and unsupported,
2043 # and are intended to be withdrawn in a future Autoconf release.
2044 # They can cause serious problems if a builder's source tree is in a directory
2045 # whose full name contains unusual characters.
2046 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2047 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2048 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2049
15472050
15482051 # Find a good install program. We prefer a C program (faster),
15492052 # so one script is as good as another. But avoid the broken or
15582061 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15592062 # OS/2's system install, which has a completely different semantic
15602063 # ./install, which can be erroneously created by make from ./install.sh.
1561 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1562 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2064 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2065 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
15632066 if test -z "$INSTALL"; then
15642067 if test "${ac_cv_path_install+set}" = set; then
15652068 echo $ECHO_N "(cached) $ECHO_C" >&6
15812084 # by default.
15822085 for ac_prog in ginstall scoinst install; do
15832086 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2087 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
15852088 if test $ac_prog = install &&
15862089 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15872090 # AIX install. It has an incompatible calling convention.
16002103 ;;
16012104 esac
16022105 done
2106 IFS=$as_save_IFS
16032107
16042108
16052109 fi
16062110 if test "${ac_cv_path_install+set}" = set; then
16072111 INSTALL=$ac_cv_path_install
16082112 else
1609 # As a last resort, use the slow shell script. We don't cache a
1610 # path for INSTALL within a source directory, because that will
2113 # As a last resort, use the slow shell script. Don't cache a
2114 # value for INSTALL within a source directory, because that will
16112115 # break other packages using the cache if that directory is
1612 # removed, or if the path is relative.
2116 # removed, or if the value is a relative name.
16132117 INSTALL=$ac_install_sh
16142118 fi
16152119 fi
1616 echo "$as_me:$LINENO: result: $INSTALL" >&5
1617 echo "${ECHO_T}$INSTALL" >&6
2120 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2121 echo "${ECHO_T}$INSTALL" >&6; }
16182122
16192123 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16202124 # It thinks the first close brace ends the variable substitution.
16242128
16252129 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16262130
1627 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1628 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2131 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2132 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
16292133 # Just in case
16302134 sleep 1
1631 echo timestamp > conftestfile
2135 echo timestamp > conftest.file
16322136 # Do `set' in a subshell so we don't clobber the current shell's
16332137 # arguments. Must try -L first in case configure is actually a
16342138 # symlink; some systems play weird games with the mod time of symlinks
16352139 # (eg FreeBSD returns the mod time of the symlink's containing
16362140 # directory).
16372141 if (
1638 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2142 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
16392143 if test "$*" = "X"; then
16402144 # -L didn't work.
1641 set X `ls -t $srcdir/configure conftestfile`
2145 set X `ls -t $srcdir/configure conftest.file`
16422146 fi
1643 if test "$*" != "X $srcdir/configure conftestfile" \
1644 && test "$*" != "X conftestfile $srcdir/configure"; then
2147 rm -f conftest.file
2148 if test "$*" != "X $srcdir/configure conftest.file" \
2149 && test "$*" != "X conftest.file $srcdir/configure"; then
16452150
16462151 # If neither matched, then we have a broken ls. This can happen
16472152 # if, for instance, CONFIG_SHELL is bash and it inherits a
16542159 { (exit 1); exit 1; }; }
16552160 fi
16562161
1657 test "$2" = conftestfile
2162 test "$2" = conftest.file
16582163 )
16592164 then
16602165 # Ok.
16662171 Check your system clock" >&2;}
16672172 { (exit 1); exit 1; }; }
16682173 fi
1669 rm -f conftest*
1670 echo "$as_me:$LINENO: result: yes" >&5
1671 echo "${ECHO_T}yes" >&6
2174 { echo "$as_me:$LINENO: result: yes" >&5
2175 echo "${ECHO_T}yes" >&6; }
16722176 test "$program_prefix" != NONE &&
1673 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2177 program_transform_name="s&^&$program_prefix&;$program_transform_name"
16742178 # Use a double $ so make ignores it.
16752179 test "$program_suffix" != NONE &&
1676 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2180 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
16772181 # Double any \ or $. echo might interpret backslashes.
16782182 # By default was `s,x,x', remove it if useless.
16792183 cat <<\_ACEOF >conftest.sed
16802184 s/[\\$]/&&/g;s/;s,x,x,$//
16812185 _ACEOF
16822186 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1683 rm conftest.sed
1684
1685 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1687 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1688 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2187 rm -f conftest.sed
2188
2189 # expand $ac_aux_dir to an absolute path
2190 am_aux_dir=`cd $ac_aux_dir && pwd`
2191
2192 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2193 # Use eval to expand $SHELL
2194 if eval "$MISSING --run true"; then
2195 am_missing_run="$MISSING --run "
2196 else
2197 am_missing_run=
2198 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2199 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2200 fi
2201
2202 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2203 # We used to keeping the `.' as first argument, in order to
2204 # allow $(mkdir_p) to be used without argument. As in
2205 # $(mkdir_p) $(somedir)
2206 # where $(somedir) is conditionally defined. However this is wrong
2207 # for two reasons:
2208 # 1. if the package is installed by a user who cannot write `.'
2209 # make install will fail,
2210 # 2. the above comment should most certainly read
2211 # $(mkdir_p) $(DESTDIR)$(somedir)
2212 # so it does not work when $(somedir) is undefined and
2213 # $(DESTDIR) is not.
2214 # To support the latter case, we have to write
2215 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2216 # so the `.' trick is pointless.
2217 mkdir_p='mkdir -p --'
2218 else
2219 # On NextStep and OpenStep, the `mkdir' command does not
2220 # recognize any option. It will interpret all options as
2221 # directories to create, and then abort because `.' already
2222 # exists.
2223 for d in ./-p ./--version;
2224 do
2225 test -d $d && rmdir $d
2226 done
2227 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2228 if test -f "$ac_aux_dir/mkinstalldirs"; then
2229 mkdir_p='$(mkinstalldirs)'
2230 else
2231 mkdir_p='$(install_sh) -d'
2232 fi
2233 fi
2234
2235 for ac_prog in gawk mawk nawk awk
2236 do
2237 # Extract the first word of "$ac_prog", so it can be a program name with args.
2238 set dummy $ac_prog; ac_word=$2
2239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2241 if test "${ac_cv_prog_AWK+set}" = set; then
16892242 echo $ECHO_N "(cached) $ECHO_C" >&6
16902243 else
2244 if test -n "$AWK"; then
2245 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2246 else
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 for as_dir in $PATH
2249 do
2250 IFS=$as_save_IFS
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254 ac_cv_prog_AWK="$ac_prog"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 break 2
2257 fi
2258 done
2259 done
2260 IFS=$as_save_IFS
2261
2262 fi
2263 fi
2264 AWK=$ac_cv_prog_AWK
2265 if test -n "$AWK"; then
2266 { echo "$as_me:$LINENO: result: $AWK" >&5
2267 echo "${ECHO_T}$AWK" >&6; }
2268 else
2269 { echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6; }
2271 fi
2272
2273
2274 test -n "$AWK" && break
2275 done
2276
2277 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2278 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2279 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2280 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 else
16912283 cat >conftest.make <<\_ACEOF
2284 SHELL = /bin/sh
16922285 all:
1693 @echo 'ac_maketemp="$(MAKE)"'
2286 @echo '@@@%%%=$(MAKE)=@@@%%%'
16942287 _ACEOF
16952288 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1696 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1697 if test -n "$ac_maketemp"; then
1698 eval ac_cv_prog_make_${ac_make}_set=yes
1699 else
1700 eval ac_cv_prog_make_${ac_make}_set=no
1701 fi
2289 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2290 *@@@%%%=?*=@@@%%%*)
2291 eval ac_cv_prog_make_${ac_make}_set=yes;;
2292 *)
2293 eval ac_cv_prog_make_${ac_make}_set=no;;
2294 esac
17022295 rm -f conftest.make
17032296 fi
1704 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1705 echo "$as_me:$LINENO: result: yes" >&5
1706 echo "${ECHO_T}yes" >&6
2297 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2298 { echo "$as_me:$LINENO: result: yes" >&5
2299 echo "${ECHO_T}yes" >&6; }
17072300 SET_MAKE=
17082301 else
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
17112304 SET_MAKE="MAKE=${MAKE-make}"
17122305 fi
17132306
1714
1715 PACKAGE=$PACKAGE
1716
1717 VERSION=$VERSION
1718
1719 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2307 rm -rf .tst 2>/dev/null
2308 mkdir .tst 2>/dev/null
2309 if test -d .tst; then
2310 am__leading_dot=.
2311 else
2312 am__leading_dot=_
2313 fi
2314 rmdir .tst 2>/dev/null
2315
2316 # test to see if srcdir already configured
2317 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2318 test -f $srcdir/config.status; then
17202319 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
17212320 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
17222321 { (exit 1); exit 1; }; }
17232322 fi
17242323
2324 # test whether we have cygpath
2325 if test -z "$CYGPATH_W"; then
2326 if (cygpath --version) >/dev/null 2>/dev/null; then
2327 CYGPATH_W='cygpath -w'
2328 else
2329 CYGPATH_W=echo
2330 fi
2331 fi
2332
2333
2334 # Define the identity of the package.
2335 PACKAGE=$PACKAGE
2336 VERSION=$VERSION
2337
2338
17252339 cat >>confdefs.h <<_ACEOF
17262340 #define PACKAGE "$PACKAGE"
17272341 _ACEOF
17312345 #define VERSION "$VERSION"
17322346 _ACEOF
17332347
1734
1735
1736 missing_dir=`cd $ac_aux_dir && pwd`
1737 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1738 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1739 # Run test in a subshell; some versions of sh will print an error if
1740 # an executable is not found, even if stderr is redirected.
1741 # Redirect stdin to placate older versions of autoconf. Sigh.
1742 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1743 ACLOCAL=aclocal-${am__api_version}
1744 echo "$as_me:$LINENO: result: found" >&5
1745 echo "${ECHO_T}found" >&6
1746 else
1747 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1748 echo "$as_me:$LINENO: result: missing" >&5
1749 echo "${ECHO_T}missing" >&6
1750 fi
1751
1752 echo "$as_me:$LINENO: checking for working autoconf" >&5
1753 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1754 # Run test in a subshell; some versions of sh will print an error if
1755 # an executable is not found, even if stderr is redirected.
1756 # Redirect stdin to placate older versions of autoconf. Sigh.
1757 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1758 AUTOCONF=autoconf
1759 echo "$as_me:$LINENO: result: found" >&5
1760 echo "${ECHO_T}found" >&6
1761 else
1762 AUTOCONF="$missing_dir/missing autoconf"
1763 echo "$as_me:$LINENO: result: missing" >&5
1764 echo "${ECHO_T}missing" >&6
1765 fi
1766
1767 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1768 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1769 # Run test in a subshell; some versions of sh will print an error if
1770 # an executable is not found, even if stderr is redirected.
1771 # Redirect stdin to placate older versions of autoconf. Sigh.
1772 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1773 AUTOMAKE=automake-${am__api_version}
1774 echo "$as_me:$LINENO: result: found" >&5
1775 echo "${ECHO_T}found" >&6
1776 else
1777 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1778 echo "$as_me:$LINENO: result: missing" >&5
1779 echo "${ECHO_T}missing" >&6
1780 fi
1781
1782 echo "$as_me:$LINENO: checking for working autoheader" >&5
1783 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1784 # Run test in a subshell; some versions of sh will print an error if
1785 # an executable is not found, even if stderr is redirected.
1786 # Redirect stdin to placate older versions of autoconf. Sigh.
1787 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1788 AUTOHEADER=autoheader
1789 echo "$as_me:$LINENO: result: found" >&5
1790 echo "${ECHO_T}found" >&6
1791 else
1792 AUTOHEADER="$missing_dir/missing autoheader"
1793 echo "$as_me:$LINENO: result: missing" >&5
1794 echo "${ECHO_T}missing" >&6
1795 fi
1796
1797 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1798 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1799 # Run test in a subshell; some versions of sh will print an error if
1800 # an executable is not found, even if stderr is redirected.
1801 # Redirect stdin to placate older versions of autoconf. Sigh.
1802 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1803 MAKEINFO=makeinfo
1804 echo "$as_me:$LINENO: result: found" >&5
1805 echo "${ECHO_T}found" >&6
1806 else
1807 MAKEINFO="$missing_dir/missing makeinfo"
1808 echo "$as_me:$LINENO: result: missing" >&5
1809 echo "${ECHO_T}missing" >&6
1810 fi
1811
1812
1813 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1814 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1815 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2348 # Some tools Automake needs.
2349
2350 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2351
2352
2353 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2354
2355
2356 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2357
2358
2359 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2360
2361
2362 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2363
2364 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2365
2366 # Installed binaries are usually stripped using `strip' when the user
2367 # run `make install-strip'. However `strip' might not be the right
2368 # tool to use in cross-compilation environments, therefore Automake
2369 # will honor the `STRIP' environment variable to overrule this program.
2370 if test "$cross_compiling" != no; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2373 set dummy ${ac_tool_prefix}strip; ac_word=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_STRIP+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 else
2379 if test -n "$STRIP"; then
2380 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2384 do
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 break 2
2392 fi
2393 done
2394 done
2395 IFS=$as_save_IFS
2396
2397 fi
2398 fi
2399 STRIP=$ac_cv_prog_STRIP
2400 if test -n "$STRIP"; then
2401 { echo "$as_me:$LINENO: result: $STRIP" >&5
2402 echo "${ECHO_T}$STRIP" >&6; }
2403 else
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2406 fi
2407
2408
2409 fi
2410 if test -z "$ac_cv_prog_STRIP"; then
2411 ac_ct_STRIP=$STRIP
2412 # Extract the first word of "strip", so it can be a program name with args.
2413 set dummy strip; ac_word=$2
2414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 else
2419 if test -n "$ac_ct_STRIP"; then
2420 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2421 else
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 for as_dir in $PATH
2424 do
2425 IFS=$as_save_IFS
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_ac_ct_STRIP="strip"
2430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 break 2
2432 fi
2433 done
2434 done
2435 IFS=$as_save_IFS
2436
2437 fi
2438 fi
2439 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2440 if test -n "$ac_ct_STRIP"; then
2441 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2442 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2443 else
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2446 fi
2447
2448 if test "x$ac_ct_STRIP" = x; then
2449 STRIP=":"
2450 else
2451 case $cross_compiling:$ac_tool_warned in
2452 yes:)
2453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2454 whose name does not start with the host triplet. If you think this
2455 configuration is useful to you, please write to autoconf@gnu.org." >&5
2456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2457 whose name does not start with the host triplet. If you think this
2458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2459 ac_tool_warned=yes ;;
2460 esac
2461 STRIP=$ac_ct_STRIP
2462 fi
2463 else
2464 STRIP="$ac_cv_prog_STRIP"
2465 fi
2466
2467 fi
2468 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2469
2470 # We need awk for the "check" target. The system "awk" is bad on
2471 # some platforms.
2472 # Always define AMTAR for backward compatibility.
2473
2474 AMTAR=${AMTAR-"${am_missing_run}tar"}
2475
2476 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2477
2478
2479
2480
2481
2482 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2483 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2484 # Check whether --enable-maintainer-mode was given.
18162485 if test "${enable_maintainer_mode+set}" = set; then
1817 enableval="$enable_maintainer_mode"
1818 USE_MAINTAINER_MODE=$enableval
2486 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18192487 else
18202488 USE_MAINTAINER_MODE=no
1821 fi;
1822 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1823 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2489 fi
2490
2491 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2492 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
18242493
18252494
18262495 if test $USE_MAINTAINER_MODE = yes; then
18302499 MAINTAINER_MODE_TRUE='#'
18312500 MAINTAINER_MODE_FALSE=
18322501 fi
2502
18332503 MAINT=$MAINTAINER_MODE_TRUE
2504
2505
2506
2507 DEPDIR="${am__leading_dot}deps"
2508
2509 ac_config_commands="$ac_config_commands depfiles"
2510
2511
2512 am_make=${MAKE-make}
2513 cat > confinc << 'END'
2514 am__doit:
2515 @echo done
2516 .PHONY: am__doit
2517 END
2518 # If we don't find an include directive, just comment out the code.
2519 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2520 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2521 am__include="#"
2522 am__quote=
2523 _am_result=none
2524 # First try GNU make style include.
2525 echo "include confinc" > confmf
2526 # We grep out `Entering directory' and `Leaving directory'
2527 # messages which can occur if `w' ends up in MAKEFLAGS.
2528 # In particular we don't look at `^make:' because GNU make might
2529 # be invoked under some other name (usually "gmake"), in which
2530 # case it prints its new name instead of `make'.
2531 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2532 am__include=include
2533 am__quote=
2534 _am_result=GNU
2535 fi
2536 # Now try BSD make style include.
2537 if test "$am__include" = "#"; then
2538 echo '.include "confinc"' > confmf
2539 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2540 am__include=.include
2541 am__quote="\""
2542 _am_result=BSD
2543 fi
2544 fi
2545
2546
2547 { echo "$as_me:$LINENO: result: $_am_result" >&5
2548 echo "${ECHO_T}$_am_result" >&6; }
2549 rm -f confinc confmf
2550
2551 # Check whether --enable-dependency-tracking was given.
2552 if test "${enable_dependency_tracking+set}" = set; then
2553 enableval=$enable_dependency_tracking;
2554 fi
2555
2556 if test "x$enable_dependency_tracking" != xno; then
2557 am_depcomp="$ac_aux_dir/depcomp"
2558 AMDEPBACKSLASH='\'
2559 fi
2560
2561
2562 if test "x$enable_dependency_tracking" != xno; then
2563 AMDEP_TRUE=
2564 AMDEP_FALSE='#'
2565 else
2566 AMDEP_TRUE='#'
2567 AMDEP_FALSE=
2568 fi
18342569
18352570
18362571
18422577 if test -n "$ac_tool_prefix"; then
18432578 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18442579 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18472582 if test "${ac_cv_prog_CC+set}" = set; then
18482583 echo $ECHO_N "(cached) $ECHO_C" >&6
18492584 else
18562591 IFS=$as_save_IFS
18572592 test -z "$as_dir" && as_dir=.
18582593 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18602595 ac_cv_prog_CC="${ac_tool_prefix}gcc"
18612596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18622597 break 2
18632598 fi
18642599 done
18652600 done
2601 IFS=$as_save_IFS
18662602
18672603 fi
18682604 fi
18692605 CC=$ac_cv_prog_CC
18702606 if test -n "$CC"; then
1871 echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6
1873 else
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1876 fi
2607 { echo "$as_me:$LINENO: result: $CC" >&5
2608 echo "${ECHO_T}$CC" >&6; }
2609 else
2610 { echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6; }
2612 fi
2613
18772614
18782615 fi
18792616 if test -z "$ac_cv_prog_CC"; then
18802617 ac_ct_CC=$CC
18812618 # Extract the first word of "gcc", so it can be a program name with args.
18822619 set dummy gcc; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18852622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18862623 echo $ECHO_N "(cached) $ECHO_C" >&6
18872624 else
18942631 IFS=$as_save_IFS
18952632 test -z "$as_dir" && as_dir=.
18962633 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18982635 ac_cv_prog_ac_ct_CC="gcc"
18992636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19002637 break 2
19012638 fi
19022639 done
19032640 done
2641 IFS=$as_save_IFS
19042642
19052643 fi
19062644 fi
19072645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19082646 if test -n "$ac_ct_CC"; then
1909 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1910 echo "${ECHO_T}$ac_ct_CC" >&6
1911 else
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1914 fi
1915
1916 CC=$ac_ct_CC
2647 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2648 echo "${ECHO_T}$ac_ct_CC" >&6; }
2649 else
2650 { echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6; }
2652 fi
2653
2654 if test "x$ac_ct_CC" = x; then
2655 CC=""
2656 else
2657 case $cross_compiling:$ac_tool_warned in
2658 yes:)
2659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2660 whose name does not start with the host triplet. If you think this
2661 configuration is useful to you, please write to autoconf@gnu.org." >&5
2662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2663 whose name does not start with the host triplet. If you think this
2664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2665 ac_tool_warned=yes ;;
2666 esac
2667 CC=$ac_ct_CC
2668 fi
19172669 else
19182670 CC="$ac_cv_prog_CC"
19192671 fi
19202672
19212673 if test -z "$CC"; then
1922 if test -n "$ac_tool_prefix"; then
1923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2674 if test -n "$ac_tool_prefix"; then
2675 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19242676 set dummy ${ac_tool_prefix}cc; ac_word=$2
1925 echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19272679 if test "${ac_cv_prog_CC+set}" = set; then
19282680 echo $ECHO_N "(cached) $ECHO_C" >&6
19292681 else
19362688 IFS=$as_save_IFS
19372689 test -z "$as_dir" && as_dir=.
19382690 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19402692 ac_cv_prog_CC="${ac_tool_prefix}cc"
19412693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19422694 break 2
19432695 fi
19442696 done
19452697 done
2698 IFS=$as_save_IFS
19462699
19472700 fi
19482701 fi
19492702 CC=$ac_cv_prog_CC
19502703 if test -n "$CC"; then
1951 echo "$as_me:$LINENO: result: $CC" >&5
1952 echo "${ECHO_T}$CC" >&6
1953 else
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1956 fi
1957
1958 fi
1959 if test -z "$ac_cv_prog_CC"; then
1960 ac_ct_CC=$CC
1961 # Extract the first word of "cc", so it can be a program name with args.
1962 set dummy cc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 else
1968 if test -n "$ac_ct_CC"; then
1969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1970 else
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 for as_dir in $PATH
1973 do
1974 IFS=$as_save_IFS
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_ac_ct_CC="cc"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 break 2
2704 { echo "$as_me:$LINENO: result: $CC" >&5
2705 echo "${ECHO_T}$CC" >&6; }
2706 else
2707 { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2709 fi
2710
2711
19812712 fi
1982 done
1983 done
1984
1985 fi
1986 fi
1987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1988 if test -n "$ac_ct_CC"; then
1989 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1990 echo "${ECHO_T}$ac_ct_CC" >&6
1991 else
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994 fi
1995
1996 CC=$ac_ct_CC
1997 else
1998 CC="$ac_cv_prog_CC"
1999 fi
2000
20012713 fi
20022714 if test -z "$CC"; then
20032715 # Extract the first word of "cc", so it can be a program name with args.
20042716 set dummy cc; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20072719 if test "${ac_cv_prog_CC+set}" = set; then
20082720 echo $ECHO_N "(cached) $ECHO_C" >&6
20092721 else
20172729 IFS=$as_save_IFS
20182730 test -z "$as_dir" && as_dir=.
20192731 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20212733 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20222734 ac_prog_rejected=yes
20232735 continue
20282740 fi
20292741 done
20302742 done
2743 IFS=$as_save_IFS
20312744
20322745 if test $ac_prog_rejected = yes; then
20332746 # We found a bogon in the path, so make sure we never use it.
20452758 fi
20462759 CC=$ac_cv_prog_CC
20472760 if test -n "$CC"; then
2048 echo "$as_me:$LINENO: result: $CC" >&5
2049 echo "${ECHO_T}$CC" >&6
2050 else
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2053 fi
2761 { echo "$as_me:$LINENO: result: $CC" >&5
2762 echo "${ECHO_T}$CC" >&6; }
2763 else
2764 { echo "$as_me:$LINENO: result: no" >&5
2765 echo "${ECHO_T}no" >&6; }
2766 fi
2767
20542768
20552769 fi
20562770 if test -z "$CC"; then
20572771 if test -n "$ac_tool_prefix"; then
2058 for ac_prog in cl
2772 for ac_prog in cl.exe
20592773 do
20602774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20612775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20642778 if test "${ac_cv_prog_CC+set}" = set; then
20652779 echo $ECHO_N "(cached) $ECHO_C" >&6
20662780 else
20732787 IFS=$as_save_IFS
20742788 test -z "$as_dir" && as_dir=.
20752789 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20772791 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20782792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20792793 break 2
20802794 fi
20812795 done
20822796 done
2797 IFS=$as_save_IFS
20832798
20842799 fi
20852800 fi
20862801 CC=$ac_cv_prog_CC
20872802 if test -n "$CC"; then
2088 echo "$as_me:$LINENO: result: $CC" >&5
2089 echo "${ECHO_T}$CC" >&6
2090 else
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2093 fi
2803 { echo "$as_me:$LINENO: result: $CC" >&5
2804 echo "${ECHO_T}$CC" >&6; }
2805 else
2806 { echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6; }
2808 fi
2809
20942810
20952811 test -n "$CC" && break
20962812 done
20972813 fi
20982814 if test -z "$CC"; then
20992815 ac_ct_CC=$CC
2100 for ac_prog in cl
2816 for ac_prog in cl.exe
21012817 do
21022818 # Extract the first word of "$ac_prog", so it can be a program name with args.
21032819 set dummy $ac_prog; ac_word=$2
2104 echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21062822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21072823 echo $ECHO_N "(cached) $ECHO_C" >&6
21082824 else
21152831 IFS=$as_save_IFS
21162832 test -z "$as_dir" && as_dir=.
21172833 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21192835 ac_cv_prog_ac_ct_CC="$ac_prog"
21202836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21212837 break 2
21222838 fi
21232839 done
21242840 done
2841 IFS=$as_save_IFS
21252842
21262843 fi
21272844 fi
21282845 ac_ct_CC=$ac_cv_prog_ac_ct_CC
21292846 if test -n "$ac_ct_CC"; then
2130 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2131 echo "${ECHO_T}$ac_ct_CC" >&6
2132 else
2133 echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6
2135 fi
2847 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2848 echo "${ECHO_T}$ac_ct_CC" >&6; }
2849 else
2850 { echo "$as_me:$LINENO: result: no" >&5
2851 echo "${ECHO_T}no" >&6; }
2852 fi
2853
21362854
21372855 test -n "$ac_ct_CC" && break
21382856 done
21392857
2140 CC=$ac_ct_CC
2858 if test "x$ac_ct_CC" = x; then
2859 CC=""
2860 else
2861 case $cross_compiling:$ac_tool_warned in
2862 yes:)
2863 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2864 whose name does not start with the host triplet. If you think this
2865 configuration is useful to you, please write to autoconf@gnu.org." >&5
2866 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2867 whose name does not start with the host triplet. If you think this
2868 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2869 ac_tool_warned=yes ;;
2870 esac
2871 CC=$ac_ct_CC
2872 fi
21412873 fi
21422874
21432875 fi
21502882 { (exit 1); exit 1; }; }
21512883
21522884 # Provide some information about the compiler.
2153 echo "$as_me:$LINENO:" \
2154 "checking for C compiler version" >&5
2885 echo "$as_me:$LINENO: checking for C compiler version" >&5
21552886 ac_compiler=`set X $ac_compile; echo $2`
2156 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2157 (eval $ac_compiler --version </dev/null >&5) 2>&5
2887 { (ac_try="$ac_compiler --version >&5"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_compiler --version >&5") 2>&5
21582894 ac_status=$?
21592895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602896 (exit $ac_status); }
2161 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2162 (eval $ac_compiler -v </dev/null >&5) 2>&5
2897 { (ac_try="$ac_compiler -v >&5"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compiler -v >&5") 2>&5
21632904 ac_status=$?
21642905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652906 (exit $ac_status); }
2166 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2167 (eval $ac_compiler -V </dev/null >&5) 2>&5
2907 { (ac_try="$ac_compiler -V >&5"
2908 case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911 esac
2912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compiler -V >&5") 2>&5
21682914 ac_status=$?
21692915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702916 (exit $ac_status); }
21892935 # Try to create an executable without -o first, disregard a.out.
21902936 # It will help us diagnose broken compilers, and finding out an intuition
21912937 # of exeext.
2192 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2938 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2939 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
21942940 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2195 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2196 (eval $ac_link_default) 2>&5
2941 #
2942 # List of possible output files, starting from the most likely.
2943 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2944 # only as a last resort. b.out is created by i960 compilers.
2945 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2946 #
2947 # The IRIX 6 linker writes into existing files which may not be
2948 # executable, retaining their permissions. Remove them first so a
2949 # subsequent execution test works.
2950 ac_rmfiles=
2951 for ac_file in $ac_files
2952 do
2953 case $ac_file in
2954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2956 esac
2957 done
2958 rm -f $ac_rmfiles
2959
2960 if { (ac_try="$ac_link_default"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_link_default") 2>&5
21972967 ac_status=$?
21982968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992969 (exit $ac_status); }; then
2200 # Find the output, starting from the most likely. This scheme is
2201 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2202 # resort.
2203
2204 # Be careful to initialize this variable, since it used to be cached.
2205 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2206 ac_cv_exeext=
2207 # b.out is created by i960 compilers.
2208 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2973 # so that the user can short-circuit this test for compilers unknown to
2974 # Autoconf.
2975 for ac_file in $ac_files ''
22092976 do
22102977 test -f "$ac_file" || continue
22112978 case $ac_file in
2212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2213 ;;
2214 conftest.$ac_ext )
2215 # This is the source file.
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
22162980 ;;
22172981 [ab].out )
22182982 # We found the default executable, but exeext='' is most
22192983 # certainly right.
22202984 break;;
22212985 *.* )
2222 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 # FIXME: I believe we export ac_cv_exeext for Libtool,
2224 # but it would be cool to find out if it's true. Does anybody
2225 # maintain Libtool? --akim.
2226 export ac_cv_exeext
2986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2987 then :; else
2988 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989 fi
2990 # We set ac_cv_exeext here because the later test for it is not
2991 # safe: cross compilers may not add the suffix if given an `-o'
2992 # argument, so we may need to know it at that point already.
2993 # Even if this section looks crufty: it has the advantage of
2994 # actually working.
22272995 break;;
22282996 * )
22292997 break;;
22302998 esac
22312999 done
2232 else
3000 test "$ac_cv_exeext" = no && ac_cv_exeext=
3001
3002 else
3003 ac_file=''
3004 fi
3005
3006 { echo "$as_me:$LINENO: result: $ac_file" >&5
3007 echo "${ECHO_T}$ac_file" >&6; }
3008 if test -z "$ac_file"; then
22333009 echo "$as_me: failed program was:" >&5
22343010 sed 's/^/| /' conftest.$ac_ext >&5
22353011
22413017 fi
22423018
22433019 ac_exeext=$ac_cv_exeext
2244 echo "$as_me:$LINENO: result: $ac_file" >&5
2245 echo "${ECHO_T}$ac_file" >&6
2246
2247 # Check the compiler produces executables we can run. If not, either
3020
3021 # Check that the compiler produces executables we can run. If not, either
22483022 # the compiler is broken, or we cross compile.
2249 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2250 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3023 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3024 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
22513025 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
22523026 # If not cross compiling, check that we can run a simple program.
22533027 if test "$cross_compiling" != yes; then
22543028 if { ac_try='./$ac_file'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 (eval $ac_try) 2>&5
3029 { (case "(($ac_try" in
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3032 esac
3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3034 (eval "$ac_try") 2>&5
22573035 ac_status=$?
22583036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593037 (exit $ac_status); }; }; then
22723050 fi
22733051 fi
22743052 fi
2275 echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6
3053 { echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6; }
22773055
22783056 rm -f a.out a.exe conftest$ac_cv_exeext b.out
22793057 ac_clean_files=$ac_clean_files_save
2280 # Check the compiler produces executables we can run. If not, either
3058 # Check that the compiler produces executables we can run. If not, either
22813059 # the compiler is broken, or we cross compile.
2282 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2283 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2284 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2285 echo "${ECHO_T}$cross_compiling" >&6
2286
2287 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2288 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2290 (eval $ac_link) 2>&5
3060 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3061 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3062 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3063 echo "${ECHO_T}$cross_compiling" >&6; }
3064
3065 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3066 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3067 if { (ac_try="$ac_link"
3068 case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071 esac
3072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_link") 2>&5
22913074 ac_status=$?
22923075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933076 (exit $ac_status); }; then
22983081 for ac_file in conftest.exe conftest conftest.*; do
22993082 test -f "$ac_file" || continue
23003083 case $ac_file in
2301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
23023085 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2303 export ac_cv_exeext
23043086 break;;
23053087 * ) break;;
23063088 esac
23143096 fi
23153097
23163098 rm -f conftest$ac_cv_exeext
2317 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2318 echo "${ECHO_T}$ac_cv_exeext" >&6
3099 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3100 echo "${ECHO_T}$ac_cv_exeext" >&6; }
23193101
23203102 rm -f conftest.$ac_ext
23213103 EXEEXT=$ac_cv_exeext
23223104 ac_exeext=$EXEEXT
2323 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2324 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3105 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3106 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
23253107 if test "${ac_cv_objext+set}" = set; then
23263108 echo $ECHO_N "(cached) $ECHO_C" >&6
23273109 else
23413123 }
23423124 _ACEOF
23433125 rm -f conftest.o conftest.obj
2344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2345 (eval $ac_compile) 2>&5
3126 if { (ac_try="$ac_compile"
3127 case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3130 esac
3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>&5
23463133 ac_status=$?
23473134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483135 (exit $ac_status); }; then
2349 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3136 for ac_file in conftest.o conftest.obj conftest.*; do
3137 test -f "$ac_file" || continue;
23503138 case $ac_file in
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
23523140 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
23533141 break;;
23543142 esac
23663154
23673155 rm -f conftest.$ac_cv_objext conftest.$ac_ext
23683156 fi
2369 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2370 echo "${ECHO_T}$ac_cv_objext" >&6
3157 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3158 echo "${ECHO_T}$ac_cv_objext" >&6; }
23713159 OBJEXT=$ac_cv_objext
23723160 ac_objext=$OBJEXT
2373 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2374 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3161 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3162 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
23753163 if test "${ac_cv_c_compiler_gnu+set}" = set; then
23763164 echo $ECHO_N "(cached) $ECHO_C" >&6
23773165 else
23943182 }
23953183 _ACEOF
23963184 rm -f conftest.$ac_objext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2398 (eval $ac_compile) 2>conftest.er1
3185 if { (ac_try="$ac_compile"
3186 case "(($ac_try" in
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3189 esac
3190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3191 (eval "$ac_compile") 2>conftest.er1
23993192 ac_status=$?
24003193 grep -v '^ *+' conftest.er1 >conftest.err
24013194 rm -f conftest.er1
24023195 cat conftest.err >&5
24033196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 (eval $ac_try) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; } &&
2411 { ac_try='test -s conftest.$ac_objext'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 (eval $ac_try) 2>&5
2414 ac_status=$?
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; }; then
3197 (exit $ac_status); } && {
3198 test -z "$ac_c_werror_flag" ||
3199 test ! -s conftest.err
3200 } && test -s conftest.$ac_objext; then
24173201 ac_compiler_gnu=yes
24183202 else
24193203 echo "$as_me: failed program was:" >&5
24203204 sed 's/^/| /' conftest.$ac_ext >&5
24213205
2422 ac_compiler_gnu=no
2423 fi
2424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_compiler_gnu=no
3207 fi
3208
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253210 ac_cv_c_compiler_gnu=$ac_compiler_gnu
24263211
24273212 fi
2428 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2429 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3213 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3214 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
24303215 GCC=`test $ac_compiler_gnu = yes && echo yes`
24313216 ac_test_CFLAGS=${CFLAGS+set}
24323217 ac_save_CFLAGS=$CFLAGS
2433 CFLAGS="-g"
2434 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3218 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
24363220 if test "${ac_cv_prog_cc_g+set}" = set; then
24373221 echo $ECHO_N "(cached) $ECHO_C" >&6
24383222 else
2439 cat >conftest.$ac_ext <<_ACEOF
3223 ac_save_c_werror_flag=$ac_c_werror_flag
3224 ac_c_werror_flag=yes
3225 ac_cv_prog_cc_g=no
3226 CFLAGS="-g"
3227 cat >conftest.$ac_ext <<_ACEOF
24403228 /* confdefs.h. */
24413229 _ACEOF
24423230 cat confdefs.h >>conftest.$ac_ext
24523240 }
24533241 _ACEOF
24543242 rm -f conftest.$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
3243 if { (ac_try="$ac_compile"
3244 case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3247 esac
3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_compile") 2>conftest.er1
24573250 ac_status=$?
24583251 grep -v '^ *+' conftest.er1 >conftest.err
24593252 rm -f conftest.er1
24603253 cat conftest.err >&5
24613254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 (eval $ac_try) 2>&5
2466 ac_status=$?
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 (eval $ac_try) 2>&5
2472 ac_status=$?
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
3255 (exit $ac_status); } && {
3256 test -z "$ac_c_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest.$ac_objext; then
24753259 ac_cv_prog_cc_g=yes
24763260 else
24773261 echo "$as_me: failed program was:" >&5
24783262 sed 's/^/| /' conftest.$ac_ext >&5
24793263
2480 ac_cv_prog_cc_g=no
2481 fi
2482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2483 fi
2484 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3264 CFLAGS=""
3265 cat >conftest.$ac_ext <<_ACEOF
3266 /* confdefs.h. */
3267 _ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3271
3272 int
3273 main ()
3274 {
3275
3276 ;
3277 return 0;
3278 }
3279 _ACEOF
3280 rm -f conftest.$ac_objext
3281 if { (ac_try="$ac_compile"
3282 case "(($ac_try" in
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3285 esac
3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287 (eval "$ac_compile") 2>conftest.er1
3288 ac_status=$?
3289 grep -v '^ *+' conftest.er1 >conftest.err
3290 rm -f conftest.er1
3291 cat conftest.err >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } && {
3294 test -z "$ac_c_werror_flag" ||
3295 test ! -s conftest.err
3296 } && test -s conftest.$ac_objext; then
3297 :
3298 else
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3301
3302 ac_c_werror_flag=$ac_save_c_werror_flag
3303 CFLAGS="-g"
3304 cat >conftest.$ac_ext <<_ACEOF
3305 /* confdefs.h. */
3306 _ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3310
3311 int
3312 main ()
3313 {
3314
3315 ;
3316 return 0;
3317 }
3318 _ACEOF
3319 rm -f conftest.$ac_objext
3320 if { (ac_try="$ac_compile"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compile") 2>conftest.er1
3327 ac_status=$?
3328 grep -v '^ *+' conftest.er1 >conftest.err
3329 rm -f conftest.er1
3330 cat conftest.err >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); } && {
3333 test -z "$ac_c_werror_flag" ||
3334 test ! -s conftest.err
3335 } && test -s conftest.$ac_objext; then
3336 ac_cv_prog_cc_g=yes
3337 else
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3340
3341
3342 fi
3343
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 fi
3346
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 fi
3349
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 ac_c_werror_flag=$ac_save_c_werror_flag
3352 fi
3353 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3354 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
24863355 if test "$ac_test_CFLAGS" = set; then
24873356 CFLAGS=$ac_save_CFLAGS
24883357 elif test $ac_cv_prog_cc_g = yes; then
24983367 CFLAGS=
24993368 fi
25003369 fi
2501 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2502 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2503 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3370 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3371 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3372 if test "${ac_cv_prog_cc_c89+set}" = set; then
25043373 echo $ECHO_N "(cached) $ECHO_C" >&6
25053374 else
2506 ac_cv_prog_cc_stdc=no
3375 ac_cv_prog_cc_c89=no
25073376 ac_save_CC=$CC
25083377 cat >conftest.$ac_ext <<_ACEOF
25093378 /* confdefs.h. */
25373406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
25383407 function prototypes and stuff, but not '\xHH' hex character constants.
25393408 These don't provoke an error unfortunately, instead are silently treated
2540 as 'x'. The following induces an error, until -std1 is added to get
3409 as 'x'. The following induces an error, until -std is added to get
25413410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
25423411 array size at least. It's necessary to write '\x00'==0 to get something
2543 that's true only with -std1. */
3412 that's true only with -std. */
25443413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414
3415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3416 inside strings and character constants. */
3417 #define FOO(x) 'x'
3418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
25453419
25463420 int test (int i, double x);
25473421 struct s1 {int (*f) (int a);};
25573431 return 0;
25583432 }
25593433 _ACEOF
2560 # Don't try gcc -ansi; that turns off useful extensions and
2561 # breaks some systems' header files.
2562 # AIX -qlanglvl=ansi
2563 # Ultrix and OSF/1 -std1
2564 # HP-UX 10.20 and later -Ae
2565 # HP-UX older versions -Aa -D_HPUX_SOURCE
2566 # SVR4 -Xc -D__EXTENSIONS__
2567 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3435 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
25683436 do
25693437 CC="$ac_save_CC $ac_arg"
25703438 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
3439 if { (ac_try="$ac_compile"
3440 case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443 esac
3444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445 (eval "$ac_compile") 2>conftest.er1
25733446 ac_status=$?
25743447 grep -v '^ *+' conftest.er1 >conftest.err
25753448 rm -f conftest.er1
25763449 cat conftest.err >&5
25773450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 (eval $ac_try) 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 (eval $ac_try) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2591 ac_cv_prog_cc_stdc=$ac_arg
2592 break
3451 (exit $ac_status); } && {
3452 test -z "$ac_c_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3455 ac_cv_prog_cc_c89=$ac_arg
25933456 else
25943457 echo "$as_me: failed program was:" >&5
25953458 sed 's/^/| /' conftest.$ac_ext >&5
25963459
2597 fi
2598 rm -f conftest.err conftest.$ac_objext
3460
3461 fi
3462
3463 rm -f core conftest.err conftest.$ac_objext
3464 test "x$ac_cv_prog_cc_c89" != "xno" && break
25993465 done
2600 rm -f conftest.$ac_ext conftest.$ac_objext
3466 rm -f conftest.$ac_ext
26013467 CC=$ac_save_CC
26023468
26033469 fi
2604
2605 case "x$ac_cv_prog_cc_stdc" in
2606 x|xno)
2607 echo "$as_me:$LINENO: result: none needed" >&5
2608 echo "${ECHO_T}none needed" >&6 ;;
3470 # AC_CACHE_VAL
3471 case "x$ac_cv_prog_cc_c89" in
3472 x)
3473 { echo "$as_me:$LINENO: result: none needed" >&5
3474 echo "${ECHO_T}none needed" >&6; } ;;
3475 xno)
3476 { echo "$as_me:$LINENO: result: unsupported" >&5
3477 echo "${ECHO_T}unsupported" >&6; } ;;
26093478 *)
2610 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2611 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2612 CC="$CC $ac_cv_prog_cc_stdc" ;;
3479 CC="$CC $ac_cv_prog_cc_c89"
3480 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3481 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
26133482 esac
26143483
2615 # Some people use a C++ compiler to compile C. Since we use `exit',
2616 # in C++ we need to declare it. In case someone uses the same compiler
2617 # for both compiling C and C++ we need to have the C++ compiler decide
2618 # the declaration of exit, since it's the most demanding environment.
3484
3485 ac_ext=c
3486 ac_cpp='$CPP $CPPFLAGS'
3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490
3491 depcc="$CC" am_compiler_list=
3492
3493 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3494 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3495 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 else
3498 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3499 # We make a subdir and do the tests there. Otherwise we can end up
3500 # making bogus files that we don't know about and never remove. For
3501 # instance it was reported that on HP-UX the gcc test will end up
3502 # making a dummy file named `D' -- because `-MD' means `put the output
3503 # in D'.
3504 mkdir conftest.dir
3505 # Copy depcomp to subdir because otherwise we won't find it if we're
3506 # using a relative directory.
3507 cp "$am_depcomp" conftest.dir
3508 cd conftest.dir
3509 # We will build objects and dependencies in a subdirectory because
3510 # it helps to detect inapplicable dependency modes. For instance
3511 # both Tru64's cc and ICC support -MD to output dependencies as a
3512 # side effect of compilation, but ICC will put the dependencies in
3513 # the current directory while Tru64 will put them in the object
3514 # directory.
3515 mkdir sub
3516
3517 am_cv_CC_dependencies_compiler_type=none
3518 if test "$am_compiler_list" = ""; then
3519 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3520 fi
3521 for depmode in $am_compiler_list; do
3522 # Setup a source with many dependencies, because some compilers
3523 # like to wrap large dependency lists on column 80 (with \), and
3524 # we should not choose a depcomp mode which is confused by this.
3525 #
3526 # We need to recreate these files for each test, as the compiler may
3527 # overwrite some of them when testing with obscure command lines.
3528 # This happens at least with the AIX C compiler.
3529 : > sub/conftest.c
3530 for i in 1 2 3 4 5 6; do
3531 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3532 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3533 # Solaris 8's {/usr,}/bin/sh.
3534 touch sub/conftst$i.h
3535 done
3536 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3537
3538 case $depmode in
3539 nosideeffect)
3540 # after this tag, mechanisms are not by side-effect, so they'll
3541 # only be used when explicitly requested
3542 if test "x$enable_dependency_tracking" = xyes; then
3543 continue
3544 else
3545 break
3546 fi
3547 ;;
3548 none) break ;;
3549 esac
3550 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3551 # mode. It turns out that the SunPro C++ compiler does not properly
3552 # handle `-M -o', and we need to detect this.
3553 if depmode=$depmode \
3554 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3555 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3556 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3557 >/dev/null 2>conftest.err &&
3558 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3559 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3560 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3561 # icc doesn't choke on unknown options, it will just issue warnings
3562 # or remarks (even with -Werror). So we grep stderr for any message
3563 # that says an option was ignored or not supported.
3564 # When given -MP, icc 7.0 and 7.1 complain thusly:
3565 # icc: Command line warning: ignoring option '-M'; no argument required
3566 # The diagnosis changed in icc 8.0:
3567 # icc: Command line remark: option '-MP' not supported
3568 if (grep 'ignoring option' conftest.err ||
3569 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3570 am_cv_CC_dependencies_compiler_type=$depmode
3571 break
3572 fi
3573 fi
3574 done
3575
3576 cd ..
3577 rm -rf conftest.dir
3578 else
3579 am_cv_CC_dependencies_compiler_type=none
3580 fi
3581
3582 fi
3583 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3584 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3585 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3586
3587
3588
3589 if
3590 test "x$enable_dependency_tracking" != xno \
3591 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3592 am__fastdepCC_TRUE=
3593 am__fastdepCC_FALSE='#'
3594 else
3595 am__fastdepCC_TRUE='#'
3596 am__fastdepCC_FALSE=
3597 fi
3598
3599
3600
3601 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3602 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3603 if test "${ac_cv_search_strerror+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 else
3606 ac_func_search_save_LIBS=$LIBS
26193607 cat >conftest.$ac_ext <<_ACEOF
2620 #ifndef __cplusplus
2621 choke me
3608 /* confdefs.h. */
3609 _ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3613
3614 /* Override any GCC internal prototype to avoid an error.
3615 Use char because int might match the return type of a GCC
3616 builtin and then its argument prototype would still apply. */
3617 #ifdef __cplusplus
3618 extern "C"
26223619 #endif
2623 _ACEOF
2624 rm -f conftest.$ac_objext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2626 (eval $ac_compile) 2>conftest.er1
3620 char strerror ();
3621 int
3622 main ()
3623 {
3624 return strerror ();
3625 ;
3626 return 0;
3627 }
3628 _ACEOF
3629 for ac_lib in '' cposix; do
3630 if test -z "$ac_lib"; then
3631 ac_res="none required"
3632 else
3633 ac_res=-l$ac_lib
3634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3635 fi
3636 rm -f conftest.$ac_objext conftest$ac_exeext
3637 if { (ac_try="$ac_link"
3638 case "(($ac_try" in
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3641 esac
3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_link") 2>conftest.er1
26273644 ac_status=$?
26283645 grep -v '^ *+' conftest.er1 >conftest.err
26293646 rm -f conftest.er1
26303647 cat conftest.err >&5
26313648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 (eval $ac_try) 2>&5
2636 ac_status=$?
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 (eval $ac_try) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 for ac_declaration in \
2646 '' \
2647 'extern "C" void std::exit (int) throw (); using std::exit;' \
2648 'extern "C" void std::exit (int); using std::exit;' \
2649 'extern "C" void exit (int) throw ();' \
2650 'extern "C" void exit (int);' \
2651 'void exit (int);'
2652 do
2653 cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h. */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2659 $ac_declaration
2660 #include <stdlib.h>
2661 int
2662 main ()
2663 {
2664 exit (42);
2665 ;
2666 return 0;
2667 }
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2672 ac_status=$?
2673 grep -v '^ *+' conftest.er1 >conftest.err
2674 rm -f conftest.er1
2675 cat conftest.err >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 (eval $ac_try) 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 (eval $ac_try) 2>&5
2687 ac_status=$?
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 :
3649 (exit $ac_status); } && {
3650 test -z "$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3652 } && test -s conftest$ac_exeext &&
3653 $as_test_x conftest$ac_exeext; then
3654 ac_cv_search_strerror=$ac_res
26913655 else
26923656 echo "$as_me: failed program was:" >&5
26933657 sed 's/^/| /' conftest.$ac_ext >&5
26943658
2695 continue
2696 fi
2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2698 cat >conftest.$ac_ext <<_ACEOF
2699 /* confdefs.h. */
2700 _ACEOF
2701 cat confdefs.h >>conftest.$ac_ext
2702 cat >>conftest.$ac_ext <<_ACEOF
2703 /* end confdefs.h. */
2704 $ac_declaration
2705 int
2706 main ()
2707 {
2708 exit (42);
2709 ;
2710 return 0;
2711 }
2712 _ACEOF
2713 rm -f conftest.$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 (eval $ac_try) 2>&5
2725 ac_status=$?
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 (eval $ac_try) 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
3659
3660 fi
3661
3662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3663 conftest$ac_exeext
3664 if test "${ac_cv_search_strerror+set}" = set; then
27343665 break
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2738
2739 fi
2740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3666 fi
27413667 done
2742 rm -f conftest*
2743 if test -n "$ac_declaration"; then
2744 echo '#ifdef __cplusplus' >>confdefs.h
2745 echo $ac_declaration >>confdefs.h
2746 echo '#endif' >>confdefs.h
2747 fi
2748
2749 else
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2752
2753 fi
2754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2755 ac_ext=c
2756 ac_cpp='$CPP $CPPFLAGS'
2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2760
2761
2762
2763 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2764 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2765 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 else
2768 ac_check_lib_save_LIBS=$LIBS
2769 LIBS="-lcposix $LIBS"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2776
2777 /* Override any gcc2 internal prototype to avoid an error. */
2778 #ifdef __cplusplus
2779 extern "C"
2780 #endif
2781 /* We use char because int might match the return type of a gcc2
2782 builtin and then its argument prototype would still apply. */
2783 char strerror ();
2784 int
2785 main ()
2786 {
2787 strerror ();
2788 ;
2789 return 0;
2790 }
2791 _ACEOF
2792 rm -f conftest.$ac_objext conftest$ac_exeext
2793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2794 (eval $ac_link) 2>conftest.er1
2795 ac_status=$?
2796 grep -v '^ *+' conftest.er1 >conftest.err
2797 rm -f conftest.er1
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } &&
2801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 (eval $ac_try) 2>&5
2804 ac_status=$?
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; } &&
2807 { ac_try='test -s conftest$ac_exeext'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 (eval $ac_try) 2>&5
2810 ac_status=$?
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then
2813 ac_cv_lib_cposix_strerror=yes
2814 else
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2817
2818 ac_cv_lib_cposix_strerror=no
2819 fi
2820 rm -f conftest.err conftest.$ac_objext \
2821 conftest$ac_exeext conftest.$ac_ext
2822 LIBS=$ac_check_lib_save_LIBS
2823 fi
2824 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2825 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2826 if test $ac_cv_lib_cposix_strerror = yes; then
2827 LIBS="$LIBS -lcposix"
2828 fi
2829
3668 if test "${ac_cv_search_strerror+set}" = set; then
3669 :
3670 else
3671 ac_cv_search_strerror=no
3672 fi
3673 rm conftest.$ac_ext
3674 LIBS=$ac_func_search_save_LIBS
3675 fi
3676 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3677 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3678 ac_res=$ac_cv_search_strerror
3679 if test "$ac_res" != no; then
3680 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3681
3682 fi
3683
3684
3685 cat >>confdefs.h <<\_ACEOF
3686 #define _GNU_SOURCE 1
3687 _ACEOF
28303688
28313689
28323690 ac_ext=c
28373695 if test -n "$ac_tool_prefix"; then
28383696 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
28393697 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28423700 if test "${ac_cv_prog_CC+set}" = set; then
28433701 echo $ECHO_N "(cached) $ECHO_C" >&6
28443702 else
28513709 IFS=$as_save_IFS
28523710 test -z "$as_dir" && as_dir=.
28533711 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28553713 ac_cv_prog_CC="${ac_tool_prefix}gcc"
28563714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28573715 break 2
28583716 fi
28593717 done
28603718 done
3719 IFS=$as_save_IFS
28613720
28623721 fi
28633722 fi
28643723 CC=$ac_cv_prog_CC
28653724 if test -n "$CC"; then
2866 echo "$as_me:$LINENO: result: $CC" >&5
2867 echo "${ECHO_T}$CC" >&6
2868 else
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2871 fi
3725 { echo "$as_me:$LINENO: result: $CC" >&5
3726 echo "${ECHO_T}$CC" >&6; }
3727 else
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 fi
3731
28723732
28733733 fi
28743734 if test -z "$ac_cv_prog_CC"; then
28753735 ac_ct_CC=$CC
28763736 # Extract the first word of "gcc", so it can be a program name with args.
28773737 set dummy gcc; ac_word=$2
2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28803740 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
28813741 echo $ECHO_N "(cached) $ECHO_C" >&6
28823742 else
28893749 IFS=$as_save_IFS
28903750 test -z "$as_dir" && as_dir=.
28913751 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28933753 ac_cv_prog_ac_ct_CC="gcc"
28943754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28953755 break 2
28963756 fi
28973757 done
28983758 done
3759 IFS=$as_save_IFS
28993760
29003761 fi
29013762 fi
29023763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
29033764 if test -n "$ac_ct_CC"; then
2904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2905 echo "${ECHO_T}$ac_ct_CC" >&6
2906 else
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 fi
2910
2911 CC=$ac_ct_CC
3765 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3766 echo "${ECHO_T}$ac_ct_CC" >&6; }
3767 else
3768 { echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6; }
3770 fi
3771
3772 if test "x$ac_ct_CC" = x; then
3773 CC=""
3774 else
3775 case $cross_compiling:$ac_tool_warned in
3776 yes:)
3777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3778 whose name does not start with the host triplet. If you think this
3779 configuration is useful to you, please write to autoconf@gnu.org." >&5
3780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3781 whose name does not start with the host triplet. If you think this
3782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3783 ac_tool_warned=yes ;;
3784 esac
3785 CC=$ac_ct_CC
3786 fi
29123787 else
29133788 CC="$ac_cv_prog_CC"
29143789 fi
29153790
29163791 if test -z "$CC"; then
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792 if test -n "$ac_tool_prefix"; then
3793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
29193794 set dummy ${ac_tool_prefix}cc; ac_word=$2
2920 echo "$as_me:$LINENO: checking for $ac_word" >&5
2921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29223797 if test "${ac_cv_prog_CC+set}" = set; then
29233798 echo $ECHO_N "(cached) $ECHO_C" >&6
29243799 else
29313806 IFS=$as_save_IFS
29323807 test -z "$as_dir" && as_dir=.
29333808 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29353810 ac_cv_prog_CC="${ac_tool_prefix}cc"
29363811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29373812 break 2
29383813 fi
29393814 done
29403815 done
3816 IFS=$as_save_IFS
29413817
29423818 fi
29433819 fi
29443820 CC=$ac_cv_prog_CC
29453821 if test -n "$CC"; then
2946 echo "$as_me:$LINENO: result: $CC" >&5
2947 echo "${ECHO_T}$CC" >&6
2948 else
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 fi
2952
2953 fi
2954 if test -z "$ac_cv_prog_CC"; then
2955 ac_ct_CC=$CC
2956 # Extract the first word of "cc", so it can be a program name with args.
2957 set dummy cc; ac_word=$2
2958 echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2960 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 else
2963 if test -n "$ac_ct_CC"; then
2964 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 else
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH
2968 do
2969 IFS=$as_save_IFS
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_ac_ct_CC="cc"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 break 2
3822 { echo "$as_me:$LINENO: result: $CC" >&5
3823 echo "${ECHO_T}$CC" >&6; }
3824 else
3825 { echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6; }
3827 fi
3828
3829
29763830 fi
2977 done
2978 done
2979
2980 fi
2981 fi
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2985 echo "${ECHO_T}$ac_ct_CC" >&6
2986 else
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2989 fi
2990
2991 CC=$ac_ct_CC
2992 else
2993 CC="$ac_cv_prog_CC"
2994 fi
2995
29963831 fi
29973832 if test -z "$CC"; then
29983833 # Extract the first word of "cc", so it can be a program name with args.
29993834 set dummy cc; ac_word=$2
3000 echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30023837 if test "${ac_cv_prog_CC+set}" = set; then
30033838 echo $ECHO_N "(cached) $ECHO_C" >&6
30043839 else
30123847 IFS=$as_save_IFS
30133848 test -z "$as_dir" && as_dir=.
30143849 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30163851 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
30173852 ac_prog_rejected=yes
30183853 continue
30233858 fi
30243859 done
30253860 done
3861 IFS=$as_save_IFS
30263862
30273863 if test $ac_prog_rejected = yes; then
30283864 # We found a bogon in the path, so make sure we never use it.
30403876 fi
30413877 CC=$ac_cv_prog_CC
30423878 if test -n "$CC"; then
3043 echo "$as_me:$LINENO: result: $CC" >&5
3044 echo "${ECHO_T}$CC" >&6
3045 else
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3048 fi
3879 { echo "$as_me:$LINENO: result: $CC" >&5
3880 echo "${ECHO_T}$CC" >&6; }
3881 else
3882 { echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6; }
3884 fi
3885
30493886
30503887 fi
30513888 if test -z "$CC"; then
30523889 if test -n "$ac_tool_prefix"; then
3053 for ac_prog in cl
3890 for ac_prog in cl.exe
30543891 do
30553892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30563893 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3057 echo "$as_me:$LINENO: checking for $ac_word" >&5
3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30593896 if test "${ac_cv_prog_CC+set}" = set; then
30603897 echo $ECHO_N "(cached) $ECHO_C" >&6
30613898 else
30683905 IFS=$as_save_IFS
30693906 test -z "$as_dir" && as_dir=.
30703907 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30723909 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
30733910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30743911 break 2
30753912 fi
30763913 done
30773914 done
3915 IFS=$as_save_IFS
30783916
30793917 fi
30803918 fi
30813919 CC=$ac_cv_prog_CC
30823920 if test -n "$CC"; then
3083 echo "$as_me:$LINENO: result: $CC" >&5
3084 echo "${ECHO_T}$CC" >&6
3085 else
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3088 fi
3921 { echo "$as_me:$LINENO: result: $CC" >&5
3922 echo "${ECHO_T}$CC" >&6; }
3923 else
3924 { echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6; }
3926 fi
3927
30893928
30903929 test -n "$CC" && break
30913930 done
30923931 fi
30933932 if test -z "$CC"; then
30943933 ac_ct_CC=$CC
3095 for ac_prog in cl
3934 for ac_prog in cl.exe
30963935 do
30973936 # Extract the first word of "$ac_prog", so it can be a program name with args.
30983937 set dummy $ac_prog; ac_word=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31013940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
31023941 echo $ECHO_N "(cached) $ECHO_C" >&6
31033942 else
31103949 IFS=$as_save_IFS
31113950 test -z "$as_dir" && as_dir=.
31123951 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31143953 ac_cv_prog_ac_ct_CC="$ac_prog"
31153954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31163955 break 2
31173956 fi
31183957 done
31193958 done
3959 IFS=$as_save_IFS
31203960
31213961 fi
31223962 fi
31233963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31243964 if test -n "$ac_ct_CC"; then
3125 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3126 echo "${ECHO_T}$ac_ct_CC" >&6
3127 else
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3130 fi
3965 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3966 echo "${ECHO_T}$ac_ct_CC" >&6; }
3967 else
3968 { echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6; }
3970 fi
3971
31313972
31323973 test -n "$ac_ct_CC" && break
31333974 done
31343975
3135 CC=$ac_ct_CC
3976 if test "x$ac_ct_CC" = x; then
3977 CC=""
3978 else
3979 case $cross_compiling:$ac_tool_warned in
3980 yes:)
3981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3982 whose name does not start with the host triplet. If you think this
3983 configuration is useful to you, please write to autoconf@gnu.org." >&5
3984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3985 whose name does not start with the host triplet. If you think this
3986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3987 ac_tool_warned=yes ;;
3988 esac
3989 CC=$ac_ct_CC
3990 fi
31363991 fi
31373992
31383993 fi
31454000 { (exit 1); exit 1; }; }
31464001
31474002 # Provide some information about the compiler.
3148 echo "$as_me:$LINENO:" \
3149 "checking for C compiler version" >&5
4003 echo "$as_me:$LINENO: checking for C compiler version" >&5
31504004 ac_compiler=`set X $ac_compile; echo $2`
3151 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3152 (eval $ac_compiler --version </dev/null >&5) 2>&5
4005 { (ac_try="$ac_compiler --version >&5"
4006 case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4011 (eval "$ac_compiler --version >&5") 2>&5
31534012 ac_status=$?
31544013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554014 (exit $ac_status); }
3156 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3157 (eval $ac_compiler -v </dev/null >&5) 2>&5
4015 { (ac_try="$ac_compiler -v >&5"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_compiler -v >&5") 2>&5
31584022 ac_status=$?
31594023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604024 (exit $ac_status); }
3161 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3162 (eval $ac_compiler -V </dev/null >&5) 2>&5
4025 { (ac_try="$ac_compiler -V >&5"
4026 case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_compiler -V >&5") 2>&5
31634032 ac_status=$?
31644033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654034 (exit $ac_status); }
31664035
3167 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3168 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4036 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4037 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
31694038 if test "${ac_cv_c_compiler_gnu+set}" = set; then
31704039 echo $ECHO_N "(cached) $ECHO_C" >&6
31714040 else
31884057 }
31894058 _ACEOF
31904059 rm -f conftest.$ac_objext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192 (eval $ac_compile) 2>conftest.er1
4060 if { (ac_try="$ac_compile"
4061 case "(($ac_try" in
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4064 esac
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compile") 2>conftest.er1
31934067 ac_status=$?
31944068 grep -v '^ *+' conftest.er1 >conftest.err
31954069 rm -f conftest.er1
31964070 cat conftest.err >&5
31974071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201 (eval $ac_try) 2>&5
3202 ac_status=$?
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; } &&
3205 { ac_try='test -s conftest.$ac_objext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 (eval $ac_try) 2>&5
3208 ac_status=$?
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
4072 (exit $ac_status); } && {
4073 test -z "$ac_c_werror_flag" ||
4074 test ! -s conftest.err
4075 } && test -s conftest.$ac_objext; then
32114076 ac_compiler_gnu=yes
32124077 else
32134078 echo "$as_me: failed program was:" >&5
32144079 sed 's/^/| /' conftest.$ac_ext >&5
32154080
3216 ac_compiler_gnu=no
3217 fi
3218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4081 ac_compiler_gnu=no
4082 fi
4083
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32194085 ac_cv_c_compiler_gnu=$ac_compiler_gnu
32204086
32214087 fi
3222 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3223 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4088 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4089 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
32244090 GCC=`test $ac_compiler_gnu = yes && echo yes`
32254091 ac_test_CFLAGS=${CFLAGS+set}
32264092 ac_save_CFLAGS=$CFLAGS
3227 CFLAGS="-g"
3228 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3229 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4093 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4094 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
32304095 if test "${ac_cv_prog_cc_g+set}" = set; then
32314096 echo $ECHO_N "(cached) $ECHO_C" >&6
32324097 else
3233 cat >conftest.$ac_ext <<_ACEOF
4098 ac_save_c_werror_flag=$ac_c_werror_flag
4099 ac_c_werror_flag=yes
4100 ac_cv_prog_cc_g=no
4101 CFLAGS="-g"
4102 cat >conftest.$ac_ext <<_ACEOF
32344103 /* confdefs.h. */
32354104 _ACEOF
32364105 cat confdefs.h >>conftest.$ac_ext
32464115 }
32474116 _ACEOF
32484117 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
4118 if { (ac_try="$ac_compile"
4119 case "(($ac_try" in
4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4122 esac
4123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4124 (eval "$ac_compile") 2>conftest.er1
32514125 ac_status=$?
32524126 grep -v '^ *+' conftest.er1 >conftest.err
32534127 rm -f conftest.er1
32544128 cat conftest.err >&5
32554129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259 (eval $ac_try) 2>&5
3260 ac_status=$?
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; } &&
3263 { ac_try='test -s conftest.$ac_objext'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 (eval $ac_try) 2>&5
3266 ac_status=$?
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; }; then
4130 (exit $ac_status); } && {
4131 test -z "$ac_c_werror_flag" ||
4132 test ! -s conftest.err
4133 } && test -s conftest.$ac_objext; then
32694134 ac_cv_prog_cc_g=yes
32704135 else
32714136 echo "$as_me: failed program was:" >&5
32724137 sed 's/^/| /' conftest.$ac_ext >&5
32734138
3274 ac_cv_prog_cc_g=no
3275 fi
3276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3277 fi
3278 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3279 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4139 CFLAGS=""
4140 cat >conftest.$ac_ext <<_ACEOF
4141 /* confdefs.h. */
4142 _ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4146
4147 int
4148 main ()
4149 {
4150
4151 ;
4152 return 0;
4153 }
4154 _ACEOF
4155 rm -f conftest.$ac_objext
4156 if { (ac_try="$ac_compile"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4162 (eval "$ac_compile") 2>conftest.er1
4163 ac_status=$?
4164 grep -v '^ *+' conftest.er1 >conftest.err
4165 rm -f conftest.er1
4166 cat conftest.err >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } && {
4169 test -z "$ac_c_werror_flag" ||
4170 test ! -s conftest.err
4171 } && test -s conftest.$ac_objext; then
4172 :
4173 else
4174 echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4176
4177 ac_c_werror_flag=$ac_save_c_werror_flag
4178 CFLAGS="-g"
4179 cat >conftest.$ac_ext <<_ACEOF
4180 /* confdefs.h. */
4181 _ACEOF
4182 cat confdefs.h >>conftest.$ac_ext
4183 cat >>conftest.$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4185
4186 int
4187 main ()
4188 {
4189
4190 ;
4191 return 0;
4192 }
4193 _ACEOF
4194 rm -f conftest.$ac_objext
4195 if { (ac_try="$ac_compile"
4196 case "(($ac_try" in
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4199 esac
4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201 (eval "$ac_compile") 2>conftest.er1
4202 ac_status=$?
4203 grep -v '^ *+' conftest.er1 >conftest.err
4204 rm -f conftest.er1
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && {
4208 test -z "$ac_c_werror_flag" ||
4209 test ! -s conftest.err
4210 } && test -s conftest.$ac_objext; then
4211 ac_cv_prog_cc_g=yes
4212 else
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.$ac_ext >&5
4215
4216
4217 fi
4218
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 fi
4224
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4227 fi
4228 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4229 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
32804230 if test "$ac_test_CFLAGS" = set; then
32814231 CFLAGS=$ac_save_CFLAGS
32824232 elif test $ac_cv_prog_cc_g = yes; then
32924242 CFLAGS=
32934243 fi
32944244 fi
3295 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3296 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3297 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4245 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4246 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4247 if test "${ac_cv_prog_cc_c89+set}" = set; then
32984248 echo $ECHO_N "(cached) $ECHO_C" >&6
32994249 else
3300 ac_cv_prog_cc_stdc=no
4250 ac_cv_prog_cc_c89=no
33014251 ac_save_CC=$CC
33024252 cat >conftest.$ac_ext <<_ACEOF
33034253 /* confdefs.h. */
33314281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
33324282 function prototypes and stuff, but not '\xHH' hex character constants.
33334283 These don't provoke an error unfortunately, instead are silently treated
3334 as 'x'. The following induces an error, until -std1 is added to get
4284 as 'x'. The following induces an error, until -std is added to get
33354285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
33364286 array size at least. It's necessary to write '\x00'==0 to get something
3337 that's true only with -std1. */
4287 that's true only with -std. */
33384288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4292 #define FOO(x) 'x'
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33394294
33404295 int test (int i, double x);
33414296 struct s1 {int (*f) (int a);};
33514306 return 0;
33524307 }
33534308 _ACEOF
3354 # Don't try gcc -ansi; that turns off useful extensions and
3355 # breaks some systems' header files.
3356 # AIX -qlanglvl=ansi
3357 # Ultrix and OSF/1 -std1
3358 # HP-UX 10.20 and later -Ae
3359 # HP-UX older versions -Aa -D_HPUX_SOURCE
3360 # SVR4 -Xc -D__EXTENSIONS__
3361 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33624311 do
33634312 CC="$ac_save_CC $ac_arg"
33644313 rm -f conftest.$ac_objext
3365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3366 (eval $ac_compile) 2>conftest.er1
4314 if { (ac_try="$ac_compile"
4315 case "(($ac_try" in
4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4318 esac
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320 (eval "$ac_compile") 2>conftest.er1
33674321 ac_status=$?
33684322 grep -v '^ *+' conftest.er1 >conftest.err
33694323 rm -f conftest.er1
33704324 cat conftest.err >&5
33714325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } &&
3373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 (eval $ac_try) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; } &&
3379 { ac_try='test -s conftest.$ac_objext'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 (eval $ac_try) 2>&5
3382 ac_status=$?
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; }; then
3385 ac_cv_prog_cc_stdc=$ac_arg
3386 break
4326 (exit $ac_status); } && {
4327 test -z "$ac_c_werror_flag" ||
4328 test ! -s conftest.err
4329 } && test -s conftest.$ac_objext; then
4330 ac_cv_prog_cc_c89=$ac_arg
33874331 else
33884332 echo "$as_me: failed program was:" >&5
33894333 sed 's/^/| /' conftest.$ac_ext >&5
33904334
3391 fi
3392 rm -f conftest.err conftest.$ac_objext
4335
4336 fi
4337
4338 rm -f core conftest.err conftest.$ac_objext
4339 test "x$ac_cv_prog_cc_c89" != "xno" && break
33934340 done
3394 rm -f conftest.$ac_ext conftest.$ac_objext
4341 rm -f conftest.$ac_ext
33954342 CC=$ac_save_CC
33964343
33974344 fi
3398
3399 case "x$ac_cv_prog_cc_stdc" in
3400 x|xno)
3401 echo "$as_me:$LINENO: result: none needed" >&5
3402 echo "${ECHO_T}none needed" >&6 ;;
4345 # AC_CACHE_VAL
4346 case "x$ac_cv_prog_cc_c89" in
4347 x)
4348 { echo "$as_me:$LINENO: result: none needed" >&5
4349 echo "${ECHO_T}none needed" >&6; } ;;
4350 xno)
4351 { echo "$as_me:$LINENO: result: unsupported" >&5
4352 echo "${ECHO_T}unsupported" >&6; } ;;
34034353 *)
3404 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3405 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3406 CC="$CC $ac_cv_prog_cc_stdc" ;;
4354 CC="$CC $ac_cv_prog_cc_c89"
4355 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4356 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
34074357 esac
34084358
3409 # Some people use a C++ compiler to compile C. Since we use `exit',
3410 # in C++ we need to declare it. In case someone uses the same compiler
3411 # for both compiling C and C++ we need to have the C++ compiler decide
3412 # the declaration of exit, since it's the most demanding environment.
3413 cat >conftest.$ac_ext <<_ACEOF
3414 #ifndef __cplusplus
3415 choke me
3416 #endif
3417 _ACEOF
3418 rm -f conftest.$ac_objext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>conftest.er1
3421 ac_status=$?
3422 grep -v '^ *+' conftest.er1 >conftest.err
3423 rm -f conftest.er1
3424 cat conftest.err >&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 (eval $ac_try) 2>&5
3430 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; } &&
3433 { ac_try='test -s conftest.$ac_objext'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 for ac_declaration in \
3440 '' \
3441 'extern "C" void std::exit (int) throw (); using std::exit;' \
3442 'extern "C" void std::exit (int); using std::exit;' \
3443 'extern "C" void exit (int) throw ();' \
3444 'extern "C" void exit (int);' \
3445 'void exit (int);'
3446 do
3447 cat >conftest.$ac_ext <<_ACEOF
3448 /* confdefs.h. */
3449 _ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3453 $ac_declaration
3454 #include <stdlib.h>
3455 int
3456 main ()
3457 {
3458 exit (42);
3459 ;
3460 return 0;
3461 }
3462 _ACEOF
3463 rm -f conftest.$ac_objext
3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3465 (eval $ac_compile) 2>conftest.er1
3466 ac_status=$?
3467 grep -v '^ *+' conftest.er1 >conftest.err
3468 rm -f conftest.er1
3469 cat conftest.err >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } &&
3472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 (eval $ac_try) 2>&5
3475 ac_status=$?
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; } &&
3478 { ac_try='test -s conftest.$ac_objext'
3479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 (eval $ac_try) 2>&5
3481 ac_status=$?
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); }; }; then
3484 :
3485 else
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3488
3489 continue
3490 fi
3491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3492 cat >conftest.$ac_ext <<_ACEOF
3493 /* confdefs.h. */
3494 _ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 $ac_declaration
3499 int
3500 main ()
3501 {
3502 exit (42);
3503 ;
3504 return 0;
3505 }
3506 _ACEOF
3507 rm -f conftest.$ac_objext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 (eval $ac_compile) 2>conftest.er1
3510 ac_status=$?
3511 grep -v '^ *+' conftest.er1 >conftest.err
3512 rm -f conftest.er1
3513 cat conftest.err >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 (eval $ac_try) 2>&5
3519 ac_status=$?
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try='test -s conftest.$ac_objext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 (eval $ac_try) 2>&5
3525 ac_status=$?
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 break
3529 else
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.$ac_ext >&5
3532
3533 fi
3534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3535 done
3536 rm -f conftest*
3537 if test -n "$ac_declaration"; then
3538 echo '#ifdef __cplusplus' >>confdefs.h
3539 echo $ac_declaration >>confdefs.h
3540 echo '#endif' >>confdefs.h
3541 fi
3542
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3546
3547 fi
3548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4359
35494360 ac_ext=c
35504361 ac_cpp='$CPP $CPPFLAGS'
35514362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365
4366 depcc="$CC" am_compiler_list=
4367
4368 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4369 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4370 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4374 # We make a subdir and do the tests there. Otherwise we can end up
4375 # making bogus files that we don't know about and never remove. For
4376 # instance it was reported that on HP-UX the gcc test will end up
4377 # making a dummy file named `D' -- because `-MD' means `put the output
4378 # in D'.
4379 mkdir conftest.dir
4380 # Copy depcomp to subdir because otherwise we won't find it if we're
4381 # using a relative directory.
4382 cp "$am_depcomp" conftest.dir
4383 cd conftest.dir
4384 # We will build objects and dependencies in a subdirectory because
4385 # it helps to detect inapplicable dependency modes. For instance
4386 # both Tru64's cc and ICC support -MD to output dependencies as a
4387 # side effect of compilation, but ICC will put the dependencies in
4388 # the current directory while Tru64 will put them in the object
4389 # directory.
4390 mkdir sub
4391
4392 am_cv_CC_dependencies_compiler_type=none
4393 if test "$am_compiler_list" = ""; then
4394 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4395 fi
4396 for depmode in $am_compiler_list; do
4397 # Setup a source with many dependencies, because some compilers
4398 # like to wrap large dependency lists on column 80 (with \), and
4399 # we should not choose a depcomp mode which is confused by this.
4400 #
4401 # We need to recreate these files for each test, as the compiler may
4402 # overwrite some of them when testing with obscure command lines.
4403 # This happens at least with the AIX C compiler.
4404 : > sub/conftest.c
4405 for i in 1 2 3 4 5 6; do
4406 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4407 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4408 # Solaris 8's {/usr,}/bin/sh.
4409 touch sub/conftst$i.h
4410 done
4411 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412
4413 case $depmode in
4414 nosideeffect)
4415 # after this tag, mechanisms are not by side-effect, so they'll
4416 # only be used when explicitly requested
4417 if test "x$enable_dependency_tracking" = xyes; then
4418 continue
4419 else
4420 break
4421 fi
4422 ;;
4423 none) break ;;
4424 esac
4425 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4426 # mode. It turns out that the SunPro C++ compiler does not properly
4427 # handle `-M -o', and we need to detect this.
4428 if depmode=$depmode \
4429 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4430 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4431 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4432 >/dev/null 2>conftest.err &&
4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4436 # icc doesn't choke on unknown options, it will just issue warnings
4437 # or remarks (even with -Werror). So we grep stderr for any message
4438 # that says an option was ignored or not supported.
4439 # When given -MP, icc 7.0 and 7.1 complain thusly:
4440 # icc: Command line warning: ignoring option '-M'; no argument required
4441 # The diagnosis changed in icc 8.0:
4442 # icc: Command line remark: option '-MP' not supported
4443 if (grep 'ignoring option' conftest.err ||
4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4445 am_cv_CC_dependencies_compiler_type=$depmode
4446 break
4447 fi
4448 fi
4449 done
4450
4451 cd ..
4452 rm -rf conftest.dir
4453 else
4454 am_cv_CC_dependencies_compiler_type=none
4455 fi
4456
4457 fi
4458 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4459 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4460 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4461
4462
4463
4464 if
4465 test "x$enable_dependency_tracking" != xno \
4466 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4467 am__fastdepCC_TRUE=
4468 am__fastdepCC_FALSE='#'
4469 else
4470 am__fastdepCC_TRUE='#'
4471 am__fastdepCC_FALSE=
4472 fi
4473
35544474
35554475 # Find a good install program. We prefer a C program (faster),
35564476 # so one script is as good as another. But avoid the broken or
35654485 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35664486 # OS/2's system install, which has a completely different semantic
35674487 # ./install, which can be erroneously created by make from ./install.sh.
3568 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3569 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4488 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4489 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
35704490 if test -z "$INSTALL"; then
35714491 if test "${ac_cv_path_install+set}" = set; then
35724492 echo $ECHO_N "(cached) $ECHO_C" >&6
35884508 # by default.
35894509 for ac_prog in ginstall scoinst install; do
35904510 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4511 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
35924512 if test $ac_prog = install &&
35934513 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
35944514 # AIX install. It has an incompatible calling convention.
36074527 ;;
36084528 esac
36094529 done
4530 IFS=$as_save_IFS
36104531
36114532
36124533 fi
36134534 if test "${ac_cv_path_install+set}" = set; then
36144535 INSTALL=$ac_cv_path_install
36154536 else
3616 # As a last resort, use the slow shell script. We don't cache a
3617 # path for INSTALL within a source directory, because that will
4537 # As a last resort, use the slow shell script. Don't cache a
4538 # value for INSTALL within a source directory, because that will
36184539 # break other packages using the cache if that directory is
3619 # removed, or if the path is relative.
4540 # removed, or if the value is a relative name.
36204541 INSTALL=$ac_install_sh
36214542 fi
36224543 fi
3623 echo "$as_me:$LINENO: result: $INSTALL" >&5
3624 echo "${ECHO_T}$INSTALL" >&6
4544 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4545 echo "${ECHO_T}$INSTALL" >&6; }
36254546
36264547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36274548 # It thinks the first close brace ends the variable substitution.
36314552
36324553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
36334554
3634 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3635 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4555 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4556 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
36364557 LN_S=$as_ln_s
36374558 if test "$LN_S" = "ln -s"; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3640 else
3641 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3642 echo "${ECHO_T}no, using $LN_S" >&6
3643 fi
3644
3645 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3646 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3647 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3648 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4559 { echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6; }
4561 else
4562 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4563 echo "${ECHO_T}no, using $LN_S" >&6; }
4564 fi
4565
4566 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4567 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4568 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4569 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
36494570 echo $ECHO_N "(cached) $ECHO_C" >&6
36504571 else
36514572 cat >conftest.make <<\_ACEOF
4573 SHELL = /bin/sh
36524574 all:
3653 @echo 'ac_maketemp="$(MAKE)"'
4575 @echo '@@@%%%=$(MAKE)=@@@%%%'
36544576 _ACEOF
36554577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3656 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3657 if test -n "$ac_maketemp"; then
3658 eval ac_cv_prog_make_${ac_make}_set=yes
3659 else
3660 eval ac_cv_prog_make_${ac_make}_set=no
3661 fi
4578 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4579 *@@@%%%=?*=@@@%%%*)
4580 eval ac_cv_prog_make_${ac_make}_set=yes;;
4581 *)
4582 eval ac_cv_prog_make_${ac_make}_set=no;;
4583 esac
36624584 rm -f conftest.make
36634585 fi
3664 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
4586 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4587 { echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6; }
36674589 SET_MAKE=
36684590 else
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
4591 { echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6; }
36714593 SET_MAKE="MAKE=${MAKE-make}"
36724594 fi
36734595
36764598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3680 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4601 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4602 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
36814603 # On Suns, sometimes $CPP names a directory.
36824604 if test -n "$CPP" && test -d "$CPP"; then
36834605 CPP=
37114633 #endif
37124634 Syntax error
37134635 _ACEOF
3714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4636 if { (ac_try="$ac_cpp conftest.$ac_ext"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37164643 ac_status=$?
37174644 grep -v '^ *+' conftest.er1 >conftest.err
37184645 rm -f conftest.er1
37194646 cat conftest.err >&5
37204647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } >/dev/null; then
3722 if test -s conftest.err; then
3723 ac_cpp_err=$ac_c_preproc_warn_flag
3724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3725 else
3726 ac_cpp_err=
3727 fi
3728 else
3729 ac_cpp_err=yes
3730 fi
3731 if test -z "$ac_cpp_err"; then
4648 (exit $ac_status); } >/dev/null && {
4649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4650 test ! -s conftest.err
4651 }; then
37324652 :
37334653 else
37344654 echo "$as_me: failed program was:" >&5
37374657 # Broken: fails on valid input.
37384658 continue
37394659 fi
4660
37404661 rm -f conftest.err conftest.$ac_ext
37414662
3742 # OK, works on sane cases. Now check whether non-existent headers
4663 # OK, works on sane cases. Now check whether nonexistent headers
37434664 # can be detected and how.
37444665 cat >conftest.$ac_ext <<_ACEOF
37454666 /* confdefs.h. */
37494670 /* end confdefs.h. */
37504671 #include <ac_nonexistent.h>
37514672 _ACEOF
3752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4673 if { (ac_try="$ac_cpp conftest.$ac_ext"
4674 case "(($ac_try" in
4675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4676 *) ac_try_echo=$ac_try;;
4677 esac
4678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37544680 ac_status=$?
37554681 grep -v '^ *+' conftest.er1 >conftest.err
37564682 rm -f conftest.er1
37574683 cat conftest.err >&5
37584684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev/null; then
3760 if test -s conftest.err; then
3761 ac_cpp_err=$ac_c_preproc_warn_flag
3762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 else
3764 ac_cpp_err=
3765 fi
3766 else
3767 ac_cpp_err=yes
3768 fi
3769 if test -z "$ac_cpp_err"; then
4685 (exit $ac_status); } >/dev/null && {
4686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4687 test ! -s conftest.err
4688 }; then
37704689 # Broken: success on invalid input.
37714690 continue
37724691 else
37774696 ac_preproc_ok=:
37784697 break
37794698 fi
4699
37804700 rm -f conftest.err conftest.$ac_ext
37814701
37824702 done
37944714 else
37954715 ac_cv_prog_CPP=$CPP
37964716 fi
3797 echo "$as_me:$LINENO: result: $CPP" >&5
3798 echo "${ECHO_T}$CPP" >&6
4717 { echo "$as_me:$LINENO: result: $CPP" >&5
4718 echo "${ECHO_T}$CPP" >&6; }
37994719 ac_preproc_ok=false
38004720 for ac_c_preproc_warn_flag in '' yes
38014721 do
38184738 #endif
38194739 Syntax error
38204740 _ACEOF
3821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4741 if { (ac_try="$ac_cpp conftest.$ac_ext"
4742 case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4745 esac
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38234748 ac_status=$?
38244749 grep -v '^ *+' conftest.er1 >conftest.err
38254750 rm -f conftest.er1
38264751 cat conftest.err >&5
38274752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } >/dev/null; then
3829 if test -s conftest.err; then
3830 ac_cpp_err=$ac_c_preproc_warn_flag
3831 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3832 else
3833 ac_cpp_err=
3834 fi
3835 else
3836 ac_cpp_err=yes
3837 fi
3838 if test -z "$ac_cpp_err"; then
4753 (exit $ac_status); } >/dev/null && {
4754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4755 test ! -s conftest.err
4756 }; then
38394757 :
38404758 else
38414759 echo "$as_me: failed program was:" >&5
38444762 # Broken: fails on valid input.
38454763 continue
38464764 fi
4765
38474766 rm -f conftest.err conftest.$ac_ext
38484767
3849 # OK, works on sane cases. Now check whether non-existent headers
4768 # OK, works on sane cases. Now check whether nonexistent headers
38504769 # can be detected and how.
38514770 cat >conftest.$ac_ext <<_ACEOF
38524771 /* confdefs.h. */
38564775 /* end confdefs.h. */
38574776 #include <ac_nonexistent.h>
38584777 _ACEOF
3859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4778 if { (ac_try="$ac_cpp conftest.$ac_ext"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4784 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38614785 ac_status=$?
38624786 grep -v '^ *+' conftest.er1 >conftest.err
38634787 rm -f conftest.er1
38644788 cat conftest.err >&5
38654789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } >/dev/null; then
3867 if test -s conftest.err; then
3868 ac_cpp_err=$ac_c_preproc_warn_flag
3869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3870 else
3871 ac_cpp_err=
3872 fi
3873 else
3874 ac_cpp_err=yes
3875 fi
3876 if test -z "$ac_cpp_err"; then
4790 (exit $ac_status); } >/dev/null && {
4791 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4792 test ! -s conftest.err
4793 }; then
38774794 # Broken: success on invalid input.
38784795 continue
38794796 else
38844801 ac_preproc_ok=:
38854802 break
38864803 fi
4804
38874805 rm -f conftest.err conftest.$ac_ext
38884806
38894807 done
39064824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39074825
39084826
3909 echo "$as_me:$LINENO: checking for egrep" >&5
3910 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3911 if test "${ac_cv_prog_egrep+set}" = set; then
4827 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4828 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4829 if test "${ac_cv_path_GREP+set}" = set; then
39124830 echo $ECHO_N "(cached) $ECHO_C" >&6
39134831 else
3914 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3915 then ac_cv_prog_egrep='grep -E'
3916 else ac_cv_prog_egrep='egrep'
4832 # Extract the first word of "grep ggrep" to use in msg output
4833 if test -z "$GREP"; then
4834 set dummy grep ggrep; ac_prog_name=$2
4835 if test "${ac_cv_path_GREP+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 else
4838 ac_path_GREP_found=false
4839 # Loop through the user's path and test for each of PROGNAME-LIST
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 do
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_prog in grep ggrep; do
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4848 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4849 # Check for GNU ac_path_GREP and select it if it is found.
4850 # Check for GNU $ac_path_GREP
4851 case `"$ac_path_GREP" --version 2>&1` in
4852 *GNU*)
4853 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4854 *)
4855 ac_count=0
4856 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4857 while :
4858 do
4859 cat "conftest.in" "conftest.in" >"conftest.tmp"
4860 mv "conftest.tmp" "conftest.in"
4861 cp "conftest.in" "conftest.nl"
4862 echo 'GREP' >> "conftest.nl"
4863 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4865 ac_count=`expr $ac_count + 1`
4866 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4867 # Best one so far, save it but keep looking for a better one
4868 ac_cv_path_GREP="$ac_path_GREP"
4869 ac_path_GREP_max=$ac_count
39174870 fi
3918 fi
3919 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3920 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3921 EGREP=$ac_cv_prog_egrep
3922
3923
3924 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4871 # 10*(2^10) chars as input seems more than enough
4872 test $ac_count -gt 10 && break
4873 done
4874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4875 esac
4876
4877
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881
4882 done
4883 IFS=$as_save_IFS
4884
4885
4886 fi
4887
4888 GREP="$ac_cv_path_GREP"
4889 if test -z "$GREP"; then
4890 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4891 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4892 { (exit 1); exit 1; }; }
4893 fi
4894
4895 else
4896 ac_cv_path_GREP=$GREP
4897 fi
4898
4899
4900 fi
4901 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4902 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4903 GREP="$ac_cv_path_GREP"
4904
4905
4906 { echo "$as_me:$LINENO: checking for egrep" >&5
4907 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4908 if test "${ac_cv_path_EGREP+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4912 then ac_cv_path_EGREP="$GREP -E"
4913 else
4914 # Extract the first word of "egrep" to use in msg output
4915 if test -z "$EGREP"; then
4916 set dummy egrep; ac_prog_name=$2
4917 if test "${ac_cv_path_EGREP+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 else
4920 ac_path_EGREP_found=false
4921 # Loop through the user's path and test for each of PROGNAME-LIST
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4924 do
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_prog in egrep; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4930 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4931 # Check for GNU ac_path_EGREP and select it if it is found.
4932 # Check for GNU $ac_path_EGREP
4933 case `"$ac_path_EGREP" --version 2>&1` in
4934 *GNU*)
4935 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4936 *)
4937 ac_count=0
4938 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4939 while :
4940 do
4941 cat "conftest.in" "conftest.in" >"conftest.tmp"
4942 mv "conftest.tmp" "conftest.in"
4943 cp "conftest.in" "conftest.nl"
4944 echo 'EGREP' >> "conftest.nl"
4945 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4946 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4947 ac_count=`expr $ac_count + 1`
4948 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4949 # Best one so far, save it but keep looking for a better one
4950 ac_cv_path_EGREP="$ac_path_EGREP"
4951 ac_path_EGREP_max=$ac_count
4952 fi
4953 # 10*(2^10) chars as input seems more than enough
4954 test $ac_count -gt 10 && break
4955 done
4956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4957 esac
4958
4959
4960 $ac_path_EGREP_found && break 3
4961 done
4962 done
4963
4964 done
4965 IFS=$as_save_IFS
4966
4967
4968 fi
4969
4970 EGREP="$ac_cv_path_EGREP"
4971 if test -z "$EGREP"; then
4972 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4973 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4974 { (exit 1); exit 1; }; }
4975 fi
4976
4977 else
4978 ac_cv_path_EGREP=$EGREP
4979 fi
4980
4981
4982 fi
4983 fi
4984 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4985 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4986 EGREP="$ac_cv_path_EGREP"
4987
4988
4989 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4990 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
39264991 if test "${ac_cv_header_stdc+set}" = set; then
39274992 echo $ECHO_N "(cached) $ECHO_C" >&6
39284993 else
39465011 }
39475012 _ACEOF
39485013 rm -f conftest.$ac_objext
3949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3950 (eval $ac_compile) 2>conftest.er1
5014 if { (ac_try="$ac_compile"
5015 case "(($ac_try" in
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5018 esac
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_compile") 2>conftest.er1
39515021 ac_status=$?
39525022 grep -v '^ *+' conftest.er1 >conftest.err
39535023 rm -f conftest.er1
39545024 cat conftest.err >&5
39555025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } &&
3957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 (eval $ac_try) 2>&5
3960 ac_status=$?
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; } &&
3963 { ac_try='test -s conftest.$ac_objext'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 (eval $ac_try) 2>&5
3966 ac_status=$?
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; }; then
5026 (exit $ac_status); } && {
5027 test -z "$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5029 } && test -s conftest.$ac_objext; then
39695030 ac_cv_header_stdc=yes
39705031 else
39715032 echo "$as_me: failed program was:" >&5
39725033 sed 's/^/| /' conftest.$ac_ext >&5
39735034
3974 ac_cv_header_stdc=no
3975 fi
3976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5035 ac_cv_header_stdc=no
5036 fi
5037
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775039
39785040 if test $ac_cv_header_stdc = yes; then
39795041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40295091 cat >>conftest.$ac_ext <<_ACEOF
40305092 /* end confdefs.h. */
40315093 #include <ctype.h>
5094 #include <stdlib.h>
40325095 #if ((' ' & 0x0FF) == 0x020)
40335096 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40345097 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40485111 for (i = 0; i < 256; i++)
40495112 if (XOR (islower (i), ISLOWER (i))
40505113 || toupper (i) != TOUPPER (i))
4051 exit(2);
4052 exit (0);
5114 return 2;
5115 return 0;
40535116 }
40545117 _ACEOF
40555118 rm -f conftest$ac_exeext
4056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4057 (eval $ac_link) 2>&5
5119 if { (ac_try="$ac_link"
5120 case "(($ac_try" in
5121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5122 *) ac_try_echo=$ac_try;;
5123 esac
5124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5125 (eval "$ac_link") 2>&5
40585126 ac_status=$?
40595127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 (eval $ac_try) 2>&5
5129 { (case "(($ac_try" in
5130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131 *) ac_try_echo=$ac_try;;
5132 esac
5133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134 (eval "$ac_try") 2>&5
40635135 ac_status=$?
40645136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655137 (exit $ac_status); }; }; then
40725144 ( exit $ac_status )
40735145 ac_cv_header_stdc=no
40745146 fi
4075 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4076 fi
4077 fi
4078 fi
4079 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4080 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5148 fi
5149
5150
5151 fi
5152 fi
5153 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5154 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
40815155 if test $ac_cv_header_stdc = yes; then
40825156
40835157 cat >>confdefs.h <<\_ACEOF
40865160
40875161 fi
40885162
4089 # Check whether --enable-shared or --disable-shared was given.
5163 # Check whether --enable-shared was given.
40905164 if test "${enable_shared+set}" = set; then
4091 enableval="$enable_shared"
4092 p=${PACKAGE-default}
5165 enableval=$enable_shared; p=${PACKAGE-default}
40935166 case $enableval in
40945167 yes) enable_shared=yes ;;
40955168 no) enable_shared=no ;;
41085181 esac
41095182 else
41105183 enable_shared=yes
4111 fi;
4112
4113 # Check whether --enable-static or --disable-static was given.
5184 fi
5185
5186
5187 # Check whether --enable-static was given.
41145188 if test "${enable_static+set}" = set; then
4115 enableval="$enable_static"
4116 p=${PACKAGE-default}
5189 enableval=$enable_static; p=${PACKAGE-default}
41175190 case $enableval in
41185191 yes) enable_static=yes ;;
41195192 no) enable_static=no ;;
41325205 esac
41335206 else
41345207 enable_static=yes
4135 fi;
4136
4137 # Check whether --enable-fast-install or --disable-fast-install was given.
5208 fi
5209
5210
5211 # Check whether --enable-fast-install was given.
41385212 if test "${enable_fast_install+set}" = set; then
4139 enableval="$enable_fast_install"
4140 p=${PACKAGE-default}
5213 enableval=$enable_fast_install; p=${PACKAGE-default}
41415214 case $enableval in
41425215 yes) enable_fast_install=yes ;;
41435216 no) enable_fast_install=no ;;
41565229 esac
41575230 else
41585231 enable_fast_install=yes
4159 fi;
5232 fi
5233
41605234
41615235 # Make sure we can run config.sub.
4162 $ac_config_sub sun4 >/dev/null 2>&1 ||
4163 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4164 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5237 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5238 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
41655239 { (exit 1); exit 1; }; }
41665240
4167 echo "$as_me:$LINENO: checking build system type" >&5
4168 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5241 { echo "$as_me:$LINENO: checking build system type" >&5
5242 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
41695243 if test "${ac_cv_build+set}" = set; then
41705244 echo $ECHO_N "(cached) $ECHO_C" >&6
41715245 else
4172 ac_cv_build_alias=$build_alias
4173 test -z "$ac_cv_build_alias" &&
4174 ac_cv_build_alias=`$ac_config_guess`
4175 test -z "$ac_cv_build_alias" &&
5246 ac_build_alias=$build_alias
5247 test "x$ac_build_alias" = x &&
5248 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5249 test "x$ac_build_alias" = x &&
41765250 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
41775251 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
41785252 { (exit 1); exit 1; }; }
4179 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4180 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4181 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5253 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5254 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5255 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
41825256 { (exit 1); exit 1; }; }
41835257
41845258 fi
4185 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4186 echo "${ECHO_T}$ac_cv_build" >&6
5259 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5260 echo "${ECHO_T}$ac_cv_build" >&6; }
5261 case $ac_cv_build in
5262 *-*-*) ;;
5263 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5264 echo "$as_me: error: invalid value of canonical build" >&2;}
5265 { (exit 1); exit 1; }; };;
5266 esac
41875267 build=$ac_cv_build
4188 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4189 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4190 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4191
4192
4193 echo "$as_me:$LINENO: checking host system type" >&5
4194 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5268 ac_save_IFS=$IFS; IFS='-'
5269 set x $ac_cv_build
5270 shift
5271 build_cpu=$1
5272 build_vendor=$2
5273 shift; shift
5274 # Remember, the first character of IFS is used to create $*,
5275 # except with old shells:
5276 build_os=$*
5277 IFS=$ac_save_IFS
5278 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5279
5280
5281 { echo "$as_me:$LINENO: checking host system type" >&5
5282 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
41955283 if test "${ac_cv_host+set}" = set; then
41965284 echo $ECHO_N "(cached) $ECHO_C" >&6
41975285 else
4198 ac_cv_host_alias=$host_alias
4199 test -z "$ac_cv_host_alias" &&
4200 ac_cv_host_alias=$ac_cv_build_alias
4201 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4202 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4203 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5286 if test "x$host_alias" = x; then
5287 ac_cv_host=$ac_cv_build
5288 else
5289 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5290 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5291 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
42045292 { (exit 1); exit 1; }; }
4205
4206 fi
4207 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4208 echo "${ECHO_T}$ac_cv_host" >&6
5293 fi
5294
5295 fi
5296 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5297 echo "${ECHO_T}$ac_cv_host" >&6; }
5298 case $ac_cv_host in
5299 *-*-*) ;;
5300 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5301 echo "$as_me: error: invalid value of canonical host" >&2;}
5302 { (exit 1); exit 1; }; };;
5303 esac
42095304 host=$ac_cv_host
4210 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4211 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4212 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4213
4214
4215 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4216 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5305 ac_save_IFS=$IFS; IFS='-'
5306 set x $ac_cv_host
5307 shift
5308 host_cpu=$1
5309 host_vendor=$2
5310 shift; shift
5311 # Remember, the first character of IFS is used to create $*,
5312 # except with old shells:
5313 host_os=$*
5314 IFS=$ac_save_IFS
5315 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5316
5317
5318 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5319 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
42175320 if test "${lt_cv_path_SED+set}" = set; then
42185321 echo $ECHO_N "(cached) $ECHO_C" >&6
42195322 else
42665369 fi
42675370
42685371 SED=$lt_cv_path_SED
4269 echo "$as_me:$LINENO: result: $SED" >&5
4270 echo "${ECHO_T}$SED" >&6
4271
4272
4273 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5372 { echo "$as_me:$LINENO: result: $SED" >&5
5373 echo "${ECHO_T}$SED" >&6; }
5374
5375
5376 # Check whether --with-gnu-ld was given.
42745377 if test "${with_gnu_ld+set}" = set; then
4275 withval="$with_gnu_ld"
4276 test "$withval" = no || with_gnu_ld=yes
5378 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
42775379 else
42785380 with_gnu_ld=no
4279 fi;
5381 fi
5382
42805383 ac_prog=ld
42815384 if test "$GCC" = yes; then
42825385 # Check if gcc -print-prog-name=ld gives a path.
4283 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4284 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5386 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5387 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
42855388 case $host in
42865389 *-*-mingw*)
42875390 # gcc leaves a trailing carriage return which upsets mingw
43105413 ;;
43115414 esac
43125415 elif test "$with_gnu_ld" = yes; then
4313 echo "$as_me:$LINENO: checking for GNU ld" >&5
4314 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4315 else
4316 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4317 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5416 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5417 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5418 else
5419 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5420 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
43185421 fi
43195422 if test "${lt_cv_path_LD+set}" = set; then
43205423 echo $ECHO_N "(cached) $ECHO_C" >&6
43475450
43485451 LD="$lt_cv_path_LD"
43495452 if test -n "$LD"; then
4350 echo "$as_me:$LINENO: result: $LD" >&5
4351 echo "${ECHO_T}$LD" >&6
4352 else
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
5453 { echo "$as_me:$LINENO: result: $LD" >&5
5454 echo "${ECHO_T}$LD" >&6; }
5455 else
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
43555458 fi
43565459 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
43575460 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
43585461 { (exit 1); exit 1; }; }
4359 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4360 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5462 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5463 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
43615464 if test "${lt_cv_prog_gnu_ld+set}" = set; then
43625465 echo $ECHO_N "(cached) $ECHO_C" >&6
43635466 else
43715474 ;;
43725475 esac
43735476 fi
4374 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4375 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5477 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5478 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
43765479 with_gnu_ld=$lt_cv_prog_gnu_ld
43775480
43785481
4379 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4380 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5482 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5483 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
43815484 if test "${lt_cv_ld_reload_flag+set}" = set; then
43825485 echo $ECHO_N "(cached) $ECHO_C" >&6
43835486 else
43845487 lt_cv_ld_reload_flag='-r'
43855488 fi
4386 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4387 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5489 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5490 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
43885491 reload_flag=$lt_cv_ld_reload_flag
43895492 case $reload_flag in
43905493 "" | " "*) ;;
44015504 ;;
44025505 esac
44035506
4404 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4405 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5507 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5508 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
44065509 if test "${lt_cv_path_NM+set}" = set; then
44075510 echo $ECHO_N "(cached) $ECHO_C" >&6
44085511 else
44505553 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
44515554 fi
44525555 fi
4453 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4454 echo "${ECHO_T}$lt_cv_path_NM" >&6
5556 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5557 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
44555558 NM="$lt_cv_path_NM"
44565559
4457 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4458 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5560 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5561 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
44595562 if test "${lt_cv_deplibs_check_method+set}" = set; then
44605563 echo $ECHO_N "(cached) $ECHO_C" >&6
44615564 else
45055608 lt_cv_deplibs_check_method=pass_all
45065609 ;;
45075610
4508 freebsd* | kfreebsd*-gnu | dragonfly*)
5611 freebsd* | dragonfly*)
45095612 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
45105613 case $host_cpu in
45115614 i*86 )
45595662 ;;
45605663
45615664 # This must be Linux ELF.
4562 linux*)
5665 linux* | k*bsd*-gnu)
45635666 lt_cv_deplibs_check_method=pass_all
45645667 ;;
45655668
4566 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5669 netbsd* | netbsdelf*-gnu)
45675670 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
45685671 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
45695672 else
46305733 esac
46315734
46325735 fi
4633 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4634 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5736 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5737 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
46355738 file_magic_cmd=$lt_cv_file_magic_cmd
46365739 deplibs_check_method=$lt_cv_deplibs_check_method
46375740 test -z "$deplibs_check_method" && deplibs_check_method=unknown
46485751 # Allow CC to be a program name with arguments.
46495752 compiler=$CC
46505753
4651 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5754 # Check whether --enable-libtool-lock was given.
46525755 if test "${enable_libtool_lock+set}" = set; then
4653 enableval="$enable_libtool_lock"
4654
4655 fi;
5756 enableval=$enable_libtool_lock;
5757 fi
5758
46565759 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
46575760
46585761 # Some flags need to be propagated to the compiler or linker for good
46795782 ;;
46805783 *-*-irix6*)
46815784 # Find out which ABI we are using.
4682 echo '#line 4683 "configure"' > conftest.$ac_ext
5785 echo '#line 5786 "configure"' > conftest.$ac_ext
46835786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46845787 (eval $ac_compile) 2>&5
46855788 ac_status=$?
47645867 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
47655868 SAVE_CFLAGS="$CFLAGS"
47665869 CFLAGS="$CFLAGS -belf"
4767 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4768 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5870 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5871 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
47695872 if test "${lt_cv_cc_needs_belf+set}" = set; then
47705873 echo $ECHO_N "(cached) $ECHO_C" >&6
47715874 else
47915894 }
47925895 _ACEOF
47935896 rm -f conftest.$ac_objext conftest$ac_exeext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4795 (eval $ac_link) 2>conftest.er1
5897 if { (ac_try="$ac_link"
5898 case "(($ac_try" in
5899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5900 *) ac_try_echo=$ac_try;;
5901 esac
5902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5903 (eval "$ac_link") 2>conftest.er1
47965904 ac_status=$?
47975905 grep -v '^ *+' conftest.er1 >conftest.err
47985906 rm -f conftest.er1
47995907 cat conftest.err >&5
48005908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } &&
4802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 (eval $ac_try) 2>&5
4805 ac_status=$?
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try='test -s conftest$ac_exeext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4810 (eval $ac_try) 2>&5
4811 ac_status=$?
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
5909 (exit $ac_status); } && {
5910 test -z "$ac_c_werror_flag" ||
5911 test ! -s conftest.err
5912 } && test -s conftest$ac_exeext &&
5913 $as_test_x conftest$ac_exeext; then
48145914 lt_cv_cc_needs_belf=yes
48155915 else
48165916 echo "$as_me: failed program was:" >&5
48175917 sed 's/^/| /' conftest.$ac_ext >&5
48185918
4819 lt_cv_cc_needs_belf=no
4820 fi
4821 rm -f conftest.err conftest.$ac_objext \
5919 lt_cv_cc_needs_belf=no
5920 fi
5921
5922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48225923 conftest$ac_exeext conftest.$ac_ext
48235924 ac_ext=c
48245925 ac_cpp='$CPP $CPPFLAGS'
48275928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48285929
48295930 fi
4830 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4831 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5931 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5932 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
48325933 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
48335934 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
48345935 CFLAGS="$SAVE_CFLAGS"
48745975 inttypes.h stdint.h unistd.h
48755976 do
48765977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4877 echo "$as_me:$LINENO: checking for $ac_header" >&5
4878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
48805981 echo $ECHO_N "(cached) $ECHO_C" >&6
48815982 else
48825983 cat >conftest.$ac_ext <<_ACEOF
48905991 #include <$ac_header>
48915992 _ACEOF
48925993 rm -f conftest.$ac_objext
4893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4894 (eval $ac_compile) 2>conftest.er1
5994 if { (ac_try="$ac_compile"
5995 case "(($ac_try" in
5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 *) ac_try_echo=$ac_try;;
5998 esac
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_compile") 2>conftest.er1
48956001 ac_status=$?
48966002 grep -v '^ *+' conftest.er1 >conftest.err
48976003 rm -f conftest.er1
48986004 cat conftest.err >&5
48996005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); } &&
4901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 (eval $ac_try) 2>&5
4904 ac_status=$?
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; } &&
4907 { ac_try='test -s conftest.$ac_objext'
4908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 (eval $ac_try) 2>&5
4910 ac_status=$?
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; }; then
6006 (exit $ac_status); } && {
6007 test -z "$ac_c_werror_flag" ||
6008 test ! -s conftest.err
6009 } && test -s conftest.$ac_objext; then
49136010 eval "$as_ac_Header=yes"
49146011 else
49156012 echo "$as_me: failed program was:" >&5
49166013 sed 's/^/| /' conftest.$ac_ext >&5
49176014
4918 eval "$as_ac_Header=no"
4919 fi
4920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4921 fi
4922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6015 eval "$as_ac_Header=no"
6016 fi
6017
6018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6019 fi
6020 ac_res=`eval echo '${'$as_ac_Header'}'`
6021 { echo "$as_me:$LINENO: result: $ac_res" >&5
6022 echo "${ECHO_T}$ac_res" >&6; }
49246023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49256024 cat >>confdefs.h <<_ACEOF
49266025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49356034 for ac_header in dlfcn.h
49366035 do
49376036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4939 echo "$as_me:$LINENO: checking for $ac_header" >&5
4940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49426041 echo $ECHO_N "(cached) $ECHO_C" >&6
49436042 fi
4944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6043 ac_res=`eval echo '${'$as_ac_Header'}'`
6044 { echo "$as_me:$LINENO: result: $ac_res" >&5
6045 echo "${ECHO_T}$ac_res" >&6; }
49466046 else
49476047 # Is the header compilable?
4948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6048 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
49506050 cat >conftest.$ac_ext <<_ACEOF
49516051 /* confdefs.h. */
49526052 _ACEOF
49576057 #include <$ac_header>
49586058 _ACEOF
49596059 rm -f conftest.$ac_objext
4960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4961 (eval $ac_compile) 2>conftest.er1
6060 if { (ac_try="$ac_compile"
6061 case "(($ac_try" in
6062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063 *) ac_try_echo=$ac_try;;
6064 esac
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066 (eval "$ac_compile") 2>conftest.er1
49626067 ac_status=$?
49636068 grep -v '^ *+' conftest.er1 >conftest.err
49646069 rm -f conftest.er1
49656070 cat conftest.err >&5
49666071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } &&
4968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 (eval $ac_try) 2>&5
4971 ac_status=$?
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try='test -s conftest.$ac_objext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 (eval $ac_try) 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
6072 (exit $ac_status); } && {
6073 test -z "$ac_c_werror_flag" ||
6074 test ! -s conftest.err
6075 } && test -s conftest.$ac_objext; then
49806076 ac_header_compiler=yes
49816077 else
49826078 echo "$as_me: failed program was:" >&5
49836079 sed 's/^/| /' conftest.$ac_ext >&5
49846080
4985 ac_header_compiler=no
4986 fi
4987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4989 echo "${ECHO_T}$ac_header_compiler" >&6
6081 ac_header_compiler=no
6082 fi
6083
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6086 echo "${ECHO_T}$ac_header_compiler" >&6; }
49906087
49916088 # Is the header present?
4992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6089 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6090 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
49946091 cat >conftest.$ac_ext <<_ACEOF
49956092 /* confdefs.h. */
49966093 _ACEOF
49996096 /* end confdefs.h. */
50006097 #include <$ac_header>
50016098 _ACEOF
5002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6099 if { (ac_try="$ac_cpp conftest.$ac_ext"
6100 case "(($ac_try" in
6101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6102 *) ac_try_echo=$ac_try;;
6103 esac
6104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
50046106 ac_status=$?
50056107 grep -v '^ *+' conftest.er1 >conftest.err
50066108 rm -f conftest.er1
50076109 cat conftest.err >&5
50086110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } >/dev/null; then
5010 if test -s conftest.err; then
5011 ac_cpp_err=$ac_c_preproc_warn_flag
5012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5013 else
5014 ac_cpp_err=
5015 fi
5016 else
5017 ac_cpp_err=yes
5018 fi
5019 if test -z "$ac_cpp_err"; then
6111 (exit $ac_status); } >/dev/null && {
6112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 }; then
50206115 ac_header_preproc=yes
50216116 else
50226117 echo "$as_me: failed program was:" >&5
50246119
50256120 ac_header_preproc=no
50266121 fi
6122
50276123 rm -f conftest.err conftest.$ac_ext
5028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5029 echo "${ECHO_T}$ac_header_preproc" >&6
6124 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6125 echo "${ECHO_T}$ac_header_preproc" >&6; }
50306126
50316127 # So? What about this header?
50326128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50506146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50516147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50526148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5053 (
5054 cat <<\_ASBOX
5055 ## ------------------------------------------ ##
5056 ## Report this to the AC_PACKAGE_NAME lists. ##
5057 ## ------------------------------------------ ##
5058 _ASBOX
5059 ) |
5060 sed "s/^/$as_me: WARNING: /" >&2
6149
50616150 ;;
50626151 esac
5063 echo "$as_me:$LINENO: checking for $ac_header" >&5
5064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6152 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
50666155 echo $ECHO_N "(cached) $ECHO_C" >&6
50676156 else
50686157 eval "$as_ac_Header=\$ac_header_preproc"
50696158 fi
5070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6159 ac_res=`eval echo '${'$as_ac_Header'}'`
6160 { echo "$as_me:$LINENO: result: $ac_res" >&5
6161 echo "${ECHO_T}$ac_res" >&6; }
50726162
50736163 fi
50746164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50806170
50816171 done
50826172
5083 ac_ext=cc
6173 ac_ext=cpp
50846174 ac_cpp='$CXXCPP $CPPFLAGS'
50856175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50876177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5088 if test -n "$ac_tool_prefix"; then
5089 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6178 if test -z "$CXX"; then
6179 if test -n "$CCC"; then
6180 CXX=$CCC
6181 else
6182 if test -n "$ac_tool_prefix"; then
6183 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
50906184 do
50916185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
50926186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5093 echo "$as_me:$LINENO: checking for $ac_word" >&5
5094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50956189 if test "${ac_cv_prog_CXX+set}" = set; then
50966190 echo $ECHO_N "(cached) $ECHO_C" >&6
50976191 else
51046198 IFS=$as_save_IFS
51056199 test -z "$as_dir" && as_dir=.
51066200 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51086202 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
51096203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51106204 break 2
51116205 fi
51126206 done
51136207 done
6208 IFS=$as_save_IFS
51146209
51156210 fi
51166211 fi
51176212 CXX=$ac_cv_prog_CXX
51186213 if test -n "$CXX"; then
5119 echo "$as_me:$LINENO: result: $CXX" >&5
5120 echo "${ECHO_T}$CXX" >&6
5121 else
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5124 fi
6214 { echo "$as_me:$LINENO: result: $CXX" >&5
6215 echo "${ECHO_T}$CXX" >&6; }
6216 else
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6219 fi
6220
51256221
51266222 test -n "$CXX" && break
51276223 done
51286224 fi
51296225 if test -z "$CXX"; then
51306226 ac_ct_CXX=$CXX
5131 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6227 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
51326228 do
51336229 # Extract the first word of "$ac_prog", so it can be a program name with args.
51346230 set dummy $ac_prog; ac_word=$2
5135 echo "$as_me:$LINENO: checking for $ac_word" >&5
5136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51376233 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
51386234 echo $ECHO_N "(cached) $ECHO_C" >&6
51396235 else
51466242 IFS=$as_save_IFS
51476243 test -z "$as_dir" && as_dir=.
51486244 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51506246 ac_cv_prog_ac_ct_CXX="$ac_prog"
51516247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51526248 break 2
51536249 fi
51546250 done
51556251 done
6252 IFS=$as_save_IFS
51566253
51576254 fi
51586255 fi
51596256 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
51606257 if test -n "$ac_ct_CXX"; then
5161 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5162 echo "${ECHO_T}$ac_ct_CXX" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
6258 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6259 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6260 else
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6263 fi
6264
51676265
51686266 test -n "$ac_ct_CXX" && break
51696267 done
5170 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5171
5172 CXX=$ac_ct_CXX
5173 fi
5174
5175
6268
6269 if test "x$ac_ct_CXX" = x; then
6270 CXX="g++"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6275 whose name does not start with the host triplet. If you think this
6276 configuration is useful to you, please write to autoconf@gnu.org." >&5
6277 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6278 whose name does not start with the host triplet. If you think this
6279 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6280 ac_tool_warned=yes ;;
6281 esac
6282 CXX=$ac_ct_CXX
6283 fi
6284 fi
6285
6286 fi
6287 fi
51766288 # Provide some information about the compiler.
5177 echo "$as_me:$LINENO:" \
5178 "checking for C++ compiler version" >&5
6289 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
51796290 ac_compiler=`set X $ac_compile; echo $2`
5180 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5181 (eval $ac_compiler --version </dev/null >&5) 2>&5
6291 { (ac_try="$ac_compiler --version >&5"
6292 case "(($ac_try" in
6293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6294 *) ac_try_echo=$ac_try;;
6295 esac
6296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6297 (eval "$ac_compiler --version >&5") 2>&5
51826298 ac_status=$?
51836299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846300 (exit $ac_status); }
5185 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5186 (eval $ac_compiler -v </dev/null >&5) 2>&5
6301 { (ac_try="$ac_compiler -v >&5"
6302 case "(($ac_try" in
6303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6304 *) ac_try_echo=$ac_try;;
6305 esac
6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307 (eval "$ac_compiler -v >&5") 2>&5
51876308 ac_status=$?
51886309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51896310 (exit $ac_status); }
5190 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5191 (eval $ac_compiler -V </dev/null >&5) 2>&5
6311 { (ac_try="$ac_compiler -V >&5"
6312 case "(($ac_try" in
6313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 *) ac_try_echo=$ac_try;;
6315 esac
6316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 (eval "$ac_compiler -V >&5") 2>&5
51926318 ac_status=$?
51936319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51946320 (exit $ac_status); }
51956321
5196 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5197 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6322 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6323 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
51986324 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
51996325 echo $ECHO_N "(cached) $ECHO_C" >&6
52006326 else
52176343 }
52186344 _ACEOF
52196345 rm -f conftest.$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
6346 if { (ac_try="$ac_compile"
6347 case "(($ac_try" in
6348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6349 *) ac_try_echo=$ac_try;;
6350 esac
6351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6352 (eval "$ac_compile") 2>conftest.er1
52226353 ac_status=$?
52236354 grep -v '^ *+' conftest.er1 >conftest.err
52246355 rm -f conftest.er1
52256356 cat conftest.err >&5
52266357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5230 (eval $ac_try) 2>&5
5231 ac_status=$?
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; } &&
5234 { ac_try='test -s conftest.$ac_objext'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 (eval $ac_try) 2>&5
5237 ac_status=$?
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
6358 (exit $ac_status); } && {
6359 test -z "$ac_cxx_werror_flag" ||
6360 test ! -s conftest.err
6361 } && test -s conftest.$ac_objext; then
52406362 ac_compiler_gnu=yes
52416363 else
52426364 echo "$as_me: failed program was:" >&5
52436365 sed 's/^/| /' conftest.$ac_ext >&5
52446366
5245 ac_compiler_gnu=no
5246 fi
5247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6367 ac_compiler_gnu=no
6368 fi
6369
6370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52486371 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
52496372
52506373 fi
5251 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5252 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6374 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6375 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
52536376 GXX=`test $ac_compiler_gnu = yes && echo yes`
52546377 ac_test_CXXFLAGS=${CXXFLAGS+set}
52556378 ac_save_CXXFLAGS=$CXXFLAGS
5256 CXXFLAGS="-g"
5257 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5258 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6379 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6380 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
52596381 if test "${ac_cv_prog_cxx_g+set}" = set; then
52606382 echo $ECHO_N "(cached) $ECHO_C" >&6
52616383 else
5262 cat >conftest.$ac_ext <<_ACEOF
6384 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6385 ac_cxx_werror_flag=yes
6386 ac_cv_prog_cxx_g=no
6387 CXXFLAGS="-g"
6388 cat >conftest.$ac_ext <<_ACEOF
52636389 /* confdefs.h. */
52646390 _ACEOF
52656391 cat confdefs.h >>conftest.$ac_ext
52756401 }
52766402 _ACEOF
52776403 rm -f conftest.$ac_objext
5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5279 (eval $ac_compile) 2>conftest.er1
6404 if { (ac_try="$ac_compile"
6405 case "(($ac_try" in
6406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6407 *) ac_try_echo=$ac_try;;
6408 esac
6409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6410 (eval "$ac_compile") 2>conftest.er1
52806411 ac_status=$?
52816412 grep -v '^ *+' conftest.er1 >conftest.err
52826413 rm -f conftest.er1
52836414 cat conftest.err >&5
52846415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } &&
5286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 (eval $ac_try) 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try='test -s conftest.$ac_objext'
5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 (eval $ac_try) 2>&5
5295 ac_status=$?
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; }; then
6416 (exit $ac_status); } && {
6417 test -z "$ac_cxx_werror_flag" ||
6418 test ! -s conftest.err
6419 } && test -s conftest.$ac_objext; then
52986420 ac_cv_prog_cxx_g=yes
52996421 else
53006422 echo "$as_me: failed program was:" >&5
53016423 sed 's/^/| /' conftest.$ac_ext >&5
53026424
5303 ac_cv_prog_cxx_g=no
5304 fi
5305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5306 fi
5307 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5308 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6425 CXXFLAGS=""
6426 cat >conftest.$ac_ext <<_ACEOF
6427 /* confdefs.h. */
6428 _ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432
6433 int
6434 main ()
6435 {
6436
6437 ;
6438 return 0;
6439 }
6440 _ACEOF
6441 rm -f conftest.$ac_objext
6442 if { (ac_try="$ac_compile"
6443 case "(($ac_try" in
6444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6445 *) ac_try_echo=$ac_try;;
6446 esac
6447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6448 (eval "$ac_compile") 2>conftest.er1
6449 ac_status=$?
6450 grep -v '^ *+' conftest.er1 >conftest.err
6451 rm -f conftest.er1
6452 cat conftest.err >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } && {
6455 test -z "$ac_cxx_werror_flag" ||
6456 test ! -s conftest.err
6457 } && test -s conftest.$ac_objext; then
6458 :
6459 else
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6462
6463 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6464 CXXFLAGS="-g"
6465 cat >conftest.$ac_ext <<_ACEOF
6466 /* confdefs.h. */
6467 _ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471
6472 int
6473 main ()
6474 {
6475
6476 ;
6477 return 0;
6478 }
6479 _ACEOF
6480 rm -f conftest.$ac_objext
6481 if { (ac_try="$ac_compile"
6482 case "(($ac_try" in
6483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6484 *) ac_try_echo=$ac_try;;
6485 esac
6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487 (eval "$ac_compile") 2>conftest.er1
6488 ac_status=$?
6489 grep -v '^ *+' conftest.er1 >conftest.err
6490 rm -f conftest.er1
6491 cat conftest.err >&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_cxx_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest.$ac_objext; then
6497 ac_cv_prog_cxx_g=yes
6498 else
6499 echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.$ac_ext >&5
6501
6502
6503 fi
6504
6505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6506 fi
6507
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509 fi
6510
6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6512 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6513 fi
6514 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6515 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
53096516 if test "$ac_test_CXXFLAGS" = set; then
53106517 CXXFLAGS=$ac_save_CXXFLAGS
53116518 elif test $ac_cv_prog_cxx_g = yes; then
53216528 CXXFLAGS=
53226529 fi
53236530 fi
5324 for ac_declaration in \
5325 '' \
5326 'extern "C" void std::exit (int) throw (); using std::exit;' \
5327 'extern "C" void std::exit (int); using std::exit;' \
5328 'extern "C" void exit (int) throw ();' \
5329 'extern "C" void exit (int);' \
5330 'void exit (int);'
5331 do
5332 cat >conftest.$ac_ext <<_ACEOF
5333 /* confdefs.h. */
5334 _ACEOF
5335 cat confdefs.h >>conftest.$ac_ext
5336 cat >>conftest.$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5338 $ac_declaration
5339 #include <stdlib.h>
5340 int
5341 main ()
5342 {
5343 exit (42);
5344 ;
5345 return 0;
5346 }
5347 _ACEOF
5348 rm -f conftest.$ac_objext
5349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5350 (eval $ac_compile) 2>conftest.er1
5351 ac_status=$?
5352 grep -v '^ *+' conftest.er1 >conftest.err
5353 rm -f conftest.er1
5354 cat conftest.err >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } &&
5357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5359 (eval $ac_try) 2>&5
5360 ac_status=$?
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; } &&
5363 { ac_try='test -s conftest.$ac_objext'
5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5365 (eval $ac_try) 2>&5
5366 ac_status=$?
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }; }; then
5369 :
5370 else
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.$ac_ext >&5
5373
5374 continue
5375 fi
5376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5377 cat >conftest.$ac_ext <<_ACEOF
5378 /* confdefs.h. */
5379 _ACEOF
5380 cat confdefs.h >>conftest.$ac_ext
5381 cat >>conftest.$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5383 $ac_declaration
5384 int
5385 main ()
5386 {
5387 exit (42);
5388 ;
5389 return 0;
5390 }
5391 _ACEOF
5392 rm -f conftest.$ac_objext
5393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5394 (eval $ac_compile) 2>conftest.er1
5395 ac_status=$?
5396 grep -v '^ *+' conftest.er1 >conftest.err
5397 rm -f conftest.er1
5398 cat conftest.err >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); } &&
5401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 (eval $ac_try) 2>&5
5404 ac_status=$?
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try='test -s conftest.$ac_objext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 (eval $ac_try) 2>&5
5410 ac_status=$?
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5413 break
5414 else
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.$ac_ext >&5
5417
5418 fi
5419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5420 done
5421 rm -f conftest*
5422 if test -n "$ac_declaration"; then
5423 echo '#ifdef __cplusplus' >>confdefs.h
5424 echo $ac_declaration >>confdefs.h
5425 echo '#endif' >>confdefs.h
5426 fi
5427
5428 ac_ext=cc
6531 ac_ext=cpp
54296532 ac_cpp='$CXXCPP $CPPFLAGS'
54306533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54336536
6537 depcc="$CXX" am_compiler_list=
6538
6539 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6540 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6541 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 else
6544 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6545 # We make a subdir and do the tests there. Otherwise we can end up
6546 # making bogus files that we don't know about and never remove. For
6547 # instance it was reported that on HP-UX the gcc test will end up
6548 # making a dummy file named `D' -- because `-MD' means `put the output
6549 # in D'.
6550 mkdir conftest.dir
6551 # Copy depcomp to subdir because otherwise we won't find it if we're
6552 # using a relative directory.
6553 cp "$am_depcomp" conftest.dir
6554 cd conftest.dir
6555 # We will build objects and dependencies in a subdirectory because
6556 # it helps to detect inapplicable dependency modes. For instance
6557 # both Tru64's cc and ICC support -MD to output dependencies as a
6558 # side effect of compilation, but ICC will put the dependencies in
6559 # the current directory while Tru64 will put them in the object
6560 # directory.
6561 mkdir sub
6562
6563 am_cv_CXX_dependencies_compiler_type=none
6564 if test "$am_compiler_list" = ""; then
6565 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6566 fi
6567 for depmode in $am_compiler_list; do
6568 # Setup a source with many dependencies, because some compilers
6569 # like to wrap large dependency lists on column 80 (with \), and
6570 # we should not choose a depcomp mode which is confused by this.
6571 #
6572 # We need to recreate these files for each test, as the compiler may
6573 # overwrite some of them when testing with obscure command lines.
6574 # This happens at least with the AIX C compiler.
6575 : > sub/conftest.c
6576 for i in 1 2 3 4 5 6; do
6577 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6578 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6579 # Solaris 8's {/usr,}/bin/sh.
6580 touch sub/conftst$i.h
6581 done
6582 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6583
6584 case $depmode in
6585 nosideeffect)
6586 # after this tag, mechanisms are not by side-effect, so they'll
6587 # only be used when explicitly requested
6588 if test "x$enable_dependency_tracking" = xyes; then
6589 continue
6590 else
6591 break
6592 fi
6593 ;;
6594 none) break ;;
6595 esac
6596 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6597 # mode. It turns out that the SunPro C++ compiler does not properly
6598 # handle `-M -o', and we need to detect this.
6599 if depmode=$depmode \
6600 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6601 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6602 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6603 >/dev/null 2>conftest.err &&
6604 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6605 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6606 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6607 # icc doesn't choke on unknown options, it will just issue warnings
6608 # or remarks (even with -Werror). So we grep stderr for any message
6609 # that says an option was ignored or not supported.
6610 # When given -MP, icc 7.0 and 7.1 complain thusly:
6611 # icc: Command line warning: ignoring option '-M'; no argument required
6612 # The diagnosis changed in icc 8.0:
6613 # icc: Command line remark: option '-MP' not supported
6614 if (grep 'ignoring option' conftest.err ||
6615 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6616 am_cv_CXX_dependencies_compiler_type=$depmode
6617 break
6618 fi
6619 fi
6620 done
6621
6622 cd ..
6623 rm -rf conftest.dir
6624 else
6625 am_cv_CXX_dependencies_compiler_type=none
6626 fi
6627
6628 fi
6629 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6630 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6631 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6632
6633
6634
6635 if
6636 test "x$enable_dependency_tracking" != xno \
6637 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6638 am__fastdepCXX_TRUE=
6639 am__fastdepCXX_FALSE='#'
6640 else
6641 am__fastdepCXX_TRUE='#'
6642 am__fastdepCXX_FALSE=
6643 fi
6644
6645
54346646
54356647
54366648 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
54376649 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
54386650 (test "X$CXX" != "Xg++"))) ; then
5439 ac_ext=cc
6651 ac_ext=cpp
54406652 ac_cpp='$CXXCPP $CPPFLAGS'
54416653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5444 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5445 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6656 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6657 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
54466658 if test -z "$CXXCPP"; then
54476659 if test "${ac_cv_prog_CXXCPP+set}" = set; then
54486660 echo $ECHO_N "(cached) $ECHO_C" >&6
54726684 #endif
54736685 Syntax error
54746686 _ACEOF
5475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6687 if { (ac_try="$ac_cpp conftest.$ac_ext"
6688 case "(($ac_try" in
6689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6690 *) ac_try_echo=$ac_try;;
6691 esac
6692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
54776694 ac_status=$?
54786695 grep -v '^ *+' conftest.er1 >conftest.err
54796696 rm -f conftest.er1
54806697 cat conftest.err >&5
54816698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } >/dev/null; then
5483 if test -s conftest.err; then
5484 ac_cpp_err=$ac_cxx_preproc_warn_flag
5485 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5486 else
5487 ac_cpp_err=
5488 fi
5489 else
5490 ac_cpp_err=yes
5491 fi
5492 if test -z "$ac_cpp_err"; then
6699 (exit $ac_status); } >/dev/null && {
6700 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6701 test ! -s conftest.err
6702 }; then
54936703 :
54946704 else
54956705 echo "$as_me: failed program was:" >&5
54986708 # Broken: fails on valid input.
54996709 continue
55006710 fi
6711
55016712 rm -f conftest.err conftest.$ac_ext
55026713
5503 # OK, works on sane cases. Now check whether non-existent headers
6714 # OK, works on sane cases. Now check whether nonexistent headers
55046715 # can be detected and how.
55056716 cat >conftest.$ac_ext <<_ACEOF
55066717 /* confdefs.h. */
55106721 /* end confdefs.h. */
55116722 #include <ac_nonexistent.h>
55126723 _ACEOF
5513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6724 if { (ac_try="$ac_cpp conftest.$ac_ext"
6725 case "(($ac_try" in
6726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6727 *) ac_try_echo=$ac_try;;
6728 esac
6729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
55156731 ac_status=$?
55166732 grep -v '^ *+' conftest.er1 >conftest.err
55176733 rm -f conftest.er1
55186734 cat conftest.err >&5
55196735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } >/dev/null; then
5521 if test -s conftest.err; then
5522 ac_cpp_err=$ac_cxx_preproc_warn_flag
5523 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5524 else
5525 ac_cpp_err=
5526 fi
5527 else
5528 ac_cpp_err=yes
5529 fi
5530 if test -z "$ac_cpp_err"; then
6736 (exit $ac_status); } >/dev/null && {
6737 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6738 test ! -s conftest.err
6739 }; then
55316740 # Broken: success on invalid input.
55326741 continue
55336742 else
55386747 ac_preproc_ok=:
55396748 break
55406749 fi
6750
55416751 rm -f conftest.err conftest.$ac_ext
55426752
55436753 done
55556765 else
55566766 ac_cv_prog_CXXCPP=$CXXCPP
55576767 fi
5558 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5559 echo "${ECHO_T}$CXXCPP" >&6
6768 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6769 echo "${ECHO_T}$CXXCPP" >&6; }
55606770 ac_preproc_ok=false
55616771 for ac_cxx_preproc_warn_flag in '' yes
55626772 do
55796789 #endif
55806790 Syntax error
55816791 _ACEOF
5582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6792 if { (ac_try="$ac_cpp conftest.$ac_ext"
6793 case "(($ac_try" in
6794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6795 *) ac_try_echo=$ac_try;;
6796 esac
6797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
55846799 ac_status=$?
55856800 grep -v '^ *+' conftest.er1 >conftest.err
55866801 rm -f conftest.er1
55876802 cat conftest.err >&5
55886803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } >/dev/null; then
5590 if test -s conftest.err; then
5591 ac_cpp_err=$ac_cxx_preproc_warn_flag
5592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5593 else
5594 ac_cpp_err=
5595 fi
5596 else
5597 ac_cpp_err=yes
5598 fi
5599 if test -z "$ac_cpp_err"; then
6804 (exit $ac_status); } >/dev/null && {
6805 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6806 test ! -s conftest.err
6807 }; then
56006808 :
56016809 else
56026810 echo "$as_me: failed program was:" >&5
56056813 # Broken: fails on valid input.
56066814 continue
56076815 fi
6816
56086817 rm -f conftest.err conftest.$ac_ext
56096818
5610 # OK, works on sane cases. Now check whether non-existent headers
6819 # OK, works on sane cases. Now check whether nonexistent headers
56116820 # can be detected and how.
56126821 cat >conftest.$ac_ext <<_ACEOF
56136822 /* confdefs.h. */
56176826 /* end confdefs.h. */
56186827 #include <ac_nonexistent.h>
56196828 _ACEOF
5620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6829 if { (ac_try="$ac_cpp conftest.$ac_ext"
6830 case "(($ac_try" in
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6833 esac
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
56226836 ac_status=$?
56236837 grep -v '^ *+' conftest.er1 >conftest.err
56246838 rm -f conftest.er1
56256839 cat conftest.err >&5
56266840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } >/dev/null; then
5628 if test -s conftest.err; then
5629 ac_cpp_err=$ac_cxx_preproc_warn_flag
5630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5631 else
5632 ac_cpp_err=
5633 fi
5634 else
5635 ac_cpp_err=yes
5636 fi
5637 if test -z "$ac_cpp_err"; then
6841 (exit $ac_status); } >/dev/null && {
6842 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6843 test ! -s conftest.err
6844 }; then
56386845 # Broken: success on invalid input.
56396846 continue
56406847 else
56456852 ac_preproc_ok=:
56466853 break
56476854 fi
6855
56486856 rm -f conftest.err conftest.$ac_ext
56496857
56506858 done
56606868 { (exit 1); exit 1; }; }
56616869 fi
56626870
5663 ac_ext=cc
6871 ac_ext=cpp
56646872 ac_cpp='$CXXCPP $CPPFLAGS'
56656873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56666874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746882 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56756883 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
56766884 if test -n "$ac_tool_prefix"; then
5677 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6885 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
56786886 do
56796887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
56806888 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5681 echo "$as_me:$LINENO: checking for $ac_word" >&5
5682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
56836891 if test "${ac_cv_prog_F77+set}" = set; then
56846892 echo $ECHO_N "(cached) $ECHO_C" >&6
56856893 else
56926900 IFS=$as_save_IFS
56936901 test -z "$as_dir" && as_dir=.
56946902 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
56966904 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
56976905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
56986906 break 2
56996907 fi
57006908 done
57016909 done
6910 IFS=$as_save_IFS
57026911
57036912 fi
57046913 fi
57056914 F77=$ac_cv_prog_F77
57066915 if test -n "$F77"; then
5707 echo "$as_me:$LINENO: result: $F77" >&5
5708 echo "${ECHO_T}$F77" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5712 fi
6916 { echo "$as_me:$LINENO: result: $F77" >&5
6917 echo "${ECHO_T}$F77" >&6; }
6918 else
6919 { echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6; }
6921 fi
6922
57136923
57146924 test -n "$F77" && break
57156925 done
57166926 fi
57176927 if test -z "$F77"; then
57186928 ac_ct_F77=$F77
5719 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6929 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
57206930 do
57216931 # Extract the first word of "$ac_prog", so it can be a program name with args.
57226932 set dummy $ac_prog; ac_word=$2
5723 echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57256935 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
57266936 echo $ECHO_N "(cached) $ECHO_C" >&6
57276937 else
57346944 IFS=$as_save_IFS
57356945 test -z "$as_dir" && as_dir=.
57366946 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57386948 ac_cv_prog_ac_ct_F77="$ac_prog"
57396949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57406950 break 2
57416951 fi
57426952 done
57436953 done
6954 IFS=$as_save_IFS
57446955
57456956 fi
57466957 fi
57476958 ac_ct_F77=$ac_cv_prog_ac_ct_F77
57486959 if test -n "$ac_ct_F77"; then
5749 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5750 echo "${ECHO_T}$ac_ct_F77" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5754 fi
6960 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6961 echo "${ECHO_T}$ac_ct_F77" >&6; }
6962 else
6963 { echo "$as_me:$LINENO: result: no" >&5
6964 echo "${ECHO_T}no" >&6; }
6965 fi
6966
57556967
57566968 test -n "$ac_ct_F77" && break
57576969 done
57586970
5759 F77=$ac_ct_F77
6971 if test "x$ac_ct_F77" = x; then
6972 F77=""
6973 else
6974 case $cross_compiling:$ac_tool_warned in
6975 yes:)
6976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6977 whose name does not start with the host triplet. If you think this
6978 configuration is useful to you, please write to autoconf@gnu.org." >&5
6979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6980 whose name does not start with the host triplet. If you think this
6981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6982 ac_tool_warned=yes ;;
6983 esac
6984 F77=$ac_ct_F77
6985 fi
57606986 fi
57616987
57626988
57636989 # Provide some information about the compiler.
5764 echo "$as_me:5765:" \
5765 "checking for Fortran 77 compiler version" >&5
6990 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
57666991 ac_compiler=`set X $ac_compile; echo $2`
5767 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5768 (eval $ac_compiler --version </dev/null >&5) 2>&5
6992 { (ac_try="$ac_compiler --version >&5"
6993 case "(($ac_try" in
6994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6995 *) ac_try_echo=$ac_try;;
6996 esac
6997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6998 (eval "$ac_compiler --version >&5") 2>&5
57696999 ac_status=$?
57707000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717001 (exit $ac_status); }
5772 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5773 (eval $ac_compiler -v </dev/null >&5) 2>&5
7002 { (ac_try="$ac_compiler -v >&5"
7003 case "(($ac_try" in
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005 *) ac_try_echo=$ac_try;;
7006 esac
7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7008 (eval "$ac_compiler -v >&5") 2>&5
57747009 ac_status=$?
57757010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57767011 (exit $ac_status); }
5777 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5778 (eval $ac_compiler -V </dev/null >&5) 2>&5
7012 { (ac_try="$ac_compiler -V >&5"
7013 case "(($ac_try" in
7014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015 *) ac_try_echo=$ac_try;;
7016 esac
7017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018 (eval "$ac_compiler -V >&5") 2>&5
57797019 ac_status=$?
57807020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57817021 (exit $ac_status); }
57857025 # input file. (Note that this only needs to work for GNU compilers.)
57867026 ac_save_ext=$ac_ext
57877027 ac_ext=F
5788 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5789 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7028 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7029 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
57907030 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
57917031 echo $ECHO_N "(cached) $ECHO_C" >&6
57927032 else
57997039 end
58007040 _ACEOF
58017041 rm -f conftest.$ac_objext
5802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5803 (eval $ac_compile) 2>conftest.er1
7042 if { (ac_try="$ac_compile"
7043 case "(($ac_try" in
7044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045 *) ac_try_echo=$ac_try;;
7046 esac
7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7048 (eval "$ac_compile") 2>conftest.er1
58047049 ac_status=$?
58057050 grep -v '^ *+' conftest.er1 >conftest.err
58067051 rm -f conftest.er1
58077052 cat conftest.err >&5
58087053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } &&
5810 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 (eval $ac_try) 2>&5
5813 ac_status=$?
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; } &&
5816 { ac_try='test -s conftest.$ac_objext'
5817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818 (eval $ac_try) 2>&5
5819 ac_status=$?
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }; }; then
7054 (exit $ac_status); } && {
7055 test -z "$ac_f77_werror_flag" ||
7056 test ! -s conftest.err
7057 } && test -s conftest.$ac_objext; then
58227058 ac_compiler_gnu=yes
58237059 else
58247060 echo "$as_me: failed program was:" >&5
58257061 sed 's/^/| /' conftest.$ac_ext >&5
58267062
5827 ac_compiler_gnu=no
5828 fi
5829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7063 ac_compiler_gnu=no
7064 fi
7065
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307067 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
58317068
58327069 fi
5833 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5834 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7070 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7071 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
58357072 ac_ext=$ac_save_ext
58367073 ac_test_FFLAGS=${FFLAGS+set}
58377074 ac_save_FFLAGS=$FFLAGS
58387075 FFLAGS=
5839 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5840 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7076 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7077 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
58417078 if test "${ac_cv_prog_f77_g+set}" = set; then
58427079 echo $ECHO_N "(cached) $ECHO_C" >&6
58437080 else
58487085 end
58497086 _ACEOF
58507087 rm -f conftest.$ac_objext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>conftest.er1
7088 if { (ac_try="$ac_compile"
7089 case "(($ac_try" in
7090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7091 *) ac_try_echo=$ac_try;;
7092 esac
7093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7094 (eval "$ac_compile") 2>conftest.er1
58537095 ac_status=$?
58547096 grep -v '^ *+' conftest.er1 >conftest.err
58557097 rm -f conftest.er1
58567098 cat conftest.err >&5
58577099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } &&
5859 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 (eval $ac_try) 2>&5
5862 ac_status=$?
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; } &&
5865 { ac_try='test -s conftest.$ac_objext'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 (eval $ac_try) 2>&5
5868 ac_status=$?
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
7100 (exit $ac_status); } && {
7101 test -z "$ac_f77_werror_flag" ||
7102 test ! -s conftest.err
7103 } && test -s conftest.$ac_objext; then
58717104 ac_cv_prog_f77_g=yes
58727105 else
58737106 echo "$as_me: failed program was:" >&5
58747107 sed 's/^/| /' conftest.$ac_ext >&5
58757108
5876 ac_cv_prog_f77_g=no
5877 fi
5878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5879
5880 fi
5881 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5882 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7109 ac_cv_prog_f77_g=no
7110 fi
7111
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113
7114 fi
7115 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7116 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
58837117 if test "$ac_test_FFLAGS" = set; then
58847118 FFLAGS=$ac_save_FFLAGS
58857119 elif test $ac_cv_prog_f77_g = yes; then
59087142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
59097143
59107144 # find the maximum length of command line arguments
5911 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5912 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7145 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7146 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
59137147 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
59147148 echo $ECHO_N "(cached) $ECHO_C" >&6
59157149 else
60177251 fi
60187252
60197253 if test -n $lt_cv_sys_max_cmd_len ; then
6020 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6021 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6022 else
6023 echo "$as_me:$LINENO: result: none" >&5
6024 echo "${ECHO_T}none" >&6
7254 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7255 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7256 else
7257 { echo "$as_me:$LINENO: result: none" >&5
7258 echo "${ECHO_T}none" >&6; }
60257259 fi
60267260
60277261
60287262
60297263
60307264 # Check for command to grab the raw symbol name followed by C symbol from nm.
6031 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6032 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7265 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7266 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
60337267 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
60347268 echo $ECHO_N "(cached) $ECHO_C" >&6
60357269 else
60647298 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
60657299 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
60667300 ;;
6067 linux*)
7301 linux* | k*bsd*-gnu)
60687302 if test "$host_cpu" = ia64; then
60697303 symcode='[ABCDGIRSTW]'
60707304 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
62337467 lt_cv_sys_global_symbol_to_cdecl=
62347468 fi
62357469 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6236 echo "$as_me:$LINENO: result: failed" >&5
6237 echo "${ECHO_T}failed" >&6
6238 else
6239 echo "$as_me:$LINENO: result: ok" >&5
6240 echo "${ECHO_T}ok" >&6
6241 fi
6242
6243 echo "$as_me:$LINENO: checking for objdir" >&5
6244 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7470 { echo "$as_me:$LINENO: result: failed" >&5
7471 echo "${ECHO_T}failed" >&6; }
7472 else
7473 { echo "$as_me:$LINENO: result: ok" >&5
7474 echo "${ECHO_T}ok" >&6; }
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for objdir" >&5
7478 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
62457479 if test "${lt_cv_objdir+set}" = set; then
62467480 echo $ECHO_N "(cached) $ECHO_C" >&6
62477481 else
62557489 fi
62567490 rmdir .libs 2>/dev/null
62577491 fi
6258 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6259 echo "${ECHO_T}$lt_cv_objdir" >&6
7492 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7493 echo "${ECHO_T}$lt_cv_objdir" >&6; }
62607494 objdir=$lt_cv_objdir
62617495
62627496
63077541 if test -n "$ac_tool_prefix"; then
63087542 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
63097543 set dummy ${ac_tool_prefix}ar; ac_word=$2
6310 echo "$as_me:$LINENO: checking for $ac_word" >&5
6311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63127546 if test "${ac_cv_prog_AR+set}" = set; then
63137547 echo $ECHO_N "(cached) $ECHO_C" >&6
63147548 else
63217555 IFS=$as_save_IFS
63227556 test -z "$as_dir" && as_dir=.
63237557 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63257559 ac_cv_prog_AR="${ac_tool_prefix}ar"
63267560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
63277561 break 2
63287562 fi
63297563 done
63307564 done
7565 IFS=$as_save_IFS
63317566
63327567 fi
63337568 fi
63347569 AR=$ac_cv_prog_AR
63357570 if test -n "$AR"; then
6336 echo "$as_me:$LINENO: result: $AR" >&5
6337 echo "${ECHO_T}$AR" >&6
6338 else
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6341 fi
7571 { echo "$as_me:$LINENO: result: $AR" >&5
7572 echo "${ECHO_T}$AR" >&6; }
7573 else
7574 { echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6; }
7576 fi
7577
63427578
63437579 fi
63447580 if test -z "$ac_cv_prog_AR"; then
63457581 ac_ct_AR=$AR
63467582 # Extract the first word of "ar", so it can be a program name with args.
63477583 set dummy ar; ac_word=$2
6348 echo "$as_me:$LINENO: checking for $ac_word" >&5
6349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63507586 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
63517587 echo $ECHO_N "(cached) $ECHO_C" >&6
63527588 else
63597595 IFS=$as_save_IFS
63607596 test -z "$as_dir" && as_dir=.
63617597 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63637599 ac_cv_prog_ac_ct_AR="ar"
63647600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
63657601 break 2
63667602 fi
63677603 done
63687604 done
6369
6370 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7605 IFS=$as_save_IFS
7606
63717607 fi
63727608 fi
63737609 ac_ct_AR=$ac_cv_prog_ac_ct_AR
63747610 if test -n "$ac_ct_AR"; then
6375 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6376 echo "${ECHO_T}$ac_ct_AR" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382 AR=$ac_ct_AR
7611 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7612 echo "${ECHO_T}$ac_ct_AR" >&6; }
7613 else
7614 { echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6; }
7616 fi
7617
7618 if test "x$ac_ct_AR" = x; then
7619 AR="false"
7620 else
7621 case $cross_compiling:$ac_tool_warned in
7622 yes:)
7623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7624 whose name does not start with the host triplet. If you think this
7625 configuration is useful to you, please write to autoconf@gnu.org." >&5
7626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7627 whose name does not start with the host triplet. If you think this
7628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7629 ac_tool_warned=yes ;;
7630 esac
7631 AR=$ac_ct_AR
7632 fi
63837633 else
63847634 AR="$ac_cv_prog_AR"
63857635 fi
63877637 if test -n "$ac_tool_prefix"; then
63887638 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
63897639 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6390 echo "$as_me:$LINENO: checking for $ac_word" >&5
6391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63927642 if test "${ac_cv_prog_RANLIB+set}" = set; then
63937643 echo $ECHO_N "(cached) $ECHO_C" >&6
63947644 else
64017651 IFS=$as_save_IFS
64027652 test -z "$as_dir" && as_dir=.
64037653 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64057655 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
64067656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64077657 break 2
64087658 fi
64097659 done
64107660 done
7661 IFS=$as_save_IFS
64117662
64127663 fi
64137664 fi
64147665 RANLIB=$ac_cv_prog_RANLIB
64157666 if test -n "$RANLIB"; then
6416 echo "$as_me:$LINENO: result: $RANLIB" >&5
6417 echo "${ECHO_T}$RANLIB" >&6
6418 else
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6421 fi
7667 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7668 echo "${ECHO_T}$RANLIB" >&6; }
7669 else
7670 { echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6; }
7672 fi
7673
64227674
64237675 fi
64247676 if test -z "$ac_cv_prog_RANLIB"; then
64257677 ac_ct_RANLIB=$RANLIB
64267678 # Extract the first word of "ranlib", so it can be a program name with args.
64277679 set dummy ranlib; ac_word=$2
6428 echo "$as_me:$LINENO: checking for $ac_word" >&5
6429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64307682 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
64317683 echo $ECHO_N "(cached) $ECHO_C" >&6
64327684 else
64397691 IFS=$as_save_IFS
64407692 test -z "$as_dir" && as_dir=.
64417693 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64437695 ac_cv_prog_ac_ct_RANLIB="ranlib"
64447696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64457697 break 2
64467698 fi
64477699 done
64487700 done
6449
6450 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7701 IFS=$as_save_IFS
7702
64517703 fi
64527704 fi
64537705 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
64547706 if test -n "$ac_ct_RANLIB"; then
6455 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6456 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6457 else
6458 echo "$as_me:$LINENO: result: no" >&5
6459 echo "${ECHO_T}no" >&6
6460 fi
6461
6462 RANLIB=$ac_ct_RANLIB
7707 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7708 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7709 else
7710 { echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6; }
7712 fi
7713
7714 if test "x$ac_ct_RANLIB" = x; then
7715 RANLIB=":"
7716 else
7717 case $cross_compiling:$ac_tool_warned in
7718 yes:)
7719 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7720 whose name does not start with the host triplet. If you think this
7721 configuration is useful to you, please write to autoconf@gnu.org." >&5
7722 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7723 whose name does not start with the host triplet. If you think this
7724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7725 ac_tool_warned=yes ;;
7726 esac
7727 RANLIB=$ac_ct_RANLIB
7728 fi
64637729 else
64647730 RANLIB="$ac_cv_prog_RANLIB"
64657731 fi
64677733 if test -n "$ac_tool_prefix"; then
64687734 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
64697735 set dummy ${ac_tool_prefix}strip; ac_word=$2
6470 echo "$as_me:$LINENO: checking for $ac_word" >&5
6471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64727738 if test "${ac_cv_prog_STRIP+set}" = set; then
64737739 echo $ECHO_N "(cached) $ECHO_C" >&6
64747740 else
64817747 IFS=$as_save_IFS
64827748 test -z "$as_dir" && as_dir=.
64837749 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64857751 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
64867752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64877753 break 2
64887754 fi
64897755 done
64907756 done
7757 IFS=$as_save_IFS
64917758
64927759 fi
64937760 fi
64947761 STRIP=$ac_cv_prog_STRIP
64957762 if test -n "$STRIP"; then
6496 echo "$as_me:$LINENO: result: $STRIP" >&5
6497 echo "${ECHO_T}$STRIP" >&6
6498 else
6499 echo "$as_me:$LINENO: result: no" >&5
6500 echo "${ECHO_T}no" >&6
6501 fi
7763 { echo "$as_me:$LINENO: result: $STRIP" >&5
7764 echo "${ECHO_T}$STRIP" >&6; }
7765 else
7766 { echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6; }
7768 fi
7769
65027770
65037771 fi
65047772 if test -z "$ac_cv_prog_STRIP"; then
65057773 ac_ct_STRIP=$STRIP
65067774 # Extract the first word of "strip", so it can be a program name with args.
65077775 set dummy strip; ac_word=$2
6508 echo "$as_me:$LINENO: checking for $ac_word" >&5
6509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
65107778 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
65117779 echo $ECHO_N "(cached) $ECHO_C" >&6
65127780 else
65197787 IFS=$as_save_IFS
65207788 test -z "$as_dir" && as_dir=.
65217789 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65237791 ac_cv_prog_ac_ct_STRIP="strip"
65247792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
65257793 break 2
65267794 fi
65277795 done
65287796 done
6529
6530 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7797 IFS=$as_save_IFS
7798
65317799 fi
65327800 fi
65337801 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
65347802 if test -n "$ac_ct_STRIP"; then
6535 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6536 echo "${ECHO_T}$ac_ct_STRIP" >&6
6537 else
6538 echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6
6540 fi
6541
6542 STRIP=$ac_ct_STRIP
7803 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7804 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7805 else
7806 { echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6; }
7808 fi
7809
7810 if test "x$ac_ct_STRIP" = x; then
7811 STRIP=":"
7812 else
7813 case $cross_compiling:$ac_tool_warned in
7814 yes:)
7815 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7816 whose name does not start with the host triplet. If you think this
7817 configuration is useful to you, please write to autoconf@gnu.org." >&5
7818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7819 whose name does not start with the host triplet. If you think this
7820 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7821 ac_tool_warned=yes ;;
7822 esac
7823 STRIP=$ac_ct_STRIP
7824 fi
65437825 else
65447826 STRIP="$ac_cv_prog_STRIP"
65457827 fi
65987880 case $deplibs_check_method in
65997881 file_magic*)
66007882 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6601 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6602 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7883 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7884 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
66037885 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
66047886 echo $ECHO_N "(cached) $ECHO_C" >&6
66057887 else
66517933
66527934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
66537935 if test -n "$MAGIC_CMD"; then
6654 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6655 echo "${ECHO_T}$MAGIC_CMD" >&6
6656 else
6657 echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6
7936 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7937 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7938 else
7939 { echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6; }
66597941 fi
66607942
66617943 if test -z "$lt_cv_path_MAGIC_CMD"; then
66627944 if test -n "$ac_tool_prefix"; then
6663 echo "$as_me:$LINENO: checking for file" >&5
6664 echo $ECHO_N "checking for file... $ECHO_C" >&6
7945 { echo "$as_me:$LINENO: checking for file" >&5
7946 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
66657947 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
66667948 echo $ECHO_N "(cached) $ECHO_C" >&6
66677949 else
67137995
67147996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
67157997 if test -n "$MAGIC_CMD"; then
6716 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6717 echo "${ECHO_T}$MAGIC_CMD" >&6
6718 else
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
7998 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7999 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8000 else
8001 { echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6; }
67218003 fi
67228004
67238005 else
67328014 enable_dlopen=no
67338015 enable_win32_dll=no
67348016
6735 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8017 # Check whether --enable-libtool-lock was given.
67368018 if test "${enable_libtool_lock+set}" = set; then
6737 enableval="$enable_libtool_lock"
6738
6739 fi;
8019 enableval=$enable_libtool_lock;
8020 fi
8021
67408022 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
67418023
67428024
6743 # Check whether --with-pic or --without-pic was given.
8025 # Check whether --with-pic was given.
67448026 if test "${with_pic+set}" = set; then
6745 withval="$with_pic"
6746 pic_mode="$withval"
8027 withval=$with_pic; pic_mode="$withval"
67478028 else
67488029 pic_mode=default
6749 fi;
8030 fi
8031
67508032 test -z "$pic_mode" && pic_mode=default
67518033
67528034 # Use C for the default configuration in the libtool script
68048086 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
68058087
68068088
6807 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6808 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8089 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8090 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
68098091 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
68108092 echo $ECHO_N "(cached) $ECHO_C" >&6
68118093 else
68228104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
68238105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
68248106 -e 's:$: $lt_compiler_flag:'`
6825 (eval echo "\"\$as_me:6826: $lt_compile\"" >&5)
8107 (eval echo "\"\$as_me:8108: $lt_compile\"" >&5)
68268108 (eval "$lt_compile" 2>conftest.err)
68278109 ac_status=$?
68288110 cat conftest.err >&5
6829 echo "$as_me:6830: \$? = $ac_status" >&5
8111 echo "$as_me:8112: \$? = $ac_status" >&5
68308112 if (exit $ac_status) && test -s "$ac_outfile"; then
68318113 # The compiler can only warn and ignore the option if not recognized
68328114 # So say no if there are warnings other than the usual output.
68398121 $rm conftest*
68408122
68418123 fi
6842 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6843 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8124 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8125 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
68448126
68458127 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
68468128 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
68548136 lt_prog_compiler_pic=
68558137 lt_prog_compiler_static=
68568138
6857 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6858 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8139 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8140 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
68598141
68608142 if test "$GCC" = yes; then
68618143 lt_prog_compiler_wl='-Wl,'
69848266 lt_prog_compiler_static='-Bstatic'
69858267 ;;
69868268
6987 linux*)
8269 linux* | k*bsd*-gnu)
69888270 case $cc_basename in
69898271 icc* | ecc*)
69908272 lt_prog_compiler_wl='-Wl,'
70648346 esac
70658347 fi
70668348
7067 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7068 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8349 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8350 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
70698351
70708352 #
70718353 # Check to make sure the PIC flag actually works.
70728354 #
70738355 if test -n "$lt_prog_compiler_pic"; then
70748356
7075 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7076 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8357 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8358 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
70778359 if test "${lt_prog_compiler_pic_works+set}" = set; then
70788360 echo $ECHO_N "(cached) $ECHO_C" >&6
70798361 else
70908372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
70918373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
70928374 -e 's:$: $lt_compiler_flag:'`
7093 (eval echo "\"\$as_me:7094: $lt_compile\"" >&5)
8375 (eval echo "\"\$as_me:8376: $lt_compile\"" >&5)
70948376 (eval "$lt_compile" 2>conftest.err)
70958377 ac_status=$?
70968378 cat conftest.err >&5
7097 echo "$as_me:7098: \$? = $ac_status" >&5
8379 echo "$as_me:8380: \$? = $ac_status" >&5
70988380 if (exit $ac_status) && test -s "$ac_outfile"; then
70998381 # The compiler can only warn and ignore the option if not recognized
71008382 # So say no if there are warnings other than the usual output.
71078389 $rm conftest*
71088390
71098391 fi
7110 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7111 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
8392 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8393 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
71128394
71138395 if test x"$lt_prog_compiler_pic_works" = xyes; then
71148396 case $lt_prog_compiler_pic in
71358417 # Check to make sure the static flag actually works.
71368418 #
71378419 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7138 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7139 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8420 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8421 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
71408422 if test "${lt_prog_compiler_static_works+set}" = set; then
71418423 echo $ECHO_N "(cached) $ECHO_C" >&6
71428424 else
71638445 LDFLAGS="$save_LDFLAGS"
71648446
71658447 fi
7166 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7167 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8448 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8449 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
71688450
71698451 if test x"$lt_prog_compiler_static_works" = xyes; then
71708452 :
71738455 fi
71748456
71758457
7176 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7177 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8458 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8459 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
71788460 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
71798461 echo $ECHO_N "(cached) $ECHO_C" >&6
71808462 else
71948476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
71958477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
71968478 -e 's:$: $lt_compiler_flag:'`
7197 (eval echo "\"\$as_me:7198: $lt_compile\"" >&5)
8479 (eval echo "\"\$as_me:8480: $lt_compile\"" >&5)
71988480 (eval "$lt_compile" 2>out/conftest.err)
71998481 ac_status=$?
72008482 cat out/conftest.err >&5
7201 echo "$as_me:7202: \$? = $ac_status" >&5
8483 echo "$as_me:8484: \$? = $ac_status" >&5
72028484 if (exit $ac_status) && test -s out/conftest2.$ac_objext
72038485 then
72048486 # The compiler can only warn and ignore the option if not recognized
72208502 $rm conftest*
72218503
72228504 fi
7223 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7224 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8505 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8506 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
72258507
72268508
72278509 hard_links="nottested"
72288510 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
72298511 # do not overwrite the value of need_locks provided by the user
7230 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7231 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8512 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8513 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
72328514 hard_links=yes
72338515 $rm conftest*
72348516 ln conftest.a conftest.b 2>/dev/null && hard_links=no
72358517 touch conftest.a
72368518 ln conftest.a conftest.b 2>&5 || hard_links=no
72378519 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7238 echo "$as_me:$LINENO: result: $hard_links" >&5
7239 echo "${ECHO_T}$hard_links" >&6
8520 { echo "$as_me:$LINENO: result: $hard_links" >&5
8521 echo "${ECHO_T}$hard_links" >&6; }
72408522 if test "$hard_links" = no; then
72418523 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
72428524 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
72468528 need_locks=no
72478529 fi
72488530
7249 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7250 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8531 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8532 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
72518533
72528534 runpath_var=
72538535 allow_undefined_flag=
74238705 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
74248706 ;;
74258707
7426 linux*)
8708 linux* | k*bsd*-gnu)
74278709 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74288710 tmp_addflag=
74298711 case $cc_basename,$host_cpu in
74558737 fi
74568738 ;;
74578739
7458 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8740 netbsd* | netbsdelf*-gnu)
74598741 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
74608742 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
74618743 wlarc=
76638945 }
76648946 _ACEOF
76658947 rm -f conftest.$ac_objext conftest$ac_exeext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7667 (eval $ac_link) 2>conftest.er1
8948 if { (ac_try="$ac_link"
8949 case "(($ac_try" in
8950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8951 *) ac_try_echo=$ac_try;;
8952 esac
8953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8954 (eval "$ac_link") 2>conftest.er1
76688955 ac_status=$?
76698956 grep -v '^ *+' conftest.er1 >conftest.err
76708957 rm -f conftest.er1
76718958 cat conftest.err >&5
76728959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } &&
7674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 (eval $ac_try) 2>&5
7677 ac_status=$?
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest$ac_exeext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 (eval $ac_try) 2>&5
7683 ac_status=$?
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; }; then
8960 (exit $ac_status); } && {
8961 test -z "$ac_c_werror_flag" ||
8962 test ! -s conftest.err
8963 } && test -s conftest$ac_exeext &&
8964 $as_test_x conftest$ac_exeext; then
76868965
76878966 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
76888967 }'`
76938972 echo "$as_me: failed program was:" >&5
76948973 sed 's/^/| /' conftest.$ac_ext >&5
76958974
7696 fi
7697 rm -f conftest.err conftest.$ac_objext \
8975
8976 fi
8977
8978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76988979 conftest$ac_exeext conftest.$ac_ext
76998980 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
77008981
77239004 }
77249005 _ACEOF
77259006 rm -f conftest.$ac_objext conftest$ac_exeext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727 (eval $ac_link) 2>conftest.er1
9007 if { (ac_try="$ac_link"
9008 case "(($ac_try" in
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010 *) ac_try_echo=$ac_try;;
9011 esac
9012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9013 (eval "$ac_link") 2>conftest.er1
77289014 ac_status=$?
77299015 grep -v '^ *+' conftest.er1 >conftest.err
77309016 rm -f conftest.er1
77319017 cat conftest.err >&5
77329018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5
7737 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try='test -s conftest$ac_exeext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7742 (eval $ac_try) 2>&5
7743 ac_status=$?
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
9019 (exit $ac_status); } && {
9020 test -z "$ac_c_werror_flag" ||
9021 test ! -s conftest.err
9022 } && test -s conftest$ac_exeext &&
9023 $as_test_x conftest$ac_exeext; then
77469024
77479025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
77489026 }'`
77539031 echo "$as_me: failed program was:" >&5
77549032 sed 's/^/| /' conftest.$ac_ext >&5
77559033
7756 fi
7757 rm -f conftest.err conftest.$ac_objext \
9034
9035 fi
9036
9037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77589038 conftest$ac_exeext conftest.$ac_ext
77599039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
77609040
78929172 hardcode_shlibpath_var=no
78939173 ;;
78949174
7895 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7896 kfreebsd*-gnu)
7897 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7898 hardcode_libdir_flag_spec='-R$libdir'
7899 hardcode_direct=yes
7900 hardcode_shlibpath_var=no
7901 link_all_deplibs=no
7902 ;;
7903
79049175 hpux9*)
79059176 if test "$GCC" = yes; then
79069177 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
79969267 link_all_deplibs=yes
79979268 ;;
79989269
7999 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9270 netbsd* | netbsdelf*-gnu)
80009271 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
80019272 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
80029273 else
82129483 esac
82139484 fi
82149485
8215 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8216 echo "${ECHO_T}$ld_shlibs" >&6
9486 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9487 echo "${ECHO_T}$ld_shlibs" >&6; }
82179488 test "$ld_shlibs" = no && can_build_shared=no
82189489
82199490 #
82339504 # Test whether the compiler implicitly links with -lc since on some
82349505 # systems, -lgcc has to come before -lc. If gcc already passes -lc
82359506 # to ld, don't add -lc before -lgcc.
8236 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8237 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9507 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9508 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
82389509 $rm conftest*
82399510 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
82409511
82719542 cat conftest.err 1>&5
82729543 fi
82739544 $rm conftest*
8274 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8275 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9545 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9546 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
82769547 ;;
82779548 esac
82789549 fi
82799550 ;;
82809551 esac
82819552
8282 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8283 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9553 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9554 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
82849555 library_names_spec=
82859556 libname_spec='lib$name'
82869557 soname_spec=
84849755
84859756 freebsd1*)
84869757 dynamic_linker=no
8487 ;;
8488
8489 kfreebsd*-gnu)
8490 version_type=linux
8491 need_lib_prefix=no
8492 need_version=no
8493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8494 soname_spec='${libname}${release}${shared_ext}$major'
8495 shlibpath_var=LD_LIBRARY_PATH
8496 shlibpath_overrides_runpath=no
8497 hardcode_into_libs=yes
8498 dynamic_linker='GNU ld.so'
84999758 ;;
85009759
85019760 freebsd* | dragonfly*)
86539912 ;;
86549913
86559914 # This must be Linux ELF.
8656 linux*)
9915 linux* | k*bsd*-gnu)
86579916 version_type=linux
86589917 need_lib_prefix=no
86599918 need_version=no
86929951 shlibpath_overrides_runpath=no
86939952 hardcode_into_libs=yes
86949953 dynamic_linker='NetBSD ld.elf_so'
8695 ;;
8696
8697 knetbsd*-gnu)
8698 version_type=linux
8699 need_lib_prefix=no
8700 need_version=no
8701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8702 soname_spec='${libname}${release}${shared_ext}$major'
8703 shlibpath_var=LD_LIBRARY_PATH
8704 shlibpath_overrides_runpath=no
8705 hardcode_into_libs=yes
8706 dynamic_linker='GNU ld.so'
87079954 ;;
87089955
87099956 netbsd*)
887910126 dynamic_linker=no
888010127 ;;
888110128 esac
8882 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8883 echo "${ECHO_T}$dynamic_linker" >&6
10129 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10130 echo "${ECHO_T}$dynamic_linker" >&6; }
888410131 test "$dynamic_linker" = no && can_build_shared=no
888510132
888610133 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
888810135 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
888910136 fi
889010137
8891 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8892 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10138 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10139 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
889310140 hardcode_action=
889410141 if test -n "$hardcode_libdir_flag_spec" || \
889510142 test -n "$runpath_var" || \
891310160 # directories.
891410161 hardcode_action=unsupported
891510162 fi
8916 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8917 echo "${ECHO_T}$hardcode_action" >&6
10163 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10164 echo "${ECHO_T}$hardcode_action" >&6; }
891810165
891910166 if test "$hardcode_action" = relink; then
892010167 # Fast installation is not supported
892710174
892810175 striplib=
892910176 old_striplib=
8930 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8931 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10177 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10178 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
893210179 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
893310180 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
893410181 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
10182 { echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6; }
893710184 else
893810185 # FIXME - insert some real tests, host_os isn't really good enough
893910186 case $host_os in
894010187 darwin*)
894110188 if test -n "$STRIP" ; then
894210189 striplib="$STRIP -x"
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
10190 { echo "$as_me:$LINENO: result: yes" >&5
10191 echo "${ECHO_T}yes" >&6; }
894510192 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
10193 { echo "$as_me:$LINENO: result: no" >&5
10194 echo "${ECHO_T}no" >&6; }
894810195 fi
894910196 ;;
895010197 *)
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
10198 { echo "$as_me:$LINENO: result: no" >&5
10199 echo "${ECHO_T}no" >&6; }
895310200 ;;
895410201 esac
895510202 fi
898110228
898210229 darwin*)
898310230 # if libdl is installed we need to link against it
8984 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8985 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
898610233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
898710234 echo $ECHO_N "(cached) $ECHO_C" >&6
898810235 else
899510242 cat >>conftest.$ac_ext <<_ACEOF
899610243 /* end confdefs.h. */
899710244
8998 /* Override any gcc2 internal prototype to avoid an error. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
899910248 #ifdef __cplusplus
900010249 extern "C"
900110250 #endif
9002 /* We use char because int might match the return type of a gcc2
9003 builtin and then its argument prototype would still apply. */
900410251 char dlopen ();
900510252 int
900610253 main ()
900710254 {
9008 dlopen ();
10255 return dlopen ();
900910256 ;
901010257 return 0;
901110258 }
901210259 _ACEOF
901310260 rm -f conftest.$ac_objext conftest$ac_exeext
9014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9015 (eval $ac_link) 2>conftest.er1
10261 if { (ac_try="$ac_link"
10262 case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10265 esac
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_link") 2>conftest.er1
901610268 ac_status=$?
901710269 grep -v '^ *+' conftest.er1 >conftest.err
901810270 rm -f conftest.er1
901910271 cat conftest.err >&5
902010272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); } &&
9022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 (eval $ac_try) 2>&5
9025 ac_status=$?
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; } &&
9028 { ac_try='test -s conftest$ac_exeext'
9029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030 (eval $ac_try) 2>&5
9031 ac_status=$?
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); }; }; then
10273 (exit $ac_status); } && {
10274 test -z "$ac_c_werror_flag" ||
10275 test ! -s conftest.err
10276 } && test -s conftest$ac_exeext &&
10277 $as_test_x conftest$ac_exeext; then
903410278 ac_cv_lib_dl_dlopen=yes
903510279 else
903610280 echo "$as_me: failed program was:" >&5
903710281 sed 's/^/| /' conftest.$ac_ext >&5
903810282
9039 ac_cv_lib_dl_dlopen=no
9040 fi
9041 rm -f conftest.err conftest.$ac_objext \
10283 ac_cv_lib_dl_dlopen=no
10284 fi
10285
10286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
904210287 conftest$ac_exeext conftest.$ac_ext
904310288 LIBS=$ac_check_lib_save_LIBS
904410289 fi
9045 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9046 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10290 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
904710292 if test $ac_cv_lib_dl_dlopen = yes; then
904810293 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
904910294 else
905710302 ;;
905810303
905910304 *)
9060 echo "$as_me:$LINENO: checking for shl_load" >&5
9061 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10305 { echo "$as_me:$LINENO: checking for shl_load" >&5
10306 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
906210307 if test "${ac_cv_func_shl_load+set}" = set; then
906310308 echo $ECHO_N "(cached) $ECHO_C" >&6
906410309 else
908510330
908610331 #undef shl_load
908710332
9088 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
908910336 #ifdef __cplusplus
909010337 extern "C"
9091 {
909210338 #endif
9093 /* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
909510339 char shl_load ();
909610340 /* The GNU C library defines this for functions which it implements
909710341 to always fail with ENOSYS. Some functions are actually named
909810342 something starting with __ and the normal name is an alias. */
9099 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10343 #if defined __stub_shl_load || defined __stub___shl_load
910010344 choke me
9101 #else
9102 char (*f) () = shl_load;
9103 #endif
9104 #ifdef __cplusplus
9105 }
910610345 #endif
910710346
910810347 int
910910348 main ()
911010349 {
9111 return f != shl_load;
10350 return shl_load ();
911210351 ;
911310352 return 0;
911410353 }
911510354 _ACEOF
911610355 rm -f conftest.$ac_objext conftest$ac_exeext
9117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9118 (eval $ac_link) 2>conftest.er1
10356 if { (ac_try="$ac_link"
10357 case "(($ac_try" in
10358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10359 *) ac_try_echo=$ac_try;;
10360 esac
10361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10362 (eval "$ac_link") 2>conftest.er1
911910363 ac_status=$?
912010364 grep -v '^ *+' conftest.er1 >conftest.err
912110365 rm -f conftest.er1
912210366 cat conftest.err >&5
912310367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); } &&
9125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 (eval $ac_try) 2>&5
9128 ac_status=$?
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; } &&
9131 { ac_try='test -s conftest$ac_exeext'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 (eval $ac_try) 2>&5
9134 ac_status=$?
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; }; then
10368 (exit $ac_status); } && {
10369 test -z "$ac_c_werror_flag" ||
10370 test ! -s conftest.err
10371 } && test -s conftest$ac_exeext &&
10372 $as_test_x conftest$ac_exeext; then
913710373 ac_cv_func_shl_load=yes
913810374 else
913910375 echo "$as_me: failed program was:" >&5
914010376 sed 's/^/| /' conftest.$ac_ext >&5
914110377
9142 ac_cv_func_shl_load=no
9143 fi
9144 rm -f conftest.err conftest.$ac_objext \
10378 ac_cv_func_shl_load=no
10379 fi
10380
10381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
914510382 conftest$ac_exeext conftest.$ac_ext
914610383 fi
9147 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9148 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10384 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10385 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
914910386 if test $ac_cv_func_shl_load = yes; then
915010387 lt_cv_dlopen="shl_load"
915110388 else
9152 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9153 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10389 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10390 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
915410391 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
915510392 echo $ECHO_N "(cached) $ECHO_C" >&6
915610393 else
916310400 cat >>conftest.$ac_ext <<_ACEOF
916410401 /* end confdefs.h. */
916510402
9166 /* Override any gcc2 internal prototype to avoid an error. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
916710406 #ifdef __cplusplus
916810407 extern "C"
916910408 #endif
9170 /* We use char because int might match the return type of a gcc2
9171 builtin and then its argument prototype would still apply. */
917210409 char shl_load ();
917310410 int
917410411 main ()
917510412 {
9176 shl_load ();
10413 return shl_load ();
917710414 ;
917810415 return 0;
917910416 }
918010417 _ACEOF
918110418 rm -f conftest.$ac_objext conftest$ac_exeext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9183 (eval $ac_link) 2>conftest.er1
10419 if { (ac_try="$ac_link"
10420 case "(($ac_try" in
10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10423 esac
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_link") 2>conftest.er1
918410426 ac_status=$?
918510427 grep -v '^ *+' conftest.er1 >conftest.err
918610428 rm -f conftest.er1
918710429 cat conftest.err >&5
918810430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } &&
9190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 (eval $ac_try) 2>&5
9193 ac_status=$?
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; } &&
9196 { ac_try='test -s conftest$ac_exeext'
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 (eval $ac_try) 2>&5
9199 ac_status=$?
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); }; }; then
10431 (exit $ac_status); } && {
10432 test -z "$ac_c_werror_flag" ||
10433 test ! -s conftest.err
10434 } && test -s conftest$ac_exeext &&
10435 $as_test_x conftest$ac_exeext; then
920210436 ac_cv_lib_dld_shl_load=yes
920310437 else
920410438 echo "$as_me: failed program was:" >&5
920510439 sed 's/^/| /' conftest.$ac_ext >&5
920610440
9207 ac_cv_lib_dld_shl_load=no
9208 fi
9209 rm -f conftest.err conftest.$ac_objext \
10441 ac_cv_lib_dld_shl_load=no
10442 fi
10443
10444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
921010445 conftest$ac_exeext conftest.$ac_ext
921110446 LIBS=$ac_check_lib_save_LIBS
921210447 fi
9213 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9214 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10448 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10449 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
921510450 if test $ac_cv_lib_dld_shl_load = yes; then
921610451 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
921710452 else
9218 echo "$as_me:$LINENO: checking for dlopen" >&5
9219 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10453 { echo "$as_me:$LINENO: checking for dlopen" >&5
10454 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
922010455 if test "${ac_cv_func_dlopen+set}" = set; then
922110456 echo $ECHO_N "(cached) $ECHO_C" >&6
922210457 else
924310478
924410479 #undef dlopen
924510480
9246 /* Override any gcc2 internal prototype to avoid an error. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
924710484 #ifdef __cplusplus
924810485 extern "C"
9249 {
925010486 #endif
9251 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */
925310487 char dlopen ();
925410488 /* The GNU C library defines this for functions which it implements
925510489 to always fail with ENOSYS. Some functions are actually named
925610490 something starting with __ and the normal name is an alias. */
9257 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10491 #if defined __stub_dlopen || defined __stub___dlopen
925810492 choke me
9259 #else
9260 char (*f) () = dlopen;
9261 #endif
9262 #ifdef __cplusplus
9263 }
926410493 #endif
926510494
926610495 int
926710496 main ()
926810497 {
9269 return f != dlopen;
10498 return dlopen ();
927010499 ;
927110500 return 0;
927210501 }
927310502 _ACEOF
927410503 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276 (eval $ac_link) 2>conftest.er1
10504 if { (ac_try="$ac_link"
10505 case "(($ac_try" in
10506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10507 *) ac_try_echo=$ac_try;;
10508 esac
10509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10510 (eval "$ac_link") 2>conftest.er1
927710511 ac_status=$?
927810512 grep -v '^ *+' conftest.er1 >conftest.err
927910513 rm -f conftest.er1
928010514 cat conftest.err >&5
928110515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5
9286 ac_status=$?
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; } &&
9289 { ac_try='test -s conftest$ac_exeext'
9290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 (eval $ac_try) 2>&5
9292 ac_status=$?
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); }; }; then
10516 (exit $ac_status); } && {
10517 test -z "$ac_c_werror_flag" ||
10518 test ! -s conftest.err
10519 } && test -s conftest$ac_exeext &&
10520 $as_test_x conftest$ac_exeext; then
929510521 ac_cv_func_dlopen=yes
929610522 else
929710523 echo "$as_me: failed program was:" >&5
929810524 sed 's/^/| /' conftest.$ac_ext >&5
929910525
9300 ac_cv_func_dlopen=no
9301 fi
9302 rm -f conftest.err conftest.$ac_objext \
10526 ac_cv_func_dlopen=no
10527 fi
10528
10529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
930310530 conftest$ac_exeext conftest.$ac_ext
930410531 fi
9305 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9306 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10532 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10533 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
930710534 if test $ac_cv_func_dlopen = yes; then
930810535 lt_cv_dlopen="dlopen"
930910536 else
9310 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9311 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10537 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10538 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
931210539 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
931310540 echo $ECHO_N "(cached) $ECHO_C" >&6
931410541 else
932110548 cat >>conftest.$ac_ext <<_ACEOF
932210549 /* end confdefs.h. */
932310550
9324 /* Override any gcc2 internal prototype to avoid an error. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
932510554 #ifdef __cplusplus
932610555 extern "C"
932710556 #endif
9328 /* We use char because int might match the return type of a gcc2
9329 builtin and then its argument prototype would still apply. */
933010557 char dlopen ();
933110558 int
933210559 main ()
933310560 {
9334 dlopen ();
10561 return dlopen ();
933510562 ;
933610563 return 0;
933710564 }
933810565 _ACEOF
933910566 rm -f conftest.$ac_objext conftest$ac_exeext
9340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9341 (eval $ac_link) 2>conftest.er1
10567 if { (ac_try="$ac_link"
10568 case "(($ac_try" in
10569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10570 *) ac_try_echo=$ac_try;;
10571 esac
10572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10573 (eval "$ac_link") 2>conftest.er1
934210574 ac_status=$?
934310575 grep -v '^ *+' conftest.er1 >conftest.err
934410576 rm -f conftest.er1
934510577 cat conftest.err >&5
934610578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } &&
9348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 (eval $ac_try) 2>&5
9351 ac_status=$?
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; } &&
9354 { ac_try='test -s conftest$ac_exeext'
9355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9356 (eval $ac_try) 2>&5
9357 ac_status=$?
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); }; }; then
10579 (exit $ac_status); } && {
10580 test -z "$ac_c_werror_flag" ||
10581 test ! -s conftest.err
10582 } && test -s conftest$ac_exeext &&
10583 $as_test_x conftest$ac_exeext; then
936010584 ac_cv_lib_dl_dlopen=yes
936110585 else
936210586 echo "$as_me: failed program was:" >&5
936310587 sed 's/^/| /' conftest.$ac_ext >&5
936410588
9365 ac_cv_lib_dl_dlopen=no
9366 fi
9367 rm -f conftest.err conftest.$ac_objext \
10589 ac_cv_lib_dl_dlopen=no
10590 fi
10591
10592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
936810593 conftest$ac_exeext conftest.$ac_ext
936910594 LIBS=$ac_check_lib_save_LIBS
937010595 fi
9371 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9372 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10596 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
937310598 if test $ac_cv_lib_dl_dlopen = yes; then
937410599 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
937510600 else
9376 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9377 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10601 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10602 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
937810603 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
937910604 echo $ECHO_N "(cached) $ECHO_C" >&6
938010605 else
938710612 cat >>conftest.$ac_ext <<_ACEOF
938810613 /* end confdefs.h. */
938910614
9390 /* Override any gcc2 internal prototype to avoid an error. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
939110618 #ifdef __cplusplus
939210619 extern "C"
939310620 #endif
9394 /* We use char because int might match the return type of a gcc2
9395 builtin and then its argument prototype would still apply. */
939610621 char dlopen ();
939710622 int
939810623 main ()
939910624 {
9400 dlopen ();
10625 return dlopen ();
940110626 ;
940210627 return 0;
940310628 }
940410629 _ACEOF
940510630 rm -f conftest.$ac_objext conftest$ac_exeext
9406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9407 (eval $ac_link) 2>conftest.er1
10631 if { (ac_try="$ac_link"
10632 case "(($ac_try" in
10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10634 *) ac_try_echo=$ac_try;;
10635 esac
10636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10637 (eval "$ac_link") 2>conftest.er1
940810638 ac_status=$?
940910639 grep -v '^ *+' conftest.er1 >conftest.err
941010640 rm -f conftest.er1
941110641 cat conftest.err >&5
941210642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); } &&
9414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 (eval $ac_try) 2>&5
9417 ac_status=$?
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; } &&
9420 { ac_try='test -s conftest$ac_exeext'
9421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 (eval $ac_try) 2>&5
9423 ac_status=$?
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); }; }; then
10643 (exit $ac_status); } && {
10644 test -z "$ac_c_werror_flag" ||
10645 test ! -s conftest.err
10646 } && test -s conftest$ac_exeext &&
10647 $as_test_x conftest$ac_exeext; then
942610648 ac_cv_lib_svld_dlopen=yes
942710649 else
942810650 echo "$as_me: failed program was:" >&5
942910651 sed 's/^/| /' conftest.$ac_ext >&5
943010652
9431 ac_cv_lib_svld_dlopen=no
9432 fi
9433 rm -f conftest.err conftest.$ac_objext \
10653 ac_cv_lib_svld_dlopen=no
10654 fi
10655
10656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
943410657 conftest$ac_exeext conftest.$ac_ext
943510658 LIBS=$ac_check_lib_save_LIBS
943610659 fi
9437 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9438 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10660 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10661 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
943910662 if test $ac_cv_lib_svld_dlopen = yes; then
944010663 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
944110664 else
9442 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9443 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10665 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10666 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
944410667 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
944510668 echo $ECHO_N "(cached) $ECHO_C" >&6
944610669 else
945310676 cat >>conftest.$ac_ext <<_ACEOF
945410677 /* end confdefs.h. */
945510678
9456 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
945710682 #ifdef __cplusplus
945810683 extern "C"
945910684 #endif
9460 /* We use char because int might match the return type of a gcc2
9461 builtin and then its argument prototype would still apply. */
946210685 char dld_link ();
946310686 int
946410687 main ()
946510688 {
9466 dld_link ();
10689 return dld_link ();
946710690 ;
946810691 return 0;
946910692 }
947010693 _ACEOF
947110694 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9473 (eval $ac_link) 2>conftest.er1
10695 if { (ac_try="$ac_link"
10696 case "(($ac_try" in
10697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10698 *) ac_try_echo=$ac_try;;
10699 esac
10700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701 (eval "$ac_link") 2>conftest.er1
947410702 ac_status=$?
947510703 grep -v '^ *+' conftest.er1 >conftest.err
947610704 rm -f conftest.er1
947710705 cat conftest.err >&5
947810706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); } &&
9480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
10707 (exit $ac_status); } && {
10708 test -z "$ac_c_werror_flag" ||
10709 test ! -s conftest.err
10710 } && test -s conftest$ac_exeext &&
10711 $as_test_x conftest$ac_exeext; then
949210712 ac_cv_lib_dld_dld_link=yes
949310713 else
949410714 echo "$as_me: failed program was:" >&5
949510715 sed 's/^/| /' conftest.$ac_ext >&5
949610716
9497 ac_cv_lib_dld_dld_link=no
9498 fi
9499 rm -f conftest.err conftest.$ac_objext \
10717 ac_cv_lib_dld_dld_link=no
10718 fi
10719
10720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
950010721 conftest$ac_exeext conftest.$ac_ext
950110722 LIBS=$ac_check_lib_save_LIBS
950210723 fi
9503 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9504 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10724 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10725 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
950510726 if test $ac_cv_lib_dld_dld_link = yes; then
950610727 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
950710728 fi
954110762 save_LIBS="$LIBS"
954210763 LIBS="$lt_cv_dlopen_libs $LIBS"
954310764
9544 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9545 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10765 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10766 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
954610767 if test "${lt_cv_dlopen_self+set}" = set; then
954710768 echo $ECHO_N "(cached) $ECHO_C" >&6
954810769 else
955210773 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
955310774 lt_status=$lt_dlunknown
955410775 cat > conftest.$ac_ext <<EOF
9555 #line 9556 "configure"
10776 #line 10777 "configure"
955610777 #include "confdefs.h"
955710778
955810779 #if HAVE_DLFCN_H
963610857
963710858
963810859 fi
9639 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9640 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10860 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10861 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
964110862
964210863 if test "x$lt_cv_dlopen_self" = xyes; then
964310864 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9644 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9645 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10865 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10866 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
964610867 if test "${lt_cv_dlopen_self_static+set}" = set; then
964710868 echo $ECHO_N "(cached) $ECHO_C" >&6
964810869 else
965210873 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
965310874 lt_status=$lt_dlunknown
965410875 cat > conftest.$ac_ext <<EOF
9655 #line 9656 "configure"
10876 #line 10877 "configure"
965610877 #include "confdefs.h"
965710878
965810879 #if HAVE_DLFCN_H
973610957
973710958
973810959 fi
9739 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9740 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10960 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10961 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
974110962 fi
974210963
974310964 CPPFLAGS="$save_CPPFLAGS"
975910980
976010981
976110982 # Report which library types will actually be built
9762 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9763 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9764 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9765 echo "${ECHO_T}$can_build_shared" >&6
9766
9767 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9768 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10983 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10984 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10985 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10986 echo "${ECHO_T}$can_build_shared" >&6; }
10987
10988 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10989 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
976910990 test "$can_build_shared" = "no" && enable_shared=no
977010991
977110992 # On AIX, shared libraries and static libraries use the same namespace, and
978511006 fi
978611007 ;;
978711008 esac
9788 echo "$as_me:$LINENO: result: $enable_shared" >&5
9789 echo "${ECHO_T}$enable_shared" >&6
9790
9791 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9792 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11009 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11010 echo "${ECHO_T}$enable_shared" >&6; }
11011
11012 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11013 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
979311014 # Make sure either enable_shared or enable_static is yes.
979411015 test "$enable_shared" = yes || enable_static=yes
9795 echo "$as_me:$LINENO: result: $enable_static" >&5
9796 echo "${ECHO_T}$enable_static" >&6
11016 { echo "$as_me:$LINENO: result: $enable_static" >&5
11017 echo "${ECHO_T}$enable_static" >&6; }
979711018
979811019 # The else clause should only fire when bootstrapping the
979911020 # libtool distribution, otherwise you forgot to ship ltmain.sh
1028511506 CC="$lt_save_CC"
1028611507
1028711508
10288 # Check whether --with-tags or --without-tags was given.
11509 # Check whether --with-tags was given.
1028911510 if test "${with_tags+set}" = set; then
10290 withval="$with_tags"
10291 tagnames="$withval"
10292 fi;
11511 withval=$with_tags; tagnames="$withval"
11512 fi
11513
1029311514
1029411515 if test -f "$ltmain" && test -n "$tagnames"; then
1029511516 if test ! -f "${ofile}"; then
1034311564 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1034411565 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1034511566 (test "X$CXX" != "Xg++"))) ; then
10346 ac_ext=cc
11567 ac_ext=cpp
1034711568 ac_cpp='$CXXCPP $CPPFLAGS'
1034811569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1034911570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1046211683 # Set up default GNU C++ configuration
1046311684
1046411685
10465 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11686 # Check whether --with-gnu-ld was given.
1046611687 if test "${with_gnu_ld+set}" = set; then
10467 withval="$with_gnu_ld"
10468 test "$withval" = no || with_gnu_ld=yes
11688 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1046911689 else
1047011690 with_gnu_ld=no
10471 fi;
11691 fi
11692
1047211693 ac_prog=ld
1047311694 if test "$GCC" = yes; then
1047411695 # Check if gcc -print-prog-name=ld gives a path.
10475 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10476 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11696 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11697 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
1047711698 case $host in
1047811699 *-*-mingw*)
1047911700 # gcc leaves a trailing carriage return which upsets mingw
1050211723 ;;
1050311724 esac
1050411725 elif test "$with_gnu_ld" = yes; then
10505 echo "$as_me:$LINENO: checking for GNU ld" >&5
10506 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10507 else
10508 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10509 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11726 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11727 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11728 else
11729 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11730 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
1051011731 fi
1051111732 if test "${lt_cv_path_LD+set}" = set; then
1051211733 echo $ECHO_N "(cached) $ECHO_C" >&6
1053911760
1054011761 LD="$lt_cv_path_LD"
1054111762 if test -n "$LD"; then
10542 echo "$as_me:$LINENO: result: $LD" >&5
10543 echo "${ECHO_T}$LD" >&6
10544 else
10545 echo "$as_me:$LINENO: result: no" >&5
10546 echo "${ECHO_T}no" >&6
11763 { echo "$as_me:$LINENO: result: $LD" >&5
11764 echo "${ECHO_T}$LD" >&6; }
11765 else
11766 { echo "$as_me:$LINENO: result: no" >&5
11767 echo "${ECHO_T}no" >&6; }
1054711768 fi
1054811769 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
1054911770 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
1055011771 { (exit 1); exit 1; }; }
10551 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10552 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11772 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11773 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
1055311774 if test "${lt_cv_prog_gnu_ld+set}" = set; then
1055411775 echo $ECHO_N "(cached) $ECHO_C" >&6
1055511776 else
1056311784 ;;
1056411785 esac
1056511786 fi
10566 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10567 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11787 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11788 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
1056811789 with_gnu_ld=$lt_cv_prog_gnu_ld
1056911790
1057011791
1061411835 fi
1061511836
1061611837 # PORTME: fill in a description of your system's C++ link characteristics
10617 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10618 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11838 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11839 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1061911840 ld_shlibs_CXX=yes
1062011841 case $host_os in
1062111842 aix3*)
1072711948 }
1072811949 _ACEOF
1072911950 rm -f conftest.$ac_objext conftest$ac_exeext
10730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10731 (eval $ac_link) 2>conftest.er1
11951 if { (ac_try="$ac_link"
11952 case "(($ac_try" in
11953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11954 *) ac_try_echo=$ac_try;;
11955 esac
11956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11957 (eval "$ac_link") 2>conftest.er1
1073211958 ac_status=$?
1073311959 grep -v '^ *+' conftest.er1 >conftest.err
1073411960 rm -f conftest.er1
1073511961 cat conftest.err >&5
1073611962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } &&
10738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10740 (eval $ac_try) 2>&5
10741 ac_status=$?
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); }; } &&
10744 { ac_try='test -s conftest$ac_exeext'
10745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10746 (eval $ac_try) 2>&5
10747 ac_status=$?
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); }; }; then
11963 (exit $ac_status); } && {
11964 test -z "$ac_cxx_werror_flag" ||
11965 test ! -s conftest.err
11966 } && test -s conftest$ac_exeext &&
11967 $as_test_x conftest$ac_exeext; then
1075011968
1075111969 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1075211970 }'`
1075711975 echo "$as_me: failed program was:" >&5
1075811976 sed 's/^/| /' conftest.$ac_ext >&5
1075911977
10760 fi
10761 rm -f conftest.err conftest.$ac_objext \
11978
11979 fi
11980
11981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1076211982 conftest$ac_exeext conftest.$ac_ext
1076311983 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1076411984
1078812008 }
1078912009 _ACEOF
1079012010 rm -f conftest.$ac_objext conftest$ac_exeext
10791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10792 (eval $ac_link) 2>conftest.er1
12011 if { (ac_try="$ac_link"
12012 case "(($ac_try" in
12013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12014 *) ac_try_echo=$ac_try;;
12015 esac
12016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12017 (eval "$ac_link") 2>conftest.er1
1079312018 ac_status=$?
1079412019 grep -v '^ *+' conftest.er1 >conftest.err
1079512020 rm -f conftest.er1
1079612021 cat conftest.err >&5
1079712022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); } &&
10799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10802 ac_status=$?
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; } &&
10805 { ac_try='test -s conftest$ac_exeext'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10808 ac_status=$?
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; }; then
12023 (exit $ac_status); } && {
12024 test -z "$ac_cxx_werror_flag" ||
12025 test ! -s conftest.err
12026 } && test -s conftest$ac_exeext &&
12027 $as_test_x conftest$ac_exeext; then
1081112028
1081212029 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1081312030 }'`
1081812035 echo "$as_me: failed program was:" >&5
1081912036 sed 's/^/| /' conftest.$ac_ext >&5
1082012037
10821 fi
10822 rm -f conftest.err conftest.$ac_objext \
12038
12039 fi
12040
12041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1082312042 conftest$ac_exeext conftest.$ac_ext
1082412043 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1082512044
1096712186 freebsd-elf*)
1096812187 archive_cmds_need_lc_CXX=no
1096912188 ;;
10970 freebsd* | kfreebsd*-gnu | dragonfly*)
12189 freebsd* | dragonfly*)
1097112190 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1097212191 # conventions
1097312192 ld_shlibs_CXX=yes
1112612345 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1112712346 hardcode_libdir_separator_CXX=:
1112812347 ;;
11129 linux*)
12348 linux* | k*bsd*-gnu)
1113012349 case $cc_basename in
1113112350 KCC*)
1113212351 # Kuck and Associates, Inc. (KAI) C++ Compiler
1122812447 ;;
1122912448 esac
1123012449 ;;
11231 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12450 netbsd* | netbsdelf*-gnu)
1123212451 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1123312452 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1123412453 wlarc=
1155012769 ld_shlibs_CXX=no
1155112770 ;;
1155212771 esac
11553 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11554 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12772 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12773 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1155512774 test "$ld_shlibs_CXX" = no && can_build_shared=no
1155612775
1155712776 GCC_CXX="$GXX"
1169012909 lt_prog_compiler_pic_CXX=
1169112910 lt_prog_compiler_static_CXX=
1169212911
11693 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11694 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12912 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12913 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1169512914
1169612915 # C++ specific cases for pic, static, wl, etc.
1169712916 if test "$GXX" = yes; then
1179513014 ;;
1179613015 esac
1179713016 ;;
11798 freebsd* | kfreebsd*-gnu | dragonfly*)
13017 freebsd* | dragonfly*)
1179913018 # FreeBSD uses GNU C++
1180013019 ;;
1180113020 hpux9* | hpux10* | hpux11*)
1183813057 ;;
1183913058 esac
1184013059 ;;
11841 linux*)
13060 linux* | k*bsd*-gnu)
1184213061 case $cc_basename in
1184313062 KCC*)
1184413063 # KAI C++ Compiler
1188113100 ;;
1188213101 esac
1188313102 ;;
11884 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
13103 netbsd* | netbsdelf*-gnu)
1188513104 ;;
1188613105 osf3* | osf4* | osf5*)
1188713106 case $cc_basename in
1196413183 esac
1196513184 fi
1196613185
11967 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11968 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13186 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13187 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
1196913188
1197013189 #
1197113190 # Check to make sure the PIC flag actually works.
1197213191 #
1197313192 if test -n "$lt_prog_compiler_pic_CXX"; then
1197413193
11975 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11976 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13194 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13195 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
1197713196 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
1197813197 echo $ECHO_N "(cached) $ECHO_C" >&6
1197913198 else
1199013209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1199113210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1199213211 -e 's:$: $lt_compiler_flag:'`
11993 (eval echo "\"\$as_me:11994: $lt_compile\"" >&5)
13212 (eval echo "\"\$as_me:13213: $lt_compile\"" >&5)
1199413213 (eval "$lt_compile" 2>conftest.err)
1199513214 ac_status=$?
1199613215 cat conftest.err >&5
11997 echo "$as_me:11998: \$? = $ac_status" >&5
13216 echo "$as_me:13217: \$? = $ac_status" >&5
1199813217 if (exit $ac_status) && test -s "$ac_outfile"; then
1199913218 # The compiler can only warn and ignore the option if not recognized
1200013219 # So say no if there are warnings other than the usual output.
1200713226 $rm conftest*
1200813227
1200913228 fi
12010 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12011 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13229 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13230 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
1201213231
1201313232 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1201413233 case $lt_prog_compiler_pic_CXX in
1203513254 # Check to make sure the static flag actually works.
1203613255 #
1203713256 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12038 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12039 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13257 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13258 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1204013259 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
1204113260 echo $ECHO_N "(cached) $ECHO_C" >&6
1204213261 else
1206313282 LDFLAGS="$save_LDFLAGS"
1206413283
1206513284 fi
12066 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12067 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13285 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13286 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
1206813287
1206913288 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1207013289 :
1207313292 fi
1207413293
1207513294
12076 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12077 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13295 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13296 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1207813297 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
1207913298 echo $ECHO_N "(cached) $ECHO_C" >&6
1208013299 else
1209413313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1209513314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1209613315 -e 's:$: $lt_compiler_flag:'`
12097 (eval echo "\"\$as_me:12098: $lt_compile\"" >&5)
13316 (eval echo "\"\$as_me:13317: $lt_compile\"" >&5)
1209813317 (eval "$lt_compile" 2>out/conftest.err)
1209913318 ac_status=$?
1210013319 cat out/conftest.err >&5
12101 echo "$as_me:12102: \$? = $ac_status" >&5
13320 echo "$as_me:13321: \$? = $ac_status" >&5
1210213321 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1210313322 then
1210413323 # The compiler can only warn and ignore the option if not recognized
1212013339 $rm conftest*
1212113340
1212213341 fi
12123 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12124 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13342 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13343 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
1212513344
1212613345
1212713346 hard_links="nottested"
1212813347 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1212913348 # do not overwrite the value of need_locks provided by the user
12130 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12131 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13349 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13350 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1213213351 hard_links=yes
1213313352 $rm conftest*
1213413353 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1213513354 touch conftest.a
1213613355 ln conftest.a conftest.b 2>&5 || hard_links=no
1213713356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12138 echo "$as_me:$LINENO: result: $hard_links" >&5
12139 echo "${ECHO_T}$hard_links" >&6
13357 { echo "$as_me:$LINENO: result: $hard_links" >&5
13358 echo "${ECHO_T}$hard_links" >&6; }
1214013359 if test "$hard_links" = no; then
1214113360 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1214213361 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1214613365 need_locks=no
1214713366 fi
1214813367
12149 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12150 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13368 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13369 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1215113370
1215213371 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1215313372 case $host_os in
1216613385 cygwin* | mingw*)
1216713386 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1216813387 ;;
12169 kfreebsd*-gnu)
12170 link_all_deplibs_CXX=no
12171 ;;
12172 linux*)
13388 linux* | k*bsd*-gnu)
1217313389 link_all_deplibs_CXX=no
1217413390 ;;
1217513391 *)
1217713393 ;;
1217813394 esac
1217913395
12180 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12181 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13396 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13397 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1218213398 test "$ld_shlibs_CXX" = no && can_build_shared=no
1218313399
1218413400 #
1219813414 # Test whether the compiler implicitly links with -lc since on some
1219913415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1220013416 # to ld, don't add -lc before -lgcc.
12201 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12202 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13417 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13418 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1220313419 $rm conftest*
1220413420 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1220513421
1223613452 cat conftest.err 1>&5
1223713453 fi
1223813454 $rm conftest*
12239 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12240 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13455 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13456 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
1224113457 ;;
1224213458 esac
1224313459 fi
1224413460 ;;
1224513461 esac
1224613462
12247 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12248 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13463 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13464 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1224913465 library_names_spec=
1225013466 libname_spec='lib$name'
1225113467 soname_spec=
1244913665
1245013666 freebsd1*)
1245113667 dynamic_linker=no
12452 ;;
12453
12454 kfreebsd*-gnu)
12455 version_type=linux
12456 need_lib_prefix=no
12457 need_version=no
12458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12459 soname_spec='${libname}${release}${shared_ext}$major'
12460 shlibpath_var=LD_LIBRARY_PATH
12461 shlibpath_overrides_runpath=no
12462 hardcode_into_libs=yes
12463 dynamic_linker='GNU ld.so'
1246413668 ;;
1246513669
1246613670 freebsd* | dragonfly*)
1261813822 ;;
1261913823
1262013824 # This must be Linux ELF.
12621 linux*)
13825 linux* | k*bsd*-gnu)
1262213826 version_type=linux
1262313827 need_lib_prefix=no
1262413828 need_version=no
1265713861 shlibpath_overrides_runpath=no
1265813862 hardcode_into_libs=yes
1265913863 dynamic_linker='NetBSD ld.elf_so'
12660 ;;
12661
12662 knetbsd*-gnu)
12663 version_type=linux
12664 need_lib_prefix=no
12665 need_version=no
12666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12667 soname_spec='${libname}${release}${shared_ext}$major'
12668 shlibpath_var=LD_LIBRARY_PATH
12669 shlibpath_overrides_runpath=no
12670 hardcode_into_libs=yes
12671 dynamic_linker='GNU ld.so'
1267213864 ;;
1267313865
1267413866 netbsd*)
1284414036 dynamic_linker=no
1284514037 ;;
1284614038 esac
12847 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12848 echo "${ECHO_T}$dynamic_linker" >&6
14039 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14040 echo "${ECHO_T}$dynamic_linker" >&6; }
1284914041 test "$dynamic_linker" = no && can_build_shared=no
1285014042
1285114043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1285314045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1285414046 fi
1285514047
12856 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12857 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14048 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14049 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1285814050 hardcode_action_CXX=
1285914051 if test -n "$hardcode_libdir_flag_spec_CXX" || \
1286014052 test -n "$runpath_var_CXX" || \
1287814070 # directories.
1287914071 hardcode_action_CXX=unsupported
1288014072 fi
12881 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12882 echo "${ECHO_T}$hardcode_action_CXX" >&6
14073 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14074 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
1288314075
1288414076 if test "$hardcode_action_CXX" = relink; then
1288514077 # Fast installation is not supported
1340414596 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1340514597
1340614598
13407 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13408 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13409 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13410 echo "${ECHO_T}$can_build_shared" >&6
13411
13412 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13413 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14599 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14600 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14601 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14602 echo "${ECHO_T}$can_build_shared" >&6; }
14603
14604 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14605 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
1341414606 test "$can_build_shared" = "no" && enable_shared=no
1341514607
1341614608 # On AIX, shared libraries and static libraries use the same namespace, and
1342914621 fi
1343014622 ;;
1343114623 esac
13432 echo "$as_me:$LINENO: result: $enable_shared" >&5
13433 echo "${ECHO_T}$enable_shared" >&6
13434
13435 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13436 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14624 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14625 echo "${ECHO_T}$enable_shared" >&6; }
14626
14627 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14628 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
1343714629 # Make sure either enable_shared or enable_static is yes.
1343814630 test "$enable_shared" = yes || enable_static=yes
13439 echo "$as_me:$LINENO: result: $enable_static" >&5
13440 echo "${ECHO_T}$enable_static" >&6
14631 { echo "$as_me:$LINENO: result: $enable_static" >&5
14632 echo "${ECHO_T}$enable_static" >&6; }
1344114633
1344214634 GCC_F77="$G77"
1344314635 LD_F77="$LD"
1344614638 lt_prog_compiler_pic_F77=
1344714639 lt_prog_compiler_static_F77=
1344814640
13449 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13450 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14641 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14642 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1345114643
1345214644 if test "$GCC" = yes; then
1345314645 lt_prog_compiler_wl_F77='-Wl,'
1357614768 lt_prog_compiler_static_F77='-Bstatic'
1357714769 ;;
1357814770
13579 linux*)
14771 linux* | k*bsd*-gnu)
1358014772 case $cc_basename in
1358114773 icc* | ecc*)
1358214774 lt_prog_compiler_wl_F77='-Wl,'
1365614848 esac
1365714849 fi
1365814850
13659 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13660 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14851 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14852 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
1366114853
1366214854 #
1366314855 # Check to make sure the PIC flag actually works.
1366414856 #
1366514857 if test -n "$lt_prog_compiler_pic_F77"; then
1366614858
13667 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13668 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14859 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14860 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
1366914861 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
1367014862 echo $ECHO_N "(cached) $ECHO_C" >&6
1367114863 else
1368214874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1368314875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1368414876 -e 's:$: $lt_compiler_flag:'`
13685 (eval echo "\"\$as_me:13686: $lt_compile\"" >&5)
14877 (eval echo "\"\$as_me:14878: $lt_compile\"" >&5)
1368614878 (eval "$lt_compile" 2>conftest.err)
1368714879 ac_status=$?
1368814880 cat conftest.err >&5
13689 echo "$as_me:13690: \$? = $ac_status" >&5
14881 echo "$as_me:14882: \$? = $ac_status" >&5
1369014882 if (exit $ac_status) && test -s "$ac_outfile"; then
1369114883 # The compiler can only warn and ignore the option if not recognized
1369214884 # So say no if there are warnings other than the usual output.
1369914891 $rm conftest*
1370014892
1370114893 fi
13702 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13703 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14894 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14895 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
1370414896
1370514897 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1370614898 case $lt_prog_compiler_pic_F77 in
1372714919 # Check to make sure the static flag actually works.
1372814920 #
1372914921 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13730 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13731 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14922 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14923 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1373214924 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
1373314925 echo $ECHO_N "(cached) $ECHO_C" >&6
1373414926 else
1375514947 LDFLAGS="$save_LDFLAGS"
1375614948
1375714949 fi
13758 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13759 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14950 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14951 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
1376014952
1376114953 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1376214954 :
1376514957 fi
1376614958
1376714959
13768 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13769 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14960 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14961 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1377014962 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
1377114963 echo $ECHO_N "(cached) $ECHO_C" >&6
1377214964 else
1378614978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1378714979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1378814980 -e 's:$: $lt_compiler_flag:'`
13789 (eval echo "\"\$as_me:13790: $lt_compile\"" >&5)
14981 (eval echo "\"\$as_me:14982: $lt_compile\"" >&5)
1379014982 (eval "$lt_compile" 2>out/conftest.err)
1379114983 ac_status=$?
1379214984 cat out/conftest.err >&5
13793 echo "$as_me:13794: \$? = $ac_status" >&5
14985 echo "$as_me:14986: \$? = $ac_status" >&5
1379414986 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1379514987 then
1379614988 # The compiler can only warn and ignore the option if not recognized
1381215004 $rm conftest*
1381315005
1381415006 fi
13815 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13816 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15007 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15008 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
1381715009
1381815010
1381915011 hard_links="nottested"
1382015012 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1382115013 # do not overwrite the value of need_locks provided by the user
13822 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13823 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15014 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15015 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1382415016 hard_links=yes
1382515017 $rm conftest*
1382615018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1382715019 touch conftest.a
1382815020 ln conftest.a conftest.b 2>&5 || hard_links=no
1382915021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13830 echo "$as_me:$LINENO: result: $hard_links" >&5
13831 echo "${ECHO_T}$hard_links" >&6
15022 { echo "$as_me:$LINENO: result: $hard_links" >&5
15023 echo "${ECHO_T}$hard_links" >&6; }
1383215024 if test "$hard_links" = no; then
1383315025 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1383415026 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1383815030 need_locks=no
1383915031 fi
1384015032
13841 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15033 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15034 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1384315035
1384415036 runpath_var=
1384515037 allow_undefined_flag_F77=
1401515207 archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1401615208 ;;
1401715209
14018 linux*)
15210 linux* | k*bsd*-gnu)
1401915211 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1402015212 tmp_addflag=
1402115213 case $cc_basename,$host_cpu in
1404715239 fi
1404815240 ;;
1404915241
14050 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15242 netbsd* | netbsdelf*-gnu)
1405115243 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1405215244 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1405315245 wlarc=
1424515437 end
1424615438 _ACEOF
1424715439 rm -f conftest.$ac_objext conftest$ac_exeext
14248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14249 (eval $ac_link) 2>conftest.er1
15440 if { (ac_try="$ac_link"
15441 case "(($ac_try" in
15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15444 esac
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_link") 2>conftest.er1
1425015447 ac_status=$?
1425115448 grep -v '^ *+' conftest.er1 >conftest.err
1425215449 rm -f conftest.er1
1425315450 cat conftest.err >&5
1425415451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); } &&
14256 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; } &&
14262 { ac_try='test -s conftest$ac_exeext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14265 ac_status=$?
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
15452 (exit $ac_status); } && {
15453 test -z "$ac_f77_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest$ac_exeext &&
15456 $as_test_x conftest$ac_exeext; then
1426815457
1426915458 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1427015459 }'`
1427515464 echo "$as_me: failed program was:" >&5
1427615465 sed 's/^/| /' conftest.$ac_ext >&5
1427715466
14278 fi
14279 rm -f conftest.err conftest.$ac_objext \
15467
15468 fi
15469
15470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1428015471 conftest$ac_exeext conftest.$ac_ext
1428115472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1428215473
1429515486 end
1429615487 _ACEOF
1429715488 rm -f conftest.$ac_objext conftest$ac_exeext
14298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14299 (eval $ac_link) 2>conftest.er1
15489 if { (ac_try="$ac_link"
15490 case "(($ac_try" in
15491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15493 esac
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_link") 2>conftest.er1
1430015496 ac_status=$?
1430115497 grep -v '^ *+' conftest.er1 >conftest.err
1430215498 rm -f conftest.er1
1430315499 cat conftest.err >&5
1430415500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try='test -s conftest$ac_exeext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
15501 (exit $ac_status); } && {
15502 test -z "$ac_f77_werror_flag" ||
15503 test ! -s conftest.err
15504 } && test -s conftest$ac_exeext &&
15505 $as_test_x conftest$ac_exeext; then
1431815506
1431915507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1432015508 }'`
1432515513 echo "$as_me: failed program was:" >&5
1432615514 sed 's/^/| /' conftest.$ac_ext >&5
1432715515
14328 fi
14329 rm -f conftest.err conftest.$ac_objext \
15516
15517 fi
15518
15519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1433015520 conftest$ac_exeext conftest.$ac_ext
1433115521 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1433215522
1446415654 hardcode_shlibpath_var_F77=no
1446515655 ;;
1446615656
14467 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
14468 kfreebsd*-gnu)
14469 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14470 hardcode_libdir_flag_spec_F77='-R$libdir'
14471 hardcode_direct_F77=yes
14472 hardcode_shlibpath_var_F77=no
14473 link_all_deplibs_F77=no
14474 ;;
14475
1447615657 hpux9*)
1447715658 if test "$GCC" = yes; then
1447815659 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1456815749 link_all_deplibs_F77=yes
1456915750 ;;
1457015751
14571 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15752 netbsd* | netbsdelf*-gnu)
1457215753 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1457315754 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1457415755 else
1478415965 esac
1478515966 fi
1478615967
14787 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14788 echo "${ECHO_T}$ld_shlibs_F77" >&6
15968 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15969 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
1478915970 test "$ld_shlibs_F77" = no && can_build_shared=no
1479015971
1479115972 #
1480515986 # Test whether the compiler implicitly links with -lc since on some
1480615987 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1480715988 # to ld, don't add -lc before -lgcc.
14808 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14809 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15989 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15990 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1481015991 $rm conftest*
1481115992 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1481215993
1484316024 cat conftest.err 1>&5
1484416025 fi
1484516026 $rm conftest*
14846 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14847 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16027 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16028 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
1484816029 ;;
1484916030 esac
1485016031 fi
1485116032 ;;
1485216033 esac
1485316034
14854 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14855 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16035 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16036 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1485616037 library_names_spec=
1485716038 libname_spec='lib$name'
1485816039 soname_spec=
1505616237
1505716238 freebsd1*)
1505816239 dynamic_linker=no
15059 ;;
15060
15061 kfreebsd*-gnu)
15062 version_type=linux
15063 need_lib_prefix=no
15064 need_version=no
15065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15066 soname_spec='${libname}${release}${shared_ext}$major'
15067 shlibpath_var=LD_LIBRARY_PATH
15068 shlibpath_overrides_runpath=no
15069 hardcode_into_libs=yes
15070 dynamic_linker='GNU ld.so'
1507116240 ;;
1507216241
1507316242 freebsd* | dragonfly*)
1522516394 ;;
1522616395
1522716396 # This must be Linux ELF.
15228 linux*)
16397 linux* | k*bsd*-gnu)
1522916398 version_type=linux
1523016399 need_lib_prefix=no
1523116400 need_version=no
1526416433 shlibpath_overrides_runpath=no
1526516434 hardcode_into_libs=yes
1526616435 dynamic_linker='NetBSD ld.elf_so'
15267 ;;
15268
15269 knetbsd*-gnu)
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15274 soname_spec='${libname}${release}${shared_ext}$major'
15275 shlibpath_var=LD_LIBRARY_PATH
15276 shlibpath_overrides_runpath=no
15277 hardcode_into_libs=yes
15278 dynamic_linker='GNU ld.so'
1527916436 ;;
1528016437
1528116438 netbsd*)
1545116608 dynamic_linker=no
1545216609 ;;
1545316610 esac
15454 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15455 echo "${ECHO_T}$dynamic_linker" >&6
16611 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16612 echo "${ECHO_T}$dynamic_linker" >&6; }
1545616613 test "$dynamic_linker" = no && can_build_shared=no
1545716614
1545816615 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1546016617 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1546116618 fi
1546216619
15463 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15464 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16620 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16621 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1546516622 hardcode_action_F77=
1546616623 if test -n "$hardcode_libdir_flag_spec_F77" || \
1546716624 test -n "$runpath_var_F77" || \
1548516642 # directories.
1548616643 hardcode_action_F77=unsupported
1548716644 fi
15488 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15489 echo "${ECHO_T}$hardcode_action_F77" >&6
16645 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16646 echo "${ECHO_T}$hardcode_action_F77" >&6; }
1549016647
1549116648 if test "$hardcode_action_F77" = relink; then
1549216649 # Fast installation is not supported
1592317080 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1592417081
1592517082
15926
1592717083 # Source file extension for Java test sources.
1592817084 ac_ext=java
1592917085
1599117147 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1599217148
1599317149
15994 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15995 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17150 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17151 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
1599617152 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1599717153 echo $ECHO_N "(cached) $ECHO_C" >&6
1599817154 else
1600917165 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1601017166 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1601117167 -e 's:$: $lt_compiler_flag:'`
16012 (eval echo "\"\$as_me:16013: $lt_compile\"" >&5)
17168 (eval echo "\"\$as_me:17169: $lt_compile\"" >&5)
1601317169 (eval "$lt_compile" 2>conftest.err)
1601417170 ac_status=$?
1601517171 cat conftest.err >&5
16016 echo "$as_me:16017: \$? = $ac_status" >&5
17172 echo "$as_me:17173: \$? = $ac_status" >&5
1601717173 if (exit $ac_status) && test -s "$ac_outfile"; then
1601817174 # The compiler can only warn and ignore the option if not recognized
1601917175 # So say no if there are warnings other than the usual output.
1602617182 $rm conftest*
1602717183
1602817184 fi
16029 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16030 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17185 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17186 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1603117187
1603217188 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1603317189 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1604117197 lt_prog_compiler_pic_GCJ=
1604217198 lt_prog_compiler_static_GCJ=
1604317199
16044 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16045 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17200 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17201 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
1604617202
1604717203 if test "$GCC" = yes; then
1604817204 lt_prog_compiler_wl_GCJ='-Wl,'
1617117327 lt_prog_compiler_static_GCJ='-Bstatic'
1617217328 ;;
1617317329
16174 linux*)
17330 linux* | k*bsd*-gnu)
1617517331 case $cc_basename in
1617617332 icc* | ecc*)
1617717333 lt_prog_compiler_wl_GCJ='-Wl,'
1625117407 esac
1625217408 fi
1625317409
16254 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16255 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17410 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17411 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
1625617412
1625717413 #
1625817414 # Check to make sure the PIC flag actually works.
1625917415 #
1626017416 if test -n "$lt_prog_compiler_pic_GCJ"; then
1626117417
16262 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16263 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17418 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17419 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
1626417420 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
1626517421 echo $ECHO_N "(cached) $ECHO_C" >&6
1626617422 else
1627717433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1627817434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1627917435 -e 's:$: $lt_compiler_flag:'`
16280 (eval echo "\"\$as_me:16281: $lt_compile\"" >&5)
17436 (eval echo "\"\$as_me:17437: $lt_compile\"" >&5)
1628117437 (eval "$lt_compile" 2>conftest.err)
1628217438 ac_status=$?
1628317439 cat conftest.err >&5
16284 echo "$as_me:16285: \$? = $ac_status" >&5
17440 echo "$as_me:17441: \$? = $ac_status" >&5
1628517441 if (exit $ac_status) && test -s "$ac_outfile"; then
1628617442 # The compiler can only warn and ignore the option if not recognized
1628717443 # So say no if there are warnings other than the usual output.
1629417450 $rm conftest*
1629517451
1629617452 fi
16297 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16298 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17453 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17454 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
1629917455
1630017456 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1630117457 case $lt_prog_compiler_pic_GCJ in
1632217478 # Check to make sure the static flag actually works.
1632317479 #
1632417480 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16325 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16326 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17481 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17482 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1632717483 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
1632817484 echo $ECHO_N "(cached) $ECHO_C" >&6
1632917485 else
1635017506 LDFLAGS="$save_LDFLAGS"
1635117507
1635217508 fi
16353 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16354 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
17509 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17510 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
1635517511
1635617512 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1635717513 :
1636017516 fi
1636117517
1636217518
16363 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16364 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17519 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17520 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
1636517521 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
1636617522 echo $ECHO_N "(cached) $ECHO_C" >&6
1636717523 else
1638117537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1638217538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1638317539 -e 's:$: $lt_compiler_flag:'`
16384 (eval echo "\"\$as_me:16385: $lt_compile\"" >&5)
17540 (eval echo "\"\$as_me:17541: $lt_compile\"" >&5)
1638517541 (eval "$lt_compile" 2>out/conftest.err)
1638617542 ac_status=$?
1638717543 cat out/conftest.err >&5
16388 echo "$as_me:16389: \$? = $ac_status" >&5
17544 echo "$as_me:17545: \$? = $ac_status" >&5
1638917545 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1639017546 then
1639117547 # The compiler can only warn and ignore the option if not recognized
1640717563 $rm conftest*
1640817564
1640917565 fi
16410 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16411 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17566 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17567 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1641217568
1641317569
1641417570 hard_links="nottested"
1641517571 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1641617572 # do not overwrite the value of need_locks provided by the user
16417 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16418 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17573 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17574 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
1641917575 hard_links=yes
1642017576 $rm conftest*
1642117577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1642217578 touch conftest.a
1642317579 ln conftest.a conftest.b 2>&5 || hard_links=no
1642417580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16425 echo "$as_me:$LINENO: result: $hard_links" >&5
16426 echo "${ECHO_T}$hard_links" >&6
17581 { echo "$as_me:$LINENO: result: $hard_links" >&5
17582 echo "${ECHO_T}$hard_links" >&6; }
1642717583 if test "$hard_links" = no; then
1642817584 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1642917585 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1643317589 need_locks=no
1643417590 fi
1643517591
16436 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16437 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17592 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17593 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
1643817594
1643917595 runpath_var=
1644017596 allow_undefined_flag_GCJ=
1661017766 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1661117767 ;;
1661217768
16613 linux*)
17769 linux* | k*bsd*-gnu)
1661417770 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1661517771 tmp_addflag=
1661617772 case $cc_basename,$host_cpu in
1664217798 fi
1664317799 ;;
1664417800
16645 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17801 netbsd* | netbsdelf*-gnu)
1664617802 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1664717803 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1664817804 wlarc=
1685018006 }
1685118007 _ACEOF
1685218008 rm -f conftest.$ac_objext conftest$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 2>conftest.er1
18009 if { (ac_try="$ac_link"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_link") 2>conftest.er1
1685518016 ac_status=$?
1685618017 grep -v '^ *+' conftest.er1 >conftest.err
1685718018 rm -f conftest.er1
1685818019 cat conftest.err >&5
1685918020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try='test -s conftest$ac_exeext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest$ac_exeext &&
18025 $as_test_x conftest$ac_exeext; then
1687318026
1687418027 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1687518028 }'`
1688018033 echo "$as_me: failed program was:" >&5
1688118034 sed 's/^/| /' conftest.$ac_ext >&5
1688218035
16883 fi
16884 rm -f conftest.err conftest.$ac_objext \
18036
18037 fi
18038
18039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1688518040 conftest$ac_exeext conftest.$ac_ext
1688618041 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1688718042
1691018065 }
1691118066 _ACEOF
1691218067 rm -f conftest.$ac_objext conftest$ac_exeext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16914 (eval $ac_link) 2>conftest.er1
18068 if { (ac_try="$ac_link"
18069 case "(($ac_try" in
18070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18072 esac
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_link") 2>conftest.er1
1691518075 ac_status=$?
1691618076 grep -v '^ *+' conftest.er1 >conftest.err
1691718077 rm -f conftest.er1
1691818078 cat conftest.err >&5
1691918079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest$ac_exeext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
18080 (exit $ac_status); } && {
18081 test -z "$ac_c_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest$ac_exeext &&
18084 $as_test_x conftest$ac_exeext; then
1693318085
1693418086 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1693518087 }'`
1694018092 echo "$as_me: failed program was:" >&5
1694118093 sed 's/^/| /' conftest.$ac_ext >&5
1694218094
16943 fi
16944 rm -f conftest.err conftest.$ac_objext \
18095
18096 fi
18097
18098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1694518099 conftest$ac_exeext conftest.$ac_ext
1694618100 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1694718101
1707918233 hardcode_shlibpath_var_GCJ=no
1708018234 ;;
1708118235
17082 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
17083 kfreebsd*-gnu)
17084 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17085 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17086 hardcode_direct_GCJ=yes
17087 hardcode_shlibpath_var_GCJ=no
17088 link_all_deplibs_GCJ=no
17089 ;;
17090
1709118236 hpux9*)
1709218237 if test "$GCC" = yes; then
1709318238 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1718318328 link_all_deplibs_GCJ=yes
1718418329 ;;
1718518330
17186 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
18331 netbsd* | netbsdelf*-gnu)
1718718332 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1718818333 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1718918334 else
1739918544 esac
1740018545 fi
1740118546
17402 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17403 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18547 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18548 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
1740418549 test "$ld_shlibs_GCJ" = no && can_build_shared=no
1740518550
1740618551 #
1742018565 # Test whether the compiler implicitly links with -lc since on some
1742118566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1742218567 # to ld, don't add -lc before -lgcc.
17423 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17424 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18568 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18569 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1742518570 $rm conftest*
1742618571 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1742718572
1745818603 cat conftest.err 1>&5
1745918604 fi
1746018605 $rm conftest*
17461 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17462 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18606 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18607 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
1746318608 ;;
1746418609 esac
1746518610 fi
1746618611 ;;
1746718612 esac
1746818613
17469 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17470 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18614 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18615 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
1747118616 library_names_spec=
1747218617 libname_spec='lib$name'
1747318618 soname_spec=
1767118816
1767218817 freebsd1*)
1767318818 dynamic_linker=no
17674 ;;
17675
17676 kfreebsd*-gnu)
17677 version_type=linux
17678 need_lib_prefix=no
17679 need_version=no
17680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17681 soname_spec='${libname}${release}${shared_ext}$major'
17682 shlibpath_var=LD_LIBRARY_PATH
17683 shlibpath_overrides_runpath=no
17684 hardcode_into_libs=yes
17685 dynamic_linker='GNU ld.so'
1768618819 ;;
1768718820
1768818821 freebsd* | dragonfly*)
1784018973 ;;
1784118974
1784218975 # This must be Linux ELF.
17843 linux*)
18976 linux* | k*bsd*-gnu)
1784418977 version_type=linux
1784518978 need_lib_prefix=no
1784618979 need_version=no
1787919012 shlibpath_overrides_runpath=no
1788019013 hardcode_into_libs=yes
1788119014 dynamic_linker='NetBSD ld.elf_so'
17882 ;;
17883
17884 knetbsd*-gnu)
17885 version_type=linux
17886 need_lib_prefix=no
17887 need_version=no
17888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17889 soname_spec='${libname}${release}${shared_ext}$major'
17890 shlibpath_var=LD_LIBRARY_PATH
17891 shlibpath_overrides_runpath=no
17892 hardcode_into_libs=yes
17893 dynamic_linker='GNU ld.so'
1789419015 ;;
1789519016
1789619017 netbsd*)
1806619187 dynamic_linker=no
1806719188 ;;
1806819189 esac
18069 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18070 echo "${ECHO_T}$dynamic_linker" >&6
19190 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19191 echo "${ECHO_T}$dynamic_linker" >&6; }
1807119192 test "$dynamic_linker" = no && can_build_shared=no
1807219193
1807319194 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1807519196 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1807619197 fi
1807719198
18078 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18079 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19199 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19200 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
1808019201 hardcode_action_GCJ=
1808119202 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1808219203 test -n "$runpath_var_GCJ" || \
1810019221 # directories.
1810119222 hardcode_action_GCJ=unsupported
1810219223 fi
18103 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18104 echo "${ECHO_T}$hardcode_action_GCJ" >&6
19224 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19225 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
1810519226
1810619227 if test "$hardcode_action_GCJ" = relink; then
1810719228 # Fast installation is not supported
1853719658 RC)
1853819659
1853919660
18540
1854119661 # Source file extension for RC test sources.
1854219662 ac_ext=rc
1854319663
1906920189
1907020190
1907120191
19072 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
19073 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
19074 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
20192 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
20193 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
20194 # Check whether --enable-maintainer-mode was given.
1907520195 if test "${enable_maintainer_mode+set}" = set; then
19076 enableval="$enable_maintainer_mode"
19077 USE_MAINTAINER_MODE=$enableval
20196 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1907820197 else
1907920198 USE_MAINTAINER_MODE=no
19080 fi;
19081 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
19082 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
20199 fi
20200
20201 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
20202 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1908320203
1908420204
1908520205 if test $USE_MAINTAINER_MODE = yes; then
1908920209 MAINTAINER_MODE_TRUE='#'
1909020210 MAINTAINER_MODE_FALSE=
1909120211 fi
20212
1909220213 MAINT=$MAINTAINER_MODE_TRUE
1909320214
1909420215
1909520216
19096 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19097 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20217 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20218 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
1909820219 if test "${ac_cv_c_const+set}" = set; then
1909920220 echo $ECHO_N "(cached) $ECHO_C" >&6
1910020221 else
1911220233 #ifndef __cplusplus
1911320234 /* Ultrix mips cc rejects this. */
1911420235 typedef int charset[2];
19115 const charset x;
20236 const charset cs;
1911620237 /* SunOS 4.1.1 cc rejects this. */
19117 char const *const *ccp;
19118 char **p;
20238 char const *const *pcpcc;
20239 char **ppc;
1911920240 /* NEC SVR4.0.2 mips cc rejects this. */
1912020241 struct point {int x, y;};
1912120242 static struct point const zero = {0,0};
1912420245 an arm of an if-expression whose if-part is not a constant
1912520246 expression */
1912620247 const char *g = "string";
19127 ccp = &g + (g ? g-g : 0);
20248 pcpcc = &g + (g ? g-g : 0);
1912820249 /* HPUX 7.0 cc rejects these. */
19129 ++ccp;
19130 p = (char**) ccp;
19131 ccp = (char const *const *) p;
20250 ++pcpcc;
20251 ppc = (char**) pcpcc;
20252 pcpcc = (char const *const *) ppc;
1913220253 { /* SCO 3.2v4 cc rejects this. */
1913320254 char *t;
1913420255 char const *s = 0 ? (char *) 0 : (char const *) 0;
1913520256
1913620257 *t++ = 0;
20258 if (s) return 0;
1913720259 }
1913820260 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1913920261 int x[] = {25, 17};
1915220274 }
1915320275 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1915420276 const int foo = 10;
20277 if (!foo) return 0;
1915520278 }
20279 return !cs[0] && !zero.x;
1915620280 #endif
1915720281
1915820282 ;
1916020284 }
1916120285 _ACEOF
1916220286 rm -f conftest.$ac_objext
19163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19164 (eval $ac_compile) 2>conftest.er1
20287 if { (ac_try="$ac_compile"
20288 case "(($ac_try" in
20289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20290 *) ac_try_echo=$ac_try;;
20291 esac
20292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20293 (eval "$ac_compile") 2>conftest.er1
1916520294 ac_status=$?
1916620295 grep -v '^ *+' conftest.er1 >conftest.err
1916720296 rm -f conftest.er1
1916820297 cat conftest.err >&5
1916920298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
20299 (exit $ac_status); } && {
20300 test -z "$ac_c_werror_flag" ||
20301 test ! -s conftest.err
20302 } && test -s conftest.$ac_objext; then
1918320303 ac_cv_c_const=yes
1918420304 else
1918520305 echo "$as_me: failed program was:" >&5
1918620306 sed 's/^/| /' conftest.$ac_ext >&5
1918720307
19188 ac_cv_c_const=no
19189 fi
19190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19191 fi
19192 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19193 echo "${ECHO_T}$ac_cv_c_const" >&6
20308 ac_cv_c_const=no
20309 fi
20310
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 fi
20313 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20314 echo "${ECHO_T}$ac_cv_c_const" >&6; }
1919420315 if test $ac_cv_c_const = no; then
1919520316
1919620317 cat >>confdefs.h <<\_ACEOF
1920220323
1920320324 # Extract the first word of "pkg-config", so it can be a program name with args.
1920420325 set dummy pkg-config; ac_word=$2
19205 echo "$as_me:$LINENO: checking for $ac_word" >&5
19206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1920720328 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1920820329 echo $ECHO_N "(cached) $ECHO_C" >&6
1920920330 else
1921820339 IFS=$as_save_IFS
1921920340 test -z "$as_dir" && as_dir=.
1922020341 for ac_exec_ext in '' $ac_executable_extensions; do
19221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1922220343 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1922320344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922420345 break 2
1922520346 fi
1922620347 done
1922720348 done
20349 IFS=$as_save_IFS
1922820350
1922920351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1923020352 ;;
1923120353 esac
1923220354 fi
1923320355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19234
1923520356 if test -n "$PKG_CONFIG"; then
19236 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19237 echo "${ECHO_T}$PKG_CONFIG" >&6
19238 else
19239 echo "$as_me:$LINENO: result: no" >&5
19240 echo "${ECHO_T}no" >&6
19241 fi
20357 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20358 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20359 else
20360 { echo "$as_me:$LINENO: result: no" >&5
20361 echo "${ECHO_T}no" >&6; }
20362 fi
20363
1924220364
1924320365
1924420366 CFLAGS=
1924720369
1924820370 # Extract the first word of ""swig"", so it can be a program name with args.
1924920371 set dummy "swig"; ac_word=$2
19250 echo "$as_me:$LINENO: checking for $ac_word" >&5
19251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1925220374 if test "${ac_cv_prog_have_swig+set}" = set; then
1925320375 echo $ECHO_N "(cached) $ECHO_C" >&6
1925420376 else
1926120383 IFS=$as_save_IFS
1926220384 test -z "$as_dir" && as_dir=.
1926320385 for ac_exec_ext in '' $ac_executable_extensions; do
19264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926520387 ac_cv_prog_have_swig="yes"
1926620388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926720389 break 2
1926820390 fi
1926920391 done
1927020392 done
20393 IFS=$as_save_IFS
1927120394
1927220395 test -z "$ac_cv_prog_have_swig" && ac_cv_prog_have_swig="no"
1927320396 fi
1927420397 fi
1927520398 have_swig=$ac_cv_prog_have_swig
1927620399 if test -n "$have_swig"; then
19277 echo "$as_me:$LINENO: result: $have_swig" >&5
19278 echo "${ECHO_T}$have_swig" >&6
19279 else
19280 echo "$as_me:$LINENO: result: no" >&5
19281 echo "${ECHO_T}no" >&6
19282 fi
20400 { echo "$as_me:$LINENO: result: $have_swig" >&5
20401 echo "${ECHO_T}$have_swig" >&6; }
20402 else
20403 { echo "$as_me:$LINENO: result: no" >&5
20404 echo "${ECHO_T}no" >&6; }
20405 fi
20406
1928320407
1928420408
1928520409
1928720411
1928820412 # Extract the first word of ""fpc"", so it can be a program name with args.
1928920413 set dummy "fpc"; ac_word=$2
19290 echo "$as_me:$LINENO: checking for $ac_word" >&5
19291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1929220416 if test "${ac_cv_prog_have_pascal+set}" = set; then
1929320417 echo $ECHO_N "(cached) $ECHO_C" >&6
1929420418 else
1930120425 IFS=$as_save_IFS
1930220426 test -z "$as_dir" && as_dir=.
1930320427 for ac_exec_ext in '' $ac_executable_extensions; do
19304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930520429 ac_cv_prog_have_pascal="yes"
1930620430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930720431 break 2
1930820432 fi
1930920433 done
1931020434 done
20435 IFS=$as_save_IFS
1931120436
1931220437 test -z "$ac_cv_prog_have_pascal" && ac_cv_prog_have_pascal="no"
1931320438 fi
1931420439 fi
1931520440 have_pascal=$ac_cv_prog_have_pascal
1931620441 if test -n "$have_pascal"; then
19317 echo "$as_me:$LINENO: result: $have_pascal" >&5
19318 echo "${ECHO_T}$have_pascal" >&6
19319 else
19320 echo "$as_me:$LINENO: result: no" >&5
19321 echo "${ECHO_T}no" >&6
19322 fi
19323
19324
19325 # Check whether --enable-pascal or --disable-pascal was given.
20442 { echo "$as_me:$LINENO: result: $have_pascal" >&5
20443 echo "${ECHO_T}$have_pascal" >&6; }
20444 else
20445 { echo "$as_me:$LINENO: result: no" >&5
20446 echo "${ECHO_T}no" >&6; }
20447 fi
20448
20449
20450
20451 # Check whether --enable-pascal was given.
1932620452 if test "${enable_pascal+set}" = set; then
19327 enableval="$enable_pascal"
19328 build_pascal="$enableval"
20453 enableval=$enable_pascal; build_pascal="$enableval"
1932920454 else
1933020455 build_pascal=no
19331 fi;
20456 fi
20457
1933220458
1933320459 if test "x$have_pascal" = "xno"; then
1933420460 build_pascal=no
1935220478 fi
1935320479
1935420480
20481
1935520482 build_python=no
1935620483
19357 # Check whether --enable-python or --disable-python was given.
20484 # Check whether --enable-python was given.
1935820485 if test "${enable_python+set}" = set; then
19359 enableval="$enable_python"
19360 build_python="$enableval"
20486 enableval=$enable_python; build_python="$enableval"
1936120487 else
1936220488 build_python=no
19363 fi;
19364
19365
19366 # Check whether --with-python-sitelib-dir or --without-python-sitelib-dir was given.
20489 fi
20490
20491
20492
20493 # Check whether --with-python-sitelib-dir was given.
1936720494 if test "${with_python_sitelib_dir+set}" = set; then
19368 withval="$with_python_sitelib_dir"
19369
19370 fi;
20495 withval=$with_python_sitelib_dir;
20496 fi
20497
1937120498
1937220499 # Extract the first word of ""python"", so it can be a program name with args.
1937320500 set dummy "python"; ac_word=$2
19374 echo "$as_me:$LINENO: checking for $ac_word" >&5
19375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1937620503 if test "${ac_cv_prog_have_python+set}" = set; then
1937720504 echo $ECHO_N "(cached) $ECHO_C" >&6
1937820505 else
1938520512 IFS=$as_save_IFS
1938620513 test -z "$as_dir" && as_dir=.
1938720514 for ac_exec_ext in '' $ac_executable_extensions; do
19388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1938920516 ac_cv_prog_have_python="yes"
1939020517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939120518 break 2
1939220519 fi
1939320520 done
1939420521 done
20522 IFS=$as_save_IFS
1939520523
1939620524 test -z "$ac_cv_prog_have_python" && ac_cv_prog_have_python="no"
1939720525 fi
1939820526 fi
1939920527 have_python=$ac_cv_prog_have_python
1940020528 if test -n "$have_python"; then
19401 echo "$as_me:$LINENO: result: $have_python" >&5
19402 echo "${ECHO_T}$have_python" >&6
19403 else
19404 echo "$as_me:$LINENO: result: no" >&5
19405 echo "${ECHO_T}no" >&6
19406 fi
20529 { echo "$as_me:$LINENO: result: $have_python" >&5
20530 echo "${ECHO_T}$have_python" >&6; }
20531 else
20532 { echo "$as_me:$LINENO: result: no" >&5
20533 echo "${ECHO_T}no" >&6; }
20534 fi
20535
1940720536
1940820537
1940920538 if test "x$have_python" = "xyes"; then
1941020539 PY_PREFIX=`python -c 'import sys ; print sys.prefix'`
1941120540 PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'`
19412 echo "$as_me:$LINENO: checking for $PY_PREFIX/include/python$PY_VERSION/Python.h" >&5
19413 echo $ECHO_N "checking for $PY_PREFIX/include/python$PY_VERSION/Python.h... $ECHO_C" >&6
20541 { echo "$as_me:$LINENO: checking for $PY_PREFIX/include/python$PY_VERSION/Python.h" >&5
20542 echo $ECHO_N "checking for $PY_PREFIX/include/python$PY_VERSION/Python.h... $ECHO_C" >&6; }
1941420543 if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
19415 echo "$as_me:$LINENO: result: yes" >&5
19416 echo "${ECHO_T}yes" >&6
20544 { echo "$as_me:$LINENO: result: yes" >&5
20545 echo "${ECHO_T}yes" >&6; }
1941720546 PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
1941820547
1941920548 if test "x$with_python_sitelib_dir" = "x" ; then
1942920558 build_python=no
1943020559 fi
1943120560 else
19432 echo "$as_me:$LINENO: result: no" >&5
19433 echo "${ECHO_T}no" >&6
20561 { echo "$as_me:$LINENO: result: no" >&5
20562 echo "${ECHO_T}no" >&6; }
1943420563 build_python=no
1943520564 fi
1943620565 fi
1944620575 fi
1944720576
1944820577
20578
1944920579 build_perl=no
1945020580
19451 # Check whether --enable-perl or --disable-perl was given.
20581 # Check whether --enable-perl was given.
1945220582 if test "${enable_perl+set}" = set; then
19453 enableval="$enable_perl"
19454 build_perl="$enableval"
20583 enableval=$enable_perl; build_perl="$enableval"
1945520584 else
1945620585 build_perl=no
19457 fi;
19458
19459
19460 # Check whether --with-perl-sitelib-dir or --without-perl-sitelib-dir was given.
20586 fi
20587
20588
20589
20590 # Check whether --with-perl-sitelib-dir was given.
1946120591 if test "${with_perl_sitelib_dir+set}" = set; then
19462 withval="$with_perl_sitelib_dir"
19463
19464 fi;
20592 withval=$with_perl_sitelib_dir;
20593 fi
20594
1946520595
1946620596 # Extract the first word of ""perl"", so it can be a program name with args.
1946720597 set dummy "perl"; ac_word=$2
19468 echo "$as_me:$LINENO: checking for $ac_word" >&5
19469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1947020600 if test "${ac_cv_prog_have_perl+set}" = set; then
1947120601 echo $ECHO_N "(cached) $ECHO_C" >&6
1947220602 else
1947920609 IFS=$as_save_IFS
1948020610 test -z "$as_dir" && as_dir=.
1948120611 for ac_exec_ext in '' $ac_executable_extensions; do
19482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1948320613 ac_cv_prog_have_perl="yes"
1948420614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948520615 break 2
1948620616 fi
1948720617 done
1948820618 done
20619 IFS=$as_save_IFS
1948920620
1949020621 test -z "$ac_cv_prog_have_perl" && ac_cv_prog_have_perl="no"
1949120622 fi
1949220623 fi
1949320624 have_perl=$ac_cv_prog_have_perl
1949420625 if test -n "$have_perl"; then
19495 echo "$as_me:$LINENO: result: $have_perl" >&5
19496 echo "${ECHO_T}$have_perl" >&6
19497 else
19498 echo "$as_me:$LINENO: result: no" >&5
19499 echo "${ECHO_T}no" >&6
19500 fi
20626 { echo "$as_me:$LINENO: result: $have_perl" >&5
20627 echo "${ECHO_T}$have_perl" >&6; }
20628 else
20629 { echo "$as_me:$LINENO: result: no" >&5
20630 echo "${ECHO_T}no" >&6; }
20631 fi
20632
1950120633
1950220634
1950320635 if test "x$have_perl" = "xyes"; then
1950420636 PE_PREFIX=`(perl -e 'use Config; print $Config{archlib};')`
19505 echo "$as_me:$LINENO: checking for $PE_PREFIX/CORE/perl.h" >&5
19506 echo $ECHO_N "checking for $PE_PREFIX/CORE/perl.h... $ECHO_C" >&6
20637 { echo "$as_me:$LINENO: checking for $PE_PREFIX/CORE/perl.h" >&5
20638 echo $ECHO_N "checking for $PE_PREFIX/CORE/perl.h... $ECHO_C" >&6; }
1950720639 if test -f $PE_PREFIX/CORE/perl.h; then
19508 echo "$as_me:$LINENO: result: yes" >&5
19509 echo "${ECHO_T}yes" >&6
20640 { echo "$as_me:$LINENO: result: yes" >&5
20641 echo "${ECHO_T}yes" >&6; }
1951020642 PE_CFLAGS="-I$PE_PREFIX/CORE "
1951120643 PE_CFLAGS=$PE_CFLAGS`(perl -e 'use Config; print $Config{cppflags};')`
1951220644
1952220654 build_perl=no
1952320655 fi
1952420656 else
19525 echo "$as_me:$LINENO: result: no" >&5
19526 echo "${ECHO_T}no" >&6
20657 { echo "$as_me:$LINENO: result: no" >&5
20658 echo "${ECHO_T}no" >&6; }
1952720659 build_perl=no
1952820660 fi
1952920661 fi
1954120673
1954220674
1954320675
20676
1954420677 ALL_LINGUAS="he es_MX ru fr sv"
1954520678
19546
19547 MKINSTALLDIRS=
19548 if test -n "$ac_aux_dir"; then
19549 case "$ac_aux_dir" in
19550 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
19551 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
19552 esac
19553 fi
19554 if test -z "$MKINSTALLDIRS"; then
19555 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
19556 fi
19557
19558
19559
19560 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
19561 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
19562 # Check whether --enable-nls or --disable-nls was given.
20679 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
20680 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
20681 # Check whether --enable-nls was given.
1956320682 if test "${enable_nls+set}" = set; then
19564 enableval="$enable_nls"
19565 USE_NLS=$enableval
20683 enableval=$enable_nls; USE_NLS=$enableval
1956620684 else
1956720685 USE_NLS=yes
19568 fi;
19569 echo "$as_me:$LINENO: result: $USE_NLS" >&5
19570 echo "${ECHO_T}$USE_NLS" >&6
20686 fi
20687
20688 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
20689 echo "${ECHO_T}$USE_NLS" >&6; }
1957120690
1957220691
1957320692
1960420723
1960520724 # Extract the first word of "msgfmt", so it can be a program name with args.
1960620725 set dummy msgfmt; ac_word=$2
19607 echo "$as_me:$LINENO: checking for $ac_word" >&5
19608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960920728 if test "${ac_cv_path_MSGFMT+set}" = set; then
1961020729 echo $ECHO_N "(cached) $ECHO_C" >&6
1961120730 else
1963620755 fi
1963720756 MSGFMT="$ac_cv_path_MSGFMT"
1963820757 if test "$MSGFMT" != ":"; then
19639 echo "$as_me:$LINENO: result: $MSGFMT" >&5
19640 echo "${ECHO_T}$MSGFMT" >&6
19641 else
19642 echo "$as_me:$LINENO: result: no" >&5
19643 echo "${ECHO_T}no" >&6
20758 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
20759 echo "${ECHO_T}$MSGFMT" >&6; }
20760 else
20761 { echo "$as_me:$LINENO: result: no" >&5
20762 echo "${ECHO_T}no" >&6; }
1964420763 fi
1964520764
1964620765 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1964720766 set dummy gmsgfmt; ac_word=$2
19648 echo "$as_me:$LINENO: checking for $ac_word" >&5
19649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1965020769 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1965120770 echo $ECHO_N "(cached) $ECHO_C" >&6
1965220771 else
1966120780 IFS=$as_save_IFS
1966220781 test -z "$as_dir" && as_dir=.
1966320782 for ac_exec_ext in '' $ac_executable_extensions; do
19664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1966520784 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1966620785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1966720786 break 2
1966820787 fi
1966920788 done
1967020789 done
20790 IFS=$as_save_IFS
1967120791
1967220792 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1967320793 ;;
1967420794 esac
1967520795 fi
1967620796 GMSGFMT=$ac_cv_path_GMSGFMT
19677
1967820797 if test -n "$GMSGFMT"; then
19679 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
19680 echo "${ECHO_T}$GMSGFMT" >&6
19681 else
19682 echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6
19684 fi
20798 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20799 echo "${ECHO_T}$GMSGFMT" >&6; }
20800 else
20801 { echo "$as_me:$LINENO: result: no" >&5
20802 echo "${ECHO_T}no" >&6; }
20803 fi
20804
20805
20806
20807 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
20808 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
20809 *) MSGFMT_015=$MSGFMT ;;
20810 esac
20811
20812 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
20813 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
20814 *) GMSGFMT_015=$GMSGFMT ;;
20815 esac
1968520816
1968620817
1968720818
1971520846
1971620847 # Extract the first word of "xgettext", so it can be a program name with args.
1971720848 set dummy xgettext; ac_word=$2
19718 echo "$as_me:$LINENO: checking for $ac_word" >&5
19719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972020851 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1972120852 echo $ECHO_N "(cached) $ECHO_C" >&6
1972220853 else
1974720878 fi
1974820879 XGETTEXT="$ac_cv_path_XGETTEXT"
1974920880 if test "$XGETTEXT" != ":"; then
19750 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
19751 echo "${ECHO_T}$XGETTEXT" >&6
19752 else
19753 echo "$as_me:$LINENO: result: no" >&5
19754 echo "${ECHO_T}no" >&6
20881 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20882 echo "${ECHO_T}$XGETTEXT" >&6; }
20883 else
20884 { echo "$as_me:$LINENO: result: no" >&5
20885 echo "${ECHO_T}no" >&6; }
1975520886 fi
1975620887
1975720888 rm -f messages.po
20889
20890 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
20891 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
20892 *) XGETTEXT_015=$XGETTEXT ;;
20893 esac
20894
1975820895
1975920896
1976020897 # Prepare PATH_SEPARATOR.
1978720924
1978820925 # Extract the first word of "msgmerge", so it can be a program name with args.
1978920926 set dummy msgmerge; ac_word=$2
19790 echo "$as_me:$LINENO: checking for $ac_word" >&5
19791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979220929 if test "${ac_cv_path_MSGMERGE+set}" = set; then
1979320930 echo $ECHO_N "(cached) $ECHO_C" >&6
1979420931 else
1981820955 fi
1981920956 MSGMERGE="$ac_cv_path_MSGMERGE"
1982020957 if test "$MSGMERGE" != ":"; then
19821 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
19822 echo "${ECHO_T}$MSGMERGE" >&6
19823 else
19824 echo "$as_me:$LINENO: result: no" >&5
19825 echo "${ECHO_T}no" >&6
19826 fi
19827
19828
19829 if test "$GMSGFMT" != ":"; then
19830 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
19831 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
19832 : ;
19833 else
19834 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
19835 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
19836 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
19837 GMSGFMT=":"
19838 fi
19839 fi
19840
19841 if test "$XGETTEXT" != ":"; then
19842 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
19843 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
19844 : ;
19845 else
19846 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
19847 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
19848 XGETTEXT=":"
19849 fi
19850 rm -f messages.po
19851 fi
19852
19853 ac_config_commands="$ac_config_commands default-1"
19854
19855
19856
19857 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2 or newer" >&5
19858 echo $ECHO_N "checking whether we are using the GNU C Library 2 or newer... $ECHO_C" >&6
20958 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
20959 echo "${ECHO_T}$MSGMERGE" >&6; }
20960 else
20961 { echo "$as_me:$LINENO: result: no" >&5
20962 echo "${ECHO_T}no" >&6; }
20963 fi
20964
20965
20966 test -n "$localedir" || localedir='${datadir}/locale'
20967
20968
20969 ac_config_commands="$ac_config_commands po-directories"
20970
20971
20972
20973 { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2 or newer" >&5
20974 echo $ECHO_N "checking whether we are using the GNU C Library 2 or newer... $ECHO_C" >&6; }
1985920975 if test "${ac_cv_gnu_library_2+set}" = set; then
1986020976 echo $ECHO_N "(cached) $ECHO_C" >&6
1986120977 else
1988521001
1988621002
1988721003 fi
19888 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2" >&5
19889 echo "${ECHO_T}$ac_cv_gnu_library_2" >&6
21004 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2" >&5
21005 echo "${ECHO_T}$ac_cv_gnu_library_2" >&6; }
1989021006
1989121007 GLIBC2="$ac_cv_gnu_library_2"
1989221008
1989421010 if test -n "$ac_tool_prefix"; then
1989521011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1989621012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19897 echo "$as_me:$LINENO: checking for $ac_word" >&5
19898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1989921015 if test "${ac_cv_prog_RANLIB+set}" = set; then
1990021016 echo $ECHO_N "(cached) $ECHO_C" >&6
1990121017 else
1990821024 IFS=$as_save_IFS
1990921025 test -z "$as_dir" && as_dir=.
1991021026 for ac_exec_ext in '' $ac_executable_extensions; do
19911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1991221028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1991321029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991421030 break 2
1991521031 fi
1991621032 done
1991721033 done
21034 IFS=$as_save_IFS
1991821035
1991921036 fi
1992021037 fi
1992121038 RANLIB=$ac_cv_prog_RANLIB
1992221039 if test -n "$RANLIB"; then
19923 echo "$as_me:$LINENO: result: $RANLIB" >&5
19924 echo "${ECHO_T}$RANLIB" >&6
19925 else
19926 echo "$as_me:$LINENO: result: no" >&5
19927 echo "${ECHO_T}no" >&6
19928 fi
21040 { echo "$as_me:$LINENO: result: $RANLIB" >&5
21041 echo "${ECHO_T}$RANLIB" >&6; }
21042 else
21043 { echo "$as_me:$LINENO: result: no" >&5
21044 echo "${ECHO_T}no" >&6; }
21045 fi
21046
1992921047
1993021048 fi
1993121049 if test -z "$ac_cv_prog_RANLIB"; then
1993221050 ac_ct_RANLIB=$RANLIB
1993321051 # Extract the first word of "ranlib", so it can be a program name with args.
1993421052 set dummy ranlib; ac_word=$2
19935 echo "$as_me:$LINENO: checking for $ac_word" >&5
19936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1993721055 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1993821056 echo $ECHO_N "(cached) $ECHO_C" >&6
1993921057 else
1994621064 IFS=$as_save_IFS
1994721065 test -z "$as_dir" && as_dir=.
1994821066 for ac_exec_ext in '' $ac_executable_extensions; do
19949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1995021068 ac_cv_prog_ac_ct_RANLIB="ranlib"
1995121069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995221070 break 2
1995321071 fi
1995421072 done
1995521073 done
19956
19957 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
21074 IFS=$as_save_IFS
21075
1995821076 fi
1995921077 fi
1996021078 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1996121079 if test -n "$ac_ct_RANLIB"; then
19962 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19963 echo "${ECHO_T}$ac_ct_RANLIB" >&6
19964 else
19965 echo "$as_me:$LINENO: result: no" >&5
19966 echo "${ECHO_T}no" >&6
19967 fi
19968
19969 RANLIB=$ac_ct_RANLIB
21080 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
21081 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
21082 else
21083 { echo "$as_me:$LINENO: result: no" >&5
21084 echo "${ECHO_T}no" >&6; }
21085 fi
21086
21087 if test "x$ac_ct_RANLIB" = x; then
21088 RANLIB=":"
21089 else
21090 case $cross_compiling:$ac_tool_warned in
21091 yes:)
21092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21093 whose name does not start with the host triplet. If you think this
21094 configuration is useful to you, please write to autoconf@gnu.org." >&5
21095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21096 whose name does not start with the host triplet. If you think this
21097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21098 ac_tool_warned=yes ;;
21099 esac
21100 RANLIB=$ac_ct_RANLIB
21101 fi
1997021102 else
1997121103 RANLIB="$ac_cv_prog_RANLIB"
1997221104 fi
1997321105
1997421106
19975 echo "$as_me:$LINENO: checking for signed" >&5
19976 echo $ECHO_N "checking for signed... $ECHO_C" >&6
19977 if test "${bh_cv_c_signed+set}" = set; then
21107
21108 CFLAG_VISIBILITY=
21109 HAVE_VISIBILITY=0
21110 if test -n "$GCC"; then
21111 { echo "$as_me:$LINENO: checking for simple visibility declarations" >&5
21112 echo $ECHO_N "checking for simple visibility declarations... $ECHO_C" >&6; }
21113 if test "${gl_cv_cc_visibility+set}" = set; then
1997821114 echo $ECHO_N "(cached) $ECHO_C" >&6
1997921115 else
19980 cat >conftest.$ac_ext <<_ACEOF
21116
21117 gl_save_CFLAGS="$CFLAGS"
21118 CFLAGS="$CFLAGS -fvisibility=hidden"
21119 cat >conftest.$ac_ext <<_ACEOF
1998121120 /* confdefs.h. */
1998221121 _ACEOF
1998321122 cat confdefs.h >>conftest.$ac_ext
1998421123 cat >>conftest.$ac_ext <<_ACEOF
1998521124 /* end confdefs.h. */
19986
21125 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
21126 extern __attribute__((__visibility__("default"))) int exportedvar;
21127 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
21128 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
1998721129 int
1998821130 main ()
1998921131 {
19990 signed char x;
21132
1999121133 ;
1999221134 return 0;
1999321135 }
1999421136 _ACEOF
1999521137 rm -f conftest.$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
21138 if { (ac_try="$ac_compile"
21139 case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21142 esac
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_compile") 2>conftest.er1
1999821145 ac_status=$?
1999921146 grep -v '^ *+' conftest.er1 >conftest.err
2000021147 rm -f conftest.er1
2000121148 cat conftest.err >&5
2000221149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20007 ac_status=$?
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try='test -s conftest.$ac_objext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20013 ac_status=$?
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 bh_cv_c_signed=yes
21150 (exit $ac_status); } && {
21151 test -z "$ac_c_werror_flag" ||
21152 test ! -s conftest.err
21153 } && test -s conftest.$ac_objext; then
21154 gl_cv_cc_visibility=yes
2001721155 else
2001821156 echo "$as_me: failed program was:" >&5
2001921157 sed 's/^/| /' conftest.$ac_ext >&5
2002021158
20021 bh_cv_c_signed=no
20022 fi
20023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20024 fi
20025 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
20026 echo "${ECHO_T}$bh_cv_c_signed" >&6
20027 if test $bh_cv_c_signed = no; then
20028
20029 cat >>confdefs.h <<\_ACEOF
20030 #define signed
20031 _ACEOF
20032
21159 gl_cv_cc_visibility=no
21160 fi
21161
21162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 CFLAGS="$gl_save_CFLAGS"
21164 fi
21165
21166 { echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
21167 echo "${ECHO_T}$gl_cv_cc_visibility" >&6; }
21168 if test $gl_cv_cc_visibility = yes; then
21169 CFLAG_VISIBILITY="-fvisibility=hidden"
21170 HAVE_VISIBILITY=1
21171 fi
2003321172 fi
2003421173
20035 echo "$as_me:$LINENO: checking for inline" >&5
20036 echo $ECHO_N "checking for inline... $ECHO_C" >&6
21174
21175
21176 cat >>confdefs.h <<_ACEOF
21177 #define HAVE_VISIBILITY $HAVE_VISIBILITY
21178 _ACEOF
21179
21180
21181 { echo "$as_me:$LINENO: checking for inline" >&5
21182 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
2003721183 if test "${ac_cv_c_inline+set}" = set; then
2003821184 echo $ECHO_N "(cached) $ECHO_C" >&6
2003921185 else
2005321199
2005421200 _ACEOF
2005521201 rm -f conftest.$ac_objext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20057 (eval $ac_compile) 2>conftest.er1
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206 esac
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
2005821209 ac_status=$?
2005921210 grep -v '^ *+' conftest.er1 >conftest.err
2006021211 rm -f conftest.er1
2006121212 cat conftest.err >&5
2006221213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } &&
20064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try='test -s conftest.$ac_objext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20073 ac_status=$?
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 ac_cv_c_inline=$ac_kw; break
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21218 ac_cv_c_inline=$ac_kw
2007721219 else
2007821220 echo "$as_me: failed program was:" >&5
2007921221 sed 's/^/| /' conftest.$ac_ext >&5
2008021222
20081 fi
20082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21223
21224 fi
21225
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 test "$ac_cv_c_inline" != no && break
2008321228 done
2008421229
2008521230 fi
20086 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20087 echo "${ECHO_T}$ac_cv_c_inline" >&6
21231 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21232 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
2008821233
2008921234
2009021235 case $ac_cv_c_inline in
2010221247 ;;
2010321248 esac
2010421249
20105 echo "$as_me:$LINENO: checking for off_t" >&5
20106 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
20107 if test "${ac_cv_type_off_t+set}" = set; then
21250 { echo "$as_me:$LINENO: checking for size_t" >&5
21251 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21252 if test "${ac_cv_type_size_t+set}" = set; then
2010821253 echo $ECHO_N "(cached) $ECHO_C" >&6
2010921254 else
2011021255 cat >conftest.$ac_ext <<_ACEOF
2011421259 cat >>conftest.$ac_ext <<_ACEOF
2011521260 /* end confdefs.h. */
2011621261 $ac_includes_default
21262 typedef size_t ac__type_new_;
2011721263 int
2011821264 main ()
2011921265 {
20120 if ((off_t *) 0)
21266 if ((ac__type_new_ *) 0)
2012121267 return 0;
20122 if (sizeof (off_t))
21268 if (sizeof (ac__type_new_))
2012321269 return 0;
2012421270 ;
2012521271 return 0;
2012621272 }
2012721273 _ACEOF
2012821274 rm -f conftest.$ac_objext
20129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20130 (eval $ac_compile) 2>conftest.er1
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21279 esac
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
2013121282 ac_status=$?
2013221283 grep -v '^ *+' conftest.er1 >conftest.err
2013321284 rm -f conftest.er1
2013421285 cat conftest.err >&5
2013521286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } &&
20137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; } &&
20143 { ac_try='test -s conftest.$ac_objext'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20146 ac_status=$?
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; }; then
20149 ac_cv_type_off_t=yes
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.$ac_objext; then
21291 ac_cv_type_size_t=yes
2015021292 else
2015121293 echo "$as_me: failed program was:" >&5
2015221294 sed 's/^/| /' conftest.$ac_ext >&5
2015321295
20154 ac_cv_type_off_t=no
20155 fi
20156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20157 fi
20158 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20159 echo "${ECHO_T}$ac_cv_type_off_t" >&6
20160 if test $ac_cv_type_off_t = yes; then
20161 :
20162 else
20163
20164 cat >>confdefs.h <<_ACEOF
20165 #define off_t long
20166 _ACEOF
20167
20168 fi
20169
20170 echo "$as_me:$LINENO: checking for size_t" >&5
20171 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20172 if test "${ac_cv_type_size_t+set}" = set; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 else
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182 int
20183 main ()
20184 {
20185 if ((size_t *) 0)
20186 return 0;
20187 if (sizeof (size_t))
20188 return 0;
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20195 (eval $ac_compile) 2>conftest.er1
20196 ac_status=$?
20197 grep -v '^ *+' conftest.er1 >conftest.err
20198 rm -f conftest.er1
20199 cat conftest.err >&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); } &&
20202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try='test -s conftest.$ac_objext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_cv_type_size_t=yes
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_cv_type_size_t=no
20220 fi
20221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20222 fi
20223 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20224 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21296 ac_cv_type_size_t=no
21297 fi
21298
21299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21300 fi
21301 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21302 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
2022521303 if test $ac_cv_type_size_t = yes; then
2022621304 :
2022721305 else
2022821306
2022921307 cat >>confdefs.h <<_ACEOF
20230 #define size_t unsigned
20231 _ACEOF
20232
20233 fi
20234
20235
20236 echo "$as_me:$LINENO: checking for long long" >&5
20237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20238 if test "${ac_cv_type_long_long+set}" = set; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 else
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 long long ll = 1LL; int i = 63;
20248 int
20249 main ()
20250 {
20251 long long llmax = (long long) -1;
20252 return ll << i | ll >> i | llmax / ll | llmax % ll;
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext conftest$ac_exeext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20259 (eval $ac_link) 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest$ac_exeext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 ac_cv_type_long_long=yes
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 ac_cv_type_long_long=no
20284 fi
20285 rm -f conftest.err conftest.$ac_objext \
20286 conftest$ac_exeext conftest.$ac_ext
20287 fi
20288 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20289 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20290 if test $ac_cv_type_long_long = yes; then
20291
20292 cat >>confdefs.h <<\_ACEOF
20293 #define HAVE_LONG_LONG 1
20294 _ACEOF
20295
20296 fi
20297
20298
20299 echo "$as_me:$LINENO: checking for long double" >&5
20300 echo $ECHO_N "checking for long double... $ECHO_C" >&6
20301 if test "${gt_cv_c_long_double+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 else
20304 if test "$GCC" = yes; then
20305 gt_cv_c_long_double=yes
20306 else
20307 cat >conftest.$ac_ext <<_ACEOF
20308 /* confdefs.h. */
20309 _ACEOF
20310 cat confdefs.h >>conftest.$ac_ext
20311 cat >>conftest.$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313
20314 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
20315 long double foo = 0.0;
20316 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
20317 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
20318
20319 int
20320 main ()
20321 {
20322
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20330 ac_status=$?
20331 grep -v '^ *+' conftest.er1 >conftest.err
20332 rm -f conftest.er1
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 gt_cv_c_long_double=yes
20349 else
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 gt_cv_c_long_double=no
20354 fi
20355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20356 fi
20357 fi
20358 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
20359 echo "${ECHO_T}$gt_cv_c_long_double" >&6
20360 if test $gt_cv_c_long_double = yes; then
20361
20362 cat >>confdefs.h <<\_ACEOF
20363 #define HAVE_LONG_DOUBLE 1
20364 _ACEOF
20365
20366 fi
20367
20368
20369 echo "$as_me:$LINENO: checking for wchar_t" >&5
20370 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20371 if test "${gt_cv_c_wchar_t+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 else
20374 cat >conftest.$ac_ext <<_ACEOF
20375 /* confdefs.h. */
20376 _ACEOF
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 #include <stddef.h>
20381 wchar_t foo = (wchar_t)'\0';
20382 int
20383 main ()
20384 {
20385
20386 ;
20387 return 0;
20388 }
20389 _ACEOF
20390 rm -f conftest.$ac_objext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20392 (eval $ac_compile) 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20402 ac_status=$?
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; } &&
20405 { ac_try='test -s conftest.$ac_objext'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; }; then
20411 gt_cv_c_wchar_t=yes
20412 else
20413 echo "$as_me: failed program was:" >&5
20414 sed 's/^/| /' conftest.$ac_ext >&5
20415
20416 gt_cv_c_wchar_t=no
20417 fi
20418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20419 fi
20420 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
20421 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
20422 if test $gt_cv_c_wchar_t = yes; then
20423
20424 cat >>confdefs.h <<\_ACEOF
20425 #define HAVE_WCHAR_T 1
20426 _ACEOF
20427
20428 fi
20429
20430
20431 echo "$as_me:$LINENO: checking for wint_t" >&5
20432 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
20433 if test "${gt_cv_c_wint_t+set}" = set; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 else
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #include <wchar.h>
20443 wint_t foo = (wchar_t)'\0';
20444 int
20445 main ()
20446 {
20447
20448 ;
20449 return 0;
20450 }
20451 _ACEOF
20452 rm -f conftest.$ac_objext
20453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20454 (eval $ac_compile) 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; } &&
20467 { ac_try='test -s conftest.$ac_objext'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; }; then
20473 gt_cv_c_wint_t=yes
20474 else
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.$ac_ext >&5
20477
20478 gt_cv_c_wint_t=no
20479 fi
20480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20481 fi
20482 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
20483 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
20484 if test $gt_cv_c_wint_t = yes; then
20485
20486 cat >>confdefs.h <<\_ACEOF
20487 #define HAVE_WINT_T 1
20488 _ACEOF
20489
20490 fi
20491
20492
20493 echo "$as_me:$LINENO: checking for inttypes.h" >&5
20494 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
20495 if test "${gl_cv_header_inttypes_h+set}" = set; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 #include <sys/types.h>
20505 #include <inttypes.h>
20506 int
20507 main ()
20508 {
20509 uintmax_t i = (uintmax_t) -1;
20510 ;
20511 return 0;
20512 }
20513 _ACEOF
20514 rm -f conftest.$ac_objext
20515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20516 (eval $ac_compile) 2>conftest.er1
20517 ac_status=$?
20518 grep -v '^ *+' conftest.er1 >conftest.err
20519 rm -f conftest.er1
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } &&
20523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20526 ac_status=$?
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; } &&
20529 { ac_try='test -s conftest.$ac_objext'
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20531 (eval $ac_try) 2>&5
20532 ac_status=$?
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; }; then
20535 gl_cv_header_inttypes_h=yes
20536 else
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20539
20540 gl_cv_header_inttypes_h=no
20541 fi
20542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20543 fi
20544 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
20545 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
20546 if test $gl_cv_header_inttypes_h = yes; then
20547
20548 cat >>confdefs.h <<_ACEOF
20549 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
20550 _ACEOF
20551
20552 fi
20553
20554
20555 echo "$as_me:$LINENO: checking for stdint.h" >&5
20556 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
21308 #define size_t unsigned int
21309 _ACEOF
21310
21311 fi
21312
21313
21314 { echo "$as_me:$LINENO: checking for stdint.h" >&5
21315 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
2055721316 if test "${gl_cv_header_stdint_h+set}" = set; then
2055821317 echo $ECHO_N "(cached) $ECHO_C" >&6
2055921318 else
2056821327 int
2056921328 main ()
2057021329 {
20571 uintmax_t i = (uintmax_t) -1;
21330 uintmax_t i = (uintmax_t) -1; return !i;
2057221331 ;
2057321332 return 0;
2057421333 }
2057521334 _ACEOF
2057621335 rm -f conftest.$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
21336 if { (ac_try="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
2057921343 ac_status=$?
2058021344 grep -v '^ *+' conftest.er1 >conftest.err
2058121345 rm -f conftest.er1
2058221346 cat conftest.err >&5
2058321347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20594 ac_status=$?
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.$ac_objext; then
2059721352 gl_cv_header_stdint_h=yes
2059821353 else
2059921354 echo "$as_me: failed program was:" >&5
2060021355 sed 's/^/| /' conftest.$ac_ext >&5
2060121356
20602 gl_cv_header_stdint_h=no
20603 fi
20604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20605 fi
20606 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
20607 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
21357 gl_cv_header_stdint_h=no
21358 fi
21359
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 fi
21362 { echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
21363 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6; }
2060821364 if test $gl_cv_header_stdint_h = yes; then
2060921365
2061021366 cat >>confdefs.h <<_ACEOF
2061321369
2061421370 fi
2061521371
20616
20617
20618
20619 echo "$as_me:$LINENO: checking for intmax_t" >&5
20620 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
20621 if test "${gt_cv_c_intmax_t+set}" = set; then
20622 echo $ECHO_N "(cached) $ECHO_C" >&6
20623 else
20624 cat >conftest.$ac_ext <<_ACEOF
20625 /* confdefs.h. */
20626 _ACEOF
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630
20631 #include <stddef.h>
20632 #include <stdlib.h>
20633 #if HAVE_STDINT_H_WITH_UINTMAX
20634 #include <stdint.h>
20635 #endif
20636 #if HAVE_INTTYPES_H_WITH_UINTMAX
20637 #include <inttypes.h>
20638 #endif
20639
20640 int
20641 main ()
20642 {
20643 intmax_t x = -1;
20644 ;
20645 return 0;
20646 }
20647 _ACEOF
20648 rm -f conftest.$ac_objext
20649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20650 (eval $ac_compile) 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; } &&
20663 { ac_try='test -s conftest.$ac_objext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 gt_cv_c_intmax_t=yes
20670 else
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.$ac_ext >&5
20673
20674 gt_cv_c_intmax_t=no
20675 fi
20676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20677 fi
20678 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
20679 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
20680 if test $gt_cv_c_intmax_t = yes; then
20681
20682 cat >>confdefs.h <<\_ACEOF
20683 #define HAVE_INTMAX_T 1
20684 _ACEOF
20685
20686 fi
20687
20688
20689
20690 echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
20691 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
20692 if test "${gt_cv_func_printf_posix+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 else
20695
20696 if test "$cross_compiling" = yes; then
20697
20698 cat >conftest.$ac_ext <<_ACEOF
20699 /* confdefs.h. */
20700 _ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704
20705 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
20706 notposix
20707 #endif
20708
20709 _ACEOF
20710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20711 $EGREP "notposix" >/dev/null 2>&1; then
20712 gt_cv_func_printf_posix="guessing no"
20713 else
20714 gt_cv_func_printf_posix="guessing yes"
20715 fi
20716 rm -f conftest*
20717
20718
20719 else
20720 cat >conftest.$ac_ext <<_ACEOF
20721 /* confdefs.h. */
20722 _ACEOF
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726
20727 #include <stdio.h>
20728 #include <string.h>
20729 /* The string "%2$d %1$d", with dollar characters protected from the shell's
20730 dollar expansion (possibly an autoconf bug). */
20731 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
20732 static char buf[100];
20733 int main ()
20734 {
20735 sprintf (buf, format, 33, 55);
20736 return (strcmp (buf, "55 33") != 0);
20737 }
20738 _ACEOF
20739 rm -f conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 gt_cv_func_printf_posix=yes
20751 else
20752 echo "$as_me: program exited with status $ac_status" >&5
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ( exit $ac_status )
20757 gt_cv_func_printf_posix=no
20758 fi
20759 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20760 fi
20761
20762 fi
20763 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
20764 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
20765 case $gt_cv_func_printf_posix in
20766 *yes)
20767
20768 cat >>confdefs.h <<\_ACEOF
20769 #define HAVE_POSIX_PRINTF 1
20770 _ACEOF
20771
20772 ;;
20773 esac
20774
2077521372 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2077621373 # for constant arguments. Useless!
20777 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20778 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21374 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
21375 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
2077921376 if test "${ac_cv_working_alloca_h+set}" = set; then
2078021377 echo $ECHO_N "(cached) $ECHO_C" >&6
2078121378 else
2079021387 main ()
2079121388 {
2079221389 char *p = (char *) alloca (2 * sizeof (int));
21390 if (p) return 0;
2079321391 ;
2079421392 return 0;
2079521393 }
2079621394 _ACEOF
2079721395 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>conftest.er1
21396 if { (ac_try="$ac_link"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21400 esac
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_link") 2>conftest.er1
2080021403 ac_status=$?
2080121404 grep -v '^ *+' conftest.er1 >conftest.err
2080221405 rm -f conftest.er1
2080321406 cat conftest.err >&5
2080421407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } &&
20806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
21408 (exit $ac_status); } && {
21409 test -z "$ac_c_werror_flag" ||
21410 test ! -s conftest.err
21411 } && test -s conftest$ac_exeext &&
21412 $as_test_x conftest$ac_exeext; then
2081821413 ac_cv_working_alloca_h=yes
2081921414 else
2082021415 echo "$as_me: failed program was:" >&5
2082121416 sed 's/^/| /' conftest.$ac_ext >&5
2082221417
20823 ac_cv_working_alloca_h=no
20824 fi
20825 rm -f conftest.err conftest.$ac_objext \
21418 ac_cv_working_alloca_h=no
21419 fi
21420
21421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2082621422 conftest$ac_exeext conftest.$ac_ext
2082721423 fi
20828 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20829 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21424 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21425 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
2083021426 if test $ac_cv_working_alloca_h = yes; then
2083121427
2083221428 cat >>confdefs.h <<\_ACEOF
2083521431
2083621432 fi
2083721433
20838 echo "$as_me:$LINENO: checking for alloca" >&5
20839 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21434 { echo "$as_me:$LINENO: checking for alloca" >&5
21435 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
2084021436 if test "${ac_cv_func_alloca_works+set}" = set; then
2084121437 echo $ECHO_N "(cached) $ECHO_C" >&6
2084221438 else
2085321449 # include <malloc.h>
2085421450 # define alloca _alloca
2085521451 # else
20856 # if HAVE_ALLOCA_H
21452 # ifdef HAVE_ALLOCA_H
2085721453 # include <alloca.h>
2085821454 # else
2085921455 # ifdef _AIX
2087121467 main ()
2087221468 {
2087321469 char *p = (char *) alloca (1);
21470 if (p) return 0;
2087421471 ;
2087521472 return 0;
2087621473 }
2087721474 _ACEOF
2087821475 rm -f conftest.$ac_objext conftest$ac_exeext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20880 (eval $ac_link) 2>conftest.er1
21476 if { (ac_try="$ac_link"
21477 case "(($ac_try" in
21478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21479 *) ac_try_echo=$ac_try;;
21480 esac
21481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21482 (eval "$ac_link") 2>conftest.er1
2088121483 ac_status=$?
2088221484 grep -v '^ *+' conftest.er1 >conftest.err
2088321485 rm -f conftest.er1
2088421486 cat conftest.err >&5
2088521487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20890 ac_status=$?
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; } &&
20893 { ac_try='test -s conftest$ac_exeext'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
21488 (exit $ac_status); } && {
21489 test -z "$ac_c_werror_flag" ||
21490 test ! -s conftest.err
21491 } && test -s conftest$ac_exeext &&
21492 $as_test_x conftest$ac_exeext; then
2089921493 ac_cv_func_alloca_works=yes
2090021494 else
2090121495 echo "$as_me: failed program was:" >&5
2090221496 sed 's/^/| /' conftest.$ac_ext >&5
2090321497
20904 ac_cv_func_alloca_works=no
20905 fi
20906 rm -f conftest.err conftest.$ac_objext \
21498 ac_cv_func_alloca_works=no
21499 fi
21500
21501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2090721502 conftest$ac_exeext conftest.$ac_ext
2090821503 fi
20909 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20910 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21504 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21505 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
2091121506
2091221507 if test $ac_cv_func_alloca_works = yes; then
2091321508
2092121516 # contain a buggy version. If you still want to use their alloca,
2092221517 # use ar to extract alloca.o from them instead of compiling alloca.c.
2092321518
20924 ALLOCA=alloca.$ac_objext
21519 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
2092521520
2092621521 cat >>confdefs.h <<\_ACEOF
2092721522 #define C_ALLOCA 1
2092821523 _ACEOF
2092921524
2093021525
20931 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20932 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21526 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21527 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
2093321528 if test "${ac_cv_os_cray+set}" = set; then
2093421529 echo $ECHO_N "(cached) $ECHO_C" >&6
2093521530 else
2093921534 cat confdefs.h >>conftest.$ac_ext
2094021535 cat >>conftest.$ac_ext <<_ACEOF
2094121536 /* end confdefs.h. */
20942 #if defined(CRAY) && ! defined(CRAY2)
21537 #if defined CRAY && ! defined CRAY2
2094321538 webecray
2094421539 #else
2094521540 wenotbecray
2095521550 rm -f conftest*
2095621551
2095721552 fi
20958 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20959 echo "${ECHO_T}$ac_cv_os_cray" >&6
21553 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21554 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
2096021555 if test $ac_cv_os_cray = yes; then
2096121556 for ac_func in _getb67 GETB67 getb67; do
2096221557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20963 echo "$as_me:$LINENO: checking for $ac_func" >&5
20964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20965 if eval "test \"\${$as_ac_var+set}\" = set"; then
21558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
2096621561 echo $ECHO_N "(cached) $ECHO_C" >&6
2096721562 else
2096821563 cat >conftest.$ac_ext <<_ACEOF
2098821583
2098921584 #undef $ac_func
2099021585
20991 /* Override any gcc2 internal prototype to avoid an error. */
21586 /* Override any GCC internal prototype to avoid an error.
21587 Use char because int might match the return type of a GCC
21588 builtin and then its argument prototype would still apply. */
2099221589 #ifdef __cplusplus
2099321590 extern "C"
20994 {
2099521591 #endif
20996 /* We use char because int might match the return type of a gcc2
20997 builtin and then its argument prototype would still apply. */
2099821592 char $ac_func ();
2099921593 /* The GNU C library defines this for functions which it implements
2100021594 to always fail with ENOSYS. Some functions are actually named
2100121595 something starting with __ and the normal name is an alias. */
21002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21596 #if defined __stub_$ac_func || defined __stub___$ac_func
2100321597 choke me
21004 #else
21005 char (*f) () = $ac_func;
21006 #endif
21007 #ifdef __cplusplus
21008 }
2100921598 #endif
2101021599
2101121600 int
2101221601 main ()
2101321602 {
21014 return f != $ac_func;
21603 return $ac_func ();
2101521604 ;
2101621605 return 0;
2101721606 }
2101821607 _ACEOF
2101921608 rm -f conftest.$ac_objext conftest$ac_exeext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21021 (eval $ac_link) 2>conftest.er1
21609 if { (ac_try="$ac_link"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21613 esac
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_link") 2>conftest.er1
2102221616 ac_status=$?
2102321617 grep -v '^ *+' conftest.er1 >conftest.err
2102421618 rm -f conftest.er1
2102521619 cat conftest.err >&5
2102621620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest$ac_exeext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest$ac_exeext &&
21625 $as_test_x conftest$ac_exeext; then
2104021626 eval "$as_ac_var=yes"
2104121627 else
2104221628 echo "$as_me: failed program was:" >&5
2104321629 sed 's/^/| /' conftest.$ac_ext >&5
2104421630
21045 eval "$as_ac_var=no"
21046 fi
21047 rm -f conftest.err conftest.$ac_objext \
21631 eval "$as_ac_var=no"
21632 fi
21633
21634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2104821635 conftest$ac_exeext conftest.$ac_ext
2104921636 fi
21050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21637 ac_res=`eval echo '${'$as_ac_var'}'`
21638 { echo "$as_me:$LINENO: result: $ac_res" >&5
21639 echo "${ECHO_T}$ac_res" >&6; }
2105221640 if test `eval echo '${'$as_ac_var'}'` = yes; then
2105321641
2105421642 cat >>confdefs.h <<_ACEOF
2106121649 done
2106221650 fi
2106321651
21064 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21065 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21652 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21653 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
2106621654 if test "${ac_cv_c_stack_direction+set}" = set; then
2106721655 echo $ECHO_N "(cached) $ECHO_C" >&6
2106821656 else
2107521663 cat confdefs.h >>conftest.$ac_ext
2107621664 cat >>conftest.$ac_ext <<_ACEOF
2107721665 /* end confdefs.h. */
21666 $ac_includes_default
2107821667 int
2107921668 find_stack_direction ()
2108021669 {
2109221681 int
2109321682 main ()
2109421683 {
21095 exit (find_stack_direction () < 0);
21684 return find_stack_direction () < 0;
2109621685 }
2109721686 _ACEOF
2109821687 rm -f conftest$ac_exeext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21100 (eval $ac_link) 2>&5
21688 if { (ac_try="$ac_link"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_link") 2>&5
2110121695 ac_status=$?
2110221696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110321697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21105 (eval $ac_try) 2>&5
21698 { (case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21701 esac
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
2110621704 ac_status=$?
2110721705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110821706 (exit $ac_status); }; }; then
2111521713 ( exit $ac_status )
2111621714 ac_cv_c_stack_direction=-1
2111721715 fi
21118 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21119 fi
21120 fi
21121 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21122 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21717 fi
21718
21719
21720 fi
21721 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21722 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
2112321723
2112421724 cat >>confdefs.h <<_ACEOF
2112521725 #define STACK_DIRECTION $ac_cv_c_stack_direction
2113321733 for ac_header in stdlib.h unistd.h
2113421734 do
2113521735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21137 echo "$as_me:$LINENO: checking for $ac_header" >&5
21138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21737 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2114021740 echo $ECHO_N "(cached) $ECHO_C" >&6
2114121741 fi
21142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21742 ac_res=`eval echo '${'$as_ac_Header'}'`
21743 { echo "$as_me:$LINENO: result: $ac_res" >&5
21744 echo "${ECHO_T}$ac_res" >&6; }
2114421745 else
2114521746 # Is the header compilable?
21146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21747 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
2114821749 cat >conftest.$ac_ext <<_ACEOF
2114921750 /* confdefs.h. */
2115021751 _ACEOF
2115521756 #include <$ac_header>
2115621757 _ACEOF
2115721758 rm -f conftest.$ac_objext
21158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21159 (eval $ac_compile) 2>conftest.er1
21759 if { (ac_try="$ac_compile"
21760 case "(($ac_try" in
21761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21763 esac
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_compile") 2>conftest.er1
2116021766 ac_status=$?
2116121767 grep -v '^ *+' conftest.er1 >conftest.err
2116221768 rm -f conftest.er1
2116321769 cat conftest.err >&5
2116421770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
21166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21169 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; } &&
21172 { ac_try='test -s conftest.$ac_objext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21175 ac_status=$?
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21771 (exit $ac_status); } && {
21772 test -z "$ac_c_werror_flag" ||
21773 test ! -s conftest.err
21774 } && test -s conftest.$ac_objext; then
2117821775 ac_header_compiler=yes
2117921776 else
2118021777 echo "$as_me: failed program was:" >&5
2118121778 sed 's/^/| /' conftest.$ac_ext >&5
2118221779
21183 ac_header_compiler=no
21184 fi
21185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21187 echo "${ECHO_T}$ac_header_compiler" >&6
21780 ac_header_compiler=no
21781 fi
21782
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21785 echo "${ECHO_T}$ac_header_compiler" >&6; }
2118821786
2118921787 # Is the header present?
21190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21788 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
2119221790 cat >conftest.$ac_ext <<_ACEOF
2119321791 /* confdefs.h. */
2119421792 _ACEOF
2119721795 /* end confdefs.h. */
2119821796 #include <$ac_header>
2119921797 _ACEOF
21200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21798 if { (ac_try="$ac_cpp conftest.$ac_ext"
21799 case "(($ac_try" in
21800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21801 *) ac_try_echo=$ac_try;;
21802 esac
21803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2120221805 ac_status=$?
2120321806 grep -v '^ *+' conftest.er1 >conftest.err
2120421807 rm -f conftest.er1
2120521808 cat conftest.err >&5
2120621809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } >/dev/null; then
21208 if test -s conftest.err; then
21209 ac_cpp_err=$ac_c_preproc_warn_flag
21210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21211 else
21212 ac_cpp_err=
21213 fi
21214 else
21215 ac_cpp_err=yes
21216 fi
21217 if test -z "$ac_cpp_err"; then
21810 (exit $ac_status); } >/dev/null && {
21811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21812 test ! -s conftest.err
21813 }; then
2121821814 ac_header_preproc=yes
2121921815 else
2122021816 echo "$as_me: failed program was:" >&5
2122221818
2122321819 ac_header_preproc=no
2122421820 fi
21821
2122521822 rm -f conftest.err conftest.$ac_ext
21226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21227 echo "${ECHO_T}$ac_header_preproc" >&6
21823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21824 echo "${ECHO_T}$ac_header_preproc" >&6; }
2122821825
2122921826 # So? What about this header?
2123021827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2124821845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2124921846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2125021847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21251 (
21252 cat <<\_ASBOX
21253 ## ------------------------------------------ ##
21254 ## Report this to the AC_PACKAGE_NAME lists. ##
21255 ## ------------------------------------------ ##
21256 _ASBOX
21257 ) |
21258 sed "s/^/$as_me: WARNING: /" >&2
21848
2125921849 ;;
2126021850 esac
21261 echo "$as_me:$LINENO: checking for $ac_header" >&5
21262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2126421854 echo $ECHO_N "(cached) $ECHO_C" >&6
2126521855 else
2126621856 eval "$as_ac_Header=\$ac_header_preproc"
2126721857 fi
21268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21858 ac_res=`eval echo '${'$as_ac_Header'}'`
21859 { echo "$as_me:$LINENO: result: $ac_res" >&5
21860 echo "${ECHO_T}$ac_res" >&6; }
2127021861
2127121862 fi
2127221863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2128221873 for ac_func in getpagesize
2128321874 do
2128421875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21285 echo "$as_me:$LINENO: checking for $ac_func" >&5
21286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21287 if eval "test \"\${$as_ac_var+set}\" = set"; then
21876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
2128821879 echo $ECHO_N "(cached) $ECHO_C" >&6
2128921880 else
2129021881 cat >conftest.$ac_ext <<_ACEOF
2131021901
2131121902 #undef $ac_func
2131221903
21313 /* Override any gcc2 internal prototype to avoid an error. */
21904 /* Override any GCC internal prototype to avoid an error.
21905 Use char because int might match the return type of a GCC
21906 builtin and then its argument prototype would still apply. */
2131421907 #ifdef __cplusplus
2131521908 extern "C"
21316 {
2131721909 #endif
21318 /* We use char because int might match the return type of a gcc2
21319 builtin and then its argument prototype would still apply. */
2132021910 char $ac_func ();
2132121911 /* The GNU C library defines this for functions which it implements
2132221912 to always fail with ENOSYS. Some functions are actually named
2132321913 something starting with __ and the normal name is an alias. */
21324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21914 #if defined __stub_$ac_func || defined __stub___$ac_func
2132521915 choke me
21326 #else
21327 char (*f) () = $ac_func;
21328 #endif
21329 #ifdef __cplusplus
21330 }
2133121916 #endif
2133221917
2133321918 int
2133421919 main ()
2133521920 {
21336 return f != $ac_func;
21921 return $ac_func ();
2133721922 ;
2133821923 return 0;
2133921924 }
2134021925 _ACEOF
2134121926 rm -f conftest.$ac_objext conftest$ac_exeext
21342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21343 (eval $ac_link) 2>conftest.er1
21927 if { (ac_try="$ac_link"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_link") 2>conftest.er1
2134421934 ac_status=$?
2134521935 grep -v '^ *+' conftest.er1 >conftest.err
2134621936 rm -f conftest.er1
2134721937 cat conftest.err >&5
2134821938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21353 ac_status=$?
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; } &&
21356 { ac_try='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21359 ac_status=$?
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; }; then
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest$ac_exeext &&
21943 $as_test_x conftest$ac_exeext; then
2136221944 eval "$as_ac_var=yes"
2136321945 else
2136421946 echo "$as_me: failed program was:" >&5
2136521947 sed 's/^/| /' conftest.$ac_ext >&5
2136621948
21367 eval "$as_ac_var=no"
21368 fi
21369 rm -f conftest.err conftest.$ac_objext \
21949 eval "$as_ac_var=no"
21950 fi
21951
21952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2137021953 conftest$ac_exeext conftest.$ac_ext
2137121954 fi
21372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21955 ac_res=`eval echo '${'$as_ac_var'}'`
21956 { echo "$as_me:$LINENO: result: $ac_res" >&5
21957 echo "${ECHO_T}$ac_res" >&6; }
2137421958 if test `eval echo '${'$as_ac_var'}'` = yes; then
2137521959 cat >>confdefs.h <<_ACEOF
2137621960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2137921963 fi
2138021964 done
2138121965
21382 echo "$as_me:$LINENO: checking for working mmap" >&5
21383 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21966 { echo "$as_me:$LINENO: checking for working mmap" >&5
21967 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
2138421968 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
2138521969 echo $ECHO_N "(cached) $ECHO_C" >&6
2138621970 else
2142222006 #include <fcntl.h>
2142322007 #include <sys/mman.h>
2142422008
21425 #if !STDC_HEADERS && !HAVE_STDLIB_H
22009 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
2142622010 char *malloc ();
2142722011 #endif
2142822012
2142922013 /* This mess was copied from the GNU getpagesize.h. */
21430 #if !HAVE_GETPAGESIZE
22014 #ifndef HAVE_GETPAGESIZE
2143122015 /* Assume that all systems that can run configure have sys/param.h. */
21432 # if !HAVE_SYS_PARAM_H
22016 # ifndef HAVE_SYS_PARAM_H
2143322017 # define HAVE_SYS_PARAM_H 1
2143422018 # endif
2143522019
2143622020 # ifdef _SC_PAGESIZE
2143722021 # define getpagesize() sysconf(_SC_PAGESIZE)
2143822022 # else /* no _SC_PAGESIZE */
21439 # if HAVE_SYS_PARAM_H
22023 # ifdef HAVE_SYS_PARAM_H
2144022024 # include <sys/param.h>
2144122025 # ifdef EXEC_PAGESIZE
2144222026 # define getpagesize() EXEC_PAGESIZE
2147522059 /* First, make a file with some known garbage in it. */
2147622060 data = (char *) malloc (pagesize);
2147722061 if (!data)
21478 exit (1);
22062 return 1;
2147922063 for (i = 0; i < pagesize; ++i)
2148022064 *(data + i) = rand ();
2148122065 umask (0);
2148222066 fd = creat ("conftest.mmap", 0600);
2148322067 if (fd < 0)
21484 exit (1);
22068 return 1;
2148522069 if (write (fd, data, pagesize) != pagesize)
21486 exit (1);
22070 return 1;
2148722071 close (fd);
2148822072
2148922073 /* Next, try to mmap the file at a fixed address which already has
2149122075 we see the same garbage. */
2149222076 fd = open ("conftest.mmap", O_RDWR);
2149322077 if (fd < 0)
21494 exit (1);
22078 return 1;
2149522079 data2 = (char *) malloc (2 * pagesize);
2149622080 if (!data2)
21497 exit (1);
21498 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
22081 return 1;
22082 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
2149922083 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
2150022084 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21501 exit (1);
22085 return 1;
2150222086 for (i = 0; i < pagesize; ++i)
2150322087 if (*(data + i) != *(data2 + i))
21504 exit (1);
22088 return 1;
2150522089
2150622090 /* Finally, make sure that changes to the mapped area do not
2150722091 percolate back to the file as seen by read(). (This is a bug on
2151022094 *(data2 + i) = *(data2 + i) + 1;
2151122095 data3 = (char *) malloc (pagesize);
2151222096 if (!data3)
21513 exit (1);
22097 return 1;
2151422098 if (read (fd, data3, pagesize) != pagesize)
21515 exit (1);
22099 return 1;
2151622100 for (i = 0; i < pagesize; ++i)
2151722101 if (*(data + i) != *(data3 + i))
21518 exit (1);
22102 return 1;
2151922103 close (fd);
21520 exit (0);
22104 return 0;
2152122105 }
2152222106 _ACEOF
2152322107 rm -f conftest$ac_exeext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21525 (eval $ac_link) 2>&5
22108 if { (ac_try="$ac_link"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22112 esac
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_link") 2>&5
2152622115 ac_status=$?
2152722116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152822117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
22118 { (case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_try") 2>&5
2153122124 ac_status=$?
2153222125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153322126 (exit $ac_status); }; }; then
2154022133 ( exit $ac_status )
2154122134 ac_cv_func_mmap_fixed_mapped=no
2154222135 fi
21543 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21544 fi
21545 fi
21546 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21547 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22137 fi
22138
22139
22140 fi
22141 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22142 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
2154822143 if test $ac_cv_func_mmap_fixed_mapped = yes; then
2154922144
2155022145 cat >>confdefs.h <<\_ACEOF
2155522150 rm -f conftest.mmap
2155622151
2155722152
21558 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
21559 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
21560 if test "${ac_cv_gnu_library_2_1+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 else
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569
21570 #include <features.h>
21571 #ifdef __GNU_LIBRARY__
21572 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
21573 Lucky GNU user
21574 #endif
21575 #endif
21576
21577 _ACEOF
21578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21579 $EGREP "Lucky GNU user" >/dev/null 2>&1; then
21580 ac_cv_gnu_library_2_1=yes
21581 else
21582 ac_cv_gnu_library_2_1=no
21583 fi
21584 rm -f conftest*
21585
21586
21587
21588 fi
21589 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
21590 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
21591
21592 GLIBC21="$ac_cv_gnu_library_2_1"
21593
21594
21595
21596
21597 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
21598 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
22153
22154 { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
22155 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; }
2159922156 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
2160022157 echo $ECHO_N "(cached) $ECHO_C" >&6
2160122158 else
2165622213
2165722214 _ACEOF
2165822215 rm -f conftest$ac_exeext
21659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660 (eval $ac_link) 2>&5
22216 if { (ac_try="$ac_link"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_link") 2>&5
2166122223 ac_status=$?
2166222224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166322225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
22226 { (case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_try") 2>&5
2166622232 ac_status=$?
2166722233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166822234 (exit $ac_status); }; }; then
2167522241 ( exit $ac_status )
2167622242 gt_cv_int_divbyzero_sigfpe=no
2167722243 fi
21678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21679 fi
21680
21681 fi
21682 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
21683 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
22244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22245 fi
22246
22247
22248
22249 fi
22250 { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
22251 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
2168422252 case "$gt_cv_int_divbyzero_sigfpe" in
2168522253 *yes) value=1;;
2168622254 *) value=0;;
2169222260
2169322261
2169422262
21695 echo "$as_me:$LINENO: checking for unsigned long long" >&5
21696 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
21697 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
22263 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
22264 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
22265 if test "${gl_cv_header_inttypes_h+set}" = set; then
2169822266 echo $ECHO_N "(cached) $ECHO_C" >&6
2169922267 else
2170022268 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 unsigned long long ull = 1ULL; int i = 63;
21707 int
21708 main ()
21709 {
21710 unsigned long long ullmax = (unsigned long long) -1;
21711 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
21712 ;
21713 return 0;
21714 }
21715 _ACEOF
21716 rm -f conftest.$ac_objext conftest$ac_exeext
21717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21718 (eval $ac_link) 2>conftest.er1
21719 ac_status=$?
21720 grep -v '^ *+' conftest.er1 >conftest.err
21721 rm -f conftest.er1
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; } &&
21731 { ac_try='test -s conftest$ac_exeext'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; }; then
21737 ac_cv_type_unsigned_long_long=yes
21738 else
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21741
21742 ac_cv_type_unsigned_long_long=no
21743 fi
21744 rm -f conftest.err conftest.$ac_objext \
21745 conftest$ac_exeext conftest.$ac_ext
21746 fi
21747 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
21748 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
21749 if test $ac_cv_type_unsigned_long_long = yes; then
21750
21751 cat >>confdefs.h <<\_ACEOF
21752 #define HAVE_UNSIGNED_LONG_LONG 1
21753 _ACEOF
21754
21755 fi
21756
21757
21758
21759
21760 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
21761
21762 test $ac_cv_type_unsigned_long_long = yes \
21763 && ac_type='unsigned long long' \
21764 || ac_type='unsigned long'
21765
21766 cat >>confdefs.h <<_ACEOF
21767 #define uintmax_t $ac_type
21768 _ACEOF
21769
21770 else
21771
21772 cat >>confdefs.h <<\_ACEOF
21773 #define HAVE_UINTMAX_T 1
21774 _ACEOF
21775
21776 fi
21777
21778
21779 echo "$as_me:$LINENO: checking for inttypes.h" >&5
21780 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
21781 if test "${gt_cv_header_inttypes_h+set}" = set; then
21782 echo $ECHO_N "(cached) $ECHO_C" >&6
21783 else
21784
21785 cat >conftest.$ac_ext <<_ACEOF
2178622269 /* confdefs.h. */
2178722270 _ACEOF
2178822271 cat confdefs.h >>conftest.$ac_ext
2179322276 int
2179422277 main ()
2179522278 {
21796
22279 uintmax_t i = (uintmax_t) -1; return !i;
2179722280 ;
2179822281 return 0;
2179922282 }
2180022283 _ACEOF
2180122284 rm -f conftest.$ac_objext
21802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21803 (eval $ac_compile) 2>conftest.er1
22285 if { (ac_try="$ac_compile"
22286 case "(($ac_try" in
22287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22289 esac
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_compile") 2>conftest.er1
2180422292 ac_status=$?
2180522293 grep -v '^ *+' conftest.er1 >conftest.err
2180622294 rm -f conftest.er1
2180722295 cat conftest.err >&5
2180822296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; } &&
21816 { ac_try='test -s conftest.$ac_objext'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 gt_cv_header_inttypes_h=yes
22297 (exit $ac_status); } && {
22298 test -z "$ac_c_werror_flag" ||
22299 test ! -s conftest.err
22300 } && test -s conftest.$ac_objext; then
22301 gl_cv_header_inttypes_h=yes
2182322302 else
2182422303 echo "$as_me: failed program was:" >&5
2182522304 sed 's/^/| /' conftest.$ac_ext >&5
2182622305
21827 gt_cv_header_inttypes_h=no
21828 fi
21829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21830
21831 fi
21832 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
21833 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
21834 if test $gt_cv_header_inttypes_h = yes; then
22306 gl_cv_header_inttypes_h=no
22307 fi
22308
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310 fi
22311 { echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
22312 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6; }
22313 if test $gl_cv_header_inttypes_h = yes; then
2183522314
2183622315 cat >>confdefs.h <<_ACEOF
21837 #define HAVE_INTTYPES_H 1
22316 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
2183822317 _ACEOF
2183922318
2184022319 fi
2184122320
2184222321
21843
21844 if test $gt_cv_header_inttypes_h = yes; then
21845 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
21846 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
21847 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
22322 { echo "$as_me:$LINENO: checking for unsigned long long int" >&5
22323 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
22324 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
2184822325 echo $ECHO_N "(cached) $ECHO_C" >&6
2184922326 else
21850
21851 cat >conftest.$ac_ext <<_ACEOF
22327 cat >conftest.$ac_ext <<_ACEOF
2185222328 /* confdefs.h. */
2185322329 _ACEOF
2185422330 cat confdefs.h >>conftest.$ac_ext
2185522331 cat >>conftest.$ac_ext <<_ACEOF
2185622332 /* end confdefs.h. */
21857 #include <inttypes.h>
21858 #ifdef PRId32
21859 char *p = PRId32;
21860 #endif
21861
22333 unsigned long long int ull = 18446744073709551615ULL;
22334 typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
22335 ? 1 : -1)];
22336 int i = 63;
2186222337 int
2186322338 main ()
2186422339 {
21865
22340 unsigned long long int ullmax = 18446744073709551615ull;
22341 return (ull << 63 | ull >> 63 | ull << i | ull >> i
22342 | ullmax / ull | ullmax % ull);
2186622343 ;
2186722344 return 0;
2186822345 }
2186922346 _ACEOF
21870 rm -f conftest.$ac_objext
21871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21872 (eval $ac_compile) 2>conftest.er1
22347 rm -f conftest.$ac_objext conftest$ac_exeext
22348 if { (ac_try="$ac_link"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22352 esac
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_link") 2>conftest.er1
2187322355 ac_status=$?
2187422356 grep -v '^ *+' conftest.er1 >conftest.err
2187522357 rm -f conftest.er1
2187622358 cat conftest.err >&5
2187722359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } &&
21879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try='test -s conftest.$ac_objext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 gt_cv_inttypes_pri_broken=no
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest$ac_exeext &&
22364 $as_test_x conftest$ac_exeext; then
22365 ac_cv_type_unsigned_long_long_int=yes
2189222366 else
2189322367 echo "$as_me: failed program was:" >&5
2189422368 sed 's/^/| /' conftest.$ac_ext >&5
2189522369
21896 gt_cv_inttypes_pri_broken=yes
21897 fi
21898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21899
21900 fi
21901 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
21902 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
22370 ac_cv_type_unsigned_long_long_int=no
22371 fi
22372
22373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22374 conftest$ac_exeext conftest.$ac_ext
22375 fi
22376 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
22377 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
22378 if test $ac_cv_type_unsigned_long_long_int = yes; then
22379
22380 cat >>confdefs.h <<\_ACEOF
22381 #define HAVE_UNSIGNED_LONG_LONG_INT 1
22382 _ACEOF
22383
2190322384 fi
21904 if test "$gt_cv_inttypes_pri_broken" = yes; then
22385
22386
22387
22388 ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
22389 if test $ac_cv_type_unsigned_long_long = yes; then
22390
22391 cat >>confdefs.h <<\_ACEOF
22392 #define HAVE_UNSIGNED_LONG_LONG 1
22393 _ACEOF
22394
22395 fi
22396
22397
22398
22399
22400 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
22401
22402 test $ac_cv_type_unsigned_long_long = yes \
22403 && ac_type='unsigned long long' \
22404 || ac_type='unsigned long'
2190522405
2190622406 cat >>confdefs.h <<_ACEOF
21907 #define PRI_MACROS_BROKEN 1
22407 #define uintmax_t $ac_type
22408 _ACEOF
22409
22410 else
22411
22412 cat >>confdefs.h <<\_ACEOF
22413 #define HAVE_UINTMAX_T 1
2190822414 _ACEOF
2190922415
2191022416 fi
2191122417
2191222418
2191322419
21914 for ac_header in stdint.h
22420 for ac_header in inttypes.h
2191522421 do
2191622422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21918 echo "$as_me:$LINENO: checking for $ac_header" >&5
21919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2192122427 echo $ECHO_N "(cached) $ECHO_C" >&6
2192222428 fi
21923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22429 ac_res=`eval echo '${'$as_ac_Header'}'`
22430 { echo "$as_me:$LINENO: result: $ac_res" >&5
22431 echo "${ECHO_T}$ac_res" >&6; }
2192522432 else
2192622433 # Is the header compilable?
21927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22434 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
2192922436 cat >conftest.$ac_ext <<_ACEOF
2193022437 /* confdefs.h. */
2193122438 _ACEOF
2193622443 #include <$ac_header>
2193722444 _ACEOF
2193822445 rm -f conftest.$ac_objext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21940 (eval $ac_compile) 2>conftest.er1
22446 if { (ac_try="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22450 esac
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
2194122453 ac_status=$?
2194222454 grep -v '^ *+' conftest.er1 >conftest.err
2194322455 rm -f conftest.er1
2194422456 cat conftest.err >&5
2194522457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
22458 (exit $ac_status); } && {
22459 test -z "$ac_c_werror_flag" ||
22460 test ! -s conftest.err
22461 } && test -s conftest.$ac_objext; then
2195922462 ac_header_compiler=yes
2196022463 else
2196122464 echo "$as_me: failed program was:" >&5
2196222465 sed 's/^/| /' conftest.$ac_ext >&5
2196322466
21964 ac_header_compiler=no
21965 fi
21966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21968 echo "${ECHO_T}$ac_header_compiler" >&6
22467 ac_header_compiler=no
22468 fi
22469
22470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22472 echo "${ECHO_T}$ac_header_compiler" >&6; }
2196922473
2197022474 # Is the header present?
21971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22475 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
2197322477 cat >conftest.$ac_ext <<_ACEOF
2197422478 /* confdefs.h. */
2197522479 _ACEOF
2197822482 /* end confdefs.h. */
2197922483 #include <$ac_header>
2198022484 _ACEOF
21981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22485 if { (ac_try="$ac_cpp conftest.$ac_ext"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2198322492 ac_status=$?
2198422493 grep -v '^ *+' conftest.er1 >conftest.err
2198522494 rm -f conftest.er1
2198622495 cat conftest.err >&5
2198722496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } >/dev/null; then
21989 if test -s conftest.err; then
21990 ac_cpp_err=$ac_c_preproc_warn_flag
21991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21992 else
21993 ac_cpp_err=
21994 fi
21995 else
21996 ac_cpp_err=yes
21997 fi
21998 if test -z "$ac_cpp_err"; then
22497 (exit $ac_status); } >/dev/null && {
22498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 }; then
2199922501 ac_header_preproc=yes
2200022502 else
2200122503 echo "$as_me: failed program was:" >&5
2200322505
2200422506 ac_header_preproc=no
2200522507 fi
22508
2200622509 rm -f conftest.err conftest.$ac_ext
22007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22008 echo "${ECHO_T}$ac_header_preproc" >&6
22510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22511 echo "${ECHO_T}$ac_header_preproc" >&6; }
2200922512
2201022513 # So? What about this header?
2201122514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2202922532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2203022533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2203122534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22032 (
22033 cat <<\_ASBOX
22034 ## ------------------------------------------ ##
22035 ## Report this to the AC_PACKAGE_NAME lists. ##
22036 ## ------------------------------------------ ##
22037 _ASBOX
22038 ) |
22039 sed "s/^/$as_me: WARNING: /" >&2
22535
2204022536 ;;
2204122537 esac
22042 echo "$as_me:$LINENO: checking for $ac_header" >&5
22043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2204522541 echo $ECHO_N "(cached) $ECHO_C" >&6
2204622542 else
2204722543 eval "$as_ac_Header=\$ac_header_preproc"
2204822544 fi
22049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22545 ac_res=`eval echo '${'$as_ac_Header'}'`
22546 { echo "$as_me:$LINENO: result: $ac_res" >&5
22547 echo "${ECHO_T}$ac_res" >&6; }
2205122548
2205222549 fi
2205322550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2205922556
2206022557 done
2206122558
22062 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
22063 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
22064 result=
22065 cat >conftest.$ac_ext <<_ACEOF
22559 if test $ac_cv_header_inttypes_h = yes; then
22560 { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
22561 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; }
22562 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
22563 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 else
22565
22566 cat >conftest.$ac_ext <<_ACEOF
2206622567 /* confdefs.h. */
2206722568 _ACEOF
2206822569 cat confdefs.h >>conftest.$ac_ext
2206922570 cat >>conftest.$ac_ext <<_ACEOF
2207022571 /* end confdefs.h. */
22071
22072 #include <limits.h>
22073 #if HAVE_STDINT_H
22074 #include <stdint.h>
22572 #include <inttypes.h>
22573 #ifdef PRId32
22574 char *p = PRId32;
2207522575 #endif
22076 #ifdef SIZE_MAX
22077 Found it
22078 #endif
22079
22080 _ACEOF
22081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22082 $EGREP "Found it" >/dev/null 2>&1; then
22083 result=yes
22084 fi
22085 rm -f conftest*
22086
22087 if test -z "$result"; then
22088 if test "$cross_compiling" = yes; then
22089 # Depending upon the size, compute the lo and hi bounds.
22090 cat >conftest.$ac_ext <<_ACEOF
22091 /* confdefs.h. */
22092 _ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 #include <stddef.h>
22576
2209722577 int
2209822578 main ()
2209922579 {
22100 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
22101 test_array [0] = 0
2210222580
2210322581 ;
2210422582 return 0;
2210522583 }
2210622584 _ACEOF
2210722585 rm -f conftest.$ac_objext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22109 (eval $ac_compile) 2>conftest.er1
22586 if { (ac_try="$ac_compile"
22587 case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22590 esac
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_compile") 2>conftest.er1
2211022593 ac_status=$?
2211122594 grep -v '^ *+' conftest.er1 >conftest.err
2211222595 rm -f conftest.er1
2211322596 cat conftest.err >&5
2211422597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22119 ac_status=$?
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; } &&
22122 { ac_try='test -s conftest.$ac_objext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_lo=0 ac_mid=0
22129 while :; do
22130 cat >conftest.$ac_ext <<_ACEOF
22131 /* confdefs.h. */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 #include <stddef.h>
22137 int
22138 main ()
22139 {
22140 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
22141 test_array [0] = 0
22142
22143 ;
22144 return 0;
22145 }
22146 _ACEOF
22147 rm -f conftest.$ac_objext
22148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22149 (eval $ac_compile) 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } &&
22156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22159 ac_status=$?
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; } &&
22162 { ac_try='test -s conftest.$ac_objext'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; }; then
22168 ac_hi=$ac_mid; break
22598 (exit $ac_status); } && {
22599 test -z "$ac_c_werror_flag" ||
22600 test ! -s conftest.err
22601 } && test -s conftest.$ac_objext; then
22602 gt_cv_inttypes_pri_broken=no
2216922603 else
2217022604 echo "$as_me: failed program was:" >&5
2217122605 sed 's/^/| /' conftest.$ac_ext >&5
2217222606
22173 ac_lo=`expr $ac_mid + 1`
22174 if test $ac_lo -le $ac_mid; then
22175 ac_lo= ac_hi=
22176 break
22177 fi
22178 ac_mid=`expr 2 '*' $ac_mid + 1`
22179 fi
22180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22181 done
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 cat >conftest.$ac_ext <<_ACEOF
22187 /* confdefs.h. */
22188 _ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 #include <stddef.h>
22193 int
22194 main ()
22195 {
22196 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
22197 test_array [0] = 0
22198
22199 ;
22200 return 0;
22201 }
22202 _ACEOF
22203 rm -f conftest.$ac_objext
22204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22205 (eval $ac_compile) 2>conftest.er1
22206 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } &&
22212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; } &&
22218 { ac_try='test -s conftest.$ac_objext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22221 ac_status=$?
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22224 ac_hi=-1 ac_mid=-1
22225 while :; do
22226 cat >conftest.$ac_ext <<_ACEOF
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 #include <stddef.h>
22233 int
22234 main ()
22235 {
22236 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
22237 test_array [0] = 0
22238
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22245 (eval $ac_compile) 2>conftest.er1
22246 ac_status=$?
22247 grep -v '^ *+' conftest.er1 >conftest.err
22248 rm -f conftest.er1
22249 cat conftest.err >&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22255 ac_status=$?
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; } &&
22258 { ac_try='test -s conftest.$ac_objext'
22259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22260 (eval $ac_try) 2>&5
22261 ac_status=$?
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); }; }; then
22264 ac_lo=$ac_mid; break
22265 else
22266 echo "$as_me: failed program was:" >&5
22267 sed 's/^/| /' conftest.$ac_ext >&5
22268
22269 ac_hi=`expr '(' $ac_mid ')' - 1`
22270 if test $ac_mid -le $ac_hi; then
22271 ac_lo= ac_hi=
22272 break
22273 fi
22274 ac_mid=`expr 2 '*' $ac_mid`
22275 fi
22276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22277 done
22278 else
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22281
22282 ac_lo= ac_hi=
22283 fi
22284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22285 fi
22286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22287 # Binary search between lo and hi bounds.
22288 while test "x$ac_lo" != "x$ac_hi"; do
22289 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22290 cat >conftest.$ac_ext <<_ACEOF
22291 /* confdefs.h. */
22292 _ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 #include <stddef.h>
22297 int
22298 main ()
22299 {
22300 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
22301 test_array [0] = 0
22302
22303 ;
22304 return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22309 (eval $ac_compile) 2>conftest.er1
22310 ac_status=$?
22311 grep -v '^ *+' conftest.er1 >conftest.err
22312 rm -f conftest.er1
22313 cat conftest.err >&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22319 ac_status=$?
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; } &&
22322 { ac_try='test -s conftest.$ac_objext'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22325 ac_status=$?
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 ac_hi=$ac_mid
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ac_lo=`expr '(' $ac_mid ')' + 1`
22334 fi
22335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22336 done
22337 case $ac_lo in
22338 ?*) res_hi=$ac_lo;;
22339 '') result=? ;;
22340 esac
22341 else
22342 if test "$cross_compiling" = yes; then
22343 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22344 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22345 { (exit 1); exit 1; }; }
22346 else
22347 cat >conftest.$ac_ext <<_ACEOF
22348 /* confdefs.h. */
22349 _ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 #include <stddef.h>
22354 long longval () { return ~(size_t)0 / 10; }
22355 unsigned long ulongval () { return ~(size_t)0 / 10; }
22356 #include <stdio.h>
22357 #include <stdlib.h>
22358 int
22359 main ()
22360 {
22361
22362 FILE *f = fopen ("conftest.val", "w");
22363 if (! f)
22364 exit (1);
22365 if ((~(size_t)0 / 10) < 0)
22366 {
22367 long i = longval ();
22368 if (i != (~(size_t)0 / 10))
22369 exit (1);
22370 fprintf (f, "%ld\n", i);
22371 }
22607 gt_cv_inttypes_pri_broken=yes
22608 fi
22609
22610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22611
22612 fi
22613 { echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
22614 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
22615 fi
22616 if test "$gt_cv_inttypes_pri_broken" = yes; then
22617
22618 cat >>confdefs.h <<_ACEOF
22619 #define PRI_MACROS_BROKEN 1
22620 _ACEOF
22621
22622 PRI_MACROS_BROKEN=1
2237222623 else
22373 {
22374 unsigned long i = ulongval ();
22375 if (i != (~(size_t)0 / 10))
22376 exit (1);
22377 fprintf (f, "%lu\n", i);
22378 }
22379 exit (ferror (f) || fclose (f) != 0);
22380
22381 ;
22382 return 0;
22383 }
22384 _ACEOF
22385 rm -f conftest$ac_exeext
22386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22387 (eval $ac_link) 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; }; then
22396 res_hi=`cat conftest.val`
22397 else
22398 echo "$as_me: program exited with status $ac_status" >&5
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22401
22402 ( exit $ac_status )
22403 result=?
22404 fi
22405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22406 fi
22407 fi
22408 rm -f conftest.val
22409 if test "$cross_compiling" = yes; then
22410 # Depending upon the size, compute the lo and hi bounds.
22411 cat >conftest.$ac_ext <<_ACEOF
22412 /* confdefs.h. */
22413 _ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 #include <stddef.h>
22418 int
22419 main ()
22420 {
22421 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
22422 test_array [0] = 0
22423
22424 ;
22425 return 0;
22426 }
22427 _ACEOF
22428 rm -f conftest.$ac_objext
22429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22430 (eval $ac_compile) 2>conftest.er1
22431 ac_status=$?
22432 grep -v '^ *+' conftest.er1 >conftest.err
22433 rm -f conftest.er1
22434 cat conftest.err >&5
22435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22436 (exit $ac_status); } &&
22437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; } &&
22443 { ac_try='test -s conftest.$ac_objext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22446 ac_status=$?
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22449 ac_lo=0 ac_mid=0
22450 while :; do
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 #include <stddef.h>
22458 int
22459 main ()
22460 {
22461 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
22462 test_array [0] = 0
22463
22464 ;
22465 return 0;
22466 }
22467 _ACEOF
22468 rm -f conftest.$ac_objext
22469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22470 (eval $ac_compile) 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } &&
22477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22480 ac_status=$?
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; } &&
22483 { ac_try='test -s conftest.$ac_objext'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22486 ac_status=$?
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; }; then
22489 ac_hi=$ac_mid; break
22490 else
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22493
22494 ac_lo=`expr $ac_mid + 1`
22495 if test $ac_lo -le $ac_mid; then
22496 ac_lo= ac_hi=
22497 break
22498 fi
22499 ac_mid=`expr 2 '*' $ac_mid + 1`
22500 fi
22501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22502 done
22503 else
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22506
22507 cat >conftest.$ac_ext <<_ACEOF
22508 /* confdefs.h. */
22509 _ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 #include <stddef.h>
22514 int
22515 main ()
22516 {
22517 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
22518 test_array [0] = 0
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22526 (eval $ac_compile) 2>conftest.er1
22527 ac_status=$?
22528 grep -v '^ *+' conftest.er1 >conftest.err
22529 rm -f conftest.er1
22530 cat conftest.err >&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; } &&
22539 { ac_try='test -s conftest.$ac_objext'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22545 ac_hi=-1 ac_mid=-1
22546 while :; do
22547 cat >conftest.$ac_ext <<_ACEOF
22548 /* confdefs.h. */
22549 _ACEOF
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22553 #include <stddef.h>
22554 int
22555 main ()
22556 {
22557 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
22558 test_array [0] = 0
22559
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 rm -f conftest.$ac_objext
22565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22566 (eval $ac_compile) 2>conftest.er1
22567 ac_status=$?
22568 grep -v '^ *+' conftest.er1 >conftest.err
22569 rm -f conftest.er1
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } &&
22573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22575 (eval $ac_try) 2>&5
22576 ac_status=$?
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); }; } &&
22579 { ac_try='test -s conftest.$ac_objext'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 ac_lo=$ac_mid; break
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22589
22590 ac_hi=`expr '(' $ac_mid ')' - 1`
22591 if test $ac_mid -le $ac_hi; then
22592 ac_lo= ac_hi=
22593 break
22594 fi
22595 ac_mid=`expr 2 '*' $ac_mid`
22596 fi
22597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22598 done
22599 else
22600 echo "$as_me: failed program was:" >&5
22601 sed 's/^/| /' conftest.$ac_ext >&5
22602
22603 ac_lo= ac_hi=
22604 fi
22605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22606 fi
22607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22608 # Binary search between lo and hi bounds.
22609 while test "x$ac_lo" != "x$ac_hi"; do
22610 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22611 cat >conftest.$ac_ext <<_ACEOF
22612 /* confdefs.h. */
22613 _ACEOF
22614 cat confdefs.h >>conftest.$ac_ext
22615 cat >>conftest.$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22617 #include <stddef.h>
22618 int
22619 main ()
22620 {
22621 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
22622 test_array [0] = 0
22623
22624 ;
22625 return 0;
22626 }
22627 _ACEOF
22628 rm -f conftest.$ac_objext
22629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22630 (eval $ac_compile) 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } &&
22637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; } &&
22643 { ac_try='test -s conftest.$ac_objext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22646 ac_status=$?
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 ac_hi=$ac_mid
22650 else
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22653
22654 ac_lo=`expr '(' $ac_mid ')' + 1`
22655 fi
22656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22657 done
22658 case $ac_lo in
22659 ?*) res_lo=$ac_lo;;
22660 '') result=? ;;
22661 esac
22662 else
22663 if test "$cross_compiling" = yes; then
22664 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22665 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22666 { (exit 1); exit 1; }; }
22667 else
22668 cat >conftest.$ac_ext <<_ACEOF
22669 /* confdefs.h. */
22670 _ACEOF
22671 cat confdefs.h >>conftest.$ac_ext
22672 cat >>conftest.$ac_ext <<_ACEOF
22673 /* end confdefs.h. */
22674 #include <stddef.h>
22675 long longval () { return ~(size_t)0 % 10; }
22676 unsigned long ulongval () { return ~(size_t)0 % 10; }
22677 #include <stdio.h>
22678 #include <stdlib.h>
22679 int
22680 main ()
22681 {
22682
22683 FILE *f = fopen ("conftest.val", "w");
22684 if (! f)
22685 exit (1);
22686 if ((~(size_t)0 % 10) < 0)
22687 {
22688 long i = longval ();
22689 if (i != (~(size_t)0 % 10))
22690 exit (1);
22691 fprintf (f, "%ld\n", i);
22692 }
22693 else
22694 {
22695 unsigned long i = ulongval ();
22696 if (i != (~(size_t)0 % 10))
22697 exit (1);
22698 fprintf (f, "%lu\n", i);
22699 }
22700 exit (ferror (f) || fclose (f) != 0);
22701
22702 ;
22703 return 0;
22704 }
22705 _ACEOF
22706 rm -f conftest$ac_exeext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22708 (eval $ac_link) 2>&5
22709 ac_status=$?
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22714 ac_status=$?
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 res_lo=`cat conftest.val`
22718 else
22719 echo "$as_me: program exited with status $ac_status" >&5
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22722
22723 ( exit $ac_status )
22724 result=?
22725 fi
22726 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22727 fi
22728 fi
22729 rm -f conftest.val
22730 if test "$cross_compiling" = yes; then
22731 # Depending upon the size, compute the lo and hi bounds.
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 #include <stddef.h>
22739 int
22740 main ()
22741 {
22742 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
22743 test_array [0] = 0
22744
22745 ;
22746 return 0;
22747 }
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22751 (eval $ac_compile) 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try='test -s conftest.$ac_objext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22767 ac_status=$?
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22770 ac_lo=0 ac_mid=0
22771 while :; do
22772 cat >conftest.$ac_ext <<_ACEOF
22773 /* confdefs.h. */
22774 _ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 #include <stddef.h>
22779 int
22780 main ()
22781 {
22782 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
22783 test_array [0] = 0
22784
22785 ;
22786 return 0;
22787 }
22788 _ACEOF
22789 rm -f conftest.$ac_objext
22790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22791 (eval $ac_compile) 2>conftest.er1
22792 ac_status=$?
22793 grep -v '^ *+' conftest.er1 >conftest.err
22794 rm -f conftest.er1
22795 cat conftest.err >&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); } &&
22798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; } &&
22804 { ac_try='test -s conftest.$ac_objext'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_hi=$ac_mid; break
22811 else
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22814
22815 ac_lo=`expr $ac_mid + 1`
22816 if test $ac_lo -le $ac_mid; then
22817 ac_lo= ac_hi=
22818 break
22819 fi
22820 ac_mid=`expr 2 '*' $ac_mid + 1`
22821 fi
22822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22823 done
22824 else
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22827
22828 cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h. */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 #include <stddef.h>
22835 int
22836 main ()
22837 {
22838 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
22839 test_array [0] = 0
22840
22841 ;
22842 return 0;
22843 }
22844 _ACEOF
22845 rm -f conftest.$ac_objext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22847 (eval $ac_compile) 2>conftest.er1
22848 ac_status=$?
22849 grep -v '^ *+' conftest.er1 >conftest.err
22850 rm -f conftest.er1
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866 ac_hi=-1 ac_mid=-1
22867 while :; do
22868 cat >conftest.$ac_ext <<_ACEOF
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874 #include <stddef.h>
22875 int
22876 main ()
22877 {
22878 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
22879 test_array [0] = 0
22880
22881 ;
22882 return 0;
22883 }
22884 _ACEOF
22885 rm -f conftest.$ac_objext
22886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22887 (eval $ac_compile) 2>conftest.er1
22888 ac_status=$?
22889 grep -v '^ *+' conftest.er1 >conftest.err
22890 rm -f conftest.er1
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } &&
22894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22897 ac_status=$?
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; } &&
22900 { ac_try='test -s conftest.$ac_objext'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; }; then
22906 ac_lo=$ac_mid; break
22907 else
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22910
22911 ac_hi=`expr '(' $ac_mid ')' - 1`
22912 if test $ac_mid -le $ac_hi; then
22913 ac_lo= ac_hi=
22914 break
22915 fi
22916 ac_mid=`expr 2 '*' $ac_mid`
22917 fi
22918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22919 done
22920 else
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22923
22924 ac_lo= ac_hi=
22925 fi
22926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22927 fi
22928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22929 # Binary search between lo and hi bounds.
22930 while test "x$ac_lo" != "x$ac_hi"; do
22931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22932 cat >conftest.$ac_ext <<_ACEOF
22933 /* confdefs.h. */
22934 _ACEOF
22935 cat confdefs.h >>conftest.$ac_ext
22936 cat >>conftest.$ac_ext <<_ACEOF
22937 /* end confdefs.h. */
22938 #include <stddef.h>
22939 int
22940 main ()
22941 {
22942 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
22943 test_array [0] = 0
22944
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest.$ac_objext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22951 (eval $ac_compile) 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } &&
22958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22961 ac_status=$?
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; } &&
22964 { ac_try='test -s conftest.$ac_objext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22967 ac_status=$?
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_hi=$ac_mid
22971 else
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22974
22975 ac_lo=`expr '(' $ac_mid ')' + 1`
22976 fi
22977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22978 done
22979 case $ac_lo in
22980 ?*) fits_in_uint=$ac_lo;;
22981 '') result=? ;;
22982 esac
22983 else
22984 if test "$cross_compiling" = yes; then
22985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22987 { (exit 1); exit 1; }; }
22988 else
22989 cat >conftest.$ac_ext <<_ACEOF
22990 /* confdefs.h. */
22991 _ACEOF
22992 cat confdefs.h >>conftest.$ac_ext
22993 cat >>conftest.$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995 #include <stddef.h>
22996 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
22997 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
22998 #include <stdio.h>
22999 #include <stdlib.h>
23000 int
23001 main ()
23002 {
23003
23004 FILE *f = fopen ("conftest.val", "w");
23005 if (! f)
23006 exit (1);
23007 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
23008 {
23009 long i = longval ();
23010 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
23011 exit (1);
23012 fprintf (f, "%ld\n", i);
23013 }
23014 else
23015 {
23016 unsigned long i = ulongval ();
23017 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
23018 exit (1);
23019 fprintf (f, "%lu\n", i);
23020 }
23021 exit (ferror (f) || fclose (f) != 0);
23022
23023 ;
23024 return 0;
23025 }
23026 _ACEOF
23027 rm -f conftest$ac_exeext
23028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23029 (eval $ac_link) 2>&5
23030 ac_status=$?
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 fits_in_uint=`cat conftest.val`
23039 else
23040 echo "$as_me: program exited with status $ac_status" >&5
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.$ac_ext >&5
23043
23044 ( exit $ac_status )
23045 result=?
23046 fi
23047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23048 fi
23049 fi
23050 rm -f conftest.val
23051 if test "$fits_in_uint" = 1; then
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <stddef.h>
23059 extern size_t foo;
23060 extern unsigned long foo;
23061
23062 int
23063 main ()
23064 {
23065
23066 ;
23067 return 0;
23068 }
23069 _ACEOF
23070 rm -f conftest.$ac_objext
23071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23072 (eval $ac_compile) 2>conftest.er1
23073 ac_status=$?
23074 grep -v '^ *+' conftest.er1 >conftest.err
23075 rm -f conftest.er1
23076 cat conftest.err >&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try='test -s conftest.$ac_objext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 fits_in_uint=0
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 fi
23097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23098 fi
23099 if test -z "$result"; then
23100 if test "$fits_in_uint" = 1; then
23101 result="$res_hi$res_lo"U
23102 else
23103 result="$res_hi$res_lo"UL
23104 fi
23105 else
23106 result='~(size_t)0'
23107 fi
22624 PRI_MACROS_BROKEN=0
2310822625 fi
23109 echo "$as_me:$LINENO: result: $result" >&5
23110 echo "${ECHO_T}$result" >&6
23111 if test "$result" != yes; then
23112
23113 cat >>confdefs.h <<_ACEOF
23114 #define SIZE_MAX $result
23115 _ACEOF
23116
22626
22627
22628
22629
22630
22631 # Check whether --enable-threads was given.
22632 if test "${enable_threads+set}" = set; then
22633 enableval=$enable_threads; gl_use_threads=$enableval
22634 else
22635 case "$host_os" in
22636 osf*) gl_use_threads=no ;;
22637 *) gl_use_threads=yes ;;
22638 esac
22639
22640 fi
22641
22642 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
22643 # For using <pthread.h>:
22644 case "$host_os" in
22645 osf*)
22646 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
22647 # groks <pthread.h>. cc also understands the flag -pthread, but
22648 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
22649 # 2. putting a flag into CPPFLAGS that has an effect on the linker
22650 # causes the AC_TRY_LINK test below to succeed unexpectedly,
22651 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
22652 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22653 ;;
22654 esac
22655 # Some systems optimize for single-threaded programs by default, and
22656 # need special flags to disable these optimizations. For example, the
22657 # definition of 'errno' in <errno.h>.
22658 case "$host_os" in
22659 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
22660 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
22661 esac
2311722662 fi
2311822663
2311922664
23120
23121
23122
23123 for ac_header in stdint.h
23124 do
23125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23127 echo "$as_me:$LINENO: checking for $ac_header" >&5
23128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23130 echo $ECHO_N "(cached) $ECHO_C" >&6
23131 fi
23132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23134 else
23135 # Is the header compilable?
23136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23138 cat >conftest.$ac_ext <<_ACEOF
23139 /* confdefs.h. */
23140 _ACEOF
23141 cat confdefs.h >>conftest.$ac_ext
23142 cat >>conftest.$ac_ext <<_ACEOF
23143 /* end confdefs.h. */
23144 $ac_includes_default
23145 #include <$ac_header>
23146 _ACEOF
23147 rm -f conftest.$ac_objext
23148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23149 (eval $ac_compile) 2>conftest.er1
23150 ac_status=$?
23151 grep -v '^ *+' conftest.er1 >conftest.err
23152 rm -f conftest.er1
23153 cat conftest.err >&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } &&
23156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158 (eval $ac_try) 2>&5
23159 ac_status=$?
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; } &&
23162 { ac_try='test -s conftest.$ac_objext'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 ac_header_compiler=yes
23169 else
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ac_header_compiler=no
23174 fi
23175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23177 echo "${ECHO_T}$ac_header_compiler" >&6
23178
23179 # Is the header present?
23180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23182 cat >conftest.$ac_ext <<_ACEOF
23183 /* confdefs.h. */
23184 _ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 #include <$ac_header>
23189 _ACEOF
23190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23192 ac_status=$?
23193 grep -v '^ *+' conftest.er1 >conftest.err
23194 rm -f conftest.er1
23195 cat conftest.err >&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } >/dev/null; then
23198 if test -s conftest.err; then
23199 ac_cpp_err=$ac_c_preproc_warn_flag
23200 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23201 else
23202 ac_cpp_err=
23203 fi
23204 else
23205 ac_cpp_err=yes
23206 fi
23207 if test -z "$ac_cpp_err"; then
23208 ac_header_preproc=yes
23209 else
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.$ac_ext >&5
23212
23213 ac_header_preproc=no
23214 fi
23215 rm -f conftest.err conftest.$ac_ext
23216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23217 echo "${ECHO_T}$ac_header_preproc" >&6
23218
23219 # So? What about this header?
23220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23221 yes:no: )
23222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23226 ac_header_preproc=yes
23227 ;;
23228 no:yes:* )
23229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23241 (
23242 cat <<\_ASBOX
23243 ## ------------------------------------------ ##
23244 ## Report this to the AC_PACKAGE_NAME lists. ##
23245 ## ------------------------------------------ ##
23246 _ASBOX
23247 ) |
23248 sed "s/^/$as_me: WARNING: /" >&2
23249 ;;
23250 esac
23251 echo "$as_me:$LINENO: checking for $ac_header" >&5
23252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23254 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 else
23256 eval "$as_ac_Header=\$ac_header_preproc"
23257 fi
23258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23260
23261 fi
23262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23263 cat >>confdefs.h <<_ACEOF
23264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23265 _ACEOF
23266
23267 fi
23268
23269 done
23270
23271
23272
23273 echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
23274 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
23275 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23277 else
23278 gt_save_CPPFLAGS="$CPPFLAGS"
23279 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
23280 gt_save_LIBS="$LIBS"
23281 LIBS="$LIBS -framework CoreFoundation"
23282 cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288 #include <CFPreferences.h>
23289 int
23290 main ()
23291 {
23292 CFPreferencesCopyAppValue(NULL, NULL)
23293 ;
23294 return 0;
23295 }
23296 _ACEOF
23297 rm -f conftest.$ac_objext conftest$ac_exeext
23298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23299 (eval $ac_link) 2>conftest.er1
23300 ac_status=$?
23301 grep -v '^ *+' conftest.er1 >conftest.err
23302 rm -f conftest.er1
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } &&
23306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; } &&
23312 { ac_try='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 gt_cv_func_CFPreferencesCopyAppValue=yes
23319 else
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23322
23323 gt_cv_func_CFPreferencesCopyAppValue=no
23324 fi
23325 rm -f conftest.err conftest.$ac_objext \
23326 conftest$ac_exeext conftest.$ac_ext
23327 CPPFLAGS="$gt_save_CPPFLAGS"
23328 LIBS="$gt_save_LIBS"
23329 fi
23330 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
23331 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
23332 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
23333
23334 cat >>confdefs.h <<\_ACEOF
23335 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
23336 _ACEOF
23337
23338 fi
23339 echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
23340 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
23341 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
23342 echo $ECHO_N "(cached) $ECHO_C" >&6
23343 else
23344 gt_save_CPPFLAGS="$CPPFLAGS"
23345 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
23346 gt_save_LIBS="$LIBS"
23347 LIBS="$LIBS -framework CoreFoundation"
23348 cat >conftest.$ac_ext <<_ACEOF
23349 /* confdefs.h. */
23350 _ACEOF
23351 cat confdefs.h >>conftest.$ac_ext
23352 cat >>conftest.$ac_ext <<_ACEOF
23353 /* end confdefs.h. */
23354 #include <CFLocale.h>
23355 int
23356 main ()
23357 {
23358 CFLocaleCopyCurrent();
23359 ;
23360 return 0;
23361 }
23362 _ACEOF
23363 rm -f conftest.$ac_objext conftest$ac_exeext
23364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23365 (eval $ac_link) 2>conftest.er1
23366 ac_status=$?
23367 grep -v '^ *+' conftest.er1 >conftest.err
23368 rm -f conftest.er1
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } &&
23372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23375 ac_status=$?
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; } &&
23378 { ac_try='test -s conftest$ac_exeext'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23381 ac_status=$?
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 gt_cv_func_CFLocaleCopyCurrent=yes
23385 else
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23388
23389 gt_cv_func_CFLocaleCopyCurrent=no
23390 fi
23391 rm -f conftest.err conftest.$ac_objext \
23392 conftest$ac_exeext conftest.$ac_ext
23393 CPPFLAGS="$gt_save_CPPFLAGS"
23394 LIBS="$gt_save_LIBS"
23395 fi
23396 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
23397 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
23398 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
23399
23400 cat >>confdefs.h <<\_ACEOF
23401 #define HAVE_CFLOCALECOPYCURRENT 1
23402 _ACEOF
23403
23404 fi
23405 INTL_MACOSX_LIBS=
23406 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
23407 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
23408 fi
2340922665
2341022666
2341122667
2342522681 prefix="$acl_save_prefix"
2342622682
2342722683
23428 # Check whether --with-gnu-ld or --without-gnu-ld was given.
22684 # Check whether --with-gnu-ld was given.
2342922685 if test "${with_gnu_ld+set}" = set; then
23430 withval="$with_gnu_ld"
23431 test "$withval" = no || with_gnu_ld=yes
22686 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
2343222687 else
2343322688 with_gnu_ld=no
23434 fi;
22689 fi
22690
2343522691 # Prepare PATH_SEPARATOR.
2343622692 # The user is always right.
2343722693 if test "${PATH_SEPARATOR+set}" != set; then
2344822704 ac_prog=ld
2344922705 if test "$GCC" = yes; then
2345022706 # Check if gcc -print-prog-name=ld gives a path.
23451 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
23452 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
22707 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
22708 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
2345322709 case $host in
2345422710 *-*-mingw*)
2345522711 # gcc leaves a trailing carriage return which upsets mingw
2347822734 ;;
2347922735 esac
2348022736 elif test "$with_gnu_ld" = yes; then
23481 echo "$as_me:$LINENO: checking for GNU ld" >&5
23482 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23483 else
23484 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23485 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
22737 { echo "$as_me:$LINENO: checking for GNU ld" >&5
22738 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
22739 else
22740 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
22741 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
2348622742 fi
2348722743 if test "${acl_cv_path_LD+set}" = set; then
2348822744 echo $ECHO_N "(cached) $ECHO_C" >&6
2351222768
2351322769 LD="$acl_cv_path_LD"
2351422770 if test -n "$LD"; then
23515 echo "$as_me:$LINENO: result: $LD" >&5
23516 echo "${ECHO_T}$LD" >&6
23517 else
23518 echo "$as_me:$LINENO: result: no" >&5
23519 echo "${ECHO_T}no" >&6
22771 { echo "$as_me:$LINENO: result: $LD" >&5
22772 echo "${ECHO_T}$LD" >&6; }
22773 else
22774 { echo "$as_me:$LINENO: result: no" >&5
22775 echo "${ECHO_T}no" >&6; }
2352022776 fi
2352122777 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2352222778 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2352322779 { (exit 1); exit 1; }; }
23524 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23525 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
22780 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22781 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
2352622782 if test "${acl_cv_prog_gnu_ld+set}" = set; then
2352722783 echo $ECHO_N "(cached) $ECHO_C" >&6
2352822784 else
2353422790 acl_cv_prog_gnu_ld=no ;;
2353522791 esac
2353622792 fi
23537 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
23538 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
22793 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
22794 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
2353922795 with_gnu_ld=$acl_cv_prog_gnu_ld
2354022796
2354122797
2354222798
2354322799
23544 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
23545 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
22800 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
22801 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
2354622802 if test "${acl_cv_rpath+set}" = set; then
2354722803 echo $ECHO_N "(cached) $ECHO_C" >&6
2354822804 else
2355422810 acl_cv_rpath=done
2355522811
2355622812 fi
23557 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
23558 echo "${ECHO_T}$acl_cv_rpath" >&6
22813 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
22814 echo "${ECHO_T}$acl_cv_rpath" >&6; }
2355922815 wl="$acl_cv_wl"
2356022816 libext="$acl_cv_libext"
2356122817 shlibext="$acl_cv_shlibext"
2356322819 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
2356422820 hardcode_direct="$acl_cv_hardcode_direct"
2356522821 hardcode_minus_L="$acl_cv_hardcode_minus_L"
23566 # Check whether --enable-rpath or --disable-rpath was given.
22822 # Check whether --enable-rpath was given.
2356722823 if test "${enable_rpath+set}" = set; then
23568 enableval="$enable_rpath"
23569 :
22824 enableval=$enable_rpath; :
2357022825 else
2357122826 enable_rpath=yes
23572 fi;
23573
23574
23575
22827 fi
22828
22829
22830
22831 acl_libdirstem=lib
22832 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
22833 if test -n "$searchpath"; then
22834 acl_save_IFS="${IFS= }"; IFS=":"
22835 for searchdir in $searchpath; do
22836 if test -d "$searchdir"; then
22837 case "$searchdir" in
22838 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
22839 *) searchdir=`cd "$searchdir" && pwd`
22840 case "$searchdir" in
22841 */lib64 ) acl_libdirstem=lib64 ;;
22842 esac ;;
22843 esac
22844 fi
22845 done
22846 IFS="$acl_save_IFS"
22847 fi
22848
22849
22850
22851 gl_threads_api=none
22852 LIBTHREAD=
22853 LTLIBTHREAD=
22854 LIBMULTITHREAD=
22855 LTLIBMULTITHREAD=
22856 if test "$gl_use_threads" != no; then
22857 { echo "$as_me:$LINENO: checking whether imported symbols can be declared weak" >&5
22858 echo $ECHO_N "checking whether imported symbols can be declared weak... $ECHO_C" >&6; }
22859 gl_have_weak=no
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 extern void xyzzy ();
22867 #pragma weak xyzzy
22868 int
22869 main ()
22870 {
22871 xyzzy();
22872 ;
22873 return 0;
22874 }
22875 _ACEOF
22876 rm -f conftest.$ac_objext conftest$ac_exeext
22877 if { (ac_try="$ac_link"
22878 case "(($ac_try" in
22879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22880 *) ac_try_echo=$ac_try;;
22881 esac
22882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22883 (eval "$ac_link") 2>conftest.er1
22884 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } && {
22890 test -z "$ac_c_werror_flag" ||
22891 test ! -s conftest.err
22892 } && test -s conftest$ac_exeext &&
22893 $as_test_x conftest$ac_exeext; then
22894 gl_have_weak=yes
22895 else
22896 echo "$as_me: failed program was:" >&5
22897 sed 's/^/| /' conftest.$ac_ext >&5
22898
22899
22900 fi
22901
22902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22903 conftest$ac_exeext conftest.$ac_ext
22904 { echo "$as_me:$LINENO: result: $gl_have_weak" >&5
22905 echo "${ECHO_T}$gl_have_weak" >&6; }
22906 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
22907 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
22908 # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
22909 if test "${ac_cv_header_pthread_h+set}" = set; then
22910 { echo "$as_me:$LINENO: checking for pthread.h" >&5
22911 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
22912 if test "${ac_cv_header_pthread_h+set}" = set; then
22913 echo $ECHO_N "(cached) $ECHO_C" >&6
22914 fi
22915 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
22916 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
22917 else
22918 # Is the header compilable?
22919 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
22920 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
22921 cat >conftest.$ac_ext <<_ACEOF
22922 /* confdefs.h. */
22923 _ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927 $ac_includes_default
22928 #include <pthread.h>
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 ac_header_compiler=yes
22948 else
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22951
22952 ac_header_compiler=no
22953 fi
22954
22955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22957 echo "${ECHO_T}$ac_header_compiler" >&6; }
22958
22959 # Is the header present?
22960 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
22961 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 #include <pthread.h>
22969 _ACEOF
22970 if { (ac_try="$ac_cpp conftest.$ac_ext"
22971 case "(($ac_try" in
22972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22973 *) ac_try_echo=$ac_try;;
22974 esac
22975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } >/dev/null && {
22983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22984 test ! -s conftest.err
22985 }; then
22986 ac_header_preproc=yes
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_header_preproc=no
22992 fi
22993
22994 rm -f conftest.err conftest.$ac_ext
22995 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22996 echo "${ECHO_T}$ac_header_preproc" >&6; }
22997
22998 # So? What about this header?
22999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23000 yes:no: )
23001 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
23002 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23003 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
23004 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
23005 ac_header_preproc=yes
23006 ;;
23007 no:yes:* )
23008 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
23009 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
23011 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
23012 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
23013 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
23014 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
23015 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
23016 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
23017 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
23019 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
23020
23021 ;;
23022 esac
23023 { echo "$as_me:$LINENO: checking for pthread.h" >&5
23024 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
23025 if test "${ac_cv_header_pthread_h+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 else
23028 ac_cv_header_pthread_h=$ac_header_preproc
23029 fi
23030 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
23031 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
23032
23033 fi
23034 if test $ac_cv_header_pthread_h = yes; then
23035 gl_have_pthread_h=yes
23036 else
23037 gl_have_pthread_h=no
23038 fi
23039
23040
23041 if test "$gl_have_pthread_h" = yes; then
23042 # Other possible tests:
23043 # -lpthreads (FSU threads, PCthreads)
23044 # -lgthreads
23045 gl_have_pthread=
23046 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
23047 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
23048 # the second one only in libpthread, and lock.c needs it.
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #include <pthread.h>
23056 int
23057 main ()
23058 {
23059 pthread_mutex_lock((pthread_mutex_t*)0);
23060 pthread_mutexattr_init((pthread_mutexattr_t*)0);
23061 ;
23062 return 0;
23063 }
23064 _ACEOF
23065 rm -f conftest.$ac_objext conftest$ac_exeext
23066 if { (ac_try="$ac_link"
23067 case "(($ac_try" in
23068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23069 *) ac_try_echo=$ac_try;;
23070 esac
23071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23072 (eval "$ac_link") 2>conftest.er1
23073 ac_status=$?
23074 grep -v '^ *+' conftest.er1 >conftest.err
23075 rm -f conftest.er1
23076 cat conftest.err >&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } && {
23079 test -z "$ac_c_werror_flag" ||
23080 test ! -s conftest.err
23081 } && test -s conftest$ac_exeext &&
23082 $as_test_x conftest$ac_exeext; then
23083 gl_have_pthread=yes
23084 else
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23087
23088
23089 fi
23090
23091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23092 conftest$ac_exeext conftest.$ac_ext
23093 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
23094 # since it is defined as a macro on OSF/1.)
23095 if test -n "$gl_have_pthread"; then
23096 # The program links fine without libpthread. But it may actually
23097 # need to link with libpthread in order to create multiple threads.
23098 { echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
23099 echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; }
23100 if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 ac_check_lib_save_LIBS=$LIBS
23104 LIBS="-lpthread $LIBS"
23105 cat >conftest.$ac_ext <<_ACEOF
23106 /* confdefs.h. */
23107 _ACEOF
23108 cat confdefs.h >>conftest.$ac_ext
23109 cat >>conftest.$ac_ext <<_ACEOF
23110 /* end confdefs.h. */
23111
23112 /* Override any GCC internal prototype to avoid an error.
23113 Use char because int might match the return type of a GCC
23114 builtin and then its argument prototype would still apply. */
23115 #ifdef __cplusplus
23116 extern "C"
23117 #endif
23118 char pthread_kill ();
23119 int
23120 main ()
23121 {
23122 return pthread_kill ();
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext conftest$ac_exeext
23128 if { (ac_try="$ac_link"
23129 case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23132 esac
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_link") 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest$ac_exeext &&
23144 $as_test_x conftest$ac_exeext; then
23145 ac_cv_lib_pthread_pthread_kill=yes
23146 else
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.$ac_ext >&5
23149
23150 ac_cv_lib_pthread_pthread_kill=no
23151 fi
23152
23153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23154 conftest$ac_exeext conftest.$ac_ext
23155 LIBS=$ac_check_lib_save_LIBS
23156 fi
23157 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
23158 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; }
23159 if test $ac_cv_lib_pthread_pthread_kill = yes; then
23160 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
23161 # On Solaris and HP-UX, most pthread functions exist also in libc.
23162 # Therefore pthread_in_use() needs to actually try to create a
23163 # thread: pthread_create from libc will fail, whereas
23164 # pthread_create will actually create a thread.
23165 case "$host_os" in
23166 solaris* | hpux*)
23167
23168 cat >>confdefs.h <<\_ACEOF
23169 #define PTHREAD_IN_USE_DETECTION_HARD 1
23170 _ACEOF
23171
23172 esac
23173
23174 fi
23175
23176 else
23177 # Some library is needed. Try libpthread and libc_r.
23178 { echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
23179 echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; }
23180 if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
23181 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 else
23183 ac_check_lib_save_LIBS=$LIBS
23184 LIBS="-lpthread $LIBS"
23185 cat >conftest.$ac_ext <<_ACEOF
23186 /* confdefs.h. */
23187 _ACEOF
23188 cat confdefs.h >>conftest.$ac_ext
23189 cat >>conftest.$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23191
23192 /* Override any GCC internal prototype to avoid an error.
23193 Use char because int might match the return type of a GCC
23194 builtin and then its argument prototype would still apply. */
23195 #ifdef __cplusplus
23196 extern "C"
23197 #endif
23198 char pthread_kill ();
23199 int
23200 main ()
23201 {
23202 return pthread_kill ();
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 rm -f conftest.$ac_objext conftest$ac_exeext
23208 if { (ac_try="$ac_link"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_link") 2>conftest.er1
23215 ac_status=$?
23216 grep -v '^ *+' conftest.er1 >conftest.err
23217 rm -f conftest.er1
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && {
23221 test -z "$ac_c_werror_flag" ||
23222 test ! -s conftest.err
23223 } && test -s conftest$ac_exeext &&
23224 $as_test_x conftest$ac_exeext; then
23225 ac_cv_lib_pthread_pthread_kill=yes
23226 else
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 ac_cv_lib_pthread_pthread_kill=no
23231 fi
23232
23233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23234 conftest$ac_exeext conftest.$ac_ext
23235 LIBS=$ac_check_lib_save_LIBS
23236 fi
23237 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
23238 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; }
23239 if test $ac_cv_lib_pthread_pthread_kill = yes; then
23240 gl_have_pthread=yes
23241 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
23242 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
23243 fi
23244
23245 if test -z "$gl_have_pthread"; then
23246 # For FreeBSD 4.
23247 { echo "$as_me:$LINENO: checking for pthread_kill in -lc_r" >&5
23248 echo $ECHO_N "checking for pthread_kill in -lc_r... $ECHO_C" >&6; }
23249 if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23252 ac_check_lib_save_LIBS=$LIBS
23253 LIBS="-lc_r $LIBS"
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260
23261 /* Override any GCC internal prototype to avoid an error.
23262 Use char because int might match the return type of a GCC
23263 builtin and then its argument prototype would still apply. */
23264 #ifdef __cplusplus
23265 extern "C"
23266 #endif
23267 char pthread_kill ();
23268 int
23269 main ()
23270 {
23271 return pthread_kill ();
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext conftest$ac_exeext
23277 if { (ac_try="$ac_link"
23278 case "(($ac_try" in
23279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23280 *) ac_try_echo=$ac_try;;
23281 esac
23282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23283 (eval "$ac_link") 2>conftest.er1
23284 ac_status=$?
23285 grep -v '^ *+' conftest.er1 >conftest.err
23286 rm -f conftest.er1
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } && {
23290 test -z "$ac_c_werror_flag" ||
23291 test ! -s conftest.err
23292 } && test -s conftest$ac_exeext &&
23293 $as_test_x conftest$ac_exeext; then
23294 ac_cv_lib_c_r_pthread_kill=yes
23295 else
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.$ac_ext >&5
23298
23299 ac_cv_lib_c_r_pthread_kill=no
23300 fi
23301
23302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23303 conftest$ac_exeext conftest.$ac_ext
23304 LIBS=$ac_check_lib_save_LIBS
23305 fi
23306 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_kill" >&5
23307 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_kill" >&6; }
23308 if test $ac_cv_lib_c_r_pthread_kill = yes; then
23309 gl_have_pthread=yes
23310 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
23311 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
23312 fi
23313
23314 fi
23315 fi
23316 if test -n "$gl_have_pthread"; then
23317 gl_threads_api=posix
23318
23319 cat >>confdefs.h <<\_ACEOF
23320 #define USE_POSIX_THREADS 1
23321 _ACEOF
23322
23323 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
23324 if test $gl_have_weak = yes; then
23325
23326 cat >>confdefs.h <<\_ACEOF
23327 #define USE_POSIX_THREADS_WEAK 1
23328 _ACEOF
23329
23330 LIBTHREAD=
23331 LTLIBTHREAD=
23332 fi
23333 fi
23334 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
23335 # pthread_rwlock_* functions.
23336 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
23337 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
23338 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 else
23341 cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h. */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347 #include <pthread.h>
23348
23349 typedef pthread_rwlock_t ac__type_new_;
23350 int
23351 main ()
23352 {
23353 if ((ac__type_new_ *) 0)
23354 return 0;
23355 if (sizeof (ac__type_new_))
23356 return 0;
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 rm -f conftest.$ac_objext
23362 if { (ac_try="$ac_compile"
23363 case "(($ac_try" in
23364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23365 *) ac_try_echo=$ac_try;;
23366 esac
23367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 (eval "$ac_compile") 2>conftest.er1
23369 ac_status=$?
23370 grep -v '^ *+' conftest.er1 >conftest.err
23371 rm -f conftest.er1
23372 cat conftest.err >&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); } && {
23375 test -z "$ac_c_werror_flag" ||
23376 test ! -s conftest.err
23377 } && test -s conftest.$ac_objext; then
23378 ac_cv_type_pthread_rwlock_t=yes
23379 else
23380 echo "$as_me: failed program was:" >&5
23381 sed 's/^/| /' conftest.$ac_ext >&5
23382
23383 ac_cv_type_pthread_rwlock_t=no
23384 fi
23385
23386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23387 fi
23388 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
23389 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
23390 if test $ac_cv_type_pthread_rwlock_t = yes; then
23391
23392 cat >>confdefs.h <<\_ACEOF
23393 #define HAVE_PTHREAD_RWLOCK 1
23394 _ACEOF
23395
23396 fi
23397
23398 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
23399 cat >conftest.$ac_ext <<_ACEOF
23400 /* confdefs.h. */
23401 _ACEOF
23402 cat confdefs.h >>conftest.$ac_ext
23403 cat >>conftest.$ac_ext <<_ACEOF
23404 /* end confdefs.h. */
23405 #include <pthread.h>
23406 int
23407 main ()
23408 {
23409 #if __FreeBSD__ == 4
23410 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
23411 #else
23412 int x = (int)PTHREAD_MUTEX_RECURSIVE;
23413 return !x;
23414 #endif
23415 ;
23416 return 0;
23417 }
23418 _ACEOF
23419 rm -f conftest.$ac_objext
23420 if { (ac_try="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23424 esac
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } && {
23433 test -z "$ac_c_werror_flag" ||
23434 test ! -s conftest.err
23435 } && test -s conftest.$ac_objext; then
23436
23437 cat >>confdefs.h <<\_ACEOF
23438 #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
23439 _ACEOF
23440
23441 else
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.$ac_ext >&5
23444
23445
23446 fi
23447
23448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 fi
23450 fi
23451 fi
23452 if test -z "$gl_have_pthread"; then
23453 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
23454 gl_have_solaristhread=
23455 gl_save_LIBS="$LIBS"
23456 LIBS="$LIBS -lthread"
23457 cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h. */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463 #include <thread.h>
23464 #include <synch.h>
23465 int
23466 main ()
23467 {
23468 thr_self();
23469 ;
23470 return 0;
23471 }
23472 _ACEOF
23473 rm -f conftest.$ac_objext conftest$ac_exeext
23474 if { (ac_try="$ac_link"
23475 case "(($ac_try" in
23476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23477 *) ac_try_echo=$ac_try;;
23478 esac
23479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23480 (eval "$ac_link") 2>conftest.er1
23481 ac_status=$?
23482 grep -v '^ *+' conftest.er1 >conftest.err
23483 rm -f conftest.er1
23484 cat conftest.err >&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } && {
23487 test -z "$ac_c_werror_flag" ||
23488 test ! -s conftest.err
23489 } && test -s conftest$ac_exeext &&
23490 $as_test_x conftest$ac_exeext; then
23491 gl_have_solaristhread=yes
23492 else
23493 echo "$as_me: failed program was:" >&5
23494 sed 's/^/| /' conftest.$ac_ext >&5
23495
23496
23497 fi
23498
23499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23500 conftest$ac_exeext conftest.$ac_ext
23501 LIBS="$gl_save_LIBS"
23502 if test -n "$gl_have_solaristhread"; then
23503 gl_threads_api=solaris
23504 LIBTHREAD=-lthread
23505 LTLIBTHREAD=-lthread
23506 LIBMULTITHREAD="$LIBTHREAD"
23507 LTLIBMULTITHREAD="$LTLIBTHREAD"
23508
23509 cat >>confdefs.h <<\_ACEOF
23510 #define USE_SOLARIS_THREADS 1
23511 _ACEOF
23512
23513 if test $gl_have_weak = yes; then
23514
23515 cat >>confdefs.h <<\_ACEOF
23516 #define USE_SOLARIS_THREADS_WEAK 1
23517 _ACEOF
23518
23519 LIBTHREAD=
23520 LTLIBTHREAD=
23521 fi
23522 fi
23523 fi
23524 fi
23525 if test "$gl_use_threads" = pth; then
23526 gl_save_CPPFLAGS="$CPPFLAGS"
23527
23528
23529
23530
23531
23532 { echo "$as_me:$LINENO: checking how to link with libpth" >&5
23533 echo $ECHO_N "checking how to link with libpth... $ECHO_C" >&6; }
23534 if test "${ac_cv_libpth_libs+set}" = set; then
23535 echo $ECHO_N "(cached) $ECHO_C" >&6
23536 else
2357623537
2357723538
2357823539
2359123552 prefix="$acl_save_prefix"
2359223553
2359323554
23594 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
23595 if test "${with_libiconv_prefix+set}" = set; then
23596 withval="$with_libiconv_prefix"
23597
23555 # Check whether --with-libpth-prefix was given.
23556 if test "${with_libpth_prefix+set}" = set; then
23557 withval=$with_libpth_prefix;
2359823558 if test "X$withval" = "Xno"; then
2359923559 use_additional=no
2360023560 else
2361323573
2361423574 else
2361523575 additional_includedir="$withval/include"
23616 additional_libdir="$withval/lib"
23576 additional_libdir="$withval/$acl_libdirstem"
2361723577 fi
2361823578 fi
2361923579
23620 fi;
23580 fi
23581
23582 LIBPTH=
23583 LTLIBPTH=
23584 INCPTH=
23585 rpathdirs=
23586 ltrpathdirs=
23587 names_already_handled=
23588 names_next_round='pth '
23589 while test -n "$names_next_round"; do
23590 names_this_round="$names_next_round"
23591 names_next_round=
23592 for name in $names_this_round; do
23593 already_handled=
23594 for n in $names_already_handled; do
23595 if test "$n" = "$name"; then
23596 already_handled=yes
23597 break
23598 fi
23599 done
23600 if test -z "$already_handled"; then
23601 names_already_handled="$names_already_handled $name"
23602 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
23603 eval value=\"\$HAVE_LIB$uppername\"
23604 if test -n "$value"; then
23605 if test "$value" = yes; then
23606 eval value=\"\$LIB$uppername\"
23607 test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
23608 eval value=\"\$LTLIB$uppername\"
23609 test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
23610 else
23611 :
23612 fi
23613 else
23614 found_dir=
23615 found_la=
23616 found_so=
23617 found_a=
23618 if test $use_additional = yes; then
23619 if test -n "$shlibext" \
23620 && { test -f "$additional_libdir/lib$name.$shlibext" \
23621 || { test "$shlibext" = dll \
23622 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
23623 found_dir="$additional_libdir"
23624 if test -f "$additional_libdir/lib$name.$shlibext"; then
23625 found_so="$additional_libdir/lib$name.$shlibext"
23626 else
23627 found_so="$additional_libdir/lib$name.dll.a"
23628 fi
23629 if test -f "$additional_libdir/lib$name.la"; then
23630 found_la="$additional_libdir/lib$name.la"
23631 fi
23632 else
23633 if test -f "$additional_libdir/lib$name.$libext"; then
23634 found_dir="$additional_libdir"
23635 found_a="$additional_libdir/lib$name.$libext"
23636 if test -f "$additional_libdir/lib$name.la"; then
23637 found_la="$additional_libdir/lib$name.la"
23638 fi
23639 fi
23640 fi
23641 fi
23642 if test "X$found_dir" = "X"; then
23643 for x in $LDFLAGS $LTLIBPTH; do
23644
23645 acl_save_prefix="$prefix"
23646 prefix="$acl_final_prefix"
23647 acl_save_exec_prefix="$exec_prefix"
23648 exec_prefix="$acl_final_exec_prefix"
23649 eval x=\"$x\"
23650 exec_prefix="$acl_save_exec_prefix"
23651 prefix="$acl_save_prefix"
23652
23653 case "$x" in
23654 -L*)
23655 dir=`echo "X$x" | sed -e 's/^X-L//'`
23656 if test -n "$shlibext" \
23657 && { test -f "$dir/lib$name.$shlibext" \
23658 || { test "$shlibext" = dll \
23659 && test -f "$dir/lib$name.dll.a"; }; }; then
23660 found_dir="$dir"
23661 if test -f "$dir/lib$name.$shlibext"; then
23662 found_so="$dir/lib$name.$shlibext"
23663 else
23664 found_so="$dir/lib$name.dll.a"
23665 fi
23666 if test -f "$dir/lib$name.la"; then
23667 found_la="$dir/lib$name.la"
23668 fi
23669 else
23670 if test -f "$dir/lib$name.$libext"; then
23671 found_dir="$dir"
23672 found_a="$dir/lib$name.$libext"
23673 if test -f "$dir/lib$name.la"; then
23674 found_la="$dir/lib$name.la"
23675 fi
23676 fi
23677 fi
23678 ;;
23679 esac
23680 if test "X$found_dir" != "X"; then
23681 break
23682 fi
23683 done
23684 fi
23685 if test "X$found_dir" != "X"; then
23686 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
23687 if test "X$found_so" != "X"; then
23688 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
23689 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
23690 else
23691 haveit=
23692 for x in $ltrpathdirs; do
23693 if test "X$x" = "X$found_dir"; then
23694 haveit=yes
23695 break
23696 fi
23697 done
23698 if test -z "$haveit"; then
23699 ltrpathdirs="$ltrpathdirs $found_dir"
23700 fi
23701 if test "$hardcode_direct" = yes; then
23702 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
23703 else
23704 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
23705 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
23706 haveit=
23707 for x in $rpathdirs; do
23708 if test "X$x" = "X$found_dir"; then
23709 haveit=yes
23710 break
23711 fi
23712 done
23713 if test -z "$haveit"; then
23714 rpathdirs="$rpathdirs $found_dir"
23715 fi
23716 else
23717 haveit=
23718 for x in $LDFLAGS $LIBPTH; do
23719
23720 acl_save_prefix="$prefix"
23721 prefix="$acl_final_prefix"
23722 acl_save_exec_prefix="$exec_prefix"
23723 exec_prefix="$acl_final_exec_prefix"
23724 eval x=\"$x\"
23725 exec_prefix="$acl_save_exec_prefix"
23726 prefix="$acl_save_prefix"
23727
23728 if test "X$x" = "X-L$found_dir"; then
23729 haveit=yes
23730 break
23731 fi
23732 done
23733 if test -z "$haveit"; then
23734 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
23735 fi
23736 if test "$hardcode_minus_L" != no; then
23737 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
23738 else
23739 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
23740 fi
23741 fi
23742 fi
23743 fi
23744 else
23745 if test "X$found_a" != "X"; then
23746 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
23747 else
23748 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
23749 fi
23750 fi
23751 additional_includedir=
23752 case "$found_dir" in
23753 */$acl_libdirstem | */$acl_libdirstem/)
23754 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
23755 additional_includedir="$basedir/include"
23756 ;;
23757 esac
23758 if test "X$additional_includedir" != "X"; then
23759 if test "X$additional_includedir" != "X/usr/include"; then
23760 haveit=
23761 if test "X$additional_includedir" = "X/usr/local/include"; then
23762 if test -n "$GCC"; then
23763 case $host_os in
23764 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
23765 esac
23766 fi
23767 fi
23768 if test -z "$haveit"; then
23769 for x in $CPPFLAGS $INCPTH; do
23770
23771 acl_save_prefix="$prefix"
23772 prefix="$acl_final_prefix"
23773 acl_save_exec_prefix="$exec_prefix"
23774 exec_prefix="$acl_final_exec_prefix"
23775 eval x=\"$x\"
23776 exec_prefix="$acl_save_exec_prefix"
23777 prefix="$acl_save_prefix"
23778
23779 if test "X$x" = "X-I$additional_includedir"; then
23780 haveit=yes
23781 break
23782 fi
23783 done
23784 if test -z "$haveit"; then
23785 if test -d "$additional_includedir"; then
23786 INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
23787 fi
23788 fi
23789 fi
23790 fi
23791 fi
23792 if test -n "$found_la"; then
23793 save_libdir="$libdir"
23794 case "$found_la" in
23795 */* | *\\*) . "$found_la" ;;
23796 *) . "./$found_la" ;;
23797 esac
23798 libdir="$save_libdir"
23799 for dep in $dependency_libs; do
23800 case "$dep" in
23801 -L*)
23802 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
23803 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
23804 haveit=
23805 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
23806 if test -n "$GCC"; then
23807 case $host_os in
23808 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
23809 esac
23810 fi
23811 fi
23812 if test -z "$haveit"; then
23813 haveit=
23814 for x in $LDFLAGS $LIBPTH; do
23815
23816 acl_save_prefix="$prefix"
23817 prefix="$acl_final_prefix"
23818 acl_save_exec_prefix="$exec_prefix"
23819 exec_prefix="$acl_final_exec_prefix"
23820 eval x=\"$x\"
23821 exec_prefix="$acl_save_exec_prefix"
23822 prefix="$acl_save_prefix"
23823
23824 if test "X$x" = "X-L$additional_libdir"; then
23825 haveit=yes
23826 break
23827 fi
23828 done
23829 if test -z "$haveit"; then
23830 if test -d "$additional_libdir"; then
23831 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
23832 fi
23833 fi
23834 haveit=
23835 for x in $LDFLAGS $LTLIBPTH; do
23836
23837 acl_save_prefix="$prefix"
23838 prefix="$acl_final_prefix"
23839 acl_save_exec_prefix="$exec_prefix"
23840 exec_prefix="$acl_final_exec_prefix"
23841 eval x=\"$x\"
23842 exec_prefix="$acl_save_exec_prefix"
23843 prefix="$acl_save_prefix"
23844
23845 if test "X$x" = "X-L$additional_libdir"; then
23846 haveit=yes
23847 break
23848 fi
23849 done
23850 if test -z "$haveit"; then
23851 if test -d "$additional_libdir"; then
23852 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
23853 fi
23854 fi
23855 fi
23856 fi
23857 ;;
23858 -R*)
23859 dir=`echo "X$dep" | sed -e 's/^X-R//'`
23860 if test "$enable_rpath" != no; then
23861 haveit=
23862 for x in $rpathdirs; do
23863 if test "X$x" = "X$dir"; then
23864 haveit=yes
23865 break
23866 fi
23867 done
23868 if test -z "$haveit"; then
23869 rpathdirs="$rpathdirs $dir"
23870 fi
23871 haveit=
23872 for x in $ltrpathdirs; do
23873 if test "X$x" = "X$dir"; then
23874 haveit=yes
23875 break
23876 fi
23877 done
23878 if test -z "$haveit"; then
23879 ltrpathdirs="$ltrpathdirs $dir"
23880 fi
23881 fi
23882 ;;
23883 -l*)
23884 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
23885 ;;
23886 *.la)
23887 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
23888 ;;
23889 *)
23890 LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
23891 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
23892 ;;
23893 esac
23894 done
23895 fi
23896 else
23897 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
23898 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
23899 fi
23900 fi
23901 fi
23902 done
23903 done
23904 if test "X$rpathdirs" != "X"; then
23905 if test -n "$hardcode_libdir_separator"; then
23906 alldirs=
23907 for found_dir in $rpathdirs; do
23908 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
23909 done
23910 acl_save_libdir="$libdir"
23911 libdir="$alldirs"
23912 eval flag=\"$hardcode_libdir_flag_spec\"
23913 libdir="$acl_save_libdir"
23914 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
23915 else
23916 for found_dir in $rpathdirs; do
23917 acl_save_libdir="$libdir"
23918 libdir="$found_dir"
23919 eval flag=\"$hardcode_libdir_flag_spec\"
23920 libdir="$acl_save_libdir"
23921 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
23922 done
23923 fi
23924 fi
23925 if test "X$ltrpathdirs" != "X"; then
23926 for found_dir in $ltrpathdirs; do
23927 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
23928 done
23929 fi
23930
23931 ac_cv_libpth_libs="$LIBPTH"
23932 ac_cv_libpth_ltlibs="$LTLIBPTH"
23933 ac_cv_libpth_cppflags="$INCPTH"
23934
23935 fi
23936 { echo "$as_me:$LINENO: result: $ac_cv_libpth_libs" >&5
23937 echo "${ECHO_T}$ac_cv_libpth_libs" >&6; }
23938 LIBPTH="$ac_cv_libpth_libs"
23939 LTLIBPTH="$ac_cv_libpth_ltlibs"
23940 INCPTH="$ac_cv_libpth_cppflags"
23941
23942 for element in $INCPTH; do
23943 haveit=
23944 for x in $CPPFLAGS; do
23945
23946 acl_save_prefix="$prefix"
23947 prefix="$acl_final_prefix"
23948 acl_save_exec_prefix="$exec_prefix"
23949 exec_prefix="$acl_final_exec_prefix"
23950 eval x=\"$x\"
23951 exec_prefix="$acl_save_exec_prefix"
23952 prefix="$acl_save_prefix"
23953
23954 if test "X$x" = "X$element"; then
23955 haveit=yes
23956 break
23957 fi
23958 done
23959 if test -z "$haveit"; then
23960 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
23961 fi
23962 done
23963
23964
23965
23966 HAVE_LIBPTH=yes
23967
23968
23969
23970 gl_have_pth=
23971 gl_save_LIBS="$LIBS"
23972 LIBS="$LIBS -lpth"
23973 cat >conftest.$ac_ext <<_ACEOF
23974 /* confdefs.h. */
23975 _ACEOF
23976 cat confdefs.h >>conftest.$ac_ext
23977 cat >>conftest.$ac_ext <<_ACEOF
23978 /* end confdefs.h. */
23979 #include <pth.h>
23980 int
23981 main ()
23982 {
23983 pth_self();
23984 ;
23985 return 0;
23986 }
23987 _ACEOF
23988 rm -f conftest.$ac_objext conftest$ac_exeext
23989 if { (ac_try="$ac_link"
23990 case "(($ac_try" in
23991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23992 *) ac_try_echo=$ac_try;;
23993 esac
23994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23995 (eval "$ac_link") 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } && {
24002 test -z "$ac_c_werror_flag" ||
24003 test ! -s conftest.err
24004 } && test -s conftest$ac_exeext &&
24005 $as_test_x conftest$ac_exeext; then
24006 gl_have_pth=yes
24007 else
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011
24012 fi
24013
24014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24015 conftest$ac_exeext conftest.$ac_ext
24016 LIBS="$gl_save_LIBS"
24017 if test -n "$gl_have_pth"; then
24018 gl_threads_api=pth
24019 LIBTHREAD="$LIBPTH"
24020 LTLIBTHREAD="$LTLIBPTH"
24021 LIBMULTITHREAD="$LIBTHREAD"
24022 LTLIBMULTITHREAD="$LTLIBTHREAD"
24023
24024 cat >>confdefs.h <<\_ACEOF
24025 #define USE_PTH_THREADS 1
24026 _ACEOF
24027
24028 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
24029 if test $gl_have_weak = yes; then
24030
24031 cat >>confdefs.h <<\_ACEOF
24032 #define USE_PTH_THREADS_WEAK 1
24033 _ACEOF
24034
24035 LIBTHREAD=
24036 LTLIBTHREAD=
24037 fi
24038 fi
24039 else
24040 CPPFLAGS="$gl_save_CPPFLAGS"
24041 fi
24042 fi
24043 if test -z "$gl_have_pthread"; then
24044 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
24045 if { case "$host_os" in
24046 mingw*) true;;
24047 *) false;;
24048 esac
24049 }; then
24050 gl_threads_api=win32
24051
24052 cat >>confdefs.h <<\_ACEOF
24053 #define USE_WIN32_THREADS 1
24054 _ACEOF
24055
24056 fi
24057 fi
24058 fi
24059 fi
24060 { echo "$as_me:$LINENO: checking for multithread API to use" >&5
24061 echo $ECHO_N "checking for multithread API to use... $ECHO_C" >&6; }
24062 { echo "$as_me:$LINENO: result: $gl_threads_api" >&5
24063 echo "${ECHO_T}$gl_threads_api" >&6; }
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083 use_additional=yes
24084
24085 acl_save_prefix="$prefix"
24086 prefix="$acl_final_prefix"
24087 acl_save_exec_prefix="$exec_prefix"
24088 exec_prefix="$acl_final_exec_prefix"
24089
24090 eval additional_includedir=\"$includedir\"
24091 eval additional_libdir=\"$libdir\"
24092
24093 exec_prefix="$acl_save_exec_prefix"
24094 prefix="$acl_save_prefix"
24095
24096
24097 # Check whether --with-libiconv-prefix was given.
24098 if test "${with_libiconv_prefix+set}" = set; then
24099 withval=$with_libiconv_prefix;
24100 if test "X$withval" = "Xno"; then
24101 use_additional=no
24102 else
24103 if test "X$withval" = "X"; then
24104
24105 acl_save_prefix="$prefix"
24106 prefix="$acl_final_prefix"
24107 acl_save_exec_prefix="$exec_prefix"
24108 exec_prefix="$acl_final_exec_prefix"
24109
24110 eval additional_includedir=\"$includedir\"
24111 eval additional_libdir=\"$libdir\"
24112
24113 exec_prefix="$acl_save_exec_prefix"
24114 prefix="$acl_save_prefix"
24115
24116 else
24117 additional_includedir="$withval/include"
24118 additional_libdir="$withval/$acl_libdirstem"
24119 fi
24120 fi
24121
24122 fi
24123
2362124124 LIBICONV=
2362224125 LTLIBICONV=
2362324126 INCICONV=
2365524158 found_so=
2365624159 found_a=
2365724160 if test $use_additional = yes; then
23658 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
24161 if test -n "$shlibext" \
24162 && { test -f "$additional_libdir/lib$name.$shlibext" \
24163 || { test "$shlibext" = dll \
24164 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
2365924165 found_dir="$additional_libdir"
23660 found_so="$additional_libdir/lib$name.$shlibext"
24166 if test -f "$additional_libdir/lib$name.$shlibext"; then
24167 found_so="$additional_libdir/lib$name.$shlibext"
24168 else
24169 found_so="$additional_libdir/lib$name.dll.a"
24170 fi
2366124171 if test -f "$additional_libdir/lib$name.la"; then
2366224172 found_la="$additional_libdir/lib$name.la"
2366324173 fi
2368524195 case "$x" in
2368624196 -L*)
2368724197 dir=`echo "X$x" | sed -e 's/^X-L//'`
23688 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
24198 if test -n "$shlibext" \
24199 && { test -f "$dir/lib$name.$shlibext" \
24200 || { test "$shlibext" = dll \
24201 && test -f "$dir/lib$name.dll.a"; }; }; then
2368924202 found_dir="$dir"
23690 found_so="$dir/lib$name.$shlibext"
24203 if test -f "$dir/lib$name.$shlibext"; then
24204 found_so="$dir/lib$name.$shlibext"
24205 else
24206 found_so="$dir/lib$name.dll.a"
24207 fi
2369124208 if test -f "$dir/lib$name.la"; then
2369224209 found_la="$dir/lib$name.la"
2369324210 fi
2371024227 if test "X$found_dir" != "X"; then
2371124228 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
2371224229 if test "X$found_so" != "X"; then
23713 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
24230 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
2371424231 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
2371524232 else
2371624233 haveit=
2377524292 fi
2377624293 additional_includedir=
2377724294 case "$found_dir" in
23778 */lib | */lib/)
23779 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
24295 */$acl_libdirstem | */$acl_libdirstem/)
24296 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
2378024297 additional_includedir="$basedir/include"
2378124298 ;;
2378224299 esac
2382524342 case "$dep" in
2382624343 -L*)
2382724344 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
23828 if test "X$additional_libdir" != "X/usr/lib"; then
24345 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
2382924346 haveit=
23830 if test "X$additional_libdir" = "X/usr/local/lib"; then
24347 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
2383124348 if test -n "$GCC"; then
2383224349 case $host_os in
2383324350 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2395724474
2395824475
2395924476
23960
23961
23962
23963 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
23964 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
23965 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 else
2396824477 cat >conftest.$ac_ext <<_ACEOF
2396924478 /* confdefs.h. */
2397024479 _ACEOF
2397124480 cat confdefs.h >>conftest.$ac_ext
2397224481 cat >>conftest.$ac_ext <<_ACEOF
2397324482 /* end confdefs.h. */
23974 $ac_includes_default
24483 int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
2397524484 int
2397624485 main ()
2397724486 {
23978 if ((ptrdiff_t *) 0)
23979 return 0;
23980 if (sizeof (ptrdiff_t))
23981 return 0;
24487
2398224488 ;
2398324489 return 0;
2398424490 }
2398524491 _ACEOF
23986 rm -f conftest.$ac_objext
23987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23988 (eval $ac_compile) 2>conftest.er1
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (ac_try="$ac_link"
24494 case "(($ac_try" in
24495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24496 *) ac_try_echo=$ac_try;;
24497 esac
24498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24499 (eval "$ac_link") 2>conftest.er1
2398924500 ac_status=$?
2399024501 grep -v '^ *+' conftest.er1 >conftest.err
2399124502 rm -f conftest.er1
2399224503 cat conftest.err >&5
2399324504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); } &&
23995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; } &&
24001 { ac_try='test -s conftest.$ac_objext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 ac_cv_type_ptrdiff_t=yes
24505 (exit $ac_status); } && {
24506 test -z "$ac_c_werror_flag" ||
24507 test ! -s conftest.err
24508 } && test -s conftest$ac_exeext &&
24509 $as_test_x conftest$ac_exeext; then
24510
24511 cat >>confdefs.h <<\_ACEOF
24512 #define HAVE_BUILTIN_EXPECT 1
24513 _ACEOF
24514
2400824515 else
2400924516 echo "$as_me: failed program was:" >&5
2401024517 sed 's/^/| /' conftest.$ac_ext >&5
2401124518
24012 ac_cv_type_ptrdiff_t=no
24013 fi
24014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24015 fi
24016 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
24017 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
24018 if test $ac_cv_type_ptrdiff_t = yes; then
24019 :
24020 else
24021
24022 cat >>confdefs.h <<\_ACEOF
24023 #define ptrdiff_t long
24024 _ACEOF
24025
24026
24027 fi
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
24040 stdlib.h string.h unistd.h sys/param.h
24519
24520 fi
24521
24522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24523 conftest$ac_exeext conftest.$ac_ext
24524
24525
24526
24527
24528
24529
24530 for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
2404124531 do
2404224532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24044 echo "$as_me:$LINENO: checking for $ac_header" >&5
24045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2404724537 echo $ECHO_N "(cached) $ECHO_C" >&6
2404824538 fi
24049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24539 ac_res=`eval echo '${'$as_ac_Header'}'`
24540 { echo "$as_me:$LINENO: result: $ac_res" >&5
24541 echo "${ECHO_T}$ac_res" >&6; }
2405124542 else
2405224543 # Is the header compilable?
24053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
2405524546 cat >conftest.$ac_ext <<_ACEOF
2405624547 /* confdefs.h. */
2405724548 _ACEOF
2406224553 #include <$ac_header>
2406324554 _ACEOF
2406424555 rm -f conftest.$ac_objext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24066 (eval $ac_compile) 2>conftest.er1
24556 if { (ac_try="$ac_compile"
24557 case "(($ac_try" in
24558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24559 *) ac_try_echo=$ac_try;;
24560 esac
24561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24562 (eval "$ac_compile") 2>conftest.er1
2406724563 ac_status=$?
2406824564 grep -v '^ *+' conftest.er1 >conftest.err
2406924565 rm -f conftest.er1
2407024566 cat conftest.err >&5
2407124567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; } &&
24079 { ac_try='test -s conftest.$ac_objext'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24568 (exit $ac_status); } && {
24569 test -z "$ac_c_werror_flag" ||
24570 test ! -s conftest.err
24571 } && test -s conftest.$ac_objext; then
2408524572 ac_header_compiler=yes
2408624573 else
2408724574 echo "$as_me: failed program was:" >&5
2408824575 sed 's/^/| /' conftest.$ac_ext >&5
2408924576
24090 ac_header_compiler=no
24091 fi
24092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24094 echo "${ECHO_T}$ac_header_compiler" >&6
24577 ac_header_compiler=no
24578 fi
24579
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24582 echo "${ECHO_T}$ac_header_compiler" >&6; }
2409524583
2409624584 # Is the header present?
24097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
2409924587 cat >conftest.$ac_ext <<_ACEOF
2410024588 /* confdefs.h. */
2410124589 _ACEOF
2410424592 /* end confdefs.h. */
2410524593 #include <$ac_header>
2410624594 _ACEOF
24107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24595 if { (ac_try="$ac_cpp conftest.$ac_ext"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24599 esac
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2410924602 ac_status=$?
2411024603 grep -v '^ *+' conftest.er1 >conftest.err
2411124604 rm -f conftest.er1
2411224605 cat conftest.err >&5
2411324606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); } >/dev/null; then
24115 if test -s conftest.err; then
24116 ac_cpp_err=$ac_c_preproc_warn_flag
24117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24118 else
24119 ac_cpp_err=
24120 fi
24121 else
24122 ac_cpp_err=yes
24123 fi
24124 if test -z "$ac_cpp_err"; then
24607 (exit $ac_status); } >/dev/null && {
24608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24609 test ! -s conftest.err
24610 }; then
2412524611 ac_header_preproc=yes
2412624612 else
2412724613 echo "$as_me: failed program was:" >&5
2412924615
2413024616 ac_header_preproc=no
2413124617 fi
24618
2413224619 rm -f conftest.err conftest.$ac_ext
24133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24134 echo "${ECHO_T}$ac_header_preproc" >&6
24620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24621 echo "${ECHO_T}$ac_header_preproc" >&6; }
2413524622
2413624623 # So? What about this header?
2413724624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2415524642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2415624643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2415724644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24158 (
24159 cat <<\_ASBOX
24160 ## ------------------------------------------ ##
24161 ## Report this to the AC_PACKAGE_NAME lists. ##
24162 ## ------------------------------------------ ##
24163 _ASBOX
24164 ) |
24165 sed "s/^/$as_me: WARNING: /" >&2
24645
2416624646 ;;
2416724647 esac
24168 echo "$as_me:$LINENO: checking for $ac_header" >&5
24169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2417124651 echo $ECHO_N "(cached) $ECHO_C" >&6
2417224652 else
2417324653 eval "$as_ac_Header=\$ac_header_preproc"
2417424654 fi
24175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24655 ac_res=`eval echo '${'$as_ac_Header'}'`
24656 { echo "$as_me:$LINENO: result: $ac_res" >&5
24657 echo "${ECHO_T}$ac_res" >&6; }
2417724658
2417824659 fi
2417924660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2420124682
2420224683
2420324684
24204
24205
24206
24207
24208
24209
24210
24211 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
24212 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
24213 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
24214 __fsetlocking
24685 for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
24686 stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
24687 argz_next __fsetlocking
2421524688 do
2421624689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24217 echo "$as_me:$LINENO: checking for $ac_func" >&5
24218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24219 if eval "test \"\${$as_ac_var+set}\" = set"; then
24690 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24692 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
2422024693 echo $ECHO_N "(cached) $ECHO_C" >&6
2422124694 else
2422224695 cat >conftest.$ac_ext <<_ACEOF
2424224715
2424324716 #undef $ac_func
2424424717
24245 /* Override any gcc2 internal prototype to avoid an error. */
24718 /* Override any GCC internal prototype to avoid an error.
24719 Use char because int might match the return type of a GCC
24720 builtin and then its argument prototype would still apply. */
2424624721 #ifdef __cplusplus
2424724722 extern "C"
24248 {
2424924723 #endif
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
2425224724 char $ac_func ();
2425324725 /* The GNU C library defines this for functions which it implements
2425424726 to always fail with ENOSYS. Some functions are actually named
2425524727 something starting with __ and the normal name is an alias. */
24256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24728 #if defined __stub_$ac_func || defined __stub___$ac_func
2425724729 choke me
24258 #else
24259 char (*f) () = $ac_func;
24260 #endif
24261 #ifdef __cplusplus
24262 }
2426324730 #endif
2426424731
2426524732 int
2426624733 main ()
2426724734 {
24268 return f != $ac_func;
24735 return $ac_func ();
2426924736 ;
2427024737 return 0;
2427124738 }
2427224739 _ACEOF
2427324740 rm -f conftest.$ac_objext conftest$ac_exeext
24274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24275 (eval $ac_link) 2>conftest.er1
24741 if { (ac_try="$ac_link"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_link") 2>conftest.er1
2427624748 ac_status=$?
2427724749 grep -v '^ *+' conftest.er1 >conftest.err
2427824750 rm -f conftest.er1
2427924751 cat conftest.err >&5
2428024752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } &&
24282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; } &&
24288 { ac_try='test -s conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24291 ac_status=$?
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24753 (exit $ac_status); } && {
24754 test -z "$ac_c_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest$ac_exeext &&
24757 $as_test_x conftest$ac_exeext; then
2429424758 eval "$as_ac_var=yes"
2429524759 else
2429624760 echo "$as_me: failed program was:" >&5
2429724761 sed 's/^/| /' conftest.$ac_ext >&5
2429824762
24299 eval "$as_ac_var=no"
24300 fi
24301 rm -f conftest.err conftest.$ac_objext \
24763 eval "$as_ac_var=no"
24764 fi
24765
24766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2430224767 conftest$ac_exeext conftest.$ac_ext
2430324768 fi
24304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24769 ac_res=`eval echo '${'$as_ac_var'}'`
24770 { echo "$as_me:$LINENO: result: $ac_res" >&5
24771 echo "${ECHO_T}$ac_res" >&6; }
2430624772 if test `eval echo '${'$as_ac_var'}'` = yes; then
2430724773 cat >>confdefs.h <<_ACEOF
2430824774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2431324779
2431424780
2431524781
24316 echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
24317 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
24318 if test "${ac_cv_have_decl__snprintf+set}" = set; then
24782 { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
24783 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
24784 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
2431924785 echo $ECHO_N "(cached) $ECHO_C" >&6
2432024786 else
2432124787 cat >conftest.$ac_ext <<_ACEOF
2432924795 main ()
2433024796 {
2433124797
24332 #ifndef _snprintf
24333 char *p = (char *) _snprintf;
24798 #ifndef feof_unlocked
24799 char *p = (char *) feof_unlocked;
2433424800 #endif
2433524801
2433624802 ;
2433824804 }
2433924805 _ACEOF
2434024806 rm -f conftest.$ac_objext
24341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24342 (eval $ac_compile) 2>conftest.er1
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24811 esac
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
2434324814 ac_status=$?
2434424815 grep -v '^ *+' conftest.er1 >conftest.err
2434524816 rm -f conftest.er1
2434624817 cat conftest.err >&5
2434724818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } &&
24349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24351 (eval $ac_try) 2>&5
24352 ac_status=$?
24353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354 (exit $ac_status); }; } &&
24355 { ac_try='test -s conftest.$ac_objext'
24356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24357 (eval $ac_try) 2>&5
24358 ac_status=$?
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); }; }; then
24361 ac_cv_have_decl__snprintf=yes
24819 (exit $ac_status); } && {
24820 test -z "$ac_c_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 ac_cv_have_decl_feof_unlocked=yes
2436224824 else
2436324825 echo "$as_me: failed program was:" >&5
2436424826 sed 's/^/| /' conftest.$ac_ext >&5
2436524827
24366 ac_cv_have_decl__snprintf=no
24367 fi
24368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24369 fi
24370 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
24371 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
24372 if test $ac_cv_have_decl__snprintf = yes; then
24828 ac_cv_have_decl_feof_unlocked=no
24829 fi
24830
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832 fi
24833 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
24834 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
24835 if test $ac_cv_have_decl_feof_unlocked = yes; then
2437324836 gt_value=1
2437424837 else
2437524838 gt_value=0
2437624839 fi
2437724840
2437824841 cat >>confdefs.h <<_ACEOF
24379 #define HAVE_DECL__SNPRINTF $gt_value
24380 _ACEOF
24381
24382
24383
24384 echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
24385 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
24386 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
24842 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
24843 _ACEOF
24844
24845
24846
24847 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
24848 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
24849 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
2438724850 echo $ECHO_N "(cached) $ECHO_C" >&6
2438824851 else
2438924852 cat >conftest.$ac_ext <<_ACEOF
2439724860 main ()
2439824861 {
2439924862
24400 #ifndef _snwprintf
24401 char *p = (char *) _snwprintf;
24863 #ifndef fgets_unlocked
24864 char *p = (char *) fgets_unlocked;
2440224865 #endif
2440324866
2440424867 ;
2440624869 }
2440724870 _ACEOF
2440824871 rm -f conftest.$ac_objext
24409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24410 (eval $ac_compile) 2>conftest.er1
24872 if { (ac_try="$ac_compile"
24873 case "(($ac_try" in
24874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24875 *) ac_try_echo=$ac_try;;
24876 esac
24877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24878 (eval "$ac_compile") 2>conftest.er1
2441124879 ac_status=$?
2441224880 grep -v '^ *+' conftest.er1 >conftest.err
2441324881 rm -f conftest.er1
2441424882 cat conftest.err >&5
2441524883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } &&
24417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24419 (eval $ac_try) 2>&5
24420 ac_status=$?
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); }; } &&
24423 { ac_try='test -s conftest.$ac_objext'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24426 ac_status=$?
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24429 ac_cv_have_decl__snwprintf=yes
24884 (exit $ac_status); } && {
24885 test -z "$ac_c_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest.$ac_objext; then
24888 ac_cv_have_decl_fgets_unlocked=yes
2443024889 else
2443124890 echo "$as_me: failed program was:" >&5
2443224891 sed 's/^/| /' conftest.$ac_ext >&5
2443324892
24434 ac_cv_have_decl__snwprintf=no
24435 fi
24436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24437 fi
24438 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
24439 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
24440 if test $ac_cv_have_decl__snwprintf = yes; then
24441 gt_value=1
24442 else
24443 gt_value=0
24444 fi
24445
24446 cat >>confdefs.h <<_ACEOF
24447 #define HAVE_DECL__SNWPRINTF $gt_value
24448 _ACEOF
24449
24450
24451
24452
24453 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
24454 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
24455 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24458 cat >conftest.$ac_ext <<_ACEOF
24459 /* confdefs.h. */
24460 _ACEOF
24461 cat confdefs.h >>conftest.$ac_ext
24462 cat >>conftest.$ac_ext <<_ACEOF
24463 /* end confdefs.h. */
24464 #include <stdio.h>
24465 int
24466 main ()
24467 {
24468
24469 #ifndef feof_unlocked
24470 char *p = (char *) feof_unlocked;
24471 #endif
24472
24473 ;
24474 return 0;
24475 }
24476 _ACEOF
24477 rm -f conftest.$ac_objext
24478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24479 (eval $ac_compile) 2>conftest.er1
24480 ac_status=$?
24481 grep -v '^ *+' conftest.er1 >conftest.err
24482 rm -f conftest.er1
24483 cat conftest.err >&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } &&
24486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; } &&
24492 { ac_try='test -s conftest.$ac_objext'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; }; then
24498 ac_cv_have_decl_feof_unlocked=yes
24499 else
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.$ac_ext >&5
24502
24503 ac_cv_have_decl_feof_unlocked=no
24504 fi
24505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24506 fi
24507 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
24508 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
24509 if test $ac_cv_have_decl_feof_unlocked = yes; then
24510 gt_value=1
24511 else
24512 gt_value=0
24513 fi
24514
24515 cat >>confdefs.h <<_ACEOF
24516 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
24517 _ACEOF
24518
24519
24520
24521 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
24522 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
24523 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h. */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532 #include <stdio.h>
24533 int
24534 main ()
24535 {
24536
24537 #ifndef fgets_unlocked
24538 char *p = (char *) fgets_unlocked;
24539 #endif
24540
24541 ;
24542 return 0;
24543 }
24544 _ACEOF
24545 rm -f conftest.$ac_objext
24546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24547 (eval $ac_compile) 2>conftest.er1
24548 ac_status=$?
24549 grep -v '^ *+' conftest.er1 >conftest.err
24550 rm -f conftest.er1
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } &&
24554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24557 ac_status=$?
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try='test -s conftest.$ac_objext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_have_decl_fgets_unlocked=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 ac_cv_have_decl_fgets_unlocked=no
24572 fi
24573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24574 fi
24575 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
24576 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
24893 ac_cv_have_decl_fgets_unlocked=no
24894 fi
24895
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 fi
24898 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
24899 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
2457724900 if test $ac_cv_have_decl_fgets_unlocked = yes; then
2457824901 gt_value=1
2457924902 else
2458424907 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
2458524908 _ACEOF
2458624909
24587
24588
24589 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
24590 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
24591 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <stdio.h>
24601 int
24602 main ()
24603 {
24604
24605 #ifndef getc_unlocked
24606 char *p = (char *) getc_unlocked;
24607 #endif
24608
24609 ;
24610 return 0;
24611 }
24612 _ACEOF
24613 rm -f conftest.$ac_objext
24614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24615 (eval $ac_compile) 2>conftest.er1
24616 ac_status=$?
24617 grep -v '^ *+' conftest.er1 >conftest.err
24618 rm -f conftest.er1
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } &&
24622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24624 (eval $ac_try) 2>&5
24625 ac_status=$?
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); }; } &&
24628 { ac_try='test -s conftest.$ac_objext'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24631 ac_status=$?
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; }; then
24634 ac_cv_have_decl_getc_unlocked=yes
24635 else
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24638
24639 ac_cv_have_decl_getc_unlocked=no
24640 fi
24641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24642 fi
24643 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
24644 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
24645 if test $ac_cv_have_decl_getc_unlocked = yes; then
24646 gt_value=1
24647 else
24648 gt_value=0
24649 fi
24650
24651 cat >>confdefs.h <<_ACEOF
24652 #define HAVE_DECL_GETC_UNLOCKED $gt_value
24653 _ACEOF
24654
24655
24656
24657 case $gt_cv_func_printf_posix in
24658 *yes) HAVE_POSIX_PRINTF=1 ;;
24659 *) HAVE_POSIX_PRINTF=0 ;;
24660 esac
24661
24662 if test "$ac_cv_func_asprintf" = yes; then
24663 HAVE_ASPRINTF=1
24664 else
24665 HAVE_ASPRINTF=0
24666 fi
24667
24668 if test "$ac_cv_func_snprintf" = yes; then
24669 HAVE_SNPRINTF=1
24670 else
24671 HAVE_SNPRINTF=0
24672 fi
24673
24674 if test "$ac_cv_func_wprintf" = yes; then
24675 HAVE_WPRINTF=1
24676 else
24677 HAVE_WPRINTF=0
24678 fi
2467924910
2468024911
2468124912
2470824939 done
2470924940
2471024941
24711 echo "$as_me:$LINENO: checking for iconv" >&5
24712 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
24942 { echo "$as_me:$LINENO: checking for iconv" >&5
24943 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
2471324944 if test "${am_cv_func_iconv+set}" = set; then
2471424945 echo $ECHO_N "(cached) $ECHO_C" >&6
2471524946 else
2473524966 }
2473624967 _ACEOF
2473724968 rm -f conftest.$ac_objext conftest$ac_exeext
24738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24739 (eval $ac_link) 2>conftest.er1
24969 if { (ac_try="$ac_link"
24970 case "(($ac_try" in
24971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24972 *) ac_try_echo=$ac_try;;
24973 esac
24974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24975 (eval "$ac_link") 2>conftest.er1
2474024976 ac_status=$?
2474124977 grep -v '^ *+' conftest.er1 >conftest.err
2474224978 rm -f conftest.er1
2474324979 cat conftest.err >&5
2474424980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } &&
24746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24749 ac_status=$?
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; } &&
24752 { ac_try='test -s conftest$ac_exeext'
24753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754 (eval $ac_try) 2>&5
24755 ac_status=$?
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); }; }; then
24981 (exit $ac_status); } && {
24982 test -z "$ac_c_werror_flag" ||
24983 test ! -s conftest.err
24984 } && test -s conftest$ac_exeext &&
24985 $as_test_x conftest$ac_exeext; then
2475824986 am_cv_func_iconv=yes
2475924987 else
2476024988 echo "$as_me: failed program was:" >&5
2476124989 sed 's/^/| /' conftest.$ac_ext >&5
2476224990
24763 fi
24764 rm -f conftest.err conftest.$ac_objext \
24991
24992 fi
24993
24994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2476524995 conftest$ac_exeext conftest.$ac_ext
2476624996 if test "$am_cv_func_iconv" != yes; then
2476724997 am_save_LIBS="$LIBS"
2478525015 }
2478625016 _ACEOF
2478725017 rm -f conftest.$ac_objext conftest$ac_exeext
24788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24789 (eval $ac_link) 2>conftest.er1
25018 if { (ac_try="$ac_link"
25019 case "(($ac_try" in
25020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25021 *) ac_try_echo=$ac_try;;
25022 esac
25023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25024 (eval "$ac_link") 2>conftest.er1
2479025025 ac_status=$?
2479125026 grep -v '^ *+' conftest.er1 >conftest.err
2479225027 rm -f conftest.er1
2479325028 cat conftest.err >&5
2479425029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } &&
24796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798 (eval $ac_try) 2>&5
24799 ac_status=$?
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); }; } &&
24802 { ac_try='test -s conftest$ac_exeext'
24803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804 (eval $ac_try) 2>&5
24805 ac_status=$?
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); }; }; then
25030 (exit $ac_status); } && {
25031 test -z "$ac_c_werror_flag" ||
25032 test ! -s conftest.err
25033 } && test -s conftest$ac_exeext &&
25034 $as_test_x conftest$ac_exeext; then
2480825035 am_cv_lib_iconv=yes
2480925036 am_cv_func_iconv=yes
2481025037 else
2481125038 echo "$as_me: failed program was:" >&5
2481225039 sed 's/^/| /' conftest.$ac_ext >&5
2481325040
24814 fi
24815 rm -f conftest.err conftest.$ac_objext \
25041
25042 fi
25043
25044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2481625045 conftest$ac_exeext conftest.$ac_ext
2481725046 LIBS="$am_save_LIBS"
2481825047 fi
2481925048
2482025049 fi
24821 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
24822 echo "${ECHO_T}$am_cv_func_iconv" >&6
25050 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
25051 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
2482325052 if test "$am_cv_func_iconv" = yes; then
2482425053
2482525054 cat >>confdefs.h <<\_ACEOF
2482825057
2482925058 fi
2483025059 if test "$am_cv_lib_iconv" = yes; then
24831 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
24832 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
24833 echo "$as_me:$LINENO: result: $LIBICONV" >&5
24834 echo "${ECHO_T}$LIBICONV" >&6
25060 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
25061 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
25062 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
25063 echo "${ECHO_T}$LIBICONV" >&6; }
2483525064 else
2483625065 CPPFLAGS="$am_save_CPPFLAGS"
2483725066 LIBICONV=
2484125070
2484225071
2484325072 if test "$am_cv_func_iconv" = yes; then
24844 echo "$as_me:$LINENO: checking for iconv declaration" >&5
24845 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
25073 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
25074 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
2484625075 if test "${am_cv_proto_iconv+set}" = set; then
2484725076 echo $ECHO_N "(cached) $ECHO_C" >&6
2484825077 else
2487525104 }
2487625105 _ACEOF
2487725106 rm -f conftest.$ac_objext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24879 (eval $ac_compile) 2>conftest.er1
25107 if { (ac_try="$ac_compile"
25108 case "(($ac_try" in
25109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25110 *) ac_try_echo=$ac_try;;
25111 esac
25112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25113 (eval "$ac_compile") 2>conftest.er1
2488025114 ac_status=$?
2488125115 grep -v '^ *+' conftest.er1 >conftest.err
2488225116 rm -f conftest.er1
2488325117 cat conftest.err >&5
2488425118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
25119 (exit $ac_status); } && {
25120 test -z "$ac_c_werror_flag" ||
25121 test ! -s conftest.err
25122 } && test -s conftest.$ac_objext; then
25123 am_cv_proto_iconv_arg1=""
25124 else
25125 echo "$as_me: failed program was:" >&5
25126 sed 's/^/| /' conftest.$ac_ext >&5
25127
25128 am_cv_proto_iconv_arg1="const"
25129 fi
25130
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
25133 fi
25134
25135 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25136 { echo "$as_me:$LINENO: result: ${ac_t:-
25137 }$am_cv_proto_iconv" >&5
25138 echo "${ECHO_T}${ac_t:-
25139 }$am_cv_proto_iconv" >&6; }
25140
25141 cat >>confdefs.h <<_ACEOF
25142 #define ICONV_CONST $am_cv_proto_iconv_arg1
25143 _ACEOF
25144
25145 fi
25146
25147
25148 { echo "$as_me:$LINENO: checking for NL_LOCALE_NAME macro" >&5
25149 echo $ECHO_N "checking for NL_LOCALE_NAME macro... $ECHO_C" >&6; }
25150 if test "${gt_cv_nl_locale_name+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 else
25153 cat >conftest.$ac_ext <<_ACEOF
25154 /* confdefs.h. */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25159 #include <langinfo.h>
25160 #include <locale.h>
25161 int
25162 main ()
25163 {
25164 char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));
25165 ;
25166 return 0;
25167 }
25168 _ACEOF
25169 rm -f conftest.$ac_objext conftest$ac_exeext
25170 if { (ac_try="$ac_link"
25171 case "(($ac_try" in
25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25173 *) ac_try_echo=$ac_try;;
25174 esac
25175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25176 (eval "$ac_link") 2>conftest.er1
25177 ac_status=$?
25178 grep -v '^ *+' conftest.er1 >conftest.err
25179 rm -f conftest.er1
25180 cat conftest.err >&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } && {
25183 test -z "$ac_c_werror_flag" ||
25184 test ! -s conftest.err
25185 } && test -s conftest$ac_exeext &&
25186 $as_test_x conftest$ac_exeext; then
25187 gt_cv_nl_locale_name=yes
25188 else
25189 echo "$as_me: failed program was:" >&5
25190 sed 's/^/| /' conftest.$ac_ext >&5
25191
25192 gt_cv_nl_locale_name=no
25193 fi
25194
25195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25196 conftest$ac_exeext conftest.$ac_ext
25197
25198 fi
25199 { echo "$as_me:$LINENO: result: $gt_cv_nl_locale_name" >&5
25200 echo "${ECHO_T}$gt_cv_nl_locale_name" >&6; }
25201 if test $gt_cv_nl_locale_name = yes; then
25202
25203 cat >>confdefs.h <<\_ACEOF
25204 #define HAVE_NL_LOCALE_NAME 1
25205 _ACEOF
25206
25207 fi
25208
25209 for ac_prog in bison
25210 do
25211 # Extract the first word of "$ac_prog", so it can be a program name with args.
25212 set dummy $ac_prog; ac_word=$2
25213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25215 if test "${ac_cv_prog_INTLBISON+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 else
25218 if test -n "$INTLBISON"; then
25219 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
25220 else
25221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25222 for as_dir in $PATH
25223 do
25224 IFS=$as_save_IFS
25225 test -z "$as_dir" && as_dir=.
25226 for ac_exec_ext in '' $ac_executable_extensions; do
25227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25228 ac_cv_prog_INTLBISON="$ac_prog"
25229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25230 break 2
25231 fi
25232 done
25233 done
25234 IFS=$as_save_IFS
25235
25236 fi
25237 fi
25238 INTLBISON=$ac_cv_prog_INTLBISON
25239 if test -n "$INTLBISON"; then
25240 { echo "$as_me:$LINENO: result: $INTLBISON" >&5
25241 echo "${ECHO_T}$INTLBISON" >&6; }
25242 else
25243 { echo "$as_me:$LINENO: result: no" >&5
25244 echo "${ECHO_T}no" >&6; }
25245 fi
25246
25247
25248 test -n "$INTLBISON" && break
25249 done
25250
25251 if test -z "$INTLBISON"; then
25252 ac_verc_fail=yes
25253 else
25254 { echo "$as_me:$LINENO: checking version of bison" >&5
25255 echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
25256 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
25257 case $ac_prog_version in
25258 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
25259 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
25260 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
25261 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
25262 esac
25263 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
25264 echo "${ECHO_T}$ac_prog_version" >&6; }
25265 fi
25266 if test $ac_verc_fail = yes; then
25267 INTLBISON=:
25268 fi
25269
25270
25271 { echo "$as_me:$LINENO: checking for long long int" >&5
25272 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
25273 if test "${ac_cv_type_long_long_int+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 cat >conftest.$ac_ext <<_ACEOF
25277 /* confdefs.h. */
25278 _ACEOF
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25282 long long int ll = 9223372036854775807ll;
25283 long long int nll = -9223372036854775807LL;
25284 typedef int a[((-9223372036854775807LL < 0
25285 && 0 < 9223372036854775807ll)
25286 ? 1 : -1)];
25287 int i = 63;
25288 int
25289 main ()
25290 {
25291 long long int llmax = 9223372036854775807ll;
25292 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
25293 | (llmax / ll) | (llmax % ll));
25294 ;
25295 return 0;
25296 }
25297 _ACEOF
25298 rm -f conftest.$ac_objext conftest$ac_exeext
25299 if { (ac_try="$ac_link"
25300 case "(($ac_try" in
25301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25302 *) ac_try_echo=$ac_try;;
25303 esac
25304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25305 (eval "$ac_link") 2>conftest.er1
25306 ac_status=$?
25307 grep -v '^ *+' conftest.er1 >conftest.err
25308 rm -f conftest.er1
25309 cat conftest.err >&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); } && {
25312 test -z "$ac_c_werror_flag" ||
25313 test ! -s conftest.err
25314 } && test -s conftest$ac_exeext &&
25315 $as_test_x conftest$ac_exeext; then
25316 ac_cv_type_long_long_int=yes
25317 else
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321 ac_cv_type_long_long_int=no
25322 fi
25323
25324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25325 conftest$ac_exeext conftest.$ac_ext
25326 fi
25327 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
25328 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
25329 if test $ac_cv_type_long_long_int = yes; then
25330
25331 cat >>confdefs.h <<\_ACEOF
25332 #define HAVE_LONG_LONG_INT 1
25333 _ACEOF
25334
25335 fi
25336
25337
25338 { echo "$as_me:$LINENO: checking for long double" >&5
25339 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
25340 if test "${gt_cv_c_long_double+set}" = set; then
25341 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 else
25343 if test "$GCC" = yes; then
25344 gt_cv_c_long_double=yes
25345 else
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352
25353 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
25354 long double foo = 0.0;
25355 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
25356 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
25357
25358 int
25359 main ()
25360 {
25361
25362 ;
25363 return 0;
25364 }
25365 _ACEOF
25366 rm -f conftest.$ac_objext
25367 if { (ac_try="$ac_compile"
25368 case "(($ac_try" in
25369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25370 *) ac_try_echo=$ac_try;;
25371 esac
25372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25373 (eval "$ac_compile") 2>conftest.er1
25374 ac_status=$?
25375 grep -v '^ *+' conftest.er1 >conftest.err
25376 rm -f conftest.er1
25377 cat conftest.err >&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } && {
25380 test -z "$ac_c_werror_flag" ||
25381 test ! -s conftest.err
25382 } && test -s conftest.$ac_objext; then
25383 gt_cv_c_long_double=yes
25384 else
25385 echo "$as_me: failed program was:" >&5
25386 sed 's/^/| /' conftest.$ac_ext >&5
25387
25388 gt_cv_c_long_double=no
25389 fi
25390
25391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 fi
25393 fi
25394 { echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
25395 echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
25396 if test $gt_cv_c_long_double = yes; then
25397
25398 cat >>confdefs.h <<\_ACEOF
25399 #define HAVE_LONG_DOUBLE 1
25400 _ACEOF
25401
25402 fi
25403
25404
25405 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25406 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25407 if test "${gt_cv_c_wchar_t+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25409 else
25410 cat >conftest.$ac_ext <<_ACEOF
25411 /* confdefs.h. */
25412 _ACEOF
25413 cat confdefs.h >>conftest.$ac_ext
25414 cat >>conftest.$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25416 #include <stddef.h>
25417 wchar_t foo = (wchar_t)'\0';
25418 int
25419 main ()
25420 {
25421
25422 ;
25423 return 0;
25424 }
25425 _ACEOF
25426 rm -f conftest.$ac_objext
25427 if { (ac_try="$ac_compile"
25428 case "(($ac_try" in
25429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25430 *) ac_try_echo=$ac_try;;
25431 esac
25432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25433 (eval "$ac_compile") 2>conftest.er1
25434 ac_status=$?
25435 grep -v '^ *+' conftest.er1 >conftest.err
25436 rm -f conftest.er1
25437 cat conftest.err >&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); } && {
25440 test -z "$ac_c_werror_flag" ||
25441 test ! -s conftest.err
25442 } && test -s conftest.$ac_objext; then
25443 gt_cv_c_wchar_t=yes
25444 else
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.$ac_ext >&5
25447
25448 gt_cv_c_wchar_t=no
25449 fi
25450
25451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25452 fi
25453 { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
25454 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
25455 if test $gt_cv_c_wchar_t = yes; then
25456
25457 cat >>confdefs.h <<\_ACEOF
25458 #define HAVE_WCHAR_T 1
25459 _ACEOF
25460
25461 fi
25462
25463
25464 { echo "$as_me:$LINENO: checking for wint_t" >&5
25465 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
25466 if test "${gt_cv_c_wint_t+set}" = set; then
25467 echo $ECHO_N "(cached) $ECHO_C" >&6
25468 else
25469 cat >conftest.$ac_ext <<_ACEOF
25470 /* confdefs.h. */
25471 _ACEOF
25472 cat confdefs.h >>conftest.$ac_ext
25473 cat >>conftest.$ac_ext <<_ACEOF
25474 /* end confdefs.h. */
25475 #include <wchar.h>
25476 wint_t foo = (wchar_t)'\0';
25477 int
25478 main ()
25479 {
25480
25481 ;
25482 return 0;
25483 }
25484 _ACEOF
25485 rm -f conftest.$ac_objext
25486 if { (ac_try="$ac_compile"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25490 esac
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_compile") 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_c_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest.$ac_objext; then
25502 gt_cv_c_wint_t=yes
25503 else
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 gt_cv_c_wint_t=no
25508 fi
25509
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 fi
25512 { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
25513 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
25514 if test $gt_cv_c_wint_t = yes; then
25515
25516 cat >>confdefs.h <<\_ACEOF
25517 #define HAVE_WINT_T 1
25518 _ACEOF
25519
25520 fi
25521
25522
25523
25524
25525 { echo "$as_me:$LINENO: checking for intmax_t" >&5
25526 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
25527 if test "${gt_cv_c_intmax_t+set}" = set; then
25528 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 else
25530 cat >conftest.$ac_ext <<_ACEOF
25531 /* confdefs.h. */
25532 _ACEOF
25533 cat confdefs.h >>conftest.$ac_ext
25534 cat >>conftest.$ac_ext <<_ACEOF
25535 /* end confdefs.h. */
25536
25537 #include <stddef.h>
25538 #include <stdlib.h>
25539 #if HAVE_STDINT_H_WITH_UINTMAX
25540 #include <stdint.h>
25541 #endif
25542 #if HAVE_INTTYPES_H_WITH_UINTMAX
25543 #include <inttypes.h>
25544 #endif
25545
25546 int
25547 main ()
25548 {
25549 intmax_t x = -1;
25550 return !x;
25551 ;
25552 return 0;
25553 }
25554 _ACEOF
25555 rm -f conftest.$ac_objext
25556 if { (ac_try="$ac_compile"
25557 case "(($ac_try" in
25558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25559 *) ac_try_echo=$ac_try;;
25560 esac
25561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25562 (eval "$ac_compile") 2>conftest.er1
25563 ac_status=$?
25564 grep -v '^ *+' conftest.er1 >conftest.err
25565 rm -f conftest.er1
25566 cat conftest.err >&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } && {
25569 test -z "$ac_c_werror_flag" ||
25570 test ! -s conftest.err
25571 } && test -s conftest.$ac_objext; then
25572 gt_cv_c_intmax_t=yes
25573 else
25574 echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.$ac_ext >&5
25576
25577 gt_cv_c_intmax_t=no
25578 fi
25579
25580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581 fi
25582 { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
25583 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
25584 if test $gt_cv_c_intmax_t = yes; then
25585
25586 cat >>confdefs.h <<\_ACEOF
25587 #define HAVE_INTMAX_T 1
25588 _ACEOF
25589
25590 fi
25591
25592
25593
25594 { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
25595 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
25596 if test "${gt_cv_func_printf_posix+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25599
25600 if test "$cross_compiling" = yes; then
25601
25602 cat >conftest.$ac_ext <<_ACEOF
25603 /* confdefs.h. */
25604 _ACEOF
25605 cat confdefs.h >>conftest.$ac_ext
25606 cat >>conftest.$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25608
25609 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
25610 notposix
25611 #endif
25612
25613 _ACEOF
25614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25615 $EGREP "notposix" >/dev/null 2>&1; then
25616 gt_cv_func_printf_posix="guessing no"
25617 else
25618 gt_cv_func_printf_posix="guessing yes"
25619 fi
25620 rm -f conftest*
25621
25622
25623 else
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630
25631 #include <stdio.h>
25632 #include <string.h>
25633 /* The string "%2$d %1$d", with dollar characters protected from the shell's
25634 dollar expansion (possibly an autoconf bug). */
25635 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
25636 static char buf[100];
25637 int main ()
25638 {
25639 sprintf (buf, format, 33, 55);
25640 return (strcmp (buf, "55 33") != 0);
25641 }
25642 _ACEOF
25643 rm -f conftest$ac_exeext
25644 if { (ac_try="$ac_link"
25645 case "(($ac_try" in
25646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25648 esac
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_link") 2>&5
2488925651 ac_status=$?
2489025652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; } &&
24892 { ac_try='test -s conftest.$ac_objext'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
25653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25654 { (case "(($ac_try" in
25655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25656 *) ac_try_echo=$ac_try;;
25657 esac
25658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25659 (eval "$ac_try") 2>&5
2489525660 ac_status=$?
2489625661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489725662 (exit $ac_status); }; }; then
24898 am_cv_proto_iconv_arg1=""
25663 gt_cv_func_printf_posix=yes
25664 else
25665 echo "$as_me: program exited with status $ac_status" >&5
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 ( exit $ac_status )
25670 gt_cv_func_printf_posix=no
25671 fi
25672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25673 fi
25674
25675
25676
25677 fi
25678 { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
25679 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
25680 case $gt_cv_func_printf_posix in
25681 *yes)
25682
25683 cat >>confdefs.h <<\_ACEOF
25684 #define HAVE_POSIX_PRINTF 1
25685 _ACEOF
25686
25687 ;;
25688 esac
25689
25690
25691 { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
25692 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
25693 if test "${ac_cv_gnu_library_2_1+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25696 cat >conftest.$ac_ext <<_ACEOF
25697 /* confdefs.h. */
25698 _ACEOF
25699 cat confdefs.h >>conftest.$ac_ext
25700 cat >>conftest.$ac_ext <<_ACEOF
25701 /* end confdefs.h. */
25702
25703 #include <features.h>
25704 #ifdef __GNU_LIBRARY__
25705 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
25706 Lucky GNU user
25707 #endif
25708 #endif
25709
25710 _ACEOF
25711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25712 $EGREP "Lucky GNU user" >/dev/null 2>&1; then
25713 ac_cv_gnu_library_2_1=yes
25714 else
25715 ac_cv_gnu_library_2_1=no
25716 fi
25717 rm -f conftest*
25718
25719
25720
25721 fi
25722 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
25723 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
25724
25725 GLIBC21="$ac_cv_gnu_library_2_1"
25726
25727
25728
25729
25730 for ac_header in stdint.h
25731 do
25732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25734 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25737 echo $ECHO_N "(cached) $ECHO_C" >&6
25738 fi
25739 ac_res=`eval echo '${'$as_ac_Header'}'`
25740 { echo "$as_me:$LINENO: result: $ac_res" >&5
25741 echo "${ECHO_T}$ac_res" >&6; }
25742 else
25743 # Is the header compilable?
25744 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h. */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 $ac_includes_default
25753 #include <$ac_header>
25754 _ACEOF
25755 rm -f conftest.$ac_objext
25756 if { (ac_try="$ac_compile"
25757 case "(($ac_try" in
25758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25759 *) ac_try_echo=$ac_try;;
25760 esac
25761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25762 (eval "$ac_compile") 2>conftest.er1
25763 ac_status=$?
25764 grep -v '^ *+' conftest.er1 >conftest.err
25765 rm -f conftest.er1
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } && {
25769 test -z "$ac_c_werror_flag" ||
25770 test ! -s conftest.err
25771 } && test -s conftest.$ac_objext; then
25772 ac_header_compiler=yes
2489925773 else
2490025774 echo "$as_me: failed program was:" >&5
2490125775 sed 's/^/| /' conftest.$ac_ext >&5
2490225776
24903 am_cv_proto_iconv_arg1="const"
24904 fi
24905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24906 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
24907 fi
24908
24909 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24910 echo "$as_me:$LINENO: result: ${ac_t:-
24911 }$am_cv_proto_iconv" >&5
24912 echo "${ECHO_T}${ac_t:-
24913 }$am_cv_proto_iconv" >&6
25777 ac_header_compiler=no
25778 fi
25779
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25782 echo "${ECHO_T}$ac_header_compiler" >&6; }
25783
25784 # Is the header present?
25785 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25787 cat >conftest.$ac_ext <<_ACEOF
25788 /* confdefs.h. */
25789 _ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 #include <$ac_header>
25794 _ACEOF
25795 if { (ac_try="$ac_cpp conftest.$ac_ext"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } >/dev/null && {
25808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25809 test ! -s conftest.err
25810 }; then
25811 ac_header_preproc=yes
25812 else
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25815
25816 ac_header_preproc=no
25817 fi
25818
25819 rm -f conftest.err conftest.$ac_ext
25820 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25821 echo "${ECHO_T}$ac_header_preproc" >&6; }
25822
25823 # So? What about this header?
25824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25825 yes:no: )
25826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25830 ac_header_preproc=yes
25831 ;;
25832 no:yes:* )
25833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25845
25846 ;;
25847 esac
25848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 else
25853 eval "$as_ac_Header=\$ac_header_preproc"
25854 fi
25855 ac_res=`eval echo '${'$as_ac_Header'}'`
25856 { echo "$as_me:$LINENO: result: $ac_res" >&5
25857 echo "${ECHO_T}$ac_res" >&6; }
25858
25859 fi
25860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25861 cat >>confdefs.h <<_ACEOF
25862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25863 _ACEOF
25864
25865 fi
25866
25867 done
25868
25869 { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
25870 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
25871 if test "${gl_cv_size_max+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 else
25874
25875 gl_cv_size_max=
25876 cat >conftest.$ac_ext <<_ACEOF
25877 /* confdefs.h. */
25878 _ACEOF
25879 cat confdefs.h >>conftest.$ac_ext
25880 cat >>conftest.$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882
25883 #include <limits.h>
25884 #if HAVE_STDINT_H
25885 #include <stdint.h>
25886 #endif
25887 #ifdef SIZE_MAX
25888 Found it
25889 #endif
25890
25891 _ACEOF
25892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25893 $EGREP "Found it" >/dev/null 2>&1; then
25894 gl_cv_size_max=yes
25895 fi
25896 rm -f conftest*
25897
25898 if test -z "$gl_cv_size_max"; then
25899 if test "$cross_compiling" = yes; then
25900 # Depending upon the size, compute the lo and hi bounds.
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <stddef.h>
25908 #include <limits.h>
25909 int
25910 main ()
25911 {
25912 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
25913 test_array [0] = 0
25914
25915 ;
25916 return 0;
25917 }
25918 _ACEOF
25919 rm -f conftest.$ac_objext
25920 if { (ac_try="$ac_compile"
25921 case "(($ac_try" in
25922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25923 *) ac_try_echo=$ac_try;;
25924 esac
25925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25926 (eval "$ac_compile") 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } && {
25933 test -z "$ac_c_werror_flag" ||
25934 test ! -s conftest.err
25935 } && test -s conftest.$ac_objext; then
25936 ac_lo=0 ac_mid=0
25937 while :; do
25938 cat >conftest.$ac_ext <<_ACEOF
25939 /* confdefs.h. */
25940 _ACEOF
25941 cat confdefs.h >>conftest.$ac_ext
25942 cat >>conftest.$ac_ext <<_ACEOF
25943 /* end confdefs.h. */
25944 #include <stddef.h>
25945 #include <limits.h>
25946 int
25947 main ()
25948 {
25949 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
25950 test_array [0] = 0
25951
25952 ;
25953 return 0;
25954 }
25955 _ACEOF
25956 rm -f conftest.$ac_objext
25957 if { (ac_try="$ac_compile"
25958 case "(($ac_try" in
25959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25960 *) ac_try_echo=$ac_try;;
25961 esac
25962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25963 (eval "$ac_compile") 2>conftest.er1
25964 ac_status=$?
25965 grep -v '^ *+' conftest.er1 >conftest.err
25966 rm -f conftest.er1
25967 cat conftest.err >&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } && {
25970 test -z "$ac_c_werror_flag" ||
25971 test ! -s conftest.err
25972 } && test -s conftest.$ac_objext; then
25973 ac_hi=$ac_mid; break
25974 else
25975 echo "$as_me: failed program was:" >&5
25976 sed 's/^/| /' conftest.$ac_ext >&5
25977
25978 ac_lo=`expr $ac_mid + 1`
25979 if test $ac_lo -le $ac_mid; then
25980 ac_lo= ac_hi=
25981 break
25982 fi
25983 ac_mid=`expr 2 '*' $ac_mid + 1`
25984 fi
25985
25986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25987 done
25988 else
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.$ac_ext >&5
25991
25992 cat >conftest.$ac_ext <<_ACEOF
25993 /* confdefs.h. */
25994 _ACEOF
25995 cat confdefs.h >>conftest.$ac_ext
25996 cat >>conftest.$ac_ext <<_ACEOF
25997 /* end confdefs.h. */
25998 #include <stddef.h>
25999 #include <limits.h>
26000 int
26001 main ()
26002 {
26003 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
26004 test_array [0] = 0
26005
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext
26011 if { (ac_try="$ac_compile"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26015 esac
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_compile") 2>conftest.er1
26018 ac_status=$?
26019 grep -v '^ *+' conftest.er1 >conftest.err
26020 rm -f conftest.er1
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } && {
26024 test -z "$ac_c_werror_flag" ||
26025 test ! -s conftest.err
26026 } && test -s conftest.$ac_objext; then
26027 ac_hi=-1 ac_mid=-1
26028 while :; do
26029 cat >conftest.$ac_ext <<_ACEOF
26030 /* confdefs.h. */
26031 _ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26035 #include <stddef.h>
26036 #include <limits.h>
26037 int
26038 main ()
26039 {
26040 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
26041 test_array [0] = 0
26042
26043 ;
26044 return 0;
26045 }
26046 _ACEOF
26047 rm -f conftest.$ac_objext
26048 if { (ac_try="$ac_compile"
26049 case "(($ac_try" in
26050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26051 *) ac_try_echo=$ac_try;;
26052 esac
26053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26054 (eval "$ac_compile") 2>conftest.er1
26055 ac_status=$?
26056 grep -v '^ *+' conftest.er1 >conftest.err
26057 rm -f conftest.er1
26058 cat conftest.err >&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); } && {
26061 test -z "$ac_c_werror_flag" ||
26062 test ! -s conftest.err
26063 } && test -s conftest.$ac_objext; then
26064 ac_lo=$ac_mid; break
26065 else
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.$ac_ext >&5
26068
26069 ac_hi=`expr '(' $ac_mid ')' - 1`
26070 if test $ac_mid -le $ac_hi; then
26071 ac_lo= ac_hi=
26072 break
26073 fi
26074 ac_mid=`expr 2 '*' $ac_mid`
26075 fi
26076
26077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26078 done
26079 else
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083 ac_lo= ac_hi=
26084 fi
26085
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 fi
26088
26089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26090 # Binary search between lo and hi bounds.
26091 while test "x$ac_lo" != "x$ac_hi"; do
26092 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <stddef.h>
26100 #include <limits.h>
26101 int
26102 main ()
26103 {
26104 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
26105 test_array [0] = 0
26106
26107 ;
26108 return 0;
26109 }
26110 _ACEOF
26111 rm -f conftest.$ac_objext
26112 if { (ac_try="$ac_compile"
26113 case "(($ac_try" in
26114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26115 *) ac_try_echo=$ac_try;;
26116 esac
26117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26118 (eval "$ac_compile") 2>conftest.er1
26119 ac_status=$?
26120 grep -v '^ *+' conftest.er1 >conftest.err
26121 rm -f conftest.er1
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } && {
26125 test -z "$ac_c_werror_flag" ||
26126 test ! -s conftest.err
26127 } && test -s conftest.$ac_objext; then
26128 ac_hi=$ac_mid
26129 else
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26132
26133 ac_lo=`expr '(' $ac_mid ')' + 1`
26134 fi
26135
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137 done
26138 case $ac_lo in
26139 ?*) size_t_bits_minus_1=$ac_lo;;
26140 '') size_t_bits_minus_1= ;;
26141 esac
26142 else
26143 cat >conftest.$ac_ext <<_ACEOF
26144 /* confdefs.h. */
26145 _ACEOF
26146 cat confdefs.h >>conftest.$ac_ext
26147 cat >>conftest.$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 #include <stddef.h>
26150 #include <limits.h>
26151 static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
26152 static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
26153 #include <stdio.h>
26154 #include <stdlib.h>
26155 int
26156 main ()
26157 {
26158
26159 FILE *f = fopen ("conftest.val", "w");
26160 if (! f)
26161 return 1;
26162 if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
26163 {
26164 long int i = longval ();
26165 if (i != (sizeof (size_t) * CHAR_BIT - 1))
26166 return 1;
26167 fprintf (f, "%ld\n", i);
26168 }
26169 else
26170 {
26171 unsigned long int i = ulongval ();
26172 if (i != (sizeof (size_t) * CHAR_BIT - 1))
26173 return 1;
26174 fprintf (f, "%lu\n", i);
26175 }
26176 return ferror (f) || fclose (f) != 0;
26177
26178 ;
26179 return 0;
26180 }
26181 _ACEOF
26182 rm -f conftest$ac_exeext
26183 if { (ac_try="$ac_link"
26184 case "(($ac_try" in
26185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26186 *) ac_try_echo=$ac_try;;
26187 esac
26188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26189 (eval "$ac_link") 2>&5
26190 ac_status=$?
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26193 { (case "(($ac_try" in
26194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26195 *) ac_try_echo=$ac_try;;
26196 esac
26197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26198 (eval "$ac_try") 2>&5
26199 ac_status=$?
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; }; then
26202 size_t_bits_minus_1=`cat conftest.val`
26203 else
26204 echo "$as_me: program exited with status $ac_status" >&5
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.$ac_ext >&5
26207
26208 ( exit $ac_status )
26209 size_t_bits_minus_1=
26210 fi
26211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26212 fi
26213 rm -f conftest.val
26214
26215 if test "$cross_compiling" = yes; then
26216 # Depending upon the size, compute the lo and hi bounds.
26217 cat >conftest.$ac_ext <<_ACEOF
26218 /* confdefs.h. */
26219 _ACEOF
26220 cat confdefs.h >>conftest.$ac_ext
26221 cat >>conftest.$ac_ext <<_ACEOF
26222 /* end confdefs.h. */
26223 #include <stddef.h>
26224 int
26225 main ()
26226 {
26227 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
26228 test_array [0] = 0
26229
26230 ;
26231 return 0;
26232 }
26233 _ACEOF
26234 rm -f conftest.$ac_objext
26235 if { (ac_try="$ac_compile"
26236 case "(($ac_try" in
26237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26238 *) ac_try_echo=$ac_try;;
26239 esac
26240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26241 (eval "$ac_compile") 2>conftest.er1
26242 ac_status=$?
26243 grep -v '^ *+' conftest.er1 >conftest.err
26244 rm -f conftest.er1
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } && {
26248 test -z "$ac_c_werror_flag" ||
26249 test ! -s conftest.err
26250 } && test -s conftest.$ac_objext; then
26251 ac_lo=0 ac_mid=0
26252 while :; do
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 #include <stddef.h>
26260 int
26261 main ()
26262 {
26263 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
26264 test_array [0] = 0
26265
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 rm -f conftest.$ac_objext
26271 if { (ac_try="$ac_compile"
26272 case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26275 esac
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_compile") 2>conftest.er1
26278 ac_status=$?
26279 grep -v '^ *+' conftest.er1 >conftest.err
26280 rm -f conftest.er1
26281 cat conftest.err >&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && {
26284 test -z "$ac_c_werror_flag" ||
26285 test ! -s conftest.err
26286 } && test -s conftest.$ac_objext; then
26287 ac_hi=$ac_mid; break
26288 else
26289 echo "$as_me: failed program was:" >&5
26290 sed 's/^/| /' conftest.$ac_ext >&5
26291
26292 ac_lo=`expr $ac_mid + 1`
26293 if test $ac_lo -le $ac_mid; then
26294 ac_lo= ac_hi=
26295 break
26296 fi
26297 ac_mid=`expr 2 '*' $ac_mid + 1`
26298 fi
26299
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301 done
26302 else
26303 echo "$as_me: failed program was:" >&5
26304 sed 's/^/| /' conftest.$ac_ext >&5
26305
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <stddef.h>
26313 int
26314 main ()
26315 {
26316 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
26317 test_array [0] = 0
26318
26319 ;
26320 return 0;
26321 }
26322 _ACEOF
26323 rm -f conftest.$ac_objext
26324 if { (ac_try="$ac_compile"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26328 esac
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_compile") 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && {
26337 test -z "$ac_c_werror_flag" ||
26338 test ! -s conftest.err
26339 } && test -s conftest.$ac_objext; then
26340 ac_hi=-1 ac_mid=-1
26341 while :; do
26342 cat >conftest.$ac_ext <<_ACEOF
26343 /* confdefs.h. */
26344 _ACEOF
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26348 #include <stddef.h>
26349 int
26350 main ()
26351 {
26352 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
26353 test_array [0] = 0
26354
26355 ;
26356 return 0;
26357 }
26358 _ACEOF
26359 rm -f conftest.$ac_objext
26360 if { (ac_try="$ac_compile"
26361 case "(($ac_try" in
26362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26363 *) ac_try_echo=$ac_try;;
26364 esac
26365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26366 (eval "$ac_compile") 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } && {
26373 test -z "$ac_c_werror_flag" ||
26374 test ! -s conftest.err
26375 } && test -s conftest.$ac_objext; then
26376 ac_lo=$ac_mid; break
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 ac_hi=`expr '(' $ac_mid ')' - 1`
26382 if test $ac_mid -le $ac_hi; then
26383 ac_lo= ac_hi=
26384 break
26385 fi
26386 ac_mid=`expr 2 '*' $ac_mid`
26387 fi
26388
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 done
26391 else
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.$ac_ext >&5
26394
26395 ac_lo= ac_hi=
26396 fi
26397
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26399 fi
26400
26401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26402 # Binary search between lo and hi bounds.
26403 while test "x$ac_lo" != "x$ac_hi"; do
26404 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26405 cat >conftest.$ac_ext <<_ACEOF
26406 /* confdefs.h. */
26407 _ACEOF
26408 cat confdefs.h >>conftest.$ac_ext
26409 cat >>conftest.$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411 #include <stddef.h>
26412 int
26413 main ()
26414 {
26415 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
26416 test_array [0] = 0
26417
26418 ;
26419 return 0;
26420 }
26421 _ACEOF
26422 rm -f conftest.$ac_objext
26423 if { (ac_try="$ac_compile"
26424 case "(($ac_try" in
26425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26426 *) ac_try_echo=$ac_try;;
26427 esac
26428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26429 (eval "$ac_compile") 2>conftest.er1
26430 ac_status=$?
26431 grep -v '^ *+' conftest.er1 >conftest.err
26432 rm -f conftest.er1
26433 cat conftest.err >&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); } && {
26436 test -z "$ac_c_werror_flag" ||
26437 test ! -s conftest.err
26438 } && test -s conftest.$ac_objext; then
26439 ac_hi=$ac_mid
26440 else
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.$ac_ext >&5
26443
26444 ac_lo=`expr '(' $ac_mid ')' + 1`
26445 fi
26446
26447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26448 done
26449 case $ac_lo in
26450 ?*) fits_in_uint=$ac_lo;;
26451 '') fits_in_uint= ;;
26452 esac
26453 else
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 #include <stddef.h>
26461 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
26462 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
26463 #include <stdio.h>
26464 #include <stdlib.h>
26465 int
26466 main ()
26467 {
26468
26469 FILE *f = fopen ("conftest.val", "w");
26470 if (! f)
26471 return 1;
26472 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
26473 {
26474 long int i = longval ();
26475 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
26476 return 1;
26477 fprintf (f, "%ld\n", i);
26478 }
26479 else
26480 {
26481 unsigned long int i = ulongval ();
26482 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
26483 return 1;
26484 fprintf (f, "%lu\n", i);
26485 }
26486 return ferror (f) || fclose (f) != 0;
26487
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest$ac_exeext
26493 if { (ac_try="$ac_link"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26497 esac
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_link") 2>&5
26500 ac_status=$?
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26503 { (case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26506 esac
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_try") 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; }; then
26512 fits_in_uint=`cat conftest.val`
26513 else
26514 echo "$as_me: program exited with status $ac_status" >&5
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26517
26518 ( exit $ac_status )
26519 fits_in_uint=
26520 fi
26521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26522 fi
26523 rm -f conftest.val
26524
26525 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
26526 if test $fits_in_uint = 1; then
26527 cat >conftest.$ac_ext <<_ACEOF
26528 /* confdefs.h. */
26529 _ACEOF
26530 cat confdefs.h >>conftest.$ac_ext
26531 cat >>conftest.$ac_ext <<_ACEOF
26532 /* end confdefs.h. */
26533 #include <stddef.h>
26534 extern size_t foo;
26535 extern unsigned long foo;
26536
26537 int
26538 main ()
26539 {
26540
26541 ;
26542 return 0;
26543 }
26544 _ACEOF
26545 rm -f conftest.$ac_objext
26546 if { (ac_try="$ac_compile"
26547 case "(($ac_try" in
26548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26549 *) ac_try_echo=$ac_try;;
26550 esac
26551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26552 (eval "$ac_compile") 2>conftest.er1
26553 ac_status=$?
26554 grep -v '^ *+' conftest.er1 >conftest.err
26555 rm -f conftest.er1
26556 cat conftest.err >&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } && {
26559 test -z "$ac_c_werror_flag" ||
26560 test ! -s conftest.err
26561 } && test -s conftest.$ac_objext; then
26562 fits_in_uint=0
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567
26568 fi
26569
26570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26571 fi
26572 if test $fits_in_uint = 1; then
26573 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
26574 else
26575 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
26576 fi
26577 else
26578 gl_cv_size_max='((size_t)~(size_t)0)'
26579 fi
26580 fi
26581
26582 fi
26583
26584 { echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
26585 echo "${ECHO_T}$gl_cv_size_max" >&6; }
26586 if test "$gl_cv_size_max" != yes; then
2491426587
2491526588 cat >>confdefs.h <<_ACEOF
24916 #define ICONV_CONST $am_cv_proto_iconv_arg1
26589 #define SIZE_MAX $gl_cv_size_max
2491726590 _ACEOF
2491826591
2491926592 fi
2492026593
2492126594
24922 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
24923 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
26595
26596
26597
26598 for ac_header in stdint.h
26599 do
26600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 fi
26607 ac_res=`eval echo '${'$as_ac_Header'}'`
26608 { echo "$as_me:$LINENO: result: $ac_res" >&5
26609 echo "${ECHO_T}$ac_res" >&6; }
26610 else
26611 # Is the header compilable?
26612 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26614 cat >conftest.$ac_ext <<_ACEOF
26615 /* confdefs.h. */
26616 _ACEOF
26617 cat confdefs.h >>conftest.$ac_ext
26618 cat >>conftest.$ac_ext <<_ACEOF
26619 /* end confdefs.h. */
26620 $ac_includes_default
26621 #include <$ac_header>
26622 _ACEOF
26623 rm -f conftest.$ac_objext
26624 if { (ac_try="$ac_compile"
26625 case "(($ac_try" in
26626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26627 *) ac_try_echo=$ac_try;;
26628 esac
26629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26630 (eval "$ac_compile") 2>conftest.er1
26631 ac_status=$?
26632 grep -v '^ *+' conftest.er1 >conftest.err
26633 rm -f conftest.er1
26634 cat conftest.err >&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); } && {
26637 test -z "$ac_c_werror_flag" ||
26638 test ! -s conftest.err
26639 } && test -s conftest.$ac_objext; then
26640 ac_header_compiler=yes
26641 else
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.$ac_ext >&5
26644
26645 ac_header_compiler=no
26646 fi
26647
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26650 echo "${ECHO_T}$ac_header_compiler" >&6; }
26651
26652 # Is the header present?
26653 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 #include <$ac_header>
26662 _ACEOF
26663 if { (ac_try="$ac_cpp conftest.$ac_ext"
26664 case "(($ac_try" in
26665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26666 *) ac_try_echo=$ac_try;;
26667 esac
26668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26670 ac_status=$?
26671 grep -v '^ *+' conftest.er1 >conftest.err
26672 rm -f conftest.er1
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } >/dev/null && {
26676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26677 test ! -s conftest.err
26678 }; then
26679 ac_header_preproc=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26683
26684 ac_header_preproc=no
26685 fi
26686
26687 rm -f conftest.err conftest.$ac_ext
26688 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26689 echo "${ECHO_T}$ac_header_preproc" >&6; }
26690
26691 # So? What about this header?
26692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26693 yes:no: )
26694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26698 ac_header_preproc=yes
26699 ;;
26700 no:yes:* )
26701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26713
26714 ;;
26715 esac
26716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 else
26721 eval "$as_ac_Header=\$ac_header_preproc"
26722 fi
26723 ac_res=`eval echo '${'$as_ac_Header'}'`
26724 { echo "$as_me:$LINENO: result: $ac_res" >&5
26725 echo "${ECHO_T}$ac_res" >&6; }
26726
26727 fi
26728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26729 cat >>confdefs.h <<_ACEOF
26730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26731 _ACEOF
26732
26733 fi
26734
26735 done
26736
26737
26738
26739 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
26740 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
26741 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 gt_save_LIBS="$LIBS"
26745 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 #include <CoreFoundation/CFPreferences.h>
26753 int
26754 main ()
26755 {
26756 CFPreferencesCopyAppValue(NULL, NULL)
26757 ;
26758 return 0;
26759 }
26760 _ACEOF
26761 rm -f conftest.$ac_objext conftest$ac_exeext
26762 if { (ac_try="$ac_link"
26763 case "(($ac_try" in
26764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26765 *) ac_try_echo=$ac_try;;
26766 esac
26767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26768 (eval "$ac_link") 2>conftest.er1
26769 ac_status=$?
26770 grep -v '^ *+' conftest.er1 >conftest.err
26771 rm -f conftest.er1
26772 cat conftest.err >&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } && {
26775 test -z "$ac_c_werror_flag" ||
26776 test ! -s conftest.err
26777 } && test -s conftest$ac_exeext &&
26778 $as_test_x conftest$ac_exeext; then
26779 gt_cv_func_CFPreferencesCopyAppValue=yes
26780 else
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26783
26784 gt_cv_func_CFPreferencesCopyAppValue=no
26785 fi
26786
26787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26788 conftest$ac_exeext conftest.$ac_ext
26789 LIBS="$gt_save_LIBS"
26790 fi
26791 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
26792 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
26793 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
26794
26795 cat >>confdefs.h <<\_ACEOF
26796 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
26797 _ACEOF
26798
26799 fi
26800 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
26801 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
26802 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 else
26805 gt_save_LIBS="$LIBS"
26806 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
26807 cat >conftest.$ac_ext <<_ACEOF
26808 /* confdefs.h. */
26809 _ACEOF
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26813 #include <CoreFoundation/CFLocale.h>
26814 int
26815 main ()
26816 {
26817 CFLocaleCopyCurrent();
26818 ;
26819 return 0;
26820 }
26821 _ACEOF
26822 rm -f conftest.$ac_objext conftest$ac_exeext
26823 if { (ac_try="$ac_link"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826 *) ac_try_echo=$ac_try;;
26827 esac
26828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_link") 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } && {
26836 test -z "$ac_c_werror_flag" ||
26837 test ! -s conftest.err
26838 } && test -s conftest$ac_exeext &&
26839 $as_test_x conftest$ac_exeext; then
26840 gt_cv_func_CFLocaleCopyCurrent=yes
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 gt_cv_func_CFLocaleCopyCurrent=no
26846 fi
26847
26848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26849 conftest$ac_exeext conftest.$ac_ext
26850 LIBS="$gt_save_LIBS"
26851 fi
26852 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
26853 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
26854 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
26855
26856 cat >>confdefs.h <<\_ACEOF
26857 #define HAVE_CFLOCALECOPYCURRENT 1
26858 _ACEOF
26859
26860 fi
26861 INTL_MACOSX_LIBS=
26862 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
26863 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
26864 fi
26865
26866
26867
26868
26869
26870
26871
26872 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
26873 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
26874 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26877 cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h. */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883 $ac_includes_default
26884 typedef ptrdiff_t ac__type_new_;
26885 int
26886 main ()
26887 {
26888 if ((ac__type_new_ *) 0)
26889 return 0;
26890 if (sizeof (ac__type_new_))
26891 return 0;
26892 ;
26893 return 0;
26894 }
26895 _ACEOF
26896 rm -f conftest.$ac_objext
26897 if { (ac_try="$ac_compile"
26898 case "(($ac_try" in
26899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26900 *) ac_try_echo=$ac_try;;
26901 esac
26902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26903 (eval "$ac_compile") 2>conftest.er1
26904 ac_status=$?
26905 grep -v '^ *+' conftest.er1 >conftest.err
26906 rm -f conftest.er1
26907 cat conftest.err >&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); } && {
26910 test -z "$ac_c_werror_flag" ||
26911 test ! -s conftest.err
26912 } && test -s conftest.$ac_objext; then
26913 ac_cv_type_ptrdiff_t=yes
26914 else
26915 echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.$ac_ext >&5
26917
26918 ac_cv_type_ptrdiff_t=no
26919 fi
26920
26921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26922 fi
26923 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
26924 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
26925 if test $ac_cv_type_ptrdiff_t = yes; then
26926 :
26927 else
26928
26929 cat >>confdefs.h <<\_ACEOF
26930 #define ptrdiff_t long
26931 _ACEOF
26932
26933
26934 fi
26935
26936
26937
26938
26939 for ac_header in stddef.h stdlib.h string.h
26940 do
26941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 fi
26948 ac_res=`eval echo '${'$as_ac_Header'}'`
26949 { echo "$as_me:$LINENO: result: $ac_res" >&5
26950 echo "${ECHO_T}$ac_res" >&6; }
26951 else
26952 # Is the header compilable?
26953 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26955 cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h. */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 $ac_includes_default
26962 #include <$ac_header>
26963 _ACEOF
26964 rm -f conftest.$ac_objext
26965 if { (ac_try="$ac_compile"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_compile") 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_c_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest.$ac_objext; then
26981 ac_header_compiler=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 ac_header_compiler=no
26987 fi
26988
26989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26990 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26991 echo "${ECHO_T}$ac_header_compiler" >&6; }
26992
26993 # Is the header present?
26994 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26996 cat >conftest.$ac_ext <<_ACEOF
26997 /* confdefs.h. */
26998 _ACEOF
26999 cat confdefs.h >>conftest.$ac_ext
27000 cat >>conftest.$ac_ext <<_ACEOF
27001 /* end confdefs.h. */
27002 #include <$ac_header>
27003 _ACEOF
27004 if { (ac_try="$ac_cpp conftest.$ac_ext"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27008 esac
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } >/dev/null && {
27017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27018 test ! -s conftest.err
27019 }; then
27020 ac_header_preproc=yes
27021 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 ac_header_preproc=no
27026 fi
27027
27028 rm -f conftest.err conftest.$ac_ext
27029 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27030 echo "${ECHO_T}$ac_header_preproc" >&6; }
27031
27032 # So? What about this header?
27033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27034 yes:no: )
27035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27039 ac_header_preproc=yes
27040 ;;
27041 no:yes:* )
27042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27054
27055 ;;
27056 esac
27057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 else
27062 eval "$as_ac_Header=\$ac_header_preproc"
27063 fi
27064 ac_res=`eval echo '${'$as_ac_Header'}'`
27065 { echo "$as_me:$LINENO: result: $ac_res" >&5
27066 echo "${ECHO_T}$ac_res" >&6; }
27067
27068 fi
27069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27070 cat >>confdefs.h <<_ACEOF
27071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27072 _ACEOF
27073
27074 fi
27075
27076 done
27077
27078
27079
27080
27081
27082
27083
27084
27085 for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
27086 do
27087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27090 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27101 #define $ac_func innocuous_$ac_func
27102
27103 /* System header to define __stub macros and hopefully few prototypes,
27104 which can conflict with char $ac_func (); below.
27105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27106 <limits.h> exists even on freestanding compilers. */
27107
27108 #ifdef __STDC__
27109 # include <limits.h>
27110 #else
27111 # include <assert.h>
27112 #endif
27113
27114 #undef $ac_func
27115
27116 /* Override any GCC internal prototype to avoid an error.
27117 Use char because int might match the return type of a GCC
27118 builtin and then its argument prototype would still apply. */
27119 #ifdef __cplusplus
27120 extern "C"
27121 #endif
27122 char $ac_func ();
27123 /* The GNU C library defines this for functions which it implements
27124 to always fail with ENOSYS. Some functions are actually named
27125 something starting with __ and the normal name is an alias. */
27126 #if defined __stub_$ac_func || defined __stub___$ac_func
27127 choke me
27128 #endif
27129
27130 int
27131 main ()
27132 {
27133 return $ac_func ();
27134 ;
27135 return 0;
27136 }
27137 _ACEOF
27138 rm -f conftest.$ac_objext conftest$ac_exeext
27139 if { (ac_try="$ac_link"
27140 case "(($ac_try" in
27141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142 *) ac_try_echo=$ac_try;;
27143 esac
27144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27145 (eval "$ac_link") 2>conftest.er1
27146 ac_status=$?
27147 grep -v '^ *+' conftest.er1 >conftest.err
27148 rm -f conftest.er1
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } && {
27152 test -z "$ac_c_werror_flag" ||
27153 test ! -s conftest.err
27154 } && test -s conftest$ac_exeext &&
27155 $as_test_x conftest$ac_exeext; then
27156 eval "$as_ac_var=yes"
27157 else
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 eval "$as_ac_var=no"
27162 fi
27163
27164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27165 conftest$ac_exeext conftest.$ac_ext
27166 fi
27167 ac_res=`eval echo '${'$as_ac_var'}'`
27168 { echo "$as_me:$LINENO: result: $ac_res" >&5
27169 echo "${ECHO_T}$ac_res" >&6; }
27170 if test `eval echo '${'$as_ac_var'}'` = yes; then
27171 cat >>confdefs.h <<_ACEOF
27172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27173 _ACEOF
27174
27175 fi
27176 done
27177
27178
27179
27180 { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
27181 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
27182 if test "${ac_cv_have_decl__snprintf+set}" = set; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 else
27185 cat >conftest.$ac_ext <<_ACEOF
27186 /* confdefs.h. */
27187 _ACEOF
27188 cat confdefs.h >>conftest.$ac_ext
27189 cat >>conftest.$ac_ext <<_ACEOF
27190 /* end confdefs.h. */
27191 #include <stdio.h>
27192 int
27193 main ()
27194 {
27195
27196 #ifndef _snprintf
27197 char *p = (char *) _snprintf;
27198 #endif
27199
27200 ;
27201 return 0;
27202 }
27203 _ACEOF
27204 rm -f conftest.$ac_objext
27205 if { (ac_try="$ac_compile"
27206 case "(($ac_try" in
27207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27208 *) ac_try_echo=$ac_try;;
27209 esac
27210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27211 (eval "$ac_compile") 2>conftest.er1
27212 ac_status=$?
27213 grep -v '^ *+' conftest.er1 >conftest.err
27214 rm -f conftest.er1
27215 cat conftest.err >&5
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && {
27218 test -z "$ac_c_werror_flag" ||
27219 test ! -s conftest.err
27220 } && test -s conftest.$ac_objext; then
27221 ac_cv_have_decl__snprintf=yes
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 ac_cv_have_decl__snprintf=no
27227 fi
27228
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27230 fi
27231 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
27232 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
27233 if test $ac_cv_have_decl__snprintf = yes; then
27234 gt_value=1
27235 else
27236 gt_value=0
27237 fi
27238
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE_DECL__SNPRINTF $gt_value
27241 _ACEOF
27242
27243
27244
27245 { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
27246 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
27247 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
27248 echo $ECHO_N "(cached) $ECHO_C" >&6
27249 else
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <stdio.h>
27257 int
27258 main ()
27259 {
27260
27261 #ifndef _snwprintf
27262 char *p = (char *) _snwprintf;
27263 #endif
27264
27265 ;
27266 return 0;
27267 }
27268 _ACEOF
27269 rm -f conftest.$ac_objext
27270 if { (ac_try="$ac_compile"
27271 case "(($ac_try" in
27272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27273 *) ac_try_echo=$ac_try;;
27274 esac
27275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27276 (eval "$ac_compile") 2>conftest.er1
27277 ac_status=$?
27278 grep -v '^ *+' conftest.er1 >conftest.err
27279 rm -f conftest.er1
27280 cat conftest.err >&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } && {
27283 test -z "$ac_c_werror_flag" ||
27284 test ! -s conftest.err
27285 } && test -s conftest.$ac_objext; then
27286 ac_cv_have_decl__snwprintf=yes
27287 else
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27290
27291 ac_cv_have_decl__snwprintf=no
27292 fi
27293
27294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27295 fi
27296 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
27297 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
27298 if test $ac_cv_have_decl__snwprintf = yes; then
27299 gt_value=1
27300 else
27301 gt_value=0
27302 fi
27303
27304 cat >>confdefs.h <<_ACEOF
27305 #define HAVE_DECL__SNWPRINTF $gt_value
27306 _ACEOF
27307
27308
27309
27310
27311 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
27312 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
27313 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
27314 echo $ECHO_N "(cached) $ECHO_C" >&6
27315 else
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 #include <stdio.h>
27323 int
27324 main ()
27325 {
27326
27327 #ifndef getc_unlocked
27328 char *p = (char *) getc_unlocked;
27329 #endif
27330
27331 ;
27332 return 0;
27333 }
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 *) ac_try_echo=$ac_try;;
27340 esac
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27343 ac_status=$?
27344 grep -v '^ *+' conftest.er1 >conftest.err
27345 rm -f conftest.er1
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.$ac_objext; then
27352 ac_cv_have_decl_getc_unlocked=yes
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27356
27357 ac_cv_have_decl_getc_unlocked=no
27358 fi
27359
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27361 fi
27362 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
27363 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
27364 if test $ac_cv_have_decl_getc_unlocked = yes; then
27365 gt_value=1
27366 else
27367 gt_value=0
27368 fi
27369
27370 cat >>confdefs.h <<_ACEOF
27371 #define HAVE_DECL_GETC_UNLOCKED $gt_value
27372 _ACEOF
27373
27374
27375
27376 case $gt_cv_func_printf_posix in
27377 *yes) HAVE_POSIX_PRINTF=1 ;;
27378 *) HAVE_POSIX_PRINTF=0 ;;
27379 esac
27380
27381 if test "$ac_cv_func_asprintf" = yes; then
27382 HAVE_ASPRINTF=1
27383 else
27384 HAVE_ASPRINTF=0
27385 fi
27386
27387 if test "$ac_cv_func_snprintf" = yes; then
27388 HAVE_SNPRINTF=1
27389 else
27390 HAVE_SNPRINTF=0
27391 fi
27392
27393 if test "$ac_cv_func_wprintf" = yes; then
27394 HAVE_WPRINTF=1
27395 else
27396 HAVE_WPRINTF=0
27397 fi
27398
27399
27400
27401 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
27402 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
2492427403 if test "${am_cv_langinfo_codeset+set}" = set; then
2492527404 echo $ECHO_N "(cached) $ECHO_C" >&6
2492627405 else
2493427413 int
2493527414 main ()
2493627415 {
24937 char* cs = nl_langinfo(CODESET);
27416 char* cs = nl_langinfo(CODESET); return !cs;
2493827417 ;
2493927418 return 0;
2494027419 }
2494127420 _ACEOF
2494227421 rm -f conftest.$ac_objext conftest$ac_exeext
24943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24944 (eval $ac_link) 2>conftest.er1
27422 if { (ac_try="$ac_link"
27423 case "(($ac_try" in
27424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27425 *) ac_try_echo=$ac_try;;
27426 esac
27427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27428 (eval "$ac_link") 2>conftest.er1
2494527429 ac_status=$?
2494627430 grep -v '^ *+' conftest.er1 >conftest.err
2494727431 rm -f conftest.er1
2494827432 cat conftest.err >&5
2494927433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); } &&
24951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953 (eval $ac_try) 2>&5
24954 ac_status=$?
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); }; } &&
24957 { ac_try='test -s conftest$ac_exeext'
24958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959 (eval $ac_try) 2>&5
24960 ac_status=$?
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; }; then
27434 (exit $ac_status); } && {
27435 test -z "$ac_c_werror_flag" ||
27436 test ! -s conftest.err
27437 } && test -s conftest$ac_exeext &&
27438 $as_test_x conftest$ac_exeext; then
2496327439 am_cv_langinfo_codeset=yes
2496427440 else
2496527441 echo "$as_me: failed program was:" >&5
2496627442 sed 's/^/| /' conftest.$ac_ext >&5
2496727443
24968 am_cv_langinfo_codeset=no
24969 fi
24970 rm -f conftest.err conftest.$ac_objext \
27444 am_cv_langinfo_codeset=no
27445 fi
27446
27447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2497127448 conftest$ac_exeext conftest.$ac_ext
2497227449
2497327450 fi
24974 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
24975 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
27451 { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
27452 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
2497627453 if test $am_cv_langinfo_codeset = yes; then
2497727454
2497827455 cat >>confdefs.h <<\_ACEOF
2498127458
2498227459 fi
2498327460
24984 if test $ac_cv_header_locale_h = yes; then
24985
24986 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
24987 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
27461
27462 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
27463 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
2498827464 if test "${gt_cv_val_LC_MESSAGES+set}" = set; then
2498927465 echo $ECHO_N "(cached) $ECHO_C" >&6
2499027466 else
2500427480 }
2500527481 _ACEOF
2500627482 rm -f conftest.$ac_objext conftest$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
27483 if { (ac_try="$ac_link"
27484 case "(($ac_try" in
27485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27486 *) ac_try_echo=$ac_try;;
27487 esac
27488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27489 (eval "$ac_link") 2>conftest.er1
2500927490 ac_status=$?
2501027491 grep -v '^ *+' conftest.er1 >conftest.err
2501127492 rm -f conftest.er1
2501227493 cat conftest.err >&5
2501327494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25018 ac_status=$?
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try='test -s conftest$ac_exeext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
27495 (exit $ac_status); } && {
27496 test -z "$ac_c_werror_flag" ||
27497 test ! -s conftest.err
27498 } && test -s conftest$ac_exeext &&
27499 $as_test_x conftest$ac_exeext; then
2502727500 gt_cv_val_LC_MESSAGES=yes
2502827501 else
2502927502 echo "$as_me: failed program was:" >&5
2503027503 sed 's/^/| /' conftest.$ac_ext >&5
2503127504
25032 gt_cv_val_LC_MESSAGES=no
25033 fi
25034 rm -f conftest.err conftest.$ac_objext \
27505 gt_cv_val_LC_MESSAGES=no
27506 fi
27507
27508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2503527509 conftest$ac_exeext conftest.$ac_ext
2503627510 fi
25037 echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5
25038 echo "${ECHO_T}$gt_cv_val_LC_MESSAGES" >&6
27511 { echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5
27512 echo "${ECHO_T}$gt_cv_val_LC_MESSAGES" >&6; }
2503927513 if test $gt_cv_val_LC_MESSAGES = yes; then
2504027514
2504127515 cat >>confdefs.h <<\_ACEOF
2504427518
2504527519 fi
2504627520
27521
27522 if test "$enable_shared" = yes; then
27523 case "$host_os" in
27524 cygwin*) is_woe32dll=yes ;;
27525 *) is_woe32dll=no ;;
27526 esac
27527 else
27528 is_woe32dll=no
2504727529 fi
25048
25049 if test -n "$INTL_MACOSX_LIBS"; then
25050 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
25051 fi
25052
25053 for ac_prog in bison
25054 do
25055 # Extract the first word of "$ac_prog", so it can be a program name with args.
25056 set dummy $ac_prog; ac_word=$2
25057 echo "$as_me:$LINENO: checking for $ac_word" >&5
25058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25059 if test "${ac_cv_prog_INTLBISON+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 if test -n "$INTLBISON"; then
25063 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
25064 else
25065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25066 for as_dir in $PATH
25067 do
25068 IFS=$as_save_IFS
25069 test -z "$as_dir" && as_dir=.
25070 for ac_exec_ext in '' $ac_executable_extensions; do
25071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25072 ac_cv_prog_INTLBISON="$ac_prog"
25073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25074 break 2
25075 fi
25076 done
25077 done
25078
25079 fi
25080 fi
25081 INTLBISON=$ac_cv_prog_INTLBISON
25082 if test -n "$INTLBISON"; then
25083 echo "$as_me:$LINENO: result: $INTLBISON" >&5
25084 echo "${ECHO_T}$INTLBISON" >&6
25085 else
25086 echo "$as_me:$LINENO: result: no" >&5
25087 echo "${ECHO_T}no" >&6
25088 fi
25089
25090 test -n "$INTLBISON" && break
25091 done
25092
25093 if test -z "$INTLBISON"; then
25094 ac_verc_fail=yes
25095 else
25096 echo "$as_me:$LINENO: checking version of bison" >&5
25097 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
25098 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
25099 case $ac_prog_version in
25100 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
25101 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
25102 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
25103 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
25104 esac
25105 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
25106 echo "${ECHO_T}$ac_prog_version" >&6
25107 fi
25108 if test $ac_verc_fail = yes; then
25109 INTLBISON=:
25110 fi
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127 echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
25128 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
27530 WOE32DLL=$is_woe32dll
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
27559 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
2512927560 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
2513027561 echo $ECHO_N "(cached) $ECHO_C" >&6
2513127562 else
25132 gt_save_CPPFLAGS="$CPPFLAGS"
25133 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
25134 gt_save_LIBS="$LIBS"
25135 LIBS="$LIBS -framework CoreFoundation"
27563 gt_save_LIBS="$LIBS"
27564 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
2513627565 cat >conftest.$ac_ext <<_ACEOF
2513727566 /* confdefs.h. */
2513827567 _ACEOF
2513927568 cat confdefs.h >>conftest.$ac_ext
2514027569 cat >>conftest.$ac_ext <<_ACEOF
2514127570 /* end confdefs.h. */
25142 #include <CFPreferences.h>
27571 #include <CoreFoundation/CFPreferences.h>
2514327572 int
2514427573 main ()
2514527574 {
2514927578 }
2515027579 _ACEOF
2515127580 rm -f conftest.$ac_objext conftest$ac_exeext
25152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25153 (eval $ac_link) 2>conftest.er1
27581 if { (ac_try="$ac_link"
27582 case "(($ac_try" in
27583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27584 *) ac_try_echo=$ac_try;;
27585 esac
27586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27587 (eval "$ac_link") 2>conftest.er1
2515427588 ac_status=$?
2515527589 grep -v '^ *+' conftest.er1 >conftest.err
2515627590 rm -f conftest.er1
2515727591 cat conftest.err >&5
2515827592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25163 ac_status=$?
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; } &&
25166 { ac_try='test -s conftest$ac_exeext'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25169 ac_status=$?
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; }; then
27593 (exit $ac_status); } && {
27594 test -z "$ac_c_werror_flag" ||
27595 test ! -s conftest.err
27596 } && test -s conftest$ac_exeext &&
27597 $as_test_x conftest$ac_exeext; then
2517227598 gt_cv_func_CFPreferencesCopyAppValue=yes
2517327599 else
2517427600 echo "$as_me: failed program was:" >&5
2517527601 sed 's/^/| /' conftest.$ac_ext >&5
2517627602
25177 gt_cv_func_CFPreferencesCopyAppValue=no
25178 fi
25179 rm -f conftest.err conftest.$ac_objext \
27603 gt_cv_func_CFPreferencesCopyAppValue=no
27604 fi
27605
27606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2518027607 conftest$ac_exeext conftest.$ac_ext
25181 CPPFLAGS="$gt_save_CPPFLAGS"
2518227608 LIBS="$gt_save_LIBS"
2518327609 fi
25184 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
25185 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
27610 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
27611 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
2518627612 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
2518727613
2518827614 cat >>confdefs.h <<\_ACEOF
2519027616 _ACEOF
2519127617
2519227618 fi
25193 echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
25194 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
27619 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
27620 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
2519527621 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
2519627622 echo $ECHO_N "(cached) $ECHO_C" >&6
2519727623 else
25198 gt_save_CPPFLAGS="$CPPFLAGS"
25199 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
25200 gt_save_LIBS="$LIBS"
25201 LIBS="$LIBS -framework CoreFoundation"
27624 gt_save_LIBS="$LIBS"
27625 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
2520227626 cat >conftest.$ac_ext <<_ACEOF
2520327627 /* confdefs.h. */
2520427628 _ACEOF
2520527629 cat confdefs.h >>conftest.$ac_ext
2520627630 cat >>conftest.$ac_ext <<_ACEOF
2520727631 /* end confdefs.h. */
25208 #include <CFLocale.h>
27632 #include <CoreFoundation/CFLocale.h>
2520927633 int
2521027634 main ()
2521127635 {
2521527639 }
2521627640 _ACEOF
2521727641 rm -f conftest.$ac_objext conftest$ac_exeext
25218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25219 (eval $ac_link) 2>conftest.er1
27642 if { (ac_try="$ac_link"
27643 case "(($ac_try" in
27644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27645 *) ac_try_echo=$ac_try;;
27646 esac
27647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27648 (eval "$ac_link") 2>conftest.er1
2522027649 ac_status=$?
2522127650 grep -v '^ *+' conftest.er1 >conftest.err
2522227651 rm -f conftest.er1
2522327652 cat conftest.err >&5
2522427653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); } &&
25226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25229 ac_status=$?
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; } &&
25232 { ac_try='test -s conftest$ac_exeext'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; }; then
27654 (exit $ac_status); } && {
27655 test -z "$ac_c_werror_flag" ||
27656 test ! -s conftest.err
27657 } && test -s conftest$ac_exeext &&
27658 $as_test_x conftest$ac_exeext; then
2523827659 gt_cv_func_CFLocaleCopyCurrent=yes
2523927660 else
2524027661 echo "$as_me: failed program was:" >&5
2524127662 sed 's/^/| /' conftest.$ac_ext >&5
2524227663
25243 gt_cv_func_CFLocaleCopyCurrent=no
25244 fi
25245 rm -f conftest.err conftest.$ac_objext \
27664 gt_cv_func_CFLocaleCopyCurrent=no
27665 fi
27666
27667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2524627668 conftest$ac_exeext conftest.$ac_ext
25247 CPPFLAGS="$gt_save_CPPFLAGS"
2524827669 LIBS="$gt_save_LIBS"
2524927670 fi
25250 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
25251 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
27671 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
27672 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
2525227673 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
2525327674
2525427675 cat >>confdefs.h <<\_ACEOF
2526427685
2526527686
2526627687
25267 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
25268 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
25269 # Check whether --enable-nls or --disable-nls was given.
25270 if test "${enable_nls+set}" = set; then
25271 enableval="$enable_nls"
25272 USE_NLS=$enableval
25273 else
25274 USE_NLS=yes
25275 fi;
25276 echo "$as_me:$LINENO: result: $USE_NLS" >&5
25277 echo "${ECHO_T}$USE_NLS" >&6
25278
25279
2528027688
2528127689
2528227690 BUILD_INCLUDED_LIBINTL=no
2528627694 LTLIBINTL=
2528727695 POSUB=
2528827696
27697 case " $gt_needs " in
27698 *" need-formatstring-macros "*) gt_api_version=3 ;;
27699 *" need-ngettext "*) gt_api_version=2 ;;
27700 *) gt_api_version=1 ;;
27701 esac
27702 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
27703 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
27704
2528927705 if test "$USE_NLS" = "yes"; then
2529027706 gt_use_preinstalled_gnugettext=no
2529127707
25292 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
25293 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
25294
25295 # Check whether --with-included-gettext or --without-included-gettext was given.
27708 { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
27709 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
27710
27711 # Check whether --with-included-gettext was given.
2529627712 if test "${with_included_gettext+set}" = set; then
25297 withval="$with_included_gettext"
25298 nls_cv_force_use_gnu_gettext=$withval
27713 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
2529927714 else
2530027715 nls_cv_force_use_gnu_gettext=no
25301 fi;
25302 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
25303 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
27716 fi
27717
27718 { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
27719 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
2530427720
2530527721 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
2530627722 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2530727723
2530827724
25309
25310
25311
25312
25313 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
25314 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
25315 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
27725 if test $gt_api_version -ge 3; then
27726 gt_revision_test_code='
27727 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
27728 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
27729 #endif
27730 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
27731 '
27732 else
27733 gt_revision_test_code=
27734 fi
27735 if test $gt_api_version -ge 2; then
27736 gt_expression_test_code=' + * ngettext ("", "", 0)'
27737 else
27738 gt_expression_test_code=
27739 fi
27740
27741 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
27742 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
27743 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
2531627744 echo $ECHO_N "(cached) $ECHO_C" >&6
2531727745 else
2531827746 cat >conftest.$ac_ext <<_ACEOF
2532227750 cat >>conftest.$ac_ext <<_ACEOF
2532327751 /* end confdefs.h. */
2532427752 #include <libintl.h>
27753 $gt_revision_test_code
2532527754 extern int _nl_msg_cat_cntr;
2532627755 extern int *_nl_domain_bindings;
2532727756 int
2532827757 main ()
2532927758 {
2533027759 bindtextdomain ("", "");
25331 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
27760 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
2533227761 ;
2533327762 return 0;
2533427763 }
2533527764 _ACEOF
2533627765 rm -f conftest.$ac_objext conftest$ac_exeext
25337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25338 (eval $ac_link) 2>conftest.er1
27766 if { (ac_try="$ac_link"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27770 esac
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_link") 2>conftest.er1
2533927773 ac_status=$?
2534027774 grep -v '^ *+' conftest.er1 >conftest.err
2534127775 rm -f conftest.er1
2534227776 cat conftest.err >&5
2534327777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } &&
25345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 gt_cv_func_gnugettext1_libc=yes
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest$ac_exeext &&
27782 $as_test_x conftest$ac_exeext; then
27783 eval "$gt_func_gnugettext_libc=yes"
2535827784 else
2535927785 echo "$as_me: failed program was:" >&5
2536027786 sed 's/^/| /' conftest.$ac_ext >&5
2536127787
25362 gt_cv_func_gnugettext1_libc=no
25363 fi
25364 rm -f conftest.err conftest.$ac_objext \
27788 eval "$gt_func_gnugettext_libc=no"
27789 fi
27790
27791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2536527792 conftest$ac_exeext conftest.$ac_ext
2536627793 fi
25367 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
25368 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
25369
25370 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
27794 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
27795 { echo "$as_me:$LINENO: result: $ac_res" >&5
27796 echo "${ECHO_T}$ac_res" >&6; }
27797
27798 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
27799
2537127800
2537227801
2537327802
2538527814 prefix="$acl_save_prefix"
2538627815
2538727816
25388 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
27817 # Check whether --with-libintl-prefix was given.
2538927818 if test "${with_libintl_prefix+set}" = set; then
25390 withval="$with_libintl_prefix"
25391
27819 withval=$with_libintl_prefix;
2539227820 if test "X$withval" = "Xno"; then
2539327821 use_additional=no
2539427822 else
2540727835
2540827836 else
2540927837 additional_includedir="$withval/include"
25410 additional_libdir="$withval/lib"
27838 additional_libdir="$withval/$acl_libdirstem"
2541127839 fi
2541227840 fi
2541327841
25414 fi;
27842 fi
27843
2541527844 LIBINTL=
2541627845 LTLIBINTL=
2541727846 INCINTL=
2544927878 found_so=
2545027879 found_a=
2545127880 if test $use_additional = yes; then
25452 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27881 if test -n "$shlibext" \
27882 && { test -f "$additional_libdir/lib$name.$shlibext" \
27883 || { test "$shlibext" = dll \
27884 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
2545327885 found_dir="$additional_libdir"
25454 found_so="$additional_libdir/lib$name.$shlibext"
27886 if test -f "$additional_libdir/lib$name.$shlibext"; then
27887 found_so="$additional_libdir/lib$name.$shlibext"
27888 else
27889 found_so="$additional_libdir/lib$name.dll.a"
27890 fi
2545527891 if test -f "$additional_libdir/lib$name.la"; then
2545627892 found_la="$additional_libdir/lib$name.la"
2545727893 fi
2547927915 case "$x" in
2548027916 -L*)
2548127917 dir=`echo "X$x" | sed -e 's/^X-L//'`
25482 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27918 if test -n "$shlibext" \
27919 && { test -f "$dir/lib$name.$shlibext" \
27920 || { test "$shlibext" = dll \
27921 && test -f "$dir/lib$name.dll.a"; }; }; then
2548327922 found_dir="$dir"
25484 found_so="$dir/lib$name.$shlibext"
27923 if test -f "$dir/lib$name.$shlibext"; then
27924 found_so="$dir/lib$name.$shlibext"
27925 else
27926 found_so="$dir/lib$name.dll.a"
27927 fi
2548527928 if test -f "$dir/lib$name.la"; then
2548627929 found_la="$dir/lib$name.la"
2548727930 fi
2550427947 if test "X$found_dir" != "X"; then
2550527948 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
2550627949 if test "X$found_so" != "X"; then
25507 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27950 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
2550827951 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
2550927952 else
2551027953 haveit=
2556928012 fi
2557028013 additional_includedir=
2557128014 case "$found_dir" in
25572 */lib | */lib/)
25573 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28015 */$acl_libdirstem | */$acl_libdirstem/)
28016 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
2557428017 additional_includedir="$basedir/include"
2557528018 ;;
2557628019 esac
2561928062 case "$dep" in
2562028063 -L*)
2562128064 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25622 if test "X$additional_libdir" != "X/usr/lib"; then
28065 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
2562328066 haveit=
25624 if test "X$additional_libdir" = "X/usr/local/lib"; then
28067 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
2562528068 if test -n "$GCC"; then
2562628069 case $host_os in
2562728070 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2574728190 done
2574828191 fi
2574928192
25750 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
25751 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
25752 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
28193 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
28194 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
28195 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
2575328196 echo $ECHO_N "(cached) $ECHO_C" >&6
2575428197 else
2575528198 gt_save_CPPFLAGS="$CPPFLAGS"
2576328206 cat >>conftest.$ac_ext <<_ACEOF
2576428207 /* end confdefs.h. */
2576528208 #include <libintl.h>
28209 $gt_revision_test_code
2576628210 extern int _nl_msg_cat_cntr;
2576728211 extern
2576828212 #ifdef __cplusplus
2577328217 main ()
2577428218 {
2577528219 bindtextdomain ("", "");
25776 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
28220 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
2577728221 ;
2577828222 return 0;
2577928223 }
2578028224 _ACEOF
2578128225 rm -f conftest.$ac_objext conftest$ac_exeext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25783 (eval $ac_link) 2>conftest.er1
28226 if { (ac_try="$ac_link"
28227 case "(($ac_try" in
28228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28229 *) ac_try_echo=$ac_try;;
28230 esac
28231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28232 (eval "$ac_link") 2>conftest.er1
2578428233 ac_status=$?
2578528234 grep -v '^ *+' conftest.er1 >conftest.err
2578628235 rm -f conftest.er1
2578728236 cat conftest.err >&5
2578828237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } &&
25790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25792 (eval $ac_try) 2>&5
25793 ac_status=$?
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); }; } &&
25796 { ac_try='test -s conftest$ac_exeext'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25799 ac_status=$?
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; }; then
25802 gt_cv_func_gnugettext1_libintl=yes
28238 (exit $ac_status); } && {
28239 test -z "$ac_c_werror_flag" ||
28240 test ! -s conftest.err
28241 } && test -s conftest$ac_exeext &&
28242 $as_test_x conftest$ac_exeext; then
28243 eval "$gt_func_gnugettext_libintl=yes"
2580328244 else
2580428245 echo "$as_me: failed program was:" >&5
2580528246 sed 's/^/| /' conftest.$ac_ext >&5
2580628247
25807 gt_cv_func_gnugettext1_libintl=no
25808 fi
25809 rm -f conftest.err conftest.$ac_objext \
28248 eval "$gt_func_gnugettext_libintl=no"
28249 fi
28250
28251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2581028252 conftest$ac_exeext conftest.$ac_ext
25811 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
28253 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
2581228254 LIBS="$LIBS $LIBICONV"
2581328255 cat >conftest.$ac_ext <<_ACEOF
2581428256 /* confdefs.h. */
2581728259 cat >>conftest.$ac_ext <<_ACEOF
2581828260 /* end confdefs.h. */
2581928261 #include <libintl.h>
28262 $gt_revision_test_code
2582028263 extern int _nl_msg_cat_cntr;
2582128264 extern
2582228265 #ifdef __cplusplus
2582728270 main ()
2582828271 {
2582928272 bindtextdomain ("", "");
25830 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
28273 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
2583128274 ;
2583228275 return 0;
2583328276 }
2583428277 _ACEOF
2583528278 rm -f conftest.$ac_objext conftest$ac_exeext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25837 (eval $ac_link) 2>conftest.er1
28279 if { (ac_try="$ac_link"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_link") 2>conftest.er1
2583828286 ac_status=$?
2583928287 grep -v '^ *+' conftest.er1 >conftest.err
2584028288 rm -f conftest.er1
2584128289 cat conftest.err >&5
2584228290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25846 (eval $ac_try) 2>&5
25847 ac_status=$?
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); }; } &&
25850 { ac_try='test -s conftest$ac_exeext'
25851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852 (eval $ac_try) 2>&5
25853 ac_status=$?
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); }; }; then
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest$ac_exeext &&
28295 $as_test_x conftest$ac_exeext; then
2585628296 LIBINTL="$LIBINTL $LIBICONV"
2585728297 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
25858 gt_cv_func_gnugettext1_libintl=yes
28298 eval "$gt_func_gnugettext_libintl=yes"
2585928299
2586028300 else
2586128301 echo "$as_me: failed program was:" >&5
2586228302 sed 's/^/| /' conftest.$ac_ext >&5
2586328303
25864 fi
25865 rm -f conftest.err conftest.$ac_objext \
28304
28305 fi
28306
28307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2586628308 conftest$ac_exeext conftest.$ac_ext
2586728309 fi
2586828310 CPPFLAGS="$gt_save_CPPFLAGS"
2586928311 LIBS="$gt_save_LIBS"
2587028312 fi
25871 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
25872 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
28313 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
28314 { echo "$as_me:$LINENO: result: $ac_res" >&5
28315 echo "${ECHO_T}$ac_res" >&6; }
2587328316 fi
2587428317
25875 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
25876 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
28318 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
28319 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
2587728320 && test "$PACKAGE" != gettext-runtime \
2587828321 && test "$PACKAGE" != gettext-tools; }; then
2587928322 gt_use_preinstalled_gnugettext=yes
2589228335 if test "$nls_cv_use_gnu_gettext" = "yes"; then
2589328336 BUILD_INCLUDED_LIBINTL=yes
2589428337 USE_INCLUDED_LIBINTL=yes
25895 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
25896 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
28338 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD"
28339 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV $LTLIBTHREAD"
2589728340 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
2589828341 fi
2589928342
2592428367 fi
2592528368 fi
2592628369
25927 echo "$as_me:$LINENO: checking whether to use NLS" >&5
25928 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
25929 echo "$as_me:$LINENO: result: $USE_NLS" >&5
25930 echo "${ECHO_T}$USE_NLS" >&6
28370 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
28371 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
28372 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
28373 echo "${ECHO_T}$USE_NLS" >&6; }
2593128374 if test "$USE_NLS" = "yes"; then
25932 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
25933 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
28375 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
28376 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
2593428377 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
25935 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
28378 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
2593628379 gt_source="external libintl"
2593728380 else
2593828381 gt_source="libc"
2594028383 else
2594128384 gt_source="included intl directory"
2594228385 fi
25943 echo "$as_me:$LINENO: result: $gt_source" >&5
25944 echo "${ECHO_T}$gt_source" >&6
28386 { echo "$as_me:$LINENO: result: $gt_source" >&5
28387 echo "${ECHO_T}$gt_source" >&6; }
2594528388 fi
2594628389
2594728390 if test "$USE_NLS" = "yes"; then
2594828391
2594928392 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
25950 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
25951 echo "$as_me:$LINENO: checking how to link with libintl" >&5
25952 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
25953 echo "$as_me:$LINENO: result: $LIBINTL" >&5
25954 echo "${ECHO_T}$LIBINTL" >&6
28393 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
28394 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
28395 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
28396 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
28397 echo "${ECHO_T}$LIBINTL" >&6; }
2595528398
2595628399 for element in $INCINTL; do
2595728400 haveit=
2604728490
2604828491 build_examples=no
2604928492
26050 # Check whether --enable-examples or --disable-examples was given.
28493 # Check whether --enable-examples was given.
2605128494 if test "${enable_examples+set}" = set; then
26052 enableval="$enable_examples"
26053 build_examples="$enableval"
28495 enableval=$enable_examples; build_examples="$enableval"
2605428496 else
2605528497 build_examples=no
26056 fi;
28498 fi
28499
2605728500
2605828501
2605928502
2606628509 fi
2606728510
2606828511
28512
2606928513 build_hcal=yes
2607028514
26071 # Check whether --enable-hcal or --disable-hcal was given.
28515 # Check whether --enable-hcal was given.
2607228516 if test "${enable_hcal+set}" = set; then
26073 enableval="$enable_hcal"
26074 build_hcal="$enableval"
28517 enableval=$enable_hcal; build_hcal="$enableval"
2607528518 else
2607628519 build_hcal=yes
26077 fi;
28520 fi
28521
2607828522
2607928523
2608028524
2609128535
2609228536
2609328537
26094 ac_config_files="$ac_config_files Makefile libhdate.spec libhdate.pc intl/Makefile po/Makefile.in src/Makefile examples/Makefile examples/hcal/Makefile examples/ical/Makefile examples/html/Makefile examples/hebcal/Makefile examples/bindings/Makefile bindings/Makefile bindings/python/Makefile bindings/perl/Makefile bindings/pascal/Makefile"
28538
28539 ac_config_files="$ac_config_files Makefile libhdate.spec libhdate.pc intl/Makefile po/Makefile.in src/Makefile examples/Makefile examples/hcal/Makefile examples/ical/Makefile examples/html/Makefile examples/hebcal/Makefile examples/bindings/Makefile bindings/Makefile bindings/python/Makefile bindings/perl/Makefile bindings/pascal/Makefile"
28540
2609528541 cat >confcache <<\_ACEOF
2609628542 # This file is a shell script that caches the results of configure
2609728543 # tests run on this system so they can be shared between configure
2611028556
2611128557 # The following way of writing the cache mishandles newlines in values,
2611228558 # but we know of no workaround that is simple, portable, and efficient.
26113 # So, don't put newlines in cache variables' values.
28559 # So, we kill variables containing newlines.
2611428560 # Ultrix sh set writes to stderr and can't be redirected directly,
2611528561 # and sets the high bit in the cache file unless we assign to the vars.
26116 {
28562 (
28563 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28564 eval ac_val=\$$ac_var
28565 case $ac_val in #(
28566 *${as_nl}*)
28567 case $ac_var in #(
28568 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28569 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28570 esac
28571 case $ac_var in #(
28572 _ | IFS | as_nl) ;; #(
28573 *) $as_unset $ac_var ;;
28574 esac ;;
28575 esac
28576 done
28577
2611728578 (set) 2>&1 |
26118 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26119 *ac_space=\ *)
28579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28580 *${as_nl}ac_space=\ *)
2612028581 # `set' does not quote correctly, so add quotes (double-quote
2612128582 # substitution turns \\\\ into \\, and sed turns \\ into \).
2612228583 sed -n \
2612328584 "s/'/'\\\\''/g;
2612428585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26125 ;;
28586 ;; #(
2612628587 *)
2612728588 # `set' quotes correctly as required by POSIX, so do not add quotes.
26128 sed -n \
26129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2613028590 ;;
26131 esac;
26132 } |
28591 esac |
28592 sort
28593 ) |
2613328594 sed '
28595 /^ac_cv_env_/b end
2613428596 t clear
26135 : clear
28597 :clear
2613628598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2613728599 t end
26138 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26139 : end' >>confcache
26140 if diff $cache_file confcache >/dev/null 2>&1; then :; else
26141 if test -w $cache_file; then
26142 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28601 :end' >>confcache
28602 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28603 if test -w "$cache_file"; then
28604 test "x$cache_file" != "x/dev/null" &&
28605 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28606 echo "$as_me: updating cache $cache_file" >&6;}
2614328607 cat confcache >$cache_file
2614428608 else
26145 echo "not updating unwritable cache $cache_file"
28609 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28610 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2614628611 fi
2614728612 fi
2614828613 rm -f confcache
2615028615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2615128616 # Let make expand exec_prefix.
2615228617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26153
26154 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26155 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26156 # trailing colons and then remove the whole line if VPATH becomes empty
26157 # (actually we leave an empty line to preserve line numbers).
26158 if test "x$srcdir" = x.; then
26159 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26160 s/:*\$(srcdir):*/:/;
26161 s/:*\${srcdir}:*/:/;
26162 s/:*@srcdir@:*/:/;
26163 s/^\([^=]*=[ ]*\):*/\1/;
26164 s/:*$//;
26165 s/^[^=]*=[ ]*$//;
26166 }'
26167 fi
2616828618
2616928619 # Transform confdefs.h into DEFS.
2617028620 # Protect against shell expansion while executing Makefile rules.
2617128621 # Protect against Makefile macro expansion.
2617228622 #
2617328623 # If the first sed substitution is executed (which looks for macros that
26174 # take arguments), then we branch to the quote section. Otherwise,
28624 # take arguments), then branch to the quote section. Otherwise,
2617528625 # look for a macro that doesn't take arguments.
26176 cat >confdef2opt.sed <<\_ACEOF
28626 ac_script='
2617728627 t clear
26178 : clear
26179 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
28628 :clear
28629 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2618028630 t quote
26181 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
28631 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2618228632 t quote
26183 d
26184 : quote
26185 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
26186 s,\[,\\&,g
26187 s,\],\\&,g
26188 s,\$,$$,g
26189 p
26190 _ACEOF
26191 # We use echo to avoid assuming a particular line-breaking character.
26192 # The extra dot is to prevent the shell from consuming trailing
26193 # line-breaks from the sub-command output. A line-break within
26194 # single-quotes doesn't work because, if this script is created in a
26195 # platform that uses two characters for line-breaks (e.g., DOS), tr
26196 # would break.
26197 ac_LF_and_DOT=`echo; echo .`
26198 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
26199 rm -f confdef2opt.sed
28633 b any
28634 :quote
28635 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
28636 s/\[/\\&/g
28637 s/\]/\\&/g
28638 s/\$/$$/g
28639 H
28640 :any
28641 ${
28642 g
28643 s/^\n//
28644 s/\n/ /g
28645 p
28646 }
28647 '
28648 DEFS=`sed -n "$ac_script" confdefs.h`
2620028649
2620128650
2620228651 ac_libobjs=
2620328652 ac_ltlibobjs=
2620428653 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2620528654 # 1. Remove the extension, and $U if already installed.
26206 ac_i=`echo "$ac_i" |
26207 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
26208 # 2. Add them.
26209 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
26210 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28655 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28656 ac_i=`echo "$ac_i" | sed "$ac_script"`
28657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28658 # will be set to the directory where LIBOBJS objects are built.
28659 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28660 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2621128661 done
2621228662 LIBOBJS=$ac_libobjs
2621328663
2621428664 LTLIBOBJS=$ac_ltlibobjs
2621528665
2621628666
28667 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28668 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28669 Usually this means the macro was only invoked conditionally." >&5
28670 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28671 Usually this means the macro was only invoked conditionally." >&2;}
28672 { (exit 1); exit 1; }; }
28673 fi
28674 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28675 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28676 Usually this means the macro was only invoked conditionally." >&5
28677 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28678 Usually this means the macro was only invoked conditionally." >&2;}
28679 { (exit 1); exit 1; }; }
28680 fi
28681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28682 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28683 Usually this means the macro was only invoked conditionally." >&5
28684 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28685 Usually this means the macro was only invoked conditionally." >&2;}
28686 { (exit 1); exit 1; }; }
28687 fi
28688 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28689 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28690 Usually this means the macro was only invoked conditionally." >&5
28691 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28692 Usually this means the macro was only invoked conditionally." >&2;}
28693 { (exit 1); exit 1; }; }
28694 fi
28695 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28696 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28697 Usually this means the macro was only invoked conditionally." >&5
28698 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28699 Usually this means the macro was only invoked conditionally." >&2;}
28700 { (exit 1); exit 1; }; }
28701 fi
28702 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28703 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28704 Usually this means the macro was only invoked conditionally." >&5
28705 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28706 Usually this means the macro was only invoked conditionally." >&2;}
28707 { (exit 1); exit 1; }; }
28708 fi
28709 if test -z "${WITH_PASCAL_TRUE}" && test -z "${WITH_PASCAL_FALSE}"; then
28710 { { echo "$as_me:$LINENO: error: conditional \"WITH_PASCAL\" was never defined.
28711 Usually this means the macro was only invoked conditionally." >&5
28712 echo "$as_me: error: conditional \"WITH_PASCAL\" was never defined.
28713 Usually this means the macro was only invoked conditionally." >&2;}
28714 { (exit 1); exit 1; }; }
28715 fi
28716 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
28717 { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
28718 Usually this means the macro was only invoked conditionally." >&5
28719 echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
28720 Usually this means the macro was only invoked conditionally." >&2;}
28721 { (exit 1); exit 1; }; }
28722 fi
28723 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
28724 { { echo "$as_me:$LINENO: error: conditional \"WITH_PERL\" was never defined.
28725 Usually this means the macro was only invoked conditionally." >&5
28726 echo "$as_me: error: conditional \"WITH_PERL\" was never defined.
28727 Usually this means the macro was only invoked conditionally." >&2;}
28728 { (exit 1); exit 1; }; }
28729 fi
28730 if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
28731 { { echo "$as_me:$LINENO: error: conditional \"WITH_EXAMPLES\" was never defined.
28732 Usually this means the macro was only invoked conditionally." >&5
28733 echo "$as_me: error: conditional \"WITH_EXAMPLES\" was never defined.
28734 Usually this means the macro was only invoked conditionally." >&2;}
28735 { (exit 1); exit 1; }; }
28736 fi
28737 if test -z "${WITH_HCAL_TRUE}" && test -z "${WITH_HCAL_FALSE}"; then
28738 { { echo "$as_me:$LINENO: error: conditional \"WITH_HCAL\" was never defined.
28739 Usually this means the macro was only invoked conditionally." >&5
28740 echo "$as_me: error: conditional \"WITH_HCAL\" was never defined.
28741 Usually this means the macro was only invoked conditionally." >&2;}
28742 { (exit 1); exit 1; }; }
28743 fi
2621728744
2621828745 : ${CONFIG_STATUS=./config.status}
2621928746 ac_clean_files_save=$ac_clean_files
2623828765 ## M4sh Initialization. ##
2623928766 ## --------------------- ##
2624028767
26241 # Be Bourne compatible
28768 # Be more Bourne compatible
28769 DUALCASE=1; export DUALCASE # for MKS sh
2624228770 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2624328771 emulate sh
2624428772 NULLCMD=:
2624528773 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2624628774 # is contrary to our usage. Disable this feature.
2624728775 alias -g '${1+"$@"}'='"$@"'
26248 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26249 set -o posix
26250 fi
26251 DUALCASE=1; export DUALCASE # for MKS sh
26252
26253 # Support unset when possible.
26254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26255 as_unset=unset
26256 else
26257 as_unset=false
26258 fi
26259
26260
26261 # Work around bugs in pre-3.0 UWIN ksh.
26262 $as_unset ENV MAIL MAILPATH
26263 PS1='$ '
26264 PS2='> '
26265 PS4='+ '
26266
26267 # NLS nuisances.
26268 for as_var in \
26269 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26270 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26271 LC_TELEPHONE LC_TIME
26272 do
26273 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26274 eval $as_var=C; export $as_var
26275 else
26276 $as_unset $as_var
26277 fi
26278 done
26279
26280 # Required to use basename.
26281 if expr a : '\(a\)' >/dev/null 2>&1; then
26282 as_expr=expr
26283 else
26284 as_expr=false
26285 fi
26286
26287 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
26288 as_basename=basename
26289 else
26290 as_basename=false
26291 fi
26292
26293
26294 # Name of the executable.
26295 as_me=`$as_basename "$0" ||
26296 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26297 X"$0" : 'X\(//\)$' \| \
26298 X"$0" : 'X\(/\)$' \| \
26299 . : '\(.\)' 2>/dev/null ||
26300 echo X/"$0" |
26301 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26302 /^X\/\(\/\/\)$/{ s//\1/; q; }
26303 /^X\/\(\/\).*/{ s//\1/; q; }
26304 s/.*/./; q'`
26305
26306
26307 # PATH needs CR, and LINENO needs CR and PATH.
28776 setopt NO_GLOB_SUBST
28777 else
28778 case `(set -o) 2>/dev/null` in
28779 *posix*) set -o posix ;;
28780 esac
28781
28782 fi
28783
28784
28785
28786
28787 # PATH needs CR
2630828788 # Avoid depending upon Character Ranges.
2630928789 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2631028790 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2632528805 rm -f conf$$.sh
2632628806 fi
2632728807
26328
26329 as_lineno_1=$LINENO
26330 as_lineno_2=$LINENO
26331 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26332 test "x$as_lineno_1" != "x$as_lineno_2" &&
26333 test "x$as_lineno_3" = "x$as_lineno_2" || {
26334 # Find who we are. Look in the path if we contain no path at all
26335 # relative or not.
26336 case $0 in
26337 *[\\/]* ) as_myself=$0 ;;
26338 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28808 # Support unset when possible.
28809 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28810 as_unset=unset
28811 else
28812 as_unset=false
28813 fi
28814
28815
28816 # IFS
28817 # We need space, tab and new line, in precisely that order. Quoting is
28818 # there to prevent editors from complaining about space-tab.
28819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
28820 # splitting by setting IFS to empty value.)
28821 as_nl='
28822 '
28823 IFS=" "" $as_nl"
28824
28825 # Find who we are. Look in the path if we contain no directory separator.
28826 case $0 in
28827 *[\\/]* ) as_myself=$0 ;;
28828 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633928829 for as_dir in $PATH
2634028830 do
2634128831 IFS=$as_save_IFS
2634228832 test -z "$as_dir" && as_dir=.
2634328833 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2634428834 done
26345
26346 ;;
26347 esac
26348 # We did not find ourselves, most probably we were run as `sh COMMAND'
26349 # in which case we are not to be found in the path.
26350 if test "x$as_myself" = x; then
26351 as_myself=$0
28835 IFS=$as_save_IFS
28836
28837 ;;
28838 esac
28839 # We did not find ourselves, most probably we were run as `sh COMMAND'
28840 # in which case we are not to be found in the path.
28841 if test "x$as_myself" = x; then
28842 as_myself=$0
28843 fi
28844 if test ! -f "$as_myself"; then
28845 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28846 { (exit 1); exit 1; }
28847 fi
28848
28849 # Work around bugs in pre-3.0 UWIN ksh.
28850 for as_var in ENV MAIL MAILPATH
28851 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28852 done
28853 PS1='$ '
28854 PS2='> '
28855 PS4='+ '
28856
28857 # NLS nuisances.
28858 for as_var in \
28859 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28860 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28861 LC_TELEPHONE LC_TIME
28862 do
28863 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28864 eval $as_var=C; export $as_var
28865 else
28866 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2635228867 fi
26353 if test ! -f "$as_myself"; then
26354 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26355 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26356 { (exit 1); exit 1; }; }
26357 fi
26358 case $CONFIG_SHELL in
26359 '')
26360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26361 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26362 do
26363 IFS=$as_save_IFS
26364 test -z "$as_dir" && as_dir=.
26365 for as_base in sh bash ksh sh5; do
26366 case $as_dir in
26367 /*)
26368 if ("$as_dir/$as_base" -c '
28868 done
28869
28870 # Required to use basename.
28871 if expr a : '\(a\)' >/dev/null 2>&1 &&
28872 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28873 as_expr=expr
28874 else
28875 as_expr=false
28876 fi
28877
28878 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28879 as_basename=basename
28880 else
28881 as_basename=false
28882 fi
28883
28884
28885 # Name of the executable.
28886 as_me=`$as_basename -- "$0" ||
28887 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28888 X"$0" : 'X\(//\)$' \| \
28889 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28890 echo X/"$0" |
28891 sed '/^.*\/\([^/][^/]*\)\/*$/{
28892 s//\1/
28893 q
28894 }
28895 /^X\/\(\/\/\)$/{
28896 s//\1/
28897 q
28898 }
28899 /^X\/\(\/\).*/{
28900 s//\1/
28901 q
28902 }
28903 s/.*/./; q'`
28904
28905 # CDPATH.
28906 $as_unset CDPATH
28907
28908
28909
2636928910 as_lineno_1=$LINENO
2637028911 as_lineno_2=$LINENO
26371 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2637228912 test "x$as_lineno_1" != "x$as_lineno_2" &&
26373 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
26374 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26375 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26376 CONFIG_SHELL=$as_dir/$as_base
26377 export CONFIG_SHELL
26378 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26379 fi;;
26380 esac
26381 done
26382 done
26383 ;;
26384 esac
28913 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2638528914
2638628915 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2638728916 # uniformly replaced by the line number. The first 'sed' inserts a
26388 # line-number line before each line; the second 'sed' does the real
26389 # work. The second script uses 'N' to pair each line-number line
26390 # with the numbered line, and appends trailing '-' during
26391 # substitution so that $LINENO is not a special case at line end.
28917 # line-number line after each line using $LINENO; the second 'sed'
28918 # does the real work. The second script uses 'N' to pair each
28919 # line-number line with the line containing $LINENO, and appends
28920 # trailing '-' during substitution so that $LINENO is not a special
28921 # case at line end.
2639228922 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26393 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26394 sed '=' <$as_myself |
28923 # scripts with optimization help from Paolo Bonzini. Blame Lee
28924 # E. McMahon (1931-1989) for sed's syntax. :-)
28925 sed -n '
28926 p
28927 /[$]LINENO/=
28928 ' <$as_myself |
2639528929 sed '
28930 s/[$]LINENO.*/&-/
28931 t lineno
28932 b
28933 :lineno
2639628934 N
26397 s,$,-,
26398 : loop
26399 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28935 :loop
28936 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2640028937 t loop
26401 s,-$,,
26402 s,^['$as_cr_digits']*\n,,
28938 s/-\n.*//
2640328939 ' >$as_me.lineno &&
26404 chmod +x $as_me.lineno ||
26405 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26406 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28940 chmod +x "$as_me.lineno" ||
28941 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2640728942 { (exit 1); exit 1; }; }
2640828943
2640928944 # Don't try to exec as it changes $[0], causing all sort of problems
2641028945 # (the dirname of $[0] is not the place where we might find the
26411 # original and so on. Autoconf is especially sensible to this).
26412 . ./$as_me.lineno
28946 # original and so on. Autoconf is especially sensitive to this).
28947 . "./$as_me.lineno"
2641328948 # Exit status is that of the last command.
2641428949 exit
2641528950 }
2641628951
2641728952
26418 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26419 *c*,-n*) ECHO_N= ECHO_C='
26420 ' ECHO_T=' ' ;;
26421 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26422 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
28953 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28954 as_dirname=dirname
28955 else
28956 as_dirname=false
28957 fi
28958
28959 ECHO_C= ECHO_N= ECHO_T=
28960 case `echo -n x` in
28961 -n*)
28962 case `echo 'x\c'` in
28963 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
28964 *) ECHO_C='\c';;
28965 esac;;
28966 *)
28967 ECHO_N='-n';;
2642328968 esac
2642428969
26425 if expr a : '\(a\)' >/dev/null 2>&1; then
28970 if expr a : '\(a\)' >/dev/null 2>&1 &&
28971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2642628972 as_expr=expr
2642728973 else
2642828974 as_expr=false
2642928975 fi
2643028976
2643128977 rm -f conf$$ conf$$.exe conf$$.file
28978 if test -d conf$$.dir; then
28979 rm -f conf$$.dir/conf$$.file
28980 else
28981 rm -f conf$$.dir
28982 mkdir conf$$.dir
28983 fi
2643228984 echo >conf$$.file
2643328985 if ln -s conf$$.file conf$$ 2>/dev/null; then
26434 # We could just check for DJGPP; but this test a) works b) is more generic
26435 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26436 if test -f conf$$.exe; then
26437 # Don't use ln at all; we don't have any links
28986 as_ln_s='ln -s'
28987 # ... but there are two gotchas:
28988 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28989 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28990 # In both cases, we have to default to `cp -p'.
28991 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2643828992 as_ln_s='cp -p'
26439 else
26440 as_ln_s='ln -s'
26441 fi
2644228993 elif ln conf$$.file conf$$ 2>/dev/null; then
2644328994 as_ln_s=ln
2644428995 else
2644528996 as_ln_s='cp -p'
2644628997 fi
26447 rm -f conf$$ conf$$.exe conf$$.file
28998 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28999 rmdir conf$$.dir 2>/dev/null
2644829000
2644929001 if mkdir -p . 2>/dev/null; then
2645029002 as_mkdir_p=:
2645329005 as_mkdir_p=false
2645429006 fi
2645529007
26456 as_executable_p="test -f"
29008 if test -x / >/dev/null 2>&1; then
29009 as_test_x='test -x'
29010 else
29011 if ls -dL / >/dev/null 2>&1; then
29012 as_ls_L_option=L
29013 else
29014 as_ls_L_option=
29015 fi
29016 as_test_x='
29017 eval sh -c '\''
29018 if test -d "$1"; then
29019 test -d "$1/.";
29020 else
29021 case $1 in
29022 -*)set "./$1";;
29023 esac;
29024 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29025 ???[sx]*):;;*)false;;esac;fi
29026 '\'' sh
29027 '
29028 fi
29029 as_executable_p=$as_test_x
2645729030
2645829031 # Sed expression to map a string onto a valid CPP name.
2645929032 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2646229035 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2646329036
2646429037
26465 # IFS
26466 # We need space, tab and new line, in precisely that order.
26467 as_nl='
26468 '
26469 IFS=" $as_nl"
26470
26471 # CDPATH.
26472 $as_unset CDPATH
26473
2647429038 exec 6>&1
2647529039
26476 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29040 # Save the log message, to keep $[0] and so on meaningful, and to
2647729041 # report actual input values of CONFIG_FILES etc. instead of their
26478 # values after options handling. Logging --version etc. is OK.
26479 exec 5>>config.log
26480 {
26481 echo
26482 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26483 ## Running $as_me. ##
26484 _ASBOX
26485 } >&5
26486 cat >&5 <<_CSEOF
26487
29042 # values after options handling.
29043 ac_log="
2648829044 This file was extended by $as_me, which was
26489 generated by GNU Autoconf 2.59. Invocation command line was
29045 generated by GNU Autoconf 2.61. Invocation command line was
2649029046
2649129047 CONFIG_FILES = $CONFIG_FILES
2649229048 CONFIG_HEADERS = $CONFIG_HEADERS
2649429050 CONFIG_COMMANDS = $CONFIG_COMMANDS
2649529051 $ $0 $@
2649629052
26497 _CSEOF
26498 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26499 echo >&5
26500 _ACEOF
26501
29053 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29054 "
29055
29056 _ACEOF
29057
29058 cat >>$CONFIG_STATUS <<_ACEOF
2650229059 # Files that config.status was made for.
26503 if test -n "$ac_config_files"; then
26504 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26505 fi
26506
26507 if test -n "$ac_config_headers"; then
26508 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26509 fi
26510
26511 if test -n "$ac_config_links"; then
26512 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26513 fi
26514
26515 if test -n "$ac_config_commands"; then
26516 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26517 fi
29060 config_files="$ac_config_files"
29061 config_commands="$ac_config_commands"
29062
29063 _ACEOF
2651829064
2651929065 cat >>$CONFIG_STATUS <<\_ACEOF
26520
2652129066 ac_cs_usage="\
2652229067 \`$as_me' instantiates files from templates according to the
2652329068 current configuration.
2652529070 Usage: $0 [OPTIONS] [FILE]...
2652629071
2652729072 -h, --help print this help, then exit
26528 -V, --version print version number, then exit
29073 -V, --version print version number and configuration settings, then exit
2652929074 -q, --quiet do not print progress messages
2653029075 -d, --debug don't remove temporary files
2653129076 --recheck update $as_me by reconfiguring in the same conditions
2653929084 $config_commands
2654029085
2654129086 Report bugs to <bug-autoconf@gnu.org>."
26542 _ACEOF
26543
29087
29088 _ACEOF
2654429089 cat >>$CONFIG_STATUS <<_ACEOF
2654529090 ac_cs_version="\\
2654629091 config.status
26547 configured by $0, generated by GNU Autoconf 2.59,
26548 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26549
26550 Copyright (C) 2003 Free Software Foundation, Inc.
29092 configured by $0, generated by GNU Autoconf 2.61,
29093 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29094
29095 Copyright (C) 2006 Free Software Foundation, Inc.
2655129096 This config.status script is free software; the Free Software Foundation
2655229097 gives unlimited permission to copy, distribute and modify it."
26553 srcdir=$srcdir
26554 INSTALL="$INSTALL"
29098
29099 ac_pwd='$ac_pwd'
29100 srcdir='$srcdir'
29101 INSTALL='$INSTALL'
2655529102 _ACEOF
2655629103
2655729104 cat >>$CONFIG_STATUS <<\_ACEOF
2656229109 do
2656329110 case $1 in
2656429111 --*=*)
26565 ac_option=`expr "x$1" : 'x\([^=]*\)='`
26566 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29112 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29113 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2656729114 ac_shift=:
2656829115 ;;
26569 -*)
29116 *)
2657029117 ac_option=$1
2657129118 ac_optarg=$2
2657229119 ac_shift=shift
2657329120 ;;
26574 *) # This is not an option, so the user has probably given explicit
26575 # arguments.
26576 ac_option=$1
26577 ac_need_defaults=false;;
2657829121 esac
2657929122
2658029123 case $ac_option in
2658129124 # Handling of the options.
26582 _ACEOF
26583 cat >>$CONFIG_STATUS <<\_ACEOF
2658429125 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2658529126 ac_cs_recheck=: ;;
26586 --version | --vers* | -V )
26587 echo "$ac_cs_version"; exit 0 ;;
26588 --he | --h)
26589 # Conflict between --help and --header
26590 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26591 Try \`$0 --help' for more information." >&5
26592 echo "$as_me: error: ambiguous option: $1
26593 Try \`$0 --help' for more information." >&2;}
26594 { (exit 1); exit 1; }; };;
26595 --help | --hel | -h )
26596 echo "$ac_cs_usage"; exit 0 ;;
26597 --debug | --d* | -d )
29127 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29128 echo "$ac_cs_version"; exit ;;
29129 --debug | --debu | --deb | --de | --d | -d )
2659829130 debug=: ;;
2659929131 --file | --fil | --fi | --f )
2660029132 $ac_shift
2660129133 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2660229134 ac_need_defaults=false;;
26603 --header | --heade | --head | --hea )
26604 $ac_shift
26605 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26606 ac_need_defaults=false;;
29135 --he | --h | --help | --hel | -h )
29136 echo "$ac_cs_usage"; exit ;;
2660729137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2660829138 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2660929139 ac_cs_silent=: ;;
2661029140
2661129141 # This is an error.
26612 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26613 Try \`$0 --help' for more information." >&5
26614 echo "$as_me: error: unrecognized option: $1
26615 Try \`$0 --help' for more information." >&2;}
29142 -*) { echo "$as_me: error: unrecognized option: $1
29143 Try \`$0 --help' for more information." >&2
2661629144 { (exit 1); exit 1; }; } ;;
2661729145
26618 *) ac_config_targets="$ac_config_targets $1" ;;
29146 *) ac_config_targets="$ac_config_targets $1"
29147 ac_need_defaults=false ;;
2661929148
2662029149 esac
2662129150 shift
2663129160 _ACEOF
2663229161 cat >>$CONFIG_STATUS <<_ACEOF
2663329162 if \$ac_cs_recheck; then
26634 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26635 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26636 fi
26637
26638 _ACEOF
26639
29163 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29164 CONFIG_SHELL=$SHELL
29165 export CONFIG_SHELL
29166 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29167 fi
29168
29169 _ACEOF
29170 cat >>$CONFIG_STATUS <<\_ACEOF
29171 exec 5>>config.log
29172 {
29173 echo
29174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29175 ## Running $as_me. ##
29176 _ASBOX
29177 echo "$ac_log"
29178 } >&5
29179
29180 _ACEOF
2664029181 cat >>$CONFIG_STATUS <<_ACEOF
2664129182 #
26642 # INIT-COMMANDS section.
29183 # INIT-COMMANDS
2664329184 #
26644
29185 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2664529186 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
2664629187 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26647 # from automake.
29188 # from automake < 1.5.
2664829189 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
2664929190 # Capture the value of LINGUAS because we need it to compute CATALOGS.
2665029191 LINGUAS="${LINGUAS-%UNSET%}"
2665229193
2665329194 _ACEOF
2665429195
26655
26656
2665729196 cat >>$CONFIG_STATUS <<\_ACEOF
29197
29198 # Handling of arguments.
2665829199 for ac_config_target in $ac_config_targets
2665929200 do
26660 case "$ac_config_target" in
26661 # Handling of arguments.
26662 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26663 "libhdate.spec" ) CONFIG_FILES="$CONFIG_FILES libhdate.spec" ;;
26664 "libhdate.pc" ) CONFIG_FILES="$CONFIG_FILES libhdate.pc" ;;
26665 "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
26666 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26667 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26668 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
26669 "examples/hcal/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/hcal/Makefile" ;;
26670 "examples/ical/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/ical/Makefile" ;;
26671 "examples/html/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/html/Makefile" ;;
26672 "examples/hebcal/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/hebcal/Makefile" ;;
26673 "examples/bindings/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/bindings/Makefile" ;;
26674 "bindings/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
26675 "bindings/python/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
26676 "bindings/perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/perl/Makefile" ;;
26677 "bindings/pascal/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/pascal/Makefile" ;;
26678 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
29201 case $ac_config_target in
29202 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29203 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
29204 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29205 "libhdate.spec") CONFIG_FILES="$CONFIG_FILES libhdate.spec" ;;
29206 "libhdate.pc") CONFIG_FILES="$CONFIG_FILES libhdate.pc" ;;
29207 "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
29208 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
29209 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29210 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
29211 "examples/hcal/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hcal/Makefile" ;;
29212 "examples/ical/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ical/Makefile" ;;
29213 "examples/html/Makefile") CONFIG_FILES="$CONFIG_FILES examples/html/Makefile" ;;
29214 "examples/hebcal/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hebcal/Makefile" ;;
29215 "examples/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES examples/bindings/Makefile" ;;
29216 "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
29217 "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
29218 "bindings/perl/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/perl/Makefile" ;;
29219 "bindings/pascal/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/pascal/Makefile" ;;
29220
2667929221 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2668029222 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2668129223 { (exit 1); exit 1; }; };;
2668229224 esac
2668329225 done
29226
2668429227
2668529228 # If the user did not use the arguments to specify the items to instantiate,
2668629229 # then the envvar interface is used. Set only those that are not.
2669229235 fi
2669329236
2669429237 # Have a temporary directory for convenience. Make it in the build tree
26695 # simply because there is no reason to put it here, and in addition,
29238 # simply because there is no reason against having it here, and in addition,
2669629239 # creating and moving files from /tmp can sometimes cause problems.
26697 # Create a temporary directory, and hook for its removal unless debugging.
29240 # Hook for its removal unless debugging.
29241 # Note that there is a small window in which the directory will not be cleaned:
29242 # after its creation but before its name has been assigned to `$tmp'.
2669829243 $debug ||
2669929244 {
26700 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29245 tmp=
29246 trap 'exit_status=$?
29247 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29248 ' 0
2670129249 trap '{ (exit 1); exit 1; }' 1 2 13 15
2670229250 }
26703
2670429251 # Create a (secure) tmp directory for tmp files.
2670529252
2670629253 {
26707 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29254 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2670829255 test -n "$tmp" && test -d "$tmp"
2670929256 } ||
2671029257 {
26711 tmp=./confstat$$-$RANDOM
26712 (umask 077 && mkdir $tmp)
29258 tmp=./conf$$-$RANDOM
29259 (umask 077 && mkdir "$tmp")
2671329260 } ||
2671429261 {
2671529262 echo "$me: cannot create a temporary directory in ." >&2
2671629263 { (exit 1); exit 1; }
2671729264 }
2671829265
26719 _ACEOF
26720
26721 cat >>$CONFIG_STATUS <<_ACEOF
26722
2672329266 #
26724 # CONFIG_FILES section.
29267 # Set up the sed scripts for CONFIG_FILES section.
2672529268 #
2672629269
2672729270 # No need to generate the scripts if there are no CONFIG_FILES.
2672829271 # This happens for instance when ./config.status config.h
26729 if test -n "\$CONFIG_FILES"; then
26730 # Protect against being on the right side of a sed subst in config.status.
26731 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26732 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26733 s,@SHELL@,$SHELL,;t t
26734 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26735 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26736 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26737 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26738 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26739 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26740 s,@exec_prefix@,$exec_prefix,;t t
26741 s,@prefix@,$prefix,;t t
26742 s,@program_transform_name@,$program_transform_name,;t t
26743 s,@bindir@,$bindir,;t t
26744 s,@sbindir@,$sbindir,;t t
26745 s,@libexecdir@,$libexecdir,;t t
26746 s,@datadir@,$datadir,;t t
26747 s,@sysconfdir@,$sysconfdir,;t t
26748 s,@sharedstatedir@,$sharedstatedir,;t t
26749 s,@localstatedir@,$localstatedir,;t t
26750 s,@libdir@,$libdir,;t t
26751 s,@includedir@,$includedir,;t t
26752 s,@oldincludedir@,$oldincludedir,;t t
26753 s,@infodir@,$infodir,;t t
26754 s,@mandir@,$mandir,;t t
26755 s,@build_alias@,$build_alias,;t t
26756 s,@host_alias@,$host_alias,;t t
26757 s,@target_alias@,$target_alias,;t t
26758 s,@DEFS@,$DEFS,;t t
26759 s,@ECHO_C@,$ECHO_C,;t t
26760 s,@ECHO_N@,$ECHO_N,;t t
26761 s,@ECHO_T@,$ECHO_T,;t t
26762 s,@LIBS@,$LIBS,;t t
26763 s,@VERSION_INFO@,$VERSION_INFO,;t t
26764 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26765 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26766 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26767 s,@PACKAGE@,$PACKAGE,;t t
26768 s,@VERSION@,$VERSION,;t t
26769 s,@ACLOCAL@,$ACLOCAL,;t t
26770 s,@AUTOCONF@,$AUTOCONF,;t t
26771 s,@AUTOMAKE@,$AUTOMAKE,;t t
26772 s,@AUTOHEADER@,$AUTOHEADER,;t t
26773 s,@MAKEINFO@,$MAKEINFO,;t t
26774 s,@SET_MAKE@,$SET_MAKE,;t t
26775 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
26776 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
26777 s,@MAINT@,$MAINT,;t t
26778 s,@CC@,$CC,;t t
26779 s,@CFLAGS@,$CFLAGS,;t t
26780 s,@LDFLAGS@,$LDFLAGS,;t t
26781 s,@CPPFLAGS@,$CPPFLAGS,;t t
26782 s,@ac_ct_CC@,$ac_ct_CC,;t t
26783 s,@EXEEXT@,$EXEEXT,;t t
26784 s,@OBJEXT@,$OBJEXT,;t t
26785 s,@LN_S@,$LN_S,;t t
26786 s,@CPP@,$CPP,;t t
26787 s,@EGREP@,$EGREP,;t t
26788 s,@build@,$build,;t t
26789 s,@build_cpu@,$build_cpu,;t t
26790 s,@build_vendor@,$build_vendor,;t t
26791 s,@build_os@,$build_os,;t t
26792 s,@host@,$host,;t t
26793 s,@host_cpu@,$host_cpu,;t t
26794 s,@host_vendor@,$host_vendor,;t t
26795 s,@host_os@,$host_os,;t t
26796 s,@ECHO@,$ECHO,;t t
26797 s,@AR@,$AR,;t t
26798 s,@ac_ct_AR@,$ac_ct_AR,;t t
26799 s,@RANLIB@,$RANLIB,;t t
26800 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26801 s,@STRIP@,$STRIP,;t t
26802 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26803 s,@CXX@,$CXX,;t t
26804 s,@CXXFLAGS@,$CXXFLAGS,;t t
26805 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26806 s,@CXXCPP@,$CXXCPP,;t t
26807 s,@F77@,$F77,;t t
26808 s,@FFLAGS@,$FFLAGS,;t t
26809 s,@ac_ct_F77@,$ac_ct_F77,;t t
26810 s,@LIBTOOL@,$LIBTOOL,;t t
26811 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
26812 s,@have_swig@,$have_swig,;t t
26813 s,@have_pascal@,$have_pascal,;t t
26814 s,@PA_VERSION@,$PA_VERSION,;t t
26815 s,@PA_MODULES_PATH@,$PA_MODULES_PATH,;t t
26816 s,@WITH_PASCAL_TRUE@,$WITH_PASCAL_TRUE,;t t
26817 s,@WITH_PASCAL_FALSE@,$WITH_PASCAL_FALSE,;t t
26818 s,@have_python@,$have_python,;t t
26819 s,@PY_VERSION@,$PY_VERSION,;t t
26820 s,@PY_CFLAGS@,$PY_CFLAGS,;t t
26821 s,@PY_MODULES_PATH@,$PY_MODULES_PATH,;t t
26822 s,@WITH_PYTHON_TRUE@,$WITH_PYTHON_TRUE,;t t
26823 s,@WITH_PYTHON_FALSE@,$WITH_PYTHON_FALSE,;t t
26824 s,@have_perl@,$have_perl,;t t
26825 s,@PE_CFLAGS@,$PE_CFLAGS,;t t
26826 s,@PE_MODULES_PATH@,$PE_MODULES_PATH,;t t
26827 s,@WITH_PERL_TRUE@,$WITH_PERL_TRUE,;t t
26828 s,@WITH_PERL_FALSE@,$WITH_PERL_FALSE,;t t
26829 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
26830 s,@USE_NLS@,$USE_NLS,;t t
26831 s,@MSGFMT@,$MSGFMT,;t t
26832 s,@GMSGFMT@,$GMSGFMT,;t t
26833 s,@XGETTEXT@,$XGETTEXT,;t t
26834 s,@MSGMERGE@,$MSGMERGE,;t t
26835 s,@GLIBC2@,$GLIBC2,;t t
26836 s,@ALLOCA@,$ALLOCA,;t t
26837 s,@GLIBC21@,$GLIBC21,;t t
26838 s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t
26839 s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
26840 s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
26841 s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
26842 s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
26843 s,@LIBICONV@,$LIBICONV,;t t
26844 s,@LTLIBICONV@,$LTLIBICONV,;t t
26845 s,@INTLBISON@,$INTLBISON,;t t
26846 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
26847 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
26848 s,@CATOBJEXT@,$CATOBJEXT,;t t
26849 s,@DATADIRNAME@,$DATADIRNAME,;t t
26850 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
26851 s,@GENCAT@,$GENCAT,;t t
26852 s,@INTLOBJS@,$INTLOBJS,;t t
26853 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
26854 s,@INTLLIBS@,$INTLLIBS,;t t
26855 s,@LIBINTL@,$LIBINTL,;t t
26856 s,@LTLIBINTL@,$LTLIBINTL,;t t
26857 s,@POSUB@,$POSUB,;t t
26858 s,@WITH_EXAMPLES_TRUE@,$WITH_EXAMPLES_TRUE,;t t
26859 s,@WITH_EXAMPLES_FALSE@,$WITH_EXAMPLES_FALSE,;t t
26860 s,@WITH_HCAL_TRUE@,$WITH_HCAL_TRUE,;t t
26861 s,@WITH_HCAL_FALSE@,$WITH_HCAL_FALSE,;t t
26862 s,@LIBOBJS@,$LIBOBJS,;t t
26863 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26864 CEOF
26865
26866 _ACEOF
26867
26868 cat >>$CONFIG_STATUS <<\_ACEOF
26869 # Split the substitutions into bite-sized pieces for seds with
26870 # small command number limits, like on Digital OSF/1 and HP-UX.
26871 ac_max_sed_lines=48
26872 ac_sed_frag=1 # Number of current file.
26873 ac_beg=1 # First line for current file.
26874 ac_end=$ac_max_sed_lines # Line after last line for current file.
26875 ac_more_lines=:
26876 ac_sed_cmds=
26877 while $ac_more_lines; do
26878 if test $ac_beg -gt 1; then
26879 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26880 else
26881 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29272 if test -n "$CONFIG_FILES"; then
29273
29274 _ACEOF
29275
29276
29277
29278 ac_delim='%!_!# '
29279 for ac_last_try in false false false false false :; do
29280 cat >conf$$subs.sed <<_ACEOF
29281 SHELL!$SHELL$ac_delim
29282 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29283 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29284 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29285 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29286 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29287 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29288 exec_prefix!$exec_prefix$ac_delim
29289 prefix!$prefix$ac_delim
29290 program_transform_name!$program_transform_name$ac_delim
29291 bindir!$bindir$ac_delim
29292 sbindir!$sbindir$ac_delim
29293 libexecdir!$libexecdir$ac_delim
29294 datarootdir!$datarootdir$ac_delim
29295 datadir!$datadir$ac_delim
29296 sysconfdir!$sysconfdir$ac_delim
29297 sharedstatedir!$sharedstatedir$ac_delim
29298 localstatedir!$localstatedir$ac_delim
29299 includedir!$includedir$ac_delim
29300 oldincludedir!$oldincludedir$ac_delim
29301 docdir!$docdir$ac_delim
29302 infodir!$infodir$ac_delim
29303 htmldir!$htmldir$ac_delim
29304 dvidir!$dvidir$ac_delim
29305 pdfdir!$pdfdir$ac_delim
29306 psdir!$psdir$ac_delim
29307 libdir!$libdir$ac_delim
29308 localedir!$localedir$ac_delim
29309 mandir!$mandir$ac_delim
29310 DEFS!$DEFS$ac_delim
29311 ECHO_C!$ECHO_C$ac_delim
29312 ECHO_N!$ECHO_N$ac_delim
29313 ECHO_T!$ECHO_T$ac_delim
29314 LIBS!$LIBS$ac_delim
29315 build_alias!$build_alias$ac_delim
29316 host_alias!$host_alias$ac_delim
29317 target_alias!$target_alias$ac_delim
29318 VERSION_INFO!$VERSION_INFO$ac_delim
29319 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29320 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29321 INSTALL_DATA!$INSTALL_DATA$ac_delim
29322 CYGPATH_W!$CYGPATH_W$ac_delim
29323 PACKAGE!$PACKAGE$ac_delim
29324 VERSION!$VERSION$ac_delim
29325 ACLOCAL!$ACLOCAL$ac_delim
29326 AUTOCONF!$AUTOCONF$ac_delim
29327 AUTOMAKE!$AUTOMAKE$ac_delim
29328 AUTOHEADER!$AUTOHEADER$ac_delim
29329 MAKEINFO!$MAKEINFO$ac_delim
29330 install_sh!$install_sh$ac_delim
29331 STRIP!$STRIP$ac_delim
29332 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29333 mkdir_p!$mkdir_p$ac_delim
29334 AWK!$AWK$ac_delim
29335 SET_MAKE!$SET_MAKE$ac_delim
29336 am__leading_dot!$am__leading_dot$ac_delim
29337 AMTAR!$AMTAR$ac_delim
29338 am__tar!$am__tar$ac_delim
29339 am__untar!$am__untar$ac_delim
29340 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
29341 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
29342 MAINT!$MAINT$ac_delim
29343 CC!$CC$ac_delim
29344 CFLAGS!$CFLAGS$ac_delim
29345 LDFLAGS!$LDFLAGS$ac_delim
29346 CPPFLAGS!$CPPFLAGS$ac_delim
29347 ac_ct_CC!$ac_ct_CC$ac_delim
29348 EXEEXT!$EXEEXT$ac_delim
29349 OBJEXT!$OBJEXT$ac_delim
29350 DEPDIR!$DEPDIR$ac_delim
29351 am__include!$am__include$ac_delim
29352 am__quote!$am__quote$ac_delim
29353 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29354 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29355 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29356 CCDEPMODE!$CCDEPMODE$ac_delim
29357 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29358 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29359 LN_S!$LN_S$ac_delim
29360 CPP!$CPP$ac_delim
29361 GREP!$GREP$ac_delim
29362 EGREP!$EGREP$ac_delim
29363 build!$build$ac_delim
29364 build_cpu!$build_cpu$ac_delim
29365 build_vendor!$build_vendor$ac_delim
29366 build_os!$build_os$ac_delim
29367 host!$host$ac_delim
29368 host_cpu!$host_cpu$ac_delim
29369 host_vendor!$host_vendor$ac_delim
29370 host_os!$host_os$ac_delim
29371 ECHO!$ECHO$ac_delim
29372 AR!$AR$ac_delim
29373 RANLIB!$RANLIB$ac_delim
29374 CXX!$CXX$ac_delim
29375 CXXFLAGS!$CXXFLAGS$ac_delim
29376 ac_ct_CXX!$ac_ct_CXX$ac_delim
29377 CXXDEPMODE!$CXXDEPMODE$ac_delim
29378 _ACEOF
29379
29380 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29381 break
29382 elif $ac_last_try; then
29383 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29384 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29385 { (exit 1); exit 1; }; }
29386 else
29387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29388 fi
29389 done
29390
29391 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29392 if test -n "$ac_eof"; then
29393 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29394 ac_eof=`expr $ac_eof + 1`
29395 fi
29396
29397 cat >>$CONFIG_STATUS <<_ACEOF
29398 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29400 _ACEOF
29401 sed '
29402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29403 s/^/s,@/; s/!/@,|#_!!_#|/
29404 :n
29405 t n
29406 s/'"$ac_delim"'$/,g/; t
29407 s/$/\\/; p
29408 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29409 ' >>$CONFIG_STATUS <conf$$subs.sed
29410 rm -f conf$$subs.sed
29411 cat >>$CONFIG_STATUS <<_ACEOF
29412 CEOF$ac_eof
29413 _ACEOF
29414
29415
29416 ac_delim='%!_!# '
29417 for ac_last_try in false false false false false :; do
29418 cat >conf$$subs.sed <<_ACEOF
29419 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29420 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29421 CXXCPP!$CXXCPP$ac_delim
29422 F77!$F77$ac_delim
29423 FFLAGS!$FFLAGS$ac_delim
29424 ac_ct_F77!$ac_ct_F77$ac_delim
29425 LIBTOOL!$LIBTOOL$ac_delim
29426 PKG_CONFIG!$PKG_CONFIG$ac_delim
29427 have_swig!$have_swig$ac_delim
29428 have_pascal!$have_pascal$ac_delim
29429 PA_VERSION!$PA_VERSION$ac_delim
29430 PA_MODULES_PATH!$PA_MODULES_PATH$ac_delim
29431 WITH_PASCAL_TRUE!$WITH_PASCAL_TRUE$ac_delim
29432 WITH_PASCAL_FALSE!$WITH_PASCAL_FALSE$ac_delim
29433 have_python!$have_python$ac_delim
29434 PY_VERSION!$PY_VERSION$ac_delim
29435 PY_CFLAGS!$PY_CFLAGS$ac_delim
29436 PY_MODULES_PATH!$PY_MODULES_PATH$ac_delim
29437 WITH_PYTHON_TRUE!$WITH_PYTHON_TRUE$ac_delim
29438 WITH_PYTHON_FALSE!$WITH_PYTHON_FALSE$ac_delim
29439 have_perl!$have_perl$ac_delim
29440 PE_CFLAGS!$PE_CFLAGS$ac_delim
29441 PE_MODULES_PATH!$PE_MODULES_PATH$ac_delim
29442 WITH_PERL_TRUE!$WITH_PERL_TRUE$ac_delim
29443 WITH_PERL_FALSE!$WITH_PERL_FALSE$ac_delim
29444 USE_NLS!$USE_NLS$ac_delim
29445 MSGFMT!$MSGFMT$ac_delim
29446 GMSGFMT!$GMSGFMT$ac_delim
29447 MSGFMT_015!$MSGFMT_015$ac_delim
29448 GMSGFMT_015!$GMSGFMT_015$ac_delim
29449 XGETTEXT!$XGETTEXT$ac_delim
29450 XGETTEXT_015!$XGETTEXT_015$ac_delim
29451 MSGMERGE!$MSGMERGE$ac_delim
29452 GLIBC2!$GLIBC2$ac_delim
29453 CFLAG_VISIBILITY!$CFLAG_VISIBILITY$ac_delim
29454 HAVE_VISIBILITY!$HAVE_VISIBILITY$ac_delim
29455 ALLOCA!$ALLOCA$ac_delim
29456 PRI_MACROS_BROKEN!$PRI_MACROS_BROKEN$ac_delim
29457 LIBPTH!$LIBPTH$ac_delim
29458 LTLIBPTH!$LTLIBPTH$ac_delim
29459 LIBTHREAD!$LIBTHREAD$ac_delim
29460 LTLIBTHREAD!$LTLIBTHREAD$ac_delim
29461 LIBMULTITHREAD!$LIBMULTITHREAD$ac_delim
29462 LTLIBMULTITHREAD!$LTLIBMULTITHREAD$ac_delim
29463 LIBICONV!$LIBICONV$ac_delim
29464 LTLIBICONV!$LTLIBICONV$ac_delim
29465 INTLBISON!$INTLBISON$ac_delim
29466 GLIBC21!$GLIBC21$ac_delim
29467 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
29468 HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
29469 HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
29470 HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
29471 HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
29472 WOE32DLL!$WOE32DLL$ac_delim
29473 BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
29474 USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
29475 CATOBJEXT!$CATOBJEXT$ac_delim
29476 DATADIRNAME!$DATADIRNAME$ac_delim
29477 INSTOBJEXT!$INSTOBJEXT$ac_delim
29478 GENCAT!$GENCAT$ac_delim
29479 INTLOBJS!$INTLOBJS$ac_delim
29480 INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
29481 INTLLIBS!$INTLLIBS$ac_delim
29482 LIBINTL!$LIBINTL$ac_delim
29483 LTLIBINTL!$LTLIBINTL$ac_delim
29484 POSUB!$POSUB$ac_delim
29485 WITH_EXAMPLES_TRUE!$WITH_EXAMPLES_TRUE$ac_delim
29486 WITH_EXAMPLES_FALSE!$WITH_EXAMPLES_FALSE$ac_delim
29487 WITH_HCAL_TRUE!$WITH_HCAL_TRUE$ac_delim
29488 WITH_HCAL_FALSE!$WITH_HCAL_FALSE$ac_delim
29489 LIBOBJS!$LIBOBJS$ac_delim
29490 LTLIBOBJS!$LTLIBOBJS$ac_delim
29491 _ACEOF
29492
29493 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
29494 break
29495 elif $ac_last_try; then
29496 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29497 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29498 { (exit 1); exit 1; }; }
29499 else
29500 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29501 fi
29502 done
29503
29504 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29505 if test -n "$ac_eof"; then
29506 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29507 ac_eof=`expr $ac_eof + 1`
29508 fi
29509
29510 cat >>$CONFIG_STATUS <<_ACEOF
29511 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29513 _ACEOF
29514 sed '
29515 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29516 s/^/s,@/; s/!/@,|#_!!_#|/
29517 :n
29518 t n
29519 s/'"$ac_delim"'$/,g/; t
29520 s/$/\\/; p
29521 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29522 ' >>$CONFIG_STATUS <conf$$subs.sed
29523 rm -f conf$$subs.sed
29524 cat >>$CONFIG_STATUS <<_ACEOF
29525 :end
29526 s/|#_!!_#|//g
29527 CEOF$ac_eof
29528 _ACEOF
29529
29530
29531 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29532 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29533 # trailing colons and then remove the whole line if VPATH becomes empty
29534 # (actually we leave an empty line to preserve line numbers).
29535 if test "x$srcdir" = x.; then
29536 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29537 s/:*\$(srcdir):*/:/
29538 s/:*\${srcdir}:*/:/
29539 s/:*@srcdir@:*/:/
29540 s/^\([^=]*=[ ]*\):*/\1/
29541 s/:*$//
29542 s/^[^=]*=[ ]*$//
29543 }'
29544 fi
29545
29546 cat >>$CONFIG_STATUS <<\_ACEOF
29547 fi # test -n "$CONFIG_FILES"
29548
29549
29550 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
29551 do
29552 case $ac_tag in
29553 :[FHLC]) ac_mode=$ac_tag; continue;;
29554 esac
29555 case $ac_mode$ac_tag in
29556 :[FHL]*:*);;
29557 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29558 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29559 { (exit 1); exit 1; }; };;
29560 :[FH]-) ac_tag=-:-;;
29561 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29562 esac
29563 ac_save_IFS=$IFS
29564 IFS=:
29565 set x $ac_tag
29566 IFS=$ac_save_IFS
29567 shift
29568 ac_file=$1
29569 shift
29570
29571 case $ac_mode in
29572 :L) ac_source=$1;;
29573 :[FH])
29574 ac_file_inputs=
29575 for ac_f
29576 do
29577 case $ac_f in
29578 -) ac_f="$tmp/stdin";;
29579 *) # Look for the file first in the build tree, then in the source tree
29580 # (if the path is not absolute). The absolute path cannot be DOS-style,
29581 # because $ac_f cannot contain `:'.
29582 test -f "$ac_f" ||
29583 case $ac_f in
29584 [\\/$]*) false;;
29585 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29586 esac ||
29587 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29588 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29589 { (exit 1); exit 1; }; };;
29590 esac
29591 ac_file_inputs="$ac_file_inputs $ac_f"
29592 done
29593
29594 # Let's still pretend it is `configure' which instantiates (i.e., don't
29595 # use $as_me), people would be surprised to read:
29596 # /* config.h. Generated by config.status. */
29597 configure_input="Generated from "`IFS=:
29598 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29599 if test x"$ac_file" != x-; then
29600 configure_input="$ac_file. $configure_input"
29601 { echo "$as_me:$LINENO: creating $ac_file" >&5
29602 echo "$as_me: creating $ac_file" >&6;}
2688229603 fi
26883 if test ! -s $tmp/subs.frag; then
26884 ac_more_lines=false
26885 else
26886 # The purpose of the label and of the branching condition is to
26887 # speed up the sed processing (if there are no `@' at all, there
26888 # is no need to browse any of the substitutions).
26889 # These are the two extra sed commands mentioned above.
26890 (echo ':t
26891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
26892 if test -z "$ac_sed_cmds"; then
26893 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
26894 else
26895 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26896 fi
26897 ac_sed_frag=`expr $ac_sed_frag + 1`
26898 ac_beg=$ac_end
26899 ac_end=`expr $ac_end + $ac_max_sed_lines`
26900 fi
26901 done
26902 if test -z "$ac_sed_cmds"; then
26903 ac_sed_cmds=cat
26904 fi
26905 fi # test -n "$CONFIG_FILES"
26906
26907 _ACEOF
26908 cat >>$CONFIG_STATUS <<\_ACEOF
26909 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
26910 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26911 case $ac_file in
26912 - | *:- | *:-:* ) # input from stdin
26913 cat >$tmp/stdin
26914 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26915 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26916 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26917 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26918 * ) ac_file_in=$ac_file.in ;;
29604
29605 case $ac_tag in
29606 *:-:* | *:-) cat >"$tmp/stdin";;
29607 esac
29608 ;;
2691929609 esac
2692029610
26921 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26922 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29611 ac_dir=`$as_dirname -- "$ac_file" ||
2692329612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2692429613 X"$ac_file" : 'X\(//\)[^/]' \| \
2692529614 X"$ac_file" : 'X\(//\)$' \| \
26926 X"$ac_file" : 'X\(/\)' \| \
26927 . : '\(.\)' 2>/dev/null ||
29615 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2692829616 echo X"$ac_file" |
26929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26931 /^X\(\/\/\)$/{ s//\1/; q; }
26932 /^X\(\/\).*/{ s//\1/; q; }
26933 s/.*/./; q'`
26934 { if $as_mkdir_p; then
26935 mkdir -p "$ac_dir"
26936 else
26937 as_dir="$ac_dir"
29617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29618 s//\1/
29619 q
29620 }
29621 /^X\(\/\/\)[^/].*/{
29622 s//\1/
29623 q
29624 }
29625 /^X\(\/\/\)$/{
29626 s//\1/
29627 q
29628 }
29629 /^X\(\/\).*/{
29630 s//\1/
29631 q
29632 }
29633 s/.*/./; q'`
29634 { as_dir="$ac_dir"
29635 case $as_dir in #(
29636 -*) as_dir=./$as_dir;;
29637 esac
29638 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2693829639 as_dirs=
26939 while test ! -d "$as_dir"; do
26940 as_dirs="$as_dir $as_dirs"
26941 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29640 while :; do
29641 case $as_dir in #(
29642 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29643 *) as_qdir=$as_dir;;
29644 esac
29645 as_dirs="'$as_qdir' $as_dirs"
29646 as_dir=`$as_dirname -- "$as_dir" ||
2694229647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2694329648 X"$as_dir" : 'X\(//\)[^/]' \| \
2694429649 X"$as_dir" : 'X\(//\)$' \| \
26945 X"$as_dir" : 'X\(/\)' \| \
26946 . : '\(.\)' 2>/dev/null ||
29650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2694729651 echo X"$as_dir" |
26948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26950 /^X\(\/\/\)$/{ s//\1/; q; }
26951 /^X\(\/\).*/{ s//\1/; q; }
26952 s/.*/./; q'`
29652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29653 s//\1/
29654 q
29655 }
29656 /^X\(\/\/\)[^/].*/{
29657 s//\1/
29658 q
29659 }
29660 /^X\(\/\/\)$/{
29661 s//\1/
29662 q
29663 }
29664 /^X\(\/\).*/{
29665 s//\1/
29666 q
29667 }
29668 s/.*/./; q'`
29669 test -d "$as_dir" && break
2695329670 done
26954 test ! -n "$as_dirs" || mkdir $as_dirs
26955 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26956 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29671 test -z "$as_dirs" || eval "mkdir $as_dirs"
29672 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29673 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2695729674 { (exit 1); exit 1; }; }; }
26958
2695929675 ac_builddir=.
2696029676
26961 if test "$ac_dir" != .; then
29677 case "$ac_dir" in
29678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29679 *)
2696229680 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26963 # A "../" for each directory in $ac_dir_suffix.
26964 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26965 else
26966 ac_dir_suffix= ac_top_builddir=
26967 fi
29681 # A ".." for each directory in $ac_dir_suffix.
29682 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
29683 case $ac_top_builddir_sub in
29684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29686 esac ;;
29687 esac
29688 ac_abs_top_builddir=$ac_pwd
29689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29690 # for backward compatibility:
29691 ac_top_builddir=$ac_top_build_prefix
2696829692
2696929693 case $srcdir in
26970 .) # No --srcdir option. We are building in place.
29694 .) # We are building in place.
2697129695 ac_srcdir=.
26972 if test -z "$ac_top_builddir"; then
26973 ac_top_srcdir=.
26974 else
26975 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26976 fi ;;
26977 [\\/]* | ?:[\\/]* ) # Absolute path.
29696 ac_top_srcdir=$ac_top_builddir_sub
29697 ac_abs_top_srcdir=$ac_pwd ;;
29698 [\\/]* | ?:[\\/]* ) # Absolute name.
2697829699 ac_srcdir=$srcdir$ac_dir_suffix;
26979 ac_top_srcdir=$srcdir ;;
26980 *) # Relative path.
26981 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26982 ac_top_srcdir=$ac_top_builddir$srcdir ;;
29700 ac_top_srcdir=$srcdir
29701 ac_abs_top_srcdir=$srcdir ;;
29702 *) # Relative name.
29703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29704 ac_top_srcdir=$ac_top_build_prefix$srcdir
29705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2698329706 esac
26984
26985 # Do not use `cd foo && pwd` to compute absolute paths, because
26986 # the directories may not exist.
26987 case `pwd` in
26988 .) ac_abs_builddir="$ac_dir";;
26989 *)
26990 case "$ac_dir" in
26991 .) ac_abs_builddir=`pwd`;;
26992 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26993 *) ac_abs_builddir=`pwd`/"$ac_dir";;
26994 esac;;
26995 esac
26996 case $ac_abs_builddir in
26997 .) ac_abs_top_builddir=${ac_top_builddir}.;;
26998 *)
26999 case ${ac_top_builddir}. in
27000 .) ac_abs_top_builddir=$ac_abs_builddir;;
27001 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27002 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27003 esac;;
27004 esac
27005 case $ac_abs_builddir in
27006 .) ac_abs_srcdir=$ac_srcdir;;
27007 *)
27008 case $ac_srcdir in
27009 .) ac_abs_srcdir=$ac_abs_builddir;;
27010 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27011 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27012 esac;;
27013 esac
27014 case $ac_abs_builddir in
27015 .) ac_abs_top_srcdir=$ac_top_srcdir;;
27016 *)
27017 case $ac_top_srcdir in
27018 .) ac_abs_top_srcdir=$ac_abs_builddir;;
27019 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27020 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27021 esac;;
27022 esac
27023
29707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29708
29709
29710 case $ac_mode in
29711 :F)
29712 #
29713 # CONFIG_FILE
29714 #
2702429715
2702529716 case $INSTALL in
2702629717 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27027 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29718 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2702829719 esac
27029
27030 # Let's still pretend it is `configure' which instantiates (i.e., don't
27031 # use $as_me), people would be surprised to read:
27032 # /* config.h. Generated by config.status. */
27033 if test x"$ac_file" = x-; then
27034 configure_input=
27035 else
27036 configure_input="$ac_file. "
27037 fi
27038 configure_input=$configure_input"Generated from `echo $ac_file_in |
27039 sed 's,.*/,,'` by configure."
27040
27041 # First look for the input files in the build tree, otherwise in the
27042 # src tree.
27043 ac_file_inputs=`IFS=:
27044 for f in $ac_file_in; do
27045 case $f in
27046 -) echo $tmp/stdin ;;
27047 [\\/$]*)
27048 # Absolute (can't be DOS-style, as IFS=:)
27049 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27050 echo "$as_me: error: cannot find input file: $f" >&2;}
27051 { (exit 1); exit 1; }; }
27052 echo "$f";;
27053 *) # Relative
27054 if test -f "$f"; then
27055 # Build tree
27056 echo "$f"
27057 elif test -f "$srcdir/$f"; then
27058 # Source tree
27059 echo "$srcdir/$f"
27060 else
27061 # /dev/null tree
27062 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27063 echo "$as_me: error: cannot find input file: $f" >&2;}
27064 { (exit 1); exit 1; }; }
27065 fi;;
27066 esac
27067 done` || { (exit 1); exit 1; }
27068
27069 if test x"$ac_file" != x-; then
27070 { echo "$as_me:$LINENO: creating $ac_file" >&5
27071 echo "$as_me: creating $ac_file" >&6;}
27072 rm -f "$ac_file"
27073 fi
27074 _ACEOF
29720 _ACEOF
29721
29722 cat >>$CONFIG_STATUS <<\_ACEOF
29723 # If the template does not know about datarootdir, expand it.
29724 # FIXME: This hack should be removed a few years after 2.60.
29725 ac_datarootdir_hack=; ac_datarootdir_seen=
29726
29727 case `sed -n '/datarootdir/ {
29728 p
29729 q
29730 }
29731 /@datadir@/p
29732 /@docdir@/p
29733 /@infodir@/p
29734 /@localedir@/p
29735 /@mandir@/p
29736 ' $ac_file_inputs` in
29737 *datarootdir*) ac_datarootdir_seen=yes;;
29738 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29739 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29740 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29741 _ACEOF
29742 cat >>$CONFIG_STATUS <<_ACEOF
29743 ac_datarootdir_hack='
29744 s&@datadir@&$datadir&g
29745 s&@docdir@&$docdir&g
29746 s&@infodir@&$infodir&g
29747 s&@localedir@&$localedir&g
29748 s&@mandir@&$mandir&g
29749 s&\\\${datarootdir}&$datarootdir&g' ;;
29750 esac
29751 _ACEOF
29752
29753 # Neutralize VPATH when `$srcdir' = `.'.
29754 # Shell code in configure.ac might set extrasub.
29755 # FIXME: do we really want to maintain this feature?
2707529756 cat >>$CONFIG_STATUS <<_ACEOF
2707629757 sed "$ac_vpsub
2707729758 $extrasub
2707929760 cat >>$CONFIG_STATUS <<\_ACEOF
2708029761 :t
2708129762 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27082 s,@configure_input@,$configure_input,;t t
27083 s,@srcdir@,$ac_srcdir,;t t
27084 s,@abs_srcdir@,$ac_abs_srcdir,;t t
27085 s,@top_srcdir@,$ac_top_srcdir,;t t
27086 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
27087 s,@builddir@,$ac_builddir,;t t
27088 s,@abs_builddir@,$ac_abs_builddir,;t t
27089 s,@top_builddir@,$ac_top_builddir,;t t
27090 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
27091 s,@INSTALL@,$ac_INSTALL,;t t
27092 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
27093 rm -f $tmp/stdin
27094 if test x"$ac_file" != x-; then
27095 mv $tmp/out $ac_file
29763 s&@configure_input@&$configure_input&;t t
29764 s&@top_builddir@&$ac_top_builddir_sub&;t t
29765 s&@srcdir@&$ac_srcdir&;t t
29766 s&@abs_srcdir@&$ac_abs_srcdir&;t t
29767 s&@top_srcdir@&$ac_top_srcdir&;t t
29768 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29769 s&@builddir@&$ac_builddir&;t t
29770 s&@abs_builddir@&$ac_abs_builddir&;t t
29771 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29772 s&@INSTALL@&$ac_INSTALL&;t t
29773 $ac_datarootdir_hack
29774 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
29775
29776 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29777 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29778 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29779 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29780 which seems to be undefined. Please make sure it is defined." >&5
29781 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29782 which seems to be undefined. Please make sure it is defined." >&2;}
29783
29784 rm -f "$tmp/stdin"
29785 case $ac_file in
29786 -) cat "$tmp/out"; rm -f "$tmp/out";;
29787 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
29788 esac
29789 ;;
29790
29791
29792 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
29793 echo "$as_me: executing $ac_file commands" >&6;}
29794 ;;
29795 esac
29796
29797
29798 case $ac_file$ac_mode in
29799 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29800 # Strip MF so we end up with the name of the file.
29801 mf=`echo "$mf" | sed -e 's/:.*$//'`
29802 # Check whether this is an Automake generated Makefile or not.
29803 # We used to match only the files named `Makefile.in', but
29804 # some people rename them; so instead we look at the file content.
29805 # Grep'ing the first line is not enough: some people post-process
29806 # each Makefile.in and add a new line on top of each file to say so.
29807 # So let's grep whole file.
29808 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29809 dirpart=`$as_dirname -- "$mf" ||
29810 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29811 X"$mf" : 'X\(//\)[^/]' \| \
29812 X"$mf" : 'X\(//\)$' \| \
29813 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29814 echo X"$mf" |
29815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29816 s//\1/
29817 q
29818 }
29819 /^X\(\/\/\)[^/].*/{
29820 s//\1/
29821 q
29822 }
29823 /^X\(\/\/\)$/{
29824 s//\1/
29825 q
29826 }
29827 /^X\(\/\).*/{
29828 s//\1/
29829 q
29830 }
29831 s/.*/./; q'`
2709629832 else
27097 cat $tmp/out
27098 rm -f $tmp/out
29833 continue
2709929834 fi
27100
27101 done
27102 _ACEOF
27103 cat >>$CONFIG_STATUS <<\_ACEOF
27104
27105 #
27106 # CONFIG_COMMANDS section.
27107 #
27108 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
27109 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
27110 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
27111 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
27112 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27113 X"$ac_dest" : 'X\(//\)[^/]' \| \
27114 X"$ac_dest" : 'X\(//\)$' \| \
27115 X"$ac_dest" : 'X\(/\)' \| \
27116 . : '\(.\)' 2>/dev/null ||
27117 echo X"$ac_dest" |
27118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27120 /^X\(\/\/\)$/{ s//\1/; q; }
27121 /^X\(\/\).*/{ s//\1/; q; }
27122 s/.*/./; q'`
27123 { if $as_mkdir_p; then
27124 mkdir -p "$ac_dir"
27125 else
27126 as_dir="$ac_dir"
29835 # Extract the definition of DEPDIR, am__include, and am__quote
29836 # from the Makefile without running `make'.
29837 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29838 test -z "$DEPDIR" && continue
29839 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29840 test -z "am__include" && continue
29841 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29842 # When using ansi2knr, U may be empty or an underscore; expand it
29843 U=`sed -n 's/^U = //p' < "$mf"`
29844 # Find all dependency output files, they are included files with
29845 # $(DEPDIR) in their names. We invoke sed twice because it is the
29846 # simplest approach to changing $(DEPDIR) to its actual value in the
29847 # expansion.
29848 for file in `sed -n "
29849 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29850 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29851 # Make sure the directory exists.
29852 test -f "$dirpart/$file" && continue
29853 fdir=`$as_dirname -- "$file" ||
29854 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29855 X"$file" : 'X\(//\)[^/]' \| \
29856 X"$file" : 'X\(//\)$' \| \
29857 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29858 echo X"$file" |
29859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29860 s//\1/
29861 q
29862 }
29863 /^X\(\/\/\)[^/].*/{
29864 s//\1/
29865 q
29866 }
29867 /^X\(\/\/\)$/{
29868 s//\1/
29869 q
29870 }
29871 /^X\(\/\).*/{
29872 s//\1/
29873 q
29874 }
29875 s/.*/./; q'`
29876 { as_dir=$dirpart/$fdir
29877 case $as_dir in #(
29878 -*) as_dir=./$as_dir;;
29879 esac
29880 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2712729881 as_dirs=
27128 while test ! -d "$as_dir"; do
27129 as_dirs="$as_dir $as_dirs"
27130 as_dir=`(dirname "$as_dir") 2>/dev/null ||
29882 while :; do
29883 case $as_dir in #(
29884 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29885 *) as_qdir=$as_dir;;
29886 esac
29887 as_dirs="'$as_qdir' $as_dirs"
29888 as_dir=`$as_dirname -- "$as_dir" ||
2713129889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2713229890 X"$as_dir" : 'X\(//\)[^/]' \| \
2713329891 X"$as_dir" : 'X\(//\)$' \| \
27134 X"$as_dir" : 'X\(/\)' \| \
27135 . : '\(.\)' 2>/dev/null ||
29892 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2713629893 echo X"$as_dir" |
27137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27139 /^X\(\/\/\)$/{ s//\1/; q; }
27140 /^X\(\/\).*/{ s//\1/; q; }
27141 s/.*/./; q'`
29894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29895 s//\1/
29896 q
29897 }
29898 /^X\(\/\/\)[^/].*/{
29899 s//\1/
29900 q
29901 }
29902 /^X\(\/\/\)$/{
29903 s//\1/
29904 q
29905 }
29906 /^X\(\/\).*/{
29907 s//\1/
29908 q
29909 }
29910 s/.*/./; q'`
29911 test -d "$as_dir" && break
2714229912 done
27143 test ! -n "$as_dirs" || mkdir $as_dirs
27144 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27145 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29913 test -z "$as_dirs" || eval "mkdir $as_dirs"
29914 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29915 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2714629916 { (exit 1); exit 1; }; }; }
27147
27148 ac_builddir=.
27149
27150 if test "$ac_dir" != .; then
27151 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27152 # A "../" for each directory in $ac_dir_suffix.
27153 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27154 else
27155 ac_dir_suffix= ac_top_builddir=
27156 fi
27157
27158 case $srcdir in
27159 .) # No --srcdir option. We are building in place.
27160 ac_srcdir=.
27161 if test -z "$ac_top_builddir"; then
27162 ac_top_srcdir=.
27163 else
27164 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27165 fi ;;
27166 [\\/]* | ?:[\\/]* ) # Absolute path.
27167 ac_srcdir=$srcdir$ac_dir_suffix;
27168 ac_top_srcdir=$srcdir ;;
27169 *) # Relative path.
27170 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27171 ac_top_srcdir=$ac_top_builddir$srcdir ;;
27172 esac
27173
27174 # Do not use `cd foo && pwd` to compute absolute paths, because
27175 # the directories may not exist.
27176 case `pwd` in
27177 .) ac_abs_builddir="$ac_dir";;
27178 *)
27179 case "$ac_dir" in
27180 .) ac_abs_builddir=`pwd`;;
27181 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27182 *) ac_abs_builddir=`pwd`/"$ac_dir";;
27183 esac;;
27184 esac
27185 case $ac_abs_builddir in
27186 .) ac_abs_top_builddir=${ac_top_builddir}.;;
27187 *)
27188 case ${ac_top_builddir}. in
27189 .) ac_abs_top_builddir=$ac_abs_builddir;;
27190 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27191 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27192 esac;;
27193 esac
27194 case $ac_abs_builddir in
27195 .) ac_abs_srcdir=$ac_srcdir;;
27196 *)
27197 case $ac_srcdir in
27198 .) ac_abs_srcdir=$ac_abs_builddir;;
27199 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27200 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27201 esac;;
27202 esac
27203 case $ac_abs_builddir in
27204 .) ac_abs_top_srcdir=$ac_top_srcdir;;
27205 *)
27206 case $ac_top_srcdir in
27207 .) ac_abs_top_srcdir=$ac_abs_builddir;;
27208 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27209 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27210 esac;;
27211 esac
27212
27213
27214 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27215 echo "$as_me: executing $ac_dest commands" >&6;}
27216 case $ac_dest in
27217 default-1 )
29917 # echo "creating $dirpart/$file"
29918 echo '# dummy' > "$dirpart/$file"
29919 done
29920 done
29921 ;;
29922 "po-directories":C)
2721829923 for ac_file in $CONFIG_FILES; do
2721929924 # Support "outfile[:infile[:infile...]]"
2722029925 case "$ac_file" in
2725129956 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2725229957 fi
2725329958 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
27254 # Hide the ALL_LINGUAS assigment from automake.
29959 # Hide the ALL_LINGUAS assigment from automake < 1.5.
2725529960 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2725629961 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2725729962 else
2725829963 # The set of available languages was given in configure.in.
29964 # Hide the ALL_LINGUAS assigment from automake < 1.5.
2725929965 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
2726029966 fi
2726129967 # Compute POFILES
2732630032 ;;
2732730033 esac
2732830034 done ;;
30035
2732930036 esac
27330 done
27331 _ACEOF
27332
27333 cat >>$CONFIG_STATUS <<\_ACEOF
30037 done # for ac_tag
30038
2733430039
2733530040 { (exit 0); exit 0; }
2733630041 _ACEOF
33 PACKAGE=libhdate
44 LIBHDATE_MAJOR_VERSION=1
55 LIBHDATE_MINOR_VERSION=4
6 LIBHDATE_MICRO_VERSION=8
6 LIBHDATE_MICRO_VERSION=9
77
88 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
99 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
1515
1616 dnl Checks for programs.
1717 AC_ISC_POSIX
18 AC_GNU_SOURCE
1819 AC_PROG_CC
1920 AC_PROG_INSTALL
2021 AC_PROG_LN_S
0 #! /bin/sh
1 # depcomp - compile a program generating dependencies as side-effects
2
3 scriptversion=2005-07-09.11
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 # 02110-1301, USA.
21
22 # As a special exception to the GNU General Public License, if you
23 # distribute this file as part of a program that contains a
24 # configuration script generated by Autoconf, you may include it under
25 # the same distribution terms that you use for the rest of that program.
26
27 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
28
29 case $1 in
30 '')
31 echo "$0: No command. Try \`$0 --help' for more information." 1>&2
32 exit 1;
33 ;;
34 -h | --h*)
35 cat <<\EOF
36 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
37
38 Run PROGRAMS ARGS to compile a file, generating dependencies
39 as side-effects.
40
41 Environment variables:
42 depmode Dependency tracking mode.
43 source Source file read by `PROGRAMS ARGS'.
44 object Object file output by `PROGRAMS ARGS'.
45 DEPDIR directory where to store dependencies.
46 depfile Dependency file to output.
47 tmpdepfile Temporary file to use when outputing dependencies.
48 libtool Whether libtool is used (yes/no).
49
50 Report bugs to <bug-automake@gnu.org>.
51 EOF
52 exit $?
53 ;;
54 -v | --v*)
55 echo "depcomp $scriptversion"
56 exit $?
57 ;;
58 esac
59
60 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
61 echo "depcomp: Variables source, object and depmode must be set" 1>&2
62 exit 1
63 fi
64
65 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
66 depfile=${depfile-`echo "$object" |
67 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
68 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
69
70 rm -f "$tmpdepfile"
71
72 # Some modes work just like other modes, but use different flags. We
73 # parameterize here, but still list the modes in the big case below,
74 # to make depend.m4 easier to write. Note that we *cannot* use a case
75 # here, because this file can only contain one case statement.
76 if test "$depmode" = hp; then
77 # HP compiler uses -M and no extra arg.
78 gccflag=-M
79 depmode=gcc
80 fi
81
82 if test "$depmode" = dashXmstdout; then
83 # This is just like dashmstdout with a different argument.
84 dashmflag=-xM
85 depmode=dashmstdout
86 fi
87
88 case "$depmode" in
89 gcc3)
90 ## gcc 3 implements dependency tracking that does exactly what
91 ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
92 ## it if -MD -MP comes after the -MF stuff. Hmm.
93 "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
94 stat=$?
95 if test $stat -eq 0; then :
96 else
97 rm -f "$tmpdepfile"
98 exit $stat
99 fi
100 mv "$tmpdepfile" "$depfile"
101 ;;
102
103 gcc)
104 ## There are various ways to get dependency output from gcc. Here's
105 ## why we pick this rather obscure method:
106 ## - Don't want to use -MD because we'd like the dependencies to end
107 ## up in a subdir. Having to rename by hand is ugly.
108 ## (We might end up doing this anyway to support other compilers.)
109 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
110 ## -MM, not -M (despite what the docs say).
111 ## - Using -M directly means running the compiler twice (even worse
112 ## than renaming).
113 if test -z "$gccflag"; then
114 gccflag=-MD,
115 fi
116 "$@" -Wp,"$gccflag$tmpdepfile"
117 stat=$?
118 if test $stat -eq 0; then :
119 else
120 rm -f "$tmpdepfile"
121 exit $stat
122 fi
123 rm -f "$depfile"
124 echo "$object : \\" > "$depfile"
125 alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
126 ## The second -e expression handles DOS-style file names with drive letters.
127 sed -e 's/^[^:]*: / /' \
128 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
129 ## This next piece of magic avoids the `deleted header file' problem.
130 ## The problem is that when a header file which appears in a .P file
131 ## is deleted, the dependency causes make to die (because there is
132 ## typically no way to rebuild the header). We avoid this by adding
133 ## dummy dependencies for each header file. Too bad gcc doesn't do
134 ## this for us directly.
135 tr ' ' '
136 ' < "$tmpdepfile" |
137 ## Some versions of gcc put a space before the `:'. On the theory
138 ## that the space means something, we add a space to the output as
139 ## well.
140 ## Some versions of the HPUX 10.20 sed can't process this invocation
141 ## correctly. Breaking it into two sed invocations is a workaround.
142 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
143 rm -f "$tmpdepfile"
144 ;;
145
146 hp)
147 # This case exists only to let depend.m4 do its work. It works by
148 # looking at the text of this script. This case will never be run,
149 # since it is checked for above.
150 exit 1
151 ;;
152
153 sgi)
154 if test "$libtool" = yes; then
155 "$@" "-Wp,-MDupdate,$tmpdepfile"
156 else
157 "$@" -MDupdate "$tmpdepfile"
158 fi
159 stat=$?
160 if test $stat -eq 0; then :
161 else
162 rm -f "$tmpdepfile"
163 exit $stat
164 fi
165 rm -f "$depfile"
166
167 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
168 echo "$object : \\" > "$depfile"
169
170 # Clip off the initial element (the dependent). Don't try to be
171 # clever and replace this with sed code, as IRIX sed won't handle
172 # lines with more than a fixed number of characters (4096 in
173 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
174 # the IRIX cc adds comments like `#:fec' to the end of the
175 # dependency line.
176 tr ' ' '
177 ' < "$tmpdepfile" \
178 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
179 tr '
180 ' ' ' >> $depfile
181 echo >> $depfile
182
183 # The second pass generates a dummy entry for each header file.
184 tr ' ' '
185 ' < "$tmpdepfile" \
186 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
187 >> $depfile
188 else
189 # The sourcefile does not contain any dependencies, so just
190 # store a dummy comment line, to avoid errors with the Makefile
191 # "include basename.Plo" scheme.
192 echo "#dummy" > "$depfile"
193 fi
194 rm -f "$tmpdepfile"
195 ;;
196
197 aix)
198 # The C for AIX Compiler uses -M and outputs the dependencies
199 # in a .u file. In older versions, this file always lives in the
200 # current directory. Also, the AIX compiler puts `$object:' at the
201 # start of each line; $object doesn't have directory information.
202 # Version 6 uses the directory in both cases.
203 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
204 tmpdepfile="$stripped.u"
205 if test "$libtool" = yes; then
206 "$@" -Wc,-M
207 else
208 "$@" -M
209 fi
210 stat=$?
211
212 if test -f "$tmpdepfile"; then :
213 else
214 stripped=`echo "$stripped" | sed 's,^.*/,,'`
215 tmpdepfile="$stripped.u"
216 fi
217
218 if test $stat -eq 0; then :
219 else
220 rm -f "$tmpdepfile"
221 exit $stat
222 fi
223
224 if test -f "$tmpdepfile"; then
225 outname="$stripped.o"
226 # Each line is of the form `foo.o: dependent.h'.
227 # Do two passes, one to just change these to
228 # `$object: dependent.h' and one to simply `dependent.h:'.
229 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
230 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
231 else
232 # The sourcefile does not contain any dependencies, so just
233 # store a dummy comment line, to avoid errors with the Makefile
234 # "include basename.Plo" scheme.
235 echo "#dummy" > "$depfile"
236 fi
237 rm -f "$tmpdepfile"
238 ;;
239
240 icc)
241 # Intel's C compiler understands `-MD -MF file'. However on
242 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
243 # ICC 7.0 will fill foo.d with something like
244 # foo.o: sub/foo.c
245 # foo.o: sub/foo.h
246 # which is wrong. We want:
247 # sub/foo.o: sub/foo.c
248 # sub/foo.o: sub/foo.h
249 # sub/foo.c:
250 # sub/foo.h:
251 # ICC 7.1 will output
252 # foo.o: sub/foo.c sub/foo.h
253 # and will wrap long lines using \ :
254 # foo.o: sub/foo.c ... \
255 # sub/foo.h ... \
256 # ...
257
258 "$@" -MD -MF "$tmpdepfile"
259 stat=$?
260 if test $stat -eq 0; then :
261 else
262 rm -f "$tmpdepfile"
263 exit $stat
264 fi
265 rm -f "$depfile"
266 # Each line is of the form `foo.o: dependent.h',
267 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
268 # Do two passes, one to just change these to
269 # `$object: dependent.h' and one to simply `dependent.h:'.
270 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
271 # Some versions of the HPUX 10.20 sed can't process this invocation
272 # correctly. Breaking it into two sed invocations is a workaround.
273 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
274 sed -e 's/$/ :/' >> "$depfile"
275 rm -f "$tmpdepfile"
276 ;;
277
278 tru64)
279 # The Tru64 compiler uses -MD to generate dependencies as a side
280 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
281 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
282 # dependencies in `foo.d' instead, so we check for that too.
283 # Subdirectories are respected.
284 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
285 test "x$dir" = "x$object" && dir=
286 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
287
288 if test "$libtool" = yes; then
289 # With Tru64 cc, shared objects can also be used to make a
290 # static library. This mecanism is used in libtool 1.4 series to
291 # handle both shared and static libraries in a single compilation.
292 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
293 #
294 # With libtool 1.5 this exception was removed, and libtool now
295 # generates 2 separate objects for the 2 libraries. These two
296 # compilations output dependencies in in $dir.libs/$base.o.d and
297 # in $dir$base.o.d. We have to check for both files, because
298 # one of the two compilations can be disabled. We should prefer
299 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
300 # automatically cleaned when .libs/ is deleted, while ignoring
301 # the former would cause a distcleancheck panic.
302 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
303 tmpdepfile2=$dir$base.o.d # libtool 1.5
304 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
305 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
306 "$@" -Wc,-MD
307 else
308 tmpdepfile1=$dir$base.o.d
309 tmpdepfile2=$dir$base.d
310 tmpdepfile3=$dir$base.d
311 tmpdepfile4=$dir$base.d
312 "$@" -MD
313 fi
314
315 stat=$?
316 if test $stat -eq 0; then :
317 else
318 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
319 exit $stat
320 fi
321
322 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
323 do
324 test -f "$tmpdepfile" && break
325 done
326 if test -f "$tmpdepfile"; then
327 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
328 # That's a tab and a space in the [].
329 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
330 else
331 echo "#dummy" > "$depfile"
332 fi
333 rm -f "$tmpdepfile"
334 ;;
335
336 #nosideeffect)
337 # This comment above is used by automake to tell side-effect
338 # dependency tracking mechanisms from slower ones.
339
340 dashmstdout)
341 # Important note: in order to support this mode, a compiler *must*
342 # always write the preprocessed file to stdout, regardless of -o.
343 "$@" || exit $?
344
345 # Remove the call to Libtool.
346 if test "$libtool" = yes; then
347 while test $1 != '--mode=compile'; do
348 shift
349 done
350 shift
351 fi
352
353 # Remove `-o $object'.
354 IFS=" "
355 for arg
356 do
357 case $arg in
358 -o)
359 shift
360 ;;
361 $object)
362 shift
363 ;;
364 *)
365 set fnord "$@" "$arg"
366 shift # fnord
367 shift # $arg
368 ;;
369 esac
370 done
371
372 test -z "$dashmflag" && dashmflag=-M
373 # Require at least two characters before searching for `:'
374 # in the target name. This is to cope with DOS-style filenames:
375 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
376 "$@" $dashmflag |
377 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
378 rm -f "$depfile"
379 cat < "$tmpdepfile" > "$depfile"
380 tr ' ' '
381 ' < "$tmpdepfile" | \
382 ## Some versions of the HPUX 10.20 sed can't process this invocation
383 ## correctly. Breaking it into two sed invocations is a workaround.
384 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
385 rm -f "$tmpdepfile"
386 ;;
387
388 dashXmstdout)
389 # This case only exists to satisfy depend.m4. It is never actually
390 # run, as this mode is specially recognized in the preamble.
391 exit 1
392 ;;
393
394 makedepend)
395 "$@" || exit $?
396 # Remove any Libtool call
397 if test "$libtool" = yes; then
398 while test $1 != '--mode=compile'; do
399 shift
400 done
401 shift
402 fi
403 # X makedepend
404 shift
405 cleared=no
406 for arg in "$@"; do
407 case $cleared in
408 no)
409 set ""; shift
410 cleared=yes ;;
411 esac
412 case "$arg" in
413 -D*|-I*)
414 set fnord "$@" "$arg"; shift ;;
415 # Strip any option that makedepend may not understand. Remove
416 # the object too, otherwise makedepend will parse it as a source file.
417 -*|$object)
418 ;;
419 *)
420 set fnord "$@" "$arg"; shift ;;
421 esac
422 done
423 obj_suffix="`echo $object | sed 's/^.*\././'`"
424 touch "$tmpdepfile"
425 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
426 rm -f "$depfile"
427 cat < "$tmpdepfile" > "$depfile"
428 sed '1,2d' "$tmpdepfile" | tr ' ' '
429 ' | \
430 ## Some versions of the HPUX 10.20 sed can't process this invocation
431 ## correctly. Breaking it into two sed invocations is a workaround.
432 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
433 rm -f "$tmpdepfile" "$tmpdepfile".bak
434 ;;
435
436 cpp)
437 # Important note: in order to support this mode, a compiler *must*
438 # always write the preprocessed file to stdout.
439 "$@" || exit $?
440
441 # Remove the call to Libtool.
442 if test "$libtool" = yes; then
443 while test $1 != '--mode=compile'; do
444 shift
445 done
446 shift
447 fi
448
449 # Remove `-o $object'.
450 IFS=" "
451 for arg
452 do
453 case $arg in
454 -o)
455 shift
456 ;;
457 $object)
458 shift
459 ;;
460 *)
461 set fnord "$@" "$arg"
462 shift # fnord
463 shift # $arg
464 ;;
465 esac
466 done
467
468 "$@" -E |
469 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
470 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
471 sed '$ s: \\$::' > "$tmpdepfile"
472 rm -f "$depfile"
473 echo "$object : \\" > "$depfile"
474 cat < "$tmpdepfile" >> "$depfile"
475 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
476 rm -f "$tmpdepfile"
477 ;;
478
479 msvisualcpp)
480 # Important note: in order to support this mode, a compiler *must*
481 # always write the preprocessed file to stdout, regardless of -o,
482 # because we must use -o when running libtool.
483 "$@" || exit $?
484 IFS=" "
485 for arg
486 do
487 case "$arg" in
488 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
489 set fnord "$@"
490 shift
491 shift
492 ;;
493 *)
494 set fnord "$@" "$arg"
495 shift
496 shift
497 ;;
498 esac
499 done
500 "$@" -E |
501 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
502 rm -f "$depfile"
503 echo "$object : \\" > "$depfile"
504 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
505 echo " " >> "$depfile"
506 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
507 rm -f "$tmpdepfile"
508 ;;
509
510 none)
511 exec "$@"
512 ;;
513
514 *)
515 echo "Unknown depmode $depmode" 1>&2
516 exit 1
517 ;;
518 esac
519
520 exit 0
521
522 # Local Variables:
523 # mode: shell-script
524 # sh-indentation: 2
525 # eval: (add-hook 'write-file-hooks 'time-stamp)
526 # time-stamp-start: "scriptversion="
527 # time-stamp-format: "%:y-%02m-%02d.%02H"
528 # time-stamp-end: "$"
529 # End:
0 SUBDIRS = hcal ical html hebcal bindings
0 SUBDIRS = hcal hebcal bindings
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
14 @SET_MAKE@
1515 srcdir = @srcdir@
1616 top_srcdir = @top_srcdir@
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
4021 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4723 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
5329 NORMAL_INSTALL = :
5430 PRE_INSTALL = :
5531 POST_INSTALL = :
5632 NORMAL_UNINSTALL = :
5733 PRE_UNINSTALL = :
5834 POST_UNINSTALL = :
59 host_alias = @host_alias@
35 build_triplet = @build@
6036 host_triplet = @host@
37 subdir = examples
38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
48 html-recursive info-recursive install-data-recursive \
49 install-exec-recursive install-info-recursive \
50 install-recursive installcheck-recursive installdirs-recursive \
51 pdf-recursive ps-recursive uninstall-info-recursive \
52 uninstall-recursive
53 ETAGS = etags
54 CTAGS = ctags
55 DIST_SUBDIRS = $(SUBDIRS)
56 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
57 ACLOCAL = @ACLOCAL@
58 ALLOCA = @ALLOCA@
59 AMDEP_FALSE = @AMDEP_FALSE@
60 AMDEP_TRUE = @AMDEP_TRUE@
61 AMTAR = @AMTAR@
6162 AR = @AR@
62 AS = @AS@
63 AUTOCONF = @AUTOCONF@
64 AUTOHEADER = @AUTOHEADER@
65 AUTOMAKE = @AUTOMAKE@
66 AWK = @AWK@
6367 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6468 CATOBJEXT = @CATOBJEXT@
6569 CC = @CC@
70 CCDEPMODE = @CCDEPMODE@
6671 CFLAGS = @CFLAGS@
72 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
73 CPP = @CPP@
74 CPPFLAGS = @CPPFLAGS@
6775 CXX = @CXX@
6876 CXXCPP = @CXXCPP@
77 CXXDEPMODE = @CXXDEPMODE@
78 CXXFLAGS = @CXXFLAGS@
79 CYGPATH_W = @CYGPATH_W@
6980 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
81 DEFS = @DEFS@
82 DEPDIR = @DEPDIR@
7183 ECHO = @ECHO@
84 ECHO_C = @ECHO_C@
85 ECHO_N = @ECHO_N@
86 ECHO_T = @ECHO_T@
7287 EGREP = @EGREP@
7388 EXEEXT = @EXEEXT@
7489 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
90 FFLAGS = @FFLAGS@
7791 GENCAT = @GENCAT@
7892 GLIBC2 = @GLIBC2@
7993 GLIBC21 = @GLIBC21@
8094 GMSGFMT = @GMSGFMT@
95 GMSGFMT_015 = @GMSGFMT_015@
96 GREP = @GREP@
8197 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8398 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8499 HAVE_SNPRINTF = @HAVE_SNPRINTF@
100 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85101 HAVE_WPRINTF = @HAVE_WPRINTF@
102 INSTALL_DATA = @INSTALL_DATA@
103 INSTALL_PROGRAM = @INSTALL_PROGRAM@
104 INSTALL_SCRIPT = @INSTALL_SCRIPT@
105 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86106 INSTOBJEXT = @INSTOBJEXT@
87107 INTLBISON = @INTLBISON@
88108 INTLLIBS = @INTLLIBS@
89109 INTLOBJS = @INTLOBJS@
90110 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91111 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
112 LDFLAGS = @LDFLAGS@
93113 LIBICONV = @LIBICONV@
94114 LIBINTL = @LIBINTL@
115 LIBMULTITHREAD = @LIBMULTITHREAD@
116 LIBOBJS = @LIBOBJS@
117 LIBPTH = @LIBPTH@
95118 LIBS = @LIBS@
119 LIBTHREAD = @LIBTHREAD@
96120 LIBTOOL = @LIBTOOL@
97121 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99122 LTLIBICONV = @LTLIBICONV@
100123 LTLIBINTL = @LTLIBINTL@
124 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
125 LTLIBOBJS = @LTLIBOBJS@
126 LTLIBPTH = @LTLIBPTH@
127 LTLIBTHREAD = @LTLIBTHREAD@
101128 MAINT = @MAINT@
129 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
130 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102131 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
132 MSGFMT = @MSGFMT@
133 MSGFMT_015 = @MSGFMT_015@
134 MSGMERGE = @MSGMERGE@
105135 OBJEXT = @OBJEXT@
106136 PACKAGE = @PACKAGE@
137 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
138 PACKAGE_NAME = @PACKAGE_NAME@
139 PACKAGE_STRING = @PACKAGE_STRING@
140 PACKAGE_TARNAME = @PACKAGE_TARNAME@
141 PACKAGE_VERSION = @PACKAGE_VERSION@
142 PATH_SEPARATOR = @PATH_SEPARATOR@
107143 PA_MODULES_PATH = @PA_MODULES_PATH@
108144 PA_VERSION = @PA_VERSION@
109145 PE_CFLAGS = @PE_CFLAGS@
110146 PE_MODULES_PATH = @PE_MODULES_PATH@
111147 PKG_CONFIG = @PKG_CONFIG@
112148 POSUB = @POSUB@
149 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113150 PY_CFLAGS = @PY_CFLAGS@
114151 PY_MODULES_PATH = @PY_MODULES_PATH@
115152 PY_VERSION = @PY_VERSION@
116153 RANLIB = @RANLIB@
117 RC = @RC@
154 SET_MAKE = @SET_MAKE@
155 SHELL = @SHELL@
118156 STRIP = @STRIP@
119157 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120158 USE_NLS = @USE_NLS@
121159 VERSION = @VERSION@
122160 VERSION_INFO = @VERSION_INFO@
161 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
162 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
163 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
164 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
165 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
166 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
167 WITH_PERL_FALSE = @WITH_PERL_FALSE@
168 WITH_PERL_TRUE = @WITH_PERL_TRUE@
169 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
170 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
171 WOE32DLL = @WOE32DLL@
172 XGETTEXT = @XGETTEXT@
173 XGETTEXT_015 = @XGETTEXT_015@
174 ac_ct_CC = @ac_ct_CC@
175 ac_ct_CXX = @ac_ct_CXX@
176 ac_ct_F77 = @ac_ct_F77@
177 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
178 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
179 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
180 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
181 am__include = @am__include@
182 am__leading_dot = @am__leading_dot@
183 am__quote = @am__quote@
184 am__tar = @am__tar@
185 am__untar = @am__untar@
186 bindir = @bindir@
187 build = @build@
188 build_alias = @build_alias@
189 build_cpu = @build_cpu@
190 build_os = @build_os@
191 build_vendor = @build_vendor@
192 datadir = @datadir@
193 datarootdir = @datarootdir@
194 docdir = @docdir@
195 dvidir = @dvidir@
196 exec_prefix = @exec_prefix@
123197 have_pascal = @have_pascal@
124198 have_perl = @have_perl@
125199 have_python = @have_python@
126200 have_swig = @have_swig@
127
201 host = @host@
202 host_alias = @host_alias@
203 host_cpu = @host_cpu@
204 host_os = @host_os@
205 host_vendor = @host_vendor@
206 htmldir = @htmldir@
207 includedir = @includedir@
208 infodir = @infodir@
209 install_sh = @install_sh@
210 libdir = @libdir@
211 libexecdir = @libexecdir@
212 localedir = @localedir@
213 localstatedir = @localstatedir@
214 mandir = @mandir@
215 mkdir_p = @mkdir_p@
216 oldincludedir = @oldincludedir@
217 pdfdir = @pdfdir@
218 prefix = @prefix@
219 program_transform_name = @program_transform_name@
220 psdir = @psdir@
221 sbindir = @sbindir@
222 sharedstatedir = @sharedstatedir@
223 sysconfdir = @sysconfdir@
224 target_alias = @target_alias@
128225 SUBDIRS = hcal ical html hebcal bindings
129 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
130 CONFIG_CLEAN_FILES =
131 DIST_COMMON = Makefile.am Makefile.in
132
133
134 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135
136 TAR = tar
137 GZIP_ENV = --best
138 all: all-redirect
226 all: all-recursive
227
139228 .SUFFIXES:
140 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
141 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
142
143 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
144 cd $(top_builddir) \
145 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146
229 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
230 @for dep in $?; do \
231 case '$(am__configure_deps)' in \
232 *$$dep*) \
233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
234 && exit 0; \
235 exit 1;; \
236 esac; \
237 done; \
238 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \
239 cd $(top_srcdir) && \
240 $(AUTOMAKE) --gnu examples/Makefile
241 .PRECIOUS: Makefile
242 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
243 @case '$?' in \
244 *config.status*) \
245 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
246 *) \
247 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
248 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
249 esac;
250
251 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
252 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
253
254 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
255 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
256 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
257 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
258
259 mostlyclean-libtool:
260 -rm -f *.lo
261
262 clean-libtool:
263 -rm -rf .libs _libs
264
265 distclean-libtool:
266 -rm -f libtool
267 uninstall-info-am:
147268
148269 # This directory's subdirectories are mostly independent; you can cd
149270 # into them and run `make' without going through this Makefile.
151272 # (1) if the variable is set in `config.status', edit `config.status'
152273 # (which will cause the Makefiles to be regenerated when you run `make');
153274 # (2) otherwise, pass the desired values on the `make' command line.
154
155 @SET_MAKE@
156
157 all-recursive install-data-recursive install-exec-recursive \
158 installdirs-recursive install-recursive uninstall-recursive \
159 check-recursive installcheck-recursive info-recursive dvi-recursive:
160 @set fnord $(MAKEFLAGS); amf=$$2; \
275 $(RECURSIVE_TARGETS):
276 @failcom='exit 1'; \
277 for f in x $$MAKEFLAGS; do \
278 case $$f in \
279 *=* | --[!k]*);; \
280 *k*) failcom='fail=yes';; \
281 esac; \
282 done; \
161283 dot_seen=no; \
162284 target=`echo $@ | sed s/-recursive//`; \
163285 list='$(SUBDIRS)'; for subdir in $$list; do \
169291 local_target="$$target"; \
170292 fi; \
171293 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
294 || eval $$failcom; \
173295 done; \
174296 if test "$$dot_seen" = "no"; then \
175297 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
177299
178300 mostlyclean-recursive clean-recursive distclean-recursive \
179301 maintainer-clean-recursive:
180 @set fnord $(MAKEFLAGS); amf=$$2; \
302 @failcom='exit 1'; \
303 for f in x $$MAKEFLAGS; do \
304 case $$f in \
305 *=* | --[!k]*);; \
306 *k*) failcom='fail=yes';; \
307 esac; \
308 done; \
181309 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
310 case "$@" in \
311 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
312 *) list='$(SUBDIRS)' ;; \
313 esac; \
314 rev=''; for subdir in $$list; do \
315 if test "$$subdir" = "."; then :; else \
316 rev="$$subdir $$rev"; \
317 fi; \
185318 done; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
319 rev="$$rev ."; \
187320 target=`echo $@ | sed s/-recursive//`; \
188321 for subdir in $$rev; do \
189322 echo "Making $$target in $$subdir"; \
193326 local_target="$$target"; \
194327 fi; \
195328 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
329 || eval $$failcom; \
197330 done && test -z "$$fail"
198331 tags-recursive:
199332 list='$(SUBDIRS)'; for subdir in $$list; do \
200333 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
201334 done
202
335 ctags-recursive:
336 list='$(SUBDIRS)'; for subdir in $$list; do \
337 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
338 done
339
340 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
341 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
342 unique=`for i in $$list; do \
343 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
344 done | \
345 $(AWK) ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 mkid -fID $$unique
203348 tags: TAGS
204349
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
209 END { for (i in files) print i; }'`; \
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
350 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
351 $(TAGS_FILES) $(LISP)
214352 tags=; \
215353 here=`pwd`; \
354 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
355 include_option=--etags-include; \
356 empty_fix=.; \
357 else \
358 include_option=--include; \
359 empty_fix=; \
360 fi; \
216361 list='$(SUBDIRS)'; for subdir in $$list; do \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
362 if test "$$subdir" = .; then :; else \
363 test ! -f $$subdir/TAGS || \
364 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
365 fi; \
220366 done; \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
367 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
368 unique=`for i in $$list; do \
369 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
370 done | \
371 $(AWK) ' { files[$$0] = 1; } \
224372 END { for (i in files) print i; }'`; \
225 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
226 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
227
228 mostlyclean-tags:
229
230 clean-tags:
373 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
374 test -n "$$unique" || unique=$$empty_fix; \
375 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
376 $$tags $$unique; \
377 fi
378 ctags: CTAGS
379 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
380 $(TAGS_FILES) $(LISP)
381 tags=; \
382 here=`pwd`; \
383 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
384 unique=`for i in $$list; do \
385 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
386 done | \
387 $(AWK) ' { files[$$0] = 1; } \
388 END { for (i in files) print i; }'`; \
389 test -z "$(CTAGS_ARGS)$$tags$$unique" \
390 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
391 $$tags $$unique
392
393 GTAGS:
394 here=`$(am__cd) $(top_builddir) && pwd` \
395 && cd $(top_srcdir) \
396 && gtags -i $(GTAGS_ARGS) $$here
231397
232398 distclean-tags:
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = examples
399 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
240400
241401 distdir: $(DISTFILES)
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
402 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
403 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
404 list='$(DISTFILES)'; for file in $$list; do \
405 case $$file in \
406 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
407 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
408 esac; \
409 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
410 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
411 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
412 dir="/$$dir"; \
413 $(mkdir_p) "$(distdir)$$dir"; \
414 else \
415 dir=''; \
416 fi; \
244417 if test -d $$d/$$file; then \
245 cp -pr $$d/$$file $(distdir)/$$file; \
418 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
419 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
420 fi; \
421 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
246422 else \
247423 test -f $(distdir)/$$file \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
424 || cp -p $$d/$$file $(distdir)/$$file \
425 || exit 1; \
250426 fi; \
251427 done
252 for subdir in $(SUBDIRS); do \
428 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
253429 if test "$$subdir" = .; then :; else \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
430 test -d "$(distdir)/$$subdir" \
431 || $(mkdir_p) "$(distdir)/$$subdir" \
256432 || exit 1; \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
433 distdir=`$(am__cd) $(distdir) && pwd`; \
434 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
435 (cd $$subdir && \
436 $(MAKE) $(AM_MAKEFLAGS) \
437 top_distdir="$$top_distdir" \
438 distdir="$$distdir/$$subdir" \
439 distdir) \
259440 || exit 1; \
260441 fi; \
261442 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
266443 check-am: all-am
267444 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
445 all-am: Makefile
446 installdirs: installdirs-recursive
447 installdirs-am:
448 install: install-recursive
271449 install-exec: install-exec-recursive
272
273 install-data-am:
274450 install-data: install-data-recursive
451 uninstall: uninstall-recursive
275452
276453 install-am: all-am
277454 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
281 all-am: Makefile
282 all-redirect: all-recursive
455
456 installcheck: installcheck-recursive
283457 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285 installdirs: installdirs-recursive
286 installdirs-am:
287
288
458 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
459 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
460 `test -z '$(STRIP)' || \
461 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
289462 mostlyclean-generic:
290463
291464 clean-generic:
292465
293466 distclean-generic:
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
467 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
296468
297469 maintainer-clean-generic:
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
470 @echo "This command is intended for maintainers to use"
471 @echo "it deletes files that may require special tools to rebuild."
472 clean: clean-recursive
473
474 clean-am: clean-generic clean-libtool mostlyclean-am
475
476 distclean: distclean-recursive
477 -rm -f Makefile
478 distclean-am: clean-am distclean-generic distclean-libtool \
479 distclean-tags
480
481 dvi: dvi-recursive
482
483 dvi-am:
484
485 html: html-recursive
486
487 info: info-recursive
488
489 info-am:
490
491 install-data-am:
492
493 install-exec-am:
494
495 install-info: install-info-recursive
496
497 install-man:
498
499 installcheck-am:
500
501 maintainer-clean: maintainer-clean-recursive
502 -rm -f Makefile
503 maintainer-clean-am: distclean-am maintainer-clean-generic
299504
300505 mostlyclean: mostlyclean-recursive
301506
302 clean-am: clean-tags clean-generic mostlyclean-am
303
304 clean: clean-recursive
305
306 distclean-am: distclean-tags distclean-generic clean-am
307 -rm -f libtool
308
309 distclean: distclean-recursive
310
311 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
312 distclean-am
313 @echo "This command is intended for maintainers to use;"
314 @echo "it deletes files that may require special tools to rebuild."
315
316 maintainer-clean: maintainer-clean-recursive
317
318 .PHONY: install-data-recursive uninstall-data-recursive \
319 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
320 uninstalldirs-recursive all-recursive check-recursive \
321 installcheck-recursive info-recursive dvi-recursive \
322 mostlyclean-recursive distclean-recursive clean-recursive \
323 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
324 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
325 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
326 install-exec install-data-am install-data install-am install \
327 uninstall-am uninstall all-redirect all-am all installdirs-am \
328 installdirs mostlyclean-generic distclean-generic clean-generic \
329 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
330
507 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
508
509 pdf: pdf-recursive
510
511 pdf-am:
512
513 ps: ps-recursive
514
515 ps-am:
516
517 uninstall-am: uninstall-info-am
518
519 uninstall-info: uninstall-info-recursive
520
521 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
522 clean clean-generic clean-libtool clean-recursive ctags \
523 ctags-recursive distclean distclean-generic distclean-libtool \
524 distclean-recursive distclean-tags distdir dvi dvi-am html \
525 html-am info info-am install install-am install-data \
526 install-data-am install-exec install-exec-am install-info \
527 install-info-am install-man install-strip installcheck \
528 installcheck-am installdirs installdirs-am maintainer-clean \
529 maintainer-clean-generic maintainer-clean-recursive \
530 mostlyclean mostlyclean-generic mostlyclean-libtool \
531 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
532 uninstall uninstall-am uninstall-info-am
331533
332534 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333535 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
1415
1516 srcdir = @srcdir@
1617 top_srcdir = @top_srcdir@
1718 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3619 pkgdatadir = $(datadir)/@PACKAGE@
3720 pkglibdir = $(libdir)/@PACKAGE@
3821 pkgincludedir = $(includedir)/@PACKAGE@
39
4022 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4724 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
5330 NORMAL_INSTALL = :
5431 PRE_INSTALL = :
5532 POST_INSTALL = :
5633 NORMAL_UNINSTALL = :
5734 PRE_UNINSTALL = :
5835 POST_UNINSTALL = :
59 host_alias = @host_alias@
36 build_triplet = @build@
6037 host_triplet = @host@
38 subdir = examples/bindings
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/configure.in
42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43 $(ACLOCAL_M4)
44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
45 CONFIG_CLEAN_FILES =
46 SOURCES =
47 DIST_SOURCES =
48 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49 am__vpath_adj = case $$p in \
50 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51 *) f=$$p;; \
52 esac;
53 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54 am__installdirs = "$(DESTDIR)$(libhdatedocdir)"
55 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
56 DATA = $(libhdatedoc_DATA)
57 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
58 ACLOCAL = @ACLOCAL@
59 ALLOCA = @ALLOCA@
60 AMDEP_FALSE = @AMDEP_FALSE@
61 AMDEP_TRUE = @AMDEP_TRUE@
62 AMTAR = @AMTAR@
6163 AR = @AR@
62 AS = @AS@
64 AUTOCONF = @AUTOCONF@
65 AUTOHEADER = @AUTOHEADER@
66 AUTOMAKE = @AUTOMAKE@
67 AWK = @AWK@
6368 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6469 CATOBJEXT = @CATOBJEXT@
6570 CC = @CC@
71 CCDEPMODE = @CCDEPMODE@
6672 CFLAGS = @CFLAGS@
73 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
74 CPP = @CPP@
75 CPPFLAGS = @CPPFLAGS@
6776 CXX = @CXX@
6877 CXXCPP = @CXXCPP@
78 CXXDEPMODE = @CXXDEPMODE@
79 CXXFLAGS = @CXXFLAGS@
80 CYGPATH_W = @CYGPATH_W@
6981 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
82 DEFS = @DEFS@
83 DEPDIR = @DEPDIR@
7184 ECHO = @ECHO@
85 ECHO_C = @ECHO_C@
86 ECHO_N = @ECHO_N@
87 ECHO_T = @ECHO_T@
7288 EGREP = @EGREP@
7389 EXEEXT = @EXEEXT@
7490 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
91 FFLAGS = @FFLAGS@
7792 GENCAT = @GENCAT@
7893 GLIBC2 = @GLIBC2@
7994 GLIBC21 = @GLIBC21@
8095 GMSGFMT = @GMSGFMT@
96 GMSGFMT_015 = @GMSGFMT_015@
97 GREP = @GREP@
8198 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8399 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84100 HAVE_SNPRINTF = @HAVE_SNPRINTF@
101 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85102 HAVE_WPRINTF = @HAVE_WPRINTF@
103 INSTALL_DATA = @INSTALL_DATA@
104 INSTALL_PROGRAM = @INSTALL_PROGRAM@
105 INSTALL_SCRIPT = @INSTALL_SCRIPT@
106 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86107 INSTOBJEXT = @INSTOBJEXT@
87108 INTLBISON = @INTLBISON@
88109 INTLLIBS = @INTLLIBS@
89110 INTLOBJS = @INTLOBJS@
90111 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91112 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
113 LDFLAGS = @LDFLAGS@
93114 LIBICONV = @LIBICONV@
94115 LIBINTL = @LIBINTL@
116 LIBMULTITHREAD = @LIBMULTITHREAD@
117 LIBOBJS = @LIBOBJS@
118 LIBPTH = @LIBPTH@
95119 LIBS = @LIBS@
120 LIBTHREAD = @LIBTHREAD@
96121 LIBTOOL = @LIBTOOL@
97122 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99123 LTLIBICONV = @LTLIBICONV@
100124 LTLIBINTL = @LTLIBINTL@
125 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
126 LTLIBOBJS = @LTLIBOBJS@
127 LTLIBPTH = @LTLIBPTH@
128 LTLIBTHREAD = @LTLIBTHREAD@
101129 MAINT = @MAINT@
130 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
131 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102132 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
133 MSGFMT = @MSGFMT@
134 MSGFMT_015 = @MSGFMT_015@
135 MSGMERGE = @MSGMERGE@
105136 OBJEXT = @OBJEXT@
106137 PACKAGE = @PACKAGE@
138 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
139 PACKAGE_NAME = @PACKAGE_NAME@
140 PACKAGE_STRING = @PACKAGE_STRING@
141 PACKAGE_TARNAME = @PACKAGE_TARNAME@
142 PACKAGE_VERSION = @PACKAGE_VERSION@
143 PATH_SEPARATOR = @PATH_SEPARATOR@
107144 PA_MODULES_PATH = @PA_MODULES_PATH@
108145 PA_VERSION = @PA_VERSION@
109146 PE_CFLAGS = @PE_CFLAGS@
110147 PE_MODULES_PATH = @PE_MODULES_PATH@
111148 PKG_CONFIG = @PKG_CONFIG@
112149 POSUB = @POSUB@
150 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113151 PY_CFLAGS = @PY_CFLAGS@
114152 PY_MODULES_PATH = @PY_MODULES_PATH@
115153 PY_VERSION = @PY_VERSION@
116154 RANLIB = @RANLIB@
117 RC = @RC@
155 SET_MAKE = @SET_MAKE@
156 SHELL = @SHELL@
118157 STRIP = @STRIP@
119158 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120159 USE_NLS = @USE_NLS@
121160 VERSION = @VERSION@
122161 VERSION_INFO = @VERSION_INFO@
162 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
163 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
164 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
165 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
166 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
167 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
168 WITH_PERL_FALSE = @WITH_PERL_FALSE@
169 WITH_PERL_TRUE = @WITH_PERL_TRUE@
170 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
171 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
172 WOE32DLL = @WOE32DLL@
173 XGETTEXT = @XGETTEXT@
174 XGETTEXT_015 = @XGETTEXT_015@
175 ac_ct_CC = @ac_ct_CC@
176 ac_ct_CXX = @ac_ct_CXX@
177 ac_ct_F77 = @ac_ct_F77@
178 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
179 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
180 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
181 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
182 am__include = @am__include@
183 am__leading_dot = @am__leading_dot@
184 am__quote = @am__quote@
185 am__tar = @am__tar@
186 am__untar = @am__untar@
187 bindir = @bindir@
188 build = @build@
189 build_alias = @build_alias@
190 build_cpu = @build_cpu@
191 build_os = @build_os@
192 build_vendor = @build_vendor@
193 datadir = @datadir@
194 datarootdir = @datarootdir@
195 docdir = @docdir@
196 dvidir = @dvidir@
197 exec_prefix = @exec_prefix@
123198 have_pascal = @have_pascal@
124199 have_perl = @have_perl@
125200 have_python = @have_python@
126201 have_swig = @have_swig@
127
202 host = @host@
203 host_alias = @host_alias@
204 host_cpu = @host_cpu@
205 host_os = @host_os@
206 host_vendor = @host_vendor@
207 htmldir = @htmldir@
208 includedir = @includedir@
209 infodir = @infodir@
210 install_sh = @install_sh@
211 libdir = @libdir@
212 libexecdir = @libexecdir@
213 localedir = @localedir@
214 localstatedir = @localstatedir@
215 mandir = @mandir@
216 mkdir_p = @mkdir_p@
217 oldincludedir = @oldincludedir@
218 pdfdir = @pdfdir@
219 prefix = @prefix@
220 program_transform_name = @program_transform_name@
221 psdir = @psdir@
222 sbindir = @sbindir@
223 sharedstatedir = @sharedstatedir@
224 sysconfdir = @sysconfdir@
225 target_alias = @target_alias@
128226 EXTRA_DIST = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
129
130227 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/bindings
131228 libhdatedoc_DATA = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
132 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
133 CONFIG_CLEAN_FILES =
134 DATA = $(libhdatedoc_DATA)
135
136 DIST_COMMON = Makefile.am Makefile.in
137
138
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140
141 TAR = tar
142 GZIP_ENV = --best
143 all: all-redirect
229 all: all-am
230
144231 .SUFFIXES:
145 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
146 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/bindings/Makefile
147
148 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
149 cd $(top_builddir) \
150 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151
152
232 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
233 @for dep in $?; do \
234 case '$(am__configure_deps)' in \
235 *$$dep*) \
236 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
237 && exit 0; \
238 exit 1;; \
239 esac; \
240 done; \
241 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/bindings/Makefile'; \
242 cd $(top_srcdir) && \
243 $(AUTOMAKE) --gnu examples/bindings/Makefile
244 .PRECIOUS: Makefile
245 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
246 @case '$?' in \
247 *config.status*) \
248 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
249 *) \
250 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
251 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
252 esac;
253
254 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
255 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
256
257 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
258 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
259 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
261
262 mostlyclean-libtool:
263 -rm -f *.lo
264
265 clean-libtool:
266 -rm -rf .libs _libs
267
268 distclean-libtool:
269 -rm -f libtool
270 uninstall-info-am:
153271 install-libhdatedocDATA: $(libhdatedoc_DATA)
154272 @$(NORMAL_INSTALL)
155 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
273 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
156274 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
157 if test -f $(srcdir)/$$p; then \
158 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
159 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
160 else if test -f $$p; then \
161 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
162 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
163 fi; fi; \
275 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
276 f=$(am__strip_dir) \
277 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
278 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
164279 done
165280
166281 uninstall-libhdatedocDATA:
167282 @$(NORMAL_UNINSTALL)
168 list='$(libhdatedoc_DATA)'; for p in $$list; do \
169 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
283 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
284 f=$(am__strip_dir) \
285 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
286 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
170287 done
171288 tags: TAGS
172289 TAGS:
173290
174
175 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
176
177 subdir = examples/bindings
291 ctags: CTAGS
292 CTAGS:
293
178294
179295 distdir: $(DISTFILES)
180 @for file in $(DISTFILES); do \
181 d=$(srcdir); \
296 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
297 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
298 list='$(DISTFILES)'; for file in $$list; do \
299 case $$file in \
300 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
301 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
302 esac; \
303 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
304 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
305 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
306 dir="/$$dir"; \
307 $(mkdir_p) "$(distdir)$$dir"; \
308 else \
309 dir=''; \
310 fi; \
182311 if test -d $$d/$$file; then \
183 cp -pr $$d/$$file $(distdir)/$$file; \
312 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
313 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
314 fi; \
315 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
184316 else \
185317 test -f $(distdir)/$$file \
186 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
187 || cp -p $$d/$$file $(distdir)/$$file || :; \
318 || cp -p $$d/$$file $(distdir)/$$file \
319 || exit 1; \
188320 fi; \
189321 done
190 info-am:
191 info: info-am
192 dvi-am:
193 dvi: dvi-am
194322 check-am: all-am
195323 check: check-am
196 installcheck-am:
197 installcheck: installcheck-am
198 install-exec-am:
324 all-am: Makefile $(DATA)
325 installdirs:
326 for dir in "$(DESTDIR)$(libhdatedocdir)"; do \
327 test -z "$$dir" || $(mkdir_p) "$$dir"; \
328 done
329 install: install-am
199330 install-exec: install-exec-am
200
201 install-data-am: install-libhdatedocDATA
202331 install-data: install-data-am
332 uninstall: uninstall-am
203333
204334 install-am: all-am
205335 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
206 install: install-am
207 uninstall-am: uninstall-libhdatedocDATA
208 uninstall: uninstall-am
209 all-am: Makefile $(DATA)
210 all-redirect: all-am
336
337 installcheck: installcheck-am
211338 install-strip:
212 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
213 installdirs:
214 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
215
216
339 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
340 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
341 `test -z '$(STRIP)' || \
342 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
217343 mostlyclean-generic:
218344
219345 clean-generic:
220346
221347 distclean-generic:
222 -rm -f Makefile $(CONFIG_CLEAN_FILES)
223 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
348 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
224349
225350 maintainer-clean-generic:
226 mostlyclean-am: mostlyclean-generic
351 @echo "This command is intended for maintainers to use"
352 @echo "it deletes files that may require special tools to rebuild."
353 clean: clean-am
354
355 clean-am: clean-generic clean-libtool mostlyclean-am
356
357 distclean: distclean-am
358 -rm -f Makefile
359 distclean-am: clean-am distclean-generic distclean-libtool
360
361 dvi: dvi-am
362
363 dvi-am:
364
365 html: html-am
366
367 info: info-am
368
369 info-am:
370
371 install-data-am: install-libhdatedocDATA
372
373 install-exec-am:
374
375 install-info: install-info-am
376
377 install-man:
378
379 installcheck-am:
380
381 maintainer-clean: maintainer-clean-am
382 -rm -f Makefile
383 maintainer-clean-am: distclean-am maintainer-clean-generic
227384
228385 mostlyclean: mostlyclean-am
229386
230 clean-am: clean-generic mostlyclean-am
231
232 clean: clean-am
233
234 distclean-am: distclean-generic clean-am
235 -rm -f libtool
236
237 distclean: distclean-am
238
239 maintainer-clean-am: maintainer-clean-generic distclean-am
240 @echo "This command is intended for maintainers to use;"
241 @echo "it deletes files that may require special tools to rebuild."
242
243 maintainer-clean: maintainer-clean-am
244
245 .PHONY: uninstall-libhdatedocDATA install-libhdatedocDATA tags distdir \
246 info-am info dvi-am dvi check check-am installcheck-am installcheck \
247 install-exec-am install-exec install-data-am install-data install-am \
248 install uninstall-am uninstall all-redirect all-am all installdirs \
249 mostlyclean-generic distclean-generic clean-generic \
250 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
251
387 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
388
389 pdf: pdf-am
390
391 pdf-am:
392
393 ps: ps-am
394
395 ps-am:
396
397 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA
398
399 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
400 distclean distclean-generic distclean-libtool distdir dvi \
401 dvi-am html html-am info info-am install install-am \
402 install-data install-data-am install-exec install-exec-am \
403 install-info install-info-am install-libhdatedocDATA \
404 install-man install-strip installcheck installcheck-am \
405 installdirs maintainer-clean maintainer-clean-generic \
406 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
407 ps ps-am uninstall uninstall-am uninstall-info-am \
408 uninstall-libhdatedocDATA
252409
253410 # Tell versions [3.59,3.63) of GNU make to not export all variables.
254411 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
15
1416
1517 srcdir = @srcdir@
1618 top_srcdir = @top_srcdir@
1719 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3620 pkgdatadir = $(datadir)/@PACKAGE@
3721 pkglibdir = $(libdir)/@PACKAGE@
3822 pkgincludedir = $(includedir)/@PACKAGE@
39
4023 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4725 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
5331 NORMAL_INSTALL = :
5432 PRE_INSTALL = :
5533 POST_INSTALL = :
5634 NORMAL_UNINSTALL = :
5735 PRE_UNINSTALL = :
5836 POST_UNINSTALL = :
59 host_alias = @host_alias@
37 build_triplet = @build@
6038 host_triplet = @host@
39 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate$(EXEEXT) hcal$(EXEEXT)
40 subdir = examples/hcal
41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/configure.in
44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45 $(ACLOCAL_M4)
46 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47 CONFIG_CLEAN_FILES =
48 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
49 "$(DESTDIR)$(libhdatedocdir)"
50 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
51 PROGRAMS = $(bin_PROGRAMS)
52 am__hcal_SOURCES_DIST = hcal.c
53 @WITH_HCAL_TRUE@am_hcal_OBJECTS = hcal.$(OBJEXT)
54 hcal_OBJECTS = $(am_hcal_OBJECTS)
55 @WITH_HCAL_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/src/libhdate.la
56 am__hdate_SOURCES_DIST = hdate.c
57 @WITH_HCAL_TRUE@am_hdate_OBJECTS = hdate.$(OBJEXT)
58 hdate_OBJECTS = $(am_hdate_OBJECTS)
59 DEFAULT_INCLUDES = -I. -I$(srcdir)
60 depcomp = $(SHELL) $(top_srcdir)/depcomp
61 am__depfiles_maybe = depfiles
62 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
63 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
64 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
65 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
66 $(AM_CFLAGS) $(CFLAGS)
67 CCLD = $(CC)
68 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
69 $(AM_LDFLAGS) $(LDFLAGS) -o $@
70 SOURCES = $(hcal_SOURCES) $(hdate_SOURCES)
71 DIST_SOURCES = $(am__hcal_SOURCES_DIST) $(am__hdate_SOURCES_DIST)
72 man1dir = $(mandir)/man1
73 NROFF = nroff
74 MANS = $(man_MANS)
75 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
76 am__vpath_adj = case $$p in \
77 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
78 *) f=$$p;; \
79 esac;
80 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
81 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
82 DATA = $(libhdatedoc_DATA)
83 ETAGS = etags
84 CTAGS = ctags
85 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86 ACLOCAL = @ACLOCAL@
87 ALLOCA = @ALLOCA@
88 AMDEP_FALSE = @AMDEP_FALSE@
89 AMDEP_TRUE = @AMDEP_TRUE@
90 AMTAR = @AMTAR@
6191 AR = @AR@
62 AS = @AS@
92 AUTOCONF = @AUTOCONF@
93 AUTOHEADER = @AUTOHEADER@
94 AUTOMAKE = @AUTOMAKE@
95 AWK = @AWK@
6396 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6497 CATOBJEXT = @CATOBJEXT@
6598 CC = @CC@
99 CCDEPMODE = @CCDEPMODE@
66100 CFLAGS = @CFLAGS@
101 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
102 CPP = @CPP@
103 CPPFLAGS = @CPPFLAGS@
67104 CXX = @CXX@
68105 CXXCPP = @CXXCPP@
106 CXXDEPMODE = @CXXDEPMODE@
107 CXXFLAGS = @CXXFLAGS@
108 CYGPATH_W = @CYGPATH_W@
69109 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
71112 ECHO = @ECHO@
113 ECHO_C = @ECHO_C@
114 ECHO_N = @ECHO_N@
115 ECHO_T = @ECHO_T@
72116 EGREP = @EGREP@
73117 EXEEXT = @EXEEXT@
74118 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
119 FFLAGS = @FFLAGS@
77120 GENCAT = @GENCAT@
78121 GLIBC2 = @GLIBC2@
79122 GLIBC21 = @GLIBC21@
80123 GMSGFMT = @GMSGFMT@
124 GMSGFMT_015 = @GMSGFMT_015@
125 GREP = @GREP@
81126 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83127 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84128 HAVE_SNPRINTF = @HAVE_SNPRINTF@
129 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85130 HAVE_WPRINTF = @HAVE_WPRINTF@
131 INSTALL_DATA = @INSTALL_DATA@
132 INSTALL_PROGRAM = @INSTALL_PROGRAM@
133 INSTALL_SCRIPT = @INSTALL_SCRIPT@
134 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86135 INSTOBJEXT = @INSTOBJEXT@
87136 INTLBISON = @INTLBISON@
88137 INTLLIBS = @INTLLIBS@
89138 INTLOBJS = @INTLOBJS@
90139 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91140 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
141 LDFLAGS = @LDFLAGS@
93142 LIBICONV = @LIBICONV@
94143 LIBINTL = @LIBINTL@
144 LIBMULTITHREAD = @LIBMULTITHREAD@
145 LIBOBJS = @LIBOBJS@
146 LIBPTH = @LIBPTH@
95147 LIBS = @LIBS@
148 LIBTHREAD = @LIBTHREAD@
96149 LIBTOOL = @LIBTOOL@
97150 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99151 LTLIBICONV = @LTLIBICONV@
100152 LTLIBINTL = @LTLIBINTL@
153 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
154 LTLIBOBJS = @LTLIBOBJS@
155 LTLIBPTH = @LTLIBPTH@
156 LTLIBTHREAD = @LTLIBTHREAD@
101157 MAINT = @MAINT@
158 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
159 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102160 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
161 MSGFMT = @MSGFMT@
162 MSGFMT_015 = @MSGFMT_015@
163 MSGMERGE = @MSGMERGE@
105164 OBJEXT = @OBJEXT@
106165 PACKAGE = @PACKAGE@
166 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
167 PACKAGE_NAME = @PACKAGE_NAME@
168 PACKAGE_STRING = @PACKAGE_STRING@
169 PACKAGE_TARNAME = @PACKAGE_TARNAME@
170 PACKAGE_VERSION = @PACKAGE_VERSION@
171 PATH_SEPARATOR = @PATH_SEPARATOR@
107172 PA_MODULES_PATH = @PA_MODULES_PATH@
108173 PA_VERSION = @PA_VERSION@
109174 PE_CFLAGS = @PE_CFLAGS@
110175 PE_MODULES_PATH = @PE_MODULES_PATH@
111176 PKG_CONFIG = @PKG_CONFIG@
112177 POSUB = @POSUB@
178 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113179 PY_CFLAGS = @PY_CFLAGS@
114180 PY_MODULES_PATH = @PY_MODULES_PATH@
115181 PY_VERSION = @PY_VERSION@
116182 RANLIB = @RANLIB@
117 RC = @RC@
183 SET_MAKE = @SET_MAKE@
184 SHELL = @SHELL@
118185 STRIP = @STRIP@
119186 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120187 USE_NLS = @USE_NLS@
121188 VERSION = @VERSION@
122189 VERSION_INFO = @VERSION_INFO@
190 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
191 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
192 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
193 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
194 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
195 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
196 WITH_PERL_FALSE = @WITH_PERL_FALSE@
197 WITH_PERL_TRUE = @WITH_PERL_TRUE@
198 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
199 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
200 WOE32DLL = @WOE32DLL@
201 XGETTEXT = @XGETTEXT@
202 XGETTEXT_015 = @XGETTEXT_015@
203 ac_ct_CC = @ac_ct_CC@
204 ac_ct_CXX = @ac_ct_CXX@
205 ac_ct_F77 = @ac_ct_F77@
206 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
207 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
208 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
209 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
210 am__include = @am__include@
211 am__leading_dot = @am__leading_dot@
212 am__quote = @am__quote@
213 am__tar = @am__tar@
214 am__untar = @am__untar@
215 bindir = @bindir@
216 build = @build@
217 build_alias = @build_alias@
218 build_cpu = @build_cpu@
219 build_os = @build_os@
220 build_vendor = @build_vendor@
221 datadir = @datadir@
222 datarootdir = @datarootdir@
223 docdir = @docdir@
224 dvidir = @dvidir@
225 exec_prefix = @exec_prefix@
123226 have_pascal = @have_pascal@
124227 have_perl = @have_perl@
125228 have_python = @have_python@
126229 have_swig = @have_swig@
127
230 host = @host@
231 host_alias = @host_alias@
232 host_cpu = @host_cpu@
233 host_os = @host_os@
234 host_vendor = @host_vendor@
235 htmldir = @htmldir@
236 includedir = @includedir@
237 infodir = @infodir@
238 install_sh = @install_sh@
239 libdir = @libdir@
240 libexecdir = @libexecdir@
241 localedir = @localedir@
242 localstatedir = @localstatedir@
243 mandir = @mandir@
244 mkdir_p = @mkdir_p@
245 oldincludedir = @oldincludedir@
246 pdfdir = @pdfdir@
247 prefix = @prefix@
248 program_transform_name = @program_transform_name@
249 psdir = @psdir@
250 sbindir = @sbindir@
251 sharedstatedir = @sharedstatedir@
252 sysconfdir = @sysconfdir@
253 target_alias = @target_alias@
128254 EXTRA_DIST = hdate.1 hcal.1
129
130255 @WITH_HCAL_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132256 @WITH_HCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133257 @WITH_HCAL_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate hcal
136
137258 @WITH_HCAL_TRUE@hdate_SOURCES = hdate.c
138259 @WITH_HCAL_TRUE@hdate_LDFLAGS =
139260 @WITH_HCAL_TRUE@hdate_DEPENDENCIES = $(DEPS)
140261 @WITH_HCAL_TRUE@hdate_LDADD = $(ldadd)
141
142262 @WITH_HCAL_TRUE@hcal_SOURCES = hcal.c
143263 @WITH_HCAL_TRUE@hcal_LDFLAGS =
144264 @WITH_HCAL_TRUE@hcal_DEPENDENCIES = $(DEPS)
145265 @WITH_HCAL_TRUE@hcal_LDADD = $(ldadd)
146
147266 @WITH_HCAL_TRUE@man_MANS = hdate.1 hcal.1
148
149267 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/hcal
150268 libhdatedoc_DATA = hcal.c hdate.c
151 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
152 CONFIG_CLEAN_FILES =
153 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate$(EXEEXT) hcal$(EXEEXT)
154 PROGRAMS = $(bin_PROGRAMS)
155
156
157 DEFS = @DEFS@ -I. -I$(srcdir)
158 CPPFLAGS = @CPPFLAGS@
159 LDFLAGS = @LDFLAGS@
160 @WITH_HCAL_TRUE@hdate_OBJECTS = hdate.$(OBJEXT)
161 @WITH_HCAL_TRUE@hcal_OBJECTS = hcal.$(OBJEXT)
162 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
163 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 CCLD = $(CC)
165 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
166 man1dir = $(mandir)/man1
167 MANS = $(man_MANS)
168
169 NROFF = nroff
170 DATA = $(libhdatedoc_DATA)
171
172 DIST_COMMON = Makefile.am Makefile.in
173
174
175 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
176
177 TAR = tar
178 GZIP_ENV = --best
179 SOURCES = $(hdate_SOURCES) $(hcal_SOURCES)
180 OBJECTS = $(hdate_OBJECTS) $(hcal_OBJECTS)
181
182 all: all-redirect
269 all: all-am
270
183271 .SUFFIXES:
184 .SUFFIXES: .S .c .lo .o .obj .s
185 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
186 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/hcal/Makefile
187
188 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
189 cd $(top_builddir) \
190 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
191
192
193 mostlyclean-binPROGRAMS:
194
195 clean-binPROGRAMS:
196 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
197
198 distclean-binPROGRAMS:
199
200 maintainer-clean-binPROGRAMS:
201
272 .SUFFIXES: .c .lo .o .obj
273 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
274 @for dep in $?; do \
275 case '$(am__configure_deps)' in \
276 *$$dep*) \
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
278 && exit 0; \
279 exit 1;; \
280 esac; \
281 done; \
282 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hcal/Makefile'; \
283 cd $(top_srcdir) && \
284 $(AUTOMAKE) --gnu examples/hcal/Makefile
285 .PRECIOUS: Makefile
286 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
287 @case '$?' in \
288 *config.status*) \
289 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
290 *) \
291 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
292 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
293 esac;
294
295 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
296 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
297
298 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
299 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
300 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
301 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
202302 install-binPROGRAMS: $(bin_PROGRAMS)
203303 @$(NORMAL_INSTALL)
204 $(mkinstalldirs) $(DESTDIR)$(bindir)
304 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
205305 @list='$(bin_PROGRAMS)'; for p in $$list; do \
206 if test -f $$p; then \
207 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
208 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
306 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
307 if test -f $$p \
308 || test -f $$p1 \
309 ; then \
310 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
311 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
312 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
209313 else :; fi; \
210314 done
211315
212316 uninstall-binPROGRAMS:
213317 @$(NORMAL_UNINSTALL)
214 list='$(bin_PROGRAMS)'; for p in $$list; do \
215 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
216 done
217
218 .c.o:
219 $(COMPILE) -c $<
220
221 # FIXME: We should only use cygpath when building on Windows,
222 # and only if it is available.
223 .c.obj:
224 $(COMPILE) -c `cygpath -w $<`
225
226 .s.o:
227 $(COMPILE) -c $<
228
229 .S.o:
230 $(COMPILE) -c $<
318 @list='$(bin_PROGRAMS)'; for p in $$list; do \
319 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
320 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
321 rm -f "$(DESTDIR)$(bindir)/$$f"; \
322 done
323
324 clean-binPROGRAMS:
325 @list='$(bin_PROGRAMS)'; for p in $$list; do \
326 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
327 echo " rm -f $$p $$f"; \
328 rm -f $$p $$f ; \
329 done
330 hcal$(EXEEXT): $(hcal_OBJECTS) $(hcal_DEPENDENCIES)
331 @rm -f hcal$(EXEEXT)
332 $(LINK) $(hcal_LDFLAGS) $(hcal_OBJECTS) $(hcal_LDADD) $(LIBS)
333 hdate$(EXEEXT): $(hdate_OBJECTS) $(hdate_DEPENDENCIES)
334 @rm -f hdate$(EXEEXT)
335 $(LINK) $(hdate_LDFLAGS) $(hdate_OBJECTS) $(hdate_LDADD) $(LIBS)
231336
232337 mostlyclean-compile:
233 -rm -f *.o core *.core
234338 -rm -f *.$(OBJEXT)
235
236 clean-compile:
237339
238340 distclean-compile:
239341 -rm -f *.tab.c
240342
241 maintainer-clean-compile:
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hcal.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate.Po@am__quote@
345
346 .c.o:
347 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
348 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
350 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
352
353 .c.obj:
354 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
355 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
356 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
357 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
242359
243360 .c.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .s.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
248
249 .S.lo:
250 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
361 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
362 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
363 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
364 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
365 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
251366
252367 mostlyclean-libtool:
253368 -rm -f *.lo
256371 -rm -rf .libs _libs
257372
258373 distclean-libtool:
259
260 maintainer-clean-libtool:
261
262 hdate$(EXEEXT): $(hdate_OBJECTS) $(hdate_DEPENDENCIES)
263 @rm -f hdate$(EXEEXT)
264 $(LINK) $(hdate_LDFLAGS) $(hdate_OBJECTS) $(hdate_LDADD) $(LIBS)
265
266 hcal$(EXEEXT): $(hcal_OBJECTS) $(hcal_DEPENDENCIES)
267 @rm -f hcal$(EXEEXT)
268 $(LINK) $(hcal_LDFLAGS) $(hcal_OBJECTS) $(hcal_LDADD) $(LIBS)
269
270 install-man1:
271 $(mkinstalldirs) $(DESTDIR)$(man1dir)
272 @list='$(man1_MANS)'; \
273 l2='$(man_MANS)'; for i in $$l2; do \
374 -rm -f libtool
375 uninstall-info-am:
376 install-man1: $(man1_MANS) $(man_MANS)
377 @$(NORMAL_INSTALL)
378 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
379 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
380 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
381 for i in $$l2; do \
274382 case "$$i" in \
275383 *.1*) list="$$list $$i" ;; \
276384 esac; \
279387 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
280388 else file=$$i; fi; \
281389 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
390 case "$$ext" in \
391 1*) ;; \
392 *) ext='1' ;; \
393 esac; \
282394 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
395 inst=`echo $$inst | sed -e 's/^.*\///'`; \
283396 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
284 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
285 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
286 done
287
397 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
398 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
399 done
288400 uninstall-man1:
289 @list='$(man1_MANS)'; \
290 l2='$(man_MANS)'; for i in $$l2; do \
401 @$(NORMAL_UNINSTALL)
402 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
403 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
404 for i in $$l2; do \
291405 case "$$i" in \
292406 *.1*) list="$$list $$i" ;; \
293407 esac; \
294408 done; \
295409 for i in $$list; do \
296410 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
411 case "$$ext" in \
412 1*) ;; \
413 *) ext='1' ;; \
414 esac; \
297415 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
416 inst=`echo $$inst | sed -e 's/^.*\///'`; \
298417 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
299 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
300 rm -f $(DESTDIR)$(man1dir)/$$inst; \
301 done
302 install-man: $(MANS)
303 @$(NORMAL_INSTALL)
304 $(MAKE) $(AM_MAKEFLAGS) install-man1
305 uninstall-man:
306 @$(NORMAL_UNINSTALL)
307 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
308
418 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
419 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
420 done
309421 install-libhdatedocDATA: $(libhdatedoc_DATA)
310422 @$(NORMAL_INSTALL)
311 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
423 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
312424 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
313 if test -f $(srcdir)/$$p; then \
314 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
315 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
316 else if test -f $$p; then \
317 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
318 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
319 fi; fi; \
425 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
426 f=$(am__strip_dir) \
427 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
428 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
320429 done
321430
322431 uninstall-libhdatedocDATA:
323432 @$(NORMAL_UNINSTALL)
324 list='$(libhdatedoc_DATA)'; for p in $$list; do \
325 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
326 done
327
433 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
434 f=$(am__strip_dir) \
435 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
436 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
437 done
438
439 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
440 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
441 unique=`for i in $$list; do \
442 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
443 done | \
444 $(AWK) ' { files[$$0] = 1; } \
445 END { for (i in files) print i; }'`; \
446 mkid -fID $$unique
328447 tags: TAGS
329448
330 ID: $(HEADERS) $(SOURCES) $(LISP)
331 list='$(SOURCES) $(HEADERS)'; \
332 unique=`for i in $$list; do echo $$i; done | \
333 awk ' { files[$$0] = 1; } \
334 END { for (i in files) print i; }'`; \
335 here=`pwd` && cd $(srcdir) \
336 && mkid -f$$here/ID $$unique $(LISP)
337
338 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
449 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
450 $(TAGS_FILES) $(LISP)
339451 tags=; \
340452 here=`pwd`; \
341 list='$(SOURCES) $(HEADERS)'; \
342 unique=`for i in $$list; do echo $$i; done | \
343 awk ' { files[$$0] = 1; } \
453 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
454 unique=`for i in $$list; do \
455 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456 done | \
457 $(AWK) ' { files[$$0] = 1; } \
344458 END { for (i in files) print i; }'`; \
345 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
346 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
347
348 mostlyclean-tags:
349
350 clean-tags:
459 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
460 test -n "$$unique" || unique=$$empty_fix; \
461 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
462 $$tags $$unique; \
463 fi
464 ctags: CTAGS
465 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
466 $(TAGS_FILES) $(LISP)
467 tags=; \
468 here=`pwd`; \
469 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
470 unique=`for i in $$list; do \
471 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472 done | \
473 $(AWK) ' { files[$$0] = 1; } \
474 END { for (i in files) print i; }'`; \
475 test -z "$(CTAGS_ARGS)$$tags$$unique" \
476 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
477 $$tags $$unique
478
479 GTAGS:
480 here=`$(am__cd) $(top_builddir) && pwd` \
481 && cd $(top_srcdir) \
482 && gtags -i $(GTAGS_ARGS) $$here
351483
352484 distclean-tags:
353 -rm -f TAGS ID
354
355 maintainer-clean-tags:
356
357 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
358
359 subdir = examples/hcal
485 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
360486
361487 distdir: $(DISTFILES)
362 @for file in $(DISTFILES); do \
363 d=$(srcdir); \
488 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
489 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
490 list='$(DISTFILES)'; for file in $$list; do \
491 case $$file in \
492 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
493 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
494 esac; \
495 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
496 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
497 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
498 dir="/$$dir"; \
499 $(mkdir_p) "$(distdir)$$dir"; \
500 else \
501 dir=''; \
502 fi; \
364503 if test -d $$d/$$file; then \
365 cp -pr $$d/$$file $(distdir)/$$file; \
504 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
505 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
506 fi; \
507 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
366508 else \
367509 test -f $(distdir)/$$file \
368 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
369 || cp -p $$d/$$file $(distdir)/$$file || :; \
510 || cp -p $$d/$$file $(distdir)/$$file \
511 || exit 1; \
370512 fi; \
371513 done
372 hcal.o: hcal.c ../../src/hdate.h
373 hdate.o: hdate.c ../../src/hdate.h
374
375 info-am:
376 info: info-am
377 dvi-am:
378 dvi: dvi-am
379514 check-am: all-am
380515 check: check-am
381 installcheck-am:
382 installcheck: installcheck-am
383 install-exec-am: install-binPROGRAMS
516 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
517 installdirs:
518 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(libhdatedocdir)"; do \
519 test -z "$$dir" || $(mkdir_p) "$$dir"; \
520 done
521 install: install-am
384522 install-exec: install-exec-am
385
386 install-data-am: install-man install-libhdatedocDATA
387523 install-data: install-data-am
524 uninstall: uninstall-am
388525
389526 install-am: all-am
390527 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
391 install: install-am
392 uninstall-am: uninstall-binPROGRAMS uninstall-man \
393 uninstall-libhdatedocDATA
394 uninstall: uninstall-am
395 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
396 all-redirect: all-am
528
529 installcheck: installcheck-am
397530 install-strip:
398 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
399 installdirs:
400 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
401 $(DESTDIR)$(libhdatedocdir)
402
403
531 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
532 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
533 `test -z '$(STRIP)' || \
534 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
404535 mostlyclean-generic:
405536
406537 clean-generic:
407538
408539 distclean-generic:
409 -rm -f Makefile $(CONFIG_CLEAN_FILES)
410 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
540 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
411541
412542 maintainer-clean-generic:
413 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
414 mostlyclean-libtool mostlyclean-tags \
415 mostlyclean-generic
543 @echo "This command is intended for maintainers to use"
544 @echo "it deletes files that may require special tools to rebuild."
545 clean: clean-am
546
547 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
548
549 distclean: distclean-am
550 -rm -rf ./$(DEPDIR)
551 -rm -f Makefile
552 distclean-am: clean-am distclean-compile distclean-generic \
553 distclean-libtool distclean-tags
554
555 dvi: dvi-am
556
557 dvi-am:
558
559 html: html-am
560
561 info: info-am
562
563 info-am:
564
565 install-data-am: install-libhdatedocDATA install-man
566
567 install-exec-am: install-binPROGRAMS
568
569 install-info: install-info-am
570
571 install-man: install-man1
572
573 installcheck-am:
574
575 maintainer-clean: maintainer-clean-am
576 -rm -rf ./$(DEPDIR)
577 -rm -f Makefile
578 maintainer-clean-am: distclean-am maintainer-clean-generic
416579
417580 mostlyclean: mostlyclean-am
418581
419 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
420 clean-generic mostlyclean-am
421
422 clean: clean-am
423
424 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
425 distclean-tags distclean-generic clean-am
426 -rm -f libtool
427
428 distclean: distclean-am
429
430 maintainer-clean-am: maintainer-clean-binPROGRAMS \
431 maintainer-clean-compile maintainer-clean-libtool \
432 maintainer-clean-tags maintainer-clean-generic \
433 distclean-am
434 @echo "This command is intended for maintainers to use;"
435 @echo "it deletes files that may require special tools to rebuild."
436
437 maintainer-clean: maintainer-clean-am
438
439 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
440 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
441 mostlyclean-compile distclean-compile clean-compile \
442 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
443 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
444 install-man uninstall-man uninstall-libhdatedocDATA \
445 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
446 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
447 installcheck-am installcheck install-exec-am install-exec \
448 install-data-am install-data install-am install uninstall-am uninstall \
449 all-redirect all-am all installdirs mostlyclean-generic \
450 distclean-generic clean-generic maintainer-clean-generic clean \
451 mostlyclean distclean maintainer-clean
452
582 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
583 mostlyclean-libtool
584
585 pdf: pdf-am
586
587 pdf-am:
588
589 ps: ps-am
590
591 ps-am:
592
593 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
594 uninstall-libhdatedocDATA uninstall-man
595
596 uninstall-man: uninstall-man1
597
598 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
599 clean-generic clean-libtool ctags distclean distclean-compile \
600 distclean-generic distclean-libtool distclean-tags distdir dvi \
601 dvi-am html html-am info info-am install install-am \
602 install-binPROGRAMS install-data install-data-am install-exec \
603 install-exec-am install-info install-info-am \
604 install-libhdatedocDATA install-man install-man1 install-strip \
605 installcheck installcheck-am installdirs maintainer-clean \
606 maintainer-clean-generic mostlyclean mostlyclean-compile \
607 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
608 tags uninstall uninstall-am uninstall-binPROGRAMS \
609 uninstall-info-am uninstall-libhdatedocDATA uninstall-man \
610 uninstall-man1
453611
454612 # Tell versions [3.59,3.63) of GNU make to not export all variables.
455613 # Otherwise a system limit (for SysV at least) may be exceeded.
413413 int year;
414414
415415 /* user opts */
416 char c;
416 int c;
417417 int opt_h = 0; /* -h html format flag */
418418 int opt_d = 0; /* -d Diaspora holidays */
419419 int opt_i = 0; /* -i External css file */
425425 setlocale (LC_ALL, "");
426426
427427 /* command line parsing */
428 while ((c = getopt (argc, argv, "shdi")) != EOF)
428 while ((c = getopt (argc, argv, "shdi")) != -1)
429429 {
430430 switch (c)
431431 {
291291 /* check for iCal format */
292292 if (opt_i)
293293 {
294 print_ical_header ();
294 /* FIXME: older versions of mozilla calendar and evulotion
295 needed this hack */
296 /* print_ical_header (); */
295297
296298 printf ("BEGIN:VEVENT\n");
297299 printf ("UID:%d\n", ++iCal_uid_counter);
356358 h->gd_mon, h->gd_day);
357359 printf ("CATEGORIES:Holidays\n");
358360 printf ("END:VEVENT\n");
359
360 print_ical_footer ();
361 /* FIXME: older versions of mozilla calendar and evulotion
362 needed this hack */
363 /* print_ical_footer (); */
361364 }
362365
363366 return 0;
522525 main (int argc, char *argv[])
523526 {
524527 hdate_struct h; /* The Hebrew date */
525 char c;
528 int c;
526529
527530 int day; /* The Gregorian date */
528531 int month;
549552 setlocale (LC_ALL, "");
550553
551554 /* command line parsing */
552 while ((c = getopt (argc, argv, "sctShHrRdil:L:z:")) != EOF)
555 while ((c = getopt (argc, argv, "sctShHrRdil:L:z:")) != -1)
553556 {
554557 switch (c)
555558 {
606609 /* set date for today */
607610 hdate_set_gdate (&h, 0, 0, 0);
608611
612 if (opt_i)
613 print_ical_header ();
614
609615 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
610616 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
611
617
618 if (opt_i)
619 print_ical_footer ();
620
612621 exit (0);
613622 }
614623 else if (argc == (optind + 1)) /*only year */
623632 }
624633 if (year > 3000) /* hebrew year */
625634 {
635 if (opt_i)
636 print_ical_header ();
637
626638 print_hebrew_year (opt_d, opt_S, lat, lon, tz, opt_s,
627639 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t,
628640 year);
629
641
642 if (opt_i)
643 print_ical_footer ();
644
630645 exit (0);
631646 }
632647 else
633648 {
649 if (opt_i)
650 print_ical_header ();
651
634652 print_year (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
635653 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t, year);
636
654
655 if (opt_i)
656 print_ical_footer ();
657
637658 exit (0);
638659 }
639660 }
650671 }
651672 if (year > 3000) /* hebrew year */
652673 {
674 if (opt_i)
675 print_ical_header ();
676
653677 print_hebrew_month (opt_d, opt_S, lat, lon, tz, opt_s,
654678 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t,
655679 month, year);
656
680
681 if (opt_i)
682 print_ical_footer ();
683
657684 exit (0);
658685 }
659686 else
660687 {
688 if (opt_i)
689 print_ical_header ();
690
661691 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
662692 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t, month, year);
663
693
694 if (opt_i)
695 print_ical_footer ();
696
664697 exit (0);
665698 }
666699 }
686719 {
687720 hdate_set_gdate (&h, day, month, year);
688721 }
689
722
723 if (opt_i)
724 print_ical_header ();
725
690726 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
691727 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
692
728
729 if (opt_i)
730 print_ical_footer ();
731
693732 exit (0);
694733 }
695734 else
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
1415
1516 srcdir = @srcdir@
1617 top_srcdir = @top_srcdir@
1718 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3619 pkgdatadir = $(datadir)/@PACKAGE@
3720 pkglibdir = $(libdir)/@PACKAGE@
3821 pkgincludedir = $(includedir)/@PACKAGE@
39
4022 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4724 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
5330 NORMAL_INSTALL = :
5431 PRE_INSTALL = :
5532 POST_INSTALL = :
5633 NORMAL_UNINSTALL = :
5734 PRE_UNINSTALL = :
5835 POST_UNINSTALL = :
59 host_alias = @host_alias@
36 build_triplet = @build@
6037 host_triplet = @host@
38 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal$(EXEEXT)
39 subdir = examples/hebcal
40 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/configure.in
43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 $(ACLOCAL_M4)
45 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
46 CONFIG_CLEAN_FILES =
47 am__installdirs = "$(DESTDIR)$(bindir)"
48 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
49 PROGRAMS = $(bin_PROGRAMS)
50 am__hdate_hebcal_SOURCES_DIST = hdate_hebcal.c
51 @WITH_EXAMPLES_TRUE@am_hdate_hebcal_OBJECTS = hdate_hebcal.$(OBJEXT)
52 hdate_hebcal_OBJECTS = $(am_hdate_hebcal_OBJECTS)
53 @WITH_EXAMPLES_TRUE@am__DEPENDENCIES_1 = \
54 @WITH_EXAMPLES_TRUE@ $(top_builddir)/src/libhdate.la
55 DEFAULT_INCLUDES = -I. -I$(srcdir)
56 depcomp = $(SHELL) $(top_srcdir)/depcomp
57 am__depfiles_maybe = depfiles
58 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
59 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
60 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
61 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
62 $(AM_CFLAGS) $(CFLAGS)
63 CCLD = $(CC)
64 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
65 $(AM_LDFLAGS) $(LDFLAGS) -o $@
66 SOURCES = $(hdate_hebcal_SOURCES)
67 DIST_SOURCES = $(am__hdate_hebcal_SOURCES_DIST)
68 ETAGS = etags
69 CTAGS = ctags
70 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
71 ACLOCAL = @ACLOCAL@
72 ALLOCA = @ALLOCA@
73 AMDEP_FALSE = @AMDEP_FALSE@
74 AMDEP_TRUE = @AMDEP_TRUE@
75 AMTAR = @AMTAR@
6176 AR = @AR@
62 AS = @AS@
77 AUTOCONF = @AUTOCONF@
78 AUTOHEADER = @AUTOHEADER@
79 AUTOMAKE = @AUTOMAKE@
80 AWK = @AWK@
6381 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6482 CATOBJEXT = @CATOBJEXT@
6583 CC = @CC@
84 CCDEPMODE = @CCDEPMODE@
6685 CFLAGS = @CFLAGS@
86 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
87 CPP = @CPP@
88 CPPFLAGS = @CPPFLAGS@
6789 CXX = @CXX@
6890 CXXCPP = @CXXCPP@
91 CXXDEPMODE = @CXXDEPMODE@
92 CXXFLAGS = @CXXFLAGS@
93 CYGPATH_W = @CYGPATH_W@
6994 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
95 DEFS = @DEFS@
96 DEPDIR = @DEPDIR@
7197 ECHO = @ECHO@
98 ECHO_C = @ECHO_C@
99 ECHO_N = @ECHO_N@
100 ECHO_T = @ECHO_T@
72101 EGREP = @EGREP@
73102 EXEEXT = @EXEEXT@
74103 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
104 FFLAGS = @FFLAGS@
77105 GENCAT = @GENCAT@
78106 GLIBC2 = @GLIBC2@
79107 GLIBC21 = @GLIBC21@
80108 GMSGFMT = @GMSGFMT@
109 GMSGFMT_015 = @GMSGFMT_015@
110 GREP = @GREP@
81111 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83112 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84113 HAVE_SNPRINTF = @HAVE_SNPRINTF@
114 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85115 HAVE_WPRINTF = @HAVE_WPRINTF@
116 INSTALL_DATA = @INSTALL_DATA@
117 INSTALL_PROGRAM = @INSTALL_PROGRAM@
118 INSTALL_SCRIPT = @INSTALL_SCRIPT@
119 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86120 INSTOBJEXT = @INSTOBJEXT@
87121 INTLBISON = @INTLBISON@
88122 INTLLIBS = @INTLLIBS@
89123 INTLOBJS = @INTLOBJS@
90124 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91125 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
126 LDFLAGS = @LDFLAGS@
93127 LIBICONV = @LIBICONV@
94128 LIBINTL = @LIBINTL@
129 LIBMULTITHREAD = @LIBMULTITHREAD@
130 LIBOBJS = @LIBOBJS@
131 LIBPTH = @LIBPTH@
95132 LIBS = @LIBS@
133 LIBTHREAD = @LIBTHREAD@
96134 LIBTOOL = @LIBTOOL@
97135 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99136 LTLIBICONV = @LTLIBICONV@
100137 LTLIBINTL = @LTLIBINTL@
138 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
139 LTLIBOBJS = @LTLIBOBJS@
140 LTLIBPTH = @LTLIBPTH@
141 LTLIBTHREAD = @LTLIBTHREAD@
101142 MAINT = @MAINT@
143 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
144 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102145 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
146 MSGFMT = @MSGFMT@
147 MSGFMT_015 = @MSGFMT_015@
148 MSGMERGE = @MSGMERGE@
105149 OBJEXT = @OBJEXT@
106150 PACKAGE = @PACKAGE@
151 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
152 PACKAGE_NAME = @PACKAGE_NAME@
153 PACKAGE_STRING = @PACKAGE_STRING@
154 PACKAGE_TARNAME = @PACKAGE_TARNAME@
155 PACKAGE_VERSION = @PACKAGE_VERSION@
156 PATH_SEPARATOR = @PATH_SEPARATOR@
107157 PA_MODULES_PATH = @PA_MODULES_PATH@
108158 PA_VERSION = @PA_VERSION@
109159 PE_CFLAGS = @PE_CFLAGS@
110160 PE_MODULES_PATH = @PE_MODULES_PATH@
111161 PKG_CONFIG = @PKG_CONFIG@
112162 POSUB = @POSUB@
163 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113164 PY_CFLAGS = @PY_CFLAGS@
114165 PY_MODULES_PATH = @PY_MODULES_PATH@
115166 PY_VERSION = @PY_VERSION@
116167 RANLIB = @RANLIB@
117 RC = @RC@
168 SET_MAKE = @SET_MAKE@
169 SHELL = @SHELL@
118170 STRIP = @STRIP@
119171 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120172 USE_NLS = @USE_NLS@
121173 VERSION = @VERSION@
122174 VERSION_INFO = @VERSION_INFO@
175 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
176 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
177 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
178 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
179 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
180 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
181 WITH_PERL_FALSE = @WITH_PERL_FALSE@
182 WITH_PERL_TRUE = @WITH_PERL_TRUE@
183 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
184 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
185 WOE32DLL = @WOE32DLL@
186 XGETTEXT = @XGETTEXT@
187 XGETTEXT_015 = @XGETTEXT_015@
188 ac_ct_CC = @ac_ct_CC@
189 ac_ct_CXX = @ac_ct_CXX@
190 ac_ct_F77 = @ac_ct_F77@
191 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
192 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
193 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
194 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
195 am__include = @am__include@
196 am__leading_dot = @am__leading_dot@
197 am__quote = @am__quote@
198 am__tar = @am__tar@
199 am__untar = @am__untar@
200 bindir = @bindir@
201 build = @build@
202 build_alias = @build_alias@
203 build_cpu = @build_cpu@
204 build_os = @build_os@
205 build_vendor = @build_vendor@
206 datadir = @datadir@
207 datarootdir = @datarootdir@
208 docdir = @docdir@
209 dvidir = @dvidir@
210 exec_prefix = @exec_prefix@
123211 have_pascal = @have_pascal@
124212 have_perl = @have_perl@
125213 have_python = @have_python@
126214 have_swig = @have_swig@
127
215 host = @host@
216 host_alias = @host_alias@
217 host_cpu = @host_cpu@
218 host_os = @host_os@
219 host_vendor = @host_vendor@
220 htmldir = @htmldir@
221 includedir = @includedir@
222 infodir = @infodir@
223 install_sh = @install_sh@
224 libdir = @libdir@
225 libexecdir = @libexecdir@
226 localedir = @localedir@
227 localstatedir = @localstatedir@
228 mandir = @mandir@
229 mkdir_p = @mkdir_p@
230 oldincludedir = @oldincludedir@
231 pdfdir = @pdfdir@
232 prefix = @prefix@
233 program_transform_name = @program_transform_name@
234 psdir = @psdir@
235 sbindir = @sbindir@
236 sharedstatedir = @sharedstatedir@
237 sysconfdir = @sysconfdir@
238 target_alias = @target_alias@
128239 EXTRA_DIST = hdate_hebcal.c
129
130240 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132241 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133242 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal
136243 @WITH_EXAMPLES_TRUE@hdate_hebcal_SOURCES = hdate_hebcal.c
137244 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDFLAGS =
138245 @WITH_EXAMPLES_TRUE@hdate_hebcal_DEPENDENCIES = $(DEPS)
139246 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDADD = $(ldadd)
140 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
141 CONFIG_CLEAN_FILES =
142 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal$(EXEEXT)
143 PROGRAMS = $(bin_PROGRAMS)
144
145
146 DEFS = @DEFS@ -I. -I$(srcdir)
147 CPPFLAGS = @CPPFLAGS@
148 LDFLAGS = @LDFLAGS@
149 @WITH_EXAMPLES_TRUE@hdate_hebcal_OBJECTS = hdate_hebcal.$(OBJEXT)
150 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
151 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
152 CCLD = $(CC)
153 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
154 DIST_COMMON = Makefile.am Makefile.in
155
156
157 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
158
159 TAR = tar
160 GZIP_ENV = --best
161 SOURCES = $(hdate_hebcal_SOURCES)
162 OBJECTS = $(hdate_hebcal_OBJECTS)
163
164 all: all-redirect
247 all: all-am
248
165249 .SUFFIXES:
166 .SUFFIXES: .S .c .lo .o .obj .s
167 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/hebcal/Makefile
169
170 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) \
172 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
173
174
175 mostlyclean-binPROGRAMS:
176
177 clean-binPROGRAMS:
178 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
179
180 distclean-binPROGRAMS:
181
182 maintainer-clean-binPROGRAMS:
183
250 .SUFFIXES: .c .lo .o .obj
251 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
252 @for dep in $?; do \
253 case '$(am__configure_deps)' in \
254 *$$dep*) \
255 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
256 && exit 0; \
257 exit 1;; \
258 esac; \
259 done; \
260 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hebcal/Makefile'; \
261 cd $(top_srcdir) && \
262 $(AUTOMAKE) --gnu examples/hebcal/Makefile
263 .PRECIOUS: Makefile
264 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
265 @case '$?' in \
266 *config.status*) \
267 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
268 *) \
269 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
270 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
271 esac;
272
273 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
274 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
275
276 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
278 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
184280 install-binPROGRAMS: $(bin_PROGRAMS)
185281 @$(NORMAL_INSTALL)
186 $(mkinstalldirs) $(DESTDIR)$(bindir)
282 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
187283 @list='$(bin_PROGRAMS)'; for p in $$list; do \
188 if test -f $$p; then \
189 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
190 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
284 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
285 if test -f $$p \
286 || test -f $$p1 \
287 ; then \
288 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
289 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
290 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
191291 else :; fi; \
192292 done
193293
194294 uninstall-binPROGRAMS:
195295 @$(NORMAL_UNINSTALL)
196 list='$(bin_PROGRAMS)'; for p in $$list; do \
197 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
296 @list='$(bin_PROGRAMS)'; for p in $$list; do \
297 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
298 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
299 rm -f "$(DESTDIR)$(bindir)/$$f"; \
198300 done
199301
200 .c.o:
201 $(COMPILE) -c $<
202
203 # FIXME: We should only use cygpath when building on Windows,
204 # and only if it is available.
205 .c.obj:
206 $(COMPILE) -c `cygpath -w $<`
207
208 .s.o:
209 $(COMPILE) -c $<
210
211 .S.o:
212 $(COMPILE) -c $<
302 clean-binPROGRAMS:
303 @list='$(bin_PROGRAMS)'; for p in $$list; do \
304 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
305 echo " rm -f $$p $$f"; \
306 rm -f $$p $$f ; \
307 done
308 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
309 @rm -f hdate_hebcal$(EXEEXT)
310 $(LINK) $(hdate_hebcal_LDFLAGS) $(hdate_hebcal_OBJECTS) $(hdate_hebcal_LDADD) $(LIBS)
213311
214312 mostlyclean-compile:
215 -rm -f *.o core *.core
216313 -rm -f *.$(OBJEXT)
217
218 clean-compile:
219314
220315 distclean-compile:
221316 -rm -f *.tab.c
222317
223 maintainer-clean-compile:
318 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_hebcal.Po@am__quote@
319
320 .c.o:
321 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
322 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
323 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
324 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
325 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
326
327 .c.obj:
328 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
329 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
330 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
331 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
332 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
224333
225334 .c.lo:
226 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
227
228 .s.lo:
229 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
230
231 .S.lo:
232 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
335 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
336 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
337 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
338 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
339 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
233340
234341 mostlyclean-libtool:
235342 -rm -f *.lo
238345 -rm -rf .libs _libs
239346
240347 distclean-libtool:
241
242 maintainer-clean-libtool:
243
244 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
245 @rm -f hdate_hebcal$(EXEEXT)
246 $(LINK) $(hdate_hebcal_LDFLAGS) $(hdate_hebcal_OBJECTS) $(hdate_hebcal_LDADD) $(LIBS)
247
348 -rm -f libtool
349 uninstall-info-am:
350
351 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
352 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
353 unique=`for i in $$list; do \
354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355 done | \
356 $(AWK) ' { files[$$0] = 1; } \
357 END { for (i in files) print i; }'`; \
358 mkid -fID $$unique
248359 tags: TAGS
249360
250 ID: $(HEADERS) $(SOURCES) $(LISP)
251 list='$(SOURCES) $(HEADERS)'; \
252 unique=`for i in $$list; do echo $$i; done | \
253 awk ' { files[$$0] = 1; } \
254 END { for (i in files) print i; }'`; \
255 here=`pwd` && cd $(srcdir) \
256 && mkid -f$$here/ID $$unique $(LISP)
257
258 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
361 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
362 $(TAGS_FILES) $(LISP)
259363 tags=; \
260364 here=`pwd`; \
261 list='$(SOURCES) $(HEADERS)'; \
262 unique=`for i in $$list; do echo $$i; done | \
263 awk ' { files[$$0] = 1; } \
365 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
366 unique=`for i in $$list; do \
367 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
368 done | \
369 $(AWK) ' { files[$$0] = 1; } \
264370 END { for (i in files) print i; }'`; \
265 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
266 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
267
268 mostlyclean-tags:
269
270 clean-tags:
371 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
372 test -n "$$unique" || unique=$$empty_fix; \
373 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
374 $$tags $$unique; \
375 fi
376 ctags: CTAGS
377 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
378 $(TAGS_FILES) $(LISP)
379 tags=; \
380 here=`pwd`; \
381 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
382 unique=`for i in $$list; do \
383 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
384 done | \
385 $(AWK) ' { files[$$0] = 1; } \
386 END { for (i in files) print i; }'`; \
387 test -z "$(CTAGS_ARGS)$$tags$$unique" \
388 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
389 $$tags $$unique
390
391 GTAGS:
392 here=`$(am__cd) $(top_builddir) && pwd` \
393 && cd $(top_srcdir) \
394 && gtags -i $(GTAGS_ARGS) $$here
271395
272396 distclean-tags:
273 -rm -f TAGS ID
274
275 maintainer-clean-tags:
276
277 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
278
279 subdir = examples/hebcal
397 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
280398
281399 distdir: $(DISTFILES)
282 @for file in $(DISTFILES); do \
283 d=$(srcdir); \
400 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
401 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
402 list='$(DISTFILES)'; for file in $$list; do \
403 case $$file in \
404 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
405 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
406 esac; \
407 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
408 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
409 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
410 dir="/$$dir"; \
411 $(mkdir_p) "$(distdir)$$dir"; \
412 else \
413 dir=''; \
414 fi; \
284415 if test -d $$d/$$file; then \
285 cp -pr $$d/$$file $(distdir)/$$file; \
416 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
417 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
418 fi; \
419 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
286420 else \
287421 test -f $(distdir)/$$file \
288 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
289 || cp -p $$d/$$file $(distdir)/$$file || :; \
422 || cp -p $$d/$$file $(distdir)/$$file \
423 || exit 1; \
290424 fi; \
291425 done
292
293 info-am:
294 info: info-am
295 dvi-am:
296 dvi: dvi-am
297426 check-am: all-am
298427 check: check-am
299 installcheck-am:
300 installcheck: installcheck-am
301 install-exec-am: install-binPROGRAMS
428 all-am: Makefile $(PROGRAMS)
429 installdirs:
430 for dir in "$(DESTDIR)$(bindir)"; do \
431 test -z "$$dir" || $(mkdir_p) "$$dir"; \
432 done
433 install: install-am
302434 install-exec: install-exec-am
303
304 install-data-am:
305435 install-data: install-data-am
436 uninstall: uninstall-am
306437
307438 install-am: all-am
308439 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
309 install: install-am
310 uninstall-am: uninstall-binPROGRAMS
311 uninstall: uninstall-am
312 all-am: Makefile $(PROGRAMS)
313 all-redirect: all-am
440
441 installcheck: installcheck-am
314442 install-strip:
315 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
316 installdirs:
317 $(mkinstalldirs) $(DESTDIR)$(bindir)
318
319
443 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
444 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
445 `test -z '$(STRIP)' || \
446 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
320447 mostlyclean-generic:
321448
322449 clean-generic:
323450
324451 distclean-generic:
325 -rm -f Makefile $(CONFIG_CLEAN_FILES)
326 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
452 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
327453
328454 maintainer-clean-generic:
329 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
330 mostlyclean-libtool mostlyclean-tags \
331 mostlyclean-generic
455 @echo "This command is intended for maintainers to use"
456 @echo "it deletes files that may require special tools to rebuild."
457 clean: clean-am
458
459 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
460
461 distclean: distclean-am
462 -rm -rf ./$(DEPDIR)
463 -rm -f Makefile
464 distclean-am: clean-am distclean-compile distclean-generic \
465 distclean-libtool distclean-tags
466
467 dvi: dvi-am
468
469 dvi-am:
470
471 html: html-am
472
473 info: info-am
474
475 info-am:
476
477 install-data-am:
478
479 install-exec-am: install-binPROGRAMS
480
481 install-info: install-info-am
482
483 install-man:
484
485 installcheck-am:
486
487 maintainer-clean: maintainer-clean-am
488 -rm -rf ./$(DEPDIR)
489 -rm -f Makefile
490 maintainer-clean-am: distclean-am maintainer-clean-generic
332491
333492 mostlyclean: mostlyclean-am
334493
335 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
336 clean-generic mostlyclean-am
337
338 clean: clean-am
339
340 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
341 distclean-tags distclean-generic clean-am
342 -rm -f libtool
343
344 distclean: distclean-am
345
346 maintainer-clean-am: maintainer-clean-binPROGRAMS \
347 maintainer-clean-compile maintainer-clean-libtool \
348 maintainer-clean-tags maintainer-clean-generic \
349 distclean-am
350 @echo "This command is intended for maintainers to use;"
351 @echo "it deletes files that may require special tools to rebuild."
352
353 maintainer-clean: maintainer-clean-am
354
355 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
356 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
357 mostlyclean-compile distclean-compile clean-compile \
358 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
359 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
360 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
361 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
362 install-exec install-data-am install-data install-am install \
363 uninstall-am uninstall all-redirect all-am all installdirs \
364 mostlyclean-generic distclean-generic clean-generic \
365 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
366
494 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
495 mostlyclean-libtool
496
497 pdf: pdf-am
498
499 pdf-am:
500
501 ps: ps-am
502
503 ps-am:
504
505 uninstall-am: uninstall-binPROGRAMS uninstall-info-am
506
507 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
508 clean-generic clean-libtool ctags distclean distclean-compile \
509 distclean-generic distclean-libtool distclean-tags distdir dvi \
510 dvi-am html html-am info info-am install install-am \
511 install-binPROGRAMS install-data install-data-am install-exec \
512 install-exec-am install-info install-info-am install-man \
513 install-strip installcheck installcheck-am installdirs \
514 maintainer-clean maintainer-clean-generic mostlyclean \
515 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
516 pdf pdf-am ps ps-am tags uninstall uninstall-am \
517 uninstall-binPROGRAMS uninstall-info-am
367518
368519 # Tell versions [3.59,3.63) of GNU make to not export all variables.
369520 # Otherwise a system limit (for SysV at least) may be exceeded.
131131 int event;
132132 int year = 0;
133133 int sunset, sunrise;
134 char c;
134 int c;
135135
136136 /* hebcal style command line options */
137137 char *progname=argv[0];
150150 int tz = 2; /* -z option default to Tel aviv time zone */
151151
152152 /* command line parsing */
153 while((c=getopt(argc, argv, "cdDehirsxl:L:m:z:"))!=EOF){
153 while((c = getopt(argc, argv, "cdDehirsxl:L:m:z:"))!= -1){
154154 switch(c){
155155 case 'c':
156156 opt_c=1;
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
15
1416
1517 srcdir = @srcdir@
1618 top_srcdir = @top_srcdir@
1719 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3620 pkgdatadir = $(datadir)/@PACKAGE@
3721 pkglibdir = $(libdir)/@PACKAGE@
3822 pkgincludedir = $(includedir)/@PACKAGE@
39
4023 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4725 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
5331 NORMAL_INSTALL = :
5432 PRE_INSTALL = :
5533 POST_INSTALL = :
5634 NORMAL_UNINSTALL = :
5735 PRE_UNINSTALL = :
5836 POST_UNINSTALL = :
59 host_alias = @host_alias@
37 build_triplet = @build@
6038 host_triplet = @host@
39 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html$(EXEEXT) \
40 @WITH_EXAMPLES_TRUE@ hdate_holydays_html$(EXEEXT)
41 subdir = examples/html
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/configure.in
45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46 $(ACLOCAL_M4)
47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48 CONFIG_CLEAN_FILES =
49 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"
50 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
51 PROGRAMS = $(bin_PROGRAMS)
52 am__hdate_holydays_html_SOURCES_DIST = hdate_holydays_html.c
53 @WITH_EXAMPLES_TRUE@am_hdate_holydays_html_OBJECTS = \
54 @WITH_EXAMPLES_TRUE@ hdate_holydays_html.$(OBJEXT)
55 hdate_holydays_html_OBJECTS = $(am_hdate_holydays_html_OBJECTS)
56 @WITH_EXAMPLES_TRUE@am__DEPENDENCIES_1 = \
57 @WITH_EXAMPLES_TRUE@ $(top_builddir)/src/libhdate.la
58 am__hdate_reading_html_SOURCES_DIST = hdate_reading_html.c
59 @WITH_EXAMPLES_TRUE@am_hdate_reading_html_OBJECTS = \
60 @WITH_EXAMPLES_TRUE@ hdate_reading_html.$(OBJEXT)
61 hdate_reading_html_OBJECTS = $(am_hdate_reading_html_OBJECTS)
62 DEFAULT_INCLUDES = -I. -I$(srcdir)
63 depcomp = $(SHELL) $(top_srcdir)/depcomp
64 am__depfiles_maybe = depfiles
65 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
66 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
67 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
68 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
69 $(AM_CFLAGS) $(CFLAGS)
70 CCLD = $(CC)
71 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
72 $(AM_LDFLAGS) $(LDFLAGS) -o $@
73 SOURCES = $(hdate_holydays_html_SOURCES) $(hdate_reading_html_SOURCES)
74 DIST_SOURCES = $(am__hdate_holydays_html_SOURCES_DIST) \
75 $(am__hdate_reading_html_SOURCES_DIST)
76 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
77 am__vpath_adj = case $$p in \
78 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
79 *) f=$$p;; \
80 esac;
81 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
82 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
83 DATA = $(libhdatedoc_DATA)
84 ETAGS = etags
85 CTAGS = ctags
86 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
87 ACLOCAL = @ACLOCAL@
88 ALLOCA = @ALLOCA@
89 AMDEP_FALSE = @AMDEP_FALSE@
90 AMDEP_TRUE = @AMDEP_TRUE@
91 AMTAR = @AMTAR@
6192 AR = @AR@
62 AS = @AS@
93 AUTOCONF = @AUTOCONF@
94 AUTOHEADER = @AUTOHEADER@
95 AUTOMAKE = @AUTOMAKE@
96 AWK = @AWK@
6397 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6498 CATOBJEXT = @CATOBJEXT@
6599 CC = @CC@
100 CCDEPMODE = @CCDEPMODE@
66101 CFLAGS = @CFLAGS@
102 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
103 CPP = @CPP@
104 CPPFLAGS = @CPPFLAGS@
67105 CXX = @CXX@
68106 CXXCPP = @CXXCPP@
107 CXXDEPMODE = @CXXDEPMODE@
108 CXXFLAGS = @CXXFLAGS@
109 CYGPATH_W = @CYGPATH_W@
69110 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
111 DEFS = @DEFS@
112 DEPDIR = @DEPDIR@
71113 ECHO = @ECHO@
114 ECHO_C = @ECHO_C@
115 ECHO_N = @ECHO_N@
116 ECHO_T = @ECHO_T@
72117 EGREP = @EGREP@
73118 EXEEXT = @EXEEXT@
74119 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
120 FFLAGS = @FFLAGS@
77121 GENCAT = @GENCAT@
78122 GLIBC2 = @GLIBC2@
79123 GLIBC21 = @GLIBC21@
80124 GMSGFMT = @GMSGFMT@
125 GMSGFMT_015 = @GMSGFMT_015@
126 GREP = @GREP@
81127 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83128 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84129 HAVE_SNPRINTF = @HAVE_SNPRINTF@
130 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85131 HAVE_WPRINTF = @HAVE_WPRINTF@
132 INSTALL_DATA = @INSTALL_DATA@
133 INSTALL_PROGRAM = @INSTALL_PROGRAM@
134 INSTALL_SCRIPT = @INSTALL_SCRIPT@
135 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86136 INSTOBJEXT = @INSTOBJEXT@
87137 INTLBISON = @INTLBISON@
88138 INTLLIBS = @INTLLIBS@
89139 INTLOBJS = @INTLOBJS@
90140 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91141 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
142 LDFLAGS = @LDFLAGS@
93143 LIBICONV = @LIBICONV@
94144 LIBINTL = @LIBINTL@
145 LIBMULTITHREAD = @LIBMULTITHREAD@
146 LIBOBJS = @LIBOBJS@
147 LIBPTH = @LIBPTH@
95148 LIBS = @LIBS@
149 LIBTHREAD = @LIBTHREAD@
96150 LIBTOOL = @LIBTOOL@
97151 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99152 LTLIBICONV = @LTLIBICONV@
100153 LTLIBINTL = @LTLIBINTL@
154 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
155 LTLIBOBJS = @LTLIBOBJS@
156 LTLIBPTH = @LTLIBPTH@
157 LTLIBTHREAD = @LTLIBTHREAD@
101158 MAINT = @MAINT@
159 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
160 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102161 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
162 MSGFMT = @MSGFMT@
163 MSGFMT_015 = @MSGFMT_015@
164 MSGMERGE = @MSGMERGE@
105165 OBJEXT = @OBJEXT@
106166 PACKAGE = @PACKAGE@
167 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
168 PACKAGE_NAME = @PACKAGE_NAME@
169 PACKAGE_STRING = @PACKAGE_STRING@
170 PACKAGE_TARNAME = @PACKAGE_TARNAME@
171 PACKAGE_VERSION = @PACKAGE_VERSION@
172 PATH_SEPARATOR = @PATH_SEPARATOR@
107173 PA_MODULES_PATH = @PA_MODULES_PATH@
108174 PA_VERSION = @PA_VERSION@
109175 PE_CFLAGS = @PE_CFLAGS@
110176 PE_MODULES_PATH = @PE_MODULES_PATH@
111177 PKG_CONFIG = @PKG_CONFIG@
112178 POSUB = @POSUB@
179 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113180 PY_CFLAGS = @PY_CFLAGS@
114181 PY_MODULES_PATH = @PY_MODULES_PATH@
115182 PY_VERSION = @PY_VERSION@
116183 RANLIB = @RANLIB@
117 RC = @RC@
184 SET_MAKE = @SET_MAKE@
185 SHELL = @SHELL@
118186 STRIP = @STRIP@
119187 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120188 USE_NLS = @USE_NLS@
121189 VERSION = @VERSION@
122190 VERSION_INFO = @VERSION_INFO@
191 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
192 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
193 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
194 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
195 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
196 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
197 WITH_PERL_FALSE = @WITH_PERL_FALSE@
198 WITH_PERL_TRUE = @WITH_PERL_TRUE@
199 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
200 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
201 WOE32DLL = @WOE32DLL@
202 XGETTEXT = @XGETTEXT@
203 XGETTEXT_015 = @XGETTEXT_015@
204 ac_ct_CC = @ac_ct_CC@
205 ac_ct_CXX = @ac_ct_CXX@
206 ac_ct_F77 = @ac_ct_F77@
207 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
208 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
209 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
210 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
211 am__include = @am__include@
212 am__leading_dot = @am__leading_dot@
213 am__quote = @am__quote@
214 am__tar = @am__tar@
215 am__untar = @am__untar@
216 bindir = @bindir@
217 build = @build@
218 build_alias = @build_alias@
219 build_cpu = @build_cpu@
220 build_os = @build_os@
221 build_vendor = @build_vendor@
222 datadir = @datadir@
223 datarootdir = @datarootdir@
224 docdir = @docdir@
225 dvidir = @dvidir@
226 exec_prefix = @exec_prefix@
123227 have_pascal = @have_pascal@
124228 have_perl = @have_perl@
125229 have_python = @have_python@
126230 have_swig = @have_swig@
127
231 host = @host@
232 host_alias = @host_alias@
233 host_cpu = @host_cpu@
234 host_os = @host_os@
235 host_vendor = @host_vendor@
236 htmldir = @htmldir@
237 includedir = @includedir@
238 infodir = @infodir@
239 install_sh = @install_sh@
240 libdir = @libdir@
241 libexecdir = @libexecdir@
242 localedir = @localedir@
243 localstatedir = @localstatedir@
244 mandir = @mandir@
245 mkdir_p = @mkdir_p@
246 oldincludedir = @oldincludedir@
247 pdfdir = @pdfdir@
248 prefix = @prefix@
249 program_transform_name = @program_transform_name@
250 psdir = @psdir@
251 sbindir = @sbindir@
252 sharedstatedir = @sharedstatedir@
253 sysconfdir = @sysconfdir@
254 target_alias = @target_alias@
128255 EXTRA_DIST = hdate_reading_html.c hdate_holydays_html.c
129
130256 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132257 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133258 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html hdate_holydays_html
136
137259 @WITH_EXAMPLES_TRUE@hdate_reading_html_SOURCES = hdate_reading_html.c
138260 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDFLAGS =
139261 @WITH_EXAMPLES_TRUE@hdate_reading_html_DEPENDENCIES = $(DEPS)
140262 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDADD = $(ldadd)
141
142263 @WITH_EXAMPLES_TRUE@hdate_holydays_html_SOURCES = hdate_holydays_html.c
143264 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDFLAGS =
144265 @WITH_EXAMPLES_TRUE@hdate_holydays_html_DEPENDENCIES = $(DEPS)
145266 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDADD = $(ldadd)
146
147267 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/html
148268 libhdatedoc_DATA = hdate_holydays_html.c hdate_reading_html.c
149 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
150 CONFIG_CLEAN_FILES =
151 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html$(EXEEXT) \
152 @WITH_EXAMPLES_TRUE@hdate_holydays_html$(EXEEXT)
153 PROGRAMS = $(bin_PROGRAMS)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir)
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 @WITH_EXAMPLES_TRUE@hdate_reading_html_OBJECTS = \
160 @WITH_EXAMPLES_TRUE@hdate_reading_html.$(OBJEXT)
161 @WITH_EXAMPLES_TRUE@hdate_holydays_html_OBJECTS = \
162 @WITH_EXAMPLES_TRUE@hdate_holydays_html.$(OBJEXT)
163 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
165 CCLD = $(CC)
166 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
167 DATA = $(libhdatedoc_DATA)
168
169 DIST_COMMON = Makefile.am Makefile.in
170
171
172 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
173
174 TAR = tar
175 GZIP_ENV = --best
176 SOURCES = $(hdate_reading_html_SOURCES) $(hdate_holydays_html_SOURCES)
177 OBJECTS = $(hdate_reading_html_OBJECTS) $(hdate_holydays_html_OBJECTS)
178
179 all: all-redirect
269 all: all-am
270
180271 .SUFFIXES:
181 .SUFFIXES: .S .c .lo .o .obj .s
182 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
183 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/html/Makefile
184
185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186 cd $(top_builddir) \
187 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-binPROGRAMS:
191
192 clean-binPROGRAMS:
193 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
194
195 distclean-binPROGRAMS:
196
197 maintainer-clean-binPROGRAMS:
198
272 .SUFFIXES: .c .lo .o .obj
273 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
274 @for dep in $?; do \
275 case '$(am__configure_deps)' in \
276 *$$dep*) \
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
278 && exit 0; \
279 exit 1;; \
280 esac; \
281 done; \
282 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/html/Makefile'; \
283 cd $(top_srcdir) && \
284 $(AUTOMAKE) --gnu examples/html/Makefile
285 .PRECIOUS: Makefile
286 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
287 @case '$?' in \
288 *config.status*) \
289 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
290 *) \
291 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
292 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
293 esac;
294
295 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
296 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
297
298 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
299 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
300 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
301 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199302 install-binPROGRAMS: $(bin_PROGRAMS)
200303 @$(NORMAL_INSTALL)
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
304 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
202305 @list='$(bin_PROGRAMS)'; for p in $$list; do \
203 if test -f $$p; then \
204 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
205 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
306 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
307 if test -f $$p \
308 || test -f $$p1 \
309 ; then \
310 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
311 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
312 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
206313 else :; fi; \
207314 done
208315
209316 uninstall-binPROGRAMS:
210317 @$(NORMAL_UNINSTALL)
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
213 done
214
215 .c.o:
216 $(COMPILE) -c $<
217
218 # FIXME: We should only use cygpath when building on Windows,
219 # and only if it is available.
220 .c.obj:
221 $(COMPILE) -c `cygpath -w $<`
222
223 .s.o:
224 $(COMPILE) -c $<
225
226 .S.o:
227 $(COMPILE) -c $<
318 @list='$(bin_PROGRAMS)'; for p in $$list; do \
319 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
320 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
321 rm -f "$(DESTDIR)$(bindir)/$$f"; \
322 done
323
324 clean-binPROGRAMS:
325 @list='$(bin_PROGRAMS)'; for p in $$list; do \
326 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
327 echo " rm -f $$p $$f"; \
328 rm -f $$p $$f ; \
329 done
330 hdate_holydays_html$(EXEEXT): $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_DEPENDENCIES)
331 @rm -f hdate_holydays_html$(EXEEXT)
332 $(LINK) $(hdate_holydays_html_LDFLAGS) $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_LDADD) $(LIBS)
333 hdate_reading_html$(EXEEXT): $(hdate_reading_html_OBJECTS) $(hdate_reading_html_DEPENDENCIES)
334 @rm -f hdate_reading_html$(EXEEXT)
335 $(LINK) $(hdate_reading_html_LDFLAGS) $(hdate_reading_html_OBJECTS) $(hdate_reading_html_LDADD) $(LIBS)
228336
229337 mostlyclean-compile:
230 -rm -f *.o core *.core
231338 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234339
235340 distclean-compile:
236341 -rm -f *.tab.c
237342
238 maintainer-clean-compile:
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_html.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_html.Po@am__quote@
345
346 .c.o:
347 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
348 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
350 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
352
353 .c.obj:
354 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
355 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
356 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
357 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
239359
240360 .c.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .s.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .S.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
361 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
362 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
363 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
364 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
365 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
248366
249367 mostlyclean-libtool:
250368 -rm -f *.lo
253371 -rm -rf .libs _libs
254372
255373 distclean-libtool:
256
257 maintainer-clean-libtool:
258
259 hdate_reading_html$(EXEEXT): $(hdate_reading_html_OBJECTS) $(hdate_reading_html_DEPENDENCIES)
260 @rm -f hdate_reading_html$(EXEEXT)
261 $(LINK) $(hdate_reading_html_LDFLAGS) $(hdate_reading_html_OBJECTS) $(hdate_reading_html_LDADD) $(LIBS)
262
263 hdate_holydays_html$(EXEEXT): $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_DEPENDENCIES)
264 @rm -f hdate_holydays_html$(EXEEXT)
265 $(LINK) $(hdate_holydays_html_LDFLAGS) $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_LDADD) $(LIBS)
266
374 -rm -f libtool
375 uninstall-info-am:
267376 install-libhdatedocDATA: $(libhdatedoc_DATA)
268377 @$(NORMAL_INSTALL)
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
378 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
270379 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
271 if test -f $(srcdir)/$$p; then \
272 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
273 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
274 else if test -f $$p; then \
275 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
276 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
277 fi; fi; \
380 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
381 f=$(am__strip_dir) \
382 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
383 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
278384 done
279385
280386 uninstall-libhdatedocDATA:
281387 @$(NORMAL_UNINSTALL)
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
284 done
285
388 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
389 f=$(am__strip_dir) \
390 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
391 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
392 done
393
394 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
395 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
396 unique=`for i in $$list; do \
397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
398 done | \
399 $(AWK) ' { files[$$0] = 1; } \
400 END { for (i in files) print i; }'`; \
401 mkid -fID $$unique
286402 tags: TAGS
287403
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
292 END { for (i in files) print i; }'`; \
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
404 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
405 $(TAGS_FILES) $(LISP)
297406 tags=; \
298407 here=`pwd`; \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
408 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
409 unique=`for i in $$list; do \
410 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
411 done | \
412 $(AWK) ' { files[$$0] = 1; } \
302413 END { for (i in files) print i; }'`; \
303 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
304 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
305
306 mostlyclean-tags:
307
308 clean-tags:
414 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
415 test -n "$$unique" || unique=$$empty_fix; \
416 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
417 $$tags $$unique; \
418 fi
419 ctags: CTAGS
420 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
421 $(TAGS_FILES) $(LISP)
422 tags=; \
423 here=`pwd`; \
424 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
425 unique=`for i in $$list; do \
426 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
427 done | \
428 $(AWK) ' { files[$$0] = 1; } \
429 END { for (i in files) print i; }'`; \
430 test -z "$(CTAGS_ARGS)$$tags$$unique" \
431 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
432 $$tags $$unique
433
434 GTAGS:
435 here=`$(am__cd) $(top_builddir) && pwd` \
436 && cd $(top_srcdir) \
437 && gtags -i $(GTAGS_ARGS) $$here
309438
310439 distclean-tags:
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/html
440 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
318441
319442 distdir: $(DISTFILES)
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
443 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
444 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
445 list='$(DISTFILES)'; for file in $$list; do \
446 case $$file in \
447 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
448 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
449 esac; \
450 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
451 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
452 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
453 dir="/$$dir"; \
454 $(mkdir_p) "$(distdir)$$dir"; \
455 else \
456 dir=''; \
457 fi; \
322458 if test -d $$d/$$file; then \
323 cp -pr $$d/$$file $(distdir)/$$file; \
459 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
460 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
461 fi; \
462 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
324463 else \
325464 test -f $(distdir)/$$file \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
465 || cp -p $$d/$$file $(distdir)/$$file \
466 || exit 1; \
328467 fi; \
329468 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
335469 check-am: all-am
336470 check: check-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
471 all-am: Makefile $(PROGRAMS) $(DATA)
472 installdirs:
473 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"; do \
474 test -z "$$dir" || $(mkdir_p) "$$dir"; \
475 done
476 install: install-am
340477 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
343478 install-data: install-data-am
479 uninstall: uninstall-am
344480
345481 install-am: all-am
346482 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
347 install: install-am
348 uninstall-am: uninstall-binPROGRAMS uninstall-libhdatedocDATA
349 uninstall: uninstall-am
350 all-am: Makefile $(PROGRAMS) $(DATA)
351 all-redirect: all-am
483
484 installcheck: installcheck-am
352485 install-strip:
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
486 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
487 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
488 `test -z '$(STRIP)' || \
489 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358490 mostlyclean-generic:
359491
360492 clean-generic:
361493
362494 distclean-generic:
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
495 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
365496
366497 maintainer-clean-generic:
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
498 @echo "This command is intended for maintainers to use"
499 @echo "it deletes files that may require special tools to rebuild."
500 clean: clean-am
501
502 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
503
504 distclean: distclean-am
505 -rm -rf ./$(DEPDIR)
506 -rm -f Makefile
507 distclean-am: clean-am distclean-compile distclean-generic \
508 distclean-libtool distclean-tags
509
510 dvi: dvi-am
511
512 dvi-am:
513
514 html: html-am
515
516 info: info-am
517
518 info-am:
519
520 install-data-am: install-libhdatedocDATA
521
522 install-exec-am: install-binPROGRAMS
523
524 install-info: install-info-am
525
526 install-man:
527
528 installcheck-am:
529
530 maintainer-clean: maintainer-clean-am
531 -rm -rf ./$(DEPDIR)
532 -rm -f Makefile
533 maintainer-clean-am: distclean-am maintainer-clean-generic
370534
371535 mostlyclean: mostlyclean-am
372536
373 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
374 clean-generic mostlyclean-am
375
376 clean: clean-am
377
378 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
379 distclean-tags distclean-generic clean-am
380 -rm -f libtool
381
382 distclean: distclean-am
383
384 maintainer-clean-am: maintainer-clean-binPROGRAMS \
385 maintainer-clean-compile maintainer-clean-libtool \
386 maintainer-clean-tags maintainer-clean-generic \
387 distclean-am
388 @echo "This command is intended for maintainers to use;"
389 @echo "it deletes files that may require special tools to rebuild."
390
391 maintainer-clean: maintainer-clean-am
392
393 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
394 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
395 mostlyclean-compile distclean-compile clean-compile \
396 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
397 clean-libtool maintainer-clean-libtool uninstall-libhdatedocDATA \
398 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
399 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
400 installcheck-am installcheck install-exec-am install-exec \
401 install-data-am install-data install-am install uninstall-am uninstall \
402 all-redirect all-am all installdirs mostlyclean-generic \
403 distclean-generic clean-generic maintainer-clean-generic clean \
404 mostlyclean distclean maintainer-clean
405
537 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
538 mostlyclean-libtool
539
540 pdf: pdf-am
541
542 pdf-am:
543
544 ps: ps-am
545
546 ps-am:
547
548 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
549 uninstall-libhdatedocDATA
550
551 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
552 clean-generic clean-libtool ctags distclean distclean-compile \
553 distclean-generic distclean-libtool distclean-tags distdir dvi \
554 dvi-am html html-am info info-am install install-am \
555 install-binPROGRAMS install-data install-data-am install-exec \
556 install-exec-am install-info install-info-am \
557 install-libhdatedocDATA install-man install-strip installcheck \
558 installcheck-am installdirs maintainer-clean \
559 maintainer-clean-generic mostlyclean mostlyclean-compile \
560 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
561 tags uninstall uninstall-am uninstall-binPROGRAMS \
562 uninstall-info-am uninstall-libhdatedocDATA
406563
407564 # Tell versions [3.59,3.63) of GNU make to not export all variables.
408565 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
15
1416
1517 srcdir = @srcdir@
1618 top_srcdir = @top_srcdir@
1719 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3620 pkgdatadir = $(datadir)/@PACKAGE@
3721 pkglibdir = $(libdir)/@PACKAGE@
3822 pkgincludedir = $(includedir)/@PACKAGE@
39
4023 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4725 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
5331 NORMAL_INSTALL = :
5432 PRE_INSTALL = :
5533 POST_INSTALL = :
5634 NORMAL_UNINSTALL = :
5735 PRE_UNINSTALL = :
5836 POST_UNINSTALL = :
59 host_alias = @host_alias@
37 build_triplet = @build@
6038 host_triplet = @host@
39 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical$(EXEEXT) \
40 @WITH_EXAMPLES_TRUE@ hdate_holydays_ical$(EXEEXT)
41 subdir = examples/ical
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/configure.in
45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46 $(ACLOCAL_M4)
47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48 CONFIG_CLEAN_FILES =
49 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"
50 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
51 PROGRAMS = $(bin_PROGRAMS)
52 am__hdate_holydays_ical_SOURCES_DIST = hdate_holydays_ical.c
53 @WITH_EXAMPLES_TRUE@am_hdate_holydays_ical_OBJECTS = \
54 @WITH_EXAMPLES_TRUE@ hdate_holydays_ical.$(OBJEXT)
55 hdate_holydays_ical_OBJECTS = $(am_hdate_holydays_ical_OBJECTS)
56 @WITH_EXAMPLES_TRUE@am__DEPENDENCIES_1 = \
57 @WITH_EXAMPLES_TRUE@ $(top_builddir)/src/libhdate.la
58 am__hdate_reading_ical_SOURCES_DIST = hdate_reading_ical.c
59 @WITH_EXAMPLES_TRUE@am_hdate_reading_ical_OBJECTS = \
60 @WITH_EXAMPLES_TRUE@ hdate_reading_ical.$(OBJEXT)
61 hdate_reading_ical_OBJECTS = $(am_hdate_reading_ical_OBJECTS)
62 DEFAULT_INCLUDES = -I. -I$(srcdir)
63 depcomp = $(SHELL) $(top_srcdir)/depcomp
64 am__depfiles_maybe = depfiles
65 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
66 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
67 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
68 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
69 $(AM_CFLAGS) $(CFLAGS)
70 CCLD = $(CC)
71 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
72 $(AM_LDFLAGS) $(LDFLAGS) -o $@
73 SOURCES = $(hdate_holydays_ical_SOURCES) $(hdate_reading_ical_SOURCES)
74 DIST_SOURCES = $(am__hdate_holydays_ical_SOURCES_DIST) \
75 $(am__hdate_reading_ical_SOURCES_DIST)
76 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
77 am__vpath_adj = case $$p in \
78 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
79 *) f=$$p;; \
80 esac;
81 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
82 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
83 DATA = $(libhdatedoc_DATA)
84 ETAGS = etags
85 CTAGS = ctags
86 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
87 ACLOCAL = @ACLOCAL@
88 ALLOCA = @ALLOCA@
89 AMDEP_FALSE = @AMDEP_FALSE@
90 AMDEP_TRUE = @AMDEP_TRUE@
91 AMTAR = @AMTAR@
6192 AR = @AR@
62 AS = @AS@
93 AUTOCONF = @AUTOCONF@
94 AUTOHEADER = @AUTOHEADER@
95 AUTOMAKE = @AUTOMAKE@
96 AWK = @AWK@
6397 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6498 CATOBJEXT = @CATOBJEXT@
6599 CC = @CC@
100 CCDEPMODE = @CCDEPMODE@
66101 CFLAGS = @CFLAGS@
102 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
103 CPP = @CPP@
104 CPPFLAGS = @CPPFLAGS@
67105 CXX = @CXX@
68106 CXXCPP = @CXXCPP@
107 CXXDEPMODE = @CXXDEPMODE@
108 CXXFLAGS = @CXXFLAGS@
109 CYGPATH_W = @CYGPATH_W@
69110 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
111 DEFS = @DEFS@
112 DEPDIR = @DEPDIR@
71113 ECHO = @ECHO@
114 ECHO_C = @ECHO_C@
115 ECHO_N = @ECHO_N@
116 ECHO_T = @ECHO_T@
72117 EGREP = @EGREP@
73118 EXEEXT = @EXEEXT@
74119 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
120 FFLAGS = @FFLAGS@
77121 GENCAT = @GENCAT@
78122 GLIBC2 = @GLIBC2@
79123 GLIBC21 = @GLIBC21@
80124 GMSGFMT = @GMSGFMT@
125 GMSGFMT_015 = @GMSGFMT_015@
126 GREP = @GREP@
81127 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83128 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84129 HAVE_SNPRINTF = @HAVE_SNPRINTF@
130 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85131 HAVE_WPRINTF = @HAVE_WPRINTF@
132 INSTALL_DATA = @INSTALL_DATA@
133 INSTALL_PROGRAM = @INSTALL_PROGRAM@
134 INSTALL_SCRIPT = @INSTALL_SCRIPT@
135 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86136 INSTOBJEXT = @INSTOBJEXT@
87137 INTLBISON = @INTLBISON@
88138 INTLLIBS = @INTLLIBS@
89139 INTLOBJS = @INTLOBJS@
90140 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91141 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
142 LDFLAGS = @LDFLAGS@
93143 LIBICONV = @LIBICONV@
94144 LIBINTL = @LIBINTL@
145 LIBMULTITHREAD = @LIBMULTITHREAD@
146 LIBOBJS = @LIBOBJS@
147 LIBPTH = @LIBPTH@
95148 LIBS = @LIBS@
149 LIBTHREAD = @LIBTHREAD@
96150 LIBTOOL = @LIBTOOL@
97151 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99152 LTLIBICONV = @LTLIBICONV@
100153 LTLIBINTL = @LTLIBINTL@
154 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
155 LTLIBOBJS = @LTLIBOBJS@
156 LTLIBPTH = @LTLIBPTH@
157 LTLIBTHREAD = @LTLIBTHREAD@
101158 MAINT = @MAINT@
159 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
160 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102161 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
162 MSGFMT = @MSGFMT@
163 MSGFMT_015 = @MSGFMT_015@
164 MSGMERGE = @MSGMERGE@
105165 OBJEXT = @OBJEXT@
106166 PACKAGE = @PACKAGE@
167 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
168 PACKAGE_NAME = @PACKAGE_NAME@
169 PACKAGE_STRING = @PACKAGE_STRING@
170 PACKAGE_TARNAME = @PACKAGE_TARNAME@
171 PACKAGE_VERSION = @PACKAGE_VERSION@
172 PATH_SEPARATOR = @PATH_SEPARATOR@
107173 PA_MODULES_PATH = @PA_MODULES_PATH@
108174 PA_VERSION = @PA_VERSION@
109175 PE_CFLAGS = @PE_CFLAGS@
110176 PE_MODULES_PATH = @PE_MODULES_PATH@
111177 PKG_CONFIG = @PKG_CONFIG@
112178 POSUB = @POSUB@
179 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113180 PY_CFLAGS = @PY_CFLAGS@
114181 PY_MODULES_PATH = @PY_MODULES_PATH@
115182 PY_VERSION = @PY_VERSION@
116183 RANLIB = @RANLIB@
117 RC = @RC@
184 SET_MAKE = @SET_MAKE@
185 SHELL = @SHELL@
118186 STRIP = @STRIP@
119187 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120188 USE_NLS = @USE_NLS@
121189 VERSION = @VERSION@
122190 VERSION_INFO = @VERSION_INFO@
191 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
192 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
193 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
194 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
195 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
196 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
197 WITH_PERL_FALSE = @WITH_PERL_FALSE@
198 WITH_PERL_TRUE = @WITH_PERL_TRUE@
199 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
200 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
201 WOE32DLL = @WOE32DLL@
202 XGETTEXT = @XGETTEXT@
203 XGETTEXT_015 = @XGETTEXT_015@
204 ac_ct_CC = @ac_ct_CC@
205 ac_ct_CXX = @ac_ct_CXX@
206 ac_ct_F77 = @ac_ct_F77@
207 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
208 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
209 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
210 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
211 am__include = @am__include@
212 am__leading_dot = @am__leading_dot@
213 am__quote = @am__quote@
214 am__tar = @am__tar@
215 am__untar = @am__untar@
216 bindir = @bindir@
217 build = @build@
218 build_alias = @build_alias@
219 build_cpu = @build_cpu@
220 build_os = @build_os@
221 build_vendor = @build_vendor@
222 datadir = @datadir@
223 datarootdir = @datarootdir@
224 docdir = @docdir@
225 dvidir = @dvidir@
226 exec_prefix = @exec_prefix@
123227 have_pascal = @have_pascal@
124228 have_perl = @have_perl@
125229 have_python = @have_python@
126230 have_swig = @have_swig@
127
231 host = @host@
232 host_alias = @host_alias@
233 host_cpu = @host_cpu@
234 host_os = @host_os@
235 host_vendor = @host_vendor@
236 htmldir = @htmldir@
237 includedir = @includedir@
238 infodir = @infodir@
239 install_sh = @install_sh@
240 libdir = @libdir@
241 libexecdir = @libexecdir@
242 localedir = @localedir@
243 localstatedir = @localstatedir@
244 mandir = @mandir@
245 mkdir_p = @mkdir_p@
246 oldincludedir = @oldincludedir@
247 pdfdir = @pdfdir@
248 prefix = @prefix@
249 program_transform_name = @program_transform_name@
250 psdir = @psdir@
251 sbindir = @sbindir@
252 sharedstatedir = @sharedstatedir@
253 sysconfdir = @sysconfdir@
254 target_alias = @target_alias@
128255 EXTRA_DIST = hdate_reading_ical.c hdate_holydays_ical.c
129
130256 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132257 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133258 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical hdate_holydays_ical
136
137259 @WITH_EXAMPLES_TRUE@hdate_reading_ical_SOURCES = hdate_reading_ical.c
138260 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDFLAGS =
139261 @WITH_EXAMPLES_TRUE@hdate_reading_ical_DEPENDENCIES = $(DEPS)
140262 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDADD = $(ldadd)
141
142263 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_SOURCES = hdate_holydays_ical.c
143264 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDFLAGS =
144265 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_DEPENDENCIES = $(DEPS)
145266 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDADD = $(ldadd)
146
147267 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/ical
148268 libhdatedoc_DATA = hdate_holydays_ical.c hdate_reading_ical.c
149 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
150 CONFIG_CLEAN_FILES =
151 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical$(EXEEXT) \
152 @WITH_EXAMPLES_TRUE@hdate_holydays_ical$(EXEEXT)
153 PROGRAMS = $(bin_PROGRAMS)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir)
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 @WITH_EXAMPLES_TRUE@hdate_reading_ical_OBJECTS = \
160 @WITH_EXAMPLES_TRUE@hdate_reading_ical.$(OBJEXT)
161 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_OBJECTS = \
162 @WITH_EXAMPLES_TRUE@hdate_holydays_ical.$(OBJEXT)
163 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
165 CCLD = $(CC)
166 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
167 DATA = $(libhdatedoc_DATA)
168
169 DIST_COMMON = Makefile.am Makefile.in
170
171
172 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
173
174 TAR = tar
175 GZIP_ENV = --best
176 SOURCES = $(hdate_reading_ical_SOURCES) $(hdate_holydays_ical_SOURCES)
177 OBJECTS = $(hdate_reading_ical_OBJECTS) $(hdate_holydays_ical_OBJECTS)
178
179 all: all-redirect
269 all: all-am
270
180271 .SUFFIXES:
181 .SUFFIXES: .S .c .lo .o .obj .s
182 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
183 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/ical/Makefile
184
185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186 cd $(top_builddir) \
187 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-binPROGRAMS:
191
192 clean-binPROGRAMS:
193 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
194
195 distclean-binPROGRAMS:
196
197 maintainer-clean-binPROGRAMS:
198
272 .SUFFIXES: .c .lo .o .obj
273 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
274 @for dep in $?; do \
275 case '$(am__configure_deps)' in \
276 *$$dep*) \
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
278 && exit 0; \
279 exit 1;; \
280 esac; \
281 done; \
282 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/ical/Makefile'; \
283 cd $(top_srcdir) && \
284 $(AUTOMAKE) --gnu examples/ical/Makefile
285 .PRECIOUS: Makefile
286 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
287 @case '$?' in \
288 *config.status*) \
289 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
290 *) \
291 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
292 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
293 esac;
294
295 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
296 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
297
298 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
299 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
300 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
301 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199302 install-binPROGRAMS: $(bin_PROGRAMS)
200303 @$(NORMAL_INSTALL)
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
304 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
202305 @list='$(bin_PROGRAMS)'; for p in $$list; do \
203 if test -f $$p; then \
204 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
205 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
306 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
307 if test -f $$p \
308 || test -f $$p1 \
309 ; then \
310 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
311 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
312 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
206313 else :; fi; \
207314 done
208315
209316 uninstall-binPROGRAMS:
210317 @$(NORMAL_UNINSTALL)
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
213 done
214
215 .c.o:
216 $(COMPILE) -c $<
217
218 # FIXME: We should only use cygpath when building on Windows,
219 # and only if it is available.
220 .c.obj:
221 $(COMPILE) -c `cygpath -w $<`
222
223 .s.o:
224 $(COMPILE) -c $<
225
226 .S.o:
227 $(COMPILE) -c $<
318 @list='$(bin_PROGRAMS)'; for p in $$list; do \
319 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
320 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
321 rm -f "$(DESTDIR)$(bindir)/$$f"; \
322 done
323
324 clean-binPROGRAMS:
325 @list='$(bin_PROGRAMS)'; for p in $$list; do \
326 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
327 echo " rm -f $$p $$f"; \
328 rm -f $$p $$f ; \
329 done
330 hdate_holydays_ical$(EXEEXT): $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_DEPENDENCIES)
331 @rm -f hdate_holydays_ical$(EXEEXT)
332 $(LINK) $(hdate_holydays_ical_LDFLAGS) $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_LDADD) $(LIBS)
333 hdate_reading_ical$(EXEEXT): $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_DEPENDENCIES)
334 @rm -f hdate_reading_ical$(EXEEXT)
335 $(LINK) $(hdate_reading_ical_LDFLAGS) $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_LDADD) $(LIBS)
228336
229337 mostlyclean-compile:
230 -rm -f *.o core *.core
231338 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234339
235340 distclean-compile:
236341 -rm -f *.tab.c
237342
238 maintainer-clean-compile:
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_ical.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_ical.Po@am__quote@
345
346 .c.o:
347 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
348 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
350 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
352
353 .c.obj:
354 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
355 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
356 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
357 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
239359
240360 .c.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .s.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .S.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
361 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
362 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
363 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
364 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
365 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
248366
249367 mostlyclean-libtool:
250368 -rm -f *.lo
253371 -rm -rf .libs _libs
254372
255373 distclean-libtool:
256
257 maintainer-clean-libtool:
258
259 hdate_reading_ical$(EXEEXT): $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_DEPENDENCIES)
260 @rm -f hdate_reading_ical$(EXEEXT)
261 $(LINK) $(hdate_reading_ical_LDFLAGS) $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_LDADD) $(LIBS)
262
263 hdate_holydays_ical$(EXEEXT): $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_DEPENDENCIES)
264 @rm -f hdate_holydays_ical$(EXEEXT)
265 $(LINK) $(hdate_holydays_ical_LDFLAGS) $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_LDADD) $(LIBS)
266
374 -rm -f libtool
375 uninstall-info-am:
267376 install-libhdatedocDATA: $(libhdatedoc_DATA)
268377 @$(NORMAL_INSTALL)
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
378 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
270379 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
271 if test -f $(srcdir)/$$p; then \
272 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
273 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
274 else if test -f $$p; then \
275 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
276 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
277 fi; fi; \
380 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
381 f=$(am__strip_dir) \
382 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
383 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
278384 done
279385
280386 uninstall-libhdatedocDATA:
281387 @$(NORMAL_UNINSTALL)
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
284 done
285
388 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
389 f=$(am__strip_dir) \
390 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
391 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
392 done
393
394 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
395 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
396 unique=`for i in $$list; do \
397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
398 done | \
399 $(AWK) ' { files[$$0] = 1; } \
400 END { for (i in files) print i; }'`; \
401 mkid -fID $$unique
286402 tags: TAGS
287403
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
292 END { for (i in files) print i; }'`; \
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
404 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
405 $(TAGS_FILES) $(LISP)
297406 tags=; \
298407 here=`pwd`; \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
408 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
409 unique=`for i in $$list; do \
410 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
411 done | \
412 $(AWK) ' { files[$$0] = 1; } \
302413 END { for (i in files) print i; }'`; \
303 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
304 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
305
306 mostlyclean-tags:
307
308 clean-tags:
414 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
415 test -n "$$unique" || unique=$$empty_fix; \
416 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
417 $$tags $$unique; \
418 fi
419 ctags: CTAGS
420 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
421 $(TAGS_FILES) $(LISP)
422 tags=; \
423 here=`pwd`; \
424 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
425 unique=`for i in $$list; do \
426 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
427 done | \
428 $(AWK) ' { files[$$0] = 1; } \
429 END { for (i in files) print i; }'`; \
430 test -z "$(CTAGS_ARGS)$$tags$$unique" \
431 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
432 $$tags $$unique
433
434 GTAGS:
435 here=`$(am__cd) $(top_builddir) && pwd` \
436 && cd $(top_srcdir) \
437 && gtags -i $(GTAGS_ARGS) $$here
309438
310439 distclean-tags:
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/ical
440 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
318441
319442 distdir: $(DISTFILES)
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
443 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
444 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
445 list='$(DISTFILES)'; for file in $$list; do \
446 case $$file in \
447 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
448 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
449 esac; \
450 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
451 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
452 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
453 dir="/$$dir"; \
454 $(mkdir_p) "$(distdir)$$dir"; \
455 else \
456 dir=''; \
457 fi; \
322458 if test -d $$d/$$file; then \
323 cp -pr $$d/$$file $(distdir)/$$file; \
459 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
460 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
461 fi; \
462 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
324463 else \
325464 test -f $(distdir)/$$file \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
465 || cp -p $$d/$$file $(distdir)/$$file \
466 || exit 1; \
328467 fi; \
329468 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
335469 check-am: all-am
336470 check: check-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
471 all-am: Makefile $(PROGRAMS) $(DATA)
472 installdirs:
473 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"; do \
474 test -z "$$dir" || $(mkdir_p) "$$dir"; \
475 done
476 install: install-am
340477 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
343478 install-data: install-data-am
479 uninstall: uninstall-am
344480
345481 install-am: all-am
346482 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
347 install: install-am
348 uninstall-am: uninstall-binPROGRAMS uninstall-libhdatedocDATA
349 uninstall: uninstall-am
350 all-am: Makefile $(PROGRAMS) $(DATA)
351 all-redirect: all-am
483
484 installcheck: installcheck-am
352485 install-strip:
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
486 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
487 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
488 `test -z '$(STRIP)' || \
489 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358490 mostlyclean-generic:
359491
360492 clean-generic:
361493
362494 distclean-generic:
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
495 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
365496
366497 maintainer-clean-generic:
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
498 @echo "This command is intended for maintainers to use"
499 @echo "it deletes files that may require special tools to rebuild."
500 clean: clean-am
501
502 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
503
504 distclean: distclean-am
505 -rm -rf ./$(DEPDIR)
506 -rm -f Makefile
507 distclean-am: clean-am distclean-compile distclean-generic \
508 distclean-libtool distclean-tags
509
510 dvi: dvi-am
511
512 dvi-am:
513
514 html: html-am
515
516 info: info-am
517
518 info-am:
519
520 install-data-am: install-libhdatedocDATA
521
522 install-exec-am: install-binPROGRAMS
523
524 install-info: install-info-am
525
526 install-man:
527
528 installcheck-am:
529
530 maintainer-clean: maintainer-clean-am
531 -rm -rf ./$(DEPDIR)
532 -rm -f Makefile
533 maintainer-clean-am: distclean-am maintainer-clean-generic
370534
371535 mostlyclean: mostlyclean-am
372536
373 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
374 clean-generic mostlyclean-am
375
376 clean: clean-am
377
378 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
379 distclean-tags distclean-generic clean-am
380 -rm -f libtool
381
382 distclean: distclean-am
383
384 maintainer-clean-am: maintainer-clean-binPROGRAMS \
385 maintainer-clean-compile maintainer-clean-libtool \
386 maintainer-clean-tags maintainer-clean-generic \
387 distclean-am
388 @echo "This command is intended for maintainers to use;"
389 @echo "it deletes files that may require special tools to rebuild."
390
391 maintainer-clean: maintainer-clean-am
392
393 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
394 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
395 mostlyclean-compile distclean-compile clean-compile \
396 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
397 clean-libtool maintainer-clean-libtool uninstall-libhdatedocDATA \
398 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
399 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
400 installcheck-am installcheck install-exec-am install-exec \
401 install-data-am install-data install-am install uninstall-am uninstall \
402 all-redirect all-am all installdirs mostlyclean-generic \
403 distclean-generic clean-generic maintainer-clean-generic clean \
404 mostlyclean distclean maintainer-clean
405
537 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
538 mostlyclean-libtool
539
540 pdf: pdf-am
541
542 pdf-am:
543
544 ps: ps-am
545
546 ps-am:
547
548 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
549 uninstall-libhdatedocDATA
550
551 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
552 clean-generic clean-libtool ctags distclean distclean-compile \
553 distclean-generic distclean-libtool distclean-tags distdir dvi \
554 dvi-am html html-am info info-am install install-am \
555 install-binPROGRAMS install-data install-data-am install-exec \
556 install-exec-am install-info install-info-am \
557 install-libhdatedocDATA install-man install-strip installcheck \
558 installcheck-am installdirs maintainer-clean \
559 maintainer-clean-generic mostlyclean mostlyclean-compile \
560 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
561 tags uninstall uninstall-am uninstall-binPROGRAMS \
562 uninstall-info-am uninstall-libhdatedocDATA
406563
407564 # Tell versions [3.59,3.63) of GNU make to not export all variables.
408565 # Otherwise a system limit (for SysV at least) may be exceeded.
00 #!/bin/sh
1 #
21 # install - install a program, script, or datafile
3 #
2
3 scriptversion=2005-05-14.22
4
45 # This originates from X11R5 (mit/util/scripts/install.sh), which was
56 # later released in X11R6 (xc/config/util/install.sh) with the
67 # following copyright and license.
4041 # from scratch. It can only install one file at a time, a restriction
4142 # shared with many OS's install programs.
4243
43
4444 # set DOITPROG to echo to test this script
4545
4646 # Don't use :- since 4.3BSD and earlier shells don't like it.
4747 doit="${DOITPROG-}"
48
4948
5049 # put in absolute paths if you don't have them in your path; or use env. vars.
5150
5857 rmprog="${RMPROG-rm}"
5958 mkdirprog="${MKDIRPROG-mkdir}"
6059
61 transformbasename=""
62 transform_arg=""
63 instcmd="$mvprog"
6460 chmodcmd="$chmodprog 0755"
65 chowncmd=""
66 chgrpcmd=""
67 stripcmd=""
61 chowncmd=
62 chgrpcmd=
63 stripcmd=
6864 rmcmd="$rmprog -f"
6965 mvcmd="$mvprog"
70 src=""
71 dst=""
72 dir_arg=""
73
74 while [ x"$1" != x ]; do
75 case $1 in
76 -c) instcmd="$cpprog"
77 shift
78 continue;;
79
80 -d) dir_arg=true
81 shift
82 continue;;
83
84 -m) chmodcmd="$chmodprog $2"
85 shift
86 shift
87 continue;;
88
89 -o) chowncmd="$chownprog $2"
90 shift
91 shift
92 continue;;
93
94 -g) chgrpcmd="$chgrpprog $2"
95 shift
96 shift
97 continue;;
98
99 -s) stripcmd="$stripprog"
100 shift
101 continue;;
102
103 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
104 shift
105 continue;;
106
107 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
108 shift
109 continue;;
110
111 *) if [ x"$src" = x ]
112 then
113 src=$1
114 else
115 # this colon is to work around a 386BSD /bin/sh bug
116 :
117 dst=$1
118 fi
119 shift
120 continue;;
66 src=
67 dst=
68 dir_arg=
69 dstarg=
70 no_target_directory=
71
72 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
73 or: $0 [OPTION]... SRCFILES... DIRECTORY
74 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
75 or: $0 [OPTION]... -d DIRECTORIES...
76
77 In the 1st form, copy SRCFILE to DSTFILE.
78 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
79 In the 4th, create DIRECTORIES.
80
81 Options:
82 -c (ignored)
83 -d create directories instead of installing files.
84 -g GROUP $chgrpprog installed files to GROUP.
85 -m MODE $chmodprog installed files to MODE.
86 -o USER $chownprog installed files to USER.
87 -s $stripprog installed files.
88 -t DIRECTORY install into DIRECTORY.
89 -T report an error if DSTFILE is a directory.
90 --help display this help and exit.
91 --version display version info and exit.
92
93 Environment variables override the default commands:
94 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
95 "
96
97 while test -n "$1"; do
98 case $1 in
99 -c) shift
100 continue;;
101
102 -d) dir_arg=true
103 shift
104 continue;;
105
106 -g) chgrpcmd="$chgrpprog $2"
107 shift
108 shift
109 continue;;
110
111 --help) echo "$usage"; exit $?;;
112
113 -m) chmodcmd="$chmodprog $2"
114 shift
115 shift
116 continue;;
117
118 -o) chowncmd="$chownprog $2"
119 shift
120 shift
121 continue;;
122
123 -s) stripcmd=$stripprog
124 shift
125 continue;;
126
127 -t) dstarg=$2
128 shift
129 shift
130 continue;;
131
132 -T) no_target_directory=true
133 shift
134 continue;;
135
136 --version) echo "$0 $scriptversion"; exit $?;;
137
138 *) # When -d is used, all remaining arguments are directories to create.
139 # When -t is used, the destination is already specified.
140 test -n "$dir_arg$dstarg" && break
141 # Otherwise, the last argument is the destination. Remove it from $@.
142 for arg
143 do
144 if test -n "$dstarg"; then
145 # $@ is not empty: it contains at least $arg.
146 set fnord "$@" "$dstarg"
147 shift # fnord
148 fi
149 shift # arg
150 dstarg=$arg
151 done
152 break;;
153 esac
154 done
155
156 if test -z "$1"; then
157 if test -z "$dir_arg"; then
158 echo "$0: no input file specified." >&2
159 exit 1
160 fi
161 # It's OK to call `install-sh -d' without argument.
162 # This can happen when creating conditional directories.
163 exit 0
164 fi
165
166 for src
167 do
168 # Protect names starting with `-'.
169 case $src in
170 -*) src=./$src ;;
171 esac
172
173 if test -n "$dir_arg"; then
174 dst=$src
175 src=
176
177 if test -d "$dst"; then
178 mkdircmd=:
179 chmodcmd=
180 else
181 mkdircmd=$mkdirprog
182 fi
183 else
184 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
185 # might cause directories to be created, which would be especially bad
186 # if $src (and thus $dsttmp) contains '*'.
187 if test ! -f "$src" && test ! -d "$src"; then
188 echo "$0: $src does not exist." >&2
189 exit 1
190 fi
191
192 if test -z "$dstarg"; then
193 echo "$0: no destination specified." >&2
194 exit 1
195 fi
196
197 dst=$dstarg
198 # Protect names starting with `-'.
199 case $dst in
200 -*) dst=./$dst ;;
121201 esac
202
203 # If destination is a directory, append the input filename; won't work
204 # if double slashes aren't ignored.
205 if test -d "$dst"; then
206 if test -n "$no_target_directory"; then
207 echo "$0: $dstarg: Is a directory" >&2
208 exit 1
209 fi
210 dst=$dst/`basename "$src"`
211 fi
212 fi
213
214 # This sed command emulates the dirname command.
215 dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
216
217 # Make sure that the destination directory exists.
218
219 # Skip lots of stat calls in the usual case.
220 if test ! -d "$dstdir"; then
221 defaultIFS='
222 '
223 IFS="${IFS-$defaultIFS}"
224
225 oIFS=$IFS
226 # Some sh's can't handle IFS=/ for some reason.
227 IFS='%'
228 set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
229 shift
230 IFS=$oIFS
231
232 pathcomp=
233
234 while test $# -ne 0 ; do
235 pathcomp=$pathcomp$1
236 shift
237 if test ! -d "$pathcomp"; then
238 $mkdirprog "$pathcomp"
239 # mkdir can fail with a `File exist' error in case several
240 # install-sh are creating the directory concurrently. This
241 # is OK.
242 test -d "$pathcomp" || exit
243 fi
244 pathcomp=$pathcomp/
245 done
246 fi
247
248 if test -n "$dir_arg"; then
249 $doit $mkdircmd "$dst" \
250 && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
251 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
252 && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
253 && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
254
255 else
256 dstfile=`basename "$dst"`
257
258 # Make a couple of temp file names in the proper directory.
259 dsttmp=$dstdir/_inst.$$_
260 rmtmp=$dstdir/_rm.$$_
261
262 # Trap to clean up those temp files at exit.
263 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
264 trap '(exit $?); exit' 1 2 13 15
265
266 # Copy the file name to the temp name.
267 $doit $cpprog "$src" "$dsttmp" &&
268
269 # and set any options; do chmod last to preserve setuid bits.
270 #
271 # If any of these fail, we abort the whole thing. If we want to
272 # ignore errors from any of these, just make sure not to ignore
273 # errors from the above "$doit $cpprog $src $dsttmp" command.
274 #
275 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
276 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
277 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
278 && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
279
280 # Now rename the file to the real destination.
281 { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
282 || {
283 # The rename failed, perhaps because mv can't rename something else
284 # to itself, or perhaps because mv is so ancient that it does not
285 # support -f.
286
287 # Now remove or move aside any old file at destination location.
288 # We try this two ways since rm can't unlink itself on some
289 # systems and the destination file might be busy for other
290 # reasons. In this case, the final cleanup might fail but the new
291 # file should still install successfully.
292 {
293 if test -f "$dstdir/$dstfile"; then
294 $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
295 || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
296 || {
297 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
298 (exit 1); exit 1
299 }
300 else
301 :
302 fi
303 } &&
304
305 # Now rename the file to the real destination.
306 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
307 }
308 }
309 fi || { (exit 1); exit 1; }
122310 done
123311
124 if [ x"$src" = x ]
125 then
126 echo "install: no input file specified"
127 exit 1
128 else
129 true
130 fi
131
132 if [ x"$dir_arg" != x ]; then
133 dst=$src
134 src=""
135
136 if [ -d $dst ]; then
137 instcmd=:
138 chmodcmd=""
139 else
140 instcmd=mkdir
141 fi
142 else
143
144 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
145 # might cause directories to be created, which would be especially bad
146 # if $src (and thus $dsttmp) contains '*'.
147
148 if [ -f $src -o -d $src ]
149 then
150 true
151 else
152 echo "install: $src does not exist"
153 exit 1
154 fi
155
156 if [ x"$dst" = x ]
157 then
158 echo "install: no destination specified"
159 exit 1
160 else
161 true
162 fi
163
164 # If destination is a directory, append the input filename; if your system
165 # does not like double slashes in filenames, you may need to add some logic
166
167 if [ -d $dst ]
168 then
169 dst="$dst"/`basename $src`
170 else
171 true
172 fi
173 fi
174
175 ## this sed command emulates the dirname command
176 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
177
178 # Make sure that the destination directory exists.
179 # this part is taken from Noah Friedman's mkinstalldirs script
180
181 # Skip lots of stat calls in the usual case.
182 if [ ! -d "$dstdir" ]; then
183 defaultIFS='
184 '
185 IFS="${IFS-${defaultIFS}}"
186
187 oIFS="${IFS}"
188 # Some sh's can't handle IFS=/ for some reason.
189 IFS='%'
190 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
191 IFS="${oIFS}"
192
193 pathcomp=''
194
195 while [ $# -ne 0 ] ; do
196 pathcomp="${pathcomp}${1}"
197 shift
198
199 if [ ! -d "${pathcomp}" ] ;
200 then
201 $mkdirprog "${pathcomp}"
202 else
203 true
204 fi
205
206 pathcomp="${pathcomp}/"
207 done
208 fi
209
210 if [ x"$dir_arg" != x ]
211 then
212 $doit $instcmd $dst &&
213
214 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
215 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
216 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
217 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
218 else
219
220 # If we're going to rename the final executable, determine the name now.
221
222 if [ x"$transformarg" = x ]
223 then
224 dstfile=`basename $dst`
225 else
226 dstfile=`basename $dst $transformbasename |
227 sed $transformarg`$transformbasename
228 fi
229
230 # don't allow the sed command to completely eliminate the filename
231
232 if [ x"$dstfile" = x ]
233 then
234 dstfile=`basename $dst`
235 else
236 true
237 fi
238
239 # Make a temp file name in the proper directory.
240
241 dsttmp=$dstdir/#inst.$$#
242
243 # Move or copy the file name to the temp name
244
245 $doit $instcmd $src $dsttmp &&
246
247 trap "rm -f ${dsttmp}" 0 &&
248
249 # and set any options; do chmod last to preserve setuid bits
250
251 # If any of these fail, we abort the whole thing. If we want to
252 # ignore errors from any of these, just make sure not to ignore
253 # errors from the above "$doit $instcmd $src $dsttmp" command.
254
255 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
256 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
257 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
258 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
259
260 # Now rename the file to the real destination.
261
262 $doit $rmcmd -f $dstdir/$dstfile &&
263 $doit $mvcmd $dsttmp $dstdir/$dstfile
264
265 fi &&
266
267
268 exit 0
312 # The final little trick to "correctly" pass the exit status to the exit trap.
313 {
314 (exit 0); exit 0
315 }
316
317 # Local variables:
318 # eval: (add-hook 'write-file-hooks 'time-stamp)
319 # time-stamp-start: "scriptversion="
320 # time-stamp-format: "%:y-%02m-%02d.%02H"
321 # time-stamp-end: "$"
322 # End:
00 Summary: A library that help use hebrew dates.
11 Name: libhdate
2 Version: 1.4.8
2 Version: 1.4.9
33 Release: 1
44 License: GPL
55 Group: System Environment/Libraries
114114
115115 %files pascal
116116 %defattr(-,root,root)
117 %{_libdir}/fpc/2.0.2/units/linux/hdate/*
117 %{_libdir}/fpc/2.0.4/units/linux/hdate/*
118118
119119 %post
120120 /sbin/ldconfig
4242
4343 PROGRAM=ltmain.sh
4444 PACKAGE=libtool
45 VERSION="1.5.22 Debian 1.5.22-2"
45 VERSION="1.5.22 Debian 1.5.22-4"
4646 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
4747
4848 # See if we are running on zsh, and set the options which allow our
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
2 # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
3 # Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
2
3 scriptversion=2005-06-08.21
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
6 # Free Software Foundation, Inc.
7 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
48
59 # This program is free software; you can redistribute it and/or modify
610 # it under the terms of the GNU General Public License as published by
1418
1519 # You should have received a copy of the GNU General Public License
1620 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
23
24 # As a special exception to the GNU General Public License, if you
25 # distribute this file as part of a program that contains a
26 # configuration script generated by Autoconf, you may include it under
27 # the same distribution terms that you use for the rest of that program.
1928
2029 if test $# -eq 0; then
2130 echo 1>&2 "Try \`$0 --help' for more information"
2231 exit 1
2332 fi
2433
34 run=:
35
2536 # In the cases where this matters, `missing' is being run in the
2637 # srcdir already.
27 if test -f configure.in; then
38 if test -f configure.ac; then
2839 configure_ac=configure.ac
2940 else
3041 configure_ac=configure.in
3142 fi
3243
44 msg="missing on your system"
45
3346 case "$1" in
47 --run)
48 # Try to run requested program, and just exit if it succeeds.
49 run=
50 shift
51 "$@" && exit 0
52 # Exit code 63 means version mismatch. This often happens
53 # when the user try to use an ancient version of a tool on
54 # a file that requires a minimum version. In this case we
55 # we should proceed has if the program had been absent, or
56 # if --run hadn't been passed.
57 if test $? = 63; then
58 run=:
59 msg="probably too old"
60 fi
61 ;;
3462
3563 -h|--h|--he|--hel|--help)
3664 echo "\
4270 Options:
4371 -h, --help display this help and exit
4472 -v, --version output version information and exit
73 --run try to run the given command, and emulate it if it fails
4574
4675 Supported PROGRAM values:
4776 aclocal touch file \`aclocal.m4'
5079 automake touch all \`Makefile.in' files
5180 bison create \`y.tab.[ch]', if possible, from existing .[ch]
5281 flex create \`lex.yy.c', if possible, from existing .c
82 help2man touch the output file
5383 lex create \`lex.yy.c', if possible, from existing .c
5484 makeinfo touch the output file
55 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
85 tar try tar, gnutar, gtar, then tar without non-portable flags
86 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
87
88 Send bug reports to <bug-automake@gnu.org>."
89 exit $?
5690 ;;
5791
5892 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
59 echo "missing - GNU libit 0.0"
93 echo "missing $scriptversion (GNU Automake)"
94 exit $?
6095 ;;
6196
6297 -*)
65100 exit 1
66101 ;;
67102
103 esac
104
105 # Now exit if we have it, but it failed. Also exit now if we
106 # don't have it and --version was passed (most likely to detect
107 # the program).
108 case "$1" in
109 lex|yacc)
110 # Not GNU programs, they don't have --version.
111 ;;
112
113 tar)
114 if test -n "$run"; then
115 echo 1>&2 "ERROR: \`tar' requires --run"
116 exit 1
117 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
118 exit 1
119 fi
120 ;;
121
122 *)
123 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
124 # We have it, but it failed.
125 exit 1
126 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
127 # Could not run --version or --help. This is probably someone
128 # running `$TOOL --version' or `$TOOL --help' to check whether
129 # $TOOL exists and not knowing $TOOL uses missing.
130 exit 1
131 fi
132 ;;
133 esac
134
135 # If it does not exist, or fails to run (possibly an outdated version),
136 # try to emulate it.
137 case "$1" in
68138 aclocal*)
69139 echo 1>&2 "\
70 WARNING: \`$1' is missing on your system. You should only need it if
71 you modified \`acinclude.m4' or \`$configure_ac'. You might want
140 WARNING: \`$1' is $msg. You should only need it if
141 you modified \`acinclude.m4' or \`${configure_ac}'. You might want
72142 to install the \`Automake' and \`Perl' packages. Grab them from
73143 any GNU archive site."
74144 touch aclocal.m4
76146
77147 autoconf)
78148 echo 1>&2 "\
79 WARNING: \`$1' is missing on your system. You should only need it if
80 you modified \`$configure_ac'. You might want to install the
149 WARNING: \`$1' is $msg. You should only need it if
150 you modified \`${configure_ac}'. You might want to install the
81151 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
82152 archive site."
83153 touch configure
85155
86156 autoheader)
87157 echo 1>&2 "\
88 WARNING: \`$1' is missing on your system. You should only need it if
89 you modified \`acconfig.h' or \`$configure_ac'. You might want
158 WARNING: \`$1' is $msg. You should only need it if
159 you modified \`acconfig.h' or \`${configure_ac}'. You might want
90160 to install the \`Autoconf' and \`GNU m4' packages. Grab them
91161 from any GNU archive site."
92 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
162 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
93163 test -z "$files" && files="config.h"
94164 touch_files=
95165 for f in $files; do
104174
105175 automake*)
106176 echo 1>&2 "\
107 WARNING: \`$1' is missing on your system. You should only need it if
108 you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
177 WARNING: \`$1' is $msg. You should only need it if
178 you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
109179 You might want to install the \`Automake' and \`Perl' packages.
110180 Grab them from any GNU archive site."
111181 find . -type f -name Makefile.am -print |
113183 while read f; do touch "$f"; done
114184 ;;
115185
186 autom4te)
187 echo 1>&2 "\
188 WARNING: \`$1' is needed, but is $msg.
189 You might have modified some files without having the
190 proper tools for further handling them.
191 You can get \`$1' as part of \`Autoconf' from any GNU
192 archive site."
193
194 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
195 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
196 if test -f "$file"; then
197 touch $file
198 else
199 test -z "$file" || exec >$file
200 echo "#! /bin/sh"
201 echo "# Created by GNU Automake missing as a replacement of"
202 echo "# $ $@"
203 echo "exit 0"
204 chmod +x $file
205 exit 1
206 fi
207 ;;
208
116209 bison|yacc)
117210 echo 1>&2 "\
118 WARNING: \`$1' is missing on your system. You should only need it if
211 WARNING: \`$1' $msg. You should only need it if
119212 you modified a \`.y' file. You may need the \`Bison' package
120213 in order for those modifications to take effect. You can get
121214 \`Bison' from any GNU archive site."
145238
146239 lex|flex)
147240 echo 1>&2 "\
148 WARNING: \`$1' is missing on your system. You should only need it if
241 WARNING: \`$1' is $msg. You should only need it if
149242 you modified a \`.l' file. You may need the \`Flex' package
150243 in order for those modifications to take effect. You can get
151244 \`Flex' from any GNU archive site."
166259 fi
167260 ;;
168261
262 help2man)
263 echo 1>&2 "\
264 WARNING: \`$1' is $msg. You should only need it if
265 you modified a dependency of a manual page. You may need the
266 \`Help2man' package in order for those modifications to take
267 effect. You can get \`Help2man' from any GNU archive site."
268
269 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
270 if test -z "$file"; then
271 file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
272 fi
273 if [ -f "$file" ]; then
274 touch $file
275 else
276 test -z "$file" || exec >$file
277 echo ".ab help2man is required to generate this page"
278 exit 1
279 fi
280 ;;
281
169282 makeinfo)
170283 echo 1>&2 "\
171 WARNING: \`$1' is missing on your system. You should only need it if
284 WARNING: \`$1' is $msg. You should only need it if
172285 you modified a \`.texi' or \`.texinfo' file, or any other file
173286 indirectly affecting the aspect of the manual. The spurious
174287 call might also be the consequence of using a buggy \`make' (AIX,
175288 DU, IRIX). You might want to install the \`Texinfo' package or
176289 the \`GNU make' package. Grab either from any GNU archive site."
290 # The file to touch is that specified with -o ...
177291 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
178292 if test -z "$file"; then
179 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
180 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
181 fi
293 # ... or it is the one specified with @setfilename ...
294 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
295 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
296 # ... or it is derived from the source name (dir/f.texi becomes f.info)
297 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
298 fi
299 # If the file does not exist, the user really needs makeinfo;
300 # let's fail without touching anything.
301 test -f $file || exit 1
182302 touch $file
183303 ;;
184304
305 tar)
306 shift
307
308 # We have already tried tar in the generic part.
309 # Look for gnutar/gtar before invocation to avoid ugly error
310 # messages.
311 if (gnutar --version > /dev/null 2>&1); then
312 gnutar "$@" && exit 0
313 fi
314 if (gtar --version > /dev/null 2>&1); then
315 gtar "$@" && exit 0
316 fi
317 firstarg="$1"
318 if shift; then
319 case "$firstarg" in
320 *o*)
321 firstarg=`echo "$firstarg" | sed s/o//`
322 tar "$firstarg" "$@" && exit 0
323 ;;
324 esac
325 case "$firstarg" in
326 *h*)
327 firstarg=`echo "$firstarg" | sed s/h//`
328 tar "$firstarg" "$@" && exit 0
329 ;;
330 esac
331 fi
332
333 echo 1>&2 "\
334 WARNING: I can't seem to be able to run \`tar' with the given arguments.
335 You may want to install GNU tar or Free paxutils, or check the
336 command line arguments."
337 exit 1
338 ;;
339
185340 *)
186341 echo 1>&2 "\
187 WARNING: \`$1' is needed, and you do not seem to have it handy on your
188 system. You might have modified some files without having the
342 WARNING: \`$1' is needed, and is $msg.
343 You might have modified some files without having the
189344 proper tools for further handling them. Check the \`README' file,
190 it often tells you about the needed prerequirements for installing
345 it often tells you about the needed prerequisites for installing
191346 this package. You may also peek at any GNU archive site, in case
192347 some other package would contain this missing \`$1' program."
193348 exit 1
195350 esac
196351
197352 exit 0
353
354 # Local variables:
355 # eval: (add-hook 'write-file-hooks 'time-stamp)
356 # time-stamp-start: "scriptversion="
357 # time-stamp-format: "%:y-%02m-%02d.%02H"
358 # time-stamp-end: "$"
359 # End:
2727
2828 INSTALL = @INSTALL@
2929 INSTALL_DATA = @INSTALL_DATA@
30 MKINSTALLDIRS = @MKINSTALLDIRS@
30 MKINSTALLDIRS = "../mkinstalldirs"
3131 mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(MKINSTALLDIRS)" ;; esac`
3232
3333 CC = @CC@
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14 @SET_MAKE@
15
1416
1517 srcdir = @srcdir@
1618 top_srcdir = @top_srcdir@
1719 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3620 pkgdatadir = $(datadir)/@PACKAGE@
3721 pkglibdir = $(libdir)/@PACKAGE@
3822 pkgincludedir = $(includedir)/@PACKAGE@
39
4023 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
4725 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
5331 NORMAL_INSTALL = :
5432 PRE_INSTALL = :
5533 POST_INSTALL = :
5634 NORMAL_UNINSTALL = :
5735 PRE_UNINSTALL = :
5836 POST_UNINSTALL = :
59 host_alias = @host_alias@
37 build_triplet = @build@
6038 host_triplet = @host@
39 subdir = src
40 DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
41 $(srcdir)/Makefile.in
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/configure.in
44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45 $(ACLOCAL_M4)
46 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47 CONFIG_CLEAN_FILES =
48 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49 am__vpath_adj = case $$p in \
50 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51 *) f=$$p;; \
52 esac;
53 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" \
55 "$(DESTDIR)$(includedir)"
56 libLTLIBRARIES_INSTALL = $(INSTALL)
57 LTLIBRARIES = $(lib_LTLIBRARIES)
58 libhdate_la_DEPENDENCIES =
59 am_libhdate_la_OBJECTS = libhdate_la-hdate_strings.lo \
60 libhdate_la-hdate_julian.lo libhdate_la-hdate_holyday.lo \
61 libhdate_la-hdate_parasha.lo libhdate_la-hdate_sun_time.lo
62 libhdate_la_OBJECTS = $(am_libhdate_la_OBJECTS)
63 DEFAULT_INCLUDES = -I. -I$(srcdir)
64 depcomp = $(SHELL) $(top_srcdir)/depcomp
65 am__depfiles_maybe = depfiles
66 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
67 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
69 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
70 $(AM_CFLAGS) $(CFLAGS)
71 CCLD = $(CC)
72 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
73 $(AM_LDFLAGS) $(LDFLAGS) -o $@
74 SOURCES = $(libhdate_la_SOURCES)
75 DIST_SOURCES = $(libhdate_la_SOURCES)
76 man3dir = $(mandir)/man3
77 NROFF = nroff
78 MANS = $(man_MANS)
79 includeHEADERS_INSTALL = $(INSTALL_HEADER)
80 HEADERS = $(include_HEADERS)
81 ETAGS = etags
82 CTAGS = ctags
83 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
84 ACLOCAL = @ACLOCAL@
85 ALLOCA = @ALLOCA@
86 AMDEP_FALSE = @AMDEP_FALSE@
87 AMDEP_TRUE = @AMDEP_TRUE@
88 AMTAR = @AMTAR@
6189 AR = @AR@
62 AS = @AS@
90 AUTOCONF = @AUTOCONF@
91 AUTOHEADER = @AUTOHEADER@
92 AUTOMAKE = @AUTOMAKE@
93 AWK = @AWK@
6394 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6495 CATOBJEXT = @CATOBJEXT@
6596 CC = @CC@
97 CCDEPMODE = @CCDEPMODE@
6698 CFLAGS = @CFLAGS@
99 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
100 CPP = @CPP@
101 CPPFLAGS = @CPPFLAGS@
67102 CXX = @CXX@
68103 CXXCPP = @CXXCPP@
104 CXXDEPMODE = @CXXDEPMODE@
105 CXXFLAGS = @CXXFLAGS@
106 CYGPATH_W = @CYGPATH_W@
69107 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
108 DEFS = @DEFS@
109 DEPDIR = @DEPDIR@
71110 ECHO = @ECHO@
111 ECHO_C = @ECHO_C@
112 ECHO_N = @ECHO_N@
113 ECHO_T = @ECHO_T@
72114 EGREP = @EGREP@
73115 EXEEXT = @EXEEXT@
74116 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
117 FFLAGS = @FFLAGS@
77118 GENCAT = @GENCAT@
78119 GLIBC2 = @GLIBC2@
79120 GLIBC21 = @GLIBC21@
80121 GMSGFMT = @GMSGFMT@
122 GMSGFMT_015 = @GMSGFMT_015@
123 GREP = @GREP@
81124 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83125 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84126 HAVE_SNPRINTF = @HAVE_SNPRINTF@
127 HAVE_VISIBILITY = @HAVE_VISIBILITY@
85128 HAVE_WPRINTF = @HAVE_WPRINTF@
129 INSTALL_DATA = @INSTALL_DATA@
130 INSTALL_PROGRAM = @INSTALL_PROGRAM@
131 INSTALL_SCRIPT = @INSTALL_SCRIPT@
132 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86133 INSTOBJEXT = @INSTOBJEXT@
87134 INTLBISON = @INTLBISON@
88135 INTLLIBS = @INTLLIBS@
89136 INTLOBJS = @INTLOBJS@
90137 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91138 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
139 LDFLAGS = @LDFLAGS@
93140 LIBICONV = @LIBICONV@
94141 LIBINTL = @LIBINTL@
142 LIBMULTITHREAD = @LIBMULTITHREAD@
143 LIBOBJS = @LIBOBJS@
144 LIBPTH = @LIBPTH@
95145 LIBS = @LIBS@
146 LIBTHREAD = @LIBTHREAD@
96147 LIBTOOL = @LIBTOOL@
97148 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99149 LTLIBICONV = @LTLIBICONV@
100150 LTLIBINTL = @LTLIBINTL@
151 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
152 LTLIBOBJS = @LTLIBOBJS@
153 LTLIBPTH = @LTLIBPTH@
154 LTLIBTHREAD = @LTLIBTHREAD@
101155 MAINT = @MAINT@
156 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
157 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102158 MAKEINFO = @MAKEINFO@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
159 MSGFMT = @MSGFMT@
160 MSGFMT_015 = @MSGFMT_015@
161 MSGMERGE = @MSGMERGE@
105162 OBJEXT = @OBJEXT@
106163 PACKAGE = @PACKAGE@
164 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
165 PACKAGE_NAME = @PACKAGE_NAME@
166 PACKAGE_STRING = @PACKAGE_STRING@
167 PACKAGE_TARNAME = @PACKAGE_TARNAME@
168 PACKAGE_VERSION = @PACKAGE_VERSION@
169 PATH_SEPARATOR = @PATH_SEPARATOR@
107170 PA_MODULES_PATH = @PA_MODULES_PATH@
108171 PA_VERSION = @PA_VERSION@
109172 PE_CFLAGS = @PE_CFLAGS@
110173 PE_MODULES_PATH = @PE_MODULES_PATH@
111174 PKG_CONFIG = @PKG_CONFIG@
112175 POSUB = @POSUB@
176 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
113177 PY_CFLAGS = @PY_CFLAGS@
114178 PY_MODULES_PATH = @PY_MODULES_PATH@
115179 PY_VERSION = @PY_VERSION@
116180 RANLIB = @RANLIB@
117 RC = @RC@
181 SET_MAKE = @SET_MAKE@
182 SHELL = @SHELL@
118183 STRIP = @STRIP@
119184 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120185 USE_NLS = @USE_NLS@
121186 VERSION = @VERSION@
122187 VERSION_INFO = @VERSION_INFO@
188 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
189 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
190 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
191 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
192 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
193 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
194 WITH_PERL_FALSE = @WITH_PERL_FALSE@
195 WITH_PERL_TRUE = @WITH_PERL_TRUE@
196 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
197 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
198 WOE32DLL = @WOE32DLL@
199 XGETTEXT = @XGETTEXT@
200 XGETTEXT_015 = @XGETTEXT_015@
201 ac_ct_CC = @ac_ct_CC@
202 ac_ct_CXX = @ac_ct_CXX@
203 ac_ct_F77 = @ac_ct_F77@
204 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
205 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
206 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
207 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
208 am__include = @am__include@
209 am__leading_dot = @am__leading_dot@
210 am__quote = @am__quote@
211 am__tar = @am__tar@
212 am__untar = @am__untar@
213 bindir = @bindir@
214 build = @build@
215 build_alias = @build_alias@
216 build_cpu = @build_cpu@
217 build_os = @build_os@
218 build_vendor = @build_vendor@
219 datadir = @datadir@
220 datarootdir = @datarootdir@
221 docdir = @docdir@
222 dvidir = @dvidir@
223 exec_prefix = @exec_prefix@
123224 have_pascal = @have_pascal@
124225 have_perl = @have_perl@
125226 have_python = @have_python@
126227 have_swig = @have_swig@
127
228 host = @host@
229 host_alias = @host_alias@
230 host_cpu = @host_cpu@
231 host_os = @host_os@
232 host_vendor = @host_vendor@
233 htmldir = @htmldir@
234 includedir = @includedir@
235 infodir = @infodir@
236 install_sh = @install_sh@
237 libdir = @libdir@
238 libexecdir = @libexecdir@
239 localedir = @localedir@
240 localstatedir = @localstatedir@
241 mandir = @mandir@
242 mkdir_p = @mkdir_p@
243 oldincludedir = @oldincludedir@
244 pdfdir = @pdfdir@
245 prefix = @prefix@
246 program_transform_name = @program_transform_name@
247 psdir = @psdir@
248 sbindir = @sbindir@
249 sharedstatedir = @sharedstatedir@
250 sysconfdir = @sysconfdir@
251 target_alias = @target_alias@
128252 EXTRA_DIST = hdate.h.3 hdate_struct.3
129
130 libhdate_la_CFLAGS = -Wall -g
131
253 libhdate_la_CFLAGS = \
254 -Wall\
255 -g
132256
133257 lib_LTLIBRARIES = libhdate.la
134
135 libhdate_la_SOURCES = hdate_strings.c hdate_julian.c hdate_holyday.c hdate_parasha.c hdate_sun_time.c hdate.h support.h
136
258 libhdate_la_SOURCES = \
259 hdate_strings.c\
260 hdate_julian.c\
261 hdate_holyday.c\
262 hdate_parasha.c\
263 hdate_sun_time.c\
264 hdate.h\
265 support.h
137266
138267 libhdate_la_LDFLAGS = -version-info $(VERSION_INFO)
139
140268 libhdate_la_LIBADD =
141
142269 include_HEADERS = hdate.h hdatepp.h
143
144270 man_MANS = hdate.h.3 hdate_struct.3
145 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
146 CONFIG_CLEAN_FILES =
147 LTLIBRARIES = $(lib_LTLIBRARIES)
148
149
150 DEFS = @DEFS@ -I. -I$(srcdir)
151 CPPFLAGS = @CPPFLAGS@
152 LDFLAGS = @LDFLAGS@
153 libhdate_la_DEPENDENCIES =
154 libhdate_la_OBJECTS = hdate_strings.lo hdate_julian.lo hdate_holyday.lo \
155 hdate_parasha.lo hdate_sun_time.lo
156 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
157 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
158 CCLD = $(CC)
159 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
160 man3dir = $(mandir)/man3
161 MANS = $(man_MANS)
162
163 NROFF = nroff
164 HEADERS = $(include_HEADERS)
165
166 DIST_COMMON = Makefile.am Makefile.in
167
168
169 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
170
171 TAR = tar
172 GZIP_ENV = --best
173 SOURCES = $(libhdate_la_SOURCES)
174 OBJECTS = $(libhdate_la_OBJECTS)
175
176 all: all-redirect
271 all: all-am
272
177273 .SUFFIXES:
178 .SUFFIXES: .S .c .lo .o .obj .s
179 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
180 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
181
182 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
183 cd $(top_builddir) \
184 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
185
186
187 mostlyclean-libLTLIBRARIES:
274 .SUFFIXES: .c .lo .o .obj
275 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
276 @for dep in $?; do \
277 case '$(am__configure_deps)' in \
278 *$$dep*) \
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
280 && exit 0; \
281 exit 1;; \
282 esac; \
283 done; \
284 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
285 cd $(top_srcdir) && \
286 $(AUTOMAKE) --gnu src/Makefile
287 .PRECIOUS: Makefile
288 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
289 @case '$?' in \
290 *config.status*) \
291 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
292 *) \
293 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
294 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
295 esac;
296
297 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
298 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
299
300 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
301 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
302 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
303 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
304 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
305 @$(NORMAL_INSTALL)
306 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
307 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
308 if test -f $$p; then \
309 f=$(am__strip_dir) \
310 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
311 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
312 else :; fi; \
313 done
314
315 uninstall-libLTLIBRARIES:
316 @$(NORMAL_UNINSTALL)
317 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
318 p=$(am__strip_dir) \
319 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
320 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
321 done
188322
189323 clean-libLTLIBRARIES:
190324 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
191
192 distclean-libLTLIBRARIES:
193
194 maintainer-clean-libLTLIBRARIES:
195
196 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
197 @$(NORMAL_INSTALL)
198 $(mkinstalldirs) $(DESTDIR)$(libdir)
199325 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
200 if test -f $$p; then \
201 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
202 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
203 else :; fi; \
204 done
205
206 uninstall-libLTLIBRARIES:
207 @$(NORMAL_UNINSTALL)
208 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
209 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
210 done
211
212 .c.o:
213 $(COMPILE) -c $<
214
215 # FIXME: We should only use cygpath when building on Windows,
216 # and only if it is available.
217 .c.obj:
218 $(COMPILE) -c `cygpath -w $<`
219
220 .s.o:
221 $(COMPILE) -c $<
222
223 .S.o:
224 $(COMPILE) -c $<
326 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
327 test "$$dir" != "$$p" || dir=.; \
328 echo "rm -f \"$${dir}/so_locations\""; \
329 rm -f "$${dir}/so_locations"; \
330 done
331 libhdate.la: $(libhdate_la_OBJECTS) $(libhdate_la_DEPENDENCIES)
332 $(LINK) -rpath $(libdir) $(libhdate_la_LDFLAGS) $(libhdate_la_OBJECTS) $(libhdate_la_LIBADD) $(LIBS)
225333
226334 mostlyclean-compile:
227 -rm -f *.o core *.core
228335 -rm -f *.$(OBJEXT)
229
230 clean-compile:
231336
232337 distclean-compile:
233338 -rm -f *.tab.c
234339
235 maintainer-clean-compile:
340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_holyday.Plo@am__quote@
341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_julian.Plo@am__quote@
342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_parasha.Plo@am__quote@
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_strings.Plo@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_sun_time.Plo@am__quote@
345
346 .c.o:
347 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
348 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
350 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
352
353 .c.obj:
354 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
355 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
356 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
357 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
236359
237360 .c.lo:
238 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
239
240 .s.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .S.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
361 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
362 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
363 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
364 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
365 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
366
367 libhdate_la-hdate_strings.lo: hdate_strings.c
368 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_strings.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" -c -o libhdate_la-hdate_strings.lo `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c; \
369 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" "$(DEPDIR)/libhdate_la-hdate_strings.Plo"; else rm -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo"; exit 1; fi
370 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_strings.c' object='libhdate_la-hdate_strings.lo' libtool=yes @AMDEPBACKSLASH@
371 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
372 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_strings.lo `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c
373
374 libhdate_la-hdate_julian.lo: hdate_julian.c
375 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_julian.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" -c -o libhdate_la-hdate_julian.lo `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c; \
376 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" "$(DEPDIR)/libhdate_la-hdate_julian.Plo"; else rm -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo"; exit 1; fi
377 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_julian.c' object='libhdate_la-hdate_julian.lo' libtool=yes @AMDEPBACKSLASH@
378 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
379 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_julian.lo `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c
380
381 libhdate_la-hdate_holyday.lo: hdate_holyday.c
382 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_holyday.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" -c -o libhdate_la-hdate_holyday.lo `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c; \
383 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" "$(DEPDIR)/libhdate_la-hdate_holyday.Plo"; else rm -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo"; exit 1; fi
384 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_holyday.c' object='libhdate_la-hdate_holyday.lo' libtool=yes @AMDEPBACKSLASH@
385 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
386 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_holyday.lo `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c
387
388 libhdate_la-hdate_parasha.lo: hdate_parasha.c
389 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_parasha.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" -c -o libhdate_la-hdate_parasha.lo `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c; \
390 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" "$(DEPDIR)/libhdate_la-hdate_parasha.Plo"; else rm -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo"; exit 1; fi
391 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_parasha.c' object='libhdate_la-hdate_parasha.lo' libtool=yes @AMDEPBACKSLASH@
392 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
393 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_parasha.lo `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c
394
395 libhdate_la-hdate_sun_time.lo: hdate_sun_time.c
396 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_sun_time.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" -c -o libhdate_la-hdate_sun_time.lo `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c; \
397 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" "$(DEPDIR)/libhdate_la-hdate_sun_time.Plo"; else rm -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo"; exit 1; fi
398 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_sun_time.c' object='libhdate_la-hdate_sun_time.lo' libtool=yes @AMDEPBACKSLASH@
399 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
400 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_sun_time.lo `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c
245401
246402 mostlyclean-libtool:
247403 -rm -f *.lo
250406 -rm -rf .libs _libs
251407
252408 distclean-libtool:
253
254 maintainer-clean-libtool:
255
256 libhdate.la: $(libhdate_la_OBJECTS) $(libhdate_la_DEPENDENCIES)
257 $(LINK) -rpath $(libdir) $(libhdate_la_LDFLAGS) $(libhdate_la_OBJECTS) $(libhdate_la_LIBADD) $(LIBS)
258
259 install-man3:
260 $(mkinstalldirs) $(DESTDIR)$(man3dir)
261 @list='$(man3_MANS)'; \
262 l2='$(man_MANS)'; for i in $$l2; do \
409 -rm -f libtool
410 uninstall-info-am:
411 install-man3: $(man3_MANS) $(man_MANS)
412 @$(NORMAL_INSTALL)
413 test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
414 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
415 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
416 for i in $$l2; do \
263417 case "$$i" in \
264418 *.3*) list="$$list $$i" ;; \
265419 esac; \
268422 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
269423 else file=$$i; fi; \
270424 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
425 case "$$ext" in \
426 3*) ;; \
427 *) ext='3' ;; \
428 esac; \
271429 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
430 inst=`echo $$inst | sed -e 's/^.*\///'`; \
272431 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
273 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
274 $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
275 done
276
432 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
433 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
434 done
277435 uninstall-man3:
278 @list='$(man3_MANS)'; \
279 l2='$(man_MANS)'; for i in $$l2; do \
436 @$(NORMAL_UNINSTALL)
437 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
438 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
439 for i in $$l2; do \
280440 case "$$i" in \
281441 *.3*) list="$$list $$i" ;; \
282442 esac; \
283443 done; \
284444 for i in $$list; do \
285445 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
446 case "$$ext" in \
447 3*) ;; \
448 *) ext='3' ;; \
449 esac; \
286450 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
451 inst=`echo $$inst | sed -e 's/^.*\///'`; \
287452 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
288 echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
289 rm -f $(DESTDIR)$(man3dir)/$$inst; \
290 done
291 install-man: $(MANS)
292 @$(NORMAL_INSTALL)
293 $(MAKE) $(AM_MAKEFLAGS) install-man3
294 uninstall-man:
295 @$(NORMAL_UNINSTALL)
296 $(MAKE) $(AM_MAKEFLAGS) uninstall-man3
297
453 echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
454 rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
455 done
298456 install-includeHEADERS: $(include_HEADERS)
299457 @$(NORMAL_INSTALL)
300 $(mkinstalldirs) $(DESTDIR)$(includedir)
458 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
301459 @list='$(include_HEADERS)'; for p in $$list; do \
302 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
303 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
304 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
460 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
461 f=$(am__strip_dir) \
462 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
463 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
305464 done
306465
307466 uninstall-includeHEADERS:
308467 @$(NORMAL_UNINSTALL)
309 list='$(include_HEADERS)'; for p in $$list; do \
310 rm -f $(DESTDIR)$(includedir)/$$p; \
311 done
312
468 @list='$(include_HEADERS)'; for p in $$list; do \
469 f=$(am__strip_dir) \
470 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
471 rm -f "$(DESTDIR)$(includedir)/$$f"; \
472 done
473
474 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
475 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
476 unique=`for i in $$list; do \
477 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
478 done | \
479 $(AWK) ' { files[$$0] = 1; } \
480 END { for (i in files) print i; }'`; \
481 mkid -fID $$unique
313482 tags: TAGS
314483
315 ID: $(HEADERS) $(SOURCES) $(LISP)
316 list='$(SOURCES) $(HEADERS)'; \
317 unique=`for i in $$list; do echo $$i; done | \
318 awk ' { files[$$0] = 1; } \
319 END { for (i in files) print i; }'`; \
320 here=`pwd` && cd $(srcdir) \
321 && mkid -f$$here/ID $$unique $(LISP)
322
323 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
484 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
485 $(TAGS_FILES) $(LISP)
324486 tags=; \
325487 here=`pwd`; \
326 list='$(SOURCES) $(HEADERS)'; \
327 unique=`for i in $$list; do echo $$i; done | \
328 awk ' { files[$$0] = 1; } \
488 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
489 unique=`for i in $$list; do \
490 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
491 done | \
492 $(AWK) ' { files[$$0] = 1; } \
329493 END { for (i in files) print i; }'`; \
330 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
331 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
332
333 mostlyclean-tags:
334
335 clean-tags:
494 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
495 test -n "$$unique" || unique=$$empty_fix; \
496 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
497 $$tags $$unique; \
498 fi
499 ctags: CTAGS
500 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
501 $(TAGS_FILES) $(LISP)
502 tags=; \
503 here=`pwd`; \
504 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
505 unique=`for i in $$list; do \
506 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
507 done | \
508 $(AWK) ' { files[$$0] = 1; } \
509 END { for (i in files) print i; }'`; \
510 test -z "$(CTAGS_ARGS)$$tags$$unique" \
511 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
512 $$tags $$unique
513
514 GTAGS:
515 here=`$(am__cd) $(top_builddir) && pwd` \
516 && cd $(top_srcdir) \
517 && gtags -i $(GTAGS_ARGS) $$here
336518
337519 distclean-tags:
338 -rm -f TAGS ID
339
340 maintainer-clean-tags:
341
342 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
343
344 subdir = src
520 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
345521
346522 distdir: $(DISTFILES)
347 @for file in $(DISTFILES); do \
348 d=$(srcdir); \
523 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
524 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
525 list='$(DISTFILES)'; for file in $$list; do \
526 case $$file in \
527 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
528 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
529 esac; \
530 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
531 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
532 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
533 dir="/$$dir"; \
534 $(mkdir_p) "$(distdir)$$dir"; \
535 else \
536 dir=''; \
537 fi; \
349538 if test -d $$d/$$file; then \
350 cp -pr $$d/$$file $(distdir)/$$file; \
539 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
540 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
541 fi; \
542 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
351543 else \
352544 test -f $(distdir)/$$file \
353 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
354 || cp -p $$d/$$file $(distdir)/$$file || :; \
545 || cp -p $$d/$$file $(distdir)/$$file \
546 || exit 1; \
355547 fi; \
356548 done
357 hdate_holyday.lo hdate_holyday.o : hdate_holyday.c hdate.h support.h
358 hdate_julian.lo hdate_julian.o : hdate_julian.c hdate.h support.h
359 hdate_parasha.lo hdate_parasha.o : hdate_parasha.c hdate.h support.h
360 hdate_strings.lo hdate_strings.o : hdate_strings.c hdate.h support.h
361 hdate_sun_time.lo hdate_sun_time.o : hdate_sun_time.c hdate.h support.h
362
363 info-am:
364 info: info-am
365 dvi-am:
366 dvi: dvi-am
367549 check-am: all-am
368550 check: check-am
369 installcheck-am:
370 installcheck: installcheck-am
371 install-exec-am: install-libLTLIBRARIES
551 all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS)
552 installdirs:
553 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
554 test -z "$$dir" || $(mkdir_p) "$$dir"; \
555 done
556 install: install-am
372557 install-exec: install-exec-am
373
374 install-data-am: install-man install-includeHEADERS
375558 install-data: install-data-am
559 uninstall: uninstall-am
376560
377561 install-am: all-am
378562 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
379 install: install-am
380 uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
381 uninstall-includeHEADERS
382 uninstall: uninstall-am
383 all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS)
384 all-redirect: all-am
563
564 installcheck: installcheck-am
385565 install-strip:
386 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
387 installdirs:
388 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
389 $(DESTDIR)$(includedir)
390
391
566 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
567 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
568 `test -z '$(STRIP)' || \
569 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
392570 mostlyclean-generic:
393571
394572 clean-generic:
395573
396574 distclean-generic:
397 -rm -f Makefile $(CONFIG_CLEAN_FILES)
398 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
575 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
399576
400577 maintainer-clean-generic:
401 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
402 mostlyclean-libtool mostlyclean-tags \
403 mostlyclean-generic
578 @echo "This command is intended for maintainers to use"
579 @echo "it deletes files that may require special tools to rebuild."
580 clean: clean-am
581
582 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
583 mostlyclean-am
584
585 distclean: distclean-am
586 -rm -rf ./$(DEPDIR)
587 -rm -f Makefile
588 distclean-am: clean-am distclean-compile distclean-generic \
589 distclean-libtool distclean-tags
590
591 dvi: dvi-am
592
593 dvi-am:
594
595 html: html-am
596
597 info: info-am
598
599 info-am:
600
601 install-data-am: install-includeHEADERS install-man
602
603 install-exec-am: install-libLTLIBRARIES
604
605 install-info: install-info-am
606
607 install-man: install-man3
608
609 installcheck-am:
610
611 maintainer-clean: maintainer-clean-am
612 -rm -rf ./$(DEPDIR)
613 -rm -f Makefile
614 maintainer-clean-am: distclean-am maintainer-clean-generic
404615
405616 mostlyclean: mostlyclean-am
406617
407 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
408 clean-generic mostlyclean-am
409
410 clean: clean-am
411
412 distclean-am: distclean-libLTLIBRARIES distclean-compile \
413 distclean-libtool distclean-tags distclean-generic \
414 clean-am
415 -rm -f libtool
416
417 distclean: distclean-am
418
419 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
420 maintainer-clean-compile maintainer-clean-libtool \
421 maintainer-clean-tags maintainer-clean-generic \
422 distclean-am
423 @echo "This command is intended for maintainers to use;"
424 @echo "it deletes files that may require special tools to rebuild."
425
426 maintainer-clean: maintainer-clean-am
427
428 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
429 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
430 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
431 distclean-compile clean-compile maintainer-clean-compile \
432 mostlyclean-libtool distclean-libtool clean-libtool \
433 maintainer-clean-libtool install-man3 uninstall-man3 install-man \
434 uninstall-man uninstall-includeHEADERS install-includeHEADERS tags \
435 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
436 distdir info-am info dvi-am dvi check check-am installcheck-am \
437 installcheck install-exec-am install-exec install-data-am install-data \
438 install-am install uninstall-am uninstall all-redirect all-am all \
439 installdirs mostlyclean-generic distclean-generic clean-generic \
440 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
441
618 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
619 mostlyclean-libtool
620
621 pdf: pdf-am
622
623 pdf-am:
624
625 ps: ps-am
626
627 ps-am:
628
629 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
630 uninstall-libLTLIBRARIES uninstall-man
631
632 uninstall-man: uninstall-man3
633
634 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
635 clean-libLTLIBRARIES clean-libtool ctags distclean \
636 distclean-compile distclean-generic distclean-libtool \
637 distclean-tags distdir dvi dvi-am html html-am info info-am \
638 install install-am install-data install-data-am install-exec \
639 install-exec-am install-includeHEADERS install-info \
640 install-info-am install-libLTLIBRARIES install-man \
641 install-man3 install-strip installcheck installcheck-am \
642 installdirs maintainer-clean maintainer-clean-generic \
643 mostlyclean mostlyclean-compile mostlyclean-generic \
644 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
645 uninstall-am uninstall-includeHEADERS uninstall-info-am \
646 uninstall-libLTLIBRARIES uninstall-man uninstall-man3
442647
443648 # Tell versions [3.59,3.63) of GNU make to not export all variables.
444649 # Otherwise a system limit (for SysV at least) may be exceeded.