Codebase list libhdate / 4a61ba1
Load /tmp/tmp.UaCTv28933/libhdate-1.4.8 into pkg/libhdate/branches/upstream/current. Lior Kaplan 17 years ago
28 changed file(s) with 4768 addition(s) and 8398 deletion(s). Raw diff Collapse all Expand all
0 libhdate (1.4.8)
1
2 * Fix help printing bug: Add new line at the end of hdate help text.
3 * Add two new functios to the time of day section:
4 hdate_get_utc_sun_time_full - gets the time of first light,
5 talit, sunris, sunset, first stars and three stars.
6 hdate_get_utc_sun_time_deg - gets the time the sun is on
7 some known altitude.
8 * Add Times of day to hdate command line tool.
9 supported times: first-light, talit, sunrise, mid-day, sunset, first-stars
10 and three-stars
11 * Add Times of Shabat enter/leave to hdate command line tool.
12 Shabat starts 20 min before sunset, and leave at three stars.
13 * Add new oprions in hdate command line tool to it's man page
14
15 -- Yaacov Zamir <kzamir@wall.co.il> Tue, 8 Jun 2006 12:13
16
17 libhdate (1.4.7)
18
19 * Fix pesach II in hebrew po file.
20 * hcal utility export strict html 4.01.
21 * hcal utility can export diaspora holidays
22 * Update hcal utility man file.
23
24 -- Yaacov Zamir <kzamir@wall.co.il> Tue, 18 Apr 2006 12:13
25
026 libhdate (1.4.3)
127
228 * Fix header of spanish po file.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 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
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = .
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2447 INSTALL = @INSTALL@
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)
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
3053 NORMAL_INSTALL = :
3154 PRE_INSTALL = :
3255 POST_INSTALL = :
3356 NORMAL_UNINSTALL = :
3457 PRE_UNINSTALL = :
3558 POST_UNINSTALL = :
36 build_triplet = @build@
59 host_alias = @host_alias@
3760 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@
9161 AR = @AR@
92 AUTOCONF = @AUTOCONF@
93 AUTOHEADER = @AUTOHEADER@
94 AUTOMAKE = @AUTOMAKE@
95 AWK = @AWK@
62 AS = @AS@
9663 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
9764 CATOBJEXT = @CATOBJEXT@
9865 CC = @CC@
99 CCDEPMODE = @CCDEPMODE@
10066 CFLAGS = @CFLAGS@
101 CPP = @CPP@
102 CPPFLAGS = @CPPFLAGS@
10367 CXX = @CXX@
10468 CXXCPP = @CXXCPP@
105 CXXDEPMODE = @CXXDEPMODE@
106 CXXFLAGS = @CXXFLAGS@
107 CYGPATH_W = @CYGPATH_W@
10869 DATADIRNAME = @DATADIRNAME@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
11171 ECHO = @ECHO@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
11572 EGREP = @EGREP@
11673 EXEEXT = @EXEEXT@
11774 F77 = @F77@
118 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
11977 GENCAT = @GENCAT@
12078 GLIBC2 = @GLIBC2@
12179 GLIBC21 = @GLIBC21@
12280 GMSGFMT = @GMSGFMT@
12381 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
12483 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
12584 HAVE_SNPRINTF = @HAVE_SNPRINTF@
12685 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@
13186 INSTOBJEXT = @INSTOBJEXT@
13287 INTLBISON = @INTLBISON@
13388 INTLLIBS = @INTLLIBS@
13489 INTLOBJS = @INTLOBJS@
13590 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
13691 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
137 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
13893 LIBICONV = @LIBICONV@
13994 LIBINTL = @LIBINTL@
140 LIBOBJS = @LIBOBJS@
14195 LIBS = @LIBS@
14296 LIBTOOL = @LIBTOOL@
14397 LN_S = @LN_S@
98 LTLIB = @LTLIB@
14499 LTLIBICONV = @LTLIBICONV@
145100 LTLIBINTL = @LTLIBINTL@
146 LTLIBOBJS = @LTLIBOBJS@
147101 MAINT = @MAINT@
148 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
149 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
150102 MAKEINFO = @MAKEINFO@
151103 MKINSTALLDIRS = @MKINSTALLDIRS@
152 MSGFMT = @MSGFMT@
153 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
154105 OBJEXT = @OBJEXT@
155106 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@
162107 PA_MODULES_PATH = @PA_MODULES_PATH@
163108 PA_VERSION = @PA_VERSION@
164109 PE_CFLAGS = @PE_CFLAGS@
169114 PY_MODULES_PATH = @PY_MODULES_PATH@
170115 PY_VERSION = @PY_VERSION@
171116 RANLIB = @RANLIB@
172 SET_MAKE = @SET_MAKE@
173 SHELL = @SHELL@
117 RC = @RC@
174118 STRIP = @STRIP@
175119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
176120 USE_NLS = @USE_NLS@
177121 VERSION = @VERSION@
178122 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@
213123 have_pascal = @have_pascal@
214124 have_perl = @have_perl@
215125 have_python = @have_python@
216126 have_swig = @have_swig@
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@
127
237128 SUBDIRS = intl po src examples bindings
129
238130 pkgconfigdir = $(libdir)/pkgconfig
239131 pkgconfig_DATA = libhdate.pc
132
240133 libhdatedocdir = ${prefix}/share/doc/libhdate
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
134 libhdatedoc_DATA = README hdate_README COPYING AUTHORS ChangeLog INSTALL NEWS TODO USE ABOUT-NLS
135
252136
253137 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in libhdate.spec libhdate.spec.in
254 all: all-recursive
255
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
256154 .SUFFIXES:
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)
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)
284166 $(SHELL) ./config.status --recheck
285
286 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
167 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
287168 cd $(srcdir) && $(AUTOCONF)
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:
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
306174 install-libhdatedocDATA: $(libhdatedoc_DATA)
307175 @$(NORMAL_INSTALL)
308 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
176 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
309177 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
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"; \
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; \
314185 done
315186
316187 uninstall-libhdatedocDATA:
317188 @$(NORMAL_UNINSTALL)
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
189 list='$(libhdatedoc_DATA)'; for p in $$list; do \
190 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
191 done
192
323193 install-pkgconfigDATA: $(pkgconfig_DATA)
324194 @$(NORMAL_INSTALL)
325 test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
195 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
326196 @list='$(pkgconfig_DATA)'; for p in $$list; do \
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"; \
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; \
331204 done
332205
333206 uninstall-pkgconfigDATA:
334207 @$(NORMAL_UNINSTALL)
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"; \
208 list='$(pkgconfig_DATA)'; for p in $$list; do \
209 rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
339210 done
340211
341212 # This directory's subdirectories are mostly independent; you can cd
344215 # (1) if the variable is set in `config.status', edit `config.status'
345216 # (which will cause the Makefiles to be regenerated when you run `make');
346217 # (2) otherwise, pass the desired values on the `make' command line.
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; \
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; \
355225 dot_seen=no; \
356226 target=`echo $@ | sed s/-recursive//`; \
357227 list='$(SUBDIRS)'; for subdir in $$list; do \
363233 local_target="$$target"; \
364234 fi; \
365235 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
366 || eval $$failcom; \
236 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
367237 done; \
368238 if test "$$dot_seen" = "no"; then \
369239 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
371241
372242 mostlyclean-recursive clean-recursive distclean-recursive \
373243 maintainer-clean-recursive:
374 @failcom='exit 1'; \
375 for f in x $$MAKEFLAGS; do \
376 case $$f in \
377 *=* | --[!k]*);; \
378 *k*) failcom='fail=yes';; \
379 esac; \
244 @set fnord $(MAKEFLAGS); amf=$$2; \
245 dot_seen=no; \
246 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
247 rev="$$subdir $$rev"; \
248 test "$$subdir" != "." || dot_seen=yes; \
380249 done; \
381 dot_seen=no; \
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; \
390 done; \
391 rev="$$rev ."; \
250 test "$$dot_seen" = "no" && rev=". $$rev"; \
392251 target=`echo $@ | sed s/-recursive//`; \
393252 for subdir in $$rev; do \
394253 echo "Making $$target in $$subdir"; \
398257 local_target="$$target"; \
399258 fi; \
400259 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
401 || eval $$failcom; \
260 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
402261 done && test -z "$$fail"
403262 tags-recursive:
404263 list='$(SUBDIRS)'; for subdir in $$list; do \
405264 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
406265 done
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; } \
266
267 tags: TAGS
268
269 ID: $(HEADERS) $(SOURCES) $(LISP)
270 list='$(SOURCES) $(HEADERS)'; \
271 unique=`for i in $$list; do echo $$i; done | \
272 awk ' { files[$$0] = 1; } \
418273 END { for (i in files) print i; }'`; \
419 mkid -fID $$unique
420 tags: TAGS
421
422 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
423 $(TAGS_FILES) $(LISP)
274 here=`pwd` && cd $(srcdir) \
275 && mkid -f$$here/ID $$unique $(LISP)
276
277 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
424278 tags=; \
425279 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; \
433280 list='$(SUBDIRS)'; for subdir in $$list; do \
434 if test "$$subdir" = .; then :; else \
435 test ! -f $$subdir/TAGS || \
436 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
437 fi; \
281 if test "$$subdir" = .; then :; else \
282 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
283 fi; \
438284 done; \
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; } \
285 list='$(SOURCES) $(HEADERS)'; \
286 unique=`for i in $$list; do echo $$i; done | \
287 awk ' { files[$$0] = 1; } \
444288 END { for (i in files) print i; }'`; \
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
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:
469295
470296 distclean-tags:
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)
297 -rm -f TAGS ID
298
299 maintainer-clean-tags:
300
301 distdir = $(PACKAGE)-$(VERSION)
302 top_distdir = $(distdir)
547303
548304 # This target untars the dist file and tries a VPATH configuration. Then
549305 # it guarantees that the distribution is self-contained by making another
550306 # tarfile.
551307 distcheck: dist
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) \
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 \
574315 && $(MAKE) $(AM_MAKEFLAGS) \
575316 && $(MAKE) $(AM_MAKEFLAGS) dvi \
576317 && $(MAKE) $(AM_MAKEFLAGS) check \
577318 && $(MAKE) $(AM_MAKEFLAGS) install \
578319 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
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
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
616363 check-am: all-am
617364 check: check-recursive
365 installcheck-am:
366 installcheck: installcheck-recursive
367 install-exec-am:
368 install-exec: install-exec-recursive
369
370 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
371 install-data: install-data-recursive
372
373 install-am: all-am
374 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
375 install: install-recursive
376 uninstall-am: uninstall-libhdatedocDATA uninstall-pkgconfigDATA
377 uninstall: uninstall-recursive
618378 all-am: Makefile $(DATA)
379 all-redirect: all-recursive
380 install-strip:
381 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
619382 installdirs: installdirs-recursive
620383 installdirs-am:
621 for dir in "$(DESTDIR)$(libhdatedocdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
622 test -z "$$dir" || $(mkdir_p) "$$dir"; \
623 done
624 install: install-recursive
625 install-exec: install-exec-recursive
626 install-data: install-data-recursive
627 uninstall: uninstall-recursive
628
629 install-am: all-am
630 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
631
632 installcheck: installcheck-recursive
633 install-strip:
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
384 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir) $(DESTDIR)$(pkgconfigdir)
385
386
638387 mostlyclean-generic:
639388
640389 clean-generic:
641390
642391 distclean-generic:
643 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
392 -rm -f Makefile $(CONFIG_CLEAN_FILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
644394
645395 maintainer-clean-generic:
646 @echo "This command is intended for maintainers to use"
396 mostlyclean-am: mostlyclean-tags mostlyclean-generic
397
398 mostlyclean: mostlyclean-recursive
399
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;"
647413 @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:
677414
678415 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
683
684 mostlyclean: mostlyclean-recursive
685
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
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
717432
718433 # Tell versions [3.59,3.63) of GNU make to not export all variables.
719434 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
153 dnl This file is free software; the Free Software Foundation
164 dnl gives unlimited permission to copy and/or distribute it,
175 dnl with or without modifications, as long as this notice is preserved.
186
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.
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.
3714 dnl This file is free software; the Free Software Foundation
3815 dnl gives unlimited permission to copy and/or distribute it,
3916 dnl with or without modifications, as long as this notice is preserved.
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],
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],
9234 [
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
35 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
36 AC_REQUIRE([AC_PROG_CC])
37 AC_REQUIRE([AC_CANONICAL_HOST])
38 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\"
10644 ])
107
108 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
109 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
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])
125 ])
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"])
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"
60 fi
61 fi
62 ])
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
24177 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=
78 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
25786 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
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
26492 fi
26593 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"
94 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
290124 fi
291125 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)
126 fi
387127 ])
388128
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],
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],
394133 [
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
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"
458138 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
139 acl_final_prefix="$prefix"
140 fi
141 if test "X$exec_prefix" = "XNONE"; then
142 acl_final_exec_prefix='${prefix}'
464143 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
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"
515150 ])
516151
517
518 dnl Checks for special options needed on MacOS X.
519 dnl Defines INTL_MACOSX_LIBS.
520 AC_DEFUN([gt_INTL_MACOSX],
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],
521156 [
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%/%"`
1028 done
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
1061 fi
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
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"
1075164 ])
1076165
1077166 # lib-link.m4 serial 6 (gettext-0.14.3)
1628717 done
1629718 ])
1630719
1631 # lib-prefix.m4 serial 4 (gettext-0.14.2)
1632 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
720 # lib-ld.m4 serial 3 (gettext-0.13)
721 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1633722 dnl This file is free software; the Free Software Foundation
1634723 dnl gives unlimited permission to copy and/or distribute it,
1635724 dnl with or without modifications, as long as this notice is preserved.
1636725
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
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
741 ])
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=';'
758 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
1680815 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
1681829 ])
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"
1757 else
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"
1769 ])
1770
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 ])
830
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 )
17841010
17851011 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
17861012
1787 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
1013 # serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL
17881014
17891015
17901016 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
31682394 dynamic_linker=no
31692395 ;;
31702396
2397 kfreebsd*-gnu)
2398 version_type=linux
2399 need_lib_prefix=no
2400 need_version=no
2401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2402 soname_spec='${libname}${release}${shared_ext}$major'
2403 shlibpath_var=LD_LIBRARY_PATH
2404 shlibpath_overrides_runpath=no
2405 hardcode_into_libs=yes
2406 dynamic_linker='GNU ld.so'
2407 ;;
2408
31712409 freebsd* | dragonfly*)
31722410 # DragonFly does not have aout. When/if they implement a new
31732411 # versioning mechanism, adjust this.
33232561 ;;
33242562
33252563 # This must be Linux ELF.
3326 linux* | k*bsd*-gnu)
2564 linux*)
33272565 version_type=linux
33282566 need_lib_prefix=no
33292567 need_version=no
33622600 shlibpath_overrides_runpath=no
33632601 hardcode_into_libs=yes
33642602 dynamic_linker='NetBSD ld.elf_so'
2603 ;;
2604
2605 knetbsd*-gnu)
2606 version_type=linux
2607 need_lib_prefix=no
2608 need_version=no
2609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2610 soname_spec='${libname}${release}${shared_ext}$major'
2611 shlibpath_var=LD_LIBRARY_PATH
2612 shlibpath_overrides_runpath=no
2613 hardcode_into_libs=yes
2614 dynamic_linker='GNU ld.so'
33652615 ;;
33662616
33672617 netbsd*)
40693319 lt_cv_deplibs_check_method=pass_all
40703320 ;;
40713321
4072 freebsd* | dragonfly*)
3322 freebsd* | kfreebsd*-gnu | dragonfly*)
40733323 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
40743324 case $host_cpu in
40753325 i*86 )
41233373 ;;
41243374
41253375 # This must be Linux ELF.
4126 linux* | k*bsd*-gnu)
3376 linux*)
41273377 lt_cv_deplibs_check_method=pass_all
41283378 ;;
41293379
4130 netbsd* | netbsdelf*-gnu)
3380 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
41313381 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
41323382 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
41333383 else
48754125 freebsd-elf*)
48764126 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
48774127 ;;
4878 freebsd* | dragonfly*)
4128 freebsd* | kfreebsd*-gnu | dragonfly*)
48794129 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
48804130 # conventions
48814131 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
50344284 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
50354285 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
50364286 ;;
5037 linux* | k*bsd*-gnu)
4287 linux*)
50384288 case $cc_basename in
50394289 KCC*)
50404290 # Kuck and Associates, Inc. (KAI) C++ Compiler
51364386 ;;
51374387 esac
51384388 ;;
5139 netbsd* | netbsdelf*-gnu)
4389 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
51404390 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
51414391 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
51424392 wlarc=
64015651 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
64025652 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'"
64035653 ;;
6404 linux* | k*bsd*-gnu)
5654 linux*)
64055655 if test "$host_cpu" = ia64; then
64065656 symcode='[[ABCDGIRSTW]]'
64075657 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
66745924 ;;
66755925 esac
66765926 ;;
6677 freebsd* | dragonfly*)
5927 freebsd* | kfreebsd*-gnu | dragonfly*)
66785928 # FreeBSD uses GNU C++
66795929 ;;
66805930 hpux9* | hpux10* | hpux11*)
67175967 ;;
67185968 esac
67195969 ;;
6720 linux* | k*bsd*-gnu)
5970 linux*)
67215971 case $cc_basename in
67225972 KCC*)
67235973 # KAI C++ Compiler
67606010 ;;
67616011 esac
67626012 ;;
6763 netbsd* | netbsdelf*-gnu)
6013 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
67646014 ;;
67656015 osf3* | osf4* | osf5*)
67666016 case $cc_basename in
69716221 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
69726222 ;;
69736223
6974 linux* | k*bsd*-gnu)
6224 linux*)
69756225 case $cc_basename in
69766226 icc* | ecc*)
69776227 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
71126362 cygwin* | mingw*)
71136363 _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'
71146364 ;;
7115 linux* | k*bsd*-gnu)
6365 kfreebsd*-gnu)
6366 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6367 ;;
6368 linux*)
71166369 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
71176370 ;;
71186371 *)
72856538 _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'
72866539 ;;
72876540
7288 linux* | k*bsd*-gnu)
6541 linux*)
72896542 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
72906543 tmp_addflag=
72916544 case $cc_basename,$host_cpu in
73176570 fi
73186571 ;;
73196572
7320 netbsd* | netbsdelf*-gnu)
6573 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
73216574 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
73226575 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
73236576 wlarc=
76536906 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
76546907 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
76556908 ;;
6909
6910 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
6911 kfreebsd*-gnu)
6912 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6913 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6914 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6915 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6916 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6917 ;;
76566918
76576919 hpux9*)
76586920 if test "$GCC" = yes; then
77497011 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
77507012 ;;
77517013
7752 netbsd* | netbsdelf*-gnu)
7014 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
77537015 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
77547016 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
77557017 else
81517413 AC_MSG_RESULT([$SED])
81527414 ])
81537415
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.
7416 # gettext.m4 serial 37 (gettext-0.14.4)
7417 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
82097418 dnl This file is free software; the Free Software Foundation
82107419 dnl gives unlimited permission to copy and/or distribute it,
82117420 dnl with or without modifications, as long as this notice is preserved.
82237432 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
82247433 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
82257434
8226 AC_PREREQ(2.50)
8227
8228 AC_DEFUN([AM_NLS],
7435 dnl Macro to add for using GNU gettext.
7436
7437 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
7438 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
7439 dnl default (if it is not specified or empty) is 'no-libtool'.
7440 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
7441 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
7442 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
7443 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
7444 dnl depending on --{enable,disable}-{shared,static} and on the presence of
7445 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
7446 dnl $(top_builddir)/intl/libintl.a will be created.
7447 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
7448 dnl implementations (in libc or libintl) without the ngettext() function
7449 dnl will be ignored. If NEEDSYMBOL is specified and is
7450 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
7451 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
7452 dnl INTLDIR is used to find the intl libraries. If empty,
7453 dnl the value `$(top_builddir)/intl/' is used.
7454 dnl
7455 dnl The result of the configuration is one of three cases:
7456 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
7457 dnl and used.
7458 dnl Catalog format: GNU --> install in $(datadir)
7459 dnl Catalog extension: .mo after installation, .gmo in source tree
7460 dnl 2) GNU gettext has been found in the system's C library.
7461 dnl Catalog format: GNU --> install in $(datadir)
7462 dnl Catalog extension: .mo after installation, .gmo in source tree
7463 dnl 3) No internationalization, always use English msgid.
7464 dnl Catalog format: none
7465 dnl Catalog extension: none
7466 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
7467 dnl The use of .gmo is historical (it was needed to avoid overwriting the
7468 dnl GNU format catalogs when building on a platform with an X/Open gettext),
7469 dnl but we keep it in order not to force irrelevant filename changes on the
7470 dnl maintainers.
7471 dnl
7472 AC_DEFUN([AM_GNU_GETTEXT],
82297473 [
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)
7474 dnl Argument checking.
7475 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
7476 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
7477 ])])])])])
7478 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
7479 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
7480 ])])])])
7481 define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
7482 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
7483
7484 AC_REQUIRE([AM_PO_SUBDIRS])dnl
7485 ifelse(gt_included_intl, yes, [
7486 AC_REQUIRE([AM_INTL_SUBDIR])dnl
7487 ])
7488
7489 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
7490 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
7491 AC_REQUIRE([AC_LIB_RPATH])
7492
7493 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7494 dnl Ideally we would do this search only after the
7495 dnl if test "$USE_NLS" = "yes"; then
7496 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7497 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
7498 dnl the configure script would need to contain the same shell code
7499 dnl again, outside any 'if'. There are two solutions:
7500 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
7501 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
7502 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
7503 dnl documented, we avoid it.
7504 ifelse(gt_included_intl, yes, , [
7505 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
7506 ])
7507
7508 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
7509 gt_INTL_MACOSX
7510
7511 dnl Set USE_NLS.
7512 AM_NLS
7513
7514 ifelse(gt_included_intl, yes, [
7515 BUILD_INCLUDED_LIBINTL=no
7516 USE_INCLUDED_LIBINTL=no
7517 ])
7518 LIBINTL=
7519 LTLIBINTL=
7520 POSUB=
7521
7522 dnl If we use NLS figure out what method
7523 if test "$USE_NLS" = "yes"; then
7524 gt_use_preinstalled_gnugettext=no
7525 ifelse(gt_included_intl, yes, [
7526 AC_MSG_CHECKING([whether included gettext is requested])
7527 AC_ARG_WITH(included-gettext,
7528 [ --with-included-gettext use the GNU gettext library included here],
7529 nls_cv_force_use_gnu_gettext=$withval,
7530 nls_cv_force_use_gnu_gettext=no)
7531 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
7532
7533 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
7534 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7535 ])
7536 dnl User does not insist on using GNU NLS library. Figure out what
7537 dnl to use. If GNU gettext is available we use this. Else we have
7538 dnl to fall back to GNU NLS library.
7539
7540 dnl Add a version number to the cache macros.
7541 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
7542 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
7543 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
7544
7545 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
7546 [AC_TRY_LINK([#include <libintl.h>
7547 ]ifelse([$2], [need-formatstring-macros],
7548 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7549 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7550 #endif
7551 changequote(,)dnl
7552 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7553 changequote([,])dnl
7554 ], [])[extern int _nl_msg_cat_cntr;
7555 extern int *_nl_domain_bindings;],
7556 [bindtextdomain ("", "");
7557 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
7558 gt_cv_func_gnugettext_libc=yes,
7559 gt_cv_func_gnugettext_libc=no)])
7560
7561 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7562 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7563 ifelse(gt_included_intl, yes, , [
7564 AM_ICONV_LINK
7565 ])
7566 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
7567 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
7568 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
7569 dnl even if libiconv doesn't exist.
7570 AC_LIB_LINKFLAGS_BODY([intl])
7571 AC_CACHE_CHECK([for GNU gettext in libintl],
7572 gt_cv_func_gnugettext_libintl,
7573 [gt_save_CPPFLAGS="$CPPFLAGS"
7574 CPPFLAGS="$CPPFLAGS $INCINTL"
7575 gt_save_LIBS="$LIBS"
7576 LIBS="$LIBS $LIBINTL"
7577 dnl Now see whether libintl exists and does not depend on libiconv.
7578 AC_TRY_LINK([#include <libintl.h>
7579 ]ifelse([$2], [need-formatstring-macros],
7580 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7581 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7582 #endif
7583 changequote(,)dnl
7584 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7585 changequote([,])dnl
7586 ], [])[extern int _nl_msg_cat_cntr;
7587 extern
7588 #ifdef __cplusplus
7589 "C"
7590 #endif
7591 const char *_nl_expand_alias (const char *);],
7592 [bindtextdomain ("", "");
7593 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7594 gt_cv_func_gnugettext_libintl=yes,
7595 gt_cv_func_gnugettext_libintl=no)
7596 dnl Now see whether libintl exists and depends on libiconv.
7597 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
7598 LIBS="$LIBS $LIBICONV"
7599 AC_TRY_LINK([#include <libintl.h>
7600 ]ifelse([$2], [need-formatstring-macros],
7601 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7602 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7603 #endif
7604 changequote(,)dnl
7605 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7606 changequote([,])dnl
7607 ], [])[extern int _nl_msg_cat_cntr;
7608 extern
7609 #ifdef __cplusplus
7610 "C"
7611 #endif
7612 const char *_nl_expand_alias (const char *);],
7613 [bindtextdomain ("", "");
7614 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7615 [LIBINTL="$LIBINTL $LIBICONV"
7616 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7617 gt_cv_func_gnugettext_libintl=yes
7618 ])
7619 fi
7620 CPPFLAGS="$gt_save_CPPFLAGS"
7621 LIBS="$gt_save_LIBS"])
7622 fi
7623
7624 dnl If an already present or preinstalled GNU gettext() is found,
7625 dnl use it. But if this macro is used in GNU gettext, and GNU
7626 dnl gettext is already preinstalled in libintl, we update this
7627 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
7628 if test "$gt_cv_func_gnugettext_libc" = "yes" \
7629 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
7630 && test "$PACKAGE" != gettext-runtime \
7631 && test "$PACKAGE" != gettext-tools; }; then
7632 gt_use_preinstalled_gnugettext=yes
7633 else
7634 dnl Reset the values set by searching for libintl.
7635 LIBINTL=
7636 LTLIBINTL=
7637 INCINTL=
7638 fi
7639
7640 ifelse(gt_included_intl, yes, [
7641 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7642 dnl GNU gettext is not found in the C library.
7643 dnl Fall back on included GNU gettext library.
7644 nls_cv_use_gnu_gettext=yes
7645 fi
7646 fi
7647
7648 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7649 dnl Mark actions used to generate GNU NLS library.
7650 BUILD_INCLUDED_LIBINTL=yes
7651 USE_INCLUDED_LIBINTL=yes
7652 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
7653 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
7654 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7655 fi
7656
7657 CATOBJEXT=
7658 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7659 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7660 dnl Mark actions to use GNU gettext tools.
7661 CATOBJEXT=.gmo
7662 fi
7663 ])
7664
7665 if test -n "$INTL_MACOSX_LIBS"; then
7666 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7667 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7668 dnl Some extra flags are needed during linking.
7669 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7670 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7671 fi
7672 fi
7673
7674 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7675 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7676 AC_DEFINE(ENABLE_NLS, 1,
7677 [Define to 1 if translation of program messages to the user's native language
7678 is requested.])
7679 else
7680 USE_NLS=no
7681 fi
7682 fi
7683
7684 AC_MSG_CHECKING([whether to use NLS])
7685 AC_MSG_RESULT([$USE_NLS])
7686 if test "$USE_NLS" = "yes"; then
7687 AC_MSG_CHECKING([where the gettext function comes from])
7688 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7689 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7690 gt_source="external libintl"
7691 else
7692 gt_source="libc"
7693 fi
7694 else
7695 gt_source="included intl directory"
7696 fi
7697 AC_MSG_RESULT([$gt_source])
7698 fi
7699
7700 if test "$USE_NLS" = "yes"; then
7701
7702 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7703 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7704 AC_MSG_CHECKING([how to link with libintl])
7705 AC_MSG_RESULT([$LIBINTL])
7706 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
7707 fi
7708
7709 dnl For backward compatibility. Some packages may be using this.
7710 AC_DEFINE(HAVE_GETTEXT, 1,
7711 [Define if the GNU gettext() function is already present or preinstalled.])
7712 AC_DEFINE(HAVE_DCGETTEXT, 1,
7713 [Define if the GNU dcgettext() function is already present or preinstalled.])
7714 fi
7715
7716 dnl We need to process the po/ directory.
7717 POSUB=po
7718 fi
7719
7720 ifelse(gt_included_intl, yes, [
7721 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
7722 dnl to 'yes' because some of the testsuite requires it.
7723 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
7724 BUILD_INCLUDED_LIBINTL=yes
7725 fi
7726
7727 dnl Make all variables we use known to autoconf.
7728 AC_SUBST(BUILD_INCLUDED_LIBINTL)
7729 AC_SUBST(USE_INCLUDED_LIBINTL)
7730 AC_SUBST(CATOBJEXT)
7731
7732 dnl For backward compatibility. Some configure.ins may be using this.
7733 nls_cv_header_intl=
7734 nls_cv_header_libgt=
7735
7736 dnl For backward compatibility. Some Makefiles may be using this.
7737 DATADIRNAME=share
7738 AC_SUBST(DATADIRNAME)
7739
7740 dnl For backward compatibility. Some Makefiles may be using this.
7741 INSTOBJEXT=.mo
7742 AC_SUBST(INSTOBJEXT)
7743
7744 dnl For backward compatibility. Some Makefiles may be using this.
7745 GENCAT=gencat
7746 AC_SUBST(GENCAT)
7747
7748 dnl For backward compatibility. Some Makefiles may be using this.
7749 INTLOBJS=
7750 if test "$USE_INCLUDED_LIBINTL" = yes; then
7751 INTLOBJS="\$(GETTOBJS)"
7752 fi
7753 AC_SUBST(INTLOBJS)
7754
7755 dnl Enable libtool support if the surrounding package wishes it.
7756 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
7757 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
7758 ])
7759
7760 dnl For backward compatibility. Some Makefiles may be using this.
7761 INTLLIBS="$LIBINTL"
7762 AC_SUBST(INTLLIBS)
7763
7764 dnl Make all documented variables known to autoconf.
7765 AC_SUBST(LIBINTL)
7766 AC_SUBST(LTLIBINTL)
7767 AC_SUBST(POSUB)
82377768 ])
82387769
8239 AC_DEFUN([AM_MKINSTALLDIRS],
7770
7771 dnl Checks for all prerequisites of the intl subdirectory,
7772 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
7773 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
7774 AC_DEFUN([AM_INTL_SUBDIR],
82407775 [
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" ;;
7776 AC_REQUIRE([AC_PROG_INSTALL])dnl
7777 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7778 AC_REQUIRE([AC_PROG_CC])dnl
7779 AC_REQUIRE([AC_CANONICAL_HOST])dnl
7780 AC_REQUIRE([gt_GLIBC2])dnl
7781 AC_REQUIRE([AC_PROG_RANLIB])dnl
7782 AC_REQUIRE([AC_ISC_POSIX])dnl
7783 AC_REQUIRE([AC_HEADER_STDC])dnl
7784 AC_REQUIRE([AC_C_CONST])dnl
7785 AC_REQUIRE([bh_C_SIGNED])dnl
7786 AC_REQUIRE([AC_C_INLINE])dnl
7787 AC_REQUIRE([AC_TYPE_OFF_T])dnl
7788 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
7789 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
7790 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
7791 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
7792 AC_REQUIRE([gt_TYPE_WINT_T])dnl
7793 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
7794 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
7795 AC_REQUIRE([gt_TYPE_INTMAX_T])
7796 AC_REQUIRE([gt_PRINTF_POSIX])
7797 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
7798 AC_REQUIRE([AC_FUNC_MMAP])dnl
7799 AC_REQUIRE([gl_GLIBC21])dnl
7800 AC_REQUIRE([gt_INTDIV0])dnl
7801 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
7802 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
7803 AC_REQUIRE([gt_INTTYPES_PRI])dnl
7804 AC_REQUIRE([gl_XSIZE])dnl
7805 AC_REQUIRE([gt_INTL_MACOSX])dnl
7806
7807 AC_CHECK_TYPE([ptrdiff_t], ,
7808 [AC_DEFINE([ptrdiff_t], [long],
7809 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
7810 ])
7811 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7812 stdlib.h string.h unistd.h sys/param.h])
7813 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
7814 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
7815 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
7816 __fsetlocking])
7817
7818 dnl Use the _snprintf function only if it is declared (because on NetBSD it
7819 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
7820 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
7821 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
7822
7823 dnl Use the *_unlocked functions only if they are declared.
7824 dnl (because some of them were defined without being declared in Solaris
7825 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
7826 dnl on Solaris 2.5.1 to run on Solaris 2.6).
7827 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
7828 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
7829 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
7830 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
7831
7832 case $gt_cv_func_printf_posix in
7833 *yes) HAVE_POSIX_PRINTF=1 ;;
7834 *) HAVE_POSIX_PRINTF=0 ;;
7835 esac
7836 AC_SUBST([HAVE_POSIX_PRINTF])
7837 if test "$ac_cv_func_asprintf" = yes; then
7838 HAVE_ASPRINTF=1
7839 else
7840 HAVE_ASPRINTF=0
7841 fi
7842 AC_SUBST([HAVE_ASPRINTF])
7843 if test "$ac_cv_func_snprintf" = yes; then
7844 HAVE_SNPRINTF=1
7845 else
7846 HAVE_SNPRINTF=0
7847 fi
7848 AC_SUBST([HAVE_SNPRINTF])
7849 if test "$ac_cv_func_wprintf" = yes; then
7850 HAVE_WPRINTF=1
7851 else
7852 HAVE_WPRINTF=0
7853 fi
7854 AC_SUBST([HAVE_WPRINTF])
7855
7856 AM_ICONV
7857 AM_LANGINFO_CODESET
7858 if test $ac_cv_header_locale_h = yes; then
7859 gt_LC_MESSAGES
7860 fi
7861
7862 if test -n "$INTL_MACOSX_LIBS"; then
7863 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7864 fi
7865
7866 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
7867 dnl because plural.y uses bison specific features. It requires at least
7868 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
7869 dnl compile.
7870 dnl bison is only needed for the maintainer (who touches plural.y). But in
7871 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
7872 dnl the rule in general Makefile. Now, some people carelessly touch the
7873 dnl files or have a broken "make" program, hence the plural.c rule will
7874 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
7875 dnl present or too old.
7876 AC_CHECK_PROGS([INTLBISON], [bison])
7877 if test -z "$INTLBISON"; then
7878 ac_verc_fail=yes
7879 else
7880 dnl Found it, now check the version.
7881 AC_MSG_CHECKING([version of bison])
7882 changequote(<<,>>)dnl
7883 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7884 case $ac_prog_version in
7885 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
7886 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
7887 changequote([,])dnl
7888 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
7889 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
82517890 esac
8252 fi
8253 if test -z "$MKINSTALLDIRS"; then
8254 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8255 fi
8256 AC_SUBST(MKINSTALLDIRS)
7891 AC_MSG_RESULT([$ac_prog_version])
7892 fi
7893 if test $ac_verc_fail = yes; then
7894 INTLBISON=:
7895 fi
82577896 ])
7897
7898
7899 dnl Checks for special options needed on MacOS X.
7900 dnl Defines INTL_MACOSX_LIBS.
7901 AC_DEFUN([gt_INTL_MACOSX],
7902 [
7903 dnl Check for API introduced in MacOS X 10.2.
7904 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
7905 gt_cv_func_CFPreferencesCopyAppValue,
7906 [gt_save_CPPFLAGS="$CPPFLAGS"
7907 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7908 gt_save_LIBS="$LIBS"
7909 LIBS="$LIBS -framework CoreFoundation"
7910 AC_TRY_LINK([#include <CFPreferences.h>],
7911 [CFPreferencesCopyAppValue(NULL, NULL)],
7912 [gt_cv_func_CFPreferencesCopyAppValue=yes],
7913 [gt_cv_func_CFPreferencesCopyAppValue=no])
7914 CPPFLAGS="$gt_save_CPPFLAGS"
7915 LIBS="$gt_save_LIBS"])
7916 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7917 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
7918 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
7919 fi
7920 dnl Check for API introduced in MacOS X 10.3.
7921 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
7922 [gt_save_CPPFLAGS="$CPPFLAGS"
7923 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7924 gt_save_LIBS="$LIBS"
7925 LIBS="$LIBS -framework CoreFoundation"
7926 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
7927 [gt_cv_func_CFLocaleCopyCurrent=yes],
7928 [gt_cv_func_CFLocaleCopyCurrent=no])
7929 CPPFLAGS="$gt_save_CPPFLAGS"
7930 LIBS="$gt_save_LIBS"])
7931 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7932 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
7933 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
7934 fi
7935 INTL_MACOSX_LIBS=
7936 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7937 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7938 fi
7939 AC_SUBST([INTL_MACOSX_LIBS])
7940 ])
7941
7942
7943 dnl gt_CHECK_DECL(FUNC, INCLUDES)
7944 dnl Check whether a function is declared.
7945 AC_DEFUN([gt_CHECK_DECL],
7946 [
7947 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
7948 [AC_TRY_COMPILE([$2], [
7949 #ifndef $1
7950 char *p = (char *) $1;
7951 #endif
7952 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
7953 if test $ac_cv_have_decl_$1 = yes; then
7954 gt_value=1
7955 else
7956 gt_value=0
7957 fi
7958 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
7959 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
7960 ])
7961
7962
7963 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
7964 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
82587965
82597966 # po.m4 serial 7 (gettext-0.14.3)
82607967 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
86868393 mv "$ac_file.tmp" "$ac_file"
86878394 ])
86888395
8689 # printf-posix.m4 serial 2 (gettext-0.13.1)
8690 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8396 # nls.m4 serial 2 (gettext-0.14.3)
8397 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
86918398 dnl This file is free software; the Free Software Foundation
86928399 dnl gives unlimited permission to copy and/or distribute it,
86938400 dnl with or without modifications, as long as this notice is preserved.
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],
8401 dnl
8402 dnl This file can can be used in projects which are not available under
8403 dnl the GNU General Public License or the GNU Library General Public
8404 dnl License but which still want to provide support for the GNU gettext
8405 dnl functionality.
8406 dnl Please note that the actual code of the GNU gettext library is covered
8407 dnl by the GNU Library General Public License, and the rest of the GNU
8408 dnl gettext package package is covered by the GNU General Public License.
8409 dnl They are *not* in the public domain.
8410
8411 dnl Authors:
8412 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8413 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8414
8415 AC_PREREQ(2.50)
8416
8417 AC_DEFUN([AM_NLS],
87008418 [
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
8419 AC_MSG_CHECKING([whether NLS is requested])
8420 dnl Default is enabled NLS
8421 AC_ARG_ENABLE(nls,
8422 [ --disable-nls do not use Native Language Support],
8423 USE_NLS=$enableval, USE_NLS=yes)
8424 AC_MSG_RESULT($USE_NLS)
8425 AC_SUBST(USE_NLS)
8426 ])
8427
8428 AC_DEFUN([AM_MKINSTALLDIRS],
8429 [
8430 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
8431 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
8432 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
8433 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
8434 dnl Try to locate it.
8435 MKINSTALLDIRS=
8436 if test -n "$ac_aux_dir"; then
8437 case "$ac_aux_dir" in
8438 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
8439 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
8440 esac
8441 fi
8442 if test -z "$MKINSTALLDIRS"; then
8443 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8444 fi
8445 AC_SUBST(MKINSTALLDIRS)
87328446 ])
87338447
87348448 # progtest.m4 serial 4 (gettext-0.14.2)
88248538 AC_SUBST($1)dnl
88258539 ])
88268540
8541 # iconv.m4 serial AM4 (gettext-0.11.3)
8542 dnl Copyright (C) 2000-2002 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
8549 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
8550 [
8551 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
8552 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
8553 AC_REQUIRE([AC_LIB_RPATH])
8554
8555 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8556 dnl accordingly.
8557 AC_LIB_LINKFLAGS_BODY([iconv])
8558 ])
8559
8560 AC_DEFUN([AM_ICONV_LINK],
8561 [
8562 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
8563 dnl those with the standalone portable GNU libiconv installed).
8564
8565 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
8566 dnl accordingly.
8567 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
8568
8569 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
8570 dnl because if the user has installed libiconv and not disabled its use
8571 dnl via --without-libiconv-prefix, he wants to use it. The first
8572 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
8573 am_save_CPPFLAGS="$CPPFLAGS"
8574 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
8575
8576 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
8577 am_cv_func_iconv="no, consider installing GNU libiconv"
8578 am_cv_lib_iconv=no
8579 AC_TRY_LINK([#include <stdlib.h>
8580 #include <iconv.h>],
8581 [iconv_t cd = iconv_open("","");
8582 iconv(cd,NULL,NULL,NULL,NULL);
8583 iconv_close(cd);],
8584 am_cv_func_iconv=yes)
8585 if test "$am_cv_func_iconv" != yes; then
8586 am_save_LIBS="$LIBS"
8587 LIBS="$LIBS $LIBICONV"
8588 AC_TRY_LINK([#include <stdlib.h>
8589 #include <iconv.h>],
8590 [iconv_t cd = iconv_open("","");
8591 iconv(cd,NULL,NULL,NULL,NULL);
8592 iconv_close(cd);],
8593 am_cv_lib_iconv=yes
8594 am_cv_func_iconv=yes)
8595 LIBS="$am_save_LIBS"
8596 fi
8597 ])
8598 if test "$am_cv_func_iconv" = yes; then
8599 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
8600 fi
8601 if test "$am_cv_lib_iconv" = yes; then
8602 AC_MSG_CHECKING([how to link with libiconv])
8603 AC_MSG_RESULT([$LIBICONV])
8604 else
8605 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
8606 dnl either.
8607 CPPFLAGS="$am_save_CPPFLAGS"
8608 LIBICONV=
8609 LTLIBICONV=
8610 fi
8611 AC_SUBST(LIBICONV)
8612 AC_SUBST(LTLIBICONV)
8613 ])
8614
8615 AC_DEFUN([AM_ICONV],
8616 [
8617 AM_ICONV_LINK
8618 if test "$am_cv_func_iconv" = yes; then
8619 AC_MSG_CHECKING([for iconv declaration])
8620 AC_CACHE_VAL(am_cv_proto_iconv, [
8621 AC_TRY_COMPILE([
8622 #include <stdlib.h>
8623 #include <iconv.h>
8624 extern
8625 #ifdef __cplusplus
8626 "C"
8627 #endif
8628 #if defined(__STDC__) || defined(__cplusplus)
8629 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8630 #else
8631 size_t iconv();
8632 #endif
8633 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
8634 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
8635 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8636 AC_MSG_RESULT([$]{ac_t:-
8637 }[$]am_cv_proto_iconv)
8638 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
8639 [Define as const if the declaration of iconv() needs const.])
8640 fi
8641 ])
8642
8643 # glibc2.m4 serial 1
8644 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
8645 dnl This file is free software; the Free Software Foundation
8646 dnl gives unlimited permission to copy and/or distribute it,
8647 dnl with or without modifications, as long as this notice is preserved.
8648
8649 # Test for the GNU C Library, version 2.0 or newer.
8650 # From Bruno Haible.
8651
8652 AC_DEFUN([gt_GLIBC2],
8653 [
8654 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
8655 ac_cv_gnu_library_2,
8656 [AC_EGREP_CPP([Lucky GNU user],
8657 [
8658 #include <features.h>
8659 #ifdef __GNU_LIBRARY__
8660 #if (__GLIBC__ >= 2)
8661 Lucky GNU user
8662 #endif
8663 #endif
8664 ],
8665 ac_cv_gnu_library_2=yes,
8666 ac_cv_gnu_library_2=no)
8667 ]
8668 )
8669 AC_SUBST(GLIBC2)
8670 GLIBC2="$ac_cv_gnu_library_2"
8671 ]
8672 )
8673
88278674 # signed.m4 serial 1 (gettext-0.10.40)
88288675 dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
88298676 dnl This file is free software; the Free Software Foundation
88408687 AC_DEFINE(signed, ,
88418688 [Define to empty if the C compiler doesn't support this keyword.])
88428689 fi
8690 ])
8691
8692 # longlong.m4 serial 5
8693 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
8694 dnl This file is free software; the Free Software Foundation
8695 dnl gives unlimited permission to copy and/or distribute it,
8696 dnl with or without modifications, as long as this notice is preserved.
8697
8698 dnl From Paul Eggert.
8699
8700 # Define HAVE_LONG_LONG if 'long long' works.
8701
8702 AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8703 [
8704 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
8705 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
8706 [long long llmax = (long long) -1;
8707 return ll << i | ll >> i | llmax / ll | llmax % ll;],
8708 ac_cv_type_long_long=yes,
8709 ac_cv_type_long_long=no)])
8710 if test $ac_cv_type_long_long = yes; then
8711 AC_DEFINE(HAVE_LONG_LONG, 1,
8712 [Define if you have the 'long long' type.])
8713 fi
8714 ])
8715
8716 # longdouble.m4 serial 1 (gettext-0.12)
8717 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8718 dnl This file is free software; the Free Software Foundation
8719 dnl gives unlimited permission to copy and/or distribute it,
8720 dnl with or without modifications, as long as this notice is preserved.
8721
8722 dnl From Bruno Haible.
8723 dnl Test whether the compiler supports the 'long double' type.
8724 dnl Prerequisite: AC_PROG_CC
8725
8726 AC_DEFUN([gt_TYPE_LONGDOUBLE],
8727 [
8728 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8729 [if test "$GCC" = yes; then
8730 gt_cv_c_long_double=yes
8731 else
8732 AC_TRY_COMPILE([
8733 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8734 long double foo = 0.0;
8735 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8736 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8737 ], ,
8738 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8739 fi])
8740 if test $gt_cv_c_long_double = yes; then
8741 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8742 fi
8743 ])
8744
8745 # wchar_t.m4 serial 1 (gettext-0.12)
8746 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
8747 dnl This file is free software; the Free Software Foundation
8748 dnl gives unlimited permission to copy and/or distribute it,
8749 dnl with or without modifications, as long as this notice is preserved.
8750
8751 dnl From Bruno Haible.
8752 dnl Test whether <stddef.h> has the 'wchar_t' type.
8753 dnl Prerequisite: AC_PROG_CC
8754
8755 AC_DEFUN([gt_TYPE_WCHAR_T],
8756 [
8757 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
8758 [AC_TRY_COMPILE([#include <stddef.h>
8759 wchar_t foo = (wchar_t)'\0';], ,
8760 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
8761 if test $gt_cv_c_wchar_t = yes; then
8762 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
8763 fi
8764 ])
8765
8766 # wint_t.m4 serial 1 (gettext-0.12)
8767 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8768 dnl This file is free software; the Free Software Foundation
8769 dnl gives unlimited permission to copy and/or distribute it,
8770 dnl with or without modifications, as long as this notice is preserved.
8771
8772 dnl From Bruno Haible.
8773 dnl Test whether <wchar.h> has the 'wint_t' type.
8774 dnl Prerequisite: AC_PROG_CC
8775
8776 AC_DEFUN([gt_TYPE_WINT_T],
8777 [
8778 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
8779 [AC_TRY_COMPILE([#include <wchar.h>
8780 wint_t foo = (wchar_t)'\0';], ,
8781 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
8782 if test $gt_cv_c_wint_t = yes; then
8783 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
8784 fi
8785 ])
8786
8787 # inttypes_h.m4 serial 6
8788 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8789 dnl This file is free software; the Free Software Foundation
8790 dnl gives unlimited permission to copy and/or distribute it,
8791 dnl with or without modifications, as long as this notice is preserved.
8792
8793 dnl From Paul Eggert.
8794
8795 # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
8796 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8797
8798 AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
8799 [
8800 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
8801 [AC_TRY_COMPILE(
8802 [#include <sys/types.h>
8803 #include <inttypes.h>],
8804 [uintmax_t i = (uintmax_t) -1;],
8805 gl_cv_header_inttypes_h=yes,
8806 gl_cv_header_inttypes_h=no)])
8807 if test $gl_cv_header_inttypes_h = yes; then
8808 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
8809 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
8810 and declares uintmax_t. ])
8811 fi
8812 ])
8813
8814 # stdint_h.m4 serial 5
8815 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
8816 dnl This file is free software; the Free Software Foundation
8817 dnl gives unlimited permission to copy and/or distribute it,
8818 dnl with or without modifications, as long as this notice is preserved.
8819
8820 dnl From Paul Eggert.
8821
8822 # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
8823 # doesn't clash with <sys/types.h>, and declares uintmax_t.
8824
8825 AC_DEFUN([gl_AC_HEADER_STDINT_H],
8826 [
8827 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
8828 [AC_TRY_COMPILE(
8829 [#include <sys/types.h>
8830 #include <stdint.h>],
8831 [uintmax_t i = (uintmax_t) -1;],
8832 gl_cv_header_stdint_h=yes,
8833 gl_cv_header_stdint_h=no)])
8834 if test $gl_cv_header_stdint_h = yes; then
8835 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
8836 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
8837 and declares uintmax_t. ])
8838 fi
8839 ])
8840
8841 # intmax.m4 serial 2 (gettext-0.14.2)
8842 dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
8843 dnl This file is free software; the Free Software Foundation
8844 dnl gives unlimited permission to copy and/or distribute it,
8845 dnl with or without modifications, as long as this notice is preserved.
8846
8847 dnl From Bruno Haible.
8848 dnl Test whether the system has the 'intmax_t' type, but don't attempt to
8849 dnl find a replacement if it is lacking.
8850
8851 AC_DEFUN([gt_TYPE_INTMAX_T],
8852 [
8853 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
8854 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
8855 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
8856 [AC_TRY_COMPILE([
8857 #include <stddef.h>
8858 #include <stdlib.h>
8859 #if HAVE_STDINT_H_WITH_UINTMAX
8860 #include <stdint.h>
8861 #endif
8862 #if HAVE_INTTYPES_H_WITH_UINTMAX
8863 #include <inttypes.h>
8864 #endif
8865 ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
8866 if test $gt_cv_c_intmax_t = yes; then
8867 AC_DEFINE(HAVE_INTMAX_T, 1,
8868 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
8869 fi
8870 ])
8871
8872 # printf-posix.m4 serial 2 (gettext-0.13.1)
8873 dnl Copyright (C) 2003 Free Software Foundation, Inc.
8874 dnl This file is free software; the Free Software Foundation
8875 dnl gives unlimited permission to copy and/or distribute it,
8876 dnl with or without modifications, as long as this notice is preserved.
8877
8878 dnl From Bruno Haible.
8879 dnl Test whether the printf() function supports POSIX/XSI format strings with
8880 dnl positions.
8881
8882 AC_DEFUN([gt_PRINTF_POSIX],
8883 [
8884 AC_REQUIRE([AC_PROG_CC])
8885 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
8886 gt_cv_func_printf_posix,
8887 [
8888 AC_TRY_RUN([
8889 #include <stdio.h>
8890 #include <string.h>
8891 /* The string "%2$d %1$d", with dollar characters protected from the shell's
8892 dollar expansion (possibly an autoconf bug). */
8893 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8894 static char buf[100];
8895 int main ()
8896 {
8897 sprintf (buf, format, 33, 55);
8898 return (strcmp (buf, "55 33") != 0);
8899 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
8900 [
8901 AC_EGREP_CPP(notposix, [
8902 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8903 notposix
8904 #endif
8905 ], gt_cv_func_printf_posix="guessing no",
8906 gt_cv_func_printf_posix="guessing yes")
8907 ])
8908 ])
8909 case $gt_cv_func_printf_posix in
8910 *yes)
8911 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
8912 [Define if your printf() function supports format strings with positions.])
8913 ;;
8914 esac
8915 ])
8916
8917 # glibc21.m4 serial 3
8918 dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
8919 dnl This file is free software; the Free Software Foundation
8920 dnl gives unlimited permission to copy and/or distribute it,
8921 dnl with or without modifications, as long as this notice is preserved.
8922
8923 # Test for the GNU C Library, version 2.1 or newer.
8924 # From Bruno Haible.
8925
8926 AC_DEFUN([gl_GLIBC21],
8927 [
8928 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
8929 ac_cv_gnu_library_2_1,
8930 [AC_EGREP_CPP([Lucky GNU user],
8931 [
8932 #include <features.h>
8933 #ifdef __GNU_LIBRARY__
8934 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
8935 Lucky GNU user
8936 #endif
8937 #endif
8938 ],
8939 ac_cv_gnu_library_2_1=yes,
8940 ac_cv_gnu_library_2_1=no)
8941 ]
8942 )
8943 AC_SUBST(GLIBC21)
8944 GLIBC21="$ac_cv_gnu_library_2_1"
8945 ]
8946 )
8947
8948 # intdiv0.m4 serial 1 (gettext-0.11.3)
8949 dnl Copyright (C) 2002 Free Software Foundation, Inc.
8950 dnl This file is free software; the Free Software Foundation
8951 dnl gives unlimited permission to copy and/or distribute it,
8952 dnl with or without modifications, as long as this notice is preserved.
8953
8954 dnl From Bruno Haible.
8955
8956 AC_DEFUN([gt_INTDIV0],
8957 [
8958 AC_REQUIRE([AC_PROG_CC])dnl
8959 AC_REQUIRE([AC_CANONICAL_HOST])dnl
8960
8961 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
8962 gt_cv_int_divbyzero_sigfpe,
8963 [
8964 AC_TRY_RUN([
8965 #include <stdlib.h>
8966 #include <signal.h>
8967
8968 static void
8969 #ifdef __cplusplus
8970 sigfpe_handler (int sig)
8971 #else
8972 sigfpe_handler (sig) int sig;
8973 #endif
8974 {
8975 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
8976 exit (sig != SIGFPE);
8977 }
8978
8979 int x = 1;
8980 int y = 0;
8981 int z;
8982 int nan;
8983
8984 int main ()
8985 {
8986 signal (SIGFPE, sigfpe_handler);
8987 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
8988 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
8989 signal (SIGTRAP, sigfpe_handler);
8990 #endif
8991 /* Linux/SPARC yields signal SIGILL. */
8992 #if defined (__sparc__) && defined (__linux__)
8993 signal (SIGILL, sigfpe_handler);
8994 #endif
8995
8996 z = x / y;
8997 nan = y / y;
8998 exit (1);
8999 }
9000 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
9001 [
9002 # Guess based on the CPU.
9003 case "$host_cpu" in
9004 alpha* | i[34567]86 | m68k | s390*)
9005 gt_cv_int_divbyzero_sigfpe="guessing yes";;
9006 *)
9007 gt_cv_int_divbyzero_sigfpe="guessing no";;
9008 esac
9009 ])
9010 ])
9011 case "$gt_cv_int_divbyzero_sigfpe" in
9012 *yes) value=1;;
9013 *) value=0;;
9014 esac
9015 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
9016 [Define if integer division by zero raises signal SIGFPE.])
9017 ])
9018
9019 # uintmax_t.m4 serial 9
9020 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
9021 dnl This file is free software; the Free Software Foundation
9022 dnl gives unlimited permission to copy and/or distribute it,
9023 dnl with or without modifications, as long as this notice is preserved.
9024
9025 dnl From Paul Eggert.
9026
9027 AC_PREREQ(2.13)
9028
9029 # Define uintmax_t to 'unsigned long' or 'unsigned long long'
9030 # if it is not already defined in <stdint.h> or <inttypes.h>.
9031
9032 AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
9033 [
9034 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
9035 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
9036 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
9037 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
9038 test $ac_cv_type_unsigned_long_long = yes \
9039 && ac_type='unsigned long long' \
9040 || ac_type='unsigned long'
9041 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
9042 [Define to unsigned long or unsigned long long
9043 if <stdint.h> and <inttypes.h> don't define.])
9044 else
9045 AC_DEFINE(HAVE_UINTMAX_T, 1,
9046 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
9047 fi
9048 ])
9049
9050 # ulonglong.m4 serial 4
9051 dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
9052 dnl This file is free software; the Free Software Foundation
9053 dnl gives unlimited permission to copy and/or distribute it,
9054 dnl with or without modifications, as long as this notice is preserved.
9055
9056 dnl From Paul Eggert.
9057
9058 # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
9059
9060 AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
9061 [
9062 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
9063 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
9064 [unsigned long long ullmax = (unsigned long long) -1;
9065 return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
9066 ac_cv_type_unsigned_long_long=yes,
9067 ac_cv_type_unsigned_long_long=no)])
9068 if test $ac_cv_type_unsigned_long_long = yes; then
9069 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
9070 [Define if you have the 'unsigned long long' type.])
9071 fi
9072 ])
9073
9074 # inttypes.m4 serial 1 (gettext-0.11.4)
9075 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
9076 dnl This file is free software; the Free Software Foundation
9077 dnl gives unlimited permission to copy and/or distribute it,
9078 dnl with or without modifications, as long as this notice is preserved.
9079
9080 dnl From Paul Eggert.
9081
9082 # Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
9083 # <sys/types.h>.
9084
9085 AC_DEFUN([gt_HEADER_INTTYPES_H],
9086 [
9087 AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
9088 [
9089 AC_TRY_COMPILE(
9090 [#include <sys/types.h>
9091 #include <inttypes.h>],
9092 [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
9093 ])
9094 if test $gt_cv_header_inttypes_h = yes; then
9095 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
9096 [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
9097 fi
9098 ])
9099
9100 # inttypes-pri.m4 serial 1 (gettext-0.11.4)
9101 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
9102 dnl This file is free software; the Free Software Foundation
9103 dnl gives unlimited permission to copy and/or distribute it,
9104 dnl with or without modifications, as long as this notice is preserved.
9105
9106 dnl From Bruno Haible.
9107
9108 # Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
9109 # macros to non-string values. This is the case on AIX 4.3.3.
9110
9111 AC_DEFUN([gt_INTTYPES_PRI],
9112 [
9113 AC_REQUIRE([gt_HEADER_INTTYPES_H])
9114 if test $gt_cv_header_inttypes_h = yes; then
9115 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
9116 gt_cv_inttypes_pri_broken,
9117 [
9118 AC_TRY_COMPILE([#include <inttypes.h>
9119 #ifdef PRId32
9120 char *p = PRId32;
9121 #endif
9122 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
9123 ])
9124 fi
9125 if test "$gt_cv_inttypes_pri_broken" = yes; then
9126 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
9127 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
9128 fi
9129 ])
9130
9131 # xsize.m4 serial 3
9132 dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
9133 dnl This file is free software; the Free Software Foundation
9134 dnl gives unlimited permission to copy and/or distribute it,
9135 dnl with or without modifications, as long as this notice is preserved.
9136
9137 AC_DEFUN([gl_XSIZE],
9138 [
9139 dnl Prerequisites of lib/xsize.h.
9140 AC_REQUIRE([gl_SIZE_MAX])
9141 AC_REQUIRE([AC_C_INLINE])
9142 AC_CHECK_HEADERS(stdint.h)
88439143 ])
88449144
88459145 # size_max.m4 serial 2
89029202 fi
89039203 ])
89049204
8905 # stdint_h.m4 serial 5
8906 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
9205 # codeset.m4 serial AM1 (gettext-0.10.40)
9206 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
89079207 dnl This file is free software; the Free Software Foundation
89089208 dnl gives unlimited permission to copy and/or distribute it,
89099209 dnl with or without modifications, as long as this notice is preserved.
89109210
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],
9211 dnl From Bruno Haible.
9212
9213 AC_DEFUN([AM_LANGINFO_CODESET],
89179214 [
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. ])
9215 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
9216 [AC_TRY_LINK([#include <langinfo.h>],
9217 [char* cs = nl_langinfo(CODESET);],
9218 am_cv_langinfo_codeset=yes,
9219 am_cv_langinfo_codeset=no)
9220 ])
9221 if test $am_cv_langinfo_codeset = yes; then
9222 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
9223 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
89299224 fi
89309225 ])
89319226
8932 # uintmax_t.m4 serial 9
8933 dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
9227 # lcmessage.m4 serial 4 (gettext-0.14.2)
9228 dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
89349229 dnl This file is free software; the Free Software Foundation
89359230 dnl gives unlimited permission to copy and/or distribute it,
89369231 dnl with or without modifications, as long as this notice is preserved.
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],
9232 dnl
9233 dnl This file can can be used in projects which are not available under
9234 dnl the GNU General Public License or the GNU Library General Public
9235 dnl License but which still want to provide support for the GNU gettext
9236 dnl functionality.
9237 dnl Please note that the actual code of the GNU gettext library is covered
9238 dnl by the GNU Library General Public License, and the rest of the GNU
9239 dnl gettext package package is covered by the GNU General Public License.
9240 dnl They are *not* in the public domain.
9241
9242 dnl Authors:
9243 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
9244
9245 # Check whether LC_MESSAGES is available in <locale.h>.
9246
9247 AC_DEFUN([gt_LC_MESSAGES],
89469248 [
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>.])
9249 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
9250 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
9251 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
9252 if test $gt_cv_val_LC_MESSAGES = yes; then
9253 AC_DEFINE(HAVE_LC_MESSAGES, 1,
9254 [Define if your <locale.h> file defines LC_MESSAGES.])
89609255 fi
89619256 ])
89629257
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 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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
14
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
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkglibdir = $(libdir)/@PACKAGE@
2038 pkgincludedir = $(includedir)/@PACKAGE@
39
2140 top_builddir = ..
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2347 INSTALL = @INSTALL@
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)
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
2953 NORMAL_INSTALL = :
3054 PRE_INSTALL = :
3155 POST_INSTALL = :
3256 NORMAL_UNINSTALL = :
3357 PRE_UNINSTALL = :
3458 POST_UNINSTALL = :
35 build_triplet = @build@
59 host_alias = @host_alias@
3660 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@
6261 AR = @AR@
63 AUTOCONF = @AUTOCONF@
64 AUTOHEADER = @AUTOHEADER@
65 AUTOMAKE = @AUTOMAKE@
66 AWK = @AWK@
62 AS = @AS@
6763 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6864 CATOBJEXT = @CATOBJEXT@
6965 CC = @CC@
70 CCDEPMODE = @CCDEPMODE@
7166 CFLAGS = @CFLAGS@
72 CPP = @CPP@
73 CPPFLAGS = @CPPFLAGS@
7467 CXX = @CXX@
7568 CXXCPP = @CXXCPP@
76 CXXDEPMODE = @CXXDEPMODE@
77 CXXFLAGS = @CXXFLAGS@
78 CYGPATH_W = @CYGPATH_W@
7969 DATADIRNAME = @DATADIRNAME@
80 DEFS = @DEFS@
81 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
8271 ECHO = @ECHO@
83 ECHO_C = @ECHO_C@
84 ECHO_N = @ECHO_N@
85 ECHO_T = @ECHO_T@
8672 EGREP = @EGREP@
8773 EXEEXT = @EXEEXT@
8874 F77 = @F77@
89 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
9077 GENCAT = @GENCAT@
9178 GLIBC2 = @GLIBC2@
9279 GLIBC21 = @GLIBC21@
9380 GMSGFMT = @GMSGFMT@
9481 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
9583 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
9684 HAVE_SNPRINTF = @HAVE_SNPRINTF@
9785 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@
10286 INSTOBJEXT = @INSTOBJEXT@
10387 INTLBISON = @INTLBISON@
10488 INTLLIBS = @INTLLIBS@
10589 INTLOBJS = @INTLOBJS@
10690 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
10791 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
108 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
10993 LIBICONV = @LIBICONV@
11094 LIBINTL = @LIBINTL@
111 LIBOBJS = @LIBOBJS@
11295 LIBS = @LIBS@
11396 LIBTOOL = @LIBTOOL@
11497 LN_S = @LN_S@
98 LTLIB = @LTLIB@
11599 LTLIBICONV = @LTLIBICONV@
116100 LTLIBINTL = @LTLIBINTL@
117 LTLIBOBJS = @LTLIBOBJS@
118101 MAINT = @MAINT@
119 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
120 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
121102 MAKEINFO = @MAKEINFO@
122103 MKINSTALLDIRS = @MKINSTALLDIRS@
123 MSGFMT = @MSGFMT@
124 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
125105 OBJEXT = @OBJEXT@
126106 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@
133107 PA_MODULES_PATH = @PA_MODULES_PATH@
134108 PA_VERSION = @PA_VERSION@
135109 PE_CFLAGS = @PE_CFLAGS@
140114 PY_MODULES_PATH = @PY_MODULES_PATH@
141115 PY_VERSION = @PY_VERSION@
142116 RANLIB = @RANLIB@
143 SET_MAKE = @SET_MAKE@
144 SHELL = @SHELL@
117 RC = @RC@
145118 STRIP = @STRIP@
146119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
147120 USE_NLS = @USE_NLS@
148121 VERSION = @VERSION@
149122 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@
184123 have_pascal = @have_pascal@
185124 have_perl = @have_perl@
186125 have_python = @have_python@
187126 have_swig = @have_swig@
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@
127
208128 SUBDIRS = python perl pascal
209 all: all-recursive
210
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
211139 .SUFFIXES:
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:
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
251147
252148 # This directory's subdirectories are mostly independent; you can cd
253149 # into them and run `make' without going through this Makefile.
255151 # (1) if the variable is set in `config.status', edit `config.status'
256152 # (which will cause the Makefiles to be regenerated when you run `make');
257153 # (2) otherwise, pass the desired values on the `make' command line.
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; \
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; \
266161 dot_seen=no; \
267162 target=`echo $@ | sed s/-recursive//`; \
268163 list='$(SUBDIRS)'; for subdir in $$list; do \
274169 local_target="$$target"; \
275170 fi; \
276171 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277 || eval $$failcom; \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
278173 done; \
279174 if test "$$dot_seen" = "no"; then \
280175 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
282177
283178 mostlyclean-recursive clean-recursive distclean-recursive \
284179 maintainer-clean-recursive:
285 @failcom='exit 1'; \
286 for f in x $$MAKEFLAGS; do \
287 case $$f in \
288 *=* | --[!k]*);; \
289 *k*) failcom='fail=yes';; \
290 esac; \
180 @set fnord $(MAKEFLAGS); amf=$$2; \
181 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
291185 done; \
292 dot_seen=no; \
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; \
301 done; \
302 rev="$$rev ."; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
303187 target=`echo $@ | sed s/-recursive//`; \
304188 for subdir in $$rev; do \
305189 echo "Making $$target in $$subdir"; \
309193 local_target="$$target"; \
310194 fi; \
311195 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
312 || eval $$failcom; \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
313197 done && test -z "$$fail"
314198 tags-recursive:
315199 list='$(SUBDIRS)'; for subdir in $$list; do \
316200 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
317201 done
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; } \
202
203 tags: TAGS
204
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
329209 END { for (i in files) print i; }'`; \
330 mkid -fID $$unique
331 tags: TAGS
332
333 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
334 $(TAGS_FILES) $(LISP)
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
335214 tags=; \
336215 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; \
344216 list='$(SUBDIRS)'; for subdir in $$list; do \
345 if test "$$subdir" = .; then :; else \
346 test ! -f $$subdir/TAGS || \
347 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
348 fi; \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
349220 done; \
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; } \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
355224 END { for (i in files) print i; }'`; \
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
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:
380231
381232 distclean-tags:
382 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = bindings
383240
384241 distdir: $(DISTFILES)
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; \
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
400244 if test -d $$d/$$file; then \
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; \
245 cp -pr $$d/$$file $(distdir)/$$file; \
405246 else \
406247 test -f $(distdir)/$$file \
407 || cp -p $$d/$$file $(distdir)/$$file \
408 || exit 1; \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
409250 fi; \
410251 done
411 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
252 for subdir in $(SUBDIRS); do \
412253 if test "$$subdir" = .; then :; else \
413 test -d "$(distdir)/$$subdir" \
414 || $(mkdir_p) "$(distdir)/$$subdir" \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
415256 || exit 1; \
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) \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
423259 || exit 1; \
424260 fi; \
425261 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
426266 check-am: all-am
427267 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
271 install-exec: install-exec-recursive
272
273 install-data-am:
274 install-data: install-data-recursive
275
276 install-am: all-am
277 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
428281 all-am: Makefile
282 all-redirect: all-recursive
283 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
429285 installdirs: installdirs-recursive
430286 installdirs-am:
431 install: install-recursive
432 install-exec: install-exec-recursive
433 install-data: install-data-recursive
434 uninstall: uninstall-recursive
435
436 install-am: all-am
437 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
438
439 installcheck: installcheck-recursive
440 install-strip:
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
287
288
445289 mostlyclean-generic:
446290
447291 clean-generic:
448292
449293 distclean-generic:
450 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
451296
452297 maintainer-clean-generic:
453 @echo "This command is intended for maintainers to use"
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
299
300 mostlyclean: mostlyclean-recursive
301
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;"
454314 @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:
483315
484316 maintainer-clean: maintainer-clean-recursive
485 -rm -f Makefile
486 maintainer-clean-am: distclean-am maintainer-clean-generic
487
488 mostlyclean: mostlyclean-recursive
489
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
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
516331
517332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
518333 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
14
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
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkglibdir = $(libdir)/@PACKAGE@
2038 pkgincludedir = $(includedir)/@PACKAGE@
39
2140 top_builddir = ../..
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2347 INSTALL = @INSTALL@
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)
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
2953 NORMAL_INSTALL = :
3054 PRE_INSTALL = :
3155 POST_INSTALL = :
3256 NORMAL_UNINSTALL = :
3357 PRE_UNINSTALL = :
3458 POST_UNINSTALL = :
35 build_triplet = @build@
59 host_alias = @host_alias@
3660 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@
5361 AR = @AR@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
62 AS = @AS@
5863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
5964 CATOBJEXT = @CATOBJEXT@
6065 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6266 CFLAGS = @CFLAGS@
63 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6567 CXX = @CXX@
6668 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
7069 DATADIRNAME = @DATADIRNAME@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
7371 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7772 EGREP = @EGREP@
7873 EXEEXT = @EXEEXT@
7974 F77 = @F77@
80 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
8177 GENCAT = @GENCAT@
8278 GLIBC2 = @GLIBC2@
8379 GLIBC21 = @GLIBC21@
8480 GMSGFMT = @GMSGFMT@
8581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8885 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@
9386 INSTOBJEXT = @INSTOBJEXT@
9487 INTLBISON = @INTLBISON@
9588 INTLLIBS = @INTLLIBS@
9689 INTLOBJS = @INTLOBJS@
9790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
99 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
10093 LIBICONV = @LIBICONV@
10194 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
10395 LIBS = @LIBS@
10496 LIBTOOL = @LIBTOOL@
10597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
10699 LTLIBICONV = @LTLIBICONV@
107100 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
109101 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
112102 MAKEINFO = @MAKEINFO@
113103 MKINSTALLDIRS = @MKINSTALLDIRS@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
116105 OBJEXT = @OBJEXT@
117106 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@
124107 PA_MODULES_PATH = @PA_MODULES_PATH@
125108 PA_VERSION = @PA_VERSION@
126109 PE_CFLAGS = @PE_CFLAGS@
131114 PY_MODULES_PATH = @PY_MODULES_PATH@
132115 PY_VERSION = @PY_VERSION@
133116 RANLIB = @RANLIB@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
117 RC = @RC@
136118 STRIP = @STRIP@
137119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
138120 USE_NLS = @USE_NLS@
139121 VERSION = @VERSION@
140122 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@
175123 have_pascal = @have_pascal@
176124 have_perl = @have_perl@
177125 have_python = @have_python@
178126 have_swig = @have_swig@
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@
127
199128 EXTRA_DIST = Package.fpc hdate.pp hdate_class.pp fpc_README changelog
129
200130 @WITH_PASCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
201132 @WITH_PASCAL_TRUE@CLEANFILES = *.o *.ppu
202 all: all-am
203
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
204143 .SUFFIXES:
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:
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
244151 tags: TAGS
245152 TAGS:
246153
247 ctags: CTAGS
248 CTAGS:
249
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/pascal
250158
251159 distdir: $(DISTFILES)
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; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
267162 if test -d $$d/$$file; then \
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; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
272164 else \
273165 test -f $(distdir)/$$file \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
276168 fi; \
277169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
278174 check-am: all-am
279175 check: check-am
280 all-am: Makefile
281 installdirs:
282 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
283179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
284182 install-data: install-data-am
285 uninstall: uninstall-am
286183
287184 install-am: all-am
288185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
289
290 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
291191 install-strip:
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
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
296196 mostlyclean-generic:
297197
298198 clean-generic:
299199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
300200
301201 distclean-generic:
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
303204
304205 maintainer-clean-generic:
305 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
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;"
306221 @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:
335222
336223 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
339
340 mostlyclean: mostlyclean-am
341
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
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
363231
364232
365233 @WITH_PASCAL_TRUE@all-am: hdate.o hdate_class.o
378246 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) hdate_class.ppu $(DESTDIR)$(PA_MODULES_PATH)/hdate/hdate_class.ppu
379247 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) fpc_README $(DESTDIR)$(PA_MODULES_PATH)/hdate/fpc_README
380248 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) Package.fpc $(DESTDIR)$(PA_MODULES_PATH)/hdate/Package.fpc
249
381250 # Tell versions [3.59,3.63) of GNU make to not export all variables.
382251 # Otherwise a system limit (for SysV at least) may be exceeded.
383252 .NOEXPORT:
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
14
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
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkglibdir = $(libdir)/@PACKAGE@
2038 pkgincludedir = $(includedir)/@PACKAGE@
39
2140 top_builddir = ../..
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2347 INSTALL = @INSTALL@
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)
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
2953 NORMAL_INSTALL = :
3054 PRE_INSTALL = :
3155 POST_INSTALL = :
3256 NORMAL_UNINSTALL = :
3357 PRE_UNINSTALL = :
3458 POST_UNINSTALL = :
35 build_triplet = @build@
59 host_alias = @host_alias@
3660 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@
5361 AR = @AR@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
62 AS = @AS@
5863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
5964 CATOBJEXT = @CATOBJEXT@
6065 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6266 CFLAGS = @CFLAGS@
63 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6567 CXX = @CXX@
6668 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
7069 DATADIRNAME = @DATADIRNAME@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
7371 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7772 EGREP = @EGREP@
7873 EXEEXT = @EXEEXT@
7974 F77 = @F77@
80 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
8177 GENCAT = @GENCAT@
8278 GLIBC2 = @GLIBC2@
8379 GLIBC21 = @GLIBC21@
8480 GMSGFMT = @GMSGFMT@
8581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8885 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@
9386 INSTOBJEXT = @INSTOBJEXT@
9487 INTLBISON = @INTLBISON@
9588 INTLLIBS = @INTLLIBS@
9689 INTLOBJS = @INTLOBJS@
9790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
99 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
10093 LIBICONV = @LIBICONV@
10194 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
10395 LIBS = @LIBS@
10496 LIBTOOL = @LIBTOOL@
10597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
10699 LTLIBICONV = @LTLIBICONV@
107100 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
109101 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
112102 MAKEINFO = @MAKEINFO@
113103 MKINSTALLDIRS = @MKINSTALLDIRS@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
116105 OBJEXT = @OBJEXT@
117106 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@
124107 PA_MODULES_PATH = @PA_MODULES_PATH@
125108 PA_VERSION = @PA_VERSION@
126109 PE_CFLAGS = @PE_CFLAGS@
131114 PY_MODULES_PATH = @PY_MODULES_PATH@
132115 PY_VERSION = @PY_VERSION@
133116 RANLIB = @RANLIB@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
117 RC = @RC@
136118 STRIP = @STRIP@
137119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
138120 USE_NLS = @USE_NLS@
139121 VERSION = @VERSION@
140122 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@
175123 have_pascal = @have_pascal@
176124 have_perl = @have_perl@
177125 have_python = @have_python@
178126 have_swig = @have_swig@
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@
127
199128 EXTRA_DIST = hdate.i
129
200130 @WITH_PERL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
201132 @WITH_PERL_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.pm
202 all: all-am
203
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
204143 .SUFFIXES:
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:
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
244151 tags: TAGS
245152 TAGS:
246153
247 ctags: CTAGS
248 CTAGS:
249
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/perl
250158
251159 distdir: $(DISTFILES)
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; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
267162 if test -d $$d/$$file; then \
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; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
272164 else \
273165 test -f $(distdir)/$$file \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
276168 fi; \
277169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
278174 check-am: all-am
279175 check: check-am
280 all-am: Makefile
281 installdirs:
282 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
283179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
284182 install-data: install-data-am
285 uninstall: uninstall-am
286183
287184 install-am: all-am
288185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
289
290 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
291191 install-strip:
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
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
296196 mostlyclean-generic:
297197
298198 clean-generic:
299199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
300200
301201 distclean-generic:
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
303204
304205 maintainer-clean-generic:
305 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
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;"
306221 @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:
335222
336223 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
339
340 mostlyclean: mostlyclean-am
341
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
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
363231
364232
365233 @WITH_PERL_TRUE@all-am: hdate.so
375243 @WITH_PERL_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/
376244 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.so $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/hdate.so
377245 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.pm $(DESTDIR)$(PE_MODULES_PATH)/hdate.pm
246
378247 # Tell versions [3.59,3.63) of GNU make to not export all variables.
379248 # Otherwise a system limit (for SysV at least) may be exceeded.
380249 .NOEXPORT:
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
14
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
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkglibdir = $(libdir)/@PACKAGE@
2038 pkgincludedir = $(includedir)/@PACKAGE@
39
2140 top_builddir = ../..
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2347 INSTALL = @INSTALL@
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)
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
2953 NORMAL_INSTALL = :
3054 PRE_INSTALL = :
3155 POST_INSTALL = :
3256 NORMAL_UNINSTALL = :
3357 PRE_UNINSTALL = :
3458 POST_UNINSTALL = :
35 build_triplet = @build@
59 host_alias = @host_alias@
3660 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@
5361 AR = @AR@
54 AUTOCONF = @AUTOCONF@
55 AUTOHEADER = @AUTOHEADER@
56 AUTOMAKE = @AUTOMAKE@
57 AWK = @AWK@
62 AS = @AS@
5863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
5964 CATOBJEXT = @CATOBJEXT@
6065 CC = @CC@
61 CCDEPMODE = @CCDEPMODE@
6266 CFLAGS = @CFLAGS@
63 CPP = @CPP@
64 CPPFLAGS = @CPPFLAGS@
6567 CXX = @CXX@
6668 CXXCPP = @CXXCPP@
67 CXXDEPMODE = @CXXDEPMODE@
68 CXXFLAGS = @CXXFLAGS@
69 CYGPATH_W = @CYGPATH_W@
7069 DATADIRNAME = @DATADIRNAME@
71 DEFS = @DEFS@
72 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
7371 ECHO = @ECHO@
74 ECHO_C = @ECHO_C@
75 ECHO_N = @ECHO_N@
76 ECHO_T = @ECHO_T@
7772 EGREP = @EGREP@
7873 EXEEXT = @EXEEXT@
7974 F77 = @F77@
80 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
8177 GENCAT = @GENCAT@
8278 GLIBC2 = @GLIBC2@
8379 GLIBC21 = @GLIBC21@
8480 GMSGFMT = @GMSGFMT@
8581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
8683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
8784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
8885 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@
9386 INSTOBJEXT = @INSTOBJEXT@
9487 INTLBISON = @INTLBISON@
9588 INTLLIBS = @INTLLIBS@
9689 INTLOBJS = @INTLOBJS@
9790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
9891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
99 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
10093 LIBICONV = @LIBICONV@
10194 LIBINTL = @LIBINTL@
102 LIBOBJS = @LIBOBJS@
10395 LIBS = @LIBS@
10496 LIBTOOL = @LIBTOOL@
10597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
10699 LTLIBICONV = @LTLIBICONV@
107100 LTLIBINTL = @LTLIBINTL@
108 LTLIBOBJS = @LTLIBOBJS@
109101 MAINT = @MAINT@
110 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
111 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
112102 MAKEINFO = @MAKEINFO@
113103 MKINSTALLDIRS = @MKINSTALLDIRS@
114 MSGFMT = @MSGFMT@
115 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
116105 OBJEXT = @OBJEXT@
117106 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@
124107 PA_MODULES_PATH = @PA_MODULES_PATH@
125108 PA_VERSION = @PA_VERSION@
126109 PE_CFLAGS = @PE_CFLAGS@
131114 PY_MODULES_PATH = @PY_MODULES_PATH@
132115 PY_VERSION = @PY_VERSION@
133116 RANLIB = @RANLIB@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
117 RC = @RC@
136118 STRIP = @STRIP@
137119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
138120 USE_NLS = @USE_NLS@
139121 VERSION = @VERSION@
140122 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@
175123 have_pascal = @have_pascal@
176124 have_perl = @have_perl@
177125 have_python = @have_python@
178126 have_swig = @have_swig@
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@
127
199128 EXTRA_DIST = hdate.i
129
200130 @WITH_PYTHON_TRUE@DEPS = $(top_builddir)/src/libhdate.la
131
201132 @WITH_PYTHON_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.py
202 all: all-am
203
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
204143 .SUFFIXES:
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:
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
244151 tags: TAGS
245152 TAGS:
246153
247 ctags: CTAGS
248 CTAGS:
249
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/python
250158
251159 distdir: $(DISTFILES)
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; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
267162 if test -d $$d/$$file; then \
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; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
272164 else \
273165 test -f $(distdir)/$$file \
274 || cp -p $$d/$$file $(distdir)/$$file \
275 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
276168 fi; \
277169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
278174 check-am: all-am
279175 check: check-am
280 all-am: Makefile
281 installdirs:
282 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
283179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
284182 install-data: install-data-am
285 uninstall: uninstall-am
286183
287184 install-am: all-am
288185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
289
290 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
291191 install-strip:
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
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
296196 mostlyclean-generic:
297197
298198 clean-generic:
299199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
300200
301201 distclean-generic:
302 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
303204
304205 maintainer-clean-generic:
305 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
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;"
306221 @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:
335222
336223 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
339
340 mostlyclean: mostlyclean-am
341
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
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
363231
364232
365233 @WITH_PYTHON_TRUE@all-am: _hdate.so
375243 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PY_MODULES_PATH)
376244 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) _hdate.so $(DESTDIR)$(PY_MODULES_PATH)/_hdate.so
377245 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) hdate.py $(DESTDIR)$(PY_MODULES_PATH)/hdate.py
246
378247 # Tell versions [3.59,3.63) of GNU make to not export all variables.
379248 # Otherwise a system limit (for SysV at least) may be exceeded.
380249 .NOEXPORT:
+0
-142
current/compile less more
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='2006-02-23'
5 timestamp='2005-08-03'
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 "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108 { tmp=`(umask 077 && mktemp -d -q "$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 ;;
211208 macppc:MirBSD:*:*)
212209 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
213210 exit ;;
766763 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
767764 exit ;;
768765 *:FreeBSD:*:*)
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
766 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
775767 exit ;;
776768 i*:CYGWIN*:*)
777769 echo ${UNAME_MACHINE}-pc-cygwin
778770 exit ;;
779771 i*:MINGW*:*)
780 echo ${UNAME_MACHINE}-pc-mingw32
781 exit ;;
782 i*:MSYS_NT-*:*:*)
783772 echo ${UNAME_MACHINE}-pc-mingw32
784773 exit ;;
785774 i*:windows32*:*)
789778 i*:PW*:*)
790779 echo ${UNAME_MACHINE}-pc-pw32
791780 exit ;;
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}
781 x86:Interix*:[34]*)
782 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
797783 exit ;;
798784 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
799785 echo i${UNAME_MACHINE}-pc-mks
864850 #endif
865851 #endif
866852 EOF
867 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
868 /^CPU/{
869 s: ::g
870 p
871 }'`"
853 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
872854 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
873855 ;;
874856 mips64:Linux:*:*)
887869 #endif
888870 #endif
889871 EOF
890 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
891 /^CPU/{
892 s: ::g
893 p
894 }'`"
872 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
895873 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
896874 ;;
897875 or32:Linux:*:*)
939917 exit ;;
940918 sparc:Linux:*:* | sparc64:Linux:*:*)
941919 echo ${UNAME_MACHINE}-unknown-linux-gnu
942 exit ;;
943 vax:Linux:*:*)
944 echo ${UNAME_MACHINE}-dec-linux-gnu
945920 exit ;;
946921 x86_64:Linux:*:*)
947922 echo x86_64-unknown-linux-gnu
988963 LIBC=gnulibc1
989964 # endif
990965 #else
991 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
966 #ifdef __INTEL_COMPILER
992967 LIBC=gnu
993968 #else
994969 LIBC=gnuaout
998973 LIBC=dietlibc
999974 #endif
1000975 EOF
1001 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1002 /^LIBC/{
1003 s: ::g
1004 p
1005 }'`"
976 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1006977 test x"${LIBC}" != x && {
1007978 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1008979 exit
12131184 *:Darwin:*:*)
12141185 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
12151186 case $UNAME_PROCESSOR in
1187 *86) UNAME_PROCESSOR=i686 ;;
12161188 unknown) UNAME_PROCESSOR=powerpc ;;
12171189 esac
12181190 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12901262 exit ;;
12911263 i*86:skyos:*:*)
12921264 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1293 exit ;;
1294 i*86:rdos:*:*)
1295 echo ${UNAME_MACHINE}-pc-rdos
12961265 exit ;;
12971266 esac
12981267
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='2006-02-23'
5 timestamp='2005-07-08'
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-newlib* | linux-uclibc* | \
122 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
123 storm-chaos* | os2-emx* | rtmk-nova*)
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*)
124123 os=-$maybe_os
125124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126125 ;;
171170 -hiux*)
172171 os=-hiuxwe2
173172 ;;
174 -sco6)
175 os=-sco5v6
176 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
177 ;;
178173 -sco5)
179174 os=-sco3.2v5
180175 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188183 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189184 ;;
190185 -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*)
195186 # Don't forget version if it is 3.2v4 or newer.
196187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
197188 ;;
247238 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
248239 | i370 | i860 | i960 | ia64 \
249240 | ip2k | iq2000 \
250 | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
241 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
251242 | mips | mipsbe | mipseb | mipsel | mipsle \
252243 | mips16 \
253244 | mips64 | mips64el \
265256 | mipsisa64sr71k | mipsisa64sr71kel \
266257 | mipstx39 | mipstx39el \
267258 | mn10200 | mn10300 \
268 | mt \
259 | ms1 \
269260 | msp430 \
270 | nios | nios2 \
271261 | ns16k | ns32k \
272262 | or32 \
273263 | pdp10 | pdp11 | pj | pjl \
294284 os=-none
295285 ;;
296286 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
297 ;;
298 ms1)
299 basic_machine=mt-unknown
300287 ;;
301288
302289 # We use `pc' rather than `unknown'
348335 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
349336 | mipstx39-* | mipstx39el-* \
350337 | mmix-* \
351 | mt-* \
338 | ms1-* \
352339 | msp430-* \
353 | nios-* | nios2-* \
354340 | none-* | np1-* | ns16k-* | ns32k-* \
355341 | orion-* \
356342 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
709695 basic_machine=i386-pc
710696 os=-msdos
711697 ;;
712 ms1-*)
713 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
714 ;;
715698 mvs)
716699 basic_machine=i370-ibm
717700 os=-mvs
819802 pc532 | pc532-*)
820803 basic_machine=ns32k-pc532
821804 ;;
822 pc98)
823 basic_machine=i386-pc
824 ;;
825 pc98-*)
826 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
827 ;;
828805 pentium | p5 | k5 | k6 | nexgen | viac3)
829806 basic_machine=i586-pc
830807 ;;
880857 pw32)
881858 basic_machine=i586-unknown
882859 os=-pw32
883 ;;
884 rdos)
885 basic_machine=i386-pc
886 os=-rdos
887860 ;;
888861 rom68k)
889862 basic_machine=m68k-rom68k
12001173 | -aos* \
12011174 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
12021175 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1203 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1204 | -openbsd* | -solidbsd* \
1176 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
12051177 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
12061178 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
12071179 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
12081180 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
12091181 | -chorusos* | -chorusrdb* \
12101182 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1211 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1212 | -uxpv* | -beos* | -mpeix* | -udk* \
1183 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
12131184 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
12141185 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
12151186 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
12161187 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
12171188 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
12181189 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1219 | -skyos* | -haiku* | -rdos*)
1190 | -skyos* | -haiku*)
12201191 # Remember, each alternative MUST END IN *, to match a version number.
12211192 ;;
12221193 -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 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'
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'
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
1027 --disable-dependency-tracking speeds up one-time build
1028 --enable-dependency-tracking do not reject slow dependency extractors
1025 --enable-maintainer-mode enable make rules and dependencies not useful
1026 (and sometimes confusing) to the casual installer
10291027 --enable-shared[=PKGS]
10301028 build shared libraries [default=yes]
10311029 --enable-static[=PKGS]
15141512 PACKAGE=libhdate
15151513 LIBHDATE_MAJOR_VERSION=1
15161514 LIBHDATE_MINOR_VERSION=4
1517 LIBHDATE_MICRO_VERSION=6
1515 LIBHDATE_MICRO_VERSION=8
15181516
15191517 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
15201518 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
15211519
15221520
15231521
1524 am__api_version="1.9"
1522 am__api_version="1.4"
15251523 ac_aux_dir=
15261524 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
15271525 if test -f $ac_dir/install-sh; then
16301628 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
16311629 # Just in case
16321630 sleep 1
1633 echo timestamp > conftest.file
1631 echo timestamp > conftestfile
16341632 # Do `set' in a subshell so we don't clobber the current shell's
16351633 # arguments. Must try -L first in case configure is actually a
16361634 # symlink; some systems play weird games with the mod time of symlinks
16371635 # (eg FreeBSD returns the mod time of the symlink's containing
16381636 # directory).
16391637 if (
1640 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1638 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
16411639 if test "$*" = "X"; then
16421640 # -L didn't work.
1643 set X `ls -t $srcdir/configure conftest.file`
1641 set X `ls -t $srcdir/configure conftestfile`
16441642 fi
1645 rm -f conftest.file
1646 if test "$*" != "X $srcdir/configure conftest.file" \
1647 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 if test "$*" != "X $srcdir/configure conftestfile" \
1644 && test "$*" != "X conftestfile $srcdir/configure"; then
16481645
16491646 # If neither matched, then we have a broken ls. This can happen
16501647 # if, for instance, CONFIG_SHELL is bash and it inherits a
16571654 { (exit 1); exit 1; }; }
16581655 fi
16591656
1660 test "$2" = conftest.file
1657 test "$2" = conftestfile
16611658 )
16621659 then
16631660 # Ok.
16691666 Check your system clock" >&2;}
16701667 { (exit 1); exit 1; }; }
16711668 fi
1669 rm -f conftest*
16721670 echo "$as_me:$LINENO: result: yes" >&5
16731671 echo "${ECHO_T}yes" >&6
16741672 test "$program_prefix" != NONE &&
16841682 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16851683 rm conftest.sed
16861684
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
17731685 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
17741686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
17751687 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
17991711 SET_MAKE="MAKE=${MAKE-make}"
18001712 fi
18011713
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
1714
1715 PACKAGE=$PACKAGE
1716
1717 VERSION=$VERSION
1718
1719 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
18141720 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
18151721 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
18161722 { (exit 1); exit 1; }; }
18171723 fi
18181724
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
18341725 cat >>confdefs.h <<_ACEOF
18351726 #define PACKAGE "$PACKAGE"
18361727 _ACEOF
18401731 #define VERSION "$VERSION"
18411732 _ACEOF
18421733
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
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
19591811
19601812
19611813 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
19781830 MAINTAINER_MODE_TRUE='#'
19791831 MAINTAINER_MODE_FALSE=
19801832 fi
1981
19821833 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
20481834
20491835
20501836
29722758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29732759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29742760
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
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
29802766 echo $ECHO_N "(cached) $ECHO_C" >&6
29812767 else
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
2768 ac_check_lib_save_LIBS=$LIBS
2769 LIBS="-lcposix $LIBS"
30922770 cat >conftest.$ac_ext <<_ACEOF
30932771 /* confdefs.h. */
30942772 _ACEOF
31322810 ac_status=$?
31332811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342812 (exit $ac_status); }; }; then
3135 ac_cv_search_strerror="none required"
2813 ac_cv_lib_cposix_strerror=yes
31362814 else
31372815 echo "$as_me: failed program was:" >&5
31382816 sed 's/^/| /' conftest.$ac_ext >&5
31392817
2818 ac_cv_lib_cposix_strerror=no
31402819 fi
31412820 rm -f conftest.err conftest.$ac_objext \
31422821 conftest$ac_exeext conftest.$ac_ext
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
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
32082831
32092832 ac_ext=c
32102833 ac_cpp='$CPP $CPPFLAGS'
39283551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303553 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
40403554
40413555 # Find a good install program. We prefer a C program (faster),
40423556 # so one script is as good as another. But avoid the broken or
49914505 lt_cv_deplibs_check_method=pass_all
49924506 ;;
49934507
4994 freebsd* | dragonfly*)
4508 freebsd* | kfreebsd*-gnu | dragonfly*)
49954509 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
49964510 case $host_cpu in
49974511 i*86 )
50454559 ;;
50464560
50474561 # This must be Linux ELF.
5048 linux* | k*bsd*-gnu)
4562 linux*)
50494563 lt_cv_deplibs_check_method=pass_all
50504564 ;;
50514565
5052 netbsd* | netbsdelf*-gnu)
4566 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
50534567 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
50544568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
50554569 else
51654679 ;;
51664680 *-*-irix6*)
51674681 # Find out which ABI we are using.
5168 echo '#line 5169 "configure"' > conftest.$ac_ext
4682 echo '#line 4683 "configure"' > conftest.$ac_ext
51694683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51704684 (eval $ac_compile) 2>&5
51714685 ac_status=$?
59175431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59195433
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
60295434
60305435
60315436 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
63565761
63575762
63585763 # Provide some information about the compiler.
6359 echo "$as_me:6360:" \
5764 echo "$as_me:5765:" \
63605765 "checking for Fortran 77 compiler version" >&5
63615766 ac_compiler=`set X $ac_compile; echo $2`
63625767 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
66596064 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
66606065 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'"
66616066 ;;
6662 linux* | k*bsd*-gnu)
6067 linux*)
66636068 if test "$host_cpu" = ia64; then
66646069 symcode='[ABCDGIRSTW]'
66656070 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
74176822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
74186823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
74196824 -e 's:$: $lt_compiler_flag:'`
7420 (eval echo "\"\$as_me:7421: $lt_compile\"" >&5)
6825 (eval echo "\"\$as_me:6826: $lt_compile\"" >&5)
74216826 (eval "$lt_compile" 2>conftest.err)
74226827 ac_status=$?
74236828 cat conftest.err >&5
7424 echo "$as_me:7425: \$? = $ac_status" >&5
6829 echo "$as_me:6830: \$? = $ac_status" >&5
74256830 if (exit $ac_status) && test -s "$ac_outfile"; then
74266831 # The compiler can only warn and ignore the option if not recognized
74276832 # So say no if there are warnings other than the usual output.
75796984 lt_prog_compiler_static='-Bstatic'
75806985 ;;
75816986
7582 linux* | k*bsd*-gnu)
6987 linux*)
75836988 case $cc_basename in
75846989 icc* | ecc*)
75856990 lt_prog_compiler_wl='-Wl,'
76857090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
76867091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
76877092 -e 's:$: $lt_compiler_flag:'`
7688 (eval echo "\"\$as_me:7689: $lt_compile\"" >&5)
7093 (eval echo "\"\$as_me:7094: $lt_compile\"" >&5)
76897094 (eval "$lt_compile" 2>conftest.err)
76907095 ac_status=$?
76917096 cat conftest.err >&5
7692 echo "$as_me:7693: \$? = $ac_status" >&5
7097 echo "$as_me:7098: \$? = $ac_status" >&5
76937098 if (exit $ac_status) && test -s "$ac_outfile"; then
76947099 # The compiler can only warn and ignore the option if not recognized
76957100 # So say no if there are warnings other than the usual output.
77897194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
77907195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
77917196 -e 's:$: $lt_compiler_flag:'`
7792 (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
7197 (eval echo "\"\$as_me:7198: $lt_compile\"" >&5)
77937198 (eval "$lt_compile" 2>out/conftest.err)
77947199 ac_status=$?
77957200 cat out/conftest.err >&5
7796 echo "$as_me:7797: \$? = $ac_status" >&5
7201 echo "$as_me:7202: \$? = $ac_status" >&5
77977202 if (exit $ac_status) && test -s out/conftest2.$ac_objext
77987203 then
77997204 # The compiler can only warn and ignore the option if not recognized
80187423 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'
80197424 ;;
80207425
8021 linux* | k*bsd*-gnu)
7426 linux*)
80227427 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
80237428 tmp_addflag=
80247429 case $cc_basename,$host_cpu in
80507455 fi
80517456 ;;
80527457
8053 netbsd* | netbsdelf*-gnu)
7458 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
80547459 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
80557460 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
80567461 wlarc=
84877892 hardcode_shlibpath_var=no
84887893 ;;
84897894
7895 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7896 kfreebsd*-gnu)
7897 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7898 hardcode_libdir_flag_spec='-R$libdir'
7899 hardcode_direct=yes
7900 hardcode_shlibpath_var=no
7901 link_all_deplibs=no
7902 ;;
7903
84907904 hpux9*)
84917905 if test "$GCC" = yes; then
84927906 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
85827996 link_all_deplibs=yes
85837997 ;;
85847998
8585 netbsd* | netbsdelf*-gnu)
7999 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
85868000 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
85878001 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
85888002 else
90708484
90718485 freebsd1*)
90728486 dynamic_linker=no
8487 ;;
8488
8489 kfreebsd*-gnu)
8490 version_type=linux
8491 need_lib_prefix=no
8492 need_version=no
8493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8494 soname_spec='${libname}${release}${shared_ext}$major'
8495 shlibpath_var=LD_LIBRARY_PATH
8496 shlibpath_overrides_runpath=no
8497 hardcode_into_libs=yes
8498 dynamic_linker='GNU ld.so'
90738499 ;;
90748500
90758501 freebsd* | dragonfly*)
92278653 ;;
92288654
92298655 # This must be Linux ELF.
9230 linux* | k*bsd*-gnu)
8656 linux*)
92318657 version_type=linux
92328658 need_lib_prefix=no
92338659 need_version=no
92668692 shlibpath_overrides_runpath=no
92678693 hardcode_into_libs=yes
92688694 dynamic_linker='NetBSD ld.elf_so'
8695 ;;
8696
8697 knetbsd*-gnu)
8698 version_type=linux
8699 need_lib_prefix=no
8700 need_version=no
8701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8702 soname_spec='${libname}${release}${shared_ext}$major'
8703 shlibpath_var=LD_LIBRARY_PATH
8704 shlibpath_overrides_runpath=no
8705 hardcode_into_libs=yes
8706 dynamic_linker='GNU ld.so'
92698707 ;;
92708708
92718709 netbsd*)
101149552 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
101159553 lt_status=$lt_dlunknown
101169554 cat > conftest.$ac_ext <<EOF
10117 #line 10118 "configure"
9555 #line 9556 "configure"
101189556 #include "confdefs.h"
101199557
101209558 #if HAVE_DLFCN_H
102149652 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
102159653 lt_status=$lt_dlunknown
102169654 cat > conftest.$ac_ext <<EOF
10217 #line 10218 "configure"
9655 #line 9656 "configure"
102189656 #include "confdefs.h"
102199657
102209658 #if HAVE_DLFCN_H
1152910967 freebsd-elf*)
1153010968 archive_cmds_need_lc_CXX=no
1153110969 ;;
11532 freebsd* | dragonfly*)
10970 freebsd* | kfreebsd*-gnu | dragonfly*)
1153310971 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1153410972 # conventions
1153510973 ld_shlibs_CXX=yes
1168811126 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1168911127 hardcode_libdir_separator_CXX=:
1169011128 ;;
11691 linux* | k*bsd*-gnu)
11129 linux*)
1169211130 case $cc_basename in
1169311131 KCC*)
1169411132 # Kuck and Associates, Inc. (KAI) C++ Compiler
1179011228 ;;
1179111229 esac
1179211230 ;;
11793 netbsd* | netbsdelf*-gnu)
11231 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1179411232 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1179511233 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1179611234 wlarc=
1235711795 ;;
1235811796 esac
1235911797 ;;
12360 freebsd* | dragonfly*)
11798 freebsd* | kfreebsd*-gnu | dragonfly*)
1236111799 # FreeBSD uses GNU C++
1236211800 ;;
1236311801 hpux9* | hpux10* | hpux11*)
1240011838 ;;
1240111839 esac
1240211840 ;;
12403 linux* | k*bsd*-gnu)
11841 linux*)
1240411842 case $cc_basename in
1240511843 KCC*)
1240611844 # KAI C++ Compiler
1244311881 ;;
1244411882 esac
1244511883 ;;
12446 netbsd* | netbsdelf*-gnu)
11884 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1244711885 ;;
1244811886 osf3* | osf4* | osf5*)
1244911887 case $cc_basename in
1255211990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1255311991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1255411992 -e 's:$: $lt_compiler_flag:'`
12555 (eval echo "\"\$as_me:12556: $lt_compile\"" >&5)
11993 (eval echo "\"\$as_me:11994: $lt_compile\"" >&5)
1255611994 (eval "$lt_compile" 2>conftest.err)
1255711995 ac_status=$?
1255811996 cat conftest.err >&5
12559 echo "$as_me:12560: \$? = $ac_status" >&5
11997 echo "$as_me:11998: \$? = $ac_status" >&5
1256011998 if (exit $ac_status) && test -s "$ac_outfile"; then
1256111999 # The compiler can only warn and ignore the option if not recognized
1256212000 # So say no if there are warnings other than the usual output.
1265612094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1265712095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1265812096 -e 's:$: $lt_compiler_flag:'`
12659 (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
12097 (eval echo "\"\$as_me:12098: $lt_compile\"" >&5)
1266012098 (eval "$lt_compile" 2>out/conftest.err)
1266112099 ac_status=$?
1266212100 cat out/conftest.err >&5
12663 echo "$as_me:12664: \$? = $ac_status" >&5
12101 echo "$as_me:12102: \$? = $ac_status" >&5
1266412102 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1266512103 then
1266612104 # The compiler can only warn and ignore the option if not recognized
1272812166 cygwin* | mingw*)
1272912167 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'
1273012168 ;;
12731 linux* | k*bsd*-gnu)
12169 kfreebsd*-gnu)
12170 link_all_deplibs_CXX=no
12171 ;;
12172 linux*)
1273212173 link_all_deplibs_CXX=no
1273312174 ;;
1273412175 *)
1300812449
1300912450 freebsd1*)
1301012451 dynamic_linker=no
12452 ;;
12453
12454 kfreebsd*-gnu)
12455 version_type=linux
12456 need_lib_prefix=no
12457 need_version=no
12458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12459 soname_spec='${libname}${release}${shared_ext}$major'
12460 shlibpath_var=LD_LIBRARY_PATH
12461 shlibpath_overrides_runpath=no
12462 hardcode_into_libs=yes
12463 dynamic_linker='GNU ld.so'
1301112464 ;;
1301212465
1301312466 freebsd* | dragonfly*)
1316512618 ;;
1316612619
1316712620 # This must be Linux ELF.
13168 linux* | k*bsd*-gnu)
12621 linux*)
1316912622 version_type=linux
1317012623 need_lib_prefix=no
1317112624 need_version=no
1320412657 shlibpath_overrides_runpath=no
1320512658 hardcode_into_libs=yes
1320612659 dynamic_linker='NetBSD ld.elf_so'
12660 ;;
12661
12662 knetbsd*-gnu)
12663 version_type=linux
12664 need_lib_prefix=no
12665 need_version=no
12666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12667 soname_spec='${libname}${release}${shared_ext}$major'
12668 shlibpath_var=LD_LIBRARY_PATH
12669 shlibpath_overrides_runpath=no
12670 hardcode_into_libs=yes
12671 dynamic_linker='GNU ld.so'
1320712672 ;;
1320812673
1320912674 netbsd*)
1411113576 lt_prog_compiler_static_F77='-Bstatic'
1411213577 ;;
1411313578
14114 linux* | k*bsd*-gnu)
13579 linux*)
1411513580 case $cc_basename in
1411613581 icc* | ecc*)
1411713582 lt_prog_compiler_wl_F77='-Wl,'
1421713682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1421813683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1421913684 -e 's:$: $lt_compiler_flag:'`
14220 (eval echo "\"\$as_me:14221: $lt_compile\"" >&5)
13685 (eval echo "\"\$as_me:13686: $lt_compile\"" >&5)
1422113686 (eval "$lt_compile" 2>conftest.err)
1422213687 ac_status=$?
1422313688 cat conftest.err >&5
14224 echo "$as_me:14225: \$? = $ac_status" >&5
13689 echo "$as_me:13690: \$? = $ac_status" >&5
1422513690 if (exit $ac_status) && test -s "$ac_outfile"; then
1422613691 # The compiler can only warn and ignore the option if not recognized
1422713692 # So say no if there are warnings other than the usual output.
1432113786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1432213787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1432313788 -e 's:$: $lt_compiler_flag:'`
14324 (eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
13789 (eval echo "\"\$as_me:13790: $lt_compile\"" >&5)
1432513790 (eval "$lt_compile" 2>out/conftest.err)
1432613791 ac_status=$?
1432713792 cat out/conftest.err >&5
14328 echo "$as_me:14329: \$? = $ac_status" >&5
13793 echo "$as_me:13794: \$? = $ac_status" >&5
1432913794 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1433013795 then
1433113796 # The compiler can only warn and ignore the option if not recognized
1455014015 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'
1455114016 ;;
1455214017
14553 linux* | k*bsd*-gnu)
14018 linux*)
1455414019 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1455514020 tmp_addflag=
1455614021 case $cc_basename,$host_cpu in
1458214047 fi
1458314048 ;;
1458414049
14585 netbsd* | netbsdelf*-gnu)
14050 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1458614051 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1458714052 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1458814053 wlarc=
1499914464 hardcode_shlibpath_var_F77=no
1500014465 ;;
1500114466
14467 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
14468 kfreebsd*-gnu)
14469 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14470 hardcode_libdir_flag_spec_F77='-R$libdir'
14471 hardcode_direct_F77=yes
14472 hardcode_shlibpath_var_F77=no
14473 link_all_deplibs_F77=no
14474 ;;
14475
1500214476 hpux9*)
1500314477 if test "$GCC" = yes; then
1500414478 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1509414568 link_all_deplibs_F77=yes
1509514569 ;;
1509614570
15097 netbsd* | netbsdelf*-gnu)
14571 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1509814572 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1509914573 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1510014574 else
1558215056
1558315057 freebsd1*)
1558415058 dynamic_linker=no
15059 ;;
15060
15061 kfreebsd*-gnu)
15062 version_type=linux
15063 need_lib_prefix=no
15064 need_version=no
15065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15066 soname_spec='${libname}${release}${shared_ext}$major'
15067 shlibpath_var=LD_LIBRARY_PATH
15068 shlibpath_overrides_runpath=no
15069 hardcode_into_libs=yes
15070 dynamic_linker='GNU ld.so'
1558515071 ;;
1558615072
1558715073 freebsd* | dragonfly*)
1573915225 ;;
1574015226
1574115227 # This must be Linux ELF.
15742 linux* | k*bsd*-gnu)
15228 linux*)
1574315229 version_type=linux
1574415230 need_lib_prefix=no
1574515231 need_version=no
1577815264 shlibpath_overrides_runpath=no
1577915265 hardcode_into_libs=yes
1578015266 dynamic_linker='NetBSD ld.elf_so'
15267 ;;
15268
15269 knetbsd*-gnu)
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15274 soname_spec='${libname}${release}${shared_ext}$major'
15275 shlibpath_var=LD_LIBRARY_PATH
15276 shlibpath_overrides_runpath=no
15277 hardcode_into_libs=yes
15278 dynamic_linker='GNU ld.so'
1578115279 ;;
1578215280
1578315281 netbsd*)
1651116009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1651216010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1651316011 -e 's:$: $lt_compiler_flag:'`
16514 (eval echo "\"\$as_me:16515: $lt_compile\"" >&5)
16012 (eval echo "\"\$as_me:16013: $lt_compile\"" >&5)
1651516013 (eval "$lt_compile" 2>conftest.err)
1651616014 ac_status=$?
1651716015 cat conftest.err >&5
16518 echo "$as_me:16519: \$? = $ac_status" >&5
16016 echo "$as_me:16017: \$? = $ac_status" >&5
1651916017 if (exit $ac_status) && test -s "$ac_outfile"; then
1652016018 # The compiler can only warn and ignore the option if not recognized
1652116019 # So say no if there are warnings other than the usual output.
1667316171 lt_prog_compiler_static_GCJ='-Bstatic'
1667416172 ;;
1667516173
16676 linux* | k*bsd*-gnu)
16174 linux*)
1667716175 case $cc_basename in
1667816176 icc* | ecc*)
1667916177 lt_prog_compiler_wl_GCJ='-Wl,'
1677916277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1678016278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1678116279 -e 's:$: $lt_compiler_flag:'`
16782 (eval echo "\"\$as_me:16783: $lt_compile\"" >&5)
16280 (eval echo "\"\$as_me:16281: $lt_compile\"" >&5)
1678316281 (eval "$lt_compile" 2>conftest.err)
1678416282 ac_status=$?
1678516283 cat conftest.err >&5
16786 echo "$as_me:16787: \$? = $ac_status" >&5
16284 echo "$as_me:16285: \$? = $ac_status" >&5
1678716285 if (exit $ac_status) && test -s "$ac_outfile"; then
1678816286 # The compiler can only warn and ignore the option if not recognized
1678916287 # So say no if there are warnings other than the usual output.
1688316381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1688416382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1688516383 -e 's:$: $lt_compiler_flag:'`
16886 (eval echo "\"\$as_me:16887: $lt_compile\"" >&5)
16384 (eval echo "\"\$as_me:16385: $lt_compile\"" >&5)
1688716385 (eval "$lt_compile" 2>out/conftest.err)
1688816386 ac_status=$?
1688916387 cat out/conftest.err >&5
16890 echo "$as_me:16891: \$? = $ac_status" >&5
16388 echo "$as_me:16389: \$? = $ac_status" >&5
1689116389 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1689216390 then
1689316391 # The compiler can only warn and ignore the option if not recognized
1711216610 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'
1711316611 ;;
1711416612
17115 linux* | k*bsd*-gnu)
16613 linux*)
1711616614 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1711716615 tmp_addflag=
1711816616 case $cc_basename,$host_cpu in
1714416642 fi
1714516643 ;;
1714616644
17147 netbsd* | netbsdelf*-gnu)
16645 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1714816646 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1714916647 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1715016648 wlarc=
1758117079 hardcode_shlibpath_var_GCJ=no
1758217080 ;;
1758317081
17082 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
17083 kfreebsd*-gnu)
17084 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17085 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17086 hardcode_direct_GCJ=yes
17087 hardcode_shlibpath_var_GCJ=no
17088 link_all_deplibs_GCJ=no
17089 ;;
17090
1758417091 hpux9*)
1758517092 if test "$GCC" = yes; then
1758617093 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1767617183 link_all_deplibs_GCJ=yes
1767717184 ;;
1767817185
17679 netbsd* | netbsdelf*-gnu)
17186 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1768017187 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1768117188 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1768217189 else
1816417671
1816517672 freebsd1*)
1816617673 dynamic_linker=no
17674 ;;
17675
17676 kfreebsd*-gnu)
17677 version_type=linux
17678 need_lib_prefix=no
17679 need_version=no
17680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17681 soname_spec='${libname}${release}${shared_ext}$major'
17682 shlibpath_var=LD_LIBRARY_PATH
17683 shlibpath_overrides_runpath=no
17684 hardcode_into_libs=yes
17685 dynamic_linker='GNU ld.so'
1816717686 ;;
1816817687
1816917688 freebsd* | dragonfly*)
1832117840 ;;
1832217841
1832317842 # This must be Linux ELF.
18324 linux* | k*bsd*-gnu)
17843 linux*)
1832517844 version_type=linux
1832617845 need_lib_prefix=no
1832717846 need_version=no
1836017879 shlibpath_overrides_runpath=no
1836117880 hardcode_into_libs=yes
1836217881 dynamic_linker='NetBSD ld.elf_so'
17882 ;;
17883
17884 knetbsd*-gnu)
17885 version_type=linux
17886 need_lib_prefix=no
17887 need_version=no
17888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17889 soname_spec='${libname}${release}${shared_ext}$major'
17890 shlibpath_var=LD_LIBRARY_PATH
17891 shlibpath_overrides_runpath=no
17892 hardcode_into_libs=yes
17893 dynamic_linker='GNU ld.so'
1836317894 ;;
1836417895
1836517896 netbsd*)
1955819089 MAINTAINER_MODE_TRUE='#'
1955919090 MAINTAINER_MODE_FALSE=
1956019091 fi
19561
1956219092 MAINT=$MAINTAINER_MODE_TRUE
1956319093
1956419094
1982219352 fi
1982319353
1982419354
19825
1982619355 build_python=no
1982719356
1982819357 # Check whether --enable-python or --disable-python was given.
1991719446 fi
1991819447
1991919448
19920
1992119449 build_perl=no
1992219450
1992319451 # Check whether --enable-perl or --disable-perl was given.
2001019538 WITH_PERL_TRUE='#'
2001119539 WITH_PERL_FALSE=
2001219540 fi
20013
2001419541
2001519542
2001619543
2653926066 fi
2654026067
2654126068
26542
2654326069 build_hcal=yes
2654426070
2654526071 # Check whether --enable-hcal or --disable-hcal was given.
2655926085 WITH_HCAL_TRUE='#'
2656026086 WITH_HCAL_FALSE=
2656126087 fi
26562
2656326088
2656426089
2656526090
2668926214 LTLIBOBJS=$ac_ltlibobjs
2669026215
2669126216
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
2676926217
2677026218 : ${CONFIG_STATUS=./config.status}
2677126219 ac_clean_files_save=$ac_clean_files
2719426642 # INIT-COMMANDS section.
2719526643 #
2719626644
27197 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2719826645 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
2719926646 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
2720026647 # from automake.
2722826675 "bindings/python/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
2722926676 "bindings/perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/perl/Makefile" ;;
2723026677 "bindings/pascal/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/pascal/Makefile" ;;
27231 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2723226678 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
2723326679 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2723426680 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2731826764 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2731926765 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2732026766 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27321 s,@CYGPATH_W@,$CYGPATH_W,;t t
2732226767 s,@PACKAGE@,$PACKAGE,;t t
2732326768 s,@VERSION@,$VERSION,;t t
2732426769 s,@ACLOCAL@,$ACLOCAL,;t t
2732626771 s,@AUTOMAKE@,$AUTOMAKE,;t t
2732726772 s,@AUTOHEADER@,$AUTOHEADER,;t t
2732826773 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
2733526774 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
2734026775 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2734126776 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2734226777 s,@MAINT@,$MAINT,;t t
2734726782 s,@ac_ct_CC@,$ac_ct_CC,;t t
2734826783 s,@EXEEXT@,$EXEEXT,;t t
2734926784 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
2735926785 s,@LN_S@,$LN_S,;t t
2736026786 s,@CPP@,$CPP,;t t
2736126787 s,@EGREP@,$EGREP,;t t
2737226798 s,@ac_ct_AR@,$ac_ct_AR,;t t
2737326799 s,@RANLIB@,$RANLIB,;t t
2737426800 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26801 s,@STRIP@,$STRIP,;t t
26802 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2737526803 s,@CXX@,$CXX,;t t
2737626804 s,@CXXFLAGS@,$CXXFLAGS,;t t
2737726805 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
2738126806 s,@CXXCPP@,$CXXCPP,;t t
2738226807 s,@F77@,$F77,;t t
2738326808 s,@FFLAGS@,$FFLAGS,;t t
2778927214 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2779027215 echo "$as_me: executing $ac_dest commands" >&6;}
2779127216 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 ;;
2787727217 default-1 )
2787827218 for ac_file in $CONFIG_FILES; do
2787927219 # Support "outfile[:infile[:infile...]]"
33 PACKAGE=libhdate
44 LIBHDATE_MAJOR_VERSION=1
55 LIBHDATE_MINOR_VERSION=4
6 LIBHDATE_MICRO_VERSION=6
6 LIBHDATE_MICRO_VERSION=8
77
88 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
99 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
+0
-530
current/depcomp less more
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 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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
14
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
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkglibdir = $(libdir)/@PACKAGE@
2038 pkgincludedir = $(includedir)/@PACKAGE@
39
2140 top_builddir = ..
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2347 INSTALL = @INSTALL@
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)
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
2953 NORMAL_INSTALL = :
3054 PRE_INSTALL = :
3155 POST_INSTALL = :
3256 NORMAL_UNINSTALL = :
3357 PRE_UNINSTALL = :
3458 POST_UNINSTALL = :
35 build_triplet = @build@
59 host_alias = @host_alias@
3660 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@
6261 AR = @AR@
63 AUTOCONF = @AUTOCONF@
64 AUTOHEADER = @AUTOHEADER@
65 AUTOMAKE = @AUTOMAKE@
66 AWK = @AWK@
62 AS = @AS@
6763 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6864 CATOBJEXT = @CATOBJEXT@
6965 CC = @CC@
70 CCDEPMODE = @CCDEPMODE@
7166 CFLAGS = @CFLAGS@
72 CPP = @CPP@
73 CPPFLAGS = @CPPFLAGS@
7467 CXX = @CXX@
7568 CXXCPP = @CXXCPP@
76 CXXDEPMODE = @CXXDEPMODE@
77 CXXFLAGS = @CXXFLAGS@
78 CYGPATH_W = @CYGPATH_W@
7969 DATADIRNAME = @DATADIRNAME@
80 DEFS = @DEFS@
81 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
8271 ECHO = @ECHO@
83 ECHO_C = @ECHO_C@
84 ECHO_N = @ECHO_N@
85 ECHO_T = @ECHO_T@
8672 EGREP = @EGREP@
8773 EXEEXT = @EXEEXT@
8874 F77 = @F77@
89 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
9077 GENCAT = @GENCAT@
9178 GLIBC2 = @GLIBC2@
9279 GLIBC21 = @GLIBC21@
9380 GMSGFMT = @GMSGFMT@
9481 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
9583 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
9684 HAVE_SNPRINTF = @HAVE_SNPRINTF@
9785 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@
10286 INSTOBJEXT = @INSTOBJEXT@
10387 INTLBISON = @INTLBISON@
10488 INTLLIBS = @INTLLIBS@
10589 INTLOBJS = @INTLOBJS@
10690 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
10791 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
108 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
10993 LIBICONV = @LIBICONV@
11094 LIBINTL = @LIBINTL@
111 LIBOBJS = @LIBOBJS@
11295 LIBS = @LIBS@
11396 LIBTOOL = @LIBTOOL@
11497 LN_S = @LN_S@
98 LTLIB = @LTLIB@
11599 LTLIBICONV = @LTLIBICONV@
116100 LTLIBINTL = @LTLIBINTL@
117 LTLIBOBJS = @LTLIBOBJS@
118101 MAINT = @MAINT@
119 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
120 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
121102 MAKEINFO = @MAKEINFO@
122103 MKINSTALLDIRS = @MKINSTALLDIRS@
123 MSGFMT = @MSGFMT@
124 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
125105 OBJEXT = @OBJEXT@
126106 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@
133107 PA_MODULES_PATH = @PA_MODULES_PATH@
134108 PA_VERSION = @PA_VERSION@
135109 PE_CFLAGS = @PE_CFLAGS@
140114 PY_MODULES_PATH = @PY_MODULES_PATH@
141115 PY_VERSION = @PY_VERSION@
142116 RANLIB = @RANLIB@
143 SET_MAKE = @SET_MAKE@
144 SHELL = @SHELL@
117 RC = @RC@
145118 STRIP = @STRIP@
146119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
147120 USE_NLS = @USE_NLS@
148121 VERSION = @VERSION@
149122 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@
184123 have_pascal = @have_pascal@
185124 have_perl = @have_perl@
186125 have_python = @have_python@
187126 have_swig = @have_swig@
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@
127
208128 SUBDIRS = hcal ical html hebcal bindings
209 all: all-recursive
210
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
211139 .SUFFIXES:
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:
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
251147
252148 # This directory's subdirectories are mostly independent; you can cd
253149 # into them and run `make' without going through this Makefile.
255151 # (1) if the variable is set in `config.status', edit `config.status'
256152 # (which will cause the Makefiles to be regenerated when you run `make');
257153 # (2) otherwise, pass the desired values on the `make' command line.
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; \
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; \
266161 dot_seen=no; \
267162 target=`echo $@ | sed s/-recursive//`; \
268163 list='$(SUBDIRS)'; for subdir in $$list; do \
274169 local_target="$$target"; \
275170 fi; \
276171 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277 || eval $$failcom; \
172 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
278173 done; \
279174 if test "$$dot_seen" = "no"; then \
280175 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
282177
283178 mostlyclean-recursive clean-recursive distclean-recursive \
284179 maintainer-clean-recursive:
285 @failcom='exit 1'; \
286 for f in x $$MAKEFLAGS; do \
287 case $$f in \
288 *=* | --[!k]*);; \
289 *k*) failcom='fail=yes';; \
290 esac; \
180 @set fnord $(MAKEFLAGS); amf=$$2; \
181 dot_seen=no; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
291185 done; \
292 dot_seen=no; \
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; \
301 done; \
302 rev="$$rev ."; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
303187 target=`echo $@ | sed s/-recursive//`; \
304188 for subdir in $$rev; do \
305189 echo "Making $$target in $$subdir"; \
309193 local_target="$$target"; \
310194 fi; \
311195 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
312 || eval $$failcom; \
196 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
313197 done && test -z "$$fail"
314198 tags-recursive:
315199 list='$(SUBDIRS)'; for subdir in $$list; do \
316200 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
317201 done
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; } \
202
203 tags: TAGS
204
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
329209 END { for (i in files) print i; }'`; \
330 mkid -fID $$unique
331 tags: TAGS
332
333 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
334 $(TAGS_FILES) $(LISP)
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
335214 tags=; \
336215 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; \
344216 list='$(SUBDIRS)'; for subdir in $$list; do \
345 if test "$$subdir" = .; then :; else \
346 test ! -f $$subdir/TAGS || \
347 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
348 fi; \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
349220 done; \
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; } \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
355224 END { for (i in files) print i; }'`; \
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
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:
380231
381232 distclean-tags:
382 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = examples
383240
384241 distdir: $(DISTFILES)
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; \
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
400244 if test -d $$d/$$file; then \
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; \
245 cp -pr $$d/$$file $(distdir)/$$file; \
405246 else \
406247 test -f $(distdir)/$$file \
407 || cp -p $$d/$$file $(distdir)/$$file \
408 || exit 1; \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
409250 fi; \
410251 done
411 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
252 for subdir in $(SUBDIRS); do \
412253 if test "$$subdir" = .; then :; else \
413 test -d "$(distdir)/$$subdir" \
414 || $(mkdir_p) "$(distdir)/$$subdir" \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
415256 || exit 1; \
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) \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
423259 || exit 1; \
424260 fi; \
425261 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
426266 check-am: all-am
427267 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
271 install-exec: install-exec-recursive
272
273 install-data-am:
274 install-data: install-data-recursive
275
276 install-am: all-am
277 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
428281 all-am: Makefile
282 all-redirect: all-recursive
283 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
429285 installdirs: installdirs-recursive
430286 installdirs-am:
431 install: install-recursive
432 install-exec: install-exec-recursive
433 install-data: install-data-recursive
434 uninstall: uninstall-recursive
435
436 install-am: all-am
437 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
438
439 installcheck: installcheck-recursive
440 install-strip:
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
287
288
445289 mostlyclean-generic:
446290
447291 clean-generic:
448292
449293 distclean-generic:
450 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
451296
452297 maintainer-clean-generic:
453 @echo "This command is intended for maintainers to use"
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
299
300 mostlyclean: mostlyclean-recursive
301
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;"
454314 @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:
483315
484316 maintainer-clean: maintainer-clean-recursive
485 -rm -f Makefile
486 maintainer-clean-am: distclean-am maintainer-clean-generic
487
488 mostlyclean: mostlyclean-recursive
489
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
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
516331
517332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
518333 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 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
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2447 INSTALL = @INSTALL@
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)
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
3053 NORMAL_INSTALL = :
3154 PRE_INSTALL = :
3255 POST_INSTALL = :
3356 NORMAL_UNINSTALL = :
3457 PRE_UNINSTALL = :
3558 POST_UNINSTALL = :
36 build_triplet = @build@
59 host_alias = @host_alias@
3760 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@
6361 AR = @AR@
64 AUTOCONF = @AUTOCONF@
65 AUTOHEADER = @AUTOHEADER@
66 AUTOMAKE = @AUTOMAKE@
67 AWK = @AWK@
62 AS = @AS@
6863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
6964 CATOBJEXT = @CATOBJEXT@
7065 CC = @CC@
71 CCDEPMODE = @CCDEPMODE@
7266 CFLAGS = @CFLAGS@
73 CPP = @CPP@
74 CPPFLAGS = @CPPFLAGS@
7567 CXX = @CXX@
7668 CXXCPP = @CXXCPP@
77 CXXDEPMODE = @CXXDEPMODE@
78 CXXFLAGS = @CXXFLAGS@
79 CYGPATH_W = @CYGPATH_W@
8069 DATADIRNAME = @DATADIRNAME@
81 DEFS = @DEFS@
82 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
8371 ECHO = @ECHO@
84 ECHO_C = @ECHO_C@
85 ECHO_N = @ECHO_N@
86 ECHO_T = @ECHO_T@
8772 EGREP = @EGREP@
8873 EXEEXT = @EXEEXT@
8974 F77 = @F77@
90 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
9177 GENCAT = @GENCAT@
9278 GLIBC2 = @GLIBC2@
9379 GLIBC21 = @GLIBC21@
9480 GMSGFMT = @GMSGFMT@
9581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
9683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
9784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
9885 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@
10386 INSTOBJEXT = @INSTOBJEXT@
10487 INTLBISON = @INTLBISON@
10588 INTLLIBS = @INTLLIBS@
10689 INTLOBJS = @INTLOBJS@
10790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
10891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
109 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
11093 LIBICONV = @LIBICONV@
11194 LIBINTL = @LIBINTL@
112 LIBOBJS = @LIBOBJS@
11395 LIBS = @LIBS@
11496 LIBTOOL = @LIBTOOL@
11597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
11699 LTLIBICONV = @LTLIBICONV@
117100 LTLIBINTL = @LTLIBINTL@
118 LTLIBOBJS = @LTLIBOBJS@
119101 MAINT = @MAINT@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
122102 MAKEINFO = @MAKEINFO@
123103 MKINSTALLDIRS = @MKINSTALLDIRS@
124 MSGFMT = @MSGFMT@
125 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
126105 OBJEXT = @OBJEXT@
127106 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@
134107 PA_MODULES_PATH = @PA_MODULES_PATH@
135108 PA_VERSION = @PA_VERSION@
136109 PE_CFLAGS = @PE_CFLAGS@
141114 PY_MODULES_PATH = @PY_MODULES_PATH@
142115 PY_VERSION = @PY_VERSION@
143116 RANLIB = @RANLIB@
144 SET_MAKE = @SET_MAKE@
145 SHELL = @SHELL@
117 RC = @RC@
146118 STRIP = @STRIP@
147119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
148120 USE_NLS = @USE_NLS@
149121 VERSION = @VERSION@
150122 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@
185123 have_pascal = @have_pascal@
186124 have_perl = @have_perl@
187125 have_python = @have_python@
188126 have_swig = @have_swig@
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@
127
209128 EXTRA_DIST = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
129
210130 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/bindings
211131 libhdatedoc_DATA = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
212 all: all-am
213
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
214144 .SUFFIXES:
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:
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
254153 install-libhdatedocDATA: $(libhdatedoc_DATA)
255154 @$(NORMAL_INSTALL)
256 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
155 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
257156 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
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"; \
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; \
262164 done
263165
264166 uninstall-libhdatedocDATA:
265167 @$(NORMAL_UNINSTALL)
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"; \
168 list='$(libhdatedoc_DATA)'; for p in $$list; do \
169 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
270170 done
271171 tags: TAGS
272172 TAGS:
273173
274 ctags: CTAGS
275 CTAGS:
276
174
175 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
176
177 subdir = examples/bindings
277178
278179 distdir: $(DISTFILES)
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; \
180 @for file in $(DISTFILES); do \
181 d=$(srcdir); \
294182 if test -d $$d/$$file; then \
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; \
183 cp -pr $$d/$$file $(distdir)/$$file; \
299184 else \
300185 test -f $(distdir)/$$file \
301 || cp -p $$d/$$file $(distdir)/$$file \
302 || exit 1; \
186 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
187 || cp -p $$d/$$file $(distdir)/$$file || :; \
303188 fi; \
304189 done
190 info-am:
191 info: info-am
192 dvi-am:
193 dvi: dvi-am
305194 check-am: all-am
306195 check: check-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
196 installcheck-am:
197 installcheck: installcheck-am
198 install-exec-am:
313199 install-exec: install-exec-am
200
201 install-data-am: install-libhdatedocDATA
314202 install-data: install-data-am
315 uninstall: uninstall-am
316203
317204 install-am: all-am
318205 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
319
320 installcheck: installcheck-am
206 install: install-am
207 uninstall-am: uninstall-libhdatedocDATA
208 uninstall: uninstall-am
209 all-am: Makefile $(DATA)
210 all-redirect: all-am
321211 install-strip:
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
212 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
213 installdirs:
214 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
215
216
326217 mostlyclean-generic:
327218
328219 clean-generic:
329220
330221 distclean-generic:
331 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
222 -rm -f Makefile $(CONFIG_CLEAN_FILES)
223 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
332224
333225 maintainer-clean-generic:
334 @echo "This command is intended for maintainers to use"
226 mostlyclean-am: mostlyclean-generic
227
228 mostlyclean: mostlyclean-am
229
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;"
335241 @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:
363242
364243 maintainer-clean: maintainer-clean-am
365 -rm -f Makefile
366 maintainer-clean-am: distclean-am maintainer-clean-generic
367
368 mostlyclean: mostlyclean-am
369
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
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
392252
393253 # Tell versions [3.59,3.63) of GNU make to not export all variables.
394254 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
15
12
13 SHELL = @SHELL@
1614
1715 srcdir = @srcdir@
1816 top_srcdir = @top_srcdir@
1917 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
2036 pkgdatadir = $(datadir)/@PACKAGE@
2137 pkglibdir = $(libdir)/@PACKAGE@
2238 pkgincludedir = $(includedir)/@PACKAGE@
39
2340 top_builddir = ../..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
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)
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
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
37 build_triplet = @build@
59 host_alias = @host_alias@
3860 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@
9161 AR = @AR@
92 AUTOCONF = @AUTOCONF@
93 AUTOHEADER = @AUTOHEADER@
94 AUTOMAKE = @AUTOMAKE@
95 AWK = @AWK@
62 AS = @AS@
9663 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
9764 CATOBJEXT = @CATOBJEXT@
9865 CC = @CC@
99 CCDEPMODE = @CCDEPMODE@
10066 CFLAGS = @CFLAGS@
101 CPP = @CPP@
102 CPPFLAGS = @CPPFLAGS@
10367 CXX = @CXX@
10468 CXXCPP = @CXXCPP@
105 CXXDEPMODE = @CXXDEPMODE@
106 CXXFLAGS = @CXXFLAGS@
107 CYGPATH_W = @CYGPATH_W@
10869 DATADIRNAME = @DATADIRNAME@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
11171 ECHO = @ECHO@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
11572 EGREP = @EGREP@
11673 EXEEXT = @EXEEXT@
11774 F77 = @F77@
118 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
11977 GENCAT = @GENCAT@
12078 GLIBC2 = @GLIBC2@
12179 GLIBC21 = @GLIBC21@
12280 GMSGFMT = @GMSGFMT@
12381 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
12483 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
12584 HAVE_SNPRINTF = @HAVE_SNPRINTF@
12685 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@
13186 INSTOBJEXT = @INSTOBJEXT@
13287 INTLBISON = @INTLBISON@
13388 INTLLIBS = @INTLLIBS@
13489 INTLOBJS = @INTLOBJS@
13590 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
13691 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
137 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
13893 LIBICONV = @LIBICONV@
13994 LIBINTL = @LIBINTL@
140 LIBOBJS = @LIBOBJS@
14195 LIBS = @LIBS@
14296 LIBTOOL = @LIBTOOL@
14397 LN_S = @LN_S@
98 LTLIB = @LTLIB@
14499 LTLIBICONV = @LTLIBICONV@
145100 LTLIBINTL = @LTLIBINTL@
146 LTLIBOBJS = @LTLIBOBJS@
147101 MAINT = @MAINT@
148 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
149 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
150102 MAKEINFO = @MAKEINFO@
151103 MKINSTALLDIRS = @MKINSTALLDIRS@
152 MSGFMT = @MSGFMT@
153 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
154105 OBJEXT = @OBJEXT@
155106 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@
162107 PA_MODULES_PATH = @PA_MODULES_PATH@
163108 PA_VERSION = @PA_VERSION@
164109 PE_CFLAGS = @PE_CFLAGS@
169114 PY_MODULES_PATH = @PY_MODULES_PATH@
170115 PY_VERSION = @PY_VERSION@
171116 RANLIB = @RANLIB@
172 SET_MAKE = @SET_MAKE@
173 SHELL = @SHELL@
117 RC = @RC@
174118 STRIP = @STRIP@
175119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
176120 USE_NLS = @USE_NLS@
177121 VERSION = @VERSION@
178122 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@
213123 have_pascal = @have_pascal@
214124 have_perl = @have_perl@
215125 have_python = @have_python@
216126 have_swig = @have_swig@
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@
127
237128 EXTRA_DIST = hdate.1 hcal.1
129
238130 @WITH_HCAL_TRUE@INCLUDES = -I$(top_srcdir)/src
131
239132 @WITH_HCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
240133 @WITH_HCAL_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate hcal
136
241137 @WITH_HCAL_TRUE@hdate_SOURCES = hdate.c
242138 @WITH_HCAL_TRUE@hdate_LDFLAGS =
243139 @WITH_HCAL_TRUE@hdate_DEPENDENCIES = $(DEPS)
244140 @WITH_HCAL_TRUE@hdate_LDADD = $(ldadd)
141
245142 @WITH_HCAL_TRUE@hcal_SOURCES = hcal.c
246143 @WITH_HCAL_TRUE@hcal_LDFLAGS =
247144 @WITH_HCAL_TRUE@hcal_DEPENDENCIES = $(DEPS)
248145 @WITH_HCAL_TRUE@hcal_LDADD = $(ldadd)
146
249147 @WITH_HCAL_TRUE@man_MANS = hdate.1 hcal.1
148
250149 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/hcal
251150 libhdatedoc_DATA = hcal.c hdate.c
252 all: all-am
253
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
254183 .SUFFIXES:
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
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
285202 install-binPROGRAMS: $(bin_PROGRAMS)
286203 @$(NORMAL_INSTALL)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
204 $(mkinstalldirs) $(DESTDIR)$(bindir)
288205 @list='$(bin_PROGRAMS)'; for p in $$list; do \
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; \
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)/'`; \
296209 else :; fi; \
297210 done
298211
299212 uninstall-binPROGRAMS:
300213 @$(NORMAL_UNINSTALL)
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)
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 $<
231
232 mostlyclean-compile:
233 -rm -f *.o core *.core
234 -rm -f *.$(OBJEXT)
235
236 clean-compile:
237
238 distclean-compile:
239 -rm -f *.tab.c
240
241 maintainer-clean-compile:
242
243 .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 $<
251
252 mostlyclean-libtool:
253 -rm -f *.lo
254
255 clean-libtool:
256 -rm -rf .libs _libs
257
258 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)
314267 @rm -f hcal$(EXEEXT)
315268 $(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)
319
320 mostlyclean-compile:
321 -rm -f *.$(OBJEXT)
322
323 distclean-compile:
324 -rm -f *.tab.c
325
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) '$<'`
342
343 .c.lo:
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 mostlyclean-libtool:
351 -rm -f *.lo
352
353 clean-libtool:
354 -rm -rf .libs _libs
355
356 distclean-libtool:
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 \
269
270 install-man1:
271 $(mkinstalldirs) $(DESTDIR)$(man1dir)
272 @list='$(man1_MANS)'; \
273 l2='$(man_MANS)'; for i in $$l2; do \
365274 case "$$i" in \
366275 *.1*) list="$$list $$i" ;; \
367276 esac; \
370279 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
371280 else file=$$i; fi; \
372281 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
373 case "$$ext" in \
374 1*) ;; \
375 *) ext='1' ;; \
376 esac; \
377282 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
378 inst=`echo $$inst | sed -e 's/^.*\///'`; \
379283 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
380 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
381 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
382 done
284 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
285 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
286 done
287
383288 uninstall-man1:
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 \
289 @list='$(man1_MANS)'; \
290 l2='$(man_MANS)'; for i in $$l2; do \
388291 case "$$i" in \
389292 *.1*) list="$$list $$i" ;; \
390293 esac; \
391294 done; \
392295 for i in $$list; do \
393296 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
394 case "$$ext" in \
395 1*) ;; \
396 *) ext='1' ;; \
397 esac; \
398297 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
399 inst=`echo $$inst | sed -e 's/^.*\///'`; \
400298 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
401 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
402 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
403 done
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
404309 install-libhdatedocDATA: $(libhdatedoc_DATA)
405310 @$(NORMAL_INSTALL)
406 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
311 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
407312 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
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"; \
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; \
412320 done
413321
414322 uninstall-libhdatedocDATA:
415323 @$(NORMAL_UNINSTALL)
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; } \
324 list='$(libhdatedoc_DATA)'; for p in $$list; do \
325 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
326 done
327
328 tags: TAGS
329
330 ID: $(HEADERS) $(SOURCES) $(LISP)
331 list='$(SOURCES) $(HEADERS)'; \
332 unique=`for i in $$list; do echo $$i; done | \
333 awk ' { files[$$0] = 1; } \
428334 END { for (i in files) print i; }'`; \
429 mkid -fID $$unique
430 tags: TAGS
431
432 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
433 $(TAGS_FILES) $(LISP)
335 here=`pwd` && cd $(srcdir) \
336 && mkid -f$$here/ID $$unique $(LISP)
337
338 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
434339 tags=; \
435340 here=`pwd`; \
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; } \
341 list='$(SOURCES) $(HEADERS)'; \
342 unique=`for i in $$list; do echo $$i; done | \
343 awk ' { files[$$0] = 1; } \
441344 END { for (i in files) print i; }'`; \
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
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:
466351
467352 distclean-tags:
468 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
353 -rm -f TAGS ID
354
355 maintainer-clean-tags:
356
357 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
358
359 subdir = examples/hcal
469360
470361 distdir: $(DISTFILES)
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; \
362 @for file in $(DISTFILES); do \
363 d=$(srcdir); \
486364 if test -d $$d/$$file; then \
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; \
365 cp -pr $$d/$$file $(distdir)/$$file; \
491366 else \
492367 test -f $(distdir)/$$file \
493 || cp -p $$d/$$file $(distdir)/$$file \
494 || exit 1; \
368 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
369 || cp -p $$d/$$file $(distdir)/$$file || :; \
495370 fi; \
496371 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
497379 check-am: all-am
498380 check: check-am
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
381 installcheck-am:
382 installcheck: installcheck-am
383 install-exec-am: install-binPROGRAMS
505384 install-exec: install-exec-am
385
386 install-data-am: install-man install-libhdatedocDATA
506387 install-data: install-data-am
507 uninstall: uninstall-am
508388
509389 install-am: all-am
510390 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
511
512 installcheck: installcheck-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
513397 install-strip:
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
398 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
399 installdirs:
400 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
401 $(DESTDIR)$(libhdatedocdir)
402
403
518404 mostlyclean-generic:
519405
520406 clean-generic:
521407
522408 distclean-generic:
523 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
409 -rm -f Makefile $(CONFIG_CLEAN_FILES)
410 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
524411
525412 maintainer-clean-generic:
526 @echo "This command is intended for maintainers to use"
413 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
414 mostlyclean-libtool mostlyclean-tags \
415 mostlyclean-generic
416
417 mostlyclean: mostlyclean-am
418
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;"
527435 @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:
557436
558437 maintainer-clean: maintainer-clean-am
559 -rm -rf ./$(DEPDIR)
560 -rm -f Makefile
561 maintainer-clean-am: distclean-am maintainer-clean-generic
562
563 mostlyclean: mostlyclean-am
564
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
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
594453
595454 # Tell versions [3.59,3.63) of GNU make to not export all variables.
596455 # Otherwise a system limit (for SysV at least) may be exceeded.
5555 if (opt_i)
5656 {
5757 printf ("\n\t@import \"hcal.css\";\n");
58
5859 }
5960 else
6061 {
157158 <head>\n\
158159 <meta name=\"generator\" content=\"hcal (libhdate)\">\n\
159160 <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n\
160 <style type=\"text/css\" media=\"all\">");
161 <style title=\"Normal\" type=\"text/css\" media=\"all\">");
161162
162163 print_css (opt_i);
163164
165 printf ("</style>\n");
166
167 /* some alternative css styles */
168 printf ("<link rel=\"alternate stylesheet\" title=\"High contrast\" \
169 type=\"text/css\" media=\"screen\" href=\"high_contrast.css\">");
170 printf ("</style>\n\
171 <link rel=\"alternate stylesheet\" title=\"Colorful\" \
172 type=\"text/css\" media=\"screen\" href=\"colorful.css\">");
173 printf ("</style>\n\
174 <link rel=\"alternate stylesheet\" title=\"Print\" \
175 type=\"text/css\" media=\"all\" href=\"print.css\">");
176
164177 printf ("\
165 </style>\n\
166 <title>Hebrew Calendat</title>\n\
178 <title>Hebrew Calendar</title>\n\
167179 </head>\n\
168180 <body>\n");
169181
229241
230242 if (opt_h)
231243 {
232 printf ("</div>\n");
244 printf ("\n</div>\n");
233245
234246 printf ("<div class=\"hyear\">\n");
235247 }
404416 char c;
405417 int opt_h = 0; /* -h html format flag */
406418 int opt_d = 0; /* -d Diaspora holidays */
407 int opt_i = 0; /* -i External css file */
408
419 int opt_i = 0; /* -i External css file */
420
409421 /* hdate struct */
410422 hdate_struct h;
411423
1111 is from tables by Zvi Har'El.
1212 .SH "SYNOPSIS"
1313 .B hdate
14 [\-sShHrRdi]
14 [\-sctShHrRdi]
1515 .PP
1616 [\-L longitude \-l latitude]
1717 [\-z timezone]
3131 .PP
3232 .I \-s
3333 : Print sunrise/sunset times.
34 .PP
35 .I \-c
36 : Print Shabat enter/leave times.
37 Shabat starts 20 min before sunset,
38 and exits when three stars are out.
39 .PP
40 .I \-t
41 : Print day times list.
42 .PP
43 first light, talit, sunrise, mid day, sunset, first stars, three stars.
3444 .PP
3545 .I \-S
3646 : Print using short format.
5454
5555 printf ("OPTIONS:\n");
5656 printf (" -s : Print sunrise/sunset times.\n");
57 printf (" -c : Print Shabat enter/leave times.\n");
58 printf (" Shabat starts 20 min before sunset,\n");
59 printf (" and exits when three stars are out.\n");
60 printf (" -t : Print day times -\n");
61 printf (" first light, talit, sunrise, midday, sunset,\n");
62 printf (" first stars, three stars.\n");
5763 printf (" -S : Print using short format.\n");
5864 printf (" -h : Print holidays.\n");
5965 printf (" -H : Print just holidays.\n");
7581 printf (" Haifa : 32, -34, 2\n");
7682 printf (" Jerusalem : 31, -35, 2\n");
7783 printf (" Tel Aviv : 32, -34, 2\n");
78 printf (" Ashdod : 31, -34, 2");
79 printf (" Beer Sheva : 31, -34, 2");
80 printf (" Tiberias : 32, -35, 2");
81 printf (" London : 51, 0, 0");
82 printf (" Paris : 48, -2, 1");
83 printf (" New York : 40, 74, -5");
84 printf (" Moscow : 55, -37, 3");
84 printf (" Ashdod : 31, -34, 2\n");
85 printf (" Beer Sheva : 31, -34, 2\n");
86 printf (" Tiberias : 32, -35, 2\n");
87 printf (" London : 51, 0, 0\n");
88 printf (" Paris : 48, -2, 1\n");
89 printf (" New York : 40, 74, -5\n");
90 printf (" Moscow : 55, -37, 3\n");
8591
8692 return 0;
8793 }
164170 return 0;
165171 }
166172
173 /* print one day - day times */
174 int
175 print_times (hdate_struct * h, double lat, double lon, int tz, int opt_i)
176 {
177 int sun_hour, first_light, talit, sunrise;
178 int midday, sunset, first_stars, three_stars;
179
180 /* get times */
181 hdate_get_utc_sun_time_full (h->gd_day, h->gd_mon, h->gd_year, lat, lon,
182 &sun_hour, &first_light, &talit, &sunrise,
183 &midday, &sunset, &first_stars, &three_stars);
184
185 first_light = first_light + tz * 60;
186 talit = talit + tz * 60;
187 sunrise = sunrise + tz * 60;
188 midday = midday + tz * 60;
189 sunset = sunset + tz * 60;
190 first_stars = first_stars + tz * 60;
191 three_stars = three_stars + tz * 60;
192
193 /* print sunset/rise times */
194 printf ("%d:%d - %d:%d - %d:%d - %d:%d - %d:%d - %d:%d - %d:%d ",
195 first_light / 60, first_light % 60, talit / 60, talit % 60,
196 sunrise / 60, sunrise % 60, midday / 60, midday % 60,
197 sunset / 60, sunset % 60, first_stars / 60, first_stars % 60,
198 three_stars / 60, three_stars % 60);
199
200 return 0;
201 }
202
167203 /* print one day - holiday */
168204 int
169205 print_holiday (hdate_struct * h, int opt_d, int opt_S, int opt_i)
192228 if (reading)
193229 {
194230 /* print parash */
195 printf ("%s", hdate_get_parasha_string (reading, opt_S));
196 }
197
231 printf ("%s ", hdate_get_parasha_string (reading, opt_S));
232 }
233
234 return 0;
235 }
236
237 /* print one day - reading */
238 int
239 print_candales (hdate_struct * h, double lat, double lon, int tz, int opt_i)
240 {
241 int sun_hour, first_light, talit, sunrise;
242 int midday, sunset, first_stars, three_stars;
243
244 /* check for friday - print knisat shabat */
245 if (h->hd_dw == 6)
246 {
247 /* get times */
248 hdate_get_utc_sun_time (h->gd_day, h->gd_mon, h->gd_year, lat, lon,
249 &sunrise, &sunset);
250
251 /* FIXME - knisar shabat 20 minutes before shkiaa ? */
252 sunset = sunset + tz * 60 - 20;
253
254 /* print sunset/rise times */
255 printf ("(%d:%d)", sunset / 60, sunset % 60);
256 }
257
258 /* check for saturday - print motzay shabat */
259 else if (h->hd_dw == 7)
260 {
261 /* get times */
262 hdate_get_utc_sun_time_full (h->gd_day, h->gd_mon, h->gd_year, lat, lon,
263 &sun_hour, &first_light, &talit, &sunrise,
264 &midday, &sunset, &first_stars, &three_stars);
265
266 three_stars = three_stars + tz * 60;
267
268 /* print motzay shabat */
269 printf ("(%d:%d)", three_stars / 60, three_stars % 60);
270 }
271
198272 return 0;
199273 }
200274
203277 print_day (hdate_struct * h,
204278 int opt_d, int opt_S,
205279 double lat, double lon, int tz, int opt_s, int opt_h, int opt_r,
206 int opt_R, int opt_H, int opt_i)
280 int opt_R, int opt_H, int opt_i, int opt_c, int opt_t)
207281 {
208282 /* check for just parasha or holiday flag */
209283 if (opt_R && opt_H &&
232306 /* check for iCal format */
233307 if (opt_i &&
234308 (((opt_h && hdate_get_holyday (h, opt_d)) ||
235 (opt_r && hdate_get_parasha (h, opt_d))) || opt_s))
309 ((opt_r && hdate_get_parasha (h, opt_d)) || opt_c)) || opt_s || opt_t))
236310 printf ("\\, ");
237311
238 if (opt_s)
239 {
240 print_sunrise (h, lat, lon, tz, opt_i);
241
312 if (opt_s || opt_t)
313 {
314 if (opt_t)
315 print_times (h, lat, lon, tz, opt_i);
316 else if (opt_s)
317 print_sunrise (h, lat, lon, tz, opt_i);
318
242319 if (!opt_i && ((opt_h && hdate_get_holyday (h, opt_d)) ||
243 (opt_r && hdate_get_parasha (h, opt_d))))
320 ((opt_r && hdate_get_parasha (h, opt_d)) || opt_c)))
244321 printf (", ");
245322 if (opt_i && ((opt_h && hdate_get_holyday (h, opt_d)) ||
246 (opt_r && hdate_get_parasha (h, opt_d))))
323 ((opt_r && hdate_get_parasha (h, opt_d)) || opt_c)))
247324 printf ("\\, ");
248325 }
249326 if (opt_h)
250327 {
251328 print_holiday (h, opt_d, opt_S, opt_i);
252329
253 if (!opt_i && (opt_r && hdate_get_parasha (h, opt_d)
330 if (!opt_i && ((opt_r && hdate_get_parasha (h, opt_d) || opt_c)
254331 && hdate_get_holyday (h, opt_d)))
255332 printf (", ");
256 if (opt_i && (opt_r && hdate_get_parasha (h, opt_d)
333 if (opt_i && ((opt_r && hdate_get_parasha (h, opt_d) || opt_c)
257334 && hdate_get_holyday (h, opt_d)))
258335 printf ("\\, ");
259336 }
261338 {
262339 print_reading (h, opt_d, opt_S, opt_i);
263340 }
264
265 if (opt_r || opt_h || opt_s || opt_i)
341 if (opt_c)
342 {
343 print_candales (h, lat, lon, tz, opt_i);
344 }
345
346 if (opt_r || opt_h || opt_s || opt_t || opt_i || opt_c)
266347 {
267348 printf ("\n");
268349 }
286367 int
287368 print_month (int opt_d, int opt_S,
288369 double lat, double lon, int tz,
289 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H, int opt_i,
370 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H, int opt_i, int opt_c, int opt_t,
290371 int month, int year)
291372 {
292373 hdate_struct h;
304385 while (h.gd_mon == month)
305386 {
306387 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
307 opt_r, opt_R, opt_H, opt_i);
388 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
308389
309390 jd++;
310391 hdate_set_jd (&h, jd);
318399 print_hebrew_month (int opt_d, int opt_S,
319400 double lat, double lon, int tz,
320401 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H,
321 int opt_i, int month, int year)
402 int opt_i, int opt_c, int opt_t, int month, int year)
322403 {
323404 hdate_struct h;
324405 int jd;
343424 while (h.hd_mon == 13)
344425 {
345426 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
346 opt_h, opt_r, opt_R, opt_H, opt_i);
427 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
347428
348429 jd++;
349430 hdate_set_jd (&h, jd);
362443 while (h.hd_mon == 14)
363444 {
364445 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
365 opt_h, opt_r, opt_R, opt_H, opt_i);
446 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
366447
367448 jd++;
368449 hdate_set_jd (&h, jd);
380461 while (h.hd_mon == month)
381462 {
382463 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
383 opt_h, opt_r, opt_R, opt_H, opt_i);
464 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
384465
385466 jd++;
386467 hdate_set_jd (&h, jd);
394475 int
395476 print_year (int opt_d, int opt_S,
396477 double lat, double lon, int tz, int opt_s, int opt_h, int opt_r,
397 int opt_R, int opt_H, int opt_i, int year)
478 int opt_R, int opt_H, int opt_i, int opt_c, int opt_t, int year)
398479 {
399480 int month = 1;
400481
406487 while (month < 13)
407488 {
408489 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h, opt_r,
409 opt_R, opt_H, opt_i, month, year);
490 opt_R, opt_H, opt_i, opt_c, opt_t, month, year);
410491 month++;
411492 }
412493
418499 print_hebrew_year (int opt_d, int opt_S,
419500 double lat, double lon, int tz,
420501 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H,
421 int opt_i, int year)
502 int opt_i, int opt_c, int opt_t, int year)
422503 {
423504 int month = 1;
424505
430511 while (month < 13)
431512 {
432513 print_hebrew_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
433 opt_r, opt_R, opt_H, opt_i, month, year);
514 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t, month, year);
434515 month++;
435516 }
436517
450531 /* hebcal style command line options */
451532 char *progname = argv[0];
452533 int opt_s = 0; /* -s option sunrise/set times */
534 int opt_c = 0; /* -c option shabat enter/leave times */
535 int opt_t = 0; /* -t option print times of day */
453536 int opt_S = 0; /* -S Short format flag */
454537 int opt_h = 0; /* -h option holidays */
455538 int opt_H = 0; /* -H option just holidays */
466549 setlocale (LC_ALL, "");
467550
468551 /* command line parsing */
469 while ((c = getopt (argc, argv, "sShHrRdil:L:z:")) != EOF)
552 while ((c = getopt (argc, argv, "sctShHrRdil:L:z:")) != EOF)
470553 {
471554 switch (c)
472555 {
473556 case 's':
474557 opt_s = 1;
558 break;
559 case 'c':
560 opt_c = 1;
561 break;
562 case 't':
563 opt_t = 1;
475564 break;
476565 case 'S':
477566 opt_S = 1;
518607 hdate_set_gdate (&h, 0, 0, 0);
519608
520609 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
521 opt_r, opt_R, opt_H, opt_i);
610 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
522611
523612 exit (0);
524613 }
535624 if (year > 3000) /* hebrew year */
536625 {
537626 print_hebrew_year (opt_d, opt_S, lat, lon, tz, opt_s,
538 opt_h, opt_r, opt_R, opt_H, opt_i,
627 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t,
539628 year);
540629
541630 exit (0);
543632 else
544633 {
545634 print_year (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
546 opt_r, opt_R, opt_H, opt_i, year);
635 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t, year);
547636
548637 exit (0);
549638 }
562651 if (year > 3000) /* hebrew year */
563652 {
564653 print_hebrew_month (opt_d, opt_S, lat, lon, tz, opt_s,
565 opt_h, opt_r, opt_R, opt_H, opt_i,
654 opt_h, opt_r, opt_R, opt_H, opt_i, opt_c, opt_t,
566655 month, year);
567656
568657 exit (0);
570659 else
571660 {
572661 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
573 opt_r, opt_R, opt_H, opt_i, month, year);
662 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t, month, year);
574663
575664 exit (0);
576665 }
599688 }
600689
601690 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
602 opt_r, opt_R, opt_H, opt_i);
691 opt_r, opt_R, opt_H, opt_i, opt_c, opt_t);
603692
604693 exit (0);
605694 }
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 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
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2447 INSTALL = @INSTALL@
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)
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
3053 NORMAL_INSTALL = :
3154 PRE_INSTALL = :
3255 POST_INSTALL = :
3356 NORMAL_UNINSTALL = :
3457 PRE_UNINSTALL = :
3558 POST_UNINSTALL = :
36 build_triplet = @build@
59 host_alias = @host_alias@
3760 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@
7661 AR = @AR@
77 AUTOCONF = @AUTOCONF@
78 AUTOHEADER = @AUTOHEADER@
79 AUTOMAKE = @AUTOMAKE@
80 AWK = @AWK@
62 AS = @AS@
8163 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
8264 CATOBJEXT = @CATOBJEXT@
8365 CC = @CC@
84 CCDEPMODE = @CCDEPMODE@
8566 CFLAGS = @CFLAGS@
86 CPP = @CPP@
87 CPPFLAGS = @CPPFLAGS@
8867 CXX = @CXX@
8968 CXXCPP = @CXXCPP@
90 CXXDEPMODE = @CXXDEPMODE@
91 CXXFLAGS = @CXXFLAGS@
92 CYGPATH_W = @CYGPATH_W@
9369 DATADIRNAME = @DATADIRNAME@
94 DEFS = @DEFS@
95 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
9671 ECHO = @ECHO@
97 ECHO_C = @ECHO_C@
98 ECHO_N = @ECHO_N@
99 ECHO_T = @ECHO_T@
10072 EGREP = @EGREP@
10173 EXEEXT = @EXEEXT@
10274 F77 = @F77@
103 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
10477 GENCAT = @GENCAT@
10578 GLIBC2 = @GLIBC2@
10679 GLIBC21 = @GLIBC21@
10780 GMSGFMT = @GMSGFMT@
10881 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
10983 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
11084 HAVE_SNPRINTF = @HAVE_SNPRINTF@
11185 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@
11686 INSTOBJEXT = @INSTOBJEXT@
11787 INTLBISON = @INTLBISON@
11888 INTLLIBS = @INTLLIBS@
11989 INTLOBJS = @INTLOBJS@
12090 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
12191 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
122 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
12393 LIBICONV = @LIBICONV@
12494 LIBINTL = @LIBINTL@
125 LIBOBJS = @LIBOBJS@
12695 LIBS = @LIBS@
12796 LIBTOOL = @LIBTOOL@
12897 LN_S = @LN_S@
98 LTLIB = @LTLIB@
12999 LTLIBICONV = @LTLIBICONV@
130100 LTLIBINTL = @LTLIBINTL@
131 LTLIBOBJS = @LTLIBOBJS@
132101 MAINT = @MAINT@
133 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
134 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
135102 MAKEINFO = @MAKEINFO@
136103 MKINSTALLDIRS = @MKINSTALLDIRS@
137 MSGFMT = @MSGFMT@
138 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
139105 OBJEXT = @OBJEXT@
140106 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@
147107 PA_MODULES_PATH = @PA_MODULES_PATH@
148108 PA_VERSION = @PA_VERSION@
149109 PE_CFLAGS = @PE_CFLAGS@
154114 PY_MODULES_PATH = @PY_MODULES_PATH@
155115 PY_VERSION = @PY_VERSION@
156116 RANLIB = @RANLIB@
157 SET_MAKE = @SET_MAKE@
158 SHELL = @SHELL@
117 RC = @RC@
159118 STRIP = @STRIP@
160119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
161120 USE_NLS = @USE_NLS@
162121 VERSION = @VERSION@
163122 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@
198123 have_pascal = @have_pascal@
199124 have_perl = @have_perl@
200125 have_python = @have_python@
201126 have_swig = @have_swig@
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@
127
222128 EXTRA_DIST = hdate_hebcal.c
129
223130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
224132 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
225133 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal
226136 @WITH_EXAMPLES_TRUE@hdate_hebcal_SOURCES = hdate_hebcal.c
227137 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDFLAGS =
228138 @WITH_EXAMPLES_TRUE@hdate_hebcal_DEPENDENCIES = $(DEPS)
229139 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDADD = $(ldadd)
230 all: all-am
231
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
232165 .SUFFIXES:
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
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
263184 install-binPROGRAMS: $(bin_PROGRAMS)
264185 @$(NORMAL_INSTALL)
265 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
186 $(mkinstalldirs) $(DESTDIR)$(bindir)
266187 @list='$(bin_PROGRAMS)'; for p in $$list; do \
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; \
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)/'`; \
274191 else :; fi; \
275192 done
276193
277194 uninstall-binPROGRAMS:
278195 @$(NORMAL_UNINSTALL)
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"; \
196 list='$(bin_PROGRAMS)'; for p in $$list; do \
197 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
283198 done
284199
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)
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 $<
213
214 mostlyclean-compile:
215 -rm -f *.o core *.core
216 -rm -f *.$(OBJEXT)
217
218 clean-compile:
219
220 distclean-compile:
221 -rm -f *.tab.c
222
223 maintainer-clean-compile:
224
225 .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 $<
233
234 mostlyclean-libtool:
235 -rm -f *.lo
236
237 clean-libtool:
238 -rm -rf .libs _libs
239
240 distclean-libtool:
241
242 maintainer-clean-libtool:
243
244 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
292245 @rm -f hdate_hebcal$(EXEEXT)
293246 $(LINK) $(hdate_hebcal_LDFLAGS) $(hdate_hebcal_OBJECTS) $(hdate_hebcal_LDADD) $(LIBS)
294247
295 mostlyclean-compile:
296 -rm -f *.$(OBJEXT)
297
298 distclean-compile:
299 -rm -f *.tab.c
300
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) '$<'`
316
317 .c.lo:
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 $@ $<
323
324 mostlyclean-libtool:
325 -rm -f *.lo
326
327 clean-libtool:
328 -rm -rf .libs _libs
329
330 distclean-libtool:
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; } \
248 tags: TAGS
249
250 ID: $(HEADERS) $(SOURCES) $(LISP)
251 list='$(SOURCES) $(HEADERS)'; \
252 unique=`for i in $$list; do echo $$i; done | \
253 awk ' { files[$$0] = 1; } \
340254 END { for (i in files) print i; }'`; \
341 mkid -fID $$unique
342 tags: TAGS
343
344 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
345 $(TAGS_FILES) $(LISP)
255 here=`pwd` && cd $(srcdir) \
256 && mkid -f$$here/ID $$unique $(LISP)
257
258 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
346259 tags=; \
347260 here=`pwd`; \
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; } \
261 list='$(SOURCES) $(HEADERS)'; \
262 unique=`for i in $$list; do echo $$i; done | \
263 awk ' { files[$$0] = 1; } \
353264 END { for (i in files) print i; }'`; \
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
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:
378271
379272 distclean-tags:
380 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
273 -rm -f TAGS ID
274
275 maintainer-clean-tags:
276
277 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
278
279 subdir = examples/hebcal
381280
382281 distdir: $(DISTFILES)
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; \
282 @for file in $(DISTFILES); do \
283 d=$(srcdir); \
398284 if test -d $$d/$$file; then \
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; \
285 cp -pr $$d/$$file $(distdir)/$$file; \
403286 else \
404287 test -f $(distdir)/$$file \
405 || cp -p $$d/$$file $(distdir)/$$file \
406 || exit 1; \
288 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
289 || cp -p $$d/$$file $(distdir)/$$file || :; \
407290 fi; \
408291 done
292
293 info-am:
294 info: info-am
295 dvi-am:
296 dvi: dvi-am
409297 check-am: all-am
410298 check: check-am
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
299 installcheck-am:
300 installcheck: installcheck-am
301 install-exec-am: install-binPROGRAMS
417302 install-exec: install-exec-am
303
304 install-data-am:
418305 install-data: install-data-am
419 uninstall: uninstall-am
420306
421307 install-am: all-am
422308 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423
424 installcheck: installcheck-am
309 install: install-am
310 uninstall-am: uninstall-binPROGRAMS
311 uninstall: uninstall-am
312 all-am: Makefile $(PROGRAMS)
313 all-redirect: all-am
425314 install-strip:
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
315 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
316 installdirs:
317 $(mkinstalldirs) $(DESTDIR)$(bindir)
318
319
430320 mostlyclean-generic:
431321
432322 clean-generic:
433323
434324 distclean-generic:
435 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
325 -rm -f Makefile $(CONFIG_CLEAN_FILES)
326 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
436327
437328 maintainer-clean-generic:
438 @echo "This command is intended for maintainers to use"
329 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
330 mostlyclean-libtool mostlyclean-tags \
331 mostlyclean-generic
332
333 mostlyclean: mostlyclean-am
334
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;"
439351 @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:
469352
470353 maintainer-clean: maintainer-clean-am
471 -rm -rf ./$(DEPDIR)
472 -rm -f Makefile
473 maintainer-clean-am: distclean-am maintainer-clean-generic
474
475 mostlyclean: mostlyclean-am
476
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
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
501367
502368 # Tell versions [3.59,3.63) of GNU make to not export all variables.
503369 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
15
12
13 SHELL = @SHELL@
1614
1715 srcdir = @srcdir@
1816 top_srcdir = @top_srcdir@
1917 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
2036 pkgdatadir = $(datadir)/@PACKAGE@
2137 pkglibdir = $(libdir)/@PACKAGE@
2238 pkgincludedir = $(includedir)/@PACKAGE@
39
2340 top_builddir = ../..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
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)
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
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
37 build_triplet = @build@
59 host_alias = @host_alias@
3860 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@
9261 AR = @AR@
93 AUTOCONF = @AUTOCONF@
94 AUTOHEADER = @AUTOHEADER@
95 AUTOMAKE = @AUTOMAKE@
96 AWK = @AWK@
62 AS = @AS@
9763 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
9864 CATOBJEXT = @CATOBJEXT@
9965 CC = @CC@
100 CCDEPMODE = @CCDEPMODE@
10166 CFLAGS = @CFLAGS@
102 CPP = @CPP@
103 CPPFLAGS = @CPPFLAGS@
10467 CXX = @CXX@
10568 CXXCPP = @CXXCPP@
106 CXXDEPMODE = @CXXDEPMODE@
107 CXXFLAGS = @CXXFLAGS@
108 CYGPATH_W = @CYGPATH_W@
10969 DATADIRNAME = @DATADIRNAME@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
11271 ECHO = @ECHO@
113 ECHO_C = @ECHO_C@
114 ECHO_N = @ECHO_N@
115 ECHO_T = @ECHO_T@
11672 EGREP = @EGREP@
11773 EXEEXT = @EXEEXT@
11874 F77 = @F77@
119 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
12077 GENCAT = @GENCAT@
12178 GLIBC2 = @GLIBC2@
12279 GLIBC21 = @GLIBC21@
12380 GMSGFMT = @GMSGFMT@
12481 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
12583 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
12684 HAVE_SNPRINTF = @HAVE_SNPRINTF@
12785 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@
13286 INSTOBJEXT = @INSTOBJEXT@
13387 INTLBISON = @INTLBISON@
13488 INTLLIBS = @INTLLIBS@
13589 INTLOBJS = @INTLOBJS@
13690 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
13791 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
138 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
13993 LIBICONV = @LIBICONV@
14094 LIBINTL = @LIBINTL@
141 LIBOBJS = @LIBOBJS@
14295 LIBS = @LIBS@
14396 LIBTOOL = @LIBTOOL@
14497 LN_S = @LN_S@
98 LTLIB = @LTLIB@
14599 LTLIBICONV = @LTLIBICONV@
146100 LTLIBINTL = @LTLIBINTL@
147 LTLIBOBJS = @LTLIBOBJS@
148101 MAINT = @MAINT@
149 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
150 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
151102 MAKEINFO = @MAKEINFO@
152103 MKINSTALLDIRS = @MKINSTALLDIRS@
153 MSGFMT = @MSGFMT@
154 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
155105 OBJEXT = @OBJEXT@
156106 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@
163107 PA_MODULES_PATH = @PA_MODULES_PATH@
164108 PA_VERSION = @PA_VERSION@
165109 PE_CFLAGS = @PE_CFLAGS@
170114 PY_MODULES_PATH = @PY_MODULES_PATH@
171115 PY_VERSION = @PY_VERSION@
172116 RANLIB = @RANLIB@
173 SET_MAKE = @SET_MAKE@
174 SHELL = @SHELL@
117 RC = @RC@
175118 STRIP = @STRIP@
176119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
177120 USE_NLS = @USE_NLS@
178121 VERSION = @VERSION@
179122 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@
214123 have_pascal = @have_pascal@
215124 have_perl = @have_perl@
216125 have_python = @have_python@
217126 have_swig = @have_swig@
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@
127
238128 EXTRA_DIST = hdate_reading_html.c hdate_holydays_html.c
129
239130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
240132 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
241133 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html hdate_holydays_html
136
242137 @WITH_EXAMPLES_TRUE@hdate_reading_html_SOURCES = hdate_reading_html.c
243138 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDFLAGS =
244139 @WITH_EXAMPLES_TRUE@hdate_reading_html_DEPENDENCIES = $(DEPS)
245140 @WITH_EXAMPLES_TRUE@hdate_reading_html_LDADD = $(ldadd)
141
246142 @WITH_EXAMPLES_TRUE@hdate_holydays_html_SOURCES = hdate_holydays_html.c
247143 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDFLAGS =
248144 @WITH_EXAMPLES_TRUE@hdate_holydays_html_DEPENDENCIES = $(DEPS)
249145 @WITH_EXAMPLES_TRUE@hdate_holydays_html_LDADD = $(ldadd)
146
250147 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/html
251148 libhdatedoc_DATA = hdate_holydays_html.c hdate_reading_html.c
252 all: all-am
253
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
254180 .SUFFIXES:
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
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
285199 install-binPROGRAMS: $(bin_PROGRAMS)
286200 @$(NORMAL_INSTALL)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
288202 @list='$(bin_PROGRAMS)'; for p in $$list; do \
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; \
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)/'`; \
296206 else :; fi; \
297207 done
298208
299209 uninstall-binPROGRAMS:
300210 @$(NORMAL_UNINSTALL)
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"; \
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
305213 done
306214
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)
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 $<
228
229 mostlyclean-compile:
230 -rm -f *.o core *.core
231 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234
235 distclean-compile:
236 -rm -f *.tab.c
237
238 maintainer-clean-compile:
239
240 .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 $<
248
249 mostlyclean-libtool:
250 -rm -f *.lo
251
252 clean-libtool:
253 -rm -rf .libs _libs
254
255 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)
314264 @rm -f hdate_holydays_html$(EXEEXT)
315265 $(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)
319
320 mostlyclean-compile:
321 -rm -f *.$(OBJEXT)
322
323 distclean-compile:
324 -rm -f *.tab.c
325
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) '$<'`
342
343 .c.lo:
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 mostlyclean-libtool:
351 -rm -f *.lo
352
353 clean-libtool:
354 -rm -rf .libs _libs
355
356 distclean-libtool:
357 -rm -f libtool
358 uninstall-info-am:
266
359267 install-libhdatedocDATA: $(libhdatedoc_DATA)
360268 @$(NORMAL_INSTALL)
361 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
362270 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
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"; \
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; \
367278 done
368279
369280 uninstall-libhdatedocDATA:
370281 @$(NORMAL_UNINSTALL)
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"; \
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
375284 done
376285
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; } \
286 tags: TAGS
287
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
383292 END { for (i in files) print i; }'`; \
384 mkid -fID $$unique
385 tags: TAGS
386
387 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
388 $(TAGS_FILES) $(LISP)
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
389297 tags=; \
390298 here=`pwd`; \
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; } \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
396302 END { for (i in files) print i; }'`; \
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
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:
421309
422310 distclean-tags:
423 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/html
424318
425319 distdir: $(DISTFILES)
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; \
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
441322 if test -d $$d/$$file; then \
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; \
323 cp -pr $$d/$$file $(distdir)/$$file; \
446324 else \
447325 test -f $(distdir)/$$file \
448 || cp -p $$d/$$file $(distdir)/$$file \
449 || exit 1; \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
450328 fi; \
451329 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
452335 check-am: all-am
453336 check: check-am
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
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
460340 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
461343 install-data: install-data-am
462 uninstall: uninstall-am
463344
464345 install-am: all-am
465346 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
466
467 installcheck: installcheck-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
468352 install-strip:
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
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
473358 mostlyclean-generic:
474359
475360 clean-generic:
476361
477362 distclean-generic:
478 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
479365
480366 maintainer-clean-generic:
481 @echo "This command is intended for maintainers to use"
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
370
371 mostlyclean: mostlyclean-am
372
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;"
482389 @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:
512390
513391 maintainer-clean: maintainer-clean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516 maintainer-clean-am: distclean-am maintainer-clean-generic
517
518 mostlyclean: mostlyclean-am
519
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
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
546406
547407 # Tell versions [3.59,3.63) of GNU make to not export all variables.
548408 # Otherwise a system limit (for SysV at least) may be exceeded.
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
15
12
13 SHELL = @SHELL@
1614
1715 srcdir = @srcdir@
1816 top_srcdir = @top_srcdir@
1917 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
2036 pkgdatadir = $(datadir)/@PACKAGE@
2137 pkglibdir = $(libdir)/@PACKAGE@
2238 pkgincludedir = $(includedir)/@PACKAGE@
39
2340 top_builddir = ../..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
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)
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
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
37 build_triplet = @build@
59 host_alias = @host_alias@
3860 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@
9261 AR = @AR@
93 AUTOCONF = @AUTOCONF@
94 AUTOHEADER = @AUTOHEADER@
95 AUTOMAKE = @AUTOMAKE@
96 AWK = @AWK@
62 AS = @AS@
9763 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
9864 CATOBJEXT = @CATOBJEXT@
9965 CC = @CC@
100 CCDEPMODE = @CCDEPMODE@
10166 CFLAGS = @CFLAGS@
102 CPP = @CPP@
103 CPPFLAGS = @CPPFLAGS@
10467 CXX = @CXX@
10568 CXXCPP = @CXXCPP@
106 CXXDEPMODE = @CXXDEPMODE@
107 CXXFLAGS = @CXXFLAGS@
108 CYGPATH_W = @CYGPATH_W@
10969 DATADIRNAME = @DATADIRNAME@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
11271 ECHO = @ECHO@
113 ECHO_C = @ECHO_C@
114 ECHO_N = @ECHO_N@
115 ECHO_T = @ECHO_T@
11672 EGREP = @EGREP@
11773 EXEEXT = @EXEEXT@
11874 F77 = @F77@
119 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
12077 GENCAT = @GENCAT@
12178 GLIBC2 = @GLIBC2@
12279 GLIBC21 = @GLIBC21@
12380 GMSGFMT = @GMSGFMT@
12481 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
12583 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
12684 HAVE_SNPRINTF = @HAVE_SNPRINTF@
12785 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@
13286 INSTOBJEXT = @INSTOBJEXT@
13387 INTLBISON = @INTLBISON@
13488 INTLLIBS = @INTLLIBS@
13589 INTLOBJS = @INTLOBJS@
13690 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
13791 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
138 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
13993 LIBICONV = @LIBICONV@
14094 LIBINTL = @LIBINTL@
141 LIBOBJS = @LIBOBJS@
14295 LIBS = @LIBS@
14396 LIBTOOL = @LIBTOOL@
14497 LN_S = @LN_S@
98 LTLIB = @LTLIB@
14599 LTLIBICONV = @LTLIBICONV@
146100 LTLIBINTL = @LTLIBINTL@
147 LTLIBOBJS = @LTLIBOBJS@
148101 MAINT = @MAINT@
149 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
150 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
151102 MAKEINFO = @MAKEINFO@
152103 MKINSTALLDIRS = @MKINSTALLDIRS@
153 MSGFMT = @MSGFMT@
154 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
155105 OBJEXT = @OBJEXT@
156106 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@
163107 PA_MODULES_PATH = @PA_MODULES_PATH@
164108 PA_VERSION = @PA_VERSION@
165109 PE_CFLAGS = @PE_CFLAGS@
170114 PY_MODULES_PATH = @PY_MODULES_PATH@
171115 PY_VERSION = @PY_VERSION@
172116 RANLIB = @RANLIB@
173 SET_MAKE = @SET_MAKE@
174 SHELL = @SHELL@
117 RC = @RC@
175118 STRIP = @STRIP@
176119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
177120 USE_NLS = @USE_NLS@
178121 VERSION = @VERSION@
179122 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@
214123 have_pascal = @have_pascal@
215124 have_perl = @have_perl@
216125 have_python = @have_python@
217126 have_swig = @have_swig@
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@
127
238128 EXTRA_DIST = hdate_reading_ical.c hdate_holydays_ical.c
129
239130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
131
240132 @WITH_EXAMPLES_TRUE@DEPS = $(top_builddir)/src/libhdate.la
241133 @WITH_EXAMPLES_TRUE@ldadd = $(top_builddir)/src/libhdate.la -lm
134
135 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical hdate_holydays_ical
136
242137 @WITH_EXAMPLES_TRUE@hdate_reading_ical_SOURCES = hdate_reading_ical.c
243138 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDFLAGS =
244139 @WITH_EXAMPLES_TRUE@hdate_reading_ical_DEPENDENCIES = $(DEPS)
245140 @WITH_EXAMPLES_TRUE@hdate_reading_ical_LDADD = $(ldadd)
141
246142 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_SOURCES = hdate_holydays_ical.c
247143 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDFLAGS =
248144 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_DEPENDENCIES = $(DEPS)
249145 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_LDADD = $(ldadd)
146
250147 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/ical
251148 libhdatedoc_DATA = hdate_holydays_ical.c hdate_reading_ical.c
252 all: all-am
253
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
254180 .SUFFIXES:
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
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
285199 install-binPROGRAMS: $(bin_PROGRAMS)
286200 @$(NORMAL_INSTALL)
287 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
201 $(mkinstalldirs) $(DESTDIR)$(bindir)
288202 @list='$(bin_PROGRAMS)'; for p in $$list; do \
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; \
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)/'`; \
296206 else :; fi; \
297207 done
298208
299209 uninstall-binPROGRAMS:
300210 @$(NORMAL_UNINSTALL)
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"; \
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
305213 done
306214
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)
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 $<
228
229 mostlyclean-compile:
230 -rm -f *.o core *.core
231 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234
235 distclean-compile:
236 -rm -f *.tab.c
237
238 maintainer-clean-compile:
239
240 .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 $<
248
249 mostlyclean-libtool:
250 -rm -f *.lo
251
252 clean-libtool:
253 -rm -rf .libs _libs
254
255 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)
314264 @rm -f hdate_holydays_ical$(EXEEXT)
315265 $(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)
319
320 mostlyclean-compile:
321 -rm -f *.$(OBJEXT)
322
323 distclean-compile:
324 -rm -f *.tab.c
325
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) '$<'`
342
343 .c.lo:
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 mostlyclean-libtool:
351 -rm -f *.lo
352
353 clean-libtool:
354 -rm -rf .libs _libs
355
356 distclean-libtool:
357 -rm -f libtool
358 uninstall-info-am:
266
359267 install-libhdatedocDATA: $(libhdatedoc_DATA)
360268 @$(NORMAL_INSTALL)
361 test -z "$(libhdatedocdir)" || $(mkdir_p) "$(DESTDIR)$(libhdatedocdir)"
269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
362270 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
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"; \
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; \
367278 done
368279
369280 uninstall-libhdatedocDATA:
370281 @$(NORMAL_UNINSTALL)
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"; \
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
375284 done
376285
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; } \
286 tags: TAGS
287
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
383292 END { for (i in files) print i; }'`; \
384 mkid -fID $$unique
385 tags: TAGS
386
387 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
388 $(TAGS_FILES) $(LISP)
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
389297 tags=; \
390298 here=`pwd`; \
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; } \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
396302 END { for (i in files) print i; }'`; \
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
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:
421309
422310 distclean-tags:
423 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/ical
424318
425319 distdir: $(DISTFILES)
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; \
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
441322 if test -d $$d/$$file; then \
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; \
323 cp -pr $$d/$$file $(distdir)/$$file; \
446324 else \
447325 test -f $(distdir)/$$file \
448 || cp -p $$d/$$file $(distdir)/$$file \
449 || exit 1; \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
450328 fi; \
451329 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
452335 check-am: all-am
453336 check: check-am
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
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
460340 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
461343 install-data: install-data-am
462 uninstall: uninstall-am
463344
464345 install-am: all-am
465346 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
466
467 installcheck: installcheck-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
468352 install-strip:
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
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
473358 mostlyclean-generic:
474359
475360 clean-generic:
476361
477362 distclean-generic:
478 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
479365
480366 maintainer-clean-generic:
481 @echo "This command is intended for maintainers to use"
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
370
371 mostlyclean: mostlyclean-am
372
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;"
482389 @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:
512390
513391 maintainer-clean: maintainer-clean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516 maintainer-clean-am: distclean-am maintainer-clean-generic
517
518 mostlyclean: mostlyclean-am
519
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
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
546406
547407 # Tell versions [3.59,3.63) of GNU make to not export all variables.
548408 # 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.6
2 Version: 1.4.8
33 Release: 1
44 License: GPL
55 Group: System Environment/Libraries
114114
115115 %files pascal
116116 %defattr(-,root,root)
117 %{_libdir}/fpc/2.0.0/units/linux/hdate/*
117 %{_libdir}/fpc/2.0.2/units/linux/hdate/*
118118
119119 %post
120120 /sbin/ldconfig
4242
4343 PROGRAM=ltmain.sh
4444 PACKAGE=libtool
45 VERSION="1.5.22 Debian 1.5.22-4"
45 VERSION="1.5.22 Debian 1.5.22-2"
4646 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
4747
4848 # See if we are running on zsh, and set the options which allow our
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.
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.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
15
12
13 SHELL = @SHELL@
1614
1715 srcdir = @srcdir@
1816 top_srcdir = @top_srcdir@
1917 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
2036 pkgdatadir = $(datadir)/@PACKAGE@
2137 pkglibdir = $(libdir)/@PACKAGE@
2238 pkgincludedir = $(includedir)/@PACKAGE@
39
2340 top_builddir = ..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
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)
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
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
37 build_triplet = @build@
59 host_alias = @host_alias@
3860 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@
8961 AR = @AR@
90 AUTOCONF = @AUTOCONF@
91 AUTOHEADER = @AUTOHEADER@
92 AUTOMAKE = @AUTOMAKE@
93 AWK = @AWK@
62 AS = @AS@
9463 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
9564 CATOBJEXT = @CATOBJEXT@
9665 CC = @CC@
97 CCDEPMODE = @CCDEPMODE@
9866 CFLAGS = @CFLAGS@
99 CPP = @CPP@
100 CPPFLAGS = @CPPFLAGS@
10167 CXX = @CXX@
10268 CXXCPP = @CXXCPP@
103 CXXDEPMODE = @CXXDEPMODE@
104 CXXFLAGS = @CXXFLAGS@
105 CYGPATH_W = @CYGPATH_W@
10669 DATADIRNAME = @DATADIRNAME@
107 DEFS = @DEFS@
108 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
10971 ECHO = @ECHO@
110 ECHO_C = @ECHO_C@
111 ECHO_N = @ECHO_N@
112 ECHO_T = @ECHO_T@
11372 EGREP = @EGREP@
11473 EXEEXT = @EXEEXT@
11574 F77 = @F77@
116 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
11777 GENCAT = @GENCAT@
11878 GLIBC2 = @GLIBC2@
11979 GLIBC21 = @GLIBC21@
12080 GMSGFMT = @GMSGFMT@
12181 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
12283 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
12384 HAVE_SNPRINTF = @HAVE_SNPRINTF@
12485 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@
12986 INSTOBJEXT = @INSTOBJEXT@
13087 INTLBISON = @INTLBISON@
13188 INTLLIBS = @INTLLIBS@
13289 INTLOBJS = @INTLOBJS@
13390 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
13491 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
135 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
13693 LIBICONV = @LIBICONV@
13794 LIBINTL = @LIBINTL@
138 LIBOBJS = @LIBOBJS@
13995 LIBS = @LIBS@
14096 LIBTOOL = @LIBTOOL@
14197 LN_S = @LN_S@
98 LTLIB = @LTLIB@
14299 LTLIBICONV = @LTLIBICONV@
143100 LTLIBINTL = @LTLIBINTL@
144 LTLIBOBJS = @LTLIBOBJS@
145101 MAINT = @MAINT@
146 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
147 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
148102 MAKEINFO = @MAKEINFO@
149103 MKINSTALLDIRS = @MKINSTALLDIRS@
150 MSGFMT = @MSGFMT@
151 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
152105 OBJEXT = @OBJEXT@
153106 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@
160107 PA_MODULES_PATH = @PA_MODULES_PATH@
161108 PA_VERSION = @PA_VERSION@
162109 PE_CFLAGS = @PE_CFLAGS@
167114 PY_MODULES_PATH = @PY_MODULES_PATH@
168115 PY_VERSION = @PY_VERSION@
169116 RANLIB = @RANLIB@
170 SET_MAKE = @SET_MAKE@
171 SHELL = @SHELL@
117 RC = @RC@
172118 STRIP = @STRIP@
173119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
174120 USE_NLS = @USE_NLS@
175121 VERSION = @VERSION@
176122 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@
211123 have_pascal = @have_pascal@
212124 have_perl = @have_perl@
213125 have_python = @have_python@
214126 have_swig = @have_swig@
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@
127
235128 EXTRA_DIST = hdate.h.3 hdate_struct.3
236 libhdate_la_CFLAGS = \
237 -Wall\
238 -g
129
130 libhdate_la_CFLAGS = -Wall -g
131
239132
240133 lib_LTLIBRARIES = libhdate.la
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
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
249137
250138 libhdate_la_LDFLAGS = -version-info $(VERSION_INFO)
139
251140 libhdate_la_LIBADD =
141
252142 include_HEADERS = hdate.h hdatepp.h
143
253144 man_MANS = hdate.h.3 hdate_struct.3
254 all: all-am
255
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
256177 .SUFFIXES:
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
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:
188
189 clean-libLTLIBRARIES:
190 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
191
192 distclean-libLTLIBRARIES:
193
194 maintainer-clean-libLTLIBRARIES:
195
287196 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
288197 @$(NORMAL_INSTALL)
289 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
198 $(mkinstalldirs) $(DESTDIR)$(libdir)
290199 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
291200 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"; \
201 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
202 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
295203 else :; fi; \
296204 done
297205
298206 uninstall-libLTLIBRARIES:
299207 @$(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
305
306 clean-libLTLIBRARIES:
307 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
308 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
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)
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 $<
316225
317226 mostlyclean-compile:
227 -rm -f *.o core *.core
318228 -rm -f *.$(OBJEXT)
229
230 clean-compile:
319231
320232 distclean-compile:
321233 -rm -f *.tab.c
322234
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) '$<'`
235 maintainer-clean-compile:
342236
343237 .c.lo:
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
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 $<
384245
385246 mostlyclean-libtool:
386247 -rm -f *.lo
389250 -rm -rf .libs _libs
390251
391252 distclean-libtool:
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 \
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 \
400263 case "$$i" in \
401264 *.3*) list="$$list $$i" ;; \
402265 esac; \
405268 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
406269 else file=$$i; fi; \
407270 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
408 case "$$ext" in \
409 3*) ;; \
410 *) ext='3' ;; \
411 esac; \
412271 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
413 inst=`echo $$inst | sed -e 's/^.*\///'`; \
414272 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
415 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
416 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
417 done
273 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
274 $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
275 done
276
418277 uninstall-man3:
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 \
278 @list='$(man3_MANS)'; \
279 l2='$(man_MANS)'; for i in $$l2; do \
423280 case "$$i" in \
424281 *.3*) list="$$list $$i" ;; \
425282 esac; \
426283 done; \
427284 for i in $$list; do \
428285 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
429 case "$$ext" in \
430 3*) ;; \
431 *) ext='3' ;; \
432 esac; \
433286 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
434 inst=`echo $$inst | sed -e 's/^.*\///'`; \
435287 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
436 echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
437 rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
438 done
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
439298 install-includeHEADERS: $(include_HEADERS)
440299 @$(NORMAL_INSTALL)
441 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
300 $(mkinstalldirs) $(DESTDIR)$(includedir)
442301 @list='$(include_HEADERS)'; for p in $$list; do \
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"; \
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; \
447305 done
448306
449307 uninstall-includeHEADERS:
450308 @$(NORMAL_UNINSTALL)
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; } \
309 list='$(include_HEADERS)'; for p in $$list; do \
310 rm -f $(DESTDIR)$(includedir)/$$p; \
311 done
312
313 tags: TAGS
314
315 ID: $(HEADERS) $(SOURCES) $(LISP)
316 list='$(SOURCES) $(HEADERS)'; \
317 unique=`for i in $$list; do echo $$i; done | \
318 awk ' { files[$$0] = 1; } \
463319 END { for (i in files) print i; }'`; \
464 mkid -fID $$unique
465 tags: TAGS
466
467 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
468 $(TAGS_FILES) $(LISP)
320 here=`pwd` && cd $(srcdir) \
321 && mkid -f$$here/ID $$unique $(LISP)
322
323 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
469324 tags=; \
470325 here=`pwd`; \
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; } \
326 list='$(SOURCES) $(HEADERS)'; \
327 unique=`for i in $$list; do echo $$i; done | \
328 awk ' { files[$$0] = 1; } \
476329 END { for (i in files) print i; }'`; \
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
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:
501336
502337 distclean-tags:
503 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
338 -rm -f TAGS ID
339
340 maintainer-clean-tags:
341
342 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
343
344 subdir = src
504345
505346 distdir: $(DISTFILES)
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; \
347 @for file in $(DISTFILES); do \
348 d=$(srcdir); \
521349 if test -d $$d/$$file; then \
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; \
350 cp -pr $$d/$$file $(distdir)/$$file; \
526351 else \
527352 test -f $(distdir)/$$file \
528 || cp -p $$d/$$file $(distdir)/$$file \
529 || exit 1; \
353 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
354 || cp -p $$d/$$file $(distdir)/$$file || :; \
530355 fi; \
531356 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
532367 check-am: all-am
533368 check: check-am
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
369 installcheck-am:
370 installcheck: installcheck-am
371 install-exec-am: install-libLTLIBRARIES
540372 install-exec: install-exec-am
373
374 install-data-am: install-man install-includeHEADERS
541375 install-data: install-data-am
542 uninstall: uninstall-am
543376
544377 install-am: all-am
545378 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
546
547 installcheck: installcheck-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
548385 install-strip:
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
386 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
387 installdirs:
388 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
389 $(DESTDIR)$(includedir)
390
391
553392 mostlyclean-generic:
554393
555394 clean-generic:
556395
557396 distclean-generic:
558 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
397 -rm -f Makefile $(CONFIG_CLEAN_FILES)
398 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
559399
560400 maintainer-clean-generic:
561 @echo "This command is intended for maintainers to use"
401 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
402 mostlyclean-libtool mostlyclean-tags \
403 mostlyclean-generic
404
405 mostlyclean: mostlyclean-am
406
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;"
562424 @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:
593425
594426 maintainer-clean: maintainer-clean-am
595 -rm -rf ./$(DEPDIR)
596 -rm -f Makefile
597 maintainer-clean-am: distclean-am maintainer-clean-generic
598
599 mostlyclean: mostlyclean-am
600
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
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
630442
631443 # Tell versions [3.59,3.63) of GNU make to not export all variables.
632444 # Otherwise a system limit (for SysV at least) may be exceeded.
340340 hdate_get_day_of_year (int day, int month, int year);
341341
342342 /**
343 @brief utc sun times for altitude at a gregorian date
344
345 @parm day this day of month
346 @parm month this month
347 @parm year this year
348 @parm longitude longitude to use in calculations
349 @parm latitude latitude to use in calculations
350 @parm deg degrees of sun's altitude (0 - Zenith .. 90 - Horizon)
351 @parm sunrise return the utc sunrise in minutes
352 @parm sunset return the utc sunset in minutes
353 */
354 void
355 hdate_get_utc_sun_time_deg (int day, int month, int year,
356 double latitude, double longitude, double deg, int *sunrise, int *sunset);
357
358 /**
343359 @brief utc sunrise/set time for a gregorian date
344360
345361 @param day this day of month
353369 @param sunset return the utc sunset in minutes after midnight (00:00)
354370 */
355371 void
356 hdate_get_utc_sun_time (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset);
372 hdate_get_utc_sun_time (int day, int month, int year,
373 double latitude, double longitude, int *sunrise, int *sunset);
374
375 /**
376 @brief utc sunrise/set time for a gregorian date
377
378 @parm day this day of month
379 @parm month this month
380 @parm year this year
381 @parm longitude longitude to use in calculations
382 @parm latitude latitude to use in calculations
383 @parm sun_hour return the length of shaa zaminit in minutes
384 @parm first_light return the utc alut ha-shachar in minutes
385 @parm talit return the utc tphilin and talit in minutes
386 @parm sunrise return the utc sunrise in minutes
387 @parm midday return the utc midday in minutes
388 @parm sunset return the utc sunset in minutes
389 @parm first_stars return the utc tzeit hacochavim in minutes
390 @parm three_stars return the utc shlosha cochavim in minutes
391 */
392 void
393 hdate_get_utc_sun_time_full (int day, int month, int year, double latitude, double longitude,
394 int *sun_hour, int *first_light, int *talit, int *sunrise,
395 int *midday, int *sunset, int *first_stars, int *three_stars);
357396
358397 /*************************************************************/
359398 /*************************************************************/
5454 }
5555
5656 /**
57 @brief utc sunrise/set time for a gregorian date
57 @brief utc sun times for altitude at a gregorian date
5858
5959 @parm day this day of month
6060 @parm month this month
6161 @parm year this year
6262 @parm longitude longitude to use in calculations
6363 @parm latitude latitude to use in calculations
64 @parm deg degrees of sun's altitude (0 - Zenith .. 90 - Horizon)
6465 @parm sunrise return the utc sunrise in minutes
6566 @parm sunset return the utc sunset in minutes
6667 */
6768 void
68 hdate_get_utc_sun_time (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset)
69 hdate_get_utc_sun_time_deg (int day, int month, int year, double latitude, double longitude, double deg, int *sunrise, int *sunset)
6970 {
7071 double gama; /* location of sun in yearly cycle in radians */
7172 double eqtime; /* diffference betwen sun noon and clock noon */
7273 double decl; /* sun declanation */
7374 double ha; /* solar hour engle */
74 double sunrise_angle = M_PI * 90.833 / 180.0; /* sun angle at sunrise/set */
75 double sunrise_angle = M_PI * deg / 180.0; /* sun angle at sunrise/set */
7576
7677 int day_of_year;
7778
106107
107108 return;
108109 }
110
111 /**
112 @brief utc sunrise/set time for a gregorian date
113
114 @parm day this day of month
115 @parm month this month
116 @parm year this year
117 @parm longitude longitude to use in calculations
118 @parm latitude latitude to use in calculations
119 @parm sunrise return the utc sunrise in minutes
120 @parm sunset return the utc sunset in minutes
121 */
122 void
123 hdate_get_utc_sun_time (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset)
124 {
125 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 90.833, sunrise, sunset);
126
127 return;
128 }
129
130 /**
131 @brief utc sunrise/set time for a gregorian date
132
133 @parm day this day of month
134 @parm month this month
135 @parm year this year
136 @parm longitude longitude to use in calculations
137 @parm latitude latitude to use in calculations
138 @parm sun_hour return the length of shaa zaminit in minutes
139 @parm first_light return the utc alut ha-shachar in minutes
140 @parm talit return the utc tphilin and talit in minutes
141 @parm sunrise return the utc sunrise in minutes
142 @parm midday return the utc midday in minutes
143 @parm sunset return the utc sunset in minutes
144 @parm first_stars return the utc tzeit hacochavim in minutes
145 @parm three_stars return the utc shlosha cochavim in minutes
146 */
147 void
148 hdate_get_utc_sun_time_full (int day, int month, int year, double latitude, double longitude,
149 int *sun_hour, int *first_light, int *talit, int *sunrise,
150 int *midday, int *sunset, int *first_stars, int *three_stars)
151 {
152 int place_holder;
153
154 /* sunset and rise time */
155 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 90.833, sunrise, sunset);
156
157 /* shaa zmanit by gara, 1/12 of light time */
158 *sun_hour = (*sunset - *sunrise) / 12;
159 *midday = (*sunset + *sunrise) / 2;
160
161 /* get times of the different sun angles */
162 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 106.01, first_light, &place_holder);
163 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 101.0, talit, &place_holder);
164 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 96.0, &place_holder, first_stars);
165 hdate_get_utc_sun_time_deg (day, month, year, latitude, longitude, 98.5, &place_holder, three_stars);
166
167 return;
168 }
452452 return sunset + tz * 60;
453453 }
454454
455 /**
456 @brief first light time
457
458 @return first light in minutes after midnight (00:00)
459 */
460 int
461 get_first_light ()
462 {
463 int sunrise;
464 int sunset;
465
466 hdate_get_utc_sun_time_deg (h->gd_day, h->gd_mon, h->gd_year,
467 latitude, longitude, 106.01,
468 &sunrise, &sunset);
469
470 return sunrise + tz * 60;
471 }
472
473 /**
474 @brief talit time
475
476 @return talit time in minutes after midnight (00:00)
477 */
478 int
479 get_talit ()
480 {
481 int sunrise;
482 int sunset;
483
484 hdate_get_utc_sun_time_deg (h->gd_day, h->gd_mon, h->gd_year,
485 latitude, longitude, 101.0,
486 &sunrise, &sunset);
487
488 return sunrise + tz * 60;
489 }
490
491 /**
492 @brief first stars time
493
494 @return first stars in minutes after midnight (00:00)
495 */
496 int
497 get_first_stars ()
498 {
499 int sunrise;
500 int sunset;
501
502 hdate_get_utc_sun_time_deg (h->gd_day, h->gd_mon, h->gd_year,
503 latitude, longitude, 96.0,
504 &sunrise, &sunset);
505
506 return sunset + tz * 60;
507 }
508
509 /**
510 @brief three stars time
511
512 @return three stars in minutes after midnight (00:00)
513 */
514 int
515 get_three_stars ()
516 {
517 int sunrise;
518 int sunset;
519
520 hdate_get_utc_sun_time_deg (h->gd_day, h->gd_mon, h->gd_year,
521 latitude, longitude, 98.5,
522 &sunrise, &sunset);
523
524 return sunset + tz * 60;
525 }
526
527 /**
528 @brief sun light hour time
529
530 @return sun light hour in minutes
531 */
532 int
533 get_sun_hour ()
534 {
535 int sunrise;
536 int sunset;
537
538 hdate_get_utc_sun_time (h->gd_day, h->gd_mon, h->gd_year,
539 latitude, longitude,
540 &sunrise, &sunset);
541
542 return (sunset - sunrise) / 12;
543 }
544
545 /**
546 @brief midday hour time
547
548 @return midday hour in minutes
549 */
550 int
551 get_midday ()
552 {
553 int sunrise;
554 int sunset;
555
556 hdate_get_utc_sun_time (h->gd_day, h->gd_mon, h->gd_year,
557 latitude, longitude,
558 &sunrise, &sunset);
559
560 return (sunset + sunrise) / 2;
561 }
562
455563 ////////////////////////////////////////
456564 ////////////////////////////////////////
457565