Codebase list libhdate / 9365614
Load /tmp/tmp.q9GRwc/libhdate-1.4.3 into pkg/libhdate/branches/upstream/current. Lior Kaplan 18 years ago
27 changed file(s) with 10951 addition(s) and 6824 deletion(s). Raw diff Collapse all Expand all
0 libhdate (1.4.3)
1
2 * Fix header of spanish po file.
3 * Daniel Nylander: Swedish translation.
4
5 -- Yaacov Zamir <kzamir@wall.co.il> Mon, 10 Apr 2006 12:13
6
07 libhdate (1.4.2)
18
29 * Ido Kanner <idokan@gmail.com> - Update free pascal bindings.
3 * Update address of Free Software Foundatio in COPYING file.
10 * Update address of Free Software Foundation in COPYING file.
411 * make the spec.in file more configurable.
512
613 -- Yaacov Zamir <kzamir@wall.co.il> Fri, 25 Nov 2005 12:13
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 CPP = @CPP@
102 CPPFLAGS = @CPPFLAGS@
67103 CXX = @CXX@
68104 CXXCPP = @CXXCPP@
105 CXXDEPMODE = @CXXDEPMODE@
106 CXXFLAGS = @CXXFLAGS@
107 CYGPATH_W = @CYGPATH_W@
69108 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
71111 ECHO = @ECHO@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
72115 EGREP = @EGREP@
73116 EXEEXT = @EXEEXT@
74117 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
118 FFLAGS = @FFLAGS@
77119 GENCAT = @GENCAT@
78120 GLIBC2 = @GLIBC2@
79121 GLIBC21 = @GLIBC21@
80122 GMSGFMT = @GMSGFMT@
81123 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83124 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84125 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85126 HAVE_WPRINTF = @HAVE_WPRINTF@
127 INSTALL_DATA = @INSTALL_DATA@
128 INSTALL_PROGRAM = @INSTALL_PROGRAM@
129 INSTALL_SCRIPT = @INSTALL_SCRIPT@
130 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86131 INSTOBJEXT = @INSTOBJEXT@
87132 INTLBISON = @INTLBISON@
88133 INTLLIBS = @INTLLIBS@
89134 INTLOBJS = @INTLOBJS@
90135 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91136 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
137 LDFLAGS = @LDFLAGS@
93138 LIBICONV = @LIBICONV@
94139 LIBINTL = @LIBINTL@
140 LIBOBJS = @LIBOBJS@
95141 LIBS = @LIBS@
96142 LIBTOOL = @LIBTOOL@
97143 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99144 LTLIBICONV = @LTLIBICONV@
100145 LTLIBINTL = @LTLIBINTL@
146 LTLIBOBJS = @LTLIBOBJS@
101147 MAINT = @MAINT@
148 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
149 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102150 MAKEINFO = @MAKEINFO@
103151 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
152 MSGFMT = @MSGFMT@
153 MSGMERGE = @MSGMERGE@
105154 OBJEXT = @OBJEXT@
106155 PACKAGE = @PACKAGE@
156 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
157 PACKAGE_NAME = @PACKAGE_NAME@
158 PACKAGE_STRING = @PACKAGE_STRING@
159 PACKAGE_TARNAME = @PACKAGE_TARNAME@
160 PACKAGE_VERSION = @PACKAGE_VERSION@
161 PATH_SEPARATOR = @PATH_SEPARATOR@
107162 PA_MODULES_PATH = @PA_MODULES_PATH@
108163 PA_VERSION = @PA_VERSION@
109164 PE_CFLAGS = @PE_CFLAGS@
114169 PY_MODULES_PATH = @PY_MODULES_PATH@
115170 PY_VERSION = @PY_VERSION@
116171 RANLIB = @RANLIB@
117 RC = @RC@
172 SET_MAKE = @SET_MAKE@
173 SHELL = @SHELL@
118174 STRIP = @STRIP@
119175 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120176 USE_NLS = @USE_NLS@
121177 VERSION = @VERSION@
122178 VERSION_INFO = @VERSION_INFO@
179 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
180 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
181 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
182 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
183 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
184 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
185 WITH_PERL_FALSE = @WITH_PERL_FALSE@
186 WITH_PERL_TRUE = @WITH_PERL_TRUE@
187 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
188 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
189 XGETTEXT = @XGETTEXT@
190 ac_ct_AR = @ac_ct_AR@
191 ac_ct_CC = @ac_ct_CC@
192 ac_ct_CXX = @ac_ct_CXX@
193 ac_ct_F77 = @ac_ct_F77@
194 ac_ct_RANLIB = @ac_ct_RANLIB@
195 ac_ct_STRIP = @ac_ct_STRIP@
196 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
197 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
198 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
199 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
200 am__include = @am__include@
201 am__leading_dot = @am__leading_dot@
202 am__quote = @am__quote@
203 am__tar = @am__tar@
204 am__untar = @am__untar@
205 bindir = @bindir@
206 build = @build@
207 build_alias = @build_alias@
208 build_cpu = @build_cpu@
209 build_os = @build_os@
210 build_vendor = @build_vendor@
211 datadir = @datadir@
212 exec_prefix = @exec_prefix@
123213 have_pascal = @have_pascal@
124214 have_perl = @have_perl@
125215 have_python = @have_python@
126216 have_swig = @have_swig@
127
217 host = @host@
218 host_alias = @host_alias@
219 host_cpu = @host_cpu@
220 host_os = @host_os@
221 host_vendor = @host_vendor@
222 includedir = @includedir@
223 infodir = @infodir@
224 install_sh = @install_sh@
225 libdir = @libdir@
226 libexecdir = @libexecdir@
227 localstatedir = @localstatedir@
228 mandir = @mandir@
229 mkdir_p = @mkdir_p@
230 oldincludedir = @oldincludedir@
231 prefix = @prefix@
232 program_transform_name = @program_transform_name@
233 sbindir = @sbindir@
234 sharedstatedir = @sharedstatedir@
235 sysconfdir = @sysconfdir@
236 target_alias = @target_alias@
128237 SUBDIRS = intl po src examples bindings
129
130238 pkgconfigdir = $(libdir)/pkgconfig
131239 pkgconfig_DATA = libhdate.pc
132
133240 libhdatedocdir = ${prefix}/share/doc/libhdate
134 libhdatedoc_DATA = README hdate_README COPYING AUTHORS ChangeLog INSTALL NEWS TODO USE ABOUT-NLS
135
241 libhdatedoc_DATA = \
242 README\
243 hdate_README\
244 COPYING\
245 AUTHORS\
246 ChangeLog\
247 INSTALL\
248 NEWS\
249 TODO\
250 USE\
251 ABOUT-NLS
136252
137253 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
254 all: all-recursive
255
154256 .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)
257 am--refresh:
258 @:
259 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
260 @for dep in $?; do \
261 case '$(am__configure_deps)' in \
262 *$$dep*) \
263 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
264 cd $(srcdir) && $(AUTOMAKE) --gnu \
265 && exit 0; \
266 exit 1;; \
267 esac; \
268 done; \
269 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
270 cd $(top_srcdir) && \
271 $(AUTOMAKE) --gnu Makefile
272 .PRECIOUS: Makefile
273 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
274 @case '$?' in \
275 *config.status*) \
276 echo ' $(SHELL) ./config.status'; \
277 $(SHELL) ./config.status;; \
278 *) \
279 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
280 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
281 esac;
282
283 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
166284 $(SHELL) ./config.status --recheck
167 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
285
286 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
168287 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
288 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
289 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
290 libhdate.spec: $(top_builddir)/config.status $(srcdir)/libhdate.spec.in
291 cd $(top_builddir) && $(SHELL) ./config.status $@
292 libhdate.pc: $(top_builddir)/config.status $(srcdir)/libhdate.pc.in
293 cd $(top_builddir) && $(SHELL) ./config.status $@
294 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
295 cd $(top_builddir) && $(SHELL) ./config.status $@
296
297 mostlyclean-libtool:
298 -rm -f *.lo
299
300 clean-libtool:
301 -rm -rf .libs _libs
302
303 distclean-libtool:
304 -rm -f libtool
305 uninstall-info-am:
174306 install-libhdatedocDATA: $(libhdatedoc_DATA)
175307 @$(NORMAL_INSTALL)
176 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
308 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
177309 @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; \
310 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
311 f=$(am__strip_dir) \
312 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
313 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
185314 done
186315
187316 uninstall-libhdatedocDATA:
188317 @$(NORMAL_UNINSTALL)
189 list='$(libhdatedoc_DATA)'; for p in $$list; do \
190 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
191 done
192
318 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
319 f=$(am__strip_dir) \
320 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
321 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
322 done
193323 install-pkgconfigDATA: $(pkgconfig_DATA)
194324 @$(NORMAL_INSTALL)
195 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
325 test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
196326 @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; \
327 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
328 f=$(am__strip_dir) \
329 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
330 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
204331 done
205332
206333 uninstall-pkgconfigDATA:
207334 @$(NORMAL_UNINSTALL)
208 list='$(pkgconfig_DATA)'; for p in $$list; do \
209 rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
335 @list='$(pkgconfig_DATA)'; for p in $$list; do \
336 f=$(am__strip_dir) \
337 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
338 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
210339 done
211340
212341 # This directory's subdirectories are mostly independent; you can cd
215344 # (1) if the variable is set in `config.status', edit `config.status'
216345 # (which will cause the Makefiles to be regenerated when you run `make');
217346 # (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; \
347 $(RECURSIVE_TARGETS):
348 @failcom='exit 1'; \
349 for f in x $$MAKEFLAGS; do \
350 case $$f in \
351 *=* | --[!k]*);; \
352 *k*) failcom='fail=yes';; \
353 esac; \
354 done; \
225355 dot_seen=no; \
226356 target=`echo $@ | sed s/-recursive//`; \
227357 list='$(SUBDIRS)'; for subdir in $$list; do \
233363 local_target="$$target"; \
234364 fi; \
235365 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
236 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
366 || eval $$failcom; \
237367 done; \
238368 if test "$$dot_seen" = "no"; then \
239369 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
241371
242372 mostlyclean-recursive clean-recursive distclean-recursive \
243373 maintainer-clean-recursive:
244 @set fnord $(MAKEFLAGS); amf=$$2; \
374 @failcom='exit 1'; \
375 for f in x $$MAKEFLAGS; do \
376 case $$f in \
377 *=* | --[!k]*);; \
378 *k*) failcom='fail=yes';; \
379 esac; \
380 done; \
245381 dot_seen=no; \
246 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
247 rev="$$subdir $$rev"; \
248 test "$$subdir" != "." || dot_seen=yes; \
382 case "$@" in \
383 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
384 *) list='$(SUBDIRS)' ;; \
385 esac; \
386 rev=''; for subdir in $$list; do \
387 if test "$$subdir" = "."; then :; else \
388 rev="$$subdir $$rev"; \
389 fi; \
249390 done; \
250 test "$$dot_seen" = "no" && rev=". $$rev"; \
391 rev="$$rev ."; \
251392 target=`echo $@ | sed s/-recursive//`; \
252393 for subdir in $$rev; do \
253394 echo "Making $$target in $$subdir"; \
257398 local_target="$$target"; \
258399 fi; \
259400 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
260 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
401 || eval $$failcom; \
261402 done && test -z "$$fail"
262403 tags-recursive:
263404 list='$(SUBDIRS)'; for subdir in $$list; do \
264405 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
265406 done
266
407 ctags-recursive:
408 list='$(SUBDIRS)'; for subdir in $$list; do \
409 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
410 done
411
412 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
413 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
414 unique=`for i in $$list; do \
415 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
416 done | \
417 $(AWK) ' { files[$$0] = 1; } \
418 END { for (i in files) print i; }'`; \
419 mkid -fID $$unique
267420 tags: TAGS
268421
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)
422 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
423 $(TAGS_FILES) $(LISP)
278424 tags=; \
279425 here=`pwd`; \
426 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
427 include_option=--etags-include; \
428 empty_fix=.; \
429 else \
430 include_option=--include; \
431 empty_fix=; \
432 fi; \
280433 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; \
434 if test "$$subdir" = .; then :; else \
435 test ! -f $$subdir/TAGS || \
436 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
437 fi; \
284438 done; \
285 list='$(SOURCES) $(HEADERS)'; \
286 unique=`for i in $$list; do echo $$i; done | \
287 awk ' { files[$$0] = 1; } \
439 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
440 unique=`for i in $$list; do \
441 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
442 done | \
443 $(AWK) ' { files[$$0] = 1; } \
288444 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:
445 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
446 test -n "$$unique" || unique=$$empty_fix; \
447 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
448 $$tags $$unique; \
449 fi
450 ctags: CTAGS
451 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
452 $(TAGS_FILES) $(LISP)
453 tags=; \
454 here=`pwd`; \
455 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
456 unique=`for i in $$list; do \
457 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
458 done | \
459 $(AWK) ' { files[$$0] = 1; } \
460 END { for (i in files) print i; }'`; \
461 test -z "$(CTAGS_ARGS)$$tags$$unique" \
462 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
463 $$tags $$unique
464
465 GTAGS:
466 here=`$(am__cd) $(top_builddir) && pwd` \
467 && cd $(top_srcdir) \
468 && gtags -i $(GTAGS_ARGS) $$here
295469
296470 distclean-tags:
297 -rm -f TAGS ID
298
299 maintainer-clean-tags:
300
301 distdir = $(PACKAGE)-$(VERSION)
302 top_distdir = $(distdir)
471 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
472
473 distdir: $(DISTFILES)
474 $(am__remove_distdir)
475 mkdir $(distdir)
476 $(mkdir_p) $(distdir)/. $(distdir)/intl $(distdir)/po
477 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
478 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
479 list='$(DISTFILES)'; for file in $$list; do \
480 case $$file in \
481 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
482 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
483 esac; \
484 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
485 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
486 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
487 dir="/$$dir"; \
488 $(mkdir_p) "$(distdir)$$dir"; \
489 else \
490 dir=''; \
491 fi; \
492 if test -d $$d/$$file; then \
493 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
494 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
495 fi; \
496 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
497 else \
498 test -f $(distdir)/$$file \
499 || cp -p $$d/$$file $(distdir)/$$file \
500 || exit 1; \
501 fi; \
502 done
503 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
504 if test "$$subdir" = .; then :; else \
505 test -d "$(distdir)/$$subdir" \
506 || $(mkdir_p) "$(distdir)/$$subdir" \
507 || exit 1; \
508 distdir=`$(am__cd) $(distdir) && pwd`; \
509 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
510 (cd $$subdir && \
511 $(MAKE) $(AM_MAKEFLAGS) \
512 top_distdir="$$top_distdir" \
513 distdir="$$distdir/$$subdir" \
514 distdir) \
515 || exit 1; \
516 fi; \
517 done
518 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
519 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
520 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
521 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
522 || chmod -R a+r $(distdir)
523 dist-gzip: distdir
524 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
525 $(am__remove_distdir)
526
527 dist-bzip2: distdir
528 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
529 $(am__remove_distdir)
530
531 dist-tarZ: distdir
532 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
533 $(am__remove_distdir)
534
535 dist-shar: distdir
536 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
537 $(am__remove_distdir)
538
539 dist-zip: distdir
540 -rm -f $(distdir).zip
541 zip -rq $(distdir).zip $(distdir)
542 $(am__remove_distdir)
543
544 dist dist-all: distdir
545 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
546 $(am__remove_distdir)
303547
304548 # This target untars the dist file and tries a VPATH configuration. Then
305549 # it guarantees that the distribution is self-contained by making another
306550 # tarfile.
307551 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 \
552 case '$(DIST_ARCHIVES)' in \
553 *.tar.gz*) \
554 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
555 *.tar.bz2*) \
556 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
557 *.tar.Z*) \
558 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
559 *.shar.gz*) \
560 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
561 *.zip*) \
562 unzip $(distdir).zip ;;\
563 esac
564 chmod -R a-w $(distdir); chmod a+w $(distdir)
565 mkdir $(distdir)/_build
566 mkdir $(distdir)/_inst
567 chmod a-w $(distdir)
568 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
569 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
570 && cd $(distdir)/_build \
571 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
572 --with-included-gettext \
573 $(DISTCHECK_CONFIGURE_FLAGS) \
315574 && $(MAKE) $(AM_MAKEFLAGS) \
316575 && $(MAKE) $(AM_MAKEFLAGS) dvi \
317576 && $(MAKE) $(AM_MAKEFLAGS) check \
318577 && $(MAKE) $(AM_MAKEFLAGS) install \
319578 && $(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
579 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
580 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
581 distuninstallcheck \
582 && chmod -R a-w "$$dc_install_base" \
583 && ({ \
584 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
585 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
586 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
587 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
588 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
589 } || { rm -rf "$$dc_destdir"; exit 1; }) \
590 && rm -rf "$$dc_destdir" \
591 && $(MAKE) $(AM_MAKEFLAGS) dist \
592 && rm -rf $(DIST_ARCHIVES) \
593 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
594 $(am__remove_distdir)
595 @(echo "$(distdir) archives ready for distribution: "; \
596 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
597 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
598 distuninstallcheck:
599 @cd $(distuninstallcheck_dir) \
600 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
601 || { echo "ERROR: files left after uninstall:" ; \
602 if test -n "$(DESTDIR)"; then \
603 echo " (check DESTDIR support)"; \
604 fi ; \
605 $(distuninstallcheck_listfiles) ; \
606 exit 1; } >&2
607 distcleancheck: distclean
608 @if test '$(srcdir)' = . ; then \
609 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
610 exit 1 ; \
611 fi
612 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
613 || { echo "ERROR: files left in build directory after distclean:" ; \
614 $(distcleancheck_listfiles) ; \
615 exit 1; } >&2
363616 check-am: all-am
364617 check: check-recursive
365 installcheck-am:
366 installcheck: installcheck-recursive
367 install-exec-am:
618 all-am: Makefile $(DATA)
619 installdirs: installdirs-recursive
620 installdirs-am:
621 for dir in "$(DESTDIR)$(libhdatedocdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
622 test -z "$$dir" || $(mkdir_p) "$$dir"; \
623 done
624 install: install-recursive
368625 install-exec: install-exec-recursive
369
370 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
371626 install-data: install-data-recursive
627 uninstall: uninstall-recursive
372628
373629 install-am: all-am
374630 @$(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
631
632 installcheck: installcheck-recursive
380633 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
634 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
635 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
636 `test -z '$(STRIP)' || \
637 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
387638 mostlyclean-generic:
388639
389640 clean-generic:
390641
391642 distclean-generic:
392 -rm -f Makefile $(CONFIG_CLEAN_FILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
643 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
394644
395645 maintainer-clean-generic:
396 mostlyclean-am: mostlyclean-tags mostlyclean-generic
646 @echo "This command is intended for maintainers to use"
647 @echo "it deletes files that may require special tools to rebuild."
648 clean: clean-recursive
649
650 clean-am: clean-generic clean-libtool mostlyclean-am
651
652 distclean: distclean-recursive
653 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
654 -rm -f Makefile
655 distclean-am: clean-am distclean-generic distclean-libtool \
656 distclean-tags
657
658 dvi: dvi-recursive
659
660 dvi-am:
661
662 html: html-recursive
663
664 info: info-recursive
665
666 info-am:
667
668 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
669
670 install-exec-am:
671
672 install-info: install-info-recursive
673
674 install-man:
675
676 installcheck-am:
677
678 maintainer-clean: maintainer-clean-recursive
679 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
680 -rm -rf $(top_srcdir)/autom4te.cache
681 -rm -f Makefile
682 maintainer-clean-am: distclean-am maintainer-clean-generic
397683
398684 mostlyclean: mostlyclean-recursive
399685
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
686 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
687
688 pdf: pdf-recursive
689
690 pdf-am:
691
692 ps: ps-recursive
693
694 ps-am:
695
696 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA \
697 uninstall-pkgconfigDATA
698
699 uninstall-info: uninstall-info-recursive
700
701 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
702 check-am clean clean-generic clean-libtool clean-recursive \
703 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
704 dist-shar dist-tarZ dist-zip distcheck distclean \
705 distclean-generic distclean-libtool distclean-recursive \
706 distclean-tags distcleancheck distdir distuninstallcheck dvi \
707 dvi-am html html-am info info-am install install-am \
708 install-data install-data-am install-exec install-exec-am \
709 install-info install-info-am install-libhdatedocDATA \
710 install-man install-pkgconfigDATA install-strip installcheck \
711 installcheck-am installdirs installdirs-am maintainer-clean \
712 maintainer-clean-generic maintainer-clean-recursive \
713 mostlyclean mostlyclean-generic mostlyclean-libtool \
714 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
715 uninstall uninstall-am uninstall-info-am \
716 uninstall-libhdatedocDATA uninstall-pkgconfigDATA
432717
433718 # Tell versions [3.59,3.63) of GNU make to not export all variables.
434719 # 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 AM1 (gettext-0.10.40)
14 dnl Copyright (C) 2000-2002 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);],
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 37 (gettext-0.14.4)
36 dnl Copyright (C) 1995-2005 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-2003.
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], ifelse([$1], [external], [no], [yes]))
101 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
102
103 AC_REQUIRE([AM_PO_SUBDIRS])dnl
104 ifelse(gt_included_intl, yes, [
105 AC_REQUIRE([AM_INTL_SUBDIR])dnl
106 ])
107
108 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
38109 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\"
110 AC_REQUIRE([AC_LIB_RPATH])
111
112 dnl Sometimes libintl requires libiconv, so first search for libiconv.
113 dnl Ideally we would do this search only after the
114 dnl if test "$USE_NLS" = "yes"; then
115 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
116 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
117 dnl the configure script would need to contain the same shell code
118 dnl again, outside any 'if'. There are two solutions:
119 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
120 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
121 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
122 dnl documented, we avoid it.
123 ifelse(gt_included_intl, yes, , [
124 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
44125 ])
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"
126
127 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
128 gt_INTL_MACOSX
129
130 dnl Set USE_NLS.
131 AM_NLS
132
133 ifelse(gt_included_intl, yes, [
134 BUILD_INCLUDED_LIBINTL=no
135 USE_INCLUDED_LIBINTL=no
136 ])
137 LIBINTL=
138 LTLIBINTL=
139 POSUB=
140
141 dnl If we use NLS figure out what method
142 if test "$USE_NLS" = "yes"; then
143 gt_use_preinstalled_gnugettext=no
144 ifelse(gt_included_intl, yes, [
145 AC_MSG_CHECKING([whether included gettext is requested])
146 AC_ARG_WITH(included-gettext,
147 [ --with-included-gettext use the GNU gettext library included here],
148 nls_cv_force_use_gnu_gettext=$withval,
149 nls_cv_force_use_gnu_gettext=no)
150 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
151
152 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
153 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
154 ])
155 dnl User does not insist on using GNU NLS library. Figure out what
156 dnl to use. If GNU gettext is available we use this. Else we have
157 dnl to fall back to GNU NLS library.
158
159 dnl Add a version number to the cache macros.
160 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
161 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
162 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
163
164 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
165 [AC_TRY_LINK([#include <libintl.h>
166 ]ifelse([$2], [need-formatstring-macros],
167 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
168 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
169 #endif
170 changequote(,)dnl
171 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
172 changequote([,])dnl
173 ], [])[extern int _nl_msg_cat_cntr;
174 extern int *_nl_domain_bindings;],
175 [bindtextdomain ("", "");
176 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
177 gt_cv_func_gnugettext_libc=yes,
178 gt_cv_func_gnugettext_libc=no)])
179
180 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
181 dnl Sometimes libintl requires libiconv, so first search for libiconv.
182 ifelse(gt_included_intl, yes, , [
183 AM_ICONV_LINK
184 ])
185 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
186 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
187 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
188 dnl even if libiconv doesn't exist.
189 AC_LIB_LINKFLAGS_BODY([intl])
190 AC_CACHE_CHECK([for GNU gettext in libintl],
191 gt_cv_func_gnugettext_libintl,
192 [gt_save_CPPFLAGS="$CPPFLAGS"
193 CPPFLAGS="$CPPFLAGS $INCINTL"
194 gt_save_LIBS="$LIBS"
195 LIBS="$LIBS $LIBINTL"
196 dnl Now see whether libintl exists and does not depend on libiconv.
197 AC_TRY_LINK([#include <libintl.h>
198 ]ifelse([$2], [need-formatstring-macros],
199 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
200 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
201 #endif
202 changequote(,)dnl
203 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
204 changequote([,])dnl
205 ], [])[extern int _nl_msg_cat_cntr;
206 extern
207 #ifdef __cplusplus
208 "C"
209 #endif
210 const char *_nl_expand_alias (const char *);],
211 [bindtextdomain ("", "");
212 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
213 gt_cv_func_gnugettext_libintl=yes,
214 gt_cv_func_gnugettext_libintl=no)
215 dnl Now see whether libintl exists and depends on libiconv.
216 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
217 LIBS="$LIBS $LIBICONV"
218 AC_TRY_LINK([#include <libintl.h>
219 ]ifelse([$2], [need-formatstring-macros],
220 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
221 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
222 #endif
223 changequote(,)dnl
224 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
225 changequote([,])dnl
226 ], [])[extern int _nl_msg_cat_cntr;
227 extern
228 #ifdef __cplusplus
229 "C"
230 #endif
231 const char *_nl_expand_alias (const char *);],
232 [bindtextdomain ("", "");
233 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
234 [LIBINTL="$LIBINTL $LIBICONV"
235 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
236 gt_cv_func_gnugettext_libintl=yes
237 ])
238 fi
239 CPPFLAGS="$gt_save_CPPFLAGS"
240 LIBS="$gt_save_LIBS"])
241 fi
242
243 dnl If an already present or preinstalled GNU gettext() is found,
244 dnl use it. But if this macro is used in GNU gettext, and GNU
245 dnl gettext is already preinstalled in libintl, we update this
246 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
247 if test "$gt_cv_func_gnugettext_libc" = "yes" \
248 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
249 && test "$PACKAGE" != gettext-runtime \
250 && test "$PACKAGE" != gettext-tools; }; then
251 gt_use_preinstalled_gnugettext=yes
252 else
253 dnl Reset the values set by searching for libintl.
254 LIBINTL=
255 LTLIBINTL=
256 INCINTL=
257 fi
258
259 ifelse(gt_included_intl, yes, [
260 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
261 dnl GNU gettext is not found in the C library.
262 dnl Fall back on included GNU gettext library.
263 nls_cv_use_gnu_gettext=yes
264 fi
265 fi
266
267 if test "$nls_cv_use_gnu_gettext" = "yes"; then
268 dnl Mark actions used to generate GNU NLS library.
269 BUILD_INCLUDED_LIBINTL=yes
270 USE_INCLUDED_LIBINTL=yes
271 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
272 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
273 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
274 fi
275
276 CATOBJEXT=
277 if test "$gt_use_preinstalled_gnugettext" = "yes" \
278 || test "$nls_cv_use_gnu_gettext" = "yes"; then
279 dnl Mark actions to use GNU gettext tools.
280 CATOBJEXT=.gmo
281 fi
282 ])
283
284 if test -n "$INTL_MACOSX_LIBS"; then
285 if test "$gt_use_preinstalled_gnugettext" = "yes" \
286 || test "$nls_cv_use_gnu_gettext" = "yes"; then
287 dnl Some extra flags are needed during linking.
288 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
289 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
60290 fi
61291 fi
292
293 if test "$gt_use_preinstalled_gnugettext" = "yes" \
294 || test "$nls_cv_use_gnu_gettext" = "yes"; then
295 AC_DEFINE(ENABLE_NLS, 1,
296 [Define to 1 if translation of program messages to the user's native language
297 is requested.])
298 else
299 USE_NLS=no
300 fi
301 fi
302
303 AC_MSG_CHECKING([whether to use NLS])
304 AC_MSG_RESULT([$USE_NLS])
305 if test "$USE_NLS" = "yes"; then
306 AC_MSG_CHECKING([where the gettext function comes from])
307 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
308 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
309 gt_source="external libintl"
310 else
311 gt_source="libc"
312 fi
313 else
314 gt_source="included intl directory"
315 fi
316 AC_MSG_RESULT([$gt_source])
317 fi
318
319 if test "$USE_NLS" = "yes"; then
320
321 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
322 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
323 AC_MSG_CHECKING([how to link with libintl])
324 AC_MSG_RESULT([$LIBINTL])
325 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
326 fi
327
328 dnl For backward compatibility. Some packages may be using this.
329 AC_DEFINE(HAVE_GETTEXT, 1,
330 [Define if the GNU gettext() function is already present or preinstalled.])
331 AC_DEFINE(HAVE_DCGETTEXT, 1,
332 [Define if the GNU dcgettext() function is already present or preinstalled.])
333 fi
334
335 dnl We need to process the po/ directory.
336 POSUB=po
337 fi
338
339 ifelse(gt_included_intl, yes, [
340 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
341 dnl to 'yes' because some of the testsuite requires it.
342 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
343 BUILD_INCLUDED_LIBINTL=yes
344 fi
345
346 dnl Make all variables we use known to autoconf.
347 AC_SUBST(BUILD_INCLUDED_LIBINTL)
348 AC_SUBST(USE_INCLUDED_LIBINTL)
349 AC_SUBST(CATOBJEXT)
350
351 dnl For backward compatibility. Some configure.ins may be using this.
352 nls_cv_header_intl=
353 nls_cv_header_libgt=
354
355 dnl For backward compatibility. Some Makefiles may be using this.
356 DATADIRNAME=share
357 AC_SUBST(DATADIRNAME)
358
359 dnl For backward compatibility. Some Makefiles may be using this.
360 INSTOBJEXT=.mo
361 AC_SUBST(INSTOBJEXT)
362
363 dnl For backward compatibility. Some Makefiles may be using this.
364 GENCAT=gencat
365 AC_SUBST(GENCAT)
366
367 dnl For backward compatibility. Some Makefiles may be using this.
368 INTLOBJS=
369 if test "$USE_INCLUDED_LIBINTL" = yes; then
370 INTLOBJS="\$(GETTOBJS)"
371 fi
372 AC_SUBST(INTLOBJS)
373
374 dnl Enable libtool support if the surrounding package wishes it.
375 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
376 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
377 ])
378
379 dnl For backward compatibility. Some Makefiles may be using this.
380 INTLLIBS="$LIBINTL"
381 AC_SUBST(INTLLIBS)
382
383 dnl Make all documented variables known to autoconf.
384 AC_SUBST(LIBINTL)
385 AC_SUBST(LTLIBINTL)
386 AC_SUBST(POSUB)
62387 ])
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
388
389
390 dnl Checks for all prerequisites of the intl subdirectory,
391 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
392 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
393 AC_DEFUN([AM_INTL_SUBDIR],
394 [
395 AC_REQUIRE([AC_PROG_INSTALL])dnl
396 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
397 AC_REQUIRE([AC_PROG_CC])dnl
398 AC_REQUIRE([AC_CANONICAL_HOST])dnl
399 AC_REQUIRE([gt_GLIBC2])dnl
400 AC_REQUIRE([AC_PROG_RANLIB])dnl
401 AC_REQUIRE([AC_ISC_POSIX])dnl
402 AC_REQUIRE([AC_HEADER_STDC])dnl
403 AC_REQUIRE([AC_C_CONST])dnl
404 AC_REQUIRE([bh_C_SIGNED])dnl
405 AC_REQUIRE([AC_C_INLINE])dnl
406 AC_REQUIRE([AC_TYPE_OFF_T])dnl
407 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
408 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
409 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
410 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
411 AC_REQUIRE([gt_TYPE_WINT_T])dnl
412 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
413 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
414 AC_REQUIRE([gt_TYPE_INTMAX_T])
415 AC_REQUIRE([gt_PRINTF_POSIX])
416 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
417 AC_REQUIRE([AC_FUNC_MMAP])dnl
418 AC_REQUIRE([gl_GLIBC21])dnl
419 AC_REQUIRE([gt_INTDIV0])dnl
420 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
421 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
422 AC_REQUIRE([gt_INTTYPES_PRI])dnl
423 AC_REQUIRE([gl_XSIZE])dnl
424 AC_REQUIRE([gt_INTL_MACOSX])dnl
425
426 AC_CHECK_TYPE([ptrdiff_t], ,
427 [AC_DEFINE([ptrdiff_t], [long],
428 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
429 ])
430 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
431 stdlib.h string.h unistd.h sys/param.h])
432 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
433 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
434 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
435 __fsetlocking])
436
437 dnl Use the _snprintf function only if it is declared (because on NetBSD it
438 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
439 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
440 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
441
442 dnl Use the *_unlocked functions only if they are declared.
443 dnl (because some of them were defined without being declared in Solaris
444 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
445 dnl on Solaris 2.5.1 to run on Solaris 2.6).
446 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
447 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
448 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
449 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
450
451 case $gt_cv_func_printf_posix in
452 *yes) HAVE_POSIX_PRINTF=1 ;;
453 *) HAVE_POSIX_PRINTF=0 ;;
454 esac
455 AC_SUBST([HAVE_POSIX_PRINTF])
456 if test "$ac_cv_func_asprintf" = yes; then
457 HAVE_ASPRINTF=1
458 else
459 HAVE_ASPRINTF=0
460 fi
461 AC_SUBST([HAVE_ASPRINTF])
462 if test "$ac_cv_func_snprintf" = yes; then
463 HAVE_SNPRINTF=1
464 else
465 HAVE_SNPRINTF=0
466 fi
467 AC_SUBST([HAVE_SNPRINTF])
468 if test "$ac_cv_func_wprintf" = yes; then
469 HAVE_WPRINTF=1
470 else
471 HAVE_WPRINTF=0
472 fi
473 AC_SUBST([HAVE_WPRINTF])
474
475 AM_ICONV
476 AM_LANGINFO_CODESET
477 if test $ac_cv_header_locale_h = yes; then
478 gt_LC_MESSAGES
479 fi
480
481 if test -n "$INTL_MACOSX_LIBS"; then
482 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
483 fi
484
485 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
486 dnl because plural.y uses bison specific features. It requires at least
487 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
488 dnl compile.
489 dnl bison is only needed for the maintainer (who touches plural.y). But in
490 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
491 dnl the rule in general Makefile. Now, some people carelessly touch the
492 dnl files or have a broken "make" program, hence the plural.c rule will
493 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
494 dnl present or too old.
495 AC_CHECK_PROGS([INTLBISON], [bison])
496 if test -z "$INTLBISON"; then
497 ac_verc_fail=yes
498 else
499 dnl Found it, now check the version.
500 AC_MSG_CHECKING([version of bison])
501 changequote(<<,>>)dnl
502 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
503 case $ac_prog_version in
504 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
505 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
506 changequote([,])dnl
507 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
508 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
509 esac
510 AC_MSG_RESULT([$ac_prog_version])
511 fi
512 if test $ac_verc_fail = yes; then
513 INTLBISON=:
514 fi
515 ])
516
517
518 dnl Checks for special options needed on MacOS X.
519 dnl Defines INTL_MACOSX_LIBS.
520 AC_DEFUN([gt_INTL_MACOSX],
521 [
522 dnl Check for API introduced in MacOS X 10.2.
523 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
524 gt_cv_func_CFPreferencesCopyAppValue,
525 [gt_save_CPPFLAGS="$CPPFLAGS"
526 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
527 gt_save_LIBS="$LIBS"
528 LIBS="$LIBS -framework CoreFoundation"
529 AC_TRY_LINK([#include <CFPreferences.h>],
530 [CFPreferencesCopyAppValue(NULL, NULL)],
531 [gt_cv_func_CFPreferencesCopyAppValue=yes],
532 [gt_cv_func_CFPreferencesCopyAppValue=no])
533 CPPFLAGS="$gt_save_CPPFLAGS"
534 LIBS="$gt_save_LIBS"])
535 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
536 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
537 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
538 fi
539 dnl Check for API introduced in MacOS X 10.3.
540 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
541 [gt_save_CPPFLAGS="$CPPFLAGS"
542 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
543 gt_save_LIBS="$LIBS"
544 LIBS="$LIBS -framework CoreFoundation"
545 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
546 [gt_cv_func_CFLocaleCopyCurrent=yes],
547 [gt_cv_func_CFLocaleCopyCurrent=no])
548 CPPFLAGS="$gt_save_CPPFLAGS"
549 LIBS="$gt_save_LIBS"])
550 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
551 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
552 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
553 fi
554 INTL_MACOSX_LIBS=
555 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
556 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
557 fi
558 AC_SUBST([INTL_MACOSX_LIBS])
559 ])
560
561
562 dnl gt_CHECK_DECL(FUNC, INCLUDES)
563 dnl Check whether a function is declared.
564 AC_DEFUN([gt_CHECK_DECL],
565 [
566 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
567 [AC_TRY_COMPILE([$2], [
568 #ifndef $1
569 char *p = (char *) $1;
570 #endif
571 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
572 if test $ac_cv_have_decl_$1 = yes; then
573 gt_value=1
574 else
575 gt_value=0
576 fi
577 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
578 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
579 ])
580
581
582 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
583 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
584
585 # glibc2.m4 serial 1
586 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
587 dnl This file is free software; the Free Software Foundation
588 dnl gives unlimited permission to copy and/or distribute it,
589 dnl with or without modifications, as long as this notice is preserved.
590
591 # Test for the GNU C Library, version 2.0 or newer.
592 # From Bruno Haible.
593
594 AC_DEFUN([gt_GLIBC2],
595 [
596 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
597 ac_cv_gnu_library_2,
598 [AC_EGREP_CPP([Lucky GNU user],
599 [
600 #include <features.h>
601 #ifdef __GNU_LIBRARY__
602 #if (__GLIBC__ >= 2)
603 Lucky GNU user
604 #endif
605 #endif
606 ],
607 ac_cv_gnu_library_2=yes,
608 ac_cv_gnu_library_2=no)
609 ]
610 )
611 AC_SUBST(GLIBC2)
612 GLIBC2="$ac_cv_gnu_library_2"
613 ]
614 )
615
616 # glibc21.m4 serial 3
617 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
618 dnl This file is free software; the Free Software Foundation
619 dnl gives unlimited permission to copy and/or distribute it,
620 dnl with or without modifications, as long as this notice is preserved.
621
622 # Test for the GNU C Library, version 2.1 or newer.
623 # From Bruno Haible.
624
625 AC_DEFUN([gl_GLIBC21],
626 [
627 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
628 ac_cv_gnu_library_2_1,
629 [AC_EGREP_CPP([Lucky GNU user],
630 [
631 #include <features.h>
632 #ifdef __GNU_LIBRARY__
633 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
634 Lucky GNU user
635 #endif
636 #endif
637 ],
638 ac_cv_gnu_library_2_1=yes,
639 ac_cv_gnu_library_2_1=no)
640 ]
641 )
642 AC_SUBST(GLIBC21)
643 GLIBC21="$ac_cv_gnu_library_2_1"
644 ]
645 )
646
647 # iconv.m4 serial AM4 (gettext-0.11.3)
648 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
649 dnl This file is free software; the Free Software Foundation
650 dnl gives unlimited permission to copy and/or distribute it,
651 dnl with or without modifications, as long as this notice is preserved.
652
653 dnl From Bruno Haible.
654
655 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
656 [
657 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
658 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
659 AC_REQUIRE([AC_LIB_RPATH])
660
661 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
662 dnl accordingly.
663 AC_LIB_LINKFLAGS_BODY([iconv])
664 ])
665
666 AC_DEFUN([AM_ICONV_LINK],
667 [
668 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
669 dnl those with the standalone portable GNU libiconv installed).
670
671 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
672 dnl accordingly.
673 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
674
675 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
676 dnl because if the user has installed libiconv and not disabled its use
677 dnl via --without-libiconv-prefix, he wants to use it. The first
678 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
679 am_save_CPPFLAGS="$CPPFLAGS"
680 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
681
682 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
683 am_cv_func_iconv="no, consider installing GNU libiconv"
684 am_cv_lib_iconv=no
685 AC_TRY_LINK([#include <stdlib.h>
686 #include <iconv.h>],
687 [iconv_t cd = iconv_open("","");
688 iconv(cd,NULL,NULL,NULL,NULL);
689 iconv_close(cd);],
690 am_cv_func_iconv=yes)
691 if test "$am_cv_func_iconv" != yes; then
692 am_save_LIBS="$LIBS"
693 LIBS="$LIBS $LIBICONV"
694 AC_TRY_LINK([#include <stdlib.h>
695 #include <iconv.h>],
696 [iconv_t cd = iconv_open("","");
697 iconv(cd,NULL,NULL,NULL,NULL);
698 iconv_close(cd);],
699 am_cv_lib_iconv=yes
700 am_cv_func_iconv=yes)
701 LIBS="$am_save_LIBS"
702 fi
703 ])
704 if test "$am_cv_func_iconv" = yes; then
705 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
706 fi
707 if test "$am_cv_lib_iconv" = yes; then
708 AC_MSG_CHECKING([how to link with libiconv])
709 AC_MSG_RESULT([$LIBICONV])
710 else
711 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
712 dnl either.
713 CPPFLAGS="$am_save_CPPFLAGS"
714 LIBICONV=
715 LTLIBICONV=
716 fi
717 AC_SUBST(LIBICONV)
718 AC_SUBST(LTLIBICONV)
719 ])
720
721 AC_DEFUN([AM_ICONV],
722 [
723 AM_ICONV_LINK
724 if test "$am_cv_func_iconv" = yes; then
725 AC_MSG_CHECKING([for iconv declaration])
726 AC_CACHE_VAL(am_cv_proto_iconv, [
727 AC_TRY_COMPILE([
728 #include <stdlib.h>
729 #include <iconv.h>
730 extern
731 #ifdef __cplusplus
732 "C"
733 #endif
734 #if defined(__STDC__) || defined(__cplusplus)
735 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
736 #else
737 size_t iconv();
738 #endif
739 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
740 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);"])
741 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
742 AC_MSG_RESULT([$]{ac_t:-
743 }[$]am_cv_proto_iconv)
744 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
745 [Define as const if the declaration of iconv() needs const.])
746 fi
747 ])
748
749 # intdiv0.m4 serial 1 (gettext-0.11.3)
750 dnl Copyright (C) 2002 Free Software Foundation, Inc.
751 dnl This file is free software; the Free Software Foundation
752 dnl gives unlimited permission to copy and/or distribute it,
753 dnl with or without modifications, as long as this notice is preserved.
754
755 dnl From Bruno Haible.
756
757 AC_DEFUN([gt_INTDIV0],
758 [
759 AC_REQUIRE([AC_PROG_CC])dnl
760 AC_REQUIRE([AC_CANONICAL_HOST])dnl
761
762 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
763 gt_cv_int_divbyzero_sigfpe,
764 [
765 AC_TRY_RUN([
766 #include <stdlib.h>
767 #include <signal.h>
768
769 static void
770 #ifdef __cplusplus
771 sigfpe_handler (int sig)
772 #else
773 sigfpe_handler (sig) int sig;
774 #endif
775 {
776 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
777 exit (sig != SIGFPE);
778 }
779
780 int x = 1;
781 int y = 0;
782 int z;
783 int nan;
784
785 int main ()
786 {
787 signal (SIGFPE, sigfpe_handler);
788 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
789 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
790 signal (SIGTRAP, sigfpe_handler);
791 #endif
792 /* Linux/SPARC yields signal SIGILL. */
793 #if defined (__sparc__) && defined (__linux__)
794 signal (SIGILL, sigfpe_handler);
795 #endif
796
797 z = x / y;
798 nan = y / y;
799 exit (1);
800 }
801 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
802 [
803 # Guess based on the CPU.
804 case "$host_cpu" in
805 alpha* | i[34567]86 | m68k | s390*)
806 gt_cv_int_divbyzero_sigfpe="guessing yes";;
807 *)
808 gt_cv_int_divbyzero_sigfpe="guessing no";;
809 esac
810 ])
811 ])
812 case "$gt_cv_int_divbyzero_sigfpe" in
813 *yes) value=1;;
814 *) value=0;;
815 esac
816 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
817 [Define if integer division by zero raises signal SIGFPE.])
818 ])
819
820 # intmax.m4 serial 2 (gettext-0.14.2)
821 dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
822 dnl This file is free software; the Free Software Foundation
823 dnl gives unlimited permission to copy and/or distribute it,
824 dnl with or without modifications, as long as this notice is preserved.
825
826 dnl From Bruno Haible.
827 dnl Test whether the system has the 'intmax_t' type, but don't attempt to
828 dnl find a replacement if it is lacking.
829
830 AC_DEFUN([gt_TYPE_INTMAX_T],
831 [
832 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
833 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
834 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
835 [AC_TRY_COMPILE([
836 #include <stddef.h>
837 #include <stdlib.h>
838 #if HAVE_STDINT_H_WITH_UINTMAX
839 #include <stdint.h>
840 #endif
841 #if HAVE_INTTYPES_H_WITH_UINTMAX
842 #include <inttypes.h>
843 #endif
844 ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
845 if test $gt_cv_c_intmax_t = yes; then
846 AC_DEFINE(HAVE_INTMAX_T, 1,
847 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
848 fi
849 ])
850
851 # inttypes-pri.m4 serial 1 (gettext-0.11.4)
852 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
853 dnl This file is free software; the Free Software Foundation
854 dnl gives unlimited permission to copy and/or distribute it,
855 dnl with or without modifications, as long as this notice is preserved.
856
857 dnl From Bruno Haible.
858
859 # Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
860 # macros to non-string values. This is the case on AIX 4.3.3.
861
862 AC_DEFUN([gt_INTTYPES_PRI],
863 [
864 AC_REQUIRE([gt_HEADER_INTTYPES_H])
865 if test $gt_cv_header_inttypes_h = yes; then
866 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
867 gt_cv_inttypes_pri_broken,
868 [
869 AC_TRY_COMPILE([#include <inttypes.h>
870 #ifdef PRId32
871 char *p = PRId32;
872 #endif
873 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
874 ])
875 fi
876 if test "$gt_cv_inttypes_pri_broken" = yes; then
877 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
878 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
879 fi
880 ])
881
882 # inttypes.m4 serial 1 (gettext-0.11.4)
883 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
884 dnl This file is free software; the Free Software Foundation
885 dnl gives unlimited permission to copy and/or distribute it,
886 dnl with or without modifications, as long as this notice is preserved.
887
888 dnl From Paul Eggert.
889
890 # Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
891 # <sys/types.h>.
892
893 AC_DEFUN([gt_HEADER_INTTYPES_H],
894 [
895 AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
896 [
897 AC_TRY_COMPILE(
898 [#include <sys/types.h>
899 #include <inttypes.h>],
900 [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
901 ])
902 if test $gt_cv_header_inttypes_h = yes; then
903 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
904 [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
905 fi
906 ])
907
908 # inttypes_h.m4 serial 6
909 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
910 dnl This file is free software; the Free Software Foundation
911 dnl gives unlimited permission to copy and/or distribute it,
912 dnl with or without modifications, as long as this notice is preserved.
913
914 dnl From Paul Eggert.
915
916 # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
917 # doesn't clash with <sys/types.h>, and declares uintmax_t.
918
919 AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
920 [
921 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
922 [AC_TRY_COMPILE(
923 [#include <sys/types.h>
924 #include <inttypes.h>],
925 [uintmax_t i = (uintmax_t) -1;],
926 gl_cv_header_inttypes_h=yes,
927 gl_cv_header_inttypes_h=no)])
928 if test $gl_cv_header_inttypes_h = yes; then
929 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
930 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
931 and declares uintmax_t. ])
932 fi
933 ])
934
935 # lcmessage.m4 serial 4 (gettext-0.14.2)
936 dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
937 dnl This file is free software; the Free Software Foundation
938 dnl gives unlimited permission to copy and/or distribute it,
939 dnl with or without modifications, as long as this notice is preserved.
940 dnl
941 dnl This file can can be used in projects which are not available under
942 dnl the GNU General Public License or the GNU Library General Public
943 dnl License but which still want to provide support for the GNU gettext
944 dnl functionality.
945 dnl Please note that the actual code of the GNU gettext library is covered
946 dnl by the GNU Library General Public License, and the rest of the GNU
947 dnl gettext package package is covered by the GNU General Public License.
948 dnl They are *not* in the public domain.
949
950 dnl Authors:
951 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
952
953 # Check whether LC_MESSAGES is available in <locale.h>.
954
955 AC_DEFUN([gt_LC_MESSAGES],
956 [
957 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
958 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
959 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
960 if test $gt_cv_val_LC_MESSAGES = yes; then
961 AC_DEFINE(HAVE_LC_MESSAGES, 1,
962 [Define if your <locale.h> file defines LC_MESSAGES.])
963 fi
964 ])
965
966 # lib-ld.m4 serial 3 (gettext-0.13)
967 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
968 dnl This file is free software; the Free Software Foundation
969 dnl gives unlimited permission to copy and/or distribute it,
970 dnl with or without modifications, as long as this notice is preserved.
971
972 dnl Subroutines of libtool.m4,
973 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
974 dnl with libtool.m4.
975
976 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
977 AC_DEFUN([AC_LIB_PROG_LD_GNU],
978 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
979 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
980 case `$LD -v 2>&1 </dev/null` in
981 *GNU* | *'with BFD'*)
982 acl_cv_prog_gnu_ld=yes ;;
983 *)
984 acl_cv_prog_gnu_ld=no ;;
985 esac])
986 with_gnu_ld=$acl_cv_prog_gnu_ld
987 ])
988
989 dnl From libtool-1.4. Sets the variable LD.
990 AC_DEFUN([AC_LIB_PROG_LD],
991 [AC_ARG_WITH(gnu-ld,
992 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
993 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
994 AC_REQUIRE([AC_PROG_CC])dnl
995 AC_REQUIRE([AC_CANONICAL_HOST])dnl
996 # Prepare PATH_SEPARATOR.
997 # The user is always right.
998 if test "${PATH_SEPARATOR+set}" != set; then
999 echo "#! /bin/sh" >conf$$.sh
1000 echo "exit 0" >>conf$$.sh
1001 chmod +x conf$$.sh
1002 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1003 PATH_SEPARATOR=';'
1004 else
1005 PATH_SEPARATOR=:
1006 fi
1007 rm -f conf$$.sh
1008 fi
1009 ac_prog=ld
1010 if test "$GCC" = yes; then
1011 # Check if gcc -print-prog-name=ld gives a path.
1012 AC_MSG_CHECKING([for ld used by GCC])
1013 case $host in
1014 *-*-mingw*)
1015 # gcc leaves a trailing carriage return which upsets mingw
1016 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1017 *)
1018 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1019 esac
1020 case $ac_prog in
1021 # Accept absolute paths.
1022 [[\\/]* | [A-Za-z]:[\\/]*)]
1023 [re_direlt='/[^/][^/]*/\.\./']
1024 # Canonicalize the path of ld
1025 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1026 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1027 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
781028 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
1029 test -z "$LD" && LD="$ac_prog"
1030 ;;
1031 "")
1032 # If it fails, then pretend we aren't using GCC.
1033 ac_prog=ld
1034 ;;
1035 *)
1036 # If it is relative, then search for the first ld in PATH.
1037 with_gnu_ld=unknown
1038 ;;
1039 esac
1040 elif test "$with_gnu_ld" = yes; then
1041 AC_MSG_CHECKING([for GNU ld])
1042 else
1043 AC_MSG_CHECKING([for non-GNU ld])
1044 fi
1045 AC_CACHE_VAL(acl_cv_path_LD,
1046 [if test -z "$LD"; then
1047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1048 for ac_dir in $PATH; do
1049 test -z "$ac_dir" && ac_dir=.
1050 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1051 acl_cv_path_LD="$ac_dir/$ac_prog"
1052 # Check to see if the program is GNU ld. I'd rather use --version,
1053 # but apparently some GNU ld's only accept -v.
1054 # Break only if it was the GNU/non-GNU ld that we prefer.
1055 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1056 *GNU* | *'with BFD'*)
1057 test "$with_gnu_ld" != no && break ;;
1058 *)
1059 test "$with_gnu_ld" != yes && break ;;
1060 esac
941061 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
127 ])
128
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"
1062 done
1063 IFS="$ac_save_ifs"
1064 else
1065 acl_cv_path_LD="$LD" # Let the user override the test with a path.
1066 fi])
1067 LD="$acl_cv_path_LD"
1068 if test -n "$LD"; then
1069 AC_MSG_RESULT($LD)
1070 else
1071 AC_MSG_RESULT(no)
1072 fi
1073 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1074 AC_LIB_PROG_LD_GNU
1641075 ])
1651076
1661077 # lib-link.m4 serial 6 (gettext-0.14.3)
7171628 done
7181629 ])
7191630
720 # lib-ld.m4 serial 3 (gettext-0.13)
721 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1631 # lib-prefix.m4 serial 4 (gettext-0.14.2)
1632 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
7221633 dnl This file is free software; the Free Software Foundation
7231634 dnl gives unlimited permission to copy and/or distribute it,
7241635 dnl with or without modifications, as long as this notice is preserved.
7251636
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
1637 dnl From Bruno Haible.
1638
1639 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
1640 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
1641 dnl require excessive bracketing.
1642 ifdef([AC_HELP_STRING],
1643 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
1644 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
1645
1646 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
1647 dnl to access previously installed libraries. The basic assumption is that
1648 dnl a user will want packages to use other packages he previously installed
1649 dnl with the same --prefix option.
1650 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
1651 dnl libraries, but is otherwise very convenient.
1652 AC_DEFUN([AC_LIB_PREFIX],
1653 [
1654 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
1655 AC_REQUIRE([AC_PROG_CC])
1656 AC_REQUIRE([AC_CANONICAL_HOST])
1657 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1658 dnl By default, look in $includedir and $libdir.
1659 use_additional=yes
1660 AC_LIB_WITH_FINAL_PREFIX([
1661 eval additional_includedir=\"$includedir\"
1662 eval additional_libdir=\"$libdir\"
1663 ])
1664 AC_LIB_ARG_WITH([lib-prefix],
1665 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1666 --without-lib-prefix don't search for libraries in includedir and libdir],
1667 [
1668 if test "X$withval" = "Xno"; then
1669 use_additional=no
1670 else
1671 if test "X$withval" = "X"; then
1672 AC_LIB_WITH_FINAL_PREFIX([
1673 eval additional_includedir=\"$includedir\"
1674 eval additional_libdir=\"$libdir\"
1675 ])
1676 else
1677 additional_includedir="$withval/include"
1678 additional_libdir="$withval/lib"
1679 fi
1680 fi
7411681 ])
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=';'
1682 if test $use_additional = yes; then
1683 dnl Potentially add $additional_includedir to $CPPFLAGS.
1684 dnl But don't add it
1685 dnl 1. if it's the standard /usr/include,
1686 dnl 2. if it's already present in $CPPFLAGS,
1687 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
1688 dnl 4. if it doesn't exist as a directory.
1689 if test "X$additional_includedir" != "X/usr/include"; then
1690 haveit=
1691 for x in $CPPFLAGS; do
1692 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1693 if test "X$x" = "X-I$additional_includedir"; then
1694 haveit=yes
1695 break
1696 fi
1697 done
1698 if test -z "$haveit"; then
1699 if test "X$additional_includedir" = "X/usr/local/include"; then
1700 if test -n "$GCC"; then
1701 case $host_os in
1702 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1703 esac
1704 fi
1705 fi
1706 if test -z "$haveit"; then
1707 if test -d "$additional_includedir"; then
1708 dnl Really add $additional_includedir to $CPPFLAGS.
1709 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
1710 fi
1711 fi
1712 fi
1713 fi
1714 dnl Potentially add $additional_libdir to $LDFLAGS.
1715 dnl But don't add it
1716 dnl 1. if it's the standard /usr/lib,
1717 dnl 2. if it's already present in $LDFLAGS,
1718 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
1719 dnl 4. if it doesn't exist as a directory.
1720 if test "X$additional_libdir" != "X/usr/lib"; then
1721 haveit=
1722 for x in $LDFLAGS; do
1723 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1724 if test "X$x" = "X-L$additional_libdir"; then
1725 haveit=yes
1726 break
1727 fi
1728 done
1729 if test -z "$haveit"; then
1730 if test "X$additional_libdir" = "X/usr/local/lib"; then
1731 if test -n "$GCC"; then
1732 case $host_os in
1733 linux*) haveit=yes;;
1734 esac
1735 fi
1736 fi
1737 if test -z "$haveit"; then
1738 if test -d "$additional_libdir"; then
1739 dnl Really add $additional_libdir to $LDFLAGS.
1740 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
1741 fi
1742 fi
1743 fi
1744 fi
1745 fi
1746 ])
1747
1748 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1749 dnl acl_final_exec_prefix, containing the values to which $prefix and
1750 dnl $exec_prefix will expand at the end of the configure script.
1751 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1752 [
1753 dnl Unfortunately, prefix and exec_prefix get only finally determined
1754 dnl at the end of configure.
1755 if test "X$prefix" = "XNONE"; then
1756 acl_final_prefix="$ac_default_prefix"
7581757 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
1758 acl_final_prefix="$prefix"
1759 fi
1760 if test "X$exec_prefix" = "XNONE"; then
1761 acl_final_exec_prefix='${prefix}'
1762 else
1763 acl_final_exec_prefix="$exec_prefix"
1764 fi
1765 acl_save_prefix="$prefix"
1766 prefix="$acl_final_prefix"
1767 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1768 prefix="$acl_save_prefix"
8291769 ])
8301770
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 )
1771 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
1772 dnl variables prefix and exec_prefix bound to the values they will have
1773 dnl at the end of the configure script.
1774 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
1775 [
1776 acl_save_prefix="$prefix"
1777 prefix="$acl_final_prefix"
1778 acl_save_exec_prefix="$exec_prefix"
1779 exec_prefix="$acl_final_exec_prefix"
1780 $1
1781 exec_prefix="$acl_save_exec_prefix"
1782 prefix="$acl_save_prefix"
1783 ])
10101784
10111785 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
10121786
1013 # serial 47 Debian 1.5.20-2 AC_PROG_LIBTOOL
1787 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
10141788
10151789
10161790 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
11601934 test -z "$AS" && AS=as
11611935 test -z "$CC" && CC=cc
11621936 test -z "$LTCC" && LTCC=$CC
1937 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11631938 test -z "$DLLTOOL" && DLLTOOL=dlltool
11641939 test -z "$LD" && LD=ld
11651940 test -z "$LN_S" && LN_S="ln -s"
11791954 if test -n "$RANLIB"; then
11801955 case $host_os in
11811956 openbsd*)
1182 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1957 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
11831958 ;;
11841959 *)
1185 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1960 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
11861961 ;;
11871962 esac
11881963 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12292004
12302005 # If no C compiler was specified, use CC.
12312006 LTCC=${LTCC-"$CC"}
2007
2008 # If no C compiler flags were specified, use CFLAGS.
2009 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12322010
12332011 # Allow CC to be a program name with arguments.
12342012 compiler=$CC
12582036 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
12592037 [ac_outfile=conftest.$ac_objext
12602038 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1261 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
2039 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12622040 _lt_compiler_boilerplate=`cat conftest.err`
12632041 $rm conftest*
12642042 ])# _LT_COMPILER_BOILERPLATE
12712049 AC_DEFUN([_LT_LINKER_BOILERPLATE],
12722050 [ac_outfile=conftest.$ac_objext
12732051 printf "$lt_simple_link_test_code" >conftest.$ac_ext
1274 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
2052 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12752053 _lt_linker_boilerplate=`cat conftest.err`
12762054 $rm conftest*
12772055 ])# _LT_LINKER_BOILERPLATE
15772355 CFLAGS="$SAVE_CFLAGS"
15782356 fi
15792357 ;;
2358 sparc*-*solaris*)
2359 # Find out which ABI we are using.
2360 echo 'int i;' > conftest.$ac_ext
2361 if AC_TRY_EVAL(ac_compile); then
2362 case `/usr/bin/file conftest.o` in
2363 *64-bit*)
2364 case $lt_cv_prog_gnu_ld in
2365 yes*) LD="${LD-ld} -m elf64_sparc" ;;
2366 *) LD="${LD-ld} -64" ;;
2367 esac
2368 ;;
2369 esac
2370 fi
2371 rm -rf conftest*
2372 ;;
2373
15802374 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
15812375 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
15822376 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
16192413 if (exit $ac_status) && test -s "$ac_outfile"; then
16202414 # The compiler can only warn and ignore the option if not recognized
16212415 # So say no if there are warnings other than the usual output.
1622 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1623 $SED '/^$/d' conftest.err >conftest.er2
1624 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
2416 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2417 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2418 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16252419 $2=yes
16262420 fi
16272421 fi
16522446 if test -s conftest.err; then
16532447 # Append any errors to the config.log.
16542448 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1655 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
1656 $SED '/^$/d' conftest.err >conftest.er2
2449 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16572451 if diff conftest.exp conftest.er2 >/dev/null; then
16582452 $2=yes
16592453 fi
17282522 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
17292523 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
17302524 ;;
2525
2526 interix*)
2527 # We know the value 262144 and hardcode it with a safety zone (like BSD)
2528 lt_cv_sys_max_cmd_len=196608
2529 ;;
2530
17312531 osf*)
17322532 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
17332533 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
17392539 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
17402540 *1*) lt_cv_sys_max_cmd_len=-1 ;;
17412541 esac
2542 fi
2543 ;;
2544 sco3.2v5*)
2545 lt_cv_sys_max_cmd_len=102400
2546 ;;
2547 sysv5* | sco5v6* | sysv4.2uw2*)
2548 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2549 if test -n "$kargmax"; then
2550 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2551 else
2552 lt_cv_sys_max_cmd_len=32768
17422553 fi
17432554 ;;
17442555 *)
17722583
17732584
17742585 # _LT_AC_CHECK_DLFCN
1775 # --------------------
2586 # ------------------
17762587 AC_DEFUN([_LT_AC_CHECK_DLFCN],
17772588 [AC_CHECK_HEADERS(dlfcn.h)dnl
17782589 ])# _LT_AC_CHECK_DLFCN
17802591
17812592 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
17822593 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1783 # ------------------------------------------------------------------
2594 # ---------------------------------------------------------------------
17842595 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
17852596 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
17862597 if test "$cross_compiling" = yes; then :
18462657 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18472658 /* dlclose (self); */
18482659 }
2660 else
2661 puts (dlerror ());
18492662
18502663 exit (status);
18512664 }]
18562669 case x$lt_status in
18572670 x$lt_dlno_uscore) $1 ;;
18582671 x$lt_dlneed_uscore) $2 ;;
1859 x$lt_unknown|x*) $3 ;;
2672 x$lt_dlunknown|x*) $3 ;;
18602673 esac
18612674 else :
18622675 # compilation failed
18682681
18692682
18702683 # AC_LIBTOOL_DLOPEN_SELF
1871 # -------------------
2684 # ----------------------
18722685 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
18732686 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
18742687 if test "x$enable_dlopen" != xyes; then
19392752 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19402753
19412754 save_LDFLAGS="$LDFLAGS"
1942 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2755 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19432756
19442757 save_LIBS="$LIBS"
19452758 LIBS="$lt_cv_dlopen_libs $LIBS"
19522765 ])
19532766
19542767 if test "x$lt_cv_dlopen_self" = xyes; then
1955 LDFLAGS="$LDFLAGS $link_static_flag"
2768 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19562769 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
19572770 lt_cv_dlopen_self_static, [dnl
19582771 _LT_AC_TRY_DLOPEN_SELF(
20122825 then
20132826 # The compiler can only warn and ignore the option if not recognized
20142827 # So say no if there are warnings
2015 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
2016 $SED '/^$/d' out/conftest.err >out/conftest.er2
2017 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2828 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2829 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2830 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20182831 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
20192832 fi
20202833 fi
23553168 dynamic_linker=no
23563169 ;;
23573170
2358 kfreebsd*-gnu)
2359 version_type=linux
2360 need_lib_prefix=no
2361 need_version=no
2362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2363 soname_spec='${libname}${release}${shared_ext}$major'
2364 shlibpath_var=LD_LIBRARY_PATH
2365 shlibpath_overrides_runpath=no
2366 hardcode_into_libs=yes
2367 dynamic_linker='GNU ld.so'
2368 ;;
2369
23703171 freebsd* | dragonfly*)
23713172 # DragonFly does not have aout. When/if they implement a new
23723173 # versioning mechanism, adjust this.
23993200 shlibpath_overrides_runpath=yes
24003201 hardcode_into_libs=yes
24013202 ;;
2402 *) # from 3.2 on
3203 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
3204 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
24033205 shlibpath_overrides_runpath=no
3206 hardcode_into_libs=yes
3207 ;;
3208 freebsd*) # from 4.6 on
3209 shlibpath_overrides_runpath=yes
24043210 hardcode_into_libs=yes
24053211 ;;
24063212 esac
24623268 postinstall_cmds='chmod 555 $lib'
24633269 ;;
24643270
3271 interix3*)
3272 version_type=linux
3273 need_lib_prefix=no
3274 need_version=no
3275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3276 soname_spec='${libname}${release}${shared_ext}$major'
3277 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
3278 shlibpath_var=LD_LIBRARY_PATH
3279 shlibpath_overrides_runpath=no
3280 hardcode_into_libs=yes
3281 ;;
3282
24653283 irix5* | irix6* | nonstopux*)
24663284 case $host_os in
24673285 nonstopux*) version_type=nonstopux ;;
25053323 ;;
25063324
25073325 # This must be Linux ELF.
2508 linux*)
3326 linux* | k*bsd*-gnu)
25093327 version_type=linux
25103328 need_lib_prefix=no
25113329 need_version=no
25463364 dynamic_linker='NetBSD ld.elf_so'
25473365 ;;
25483366
2549 knetbsd*-gnu)
2550 version_type=linux
2551 need_lib_prefix=no
2552 need_version=no
2553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2554 soname_spec='${libname}${release}${shared_ext}$major'
2555 shlibpath_var=LD_LIBRARY_PATH
2556 shlibpath_overrides_runpath=no
2557 hardcode_into_libs=yes
2558 dynamic_linker='GNU ld.so'
2559 ;;
2560
25613367 netbsd*)
25623368 version_type=sunos
25633369 need_lib_prefix=no
25953401
25963402 openbsd*)
25973403 version_type=sunos
3404 sys_lib_dlsearch_path_spec="/usr/lib"
25983405 need_lib_prefix=no
25993406 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26003407 case $host_os in
26383445 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26393446 ;;
26403447
2641 sco3.2v5*)
2642 version_type=osf
2643 soname_spec='${libname}${release}${shared_ext}$major'
2644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2645 shlibpath_var=LD_LIBRARY_PATH
2646 ;;
2647
26483448 solaris*)
26493449 version_type=linux
26503450 need_lib_prefix=no
26703470 need_version=yes
26713471 ;;
26723472
2673 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3473 sysv4 | sysv4.3*)
26743474 version_type=linux
26753475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26763476 soname_spec='${libname}${release}${shared_ext}$major'
27033503 fi
27043504 ;;
27053505
3506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3507 version_type=freebsd-elf
3508 need_lib_prefix=no
3509 need_version=no
3510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3511 soname_spec='${libname}${release}${shared_ext}$major'
3512 shlibpath_var=LD_LIBRARY_PATH
3513 hardcode_into_libs=yes
3514 if test "$with_gnu_ld" = yes; then
3515 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3516 shlibpath_overrides_runpath=no
3517 else
3518 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3519 shlibpath_overrides_runpath=yes
3520 case $host_os in
3521 sco3.2v5*)
3522 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3523 ;;
3524 esac
3525 fi
3526 sys_lib_dlsearch_path_spec='/usr/lib'
3527 ;;
3528
27063529 uts4*)
27073530 version_type=linux
27083531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
27163539 esac
27173540 AC_MSG_RESULT([$dynamic_linker])
27183541 test "$dynamic_linker" = no && can_build_shared=no
3542
3543 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3544 if test "$GCC" = yes; then
3545 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3546 fi
27193547 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
27203548
27213549
27393567 else
27403568 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
27413569 fi
3570 fi
3571 if test -z "$LTCFLAGS"; then
3572 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
27423573 fi
27433574
27443575 # Extract list of available tagged configurations in $ofile.
28683699
28693700 # AC_DISABLE_SHARED
28703701 # -----------------
2871 #- set the default shared flag to --disable-shared
3702 # set the default shared flag to --disable-shared
28723703 AC_DEFUN([AC_DISABLE_SHARED],
28733704 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28743705 AC_ENABLE_SHARED(no)
31764007 case $host_os in
31774008 darwin*)
31784009 if test "$GCC" = yes; then
3179 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4010 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
31804011 else
31814012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
31824013 fi
32384069 lt_cv_deplibs_check_method=pass_all
32394070 ;;
32404071
3241 freebsd* | kfreebsd*-gnu | dragonfly*)
4072 freebsd* | dragonfly*)
32424073 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
32434074 case $host_cpu in
32444075 i*86 )
32764107 esac
32774108 ;;
32784109
4110 interix3*)
4111 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4112 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
4113 ;;
4114
32794115 irix5* | irix6* | nonstopux*)
32804116 case $LD in
32814117 *-32|*"-32 ") libmagic=32-bit;;
32874123 ;;
32884124
32894125 # This must be Linux ELF.
3290 linux*)
4126 linux* | k*bsd*-gnu)
32914127 lt_cv_deplibs_check_method=pass_all
32924128 ;;
32934129
3294 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4130 netbsd* | netbsdelf*-gnu)
32954131 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
32964132 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
32974133 else
33214157 lt_cv_deplibs_check_method=pass_all
33224158 ;;
33234159
3324 sco3.2v5*)
3325 lt_cv_deplibs_check_method=pass_all
3326 ;;
3327
33284160 solaris*)
33294161 lt_cv_deplibs_check_method=pass_all
33304162 ;;
33314163
3332 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4164 sysv4 | sysv4.3*)
33334165 case $host_vendor in
33344166 motorola)
33354167 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
33504182 siemens)
33514183 lt_cv_deplibs_check_method=pass_all
33524184 ;;
4185 pc)
4186 lt_cv_deplibs_check_method=pass_all
4187 ;;
33534188 esac
33544189 ;;
33554190
3356 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
4191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
33574192 lt_cv_deplibs_check_method=pass_all
33584193 ;;
33594194 esac
33734208 # Let the user override the test.
33744209 lt_cv_path_NM="$NM"
33754210 else
3376 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3377 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3378 IFS="$lt_save_ifs"
3379 test -z "$ac_dir" && ac_dir=.
3380 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3381 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3382 # Check to see if the nm accepts a BSD-compat flag.
3383 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3384 # nm: unknown option "B" ignored
3385 # Tru64's nm complains that /dev/null is an invalid object file
3386 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3387 */dev/null* | *'Invalid file or object type'*)
3388 lt_cv_path_NM="$tmp_nm -B"
3389 break
3390 ;;
3391 *)
3392 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3393 */dev/null*)
3394 lt_cv_path_NM="$tmp_nm -p"
4211 lt_nm_to_check="${ac_tool_prefix}nm"
4212 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4213 lt_nm_to_check="$lt_nm_to_check nm"
4214 fi
4215 for lt_tmp_nm in $lt_nm_to_check; do
4216 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4217 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4218 IFS="$lt_save_ifs"
4219 test -z "$ac_dir" && ac_dir=.
4220 tmp_nm="$ac_dir/$lt_tmp_nm"
4221 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4222 # Check to see if the nm accepts a BSD-compat flag.
4223 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4224 # nm: unknown option "B" ignored
4225 # Tru64's nm complains that /dev/null is an invalid object file
4226 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4227 */dev/null* | *'Invalid file or object type'*)
4228 lt_cv_path_NM="$tmp_nm -B"
33954229 break
33964230 ;;
33974231 *)
3398 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3399 continue # so that we can try to find one that supports BSD flags
4232 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4233 */dev/null*)
4234 lt_cv_path_NM="$tmp_nm -p"
4235 break
4236 ;;
4237 *)
4238 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4239 continue # so that we can try to find one that supports BSD flags
4240 ;;
4241 esac
34004242 ;;
34014243 esac
3402 esac
3403 fi
4244 fi
4245 done
4246 IFS="$lt_save_ifs"
34044247 done
3405 IFS="$lt_save_ifs"
34064248 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
34074249 fi])
34084250 NM="$lt_cv_path_NM"
35084350 ])# _LT_AC_LANG_CXX
35094351
35104352 # _LT_AC_PROG_CXXCPP
3511 # ---------------
4353 # ------------------
35124354 AC_DEFUN([_LT_AC_PROG_CXXCPP],
35134355 [
35144356 AC_REQUIRE([AC_PROG_CXX])
35574399
35584400
35594401 # AC_LIBTOOL_RC
3560 # --------------
4402 # -------------
35614403 # enable support for Windows resource files
35624404 AC_DEFUN([AC_LIBTOOL_RC],
35634405 [AC_REQUIRE([LT_AC_PROG_RC])
35944436 _LT_COMPILER_BOILERPLATE
35954437 _LT_LINKER_BOILERPLATE
35964438
3597 #
3598 # Check for any special shared library compilation flags.
3599 #
3600 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3601 if test "$GCC" = no; then
3602 case $host_os in
3603 sco3.2v5*)
3604 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3605 ;;
3606 esac
3607 fi
3608 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3609 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3610 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3611 else
3612 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3613 _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3614 fi
3615 fi
3616
3617
3618 #
3619 # Check to make sure the static flag actually works.
3620 #
3621 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3622 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3623 $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3624 [],
3625 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3626
3627
36284439 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
36294440 AC_LIBTOOL_PROG_COMPILER_PIC($1)
36304441 AC_LIBTOOL_PROG_CC_C_O($1)
36334444 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
36344445 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
36354446 AC_LIBTOOL_SYS_LIB_STRIP
3636 AC_LIBTOOL_DLOPEN_SELF($1)
3637
3638 # Report which librarie types wil actually be built
4447 AC_LIBTOOL_DLOPEN_SELF
4448
4449 # Report which library types will actually be built
36394450 AC_MSG_CHECKING([if libtool supports shared libraries])
36404451 AC_MSG_RESULT([$can_build_shared])
36414452
36944505 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
36954506 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
36964507 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4508 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
36974509 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
36984510 _LT_AC_TAGVAR(module_cmds, $1)=
36994511 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
37214533 lt_simple_compile_test_code="int some_variable = 0;\n"
37224534
37234535 # Code to be used in simple link tests
3724 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
4536 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
37254537
37264538 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
37274539 _LT_AC_SYS_COMPILER
37404552 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
37414553 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
37424554 else
3743 unset lt_cv_prog_gnu_ld
4555 $as_unset lt_cv_prog_gnu_ld
37444556 fi
37454557 if test -n "${lt_cv_path_LDCXX+set}"; then
37464558 lt_cv_path_LD=$lt_cv_path_LDCXX
37474559 else
3748 unset lt_cv_path_LD
4560 $as_unset lt_cv_path_LD
37494561 fi
37504562 test -z "${LDCXX+set}" || LD=$LDCXX
37514563 CC=${CXX-"c++"}
38404652 ;;
38414653 esac
38424654 done
4655 ;;
38434656 esac
38444657
38454658 exp_sym_flag='-bexport'
38774690 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
38784691 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
38794692 fi
4693 ;;
38804694 esac
38814695 shared_flag='-shared'
38824696 if test "$aix_use_runtimelinking" = yes; then
39084722 _LT_AC_SYS_LIBPATH_AIX
39094723 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
39104724
3911 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
4725 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
39124726 else
39134727 if test "$host_cpu" = ia64; then
39144728 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
39154729 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3916 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
4730 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
39174731 else
39184732 # Determine the default libpath from the value encoded in an empty executable.
39194733 _LT_AC_SYS_LIBPATH_AIX
39224736 # -berok will link without error, but may produce a broken library.
39234737 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
39244738 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3925 # -bexpall does not export symbols beginning with underscore (_)
3926 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
39274739 # Exported symbols can be pulled into shared objects from archives
3928 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4740 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
39294741 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
39304742 # This is similar to how AIX traditionally builds its shared libraries.
3931 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
4743 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
39324744 fi
39334745 fi
39344746 ;;
4747
4748 beos*)
4749 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4750 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4751 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4752 # support --undefined. This deserves some investigation. FIXME
4753 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4754 else
4755 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4756 fi
4757 ;;
4758
39354759 chorus*)
39364760 case $cc_basename in
39374761 *)
39414765 esac
39424766 ;;
39434767
3944
39454768 cygwin* | mingw* | pw32*)
39464769 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
39474770 # as there is no search path for DLLs.
39514774 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
39524775
39534776 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3954 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4777 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
39554778 # If the export-symbols file already is a .def file (1st line
39564779 # is EXPORTS), use it as is; otherwise, prepend...
39574780 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
39604783 echo EXPORTS > $output_objdir/$soname.def;
39614784 cat $export_symbols >> $output_objdir/$soname.def;
39624785 fi~
3963 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4786 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
39644787 else
39654788 _LT_AC_TAGVAR(ld_shlibs, $1)=no
39664789 fi
40524875 freebsd-elf*)
40534876 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
40544877 ;;
4055 freebsd* | kfreebsd*-gnu | dragonfly*)
4878 freebsd* | dragonfly*)
40564879 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
40574880 # conventions
40584881 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
40974920 ;;
40984921 hpux10*|hpux11*)
40994922 if test $with_gnu_ld = no; then
4923 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4924 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4925
41004926 case $host_cpu in
4101 hppa*64*)
4102 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4927 hppa*64*|ia64*)
41034928 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4104 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4105 ;;
4106 ia64*)
4107 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
41084929 ;;
41094930 *)
4110 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4111 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
41124931 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
41134932 ;;
41144933 esac
41154934 fi
41164935 case $host_cpu in
4117 hppa*64*)
4936 hppa*64*|ia64*)
41184937 _LT_AC_TAGVAR(hardcode_direct, $1)=no
41194938 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4120 ;;
4121 ia64*)
4122 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4123 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4124 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4125 # but as the default
4126 # location of the library.
41274939 ;;
41284940 *)
41294941 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
41404952 ;;
41414953 aCC*)
41424954 case $host_cpu in
4143 hppa*64*|ia64*)
4144 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4955 hppa*64*)
4956 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4957 ;;
4958 ia64*)
4959 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
41454960 ;;
41464961 *)
41474962 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
41614976 if test "$GXX" = yes; then
41624977 if test $with_gnu_ld = no; then
41634978 case $host_cpu in
4164 ia64*|hppa*64*)
4165 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4979 hppa*64*)
4980 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4981 ;;
4982 ia64*)
4983 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
41664984 ;;
41674985 *)
41684986 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
41754993 fi
41764994 ;;
41774995 esac
4996 ;;
4997 interix3*)
4998 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4999 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5000 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5001 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5002 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5003 # Instead, shared libraries are loaded at an image base (0x10000000 by
5004 # default) and relocated if they conflict, which is a slow very memory
5005 # consuming and fragmenting process. To avoid this, we pick a random,
5006 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5007 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5008 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5009 _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'
41785010 ;;
41795011 irix5* | irix6*)
41805012 case $cc_basename in
42025034 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
42035035 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
42045036 ;;
4205 linux*)
5037 linux* | k*bsd*-gnu)
42065038 case $cc_basename in
42075039 KCC*)
42085040 # Kuck and Associates, Inc. (KAI) C++ Compiler
43045136 ;;
43055137 esac
43065138 ;;
4307 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5139 netbsd* | netbsdelf*-gnu)
43085140 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
43095141 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
43105142 wlarc=
44585290 # FIXME: insert proper C++ library support
44595291 _LT_AC_TAGVAR(ld_shlibs, $1)=no
44605292 ;;
4461 sco*)
4462 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4463 case $cc_basename in
4464 CC*)
4465 # FIXME: insert proper C++ library support
4466 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4467 ;;
4468 *)
4469 # FIXME: insert proper C++ library support
4470 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4471 ;;
4472 esac
4473 ;;
44745293 sunos4*)
44755294 case $cc_basename in
44765295 CC*)
45635382 ;;
45645383 esac
45655384 ;;
4566 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5385 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5386 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
45675387 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5388 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5389 runpath_var='LD_RUN_PATH'
5390
5391 case $cc_basename in
5392 CC*)
5393 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5394 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5395 ;;
5396 *)
5397 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5398 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5399 ;;
5400 esac
5401 ;;
5402 sysv5* | sco3.2v5* | sco5v6*)
5403 # Note: We can NOT use -z defs as we might desire, because we do not
5404 # link with -lc, and that would cause any symbols used from libc to
5405 # always be unresolved, which means just about no library would
5406 # ever link correctly. If we're not using GNU ld we use -z text
5407 # though, which does catch some bad symbols but isn't as heavy-handed
5408 # as -z defs.
5409 # For security reasons, it is highly recommended that you always
5410 # use absolute paths for naming shared libraries, and exclude the
5411 # DT_RUNPATH tag from executables and libraries. But doing so
5412 # requires that you compile everything twice, which is a pain.
5413 # So that behaviour is only enabled if SCOABSPATH is set to a
5414 # non-empty value in the environment. Most likely only useful for
5415 # creating official distributions of packages.
5416 # This is a hack until libtool officially supports absolute path
5417 # names for shared libraries.
5418 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5419 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
5420 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5421 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5422 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
5423 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5424 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5425 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
5426 runpath_var='LD_RUN_PATH'
5427
5428 case $cc_basename in
5429 CC*)
5430 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5431 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5432 ;;
5433 *)
5434 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5435 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5436 ;;
5437 esac
45685438 ;;
45695439 tandem*)
45705440 case $cc_basename in
46015471 AC_LIBTOOL_PROG_LD_SHLIBS($1)
46025472 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
46035473 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4604 AC_LIBTOOL_SYS_LIB_STRIP
4605 AC_LIBTOOL_DLOPEN_SELF($1)
46065474
46075475 AC_LIBTOOL_CONFIG($1)
46085476
46205488 ])# AC_LIBTOOL_LANG_CXX_CONFIG
46215489
46225490 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
4623 # ------------------------
5491 # ------------------------------------
46245492 # Figure out "hidden" library dependencies from verbose
46255493 # compiler output when linking a shared library.
46265494 # Parse the compiler output and extract the necessary
47535621 # PORTME: override above test on systems where it is broken
47545622 ifelse([$1],[CXX],
47555623 [case $host_os in
5624 interix3*)
5625 # Interix 3.5 installs completely hosed .la files for C++, so rather than
5626 # hack all around it, let's just trust "g++" to DTRT.
5627 _LT_AC_TAGVAR(predep_objects,$1)=
5628 _LT_AC_TAGVAR(postdep_objects,$1)=
5629 _LT_AC_TAGVAR(postdeps,$1)=
5630 ;;
5631
47565632 solaris*)
47575633 case $cc_basename in
47585634 CC*)
47625638 _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
47635639 ;;
47645640 esac
5641 ;;
47655642 esac
47665643 ])
47675644
47715648 ])# AC_LIBTOOL_POSTDEP_PREDEP
47725649
47735650 # AC_LIBTOOL_LANG_F77_CONFIG
4774 # ------------------------
5651 # --------------------------
47755652 # Ensure that the configuration vars for the C compiler are
47765653 # suitably defined. Those variables are subsequently used by
47775654 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
48555732 test "$enable_shared" = yes || enable_static=yes
48565733 AC_MSG_RESULT([$enable_static])
48575734
4858 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4859
48605735 _LT_AC_TAGVAR(GCC, $1)="$G77"
48615736 _LT_AC_TAGVAR(LD, $1)="$LD"
48625737
48665741 AC_LIBTOOL_PROG_LD_SHLIBS($1)
48675742 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
48685743 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4869 AC_LIBTOOL_SYS_LIB_STRIP
4870
48715744
48725745 AC_LIBTOOL_CONFIG($1)
48735746
49245797 AC_LIBTOOL_PROG_LD_SHLIBS($1)
49255798 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
49265799 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4927 AC_LIBTOOL_SYS_LIB_STRIP
4928 AC_LIBTOOL_DLOPEN_SELF($1)
49295800
49305801 AC_LIBTOOL_CONFIG($1)
49315802
49355806
49365807
49375808 # AC_LIBTOOL_LANG_RC_CONFIG
4938 # --------------------------
5809 # -------------------------
49395810 # Ensure that the configuration vars for the Windows resource compiler are
49405811 # suitably defined. Those variables are subsequently used by
49415812 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
49985869 # Now quote all the things that may contain metacharacters while being
49995870 # careful not to overquote the AC_SUBSTed values. We take copies of the
50005871 # variables and quote the copies for generation of the libtool script.
5001 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5872 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
50025873 SED SHELL STRIP \
50035874 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
50045875 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
51676038 # A C compiler.
51686039 LTCC=$lt_LTCC
51696040
6041 # LTCC compiler flags.
6042 LTCFLAGS=$lt_LTCFLAGS
6043
51706044 # A language-specific compiler.
51716045 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
51726046
55276401 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
55286402 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'"
55296403 ;;
5530 linux*)
6404 linux* | k*bsd*-gnu)
55316405 if test "$host_cpu" = ia64; then
55326406 symcode='[[ABCDGIRSTW]]'
55336407 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
55406414 osf*)
55416415 symcode='[[BCDEGQRST]]'
55426416 ;;
5543 solaris* | sysv5*)
6417 solaris*)
55446418 symcode='[[BDRT]]'
6419 ;;
6420 sco3.2v5*)
6421 symcode='[[DT]]'
6422 ;;
6423 sysv4.2uw2*)
6424 symcode='[[DT]]'
6425 ;;
6426 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6427 symcode='[[ABDT]]'
55456428 ;;
55466429 sysv4)
55476430 symcode='[[DFNSTU]]'
57246607 *djgpp*)
57256608 # DJGPP does not support shared libraries at all
57266609 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6610 ;;
6611 interix3*)
6612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6613 # Instead, we relocate shared libraries at runtime.
57276614 ;;
57286615 sysv4*MP*)
57296616 if test -d /usr/nec; then
57876674 ;;
57886675 esac
57896676 ;;
5790 freebsd* | kfreebsd*-gnu | dragonfly*)
6677 freebsd* | dragonfly*)
57916678 # FreeBSD uses GNU C++
57926679 ;;
57936680 hpux9* | hpux10* | hpux11*)
57946681 case $cc_basename in
57956682 CC*)
57966683 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5797 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6684 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
57986685 if test "$host_cpu" != ia64; then
57996686 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
58006687 fi
58016688 ;;
58026689 aCC*)
58036690 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5804 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6691 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
58056692 case $host_cpu in
58066693 hppa*64*|ia64*)
58076694 # +Z the default
58156702 ;;
58166703 esac
58176704 ;;
6705 interix*)
6706 # This is c89, which is MS Visual C++ (no shared libs)
6707 # Anyone wants to do a port?
6708 ;;
58186709 irix5* | irix6* | nonstopux*)
58196710 case $cc_basename in
58206711 CC*)
58266717 ;;
58276718 esac
58286719 ;;
5829 linux*)
6720 linux* | k*bsd*-gnu)
58306721 case $cc_basename in
58316722 KCC*)
58326723 # KAI C++ Compiler
58696760 ;;
58706761 esac
58716762 ;;
5872 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6763 netbsd* | netbsdelf*-gnu)
58736764 ;;
58746765 osf3* | osf4* | osf5*)
58756766 case $cc_basename in
58936784 esac
58946785 ;;
58956786 psos*)
5896 ;;
5897 sco*)
5898 case $cc_basename in
5899 CC*)
5900 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5901 ;;
5902 *)
5903 ;;
5904 esac
59056787 ;;
59066788 solaris*)
59076789 case $cc_basename in
59446826 ;;
59456827 esac
59466828 ;;
5947 unixware*)
6829 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6830 case $cc_basename in
6831 CC*)
6832 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6833 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6834 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6835 ;;
6836 esac
59486837 ;;
59496838 vxworks*)
59506839 ;;
59896878 # PIC is the default on this platform
59906879 # Common symbols not allowed in MH_DYLIB files
59916880 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6881 ;;
6882
6883 interix3*)
6884 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6885 # Instead, we relocate shared libraries at runtime.
59926886 ;;
59936887
59946888 msdosdjgpp*)
60776971 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
60786972 ;;
60796973
6080 linux*)
6974 linux* | k*bsd*-gnu)
60816975 case $cc_basename in
60826976 icc* | ecc*)
60836977 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61056999 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
61067000 ;;
61077001
6108 sco3.2v5*)
6109 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
6110 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
6111 ;;
6112
61137002 solaris*)
61147003 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61157004 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61277016 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61287017 ;;
61297018
6130 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7019 sysv4 | sysv4.2uw2* | sysv4.3*)
61317020 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
61327021 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
61337022 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61387027 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
61397028 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61407029 fi
7030 ;;
7031
7032 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7033 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7034 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7035 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
61417036 ;;
61427037
61437038 unicos*)
61817076 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
61827077 ;;
61837078 esac
7079
7080 #
7081 # Check to make sure the static flag actually works.
7082 #
7083 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
7084 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
7085 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
7086 $lt_tmp_static_flag,
7087 [],
7088 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
61847089 ])
61857090
61867091
62077112 cygwin* | mingw*)
62087113 _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'
62097114 ;;
6210 linux*)
7115 linux* | k*bsd*-gnu)
62117116 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
62127117 ;;
62137118 *)
62627167 with_gnu_ld=no
62637168 fi
62647169 ;;
7170 interix*)
7171 # we just hope/assume this is gcc and not c89 (= MSVC++)
7172 with_gnu_ld=yes
7173 ;;
62657174 openbsd*)
62667175 with_gnu_ld=no
62677176 ;;
63467255 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
63477256
63487257 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6349 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7258 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
63507259 # If the export-symbols file already is a .def file (1st line
63517260 # is EXPORTS), use it as is; otherwise, prepend...
63527261 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
63557264 echo EXPORTS > $output_objdir/$soname.def;
63567265 cat $export_symbols >> $output_objdir/$soname.def;
63577266 fi~
6358 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
63597268 else
63607269 _LT_AC_TAGVAR(ld_shlibs, $1)=no
63617270 fi
63627271 ;;
63637272
6364 linux*)
7273 interix3*)
7274 _LT_AC_TAGVAR(hardcode_direct, $1)=no
7275 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7276 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7277 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7278 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7279 # Instead, shared libraries are loaded at an image base (0x10000000 by
7280 # default) and relocated if they conflict, which is a slow very memory
7281 # consuming and fragmenting process. To avoid this, we pick a random,
7282 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7283 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7284 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7285 _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'
7286 ;;
7287
7288 linux* | k*bsd*-gnu)
63657289 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
63667290 tmp_addflag=
63677291 case $cc_basename,$host_cpu in
63937317 fi
63947318 ;;
63957319
6396 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7320 netbsd* | netbsdelf*-gnu)
63977321 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
63987322 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
63997323 wlarc=
64037327 fi
64047328 ;;
64057329
6406 solaris* | sysv5*)
7330 solaris*)
64077331 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
64087332 _LT_AC_TAGVAR(ld_shlibs, $1)=no
64097333 cat <<EOF 1>&2
64227346 else
64237347 _LT_AC_TAGVAR(ld_shlibs, $1)=no
64247348 fi
7349 ;;
7350
7351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7352 case `$LD -v 2>&1` in
7353 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
7354 _LT_AC_TAGVAR(ld_shlibs, $1)=no
7355 cat <<_LT_EOF 1>&2
7356
7357 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7358 *** reliably create shared libraries on SCO systems. Therefore, libtool
7359 *** is disabling shared libraries support. We urge you to upgrade GNU
7360 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7361 *** your PATH or compiler configuration so that the native linker is
7362 *** used, and then restart.
7363
7364 _LT_EOF
7365 ;;
7366 *)
7367 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7368 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7369 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7370 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7371 else
7372 _LT_AC_TAGVAR(ld_shlibs, $1)=no
7373 fi
7374 ;;
7375 esac
64257376 ;;
64267377
64277378 sunos4*)
64577408 # Note: this linker hardcodes the directories in LIBPATH if there
64587409 # are no directories specified by -L.
64597410 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6460 if test "$GCC" = yes && test -z "$link_static_flag"; then
7411 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
64617412 # Neither direct hardcoding nor static linking is supported with a
64627413 # broken collect2.
64637414 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
64917442 break
64927443 fi
64937444 done
7445 ;;
64947446 esac
64957447
64967448 exp_sym_flag='-bexport'
65287480 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
65297481 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
65307482 fi
7483 ;;
65317484 esac
65327485 shared_flag='-shared'
65337486 if test "$aix_use_runtimelinking" = yes; then
65407493 # chokes on -Wl,-G. The following line is correct:
65417494 shared_flag='-G'
65427495 else
6543 if test "$aix_use_runtimelinking" = yes; then
7496 if test "$aix_use_runtimelinking" = yes; then
65447497 shared_flag='${wl}-G'
65457498 else
65467499 shared_flag='${wl}-bM:SRE'
6547 fi
7500 fi
65487501 fi
65497502 fi
65507503
65587511 # Determine the default libpath from the value encoded in an empty executable.
65597512 _LT_AC_SYS_LIBPATH_AIX
65607513 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6561 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7514 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
65627515 else
65637516 if test "$host_cpu" = ia64; then
65647517 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
65657518 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6566 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7519 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
65677520 else
65687521 # Determine the default libpath from the value encoded in an empty executable.
65697522 _LT_AC_SYS_LIBPATH_AIX
65727525 # -berok will link without error, but may produce a broken library.
65737526 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
65747527 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6575 # -bexpall does not export symbols beginning with underscore (_)
6576 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
65777528 # Exported symbols can be pulled into shared objects from archives
6578 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
7529 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
65797530 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
65807531 # This is similar to how AIX traditionally builds its shared libraries.
6581 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7532 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
65827533 fi
65837534 fi
65847535 ;;
66967647 ;;
66977648
66987649 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6699 freebsd* | kfreebsd*-gnu | dragonfly*)
7650 freebsd* | dragonfly*)
67007651 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
67017652 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
67027653 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
67197670 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
67207671 ;;
67217672
6722 hpux10* | hpux11*)
7673 hpux10*)
7674 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7675 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7676 else
7677 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7678 fi
7679 if test "$with_gnu_ld" = no; then
7680 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7681 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7682
7683 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7684 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7685
7686 # hardcode_minus_L: Not really in the search PATH,
7687 # but as the default location of the library.
7688 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7689 fi
7690 ;;
7691
7692 hpux11*)
67237693 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
67247694 case $host_cpu in
6725 hppa*64*|ia64*)
7695 hppa*64*)
67267696 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7697 ;;
7698 ia64*)
7699 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
67277700 ;;
67287701 *)
67297702 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
67317704 esac
67327705 else
67337706 case $host_cpu in
6734 hppa*64*|ia64*)
6735 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7707 hppa*64*)
7708 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7709 ;;
7710 ia64*)
7711 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
67367712 ;;
67377713 *)
6738 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7714 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
67397715 ;;
67407716 esac
67417717 fi
67427718 if test "$with_gnu_ld" = no; then
7719 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7720 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7721
67437722 case $host_cpu in
6744 hppa*64*)
6745 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7723 hppa*64*|ia64*)
67467724 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6747 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
67487725 _LT_AC_TAGVAR(hardcode_direct, $1)=no
67497726 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
67507727 ;;
6751 ia64*)
6752 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6753 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6754 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6755
6756 # hardcode_minus_L: Not really in the search PATH,
6757 # but as the default location of the library.
6758 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6759 ;;
67607728 *)
6761 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6762 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
67637729 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
67647730 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
67657731
67837749 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
67847750 ;;
67857751
6786 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7752 netbsd* | netbsdelf*-gnu)
67877753 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
67887754 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
67897755 else
68597825 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
68607826 fi
68617827 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6862 ;;
6863
6864 sco3.2v5*)
6865 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6866 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6867 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6868 runpath_var=LD_RUN_PATH
6869 hardcode_runpath_var=yes
68707828 ;;
68717829
68727830 solaris*)
69547912 fi
69557913 ;;
69567914
6957 sysv4.2uw2*)
6958 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6959 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6960 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6961 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6962 hardcode_runpath_var=yes
6963 runpath_var=LD_RUN_PATH
6964 ;;
6965
6966 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
6967 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
6968 if test "$GCC" = yes; then
6969 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6970 else
6971 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6972 fi
6973 runpath_var='LD_RUN_PATH'
6974 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6975 ;;
6976
6977 sysv5*)
6978 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6979 # $CC -shared without GNU ld will not create a library from C++
6980 # object files and a static libstdc++, better avoid it by now
6981 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6982 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6983 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6984 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7915 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
7916 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7917 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
69857918 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
69867919 runpath_var='LD_RUN_PATH'
7920
7921 if test "$GCC" = yes; then
7922 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7923 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7924 else
7925 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7926 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7927 fi
7928 ;;
7929
7930 sysv5* | sco3.2v5* | sco5v6*)
7931 # Note: We can NOT use -z defs as we might desire, because we do not
7932 # link with -lc, and that would cause any symbols used from libc to
7933 # always be unresolved, which means just about no library would
7934 # ever link correctly. If we're not using GNU ld we use -z text
7935 # though, which does catch some bad symbols but isn't as heavy-handed
7936 # as -z defs.
7937 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7938 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
7939 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7940 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7941 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7942 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7943 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7944 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
7945 runpath_var='LD_RUN_PATH'
7946
7947 if test "$GCC" = yes; then
7948 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7949 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7950 else
7951 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7952 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7953 fi
69877954 ;;
69887955
69897956 uts4*)
70007967 ])
70017968 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
70027969 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
7003
7004 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7005 if test "$GCC" = yes; then
7006 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7007 fi
70087970
70097971 #
70107972 # Do we need to explicitly link libc?
70337995 libobjs=conftest.$ac_objext
70347996 deplibs=
70357997 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
7998 pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
70367999 compiler_flags=-v
70378000 linker_flags=-v
70388001 verstring=
71888151 AC_MSG_RESULT([$SED])
71898152 ])
71908153
7191 # gettext.m4 serial 37 (gettext-0.14.4)
7192 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
8154 # longdouble.m4 serial 1 (gettext-0.12)
8155 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8156 dnl This file is free software; the Free Software Foundation
8157 dnl gives unlimited permission to copy and/or distribute it,
8158 dnl with or without modifications, as long as this notice is preserved.
8159
8160 dnl From Bruno Haible.
8161 dnl Test whether the compiler supports the 'long double' type.
8162 dnl Prerequisite: AC_PROG_CC
8163
8164 AC_DEFUN([gt_TYPE_LONGDOUBLE],
8165 [
8166 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8167 [if test "$GCC" = yes; then
8168 gt_cv_c_long_double=yes
8169 else
8170 AC_TRY_COMPILE([
8171 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8172 long double foo = 0.0;
8173 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8174 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8175 ], ,
8176 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8177 fi])
8178 if test $gt_cv_c_long_double = yes; then
8179 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8180 fi
8181 ])
8182
8183 # longlong.m4 serial 5
8184 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8185 dnl This file is free software; the Free Software Foundation
8186 dnl gives unlimited permission to copy and/or distribute it,
8187 dnl with or without modifications, as long as this notice is preserved.
8188
8189 dnl From Paul Eggert.
8190
8191 # Define HAVE_LONG_LONG if 'long long' works.
8192
8193 AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8194 [
8195 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
8196 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
8197 [long long llmax = (long long) -1;
8198 return ll << i | ll >> i | llmax / ll | llmax % ll;],
8199 ac_cv_type_long_long=yes,
8200 ac_cv_type_long_long=no)])
8201 if test $ac_cv_type_long_long = yes; then
8202 AC_DEFINE(HAVE_LONG_LONG, 1,
8203 [Define if you have the 'long long' type.])
8204 fi
8205 ])
8206
8207 # nls.m4 serial 2 (gettext-0.14.3)
8208 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
71938209 dnl This file is free software; the Free Software Foundation
71948210 dnl gives unlimited permission to copy and/or distribute it,
71958211 dnl with or without modifications, as long as this notice is preserved.
72078223 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
72088224 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
72098225
7210 dnl Macro to add for using GNU gettext.
7211
7212 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
7213 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
7214 dnl default (if it is not specified or empty) is 'no-libtool'.
7215 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
7216 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
7217 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
7218 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
7219 dnl depending on --{enable,disable}-{shared,static} and on the presence of
7220 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
7221 dnl $(top_builddir)/intl/libintl.a will be created.
7222 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
7223 dnl implementations (in libc or libintl) without the ngettext() function
7224 dnl will be ignored. If NEEDSYMBOL is specified and is
7225 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
7226 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
7227 dnl INTLDIR is used to find the intl libraries. If empty,
7228 dnl the value `$(top_builddir)/intl/' is used.
7229 dnl
7230 dnl The result of the configuration is one of three cases:
7231 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
7232 dnl and used.
7233 dnl Catalog format: GNU --> install in $(datadir)
7234 dnl Catalog extension: .mo after installation, .gmo in source tree
7235 dnl 2) GNU gettext has been found in the system's C library.
7236 dnl Catalog format: GNU --> install in $(datadir)
7237 dnl Catalog extension: .mo after installation, .gmo in source tree
7238 dnl 3) No internationalization, always use English msgid.
7239 dnl Catalog format: none
7240 dnl Catalog extension: none
7241 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
7242 dnl The use of .gmo is historical (it was needed to avoid overwriting the
7243 dnl GNU format catalogs when building on a platform with an X/Open gettext),
7244 dnl but we keep it in order not to force irrelevant filename changes on the
7245 dnl maintainers.
7246 dnl
7247 AC_DEFUN([AM_GNU_GETTEXT],
8226 AC_PREREQ(2.50)
8227
8228 AC_DEFUN([AM_NLS],
72488229 [
7249 dnl Argument checking.
7250 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
7251 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
7252 ])])])])])
7253 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
7254 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
7255 ])])])])
7256 define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
7257 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
7258
7259 AC_REQUIRE([AM_PO_SUBDIRS])dnl
7260 ifelse(gt_included_intl, yes, [
7261 AC_REQUIRE([AM_INTL_SUBDIR])dnl
7262 ])
7263
7264 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
7265 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
7266 AC_REQUIRE([AC_LIB_RPATH])
7267
7268 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7269 dnl Ideally we would do this search only after the
7270 dnl if test "$USE_NLS" = "yes"; then
7271 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7272 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
7273 dnl the configure script would need to contain the same shell code
7274 dnl again, outside any 'if'. There are two solutions:
7275 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
7276 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
7277 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
7278 dnl documented, we avoid it.
7279 ifelse(gt_included_intl, yes, , [
7280 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
7281 ])
7282
7283 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
7284 gt_INTL_MACOSX
7285
7286 dnl Set USE_NLS.
7287 AM_NLS
7288
7289 ifelse(gt_included_intl, yes, [
7290 BUILD_INCLUDED_LIBINTL=no
7291 USE_INCLUDED_LIBINTL=no
7292 ])
7293 LIBINTL=
7294 LTLIBINTL=
7295 POSUB=
7296
7297 dnl If we use NLS figure out what method
7298 if test "$USE_NLS" = "yes"; then
7299 gt_use_preinstalled_gnugettext=no
7300 ifelse(gt_included_intl, yes, [
7301 AC_MSG_CHECKING([whether included gettext is requested])
7302 AC_ARG_WITH(included-gettext,
7303 [ --with-included-gettext use the GNU gettext library included here],
7304 nls_cv_force_use_gnu_gettext=$withval,
7305 nls_cv_force_use_gnu_gettext=no)
7306 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
7307
7308 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
7309 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7310 ])
7311 dnl User does not insist on using GNU NLS library. Figure out what
7312 dnl to use. If GNU gettext is available we use this. Else we have
7313 dnl to fall back to GNU NLS library.
7314
7315 dnl Add a version number to the cache macros.
7316 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
7317 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
7318 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
7319
7320 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
7321 [AC_TRY_LINK([#include <libintl.h>
7322 ]ifelse([$2], [need-formatstring-macros],
7323 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7324 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7325 #endif
7326 changequote(,)dnl
7327 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7328 changequote([,])dnl
7329 ], [])[extern int _nl_msg_cat_cntr;
7330 extern int *_nl_domain_bindings;],
7331 [bindtextdomain ("", "");
7332 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
7333 gt_cv_func_gnugettext_libc=yes,
7334 gt_cv_func_gnugettext_libc=no)])
7335
7336 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7337 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7338 ifelse(gt_included_intl, yes, , [
7339 AM_ICONV_LINK
7340 ])
7341 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
7342 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
7343 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
7344 dnl even if libiconv doesn't exist.
7345 AC_LIB_LINKFLAGS_BODY([intl])
7346 AC_CACHE_CHECK([for GNU gettext in libintl],
7347 gt_cv_func_gnugettext_libintl,
7348 [gt_save_CPPFLAGS="$CPPFLAGS"
7349 CPPFLAGS="$CPPFLAGS $INCINTL"
7350 gt_save_LIBS="$LIBS"
7351 LIBS="$LIBS $LIBINTL"
7352 dnl Now see whether libintl exists and does not depend on libiconv.
7353 AC_TRY_LINK([#include <libintl.h>
7354 ]ifelse([$2], [need-formatstring-macros],
7355 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7356 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7357 #endif
7358 changequote(,)dnl
7359 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7360 changequote([,])dnl
7361 ], [])[extern int _nl_msg_cat_cntr;
7362 extern
7363 #ifdef __cplusplus
7364 "C"
7365 #endif
7366 const char *_nl_expand_alias (const char *);],
7367 [bindtextdomain ("", "");
7368 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7369 gt_cv_func_gnugettext_libintl=yes,
7370 gt_cv_func_gnugettext_libintl=no)
7371 dnl Now see whether libintl exists and depends on libiconv.
7372 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
7373 LIBS="$LIBS $LIBICONV"
7374 AC_TRY_LINK([#include <libintl.h>
7375 ]ifelse([$2], [need-formatstring-macros],
7376 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7377 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7378 #endif
7379 changequote(,)dnl
7380 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7381 changequote([,])dnl
7382 ], [])[extern int _nl_msg_cat_cntr;
7383 extern
7384 #ifdef __cplusplus
7385 "C"
7386 #endif
7387 const char *_nl_expand_alias (const char *);],
7388 [bindtextdomain ("", "");
7389 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7390 [LIBINTL="$LIBINTL $LIBICONV"
7391 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7392 gt_cv_func_gnugettext_libintl=yes
7393 ])
7394 fi
7395 CPPFLAGS="$gt_save_CPPFLAGS"
7396 LIBS="$gt_save_LIBS"])
7397 fi
7398
7399 dnl If an already present or preinstalled GNU gettext() is found,
7400 dnl use it. But if this macro is used in GNU gettext, and GNU
7401 dnl gettext is already preinstalled in libintl, we update this
7402 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
7403 if test "$gt_cv_func_gnugettext_libc" = "yes" \
7404 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
7405 && test "$PACKAGE" != gettext-runtime \
7406 && test "$PACKAGE" != gettext-tools; }; then
7407 gt_use_preinstalled_gnugettext=yes
7408 else
7409 dnl Reset the values set by searching for libintl.
7410 LIBINTL=
7411 LTLIBINTL=
7412 INCINTL=
7413 fi
7414
7415 ifelse(gt_included_intl, yes, [
7416 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7417 dnl GNU gettext is not found in the C library.
7418 dnl Fall back on included GNU gettext library.
7419 nls_cv_use_gnu_gettext=yes
7420 fi
7421 fi
7422
7423 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7424 dnl Mark actions used to generate GNU NLS library.
7425 BUILD_INCLUDED_LIBINTL=yes
7426 USE_INCLUDED_LIBINTL=yes
7427 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
7428 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
7429 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7430 fi
7431
7432 CATOBJEXT=
7433 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7434 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7435 dnl Mark actions to use GNU gettext tools.
7436 CATOBJEXT=.gmo
7437 fi
7438 ])
7439
7440 if test -n "$INTL_MACOSX_LIBS"; then
7441 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7442 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7443 dnl Some extra flags are needed during linking.
7444 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7445 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7446 fi
7447 fi
7448
7449 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7450 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7451 AC_DEFINE(ENABLE_NLS, 1,
7452 [Define to 1 if translation of program messages to the user's native language
7453 is requested.])
7454 else
7455 USE_NLS=no
7456 fi
7457 fi
7458
7459 AC_MSG_CHECKING([whether to use NLS])
7460 AC_MSG_RESULT([$USE_NLS])
7461 if test "$USE_NLS" = "yes"; then
7462 AC_MSG_CHECKING([where the gettext function comes from])
7463 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7464 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7465 gt_source="external libintl"
7466 else
7467 gt_source="libc"
7468 fi
7469 else
7470 gt_source="included intl directory"
7471 fi
7472 AC_MSG_RESULT([$gt_source])
7473 fi
7474
7475 if test "$USE_NLS" = "yes"; then
7476
7477 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7478 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7479 AC_MSG_CHECKING([how to link with libintl])
7480 AC_MSG_RESULT([$LIBINTL])
7481 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
7482 fi
7483
7484 dnl For backward compatibility. Some packages may be using this.
7485 AC_DEFINE(HAVE_GETTEXT, 1,
7486 [Define if the GNU gettext() function is already present or preinstalled.])
7487 AC_DEFINE(HAVE_DCGETTEXT, 1,
7488 [Define if the GNU dcgettext() function is already present or preinstalled.])
7489 fi
7490
7491 dnl We need to process the po/ directory.
7492 POSUB=po
7493 fi
7494
7495 ifelse(gt_included_intl, yes, [
7496 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
7497 dnl to 'yes' because some of the testsuite requires it.
7498 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
7499 BUILD_INCLUDED_LIBINTL=yes
7500 fi
7501
7502 dnl Make all variables we use known to autoconf.
7503 AC_SUBST(BUILD_INCLUDED_LIBINTL)
7504 AC_SUBST(USE_INCLUDED_LIBINTL)
7505 AC_SUBST(CATOBJEXT)
7506
7507 dnl For backward compatibility. Some configure.ins may be using this.
7508 nls_cv_header_intl=
7509 nls_cv_header_libgt=
7510
7511 dnl For backward compatibility. Some Makefiles may be using this.
7512 DATADIRNAME=share
7513 AC_SUBST(DATADIRNAME)
7514
7515 dnl For backward compatibility. Some Makefiles may be using this.
7516 INSTOBJEXT=.mo
7517 AC_SUBST(INSTOBJEXT)
7518
7519 dnl For backward compatibility. Some Makefiles may be using this.
7520 GENCAT=gencat
7521 AC_SUBST(GENCAT)
7522
7523 dnl For backward compatibility. Some Makefiles may be using this.
7524 INTLOBJS=
7525 if test "$USE_INCLUDED_LIBINTL" = yes; then
7526 INTLOBJS="\$(GETTOBJS)"
7527 fi
7528 AC_SUBST(INTLOBJS)
7529
7530 dnl Enable libtool support if the surrounding package wishes it.
7531 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
7532 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
7533 ])
7534
7535 dnl For backward compatibility. Some Makefiles may be using this.
7536 INTLLIBS="$LIBINTL"
7537 AC_SUBST(INTLLIBS)
7538
7539 dnl Make all documented variables known to autoconf.
7540 AC_SUBST(LIBINTL)
7541 AC_SUBST(LTLIBINTL)
7542 AC_SUBST(POSUB)
8230 AC_MSG_CHECKING([whether NLS is requested])
8231 dnl Default is enabled NLS
8232 AC_ARG_ENABLE(nls,
8233 [ --disable-nls do not use Native Language Support],
8234 USE_NLS=$enableval, USE_NLS=yes)
8235 AC_MSG_RESULT($USE_NLS)
8236 AC_SUBST(USE_NLS)
75438237 ])
75448238
7545
7546 dnl Checks for all prerequisites of the intl subdirectory,
7547 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
7548 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
7549 AC_DEFUN([AM_INTL_SUBDIR],
8239 AC_DEFUN([AM_MKINSTALLDIRS],
75508240 [
7551 AC_REQUIRE([AC_PROG_INSTALL])dnl
7552 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7553 AC_REQUIRE([AC_PROG_CC])dnl
7554 AC_REQUIRE([AC_CANONICAL_HOST])dnl
7555 AC_REQUIRE([gt_GLIBC2])dnl
7556 AC_REQUIRE([AC_PROG_RANLIB])dnl
7557 AC_REQUIRE([AC_ISC_POSIX])dnl
7558 AC_REQUIRE([AC_HEADER_STDC])dnl
7559 AC_REQUIRE([AC_C_CONST])dnl
7560 AC_REQUIRE([bh_C_SIGNED])dnl
7561 AC_REQUIRE([AC_C_INLINE])dnl
7562 AC_REQUIRE([AC_TYPE_OFF_T])dnl
7563 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
7564 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
7565 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
7566 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
7567 AC_REQUIRE([gt_TYPE_WINT_T])dnl
7568 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
7569 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
7570 AC_REQUIRE([gt_TYPE_INTMAX_T])
7571 AC_REQUIRE([gt_PRINTF_POSIX])
7572 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
7573 AC_REQUIRE([AC_FUNC_MMAP])dnl
7574 AC_REQUIRE([gl_GLIBC21])dnl
7575 AC_REQUIRE([gt_INTDIV0])dnl
7576 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
7577 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
7578 AC_REQUIRE([gt_INTTYPES_PRI])dnl
7579 AC_REQUIRE([gl_XSIZE])dnl
7580 AC_REQUIRE([gt_INTL_MACOSX])dnl
7581
7582 AC_CHECK_TYPE([ptrdiff_t], ,
7583 [AC_DEFINE([ptrdiff_t], [long],
7584 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
7585 ])
7586 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7587 stdlib.h string.h unistd.h sys/param.h])
7588 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
7589 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
7590 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
7591 __fsetlocking])
7592
7593 dnl Use the _snprintf function only if it is declared (because on NetBSD it
7594 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
7595 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
7596 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
7597
7598 dnl Use the *_unlocked functions only if they are declared.
7599 dnl (because some of them were defined without being declared in Solaris
7600 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
7601 dnl on Solaris 2.5.1 to run on Solaris 2.6).
7602 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
7603 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
7604 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
7605 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
7606
7607 case $gt_cv_func_printf_posix in
7608 *yes) HAVE_POSIX_PRINTF=1 ;;
7609 *) HAVE_POSIX_PRINTF=0 ;;
7610 esac
7611 AC_SUBST([HAVE_POSIX_PRINTF])
7612 if test "$ac_cv_func_asprintf" = yes; then
7613 HAVE_ASPRINTF=1
7614 else
7615 HAVE_ASPRINTF=0
7616 fi
7617 AC_SUBST([HAVE_ASPRINTF])
7618 if test "$ac_cv_func_snprintf" = yes; then
7619 HAVE_SNPRINTF=1
7620 else
7621 HAVE_SNPRINTF=0
7622 fi
7623 AC_SUBST([HAVE_SNPRINTF])
7624 if test "$ac_cv_func_wprintf" = yes; then
7625 HAVE_WPRINTF=1
7626 else
7627 HAVE_WPRINTF=0
7628 fi
7629 AC_SUBST([HAVE_WPRINTF])
7630
7631 AM_ICONV
7632 AM_LANGINFO_CODESET
7633 if test $ac_cv_header_locale_h = yes; then
7634 gt_LC_MESSAGES
7635 fi
7636
7637 if test -n "$INTL_MACOSX_LIBS"; then
7638 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7639 fi
7640
7641 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
7642 dnl because plural.y uses bison specific features. It requires at least
7643 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
7644 dnl compile.
7645 dnl bison is only needed for the maintainer (who touches plural.y). But in
7646 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
7647 dnl the rule in general Makefile. Now, some people carelessly touch the
7648 dnl files or have a broken "make" program, hence the plural.c rule will
7649 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
7650 dnl present or too old.
7651 AC_CHECK_PROGS([INTLBISON], [bison])
7652 if test -z "$INTLBISON"; then
7653 ac_verc_fail=yes
7654 else
7655 dnl Found it, now check the version.
7656 AC_MSG_CHECKING([version of bison])
7657 changequote(<<,>>)dnl
7658 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7659 case $ac_prog_version in
7660 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
7661 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
7662 changequote([,])dnl
7663 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
7664 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
8241 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
8242 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
8243 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
8244 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
8245 dnl Try to locate it.
8246 MKINSTALLDIRS=
8247 if test -n "$ac_aux_dir"; then
8248 case "$ac_aux_dir" in
8249 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
8250 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
76658251 esac
7666 AC_MSG_RESULT([$ac_prog_version])
7667 fi
7668 if test $ac_verc_fail = yes; then
7669 INTLBISON=:
7670 fi
8252 fi
8253 if test -z "$MKINSTALLDIRS"; then
8254 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8255 fi
8256 AC_SUBST(MKINSTALLDIRS)
76718257 ])
7672
7673
7674 dnl Checks for special options needed on MacOS X.
7675 dnl Defines INTL_MACOSX_LIBS.
7676 AC_DEFUN([gt_INTL_MACOSX],
7677 [
7678 dnl Check for API introduced in MacOS X 10.2.
7679 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
7680 gt_cv_func_CFPreferencesCopyAppValue,
7681 [gt_save_CPPFLAGS="$CPPFLAGS"
7682 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7683 gt_save_LIBS="$LIBS"
7684 LIBS="$LIBS -framework CoreFoundation"
7685 AC_TRY_LINK([#include <CFPreferences.h>],
7686 [CFPreferencesCopyAppValue(NULL, NULL)],
7687 [gt_cv_func_CFPreferencesCopyAppValue=yes],
7688 [gt_cv_func_CFPreferencesCopyAppValue=no])
7689 CPPFLAGS="$gt_save_CPPFLAGS"
7690 LIBS="$gt_save_LIBS"])
7691 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7692 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
7693 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
7694 fi
7695 dnl Check for API introduced in MacOS X 10.3.
7696 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
7697 [gt_save_CPPFLAGS="$CPPFLAGS"
7698 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7699 gt_save_LIBS="$LIBS"
7700 LIBS="$LIBS -framework CoreFoundation"
7701 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
7702 [gt_cv_func_CFLocaleCopyCurrent=yes],
7703 [gt_cv_func_CFLocaleCopyCurrent=no])
7704 CPPFLAGS="$gt_save_CPPFLAGS"
7705 LIBS="$gt_save_LIBS"])
7706 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7707 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
7708 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
7709 fi
7710 INTL_MACOSX_LIBS=
7711 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7712 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7713 fi
7714 AC_SUBST([INTL_MACOSX_LIBS])
7715 ])
7716
7717
7718 dnl gt_CHECK_DECL(FUNC, INCLUDES)
7719 dnl Check whether a function is declared.
7720 AC_DEFUN([gt_CHECK_DECL],
7721 [
7722 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
7723 [AC_TRY_COMPILE([$2], [
7724 #ifndef $1
7725 char *p = (char *) $1;
7726 #endif
7727 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
7728 if test $ac_cv_have_decl_$1 = yes; then
7729 gt_value=1
7730 else
7731 gt_value=0
7732 fi
7733 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
7734 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
7735 ])
7736
7737
7738 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
7739 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
77408258
77418259 # po.m4 serial 7 (gettext-0.14.3)
77428260 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
81688686 mv "$ac_file.tmp" "$ac_file"
81698687 ])
81708688
8171 # nls.m4 serial 2 (gettext-0.14.3)
8172 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
8689 # printf-posix.m4 serial 2 (gettext-0.13.1)
8690 dnl Copyright (C) 2003 Free Software Foundation, Inc.
81738691 dnl This file is free software; the Free Software Foundation
81748692 dnl gives unlimited permission to copy and/or distribute it,
81758693 dnl with or without modifications, as long as this notice is preserved.
8176 dnl
8177 dnl This file can can be used in projects which are not available under
8178 dnl the GNU General Public License or the GNU Library General Public
8179 dnl License but which still want to provide support for the GNU gettext
8180 dnl functionality.
8181 dnl Please note that the actual code of the GNU gettext library is covered
8182 dnl by the GNU Library General Public License, and the rest of the GNU
8183 dnl gettext package package is covered by the GNU General Public License.
8184 dnl They are *not* in the public domain.
8185
8186 dnl Authors:
8187 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8188 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8189
8190 AC_PREREQ(2.50)
8191
8192 AC_DEFUN([AM_NLS],
8694
8695 dnl From Bruno Haible.
8696 dnl Test whether the printf() function supports POSIX/XSI format strings with
8697 dnl positions.
8698
8699 AC_DEFUN([gt_PRINTF_POSIX],
81938700 [
8194 AC_MSG_CHECKING([whether NLS is requested])
8195 dnl Default is enabled NLS
8196 AC_ARG_ENABLE(nls,
8197 [ --disable-nls do not use Native Language Support],
8198 USE_NLS=$enableval, USE_NLS=yes)
8199 AC_MSG_RESULT($USE_NLS)
8200 AC_SUBST(USE_NLS)
8201 ])
8202
8203 AC_DEFUN([AM_MKINSTALLDIRS],
8204 [
8205 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
8206 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
8207 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
8208 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
8209 dnl Try to locate it.
8210 MKINSTALLDIRS=
8211 if test -n "$ac_aux_dir"; then
8212 case "$ac_aux_dir" in
8213 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
8214 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
8215 esac
8216 fi
8217 if test -z "$MKINSTALLDIRS"; then
8218 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8219 fi
8220 AC_SUBST(MKINSTALLDIRS)
8701 AC_REQUIRE([AC_PROG_CC])
8702 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
8703 gt_cv_func_printf_posix,
8704 [
8705 AC_TRY_RUN([
8706 #include <stdio.h>
8707 #include <string.h>
8708 /* The string "%2$d %1$d", with dollar characters protected from the shell's
8709 dollar expansion (possibly an autoconf bug). */
8710 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8711 static char buf[100];
8712 int main ()
8713 {
8714 sprintf (buf, format, 33, 55);
8715 return (strcmp (buf, "55 33") != 0);
8716 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
8717 [
8718 AC_EGREP_CPP(notposix, [
8719 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8720 notposix
8721 #endif
8722 ], gt_cv_func_printf_posix="guessing no",
8723 gt_cv_func_printf_posix="guessing yes")
8724 ])
8725 ])
8726 case $gt_cv_func_printf_posix in
8727 *yes)
8728 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
8729 [Define if your printf() function supports format strings with positions.])
8730 ;;
8731 esac
82218732 ])
82228733
82238734 # progtest.m4 serial 4 (gettext-0.14.2)
83138824 AC_SUBST($1)dnl
83148825 ])
83158826
8316 # iconv.m4 serial AM4 (gettext-0.11.3)
8317 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
8318 dnl This file is free software; the Free Software Foundation
8319 dnl gives unlimited permission to copy and/or distribute it,
8320 dnl with or without modifications, as long as this notice is preserved.
8321
8322 dnl From Bruno Haible.
8323
8324 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
8325 [
8326 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
8327 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
8328 AC_REQUIRE([AC_LIB_RPATH])
8329
8330 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8331 dnl accordingly.
8332 AC_LIB_LINKFLAGS_BODY([iconv])
8333 ])
8334
8335 AC_DEFUN([AM_ICONV_LINK],
8336 [
8337 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
8338 dnl those with the standalone portable GNU libiconv installed).
8339
8340 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8341 dnl accordingly.
8342 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
8343
8344 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
8345 dnl because if the user has installed libiconv and not disabled its use
8346 dnl via --without-libiconv-prefix, he wants to use it. The first
8347 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
8348 am_save_CPPFLAGS="$CPPFLAGS"
8349 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
8350
8351 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
8352 am_cv_func_iconv="no, consider installing GNU libiconv"
8353 am_cv_lib_iconv=no
8354 AC_TRY_LINK([#include <stdlib.h>
8355 #include <iconv.h>],
8356 [iconv_t cd = iconv_open("","");
8357 iconv(cd,NULL,NULL,NULL,NULL);
8358 iconv_close(cd);],
8359 am_cv_func_iconv=yes)
8360 if test "$am_cv_func_iconv" != yes; then
8361 am_save_LIBS="$LIBS"
8362 LIBS="$LIBS $LIBICONV"
8363 AC_TRY_LINK([#include <stdlib.h>
8364 #include <iconv.h>],
8365 [iconv_t cd = iconv_open("","");
8366 iconv(cd,NULL,NULL,NULL,NULL);
8367 iconv_close(cd);],
8368 am_cv_lib_iconv=yes
8369 am_cv_func_iconv=yes)
8370 LIBS="$am_save_LIBS"
8371 fi
8372 ])
8373 if test "$am_cv_func_iconv" = yes; then
8374 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
8375 fi
8376 if test "$am_cv_lib_iconv" = yes; then
8377 AC_MSG_CHECKING([how to link with libiconv])
8378 AC_MSG_RESULT([$LIBICONV])
8379 else
8380 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
8381 dnl either.
8382 CPPFLAGS="$am_save_CPPFLAGS"
8383 LIBICONV=
8384 LTLIBICONV=
8385 fi
8386 AC_SUBST(LIBICONV)
8387 AC_SUBST(LTLIBICONV)
8388 ])
8389
8390 AC_DEFUN([AM_ICONV],
8391 [
8392 AM_ICONV_LINK
8393 if test "$am_cv_func_iconv" = yes; then
8394 AC_MSG_CHECKING([for iconv declaration])
8395 AC_CACHE_VAL(am_cv_proto_iconv, [
8396 AC_TRY_COMPILE([
8397 #include <stdlib.h>
8398 #include <iconv.h>
8399 extern
8400 #ifdef __cplusplus
8401 "C"
8402 #endif
8403 #if defined(__STDC__) || defined(__cplusplus)
8404 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8405 #else
8406 size_t iconv();
8407 #endif
8408 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
8409 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);"])
8410 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8411 AC_MSG_RESULT([$]{ac_t:-
8412 }[$]am_cv_proto_iconv)
8413 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
8414 [Define as const if the declaration of iconv() needs const.])
8415 fi
8416 ])
8417
8418 # glibc2.m4 serial 1
8419 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
8420 dnl This file is free software; the Free Software Foundation
8421 dnl gives unlimited permission to copy and/or distribute it,
8422 dnl with or without modifications, as long as this notice is preserved.
8423
8424 # Test for the GNU C Library, version 2.0 or newer.
8425 # From Bruno Haible.
8426
8427 AC_DEFUN([gt_GLIBC2],
8428 [
8429 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
8430 ac_cv_gnu_library_2,
8431 [AC_EGREP_CPP([Lucky GNU user],
8432 [
8433 #include <features.h>
8434 #ifdef __GNU_LIBRARY__
8435 #if (__GLIBC__ >= 2)
8436 Lucky GNU user
8437 #endif
8438 #endif
8439 ],
8440 ac_cv_gnu_library_2=yes,
8441 ac_cv_gnu_library_2=no)
8442 ]
8443 )
8444 AC_SUBST(GLIBC2)
8445 GLIBC2="$ac_cv_gnu_library_2"
8446 ]
8447 )
8448
84498827 # signed.m4 serial 1 (gettext-0.10.40)
84508828 dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
84518829 dnl This file is free software; the Free Software Foundation
84628840 AC_DEFINE(signed, ,
84638841 [Define to empty if the C compiler doesn't support this keyword.])
84648842 fi
8465 ])
8466
8467 # longlong.m4 serial 5
8468 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8469 dnl This file is free software; the Free Software Foundation
8470 dnl gives unlimited permission to copy and/or distribute it,
8471 dnl with or without modifications, as long as this notice is preserved.
8472
8473 dnl From Paul Eggert.
8474
8475 # Define HAVE_LONG_LONG if 'long long' works.
8476
8477 AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8478 [
8479 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
8480 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
8481 [long long llmax = (long long) -1;
8482 return ll << i | ll >> i | llmax / ll | llmax % ll;],
8483 ac_cv_type_long_long=yes,
8484 ac_cv_type_long_long=no)])
8485 if test $ac_cv_type_long_long = yes; then
8486 AC_DEFINE(HAVE_LONG_LONG, 1,
8487 [Define if you have the 'long long' type.])
8488 fi
8489 ])
8490
8491 # longdouble.m4 serial 1 (gettext-0.12)
8492 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8493 dnl This file is free software; the Free Software Foundation
8494 dnl gives unlimited permission to copy and/or distribute it,
8495 dnl with or without modifications, as long as this notice is preserved.
8496
8497 dnl From Bruno Haible.
8498 dnl Test whether the compiler supports the 'long double' type.
8499 dnl Prerequisite: AC_PROG_CC
8500
8501 AC_DEFUN([gt_TYPE_LONGDOUBLE],
8502 [
8503 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8504 [if test "$GCC" = yes; then
8505 gt_cv_c_long_double=yes
8506 else
8507 AC_TRY_COMPILE([
8508 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8509 long double foo = 0.0;
8510 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8511 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8512 ], ,
8513 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8514 fi])
8515 if test $gt_cv_c_long_double = yes; then
8516 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8517 fi
8518 ])
8519
8520 # wchar_t.m4 serial 1 (gettext-0.12)
8521 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8522 dnl This file is free software; the Free Software Foundation
8523 dnl gives unlimited permission to copy and/or distribute it,
8524 dnl with or without modifications, as long as this notice is preserved.
8525
8526 dnl From Bruno Haible.
8527 dnl Test whether <stddef.h> has the 'wchar_t' type.
8528 dnl Prerequisite: AC_PROG_CC
8529
8530 AC_DEFUN([gt_TYPE_WCHAR_T],
8531 [
8532 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
8533 [AC_TRY_COMPILE([#include <stddef.h>
8534 wchar_t foo = (wchar_t)'\0';], ,
8535 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
8536 if test $gt_cv_c_wchar_t = yes; then
8537 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
8538 fi
8539 ])
8540
8541 # wint_t.m4 serial 1 (gettext-0.12)
8542 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8543 dnl This file is free software; the Free Software Foundation
8544 dnl gives unlimited permission to copy and/or distribute it,
8545 dnl with or without modifications, as long as this notice is preserved.
8546
8547 dnl From Bruno Haible.
8548 dnl Test whether <wchar.h> has the 'wint_t' type.
8549 dnl Prerequisite: AC_PROG_CC
8550
8551 AC_DEFUN([gt_TYPE_WINT_T],
8552 [
8553 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
8554 [AC_TRY_COMPILE([#include <wchar.h>
8555 wint_t foo = (wchar_t)'\0';], ,
8556 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
8557 if test $gt_cv_c_wint_t = yes; then
8558 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
8559 fi
8560 ])
8561
8562 # inttypes_h.m4 serial 6
8563 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8564 dnl This file is free software; the Free Software Foundation
8565 dnl gives unlimited permission to copy and/or distribute it,
8566 dnl with or without modifications, as long as this notice is preserved.
8567
8568 dnl From Paul Eggert.
8569
8570 # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
8571 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8572
8573 AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
8574 [
8575 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
8576 [AC_TRY_COMPILE(
8577 [#include <sys/types.h>
8578 #include <inttypes.h>],
8579 [uintmax_t i = (uintmax_t) -1;],
8580 gl_cv_header_inttypes_h=yes,
8581 gl_cv_header_inttypes_h=no)])
8582 if test $gl_cv_header_inttypes_h = yes; then
8583 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
8584 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
8585 and declares uintmax_t. ])
8586 fi
8587 ])
8588
8589 # stdint_h.m4 serial 5
8590 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8591 dnl This file is free software; the Free Software Foundation
8592 dnl gives unlimited permission to copy and/or distribute it,
8593 dnl with or without modifications, as long as this notice is preserved.
8594
8595 dnl From Paul Eggert.
8596
8597 # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
8598 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8599
8600 AC_DEFUN([gl_AC_HEADER_STDINT_H],
8601 [
8602 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
8603 [AC_TRY_COMPILE(
8604 [#include <sys/types.h>
8605 #include <stdint.h>],
8606 [uintmax_t i = (uintmax_t) -1;],
8607 gl_cv_header_stdint_h=yes,
8608 gl_cv_header_stdint_h=no)])
8609 if test $gl_cv_header_stdint_h = yes; then
8610 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
8611 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
8612 and declares uintmax_t. ])
8613 fi
8614 ])
8615
8616 # intmax.m4 serial 2 (gettext-0.14.2)
8617 dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
8618 dnl This file is free software; the Free Software Foundation
8619 dnl gives unlimited permission to copy and/or distribute it,
8620 dnl with or without modifications, as long as this notice is preserved.
8621
8622 dnl From Bruno Haible.
8623 dnl Test whether the system has the 'intmax_t' type, but don't attempt to
8624 dnl find a replacement if it is lacking.
8625
8626 AC_DEFUN([gt_TYPE_INTMAX_T],
8627 [
8628 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
8629 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
8630 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
8631 [AC_TRY_COMPILE([
8632 #include <stddef.h>
8633 #include <stdlib.h>
8634 #if HAVE_STDINT_H_WITH_UINTMAX
8635 #include <stdint.h>
8636 #endif
8637 #if HAVE_INTTYPES_H_WITH_UINTMAX
8638 #include <inttypes.h>
8639 #endif
8640 ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
8641 if test $gt_cv_c_intmax_t = yes; then
8642 AC_DEFINE(HAVE_INTMAX_T, 1,
8643 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
8644 fi
8645 ])
8646
8647 # printf-posix.m4 serial 2 (gettext-0.13.1)
8648 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8649 dnl This file is free software; the Free Software Foundation
8650 dnl gives unlimited permission to copy and/or distribute it,
8651 dnl with or without modifications, as long as this notice is preserved.
8652
8653 dnl From Bruno Haible.
8654 dnl Test whether the printf() function supports POSIX/XSI format strings with
8655 dnl positions.
8656
8657 AC_DEFUN([gt_PRINTF_POSIX],
8658 [
8659 AC_REQUIRE([AC_PROG_CC])
8660 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
8661 gt_cv_func_printf_posix,
8662 [
8663 AC_TRY_RUN([
8664 #include <stdio.h>
8665 #include <string.h>
8666 /* The string "%2$d %1$d", with dollar characters protected from the shell's
8667 dollar expansion (possibly an autoconf bug). */
8668 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8669 static char buf[100];
8670 int main ()
8671 {
8672 sprintf (buf, format, 33, 55);
8673 return (strcmp (buf, "55 33") != 0);
8674 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
8675 [
8676 AC_EGREP_CPP(notposix, [
8677 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8678 notposix
8679 #endif
8680 ], gt_cv_func_printf_posix="guessing no",
8681 gt_cv_func_printf_posix="guessing yes")
8682 ])
8683 ])
8684 case $gt_cv_func_printf_posix in
8685 *yes)
8686 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
8687 [Define if your printf() function supports format strings with positions.])
8688 ;;
8689 esac
8690 ])
8691
8692 # glibc21.m4 serial 3
8693 dnl Copyright (C) 2000-2002, 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 # Test for the GNU C Library, version 2.1 or newer.
8699 # From Bruno Haible.
8700
8701 AC_DEFUN([gl_GLIBC21],
8702 [
8703 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
8704 ac_cv_gnu_library_2_1,
8705 [AC_EGREP_CPP([Lucky GNU user],
8706 [
8707 #include <features.h>
8708 #ifdef __GNU_LIBRARY__
8709 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
8710 Lucky GNU user
8711 #endif
8712 #endif
8713 ],
8714 ac_cv_gnu_library_2_1=yes,
8715 ac_cv_gnu_library_2_1=no)
8716 ]
8717 )
8718 AC_SUBST(GLIBC21)
8719 GLIBC21="$ac_cv_gnu_library_2_1"
8720 ]
8721 )
8722
8723 # intdiv0.m4 serial 1 (gettext-0.11.3)
8724 dnl Copyright (C) 2002 Free Software Foundation, Inc.
8725 dnl This file is free software; the Free Software Foundation
8726 dnl gives unlimited permission to copy and/or distribute it,
8727 dnl with or without modifications, as long as this notice is preserved.
8728
8729 dnl From Bruno Haible.
8730
8731 AC_DEFUN([gt_INTDIV0],
8732 [
8733 AC_REQUIRE([AC_PROG_CC])dnl
8734 AC_REQUIRE([AC_CANONICAL_HOST])dnl
8735
8736 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
8737 gt_cv_int_divbyzero_sigfpe,
8738 [
8739 AC_TRY_RUN([
8740 #include <stdlib.h>
8741 #include <signal.h>
8742
8743 static void
8744 #ifdef __cplusplus
8745 sigfpe_handler (int sig)
8746 #else
8747 sigfpe_handler (sig) int sig;
8748 #endif
8749 {
8750 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
8751 exit (sig != SIGFPE);
8752 }
8753
8754 int x = 1;
8755 int y = 0;
8756 int z;
8757 int nan;
8758
8759 int main ()
8760 {
8761 signal (SIGFPE, sigfpe_handler);
8762 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
8763 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
8764 signal (SIGTRAP, sigfpe_handler);
8765 #endif
8766 /* Linux/SPARC yields signal SIGILL. */
8767 #if defined (__sparc__) && defined (__linux__)
8768 signal (SIGILL, sigfpe_handler);
8769 #endif
8770
8771 z = x / y;
8772 nan = y / y;
8773 exit (1);
8774 }
8775 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
8776 [
8777 # Guess based on the CPU.
8778 case "$host_cpu" in
8779 alpha* | i[34567]86 | m68k | s390*)
8780 gt_cv_int_divbyzero_sigfpe="guessing yes";;
8781 *)
8782 gt_cv_int_divbyzero_sigfpe="guessing no";;
8783 esac
8784 ])
8785 ])
8786 case "$gt_cv_int_divbyzero_sigfpe" in
8787 *yes) value=1;;
8788 *) value=0;;
8789 esac
8790 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
8791 [Define if integer division by zero raises signal SIGFPE.])
8792 ])
8793
8794 # uintmax_t.m4 serial 9
8795 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8796 dnl This file is free software; the Free Software Foundation
8797 dnl gives unlimited permission to copy and/or distribute it,
8798 dnl with or without modifications, as long as this notice is preserved.
8799
8800 dnl From Paul Eggert.
8801
8802 AC_PREREQ(2.13)
8803
8804 # Define uintmax_t to 'unsigned long' or 'unsigned long long'
8805 # if it is not already defined in <stdint.h> or <inttypes.h>.
8806
8807 AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
8808 [
8809 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
8810 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
8811 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
8812 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
8813 test $ac_cv_type_unsigned_long_long = yes \
8814 && ac_type='unsigned long long' \
8815 || ac_type='unsigned long'
8816 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
8817 [Define to unsigned long or unsigned long long
8818 if <stdint.h> and <inttypes.h> don't define.])
8819 else
8820 AC_DEFINE(HAVE_UINTMAX_T, 1,
8821 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
8822 fi
8823 ])
8824
8825 # ulonglong.m4 serial 4
8826 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8827 dnl This file is free software; the Free Software Foundation
8828 dnl gives unlimited permission to copy and/or distribute it,
8829 dnl with or without modifications, as long as this notice is preserved.
8830
8831 dnl From Paul Eggert.
8832
8833 # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
8834
8835 AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
8836 [
8837 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
8838 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
8839 [unsigned long long ullmax = (unsigned long long) -1;
8840 return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
8841 ac_cv_type_unsigned_long_long=yes,
8842 ac_cv_type_unsigned_long_long=no)])
8843 if test $ac_cv_type_unsigned_long_long = yes; then
8844 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
8845 [Define if you have the 'unsigned long long' type.])
8846 fi
8847 ])
8848
8849 # inttypes.m4 serial 1 (gettext-0.11.4)
8850 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
8851 dnl This file is free software; the Free Software Foundation
8852 dnl gives unlimited permission to copy and/or distribute it,
8853 dnl with or without modifications, as long as this notice is preserved.
8854
8855 dnl From Paul Eggert.
8856
8857 # Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
8858 # <sys/types.h>.
8859
8860 AC_DEFUN([gt_HEADER_INTTYPES_H],
8861 [
8862 AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
8863 [
8864 AC_TRY_COMPILE(
8865 [#include <sys/types.h>
8866 #include <inttypes.h>],
8867 [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
8868 ])
8869 if test $gt_cv_header_inttypes_h = yes; then
8870 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
8871 [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
8872 fi
8873 ])
8874
8875 # inttypes-pri.m4 serial 1 (gettext-0.11.4)
8876 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
8877 dnl This file is free software; the Free Software Foundation
8878 dnl gives unlimited permission to copy and/or distribute it,
8879 dnl with or without modifications, as long as this notice is preserved.
8880
8881 dnl From Bruno Haible.
8882
8883 # Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
8884 # macros to non-string values. This is the case on AIX 4.3.3.
8885
8886 AC_DEFUN([gt_INTTYPES_PRI],
8887 [
8888 AC_REQUIRE([gt_HEADER_INTTYPES_H])
8889 if test $gt_cv_header_inttypes_h = yes; then
8890 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
8891 gt_cv_inttypes_pri_broken,
8892 [
8893 AC_TRY_COMPILE([#include <inttypes.h>
8894 #ifdef PRId32
8895 char *p = PRId32;
8896 #endif
8897 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
8898 ])
8899 fi
8900 if test "$gt_cv_inttypes_pri_broken" = yes; then
8901 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
8902 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
8903 fi
8904 ])
8905
8906 # xsize.m4 serial 3
8907 dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
8908 dnl This file is free software; the Free Software Foundation
8909 dnl gives unlimited permission to copy and/or distribute it,
8910 dnl with or without modifications, as long as this notice is preserved.
8911
8912 AC_DEFUN([gl_XSIZE],
8913 [
8914 dnl Prerequisites of lib/xsize.h.
8915 AC_REQUIRE([gl_SIZE_MAX])
8916 AC_REQUIRE([AC_C_INLINE])
8917 AC_CHECK_HEADERS(stdint.h)
89188843 ])
89198844
89208845 # size_max.m4 serial 2
89778902 fi
89788903 ])
89798904
8980 # codeset.m4 serial AM1 (gettext-0.10.40)
8981 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
8905 # stdint_h.m4 serial 5
8906 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
89828907 dnl This file is free software; the Free Software Foundation
89838908 dnl gives unlimited permission to copy and/or distribute it,
89848909 dnl with or without modifications, as long as this notice is preserved.
89858910
8986 dnl From Bruno Haible.
8987
8988 AC_DEFUN([AM_LANGINFO_CODESET],
8911 dnl From Paul Eggert.
8912
8913 # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
8914 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8915
8916 AC_DEFUN([gl_AC_HEADER_STDINT_H],
89898917 [
8990 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
8991 [AC_TRY_LINK([#include <langinfo.h>],
8992 [char* cs = nl_langinfo(CODESET);],
8993 am_cv_langinfo_codeset=yes,
8994 am_cv_langinfo_codeset=no)
8995 ])
8996 if test $am_cv_langinfo_codeset = yes; then
8997 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
8998 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
8918 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
8919 [AC_TRY_COMPILE(
8920 [#include <sys/types.h>
8921 #include <stdint.h>],
8922 [uintmax_t i = (uintmax_t) -1;],
8923 gl_cv_header_stdint_h=yes,
8924 gl_cv_header_stdint_h=no)])
8925 if test $gl_cv_header_stdint_h = yes; then
8926 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
8927 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
8928 and declares uintmax_t. ])
89998929 fi
90008930 ])
90018931
9002 # lcmessage.m4 serial 4 (gettext-0.14.2)
9003 dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
8932 # uintmax_t.m4 serial 9
8933 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
90048934 dnl This file is free software; the Free Software Foundation
90058935 dnl gives unlimited permission to copy and/or distribute it,
90068936 dnl with or without modifications, as long as this notice is preserved.
9007 dnl
9008 dnl This file can can be used in projects which are not available under
9009 dnl the GNU General Public License or the GNU Library General Public
9010 dnl License but which still want to provide support for the GNU gettext
9011 dnl functionality.
9012 dnl Please note that the actual code of the GNU gettext library is covered
9013 dnl by the GNU Library General Public License, and the rest of the GNU
9014 dnl gettext package package is covered by the GNU General Public License.
9015 dnl They are *not* in the public domain.
9016
9017 dnl Authors:
9018 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
9019
9020 # Check whether LC_MESSAGES is available in <locale.h>.
9021
9022 AC_DEFUN([gt_LC_MESSAGES],
8937
8938 dnl From Paul Eggert.
8939
8940 AC_PREREQ(2.13)
8941
8942 # Define uintmax_t to 'unsigned long' or 'unsigned long long'
8943 # if it is not already defined in <stdint.h> or <inttypes.h>.
8944
8945 AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
90238946 [
9024 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
9025 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
9026 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
9027 if test $gt_cv_val_LC_MESSAGES = yes; then
9028 AC_DEFINE(HAVE_LC_MESSAGES, 1,
9029 [Define if your <locale.h> file defines LC_MESSAGES.])
8947 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
8948 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
8949 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
8950 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
8951 test $ac_cv_type_unsigned_long_long = yes \
8952 && ac_type='unsigned long long' \
8953 || ac_type='unsigned long'
8954 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
8955 [Define to unsigned long or unsigned long long
8956 if <stdint.h> and <inttypes.h> don't define.])
8957 else
8958 AC_DEFINE(HAVE_UINTMAX_T, 1,
8959 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
90308960 fi
90318961 ])
90328962
8963 # ulonglong.m4 serial 4
8964 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8965 dnl This file is free software; the Free Software Foundation
8966 dnl gives unlimited permission to copy and/or distribute it,
8967 dnl with or without modifications, as long as this notice is preserved.
8968
8969 dnl From Paul Eggert.
8970
8971 # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
8972
8973 AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
8974 [
8975 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
8976 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
8977 [unsigned long long ullmax = (unsigned long long) -1;
8978 return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
8979 ac_cv_type_unsigned_long_long=yes,
8980 ac_cv_type_unsigned_long_long=no)])
8981 if test $ac_cv_type_unsigned_long_long = yes; then
8982 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
8983 [Define if you have the 'unsigned long long' type.])
8984 fi
8985 ])
8986
8987 # wchar_t.m4 serial 1 (gettext-0.12)
8988 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8989 dnl This file is free software; the Free Software Foundation
8990 dnl gives unlimited permission to copy and/or distribute it,
8991 dnl with or without modifications, as long as this notice is preserved.
8992
8993 dnl From Bruno Haible.
8994 dnl Test whether <stddef.h> has the 'wchar_t' type.
8995 dnl Prerequisite: AC_PROG_CC
8996
8997 AC_DEFUN([gt_TYPE_WCHAR_T],
8998 [
8999 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
9000 [AC_TRY_COMPILE([#include <stddef.h>
9001 wchar_t foo = (wchar_t)'\0';], ,
9002 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
9003 if test $gt_cv_c_wchar_t = yes; then
9004 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
9005 fi
9006 ])
9007
9008 # wint_t.m4 serial 1 (gettext-0.12)
9009 dnl Copyright (C) 2003 Free Software Foundation, Inc.
9010 dnl This file is free software; the Free Software Foundation
9011 dnl gives unlimited permission to copy and/or distribute it,
9012 dnl with or without modifications, as long as this notice is preserved.
9013
9014 dnl From Bruno Haible.
9015 dnl Test whether <wchar.h> has the 'wint_t' type.
9016 dnl Prerequisite: AC_PROG_CC
9017
9018 AC_DEFUN([gt_TYPE_WINT_T],
9019 [
9020 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
9021 [AC_TRY_COMPILE([#include <wchar.h>
9022 wint_t foo = (wchar_t)'\0';], ,
9023 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
9024 if test $gt_cv_c_wint_t = yes; then
9025 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
9026 fi
9027 ])
9028
9029 # xsize.m4 serial 3
9030 dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
9031 dnl This file is free software; the Free Software Foundation
9032 dnl gives unlimited permission to copy and/or distribute it,
9033 dnl with or without modifications, as long as this notice is preserved.
9034
9035 AC_DEFUN([gl_XSIZE],
9036 [
9037 dnl Prerequisites of lib/xsize.h.
9038 AC_REQUIRE([gl_SIZE_MAX])
9039 AC_REQUIRE([AC_C_INLINE])
9040 AC_CHECK_HEADERS(stdint.h)
9041 ])
9042
9043 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
9044 #
9045 # This file is free software; the Free Software Foundation
9046 # gives unlimited permission to copy and/or distribute it,
9047 # with or without modifications, as long as this notice is preserved.
9048
9049 # AM_AUTOMAKE_VERSION(VERSION)
9050 # ----------------------------
9051 # Automake X.Y traces this macro to ensure aclocal.m4 has been
9052 # generated from the m4 files accompanying Automake X.Y.
9053 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
9054
9055 # AM_SET_CURRENT_AUTOMAKE_VERSION
9056 # -------------------------------
9057 # Call AM_AUTOMAKE_VERSION so it can be traced.
9058 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
9059 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9060 [AM_AUTOMAKE_VERSION([1.9.6])])
9061
9062 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9063
9064 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9065 #
9066 # This file is free software; the Free Software Foundation
9067 # gives unlimited permission to copy and/or distribute it,
9068 # with or without modifications, as long as this notice is preserved.
9069
9070 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9071 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
9072 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9073 #
9074 # Of course, Automake must honor this variable whenever it calls a
9075 # tool from the auxiliary directory. The problem is that $srcdir (and
9076 # therefore $ac_aux_dir as well) can be either absolute or relative,
9077 # depending on how configure is run. This is pretty annoying, since
9078 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
9079 # source directory, any form will work fine, but in subdirectories a
9080 # relative path needs to be adjusted first.
9081 #
9082 # $ac_aux_dir/missing
9083 # fails when called from a subdirectory if $ac_aux_dir is relative
9084 # $top_srcdir/$ac_aux_dir/missing
9085 # fails if $ac_aux_dir is absolute,
9086 # fails when called from a subdirectory in a VPATH build with
9087 # a relative $ac_aux_dir
9088 #
9089 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9090 # are both prefixed by $srcdir. In an in-source build this is usually
9091 # harmless because $srcdir is `.', but things will broke when you
9092 # start a VPATH build or use an absolute $srcdir.
9093 #
9094 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9095 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
9096 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
9097 # and then we would define $MISSING as
9098 # MISSING="\${SHELL} $am_aux_dir/missing"
9099 # This will work as long as MISSING is not called from configure, because
9100 # unfortunately $(top_srcdir) has no meaning in configure.
9101 # However there are other variables, like CC, which are often used in
9102 # configure, and could therefore not use this "fixed" $ac_aux_dir.
9103 #
9104 # Another solution, used here, is to always expand $ac_aux_dir to an
9105 # absolute PATH. The drawback is that using absolute paths prevent a
9106 # configured tree to be moved without reconfiguration.
9107
9108 AC_DEFUN([AM_AUX_DIR_EXPAND],
9109 [dnl Rely on autoconf to set up CDPATH properly.
9110 AC_PREREQ([2.50])dnl
9111 # expand $ac_aux_dir to an absolute path
9112 am_aux_dir=`cd $ac_aux_dir && pwd`
9113 ])
9114
9115 # AM_CONDITIONAL -*- Autoconf -*-
9116
9117 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
9118 # Free Software Foundation, Inc.
9119 #
9120 # This file is free software; the Free Software Foundation
9121 # gives unlimited permission to copy and/or distribute it,
9122 # with or without modifications, as long as this notice is preserved.
9123
9124 # serial 7
9125
9126 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9127 # -------------------------------------
9128 # Define a conditional.
9129 AC_DEFUN([AM_CONDITIONAL],
9130 [AC_PREREQ(2.52)dnl
9131 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9132 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9133 AC_SUBST([$1_TRUE])
9134 AC_SUBST([$1_FALSE])
9135 if $2; then
9136 $1_TRUE=
9137 $1_FALSE='#'
9138 else
9139 $1_TRUE='#'
9140 $1_FALSE=
9141 fi
9142 AC_CONFIG_COMMANDS_PRE(
9143 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9144 AC_MSG_ERROR([[conditional "$1" was never defined.
9145 Usually this means the macro was only invoked conditionally.]])
9146 fi])])
9147
9148
9149 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9150 # Free Software Foundation, Inc.
9151 #
9152 # This file is free software; the Free Software Foundation
9153 # gives unlimited permission to copy and/or distribute it,
9154 # with or without modifications, as long as this notice is preserved.
9155
9156 # serial 8
9157
9158 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9159 # written in clear, in which case automake, when reading aclocal.m4,
9160 # will think it sees a *use*, and therefore will trigger all it's
9161 # C support machinery. Also note that it means that autoscan, seeing
9162 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
9163
9164
9165 # _AM_DEPENDENCIES(NAME)
9166 # ----------------------
9167 # See how the compiler implements dependency checking.
9168 # NAME is "CC", "CXX", "GCJ", or "OBJC".
9169 # We try a few techniques and use that to set a single cache variable.
9170 #
9171 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9172 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
9173 # dependency, and given that the user is not expected to run this macro,
9174 # just rely on AC_PROG_CC.
9175 AC_DEFUN([_AM_DEPENDENCIES],
9176 [AC_REQUIRE([AM_SET_DEPDIR])dnl
9177 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
9178 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9179 AC_REQUIRE([AM_DEP_TRACK])dnl
9180
9181 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
9182 [$1], CXX, [depcc="$CXX" am_compiler_list=],
9183 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9184 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9185 [depcc="$$1" am_compiler_list=])
9186
9187 AC_CACHE_CHECK([dependency style of $depcc],
9188 [am_cv_$1_dependencies_compiler_type],
9189 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9190 # We make a subdir and do the tests there. Otherwise we can end up
9191 # making bogus files that we don't know about and never remove. For
9192 # instance it was reported that on HP-UX the gcc test will end up
9193 # making a dummy file named `D' -- because `-MD' means `put the output
9194 # in D'.
9195 mkdir conftest.dir
9196 # Copy depcomp to subdir because otherwise we won't find it if we're
9197 # using a relative directory.
9198 cp "$am_depcomp" conftest.dir
9199 cd conftest.dir
9200 # We will build objects and dependencies in a subdirectory because
9201 # it helps to detect inapplicable dependency modes. For instance
9202 # both Tru64's cc and ICC support -MD to output dependencies as a
9203 # side effect of compilation, but ICC will put the dependencies in
9204 # the current directory while Tru64 will put them in the object
9205 # directory.
9206 mkdir sub
9207
9208 am_cv_$1_dependencies_compiler_type=none
9209 if test "$am_compiler_list" = ""; then
9210 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9211 fi
9212 for depmode in $am_compiler_list; do
9213 # Setup a source with many dependencies, because some compilers
9214 # like to wrap large dependency lists on column 80 (with \), and
9215 # we should not choose a depcomp mode which is confused by this.
9216 #
9217 # We need to recreate these files for each test, as the compiler may
9218 # overwrite some of them when testing with obscure command lines.
9219 # This happens at least with the AIX C compiler.
9220 : > sub/conftest.c
9221 for i in 1 2 3 4 5 6; do
9222 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9223 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9224 # Solaris 8's {/usr,}/bin/sh.
9225 touch sub/conftst$i.h
9226 done
9227 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9228
9229 case $depmode in
9230 nosideeffect)
9231 # after this tag, mechanisms are not by side-effect, so they'll
9232 # only be used when explicitly requested
9233 if test "x$enable_dependency_tracking" = xyes; then
9234 continue
9235 else
9236 break
9237 fi
9238 ;;
9239 none) break ;;
9240 esac
9241 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9242 # mode. It turns out that the SunPro C++ compiler does not properly
9243 # handle `-M -o', and we need to detect this.
9244 if depmode=$depmode \
9245 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9246 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9247 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9248 >/dev/null 2>conftest.err &&
9249 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9250 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9251 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9252 # icc doesn't choke on unknown options, it will just issue warnings
9253 # or remarks (even with -Werror). So we grep stderr for any message
9254 # that says an option was ignored or not supported.
9255 # When given -MP, icc 7.0 and 7.1 complain thusly:
9256 # icc: Command line warning: ignoring option '-M'; no argument required
9257 # The diagnosis changed in icc 8.0:
9258 # icc: Command line remark: option '-MP' not supported
9259 if (grep 'ignoring option' conftest.err ||
9260 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9261 am_cv_$1_dependencies_compiler_type=$depmode
9262 break
9263 fi
9264 fi
9265 done
9266
9267 cd ..
9268 rm -rf conftest.dir
9269 else
9270 am_cv_$1_dependencies_compiler_type=none
9271 fi
9272 ])
9273 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9274 AM_CONDITIONAL([am__fastdep$1], [
9275 test "x$enable_dependency_tracking" != xno \
9276 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9277 ])
9278
9279
9280 # AM_SET_DEPDIR
9281 # -------------
9282 # Choose a directory name for dependency files.
9283 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
9284 AC_DEFUN([AM_SET_DEPDIR],
9285 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9286 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
9287 ])
9288
9289
9290 # AM_DEP_TRACK
9291 # ------------
9292 AC_DEFUN([AM_DEP_TRACK],
9293 [AC_ARG_ENABLE(dependency-tracking,
9294 [ --disable-dependency-tracking speeds up one-time build
9295 --enable-dependency-tracking do not reject slow dependency extractors])
9296 if test "x$enable_dependency_tracking" != xno; then
9297 am_depcomp="$ac_aux_dir/depcomp"
9298 AMDEPBACKSLASH='\'
9299 fi
9300 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9301 AC_SUBST([AMDEPBACKSLASH])
9302 ])
9303
9304 # Generate code to set up dependency tracking. -*- Autoconf -*-
9305
9306 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9307 # Free Software Foundation, Inc.
9308 #
9309 # This file is free software; the Free Software Foundation
9310 # gives unlimited permission to copy and/or distribute it,
9311 # with or without modifications, as long as this notice is preserved.
9312
9313 #serial 3
9314
9315 # _AM_OUTPUT_DEPENDENCY_COMMANDS
9316 # ------------------------------
9317 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9318 [for mf in $CONFIG_FILES; do
9319 # Strip MF so we end up with the name of the file.
9320 mf=`echo "$mf" | sed -e 's/:.*$//'`
9321 # Check whether this is an Automake generated Makefile or not.
9322 # We used to match only the files named `Makefile.in', but
9323 # some people rename them; so instead we look at the file content.
9324 # Grep'ing the first line is not enough: some people post-process
9325 # each Makefile.in and add a new line on top of each file to say so.
9326 # So let's grep whole file.
9327 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9328 dirpart=`AS_DIRNAME("$mf")`
9329 else
9330 continue
9331 fi
9332 # Extract the definition of DEPDIR, am__include, and am__quote
9333 # from the Makefile without running `make'.
9334 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9335 test -z "$DEPDIR" && continue
9336 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9337 test -z "am__include" && continue
9338 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9339 # When using ansi2knr, U may be empty or an underscore; expand it
9340 U=`sed -n 's/^U = //p' < "$mf"`
9341 # Find all dependency output files, they are included files with
9342 # $(DEPDIR) in their names. We invoke sed twice because it is the
9343 # simplest approach to changing $(DEPDIR) to its actual value in the
9344 # expansion.
9345 for file in `sed -n "
9346 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9347 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9348 # Make sure the directory exists.
9349 test -f "$dirpart/$file" && continue
9350 fdir=`AS_DIRNAME(["$file"])`
9351 AS_MKDIR_P([$dirpart/$fdir])
9352 # echo "creating $dirpart/$file"
9353 echo '# dummy' > "$dirpart/$file"
9354 done
9355 done
9356 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9357
9358
9359 # AM_OUTPUT_DEPENDENCY_COMMANDS
9360 # -----------------------------
9361 # This macro should only be invoked once -- use via AC_REQUIRE.
9362 #
9363 # This code is only required when automatic dependency tracking
9364 # is enabled. FIXME. This creates each `.P' file that we will
9365 # need in order to bootstrap the dependency handling code.
9366 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
9367 [AC_CONFIG_COMMANDS([depfiles],
9368 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9369 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9370 ])
9371
9372 # Do all the work for Automake. -*- Autoconf -*-
9373
9374 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9375 # Free Software Foundation, Inc.
9376 #
9377 # This file is free software; the Free Software Foundation
9378 # gives unlimited permission to copy and/or distribute it,
9379 # with or without modifications, as long as this notice is preserved.
9380
9381 # serial 12
9382
9383 # This macro actually does too much. Some checks are only needed if
9384 # your package does certain things. But this isn't really a big deal.
9385
9386 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9387 # AM_INIT_AUTOMAKE([OPTIONS])
9388 # -----------------------------------------------
9389 # The call with PACKAGE and VERSION arguments is the old style
9390 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9391 # and VERSION should now be passed to AC_INIT and removed from
9392 # the call to AM_INIT_AUTOMAKE.
9393 # We support both call styles for the transition. After
9394 # the next Automake release, Autoconf can make the AC_INIT
9395 # arguments mandatory, and then we can depend on a new Autoconf
9396 # release and drop the old call support.
9397 AC_DEFUN([AM_INIT_AUTOMAKE],
9398 [AC_PREREQ([2.58])dnl
9399 dnl Autoconf wants to disallow AM_ names. We explicitly allow
9400 dnl the ones we care about.
9401 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9402 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
9403 AC_REQUIRE([AC_PROG_INSTALL])dnl
9404 # test to see if srcdir already configured
9405 if test "`cd $srcdir && pwd`" != "`pwd`" &&
9406 test -f $srcdir/config.status; then
9407 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
9408 fi
9409
9410 # test whether we have cygpath
9411 if test -z "$CYGPATH_W"; then
9412 if (cygpath --version) >/dev/null 2>/dev/null; then
9413 CYGPATH_W='cygpath -w'
9414 else
9415 CYGPATH_W=echo
9416 fi
9417 fi
9418 AC_SUBST([CYGPATH_W])
9419
9420 # Define the identity of the package.
9421 dnl Distinguish between old-style and new-style calls.
9422 m4_ifval([$2],
9423 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9424 AC_SUBST([PACKAGE], [$1])dnl
9425 AC_SUBST([VERSION], [$2])],
9426 [_AM_SET_OPTIONS([$1])dnl
9427 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
9428 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
9429
9430 _AM_IF_OPTION([no-define],,
9431 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
9432 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
9433
9434 # Some tools Automake needs.
9435 AC_REQUIRE([AM_SANITY_CHECK])dnl
9436 AC_REQUIRE([AC_ARG_PROGRAM])dnl
9437 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
9438 AM_MISSING_PROG(AUTOCONF, autoconf)
9439 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9440 AM_MISSING_PROG(AUTOHEADER, autoheader)
9441 AM_MISSING_PROG(MAKEINFO, makeinfo)
9442 AM_PROG_INSTALL_SH
9443 AM_PROG_INSTALL_STRIP
9444 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9445 # We need awk for the "check" target. The system "awk" is bad on
9446 # some platforms.
9447 AC_REQUIRE([AC_PROG_AWK])dnl
9448 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9449 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9450 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9451 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9452 [_AM_PROG_TAR([v7])])])
9453 _AM_IF_OPTION([no-dependencies],,
9454 [AC_PROVIDE_IFELSE([AC_PROG_CC],
9455 [_AM_DEPENDENCIES(CC)],
9456 [define([AC_PROG_CC],
9457 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9458 AC_PROVIDE_IFELSE([AC_PROG_CXX],
9459 [_AM_DEPENDENCIES(CXX)],
9460 [define([AC_PROG_CXX],
9461 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9462 ])
9463 ])
9464
9465
9466 # When config.status generates a header, we must update the stamp-h file.
9467 # This file resides in the same directory as the config header
9468 # that is generated. The stamp files are numbered to have different names.
9469
9470 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
9471 # loop where config.status creates the headers, so we can generate
9472 # our stamp files there.
9473 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
9474 [# Compute $1's index in $config_headers.
9475 _am_stamp_count=1
9476 for _am_header in $config_headers :; do
9477 case $_am_header in
9478 $1 | $1:* )
9479 break ;;
9480 * )
9481 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9482 esac
9483 done
9484 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
9485
9486 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9487 #
9488 # This file is free software; the Free Software Foundation
9489 # gives unlimited permission to copy and/or distribute it,
9490 # with or without modifications, as long as this notice is preserved.
9491
9492 # AM_PROG_INSTALL_SH
9493 # ------------------
9494 # Define $install_sh.
9495 AC_DEFUN([AM_PROG_INSTALL_SH],
9496 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9497 install_sh=${install_sh-"$am_aux_dir/install-sh"}
9498 AC_SUBST(install_sh)])
9499
9500 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
9501 #
9502 # This file is free software; the Free Software Foundation
9503 # gives unlimited permission to copy and/or distribute it,
9504 # with or without modifications, as long as this notice is preserved.
9505
9506 # serial 2
9507
9508 # Check whether the underlying file-system supports filenames
9509 # with a leading dot. For instance MS-DOS doesn't.
9510 AC_DEFUN([AM_SET_LEADING_DOT],
9511 [rm -rf .tst 2>/dev/null
9512 mkdir .tst 2>/dev/null
9513 if test -d .tst; then
9514 am__leading_dot=.
9515 else
9516 am__leading_dot=_
9517 fi
9518 rmdir .tst 2>/dev/null
9519 AC_SUBST([am__leading_dot])])
9520
9521 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9522 # From Jim Meyering
9523
9524 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9525 # Free Software Foundation, Inc.
9526 #
9527 # This file is free software; the Free Software Foundation
9528 # gives unlimited permission to copy and/or distribute it,
9529 # with or without modifications, as long as this notice is preserved.
9530
9531 # serial 4
9532
9533 AC_DEFUN([AM_MAINTAINER_MODE],
9534 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9535 dnl maintainer-mode is disabled by default
9536 AC_ARG_ENABLE(maintainer-mode,
9537 [ --enable-maintainer-mode enable make rules and dependencies not useful
9538 (and sometimes confusing) to the casual installer],
9539 USE_MAINTAINER_MODE=$enableval,
9540 USE_MAINTAINER_MODE=no)
9541 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9542 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9543 MAINT=$MAINTAINER_MODE_TRUE
9544 AC_SUBST(MAINT)dnl
9545 ]
9546 )
9547
9548 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
9549
9550 # Check to see how 'make' treats includes. -*- Autoconf -*-
9551
9552 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
9553 #
9554 # This file is free software; the Free Software Foundation
9555 # gives unlimited permission to copy and/or distribute it,
9556 # with or without modifications, as long as this notice is preserved.
9557
9558 # serial 3
9559
9560 # AM_MAKE_INCLUDE()
9561 # -----------------
9562 # Check to see how make treats includes.
9563 AC_DEFUN([AM_MAKE_INCLUDE],
9564 [am_make=${MAKE-make}
9565 cat > confinc << 'END'
9566 am__doit:
9567 @echo done
9568 .PHONY: am__doit
9569 END
9570 # If we don't find an include directive, just comment out the code.
9571 AC_MSG_CHECKING([for style of include used by $am_make])
9572 am__include="#"
9573 am__quote=
9574 _am_result=none
9575 # First try GNU make style include.
9576 echo "include confinc" > confmf
9577 # We grep out `Entering directory' and `Leaving directory'
9578 # messages which can occur if `w' ends up in MAKEFLAGS.
9579 # In particular we don't look at `^make:' because GNU make might
9580 # be invoked under some other name (usually "gmake"), in which
9581 # case it prints its new name instead of `make'.
9582 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9583 am__include=include
9584 am__quote=
9585 _am_result=GNU
9586 fi
9587 # Now try BSD make style include.
9588 if test "$am__include" = "#"; then
9589 echo '.include "confinc"' > confmf
9590 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9591 am__include=.include
9592 am__quote="\""
9593 _am_result=BSD
9594 fi
9595 fi
9596 AC_SUBST([am__include])
9597 AC_SUBST([am__quote])
9598 AC_MSG_RESULT([$_am_result])
9599 rm -f confinc confmf
9600 ])
9601
9602 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9603
9604 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
9605 # Free Software Foundation, Inc.
9606 #
9607 # This file is free software; the Free Software Foundation
9608 # gives unlimited permission to copy and/or distribute it,
9609 # with or without modifications, as long as this notice is preserved.
9610
9611 # serial 4
9612
9613 # AM_MISSING_PROG(NAME, PROGRAM)
9614 # ------------------------------
9615 AC_DEFUN([AM_MISSING_PROG],
9616 [AC_REQUIRE([AM_MISSING_HAS_RUN])
9617 $1=${$1-"${am_missing_run}$2"}
9618 AC_SUBST($1)])
9619
9620
9621 # AM_MISSING_HAS_RUN
9622 # ------------------
9623 # Define MISSING if not defined so far and test if it supports --run.
9624 # If it does, set am_missing_run to use it, otherwise, to nothing.
9625 AC_DEFUN([AM_MISSING_HAS_RUN],
9626 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9627 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
9628 # Use eval to expand $SHELL
9629 if eval "$MISSING --run true"; then
9630 am_missing_run="$MISSING --run "
9631 else
9632 am_missing_run=
9633 AC_MSG_WARN([`missing' script is too old or missing])
9634 fi
9635 ])
9636
9637 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
9638 #
9639 # This file is free software; the Free Software Foundation
9640 # gives unlimited permission to copy and/or distribute it,
9641 # with or without modifications, as long as this notice is preserved.
9642
9643 # AM_PROG_MKDIR_P
9644 # ---------------
9645 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
9646 #
9647 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
9648 # created by `make install' are always world readable, even if the
9649 # installer happens to have an overly restrictive umask (e.g. 077).
9650 # This was a mistake. There are at least two reasons why we must not
9651 # use `-m 0755':
9652 # - it causes special bits like SGID to be ignored,
9653 # - it may be too restrictive (some setups expect 775 directories).
9654 #
9655 # Do not use -m 0755 and let people choose whatever they expect by
9656 # setting umask.
9657 #
9658 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
9659 # Some implementations (such as Solaris 8's) are not thread-safe: if a
9660 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
9661 # concurrently, both version can detect that a/ is missing, but only
9662 # one can create it and the other will error out. Consequently we
9663 # restrict ourselves to GNU make (using the --version option ensures
9664 # this.)
9665 AC_DEFUN([AM_PROG_MKDIR_P],
9666 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
9667 # We used to keeping the `.' as first argument, in order to
9668 # allow $(mkdir_p) to be used without argument. As in
9669 # $(mkdir_p) $(somedir)
9670 # where $(somedir) is conditionally defined. However this is wrong
9671 # for two reasons:
9672 # 1. if the package is installed by a user who cannot write `.'
9673 # make install will fail,
9674 # 2. the above comment should most certainly read
9675 # $(mkdir_p) $(DESTDIR)$(somedir)
9676 # so it does not work when $(somedir) is undefined and
9677 # $(DESTDIR) is not.
9678 # To support the latter case, we have to write
9679 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
9680 # so the `.' trick is pointless.
9681 mkdir_p='mkdir -p --'
9682 else
9683 # On NextStep and OpenStep, the `mkdir' command does not
9684 # recognize any option. It will interpret all options as
9685 # directories to create, and then abort because `.' already
9686 # exists.
9687 for d in ./-p ./--version;
9688 do
9689 test -d $d && rmdir $d
9690 done
9691 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
9692 if test -f "$ac_aux_dir/mkinstalldirs"; then
9693 mkdir_p='$(mkinstalldirs)'
9694 else
9695 mkdir_p='$(install_sh) -d'
9696 fi
9697 fi
9698 AC_SUBST([mkdir_p])])
9699
9700 # Helper functions for option handling. -*- Autoconf -*-
9701
9702 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
9703 #
9704 # This file is free software; the Free Software Foundation
9705 # gives unlimited permission to copy and/or distribute it,
9706 # with or without modifications, as long as this notice is preserved.
9707
9708 # serial 3
9709
9710 # _AM_MANGLE_OPTION(NAME)
9711 # -----------------------
9712 AC_DEFUN([_AM_MANGLE_OPTION],
9713 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9714
9715 # _AM_SET_OPTION(NAME)
9716 # ------------------------------
9717 # Set option NAME. Presently that only means defining a flag for this option.
9718 AC_DEFUN([_AM_SET_OPTION],
9719 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
9720
9721 # _AM_SET_OPTIONS(OPTIONS)
9722 # ----------------------------------
9723 # OPTIONS is a space-separated list of Automake options.
9724 AC_DEFUN([_AM_SET_OPTIONS],
9725 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9726
9727 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9728 # -------------------------------------------
9729 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9730 AC_DEFUN([_AM_IF_OPTION],
9731 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9732
9733 # Check to make sure that the build environment is sane. -*- Autoconf -*-
9734
9735 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 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 4
9743
9744 # AM_SANITY_CHECK
9745 # ---------------
9746 AC_DEFUN([AM_SANITY_CHECK],
9747 [AC_MSG_CHECKING([whether build environment is sane])
9748 # Just in case
9749 sleep 1
9750 echo timestamp > conftest.file
9751 # Do `set' in a subshell so we don't clobber the current shell's
9752 # arguments. Must try -L first in case configure is actually a
9753 # symlink; some systems play weird games with the mod time of symlinks
9754 # (eg FreeBSD returns the mod time of the symlink's containing
9755 # directory).
9756 if (
9757 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9758 if test "$[*]" = "X"; then
9759 # -L didn't work.
9760 set X `ls -t $srcdir/configure conftest.file`
9761 fi
9762 rm -f conftest.file
9763 if test "$[*]" != "X $srcdir/configure conftest.file" \
9764 && test "$[*]" != "X conftest.file $srcdir/configure"; then
9765
9766 # If neither matched, then we have a broken ls. This can happen
9767 # if, for instance, CONFIG_SHELL is bash and it inherits a
9768 # broken ls alias from the environment. This has actually
9769 # happened. Such a system could not be considered "sane".
9770 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
9771 alias in your environment])
9772 fi
9773
9774 test "$[2]" = conftest.file
9775 )
9776 then
9777 # Ok.
9778 :
9779 else
9780 AC_MSG_ERROR([newly created file is older than distributed files!
9781 Check your system clock])
9782 fi
9783 AC_MSG_RESULT(yes)])
9784
9785 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9786 #
9787 # This file is free software; the Free Software Foundation
9788 # gives unlimited permission to copy and/or distribute it,
9789 # with or without modifications, as long as this notice is preserved.
9790
9791 # AM_PROG_INSTALL_STRIP
9792 # ---------------------
9793 # One issue with vendor `install' (even GNU) is that you can't
9794 # specify the program used to strip binaries. This is especially
9795 # annoying in cross-compiling environments, where the build's strip
9796 # is unlikely to handle the host's binaries.
9797 # Fortunately install-sh will honor a STRIPPROG variable, so we
9798 # always use install-sh in `make install-strip', and initialize
9799 # STRIPPROG with the value of the STRIP variable (set by the user).
9800 AC_DEFUN([AM_PROG_INSTALL_STRIP],
9801 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9802 # Installed binaries are usually stripped using `strip' when the user
9803 # run `make install-strip'. However `strip' might not be the right
9804 # tool to use in cross-compilation environments, therefore Automake
9805 # will honor the `STRIP' environment variable to overrule this program.
9806 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
9807 if test "$cross_compiling" != no; then
9808 AC_CHECK_TOOL([STRIP], [strip], :)
9809 fi
9810 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
9811 AC_SUBST([INSTALL_STRIP_PROGRAM])])
9812
9813 # Check how to create a tarball. -*- Autoconf -*-
9814
9815 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
9816 #
9817 # This file is free software; the Free Software Foundation
9818 # gives unlimited permission to copy and/or distribute it,
9819 # with or without modifications, as long as this notice is preserved.
9820
9821 # serial 2
9822
9823 # _AM_PROG_TAR(FORMAT)
9824 # --------------------
9825 # Check how to create a tarball in format FORMAT.
9826 # FORMAT should be one of `v7', `ustar', or `pax'.
9827 #
9828 # Substitute a variable $(am__tar) that is a command
9829 # writing to stdout a FORMAT-tarball containing the directory
9830 # $tardir.
9831 # tardir=directory && $(am__tar) > result.tar
9832 #
9833 # Substitute a variable $(am__untar) that extract such
9834 # a tarball read from stdin.
9835 # $(am__untar) < result.tar
9836 AC_DEFUN([_AM_PROG_TAR],
9837 [# Always define AMTAR for backward compatibility.
9838 AM_MISSING_PROG([AMTAR], [tar])
9839 m4_if([$1], [v7],
9840 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
9841 [m4_case([$1], [ustar],, [pax],,
9842 [m4_fatal([Unknown tar format])])
9843 AC_MSG_CHECKING([how to create a $1 tar archive])
9844 # Loop over all known methods to create a tar archive until one works.
9845 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
9846 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
9847 # Do not fold the above two line into one, because Tru64 sh and
9848 # Solaris sh will not grok spaces in the rhs of `-'.
9849 for _am_tool in $_am_tools
9850 do
9851 case $_am_tool in
9852 gnutar)
9853 for _am_tar in tar gnutar gtar;
9854 do
9855 AM_RUN_LOG([$_am_tar --version]) && break
9856 done
9857 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
9858 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
9859 am__untar="$_am_tar -xf -"
9860 ;;
9861 plaintar)
9862 # Must skip GNU tar: if it does not support --format= it doesn't create
9863 # ustar tarball either.
9864 (tar --version) >/dev/null 2>&1 && continue
9865 am__tar='tar chf - "$$tardir"'
9866 am__tar_='tar chf - "$tardir"'
9867 am__untar='tar xf -'
9868 ;;
9869 pax)
9870 am__tar='pax -L -x $1 -w "$$tardir"'
9871 am__tar_='pax -L -x $1 -w "$tardir"'
9872 am__untar='pax -r'
9873 ;;
9874 cpio)
9875 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
9876 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
9877 am__untar='cpio -i -H $1 -d'
9878 ;;
9879 none)
9880 am__tar=false
9881 am__tar_=false
9882 am__untar=false
9883 ;;
9884 esac
9885
9886 # If the value was cached, stop now. We just wanted to have am__tar
9887 # and am__untar set.
9888 test -n "${am_cv_prog_tar_$1}" && break
9889
9890 # tar/untar a dummy directory, and stop if the command works
9891 rm -rf conftest.dir
9892 mkdir conftest.dir
9893 echo GrepMe > conftest.dir/file
9894 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
9895 rm -rf conftest.dir
9896 if test -s conftest.tar; then
9897 AM_RUN_LOG([$am__untar <conftest.tar])
9898 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
9899 fi
9900 done
9901 rm -rf conftest.dir
9902
9903 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
9904 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
9905 AC_SUBST([am__tar])
9906 AC_SUBST([am__untar])
9907 ]) # _AM_PROG_TAR
9908
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 CPP = @CPP@
73 CPPFLAGS = @CPPFLAGS@
6774 CXX = @CXX@
6875 CXXCPP = @CXXCPP@
76 CXXDEPMODE = @CXXDEPMODE@
77 CXXFLAGS = @CXXFLAGS@
78 CYGPATH_W = @CYGPATH_W@
6979 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
80 DEFS = @DEFS@
81 DEPDIR = @DEPDIR@
7182 ECHO = @ECHO@
83 ECHO_C = @ECHO_C@
84 ECHO_N = @ECHO_N@
85 ECHO_T = @ECHO_T@
7286 EGREP = @EGREP@
7387 EXEEXT = @EXEEXT@
7488 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
89 FFLAGS = @FFLAGS@
7790 GENCAT = @GENCAT@
7891 GLIBC2 = @GLIBC2@
7992 GLIBC21 = @GLIBC21@
8093 GMSGFMT = @GMSGFMT@
8194 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8395 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8496 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8597 HAVE_WPRINTF = @HAVE_WPRINTF@
98 INSTALL_DATA = @INSTALL_DATA@
99 INSTALL_PROGRAM = @INSTALL_PROGRAM@
100 INSTALL_SCRIPT = @INSTALL_SCRIPT@
101 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86102 INSTOBJEXT = @INSTOBJEXT@
87103 INTLBISON = @INTLBISON@
88104 INTLLIBS = @INTLLIBS@
89105 INTLOBJS = @INTLOBJS@
90106 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91107 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
108 LDFLAGS = @LDFLAGS@
93109 LIBICONV = @LIBICONV@
94110 LIBINTL = @LIBINTL@
111 LIBOBJS = @LIBOBJS@
95112 LIBS = @LIBS@
96113 LIBTOOL = @LIBTOOL@
97114 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99115 LTLIBICONV = @LTLIBICONV@
100116 LTLIBINTL = @LTLIBINTL@
117 LTLIBOBJS = @LTLIBOBJS@
101118 MAINT = @MAINT@
119 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
120 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102121 MAKEINFO = @MAKEINFO@
103122 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
123 MSGFMT = @MSGFMT@
124 MSGMERGE = @MSGMERGE@
105125 OBJEXT = @OBJEXT@
106126 PACKAGE = @PACKAGE@
127 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
128 PACKAGE_NAME = @PACKAGE_NAME@
129 PACKAGE_STRING = @PACKAGE_STRING@
130 PACKAGE_TARNAME = @PACKAGE_TARNAME@
131 PACKAGE_VERSION = @PACKAGE_VERSION@
132 PATH_SEPARATOR = @PATH_SEPARATOR@
107133 PA_MODULES_PATH = @PA_MODULES_PATH@
108134 PA_VERSION = @PA_VERSION@
109135 PE_CFLAGS = @PE_CFLAGS@
114140 PY_MODULES_PATH = @PY_MODULES_PATH@
115141 PY_VERSION = @PY_VERSION@
116142 RANLIB = @RANLIB@
117 RC = @RC@
143 SET_MAKE = @SET_MAKE@
144 SHELL = @SHELL@
118145 STRIP = @STRIP@
119146 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120147 USE_NLS = @USE_NLS@
121148 VERSION = @VERSION@
122149 VERSION_INFO = @VERSION_INFO@
150 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
151 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
152 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
153 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
154 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
155 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
156 WITH_PERL_FALSE = @WITH_PERL_FALSE@
157 WITH_PERL_TRUE = @WITH_PERL_TRUE@
158 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
159 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
160 XGETTEXT = @XGETTEXT@
161 ac_ct_AR = @ac_ct_AR@
162 ac_ct_CC = @ac_ct_CC@
163 ac_ct_CXX = @ac_ct_CXX@
164 ac_ct_F77 = @ac_ct_F77@
165 ac_ct_RANLIB = @ac_ct_RANLIB@
166 ac_ct_STRIP = @ac_ct_STRIP@
167 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
168 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
169 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
170 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
171 am__include = @am__include@
172 am__leading_dot = @am__leading_dot@
173 am__quote = @am__quote@
174 am__tar = @am__tar@
175 am__untar = @am__untar@
176 bindir = @bindir@
177 build = @build@
178 build_alias = @build_alias@
179 build_cpu = @build_cpu@
180 build_os = @build_os@
181 build_vendor = @build_vendor@
182 datadir = @datadir@
183 exec_prefix = @exec_prefix@
123184 have_pascal = @have_pascal@
124185 have_perl = @have_perl@
125186 have_python = @have_python@
126187 have_swig = @have_swig@
127
188 host = @host@
189 host_alias = @host_alias@
190 host_cpu = @host_cpu@
191 host_os = @host_os@
192 host_vendor = @host_vendor@
193 includedir = @includedir@
194 infodir = @infodir@
195 install_sh = @install_sh@
196 libdir = @libdir@
197 libexecdir = @libexecdir@
198 localstatedir = @localstatedir@
199 mandir = @mandir@
200 mkdir_p = @mkdir_p@
201 oldincludedir = @oldincludedir@
202 prefix = @prefix@
203 program_transform_name = @program_transform_name@
204 sbindir = @sbindir@
205 sharedstatedir = @sharedstatedir@
206 sysconfdir = @sysconfdir@
207 target_alias = @target_alias@
128208 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
209 all: all-recursive
210
139211 .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
212 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
213 @for dep in $?; do \
214 case '$(am__configure_deps)' in \
215 *$$dep*) \
216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
217 && exit 0; \
218 exit 1;; \
219 esac; \
220 done; \
221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/Makefile'; \
222 cd $(top_srcdir) && \
223 $(AUTOMAKE) --gnu bindings/Makefile
224 .PRECIOUS: Makefile
225 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
226 @case '$?' in \
227 *config.status*) \
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
229 *) \
230 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
231 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
232 esac;
233
234 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
235 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
236
237 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
239 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
240 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
241
242 mostlyclean-libtool:
243 -rm -f *.lo
244
245 clean-libtool:
246 -rm -rf .libs _libs
247
248 distclean-libtool:
249 -rm -f libtool
250 uninstall-info-am:
147251
148252 # This directory's subdirectories are mostly independent; you can cd
149253 # into them and run `make' without going through this Makefile.
151255 # (1) if the variable is set in `config.status', edit `config.status'
152256 # (which will cause the Makefiles to be regenerated when you run `make');
153257 # (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; \
258 $(RECURSIVE_TARGETS):
259 @failcom='exit 1'; \
260 for f in x $$MAKEFLAGS; do \
261 case $$f in \
262 *=* | --[!k]*);; \
263 *k*) failcom='fail=yes';; \
264 esac; \
265 done; \
161266 dot_seen=no; \
162267 target=`echo $@ | sed s/-recursive//`; \
163268 list='$(SUBDIRS)'; for subdir in $$list; do \
169274 local_target="$$target"; \
170275 fi; \
171276 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
277 || eval $$failcom; \
173278 done; \
174279 if test "$$dot_seen" = "no"; then \
175280 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
177282
178283 mostlyclean-recursive clean-recursive distclean-recursive \
179284 maintainer-clean-recursive:
180 @set fnord $(MAKEFLAGS); amf=$$2; \
285 @failcom='exit 1'; \
286 for f in x $$MAKEFLAGS; do \
287 case $$f in \
288 *=* | --[!k]*);; \
289 *k*) failcom='fail=yes';; \
290 esac; \
291 done; \
181292 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
293 case "$@" in \
294 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
295 *) list='$(SUBDIRS)' ;; \
296 esac; \
297 rev=''; for subdir in $$list; do \
298 if test "$$subdir" = "."; then :; else \
299 rev="$$subdir $$rev"; \
300 fi; \
185301 done; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
302 rev="$$rev ."; \
187303 target=`echo $@ | sed s/-recursive//`; \
188304 for subdir in $$rev; do \
189305 echo "Making $$target in $$subdir"; \
193309 local_target="$$target"; \
194310 fi; \
195311 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
312 || eval $$failcom; \
197313 done && test -z "$$fail"
198314 tags-recursive:
199315 list='$(SUBDIRS)'; for subdir in $$list; do \
200316 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
201317 done
202
318 ctags-recursive:
319 list='$(SUBDIRS)'; for subdir in $$list; do \
320 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
321 done
322
323 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
324 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
325 unique=`for i in $$list; do \
326 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 done | \
328 $(AWK) ' { files[$$0] = 1; } \
329 END { for (i in files) print i; }'`; \
330 mkid -fID $$unique
203331 tags: TAGS
204332
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)
333 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
334 $(TAGS_FILES) $(LISP)
214335 tags=; \
215336 here=`pwd`; \
337 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
338 include_option=--etags-include; \
339 empty_fix=.; \
340 else \
341 include_option=--include; \
342 empty_fix=; \
343 fi; \
216344 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; \
345 if test "$$subdir" = .; then :; else \
346 test ! -f $$subdir/TAGS || \
347 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
348 fi; \
220349 done; \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
350 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
351 unique=`for i in $$list; do \
352 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
353 done | \
354 $(AWK) ' { files[$$0] = 1; } \
224355 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:
356 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
357 test -n "$$unique" || unique=$$empty_fix; \
358 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
359 $$tags $$unique; \
360 fi
361 ctags: CTAGS
362 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
363 $(TAGS_FILES) $(LISP)
364 tags=; \
365 here=`pwd`; \
366 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
367 unique=`for i in $$list; do \
368 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
369 done | \
370 $(AWK) ' { files[$$0] = 1; } \
371 END { for (i in files) print i; }'`; \
372 test -z "$(CTAGS_ARGS)$$tags$$unique" \
373 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
374 $$tags $$unique
375
376 GTAGS:
377 here=`$(am__cd) $(top_builddir) && pwd` \
378 && cd $(top_srcdir) \
379 && gtags -i $(GTAGS_ARGS) $$here
231380
232381 distclean-tags:
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = bindings
382 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
240383
241384 distdir: $(DISTFILES)
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
385 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
386 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
387 list='$(DISTFILES)'; for file in $$list; do \
388 case $$file in \
389 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
390 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
391 esac; \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
394 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
395 dir="/$$dir"; \
396 $(mkdir_p) "$(distdir)$$dir"; \
397 else \
398 dir=''; \
399 fi; \
244400 if test -d $$d/$$file; then \
245 cp -pr $$d/$$file $(distdir)/$$file; \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
403 fi; \
404 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
246405 else \
247406 test -f $(distdir)/$$file \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
407 || cp -p $$d/$$file $(distdir)/$$file \
408 || exit 1; \
250409 fi; \
251410 done
252 for subdir in $(SUBDIRS); do \
411 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
253412 if test "$$subdir" = .; then :; else \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
413 test -d "$(distdir)/$$subdir" \
414 || $(mkdir_p) "$(distdir)/$$subdir" \
256415 || exit 1; \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
416 distdir=`$(am__cd) $(distdir) && pwd`; \
417 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
418 (cd $$subdir && \
419 $(MAKE) $(AM_MAKEFLAGS) \
420 top_distdir="$$top_distdir" \
421 distdir="$$distdir/$$subdir" \
422 distdir) \
259423 || exit 1; \
260424 fi; \
261425 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
266426 check-am: all-am
267427 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
428 all-am: Makefile
429 installdirs: installdirs-recursive
430 installdirs-am:
431 install: install-recursive
271432 install-exec: install-exec-recursive
272
273 install-data-am:
274433 install-data: install-data-recursive
434 uninstall: uninstall-recursive
275435
276436 install-am: all-am
277437 @$(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
438
439 installcheck: installcheck-recursive
283440 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285 installdirs: installdirs-recursive
286 installdirs-am:
287
288
441 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
442 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
443 `test -z '$(STRIP)' || \
444 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
289445 mostlyclean-generic:
290446
291447 clean-generic:
292448
293449 distclean-generic:
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
450 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
296451
297452 maintainer-clean-generic:
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
453 @echo "This command is intended for maintainers to use"
454 @echo "it deletes files that may require special tools to rebuild."
455 clean: clean-recursive
456
457 clean-am: clean-generic clean-libtool mostlyclean-am
458
459 distclean: distclean-recursive
460 -rm -f Makefile
461 distclean-am: clean-am distclean-generic distclean-libtool \
462 distclean-tags
463
464 dvi: dvi-recursive
465
466 dvi-am:
467
468 html: html-recursive
469
470 info: info-recursive
471
472 info-am:
473
474 install-data-am:
475
476 install-exec-am:
477
478 install-info: install-info-recursive
479
480 install-man:
481
482 installcheck-am:
483
484 maintainer-clean: maintainer-clean-recursive
485 -rm -f Makefile
486 maintainer-clean-am: distclean-am maintainer-clean-generic
299487
300488 mostlyclean: mostlyclean-recursive
301489
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
490 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
491
492 pdf: pdf-recursive
493
494 pdf-am:
495
496 ps: ps-recursive
497
498 ps-am:
499
500 uninstall-am: uninstall-info-am
501
502 uninstall-info: uninstall-info-recursive
503
504 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
505 clean clean-generic clean-libtool clean-recursive ctags \
506 ctags-recursive distclean distclean-generic distclean-libtool \
507 distclean-recursive distclean-tags distdir dvi dvi-am html \
508 html-am info info-am install install-am install-data \
509 install-data-am install-exec install-exec-am install-info \
510 install-info-am install-man install-strip installcheck \
511 installcheck-am installdirs installdirs-am maintainer-clean \
512 maintainer-clean-generic maintainer-clean-recursive \
513 mostlyclean mostlyclean-generic mostlyclean-libtool \
514 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
515 uninstall uninstall-am uninstall-info-am
331516
332517 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333518 # 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 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6765 CXX = @CXX@
6866 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
6970 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
7173 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7277 EGREP = @EGREP@
7378 EXEEXT = @EXEEXT@
7479 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
80 FFLAGS = @FFLAGS@
7781 GENCAT = @GENCAT@
7882 GLIBC2 = @GLIBC2@
7983 GLIBC21 = @GLIBC21@
8084 GMSGFMT = @GMSGFMT@
8185 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8386 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8487 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8588 HAVE_WPRINTF = @HAVE_WPRINTF@
89 INSTALL_DATA = @INSTALL_DATA@
90 INSTALL_PROGRAM = @INSTALL_PROGRAM@
91 INSTALL_SCRIPT = @INSTALL_SCRIPT@
92 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8693 INSTOBJEXT = @INSTOBJEXT@
8794 INTLBISON = @INTLBISON@
8895 INTLLIBS = @INTLLIBS@
8996 INTLOBJS = @INTLOBJS@
9097 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9198 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
99 LDFLAGS = @LDFLAGS@
93100 LIBICONV = @LIBICONV@
94101 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
95103 LIBS = @LIBS@
96104 LIBTOOL = @LIBTOOL@
97105 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99106 LTLIBICONV = @LTLIBICONV@
100107 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
101109 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102112 MAKEINFO = @MAKEINFO@
103113 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
105116 OBJEXT = @OBJEXT@
106117 PACKAGE = @PACKAGE@
118 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
119 PACKAGE_NAME = @PACKAGE_NAME@
120 PACKAGE_STRING = @PACKAGE_STRING@
121 PACKAGE_TARNAME = @PACKAGE_TARNAME@
122 PACKAGE_VERSION = @PACKAGE_VERSION@
123 PATH_SEPARATOR = @PATH_SEPARATOR@
107124 PA_MODULES_PATH = @PA_MODULES_PATH@
108125 PA_VERSION = @PA_VERSION@
109126 PE_CFLAGS = @PE_CFLAGS@
114131 PY_MODULES_PATH = @PY_MODULES_PATH@
115132 PY_VERSION = @PY_VERSION@
116133 RANLIB = @RANLIB@
117 RC = @RC@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
118136 STRIP = @STRIP@
119137 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120138 USE_NLS = @USE_NLS@
121139 VERSION = @VERSION@
122140 VERSION_INFO = @VERSION_INFO@
141 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
142 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
143 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
144 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
145 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
146 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
147 WITH_PERL_FALSE = @WITH_PERL_FALSE@
148 WITH_PERL_TRUE = @WITH_PERL_TRUE@
149 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
150 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
151 XGETTEXT = @XGETTEXT@
152 ac_ct_AR = @ac_ct_AR@
153 ac_ct_CC = @ac_ct_CC@
154 ac_ct_CXX = @ac_ct_CXX@
155 ac_ct_F77 = @ac_ct_F77@
156 ac_ct_RANLIB = @ac_ct_RANLIB@
157 ac_ct_STRIP = @ac_ct_STRIP@
158 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
159 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
160 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
161 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
162 am__include = @am__include@
163 am__leading_dot = @am__leading_dot@
164 am__quote = @am__quote@
165 am__tar = @am__tar@
166 am__untar = @am__untar@
167 bindir = @bindir@
168 build = @build@
169 build_alias = @build_alias@
170 build_cpu = @build_cpu@
171 build_os = @build_os@
172 build_vendor = @build_vendor@
173 datadir = @datadir@
174 exec_prefix = @exec_prefix@
123175 have_pascal = @have_pascal@
124176 have_perl = @have_perl@
125177 have_python = @have_python@
126178 have_swig = @have_swig@
127
179 host = @host@
180 host_alias = @host_alias@
181 host_cpu = @host_cpu@
182 host_os = @host_os@
183 host_vendor = @host_vendor@
184 includedir = @includedir@
185 infodir = @infodir@
186 install_sh = @install_sh@
187 libdir = @libdir@
188 libexecdir = @libexecdir@
189 localstatedir = @localstatedir@
190 mandir = @mandir@
191 mkdir_p = @mkdir_p@
192 oldincludedir = @oldincludedir@
193 prefix = @prefix@
194 program_transform_name = @program_transform_name@
195 sbindir = @sbindir@
196 sharedstatedir = @sharedstatedir@
197 sysconfdir = @sysconfdir@
198 target_alias = @target_alias@
128199 EXTRA_DIST = Package.fpc hdate.pp hdate_class.pp fpc_README changelog
129
130200 @WITH_PASCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132201 @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
202 all: all-am
203
143204 .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
205 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
206 @for dep in $?; do \
207 case '$(am__configure_deps)' in \
208 *$$dep*) \
209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
210 && exit 0; \
211 exit 1;; \
212 esac; \
213 done; \
214 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/pascal/Makefile'; \
215 cd $(top_srcdir) && \
216 $(AUTOMAKE) --gnu bindings/pascal/Makefile
217 .PRECIOUS: Makefile
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219 @case '$?' in \
220 *config.status*) \
221 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
222 *) \
223 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
224 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
225 esac;
226
227 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
229
230 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
232 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
234
235 mostlyclean-libtool:
236 -rm -f *.lo
237
238 clean-libtool:
239 -rm -rf .libs _libs
240
241 distclean-libtool:
242 -rm -f libtool
243 uninstall-info-am:
151244 tags: TAGS
152245 TAGS:
153246
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/pascal
247 ctags: CTAGS
248 CTAGS:
249
158250
159251 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
252 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
253 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
254 list='$(DISTFILES)'; for file in $$list; do \
255 case $$file in \
256 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
257 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
258 esac; \
259 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
260 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
261 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
262 dir="/$$dir"; \
263 $(mkdir_p) "$(distdir)$$dir"; \
264 else \
265 dir=''; \
266 fi; \
162267 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
268 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
269 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
270 fi; \
271 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164272 else \
165273 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
168276 fi; \
169277 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174278 check-am: all-am
175279 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
280 all-am: Makefile
281 installdirs:
282 install: install-am
179283 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182284 install-data: install-data-am
285 uninstall: uninstall-am
183286
184287 install-am: all-am
185288 @$(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
289
290 installcheck: installcheck-am
191291 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
292 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
293 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
294 `test -z '$(STRIP)' || \
295 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196296 mostlyclean-generic:
197297
198298 clean-generic:
199299 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200300
201301 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204303
205304 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
305 @echo "This command is intended for maintainers to use"
306 @echo "it deletes files that may require special tools to rebuild."
307 @WITH_PASCAL_FALSE@install-data-local:
308 clean: clean-am
309
310 clean-am: clean-generic clean-libtool mostlyclean-am
311
312 distclean: distclean-am
313 -rm -f Makefile
314 distclean-am: clean-am distclean-generic distclean-libtool
315
316 dvi: dvi-am
317
318 dvi-am:
319
320 html: html-am
321
322 info: info-am
323
324 info-am:
325
326 install-data-am: install-data-local
327
328 install-exec-am:
329
330 install-info: install-info-am
331
332 install-man:
333
334 installcheck-am:
335
336 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
207339
208340 mostlyclean: mostlyclean-am
209341
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
342 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
343
344 pdf: pdf-am
345
346 pdf-am:
347
348 ps: ps-am
349
350 ps-am:
351
352 uninstall-am: uninstall-info-am
353
354 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
355 distclean distclean-generic distclean-libtool distdir dvi \
356 dvi-am html html-am info info-am install install-am \
357 install-data install-data-am install-data-local install-exec \
358 install-exec-am install-info install-info-am install-man \
359 install-strip installcheck installcheck-am installdirs \
360 maintainer-clean maintainer-clean-generic mostlyclean \
361 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
362 uninstall uninstall-am uninstall-info-am
231363
232364
233365 @WITH_PASCAL_TRUE@all-am: hdate.o hdate_class.o
246378 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) hdate_class.ppu $(DESTDIR)$(PA_MODULES_PATH)/hdate/hdate_class.ppu
247379 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) fpc_README $(DESTDIR)$(PA_MODULES_PATH)/hdate/fpc_README
248380 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) Package.fpc $(DESTDIR)$(PA_MODULES_PATH)/hdate/Package.fpc
249
250381 # Tell versions [3.59,3.63) of GNU make to not export all variables.
251382 # Otherwise a system limit (for SysV at least) may be exceeded.
252383 .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 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6765 CXX = @CXX@
6866 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
6970 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
7173 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7277 EGREP = @EGREP@
7378 EXEEXT = @EXEEXT@
7479 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
80 FFLAGS = @FFLAGS@
7781 GENCAT = @GENCAT@
7882 GLIBC2 = @GLIBC2@
7983 GLIBC21 = @GLIBC21@
8084 GMSGFMT = @GMSGFMT@
8185 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8386 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8487 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8588 HAVE_WPRINTF = @HAVE_WPRINTF@
89 INSTALL_DATA = @INSTALL_DATA@
90 INSTALL_PROGRAM = @INSTALL_PROGRAM@
91 INSTALL_SCRIPT = @INSTALL_SCRIPT@
92 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8693 INSTOBJEXT = @INSTOBJEXT@
8794 INTLBISON = @INTLBISON@
8895 INTLLIBS = @INTLLIBS@
8996 INTLOBJS = @INTLOBJS@
9097 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9198 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
99 LDFLAGS = @LDFLAGS@
93100 LIBICONV = @LIBICONV@
94101 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
95103 LIBS = @LIBS@
96104 LIBTOOL = @LIBTOOL@
97105 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99106 LTLIBICONV = @LTLIBICONV@
100107 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
101109 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102112 MAKEINFO = @MAKEINFO@
103113 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
105116 OBJEXT = @OBJEXT@
106117 PACKAGE = @PACKAGE@
118 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
119 PACKAGE_NAME = @PACKAGE_NAME@
120 PACKAGE_STRING = @PACKAGE_STRING@
121 PACKAGE_TARNAME = @PACKAGE_TARNAME@
122 PACKAGE_VERSION = @PACKAGE_VERSION@
123 PATH_SEPARATOR = @PATH_SEPARATOR@
107124 PA_MODULES_PATH = @PA_MODULES_PATH@
108125 PA_VERSION = @PA_VERSION@
109126 PE_CFLAGS = @PE_CFLAGS@
114131 PY_MODULES_PATH = @PY_MODULES_PATH@
115132 PY_VERSION = @PY_VERSION@
116133 RANLIB = @RANLIB@
117 RC = @RC@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
118136 STRIP = @STRIP@
119137 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120138 USE_NLS = @USE_NLS@
121139 VERSION = @VERSION@
122140 VERSION_INFO = @VERSION_INFO@
141 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
142 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
143 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
144 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
145 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
146 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
147 WITH_PERL_FALSE = @WITH_PERL_FALSE@
148 WITH_PERL_TRUE = @WITH_PERL_TRUE@
149 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
150 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
151 XGETTEXT = @XGETTEXT@
152 ac_ct_AR = @ac_ct_AR@
153 ac_ct_CC = @ac_ct_CC@
154 ac_ct_CXX = @ac_ct_CXX@
155 ac_ct_F77 = @ac_ct_F77@
156 ac_ct_RANLIB = @ac_ct_RANLIB@
157 ac_ct_STRIP = @ac_ct_STRIP@
158 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
159 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
160 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
161 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
162 am__include = @am__include@
163 am__leading_dot = @am__leading_dot@
164 am__quote = @am__quote@
165 am__tar = @am__tar@
166 am__untar = @am__untar@
167 bindir = @bindir@
168 build = @build@
169 build_alias = @build_alias@
170 build_cpu = @build_cpu@
171 build_os = @build_os@
172 build_vendor = @build_vendor@
173 datadir = @datadir@
174 exec_prefix = @exec_prefix@
123175 have_pascal = @have_pascal@
124176 have_perl = @have_perl@
125177 have_python = @have_python@
126178 have_swig = @have_swig@
127
179 host = @host@
180 host_alias = @host_alias@
181 host_cpu = @host_cpu@
182 host_os = @host_os@
183 host_vendor = @host_vendor@
184 includedir = @includedir@
185 infodir = @infodir@
186 install_sh = @install_sh@
187 libdir = @libdir@
188 libexecdir = @libexecdir@
189 localstatedir = @localstatedir@
190 mandir = @mandir@
191 mkdir_p = @mkdir_p@
192 oldincludedir = @oldincludedir@
193 prefix = @prefix@
194 program_transform_name = @program_transform_name@
195 sbindir = @sbindir@
196 sharedstatedir = @sharedstatedir@
197 sysconfdir = @sysconfdir@
198 target_alias = @target_alias@
128199 EXTRA_DIST = hdate.i
129
130200 @WITH_PERL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132201 @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
202 all: all-am
203
143204 .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
205 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
206 @for dep in $?; do \
207 case '$(am__configure_deps)' in \
208 *$$dep*) \
209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
210 && exit 0; \
211 exit 1;; \
212 esac; \
213 done; \
214 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/perl/Makefile'; \
215 cd $(top_srcdir) && \
216 $(AUTOMAKE) --gnu bindings/perl/Makefile
217 .PRECIOUS: Makefile
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219 @case '$?' in \
220 *config.status*) \
221 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
222 *) \
223 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
224 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
225 esac;
226
227 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
229
230 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
232 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
234
235 mostlyclean-libtool:
236 -rm -f *.lo
237
238 clean-libtool:
239 -rm -rf .libs _libs
240
241 distclean-libtool:
242 -rm -f libtool
243 uninstall-info-am:
151244 tags: TAGS
152245 TAGS:
153246
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/perl
247 ctags: CTAGS
248 CTAGS:
249
158250
159251 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
252 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
253 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
254 list='$(DISTFILES)'; for file in $$list; do \
255 case $$file in \
256 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
257 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
258 esac; \
259 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
260 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
261 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
262 dir="/$$dir"; \
263 $(mkdir_p) "$(distdir)$$dir"; \
264 else \
265 dir=''; \
266 fi; \
162267 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
268 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
269 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
270 fi; \
271 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164272 else \
165273 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
168276 fi; \
169277 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174278 check-am: all-am
175279 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
280 all-am: Makefile
281 installdirs:
282 install: install-am
179283 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182284 install-data: install-data-am
285 uninstall: uninstall-am
183286
184287 install-am: all-am
185288 @$(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
289
290 installcheck: installcheck-am
191291 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
292 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
293 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
294 `test -z '$(STRIP)' || \
295 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196296 mostlyclean-generic:
197297
198298 clean-generic:
199299 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200300
201301 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204303
205304 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
305 @echo "This command is intended for maintainers to use"
306 @echo "it deletes files that may require special tools to rebuild."
307 @WITH_PERL_FALSE@install-data-local:
308 clean: clean-am
309
310 clean-am: clean-generic clean-libtool mostlyclean-am
311
312 distclean: distclean-am
313 -rm -f Makefile
314 distclean-am: clean-am distclean-generic distclean-libtool
315
316 dvi: dvi-am
317
318 dvi-am:
319
320 html: html-am
321
322 info: info-am
323
324 info-am:
325
326 install-data-am: install-data-local
327
328 install-exec-am:
329
330 install-info: install-info-am
331
332 install-man:
333
334 installcheck-am:
335
336 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
207339
208340 mostlyclean: mostlyclean-am
209341
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
342 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
343
344 pdf: pdf-am
345
346 pdf-am:
347
348 ps: ps-am
349
350 ps-am:
351
352 uninstall-am: uninstall-info-am
353
354 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
355 distclean distclean-generic distclean-libtool distdir dvi \
356 dvi-am html html-am info info-am install install-am \
357 install-data install-data-am install-data-local install-exec \
358 install-exec-am install-info install-info-am install-man \
359 install-strip installcheck installcheck-am installdirs \
360 maintainer-clean maintainer-clean-generic mostlyclean \
361 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
362 uninstall uninstall-am uninstall-info-am
231363
232364
233365 @WITH_PERL_TRUE@all-am: hdate.so
243375 @WITH_PERL_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/
244376 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.so $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/hdate.so
245377 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.pm $(DESTDIR)$(PE_MODULES_PATH)/hdate.pm
246
247378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
248379 # Otherwise a system limit (for SysV at least) may be exceeded.
249380 .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 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6765 CXX = @CXX@
6866 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
6970 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
7173 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7277 EGREP = @EGREP@
7378 EXEEXT = @EXEEXT@
7479 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
80 FFLAGS = @FFLAGS@
7781 GENCAT = @GENCAT@
7882 GLIBC2 = @GLIBC2@
7983 GLIBC21 = @GLIBC21@
8084 GMSGFMT = @GMSGFMT@
8185 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8386 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8487 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8588 HAVE_WPRINTF = @HAVE_WPRINTF@
89 INSTALL_DATA = @INSTALL_DATA@
90 INSTALL_PROGRAM = @INSTALL_PROGRAM@
91 INSTALL_SCRIPT = @INSTALL_SCRIPT@
92 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8693 INSTOBJEXT = @INSTOBJEXT@
8794 INTLBISON = @INTLBISON@
8895 INTLLIBS = @INTLLIBS@
8996 INTLOBJS = @INTLOBJS@
9097 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9198 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
99 LDFLAGS = @LDFLAGS@
93100 LIBICONV = @LIBICONV@
94101 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
95103 LIBS = @LIBS@
96104 LIBTOOL = @LIBTOOL@
97105 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99106 LTLIBICONV = @LTLIBICONV@
100107 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
101109 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102112 MAKEINFO = @MAKEINFO@
103113 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
105116 OBJEXT = @OBJEXT@
106117 PACKAGE = @PACKAGE@
118 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
119 PACKAGE_NAME = @PACKAGE_NAME@
120 PACKAGE_STRING = @PACKAGE_STRING@
121 PACKAGE_TARNAME = @PACKAGE_TARNAME@
122 PACKAGE_VERSION = @PACKAGE_VERSION@
123 PATH_SEPARATOR = @PATH_SEPARATOR@
107124 PA_MODULES_PATH = @PA_MODULES_PATH@
108125 PA_VERSION = @PA_VERSION@
109126 PE_CFLAGS = @PE_CFLAGS@
114131 PY_MODULES_PATH = @PY_MODULES_PATH@
115132 PY_VERSION = @PY_VERSION@
116133 RANLIB = @RANLIB@
117 RC = @RC@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
118136 STRIP = @STRIP@
119137 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120138 USE_NLS = @USE_NLS@
121139 VERSION = @VERSION@
122140 VERSION_INFO = @VERSION_INFO@
141 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
142 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
143 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
144 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
145 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
146 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
147 WITH_PERL_FALSE = @WITH_PERL_FALSE@
148 WITH_PERL_TRUE = @WITH_PERL_TRUE@
149 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
150 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
151 XGETTEXT = @XGETTEXT@
152 ac_ct_AR = @ac_ct_AR@
153 ac_ct_CC = @ac_ct_CC@
154 ac_ct_CXX = @ac_ct_CXX@
155 ac_ct_F77 = @ac_ct_F77@
156 ac_ct_RANLIB = @ac_ct_RANLIB@
157 ac_ct_STRIP = @ac_ct_STRIP@
158 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
159 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
160 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
161 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
162 am__include = @am__include@
163 am__leading_dot = @am__leading_dot@
164 am__quote = @am__quote@
165 am__tar = @am__tar@
166 am__untar = @am__untar@
167 bindir = @bindir@
168 build = @build@
169 build_alias = @build_alias@
170 build_cpu = @build_cpu@
171 build_os = @build_os@
172 build_vendor = @build_vendor@
173 datadir = @datadir@
174 exec_prefix = @exec_prefix@
123175 have_pascal = @have_pascal@
124176 have_perl = @have_perl@
125177 have_python = @have_python@
126178 have_swig = @have_swig@
127
179 host = @host@
180 host_alias = @host_alias@
181 host_cpu = @host_cpu@
182 host_os = @host_os@
183 host_vendor = @host_vendor@
184 includedir = @includedir@
185 infodir = @infodir@
186 install_sh = @install_sh@
187 libdir = @libdir@
188 libexecdir = @libexecdir@
189 localstatedir = @localstatedir@
190 mandir = @mandir@
191 mkdir_p = @mkdir_p@
192 oldincludedir = @oldincludedir@
193 prefix = @prefix@
194 program_transform_name = @program_transform_name@
195 sbindir = @sbindir@
196 sharedstatedir = @sharedstatedir@
197 sysconfdir = @sysconfdir@
198 target_alias = @target_alias@
128199 EXTRA_DIST = hdate.i
129
130200 @WITH_PYTHON_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
132201 @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
202 all: all-am
203
143204 .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
205 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
206 @for dep in $?; do \
207 case '$(am__configure_deps)' in \
208 *$$dep*) \
209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
210 && exit 0; \
211 exit 1;; \
212 esac; \
213 done; \
214 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/python/Makefile'; \
215 cd $(top_srcdir) && \
216 $(AUTOMAKE) --gnu bindings/python/Makefile
217 .PRECIOUS: Makefile
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219 @case '$?' in \
220 *config.status*) \
221 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
222 *) \
223 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
224 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
225 esac;
226
227 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
229
230 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
232 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
234
235 mostlyclean-libtool:
236 -rm -f *.lo
237
238 clean-libtool:
239 -rm -rf .libs _libs
240
241 distclean-libtool:
242 -rm -f libtool
243 uninstall-info-am:
151244 tags: TAGS
152245 TAGS:
153246
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/python
247 ctags: CTAGS
248 CTAGS:
249
158250
159251 distdir: $(DISTFILES)
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
252 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
253 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
254 list='$(DISTFILES)'; for file in $$list; do \
255 case $$file in \
256 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
257 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
258 esac; \
259 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
260 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
261 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
262 dir="/$$dir"; \
263 $(mkdir_p) "$(distdir)$$dir"; \
264 else \
265 dir=''; \
266 fi; \
162267 if test -d $$d/$$file; then \
163 cp -pr $$d/$$file $(distdir)/$$file; \
268 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
269 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
270 fi; \
271 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
164272 else \
165273 test -f $(distdir)/$$file \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
168276 fi; \
169277 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
174278 check-am: all-am
175279 check: check-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
280 all-am: Makefile
281 installdirs:
282 install: install-am
179283 install-exec: install-exec-am
180
181 install-data-am: install-data-local
182284 install-data: install-data-am
285 uninstall: uninstall-am
183286
184287 install-am: all-am
185288 @$(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
289
290 installcheck: installcheck-am
191291 install-strip:
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
292 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
293 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
294 `test -z '$(STRIP)' || \
295 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
196296 mostlyclean-generic:
197297
198298 clean-generic:
199299 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
200300
201301 distclean-generic:
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
204303
205304 maintainer-clean-generic:
206 mostlyclean-am: mostlyclean-generic
305 @echo "This command is intended for maintainers to use"
306 @echo "it deletes files that may require special tools to rebuild."
307 @WITH_PYTHON_FALSE@install-data-local:
308 clean: clean-am
309
310 clean-am: clean-generic clean-libtool mostlyclean-am
311
312 distclean: distclean-am
313 -rm -f Makefile
314 distclean-am: clean-am distclean-generic distclean-libtool
315
316 dvi: dvi-am
317
318 dvi-am:
319
320 html: html-am
321
322 info: info-am
323
324 info-am:
325
326 install-data-am: install-data-local
327
328 install-exec-am:
329
330 install-info: install-info-am
331
332 install-man:
333
334 installcheck-am:
335
336 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
207339
208340 mostlyclean: mostlyclean-am
209341
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
342 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
343
344 pdf: pdf-am
345
346 pdf-am:
347
348 ps: ps-am
349
350 ps-am:
351
352 uninstall-am: uninstall-info-am
353
354 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
355 distclean distclean-generic distclean-libtool distdir dvi \
356 dvi-am html html-am info info-am install install-am \
357 install-data install-data-am install-data-local install-exec \
358 install-exec-am install-info install-info-am install-man \
359 install-strip installcheck installcheck-am installdirs \
360 maintainer-clean maintainer-clean-generic mostlyclean \
361 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
362 uninstall uninstall-am uninstall-info-am
231363
232364
233365 @WITH_PYTHON_TRUE@all-am: _hdate.so
243375 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PY_MODULES_PATH)
244376 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) _hdate.so $(DESTDIR)$(PY_MODULES_PATH)/_hdate.so
245377 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) hdate.py $(DESTDIR)$(PY_MODULES_PATH)/hdate.py
246
247378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
248379 # Otherwise a system limit (for SysV at least) may be exceeded.
249380 .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:
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
44
5 timestamp='2005-08-03'
5 timestamp='2006-02-23'
66
77 # This file is free software; you can redistribute it and/or modify it
88 # under the terms of the GNU General Public License as published by
105105 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
106106 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
107107 : ${TMPDIR=/tmp} ;
108 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
109109 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
110110 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
111111 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
205205 *:ekkoBSD:*:*)
206206 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
207207 exit ;;
208 *:SolidBSD:*:*)
209 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
210 exit ;;
208211 macppc:MirBSD:*:*)
209212 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
210213 exit ;;
763766 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
764767 exit ;;
765768 *:FreeBSD:*:*)
766 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
769 case ${UNAME_MACHINE} in
770 pc98)
771 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
772 *)
773 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
774 esac
767775 exit ;;
768776 i*:CYGWIN*:*)
769777 echo ${UNAME_MACHINE}-pc-cygwin
770778 exit ;;
771779 i*:MINGW*:*)
780 echo ${UNAME_MACHINE}-pc-mingw32
781 exit ;;
782 i*:MSYS_NT-*:*:*)
772783 echo ${UNAME_MACHINE}-pc-mingw32
773784 exit ;;
774785 i*:windows32*:*)
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*:[345]*)
793 echo i586-pc-interix${UNAME_RELEASE}
794 exit ;;
795 EM64T:Interix*:[345]*)
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
850864 #endif
851865 #endif
852866 EOF
853 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
867 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
868 /^CPU/{
869 s: ::g
870 p
871 }'`"
854872 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
855873 ;;
856874 mips64:Linux:*:*)
869887 #endif
870888 #endif
871889 EOF
872 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
890 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
891 /^CPU/{
892 s: ::g
893 p
894 }'`"
873895 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
874896 ;;
875897 or32:Linux:*:*)
917939 exit ;;
918940 sparc:Linux:*:* | sparc64:Linux:*:*)
919941 echo ${UNAME_MACHINE}-unknown-linux-gnu
942 exit ;;
943 vax:Linux:*:*)
944 echo ${UNAME_MACHINE}-dec-linux-gnu
920945 exit ;;
921946 x86_64:Linux:*:*)
922947 echo x86_64-unknown-linux-gnu
963988 LIBC=gnulibc1
964989 # endif
965990 #else
966 #ifdef __INTEL_COMPILER
991 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
967992 LIBC=gnu
968993 #else
969994 LIBC=gnuaout
973998 LIBC=dietlibc
974999 #endif
9751000 EOF
976 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1001 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1002 /^LIBC/{
1003 s: ::g
1004 p
1005 }'`"
9771006 test x"${LIBC}" != x && {
9781007 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
9791008 exit
11841213 *:Darwin:*:*)
11851214 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
11861215 case $UNAME_PROCESSOR in
1187 *86) UNAME_PROCESSOR=i686 ;;
11881216 unknown) UNAME_PROCESSOR=powerpc ;;
11891217 esac
11901218 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12621290 exit ;;
12631291 i*86:skyos:*:*)
12641292 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1293 exit ;;
1294 i*86:rdos:*:*)
1295 echo ${UNAME_MACHINE}-pc-rdos
12651296 exit ;;
12661297 esac
12671298
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
44
5 timestamp='2005-07-08'
5 timestamp='2006-02-23'
66
77 # This file is (in principle) common to ALL GNU software.
88 # The presence of a machine in this file suggests that SOME GNU software
118118 # Here we must recognize all the valid KERNEL-OS combinations.
119119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120120 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*)
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
122 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
123 storm-chaos* | os2-emx* | rtmk-nova*)
123124 os=-$maybe_os
124125 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125126 ;;
170171 -hiux*)
171172 os=-hiuxwe2
172173 ;;
174 -sco6)
175 os=-sco5v6
176 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
177 ;;
173178 -sco5)
174179 os=-sco3.2v5
175180 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183188 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
184189 ;;
185190 -sco3.2v[4-9]*)
191 # Don't forget version if it is 3.2v4 or newer.
192 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -sco5v6*)
186195 # Don't forget version if it is 3.2v4 or newer.
187196 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188197 ;;
238247 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
239248 | i370 | i860 | i960 | ia64 \
240249 | ip2k | iq2000 \
241 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
250 | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
242251 | mips | mipsbe | mipseb | mipsel | mipsle \
243252 | mips16 \
244253 | mips64 | mips64el \
256265 | mipsisa64sr71k | mipsisa64sr71kel \
257266 | mipstx39 | mipstx39el \
258267 | mn10200 | mn10300 \
259 | ms1 \
268 | mt \
260269 | msp430 \
270 | nios | nios2 \
261271 | ns16k | ns32k \
262272 | or32 \
263273 | pdp10 | pdp11 | pj | pjl \
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'
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-* \
695709 basic_machine=i386-pc
696710 os=-msdos
697711 ;;
712 ms1-*)
713 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
714 ;;
698715 mvs)
699716 basic_machine=i370-ibm
700717 os=-mvs
802819 pc532 | pc532-*)
803820 basic_machine=ns32k-pc532
804821 ;;
822 pc98)
823 basic_machine=i386-pc
824 ;;
825 pc98-*)
826 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
827 ;;
805828 pentium | p5 | k5 | k6 | nexgen | viac3)
806829 basic_machine=i586-pc
807830 ;;
857880 pw32)
858881 basic_machine=i586-unknown
859882 os=-pw32
883 ;;
884 rdos)
885 basic_machine=i386-pc
886 os=-rdos
860887 ;;
861888 rom68k)
862889 basic_machine=m68k-rom68k
11731200 | -aos* \
11741201 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11751202 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1176 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1203 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1204 | -openbsd* | -solidbsd* \
11771205 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
11781206 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
11791207 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
11801208 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
11811209 | -chorusos* | -chorusrdb* \
11821210 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1183 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1211 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1212 | -uxpv* | -beos* | -mpeix* | -udk* \
11841213 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11851214 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11861215 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11871216 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
11881217 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
11891218 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1190 | -skyos* | -haiku*)
1219 | -skyos* | -haiku* | -rdos*)
11911220 # Remember, each alternative MUST END IN *, to match a version number.
11921221 ;;
11931222 -qnx*)
462462 # include <unistd.h>
463463 #endif"
464464
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'
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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'
466466 ac_subst_files=''
467467
468468 # Initialize some variables set by options.
10221022 Optional Features:
10231023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10241024 --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
1025 --enable-maintainer-mode enable make rules and dependencies not useful
1026 (and sometimes confusing) to the casual installer
1027 --disable-dependency-tracking speeds up one-time build
1028 --enable-dependency-tracking do not reject slow dependency extractors
10271029 --enable-shared[=PKGS]
10281030 build shared libraries [default=yes]
10291031 --enable-static[=PKGS]
15121514 PACKAGE=libhdate
15131515 LIBHDATE_MAJOR_VERSION=1
15141516 LIBHDATE_MINOR_VERSION=4
1515 LIBHDATE_MICRO_VERSION=2
1517 LIBHDATE_MICRO_VERSION=3
15161518
15171519 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
15181520 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
15191521
15201522
15211523
1522 am__api_version="1.4"
1524 am__api_version="1.9"
15231525 ac_aux_dir=
15241526 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
15251527 if test -f $ac_dir/install-sh; then
16281630 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
16291631 # Just in case
16301632 sleep 1
1631 echo timestamp > conftestfile
1633 echo timestamp > conftest.file
16321634 # Do `set' in a subshell so we don't clobber the current shell's
16331635 # arguments. Must try -L first in case configure is actually a
16341636 # symlink; some systems play weird games with the mod time of symlinks
16351637 # (eg FreeBSD returns the mod time of the symlink's containing
16361638 # directory).
16371639 if (
1638 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1640 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
16391641 if test "$*" = "X"; then
16401642 # -L didn't work.
1641 set X `ls -t $srcdir/configure conftestfile`
1643 set X `ls -t $srcdir/configure conftest.file`
16421644 fi
1643 if test "$*" != "X $srcdir/configure conftestfile" \
1644 && test "$*" != "X conftestfile $srcdir/configure"; then
1645 rm -f conftest.file
1646 if test "$*" != "X $srcdir/configure conftest.file" \
1647 && test "$*" != "X conftest.file $srcdir/configure"; then
16451648
16461649 # If neither matched, then we have a broken ls. This can happen
16471650 # if, for instance, CONFIG_SHELL is bash and it inherits a
16541657 { (exit 1); exit 1; }; }
16551658 fi
16561659
1657 test "$2" = conftestfile
1660 test "$2" = conftest.file
16581661 )
16591662 then
16601663 # Ok.
16661669 Check your system clock" >&2;}
16671670 { (exit 1); exit 1; }; }
16681671 fi
1669 rm -f conftest*
16701672 echo "$as_me:$LINENO: result: yes" >&5
16711673 echo "${ECHO_T}yes" >&6
16721674 test "$program_prefix" != NONE &&
16821684 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16831685 rm conftest.sed
16841686
1687 # expand $ac_aux_dir to an absolute path
1688 am_aux_dir=`cd $ac_aux_dir && pwd`
1689
1690 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1691 # Use eval to expand $SHELL
1692 if eval "$MISSING --run true"; then
1693 am_missing_run="$MISSING --run "
1694 else
1695 am_missing_run=
1696 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1697 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1698 fi
1699
1700 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1701 # We used to keeping the `.' as first argument, in order to
1702 # allow $(mkdir_p) to be used without argument. As in
1703 # $(mkdir_p) $(somedir)
1704 # where $(somedir) is conditionally defined. However this is wrong
1705 # for two reasons:
1706 # 1. if the package is installed by a user who cannot write `.'
1707 # make install will fail,
1708 # 2. the above comment should most certainly read
1709 # $(mkdir_p) $(DESTDIR)$(somedir)
1710 # so it does not work when $(somedir) is undefined and
1711 # $(DESTDIR) is not.
1712 # To support the latter case, we have to write
1713 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1714 # so the `.' trick is pointless.
1715 mkdir_p='mkdir -p --'
1716 else
1717 # On NextStep and OpenStep, the `mkdir' command does not
1718 # recognize any option. It will interpret all options as
1719 # directories to create, and then abort because `.' already
1720 # exists.
1721 for d in ./-p ./--version;
1722 do
1723 test -d $d && rmdir $d
1724 done
1725 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1726 if test -f "$ac_aux_dir/mkinstalldirs"; then
1727 mkdir_p='$(mkinstalldirs)'
1728 else
1729 mkdir_p='$(install_sh) -d'
1730 fi
1731 fi
1732
1733 for ac_prog in gawk mawk nawk awk
1734 do
1735 # Extract the first word of "$ac_prog", so it can be a program name with args.
1736 set dummy $ac_prog; ac_word=$2
1737 echo "$as_me:$LINENO: checking for $ac_word" >&5
1738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1739 if test "${ac_cv_prog_AWK+set}" = set; then
1740 echo $ECHO_N "(cached) $ECHO_C" >&6
1741 else
1742 if test -n "$AWK"; then
1743 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1744 else
1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 for as_dir in $PATH
1747 do
1748 IFS=$as_save_IFS
1749 test -z "$as_dir" && as_dir=.
1750 for ac_exec_ext in '' $ac_executable_extensions; do
1751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1752 ac_cv_prog_AWK="$ac_prog"
1753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1754 break 2
1755 fi
1756 done
1757 done
1758
1759 fi
1760 fi
1761 AWK=$ac_cv_prog_AWK
1762 if test -n "$AWK"; then
1763 echo "$as_me:$LINENO: result: $AWK" >&5
1764 echo "${ECHO_T}$AWK" >&6
1765 else
1766 echo "$as_me:$LINENO: result: no" >&5
1767 echo "${ECHO_T}no" >&6
1768 fi
1769
1770 test -n "$AWK" && break
1771 done
1772
16851773 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16861774 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
16871775 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
17111799 SET_MAKE="MAKE=${MAKE-make}"
17121800 fi
17131801
1714
1715 PACKAGE=$PACKAGE
1716
1717 VERSION=$VERSION
1718
1719 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1802 rm -rf .tst 2>/dev/null
1803 mkdir .tst 2>/dev/null
1804 if test -d .tst; then
1805 am__leading_dot=.
1806 else
1807 am__leading_dot=_
1808 fi
1809 rmdir .tst 2>/dev/null
1810
1811 # test to see if srcdir already configured
1812 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1813 test -f $srcdir/config.status; then
17201814 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
17211815 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
17221816 { (exit 1); exit 1; }; }
17231817 fi
17241818
1819 # test whether we have cygpath
1820 if test -z "$CYGPATH_W"; then
1821 if (cygpath --version) >/dev/null 2>/dev/null; then
1822 CYGPATH_W='cygpath -w'
1823 else
1824 CYGPATH_W=echo
1825 fi
1826 fi
1827
1828
1829 # Define the identity of the package.
1830 PACKAGE=$PACKAGE
1831 VERSION=$VERSION
1832
1833
17251834 cat >>confdefs.h <<_ACEOF
17261835 #define PACKAGE "$PACKAGE"
17271836 _ACEOF
17311840 #define VERSION "$VERSION"
17321841 _ACEOF
17331842
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
1843 # Some tools Automake needs.
1844
1845 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1846
1847
1848 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1849
1850
1851 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1852
1853
1854 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1855
1856
1857 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1858
1859 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1860
1861 # Installed binaries are usually stripped using `strip' when the user
1862 # run `make install-strip'. However `strip' might not be the right
1863 # tool to use in cross-compilation environments, therefore Automake
1864 # will honor the `STRIP' environment variable to overrule this program.
1865 if test "$cross_compiling" != no; then
1866 if test -n "$ac_tool_prefix"; then
1867 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1868 set dummy ${ac_tool_prefix}strip; ac_word=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_STRIP+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 else
1874 if test -n "$STRIP"; then
1875 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1876 else
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 for as_dir in $PATH
1879 do
1880 IFS=$as_save_IFS
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 break 2
1887 fi
1888 done
1889 done
1890
1891 fi
1892 fi
1893 STRIP=$ac_cv_prog_STRIP
1894 if test -n "$STRIP"; then
1895 echo "$as_me:$LINENO: result: $STRIP" >&5
1896 echo "${ECHO_T}$STRIP" >&6
1897 else
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1900 fi
1901
1902 fi
1903 if test -z "$ac_cv_prog_STRIP"; then
1904 ac_ct_STRIP=$STRIP
1905 # Extract the first word of "strip", so it can be a program name with args.
1906 set dummy strip; ac_word=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 else
1912 if test -n "$ac_ct_STRIP"; then
1913 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1914 else
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 for as_dir in $PATH
1917 do
1918 IFS=$as_save_IFS
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_ac_ct_STRIP="strip"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 break 2
1925 fi
1926 done
1927 done
1928
1929 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1930 fi
1931 fi
1932 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1933 if test -n "$ac_ct_STRIP"; then
1934 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1935 echo "${ECHO_T}$ac_ct_STRIP" >&6
1936 else
1937 echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6
1939 fi
1940
1941 STRIP=$ac_ct_STRIP
1942 else
1943 STRIP="$ac_cv_prog_STRIP"
1944 fi
1945
1946 fi
1947 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1948
1949 # We need awk for the "check" target. The system "awk" is bad on
1950 # some platforms.
1951 # Always define AMTAR for backward compatibility.
1952
1953 AMTAR=${AMTAR-"${am_missing_run}tar"}
1954
1955 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1956
1957
1958
18111959
18121960
18131961 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
18301978 MAINTAINER_MODE_TRUE='#'
18311979 MAINTAINER_MODE_FALSE=
18321980 fi
1981
18331982 MAINT=$MAINTAINER_MODE_TRUE
1983
1984
1985
1986 DEPDIR="${am__leading_dot}deps"
1987
1988 ac_config_commands="$ac_config_commands depfiles"
1989
1990
1991 am_make=${MAKE-make}
1992 cat > confinc << 'END'
1993 am__doit:
1994 @echo done
1995 .PHONY: am__doit
1996 END
1997 # If we don't find an include directive, just comment out the code.
1998 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1999 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2000 am__include="#"
2001 am__quote=
2002 _am_result=none
2003 # First try GNU make style include.
2004 echo "include confinc" > confmf
2005 # We grep out `Entering directory' and `Leaving directory'
2006 # messages which can occur if `w' ends up in MAKEFLAGS.
2007 # In particular we don't look at `^make:' because GNU make might
2008 # be invoked under some other name (usually "gmake"), in which
2009 # case it prints its new name instead of `make'.
2010 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2011 am__include=include
2012 am__quote=
2013 _am_result=GNU
2014 fi
2015 # Now try BSD make style include.
2016 if test "$am__include" = "#"; then
2017 echo '.include "confinc"' > confmf
2018 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2019 am__include=.include
2020 am__quote="\""
2021 _am_result=BSD
2022 fi
2023 fi
2024
2025
2026 echo "$as_me:$LINENO: result: $_am_result" >&5
2027 echo "${ECHO_T}$_am_result" >&6
2028 rm -f confinc confmf
2029
2030 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2031 if test "${enable_dependency_tracking+set}" = set; then
2032 enableval="$enable_dependency_tracking"
2033
2034 fi;
2035 if test "x$enable_dependency_tracking" != xno; then
2036 am_depcomp="$ac_aux_dir/depcomp"
2037 AMDEPBACKSLASH='\'
2038 fi
2039
2040
2041 if test "x$enable_dependency_tracking" != xno; then
2042 AMDEP_TRUE=
2043 AMDEP_FALSE='#'
2044 else
2045 AMDEP_TRUE='#'
2046 AMDEP_FALSE=
2047 fi
18342048
18352049
18362050
27582972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27602974
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
2975 depcc="$CC" am_compiler_list=
2976
2977 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2978 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2979 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
27662980 echo $ECHO_N "(cached) $ECHO_C" >&6
27672981 else
2768 ac_check_lib_save_LIBS=$LIBS
2769 LIBS="-lcposix $LIBS"
2982 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2983 # We make a subdir and do the tests there. Otherwise we can end up
2984 # making bogus files that we don't know about and never remove. For
2985 # instance it was reported that on HP-UX the gcc test will end up
2986 # making a dummy file named `D' -- because `-MD' means `put the output
2987 # in D'.
2988 mkdir conftest.dir
2989 # Copy depcomp to subdir because otherwise we won't find it if we're
2990 # using a relative directory.
2991 cp "$am_depcomp" conftest.dir
2992 cd conftest.dir
2993 # We will build objects and dependencies in a subdirectory because
2994 # it helps to detect inapplicable dependency modes. For instance
2995 # both Tru64's cc and ICC support -MD to output dependencies as a
2996 # side effect of compilation, but ICC will put the dependencies in
2997 # the current directory while Tru64 will put them in the object
2998 # directory.
2999 mkdir sub
3000
3001 am_cv_CC_dependencies_compiler_type=none
3002 if test "$am_compiler_list" = ""; then
3003 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3004 fi
3005 for depmode in $am_compiler_list; do
3006 # Setup a source with many dependencies, because some compilers
3007 # like to wrap large dependency lists on column 80 (with \), and
3008 # we should not choose a depcomp mode which is confused by this.
3009 #
3010 # We need to recreate these files for each test, as the compiler may
3011 # overwrite some of them when testing with obscure command lines.
3012 # This happens at least with the AIX C compiler.
3013 : > sub/conftest.c
3014 for i in 1 2 3 4 5 6; do
3015 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3016 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3017 # Solaris 8's {/usr,}/bin/sh.
3018 touch sub/conftst$i.h
3019 done
3020 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3021
3022 case $depmode in
3023 nosideeffect)
3024 # after this tag, mechanisms are not by side-effect, so they'll
3025 # only be used when explicitly requested
3026 if test "x$enable_dependency_tracking" = xyes; then
3027 continue
3028 else
3029 break
3030 fi
3031 ;;
3032 none) break ;;
3033 esac
3034 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3035 # mode. It turns out that the SunPro C++ compiler does not properly
3036 # handle `-M -o', and we need to detect this.
3037 if depmode=$depmode \
3038 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3039 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3040 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3041 >/dev/null 2>conftest.err &&
3042 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3043 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3044 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3045 # icc doesn't choke on unknown options, it will just issue warnings
3046 # or remarks (even with -Werror). So we grep stderr for any message
3047 # that says an option was ignored or not supported.
3048 # When given -MP, icc 7.0 and 7.1 complain thusly:
3049 # icc: Command line warning: ignoring option '-M'; no argument required
3050 # The diagnosis changed in icc 8.0:
3051 # icc: Command line remark: option '-MP' not supported
3052 if (grep 'ignoring option' conftest.err ||
3053 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3054 am_cv_CC_dependencies_compiler_type=$depmode
3055 break
3056 fi
3057 fi
3058 done
3059
3060 cd ..
3061 rm -rf conftest.dir
3062 else
3063 am_cv_CC_dependencies_compiler_type=none
3064 fi
3065
3066 fi
3067 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3068 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3069 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3070
3071
3072
3073 if
3074 test "x$enable_dependency_tracking" != xno \
3075 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3076 am__fastdepCC_TRUE=
3077 am__fastdepCC_FALSE='#'
3078 else
3079 am__fastdepCC_TRUE='#'
3080 am__fastdepCC_FALSE=
3081 fi
3082
3083
3084
3085 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3086 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3087 if test "${ac_cv_search_strerror+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 else
3090 ac_func_search_save_LIBS=$LIBS
3091 ac_cv_search_strerror=no
27703092 cat >conftest.$ac_ext <<_ACEOF
27713093 /* confdefs.h. */
27723094 _ACEOF
28103132 ac_status=$?
28113133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123134 (exit $ac_status); }; }; then
2813 ac_cv_lib_cposix_strerror=yes
3135 ac_cv_search_strerror="none required"
28143136 else
28153137 echo "$as_me: failed program was:" >&5
28163138 sed 's/^/| /' conftest.$ac_ext >&5
28173139
2818 ac_cv_lib_cposix_strerror=no
28193140 fi
28203141 rm -f conftest.err conftest.$ac_objext \
28213142 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
2830
3143 if test "$ac_cv_search_strerror" = no; then
3144 for ac_lib in cposix; do
3145 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3146 cat >conftest.$ac_ext <<_ACEOF
3147 /* confdefs.h. */
3148 _ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3152
3153 /* Override any gcc2 internal prototype to avoid an error. */
3154 #ifdef __cplusplus
3155 extern "C"
3156 #endif
3157 /* We use char because int might match the return type of a gcc2
3158 builtin and then its argument prototype would still apply. */
3159 char strerror ();
3160 int
3161 main ()
3162 {
3163 strerror ();
3164 ;
3165 return 0;
3166 }
3167 _ACEOF
3168 rm -f conftest.$ac_objext conftest$ac_exeext
3169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3170 (eval $ac_link) 2>conftest.er1
3171 ac_status=$?
3172 grep -v '^ *+' conftest.er1 >conftest.err
3173 rm -f conftest.er1
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 (eval $ac_try) 2>&5
3180 ac_status=$?
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; } &&
3183 { ac_try='test -s conftest$ac_exeext'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 (eval $ac_try) 2>&5
3186 ac_status=$?
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3189 ac_cv_search_strerror="-l$ac_lib"
3190 break
3191 else
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3194
3195 fi
3196 rm -f conftest.err conftest.$ac_objext \
3197 conftest$ac_exeext conftest.$ac_ext
3198 done
3199 fi
3200 LIBS=$ac_func_search_save_LIBS
3201 fi
3202 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3203 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3204 if test "$ac_cv_search_strerror" != no; then
3205 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3206
3207 fi
28313208
28323209 ac_ext=c
28333210 ac_cpp='$CPP $CPPFLAGS'
35513928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3931
3932 depcc="$CC" am_compiler_list=
3933
3934 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3935 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3936 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 else
3939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940 # We make a subdir and do the tests there. Otherwise we can end up
3941 # making bogus files that we don't know about and never remove. For
3942 # instance it was reported that on HP-UX the gcc test will end up
3943 # making a dummy file named `D' -- because `-MD' means `put the output
3944 # in D'.
3945 mkdir conftest.dir
3946 # Copy depcomp to subdir because otherwise we won't find it if we're
3947 # using a relative directory.
3948 cp "$am_depcomp" conftest.dir
3949 cd conftest.dir
3950 # We will build objects and dependencies in a subdirectory because
3951 # it helps to detect inapplicable dependency modes. For instance
3952 # both Tru64's cc and ICC support -MD to output dependencies as a
3953 # side effect of compilation, but ICC will put the dependencies in
3954 # the current directory while Tru64 will put them in the object
3955 # directory.
3956 mkdir sub
3957
3958 am_cv_CC_dependencies_compiler_type=none
3959 if test "$am_compiler_list" = ""; then
3960 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3961 fi
3962 for depmode in $am_compiler_list; do
3963 # Setup a source with many dependencies, because some compilers
3964 # like to wrap large dependency lists on column 80 (with \), and
3965 # we should not choose a depcomp mode which is confused by this.
3966 #
3967 # We need to recreate these files for each test, as the compiler may
3968 # overwrite some of them when testing with obscure command lines.
3969 # This happens at least with the AIX C compiler.
3970 : > sub/conftest.c
3971 for i in 1 2 3 4 5 6; do
3972 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3974 # Solaris 8's {/usr,}/bin/sh.
3975 touch sub/conftst$i.h
3976 done
3977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3978
3979 case $depmode in
3980 nosideeffect)
3981 # after this tag, mechanisms are not by side-effect, so they'll
3982 # only be used when explicitly requested
3983 if test "x$enable_dependency_tracking" = xyes; then
3984 continue
3985 else
3986 break
3987 fi
3988 ;;
3989 none) break ;;
3990 esac
3991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3992 # mode. It turns out that the SunPro C++ compiler does not properly
3993 # handle `-M -o', and we need to detect this.
3994 if depmode=$depmode \
3995 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3996 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3997 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3998 >/dev/null 2>conftest.err &&
3999 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4000 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4001 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4002 # icc doesn't choke on unknown options, it will just issue warnings
4003 # or remarks (even with -Werror). So we grep stderr for any message
4004 # that says an option was ignored or not supported.
4005 # When given -MP, icc 7.0 and 7.1 complain thusly:
4006 # icc: Command line warning: ignoring option '-M'; no argument required
4007 # The diagnosis changed in icc 8.0:
4008 # icc: Command line remark: option '-MP' not supported
4009 if (grep 'ignoring option' conftest.err ||
4010 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4011 am_cv_CC_dependencies_compiler_type=$depmode
4012 break
4013 fi
4014 fi
4015 done
4016
4017 cd ..
4018 rm -rf conftest.dir
4019 else
4020 am_cv_CC_dependencies_compiler_type=none
4021 fi
4022
4023 fi
4024 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4025 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4026 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4027
4028
4029
4030 if
4031 test "x$enable_dependency_tracking" != xno \
4032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4033 am__fastdepCC_TRUE=
4034 am__fastdepCC_FALSE='#'
4035 else
4036 am__fastdepCC_TRUE='#'
4037 am__fastdepCC_FALSE=
4038 fi
4039
35544040
35554041 # Find a good install program. We prefer a C program (faster),
35564042 # so one script is as good as another. But avoid the broken or
43944880 case $host_os in
43954881 darwin*)
43964882 if test "$GCC" = yes; then
4397 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4883 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
43984884 else
43994885 reload_cmds='$LD$reload_flag -o $output$reload_objs'
44004886 fi
44104896 # Let the user override the test.
44114897 lt_cv_path_NM="$NM"
44124898 else
4413 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4414 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4415 IFS="$lt_save_ifs"
4416 test -z "$ac_dir" && ac_dir=.
4417 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4418 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4419 # Check to see if the nm accepts a BSD-compat flag.
4420 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4421 # nm: unknown option "B" ignored
4422 # Tru64's nm complains that /dev/null is an invalid object file
4423 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4424 */dev/null* | *'Invalid file or object type'*)
4425 lt_cv_path_NM="$tmp_nm -B"
4426 break
4427 ;;
4428 *)
4429 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4430 */dev/null*)
4431 lt_cv_path_NM="$tmp_nm -p"
4899 lt_nm_to_check="${ac_tool_prefix}nm"
4900 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4901 lt_nm_to_check="$lt_nm_to_check nm"
4902 fi
4903 for lt_tmp_nm in $lt_nm_to_check; do
4904 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4905 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4906 IFS="$lt_save_ifs"
4907 test -z "$ac_dir" && ac_dir=.
4908 tmp_nm="$ac_dir/$lt_tmp_nm"
4909 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4910 # Check to see if the nm accepts a BSD-compat flag.
4911 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4912 # nm: unknown option "B" ignored
4913 # Tru64's nm complains that /dev/null is an invalid object file
4914 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4915 */dev/null* | *'Invalid file or object type'*)
4916 lt_cv_path_NM="$tmp_nm -B"
44324917 break
44334918 ;;
44344919 *)
4435 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4436 continue # so that we can try to find one that supports BSD flags
4920 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4921 */dev/null*)
4922 lt_cv_path_NM="$tmp_nm -p"
4923 break
4924 ;;
4925 *)
4926 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4927 continue # so that we can try to find one that supports BSD flags
4928 ;;
4929 esac
44374930 ;;
44384931 esac
4439 esac
4440 fi
4932 fi
4933 done
4934 IFS="$lt_save_ifs"
44414935 done
4442 IFS="$lt_save_ifs"
44434936 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
44444937 fi
44454938 fi
44984991 lt_cv_deplibs_check_method=pass_all
44994992 ;;
45004993
4501 freebsd* | kfreebsd*-gnu | dragonfly*)
4994 freebsd* | dragonfly*)
45024995 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
45034996 case $host_cpu in
45044997 i*86 )
45365029 esac
45375030 ;;
45385031
5032 interix3*)
5033 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5034 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5035 ;;
5036
45395037 irix5* | irix6* | nonstopux*)
45405038 case $LD in
45415039 *-32|*"-32 ") libmagic=32-bit;;
45475045 ;;
45485046
45495047 # This must be Linux ELF.
4550 linux*)
5048 linux* | k*bsd*-gnu)
45515049 lt_cv_deplibs_check_method=pass_all
45525050 ;;
45535051
4554 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5052 netbsd* | netbsdelf*-gnu)
45555053 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
45565054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
45575055 else
45815079 lt_cv_deplibs_check_method=pass_all
45825080 ;;
45835081
4584 sco3.2v5*)
4585 lt_cv_deplibs_check_method=pass_all
4586 ;;
4587
45885082 solaris*)
45895083 lt_cv_deplibs_check_method=pass_all
45905084 ;;
45915085
4592 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5086 sysv4 | sysv4.3*)
45935087 case $host_vendor in
45945088 motorola)
45955089 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
46105104 siemens)
46115105 lt_cv_deplibs_check_method=pass_all
46125106 ;;
5107 pc)
5108 lt_cv_deplibs_check_method=pass_all
5109 ;;
46135110 esac
46145111 ;;
46155112
4616 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
5113 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
46175114 lt_cv_deplibs_check_method=pass_all
46185115 ;;
46195116 esac
46305127
46315128 # If no C compiler was specified, use CC.
46325129 LTCC=${LTCC-"$CC"}
5130
5131 # If no C compiler flags were specified, use CFLAGS.
5132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
46335133
46345134 # Allow CC to be a program name with arguments.
46355135 compiler=$CC
46655165 ;;
46665166 *-*-irix6*)
46675167 # Find out which ABI we are using.
4668 echo '#line 4669 "configure"' > conftest.$ac_ext
5168 echo '#line 5169 "configure"' > conftest.$ac_ext
46695169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46705170 (eval $ac_compile) 2>&5
46715171 ac_status=$?
48205320 CFLAGS="$SAVE_CFLAGS"
48215321 fi
48225322 ;;
5323 sparc*-*solaris*)
5324 # Find out which ABI we are using.
5325 echo 'int i;' > conftest.$ac_ext
5326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5327 (eval $ac_compile) 2>&5
5328 ac_status=$?
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; then
5331 case `/usr/bin/file conftest.o` in
5332 *64-bit*)
5333 case $lt_cv_prog_gnu_ld in
5334 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5335 *) LD="${LD-ld} -64" ;;
5336 esac
5337 ;;
5338 esac
5339 fi
5340 rm -rf conftest*
5341 ;;
5342
48235343
48245344 esac
48255345
53975917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53985918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53995919
5920 depcc="$CXX" am_compiler_list=
5921
5922 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5923 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5924 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5928 # We make a subdir and do the tests there. Otherwise we can end up
5929 # making bogus files that we don't know about and never remove. For
5930 # instance it was reported that on HP-UX the gcc test will end up
5931 # making a dummy file named `D' -- because `-MD' means `put the output
5932 # in D'.
5933 mkdir conftest.dir
5934 # Copy depcomp to subdir because otherwise we won't find it if we're
5935 # using a relative directory.
5936 cp "$am_depcomp" conftest.dir
5937 cd conftest.dir
5938 # We will build objects and dependencies in a subdirectory because
5939 # it helps to detect inapplicable dependency modes. For instance
5940 # both Tru64's cc and ICC support -MD to output dependencies as a
5941 # side effect of compilation, but ICC will put the dependencies in
5942 # the current directory while Tru64 will put them in the object
5943 # directory.
5944 mkdir sub
5945
5946 am_cv_CXX_dependencies_compiler_type=none
5947 if test "$am_compiler_list" = ""; then
5948 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5949 fi
5950 for depmode in $am_compiler_list; do
5951 # Setup a source with many dependencies, because some compilers
5952 # like to wrap large dependency lists on column 80 (with \), and
5953 # we should not choose a depcomp mode which is confused by this.
5954 #
5955 # We need to recreate these files for each test, as the compiler may
5956 # overwrite some of them when testing with obscure command lines.
5957 # This happens at least with the AIX C compiler.
5958 : > sub/conftest.c
5959 for i in 1 2 3 4 5 6; do
5960 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5961 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5962 # Solaris 8's {/usr,}/bin/sh.
5963 touch sub/conftst$i.h
5964 done
5965 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5966
5967 case $depmode in
5968 nosideeffect)
5969 # after this tag, mechanisms are not by side-effect, so they'll
5970 # only be used when explicitly requested
5971 if test "x$enable_dependency_tracking" = xyes; then
5972 continue
5973 else
5974 break
5975 fi
5976 ;;
5977 none) break ;;
5978 esac
5979 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5980 # mode. It turns out that the SunPro C++ compiler does not properly
5981 # handle `-M -o', and we need to detect this.
5982 if depmode=$depmode \
5983 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5984 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5985 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5986 >/dev/null 2>conftest.err &&
5987 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5988 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5989 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5990 # icc doesn't choke on unknown options, it will just issue warnings
5991 # or remarks (even with -Werror). So we grep stderr for any message
5992 # that says an option was ignored or not supported.
5993 # When given -MP, icc 7.0 and 7.1 complain thusly:
5994 # icc: Command line warning: ignoring option '-M'; no argument required
5995 # The diagnosis changed in icc 8.0:
5996 # icc: Command line remark: option '-MP' not supported
5997 if (grep 'ignoring option' conftest.err ||
5998 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5999 am_cv_CXX_dependencies_compiler_type=$depmode
6000 break
6001 fi
6002 fi
6003 done
6004
6005 cd ..
6006 rm -rf conftest.dir
6007 else
6008 am_cv_CXX_dependencies_compiler_type=none
6009 fi
6010
6011 fi
6012 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6013 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6014 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6015
6016
6017
6018 if
6019 test "x$enable_dependency_tracking" != xno \
6020 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6021 am__fastdepCXX_TRUE=
6022 am__fastdepCXX_FALSE='#'
6023 else
6024 am__fastdepCXX_TRUE='#'
6025 am__fastdepCXX_FALSE=
6026 fi
6027
6028
54006029
54016030
54026031 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
57276356
57286357
57296358 # Provide some information about the compiler.
5730 echo "$as_me:5731:" \
6359 echo "$as_me:6360:" \
57316360 "checking for Fortran 77 compiler version" >&5
57326361 ac_compiler=`set X $ac_compile; echo $2`
57336362 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
59286557 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
59296558 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
59306559 ;;
6560
6561 interix*)
6562 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6563 lt_cv_sys_max_cmd_len=196608
6564 ;;
6565
59316566 osf*)
59326567 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
59336568 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
59396574 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
59406575 *1*) lt_cv_sys_max_cmd_len=-1 ;;
59416576 esac
6577 fi
6578 ;;
6579 sco3.2v5*)
6580 lt_cv_sys_max_cmd_len=102400
6581 ;;
6582 sysv5* | sco5v6* | sysv4.2uw2*)
6583 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6584 if test -n "$kargmax"; then
6585 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6586 else
6587 lt_cv_sys_max_cmd_len=32768
59426588 fi
59436589 ;;
59446590 *)
60136659 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
60146660 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'"
60156661 ;;
6016 linux*)
6662 linux* | k*bsd*-gnu)
60176663 if test "$host_cpu" = ia64; then
60186664 symcode='[ABCDGIRSTW]'
60196665 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
60266672 osf*)
60276673 symcode='[BCDEGQRST]'
60286674 ;;
6029 solaris* | sysv5*)
6675 solaris*)
60306676 symcode='[BDRT]'
6677 ;;
6678 sco3.2v5*)
6679 symcode='[DT]'
6680 ;;
6681 sysv4.2uw2*)
6682 symcode='[DT]'
6683 ;;
6684 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6685 symcode='[ABDT]'
60316686 ;;
60326687 sysv4)
60336688 symcode='[DFNSTU]'
64947149 test -z "$AS" && AS=as
64957150 test -z "$CC" && CC=cc
64967151 test -z "$LTCC" && LTCC=$CC
7152 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
64977153 test -z "$DLLTOOL" && DLLTOOL=dlltool
64987154 test -z "$LD" && LD=ld
64997155 test -z "$LN_S" && LN_S="ln -s"
65137169 if test -n "$RANLIB"; then
65147170 case $host_os in
65157171 openbsd*)
6516 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7172 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
65177173 ;;
65187174 *)
6519 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
7175 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
65207176 ;;
65217177 esac
65227178 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
67157371 # If no C compiler was specified, use CC.
67167372 LTCC=${LTCC-"$CC"}
67177373
7374 # If no C compiler flags were specified, use CFLAGS.
7375 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7376
67187377 # Allow CC to be a program name with arguments.
67197378 compiler=$CC
67207379
67227381 # save warnings/boilerplate of simple test code
67237382 ac_outfile=conftest.$ac_objext
67247383 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6725 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7384 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
67267385 _lt_compiler_boilerplate=`cat conftest.err`
67277386 $rm conftest*
67287387
67297388 ac_outfile=conftest.$ac_objext
67307389 printf "$lt_simple_link_test_code" >conftest.$ac_ext
6731 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7390 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
67327391 _lt_linker_boilerplate=`cat conftest.err`
67337392 $rm conftest*
6734
6735
6736 #
6737 # Check for any special shared library compilation flags.
6738 #
6739 lt_prog_cc_shlib=
6740 if test "$GCC" = no; then
6741 case $host_os in
6742 sco3.2v5*)
6743 lt_prog_cc_shlib='-belf'
6744 ;;
6745 esac
6746 fi
6747 if test -n "$lt_prog_cc_shlib"; then
6748 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6749 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6750 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6751 else
6752 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6753 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6754 lt_cv_prog_cc_can_build_shared=no
6755 fi
6756 fi
6757
6758
6759 #
6760 # Check to make sure the static flag actually works.
6761 #
6762 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6763 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6764 if test "${lt_prog_compiler_static_works+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 else
6767 lt_prog_compiler_static_works=no
6768 save_LDFLAGS="$LDFLAGS"
6769 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6770 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6771 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6772 # The linker can only warn and ignore the option if not recognized
6773 # So say no if there are warnings
6774 if test -s conftest.err; then
6775 # Append any errors to the config.log.
6776 cat conftest.err 1>&5
6777 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6778 $SED '/^$/d' conftest.err >conftest.er2
6779 if diff conftest.exp conftest.er2 >/dev/null; then
6780 lt_prog_compiler_static_works=yes
6781 fi
6782 else
6783 lt_prog_compiler_static_works=yes
6784 fi
6785 fi
6786 $rm conftest*
6787 LDFLAGS="$save_LDFLAGS"
6788
6789 fi
6790 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6791 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6792
6793 if test x"$lt_prog_compiler_static_works" = xyes; then
6794 :
6795 else
6796 lt_prog_compiler_static=
6797 fi
6798
67997393
68007394
68017395
68237417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
68247418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
68257419 -e 's:$: $lt_compiler_flag:'`
6826 (eval echo "\"\$as_me:6827: $lt_compile\"" >&5)
7420 (eval echo "\"\$as_me:7421: $lt_compile\"" >&5)
68277421 (eval "$lt_compile" 2>conftest.err)
68287422 ac_status=$?
68297423 cat conftest.err >&5
6830 echo "$as_me:6831: \$? = $ac_status" >&5
7424 echo "$as_me:7425: \$? = $ac_status" >&5
68317425 if (exit $ac_status) && test -s "$ac_outfile"; then
68327426 # The compiler can only warn and ignore the option if not recognized
68337427 # So say no if there are warnings other than the usual output.
6834 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6835 $SED '/^$/d' conftest.err >conftest.er2
6836 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7428 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7429 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7430 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
68377431 lt_cv_prog_compiler_rtti_exceptions=yes
68387432 fi
68397433 fi
68927486 # PIC is the default on this platform
68937487 # Common symbols not allowed in MH_DYLIB files
68947488 lt_prog_compiler_pic='-fno-common'
7489 ;;
7490
7491 interix3*)
7492 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7493 # Instead, we relocate shared libraries at runtime.
68957494 ;;
68967495
68977496 msdosdjgpp*)
69807579 lt_prog_compiler_static='-Bstatic'
69817580 ;;
69827581
6983 linux*)
7582 linux* | k*bsd*-gnu)
69847583 case $cc_basename in
69857584 icc* | ecc*)
69867585 lt_prog_compiler_wl='-Wl,'
70087607 lt_prog_compiler_static='-non_shared'
70097608 ;;
70107609
7011 sco3.2v5*)
7012 lt_prog_compiler_pic='-Kpic'
7013 lt_prog_compiler_static='-dn'
7014 ;;
7015
70167610 solaris*)
70177611 lt_prog_compiler_pic='-KPIC'
70187612 lt_prog_compiler_static='-Bstatic'
70307624 lt_prog_compiler_static='-Bstatic'
70317625 ;;
70327626
7033 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7627 sysv4 | sysv4.2uw2* | sysv4.3*)
70347628 lt_prog_compiler_wl='-Wl,'
70357629 lt_prog_compiler_pic='-KPIC'
70367630 lt_prog_compiler_static='-Bstatic'
70417635 lt_prog_compiler_pic='-Kconform_pic'
70427636 lt_prog_compiler_static='-Bstatic'
70437637 fi
7638 ;;
7639
7640 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7641 lt_prog_compiler_wl='-Wl,'
7642 lt_prog_compiler_pic='-KPIC'
7643 lt_prog_compiler_static='-Bstatic'
70447644 ;;
70457645
70467646 unicos*)
70857685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
70867686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
70877687 -e 's:$: $lt_compiler_flag:'`
7088 (eval echo "\"\$as_me:7089: $lt_compile\"" >&5)
7688 (eval echo "\"\$as_me:7689: $lt_compile\"" >&5)
70897689 (eval "$lt_compile" 2>conftest.err)
70907690 ac_status=$?
70917691 cat conftest.err >&5
7092 echo "$as_me:7093: \$? = $ac_status" >&5
7692 echo "$as_me:7693: \$? = $ac_status" >&5
70937693 if (exit $ac_status) && test -s "$ac_outfile"; then
70947694 # The compiler can only warn and ignore the option if not recognized
70957695 # So say no if there are warnings other than the usual output.
7096 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7097 $SED '/^$/d' conftest.err >conftest.er2
7098 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7696 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7698 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
70997699 lt_prog_compiler_pic_works=yes
71007700 fi
71017701 fi
71267726 ;;
71277727 esac
71287728
7729 #
7730 # Check to make sure the static flag actually works.
7731 #
7732 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7733 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7734 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7735 if test "${lt_prog_compiler_static_works+set}" = set; then
7736 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 else
7738 lt_prog_compiler_static_works=no
7739 save_LDFLAGS="$LDFLAGS"
7740 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7741 printf "$lt_simple_link_test_code" > conftest.$ac_ext
7742 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7743 # The linker can only warn and ignore the option if not recognized
7744 # So say no if there are warnings
7745 if test -s conftest.err; then
7746 # Append any errors to the config.log.
7747 cat conftest.err 1>&5
7748 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7749 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7750 if diff conftest.exp conftest.er2 >/dev/null; then
7751 lt_prog_compiler_static_works=yes
7752 fi
7753 else
7754 lt_prog_compiler_static_works=yes
7755 fi
7756 fi
7757 $rm conftest*
7758 LDFLAGS="$save_LDFLAGS"
7759
7760 fi
7761 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7762 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7763
7764 if test x"$lt_prog_compiler_static_works" = xyes; then
7765 :
7766 else
7767 lt_prog_compiler_static=
7768 fi
7769
7770
71297771 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
71307772 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
71317773 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
71477789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
71487790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
71497791 -e 's:$: $lt_compiler_flag:'`
7150 (eval echo "\"\$as_me:7151: $lt_compile\"" >&5)
7792 (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
71517793 (eval "$lt_compile" 2>out/conftest.err)
71527794 ac_status=$?
71537795 cat out/conftest.err >&5
7154 echo "$as_me:7155: \$? = $ac_status" >&5
7796 echo "$as_me:7797: \$? = $ac_status" >&5
71557797 if (exit $ac_status) && test -s out/conftest2.$ac_objext
71567798 then
71577799 # The compiler can only warn and ignore the option if not recognized
71587800 # So say no if there are warnings
7159 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7160 $SED '/^$/d' out/conftest.err >out/conftest.er2
7161 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7801 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7802 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7803 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
71627804 lt_cv_prog_compiler_c_o=yes
71637805 fi
71647806 fi
72587900 with_gnu_ld=no
72597901 fi
72607902 ;;
7903 interix*)
7904 # we just hope/assume this is gcc and not c89 (= MSVC++)
7905 with_gnu_ld=yes
7906 ;;
72617907 openbsd*)
72627908 with_gnu_ld=no
72637909 ;;
73427988 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
73437989
73447990 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
73467992 # If the export-symbols file already is a .def file (1st line
73477993 # is EXPORTS), use it as is; otherwise, prepend...
73487994 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
73517997 echo EXPORTS > $output_objdir/$soname.def;
73527998 cat $export_symbols >> $output_objdir/$soname.def;
73537999 fi~
7354 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8000 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
73558001 else
73568002 ld_shlibs=no
73578003 fi
73588004 ;;
73598005
7360 linux*)
8006 interix3*)
8007 hardcode_direct=no
8008 hardcode_shlibpath_var=no
8009 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8010 export_dynamic_flag_spec='${wl}-E'
8011 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8012 # Instead, shared libraries are loaded at an image base (0x10000000 by
8013 # default) and relocated if they conflict, which is a slow very memory
8014 # consuming and fragmenting process. To avoid this, we pick a random,
8015 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8016 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8017 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8018 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'
8019 ;;
8020
8021 linux* | k*bsd*-gnu)
73618022 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
73628023 tmp_addflag=
73638024 case $cc_basename,$host_cpu in
73898050 fi
73908051 ;;
73918052
7392 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8053 netbsd* | netbsdelf*-gnu)
73938054 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
73948055 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
73958056 wlarc=
73998060 fi
74008061 ;;
74018062
7402 solaris* | sysv5*)
8063 solaris*)
74038064 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
74048065 ld_shlibs=no
74058066 cat <<EOF 1>&2
74188079 else
74198080 ld_shlibs=no
74208081 fi
8082 ;;
8083
8084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8085 case `$LD -v 2>&1` in
8086 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8087 ld_shlibs=no
8088 cat <<_LT_EOF 1>&2
8089
8090 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8091 *** reliably create shared libraries on SCO systems. Therefore, libtool
8092 *** is disabling shared libraries support. We urge you to upgrade GNU
8093 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8094 *** your PATH or compiler configuration so that the native linker is
8095 *** used, and then restart.
8096
8097 _LT_EOF
8098 ;;
8099 *)
8100 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8101 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8102 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8103 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8104 else
8105 ld_shlibs=no
8106 fi
8107 ;;
8108 esac
74218109 ;;
74228110
74238111 sunos4*)
74538141 # Note: this linker hardcodes the directories in LIBPATH if there
74548142 # are no directories specified by -L.
74558143 hardcode_minus_L=yes
7456 if test "$GCC" = yes && test -z "$link_static_flag"; then
8144 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
74578145 # Neither direct hardcoding nor static linking is supported with a
74588146 # broken collect2.
74598147 hardcode_direct=unsupported
74878175 break
74888176 fi
74898177 done
8178 ;;
74908179 esac
74918180
74928181 exp_sym_flag='-bexport'
75248213 hardcode_libdir_flag_spec='-L$libdir'
75258214 hardcode_libdir_separator=
75268215 fi
8216 ;;
75278217 esac
75288218 shared_flag='-shared'
75298219 if test "$aix_use_runtimelinking" = yes; then
75368226 # chokes on -Wl,-G. The following line is correct:
75378227 shared_flag='-G'
75388228 else
7539 if test "$aix_use_runtimelinking" = yes; then
8229 if test "$aix_use_runtimelinking" = yes; then
75408230 shared_flag='${wl}-G'
75418231 else
75428232 shared_flag='${wl}-bM:SRE'
7543 fi
8233 fi
75448234 fi
75458235 fi
75468236
76048294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
76058295
76068296 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7607 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8297 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
76088298 else
76098299 if test "$host_cpu" = ia64; then
76108300 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
76118301 allow_undefined_flag="-z nodefs"
7612 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
8302 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
76138303 else
76148304 # Determine the default libpath from the value encoded in an empty executable.
76158305 cat >conftest.$ac_ext <<_ACEOF
76688358 # -berok will link without error, but may produce a broken library.
76698359 no_undefined_flag=' ${wl}-bernotok'
76708360 allow_undefined_flag=' ${wl}-berok'
7671 # -bexpall does not export symbols beginning with underscore (_)
7672 always_export_symbols=yes
76738361 # Exported symbols can be pulled into shared objects from archives
7674 whole_archive_flag_spec=' '
8362 whole_archive_flag_spec='$convenience'
76758363 archive_cmds_need_lc=yes
76768364 # This is similar to how AIX traditionally builds its shared libraries.
7677 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8365 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
76788366 fi
76798367 fi
76808368 ;;
77928480 ;;
77938481
77948482 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7795 freebsd* | kfreebsd*-gnu | dragonfly*)
8483 freebsd* | dragonfly*)
77968484 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
77978485 hardcode_libdir_flag_spec='-R$libdir'
77988486 hardcode_direct=yes
78158503 export_dynamic_flag_spec='${wl}-E'
78168504 ;;
78178505
7818 hpux10* | hpux11*)
8506 hpux10*)
8507 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8508 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8509 else
8510 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8511 fi
8512 if test "$with_gnu_ld" = no; then
8513 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8514 hardcode_libdir_separator=:
8515
8516 hardcode_direct=yes
8517 export_dynamic_flag_spec='${wl}-E'
8518
8519 # hardcode_minus_L: Not really in the search PATH,
8520 # but as the default location of the library.
8521 hardcode_minus_L=yes
8522 fi
8523 ;;
8524
8525 hpux11*)
78198526 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78208527 case $host_cpu in
7821 hppa*64*|ia64*)
8528 hppa*64*)
78228529 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8530 ;;
8531 ia64*)
8532 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78238533 ;;
78248534 *)
78258535 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78278537 esac
78288538 else
78298539 case $host_cpu in
7830 hppa*64*|ia64*)
7831 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8540 hppa*64*)
8541 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8542 ;;
8543 ia64*)
8544 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78328545 ;;
78338546 *)
7834 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8547 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78358548 ;;
78368549 esac
78378550 fi
78388551 if test "$with_gnu_ld" = no; then
8552 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8553 hardcode_libdir_separator=:
8554
78398555 case $host_cpu in
7840 hppa*64*)
7841 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8556 hppa*64*|ia64*)
78428557 hardcode_libdir_flag_spec_ld='+b $libdir'
7843 hardcode_libdir_separator=:
78448558 hardcode_direct=no
78458559 hardcode_shlibpath_var=no
78468560 ;;
7847 ia64*)
7848 hardcode_libdir_flag_spec='-L$libdir'
7849 hardcode_direct=no
7850 hardcode_shlibpath_var=no
7851
7852 # hardcode_minus_L: Not really in the search PATH,
7853 # but as the default location of the library.
7854 hardcode_minus_L=yes
7855 ;;
78568561 *)
7857 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7858 hardcode_libdir_separator=:
78598562 hardcode_direct=yes
78608563 export_dynamic_flag_spec='${wl}-E'
78618564
78798582 link_all_deplibs=yes
78808583 ;;
78818584
7882 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8585 netbsd* | netbsdelf*-gnu)
78838586 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78848587 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
78858588 else
79558658 hardcode_libdir_flag_spec='-rpath $libdir'
79568659 fi
79578660 hardcode_libdir_separator=:
7958 ;;
7959
7960 sco3.2v5*)
7961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7962 hardcode_shlibpath_var=no
7963 export_dynamic_flag_spec='${wl}-Bexport'
7964 runpath_var=LD_RUN_PATH
7965 hardcode_runpath_var=yes
79668661 ;;
79678662
79688663 solaris*)
80508745 fi
80518746 ;;
80528747
8053 sysv4.2uw2*)
8054 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8055 hardcode_direct=yes
8056 hardcode_minus_L=no
8057 hardcode_shlibpath_var=no
8058 hardcode_runpath_var=yes
8059 runpath_var=LD_RUN_PATH
8060 ;;
8061
8062 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
8063 no_undefined_flag='${wl}-z ${wl}text'
8064 if test "$GCC" = yes; then
8065 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8066 else
8067 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8068 fi
8069 runpath_var='LD_RUN_PATH'
8070 hardcode_shlibpath_var=no
8071 ;;
8072
8073 sysv5*)
8074 no_undefined_flag=' -z text'
8075 # $CC -shared without GNU ld will not create a library from C++
8076 # object files and a static libstdc++, better avoid it by now
8077 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8078 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8079 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8080 hardcode_libdir_flag_spec=
8748 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8749 no_undefined_flag='${wl}-z,text'
8750 archive_cmds_need_lc=no
80818751 hardcode_shlibpath_var=no
80828752 runpath_var='LD_RUN_PATH'
8753
8754 if test "$GCC" = yes; then
8755 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8757 else
8758 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8759 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8760 fi
8761 ;;
8762
8763 sysv5* | sco3.2v5* | sco5v6*)
8764 # Note: We can NOT use -z defs as we might desire, because we do not
8765 # link with -lc, and that would cause any symbols used from libc to
8766 # always be unresolved, which means just about no library would
8767 # ever link correctly. If we're not using GNU ld we use -z text
8768 # though, which does catch some bad symbols but isn't as heavy-handed
8769 # as -z defs.
8770 no_undefined_flag='${wl}-z,text'
8771 allow_undefined_flag='${wl}-z,nodefs'
8772 archive_cmds_need_lc=no
8773 hardcode_shlibpath_var=no
8774 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8775 hardcode_libdir_separator=':'
8776 link_all_deplibs=yes
8777 export_dynamic_flag_spec='${wl}-Bexport'
8778 runpath_var='LD_RUN_PATH'
8779
8780 if test "$GCC" = yes; then
8781 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8782 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8783 else
8784 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8785 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8786 fi
80838787 ;;
80848788
80858789 uts4*)
80978801 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
80988802 echo "${ECHO_T}$ld_shlibs" >&6
80998803 test "$ld_shlibs" = no && can_build_shared=no
8100
8101 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8102 if test "$GCC" = yes; then
8103 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8104 fi
81058804
81068805 #
81078806 # Do we need to explicitly link libc?
81358834 libobjs=conftest.$ac_objext
81368835 deplibs=
81378836 wl=$lt_prog_compiler_wl
8837 pic_flag=$lt_prog_compiler_pic
81388838 compiler_flags=-v
81398839 linker_flags=-v
81408840 verstring=
83729072 dynamic_linker=no
83739073 ;;
83749074
8375 kfreebsd*-gnu)
8376 version_type=linux
8377 need_lib_prefix=no
8378 need_version=no
8379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8380 soname_spec='${libname}${release}${shared_ext}$major'
8381 shlibpath_var=LD_LIBRARY_PATH
8382 shlibpath_overrides_runpath=no
8383 hardcode_into_libs=yes
8384 dynamic_linker='GNU ld.so'
8385 ;;
8386
83879075 freebsd* | dragonfly*)
83889076 # DragonFly does not have aout. When/if they implement a new
83899077 # versioning mechanism, adjust this.
84169104 shlibpath_overrides_runpath=yes
84179105 hardcode_into_libs=yes
84189106 ;;
8419 *) # from 3.2 on
9107 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9108 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
84209109 shlibpath_overrides_runpath=no
9110 hardcode_into_libs=yes
9111 ;;
9112 freebsd*) # from 4.6 on
9113 shlibpath_overrides_runpath=yes
84219114 hardcode_into_libs=yes
84229115 ;;
84239116 esac
84799172 postinstall_cmds='chmod 555 $lib'
84809173 ;;
84819174
9175 interix3*)
9176 version_type=linux
9177 need_lib_prefix=no
9178 need_version=no
9179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9180 soname_spec='${libname}${release}${shared_ext}$major'
9181 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9182 shlibpath_var=LD_LIBRARY_PATH
9183 shlibpath_overrides_runpath=no
9184 hardcode_into_libs=yes
9185 ;;
9186
84829187 irix5* | irix6* | nonstopux*)
84839188 case $host_os in
84849189 nonstopux*) version_type=nonstopux ;;
85229227 ;;
85239228
85249229 # This must be Linux ELF.
8525 linux*)
9230 linux* | k*bsd*-gnu)
85269231 version_type=linux
85279232 need_lib_prefix=no
85289233 need_version=no
85619266 shlibpath_overrides_runpath=no
85629267 hardcode_into_libs=yes
85639268 dynamic_linker='NetBSD ld.elf_so'
8564 ;;
8565
8566 knetbsd*-gnu)
8567 version_type=linux
8568 need_lib_prefix=no
8569 need_version=no
8570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8571 soname_spec='${libname}${release}${shared_ext}$major'
8572 shlibpath_var=LD_LIBRARY_PATH
8573 shlibpath_overrides_runpath=no
8574 hardcode_into_libs=yes
8575 dynamic_linker='GNU ld.so'
85769269 ;;
85779270
85789271 netbsd*)
86129305
86139306 openbsd*)
86149307 version_type=sunos
9308 sys_lib_dlsearch_path_spec="/usr/lib"
86159309 need_lib_prefix=no
86169310 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
86179311 case $host_os in
86559349 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
86569350 ;;
86579351
8658 sco3.2v5*)
8659 version_type=osf
8660 soname_spec='${libname}${release}${shared_ext}$major'
8661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8662 shlibpath_var=LD_LIBRARY_PATH
8663 ;;
8664
86659352 solaris*)
86669353 version_type=linux
86679354 need_lib_prefix=no
86879374 need_version=yes
86889375 ;;
86899376
8690 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9377 sysv4 | sysv4.3*)
86919378 version_type=linux
86929379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
86939380 soname_spec='${libname}${release}${shared_ext}$major'
87209407 fi
87219408 ;;
87229409
9410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9411 version_type=freebsd-elf
9412 need_lib_prefix=no
9413 need_version=no
9414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9415 soname_spec='${libname}${release}${shared_ext}$major'
9416 shlibpath_var=LD_LIBRARY_PATH
9417 hardcode_into_libs=yes
9418 if test "$with_gnu_ld" = yes; then
9419 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9420 shlibpath_overrides_runpath=no
9421 else
9422 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9423 shlibpath_overrides_runpath=yes
9424 case $host_os in
9425 sco3.2v5*)
9426 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9427 ;;
9428 esac
9429 fi
9430 sys_lib_dlsearch_path_spec='/usr/lib'
9431 ;;
9432
87239433 uts4*)
87249434 version_type=linux
87259435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
87349444 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
87359445 echo "${ECHO_T}$dynamic_linker" >&6
87369446 test "$dynamic_linker" = no && can_build_shared=no
9447
9448 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9449 if test "$GCC" = yes; then
9450 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9451 fi
87379452
87389453 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
87399454 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
938310098 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
938410099
938510100 save_LDFLAGS="$LDFLAGS"
9386 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10101 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
938710102
938810103 save_LIBS="$LIBS"
938910104 LIBS="$lt_cv_dlopen_libs $LIBS"
939910114 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
940010115 lt_status=$lt_dlunknown
940110116 cat > conftest.$ac_ext <<EOF
9402 #line 9403 "configure"
10117 #line 10118 "configure"
940310118 #include "confdefs.h"
940410119
940510120 #if HAVE_DLFCN_H
945610171 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
945710172 /* dlclose (self); */
945810173 }
10174 else
10175 puts (dlerror ());
945910176
946010177 exit (status);
946110178 }
947010187 case x$lt_status in
947110188 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
947210189 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9473 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10190 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
947410191 esac
947510192 else :
947610193 # compilation failed
948510202 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
948610203
948710204 if test "x$lt_cv_dlopen_self" = xyes; then
9488 LDFLAGS="$LDFLAGS $link_static_flag"
10205 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
948910206 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
949010207 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
949110208 if test "${lt_cv_dlopen_self_static+set}" = set; then
949710214 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
949810215 lt_status=$lt_dlunknown
949910216 cat > conftest.$ac_ext <<EOF
9500 #line 9501 "configure"
10217 #line 10218 "configure"
950110218 #include "confdefs.h"
950210219
950310220 #if HAVE_DLFCN_H
955410271 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
955510272 /* dlclose (self); */
955610273 }
10274 else
10275 puts (dlerror ());
955710276
955810277 exit (status);
955910278 }
956810287 case x$lt_status in
956910288 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
957010289 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9571 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10290 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
957210291 esac
957310292 else :
957410293 # compilation failed
960110320 fi
960210321
960310322
9604 # Report which librarie types wil actually be built
10323 # Report which library types will actually be built
960510324 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
960610325 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
960710326 echo "$as_me:$LINENO: result: $can_build_shared" >&5
965110370 # Now quote all the things that may contain metacharacters while being
965210371 # careful not to overquote the AC_SUBSTed values. We take copies of the
965310372 # variables and quote the copies for generation of the libtool script.
9654 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10373 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
965510374 SED SHELL STRIP \
965610375 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
965710376 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
981710536 # A C compiler.
981810537 LTCC=$lt_LTCC
981910538
10539 # LTCC compiler flags.
10540 LTCFLAGS=$lt_LTCFLAGS
10541
982010542 # A language-specific compiler.
982110543 CC=$lt_compiler
982210544
1014610868 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
1014710869 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
1014810870 fi
10871 fi
10872 if test -z "$LTCFLAGS"; then
10873 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1014910874 fi
1015010875
1015110876 # Extract list of available tagged configurations in $ofile.
1019910924 hardcode_libdir_flag_spec_ld_CXX=
1020010925 hardcode_libdir_separator_CXX=
1020110926 hardcode_minus_L_CXX=no
10927 hardcode_shlibpath_var_CXX=unsupported
1020210928 hardcode_automatic_CXX=no
1020310929 module_cmds_CXX=
1020410930 module_expsym_cmds_CXX=
1022610952 lt_simple_compile_test_code="int some_variable = 0;\n"
1022710953
1022810954 # Code to be used in simple link tests
10229 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10955 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
1023010956
1023110957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1023210958
1023310959 # If no C compiler was specified, use CC.
1023410960 LTCC=${LTCC-"$CC"}
10961
10962 # If no C compiler flags were specified, use CFLAGS.
10963 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1023510964
1023610965 # Allow CC to be a program name with arguments.
1023710966 compiler=$CC
1024010969 # save warnings/boilerplate of simple test code
1024110970 ac_outfile=conftest.$ac_objext
1024210971 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10972 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1024410973 _lt_compiler_boilerplate=`cat conftest.err`
1024510974 $rm conftest*
1024610975
1024710976 ac_outfile=conftest.$ac_objext
1024810977 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10978 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1025010979 _lt_linker_boilerplate=`cat conftest.err`
1025110980 $rm conftest*
1025210981
1026110990 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1026210991 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1026310992 else
10264 unset lt_cv_prog_gnu_ld
10993 $as_unset lt_cv_prog_gnu_ld
1026510994 fi
1026610995 if test -n "${lt_cv_path_LDCXX+set}"; then
1026710996 lt_cv_path_LD=$lt_cv_path_LDCXX
1026810997 else
10269 unset lt_cv_path_LD
10998 $as_unset lt_cv_path_LD
1027010999 fi
1027111000 test -z "${LDCXX+set}" || LD=$LDCXX
1027211001 CC=${CXX-"c++"}
1047711206 ;;
1047811207 esac
1047911208 done
11209 ;;
1048011210 esac
1048111211
1048211212 exp_sym_flag='-bexport'
1051411244 hardcode_libdir_flag_spec_CXX='-L$libdir'
1051511245 hardcode_libdir_separator_CXX=
1051611246 fi
11247 ;;
1051711248 esac
1051811249 shared_flag='-shared'
1051911250 if test "$aix_use_runtimelinking" = yes; then
1059511326
1059611327 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1059711328
10598 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11329 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1059911330 else
1060011331 if test "$host_cpu" = ia64; then
1060111332 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
1060211333 allow_undefined_flag_CXX="-z nodefs"
10603 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11334 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1060411335 else
1060511336 # Determine the default libpath from the value encoded in an empty executable.
1060611337 cat >conftest.$ac_ext <<_ACEOF
1065911390 # -berok will link without error, but may produce a broken library.
1066011391 no_undefined_flag_CXX=' ${wl}-bernotok'
1066111392 allow_undefined_flag_CXX=' ${wl}-berok'
10662 # -bexpall does not export symbols beginning with underscore (_)
10663 always_export_symbols_CXX=yes
1066411393 # Exported symbols can be pulled into shared objects from archives
10665 whole_archive_flag_spec_CXX=' '
11394 whole_archive_flag_spec_CXX='$convenience'
1066611395 archive_cmds_need_lc_CXX=yes
1066711396 # This is similar to how AIX traditionally builds its shared libraries.
10668 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11397 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1066911398 fi
1067011399 fi
1067111400 ;;
11401
11402 beos*)
11403 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11404 allow_undefined_flag_CXX=unsupported
11405 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11406 # support --undefined. This deserves some investigation. FIXME
11407 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11408 else
11409 ld_shlibs_CXX=no
11410 fi
11411 ;;
11412
1067211413 chorus*)
1067311414 case $cc_basename in
1067411415 *)
1067811419 esac
1067911420 ;;
1068011421
10681
1068211422 cygwin* | mingw* | pw32*)
1068311423 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1068411424 # as there is no search path for DLLs.
1068811428 enable_shared_with_static_runtimes_CXX=yes
1068911429
1069011430 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10691 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11431 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1069211432 # If the export-symbols file already is a .def file (1st line
1069311433 # is EXPORTS), use it as is; otherwise, prepend...
1069411434 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1069711437 echo EXPORTS > $output_objdir/$soname.def;
1069811438 cat $export_symbols >> $output_objdir/$soname.def;
1069911439 fi~
10700 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11440 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1070111441 else
1070211442 ld_shlibs_CXX=no
1070311443 fi
1078911529 freebsd-elf*)
1079011530 archive_cmds_need_lc_CXX=no
1079111531 ;;
10792 freebsd* | kfreebsd*-gnu | dragonfly*)
11532 freebsd* | dragonfly*)
1079311533 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1079411534 # conventions
1079511535 ld_shlibs_CXX=yes
1083411574 ;;
1083511575 hpux10*|hpux11*)
1083611576 if test $with_gnu_ld = no; then
11577 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11578 hardcode_libdir_separator_CXX=:
11579
1083711580 case $host_cpu in
10838 hppa*64*)
10839 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11581 hppa*64*|ia64*)
1084011582 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10841 hardcode_libdir_separator_CXX=:
10842 ;;
10843 ia64*)
10844 hardcode_libdir_flag_spec_CXX='-L$libdir'
1084511583 ;;
1084611584 *)
10847 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10848 hardcode_libdir_separator_CXX=:
1084911585 export_dynamic_flag_spec_CXX='${wl}-E'
1085011586 ;;
1085111587 esac
1085211588 fi
1085311589 case $host_cpu in
10854 hppa*64*)
11590 hppa*64*|ia64*)
1085511591 hardcode_direct_CXX=no
1085611592 hardcode_shlibpath_var_CXX=no
10857 ;;
10858 ia64*)
10859 hardcode_direct_CXX=no
10860 hardcode_shlibpath_var_CXX=no
10861 hardcode_minus_L_CXX=yes # Not in the search PATH,
10862 # but as the default
10863 # location of the library.
1086411593 ;;
1086511594 *)
1086611595 hardcode_direct_CXX=yes
1087711606 ;;
1087811607 aCC*)
1087911608 case $host_cpu in
10880 hppa*64*|ia64*)
10881 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11609 hppa*64*)
11610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11611 ;;
11612 ia64*)
11613 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1088211614 ;;
1088311615 *)
1088411616 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1089811630 if test "$GXX" = yes; then
1089911631 if test $with_gnu_ld = no; then
1090011632 case $host_cpu in
10901 ia64*|hppa*64*)
10902 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11633 hppa*64*)
11634 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11635 ;;
11636 ia64*)
11637 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1090311638 ;;
1090411639 *)
1090511640 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1091211647 fi
1091311648 ;;
1091411649 esac
11650 ;;
11651 interix3*)
11652 hardcode_direct_CXX=no
11653 hardcode_shlibpath_var_CXX=no
11654 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11655 export_dynamic_flag_spec_CXX='${wl}-E'
11656 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11657 # Instead, shared libraries are loaded at an image base (0x10000000 by
11658 # default) and relocated if they conflict, which is a slow very memory
11659 # consuming and fragmenting process. To avoid this, we pick a random,
11660 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11661 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11662 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11663 archive_expsym_cmds_CXX='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'
1091511664 ;;
1091611665 irix5* | irix6*)
1091711666 case $cc_basename in
1093911688 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1094011689 hardcode_libdir_separator_CXX=:
1094111690 ;;
10942 linux*)
11691 linux* | k*bsd*-gnu)
1094311692 case $cc_basename in
1094411693 KCC*)
1094511694 # Kuck and Associates, Inc. (KAI) C++ Compiler
1104111790 ;;
1104211791 esac
1104311792 ;;
11044 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11793 netbsd* | netbsdelf*-gnu)
1104511794 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1104611795 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1104711796 wlarc=
1119511944 # FIXME: insert proper C++ library support
1119611945 ld_shlibs_CXX=no
1119711946 ;;
11198 sco*)
11199 archive_cmds_need_lc_CXX=no
11200 case $cc_basename in
11201 CC*)
11202 # FIXME: insert proper C++ library support
11203 ld_shlibs_CXX=no
11204 ;;
11205 *)
11206 # FIXME: insert proper C++ library support
11207 ld_shlibs_CXX=no
11208 ;;
11209 esac
11210 ;;
1121111947 sunos4*)
1121211948 case $cc_basename in
1121311949 CC*)
1130012036 ;;
1130112037 esac
1130212038 ;;
11303 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12039 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12040 no_undefined_flag_CXX='${wl}-z,text'
1130412041 archive_cmds_need_lc_CXX=no
12042 hardcode_shlibpath_var_CXX=no
12043 runpath_var='LD_RUN_PATH'
12044
12045 case $cc_basename in
12046 CC*)
12047 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12048 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12049 ;;
12050 *)
12051 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12052 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12053 ;;
12054 esac
12055 ;;
12056 sysv5* | sco3.2v5* | sco5v6*)
12057 # Note: We can NOT use -z defs as we might desire, because we do not
12058 # link with -lc, and that would cause any symbols used from libc to
12059 # always be unresolved, which means just about no library would
12060 # ever link correctly. If we're not using GNU ld we use -z text
12061 # though, which does catch some bad symbols but isn't as heavy-handed
12062 # as -z defs.
12063 # For security reasons, it is highly recommended that you always
12064 # use absolute paths for naming shared libraries, and exclude the
12065 # DT_RUNPATH tag from executables and libraries. But doing so
12066 # requires that you compile everything twice, which is a pain.
12067 # So that behaviour is only enabled if SCOABSPATH is set to a
12068 # non-empty value in the environment. Most likely only useful for
12069 # creating official distributions of packages.
12070 # This is a hack until libtool officially supports absolute path
12071 # names for shared libraries.
12072 no_undefined_flag_CXX='${wl}-z,text'
12073 allow_undefined_flag_CXX='${wl}-z,nodefs'
12074 archive_cmds_need_lc_CXX=no
12075 hardcode_shlibpath_var_CXX=no
12076 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12077 hardcode_libdir_separator_CXX=':'
12078 link_all_deplibs_CXX=yes
12079 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12080 runpath_var='LD_RUN_PATH'
12081
12082 case $cc_basename in
12083 CC*)
12084 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12086 ;;
12087 *)
12088 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12089 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12090 ;;
12091 esac
1130512092 ;;
1130612093 tandem*)
1130712094 case $cc_basename in
1143612223
1143712224 # PORTME: override above test on systems where it is broken
1143812225 case $host_os in
12226 interix3*)
12227 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12228 # hack all around it, let's just trust "g++" to DTRT.
12229 predep_objects_CXX=
12230 postdep_objects_CXX=
12231 postdeps_CXX=
12232 ;;
12233
1143912234 solaris*)
1144012235 case $cc_basename in
1144112236 CC*)
1144512240 postdeps_CXX='-lCstd -lCrun'
1144612241 ;;
1144712242 esac
12243 ;;
1144812244 esac
1144912245
1145012246
1149412290 *djgpp*)
1149512291 # DJGPP does not support shared libraries at all
1149612292 lt_prog_compiler_pic_CXX=
12293 ;;
12294 interix3*)
12295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12296 # Instead, we relocate shared libraries at runtime.
1149712297 ;;
1149812298 sysv4*MP*)
1149912299 if test -d /usr/nec; then
1155712357 ;;
1155812358 esac
1155912359 ;;
11560 freebsd* | kfreebsd*-gnu | dragonfly*)
12360 freebsd* | dragonfly*)
1156112361 # FreeBSD uses GNU C++
1156212362 ;;
1156312363 hpux9* | hpux10* | hpux11*)
1156412364 case $cc_basename in
1156512365 CC*)
1156612366 lt_prog_compiler_wl_CXX='-Wl,'
11567 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12367 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
1156812368 if test "$host_cpu" != ia64; then
1156912369 lt_prog_compiler_pic_CXX='+Z'
1157012370 fi
1157112371 ;;
1157212372 aCC*)
1157312373 lt_prog_compiler_wl_CXX='-Wl,'
11574 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12374 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
1157512375 case $host_cpu in
1157612376 hppa*64*|ia64*)
1157712377 # +Z the default
1158512385 ;;
1158612386 esac
1158712387 ;;
12388 interix*)
12389 # This is c89, which is MS Visual C++ (no shared libs)
12390 # Anyone wants to do a port?
12391 ;;
1158812392 irix5* | irix6* | nonstopux*)
1158912393 case $cc_basename in
1159012394 CC*)
1159612400 ;;
1159712401 esac
1159812402 ;;
11599 linux*)
12403 linux* | k*bsd*-gnu)
1160012404 case $cc_basename in
1160112405 KCC*)
1160212406 # KAI C++ Compiler
1163912443 ;;
1164012444 esac
1164112445 ;;
11642 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12446 netbsd* | netbsdelf*-gnu)
1164312447 ;;
1164412448 osf3* | osf4* | osf5*)
1164512449 case $cc_basename in
1166312467 esac
1166412468 ;;
1166512469 psos*)
11666 ;;
11667 sco*)
11668 case $cc_basename in
11669 CC*)
11670 lt_prog_compiler_pic_CXX='-fPIC'
11671 ;;
11672 *)
11673 ;;
11674 esac
1167512470 ;;
1167612471 solaris*)
1167712472 case $cc_basename in
1171412509 ;;
1171512510 esac
1171612511 ;;
11717 unixware*)
12512 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12513 case $cc_basename in
12514 CC*)
12515 lt_prog_compiler_wl_CXX='-Wl,'
12516 lt_prog_compiler_pic_CXX='-KPIC'
12517 lt_prog_compiler_static_CXX='-Bstatic'
12518 ;;
12519 esac
1171812520 ;;
1171912521 vxworks*)
1172012522 ;;
1175012552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1175112553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1175212554 -e 's:$: $lt_compiler_flag:'`
11753 (eval echo "\"\$as_me:11754: $lt_compile\"" >&5)
12555 (eval echo "\"\$as_me:12556: $lt_compile\"" >&5)
1175412556 (eval "$lt_compile" 2>conftest.err)
1175512557 ac_status=$?
1175612558 cat conftest.err >&5
11757 echo "$as_me:11758: \$? = $ac_status" >&5
12559 echo "$as_me:12560: \$? = $ac_status" >&5
1175812560 if (exit $ac_status) && test -s "$ac_outfile"; then
1175912561 # The compiler can only warn and ignore the option if not recognized
1176012562 # So say no if there are warnings other than the usual output.
11761 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11762 $SED '/^$/d' conftest.err >conftest.er2
11763 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12563 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12564 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12565 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1176412566 lt_prog_compiler_pic_works_CXX=yes
1176512567 fi
1176612568 fi
1179112593 ;;
1179212594 esac
1179312595
12596 #
12597 # Check to make sure the static flag actually works.
12598 #
12599 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12600 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12601 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12602 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 else
12605 lt_prog_compiler_static_works_CXX=no
12606 save_LDFLAGS="$LDFLAGS"
12607 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12608 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12609 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12610 # The linker can only warn and ignore the option if not recognized
12611 # So say no if there are warnings
12612 if test -s conftest.err; then
12613 # Append any errors to the config.log.
12614 cat conftest.err 1>&5
12615 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12616 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12617 if diff conftest.exp conftest.er2 >/dev/null; then
12618 lt_prog_compiler_static_works_CXX=yes
12619 fi
12620 else
12621 lt_prog_compiler_static_works_CXX=yes
12622 fi
12623 fi
12624 $rm conftest*
12625 LDFLAGS="$save_LDFLAGS"
12626
12627 fi
12628 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12629 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12630
12631 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12632 :
12633 else
12634 lt_prog_compiler_static_CXX=
12635 fi
12636
12637
1179412638 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1179512639 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1179612640 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
1181212656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1181312657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1181412658 -e 's:$: $lt_compiler_flag:'`
11815 (eval echo "\"\$as_me:11816: $lt_compile\"" >&5)
12659 (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
1181612660 (eval "$lt_compile" 2>out/conftest.err)
1181712661 ac_status=$?
1181812662 cat out/conftest.err >&5
11819 echo "$as_me:11820: \$? = $ac_status" >&5
12663 echo "$as_me:12664: \$? = $ac_status" >&5
1182012664 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1182112665 then
1182212666 # The compiler can only warn and ignore the option if not recognized
1182312667 # So say no if there are warnings
11824 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11825 $SED '/^$/d' out/conftest.err >out/conftest.er2
11826 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12668 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12669 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12670 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1182712671 lt_cv_prog_compiler_c_o_CXX=yes
1182812672 fi
1182912673 fi
1188412728 cygwin* | mingw*)
1188512729 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'
1188612730 ;;
11887 linux*)
12731 linux* | k*bsd*-gnu)
1188812732 link_all_deplibs_CXX=no
1188912733 ;;
1189012734 *)
1189512739 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1189612740 echo "${ECHO_T}$ld_shlibs_CXX" >&6
1189712741 test "$ld_shlibs_CXX" = no && can_build_shared=no
11898
11899 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11900 if test "$GCC" = yes; then
11901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11902 fi
1190312742
1190412743 #
1190512744 # Do we need to explicitly link libc?
1193312772 libobjs=conftest.$ac_objext
1193412773 deplibs=
1193512774 wl=$lt_prog_compiler_wl_CXX
12775 pic_flag=$lt_prog_compiler_pic_CXX
1193612776 compiler_flags=-v
1193712777 linker_flags=-v
1193812778 verstring=
1217013010 dynamic_linker=no
1217113011 ;;
1217213012
12173 kfreebsd*-gnu)
12174 version_type=linux
12175 need_lib_prefix=no
12176 need_version=no
12177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12178 soname_spec='${libname}${release}${shared_ext}$major'
12179 shlibpath_var=LD_LIBRARY_PATH
12180 shlibpath_overrides_runpath=no
12181 hardcode_into_libs=yes
12182 dynamic_linker='GNU ld.so'
12183 ;;
12184
1218513013 freebsd* | dragonfly*)
1218613014 # DragonFly does not have aout. When/if they implement a new
1218713015 # versioning mechanism, adjust this.
1221413042 shlibpath_overrides_runpath=yes
1221513043 hardcode_into_libs=yes
1221613044 ;;
12217 *) # from 3.2 on
13045 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13046 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1221813047 shlibpath_overrides_runpath=no
13048 hardcode_into_libs=yes
13049 ;;
13050 freebsd*) # from 4.6 on
13051 shlibpath_overrides_runpath=yes
1221913052 hardcode_into_libs=yes
1222013053 ;;
1222113054 esac
1227713110 postinstall_cmds='chmod 555 $lib'
1227813111 ;;
1227913112
13113 interix3*)
13114 version_type=linux
13115 need_lib_prefix=no
13116 need_version=no
13117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13118 soname_spec='${libname}${release}${shared_ext}$major'
13119 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13120 shlibpath_var=LD_LIBRARY_PATH
13121 shlibpath_overrides_runpath=no
13122 hardcode_into_libs=yes
13123 ;;
13124
1228013125 irix5* | irix6* | nonstopux*)
1228113126 case $host_os in
1228213127 nonstopux*) version_type=nonstopux ;;
1232013165 ;;
1232113166
1232213167 # This must be Linux ELF.
12323 linux*)
13168 linux* | k*bsd*-gnu)
1232413169 version_type=linux
1232513170 need_lib_prefix=no
1232613171 need_version=no
1235913204 shlibpath_overrides_runpath=no
1236013205 hardcode_into_libs=yes
1236113206 dynamic_linker='NetBSD ld.elf_so'
12362 ;;
12363
12364 knetbsd*-gnu)
12365 version_type=linux
12366 need_lib_prefix=no
12367 need_version=no
12368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12369 soname_spec='${libname}${release}${shared_ext}$major'
12370 shlibpath_var=LD_LIBRARY_PATH
12371 shlibpath_overrides_runpath=no
12372 hardcode_into_libs=yes
12373 dynamic_linker='GNU ld.so'
1237413207 ;;
1237513208
1237613209 netbsd*)
1241013243
1241113244 openbsd*)
1241213245 version_type=sunos
13246 sys_lib_dlsearch_path_spec="/usr/lib"
1241313247 need_lib_prefix=no
1241413248 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1241513249 case $host_os in
1245313287 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1245413288 ;;
1245513289
12456 sco3.2v5*)
12457 version_type=osf
12458 soname_spec='${libname}${release}${shared_ext}$major'
12459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12460 shlibpath_var=LD_LIBRARY_PATH
12461 ;;
12462
1246313290 solaris*)
1246413291 version_type=linux
1246513292 need_lib_prefix=no
1248513312 need_version=yes
1248613313 ;;
1248713314
12488 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13315 sysv4 | sysv4.3*)
1248913316 version_type=linux
1249013317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1249113318 soname_spec='${libname}${release}${shared_ext}$major'
1251813345 fi
1251913346 ;;
1252013347
13348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13349 version_type=freebsd-elf
13350 need_lib_prefix=no
13351 need_version=no
13352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13353 soname_spec='${libname}${release}${shared_ext}$major'
13354 shlibpath_var=LD_LIBRARY_PATH
13355 hardcode_into_libs=yes
13356 if test "$with_gnu_ld" = yes; then
13357 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13358 shlibpath_overrides_runpath=no
13359 else
13360 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13361 shlibpath_overrides_runpath=yes
13362 case $host_os in
13363 sco3.2v5*)
13364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13365 ;;
13366 esac
13367 fi
13368 sys_lib_dlsearch_path_spec='/usr/lib'
13369 ;;
13370
1252113371 uts4*)
1252213372 version_type=linux
1252313373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1253213382 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1253313383 echo "${ECHO_T}$dynamic_linker" >&6
1253413384 test "$dynamic_linker" = no && can_build_shared=no
13385
13386 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13387 if test "$GCC" = yes; then
13388 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13389 fi
1253513390
1253613391 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1253713392 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1257013425 enable_fast_install=needless
1257113426 fi
1257213427
12573 striplib=
12574 old_striplib=
12575 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12576 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12577 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12578 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12579 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12580 echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6
12582 else
12583 # FIXME - insert some real tests, host_os isn't really good enough
12584 case $host_os in
12585 darwin*)
12586 if test -n "$STRIP" ; then
12587 striplib="$STRIP -x"
12588 echo "$as_me:$LINENO: result: yes" >&5
12589 echo "${ECHO_T}yes" >&6
12590 else
12591 echo "$as_me:$LINENO: result: no" >&5
12592 echo "${ECHO_T}no" >&6
12593 fi
12594 ;;
12595 *)
12596 echo "$as_me:$LINENO: result: no" >&5
12597 echo "${ECHO_T}no" >&6
12598 ;;
12599 esac
12600 fi
12601
12602 if test "x$enable_dlopen" != xyes; then
12603 enable_dlopen=unknown
12604 enable_dlopen_self=unknown
12605 enable_dlopen_self_static=unknown
12606 else
12607 lt_cv_dlopen=no
12608 lt_cv_dlopen_libs=
12609
12610 case $host_os in
12611 beos*)
12612 lt_cv_dlopen="load_add_on"
12613 lt_cv_dlopen_libs=
12614 lt_cv_dlopen_self=yes
12615 ;;
12616
12617 mingw* | pw32*)
12618 lt_cv_dlopen="LoadLibrary"
12619 lt_cv_dlopen_libs=
12620 ;;
12621
12622 cygwin*)
12623 lt_cv_dlopen="dlopen"
12624 lt_cv_dlopen_libs=
12625 ;;
12626
12627 darwin*)
12628 # if libdl is installed we need to link against it
12629 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12630 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12631 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 else
12634 ac_check_lib_save_LIBS=$LIBS
12635 LIBS="-ldl $LIBS"
12636 cat >conftest.$ac_ext <<_ACEOF
12637 /* confdefs.h. */
12638 _ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642
12643 /* Override any gcc2 internal prototype to avoid an error. */
12644 #ifdef __cplusplus
12645 extern "C"
12646 #endif
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12649 char dlopen ();
12650 int
12651 main ()
12652 {
12653 dlopen ();
12654 ;
12655 return 0;
12656 }
12657 _ACEOF
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>conftest.er1
12661 ac_status=$?
12662 grep -v '^ *+' conftest.er1 >conftest.err
12663 rm -f conftest.er1
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12670 ac_status=$?
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; } &&
12673 { ac_try='test -s conftest$ac_exeext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12676 ac_status=$?
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_cv_lib_dl_dlopen=yes
12680 else
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12683
12684 ac_cv_lib_dl_dlopen=no
12685 fi
12686 rm -f conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_lib_save_LIBS
12689 fi
12690 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12691 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12692 if test $ac_cv_lib_dl_dlopen = yes; then
12693 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12694 else
12695
12696 lt_cv_dlopen="dyld"
12697 lt_cv_dlopen_libs=
12698 lt_cv_dlopen_self=yes
12699
12700 fi
12701
12702 ;;
12703
12704 *)
12705 echo "$as_me:$LINENO: checking for shl_load" >&5
12706 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12707 if test "${ac_cv_func_shl_load+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 else
12710 cat >conftest.$ac_ext <<_ACEOF
12711 /* confdefs.h. */
12712 _ACEOF
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12716 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12718 #define shl_load innocuous_shl_load
12719
12720 /* System header to define __stub macros and hopefully few prototypes,
12721 which can conflict with char shl_load (); below.
12722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12723 <limits.h> exists even on freestanding compilers. */
12724
12725 #ifdef __STDC__
12726 # include <limits.h>
12727 #else
12728 # include <assert.h>
12729 #endif
12730
12731 #undef shl_load
12732
12733 /* Override any gcc2 internal prototype to avoid an error. */
12734 #ifdef __cplusplus
12735 extern "C"
12736 {
12737 #endif
12738 /* We use char because int might match the return type of a gcc2
12739 builtin and then its argument prototype would still apply. */
12740 char shl_load ();
12741 /* The GNU C library defines this for functions which it implements
12742 to always fail with ENOSYS. Some functions are actually named
12743 something starting with __ and the normal name is an alias. */
12744 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12745 choke me
12746 #else
12747 char (*f) () = shl_load;
12748 #endif
12749 #ifdef __cplusplus
12750 }
12751 #endif
12752
12753 int
12754 main ()
12755 {
12756 return f != shl_load;
12757 ;
12758 return 0;
12759 }
12760 _ACEOF
12761 rm -f conftest.$ac_objext conftest$ac_exeext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12763 (eval $ac_link) 2>conftest.er1
12764 ac_status=$?
12765 grep -v '^ *+' conftest.er1 >conftest.err
12766 rm -f conftest.er1
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try='test -s conftest$ac_exeext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 ac_cv_func_shl_load=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 ac_cv_func_shl_load=no
12788 fi
12789 rm -f conftest.err conftest.$ac_objext \
12790 conftest$ac_exeext conftest.$ac_ext
12791 fi
12792 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12793 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12794 if test $ac_cv_func_shl_load = yes; then
12795 lt_cv_dlopen="shl_load"
12796 else
12797 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12798 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12799 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-ldld $LIBS"
12804 cat >conftest.$ac_ext <<_ACEOF
12805 /* confdefs.h. */
12806 _ACEOF
12807 cat confdefs.h >>conftest.$ac_ext
12808 cat >>conftest.$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810
12811 /* Override any gcc2 internal prototype to avoid an error. */
12812 #ifdef __cplusplus
12813 extern "C"
12814 #endif
12815 /* We use char because int might match the return type of a gcc2
12816 builtin and then its argument prototype would still apply. */
12817 char shl_load ();
12818 int
12819 main ()
12820 {
12821 shl_load ();
12822 ;
12823 return 0;
12824 }
12825 _ACEOF
12826 rm -f conftest.$ac_objext conftest$ac_exeext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12828 (eval $ac_link) 2>conftest.er1
12829 ac_status=$?
12830 grep -v '^ *+' conftest.er1 >conftest.err
12831 rm -f conftest.er1
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12838 ac_status=$?
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; } &&
12841 { ac_try='test -s conftest$ac_exeext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12844 ac_status=$?
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_cv_lib_dld_shl_load=yes
12848 else
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12851
12852 ac_cv_lib_dld_shl_load=no
12853 fi
12854 rm -f conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12857 fi
12858 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12859 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12860 if test $ac_cv_lib_dld_shl_load = yes; then
12861 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12862 else
12863 echo "$as_me:$LINENO: checking for dlopen" >&5
12864 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12865 if test "${ac_cv_func_dlopen+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 else
12868 cat >conftest.$ac_ext <<_ACEOF
12869 /* confdefs.h. */
12870 _ACEOF
12871 cat confdefs.h >>conftest.$ac_ext
12872 cat >>conftest.$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12876 #define dlopen innocuous_dlopen
12877
12878 /* System header to define __stub macros and hopefully few prototypes,
12879 which can conflict with char dlopen (); below.
12880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12881 <limits.h> exists even on freestanding compilers. */
12882
12883 #ifdef __STDC__
12884 # include <limits.h>
12885 #else
12886 # include <assert.h>
12887 #endif
12888
12889 #undef dlopen
12890
12891 /* Override any gcc2 internal prototype to avoid an error. */
12892 #ifdef __cplusplus
12893 extern "C"
12894 {
12895 #endif
12896 /* We use char because int might match the return type of a gcc2
12897 builtin and then its argument prototype would still apply. */
12898 char dlopen ();
12899 /* The GNU C library defines this for functions which it implements
12900 to always fail with ENOSYS. Some functions are actually named
12901 something starting with __ and the normal name is an alias. */
12902 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12903 choke me
12904 #else
12905 char (*f) () = dlopen;
12906 #endif
12907 #ifdef __cplusplus
12908 }
12909 #endif
12910
12911 int
12912 main ()
12913 {
12914 return f != dlopen;
12915 ;
12916 return 0;
12917 }
12918 _ACEOF
12919 rm -f conftest.$ac_objext conftest$ac_exeext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12921 (eval $ac_link) 2>conftest.er1
12922 ac_status=$?
12923 grep -v '^ *+' conftest.er1 >conftest.err
12924 rm -f conftest.er1
12925 cat conftest.err >&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try='test -s conftest$ac_exeext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_func_dlopen=yes
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12944
12945 ac_cv_func_dlopen=no
12946 fi
12947 rm -f conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 fi
12950 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12951 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12952 if test $ac_cv_func_dlopen = yes; then
12953 lt_cv_dlopen="dlopen"
12954 else
12955 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12956 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12958 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 else
12960 ac_check_lib_save_LIBS=$LIBS
12961 LIBS="-ldl $LIBS"
12962 cat >conftest.$ac_ext <<_ACEOF
12963 /* confdefs.h. */
12964 _ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968
12969 /* Override any gcc2 internal prototype to avoid an error. */
12970 #ifdef __cplusplus
12971 extern "C"
12972 #endif
12973 /* We use char because int might match the return type of a gcc2
12974 builtin and then its argument prototype would still apply. */
12975 char dlopen ();
12976 int
12977 main ()
12978 {
12979 dlopen ();
12980 ;
12981 return 0;
12982 }
12983 _ACEOF
12984 rm -f conftest.$ac_objext conftest$ac_exeext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12986 (eval $ac_link) 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; } &&
12999 { ac_try='test -s conftest$ac_exeext'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; }; then
13005 ac_cv_lib_dl_dlopen=yes
13006 else
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13009
13010 ac_cv_lib_dl_dlopen=no
13011 fi
13012 rm -f conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_lib_save_LIBS
13015 fi
13016 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13017 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13018 if test $ac_cv_lib_dl_dlopen = yes; then
13019 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13020 else
13021 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13022 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13023 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-lsvld $LIBS"
13028 cat >conftest.$ac_ext <<_ACEOF
13029 /* confdefs.h. */
13030 _ACEOF
13031 cat confdefs.h >>conftest.$ac_ext
13032 cat >>conftest.$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034
13035 /* Override any gcc2 internal prototype to avoid an error. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13041 char dlopen ();
13042 int
13043 main ()
13044 {
13045 dlopen ();
13046 ;
13047 return 0;
13048 }
13049 _ACEOF
13050 rm -f conftest.$ac_objext conftest$ac_exeext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13052 (eval $ac_link) 2>conftest.er1
13053 ac_status=$?
13054 grep -v '^ *+' conftest.er1 >conftest.err
13055 rm -f conftest.er1
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13062 ac_status=$?
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try='test -s conftest$ac_exeext'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 ac_cv_lib_svld_dlopen=yes
13072 else
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.$ac_ext >&5
13075
13076 ac_cv_lib_svld_dlopen=no
13077 fi
13078 rm -f conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_lib_save_LIBS
13081 fi
13082 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13083 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13084 if test $ac_cv_lib_svld_dlopen = yes; then
13085 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13086 else
13087 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13088 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13089 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 else
13092 ac_check_lib_save_LIBS=$LIBS
13093 LIBS="-ldld $LIBS"
13094 cat >conftest.$ac_ext <<_ACEOF
13095 /* confdefs.h. */
13096 _ACEOF
13097 cat confdefs.h >>conftest.$ac_ext
13098 cat >>conftest.$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100
13101 /* Override any gcc2 internal prototype to avoid an error. */
13102 #ifdef __cplusplus
13103 extern "C"
13104 #endif
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13107 char dld_link ();
13108 int
13109 main ()
13110 {
13111 dld_link ();
13112 ;
13113 return 0;
13114 }
13115 _ACEOF
13116 rm -f conftest.$ac_objext conftest$ac_exeext
13117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13118 (eval $ac_link) 2>conftest.er1
13119 ac_status=$?
13120 grep -v '^ *+' conftest.er1 >conftest.err
13121 rm -f conftest.er1
13122 cat conftest.err >&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); } &&
13125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13127 (eval $ac_try) 2>&5
13128 ac_status=$?
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }; } &&
13131 { ac_try='test -s conftest$ac_exeext'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13134 ac_status=$?
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; }; then
13137 ac_cv_lib_dld_dld_link=yes
13138 else
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.$ac_ext >&5
13141
13142 ac_cv_lib_dld_dld_link=no
13143 fi
13144 rm -f conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_lib_save_LIBS
13147 fi
13148 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13149 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13150 if test $ac_cv_lib_dld_dld_link = yes; then
13151 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13152 fi
13153
13154
13155 fi
13156
13157
13158 fi
13159
13160
13161 fi
13162
13163
13164 fi
13165
13166
13167 fi
13168
13169 ;;
13170 esac
13171
13172 if test "x$lt_cv_dlopen" != xno; then
13173 enable_dlopen=yes
13174 else
13175 enable_dlopen=no
13176 fi
13177
13178 case $lt_cv_dlopen in
13179 dlopen)
13180 save_CPPFLAGS="$CPPFLAGS"
13181 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13182
13183 save_LDFLAGS="$LDFLAGS"
13184 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13185
13186 save_LIBS="$LIBS"
13187 LIBS="$lt_cv_dlopen_libs $LIBS"
13188
13189 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13190 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13191 if test "${lt_cv_dlopen_self+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 if test "$cross_compiling" = yes; then :
13195 lt_cv_dlopen_self=cross
13196 else
13197 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13198 lt_status=$lt_dlunknown
13199 cat > conftest.$ac_ext <<EOF
13200 #line 13201 "configure"
13201 #include "confdefs.h"
13202
13203 #if HAVE_DLFCN_H
13204 #include <dlfcn.h>
13205 #endif
13206
13207 #include <stdio.h>
13208
13209 #ifdef RTLD_GLOBAL
13210 # define LT_DLGLOBAL RTLD_GLOBAL
13211 #else
13212 # ifdef DL_GLOBAL
13213 # define LT_DLGLOBAL DL_GLOBAL
13214 # else
13215 # define LT_DLGLOBAL 0
13216 # endif
13217 #endif
13218
13219 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13220 find out it does not work in some platform. */
13221 #ifndef LT_DLLAZY_OR_NOW
13222 # ifdef RTLD_LAZY
13223 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13224 # else
13225 # ifdef DL_LAZY
13226 # define LT_DLLAZY_OR_NOW DL_LAZY
13227 # else
13228 # ifdef RTLD_NOW
13229 # define LT_DLLAZY_OR_NOW RTLD_NOW
13230 # else
13231 # ifdef DL_NOW
13232 # define LT_DLLAZY_OR_NOW DL_NOW
13233 # else
13234 # define LT_DLLAZY_OR_NOW 0
13235 # endif
13236 # endif
13237 # endif
13238 # endif
13239 #endif
13240
13241 #ifdef __cplusplus
13242 extern "C" void exit (int);
13243 #endif
13244
13245 void fnord() { int i=42;}
13246 int main ()
13247 {
13248 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13249 int status = $lt_dlunknown;
13250
13251 if (self)
13252 {
13253 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13254 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13255 /* dlclose (self); */
13256 }
13257
13258 exit (status);
13259 }
13260 EOF
13261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13262 (eval $ac_link) 2>&5
13263 ac_status=$?
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13266 (./conftest; exit; ) >&5 2>/dev/null
13267 lt_status=$?
13268 case x$lt_status in
13269 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13270 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13271 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13272 esac
13273 else :
13274 # compilation failed
13275 lt_cv_dlopen_self=no
13276 fi
13277 fi
13278 rm -fr conftest*
13279
13280
13281 fi
13282 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13283 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13284
13285 if test "x$lt_cv_dlopen_self" = xyes; then
13286 LDFLAGS="$LDFLAGS $link_static_flag"
13287 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13288 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13289 if test "${lt_cv_dlopen_self_static+set}" = set; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292 if test "$cross_compiling" = yes; then :
13293 lt_cv_dlopen_self_static=cross
13294 else
13295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13296 lt_status=$lt_dlunknown
13297 cat > conftest.$ac_ext <<EOF
13298 #line 13299 "configure"
13299 #include "confdefs.h"
13300
13301 #if HAVE_DLFCN_H
13302 #include <dlfcn.h>
13303 #endif
13304
13305 #include <stdio.h>
13306
13307 #ifdef RTLD_GLOBAL
13308 # define LT_DLGLOBAL RTLD_GLOBAL
13309 #else
13310 # ifdef DL_GLOBAL
13311 # define LT_DLGLOBAL DL_GLOBAL
13312 # else
13313 # define LT_DLGLOBAL 0
13314 # endif
13315 #endif
13316
13317 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13318 find out it does not work in some platform. */
13319 #ifndef LT_DLLAZY_OR_NOW
13320 # ifdef RTLD_LAZY
13321 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13322 # else
13323 # ifdef DL_LAZY
13324 # define LT_DLLAZY_OR_NOW DL_LAZY
13325 # else
13326 # ifdef RTLD_NOW
13327 # define LT_DLLAZY_OR_NOW RTLD_NOW
13328 # else
13329 # ifdef DL_NOW
13330 # define LT_DLLAZY_OR_NOW DL_NOW
13331 # else
13332 # define LT_DLLAZY_OR_NOW 0
13333 # endif
13334 # endif
13335 # endif
13336 # endif
13337 #endif
13338
13339 #ifdef __cplusplus
13340 extern "C" void exit (int);
13341 #endif
13342
13343 void fnord() { int i=42;}
13344 int main ()
13345 {
13346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13347 int status = $lt_dlunknown;
13348
13349 if (self)
13350 {
13351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13352 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13353 /* dlclose (self); */
13354 }
13355
13356 exit (status);
13357 }
13358 EOF
13359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13360 (eval $ac_link) 2>&5
13361 ac_status=$?
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13364 (./conftest; exit; ) >&5 2>/dev/null
13365 lt_status=$?
13366 case x$lt_status in
13367 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13368 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13369 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13370 esac
13371 else :
13372 # compilation failed
13373 lt_cv_dlopen_self_static=no
13374 fi
13375 fi
13376 rm -fr conftest*
13377
13378
13379 fi
13380 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13381 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13382 fi
13383
13384 CPPFLAGS="$save_CPPFLAGS"
13385 LDFLAGS="$save_LDFLAGS"
13386 LIBS="$save_LIBS"
13387 ;;
13388 esac
13389
13390 case $lt_cv_dlopen_self in
13391 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13392 *) enable_dlopen_self=unknown ;;
13393 esac
13394
13395 case $lt_cv_dlopen_self_static in
13396 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13397 *) enable_dlopen_self_static=unknown ;;
13398 esac
13399 fi
13400
1340113428
1340213429 # The else clause should only fire when bootstrapping the
1340313430 # libtool distribution, otherwise you forgot to ship ltmain.sh
1341213439 # Now quote all the things that may contain metacharacters while being
1341313440 # careful not to overquote the AC_SUBSTed values. We take copies of the
1341413441 # variables and quote the copies for generation of the libtool script.
13415 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13442 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1341613443 SED SHELL STRIP \
1341713444 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1341813445 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1353013557 # A C compiler.
1353113558 LTCC=$lt_LTCC
1353213559
13560 # LTCC compiler flags.
13561 LTCFLAGS=$lt_LTCFLAGS
13562
1353313563 # A language-specific compiler.
1353413564 CC=$lt_compiler_CXX
1353513565
1387213902 # If no C compiler was specified, use CC.
1387313903 LTCC=${LTCC-"$CC"}
1387413904
13905 # If no C compiler flags were specified, use CFLAGS.
13906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13907
1387513908 # Allow CC to be a program name with arguments.
1387613909 compiler=$CC
1387713910
1387913912 # save warnings/boilerplate of simple test code
1388013913 ac_outfile=conftest.$ac_objext
1388113914 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13882 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13915 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1388313916 _lt_compiler_boilerplate=`cat conftest.err`
1388413917 $rm conftest*
1388513918
1388613919 ac_outfile=conftest.$ac_objext
1388713920 printf "$lt_simple_link_test_code" >conftest.$ac_ext
13888 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13921 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1388913922 _lt_linker_boilerplate=`cat conftest.err`
1389013923 $rm conftest*
1389113924
1394113974 echo "$as_me:$LINENO: result: $enable_static" >&5
1394213975 echo "${ECHO_T}$enable_static" >&6
1394313976
13944 test "$ld_shlibs_F77" = no && can_build_shared=no
13945
1394613977 GCC_F77="$G77"
1394713978 LD_F77="$LD"
1394813979
1398714018 # PIC is the default on this platform
1398814019 # Common symbols not allowed in MH_DYLIB files
1398914020 lt_prog_compiler_pic_F77='-fno-common'
14021 ;;
14022
14023 interix3*)
14024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14025 # Instead, we relocate shared libraries at runtime.
1399014026 ;;
1399114027
1399214028 msdosdjgpp*)
1407514111 lt_prog_compiler_static_F77='-Bstatic'
1407614112 ;;
1407714113
14078 linux*)
14114 linux* | k*bsd*-gnu)
1407914115 case $cc_basename in
1408014116 icc* | ecc*)
1408114117 lt_prog_compiler_wl_F77='-Wl,'
1410314139 lt_prog_compiler_static_F77='-non_shared'
1410414140 ;;
1410514141
14106 sco3.2v5*)
14107 lt_prog_compiler_pic_F77='-Kpic'
14108 lt_prog_compiler_static_F77='-dn'
14109 ;;
14110
1411114142 solaris*)
1411214143 lt_prog_compiler_pic_F77='-KPIC'
1411314144 lt_prog_compiler_static_F77='-Bstatic'
1412514156 lt_prog_compiler_static_F77='-Bstatic'
1412614157 ;;
1412714158
14128 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14159 sysv4 | sysv4.2uw2* | sysv4.3*)
1412914160 lt_prog_compiler_wl_F77='-Wl,'
1413014161 lt_prog_compiler_pic_F77='-KPIC'
1413114162 lt_prog_compiler_static_F77='-Bstatic'
1413614167 lt_prog_compiler_pic_F77='-Kconform_pic'
1413714168 lt_prog_compiler_static_F77='-Bstatic'
1413814169 fi
14170 ;;
14171
14172 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14173 lt_prog_compiler_wl_F77='-Wl,'
14174 lt_prog_compiler_pic_F77='-KPIC'
14175 lt_prog_compiler_static_F77='-Bstatic'
1413914176 ;;
1414014177
1414114178 unicos*)
1418014217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1418114218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1418214219 -e 's:$: $lt_compiler_flag:'`
14183 (eval echo "\"\$as_me:14184: $lt_compile\"" >&5)
14220 (eval echo "\"\$as_me:14221: $lt_compile\"" >&5)
1418414221 (eval "$lt_compile" 2>conftest.err)
1418514222 ac_status=$?
1418614223 cat conftest.err >&5
14187 echo "$as_me:14188: \$? = $ac_status" >&5
14224 echo "$as_me:14225: \$? = $ac_status" >&5
1418814225 if (exit $ac_status) && test -s "$ac_outfile"; then
1418914226 # The compiler can only warn and ignore the option if not recognized
1419014227 # So say no if there are warnings other than the usual output.
14191 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
14192 $SED '/^$/d' conftest.err >conftest.er2
14193 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
14228 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14229 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14230 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1419414231 lt_prog_compiler_pic_works_F77=yes
1419514232 fi
1419614233 fi
1422114258 ;;
1422214259 esac
1422314260
14261 #
14262 # Check to make sure the static flag actually works.
14263 #
14264 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14265 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14266 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14267 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 else
14270 lt_prog_compiler_static_works_F77=no
14271 save_LDFLAGS="$LDFLAGS"
14272 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14273 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14274 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14275 # The linker can only warn and ignore the option if not recognized
14276 # So say no if there are warnings
14277 if test -s conftest.err; then
14278 # Append any errors to the config.log.
14279 cat conftest.err 1>&5
14280 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14281 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14282 if diff conftest.exp conftest.er2 >/dev/null; then
14283 lt_prog_compiler_static_works_F77=yes
14284 fi
14285 else
14286 lt_prog_compiler_static_works_F77=yes
14287 fi
14288 fi
14289 $rm conftest*
14290 LDFLAGS="$save_LDFLAGS"
14291
14292 fi
14293 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14294 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14295
14296 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14297 :
14298 else
14299 lt_prog_compiler_static_F77=
14300 fi
14301
14302
1422414303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1422514304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1422614305 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
1424214321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1424314322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1424414323 -e 's:$: $lt_compiler_flag:'`
14245 (eval echo "\"\$as_me:14246: $lt_compile\"" >&5)
14324 (eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
1424614325 (eval "$lt_compile" 2>out/conftest.err)
1424714326 ac_status=$?
1424814327 cat out/conftest.err >&5
14249 echo "$as_me:14250: \$? = $ac_status" >&5
14328 echo "$as_me:14329: \$? = $ac_status" >&5
1425014329 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1425114330 then
1425214331 # The compiler can only warn and ignore the option if not recognized
1425314332 # So say no if there are warnings
14254 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
14255 $SED '/^$/d' out/conftest.err >out/conftest.er2
14256 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14333 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14334 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14335 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1425714336 lt_cv_prog_compiler_c_o_F77=yes
1425814337 fi
1425914338 fi
1435314432 with_gnu_ld=no
1435414433 fi
1435514434 ;;
14435 interix*)
14436 # we just hope/assume this is gcc and not c89 (= MSVC++)
14437 with_gnu_ld=yes
14438 ;;
1435614439 openbsd*)
1435714440 with_gnu_ld=no
1435814441 ;;
1443714520 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1443814521
1443914522 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14440 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14523 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1444114524 # If the export-symbols file already is a .def file (1st line
1444214525 # is EXPORTS), use it as is; otherwise, prepend...
1444314526 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1444614529 echo EXPORTS > $output_objdir/$soname.def;
1444714530 cat $export_symbols >> $output_objdir/$soname.def;
1444814531 fi~
14449 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14532 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1445014533 else
1445114534 ld_shlibs_F77=no
1445214535 fi
1445314536 ;;
1445414537
14455 linux*)
14538 interix3*)
14539 hardcode_direct_F77=no
14540 hardcode_shlibpath_var_F77=no
14541 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14542 export_dynamic_flag_spec_F77='${wl}-E'
14543 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14544 # Instead, shared libraries are loaded at an image base (0x10000000 by
14545 # default) and relocated if they conflict, which is a slow very memory
14546 # consuming and fragmenting process. To avoid this, we pick a random,
14547 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14548 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14549 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14550 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'
14551 ;;
14552
14553 linux* | k*bsd*-gnu)
1445614554 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1445714555 tmp_addflag=
1445814556 case $cc_basename,$host_cpu in
1448414582 fi
1448514583 ;;
1448614584
14487 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14585 netbsd* | netbsdelf*-gnu)
1448814586 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1448914587 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1449014588 wlarc=
1449414592 fi
1449514593 ;;
1449614594
14497 solaris* | sysv5*)
14595 solaris*)
1449814596 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1449914597 ld_shlibs_F77=no
1450014598 cat <<EOF 1>&2
1451314611 else
1451414612 ld_shlibs_F77=no
1451514613 fi
14614 ;;
14615
14616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14617 case `$LD -v 2>&1` in
14618 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14619 ld_shlibs_F77=no
14620 cat <<_LT_EOF 1>&2
14621
14622 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14623 *** reliably create shared libraries on SCO systems. Therefore, libtool
14624 *** is disabling shared libraries support. We urge you to upgrade GNU
14625 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14626 *** your PATH or compiler configuration so that the native linker is
14627 *** used, and then restart.
14628
14629 _LT_EOF
14630 ;;
14631 *)
14632 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14633 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14634 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14635 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14636 else
14637 ld_shlibs_F77=no
14638 fi
14639 ;;
14640 esac
1451614641 ;;
1451714642
1451814643 sunos4*)
1454814673 # Note: this linker hardcodes the directories in LIBPATH if there
1454914674 # are no directories specified by -L.
1455014675 hardcode_minus_L_F77=yes
14551 if test "$GCC" = yes && test -z "$link_static_flag"; then
14676 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1455214677 # Neither direct hardcoding nor static linking is supported with a
1455314678 # broken collect2.
1455414679 hardcode_direct_F77=unsupported
1458214707 break
1458314708 fi
1458414709 done
14710 ;;
1458514711 esac
1458614712
1458714713 exp_sym_flag='-bexport'
1461914745 hardcode_libdir_flag_spec_F77='-L$libdir'
1462014746 hardcode_libdir_separator_F77=
1462114747 fi
14748 ;;
1462214749 esac
1462314750 shared_flag='-shared'
1462414751 if test "$aix_use_runtimelinking" = yes; then
1463114758 # chokes on -Wl,-G. The following line is correct:
1463214759 shared_flag='-G'
1463314760 else
14634 if test "$aix_use_runtimelinking" = yes; then
14761 if test "$aix_use_runtimelinking" = yes; then
1463514762 shared_flag='${wl}-G'
1463614763 else
1463714764 shared_flag='${wl}-bM:SRE'
14638 fi
14765 fi
1463914766 fi
1464014767 fi
1464114768
1468914816 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1469014817
1469114818 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14692 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14819 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1469314820 else
1469414821 if test "$host_cpu" = ia64; then
1469514822 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
1469614823 allow_undefined_flag_F77="-z nodefs"
14697 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14824 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1469814825 else
1469914826 # Determine the default libpath from the value encoded in an empty executable.
1470014827 cat >conftest.$ac_ext <<_ACEOF
1474314870 # -berok will link without error, but may produce a broken library.
1474414871 no_undefined_flag_F77=' ${wl}-bernotok'
1474514872 allow_undefined_flag_F77=' ${wl}-berok'
14746 # -bexpall does not export symbols beginning with underscore (_)
14747 always_export_symbols_F77=yes
1474814873 # Exported symbols can be pulled into shared objects from archives
14749 whole_archive_flag_spec_F77=' '
14874 whole_archive_flag_spec_F77='$convenience'
1475014875 archive_cmds_need_lc_F77=yes
1475114876 # This is similar to how AIX traditionally builds its shared libraries.
14752 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14877 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1475314878 fi
1475414879 fi
1475514880 ;;
1486714992 ;;
1486814993
1486914994 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14870 freebsd* | kfreebsd*-gnu | dragonfly*)
14995 freebsd* | dragonfly*)
1487114996 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1487214997 hardcode_libdir_flag_spec_F77='-R$libdir'
1487314998 hardcode_direct_F77=yes
1489015015 export_dynamic_flag_spec_F77='${wl}-E'
1489115016 ;;
1489215017
14893 hpux10* | hpux11*)
15018 hpux10*)
15019 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15020 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15021 else
15022 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15023 fi
15024 if test "$with_gnu_ld" = no; then
15025 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15026 hardcode_libdir_separator_F77=:
15027
15028 hardcode_direct_F77=yes
15029 export_dynamic_flag_spec_F77='${wl}-E'
15030
15031 # hardcode_minus_L: Not really in the search PATH,
15032 # but as the default location of the library.
15033 hardcode_minus_L_F77=yes
15034 fi
15035 ;;
15036
15037 hpux11*)
1489415038 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1489515039 case $host_cpu in
14896 hppa*64*|ia64*)
15040 hppa*64*)
1489715041 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15042 ;;
15043 ia64*)
15044 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1489815045 ;;
1489915046 *)
1490015047 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1490215049 esac
1490315050 else
1490415051 case $host_cpu in
14905 hppa*64*|ia64*)
14906 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15052 hppa*64*)
15053 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15054 ;;
15055 ia64*)
15056 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1490715057 ;;
1490815058 *)
14909 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15059 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1491015060 ;;
1491115061 esac
1491215062 fi
1491315063 if test "$with_gnu_ld" = no; then
15064 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15065 hardcode_libdir_separator_F77=:
15066
1491415067 case $host_cpu in
14915 hppa*64*)
14916 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15068 hppa*64*|ia64*)
1491715069 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14918 hardcode_libdir_separator_F77=:
1491915070 hardcode_direct_F77=no
1492015071 hardcode_shlibpath_var_F77=no
1492115072 ;;
14922 ia64*)
14923 hardcode_libdir_flag_spec_F77='-L$libdir'
14924 hardcode_direct_F77=no
14925 hardcode_shlibpath_var_F77=no
14926
14927 # hardcode_minus_L: Not really in the search PATH,
14928 # but as the default location of the library.
14929 hardcode_minus_L_F77=yes
14930 ;;
1493115073 *)
14932 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14933 hardcode_libdir_separator_F77=:
1493415074 hardcode_direct_F77=yes
1493515075 export_dynamic_flag_spec_F77='${wl}-E'
1493615076
1495415094 link_all_deplibs_F77=yes
1495515095 ;;
1495615096
14957 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15097 netbsd* | netbsdelf*-gnu)
1495815098 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1495915099 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1496015100 else
1503015170 hardcode_libdir_flag_spec_F77='-rpath $libdir'
1503115171 fi
1503215172 hardcode_libdir_separator_F77=:
15033 ;;
15034
15035 sco3.2v5*)
15036 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15037 hardcode_shlibpath_var_F77=no
15038 export_dynamic_flag_spec_F77='${wl}-Bexport'
15039 runpath_var=LD_RUN_PATH
15040 hardcode_runpath_var=yes
1504115173 ;;
1504215174
1504315175 solaris*)
1512515257 fi
1512615258 ;;
1512715259
15128 sysv4.2uw2*)
15129 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15130 hardcode_direct_F77=yes
15131 hardcode_minus_L_F77=no
15132 hardcode_shlibpath_var_F77=no
15133 hardcode_runpath_var=yes
15134 runpath_var=LD_RUN_PATH
15135 ;;
15136
15137 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15138 no_undefined_flag_F77='${wl}-z ${wl}text'
15139 if test "$GCC" = yes; then
15140 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15141 else
15142 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15143 fi
15144 runpath_var='LD_RUN_PATH'
15145 hardcode_shlibpath_var_F77=no
15146 ;;
15147
15148 sysv5*)
15149 no_undefined_flag_F77=' -z text'
15150 # $CC -shared without GNU ld will not create a library from C++
15151 # object files and a static libstdc++, better avoid it by now
15152 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15153 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15154 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15155 hardcode_libdir_flag_spec_F77=
15260 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15261 no_undefined_flag_F77='${wl}-z,text'
15262 archive_cmds_need_lc_F77=no
1515615263 hardcode_shlibpath_var_F77=no
1515715264 runpath_var='LD_RUN_PATH'
15265
15266 if test "$GCC" = yes; then
15267 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15268 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15269 else
15270 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15271 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15272 fi
15273 ;;
15274
15275 sysv5* | sco3.2v5* | sco5v6*)
15276 # Note: We can NOT use -z defs as we might desire, because we do not
15277 # link with -lc, and that would cause any symbols used from libc to
15278 # always be unresolved, which means just about no library would
15279 # ever link correctly. If we're not using GNU ld we use -z text
15280 # though, which does catch some bad symbols but isn't as heavy-handed
15281 # as -z defs.
15282 no_undefined_flag_F77='${wl}-z,text'
15283 allow_undefined_flag_F77='${wl}-z,nodefs'
15284 archive_cmds_need_lc_F77=no
15285 hardcode_shlibpath_var_F77=no
15286 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15287 hardcode_libdir_separator_F77=':'
15288 link_all_deplibs_F77=yes
15289 export_dynamic_flag_spec_F77='${wl}-Bexport'
15290 runpath_var='LD_RUN_PATH'
15291
15292 if test "$GCC" = yes; then
15293 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15294 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15295 else
15296 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15297 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15298 fi
1515815299 ;;
1515915300
1516015301 uts4*)
1517215313 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
1517315314 echo "${ECHO_T}$ld_shlibs_F77" >&6
1517415315 test "$ld_shlibs_F77" = no && can_build_shared=no
15175
15176 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15177 if test "$GCC" = yes; then
15178 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15179 fi
1518015316
1518115317 #
1518215318 # Do we need to explicitly link libc?
1521015346 libobjs=conftest.$ac_objext
1521115347 deplibs=
1521215348 wl=$lt_prog_compiler_wl_F77
15349 pic_flag=$lt_prog_compiler_pic_F77
1521315350 compiler_flags=-v
1521415351 linker_flags=-v
1521515352 verstring=
1544715584 dynamic_linker=no
1544815585 ;;
1544915586
15450 kfreebsd*-gnu)
15451 version_type=linux
15452 need_lib_prefix=no
15453 need_version=no
15454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15455 soname_spec='${libname}${release}${shared_ext}$major'
15456 shlibpath_var=LD_LIBRARY_PATH
15457 shlibpath_overrides_runpath=no
15458 hardcode_into_libs=yes
15459 dynamic_linker='GNU ld.so'
15460 ;;
15461
1546215587 freebsd* | dragonfly*)
1546315588 # DragonFly does not have aout. When/if they implement a new
1546415589 # versioning mechanism, adjust this.
1549115616 shlibpath_overrides_runpath=yes
1549215617 hardcode_into_libs=yes
1549315618 ;;
15494 *) # from 3.2 on
15619 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15620 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1549515621 shlibpath_overrides_runpath=no
15622 hardcode_into_libs=yes
15623 ;;
15624 freebsd*) # from 4.6 on
15625 shlibpath_overrides_runpath=yes
1549615626 hardcode_into_libs=yes
1549715627 ;;
1549815628 esac
1555415684 postinstall_cmds='chmod 555 $lib'
1555515685 ;;
1555615686
15687 interix3*)
15688 version_type=linux
15689 need_lib_prefix=no
15690 need_version=no
15691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15692 soname_spec='${libname}${release}${shared_ext}$major'
15693 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15694 shlibpath_var=LD_LIBRARY_PATH
15695 shlibpath_overrides_runpath=no
15696 hardcode_into_libs=yes
15697 ;;
15698
1555715699 irix5* | irix6* | nonstopux*)
1555815700 case $host_os in
1555915701 nonstopux*) version_type=nonstopux ;;
1559715739 ;;
1559815740
1559915741 # This must be Linux ELF.
15600 linux*)
15742 linux* | k*bsd*-gnu)
1560115743 version_type=linux
1560215744 need_lib_prefix=no
1560315745 need_version=no
1563615778 shlibpath_overrides_runpath=no
1563715779 hardcode_into_libs=yes
1563815780 dynamic_linker='NetBSD ld.elf_so'
15639 ;;
15640
15641 knetbsd*-gnu)
15642 version_type=linux
15643 need_lib_prefix=no
15644 need_version=no
15645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15646 soname_spec='${libname}${release}${shared_ext}$major'
15647 shlibpath_var=LD_LIBRARY_PATH
15648 shlibpath_overrides_runpath=no
15649 hardcode_into_libs=yes
15650 dynamic_linker='GNU ld.so'
1565115781 ;;
1565215782
1565315783 netbsd*)
1568715817
1568815818 openbsd*)
1568915819 version_type=sunos
15820 sys_lib_dlsearch_path_spec="/usr/lib"
1569015821 need_lib_prefix=no
1569115822 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1569215823 case $host_os in
1573015861 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1573115862 ;;
1573215863
15733 sco3.2v5*)
15734 version_type=osf
15735 soname_spec='${libname}${release}${shared_ext}$major'
15736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15737 shlibpath_var=LD_LIBRARY_PATH
15738 ;;
15739
1574015864 solaris*)
1574115865 version_type=linux
1574215866 need_lib_prefix=no
1576215886 need_version=yes
1576315887 ;;
1576415888
15765 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15889 sysv4 | sysv4.3*)
1576615890 version_type=linux
1576715891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1576815892 soname_spec='${libname}${release}${shared_ext}$major'
1579515919 fi
1579615920 ;;
1579715921
15922 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15923 version_type=freebsd-elf
15924 need_lib_prefix=no
15925 need_version=no
15926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15927 soname_spec='${libname}${release}${shared_ext}$major'
15928 shlibpath_var=LD_LIBRARY_PATH
15929 hardcode_into_libs=yes
15930 if test "$with_gnu_ld" = yes; then
15931 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15932 shlibpath_overrides_runpath=no
15933 else
15934 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15935 shlibpath_overrides_runpath=yes
15936 case $host_os in
15937 sco3.2v5*)
15938 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15939 ;;
15940 esac
15941 fi
15942 sys_lib_dlsearch_path_spec='/usr/lib'
15943 ;;
15944
1579815945 uts4*)
1579915946 version_type=linux
1580015947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1580915956 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1581015957 echo "${ECHO_T}$dynamic_linker" >&6
1581115958 test "$dynamic_linker" = no && can_build_shared=no
15959
15960 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15961 if test "$GCC" = yes; then
15962 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15963 fi
1581215964
1581315965 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1581415966 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1584715999 enable_fast_install=needless
1584816000 fi
1584916001
15850 striplib=
15851 old_striplib=
15852 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15853 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15854 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15855 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15856 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15857 echo "$as_me:$LINENO: result: yes" >&5
15858 echo "${ECHO_T}yes" >&6
15859 else
15860 # FIXME - insert some real tests, host_os isn't really good enough
15861 case $host_os in
15862 darwin*)
15863 if test -n "$STRIP" ; then
15864 striplib="$STRIP -x"
15865 echo "$as_me:$LINENO: result: yes" >&5
15866 echo "${ECHO_T}yes" >&6
15867 else
15868 echo "$as_me:$LINENO: result: no" >&5
15869 echo "${ECHO_T}no" >&6
15870 fi
15871 ;;
15872 *)
15873 echo "$as_me:$LINENO: result: no" >&5
15874 echo "${ECHO_T}no" >&6
15875 ;;
15876 esac
15877 fi
15878
15879
1588016002
1588116003 # The else clause should only fire when bootstrapping the
1588216004 # libtool distribution, otherwise you forgot to ship ltmain.sh
1589116013 # Now quote all the things that may contain metacharacters while being
1589216014 # careful not to overquote the AC_SUBSTed values. We take copies of the
1589316015 # variables and quote the copies for generation of the libtool script.
15894 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16016 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1589516017 SED SHELL STRIP \
1589616018 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1589716019 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1600916131 # A C compiler.
1601016132 LTCC=$lt_LTCC
1601116133
16134 # LTCC compiler flags.
16135 LTCFLAGS=$lt_LTCFLAGS
16136
1601216137 # A language-specific compiler.
1601316138 CC=$lt_compiler_F77
1601416139
1631916444 # If no C compiler was specified, use CC.
1632016445 LTCC=${LTCC-"$CC"}
1632116446
16447 # If no C compiler flags were specified, use CFLAGS.
16448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16449
1632216450 # Allow CC to be a program name with arguments.
1632316451 compiler=$CC
1632416452
1632616454 # save warnings/boilerplate of simple test code
1632716455 ac_outfile=conftest.$ac_objext
1632816456 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16329 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16457 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1633016458 _lt_compiler_boilerplate=`cat conftest.err`
1633116459 $rm conftest*
1633216460
1633316461 ac_outfile=conftest.$ac_objext
1633416462 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16335 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16463 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1633616464 _lt_linker_boilerplate=`cat conftest.err`
1633716465 $rm conftest*
1633816466
1638316511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1638416512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1638516513 -e 's:$: $lt_compiler_flag:'`
16386 (eval echo "\"\$as_me:16387: $lt_compile\"" >&5)
16514 (eval echo "\"\$as_me:16515: $lt_compile\"" >&5)
1638716515 (eval "$lt_compile" 2>conftest.err)
1638816516 ac_status=$?
1638916517 cat conftest.err >&5
16390 echo "$as_me:16391: \$? = $ac_status" >&5
16518 echo "$as_me:16519: \$? = $ac_status" >&5
1639116519 if (exit $ac_status) && test -s "$ac_outfile"; then
1639216520 # The compiler can only warn and ignore the option if not recognized
1639316521 # So say no if there are warnings other than the usual output.
16394 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16395 $SED '/^$/d' conftest.err >conftest.er2
16396 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16522 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16524 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1639716525 lt_cv_prog_compiler_rtti_exceptions=yes
1639816526 fi
1639916527 fi
1645216580 # PIC is the default on this platform
1645316581 # Common symbols not allowed in MH_DYLIB files
1645416582 lt_prog_compiler_pic_GCJ='-fno-common'
16583 ;;
16584
16585 interix3*)
16586 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16587 # Instead, we relocate shared libraries at runtime.
1645516588 ;;
1645616589
1645716590 msdosdjgpp*)
1654016673 lt_prog_compiler_static_GCJ='-Bstatic'
1654116674 ;;
1654216675
16543 linux*)
16676 linux* | k*bsd*-gnu)
1654416677 case $cc_basename in
1654516678 icc* | ecc*)
1654616679 lt_prog_compiler_wl_GCJ='-Wl,'
1656816701 lt_prog_compiler_static_GCJ='-non_shared'
1656916702 ;;
1657016703
16571 sco3.2v5*)
16572 lt_prog_compiler_pic_GCJ='-Kpic'
16573 lt_prog_compiler_static_GCJ='-dn'
16574 ;;
16575
1657616704 solaris*)
1657716705 lt_prog_compiler_pic_GCJ='-KPIC'
1657816706 lt_prog_compiler_static_GCJ='-Bstatic'
1659016718 lt_prog_compiler_static_GCJ='-Bstatic'
1659116719 ;;
1659216720
16593 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16721 sysv4 | sysv4.2uw2* | sysv4.3*)
1659416722 lt_prog_compiler_wl_GCJ='-Wl,'
1659516723 lt_prog_compiler_pic_GCJ='-KPIC'
1659616724 lt_prog_compiler_static_GCJ='-Bstatic'
1660116729 lt_prog_compiler_pic_GCJ='-Kconform_pic'
1660216730 lt_prog_compiler_static_GCJ='-Bstatic'
1660316731 fi
16732 ;;
16733
16734 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16735 lt_prog_compiler_wl_GCJ='-Wl,'
16736 lt_prog_compiler_pic_GCJ='-KPIC'
16737 lt_prog_compiler_static_GCJ='-Bstatic'
1660416738 ;;
1660516739
1660616740 unicos*)
1664516779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1664616780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1664716781 -e 's:$: $lt_compiler_flag:'`
16648 (eval echo "\"\$as_me:16649: $lt_compile\"" >&5)
16782 (eval echo "\"\$as_me:16783: $lt_compile\"" >&5)
1664916783 (eval "$lt_compile" 2>conftest.err)
1665016784 ac_status=$?
1665116785 cat conftest.err >&5
16652 echo "$as_me:16653: \$? = $ac_status" >&5
16786 echo "$as_me:16787: \$? = $ac_status" >&5
1665316787 if (exit $ac_status) && test -s "$ac_outfile"; then
1665416788 # The compiler can only warn and ignore the option if not recognized
1665516789 # So say no if there are warnings other than the usual output.
16656 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16657 $SED '/^$/d' conftest.err >conftest.er2
16658 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16790 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1665916793 lt_prog_compiler_pic_works_GCJ=yes
1666016794 fi
1666116795 fi
1668616820 ;;
1668716821 esac
1668816822
16823 #
16824 # Check to make sure the static flag actually works.
16825 #
16826 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16827 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16828 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16829 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16831 else
16832 lt_prog_compiler_static_works_GCJ=no
16833 save_LDFLAGS="$LDFLAGS"
16834 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16835 printf "$lt_simple_link_test_code" > conftest.$ac_ext
16836 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16837 # The linker can only warn and ignore the option if not recognized
16838 # So say no if there are warnings
16839 if test -s conftest.err; then
16840 # Append any errors to the config.log.
16841 cat conftest.err 1>&5
16842 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16843 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16844 if diff conftest.exp conftest.er2 >/dev/null; then
16845 lt_prog_compiler_static_works_GCJ=yes
16846 fi
16847 else
16848 lt_prog_compiler_static_works_GCJ=yes
16849 fi
16850 fi
16851 $rm conftest*
16852 LDFLAGS="$save_LDFLAGS"
16853
16854 fi
16855 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16856 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16857
16858 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16859 :
16860 else
16861 lt_prog_compiler_static_GCJ=
16862 fi
16863
16864
1668916865 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
1669016866 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
1669116867 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
1670716883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1670816884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1670916885 -e 's:$: $lt_compiler_flag:'`
16710 (eval echo "\"\$as_me:16711: $lt_compile\"" >&5)
16886 (eval echo "\"\$as_me:16887: $lt_compile\"" >&5)
1671116887 (eval "$lt_compile" 2>out/conftest.err)
1671216888 ac_status=$?
1671316889 cat out/conftest.err >&5
16714 echo "$as_me:16715: \$? = $ac_status" >&5
16890 echo "$as_me:16891: \$? = $ac_status" >&5
1671516891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1671616892 then
1671716893 # The compiler can only warn and ignore the option if not recognized
1671816894 # So say no if there are warnings
16719 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16720 $SED '/^$/d' out/conftest.err >out/conftest.er2
16721 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16895 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1672216898 lt_cv_prog_compiler_c_o_GCJ=yes
1672316899 fi
1672416900 fi
1681816994 with_gnu_ld=no
1681916995 fi
1682016996 ;;
16997 interix*)
16998 # we just hope/assume this is gcc and not c89 (= MSVC++)
16999 with_gnu_ld=yes
17000 ;;
1682117001 openbsd*)
1682217002 with_gnu_ld=no
1682317003 ;;
1690217082 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1690317083
1690417084 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16905 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17085 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1690617086 # If the export-symbols file already is a .def file (1st line
1690717087 # is EXPORTS), use it as is; otherwise, prepend...
1690817088 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1691117091 echo EXPORTS > $output_objdir/$soname.def;
1691217092 cat $export_symbols >> $output_objdir/$soname.def;
1691317093 fi~
16914 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17094 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1691517095 else
1691617096 ld_shlibs_GCJ=no
1691717097 fi
1691817098 ;;
1691917099
16920 linux*)
17100 interix3*)
17101 hardcode_direct_GCJ=no
17102 hardcode_shlibpath_var_GCJ=no
17103 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17104 export_dynamic_flag_spec_GCJ='${wl}-E'
17105 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17106 # Instead, shared libraries are loaded at an image base (0x10000000 by
17107 # default) and relocated if they conflict, which is a slow very memory
17108 # consuming and fragmenting process. To avoid this, we pick a random,
17109 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17110 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17111 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17112 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'
17113 ;;
17114
17115 linux* | k*bsd*-gnu)
1692117116 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1692217117 tmp_addflag=
1692317118 case $cc_basename,$host_cpu in
1694917144 fi
1695017145 ;;
1695117146
16952 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17147 netbsd* | netbsdelf*-gnu)
1695317148 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1695417149 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1695517150 wlarc=
1695917154 fi
1696017155 ;;
1696117156
16962 solaris* | sysv5*)
17157 solaris*)
1696317158 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1696417159 ld_shlibs_GCJ=no
1696517160 cat <<EOF 1>&2
1697817173 else
1697917174 ld_shlibs_GCJ=no
1698017175 fi
17176 ;;
17177
17178 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17179 case `$LD -v 2>&1` in
17180 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17181 ld_shlibs_GCJ=no
17182 cat <<_LT_EOF 1>&2
17183
17184 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17185 *** reliably create shared libraries on SCO systems. Therefore, libtool
17186 *** is disabling shared libraries support. We urge you to upgrade GNU
17187 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17188 *** your PATH or compiler configuration so that the native linker is
17189 *** used, and then restart.
17190
17191 _LT_EOF
17192 ;;
17193 *)
17194 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17195 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17196 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17197 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17198 else
17199 ld_shlibs_GCJ=no
17200 fi
17201 ;;
17202 esac
1698117203 ;;
1698217204
1698317205 sunos4*)
1701317235 # Note: this linker hardcodes the directories in LIBPATH if there
1701417236 # are no directories specified by -L.
1701517237 hardcode_minus_L_GCJ=yes
17016 if test "$GCC" = yes && test -z "$link_static_flag"; then
17238 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1701717239 # Neither direct hardcoding nor static linking is supported with a
1701817240 # broken collect2.
1701917241 hardcode_direct_GCJ=unsupported
1704717269 break
1704817270 fi
1704917271 done
17272 ;;
1705017273 esac
1705117274
1705217275 exp_sym_flag='-bexport'
1708417307 hardcode_libdir_flag_spec_GCJ='-L$libdir'
1708517308 hardcode_libdir_separator_GCJ=
1708617309 fi
17310 ;;
1708717311 esac
1708817312 shared_flag='-shared'
1708917313 if test "$aix_use_runtimelinking" = yes; then
1709617320 # chokes on -Wl,-G. The following line is correct:
1709717321 shared_flag='-G'
1709817322 else
17099 if test "$aix_use_runtimelinking" = yes; then
17323 if test "$aix_use_runtimelinking" = yes; then
1710017324 shared_flag='${wl}-G'
1710117325 else
1710217326 shared_flag='${wl}-bM:SRE'
17103 fi
17327 fi
1710417328 fi
1710517329 fi
1710617330
1716417388 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1716517389
1716617390 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17167 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17391 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1716817392 else
1716917393 if test "$host_cpu" = ia64; then
1717017394 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
1717117395 allow_undefined_flag_GCJ="-z nodefs"
17172 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17396 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1717317397 else
1717417398 # Determine the default libpath from the value encoded in an empty executable.
1717517399 cat >conftest.$ac_ext <<_ACEOF
1722817452 # -berok will link without error, but may produce a broken library.
1722917453 no_undefined_flag_GCJ=' ${wl}-bernotok'
1723017454 allow_undefined_flag_GCJ=' ${wl}-berok'
17231 # -bexpall does not export symbols beginning with underscore (_)
17232 always_export_symbols_GCJ=yes
1723317455 # Exported symbols can be pulled into shared objects from archives
17234 whole_archive_flag_spec_GCJ=' '
17456 whole_archive_flag_spec_GCJ='$convenience'
1723517457 archive_cmds_need_lc_GCJ=yes
1723617458 # This is similar to how AIX traditionally builds its shared libraries.
17237 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17459 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1723817460 fi
1723917461 fi
1724017462 ;;
1735217574 ;;
1735317575
1735417576 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17355 freebsd* | kfreebsd*-gnu | dragonfly*)
17577 freebsd* | dragonfly*)
1735617578 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1735717579 hardcode_libdir_flag_spec_GCJ='-R$libdir'
1735817580 hardcode_direct_GCJ=yes
1737517597 export_dynamic_flag_spec_GCJ='${wl}-E'
1737617598 ;;
1737717599
17378 hpux10* | hpux11*)
17600 hpux10*)
17601 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17602 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17603 else
17604 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17605 fi
17606 if test "$with_gnu_ld" = no; then
17607 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17608 hardcode_libdir_separator_GCJ=:
17609
17610 hardcode_direct_GCJ=yes
17611 export_dynamic_flag_spec_GCJ='${wl}-E'
17612
17613 # hardcode_minus_L: Not really in the search PATH,
17614 # but as the default location of the library.
17615 hardcode_minus_L_GCJ=yes
17616 fi
17617 ;;
17618
17619 hpux11*)
1737917620 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1738017621 case $host_cpu in
17381 hppa*64*|ia64*)
17622 hppa*64*)
1738217623 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17624 ;;
17625 ia64*)
17626 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1738317627 ;;
1738417628 *)
1738517629 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1738717631 esac
1738817632 else
1738917633 case $host_cpu in
17390 hppa*64*|ia64*)
17391 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17634 hppa*64*)
17635 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17636 ;;
17637 ia64*)
17638 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1739217639 ;;
1739317640 *)
17394 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17641 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1739517642 ;;
1739617643 esac
1739717644 fi
1739817645 if test "$with_gnu_ld" = no; then
17646 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17647 hardcode_libdir_separator_GCJ=:
17648
1739917649 case $host_cpu in
17400 hppa*64*)
17401 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17650 hppa*64*|ia64*)
1740217651 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17403 hardcode_libdir_separator_GCJ=:
1740417652 hardcode_direct_GCJ=no
1740517653 hardcode_shlibpath_var_GCJ=no
1740617654 ;;
17407 ia64*)
17408 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17409 hardcode_direct_GCJ=no
17410 hardcode_shlibpath_var_GCJ=no
17411
17412 # hardcode_minus_L: Not really in the search PATH,
17413 # but as the default location of the library.
17414 hardcode_minus_L_GCJ=yes
17415 ;;
1741617655 *)
17417 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17418 hardcode_libdir_separator_GCJ=:
1741917656 hardcode_direct_GCJ=yes
1742017657 export_dynamic_flag_spec_GCJ='${wl}-E'
1742117658
1743917676 link_all_deplibs_GCJ=yes
1744017677 ;;
1744117678
17442 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17679 netbsd* | netbsdelf*-gnu)
1744317680 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1744417681 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1744517682 else
1751517752 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
1751617753 fi
1751717754 hardcode_libdir_separator_GCJ=:
17518 ;;
17519
17520 sco3.2v5*)
17521 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17522 hardcode_shlibpath_var_GCJ=no
17523 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17524 runpath_var=LD_RUN_PATH
17525 hardcode_runpath_var=yes
1752617755 ;;
1752717756
1752817757 solaris*)
1761017839 fi
1761117840 ;;
1761217841
17613 sysv4.2uw2*)
17614 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17615 hardcode_direct_GCJ=yes
17616 hardcode_minus_L_GCJ=no
17617 hardcode_shlibpath_var_GCJ=no
17618 hardcode_runpath_var=yes
17619 runpath_var=LD_RUN_PATH
17620 ;;
17621
17622 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17623 no_undefined_flag_GCJ='${wl}-z ${wl}text'
17624 if test "$GCC" = yes; then
17625 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17626 else
17627 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17628 fi
17629 runpath_var='LD_RUN_PATH'
17630 hardcode_shlibpath_var_GCJ=no
17631 ;;
17632
17633 sysv5*)
17634 no_undefined_flag_GCJ=' -z text'
17635 # $CC -shared without GNU ld will not create a library from C++
17636 # object files and a static libstdc++, better avoid it by now
17637 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17638 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17639 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17640 hardcode_libdir_flag_spec_GCJ=
17842 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17843 no_undefined_flag_GCJ='${wl}-z,text'
17844 archive_cmds_need_lc_GCJ=no
1764117845 hardcode_shlibpath_var_GCJ=no
1764217846 runpath_var='LD_RUN_PATH'
17847
17848 if test "$GCC" = yes; then
17849 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17850 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17851 else
17852 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17853 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17854 fi
17855 ;;
17856
17857 sysv5* | sco3.2v5* | sco5v6*)
17858 # Note: We can NOT use -z defs as we might desire, because we do not
17859 # link with -lc, and that would cause any symbols used from libc to
17860 # always be unresolved, which means just about no library would
17861 # ever link correctly. If we're not using GNU ld we use -z text
17862 # though, which does catch some bad symbols but isn't as heavy-handed
17863 # as -z defs.
17864 no_undefined_flag_GCJ='${wl}-z,text'
17865 allow_undefined_flag_GCJ='${wl}-z,nodefs'
17866 archive_cmds_need_lc_GCJ=no
17867 hardcode_shlibpath_var_GCJ=no
17868 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17869 hardcode_libdir_separator_GCJ=':'
17870 link_all_deplibs_GCJ=yes
17871 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17872 runpath_var='LD_RUN_PATH'
17873
17874 if test "$GCC" = yes; then
17875 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17876 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17877 else
17878 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17879 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17880 fi
1764317881 ;;
1764417882
1764517883 uts4*)
1765717895 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
1765817896 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
1765917897 test "$ld_shlibs_GCJ" = no && can_build_shared=no
17660
17661 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17662 if test "$GCC" = yes; then
17663 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17664 fi
1766517898
1766617899 #
1766717900 # Do we need to explicitly link libc?
1769517928 libobjs=conftest.$ac_objext
1769617929 deplibs=
1769717930 wl=$lt_prog_compiler_wl_GCJ
17931 pic_flag=$lt_prog_compiler_pic_GCJ
1769817932 compiler_flags=-v
1769917933 linker_flags=-v
1770017934 verstring=
1793218166 dynamic_linker=no
1793318167 ;;
1793418168
17935 kfreebsd*-gnu)
17936 version_type=linux
17937 need_lib_prefix=no
17938 need_version=no
17939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17940 soname_spec='${libname}${release}${shared_ext}$major'
17941 shlibpath_var=LD_LIBRARY_PATH
17942 shlibpath_overrides_runpath=no
17943 hardcode_into_libs=yes
17944 dynamic_linker='GNU ld.so'
17945 ;;
17946
1794718169 freebsd* | dragonfly*)
1794818170 # DragonFly does not have aout. When/if they implement a new
1794918171 # versioning mechanism, adjust this.
1797618198 shlibpath_overrides_runpath=yes
1797718199 hardcode_into_libs=yes
1797818200 ;;
17979 *) # from 3.2 on
18201 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18202 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1798018203 shlibpath_overrides_runpath=no
18204 hardcode_into_libs=yes
18205 ;;
18206 freebsd*) # from 4.6 on
18207 shlibpath_overrides_runpath=yes
1798118208 hardcode_into_libs=yes
1798218209 ;;
1798318210 esac
1803918266 postinstall_cmds='chmod 555 $lib'
1804018267 ;;
1804118268
18269 interix3*)
18270 version_type=linux
18271 need_lib_prefix=no
18272 need_version=no
18273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18274 soname_spec='${libname}${release}${shared_ext}$major'
18275 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18276 shlibpath_var=LD_LIBRARY_PATH
18277 shlibpath_overrides_runpath=no
18278 hardcode_into_libs=yes
18279 ;;
18280
1804218281 irix5* | irix6* | nonstopux*)
1804318282 case $host_os in
1804418283 nonstopux*) version_type=nonstopux ;;
1808218321 ;;
1808318322
1808418323 # This must be Linux ELF.
18085 linux*)
18324 linux* | k*bsd*-gnu)
1808618325 version_type=linux
1808718326 need_lib_prefix=no
1808818327 need_version=no
1812118360 shlibpath_overrides_runpath=no
1812218361 hardcode_into_libs=yes
1812318362 dynamic_linker='NetBSD ld.elf_so'
18124 ;;
18125
18126 knetbsd*-gnu)
18127 version_type=linux
18128 need_lib_prefix=no
18129 need_version=no
18130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18131 soname_spec='${libname}${release}${shared_ext}$major'
18132 shlibpath_var=LD_LIBRARY_PATH
18133 shlibpath_overrides_runpath=no
18134 hardcode_into_libs=yes
18135 dynamic_linker='GNU ld.so'
1813618363 ;;
1813718364
1813818365 netbsd*)
1817218399
1817318400 openbsd*)
1817418401 version_type=sunos
18402 sys_lib_dlsearch_path_spec="/usr/lib"
1817518403 need_lib_prefix=no
1817618404 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1817718405 case $host_os in
1821518443 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1821618444 ;;
1821718445
18218 sco3.2v5*)
18219 version_type=osf
18220 soname_spec='${libname}${release}${shared_ext}$major'
18221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18222 shlibpath_var=LD_LIBRARY_PATH
18223 ;;
18224
1822518446 solaris*)
1822618447 version_type=linux
1822718448 need_lib_prefix=no
1824718468 need_version=yes
1824818469 ;;
1824918470
18250 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18471 sysv4 | sysv4.3*)
1825118472 version_type=linux
1825218473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1825318474 soname_spec='${libname}${release}${shared_ext}$major'
1828018501 fi
1828118502 ;;
1828218503
18504 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18505 version_type=freebsd-elf
18506 need_lib_prefix=no
18507 need_version=no
18508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18509 soname_spec='${libname}${release}${shared_ext}$major'
18510 shlibpath_var=LD_LIBRARY_PATH
18511 hardcode_into_libs=yes
18512 if test "$with_gnu_ld" = yes; then
18513 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18514 shlibpath_overrides_runpath=no
18515 else
18516 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18517 shlibpath_overrides_runpath=yes
18518 case $host_os in
18519 sco3.2v5*)
18520 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18521 ;;
18522 esac
18523 fi
18524 sys_lib_dlsearch_path_spec='/usr/lib'
18525 ;;
18526
1828318527 uts4*)
1828418528 version_type=linux
1828518529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1829418538 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
1829518539 echo "${ECHO_T}$dynamic_linker" >&6
1829618540 test "$dynamic_linker" = no && can_build_shared=no
18541
18542 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18543 if test "$GCC" = yes; then
18544 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18545 fi
1829718546
1829818547 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1829918548 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1833218581 enable_fast_install=needless
1833318582 fi
1833418583
18335 striplib=
18336 old_striplib=
18337 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18338 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18339 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18340 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18341 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18342 echo "$as_me:$LINENO: result: yes" >&5
18343 echo "${ECHO_T}yes" >&6
18344 else
18345 # FIXME - insert some real tests, host_os isn't really good enough
18346 case $host_os in
18347 darwin*)
18348 if test -n "$STRIP" ; then
18349 striplib="$STRIP -x"
18350 echo "$as_me:$LINENO: result: yes" >&5
18351 echo "${ECHO_T}yes" >&6
18352 else
18353 echo "$as_me:$LINENO: result: no" >&5
18354 echo "${ECHO_T}no" >&6
18355 fi
18356 ;;
18357 *)
18358 echo "$as_me:$LINENO: result: no" >&5
18359 echo "${ECHO_T}no" >&6
18360 ;;
18361 esac
18362 fi
18363
18364 if test "x$enable_dlopen" != xyes; then
18365 enable_dlopen=unknown
18366 enable_dlopen_self=unknown
18367 enable_dlopen_self_static=unknown
18368 else
18369 lt_cv_dlopen=no
18370 lt_cv_dlopen_libs=
18371
18372 case $host_os in
18373 beos*)
18374 lt_cv_dlopen="load_add_on"
18375 lt_cv_dlopen_libs=
18376 lt_cv_dlopen_self=yes
18377 ;;
18378
18379 mingw* | pw32*)
18380 lt_cv_dlopen="LoadLibrary"
18381 lt_cv_dlopen_libs=
18382 ;;
18383
18384 cygwin*)
18385 lt_cv_dlopen="dlopen"
18386 lt_cv_dlopen_libs=
18387 ;;
18388
18389 darwin*)
18390 # if libdl is installed we need to link against it
18391 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18392 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18393 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 else
18396 ac_check_lib_save_LIBS=$LIBS
18397 LIBS="-ldl $LIBS"
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404
18405 /* Override any gcc2 internal prototype to avoid an error. */
18406 #ifdef __cplusplus
18407 extern "C"
18408 #endif
18409 /* We use char because int might match the return type of a gcc2
18410 builtin and then its argument prototype would still apply. */
18411 char dlopen ();
18412 int
18413 main ()
18414 {
18415 dlopen ();
18416 ;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext conftest$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18432 ac_status=$?
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; } &&
18435 { ac_try='test -s conftest$ac_exeext'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; }; then
18441 ac_cv_lib_dl_dlopen=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18445
18446 ac_cv_lib_dl_dlopen=no
18447 fi
18448 rm -f conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18450 LIBS=$ac_check_lib_save_LIBS
18451 fi
18452 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18453 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18454 if test $ac_cv_lib_dl_dlopen = yes; then
18455 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18456 else
18457
18458 lt_cv_dlopen="dyld"
18459 lt_cv_dlopen_libs=
18460 lt_cv_dlopen_self=yes
18461
18462 fi
18463
18464 ;;
18465
18466 *)
18467 echo "$as_me:$LINENO: checking for shl_load" >&5
18468 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18469 if test "${ac_cv_func_shl_load+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18480 #define shl_load innocuous_shl_load
18481
18482 /* System header to define __stub macros and hopefully few prototypes,
18483 which can conflict with char shl_load (); below.
18484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18485 <limits.h> exists even on freestanding compilers. */
18486
18487 #ifdef __STDC__
18488 # include <limits.h>
18489 #else
18490 # include <assert.h>
18491 #endif
18492
18493 #undef shl_load
18494
18495 /* Override any gcc2 internal prototype to avoid an error. */
18496 #ifdef __cplusplus
18497 extern "C"
18498 {
18499 #endif
18500 /* We use char because int might match the return type of a gcc2
18501 builtin and then its argument prototype would still apply. */
18502 char shl_load ();
18503 /* The GNU C library defines this for functions which it implements
18504 to always fail with ENOSYS. Some functions are actually named
18505 something starting with __ and the normal name is an alias. */
18506 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18507 choke me
18508 #else
18509 char (*f) () = shl_load;
18510 #endif
18511 #ifdef __cplusplus
18512 }
18513 #endif
18514
18515 int
18516 main ()
18517 {
18518 return f != shl_load;
18519 ;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest.$ac_objext conftest$ac_exeext
18524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18525 (eval $ac_link) 2>conftest.er1
18526 ac_status=$?
18527 grep -v '^ *+' conftest.er1 >conftest.err
18528 rm -f conftest.er1
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18535 ac_status=$?
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; } &&
18538 { ac_try='test -s conftest$ac_exeext'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 ac_cv_func_shl_load=yes
18545 else
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18548
18549 ac_cv_func_shl_load=no
18550 fi
18551 rm -f conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18553 fi
18554 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18555 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18556 if test $ac_cv_func_shl_load = yes; then
18557 lt_cv_dlopen="shl_load"
18558 else
18559 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18560 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18561 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564 ac_check_lib_save_LIBS=$LIBS
18565 LIBS="-ldld $LIBS"
18566 cat >conftest.$ac_ext <<_ACEOF
18567 /* confdefs.h. */
18568 _ACEOF
18569 cat confdefs.h >>conftest.$ac_ext
18570 cat >>conftest.$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572
18573 /* Override any gcc2 internal prototype to avoid an error. */
18574 #ifdef __cplusplus
18575 extern "C"
18576 #endif
18577 /* We use char because int might match the return type of a gcc2
18578 builtin and then its argument prototype would still apply. */
18579 char shl_load ();
18580 int
18581 main ()
18582 {
18583 shl_load ();
18584 ;
18585 return 0;
18586 }
18587 _ACEOF
18588 rm -f conftest.$ac_objext conftest$ac_exeext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18590 (eval $ac_link) 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try='test -s conftest$ac_exeext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 ac_cv_lib_dld_shl_load=yes
18610 else
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.$ac_ext >&5
18613
18614 ac_cv_lib_dld_shl_load=no
18615 fi
18616 rm -f conftest.err conftest.$ac_objext \
18617 conftest$ac_exeext conftest.$ac_ext
18618 LIBS=$ac_check_lib_save_LIBS
18619 fi
18620 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18621 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18622 if test $ac_cv_lib_dld_shl_load = yes; then
18623 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18624 else
18625 echo "$as_me:$LINENO: checking for dlopen" >&5
18626 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18627 if test "${ac_cv_func_dlopen+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 cat >conftest.$ac_ext <<_ACEOF
18631 /* confdefs.h. */
18632 _ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18638 #define dlopen innocuous_dlopen
18639
18640 /* System header to define __stub macros and hopefully few prototypes,
18641 which can conflict with char dlopen (); below.
18642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18643 <limits.h> exists even on freestanding compilers. */
18644
18645 #ifdef __STDC__
18646 # include <limits.h>
18647 #else
18648 # include <assert.h>
18649 #endif
18650
18651 #undef dlopen
18652
18653 /* Override any gcc2 internal prototype to avoid an error. */
18654 #ifdef __cplusplus
18655 extern "C"
18656 {
18657 #endif
18658 /* We use char because int might match the return type of a gcc2
18659 builtin and then its argument prototype would still apply. */
18660 char dlopen ();
18661 /* The GNU C library defines this for functions which it implements
18662 to always fail with ENOSYS. Some functions are actually named
18663 something starting with __ and the normal name is an alias. */
18664 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18665 choke me
18666 #else
18667 char (*f) () = dlopen;
18668 #endif
18669 #ifdef __cplusplus
18670 }
18671 #endif
18672
18673 int
18674 main ()
18675 {
18676 return f != dlopen;
18677 ;
18678 return 0;
18679 }
18680 _ACEOF
18681 rm -f conftest.$ac_objext conftest$ac_exeext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18683 (eval $ac_link) 2>conftest.er1
18684 ac_status=$?
18685 grep -v '^ *+' conftest.er1 >conftest.err
18686 rm -f conftest.er1
18687 cat conftest.err >&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; } &&
18696 { ac_try='test -s conftest$ac_exeext'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18699 ac_status=$?
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; }; then
18702 ac_cv_func_dlopen=yes
18703 else
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18706
18707 ac_cv_func_dlopen=no
18708 fi
18709 rm -f conftest.err conftest.$ac_objext \
18710 conftest$ac_exeext conftest.$ac_ext
18711 fi
18712 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18713 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18714 if test $ac_cv_func_dlopen = yes; then
18715 lt_cv_dlopen="dlopen"
18716 else
18717 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18718 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18719 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18722 ac_check_lib_save_LIBS=$LIBS
18723 LIBS="-ldl $LIBS"
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730
18731 /* Override any gcc2 internal prototype to avoid an error. */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 /* We use char because int might match the return type of a gcc2
18736 builtin and then its argument prototype would still apply. */
18737 char dlopen ();
18738 int
18739 main ()
18740 {
18741 dlopen ();
18742 ;
18743 return 0;
18744 }
18745 _ACEOF
18746 rm -f conftest.$ac_objext conftest$ac_exeext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18748 (eval $ac_link) 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } &&
18755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; } &&
18761 { ac_try='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_dl_dlopen=yes
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18771
18772 ac_cv_lib_dl_dlopen=no
18773 fi
18774 rm -f conftest.err conftest.$ac_objext \
18775 conftest$ac_exeext conftest.$ac_ext
18776 LIBS=$ac_check_lib_save_LIBS
18777 fi
18778 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18779 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18780 if test $ac_cv_lib_dl_dlopen = yes; then
18781 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18782 else
18783 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18784 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18785 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18787 else
18788 ac_check_lib_save_LIBS=$LIBS
18789 LIBS="-lsvld $LIBS"
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796
18797 /* Override any gcc2 internal prototype to avoid an error. */
18798 #ifdef __cplusplus
18799 extern "C"
18800 #endif
18801 /* We use char because int might match the return type of a gcc2
18802 builtin and then its argument prototype would still apply. */
18803 char dlopen ();
18804 int
18805 main ()
18806 {
18807 dlopen ();
18808 ;
18809 return 0;
18810 }
18811 _ACEOF
18812 rm -f conftest.$ac_objext conftest$ac_exeext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18814 (eval $ac_link) 2>conftest.er1
18815 ac_status=$?
18816 grep -v '^ *+' conftest.er1 >conftest.err
18817 rm -f conftest.er1
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18824 ac_status=$?
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; } &&
18827 { ac_try='test -s conftest$ac_exeext'
18828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829 (eval $ac_try) 2>&5
18830 ac_status=$?
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }; }; then
18833 ac_cv_lib_svld_dlopen=yes
18834 else
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.$ac_ext >&5
18837
18838 ac_cv_lib_svld_dlopen=no
18839 fi
18840 rm -f conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18842 LIBS=$ac_check_lib_save_LIBS
18843 fi
18844 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18845 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18846 if test $ac_cv_lib_svld_dlopen = yes; then
18847 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18848 else
18849 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18850 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18851 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 else
18854 ac_check_lib_save_LIBS=$LIBS
18855 LIBS="-ldld $LIBS"
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h. */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862
18863 /* Override any gcc2 internal prototype to avoid an error. */
18864 #ifdef __cplusplus
18865 extern "C"
18866 #endif
18867 /* We use char because int might match the return type of a gcc2
18868 builtin and then its argument prototype would still apply. */
18869 char dld_link ();
18870 int
18871 main ()
18872 {
18873 dld_link ();
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18880 (eval $ac_link) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try='test -s conftest$ac_exeext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_cv_lib_dld_dld_link=yes
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18903
18904 ac_cv_lib_dld_dld_link=no
18905 fi
18906 rm -f conftest.err conftest.$ac_objext \
18907 conftest$ac_exeext conftest.$ac_ext
18908 LIBS=$ac_check_lib_save_LIBS
18909 fi
18910 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18911 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18912 if test $ac_cv_lib_dld_dld_link = yes; then
18913 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18914 fi
18915
18916
18917 fi
18918
18919
18920 fi
18921
18922
18923 fi
18924
18925
18926 fi
18927
18928
18929 fi
18930
18931 ;;
18932 esac
18933
18934 if test "x$lt_cv_dlopen" != xno; then
18935 enable_dlopen=yes
18936 else
18937 enable_dlopen=no
18938 fi
18939
18940 case $lt_cv_dlopen in
18941 dlopen)
18942 save_CPPFLAGS="$CPPFLAGS"
18943 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18944
18945 save_LDFLAGS="$LDFLAGS"
18946 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18947
18948 save_LIBS="$LIBS"
18949 LIBS="$lt_cv_dlopen_libs $LIBS"
18950
18951 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18952 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18953 if test "${lt_cv_dlopen_self+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 if test "$cross_compiling" = yes; then :
18957 lt_cv_dlopen_self=cross
18958 else
18959 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18960 lt_status=$lt_dlunknown
18961 cat > conftest.$ac_ext <<EOF
18962 #line 18963 "configure"
18963 #include "confdefs.h"
18964
18965 #if HAVE_DLFCN_H
18966 #include <dlfcn.h>
18967 #endif
18968
18969 #include <stdio.h>
18970
18971 #ifdef RTLD_GLOBAL
18972 # define LT_DLGLOBAL RTLD_GLOBAL
18973 #else
18974 # ifdef DL_GLOBAL
18975 # define LT_DLGLOBAL DL_GLOBAL
18976 # else
18977 # define LT_DLGLOBAL 0
18978 # endif
18979 #endif
18980
18981 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18982 find out it does not work in some platform. */
18983 #ifndef LT_DLLAZY_OR_NOW
18984 # ifdef RTLD_LAZY
18985 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18986 # else
18987 # ifdef DL_LAZY
18988 # define LT_DLLAZY_OR_NOW DL_LAZY
18989 # else
18990 # ifdef RTLD_NOW
18991 # define LT_DLLAZY_OR_NOW RTLD_NOW
18992 # else
18993 # ifdef DL_NOW
18994 # define LT_DLLAZY_OR_NOW DL_NOW
18995 # else
18996 # define LT_DLLAZY_OR_NOW 0
18997 # endif
18998 # endif
18999 # endif
19000 # endif
19001 #endif
19002
19003 #ifdef __cplusplus
19004 extern "C" void exit (int);
19005 #endif
19006
19007 void fnord() { int i=42;}
19008 int main ()
19009 {
19010 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19011 int status = $lt_dlunknown;
19012
19013 if (self)
19014 {
19015 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19016 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19017 /* dlclose (self); */
19018 }
19019
19020 exit (status);
19021 }
19022 EOF
19023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19024 (eval $ac_link) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19028 (./conftest; exit; ) >&5 2>/dev/null
19029 lt_status=$?
19030 case x$lt_status in
19031 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19032 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19033 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19034 esac
19035 else :
19036 # compilation failed
19037 lt_cv_dlopen_self=no
19038 fi
19039 fi
19040 rm -fr conftest*
19041
19042
19043 fi
19044 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19045 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19046
19047 if test "x$lt_cv_dlopen_self" = xyes; then
19048 LDFLAGS="$LDFLAGS $link_static_flag"
19049 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19050 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19051 if test "${lt_cv_dlopen_self_static+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054 if test "$cross_compiling" = yes; then :
19055 lt_cv_dlopen_self_static=cross
19056 else
19057 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19058 lt_status=$lt_dlunknown
19059 cat > conftest.$ac_ext <<EOF
19060 #line 19061 "configure"
19061 #include "confdefs.h"
19062
19063 #if HAVE_DLFCN_H
19064 #include <dlfcn.h>
19065 #endif
19066
19067 #include <stdio.h>
19068
19069 #ifdef RTLD_GLOBAL
19070 # define LT_DLGLOBAL RTLD_GLOBAL
19071 #else
19072 # ifdef DL_GLOBAL
19073 # define LT_DLGLOBAL DL_GLOBAL
19074 # else
19075 # define LT_DLGLOBAL 0
19076 # endif
19077 #endif
19078
19079 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19080 find out it does not work in some platform. */
19081 #ifndef LT_DLLAZY_OR_NOW
19082 # ifdef RTLD_LAZY
19083 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19084 # else
19085 # ifdef DL_LAZY
19086 # define LT_DLLAZY_OR_NOW DL_LAZY
19087 # else
19088 # ifdef RTLD_NOW
19089 # define LT_DLLAZY_OR_NOW RTLD_NOW
19090 # else
19091 # ifdef DL_NOW
19092 # define LT_DLLAZY_OR_NOW DL_NOW
19093 # else
19094 # define LT_DLLAZY_OR_NOW 0
19095 # endif
19096 # endif
19097 # endif
19098 # endif
19099 #endif
19100
19101 #ifdef __cplusplus
19102 extern "C" void exit (int);
19103 #endif
19104
19105 void fnord() { int i=42;}
19106 int main ()
19107 {
19108 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19109 int status = $lt_dlunknown;
19110
19111 if (self)
19112 {
19113 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19114 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19115 /* dlclose (self); */
19116 }
19117
19118 exit (status);
19119 }
19120 EOF
19121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122 (eval $ac_link) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19126 (./conftest; exit; ) >&5 2>/dev/null
19127 lt_status=$?
19128 case x$lt_status in
19129 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19130 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19131 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19132 esac
19133 else :
19134 # compilation failed
19135 lt_cv_dlopen_self_static=no
19136 fi
19137 fi
19138 rm -fr conftest*
19139
19140
19141 fi
19142 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19143 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19144 fi
19145
19146 CPPFLAGS="$save_CPPFLAGS"
19147 LDFLAGS="$save_LDFLAGS"
19148 LIBS="$save_LIBS"
19149 ;;
19150 esac
19151
19152 case $lt_cv_dlopen_self in
19153 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19154 *) enable_dlopen_self=unknown ;;
19155 esac
19156
19157 case $lt_cv_dlopen_self_static in
19158 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19159 *) enable_dlopen_self_static=unknown ;;
19160 esac
19161 fi
19162
1916318584
1916418585 # The else clause should only fire when bootstrapping the
1916518586 # libtool distribution, otherwise you forgot to ship ltmain.sh
1917418595 # Now quote all the things that may contain metacharacters while being
1917518596 # careful not to overquote the AC_SUBSTed values. We take copies of the
1917618597 # variables and quote the copies for generation of the libtool script.
19177 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18598 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1917818599 SED SHELL STRIP \
1917918600 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1918018601 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1929218713 # A C compiler.
1929318714 LTCC=$lt_LTCC
1929418715
18716 # LTCC compiler flags.
18717 LTCFLAGS=$lt_LTCFLAGS
18718
1929518719 # A language-specific compiler.
1929618720 CC=$lt_compiler_GCJ
1929718721
1960119025 # If no C compiler was specified, use CC.
1960219026 LTCC=${LTCC-"$CC"}
1960319027
19028 # If no C compiler flags were specified, use CFLAGS.
19029 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19030
1960419031 # Allow CC to be a program name with arguments.
1960519032 compiler=$CC
1960619033
1960819035 # save warnings/boilerplate of simple test code
1960919036 ac_outfile=conftest.$ac_objext
1961019037 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19611 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19038 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1961219039 _lt_compiler_boilerplate=`cat conftest.err`
1961319040 $rm conftest*
1961419041
1961519042 ac_outfile=conftest.$ac_objext
1961619043 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19617 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19044 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1961819045 _lt_linker_boilerplate=`cat conftest.err`
1961919046 $rm conftest*
1962019047
1964919076 # Now quote all the things that may contain metacharacters while being
1965019077 # careful not to overquote the AC_SUBSTed values. We take copies of the
1965119078 # variables and quote the copies for generation of the libtool script.
19652 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19079 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1965319080 SED SHELL STRIP \
1965419081 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1965519082 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1976719194 # A C compiler.
1976819195 LTCC=$lt_LTCC
1976919196
19197 # LTCC compiler flags.
19198 LTCFLAGS=$lt_LTCFLAGS
19199
1977019200 # A language-specific compiler.
1977119201 CC=$lt_compiler_RC
1977219202
2012819558 MAINTAINER_MODE_TRUE='#'
2012919559 MAINTAINER_MODE_FALSE=
2013019560 fi
19561
2013119562 MAINT=$MAINTAINER_MODE_TRUE
2013219563
2013319564
2039119822 fi
2039219823
2039319824
19825
2039419826 build_python=no
2039519827
2039619828 # Check whether --enable-python or --disable-python was given.
2048519917 fi
2048619918
2048719919
19920
2048819921 build_perl=no
2048919922
2049019923 # Check whether --enable-perl or --disable-perl was given.
2058020013
2058120014
2058220015
20583 ALL_LINGUAS="he es_MX ru fr"
20016
20017 ALL_LINGUAS="he es_MX ru fr sv"
2058420018
2058520019
2058620020 MKINSTALLDIRS=
2710526539 fi
2710626540
2710726541
26542
2710826543 build_hcal=yes
2710926544
2711026545 # Check whether --enable-hcal or --disable-hcal was given.
2712426559 WITH_HCAL_TRUE='#'
2712526560 WITH_HCAL_FALSE=
2712626561 fi
26562
2712726563
2712826564
2712926565
2725326689 LTLIBOBJS=$ac_ltlibobjs
2725426690
2725526691
26692 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26693 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26694 Usually this means the macro was only invoked conditionally." >&5
26695 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26696 Usually this means the macro was only invoked conditionally." >&2;}
26697 { (exit 1); exit 1; }; }
26698 fi
26699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26700 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26701 Usually this means the macro was only invoked conditionally." >&5
26702 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26703 Usually this means the macro was only invoked conditionally." >&2;}
26704 { (exit 1); exit 1; }; }
26705 fi
26706 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26707 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26708 Usually this means the macro was only invoked conditionally." >&5
26709 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26710 Usually this means the macro was only invoked conditionally." >&2;}
26711 { (exit 1); exit 1; }; }
26712 fi
26713 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26714 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26715 Usually this means the macro was only invoked conditionally." >&5
26716 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26717 Usually this means the macro was only invoked conditionally." >&2;}
26718 { (exit 1); exit 1; }; }
26719 fi
26720 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26721 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26722 Usually this means the macro was only invoked conditionally." >&5
26723 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26724 Usually this means the macro was only invoked conditionally." >&2;}
26725 { (exit 1); exit 1; }; }
26726 fi
26727 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26728 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26729 Usually this means the macro was only invoked conditionally." >&5
26730 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26731 Usually this means the macro was only invoked conditionally." >&2;}
26732 { (exit 1); exit 1; }; }
26733 fi
26734 if test -z "${WITH_PASCAL_TRUE}" && test -z "${WITH_PASCAL_FALSE}"; then
26735 { { echo "$as_me:$LINENO: error: conditional \"WITH_PASCAL\" was never defined.
26736 Usually this means the macro was only invoked conditionally." >&5
26737 echo "$as_me: error: conditional \"WITH_PASCAL\" was never defined.
26738 Usually this means the macro was only invoked conditionally." >&2;}
26739 { (exit 1); exit 1; }; }
26740 fi
26741 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
26742 { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
26743 Usually this means the macro was only invoked conditionally." >&5
26744 echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
26745 Usually this means the macro was only invoked conditionally." >&2;}
26746 { (exit 1); exit 1; }; }
26747 fi
26748 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
26749 { { echo "$as_me:$LINENO: error: conditional \"WITH_PERL\" was never defined.
26750 Usually this means the macro was only invoked conditionally." >&5
26751 echo "$as_me: error: conditional \"WITH_PERL\" was never defined.
26752 Usually this means the macro was only invoked conditionally." >&2;}
26753 { (exit 1); exit 1; }; }
26754 fi
26755 if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
26756 { { echo "$as_me:$LINENO: error: conditional \"WITH_EXAMPLES\" was never defined.
26757 Usually this means the macro was only invoked conditionally." >&5
26758 echo "$as_me: error: conditional \"WITH_EXAMPLES\" was never defined.
26759 Usually this means the macro was only invoked conditionally." >&2;}
26760 { (exit 1); exit 1; }; }
26761 fi
26762 if test -z "${WITH_HCAL_TRUE}" && test -z "${WITH_HCAL_FALSE}"; then
26763 { { echo "$as_me:$LINENO: error: conditional \"WITH_HCAL\" was never defined.
26764 Usually this means the macro was only invoked conditionally." >&5
26765 echo "$as_me: error: conditional \"WITH_HCAL\" was never defined.
26766 Usually this means the macro was only invoked conditionally." >&2;}
26767 { (exit 1); exit 1; }; }
26768 fi
2725626769
2725726770 : ${CONFIG_STATUS=./config.status}
2725826771 ac_clean_files_save=$ac_clean_files
2768127194 # INIT-COMMANDS section.
2768227195 #
2768327196
27197 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2768427198 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
2768527199 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
2768627200 # from automake.
2771427228 "bindings/python/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
2771527229 "bindings/perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/perl/Makefile" ;;
2771627230 "bindings/pascal/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/pascal/Makefile" ;;
27231 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2771727232 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
2771827233 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2771927234 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2780327318 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2780427319 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2780527320 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27321 s,@CYGPATH_W@,$CYGPATH_W,;t t
2780627322 s,@PACKAGE@,$PACKAGE,;t t
2780727323 s,@VERSION@,$VERSION,;t t
2780827324 s,@ACLOCAL@,$ACLOCAL,;t t
2781027326 s,@AUTOMAKE@,$AUTOMAKE,;t t
2781127327 s,@AUTOHEADER@,$AUTOHEADER,;t t
2781227328 s,@MAKEINFO@,$MAKEINFO,;t t
27329 s,@install_sh@,$install_sh,;t t
27330 s,@STRIP@,$STRIP,;t t
27331 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
27332 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
27333 s,@mkdir_p@,$mkdir_p,;t t
27334 s,@AWK@,$AWK,;t t
2781327335 s,@SET_MAKE@,$SET_MAKE,;t t
27336 s,@am__leading_dot@,$am__leading_dot,;t t
27337 s,@AMTAR@,$AMTAR,;t t
27338 s,@am__tar@,$am__tar,;t t
27339 s,@am__untar@,$am__untar,;t t
2781427340 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2781527341 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2781627342 s,@MAINT@,$MAINT,;t t
2782127347 s,@ac_ct_CC@,$ac_ct_CC,;t t
2782227348 s,@EXEEXT@,$EXEEXT,;t t
2782327349 s,@OBJEXT@,$OBJEXT,;t t
27350 s,@DEPDIR@,$DEPDIR,;t t
27351 s,@am__include@,$am__include,;t t
27352 s,@am__quote@,$am__quote,;t t
27353 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
27354 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
27355 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
27356 s,@CCDEPMODE@,$CCDEPMODE,;t t
27357 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
27358 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
2782427359 s,@LN_S@,$LN_S,;t t
2782527360 s,@CPP@,$CPP,;t t
2782627361 s,@EGREP@,$EGREP,;t t
2783727372 s,@ac_ct_AR@,$ac_ct_AR,;t t
2783827373 s,@RANLIB@,$RANLIB,;t t
2783927374 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
27840 s,@STRIP@,$STRIP,;t t
27841 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2784227375 s,@CXX@,$CXX,;t t
2784327376 s,@CXXFLAGS@,$CXXFLAGS,;t t
2784427377 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
27378 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
27379 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
27380 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
2784527381 s,@CXXCPP@,$CXXCPP,;t t
2784627382 s,@F77@,$F77,;t t
2784727383 s,@FFLAGS@,$FFLAGS,;t t
2825327789 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2825427790 echo "$as_me: executing $ac_dest commands" >&6;}
2825527791 case $ac_dest in
27792 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27793 # Strip MF so we end up with the name of the file.
27794 mf=`echo "$mf" | sed -e 's/:.*$//'`
27795 # Check whether this is an Automake generated Makefile or not.
27796 # We used to match only the files named `Makefile.in', but
27797 # some people rename them; so instead we look at the file content.
27798 # Grep'ing the first line is not enough: some people post-process
27799 # each Makefile.in and add a new line on top of each file to say so.
27800 # So let's grep whole file.
27801 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
27802 dirpart=`(dirname "$mf") 2>/dev/null ||
27803 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27804 X"$mf" : 'X\(//\)[^/]' \| \
27805 X"$mf" : 'X\(//\)$' \| \
27806 X"$mf" : 'X\(/\)' \| \
27807 . : '\(.\)' 2>/dev/null ||
27808 echo X"$mf" |
27809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27811 /^X\(\/\/\)$/{ s//\1/; q; }
27812 /^X\(\/\).*/{ s//\1/; q; }
27813 s/.*/./; q'`
27814 else
27815 continue
27816 fi
27817 # Extract the definition of DEPDIR, am__include, and am__quote
27818 # from the Makefile without running `make'.
27819 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27820 test -z "$DEPDIR" && continue
27821 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27822 test -z "am__include" && continue
27823 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27824 # When using ansi2knr, U may be empty or an underscore; expand it
27825 U=`sed -n 's/^U = //p' < "$mf"`
27826 # Find all dependency output files, they are included files with
27827 # $(DEPDIR) in their names. We invoke sed twice because it is the
27828 # simplest approach to changing $(DEPDIR) to its actual value in the
27829 # expansion.
27830 for file in `sed -n "
27831 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27832 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27833 # Make sure the directory exists.
27834 test -f "$dirpart/$file" && continue
27835 fdir=`(dirname "$file") 2>/dev/null ||
27836 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27837 X"$file" : 'X\(//\)[^/]' \| \
27838 X"$file" : 'X\(//\)$' \| \
27839 X"$file" : 'X\(/\)' \| \
27840 . : '\(.\)' 2>/dev/null ||
27841 echo X"$file" |
27842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27844 /^X\(\/\/\)$/{ s//\1/; q; }
27845 /^X\(\/\).*/{ s//\1/; q; }
27846 s/.*/./; q'`
27847 { if $as_mkdir_p; then
27848 mkdir -p $dirpart/$fdir
27849 else
27850 as_dir=$dirpart/$fdir
27851 as_dirs=
27852 while test ! -d "$as_dir"; do
27853 as_dirs="$as_dir $as_dirs"
27854 as_dir=`(dirname "$as_dir") 2>/dev/null ||
27855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27856 X"$as_dir" : 'X\(//\)[^/]' \| \
27857 X"$as_dir" : 'X\(//\)$' \| \
27858 X"$as_dir" : 'X\(/\)' \| \
27859 . : '\(.\)' 2>/dev/null ||
27860 echo X"$as_dir" |
27861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27863 /^X\(\/\/\)$/{ s//\1/; q; }
27864 /^X\(\/\).*/{ s//\1/; q; }
27865 s/.*/./; q'`
27866 done
27867 test ! -n "$as_dirs" || mkdir $as_dirs
27868 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27869 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27870 { (exit 1); exit 1; }; }; }
27871
27872 # echo "creating $dirpart/$file"
27873 echo '# dummy' > "$dirpart/$file"
27874 done
27875 done
27876 ;;
2825627877 default-1 )
2825727878 for ac_file in $CONFIG_FILES; do
2825827879 # Support "outfile[:infile[:infile...]]"
33 PACKAGE=libhdate
44 LIBHDATE_MAJOR_VERSION=1
55 LIBHDATE_MINOR_VERSION=4
6 LIBHDATE_MICRO_VERSION=2
6 LIBHDATE_MICRO_VERSION=3
77
88 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
99 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
138138 dnl gettext
139139
140140 dnl Languages which your application supports
141 ALL_LINGUAS="he es_MX ru fr"
141 ALL_LINGUAS="he es_MX ru fr sv"
142142 AM_GNU_GETTEXT
143143 AM_GNU_GETTEXT_VERSION(0.10.40)
144144
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 # 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 CPP = @CPP@
73 CPPFLAGS = @CPPFLAGS@
6774 CXX = @CXX@
6875 CXXCPP = @CXXCPP@
76 CXXDEPMODE = @CXXDEPMODE@
77 CXXFLAGS = @CXXFLAGS@
78 CYGPATH_W = @CYGPATH_W@
6979 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
80 DEFS = @DEFS@
81 DEPDIR = @DEPDIR@
7182 ECHO = @ECHO@
83 ECHO_C = @ECHO_C@
84 ECHO_N = @ECHO_N@
85 ECHO_T = @ECHO_T@
7286 EGREP = @EGREP@
7387 EXEEXT = @EXEEXT@
7488 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
89 FFLAGS = @FFLAGS@
7790 GENCAT = @GENCAT@
7891 GLIBC2 = @GLIBC2@
7992 GLIBC21 = @GLIBC21@
8093 GMSGFMT = @GMSGFMT@
8194 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8395 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8496 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8597 HAVE_WPRINTF = @HAVE_WPRINTF@
98 INSTALL_DATA = @INSTALL_DATA@
99 INSTALL_PROGRAM = @INSTALL_PROGRAM@
100 INSTALL_SCRIPT = @INSTALL_SCRIPT@
101 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86102 INSTOBJEXT = @INSTOBJEXT@
87103 INTLBISON = @INTLBISON@
88104 INTLLIBS = @INTLLIBS@
89105 INTLOBJS = @INTLOBJS@
90106 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91107 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
108 LDFLAGS = @LDFLAGS@
93109 LIBICONV = @LIBICONV@
94110 LIBINTL = @LIBINTL@
111 LIBOBJS = @LIBOBJS@
95112 LIBS = @LIBS@
96113 LIBTOOL = @LIBTOOL@
97114 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99115 LTLIBICONV = @LTLIBICONV@
100116 LTLIBINTL = @LTLIBINTL@
117 LTLIBOBJS = @LTLIBOBJS@
101118 MAINT = @MAINT@
119 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
120 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102121 MAKEINFO = @MAKEINFO@
103122 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
123 MSGFMT = @MSGFMT@
124 MSGMERGE = @MSGMERGE@
105125 OBJEXT = @OBJEXT@
106126 PACKAGE = @PACKAGE@
127 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
128 PACKAGE_NAME = @PACKAGE_NAME@
129 PACKAGE_STRING = @PACKAGE_STRING@
130 PACKAGE_TARNAME = @PACKAGE_TARNAME@
131 PACKAGE_VERSION = @PACKAGE_VERSION@
132 PATH_SEPARATOR = @PATH_SEPARATOR@
107133 PA_MODULES_PATH = @PA_MODULES_PATH@
108134 PA_VERSION = @PA_VERSION@
109135 PE_CFLAGS = @PE_CFLAGS@
114140 PY_MODULES_PATH = @PY_MODULES_PATH@
115141 PY_VERSION = @PY_VERSION@
116142 RANLIB = @RANLIB@
117 RC = @RC@
143 SET_MAKE = @SET_MAKE@
144 SHELL = @SHELL@
118145 STRIP = @STRIP@
119146 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120147 USE_NLS = @USE_NLS@
121148 VERSION = @VERSION@
122149 VERSION_INFO = @VERSION_INFO@
150 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
151 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
152 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
153 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
154 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
155 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
156 WITH_PERL_FALSE = @WITH_PERL_FALSE@
157 WITH_PERL_TRUE = @WITH_PERL_TRUE@
158 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
159 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
160 XGETTEXT = @XGETTEXT@
161 ac_ct_AR = @ac_ct_AR@
162 ac_ct_CC = @ac_ct_CC@
163 ac_ct_CXX = @ac_ct_CXX@
164 ac_ct_F77 = @ac_ct_F77@
165 ac_ct_RANLIB = @ac_ct_RANLIB@
166 ac_ct_STRIP = @ac_ct_STRIP@
167 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
168 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
169 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
170 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
171 am__include = @am__include@
172 am__leading_dot = @am__leading_dot@
173 am__quote = @am__quote@
174 am__tar = @am__tar@
175 am__untar = @am__untar@
176 bindir = @bindir@
177 build = @build@
178 build_alias = @build_alias@
179 build_cpu = @build_cpu@
180 build_os = @build_os@
181 build_vendor = @build_vendor@
182 datadir = @datadir@
183 exec_prefix = @exec_prefix@
123184 have_pascal = @have_pascal@
124185 have_perl = @have_perl@
125186 have_python = @have_python@
126187 have_swig = @have_swig@
127
188 host = @host@
189 host_alias = @host_alias@
190 host_cpu = @host_cpu@
191 host_os = @host_os@
192 host_vendor = @host_vendor@
193 includedir = @includedir@
194 infodir = @infodir@
195 install_sh = @install_sh@
196 libdir = @libdir@
197 libexecdir = @libexecdir@
198 localstatedir = @localstatedir@
199 mandir = @mandir@
200 mkdir_p = @mkdir_p@
201 oldincludedir = @oldincludedir@
202 prefix = @prefix@
203 program_transform_name = @program_transform_name@
204 sbindir = @sbindir@
205 sharedstatedir = @sharedstatedir@
206 sysconfdir = @sysconfdir@
207 target_alias = @target_alias@
128208 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
209 all: all-recursive
210
139211 .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
212 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
213 @for dep in $?; do \
214 case '$(am__configure_deps)' in \
215 *$$dep*) \
216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
217 && exit 0; \
218 exit 1;; \
219 esac; \
220 done; \
221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \
222 cd $(top_srcdir) && \
223 $(AUTOMAKE) --gnu examples/Makefile
224 .PRECIOUS: Makefile
225 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
226 @case '$?' in \
227 *config.status*) \
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
229 *) \
230 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
231 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
232 esac;
233
234 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
235 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
236
237 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
239 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
240 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
241
242 mostlyclean-libtool:
243 -rm -f *.lo
244
245 clean-libtool:
246 -rm -rf .libs _libs
247
248 distclean-libtool:
249 -rm -f libtool
250 uninstall-info-am:
147251
148252 # This directory's subdirectories are mostly independent; you can cd
149253 # into them and run `make' without going through this Makefile.
151255 # (1) if the variable is set in `config.status', edit `config.status'
152256 # (which will cause the Makefiles to be regenerated when you run `make');
153257 # (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; \
258 $(RECURSIVE_TARGETS):
259 @failcom='exit 1'; \
260 for f in x $$MAKEFLAGS; do \
261 case $$f in \
262 *=* | --[!k]*);; \
263 *k*) failcom='fail=yes';; \
264 esac; \
265 done; \
161266 dot_seen=no; \
162267 target=`echo $@ | sed s/-recursive//`; \
163268 list='$(SUBDIRS)'; for subdir in $$list; do \
169274 local_target="$$target"; \
170275 fi; \
171276 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
277 || eval $$failcom; \
173278 done; \
174279 if test "$$dot_seen" = "no"; then \
175280 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
177282
178283 mostlyclean-recursive clean-recursive distclean-recursive \
179284 maintainer-clean-recursive:
180 @set fnord $(MAKEFLAGS); amf=$$2; \
285 @failcom='exit 1'; \
286 for f in x $$MAKEFLAGS; do \
287 case $$f in \
288 *=* | --[!k]*);; \
289 *k*) failcom='fail=yes';; \
290 esac; \
291 done; \
181292 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
293 case "$@" in \
294 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
295 *) list='$(SUBDIRS)' ;; \
296 esac; \
297 rev=''; for subdir in $$list; do \
298 if test "$$subdir" = "."; then :; else \
299 rev="$$subdir $$rev"; \
300 fi; \
185301 done; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
302 rev="$$rev ."; \
187303 target=`echo $@ | sed s/-recursive//`; \
188304 for subdir in $$rev; do \
189305 echo "Making $$target in $$subdir"; \
193309 local_target="$$target"; \
194310 fi; \
195311 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
312 || eval $$failcom; \
197313 done && test -z "$$fail"
198314 tags-recursive:
199315 list='$(SUBDIRS)'; for subdir in $$list; do \
200316 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
201317 done
202
318 ctags-recursive:
319 list='$(SUBDIRS)'; for subdir in $$list; do \
320 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
321 done
322
323 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
324 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
325 unique=`for i in $$list; do \
326 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 done | \
328 $(AWK) ' { files[$$0] = 1; } \
329 END { for (i in files) print i; }'`; \
330 mkid -fID $$unique
203331 tags: TAGS
204332
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)
333 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
334 $(TAGS_FILES) $(LISP)
214335 tags=; \
215336 here=`pwd`; \
337 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
338 include_option=--etags-include; \
339 empty_fix=.; \
340 else \
341 include_option=--include; \
342 empty_fix=; \
343 fi; \
216344 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; \
345 if test "$$subdir" = .; then :; else \
346 test ! -f $$subdir/TAGS || \
347 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
348 fi; \
220349 done; \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
350 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
351 unique=`for i in $$list; do \
352 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
353 done | \
354 $(AWK) ' { files[$$0] = 1; } \
224355 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:
356 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
357 test -n "$$unique" || unique=$$empty_fix; \
358 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
359 $$tags $$unique; \
360 fi
361 ctags: CTAGS
362 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
363 $(TAGS_FILES) $(LISP)
364 tags=; \
365 here=`pwd`; \
366 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
367 unique=`for i in $$list; do \
368 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
369 done | \
370 $(AWK) ' { files[$$0] = 1; } \
371 END { for (i in files) print i; }'`; \
372 test -z "$(CTAGS_ARGS)$$tags$$unique" \
373 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
374 $$tags $$unique
375
376 GTAGS:
377 here=`$(am__cd) $(top_builddir) && pwd` \
378 && cd $(top_srcdir) \
379 && gtags -i $(GTAGS_ARGS) $$here
231380
232381 distclean-tags:
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = examples
382 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
240383
241384 distdir: $(DISTFILES)
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
385 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
386 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
387 list='$(DISTFILES)'; for file in $$list; do \
388 case $$file in \
389 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
390 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
391 esac; \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
394 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
395 dir="/$$dir"; \
396 $(mkdir_p) "$(distdir)$$dir"; \
397 else \
398 dir=''; \
399 fi; \
244400 if test -d $$d/$$file; then \
245 cp -pr $$d/$$file $(distdir)/$$file; \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
403 fi; \
404 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
246405 else \
247406 test -f $(distdir)/$$file \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
407 || cp -p $$d/$$file $(distdir)/$$file \
408 || exit 1; \
250409 fi; \
251410 done
252 for subdir in $(SUBDIRS); do \
411 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
253412 if test "$$subdir" = .; then :; else \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
413 test -d "$(distdir)/$$subdir" \
414 || $(mkdir_p) "$(distdir)/$$subdir" \
256415 || exit 1; \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
416 distdir=`$(am__cd) $(distdir) && pwd`; \
417 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
418 (cd $$subdir && \
419 $(MAKE) $(AM_MAKEFLAGS) \
420 top_distdir="$$top_distdir" \
421 distdir="$$distdir/$$subdir" \
422 distdir) \
259423 || exit 1; \
260424 fi; \
261425 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
266426 check-am: all-am
267427 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
428 all-am: Makefile
429 installdirs: installdirs-recursive
430 installdirs-am:
431 install: install-recursive
271432 install-exec: install-exec-recursive
272
273 install-data-am:
274433 install-data: install-data-recursive
434 uninstall: uninstall-recursive
275435
276436 install-am: all-am
277437 @$(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
438
439 installcheck: installcheck-recursive
283440 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
285 installdirs: installdirs-recursive
286 installdirs-am:
287
288
441 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
442 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
443 `test -z '$(STRIP)' || \
444 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
289445 mostlyclean-generic:
290446
291447 clean-generic:
292448
293449 distclean-generic:
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
450 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
296451
297452 maintainer-clean-generic:
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
453 @echo "This command is intended for maintainers to use"
454 @echo "it deletes files that may require special tools to rebuild."
455 clean: clean-recursive
456
457 clean-am: clean-generic clean-libtool mostlyclean-am
458
459 distclean: distclean-recursive
460 -rm -f Makefile
461 distclean-am: clean-am distclean-generic distclean-libtool \
462 distclean-tags
463
464 dvi: dvi-recursive
465
466 dvi-am:
467
468 html: html-recursive
469
470 info: info-recursive
471
472 info-am:
473
474 install-data-am:
475
476 install-exec-am:
477
478 install-info: install-info-recursive
479
480 install-man:
481
482 installcheck-am:
483
484 maintainer-clean: maintainer-clean-recursive
485 -rm -f Makefile
486 maintainer-clean-am: distclean-am maintainer-clean-generic
299487
300488 mostlyclean: mostlyclean-recursive
301489
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
490 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
491
492 pdf: pdf-recursive
493
494 pdf-am:
495
496 ps: ps-recursive
497
498 ps-am:
499
500 uninstall-am: uninstall-info-am
501
502 uninstall-info: uninstall-info-recursive
503
504 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
505 clean clean-generic clean-libtool clean-recursive ctags \
506 ctags-recursive distclean distclean-generic distclean-libtool \
507 distclean-recursive distclean-tags distdir dvi dvi-am html \
508 html-am info info-am install install-am install-data \
509 install-data-am install-exec install-exec-am install-info \
510 install-info-am install-man install-strip installcheck \
511 installcheck-am installdirs installdirs-am maintainer-clean \
512 maintainer-clean-generic maintainer-clean-recursive \
513 mostlyclean mostlyclean-generic mostlyclean-libtool \
514 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
515 uninstall uninstall-am uninstall-info-am
331516
332517 # Tell versions [3.59,3.63) of GNU make to not export all variables.
333518 # 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 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@
8195 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8396 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8497 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8598 HAVE_WPRINTF = @HAVE_WPRINTF@
99 INSTALL_DATA = @INSTALL_DATA@
100 INSTALL_PROGRAM = @INSTALL_PROGRAM@
101 INSTALL_SCRIPT = @INSTALL_SCRIPT@
102 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86103 INSTOBJEXT = @INSTOBJEXT@
87104 INTLBISON = @INTLBISON@
88105 INTLLIBS = @INTLLIBS@
89106 INTLOBJS = @INTLOBJS@
90107 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91108 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
109 LDFLAGS = @LDFLAGS@
93110 LIBICONV = @LIBICONV@
94111 LIBINTL = @LIBINTL@
112 LIBOBJS = @LIBOBJS@
95113 LIBS = @LIBS@
96114 LIBTOOL = @LIBTOOL@
97115 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99116 LTLIBICONV = @LTLIBICONV@
100117 LTLIBINTL = @LTLIBINTL@
118 LTLIBOBJS = @LTLIBOBJS@
101119 MAINT = @MAINT@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102122 MAKEINFO = @MAKEINFO@
103123 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
124 MSGFMT = @MSGFMT@
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@
114141 PY_MODULES_PATH = @PY_MODULES_PATH@
115142 PY_VERSION = @PY_VERSION@
116143 RANLIB = @RANLIB@
117 RC = @RC@
144 SET_MAKE = @SET_MAKE@
145 SHELL = @SHELL@
118146 STRIP = @STRIP@
119147 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120148 USE_NLS = @USE_NLS@
121149 VERSION = @VERSION@
122150 VERSION_INFO = @VERSION_INFO@
151 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
152 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
153 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
154 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
155 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
156 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
157 WITH_PERL_FALSE = @WITH_PERL_FALSE@
158 WITH_PERL_TRUE = @WITH_PERL_TRUE@
159 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
160 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
161 XGETTEXT = @XGETTEXT@
162 ac_ct_AR = @ac_ct_AR@
163 ac_ct_CC = @ac_ct_CC@
164 ac_ct_CXX = @ac_ct_CXX@
165 ac_ct_F77 = @ac_ct_F77@
166 ac_ct_RANLIB = @ac_ct_RANLIB@
167 ac_ct_STRIP = @ac_ct_STRIP@
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 exec_prefix = @exec_prefix@
123185 have_pascal = @have_pascal@
124186 have_perl = @have_perl@
125187 have_python = @have_python@
126188 have_swig = @have_swig@
127
189 host = @host@
190 host_alias = @host_alias@
191 host_cpu = @host_cpu@
192 host_os = @host_os@
193 host_vendor = @host_vendor@
194 includedir = @includedir@
195 infodir = @infodir@
196 install_sh = @install_sh@
197 libdir = @libdir@
198 libexecdir = @libexecdir@
199 localstatedir = @localstatedir@
200 mandir = @mandir@
201 mkdir_p = @mkdir_p@
202 oldincludedir = @oldincludedir@
203 prefix = @prefix@
204 program_transform_name = @program_transform_name@
205 sbindir = @sbindir@
206 sharedstatedir = @sharedstatedir@
207 sysconfdir = @sysconfdir@
208 target_alias = @target_alias@
128209 EXTRA_DIST = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
129
130210 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/bindings
131211 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
212 all: all-am
213
144214 .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
215 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
216 @for dep in $?; do \
217 case '$(am__configure_deps)' in \
218 *$$dep*) \
219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
220 && exit 0; \
221 exit 1;; \
222 esac; \
223 done; \
224 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/bindings/Makefile'; \
225 cd $(top_srcdir) && \
226 $(AUTOMAKE) --gnu examples/bindings/Makefile
227 .PRECIOUS: Makefile
228 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
229 @case '$?' in \
230 *config.status*) \
231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
232 *) \
233 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
234 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
235 esac;
236
237 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
239
240 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
242 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
243 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
244
245 mostlyclean-libtool:
246 -rm -f *.lo
247
248 clean-libtool:
249 -rm -rf .libs _libs
250
251 distclean-libtool:
252 -rm -f libtool
253 uninstall-info-am:
153254 install-libhdatedocDATA: $(libhdatedoc_DATA)
154255 @$(NORMAL_INSTALL)
155 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
256 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
156257 @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; \
258 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
259 f=$(am__strip_dir) \
260 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
261 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
164262 done
165263
166264 uninstall-libhdatedocDATA:
167265 @$(NORMAL_UNINSTALL)
168 list='$(libhdatedoc_DATA)'; for p in $$list; do \
169 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
266 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
267 f=$(am__strip_dir) \
268 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
269 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
170270 done
171271 tags: TAGS
172272 TAGS:
173273
174
175 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
176
177 subdir = examples/bindings
274 ctags: CTAGS
275 CTAGS:
276
178277
179278 distdir: $(DISTFILES)
180 @for file in $(DISTFILES); do \
181 d=$(srcdir); \
279 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
280 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
281 list='$(DISTFILES)'; for file in $$list; do \
282 case $$file in \
283 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
284 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
285 esac; \
286 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
287 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
288 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
289 dir="/$$dir"; \
290 $(mkdir_p) "$(distdir)$$dir"; \
291 else \
292 dir=''; \
293 fi; \
182294 if test -d $$d/$$file; then \
183 cp -pr $$d/$$file $(distdir)/$$file; \
295 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
296 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
297 fi; \
298 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
184299 else \
185300 test -f $(distdir)/$$file \
186 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
187 || cp -p $$d/$$file $(distdir)/$$file || :; \
301 || cp -p $$d/$$file $(distdir)/$$file \
302 || exit 1; \
188303 fi; \
189304 done
190 info-am:
191 info: info-am
192 dvi-am:
193 dvi: dvi-am
194305 check-am: all-am
195306 check: check-am
196 installcheck-am:
197 installcheck: installcheck-am
198 install-exec-am:
307 all-am: Makefile $(DATA)
308 installdirs:
309 for dir in "$(DESTDIR)$(libhdatedocdir)"; do \
310 test -z "$$dir" || $(mkdir_p) "$$dir"; \
311 done
312 install: install-am
199313 install-exec: install-exec-am
200
201 install-data-am: install-libhdatedocDATA
202314 install-data: install-data-am
315 uninstall: uninstall-am
203316
204317 install-am: all-am
205318 @$(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
319
320 installcheck: installcheck-am
211321 install-strip:
212 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
213 installdirs:
214 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
215
216
322 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
323 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
324 `test -z '$(STRIP)' || \
325 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
217326 mostlyclean-generic:
218327
219328 clean-generic:
220329
221330 distclean-generic:
222 -rm -f Makefile $(CONFIG_CLEAN_FILES)
223 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
331 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
224332
225333 maintainer-clean-generic:
226 mostlyclean-am: mostlyclean-generic
334 @echo "This command is intended for maintainers to use"
335 @echo "it deletes files that may require special tools to rebuild."
336 clean: clean-am
337
338 clean-am: clean-generic clean-libtool mostlyclean-am
339
340 distclean: distclean-am
341 -rm -f Makefile
342 distclean-am: clean-am distclean-generic distclean-libtool
343
344 dvi: dvi-am
345
346 dvi-am:
347
348 html: html-am
349
350 info: info-am
351
352 info-am:
353
354 install-data-am: install-libhdatedocDATA
355
356 install-exec-am:
357
358 install-info: install-info-am
359
360 install-man:
361
362 installcheck-am:
363
364 maintainer-clean: maintainer-clean-am
365 -rm -f Makefile
366 maintainer-clean-am: distclean-am maintainer-clean-generic
227367
228368 mostlyclean: mostlyclean-am
229369
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
370 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
371
372 pdf: pdf-am
373
374 pdf-am:
375
376 ps: ps-am
377
378 ps-am:
379
380 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA
381
382 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
383 distclean distclean-generic distclean-libtool distdir dvi \
384 dvi-am html html-am info info-am install install-am \
385 install-data install-data-am install-exec install-exec-am \
386 install-info install-info-am install-libhdatedocDATA \
387 install-man install-strip installcheck installcheck-am \
388 installdirs maintainer-clean maintainer-clean-generic \
389 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
390 ps ps-am uninstall uninstall-am uninstall-info-am \
391 uninstall-libhdatedocDATA
252392
253393 # Tell versions [3.59,3.63) of GNU make to not export all variables.
254394 # 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 CPP = @CPP@
102 CPPFLAGS = @CPPFLAGS@
67103 CXX = @CXX@
68104 CXXCPP = @CXXCPP@
105 CXXDEPMODE = @CXXDEPMODE@
106 CXXFLAGS = @CXXFLAGS@
107 CYGPATH_W = @CYGPATH_W@
69108 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
71111 ECHO = @ECHO@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
72115 EGREP = @EGREP@
73116 EXEEXT = @EXEEXT@
74117 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
118 FFLAGS = @FFLAGS@
77119 GENCAT = @GENCAT@
78120 GLIBC2 = @GLIBC2@
79121 GLIBC21 = @GLIBC21@
80122 GMSGFMT = @GMSGFMT@
81123 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83124 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84125 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85126 HAVE_WPRINTF = @HAVE_WPRINTF@
127 INSTALL_DATA = @INSTALL_DATA@
128 INSTALL_PROGRAM = @INSTALL_PROGRAM@
129 INSTALL_SCRIPT = @INSTALL_SCRIPT@
130 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86131 INSTOBJEXT = @INSTOBJEXT@
87132 INTLBISON = @INTLBISON@
88133 INTLLIBS = @INTLLIBS@
89134 INTLOBJS = @INTLOBJS@
90135 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91136 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
137 LDFLAGS = @LDFLAGS@
93138 LIBICONV = @LIBICONV@
94139 LIBINTL = @LIBINTL@
140 LIBOBJS = @LIBOBJS@
95141 LIBS = @LIBS@
96142 LIBTOOL = @LIBTOOL@
97143 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99144 LTLIBICONV = @LTLIBICONV@
100145 LTLIBINTL = @LTLIBINTL@
146 LTLIBOBJS = @LTLIBOBJS@
101147 MAINT = @MAINT@
148 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
149 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102150 MAKEINFO = @MAKEINFO@
103151 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
152 MSGFMT = @MSGFMT@
153 MSGMERGE = @MSGMERGE@
105154 OBJEXT = @OBJEXT@
106155 PACKAGE = @PACKAGE@
156 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
157 PACKAGE_NAME = @PACKAGE_NAME@
158 PACKAGE_STRING = @PACKAGE_STRING@
159 PACKAGE_TARNAME = @PACKAGE_TARNAME@
160 PACKAGE_VERSION = @PACKAGE_VERSION@
161 PATH_SEPARATOR = @PATH_SEPARATOR@
107162 PA_MODULES_PATH = @PA_MODULES_PATH@
108163 PA_VERSION = @PA_VERSION@
109164 PE_CFLAGS = @PE_CFLAGS@
114169 PY_MODULES_PATH = @PY_MODULES_PATH@
115170 PY_VERSION = @PY_VERSION@
116171 RANLIB = @RANLIB@
117 RC = @RC@
172 SET_MAKE = @SET_MAKE@
173 SHELL = @SHELL@
118174 STRIP = @STRIP@
119175 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120176 USE_NLS = @USE_NLS@
121177 VERSION = @VERSION@
122178 VERSION_INFO = @VERSION_INFO@
179 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
180 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
181 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
182 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
183 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
184 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
185 WITH_PERL_FALSE = @WITH_PERL_FALSE@
186 WITH_PERL_TRUE = @WITH_PERL_TRUE@
187 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
188 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
189 XGETTEXT = @XGETTEXT@
190 ac_ct_AR = @ac_ct_AR@
191 ac_ct_CC = @ac_ct_CC@
192 ac_ct_CXX = @ac_ct_CXX@
193 ac_ct_F77 = @ac_ct_F77@
194 ac_ct_RANLIB = @ac_ct_RANLIB@
195 ac_ct_STRIP = @ac_ct_STRIP@
196 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
197 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
198 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
199 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
200 am__include = @am__include@
201 am__leading_dot = @am__leading_dot@
202 am__quote = @am__quote@
203 am__tar = @am__tar@
204 am__untar = @am__untar@
205 bindir = @bindir@
206 build = @build@
207 build_alias = @build_alias@
208 build_cpu = @build_cpu@
209 build_os = @build_os@
210 build_vendor = @build_vendor@
211 datadir = @datadir@
212 exec_prefix = @exec_prefix@
123213 have_pascal = @have_pascal@
124214 have_perl = @have_perl@
125215 have_python = @have_python@
126216 have_swig = @have_swig@
127
217 host = @host@
218 host_alias = @host_alias@
219 host_cpu = @host_cpu@
220 host_os = @host_os@
221 host_vendor = @host_vendor@
222 includedir = @includedir@
223 infodir = @infodir@
224 install_sh = @install_sh@
225 libdir = @libdir@
226 libexecdir = @libexecdir@
227 localstatedir = @localstatedir@
228 mandir = @mandir@
229 mkdir_p = @mkdir_p@
230 oldincludedir = @oldincludedir@
231 prefix = @prefix@
232 program_transform_name = @program_transform_name@
233 sbindir = @sbindir@
234 sharedstatedir = @sharedstatedir@
235 sysconfdir = @sysconfdir@
236 target_alias = @target_alias@
128237 EXTRA_DIST = hdate.1 hcal.1
129
130238 @WITH_HCAL_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132239 @WITH_HCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133240 @WITH_HCAL_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate hcal
136
137241 @WITH_HCAL_TRUE@hdate_SOURCES = hdate.c
138242 @WITH_HCAL_TRUE@hdate_LDFLAGS =
139243 @WITH_HCAL_TRUE@hdate_DEPENDENCIES = $(DEPS)
140244 @WITH_HCAL_TRUE@hdate_LDADD = $(ldadd)
141
142245 @WITH_HCAL_TRUE@hcal_SOURCES = hcal.c
143246 @WITH_HCAL_TRUE@hcal_LDFLAGS =
144247 @WITH_HCAL_TRUE@hcal_DEPENDENCIES = $(DEPS)
145248 @WITH_HCAL_TRUE@hcal_LDADD = $(ldadd)
146
147249 @WITH_HCAL_TRUE@man_MANS = hdate.1 hcal.1
148
149250 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/hcal
150251 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
252 all: all-am
253
183254 .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
255 .SUFFIXES: .c .lo .o .obj
256 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
257 @for dep in $?; do \
258 case '$(am__configure_deps)' in \
259 *$$dep*) \
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
261 && exit 0; \
262 exit 1;; \
263 esac; \
264 done; \
265 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hcal/Makefile'; \
266 cd $(top_srcdir) && \
267 $(AUTOMAKE) --gnu examples/hcal/Makefile
268 .PRECIOUS: Makefile
269 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
270 @case '$?' in \
271 *config.status*) \
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
273 *) \
274 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
276 esac;
277
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
280
281 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
282 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
202285 install-binPROGRAMS: $(bin_PROGRAMS)
203286 @$(NORMAL_INSTALL)
204 $(mkinstalldirs) $(DESTDIR)$(bindir)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
205288 @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)/'`; \
289 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
290 if test -f $$p \
291 || test -f $$p1 \
292 ; then \
293 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
294 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
295 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
209296 else :; fi; \
210297 done
211298
212299 uninstall-binPROGRAMS:
213300 @$(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 $<
301 @list='$(bin_PROGRAMS)'; for p in $$list; do \
302 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
303 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
304 rm -f "$(DESTDIR)$(bindir)/$$f"; \
305 done
306
307 clean-binPROGRAMS:
308 @list='$(bin_PROGRAMS)'; for p in $$list; do \
309 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
310 echo " rm -f $$p $$f"; \
311 rm -f $$p $$f ; \
312 done
313 hcal$(EXEEXT): $(hcal_OBJECTS) $(hcal_DEPENDENCIES)
314 @rm -f hcal$(EXEEXT)
315 $(LINK) $(hcal_LDFLAGS) $(hcal_OBJECTS) $(hcal_LDADD) $(LIBS)
316 hdate$(EXEEXT): $(hdate_OBJECTS) $(hdate_DEPENDENCIES)
317 @rm -f hdate$(EXEEXT)
318 $(LINK) $(hdate_LDFLAGS) $(hdate_OBJECTS) $(hdate_LDADD) $(LIBS)
231319
232320 mostlyclean-compile:
233 -rm -f *.o core *.core
234321 -rm -f *.$(OBJEXT)
235
236 clean-compile:
237322
238323 distclean-compile:
239324 -rm -f *.tab.c
240325
241 maintainer-clean-compile:
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hcal.Po@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate.Po@am__quote@
328
329 .c.o:
330 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
331 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
334 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
335
336 .c.obj:
337 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
338 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
242342
243343 .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 $<
344 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
345 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
348 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
251349
252350 mostlyclean-libtool:
253351 -rm -f *.lo
256354 -rm -rf .libs _libs
257355
258356 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 \
357 -rm -f libtool
358 uninstall-info-am:
359 install-man1: $(man1_MANS) $(man_MANS)
360 @$(NORMAL_INSTALL)
361 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
362 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
363 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
364 for i in $$l2; do \
274365 case "$$i" in \
275366 *.1*) list="$$list $$i" ;; \
276367 esac; \
279370 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
280371 else file=$$i; fi; \
281372 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
373 case "$$ext" in \
374 1*) ;; \
375 *) ext='1' ;; \
376 esac; \
282377 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
378 inst=`echo $$inst | sed -e 's/^.*\///'`; \
283379 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
284 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
285 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
286 done
287
380 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
381 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
382 done
288383 uninstall-man1:
289 @list='$(man1_MANS)'; \
290 l2='$(man_MANS)'; for i in $$l2; do \
384 @$(NORMAL_UNINSTALL)
385 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
386 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
387 for i in $$l2; do \
291388 case "$$i" in \
292389 *.1*) list="$$list $$i" ;; \
293390 esac; \
294391 done; \
295392 for i in $$list; do \
296393 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
394 case "$$ext" in \
395 1*) ;; \
396 *) ext='1' ;; \
397 esac; \
297398 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
399 inst=`echo $$inst | sed -e 's/^.*\///'`; \
298400 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
401 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
402 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
403 done
309404 install-libhdatedocDATA: $(libhdatedoc_DATA)
310405 @$(NORMAL_INSTALL)
311 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
406 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
312407 @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; \
408 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
409 f=$(am__strip_dir) \
410 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
411 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
320412 done
321413
322414 uninstall-libhdatedocDATA:
323415 @$(NORMAL_UNINSTALL)
324 list='$(libhdatedoc_DATA)'; for p in $$list; do \
325 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
326 done
327
416 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
417 f=$(am__strip_dir) \
418 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
419 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
420 done
421
422 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
423 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
424 unique=`for i in $$list; do \
425 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
426 done | \
427 $(AWK) ' { files[$$0] = 1; } \
428 END { for (i in files) print i; }'`; \
429 mkid -fID $$unique
328430 tags: TAGS
329431
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)
432 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
433 $(TAGS_FILES) $(LISP)
339434 tags=; \
340435 here=`pwd`; \
341 list='$(SOURCES) $(HEADERS)'; \
342 unique=`for i in $$list; do echo $$i; done | \
343 awk ' { files[$$0] = 1; } \
436 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
437 unique=`for i in $$list; do \
438 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
439 done | \
440 $(AWK) ' { files[$$0] = 1; } \
344441 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:
442 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
443 test -n "$$unique" || unique=$$empty_fix; \
444 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
445 $$tags $$unique; \
446 fi
447 ctags: CTAGS
448 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
449 $(TAGS_FILES) $(LISP)
450 tags=; \
451 here=`pwd`; \
452 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
453 unique=`for i in $$list; do \
454 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
455 done | \
456 $(AWK) ' { files[$$0] = 1; } \
457 END { for (i in files) print i; }'`; \
458 test -z "$(CTAGS_ARGS)$$tags$$unique" \
459 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
460 $$tags $$unique
461
462 GTAGS:
463 here=`$(am__cd) $(top_builddir) && pwd` \
464 && cd $(top_srcdir) \
465 && gtags -i $(GTAGS_ARGS) $$here
351466
352467 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
468 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
360469
361470 distdir: $(DISTFILES)
362 @for file in $(DISTFILES); do \
363 d=$(srcdir); \
471 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
472 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
473 list='$(DISTFILES)'; for file in $$list; do \
474 case $$file in \
475 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
476 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
477 esac; \
478 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
479 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
480 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
481 dir="/$$dir"; \
482 $(mkdir_p) "$(distdir)$$dir"; \
483 else \
484 dir=''; \
485 fi; \
364486 if test -d $$d/$$file; then \
365 cp -pr $$d/$$file $(distdir)/$$file; \
487 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
488 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
489 fi; \
490 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
366491 else \
367492 test -f $(distdir)/$$file \
368 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
369 || cp -p $$d/$$file $(distdir)/$$file || :; \
493 || cp -p $$d/$$file $(distdir)/$$file \
494 || exit 1; \
370495 fi; \
371496 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
379497 check-am: all-am
380498 check: check-am
381 installcheck-am:
382 installcheck: installcheck-am
383 install-exec-am: install-binPROGRAMS
499 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
500 installdirs:
501 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(libhdatedocdir)"; do \
502 test -z "$$dir" || $(mkdir_p) "$$dir"; \
503 done
504 install: install-am
384505 install-exec: install-exec-am
385
386 install-data-am: install-man install-libhdatedocDATA
387506 install-data: install-data-am
507 uninstall: uninstall-am
388508
389509 install-am: all-am
390510 @$(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
511
512 installcheck: installcheck-am
397513 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
514 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
515 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
516 `test -z '$(STRIP)' || \
517 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
404518 mostlyclean-generic:
405519
406520 clean-generic:
407521
408522 distclean-generic:
409 -rm -f Makefile $(CONFIG_CLEAN_FILES)
410 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
523 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
411524
412525 maintainer-clean-generic:
413 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
414 mostlyclean-libtool mostlyclean-tags \
415 mostlyclean-generic
526 @echo "This command is intended for maintainers to use"
527 @echo "it deletes files that may require special tools to rebuild."
528 clean: clean-am
529
530 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
531
532 distclean: distclean-am
533 -rm -rf ./$(DEPDIR)
534 -rm -f Makefile
535 distclean-am: clean-am distclean-compile distclean-generic \
536 distclean-libtool distclean-tags
537
538 dvi: dvi-am
539
540 dvi-am:
541
542 html: html-am
543
544 info: info-am
545
546 info-am:
547
548 install-data-am: install-libhdatedocDATA install-man
549
550 install-exec-am: install-binPROGRAMS
551
552 install-info: install-info-am
553
554 install-man: install-man1
555
556 installcheck-am:
557
558 maintainer-clean: maintainer-clean-am
559 -rm -rf ./$(DEPDIR)
560 -rm -f Makefile
561 maintainer-clean-am: distclean-am maintainer-clean-generic
416562
417563 mostlyclean: mostlyclean-am
418564
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
565 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
566 mostlyclean-libtool
567
568 pdf: pdf-am
569
570 pdf-am:
571
572 ps: ps-am
573
574 ps-am:
575
576 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
577 uninstall-libhdatedocDATA uninstall-man
578
579 uninstall-man: uninstall-man1
580
581 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
582 clean-generic clean-libtool ctags distclean distclean-compile \
583 distclean-generic distclean-libtool distclean-tags distdir dvi \
584 dvi-am html html-am info info-am install install-am \
585 install-binPROGRAMS install-data install-data-am install-exec \
586 install-exec-am install-info install-info-am \
587 install-libhdatedocDATA install-man install-man1 install-strip \
588 installcheck installcheck-am installdirs maintainer-clean \
589 maintainer-clean-generic mostlyclean mostlyclean-compile \
590 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
591 tags uninstall uninstall-am uninstall-binPROGRAMS \
592 uninstall-info-am uninstall-libhdatedocDATA uninstall-man \
593 uninstall-man1
453594
454595 # Tell versions [3.59,3.63) of GNU make to not export all variables.
455596 # 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 @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 CPP = @CPP@
87 CPPFLAGS = @CPPFLAGS@
6788 CXX = @CXX@
6889 CXXCPP = @CXXCPP@
90 CXXDEPMODE = @CXXDEPMODE@
91 CXXFLAGS = @CXXFLAGS@
92 CYGPATH_W = @CYGPATH_W@
6993 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
94 DEFS = @DEFS@
95 DEPDIR = @DEPDIR@
7196 ECHO = @ECHO@
97 ECHO_C = @ECHO_C@
98 ECHO_N = @ECHO_N@
99 ECHO_T = @ECHO_T@
72100 EGREP = @EGREP@
73101 EXEEXT = @EXEEXT@
74102 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
103 FFLAGS = @FFLAGS@
77104 GENCAT = @GENCAT@
78105 GLIBC2 = @GLIBC2@
79106 GLIBC21 = @GLIBC21@
80107 GMSGFMT = @GMSGFMT@
81108 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83109 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84110 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85111 HAVE_WPRINTF = @HAVE_WPRINTF@
112 INSTALL_DATA = @INSTALL_DATA@
113 INSTALL_PROGRAM = @INSTALL_PROGRAM@
114 INSTALL_SCRIPT = @INSTALL_SCRIPT@
115 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86116 INSTOBJEXT = @INSTOBJEXT@
87117 INTLBISON = @INTLBISON@
88118 INTLLIBS = @INTLLIBS@
89119 INTLOBJS = @INTLOBJS@
90120 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91121 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
122 LDFLAGS = @LDFLAGS@
93123 LIBICONV = @LIBICONV@
94124 LIBINTL = @LIBINTL@
125 LIBOBJS = @LIBOBJS@
95126 LIBS = @LIBS@
96127 LIBTOOL = @LIBTOOL@
97128 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99129 LTLIBICONV = @LTLIBICONV@
100130 LTLIBINTL = @LTLIBINTL@
131 LTLIBOBJS = @LTLIBOBJS@
101132 MAINT = @MAINT@
133 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
134 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102135 MAKEINFO = @MAKEINFO@
103136 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
137 MSGFMT = @MSGFMT@
138 MSGMERGE = @MSGMERGE@
105139 OBJEXT = @OBJEXT@
106140 PACKAGE = @PACKAGE@
141 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
142 PACKAGE_NAME = @PACKAGE_NAME@
143 PACKAGE_STRING = @PACKAGE_STRING@
144 PACKAGE_TARNAME = @PACKAGE_TARNAME@
145 PACKAGE_VERSION = @PACKAGE_VERSION@
146 PATH_SEPARATOR = @PATH_SEPARATOR@
107147 PA_MODULES_PATH = @PA_MODULES_PATH@
108148 PA_VERSION = @PA_VERSION@
109149 PE_CFLAGS = @PE_CFLAGS@
114154 PY_MODULES_PATH = @PY_MODULES_PATH@
115155 PY_VERSION = @PY_VERSION@
116156 RANLIB = @RANLIB@
117 RC = @RC@
157 SET_MAKE = @SET_MAKE@
158 SHELL = @SHELL@
118159 STRIP = @STRIP@
119160 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120161 USE_NLS = @USE_NLS@
121162 VERSION = @VERSION@
122163 VERSION_INFO = @VERSION_INFO@
164 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
165 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
166 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
167 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
168 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
169 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
170 WITH_PERL_FALSE = @WITH_PERL_FALSE@
171 WITH_PERL_TRUE = @WITH_PERL_TRUE@
172 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
173 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
174 XGETTEXT = @XGETTEXT@
175 ac_ct_AR = @ac_ct_AR@
176 ac_ct_CC = @ac_ct_CC@
177 ac_ct_CXX = @ac_ct_CXX@
178 ac_ct_F77 = @ac_ct_F77@
179 ac_ct_RANLIB = @ac_ct_RANLIB@
180 ac_ct_STRIP = @ac_ct_STRIP@
181 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
182 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
183 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
184 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
185 am__include = @am__include@
186 am__leading_dot = @am__leading_dot@
187 am__quote = @am__quote@
188 am__tar = @am__tar@
189 am__untar = @am__untar@
190 bindir = @bindir@
191 build = @build@
192 build_alias = @build_alias@
193 build_cpu = @build_cpu@
194 build_os = @build_os@
195 build_vendor = @build_vendor@
196 datadir = @datadir@
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 includedir = @includedir@
208 infodir = @infodir@
209 install_sh = @install_sh@
210 libdir = @libdir@
211 libexecdir = @libexecdir@
212 localstatedir = @localstatedir@
213 mandir = @mandir@
214 mkdir_p = @mkdir_p@
215 oldincludedir = @oldincludedir@
216 prefix = @prefix@
217 program_transform_name = @program_transform_name@
218 sbindir = @sbindir@
219 sharedstatedir = @sharedstatedir@
220 sysconfdir = @sysconfdir@
221 target_alias = @target_alias@
128222 EXTRA_DIST = hdate_hebcal.c
129
130223 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132224 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133225 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal
136226 @WITH_EXAMPLES_TRUE@hdate_hebcal_SOURCES = hdate_hebcal.c
137227 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDFLAGS =
138228 @WITH_EXAMPLES_TRUE@hdate_hebcal_DEPENDENCIES = $(DEPS)
139229 @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
230 all: all-am
231
165232 .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
233 .SUFFIXES: .c .lo .o .obj
234 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
235 @for dep in $?; do \
236 case '$(am__configure_deps)' in \
237 *$$dep*) \
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
239 && exit 0; \
240 exit 1;; \
241 esac; \
242 done; \
243 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/hebcal/Makefile'; \
244 cd $(top_srcdir) && \
245 $(AUTOMAKE) --gnu examples/hebcal/Makefile
246 .PRECIOUS: Makefile
247 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
248 @case '$?' in \
249 *config.status*) \
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
251 *) \
252 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
253 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
254 esac;
255
256 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
257 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
258
259 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
261 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
262 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
184263 install-binPROGRAMS: $(bin_PROGRAMS)
185264 @$(NORMAL_INSTALL)
186 $(mkinstalldirs) $(DESTDIR)$(bindir)
265 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
187266 @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)/'`; \
267 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
268 if test -f $$p \
269 || test -f $$p1 \
270 ; then \
271 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
272 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
273 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
191274 else :; fi; \
192275 done
193276
194277 uninstall-binPROGRAMS:
195278 @$(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)/'`; \
279 @list='$(bin_PROGRAMS)'; for p in $$list; do \
280 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
281 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
282 rm -f "$(DESTDIR)$(bindir)/$$f"; \
198283 done
199284
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 $<
285 clean-binPROGRAMS:
286 @list='$(bin_PROGRAMS)'; for p in $$list; do \
287 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
288 echo " rm -f $$p $$f"; \
289 rm -f $$p $$f ; \
290 done
291 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
292 @rm -f hdate_hebcal$(EXEEXT)
293 $(LINK) $(hdate_hebcal_LDFLAGS) $(hdate_hebcal_OBJECTS) $(hdate_hebcal_LDADD) $(LIBS)
213294
214295 mostlyclean-compile:
215 -rm -f *.o core *.core
216296 -rm -f *.$(OBJEXT)
217
218 clean-compile:
219297
220298 distclean-compile:
221299 -rm -f *.tab.c
222300
223 maintainer-clean-compile:
301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_hebcal.Po@am__quote@
302
303 .c.o:
304 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
305 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
307 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
308 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
309
310 .c.obj:
311 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
312 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
313 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
314 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
315 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
224316
225317 .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 $<
318 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
319 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
320 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
321 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
322 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
233323
234324 mostlyclean-libtool:
235325 -rm -f *.lo
238328 -rm -rf .libs _libs
239329
240330 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
331 -rm -f libtool
332 uninstall-info-am:
333
334 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
335 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336 unique=`for i in $$list; do \
337 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338 done | \
339 $(AWK) ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
341 mkid -fID $$unique
248342 tags: TAGS
249343
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)
344 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
345 $(TAGS_FILES) $(LISP)
259346 tags=; \
260347 here=`pwd`; \
261 list='$(SOURCES) $(HEADERS)'; \
262 unique=`for i in $$list; do echo $$i; done | \
263 awk ' { files[$$0] = 1; } \
348 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
349 unique=`for i in $$list; do \
350 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
351 done | \
352 $(AWK) ' { files[$$0] = 1; } \
264353 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:
354 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
355 test -n "$$unique" || unique=$$empty_fix; \
356 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
357 $$tags $$unique; \
358 fi
359 ctags: CTAGS
360 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
361 $(TAGS_FILES) $(LISP)
362 tags=; \
363 here=`pwd`; \
364 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
365 unique=`for i in $$list; do \
366 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367 done | \
368 $(AWK) ' { files[$$0] = 1; } \
369 END { for (i in files) print i; }'`; \
370 test -z "$(CTAGS_ARGS)$$tags$$unique" \
371 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
372 $$tags $$unique
373
374 GTAGS:
375 here=`$(am__cd) $(top_builddir) && pwd` \
376 && cd $(top_srcdir) \
377 && gtags -i $(GTAGS_ARGS) $$here
271378
272379 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
380 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
280381
281382 distdir: $(DISTFILES)
282 @for file in $(DISTFILES); do \
283 d=$(srcdir); \
383 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
384 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
385 list='$(DISTFILES)'; for file in $$list; do \
386 case $$file in \
387 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
388 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
389 esac; \
390 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
391 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
392 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
393 dir="/$$dir"; \
394 $(mkdir_p) "$(distdir)$$dir"; \
395 else \
396 dir=''; \
397 fi; \
284398 if test -d $$d/$$file; then \
285 cp -pr $$d/$$file $(distdir)/$$file; \
399 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
401 fi; \
402 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
286403 else \
287404 test -f $(distdir)/$$file \
288 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
289 || cp -p $$d/$$file $(distdir)/$$file || :; \
405 || cp -p $$d/$$file $(distdir)/$$file \
406 || exit 1; \
290407 fi; \
291408 done
292
293 info-am:
294 info: info-am
295 dvi-am:
296 dvi: dvi-am
297409 check-am: all-am
298410 check: check-am
299 installcheck-am:
300 installcheck: installcheck-am
301 install-exec-am: install-binPROGRAMS
411 all-am: Makefile $(PROGRAMS)
412 installdirs:
413 for dir in "$(DESTDIR)$(bindir)"; do \
414 test -z "$$dir" || $(mkdir_p) "$$dir"; \
415 done
416 install: install-am
302417 install-exec: install-exec-am
303
304 install-data-am:
305418 install-data: install-data-am
419 uninstall: uninstall-am
306420
307421 install-am: all-am
308422 @$(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
423
424 installcheck: installcheck-am
314425 install-strip:
315 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
316 installdirs:
317 $(mkinstalldirs) $(DESTDIR)$(bindir)
318
319
426 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
427 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
428 `test -z '$(STRIP)' || \
429 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
320430 mostlyclean-generic:
321431
322432 clean-generic:
323433
324434 distclean-generic:
325 -rm -f Makefile $(CONFIG_CLEAN_FILES)
326 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
435 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
327436
328437 maintainer-clean-generic:
329 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
330 mostlyclean-libtool mostlyclean-tags \
331 mostlyclean-generic
438 @echo "This command is intended for maintainers to use"
439 @echo "it deletes files that may require special tools to rebuild."
440 clean: clean-am
441
442 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
443
444 distclean: distclean-am
445 -rm -rf ./$(DEPDIR)
446 -rm -f Makefile
447 distclean-am: clean-am distclean-compile distclean-generic \
448 distclean-libtool distclean-tags
449
450 dvi: dvi-am
451
452 dvi-am:
453
454 html: html-am
455
456 info: info-am
457
458 info-am:
459
460 install-data-am:
461
462 install-exec-am: install-binPROGRAMS
463
464 install-info: install-info-am
465
466 install-man:
467
468 installcheck-am:
469
470 maintainer-clean: maintainer-clean-am
471 -rm -rf ./$(DEPDIR)
472 -rm -f Makefile
473 maintainer-clean-am: distclean-am maintainer-clean-generic
332474
333475 mostlyclean: mostlyclean-am
334476
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
477 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
478 mostlyclean-libtool
479
480 pdf: pdf-am
481
482 pdf-am:
483
484 ps: ps-am
485
486 ps-am:
487
488 uninstall-am: uninstall-binPROGRAMS uninstall-info-am
489
490 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
491 clean-generic clean-libtool ctags distclean distclean-compile \
492 distclean-generic distclean-libtool distclean-tags distdir dvi \
493 dvi-am html html-am info info-am install install-am \
494 install-binPROGRAMS install-data install-data-am install-exec \
495 install-exec-am install-info install-info-am install-man \
496 install-strip installcheck installcheck-am installdirs \
497 maintainer-clean maintainer-clean-generic mostlyclean \
498 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
499 pdf pdf-am ps ps-am tags uninstall uninstall-am \
500 uninstall-binPROGRAMS uninstall-info-am
367501
368502 # Tell versions [3.59,3.63) of GNU make to not export all variables.
369503 # 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_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 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@
81124 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83125 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84126 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85127 HAVE_WPRINTF = @HAVE_WPRINTF@
128 INSTALL_DATA = @INSTALL_DATA@
129 INSTALL_PROGRAM = @INSTALL_PROGRAM@
130 INSTALL_SCRIPT = @INSTALL_SCRIPT@
131 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86132 INSTOBJEXT = @INSTOBJEXT@
87133 INTLBISON = @INTLBISON@
88134 INTLLIBS = @INTLLIBS@
89135 INTLOBJS = @INTLOBJS@
90136 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91137 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
138 LDFLAGS = @LDFLAGS@
93139 LIBICONV = @LIBICONV@
94140 LIBINTL = @LIBINTL@
141 LIBOBJS = @LIBOBJS@
95142 LIBS = @LIBS@
96143 LIBTOOL = @LIBTOOL@
97144 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99145 LTLIBICONV = @LTLIBICONV@
100146 LTLIBINTL = @LTLIBINTL@
147 LTLIBOBJS = @LTLIBOBJS@
101148 MAINT = @MAINT@
149 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
150 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102151 MAKEINFO = @MAKEINFO@
103152 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
153 MSGFMT = @MSGFMT@
154 MSGMERGE = @MSGMERGE@
105155 OBJEXT = @OBJEXT@
106156 PACKAGE = @PACKAGE@
157 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
158 PACKAGE_NAME = @PACKAGE_NAME@
159 PACKAGE_STRING = @PACKAGE_STRING@
160 PACKAGE_TARNAME = @PACKAGE_TARNAME@
161 PACKAGE_VERSION = @PACKAGE_VERSION@
162 PATH_SEPARATOR = @PATH_SEPARATOR@
107163 PA_MODULES_PATH = @PA_MODULES_PATH@
108164 PA_VERSION = @PA_VERSION@
109165 PE_CFLAGS = @PE_CFLAGS@
114170 PY_MODULES_PATH = @PY_MODULES_PATH@
115171 PY_VERSION = @PY_VERSION@
116172 RANLIB = @RANLIB@
117 RC = @RC@
173 SET_MAKE = @SET_MAKE@
174 SHELL = @SHELL@
118175 STRIP = @STRIP@
119176 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120177 USE_NLS = @USE_NLS@
121178 VERSION = @VERSION@
122179 VERSION_INFO = @VERSION_INFO@
180 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
181 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
182 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
183 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
184 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
185 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
186 WITH_PERL_FALSE = @WITH_PERL_FALSE@
187 WITH_PERL_TRUE = @WITH_PERL_TRUE@
188 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
189 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
190 XGETTEXT = @XGETTEXT@
191 ac_ct_AR = @ac_ct_AR@
192 ac_ct_CC = @ac_ct_CC@
193 ac_ct_CXX = @ac_ct_CXX@
194 ac_ct_F77 = @ac_ct_F77@
195 ac_ct_RANLIB = @ac_ct_RANLIB@
196 ac_ct_STRIP = @ac_ct_STRIP@
197 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
198 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
199 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
200 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
201 am__include = @am__include@
202 am__leading_dot = @am__leading_dot@
203 am__quote = @am__quote@
204 am__tar = @am__tar@
205 am__untar = @am__untar@
206 bindir = @bindir@
207 build = @build@
208 build_alias = @build_alias@
209 build_cpu = @build_cpu@
210 build_os = @build_os@
211 build_vendor = @build_vendor@
212 datadir = @datadir@
213 exec_prefix = @exec_prefix@
123214 have_pascal = @have_pascal@
124215 have_perl = @have_perl@
125216 have_python = @have_python@
126217 have_swig = @have_swig@
127
218 host = @host@
219 host_alias = @host_alias@
220 host_cpu = @host_cpu@
221 host_os = @host_os@
222 host_vendor = @host_vendor@
223 includedir = @includedir@
224 infodir = @infodir@
225 install_sh = @install_sh@
226 libdir = @libdir@
227 libexecdir = @libexecdir@
228 localstatedir = @localstatedir@
229 mandir = @mandir@
230 mkdir_p = @mkdir_p@
231 oldincludedir = @oldincludedir@
232 prefix = @prefix@
233 program_transform_name = @program_transform_name@
234 sbindir = @sbindir@
235 sharedstatedir = @sharedstatedir@
236 sysconfdir = @sysconfdir@
237 target_alias = @target_alias@
128238 EXTRA_DIST = hdate_reading_html.c hdate_holydays_html.c
129
130239 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132240 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133241 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html hdate_holydays_html
136
137242 @WITH_EXAMPLES_TRUE@hdate_reading_html_SOURCES = hdate_reading_html.c
138243 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDFLAGS =
139244 @WITH_EXAMPLES_TRUE@hdate_reading_html_DEPENDENCIES = $(DEPS)
140245 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDADD = $(ldadd)
141
142246 @WITH_EXAMPLES_TRUE@hdate_holydays_html_SOURCES = hdate_holydays_html.c
143247 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDFLAGS =
144248 @WITH_EXAMPLES_TRUE@hdate_holydays_html_DEPENDENCIES = $(DEPS)
145249 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDADD = $(ldadd)
146
147250 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/html
148251 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
252 all: all-am
253
180254 .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
255 .SUFFIXES: .c .lo .o .obj
256 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
257 @for dep in $?; do \
258 case '$(am__configure_deps)' in \
259 *$$dep*) \
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
261 && exit 0; \
262 exit 1;; \
263 esac; \
264 done; \
265 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/html/Makefile'; \
266 cd $(top_srcdir) && \
267 $(AUTOMAKE) --gnu examples/html/Makefile
268 .PRECIOUS: Makefile
269 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
270 @case '$?' in \
271 *config.status*) \
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
273 *) \
274 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
276 esac;
277
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
280
281 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
282 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199285 install-binPROGRAMS: $(bin_PROGRAMS)
200286 @$(NORMAL_INSTALL)
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
202288 @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)/'`; \
289 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
290 if test -f $$p \
291 || test -f $$p1 \
292 ; then \
293 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
294 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
295 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
206296 else :; fi; \
207297 done
208298
209299 uninstall-binPROGRAMS:
210300 @$(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 $<
301 @list='$(bin_PROGRAMS)'; for p in $$list; do \
302 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
303 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
304 rm -f "$(DESTDIR)$(bindir)/$$f"; \
305 done
306
307 clean-binPROGRAMS:
308 @list='$(bin_PROGRAMS)'; for p in $$list; do \
309 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
310 echo " rm -f $$p $$f"; \
311 rm -f $$p $$f ; \
312 done
313 hdate_holydays_html$(EXEEXT): $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_DEPENDENCIES)
314 @rm -f hdate_holydays_html$(EXEEXT)
315 $(LINK) $(hdate_holydays_html_LDFLAGS) $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_LDADD) $(LIBS)
316 hdate_reading_html$(EXEEXT): $(hdate_reading_html_OBJECTS) $(hdate_reading_html_DEPENDENCIES)
317 @rm -f hdate_reading_html$(EXEEXT)
318 $(LINK) $(hdate_reading_html_LDFLAGS) $(hdate_reading_html_OBJECTS) $(hdate_reading_html_LDADD) $(LIBS)
228319
229320 mostlyclean-compile:
230 -rm -f *.o core *.core
231321 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234322
235323 distclean-compile:
236324 -rm -f *.tab.c
237325
238 maintainer-clean-compile:
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_html.Po@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_html.Po@am__quote@
328
329 .c.o:
330 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
331 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
334 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
335
336 .c.obj:
337 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
338 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
239342
240343 .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 $<
344 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
345 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
348 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
248349
249350 mostlyclean-libtool:
250351 -rm -f *.lo
253354 -rm -rf .libs _libs
254355
255356 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
357 -rm -f libtool
358 uninstall-info-am:
267359 install-libhdatedocDATA: $(libhdatedoc_DATA)
268360 @$(NORMAL_INSTALL)
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
361 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
270362 @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; \
363 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
364 f=$(am__strip_dir) \
365 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
366 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
278367 done
279368
280369 uninstall-libhdatedocDATA:
281370 @$(NORMAL_UNINSTALL)
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
284 done
285
371 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
372 f=$(am__strip_dir) \
373 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
374 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
375 done
376
377 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
378 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
379 unique=`for i in $$list; do \
380 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
381 done | \
382 $(AWK) ' { files[$$0] = 1; } \
383 END { for (i in files) print i; }'`; \
384 mkid -fID $$unique
286385 tags: TAGS
287386
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)
387 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
388 $(TAGS_FILES) $(LISP)
297389 tags=; \
298390 here=`pwd`; \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
391 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
392 unique=`for i in $$list; do \
393 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
394 done | \
395 $(AWK) ' { files[$$0] = 1; } \
302396 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:
397 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
398 test -n "$$unique" || unique=$$empty_fix; \
399 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
400 $$tags $$unique; \
401 fi
402 ctags: CTAGS
403 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
404 $(TAGS_FILES) $(LISP)
405 tags=; \
406 here=`pwd`; \
407 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
408 unique=`for i in $$list; do \
409 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
410 done | \
411 $(AWK) ' { files[$$0] = 1; } \
412 END { for (i in files) print i; }'`; \
413 test -z "$(CTAGS_ARGS)$$tags$$unique" \
414 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
415 $$tags $$unique
416
417 GTAGS:
418 here=`$(am__cd) $(top_builddir) && pwd` \
419 && cd $(top_srcdir) \
420 && gtags -i $(GTAGS_ARGS) $$here
309421
310422 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
423 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
318424
319425 distdir: $(DISTFILES)
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
426 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
427 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
428 list='$(DISTFILES)'; for file in $$list; do \
429 case $$file in \
430 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
431 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
432 esac; \
433 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
434 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
435 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
436 dir="/$$dir"; \
437 $(mkdir_p) "$(distdir)$$dir"; \
438 else \
439 dir=''; \
440 fi; \
322441 if test -d $$d/$$file; then \
323 cp -pr $$d/$$file $(distdir)/$$file; \
442 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
443 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
444 fi; \
445 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
324446 else \
325447 test -f $(distdir)/$$file \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
448 || cp -p $$d/$$file $(distdir)/$$file \
449 || exit 1; \
328450 fi; \
329451 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
335452 check-am: all-am
336453 check: check-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
454 all-am: Makefile $(PROGRAMS) $(DATA)
455 installdirs:
456 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"; do \
457 test -z "$$dir" || $(mkdir_p) "$$dir"; \
458 done
459 install: install-am
340460 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
343461 install-data: install-data-am
462 uninstall: uninstall-am
344463
345464 install-am: all-am
346465 @$(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
466
467 installcheck: installcheck-am
352468 install-strip:
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
469 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
470 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
471 `test -z '$(STRIP)' || \
472 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358473 mostlyclean-generic:
359474
360475 clean-generic:
361476
362477 distclean-generic:
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
478 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
365479
366480 maintainer-clean-generic:
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
481 @echo "This command is intended for maintainers to use"
482 @echo "it deletes files that may require special tools to rebuild."
483 clean: clean-am
484
485 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
486
487 distclean: distclean-am
488 -rm -rf ./$(DEPDIR)
489 -rm -f Makefile
490 distclean-am: clean-am distclean-compile distclean-generic \
491 distclean-libtool distclean-tags
492
493 dvi: dvi-am
494
495 dvi-am:
496
497 html: html-am
498
499 info: info-am
500
501 info-am:
502
503 install-data-am: install-libhdatedocDATA
504
505 install-exec-am: install-binPROGRAMS
506
507 install-info: install-info-am
508
509 install-man:
510
511 installcheck-am:
512
513 maintainer-clean: maintainer-clean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516 maintainer-clean-am: distclean-am maintainer-clean-generic
370517
371518 mostlyclean: mostlyclean-am
372519
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
520 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
521 mostlyclean-libtool
522
523 pdf: pdf-am
524
525 pdf-am:
526
527 ps: ps-am
528
529 ps-am:
530
531 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
532 uninstall-libhdatedocDATA
533
534 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
535 clean-generic clean-libtool ctags distclean distclean-compile \
536 distclean-generic distclean-libtool distclean-tags distdir dvi \
537 dvi-am html html-am info info-am install install-am \
538 install-binPROGRAMS install-data install-data-am install-exec \
539 install-exec-am install-info install-info-am \
540 install-libhdatedocDATA install-man install-strip installcheck \
541 installcheck-am installdirs maintainer-clean \
542 maintainer-clean-generic mostlyclean mostlyclean-compile \
543 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
544 tags uninstall uninstall-am uninstall-binPROGRAMS \
545 uninstall-info-am uninstall-libhdatedocDATA
406546
407547 # Tell versions [3.59,3.63) of GNU make to not export all variables.
408548 # 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 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@
81124 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83125 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84126 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85127 HAVE_WPRINTF = @HAVE_WPRINTF@
128 INSTALL_DATA = @INSTALL_DATA@
129 INSTALL_PROGRAM = @INSTALL_PROGRAM@
130 INSTALL_SCRIPT = @INSTALL_SCRIPT@
131 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86132 INSTOBJEXT = @INSTOBJEXT@
87133 INTLBISON = @INTLBISON@
88134 INTLLIBS = @INTLLIBS@
89135 INTLOBJS = @INTLOBJS@
90136 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91137 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
138 LDFLAGS = @LDFLAGS@
93139 LIBICONV = @LIBICONV@
94140 LIBINTL = @LIBINTL@
141 LIBOBJS = @LIBOBJS@
95142 LIBS = @LIBS@
96143 LIBTOOL = @LIBTOOL@
97144 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99145 LTLIBICONV = @LTLIBICONV@
100146 LTLIBINTL = @LTLIBINTL@
147 LTLIBOBJS = @LTLIBOBJS@
101148 MAINT = @MAINT@
149 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
150 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102151 MAKEINFO = @MAKEINFO@
103152 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
153 MSGFMT = @MSGFMT@
154 MSGMERGE = @MSGMERGE@
105155 OBJEXT = @OBJEXT@
106156 PACKAGE = @PACKAGE@
157 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
158 PACKAGE_NAME = @PACKAGE_NAME@
159 PACKAGE_STRING = @PACKAGE_STRING@
160 PACKAGE_TARNAME = @PACKAGE_TARNAME@
161 PACKAGE_VERSION = @PACKAGE_VERSION@
162 PATH_SEPARATOR = @PATH_SEPARATOR@
107163 PA_MODULES_PATH = @PA_MODULES_PATH@
108164 PA_VERSION = @PA_VERSION@
109165 PE_CFLAGS = @PE_CFLAGS@
114170 PY_MODULES_PATH = @PY_MODULES_PATH@
115171 PY_VERSION = @PY_VERSION@
116172 RANLIB = @RANLIB@
117 RC = @RC@
173 SET_MAKE = @SET_MAKE@
174 SHELL = @SHELL@
118175 STRIP = @STRIP@
119176 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120177 USE_NLS = @USE_NLS@
121178 VERSION = @VERSION@
122179 VERSION_INFO = @VERSION_INFO@
180 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
181 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
182 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
183 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
184 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
185 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
186 WITH_PERL_FALSE = @WITH_PERL_FALSE@
187 WITH_PERL_TRUE = @WITH_PERL_TRUE@
188 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
189 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
190 XGETTEXT = @XGETTEXT@
191 ac_ct_AR = @ac_ct_AR@
192 ac_ct_CC = @ac_ct_CC@
193 ac_ct_CXX = @ac_ct_CXX@
194 ac_ct_F77 = @ac_ct_F77@
195 ac_ct_RANLIB = @ac_ct_RANLIB@
196 ac_ct_STRIP = @ac_ct_STRIP@
197 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
198 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
199 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
200 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
201 am__include = @am__include@
202 am__leading_dot = @am__leading_dot@
203 am__quote = @am__quote@
204 am__tar = @am__tar@
205 am__untar = @am__untar@
206 bindir = @bindir@
207 build = @build@
208 build_alias = @build_alias@
209 build_cpu = @build_cpu@
210 build_os = @build_os@
211 build_vendor = @build_vendor@
212 datadir = @datadir@
213 exec_prefix = @exec_prefix@
123214 have_pascal = @have_pascal@
124215 have_perl = @have_perl@
125216 have_python = @have_python@
126217 have_swig = @have_swig@
127
218 host = @host@
219 host_alias = @host_alias@
220 host_cpu = @host_cpu@
221 host_os = @host_os@
222 host_vendor = @host_vendor@
223 includedir = @includedir@
224 infodir = @infodir@
225 install_sh = @install_sh@
226 libdir = @libdir@
227 libexecdir = @libexecdir@
228 localstatedir = @localstatedir@
229 mandir = @mandir@
230 mkdir_p = @mkdir_p@
231 oldincludedir = @oldincludedir@
232 prefix = @prefix@
233 program_transform_name = @program_transform_name@
234 sbindir = @sbindir@
235 sharedstatedir = @sharedstatedir@
236 sysconfdir = @sysconfdir@
237 target_alias = @target_alias@
128238 EXTRA_DIST = hdate_reading_ical.c hdate_holydays_ical.c
129
130239 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
132240 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
133241 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical hdate_holydays_ical
136
137242 @WITH_EXAMPLES_TRUE@hdate_reading_ical_SOURCES = hdate_reading_ical.c
138243 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDFLAGS =
139244 @WITH_EXAMPLES_TRUE@hdate_reading_ical_DEPENDENCIES = $(DEPS)
140245 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDADD = $(ldadd)
141
142246 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_SOURCES = hdate_holydays_ical.c
143247 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDFLAGS =
144248 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_DEPENDENCIES = $(DEPS)
145249 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDADD = $(ldadd)
146
147250 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/ical
148251 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
252 all: all-am
253
180254 .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
255 .SUFFIXES: .c .lo .o .obj
256 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
257 @for dep in $?; do \
258 case '$(am__configure_deps)' in \
259 *$$dep*) \
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
261 && exit 0; \
262 exit 1;; \
263 esac; \
264 done; \
265 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/ical/Makefile'; \
266 cd $(top_srcdir) && \
267 $(AUTOMAKE) --gnu examples/ical/Makefile
268 .PRECIOUS: Makefile
269 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
270 @case '$?' in \
271 *config.status*) \
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
273 *) \
274 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
276 esac;
277
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
280
281 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
282 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199285 install-binPROGRAMS: $(bin_PROGRAMS)
200286 @$(NORMAL_INSTALL)
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
202288 @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)/'`; \
289 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
290 if test -f $$p \
291 || test -f $$p1 \
292 ; then \
293 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
294 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
295 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
206296 else :; fi; \
207297 done
208298
209299 uninstall-binPROGRAMS:
210300 @$(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 $<
301 @list='$(bin_PROGRAMS)'; for p in $$list; do \
302 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
303 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
304 rm -f "$(DESTDIR)$(bindir)/$$f"; \
305 done
306
307 clean-binPROGRAMS:
308 @list='$(bin_PROGRAMS)'; for p in $$list; do \
309 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
310 echo " rm -f $$p $$f"; \
311 rm -f $$p $$f ; \
312 done
313 hdate_holydays_ical$(EXEEXT): $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_DEPENDENCIES)
314 @rm -f hdate_holydays_ical$(EXEEXT)
315 $(LINK) $(hdate_holydays_ical_LDFLAGS) $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_LDADD) $(LIBS)
316 hdate_reading_ical$(EXEEXT): $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_DEPENDENCIES)
317 @rm -f hdate_reading_ical$(EXEEXT)
318 $(LINK) $(hdate_reading_ical_LDFLAGS) $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_LDADD) $(LIBS)
228319
229320 mostlyclean-compile:
230 -rm -f *.o core *.core
231321 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234322
235323 distclean-compile:
236324 -rm -f *.tab.c
237325
238 maintainer-clean-compile:
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_ical.Po@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_ical.Po@am__quote@
328
329 .c.o:
330 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
331 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
334 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
335
336 .c.obj:
337 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
338 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
239342
240343 .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 $<
344 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
345 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
348 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
248349
249350 mostlyclean-libtool:
250351 -rm -f *.lo
253354 -rm -rf .libs _libs
254355
255356 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
357 -rm -f libtool
358 uninstall-info-am:
267359 install-libhdatedocDATA: $(libhdatedoc_DATA)
268360 @$(NORMAL_INSTALL)
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
361 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
270362 @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; \
363 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
364 f=$(am__strip_dir) \
365 echo " $(libhdatedocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
366 $(libhdatedocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libhdatedocdir)/$$f"; \
278367 done
279368
280369 uninstall-libhdatedocDATA:
281370 @$(NORMAL_UNINSTALL)
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
284 done
285
371 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
372 f=$(am__strip_dir) \
373 echo " rm -f '$(DESTDIR)$(libhdatedocdir)/$$f'"; \
374 rm -f "$(DESTDIR)$(libhdatedocdir)/$$f"; \
375 done
376
377 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
378 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
379 unique=`for i in $$list; do \
380 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
381 done | \
382 $(AWK) ' { files[$$0] = 1; } \
383 END { for (i in files) print i; }'`; \
384 mkid -fID $$unique
286385 tags: TAGS
287386
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)
387 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
388 $(TAGS_FILES) $(LISP)
297389 tags=; \
298390 here=`pwd`; \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
391 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
392 unique=`for i in $$list; do \
393 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
394 done | \
395 $(AWK) ' { files[$$0] = 1; } \
302396 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:
397 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
398 test -n "$$unique" || unique=$$empty_fix; \
399 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
400 $$tags $$unique; \
401 fi
402 ctags: CTAGS
403 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
404 $(TAGS_FILES) $(LISP)
405 tags=; \
406 here=`pwd`; \
407 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
408 unique=`for i in $$list; do \
409 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
410 done | \
411 $(AWK) ' { files[$$0] = 1; } \
412 END { for (i in files) print i; }'`; \
413 test -z "$(CTAGS_ARGS)$$tags$$unique" \
414 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
415 $$tags $$unique
416
417 GTAGS:
418 here=`$(am__cd) $(top_builddir) && pwd` \
419 && cd $(top_srcdir) \
420 && gtags -i $(GTAGS_ARGS) $$here
309421
310422 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
423 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
318424
319425 distdir: $(DISTFILES)
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
426 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
427 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
428 list='$(DISTFILES)'; for file in $$list; do \
429 case $$file in \
430 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
431 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
432 esac; \
433 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
434 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
435 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
436 dir="/$$dir"; \
437 $(mkdir_p) "$(distdir)$$dir"; \
438 else \
439 dir=''; \
440 fi; \
322441 if test -d $$d/$$file; then \
323 cp -pr $$d/$$file $(distdir)/$$file; \
442 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
443 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
444 fi; \
445 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
324446 else \
325447 test -f $(distdir)/$$file \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
448 || cp -p $$d/$$file $(distdir)/$$file \
449 || exit 1; \
328450 fi; \
329451 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
335452 check-am: all-am
336453 check: check-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
454 all-am: Makefile $(PROGRAMS) $(DATA)
455 installdirs:
456 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libhdatedocdir)"; do \
457 test -z "$$dir" || $(mkdir_p) "$$dir"; \
458 done
459 install: install-am
340460 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
343461 install-data: install-data-am
462 uninstall: uninstall-am
344463
345464 install-am: all-am
346465 @$(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
466
467 installcheck: installcheck-am
352468 install-strip:
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
469 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
470 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
471 `test -z '$(STRIP)' || \
472 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358473 mostlyclean-generic:
359474
360475 clean-generic:
361476
362477 distclean-generic:
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
478 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
365479
366480 maintainer-clean-generic:
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
481 @echo "This command is intended for maintainers to use"
482 @echo "it deletes files that may require special tools to rebuild."
483 clean: clean-am
484
485 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
486
487 distclean: distclean-am
488 -rm -rf ./$(DEPDIR)
489 -rm -f Makefile
490 distclean-am: clean-am distclean-compile distclean-generic \
491 distclean-libtool distclean-tags
492
493 dvi: dvi-am
494
495 dvi-am:
496
497 html: html-am
498
499 info: info-am
500
501 info-am:
502
503 install-data-am: install-libhdatedocDATA
504
505 install-exec-am: install-binPROGRAMS
506
507 install-info: install-info-am
508
509 install-man:
510
511 installcheck-am:
512
513 maintainer-clean: maintainer-clean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516 maintainer-clean-am: distclean-am maintainer-clean-generic
370517
371518 mostlyclean: mostlyclean-am
372519
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
520 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
521 mostlyclean-libtool
522
523 pdf: pdf-am
524
525 pdf-am:
526
527 ps: ps-am
528
529 ps-am:
530
531 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
532 uninstall-libhdatedocDATA
533
534 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
535 clean-generic clean-libtool ctags distclean distclean-compile \
536 distclean-generic distclean-libtool distclean-tags distdir dvi \
537 dvi-am html html-am info info-am install install-am \
538 install-binPROGRAMS install-data install-data-am install-exec \
539 install-exec-am install-info install-info-am \
540 install-libhdatedocDATA install-man install-strip installcheck \
541 installcheck-am installdirs maintainer-clean \
542 maintainer-clean-generic mostlyclean mostlyclean-compile \
543 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
544 tags uninstall uninstall-am uninstall-binPROGRAMS \
545 uninstall-info-am uninstall-libhdatedocDATA
406546
407547 # Tell versions [3.59,3.63) of GNU make to not export all variables.
408548 # Otherwise a system limit (for SysV at least) may be exceeded.
00 Summary: A library that help use hebrew dates.
11 Name: libhdate
2 Version: 1.4.2
2 Version: 1.4.3
33 Release: 1
44 License: GPL
55 Group: System Environment/Libraries
2424 %setup
2525
2626 %build
27 %configure --enable-python --enable-perl --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5/site_perl --with-python-sitelib-dir=/usr/lib/python2.3
27 %configure --enable-python --enable-perl --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5/site_perl --with-python-sitelib-dir=/usr/lib/python2.4
2828
2929 %{__make} %{?_smp_mflags}
3030
6868 to build new applications with %{name}
6969
7070 %files devel
71 %defattr(-,root,root)
7172 %{_libdir}/libhdate.a
7273 %{_libdir}/libhdate.la
7374 %{_includedir}/hdate.h
8687 This package contains %{name} binding to python
8788
8889 %files python
89 %{_libdir}/python2.3/_hdate.so
90 %{_libdir}/python2.3/hdate.py
90 %defattr(-,root,root)
91 %{_libdir}/python2.4/_hdate.so
92 %{_libdir}/python2.4/hdate.py
9193
9294 %package perl
9395 Summary: Perl binding for %{name}
98100 This package contains %{name} binding to perl
99101
100102 %files perl
103 %defattr(-,root,root)
101104 %{_libdir}/perl5/site_perl/hdate.pm
102105 %{_libdir}/perl5/site_perl/auto/hdate/hdate.so
103106
110113 This package contains %{name} binding to free pascal
111114
112115 %files pascal
116 %defattr(-,root,root)
113117 %{_libdir}/fpc/2.0.0/units/linux/hdate/*
114118
115119 %post
119123 /sbin/ldconfig
120124
121125 %changelog
126 * Fri Nov 25 2005 Oron Peled <oron@actcom.co.il>
127 - Fix ownership of -devel packages.
128
122129 * Thu Mar 4 2005 Yaacov Zamir
123130 - Add python and perl packages
124131 - Add manfiles
6868 to build new applications with %{name}
6969
7070 %files devel
71 %defattr(-,root,root)
7172 %{_libdir}/libhdate.a
7273 %{_libdir}/libhdate.la
7374 %{_includedir}/hdate.h
8687 This package contains %{name} binding to python
8788
8889 %files python
90 %defattr(-,root,root)
8991 %{_libdir}/python@PY_VERSION@/_hdate.so
9092 %{_libdir}/python@PY_VERSION@/hdate.py
9193
98100 This package contains %{name} binding to perl
99101
100102 %files perl
103 %defattr(-,root,root)
101104 %{_libdir}/perl5/site_perl/hdate.pm
102105 %{_libdir}/perl5/site_perl/auto/hdate/hdate.so
103106
110113 This package contains %{name} binding to free pascal
111114
112115 %files pascal
116 %defattr(-,root,root)
113117 %{_libdir}/fpc/@PA_VERSION@/units/linux/hdate/*
114118
115119 %post
119123 /sbin/ldconfig
120124
121125 %changelog
126 * Fri Nov 25 2005 Oron Peled <oron@actcom.co.il>
127 - Fix ownership of -devel packages.
128
122129 * Thu Mar 4 2005 Yaacov Zamir
123130 - Add python and perl packages
124131 - Add manfiles
4242
4343 PROGRAM=ltmain.sh
4444 PACKAGE=libtool
45 VERSION="1.5.20 Debian 1.5.20-2"
46 TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
45 VERSION="1.5.22 Debian 1.5.22-4"
46 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
4949 # commands through without removal of \ escapes.
131131 show="$echo"
132132 show_help=
133133 execute_dlfiles=
134 duplicate_deps=no
135 preserve_args=
134136 lo2o="s/\\.lo\$/.${objext}/"
135137 o2lo="s/\\.${objext}\$/.lo/"
136138
137139 #####################################
138140 # Shell function definitions:
139141 # This seems to be the best place for them
142
143 # func_mktempdir [string]
144 # Make a temporary directory that won't clash with other running
145 # libtool processes, and avoids race conditions if possible. If
146 # given, STRING is the basename for that directory.
147 func_mktempdir ()
148 {
149 my_template="${TMPDIR-/tmp}/${1-$progname}"
150
151 if test "$run" = ":"; then
152 # Return a directory name, but don't create it in dry-run mode
153 my_tmpdir="${my_template}-$$"
154 else
155
156 # If mktemp works, use that first and foremost
157 my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
158
159 if test ! -d "$my_tmpdir"; then
160 # Failing that, at least try and use $RANDOM to avoid a race
161 my_tmpdir="${my_template}-${RANDOM-0}$$"
162
163 save_mktempdir_umask=`umask`
164 umask 0077
165 $mkdir "$my_tmpdir"
166 umask $save_mktempdir_umask
167 fi
168
169 # If we're not in dry-run mode, bomb out on failure
170 test -d "$my_tmpdir" || {
171 $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
172 exit $EXIT_FAILURE
173 }
174 fi
175
176 $echo "X$my_tmpdir" | $Xsed
177 }
178
140179
141180 # func_win32_libid arg
142181 # return the library type of file 'arg'
156195 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
157196 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
158197 win32_nmres=`eval $NM -f posix -A $1 | \
159 sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
160 if test "X$win32_nmres" = "Ximport" ; then
161 win32_libid_type="x86 archive import"
162 else
163 win32_libid_type="x86 archive static"
164 fi
198 $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
199 case $win32_nmres in
200 import*) win32_libid_type="x86 archive import";;
201 *) win32_libid_type="x86 archive static";;
202 esac
165203 fi
166204 ;;
167205 *DLL*)
294332 $run ${rm}r "$my_xdir"
295333 $show "$mkdir $my_xdir"
296334 $run $mkdir "$my_xdir"
297 status=$?
298 if test "$status" -ne 0 && test ! -d "$my_xdir"; then
299 exit $status
335 exit_status=$?
336 if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
337 exit $exit_status
300338 fi
301339 case $host in
302340 *-darwin*)
351389 # Darwin sucks
352390 eval std_shrext=\"$shrext_cmds\"
353391
392 disable_libs=no
393
354394 # Parse our command line options once, thoroughly.
355395 while test "$#" -gt 0
356396 do
467507 preserve_args="$preserve_args $arg"
468508 ;;
469509
470 --tag) prevopt="--tag" prev=tag ;;
510 --tag)
511 prevopt="--tag"
512 prev=tag
513 preserve_args="$preserve_args --tag"
514 ;;
471515 --tag=*)
472516 set tag "$optarg" ${1+"$@"}
473517 shift
498542 $echo "$help" 1>&2
499543 exit $EXIT_FAILURE
500544 fi
545
546 case $disable_libs in
547 no)
548 ;;
549 shared)
550 build_libtool_libs=no
551 build_old_libs=yes
552 ;;
553 static)
554 build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
555 ;;
556 esac
501557
502558 # If this variable is set in any of the actions, the command in it
503559 # will be execed at the end. This prevents here-documents from being
855911 if test ! -d "${xdir}$objdir"; then
856912 $show "$mkdir ${xdir}$objdir"
857913 $run $mkdir ${xdir}$objdir
858 status=$?
859 if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
860 exit $status
914 exit_status=$?
915 if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
916 exit $exit_status
861917 fi
862918 fi
863919
10601116 no_install=no
10611117 objs=
10621118 non_pic_objects=
1119 notinst_path= # paths that contain not-installed libtool libraries
10631120 precious_files_regex=
10641121 prefer_static_libs=no
10651122 preload=no
10881145 if test -n "$link_static_flag"; then
10891146 dlopen_self=$dlopen_self_static
10901147 fi
1148 prefer_static_libs=yes
10911149 else
10921150 if test -z "$pic_flag" && test -n "$link_static_flag"; then
10931151 dlopen_self=$dlopen_self_static
10941152 fi
1153 prefer_static_libs=built
10951154 fi
10961155 build_libtool_libs=no
10971156 build_old_libs=yes
1098 prefer_static_libs=yes
10991157 break
11001158 ;;
11011159 esac
12701328 if test -z "$pic_object" || test "$pic_object" = none ; then
12711329 arg="$non_pic_object"
12721330 fi
1331 else
1332 # If the PIC object exists, use it instead.
1333 # $xdir was prepended to $pic_object above.
1334 non_pic_object="$pic_object"
1335 non_pic_objects="$non_pic_objects $non_pic_object"
12731336 fi
12741337 else
12751338 # Only an error if not doing a dry-run.
13531416 prev=
13541417 continue
13551418 ;;
1356 darwin_framework)
1357 compiler_flags="$compiler_flags $arg"
1419 darwin_framework|darwin_framework_skip)
1420 test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
13581421 compile_command="$compile_command $arg"
13591422 finalize_command="$finalize_command $arg"
13601423 prev=
14181481 continue
14191482 ;;
14201483
1421 -framework|-arch)
1422 prev=darwin_framework
1423 compiler_flags="$compiler_flags $arg"
1484 -framework|-arch|-isysroot)
1485 case " $CC " in
1486 *" ${arg} ${1} "* | *" ${arg} ${1} "*)
1487 prev=darwin_framework_skip ;;
1488 *) compiler_flags="$compiler_flags $arg"
1489 prev=darwin_framework ;;
1490 esac
14241491 compile_command="$compile_command $arg"
14251492 finalize_command="$finalize_command $arg"
1426 continue
1427 ;;
1493 continue
1494 ;;
14281495
14291496 -inst-prefix-dir)
14301497 prev=inst_prefix
14521519 absdir=`cd "$dir" && pwd`
14531520 if test -z "$absdir"; then
14541521 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
1455 exit $EXIT_FAILURE
1522 absdir="$dir"
1523 notinst_path="$notinst_path $dir"
14561524 fi
14571525 dir="$absdir"
14581526 ;;
14661534 esac
14671535 case $host in
14681536 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
1537 testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
14691538 case :$dllsearchpath: in
14701539 *":$dir:"*) ;;
14711540 *) dllsearchpath="$dllsearchpath:$dir";;
14721541 esac
1542 case :$dllsearchpath: in
1543 *":$testbindir:"*) ;;
1544 *) dllsearchpath="$dllsearchpath:$testbindir";;
1545 esac
14731546 ;;
14741547 esac
14751548 continue
14781551 -l*)
14791552 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
14801553 case $host in
1481 *-*-cygwin* | *-*-pw32* | *-*-beos*)
1554 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
14821555 # These systems don't actually have a C or math library (as such)
14831556 continue
14841557 ;;
1485 *-*-mingw* | *-*-os2*)
1558 *-*-os2*)
14861559 # These systems don't actually have a C library (as such)
14871560 test "X$arg" = "X-lc" && continue
14881561 ;;
14941567 # Rhapsody C and math libraries are in the System framework
14951568 deplibs="$deplibs -framework System"
14961569 continue
1570 ;;
1571 *-*-sco3.2v5* | *-*-sco5v6*)
1572 # Causes problems with __ctype
1573 test "X$arg" = "X-lc" && continue
1574 ;;
1575 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
1576 # Compiler inserts libc in the correct place for threads to work
1577 test "X$arg" = "X-lc" && continue
1578 ;;
14971579 esac
14981580 elif test "X$arg" = "X-lc_r"; then
14991581 case $host in
15351617 # +DA*, +DD* enable 64-bit mode on the HP compiler
15361618 # -q* pass through compiler args for the IBM compiler
15371619 # -m* pass through architecture-specific compiler args for GCC
1538 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
1620 # -m*, -t[45]*, -txscale* pass through architecture-specific
1621 # compiler args for GCC
1622 # -pg pass through profiling flag for GCC
1623 # @file GCC response files
1624 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
1625 -t[45]*|-txscale*|@*)
15391626
15401627 # Unknown arguments in both finalize_command and compile_command need
15411628 # to be aesthetically quoted because they are evaled later.
15471634 esac
15481635 compile_command="$compile_command $arg"
15491636 finalize_command="$finalize_command $arg"
1550 if test "$with_gcc" = "yes" ; then
1551 compiler_flags="$compiler_flags $arg"
1552 fi
1637 compiler_flags="$compiler_flags $arg"
15531638 continue
15541639 ;;
15551640
17871872 if test -z "$pic_object" || test "$pic_object" = none ; then
17881873 arg="$non_pic_object"
17891874 fi
1875 else
1876 # If the PIC object exists, use it instead.
1877 # $xdir was prepended to $pic_object above.
1878 non_pic_object="$pic_object"
1879 non_pic_objects="$non_pic_objects $non_pic_object"
17901880 fi
17911881 else
17921882 # Only an error if not doing a dry-run.
18921982 if test ! -d "$output_objdir"; then
18931983 $show "$mkdir $output_objdir"
18941984 $run $mkdir $output_objdir
1895 status=$?
1896 if test "$status" -ne 0 && test ! -d "$output_objdir"; then
1897 exit $status
1985 exit_status=$?
1986 if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
1987 exit $exit_status
18981988 fi
18991989 fi
19001990
19572047 newlib_search_path=
19582048 need_relink=no # whether we're linking any uninstalled libtool libraries
19592049 notinst_deplibs= # not-installed libtool libraries
1960 notinst_path= # paths that contain not-installed libtool libraries
19612050 case $linkmode in
19622051 lib)
19632052 passes="conv link"
21962285 esac # case $deplib
21972286 if test "$found" = yes || test -f "$lib"; then :
21982287 else
2199 $echo "$modename: cannot find the library \`$lib'" 1>&2
2288 $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
22002289 exit $EXIT_FAILURE
22012290 fi
22022291
24472536 fi
24482537
24492538 link_static=no # Whether the deplib will be linked statically
2539 use_static_libs=$prefer_static_libs
2540 if test "$use_static_libs" = built && test "$installed" = yes ; then
2541 use_static_libs=no
2542 fi
24502543 if test -n "$library_names" &&
2451 { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
2544 { test "$use_static_libs" = no || test -z "$old_library"; }; then
24522545 if test "$installed" = no; then
24532546 notinst_deplibs="$notinst_deplibs $lib"
24542547 need_relink=yes
25612654 if test "$hardcode_direct" = no; then
25622655 add="$dir/$linklib"
25632656 case $host in
2564 *-*-sco3.2v5* ) add_dir="-L$dir" ;;
2657 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
2658 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
2659 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
2660 *-*-unixware7*) add_dir="-L$dir" ;;
25652661 *-*-darwin* )
25662662 # if the lib is a module then we can not link against
25672663 # it, someone is ignoring the new warnings I added
2568 if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
2664 if /usr/bin/file -L $add 2> /dev/null |
2665 $EGREP ": [^:]* bundle" >/dev/null ; then
25692666 $echo "** Warning, lib $linklib is a module, not a shared library"
25702667 if test -z "$old_library" ; then
25712668 $echo
33213418
33223419 # Eliminate all temporary directories.
33233420 for path in $notinst_path; do
3324 lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
3325 deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
3326 dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
3421 lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
3422 deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
3423 dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
33273424 done
33283425
33293426 if test -n "$xrpath"; then
33763473 ;;
33773474 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33783475 # Do not include libc due to us having libc/libc_r.
3379 test "X$arg" = "X-lc" && continue
3476 ;;
3477 *-*-sco3.2v5* | *-*-sco5v6*)
3478 # Causes problems with __ctype
3479 ;;
3480 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
3481 # Compiler inserts libc in the correct place for threads to work
33803482 ;;
33813483 *)
33823484 # Add libc to deplibs on all other systems if necessary.
34203522 int main() { return 0; }
34213523 EOF
34223524 $rm conftest
3423 $LTCC -o conftest conftest.c $deplibs
3525 $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
34243526 if test "$?" -eq 0 ; then
34253527 ldd_output=`ldd conftest`
34263528 for i in $deplibs; do
34653567 # If $name is empty we are operating on a -L argument.
34663568 if test "$name" != "" && test "$name" != "0"; then
34673569 $rm conftest
3468 $LTCC -o conftest conftest.c $i
3570 $LTCC $LTCFLAGS -o conftest conftest.c $i
34693571 # Did it work?
34703572 if test "$?" -eq 0 ; then
34713573 ldd_output=`ldd conftest`
37123814 deplibs=$newdeplibs
37133815 fi
37143816
3817
3818 # move library search paths that coincide with paths to not yet
3819 # installed libraries to the beginning of the library search list
3820 new_libs=
3821 for path in $notinst_path; do
3822 case " $new_libs " in
3823 *" -L$path/$objdir "*) ;;
3824 *)
3825 case " $deplibs " in
3826 *" -L$path/$objdir "*)
3827 new_libs="$new_libs -L$path/$objdir" ;;
3828 esac
3829 ;;
3830 esac
3831 done
3832 for deplib in $deplibs; do
3833 case $deplib in
3834 -L*)
3835 case " $new_libs " in
3836 *" $deplib "*) ;;
3837 *) new_libs="$new_libs $deplib" ;;
3838 esac
3839 ;;
3840 *) new_libs="$new_libs $deplib" ;;
3841 esac
3842 done
3843 deplibs="$new_libs"
3844
3845
37153846 # All the library-specific variables (install_libdir is set above).
37163847 library_names=
37173848 old_library=
37953926 fi
37963927
37973928 lib="$output_objdir/$realname"
3929 linknames=
37983930 for link
37993931 do
38003932 linknames="$linknames $link"
42264358 ;;
42274359 esac
42284360
4361
4362 # move library search paths that coincide with paths to not yet
4363 # installed libraries to the beginning of the library search list
4364 new_libs=
4365 for path in $notinst_path; do
4366 case " $new_libs " in
4367 *" -L$path/$objdir "*) ;;
4368 *)
4369 case " $compile_deplibs " in
4370 *" -L$path/$objdir "*)
4371 new_libs="$new_libs -L$path/$objdir" ;;
4372 esac
4373 ;;
4374 esac
4375 done
4376 for deplib in $compile_deplibs; do
4377 case $deplib in
4378 -L*)
4379 case " $new_libs " in
4380 *" $deplib "*) ;;
4381 *) new_libs="$new_libs $deplib" ;;
4382 esac
4383 ;;
4384 *) new_libs="$new_libs $deplib" ;;
4385 esac
4386 done
4387 compile_deplibs="$new_libs"
4388
4389
42294390 compile_command="$compile_command $compile_deplibs"
42304391 finalize_command="$finalize_command $finalize_deplibs"
42314392
42704431 fi
42714432 case $host in
42724433 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4434 testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
42734435 case :$dllsearchpath: in
42744436 *":$libdir:"*) ;;
42754437 *) dllsearchpath="$dllsearchpath:$libdir";;
4438 esac
4439 case :$dllsearchpath: in
4440 *":$testbindir:"*) ;;
4441 *) dllsearchpath="$dllsearchpath:$testbindir";;
42764442 esac
42774443 ;;
42784444 esac
43904556 export_symbols="$output_objdir/$outputname.exp"
43914557 $run $rm $export_symbols
43924558 $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4559 case $host in
4560 *cygwin* | *mingw* )
4561 $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4562 $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
4563 ;;
4564 esac
43934565 else
4394 $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4566 $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
43954567 $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
43964568 $run eval 'mv "$nlist"T "$nlist"'
4569 case $host in
4570 *cygwin* | *mingw* )
4571 $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4572 $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
4573 ;;
4574 esac
43974575 fi
43984576 fi
43994577
45104688 esac
45114689
45124690 # Now compile the dynamic symbol file.
4513 $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
4514 $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
4691 $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
4692 $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
45154693
45164694 # Clean up the generated files.
45174695 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
45184696 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
45194697
45204698 # Transform the symbol file into the correct name.
4521 compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4522 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4699 case $host in
4700 *cygwin* | *mingw* )
4701 if test -f "$output_objdir/${outputname}.def" ; then
4702 compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4703 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4704 else
4705 compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4706 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4707 fi
4708 ;;
4709 * )
4710 compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4711 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4712 ;;
4713 esac
45234714 ;;
45244715 *)
45254716 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
45444735 # We have no uninstalled library dependencies, so finalize right now.
45454736 $show "$link_command"
45464737 $run eval "$link_command"
4547 status=$?
4738 exit_status=$?
45484739
45494740 # Delete the generated files.
45504741 if test -n "$dlsyms"; then
45524743 $run $rm "$output_objdir/${outputname}S.${objext}"
45534744 fi
45544745
4555 exit $status
4746 exit $exit_status
45564747 fi
45574748
45584749 if test -n "$shlibpath_var"; then
46924883 esac
46934884 case $host in
46944885 *cygwin* | *mingw* )
4695 cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
4696 cwrapper=`$echo ${output}.exe`
4697 $rm $cwrappersource $cwrapper
4698 trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
4886 output_name=`basename $output`
4887 output_path=`dirname $output`
4888 cwrappersource="$output_path/$objdir/lt-$output_name.c"
4889 cwrapper="$output_path/$output_name.exe"
4890 $rm $cwrappersource $cwrapper
4891 trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
46994892
47004893 cat > $cwrappersource <<EOF
47014894
47204913 #include <malloc.h>
47214914 #include <stdarg.h>
47224915 #include <assert.h>
4916 #include <string.h>
4917 #include <ctype.h>
4918 #include <sys/stat.h>
47234919
47244920 #if defined(PATH_MAX)
47254921 # define LT_PATHMAX PATH_MAX
47304926 #endif
47314927
47324928 #ifndef DIR_SEPARATOR
4733 #define DIR_SEPARATOR '/'
4929 # define DIR_SEPARATOR '/'
4930 # define PATH_SEPARATOR ':'
47344931 #endif
47354932
47364933 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
47374934 defined (__OS2__)
4738 #define HAVE_DOS_BASED_FILE_SYSTEM
4739 #ifndef DIR_SEPARATOR_2
4740 #define DIR_SEPARATOR_2 '\\'
4741 #endif
4935 # define HAVE_DOS_BASED_FILE_SYSTEM
4936 # ifndef DIR_SEPARATOR_2
4937 # define DIR_SEPARATOR_2 '\\'
4938 # endif
4939 # ifndef PATH_SEPARATOR_2
4940 # define PATH_SEPARATOR_2 ';'
4941 # endif
47424942 #endif
47434943
47444944 #ifndef DIR_SEPARATOR_2
47484948 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
47494949 #endif /* DIR_SEPARATOR_2 */
47504950
4951 #ifndef PATH_SEPARATOR_2
4952 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
4953 #else /* PATH_SEPARATOR_2 */
4954 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
4955 #endif /* PATH_SEPARATOR_2 */
4956
47514957 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
47524958 #define XFREE(stale) do { \
47534959 if (stale) { free ((void *) stale); stale = 0; } \
47544960 } while (0)
47554961
4962 /* -DDEBUG is fairly common in CFLAGS. */
4963 #undef DEBUG
4964 #if defined DEBUGWRAPPER
4965 # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
4966 #else
4967 # define DEBUG(format, ...)
4968 #endif
4969
47564970 const char *program_name = NULL;
47574971
47584972 void * xmalloc (size_t num);
47594973 char * xstrdup (const char *string);
4760 char * basename (const char *name);
4761 char * fnqualify(const char *path);
4974 const char * base_name (const char *name);
4975 char * find_executable(const char *wrapper);
4976 int check_executable(const char *path);
47624977 char * strendzap(char *str, const char *pat);
47634978 void lt_fatal (const char *message, ...);
47644979
47684983 char **newargz;
47694984 int i;
47704985
4771 program_name = (char *) xstrdup ((char *) basename (argv[0]));
4986 program_name = (char *) xstrdup (base_name (argv[0]));
4987 DEBUG("(main) argv[0] : %s\n",argv[0]);
4988 DEBUG("(main) program_name : %s\n",program_name);
47724989 newargz = XMALLOC(char *, argc+2);
47734990 EOF
47744991
4775 cat >> $cwrappersource <<EOF
4776 newargz[0] = "$SHELL";
4992 cat >> $cwrappersource <<EOF
4993 newargz[0] = (char *) xstrdup("$SHELL");
47774994 EOF
47784995
4779 cat >> $cwrappersource <<"EOF"
4780 newargz[1] = fnqualify(argv[0]);
4996 cat >> $cwrappersource <<"EOF"
4997 newargz[1] = find_executable(argv[0]);
4998 if (newargz[1] == NULL)
4999 lt_fatal("Couldn't find %s", argv[0]);
5000 DEBUG("(main) found exe at : %s\n",newargz[1]);
47815001 /* we know the script has the same name, without the .exe */
47825002 /* so make sure newargz[1] doesn't end in .exe */
47835003 strendzap(newargz[1],".exe");
47845004 for (i = 1; i < argc; i++)
47855005 newargz[i+1] = xstrdup(argv[i]);
47865006 newargz[argc+1] = NULL;
5007
5008 for (i=0; i<argc+1; i++)
5009 {
5010 DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
5011 ;
5012 }
5013
47875014 EOF
47885015
4789 cat >> $cwrappersource <<EOF
5016 case $host_os in
5017 mingw*)
5018 cat >> $cwrappersource <<EOF
5019 execv("$SHELL",(char const **)newargz);
5020 EOF
5021 ;;
5022 *)
5023 cat >> $cwrappersource <<EOF
47905024 execv("$SHELL",newargz);
47915025 EOF
4792
4793 cat >> $cwrappersource <<"EOF"
5026 ;;
5027 esac
5028
5029 cat >> $cwrappersource <<"EOF"
47945030 return 127;
47955031 }
47965032
48115047 ;
48125048 }
48135049
4814 char *
4815 basename (const char *name)
5050 const char *
5051 base_name (const char *name)
48165052 {
48175053 const char *base;
48185054
48195055 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
48205056 /* Skip over the disk name in MSDOS pathnames. */
4821 if (isalpha (name[0]) && name[1] == ':')
5057 if (isalpha ((unsigned char)name[0]) && name[1] == ':')
48225058 name += 2;
48235059 #endif
48245060
48255061 for (base = name; *name; name++)
48265062 if (IS_DIR_SEPARATOR (*name))
48275063 base = name + 1;
4828 return (char *) base;
5064 return base;
48295065 }
48305066
5067 int
5068 check_executable(const char * path)
5069 {
5070 struct stat st;
5071
5072 DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
5073 if ((!path) || (!*path))
5074 return 0;
5075
5076 if ((stat (path, &st) >= 0) &&
5077 (
5078 /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
5079 #if defined (S_IXOTH)
5080 ((st.st_mode & S_IXOTH) == S_IXOTH) ||
5081 #endif
5082 #if defined (S_IXGRP)
5083 ((st.st_mode & S_IXGRP) == S_IXGRP) ||
5084 #endif
5085 ((st.st_mode & S_IXUSR) == S_IXUSR))
5086 )
5087 return 1;
5088 else
5089 return 0;
5090 }
5091
5092 /* Searches for the full path of the wrapper. Returns
5093 newly allocated full path name if found, NULL otherwise */
48315094 char *
4832 fnqualify(const char *path)
5095 find_executable (const char* wrapper)
48335096 {
4834 size_t size;
4835 char *p;
5097 int has_slash = 0;
5098 const char* p;
5099 const char* p_next;
5100 /* static buffer for getcwd */
48365101 char tmp[LT_PATHMAX + 1];
4837
4838 assert(path != NULL);
4839
4840 /* Is it qualified already? */
5102 int tmp_len;
5103 char* concat_name;
5104
5105 DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
5106
5107 if ((wrapper == NULL) || (*wrapper == '\0'))
5108 return NULL;
5109
5110 /* Absolute path? */
48415111 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
4842 if (isalpha (path[0]) && path[1] == ':')
4843 return xstrdup (path);
5112 if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
5113 {
5114 concat_name = xstrdup (wrapper);
5115 if (check_executable(concat_name))
5116 return concat_name;
5117 XFREE(concat_name);
5118 }
5119 else
5120 {
48445121 #endif
4845 if (IS_DIR_SEPARATOR (path[0]))
4846 return xstrdup (path);
4847
4848 /* prepend the current directory */
4849 /* doesn't handle '~' */
5122 if (IS_DIR_SEPARATOR (wrapper[0]))
5123 {
5124 concat_name = xstrdup (wrapper);
5125 if (check_executable(concat_name))
5126 return concat_name;
5127 XFREE(concat_name);
5128 }
5129 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
5130 }
5131 #endif
5132
5133 for (p = wrapper; *p; p++)
5134 if (*p == '/')
5135 {
5136 has_slash = 1;
5137 break;
5138 }
5139 if (!has_slash)
5140 {
5141 /* no slashes; search PATH */
5142 const char* path = getenv ("PATH");
5143 if (path != NULL)
5144 {
5145 for (p = path; *p; p = p_next)
5146 {
5147 const char* q;
5148 size_t p_len;
5149 for (q = p; *q; q++)
5150 if (IS_PATH_SEPARATOR(*q))
5151 break;
5152 p_len = q - p;
5153 p_next = (*q == '\0' ? q : q + 1);
5154 if (p_len == 0)
5155 {
5156 /* empty path: current directory */
5157 if (getcwd (tmp, LT_PATHMAX) == NULL)
5158 lt_fatal ("getcwd failed");
5159 tmp_len = strlen(tmp);
5160 concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
5161 memcpy (concat_name, tmp, tmp_len);
5162 concat_name[tmp_len] = '/';
5163 strcpy (concat_name + tmp_len + 1, wrapper);
5164 }
5165 else
5166 {
5167 concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
5168 memcpy (concat_name, p, p_len);
5169 concat_name[p_len] = '/';
5170 strcpy (concat_name + p_len + 1, wrapper);
5171 }
5172 if (check_executable(concat_name))
5173 return concat_name;
5174 XFREE(concat_name);
5175 }
5176 }
5177 /* not found in PATH; assume curdir */
5178 }
5179 /* Relative path | not found in path: prepend cwd */
48505180 if (getcwd (tmp, LT_PATHMAX) == NULL)
48515181 lt_fatal ("getcwd failed");
4852 size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
4853 p = XMALLOC(char, size);
4854 sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
4855 return p;
5182 tmp_len = strlen(tmp);
5183 concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
5184 memcpy (concat_name, tmp, tmp_len);
5185 concat_name[tmp_len] = '/';
5186 strcpy (concat_name + tmp_len + 1, wrapper);
5187
5188 if (check_executable(concat_name))
5189 return concat_name;
5190 XFREE(concat_name);
5191 return NULL;
48565192 }
48575193
48585194 char *
48965232 va_end (ap);
48975233 }
48985234 EOF
4899 # we should really use a build-platform specific compiler
4900 # here, but OTOH, the wrappers (shell script and this C one)
4901 # are only useful if you want to execute the "real" binary.
4902 # Since the "real" binary is built for $host, then this
4903 # wrapper might as well be built for $host, too.
4904 $run $LTCC -s -o $cwrapper $cwrappersource
4905 ;;
4906 esac
4907 $rm $output
4908 trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
5235 # we should really use a build-platform specific compiler
5236 # here, but OTOH, the wrappers (shell script and this C one)
5237 # are only useful if you want to execute the "real" binary.
5238 # Since the "real" binary is built for $host, then this
5239 # wrapper might as well be built for $host, too.
5240 $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
5241 ;;
5242 esac
5243 $rm $output
5244 trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
49095245
49105246 $echo > $output "\
49115247 #! $SHELL
51355471 $run ${rm}r "$gentop"
51365472 $show "$mkdir $gentop"
51375473 $run $mkdir "$gentop"
5138 status=$?
5139 if test "$status" -ne 0 && test ! -d "$gentop"; then
5140 exit $status
5474 exit_status=$?
5475 if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
5476 exit $exit_status
51415477 fi
51425478 fi
51435479
58046140 outputname=
58056141 if test "$fast_install" = no && test -n "$relink_command"; then
58066142 if test "$finalize" = yes && test -z "$run"; then
5807 tmpdir="/tmp"
5808 test -n "$TMPDIR" && tmpdir="$TMPDIR"
5809 tmpdir="$tmpdir/libtool-$$"
5810 save_umask=`umask`
5811 umask 0077
5812 if $mkdir "$tmpdir"; then
5813 umask $save_umask
5814 else
5815 umask $save_umask
5816 $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
5817 continue
5818 fi
6143 tmpdir=`func_mktempdir`
58196144 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
58206145 outputname="$tmpdir/$file"
58216146 # Replace the output file specification.
59396264 # Exit here if they wanted silent mode.
59406265 test "$show" = : && exit $EXIT_SUCCESS
59416266
5942 $echo "----------------------------------------------------------------------"
6267 $echo "X----------------------------------------------------------------------" | $Xsed
59436268 $echo "Libraries have been installed in:"
59446269 for libdir in $libdirs; do
59456270 $echo " $libdir"
59726297 $echo
59736298 $echo "See any operating system documentation about shared libraries for"
59746299 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
5975 $echo "----------------------------------------------------------------------"
6300 $echo "X----------------------------------------------------------------------" | $Xsed
59766301 exit $EXIT_SUCCESS
59776302 ;;
59786303
61896514 rmfiles="$rmfiles $objdir/$n"
61906515 done
61916516 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
6192 test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
6193
6194 if test "$mode" = uninstall; then
6517
6518 case "$mode" in
6519 clean)
6520 case " $library_names " in
6521 # " " in the beginning catches empty $dlname
6522 *" $dlname "*) ;;
6523 *) rmfiles="$rmfiles $objdir/$dlname" ;;
6524 esac
6525 test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
6526 ;;
6527 uninstall)
61956528 if test -n "$library_names"; then
61966529 # Do each command in the postuninstall commands.
61976530 cmds=$postuninstall_cmds
62246557 IFS="$save_ifs"
62256558 fi
62266559 # FIXME: should reinstall the best remaining shared library.
6227 fi
6560 ;;
6561 esac
62286562 fi
62296563 ;;
62306564
65236857 # configuration. But we'll never go from static-only to shared-only.
65246858
65256859 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
6526 build_libtool_libs=no
6527 build_old_libs=yes
6860 disable_libs=shared
65286861 # ### END LIBTOOL TAG CONFIG: disable-shared
65296862
65306863 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
6531 build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
6864 disable_libs=static
65326865 # ### END LIBTOOL TAG CONFIG: disable-static
65336866
65346867 # Local Variables:
Binary diff not shown
0 # translation of libhdate.po to French
0 # translation of libhdate.po to Spanish
11 # This file is distributed under the same license as the libhdate package.
2 # Copyright (C) 2005 Yaacov Zamir
2 # Copyright (C) 2005 Yaacov Zamir, Peled Esti
33 # Yaacov Zamir, 2005.
44 #
55 msgid ""
88 "Report-Msgid-Bugs-To: \n"
99 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1010 "PO-Revision-Date: 2005-03-07 12:44+0200\n"
11 "Last-Translator: Yaacov Zamir\n"
12 "Language-Team: Franch\n"
11 "Last-Translator: Peled Esti\n"
12 "Language-Team: Spanish\n"
1313 "MIME-Version: 1.0\n"
1414 "Content-Type: text/plain; charset=UTF-8\n"
1515 "Content-Transfer-Encoding: 8bit\n"
Binary diff not shown
0 # Swedish translation of libhdate.
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the libhdate package.
3 # Daniel Nylander <po@danielnylander.se>, 2006.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: libhdate\n"
8 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
10 "PO-Revision-Date: 2006-03-19 16:53+0100\n"
11 "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
12 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=utf-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #: src/hdate_strings.c:131
18 msgid "Sun"
19 msgstr "Sön"
20
21 #: src/hdate_strings.c:131
22 msgid "Mon"
23 msgstr "MÃ¥n"
24
25 #: src/hdate_strings.c:131
26 msgid "Tue"
27 msgstr "Tis"
28
29 #: src/hdate_strings.c:131
30 msgid "Wed"
31 msgstr "Ons"
32
33 #: src/hdate_strings.c:131
34 msgid "Thu"
35 msgstr "Tor"
36
37 #: src/hdate_strings.c:132
38 msgid "Fri"
39 msgstr "Fre"
40
41 #: src/hdate_strings.c:132
42 msgid "Sat"
43 msgstr "Lör"
44
45 #: src/hdate_strings.c:133
46 msgid "Sunday"
47 msgstr "Söndag"
48
49 #: src/hdate_strings.c:133
50 msgid "Monday"
51 msgstr "MÃ¥ndag"
52
53 #: src/hdate_strings.c:133
54 msgid "Tuesday"
55 msgstr "Tisdag"
56
57 #: src/hdate_strings.c:133
58 msgid "Wednesday"
59 msgstr "Onsdag"
60
61 #: src/hdate_strings.c:134
62 msgid "Thursday"
63 msgstr "Torsdag"
64
65 #: src/hdate_strings.c:134
66 msgid "Friday"
67 msgstr "Fredag"
68
69 #: src/hdate_strings.c:134
70 msgid "Saturday"
71 msgstr "Lördag"
72
73 #: src/hdate_strings.c:165
74 msgid "Jan"
75 msgstr "Jan"
76
77 #: src/hdate_strings.c:165
78 msgid "Feb"
79 msgstr "Feb"
80
81 #: src/hdate_strings.c:165
82 msgid "Mar"
83 msgstr "Mar"
84
85 #: src/hdate_strings.c:165
86 msgid "Apr"
87 msgstr "Apr"
88
89 #: src/hdate_strings.c:165 src/hdate_strings.c:169
90 msgid "May"
91 msgstr "Maj"
92
93 #: src/hdate_strings.c:166
94 msgid "Jun"
95 msgstr "Jun"
96
97 #: src/hdate_strings.c:166
98 msgid "Jul"
99 msgstr "Jul"
100
101 #: src/hdate_strings.c:166
102 msgid "Aug"
103 msgstr "Aug"
104
105 #: src/hdate_strings.c:166
106 msgid "Sep"
107 msgstr "Sep"
108
109 #: src/hdate_strings.c:166
110 msgid "Oct"
111 msgstr "Okt"
112
113 #: src/hdate_strings.c:167
114 msgid "Nov"
115 msgstr "Nov"
116
117 #: src/hdate_strings.c:167
118 msgid "Dec"
119 msgstr "Dec"
120
121 #: src/hdate_strings.c:168
122 msgid "January"
123 msgstr "Januari"
124
125 #: src/hdate_strings.c:168
126 msgid "February"
127 msgstr "Februari"
128
129 #: src/hdate_strings.c:168
130 msgid "March"
131 msgstr "Mars"
132
133 #: src/hdate_strings.c:169
134 msgid "April"
135 msgstr "April"
136
137 #: src/hdate_strings.c:169
138 msgid "June"
139 msgstr "Juni"
140
141 #: src/hdate_strings.c:170
142 msgid "July"
143 msgstr "Juli"
144
145 #: src/hdate_strings.c:170
146 msgid "August"
147 msgstr "Augusti"
148
149 #: src/hdate_strings.c:170
150 msgid "September"
151 msgstr "September"
152
153 #: src/hdate_strings.c:171
154 msgid "October"
155 msgstr "Oktober"
156
157 #: src/hdate_strings.c:171
158 msgid "November"
159 msgstr "November"
160
161 #: src/hdate_strings.c:171
162 msgid "December"
163 msgstr "December"
164
165 #: src/hdate_strings.c:202 src/hdate_strings.c:206
166 msgid "Tishrei"
167 msgstr "Tishrei"
168
169 #: src/hdate_strings.c:202 src/hdate_strings.c:206
170 msgid "Cheshvan"
171 msgstr "Cheshvan"
172
173 #: src/hdate_strings.c:202 src/hdate_strings.c:206
174 msgid "Kislev"
175 msgstr "Kislev"
176
177 #: src/hdate_strings.c:202 src/hdate_strings.c:206
178 msgid "Tevet"
179 msgstr "Tevet"
180
181 #: src/hdate_strings.c:203 src/hdate_strings.c:207
182 msgid "Sh'vat"
183 msgstr "Sh'vat"
184
185 #: src/hdate_strings.c:203 src/hdate_strings.c:207
186 msgid "Adar"
187 msgstr "Adar"
188
189 #: src/hdate_strings.c:203 src/hdate_strings.c:207
190 msgid "Nisan"
191 msgstr "Nisan"
192
193 #: src/hdate_strings.c:203 src/hdate_strings.c:207
194 msgid "Iyyar"
195 msgstr "Iyyar"
196
197 #: src/hdate_strings.c:204 src/hdate_strings.c:208
198 msgid "Sivan"
199 msgstr "Sivan"
200
201 #: src/hdate_strings.c:204 src/hdate_strings.c:208
202 msgid "Tamuz"
203 msgstr "Tamuz"
204
205 #: src/hdate_strings.c:204 src/hdate_strings.c:208
206 msgid "Av"
207 msgstr "Av"
208
209 #: src/hdate_strings.c:204 src/hdate_strings.c:208
210 msgid "Elul"
211 msgstr "Elul"
212
213 #: src/hdate_strings.c:204 src/hdate_strings.c:208
214 msgid "Adar I"
215 msgstr "Adar I"
216
217 #: src/hdate_strings.c:205 src/hdate_strings.c:209
218 msgid "Adar II"
219 msgstr "Adar II"
220
221 #: src/hdate_strings.c:241 src/hdate_strings.c:274
222 msgid "Rosh Hashana I"
223 msgstr "Rosh Hashana I"
224
225 #. 1
226 #: src/hdate_strings.c:242 src/hdate_strings.c:275
227 msgid "Rosh Hashana II"
228 msgstr "Rosh Hashana II"
229
230 #: src/hdate_strings.c:243 src/hdate_strings.c:276
231 msgid "Tzom Gedaliah"
232 msgstr "Tzom Gedaliah"
233
234 #: src/hdate_strings.c:244 src/hdate_strings.c:277
235 msgid "Yom Kippur"
236 msgstr "Yom Kippur"
237
238 #: src/hdate_strings.c:245 src/hdate_strings.c:278
239 msgid "Sukkot"
240 msgstr "Sukkot"
241
242 #: src/hdate_strings.c:246 src/hdate_strings.c:279
243 msgid "Hol hamoed Sukkot"
244 msgstr "Hol hamoed Sukkot"
245
246 #: src/hdate_strings.c:247 src/hdate_strings.c:280
247 msgid "Hoshana raba"
248 msgstr "Hoshana raba"
249
250 #: src/hdate_strings.c:248 src/hdate_strings.c:281
251 msgid "Simchat Torah"
252 msgstr "Simchat Torah"
253
254 #: src/hdate_strings.c:249 src/hdate_strings.c:282
255 msgid "Chanukah"
256 msgstr "Chanukah"
257
258 #: src/hdate_strings.c:250 src/hdate_strings.c:283
259 msgid "Asara B'Tevet"
260 msgstr "Asara B'Tevet"
261
262 #. 10
263 #: src/hdate_strings.c:251 src/hdate_strings.c:284
264 msgid "Tu B'Shvat"
265 msgstr "Tu B'Shvat"
266
267 #: src/hdate_strings.c:252 src/hdate_strings.c:285
268 msgid "Ta'anit Esther"
269 msgstr "Ta'anit Esther"
270
271 #: src/hdate_strings.c:253 src/hdate_strings.c:286
272 msgid "Purim"
273 msgstr "Purim"
274
275 #: src/hdate_strings.c:254 src/hdate_strings.c:287
276 msgid "Shushan Purim"
277 msgstr "Shushan Purim"
278
279 #: src/hdate_strings.c:255 src/hdate_strings.c:288
280 msgid "Pesach"
281 msgstr "Pesach"
282
283 #: src/hdate_strings.c:256 src/hdate_strings.c:289
284 msgid "Hol hamoed Pesach"
285 msgstr "Hol hamoed Pesach"
286
287 #: src/hdate_strings.c:257 src/hdate_strings.c:290
288 msgid "Yom HaAtzma'ut"
289 msgstr "Yom HaAtzma'ut"
290
291 #: src/hdate_strings.c:258 src/hdate_strings.c:291
292 msgid "Lag B'Omer"
293 msgstr "Lag B'Omer"
294
295 #: src/hdate_strings.c:259 src/hdate_strings.c:292
296 msgid "Erev Shavuot"
297 msgstr "Erev Shavuot"
298
299 #: src/hdate_strings.c:260 src/hdate_strings.c:293
300 msgid "Shavuot"
301 msgstr "Shavuot"
302
303 #. 20
304 #: src/hdate_strings.c:261 src/hdate_strings.c:294
305 msgid "Tzom Tammuz"
306 msgstr "Tzom Tammuz"
307
308 #: src/hdate_strings.c:262 src/hdate_strings.c:295
309 msgid "Tish'a B'Av"
310 msgstr "Tish'a B'Av"
311
312 #: src/hdate_strings.c:263 src/hdate_strings.c:296
313 msgid "Tu B'Av"
314 msgstr "Tu B'Av"
315
316 #: src/hdate_strings.c:264 src/hdate_strings.c:297
317 msgid "Yom HaShoah"
318 msgstr "Yom HaShoah"
319
320 #: src/hdate_strings.c:265 src/hdate_strings.c:298
321 msgid "Yom HaZikaron"
322 msgstr "Yom HaZikaron"
323
324 #. 25
325 #: src/hdate_strings.c:266 src/hdate_strings.c:299
326 msgid "Yom Yerushalayim"
327 msgstr "Yom Yerushalayim"
328
329 #: src/hdate_strings.c:267 src/hdate_strings.c:300
330 msgid "Shmini Atzeret"
331 msgstr "Shmini Atzeret"
332
333 #: src/hdate_strings.c:268 src/hdate_strings.c:301
334 msgid "Pesach VII"
335 msgstr "Pesach VII"
336
337 #: src/hdate_strings.c:269 src/hdate_strings.c:302
338 msgid "Pesach VIII"
339 msgstr "Pesach VIII"
340
341 #: src/hdate_strings.c:270 src/hdate_strings.c:303
342 msgid "Shavuot II"
343 msgstr "Shavuot II"
344
345 #: src/hdate_strings.c:271 src/hdate_strings.c:304
346 msgid "Sukkot II"
347 msgstr "Sukkot II"
348
349 #: src/hdate_strings.c:272 src/hdate_strings.c:305
350 msgid "Pesach II"
351 msgstr "Pesach II"
352
353 #: src/hdate_strings.c:338 src/hdate_strings.c:401
354 msgid "none"
355 msgstr "ingen"
356
357 #: src/hdate_strings.c:339 src/hdate_strings.c:402
358 msgid "Bereshit"
359 msgstr "Bereshit"
360
361 #. 1
362 #: src/hdate_strings.c:340 src/hdate_strings.c:403
363 msgid "Noach"
364 msgstr "Noach"
365
366 #: src/hdate_strings.c:341 src/hdate_strings.c:404
367 msgid "Lech-Lecha"
368 msgstr "Lech-Lecha"
369
370 #: src/hdate_strings.c:342 src/hdate_strings.c:405
371 msgid "Vayera"
372 msgstr "Vayera"
373
374 #: src/hdate_strings.c:343 src/hdate_strings.c:406
375 msgid "Chayei Sara"
376 msgstr "Chayei Sara"
377
378 #: src/hdate_strings.c:344 src/hdate_strings.c:407
379 msgid "Toldot"
380 msgstr "Toldot"
381
382 #: src/hdate_strings.c:345 src/hdate_strings.c:408
383 msgid "Vayetzei"
384 msgstr "Vayetzei"
385
386 #: src/hdate_strings.c:346 src/hdate_strings.c:409
387 msgid "Vayishlach"
388 msgstr "Vayishlach"
389
390 #: src/hdate_strings.c:347 src/hdate_strings.c:410
391 msgid "Vayeshev"
392 msgstr "Vayeshev"
393
394 #: src/hdate_strings.c:348 src/hdate_strings.c:411
395 msgid "Miketz"
396 msgstr "Miketz"
397
398 #. 10
399 #: src/hdate_strings.c:349 src/hdate_strings.c:412
400 msgid "Vayigash"
401 msgstr "Vayigash"
402
403 #: src/hdate_strings.c:350 src/hdate_strings.c:413
404 msgid "Vayechi"
405 msgstr "Vayechi"
406
407 #: src/hdate_strings.c:351 src/hdate_strings.c:414
408 msgid "Shemot"
409 msgstr "Shemot"
410
411 #: src/hdate_strings.c:352 src/hdate_strings.c:415
412 msgid "Vaera"
413 msgstr "Vaera"
414
415 #: src/hdate_strings.c:353 src/hdate_strings.c:416
416 msgid "Bo"
417 msgstr "Bo"
418
419 #: src/hdate_strings.c:354 src/hdate_strings.c:417
420 msgid "Beshalach"
421 msgstr "Beshalach"
422
423 #: src/hdate_strings.c:355 src/hdate_strings.c:418
424 msgid "Yitro"
425 msgstr "Yitro"
426
427 #: src/hdate_strings.c:356 src/hdate_strings.c:419
428 msgid "Mishpatim"
429 msgstr "Mishpatim"
430
431 #: src/hdate_strings.c:357 src/hdate_strings.c:420
432 msgid "Terumah"
433 msgstr "Terumah"
434
435 #: src/hdate_strings.c:358 src/hdate_strings.c:421
436 msgid "Tetzaveh"
437 msgstr "Tetzaveh"
438
439 #. 20
440 #: src/hdate_strings.c:359 src/hdate_strings.c:422
441 msgid "Ki Tisa"
442 msgstr "Ki Tisa"
443
444 #: src/hdate_strings.c:360 src/hdate_strings.c:423
445 msgid "Vayakhel"
446 msgstr "Vayakhel"
447
448 #: src/hdate_strings.c:361 src/hdate_strings.c:424
449 msgid "Pekudei"
450 msgstr "Pekudei"
451
452 #: src/hdate_strings.c:362 src/hdate_strings.c:425
453 msgid "Vayikra"
454 msgstr "Vayikra"
455
456 #: src/hdate_strings.c:363 src/hdate_strings.c:426
457 msgid "Tzav"
458 msgstr "Tzav"
459
460 #: src/hdate_strings.c:364 src/hdate_strings.c:427
461 msgid "Shmini"
462 msgstr "Shmini"
463
464 #: src/hdate_strings.c:365 src/hdate_strings.c:428
465 msgid "Tazria"
466 msgstr "Tazria"
467
468 #: src/hdate_strings.c:366 src/hdate_strings.c:429
469 msgid "Metzora"
470 msgstr "Metzora"
471
472 #: src/hdate_strings.c:367 src/hdate_strings.c:430
473 msgid "Achrei Mot"
474 msgstr "Achrei Mot"
475
476 #: src/hdate_strings.c:368 src/hdate_strings.c:431
477 msgid "Kedoshim"
478 msgstr "Kedoshim"
479
480 #. 30
481 #: src/hdate_strings.c:369 src/hdate_strings.c:432
482 msgid "Emor"
483 msgstr "Emor"
484
485 #: src/hdate_strings.c:370 src/hdate_strings.c:433
486 msgid "Behar"
487 msgstr "Behar"
488
489 #: src/hdate_strings.c:371 src/hdate_strings.c:434
490 msgid "Bechukotai"
491 msgstr "Bechukotai"
492
493 #: src/hdate_strings.c:372 src/hdate_strings.c:435
494 msgid "Bamidbar"
495 msgstr "Bamidbar"
496
497 #: src/hdate_strings.c:373 src/hdate_strings.c:436
498 msgid "Nasso"
499 msgstr "Nasso"
500
501 #: src/hdate_strings.c:374 src/hdate_strings.c:437
502 msgid "Beha'alotcha"
503 msgstr "Beha'alotcha"
504
505 #: src/hdate_strings.c:375 src/hdate_strings.c:438
506 msgid "Sh'lach"
507 msgstr "Sh'lach"
508
509 #: src/hdate_strings.c:376 src/hdate_strings.c:439
510 msgid "Korach"
511 msgstr "Korach"
512
513 #: src/hdate_strings.c:377 src/hdate_strings.c:440
514 msgid "Chukat"
515 msgstr "Chukat"
516
517 #: src/hdate_strings.c:378 src/hdate_strings.c:441
518 msgid "Balak"
519 msgstr "Balak"
520
521 #. 40
522 #: src/hdate_strings.c:379 src/hdate_strings.c:442
523 msgid "Pinchas"
524 msgstr "Pinchas"
525
526 #: src/hdate_strings.c:380 src/hdate_strings.c:443
527 msgid "Matot"
528 msgstr "Matot"
529
530 #: src/hdate_strings.c:381 src/hdate_strings.c:444
531 msgid "Masei"
532 msgstr "Masei"
533
534 #: src/hdate_strings.c:382 src/hdate_strings.c:445
535 msgid "Devarim"
536 msgstr "Devarim"
537
538 #: src/hdate_strings.c:383 src/hdate_strings.c:446
539 msgid "Vaetchanan"
540 msgstr "Vaetchanan"
541
542 #: src/hdate_strings.c:384 src/hdate_strings.c:447
543 msgid "Eikev"
544 msgstr "Eikev"
545
546 #: src/hdate_strings.c:385 src/hdate_strings.c:448
547 msgid "Re'eh"
548 msgstr "Re'eh"
549
550 #: src/hdate_strings.c:386 src/hdate_strings.c:449
551 msgid "Shoftim"
552 msgstr "Shoftim"
553
554 #: src/hdate_strings.c:387 src/hdate_strings.c:450
555 msgid "Ki Teitzei"
556 msgstr "Ki Teitzei"
557
558 #: src/hdate_strings.c:388 src/hdate_strings.c:451
559 msgid "Ki Tavo"
560 msgstr "Ki Tavo"
561
562 #. 50
563 #: src/hdate_strings.c:389 src/hdate_strings.c:452
564 msgid "Nitzavim"
565 msgstr "Nitzavim"
566
567 #: src/hdate_strings.c:390 src/hdate_strings.c:453
568 msgid "Vayeilech"
569 msgstr "Vayeilech"
570
571 #: src/hdate_strings.c:391 src/hdate_strings.c:454
572 msgid "Ha'Azinu"
573 msgstr "Ha'Azinu"
574
575 #: src/hdate_strings.c:392 src/hdate_strings.c:455
576 msgid "Vezot Habracha"
577 msgstr "Vezot Habracha"
578
579 #. 54
580 #: src/hdate_strings.c:393 src/hdate_strings.c:456
581 msgid "Vayakhel-Pekudei"
582 msgstr "Vayakhel-Pekudei"
583
584 #: src/hdate_strings.c:394 src/hdate_strings.c:457
585 msgid "Tazria-Metzora"
586 msgstr "Tazria-Metzora"
587
588 #: src/hdate_strings.c:395 src/hdate_strings.c:458
589 msgid "Achrei Mot-Kedoshim"
590 msgstr "Achrei Mot-Kedoshim"
591
592 #: src/hdate_strings.c:396 src/hdate_strings.c:459
593 msgid "Behar-Bechukotai"
594 msgstr "Behar-Bechukotai"
595
596 #: src/hdate_strings.c:397 src/hdate_strings.c:460
597 msgid "Chukat-Balak"
598 msgstr "Chukat-Balak"
599
600 #: src/hdate_strings.c:398 src/hdate_strings.c:461
601 msgid "Matot-Masei"
602 msgstr "Matot-Masei"
603
604 #: src/hdate_strings.c:399 src/hdate_strings.c:462
605 msgid "Nitzavim-Vayeilech"
606 msgstr "Nitzavim-Vayeilech"
607
608 #. if untranslated return null
609 #. return the translator name
610 #: src/hdate_strings.c:564 src/hdate_strings.c:568
611 msgid "translator"
612 msgstr "Daniel Nylander"
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 CPP = @CPP@
100 CPPFLAGS = @CPPFLAGS@
67101 CXX = @CXX@
68102 CXXCPP = @CXXCPP@
103 CXXDEPMODE = @CXXDEPMODE@
104 CXXFLAGS = @CXXFLAGS@
105 CYGPATH_W = @CYGPATH_W@
69106 DATADIRNAME = @DATADIRNAME@
70 DLLTOOL = @DLLTOOL@
107 DEFS = @DEFS@
108 DEPDIR = @DEPDIR@
71109 ECHO = @ECHO@
110 ECHO_C = @ECHO_C@
111 ECHO_N = @ECHO_N@
112 ECHO_T = @ECHO_T@
72113 EGREP = @EGREP@
73114 EXEEXT = @EXEEXT@
74115 F77 = @F77@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
116 FFLAGS = @FFLAGS@
77117 GENCAT = @GENCAT@
78118 GLIBC2 = @GLIBC2@
79119 GLIBC21 = @GLIBC21@
80120 GMSGFMT = @GMSGFMT@
81121 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
83122 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
84123 HAVE_SNPRINTF = @HAVE_SNPRINTF@
85124 HAVE_WPRINTF = @HAVE_WPRINTF@
125 INSTALL_DATA = @INSTALL_DATA@
126 INSTALL_PROGRAM = @INSTALL_PROGRAM@
127 INSTALL_SCRIPT = @INSTALL_SCRIPT@
128 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86129 INSTOBJEXT = @INSTOBJEXT@
87130 INTLBISON = @INTLBISON@
88131 INTLLIBS = @INTLLIBS@
89132 INTLOBJS = @INTLOBJS@
90133 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
91134 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
92 LIB = @LIB@
135 LDFLAGS = @LDFLAGS@
93136 LIBICONV = @LIBICONV@
94137 LIBINTL = @LIBINTL@
138 LIBOBJS = @LIBOBJS@
95139 LIBS = @LIBS@
96140 LIBTOOL = @LIBTOOL@
97141 LN_S = @LN_S@
98 LTLIB = @LTLIB@
99142 LTLIBICONV = @LTLIBICONV@
100143 LTLIBINTL = @LTLIBINTL@
144 LTLIBOBJS = @LTLIBOBJS@
101145 MAINT = @MAINT@
146 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
147 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102148 MAKEINFO = @MAKEINFO@
103149 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
150 MSGFMT = @MSGFMT@
151 MSGMERGE = @MSGMERGE@
105152 OBJEXT = @OBJEXT@
106153 PACKAGE = @PACKAGE@
154 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
155 PACKAGE_NAME = @PACKAGE_NAME@
156 PACKAGE_STRING = @PACKAGE_STRING@
157 PACKAGE_TARNAME = @PACKAGE_TARNAME@
158 PACKAGE_VERSION = @PACKAGE_VERSION@
159 PATH_SEPARATOR = @PATH_SEPARATOR@
107160 PA_MODULES_PATH = @PA_MODULES_PATH@
108161 PA_VERSION = @PA_VERSION@
109162 PE_CFLAGS = @PE_CFLAGS@
114167 PY_MODULES_PATH = @PY_MODULES_PATH@
115168 PY_VERSION = @PY_VERSION@
116169 RANLIB = @RANLIB@
117 RC = @RC@
170 SET_MAKE = @SET_MAKE@
171 SHELL = @SHELL@
118172 STRIP = @STRIP@
119173 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
120174 USE_NLS = @USE_NLS@
121175 VERSION = @VERSION@
122176 VERSION_INFO = @VERSION_INFO@
177 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
178 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
179 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
180 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
181 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
182 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
183 WITH_PERL_FALSE = @WITH_PERL_FALSE@
184 WITH_PERL_TRUE = @WITH_PERL_TRUE@
185 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
186 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
187 XGETTEXT = @XGETTEXT@
188 ac_ct_AR = @ac_ct_AR@
189 ac_ct_CC = @ac_ct_CC@
190 ac_ct_CXX = @ac_ct_CXX@
191 ac_ct_F77 = @ac_ct_F77@
192 ac_ct_RANLIB = @ac_ct_RANLIB@
193 ac_ct_STRIP = @ac_ct_STRIP@
194 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
195 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
196 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
197 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
198 am__include = @am__include@
199 am__leading_dot = @am__leading_dot@
200 am__quote = @am__quote@
201 am__tar = @am__tar@
202 am__untar = @am__untar@
203 bindir = @bindir@
204 build = @build@
205 build_alias = @build_alias@
206 build_cpu = @build_cpu@
207 build_os = @build_os@
208 build_vendor = @build_vendor@
209 datadir = @datadir@
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 includedir = @includedir@
221 infodir = @infodir@
222 install_sh = @install_sh@
223 libdir = @libdir@
224 libexecdir = @libexecdir@
225 localstatedir = @localstatedir@
226 mandir = @mandir@
227 mkdir_p = @mkdir_p@
228 oldincludedir = @oldincludedir@
229 prefix = @prefix@
230 program_transform_name = @program_transform_name@
231 sbindir = @sbindir@
232 sharedstatedir = @sharedstatedir@
233 sysconfdir = @sysconfdir@
234 target_alias = @target_alias@
128235 EXTRA_DIST = hdate.h.3 hdate_struct.3
129
130 libhdate_la_CFLAGS = -Wall -g
131
236 libhdate_la_CFLAGS = \
237 -Wall\
238 -g
132239
133240 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
241 libhdate_la_SOURCES = \
242 hdate_strings.c\
243 hdate_julian.c\
244 hdate_holyday.c\
245 hdate_parasha.c\
246 hdate_sun_time.c\
247 hdate.h\
248 support.h
137249
138250 libhdate_la_LDFLAGS = -version-info $(VERSION_INFO)
139
140251 libhdate_la_LIBADD =
141
142252 include_HEADERS = hdate.h hdatepp.h
143
144253 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
254 all: all-am
255
177256 .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:
257 .SUFFIXES: .c .lo .o .obj
258 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
259 @for dep in $?; do \
260 case '$(am__configure_deps)' in \
261 *$$dep*) \
262 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
263 && exit 0; \
264 exit 1;; \
265 esac; \
266 done; \
267 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
268 cd $(top_srcdir) && \
269 $(AUTOMAKE) --gnu src/Makefile
270 .PRECIOUS: Makefile
271 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
272 @case '$?' in \
273 *config.status*) \
274 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
275 *) \
276 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
277 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
278 esac;
279
280 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
281 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
282
283 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
285 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
286 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
287 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
288 @$(NORMAL_INSTALL)
289 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
290 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
291 if test -f $$p; then \
292 f=$(am__strip_dir) \
293 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
294 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
295 else :; fi; \
296 done
297
298 uninstall-libLTLIBRARIES:
299 @$(NORMAL_UNINSTALL)
300 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
301 p=$(am__strip_dir) \
302 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
303 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
304 done
188305
189306 clean-libLTLIBRARIES:
190307 -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)
199308 @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 $<
309 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
310 test "$$dir" != "$$p" || dir=.; \
311 echo "rm -f \"$${dir}/so_locations\""; \
312 rm -f "$${dir}/so_locations"; \
313 done
314 libhdate.la: $(libhdate_la_OBJECTS) $(libhdate_la_DEPENDENCIES)
315 $(LINK) -rpath $(libdir) $(libhdate_la_LDFLAGS) $(libhdate_la_OBJECTS) $(libhdate_la_LIBADD) $(LIBS)
225316
226317 mostlyclean-compile:
227 -rm -f *.o core *.core
228318 -rm -f *.$(OBJEXT)
229
230 clean-compile:
231319
232320 distclean-compile:
233321 -rm -f *.tab.c
234322
235 maintainer-clean-compile:
323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_holyday.Plo@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_julian.Plo@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_parasha.Plo@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_strings.Plo@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_sun_time.Plo@am__quote@
328
329 .c.o:
330 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
331 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
334 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
335
336 .c.obj:
337 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
338 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
236342
237343 .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 $<
344 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
345 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
348 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
349
350 libhdate_la-hdate_strings.lo: hdate_strings.c
351 @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; \
352 @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
353 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_strings.c' object='libhdate_la-hdate_strings.lo' libtool=yes @AMDEPBACKSLASH@
354 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
355 @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
356
357 libhdate_la-hdate_julian.lo: hdate_julian.c
358 @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; \
359 @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
360 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_julian.c' object='libhdate_la-hdate_julian.lo' libtool=yes @AMDEPBACKSLASH@
361 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
362 @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
363
364 libhdate_la-hdate_holyday.lo: hdate_holyday.c
365 @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; \
366 @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
367 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_holyday.c' object='libhdate_la-hdate_holyday.lo' libtool=yes @AMDEPBACKSLASH@
368 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
369 @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
370
371 libhdate_la-hdate_parasha.lo: hdate_parasha.c
372 @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; \
373 @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
374 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_parasha.c' object='libhdate_la-hdate_parasha.lo' libtool=yes @AMDEPBACKSLASH@
375 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
376 @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
377
378 libhdate_la-hdate_sun_time.lo: hdate_sun_time.c
379 @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; \
380 @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
381 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_sun_time.c' object='libhdate_la-hdate_sun_time.lo' libtool=yes @AMDEPBACKSLASH@
382 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
383 @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
245384
246385 mostlyclean-libtool:
247386 -rm -f *.lo
250389 -rm -rf .libs _libs
251390
252391 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 \
392 -rm -f libtool
393 uninstall-info-am:
394 install-man3: $(man3_MANS) $(man_MANS)
395 @$(NORMAL_INSTALL)
396 test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
397 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
398 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
399 for i in $$l2; do \
263400 case "$$i" in \
264401 *.3*) list="$$list $$i" ;; \
265402 esac; \
268405 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
269406 else file=$$i; fi; \
270407 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
408 case "$$ext" in \
409 3*) ;; \
410 *) ext='3' ;; \
411 esac; \
271412 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
413 inst=`echo $$inst | sed -e 's/^.*\///'`; \
272414 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
273 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
274 $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
275 done
276
415 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
416 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
417 done
277418 uninstall-man3:
278 @list='$(man3_MANS)'; \
279 l2='$(man_MANS)'; for i in $$l2; do \
419 @$(NORMAL_UNINSTALL)
420 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
421 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
422 for i in $$l2; do \
280423 case "$$i" in \
281424 *.3*) list="$$list $$i" ;; \
282425 esac; \
283426 done; \
284427 for i in $$list; do \
285428 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
429 case "$$ext" in \
430 3*) ;; \
431 *) ext='3' ;; \
432 esac; \
286433 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
434 inst=`echo $$inst | sed -e 's/^.*\///'`; \
287435 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
436 echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
437 rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
438 done
298439 install-includeHEADERS: $(include_HEADERS)
299440 @$(NORMAL_INSTALL)
300 $(mkinstalldirs) $(DESTDIR)$(includedir)
441 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
301442 @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; \
443 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
444 f=$(am__strip_dir) \
445 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
446 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
305447 done
306448
307449 uninstall-includeHEADERS:
308450 @$(NORMAL_UNINSTALL)
309 list='$(include_HEADERS)'; for p in $$list; do \
310 rm -f $(DESTDIR)$(includedir)/$$p; \
311 done
312
451 @list='$(include_HEADERS)'; for p in $$list; do \
452 f=$(am__strip_dir) \
453 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
454 rm -f "$(DESTDIR)$(includedir)/$$f"; \
455 done
456
457 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
458 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
459 unique=`for i in $$list; do \
460 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
461 done | \
462 $(AWK) ' { files[$$0] = 1; } \
463 END { for (i in files) print i; }'`; \
464 mkid -fID $$unique
313465 tags: TAGS
314466
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)
467 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
468 $(TAGS_FILES) $(LISP)
324469 tags=; \
325470 here=`pwd`; \
326 list='$(SOURCES) $(HEADERS)'; \
327 unique=`for i in $$list; do echo $$i; done | \
328 awk ' { files[$$0] = 1; } \
471 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
472 unique=`for i in $$list; do \
473 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474 done | \
475 $(AWK) ' { files[$$0] = 1; } \
329476 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:
477 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
478 test -n "$$unique" || unique=$$empty_fix; \
479 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
480 $$tags $$unique; \
481 fi
482 ctags: CTAGS
483 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
484 $(TAGS_FILES) $(LISP)
485 tags=; \
486 here=`pwd`; \
487 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
488 unique=`for i in $$list; do \
489 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
490 done | \
491 $(AWK) ' { files[$$0] = 1; } \
492 END { for (i in files) print i; }'`; \
493 test -z "$(CTAGS_ARGS)$$tags$$unique" \
494 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
495 $$tags $$unique
496
497 GTAGS:
498 here=`$(am__cd) $(top_builddir) && pwd` \
499 && cd $(top_srcdir) \
500 && gtags -i $(GTAGS_ARGS) $$here
336501
337502 distclean-tags:
338 -rm -f TAGS ID
339
340 maintainer-clean-tags:
341
342 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
343
344 subdir = src
503 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
345504
346505 distdir: $(DISTFILES)
347 @for file in $(DISTFILES); do \
348 d=$(srcdir); \
506 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
507 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
508 list='$(DISTFILES)'; for file in $$list; do \
509 case $$file in \
510 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
511 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
512 esac; \
513 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
514 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
515 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
516 dir="/$$dir"; \
517 $(mkdir_p) "$(distdir)$$dir"; \
518 else \
519 dir=''; \
520 fi; \
349521 if test -d $$d/$$file; then \
350 cp -pr $$d/$$file $(distdir)/$$file; \
522 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
523 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
524 fi; \
525 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
351526 else \
352527 test -f $(distdir)/$$file \
353 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
354 || cp -p $$d/$$file $(distdir)/$$file || :; \
528 || cp -p $$d/$$file $(distdir)/$$file \
529 || exit 1; \
355530 fi; \
356531 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
367532 check-am: all-am
368533 check: check-am
369 installcheck-am:
370 installcheck: installcheck-am
371 install-exec-am: install-libLTLIBRARIES
534 all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS)
535 installdirs:
536 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
537 test -z "$$dir" || $(mkdir_p) "$$dir"; \
538 done
539 install: install-am
372540 install-exec: install-exec-am
373
374 install-data-am: install-man install-includeHEADERS
375541 install-data: install-data-am
542 uninstall: uninstall-am
376543
377544 install-am: all-am
378545 @$(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
546
547 installcheck: installcheck-am
385548 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
549 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
550 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
551 `test -z '$(STRIP)' || \
552 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
392553 mostlyclean-generic:
393554
394555 clean-generic:
395556
396557 distclean-generic:
397 -rm -f Makefile $(CONFIG_CLEAN_FILES)
398 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
558 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
399559
400560 maintainer-clean-generic:
401 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
402 mostlyclean-libtool mostlyclean-tags \
403 mostlyclean-generic
561 @echo "This command is intended for maintainers to use"
562 @echo "it deletes files that may require special tools to rebuild."
563 clean: clean-am
564
565 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
566 mostlyclean-am
567
568 distclean: distclean-am
569 -rm -rf ./$(DEPDIR)
570 -rm -f Makefile
571 distclean-am: clean-am distclean-compile distclean-generic \
572 distclean-libtool distclean-tags
573
574 dvi: dvi-am
575
576 dvi-am:
577
578 html: html-am
579
580 info: info-am
581
582 info-am:
583
584 install-data-am: install-includeHEADERS install-man
585
586 install-exec-am: install-libLTLIBRARIES
587
588 install-info: install-info-am
589
590 install-man: install-man3
591
592 installcheck-am:
593
594 maintainer-clean: maintainer-clean-am
595 -rm -rf ./$(DEPDIR)
596 -rm -f Makefile
597 maintainer-clean-am: distclean-am maintainer-clean-generic
404598
405599 mostlyclean: mostlyclean-am
406600
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
601 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
602 mostlyclean-libtool
603
604 pdf: pdf-am
605
606 pdf-am:
607
608 ps: ps-am
609
610 ps-am:
611
612 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
613 uninstall-libLTLIBRARIES uninstall-man
614
615 uninstall-man: uninstall-man3
616
617 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
618 clean-libLTLIBRARIES clean-libtool ctags distclean \
619 distclean-compile distclean-generic distclean-libtool \
620 distclean-tags distdir dvi dvi-am html html-am info info-am \
621 install install-am install-data install-data-am install-exec \
622 install-exec-am install-includeHEADERS install-info \
623 install-info-am install-libLTLIBRARIES install-man \
624 install-man3 install-strip installcheck installcheck-am \
625 installdirs maintainer-clean maintainer-clean-generic \
626 mostlyclean mostlyclean-compile mostlyclean-generic \
627 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
628 uninstall-am uninstall-includeHEADERS uninstall-info-am \
629 uninstall-libLTLIBRARIES uninstall-man uninstall-man3
442630
443631 # Tell versions [3.59,3.63) of GNU make to not export all variables.
444632 # Otherwise a system limit (for SysV at least) may be exceeded.