Package list squidview / eb89b56
Imported Upstream version 0.72 Willi Mann 9 years ago
19 changed file(s) with 3784 addition(s) and 2781 deletion(s). Raw diff Collapse all Expand all
00 >> Squidview history:
1
2 v0.72: 22 December 2007:
3 - minor changes to permit compilation with gcc v4.3
4 - c++ code cleanup to eliminate compiler warnings
5 - autoconf, automake cleanup
16
27 v0.71: 5 November 2006:
38 - applied edited patch from Vaclav Haisman which can boost speed of making
4 reports 2 times.
9 reports 2 times - big thanks.
510
611 v0.70: 14 March 2006:
712 - applied patch from Debian people to permit compilation in gcc 4.1.
0 squidview 0.6 (c) 2001 - 2004 Graeme Sheppard - GPL software
0 squidview 0.7x (c) 2001 - 2007 Graeme Sheppard - GPL software
11 www.rillion.net/squidview
22
33 --Overview
0 AUTOMAKE_OPTIONS = gnu
1 AM_CPPFLAGS = -DSHAREDIR='"$(datadir)/$(PACKAGE)"' @CPPFLAGS@
02 bin_PROGRAMS = squidview
13 squidview_SOURCES = squidview.cpp squidview.h
24 pkgdata_DATA = HOWTO BUGS users words aliases example.log
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
15
16
1717 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3618 pkgdatadir = $(datadir)/@PACKAGE@
3719 pkglibdir = $(libdir)/@PACKAGE@
3820 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
21 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 install_sh_DATA = $(install_sh) -c -m 644
23 install_sh_PROGRAM = $(install_sh) -c
24 install_sh_SCRIPT = $(install_sh) -c
25 INSTALL_HEADER = $(INSTALL_DATA)
26 transform = $(program_transform_name)
5327 NORMAL_INSTALL = :
5428 PRE_INSTALL = :
5529 POST_INSTALL = :
5630 NORMAL_UNINSTALL = :
5731 PRE_UNINSTALL = :
5832 POST_UNINSTALL = :
33 bin_PROGRAMS = squidview$(EXEEXT)
34 subdir = .
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
37 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38 depcomp install-sh missing
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 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
44 configure.lineno config.status.lineno
45 mkinstalldirs = $(install_sh) -d
46 CONFIG_HEADER = config.h
47 CONFIG_CLEAN_FILES =
48 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
49 "$(DESTDIR)$(pkgdatadir)"
50 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
51 PROGRAMS = $(bin_PROGRAMS)
52 am_squidview_OBJECTS = squidview.$(OBJEXT)
53 squidview_OBJECTS = $(am_squidview_OBJECTS)
54 squidview_LDADD = $(LDADD)
55 DEFAULT_INCLUDES = -I.@am__isrc@
56 depcomp = $(SHELL) $(top_srcdir)/depcomp
57 am__depfiles_maybe = depfiles
58 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
59 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
60 CXXLD = $(CXX)
61 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
62 -o $@
63 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
64 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
65 CCLD = $(CC)
66 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
67 SOURCES = $(squidview_SOURCES)
68 DIST_SOURCES = $(squidview_SOURCES)
69 man1dir = $(mandir)/man1
70 NROFF = nroff
71 MANS = $(man_MANS)
72 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
73 am__vpath_adj = case $$p in \
74 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
75 *) f=$$p;; \
76 esac;
77 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
78 pkgdataDATA_INSTALL = $(INSTALL_DATA)
79 DATA = $(pkgdata_DATA)
80 ETAGS = etags
81 CTAGS = ctags
82 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
83 distdir = $(PACKAGE)-$(VERSION)
84 top_distdir = $(distdir)
85 am__remove_distdir = \
86 { test ! -d $(distdir) \
87 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
88 && rm -fr $(distdir); }; }
89 DIST_ARCHIVES = $(distdir).tar.gz
90 GZIP_ENV = --best
91 distuninstallcheck_listfiles = find . -type f -print
92 distcleancheck_listfiles = find . -type f -print
93 ACLOCAL = @ACLOCAL@
94 AMTAR = @AMTAR@
95 AUTOCONF = @AUTOCONF@
96 AUTOHEADER = @AUTOHEADER@
97 AUTOMAKE = @AUTOMAKE@
98 AWK = @AWK@
99 CC = @CC@
100 CCDEPMODE = @CCDEPMODE@
101 CFLAGS = @CFLAGS@
102 CPP = @CPP@
103 CPPFLAGS = @CPPFLAGS@
104 CXX = @CXX@
105 CXXCPP = @CXXCPP@
106 CXXDEPMODE = @CXXDEPMODE@
107 CXXFLAGS = @CXXFLAGS@
108 CYGPATH_W = @CYGPATH_W@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
111 ECHO_C = @ECHO_C@
112 ECHO_N = @ECHO_N@
113 ECHO_T = @ECHO_T@
114 EGREP = @EGREP@
115 EXEEXT = @EXEEXT@
116 GREP = @GREP@
117 INSTALL = @INSTALL@
118 INSTALL_DATA = @INSTALL_DATA@
119 INSTALL_PROGRAM = @INSTALL_PROGRAM@
120 INSTALL_SCRIPT = @INSTALL_SCRIPT@
121 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
122 LDFLAGS = @LDFLAGS@
123 LIBOBJS = @LIBOBJS@
124 LIBS = @LIBS@
125 LTLIBOBJS = @LTLIBOBJS@
126 MAKEINFO = @MAKEINFO@
127 MKDIR_P = @MKDIR_P@
128 OBJEXT = @OBJEXT@
129 PACKAGE = @PACKAGE@
130 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
131 PACKAGE_NAME = @PACKAGE_NAME@
132 PACKAGE_STRING = @PACKAGE_STRING@
133 PACKAGE_TARNAME = @PACKAGE_TARNAME@
134 PACKAGE_VERSION = @PACKAGE_VERSION@
135 PATH_SEPARATOR = @PATH_SEPARATOR@
136 SET_MAKE = @SET_MAKE@
137 SHELL = @SHELL@
138 STRIP = @STRIP@
139 VERSION = @VERSION@
140 abs_builddir = @abs_builddir@
141 abs_srcdir = @abs_srcdir@
142 abs_top_builddir = @abs_top_builddir@
143 abs_top_srcdir = @abs_top_srcdir@
144 ac_ct_CC = @ac_ct_CC@
145 ac_ct_CXX = @ac_ct_CXX@
146 am__include = @am__include@
147 am__leading_dot = @am__leading_dot@
148 am__quote = @am__quote@
149 am__tar = @am__tar@
150 am__untar = @am__untar@
151 bindir = @bindir@
152 build_alias = @build_alias@
153 builddir = @builddir@
154 datadir = @datadir@
155 datarootdir = @datarootdir@
156 docdir = @docdir@
157 dvidir = @dvidir@
158 exec_prefix = @exec_prefix@
59159 host_alias = @host_alias@
60 host_triplet = @host@
61 CC = @CC@
62 CXX = @CXX@
63 HAVE_LIB = @HAVE_LIB@
64 LIB = @LIB@
65 LTLIB = @LTLIB@
66 MAKEINFO = @MAKEINFO@
67 PACKAGE = @PACKAGE@
68 VERSION = @VERSION@
69
70 bin_PROGRAMS = squidview
160 htmldir = @htmldir@
161 includedir = @includedir@
162 infodir = @infodir@
163 install_sh = @install_sh@
164 libdir = @libdir@
165 libexecdir = @libexecdir@
166 localedir = @localedir@
167 localstatedir = @localstatedir@
168 mandir = @mandir@
169 mkdir_p = @mkdir_p@
170 oldincludedir = @oldincludedir@
171 pdfdir = @pdfdir@
172 prefix = @prefix@
173 program_transform_name = @program_transform_name@
174 psdir = @psdir@
175 sbindir = @sbindir@
176 sharedstatedir = @sharedstatedir@
177 srcdir = @srcdir@
178 sysconfdir = @sysconfdir@
179 target_alias = @target_alias@
180 top_builddir = @top_builddir@
181 top_srcdir = @top_srcdir@
182 AUTOMAKE_OPTIONS = gnu
183 AM_CPPFLAGS = -DSHAREDIR='"$(datadir)/$(PACKAGE)"' @CPPFLAGS@
71184 squidview_SOURCES = squidview.cpp squidview.h
72185 pkgdata_DATA = HOWTO BUGS users words aliases example.log
73186 man_MANS = squidview.1
74187 EXTRA_DIST = Makefile.old HOWTO BUGS $(man_MANS) users words aliases example.log
75 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77 CONFIG_HEADER = config.h
78 CONFIG_CLEAN_FILES =
79 PROGRAMS = $(bin_PROGRAMS)
80
81
82 DEFS = @DEFS@ -I. -I$(srcdir) -I.
83 CPPFLAGS = @CPPFLAGS@
84 LDFLAGS = @LDFLAGS@
85 LIBS = @LIBS@
86 squidview_OBJECTS = squidview.o
87 squidview_LDADD = $(LDADD)
88 squidview_DEPENDENCIES =
89 squidview_LDFLAGS =
90 CXXFLAGS = @CXXFLAGS@
91 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
92 CXXLD = $(CXX)
93 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
94 CFLAGS = @CFLAGS@
95 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
96 CCLD = $(CC)
97 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
98 man1dir = $(mandir)/man1
99 MANS = $(man_MANS)
100
101 NROFF = nroff
102 DATA = $(pkgdata_DATA)
103
104 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
105 Makefile.am Makefile.in NEWS aclocal.m4 config.guess config.h.in \
106 config.sub configure configure.in install-sh missing mkinstalldirs
107
108
109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
110
111 TAR = tar
112 GZIP_ENV = --best
113 SOURCES = $(squidview_SOURCES)
114 OBJECTS = $(squidview_OBJECTS)
115
116 all: all-redirect
188 all: config.h
189 $(MAKE) $(AM_MAKEFLAGS) all-am
190
117191 .SUFFIXES:
118 .SUFFIXES: .S .c .cpp .o .s
119 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
120 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
121
122 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
123 cd $(top_builddir) \
124 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
125
126 $(ACLOCAL_M4): configure.in
127 cd $(srcdir) && $(ACLOCAL)
128
129 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
192 .SUFFIXES: .cpp .o .obj
193 am--refresh:
194 @:
195 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
196 @for dep in $?; do \
197 case '$(am__configure_deps)' in \
198 *$$dep*) \
199 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
200 cd $(srcdir) && $(AUTOMAKE) --gnu \
201 && exit 0; \
202 exit 1;; \
203 esac; \
204 done; \
205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
206 cd $(top_srcdir) && \
207 $(AUTOMAKE) --gnu Makefile
208 .PRECIOUS: Makefile
209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
210 @case '$?' in \
211 *config.status*) \
212 echo ' $(SHELL) ./config.status'; \
213 $(SHELL) ./config.status;; \
214 *) \
215 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
216 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
217 esac;
218
219 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
130220 $(SHELL) ./config.status --recheck
131 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
221
222 $(top_srcdir)/configure: $(am__configure_deps)
132223 cd $(srcdir) && $(AUTOCONF)
133
134 config.h: stamp-h
224 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
225 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
226
227 config.h: stamp-h1
135228 @if test ! -f $@; then \
136 rm -f stamp-h; \
137 $(MAKE) stamp-h; \
229 rm -f stamp-h1; \
230 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
138231 else :; fi
139 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
140 cd $(top_builddir) \
141 && CONFIG_FILES= CONFIG_HEADERS=config.h \
142 $(SHELL) ./config.status
143 @echo timestamp > stamp-h 2> /dev/null
144 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
145 @if test ! -f $@; then \
146 rm -f $(srcdir)/stamp-h.in; \
147 $(MAKE) $(srcdir)/stamp-h.in; \
148 else :; fi
149 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
232
233 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
234 @rm -f stamp-h1
235 cd $(top_builddir) && $(SHELL) ./config.status config.h
236 $(srcdir)/config.h.in: $(am__configure_deps)
150237 cd $(top_srcdir) && $(AUTOHEADER)
151 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
152
153 mostlyclean-hdr:
154
155 clean-hdr:
238 rm -f stamp-h1
239 touch $@
156240
157241 distclean-hdr:
158 -rm -f config.h
159
160 maintainer-clean-hdr:
161
162 mostlyclean-binPROGRAMS:
242 -rm -f config.h stamp-h1
243 install-binPROGRAMS: $(bin_PROGRAMS)
244 @$(NORMAL_INSTALL)
245 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
246 @list='$(bin_PROGRAMS)'; for p in $$list; do \
247 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
248 if test -f $$p \
249 ; then \
250 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
251 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
252 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
253 else :; fi; \
254 done
255
256 uninstall-binPROGRAMS:
257 @$(NORMAL_UNINSTALL)
258 @list='$(bin_PROGRAMS)'; for p in $$list; do \
259 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
260 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
261 rm -f "$(DESTDIR)$(bindir)/$$f"; \
262 done
163263
164264 clean-binPROGRAMS:
165265 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
166
167 distclean-binPROGRAMS:
168
169 maintainer-clean-binPROGRAMS:
170
171 install-binPROGRAMS: $(bin_PROGRAMS)
172 @$(NORMAL_INSTALL)
173 $(mkinstalldirs) $(DESTDIR)$(bindir)
174 @list='$(bin_PROGRAMS)'; for p in $$list; do \
175 if test -f $$p; then \
176 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
177 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
178 else :; fi; \
179 done
180
181 uninstall-binPROGRAMS:
182 @$(NORMAL_UNINSTALL)
183 list='$(bin_PROGRAMS)'; for p in $$list; do \
184 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
185 done
186
187 .c.o:
188 $(COMPILE) -c $<
189
190 .s.o:
191 $(COMPILE) -c $<
192
193 .S.o:
194 $(COMPILE) -c $<
266 squidview$(EXEEXT): $(squidview_OBJECTS) $(squidview_DEPENDENCIES)
267 @rm -f squidview$(EXEEXT)
268 $(CXXLINK) $(squidview_OBJECTS) $(squidview_LDADD) $(LIBS)
195269
196270 mostlyclean-compile:
197 -rm -f *.o core *.core
198
199 clean-compile:
271 -rm -f *.$(OBJEXT)
200272
201273 distclean-compile:
202274 -rm -f *.tab.c
203275
204 maintainer-clean-compile:
205
206 squidview: $(squidview_OBJECTS) $(squidview_DEPENDENCIES)
207 @rm -f squidview
208 $(CXXLINK) $(squidview_LDFLAGS) $(squidview_OBJECTS) $(squidview_LDADD) $(LIBS)
276 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/squidview.Po@am__quote@
277
209278 .cpp.o:
210 $(CXXCOMPILE) -c $<
211
212 install-man1:
213 $(mkinstalldirs) $(DESTDIR)$(man1dir)
214 @list='$(man1_MANS)'; \
215 l2='$(man_MANS)'; for i in $$l2; do \
279 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
280 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
281 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
282 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
283 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
284
285 .cpp.obj:
286 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
287 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
288 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
289 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
290 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
291 install-man1: $(man1_MANS) $(man_MANS)
292 @$(NORMAL_INSTALL)
293 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
294 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
295 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
296 for i in $$l2; do \
216297 case "$$i" in \
217298 *.1*) list="$$list $$i" ;; \
218299 esac; \
221302 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
222303 else file=$$i; fi; \
223304 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
305 case "$$ext" in \
306 1*) ;; \
307 *) ext='1' ;; \
308 esac; \
224309 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
310 inst=`echo $$inst | sed -e 's/^.*\///'`; \
225311 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
226 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
227 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
228 done
229
312 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
313 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
314 done
230315 uninstall-man1:
231 @list='$(man1_MANS)'; \
232 l2='$(man_MANS)'; for i in $$l2; do \
316 @$(NORMAL_UNINSTALL)
317 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
318 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
319 for i in $$l2; do \
233320 case "$$i" in \
234321 *.1*) list="$$list $$i" ;; \
235322 esac; \
236323 done; \
237324 for i in $$list; do \
238325 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
326 case "$$ext" in \
327 1*) ;; \
328 *) ext='1' ;; \
329 esac; \
239330 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
331 inst=`echo $$inst | sed -e 's/^.*\///'`; \
240332 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
241 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
242 rm -f $(DESTDIR)$(man1dir)/$$inst; \
243 done
244 install-man: $(MANS)
245 @$(NORMAL_INSTALL)
246 $(MAKE) $(AM_MAKEFLAGS) install-man1
247 uninstall-man:
248 @$(NORMAL_UNINSTALL)
249 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
250
333 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
334 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
335 done
251336 install-pkgdataDATA: $(pkgdata_DATA)
252337 @$(NORMAL_INSTALL)
253 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
338 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
254339 @list='$(pkgdata_DATA)'; for p in $$list; do \
255 if test -f $(srcdir)/$$p; then \
256 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
257 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
258 else if test -f $$p; then \
259 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
260 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
261 fi; fi; \
340 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
341 f=$(am__strip_dir) \
342 echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
343 $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
262344 done
263345
264346 uninstall-pkgdataDATA:
265347 @$(NORMAL_UNINSTALL)
266 list='$(pkgdata_DATA)'; for p in $$list; do \
267 rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
268 done
269
348 @list='$(pkgdata_DATA)'; for p in $$list; do \
349 f=$(am__strip_dir) \
350 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
351 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
352 done
353
354 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
355 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
356 unique=`for i in $$list; do \
357 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
358 done | \
359 $(AWK) ' { files[$$0] = 1; } \
360 END { for (i in files) print i; }'`; \
361 mkid -fID $$unique
270362 tags: TAGS
271363
272 ID: $(HEADERS) $(SOURCES) $(LISP)
273 list='$(SOURCES) $(HEADERS)'; \
274 unique=`for i in $$list; do echo $$i; done | \
275 awk ' { files[$$0] = 1; } \
276 END { for (i in files) print i; }'`; \
277 here=`pwd` && cd $(srcdir) \
278 && mkid -f$$here/ID $$unique $(LISP)
279
280 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
364 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
365 $(TAGS_FILES) $(LISP)
281366 tags=; \
282367 here=`pwd`; \
283 list='$(SOURCES) $(HEADERS)'; \
284 unique=`for i in $$list; do echo $$i; done | \
285 awk ' { files[$$0] = 1; } \
368 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371 done | \
372 $(AWK) ' { files[$$0] = 1; } \
286373 END { for (i in files) print i; }'`; \
287 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
288 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
289
290 mostlyclean-tags:
291
292 clean-tags:
374 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
375 test -n "$$unique" || unique=$$empty_fix; \
376 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
377 $$tags $$unique; \
378 fi
379 ctags: CTAGS
380 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
381 $(TAGS_FILES) $(LISP)
382 tags=; \
383 here=`pwd`; \
384 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
385 unique=`for i in $$list; do \
386 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
387 done | \
388 $(AWK) ' { files[$$0] = 1; } \
389 END { for (i in files) print i; }'`; \
390 test -z "$(CTAGS_ARGS)$$tags$$unique" \
391 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
392 $$tags $$unique
393
394 GTAGS:
395 here=`$(am__cd) $(top_builddir) && pwd` \
396 && cd $(top_srcdir) \
397 && gtags -i $(GTAGS_ARGS) $$here
293398
294399 distclean-tags:
295 -rm -f TAGS ID
296
297 maintainer-clean-tags:
298
299 distdir = $(PACKAGE)-$(VERSION)
300 top_distdir = $(distdir)
400 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
401
402 distdir: $(DISTFILES)
403 $(am__remove_distdir)
404 test -d $(distdir) || mkdir $(distdir)
405 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
406 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407 list='$(DISTFILES)'; \
408 dist_files=`for file in $$list; do echo $$file; done | \
409 sed -e "s|^$$srcdirstrip/||;t" \
410 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
411 case $$dist_files in \
412 */*) $(MKDIR_P) `echo "$$dist_files" | \
413 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
414 sort -u` ;; \
415 esac; \
416 for file in $$dist_files; do \
417 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
418 if test -d $$d/$$file; then \
419 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
420 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
422 fi; \
423 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
424 else \
425 test -f $(distdir)/$$file \
426 || cp -p $$d/$$file $(distdir)/$$file \
427 || exit 1; \
428 fi; \
429 done
430 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
431 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
432 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
433 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
434 || chmod -R a+r $(distdir)
435 dist-gzip: distdir
436 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
437 $(am__remove_distdir)
438
439 dist-bzip2: distdir
440 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
441 $(am__remove_distdir)
442
443 dist-tarZ: distdir
444 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
445 $(am__remove_distdir)
446
447 dist-shar: distdir
448 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
449 $(am__remove_distdir)
450
451 dist-zip: distdir
452 -rm -f $(distdir).zip
453 zip -rq $(distdir).zip $(distdir)
454 $(am__remove_distdir)
455
456 dist dist-all: distdir
457 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
458 $(am__remove_distdir)
301459
302460 # This target untars the dist file and tries a VPATH configuration. Then
303461 # it guarantees that the distribution is self-contained by making another
304462 # tarfile.
305463 distcheck: dist
306 -rm -rf $(distdir)
307 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
308 mkdir $(distdir)/=build
309 mkdir $(distdir)/=inst
310 dc_install_base=`cd $(distdir)/=inst && pwd`; \
311 cd $(distdir)/=build \
312 && ../configure --srcdir=.. --prefix=$$dc_install_base \
464 case '$(DIST_ARCHIVES)' in \
465 *.tar.gz*) \
466 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
467 *.tar.bz2*) \
468 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
469 *.tar.Z*) \
470 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
471 *.shar.gz*) \
472 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
473 *.zip*) \
474 unzip $(distdir).zip ;;\
475 esac
476 chmod -R a-w $(distdir); chmod a+w $(distdir)
477 mkdir $(distdir)/_build
478 mkdir $(distdir)/_inst
479 chmod a-w $(distdir)
480 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
481 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
482 && cd $(distdir)/_build \
483 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
484 $(DISTCHECK_CONFIGURE_FLAGS) \
313485 && $(MAKE) $(AM_MAKEFLAGS) \
314486 && $(MAKE) $(AM_MAKEFLAGS) dvi \
315487 && $(MAKE) $(AM_MAKEFLAGS) check \
316488 && $(MAKE) $(AM_MAKEFLAGS) install \
317489 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
318 && $(MAKE) $(AM_MAKEFLAGS) dist
319 -rm -rf $(distdir)
320 @banner="$(distdir).tar.gz is ready for distribution"; \
321 dashes=`echo "$$banner" | sed s/./=/g`; \
322 echo "$$dashes"; \
323 echo "$$banner"; \
324 echo "$$dashes"
325 dist: distdir
326 -chmod -R a+r $(distdir)
327 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
328 -rm -rf $(distdir)
329 dist-all: distdir
330 -chmod -R a+r $(distdir)
331 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
332 -rm -rf $(distdir)
333 distdir: $(DISTFILES)
334 -rm -rf $(distdir)
335 mkdir $(distdir)
336 -chmod 777 $(distdir)
337 @for file in $(DISTFILES); do \
338 d=$(srcdir); \
339 if test -d $$d/$$file; then \
340 cp -pr $$d/$$file $(distdir)/$$file; \
341 else \
342 test -f $(distdir)/$$file \
343 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
344 || cp -p $$d/$$file $(distdir)/$$file || :; \
345 fi; \
346 done
347 squidview.o: squidview.cpp config.h squidview.h
348
349 info-am:
350 info: info-am
351 dvi-am:
352 dvi: dvi-am
490 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
491 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
492 distuninstallcheck \
493 && chmod -R a-w "$$dc_install_base" \
494 && ({ \
495 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
496 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
497 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
498 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
499 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
500 } || { rm -rf "$$dc_destdir"; exit 1; }) \
501 && rm -rf "$$dc_destdir" \
502 && $(MAKE) $(AM_MAKEFLAGS) dist \
503 && rm -rf $(DIST_ARCHIVES) \
504 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
505 $(am__remove_distdir)
506 @(echo "$(distdir) archives ready for distribution: "; \
507 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
508 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
509 distuninstallcheck:
510 @cd $(distuninstallcheck_dir) \
511 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
512 || { echo "ERROR: files left after uninstall:" ; \
513 if test -n "$(DESTDIR)"; then \
514 echo " (check DESTDIR support)"; \
515 fi ; \
516 $(distuninstallcheck_listfiles) ; \
517 exit 1; } >&2
518 distcleancheck: distclean
519 @if test '$(srcdir)' = . ; then \
520 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
521 exit 1 ; \
522 fi
523 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
524 || { echo "ERROR: files left in build directory after distclean:" ; \
525 $(distcleancheck_listfiles) ; \
526 exit 1; } >&2
353527 check-am: all-am
354528 check: check-am
355 installcheck-am:
356 installcheck: installcheck-am
357 all-recursive-am: config.h
358 $(MAKE) $(AM_MAKEFLAGS) all-recursive
359
360 install-exec-am: install-binPROGRAMS
529 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
530 installdirs:
531 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)"; do \
532 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
533 done
534 install: install-am
361535 install-exec: install-exec-am
362
363 install-data-am: install-man install-pkgdataDATA
364536 install-data: install-data-am
537 uninstall: uninstall-am
365538
366539 install-am: all-am
367540 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
368 install: install-am
369 uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-pkgdataDATA
370 uninstall: uninstall-am
371 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
372 all-redirect: all-am
541
542 installcheck: installcheck-am
373543 install-strip:
374 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
375 installdirs:
376 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
377 $(DESTDIR)$(pkgdatadir)
378
379
544 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
545 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
546 `test -z '$(STRIP)' || \
547 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
380548 mostlyclean-generic:
381549
382550 clean-generic:
383551
384552 distclean-generic:
385 -rm -f Makefile $(CONFIG_CLEAN_FILES)
386 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
553 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
387554
388555 maintainer-clean-generic:
389 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
390 mostlyclean-compile mostlyclean-tags \
391 mostlyclean-generic
556 @echo "This command is intended for maintainers to use"
557 @echo "it deletes files that may require special tools to rebuild."
558 clean: clean-am
559
560 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
561
562 distclean: distclean-am
563 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
564 -rm -rf ./$(DEPDIR)
565 -rm -f Makefile
566 distclean-am: clean-am distclean-compile distclean-generic \
567 distclean-hdr distclean-tags
568
569 dvi: dvi-am
570
571 dvi-am:
572
573 html: html-am
574
575 info: info-am
576
577 info-am:
578
579 install-data-am: install-man install-pkgdataDATA
580
581 install-dvi: install-dvi-am
582
583 install-exec-am: install-binPROGRAMS
584
585 install-html: install-html-am
586
587 install-info: install-info-am
588
589 install-man: install-man1
590
591 install-pdf: install-pdf-am
592
593 install-ps: install-ps-am
594
595 installcheck-am:
596
597 maintainer-clean: maintainer-clean-am
598 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
599 -rm -rf $(top_srcdir)/autom4te.cache
600 -rm -rf ./$(DEPDIR)
601 -rm -f Makefile
602 maintainer-clean-am: distclean-am maintainer-clean-generic
392603
393604 mostlyclean: mostlyclean-am
394605
395 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
396 clean-generic mostlyclean-am
397
398 clean: clean-am
399
400 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
401 distclean-tags distclean-generic clean-am
402
403 distclean: distclean-am
404 -rm -f config.status
405
406 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
407 maintainer-clean-compile maintainer-clean-tags \
408 maintainer-clean-generic distclean-am
409 @echo "This command is intended for maintainers to use;"
410 @echo "it deletes files that may require special tools to rebuild."
411
412 maintainer-clean: maintainer-clean-am
413 -rm -f config.status
414
415 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
416 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
417 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
418 mostlyclean-compile distclean-compile clean-compile \
419 maintainer-clean-compile install-man1 uninstall-man1 install-man \
420 uninstall-man uninstall-pkgdataDATA install-pkgdataDATA tags \
421 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
422 distdir info-am info dvi-am dvi check check-am installcheck-am \
423 installcheck all-recursive-am install-exec-am install-exec \
424 install-data-am install-data install-am install uninstall-am uninstall \
425 all-redirect all-am all installdirs mostlyclean-generic \
426 distclean-generic clean-generic maintainer-clean-generic clean \
427 mostlyclean distclean maintainer-clean
428
606 mostlyclean-am: mostlyclean-compile mostlyclean-generic
607
608 pdf: pdf-am
609
610 pdf-am:
611
612 ps: ps-am
613
614 ps-am:
615
616 uninstall-am: uninstall-binPROGRAMS uninstall-man \
617 uninstall-pkgdataDATA
618
619 uninstall-man: uninstall-man1
620
621 .MAKE: install-am install-strip
622
623 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
624 clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
625 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
626 distclean-compile distclean-generic distclean-hdr \
627 distclean-tags distcleancheck distdir distuninstallcheck dvi \
628 dvi-am html html-am info info-am install install-am \
629 install-binPROGRAMS install-data install-data-am install-dvi \
630 install-dvi-am install-exec install-exec-am install-html \
631 install-html-am install-info install-info-am install-man \
632 install-man1 install-pdf install-pdf-am install-pkgdataDATA \
633 install-ps install-ps-am install-strip installcheck \
634 installcheck-am installdirs maintainer-clean \
635 maintainer-clean-generic mostlyclean mostlyclean-compile \
636 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
637 uninstall-am uninstall-binPROGRAMS uninstall-man \
638 uninstall-man1 uninstall-pkgdataDATA
429639
430640 # Tell versions [3.59,3.63) of GNU make to not export all variables.
431641 # Otherwise a system limit (for SysV at least) may be exceeded.
0 squidview 0.60 (c) 2001 - 2004 Graeme Sheppard - GPL software
0 squidview 0.7x (c) 2001 - 2007 Graeme Sheppard - GPL software
11 www.rillion.net/squidview
22
33 --Overview
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.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
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 5 (gettext-0.15)
13 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
14 dnl This file is free software; the Free Software Foundation
15 dnl gives unlimited permission to copy and/or distribute it,
16 dnl with or without modifications, as long as this notice is preserved.
17
18 dnl From Bruno Haible.
19
20 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
21 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
22 dnl require excessive bracketing.
23 ifdef([AC_HELP_STRING],
24 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
25 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
26
27 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
28 dnl to access previously installed libraries. The basic assumption is that
29 dnl a user will want packages to use other packages he previously installed
30 dnl with the same --prefix option.
31 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
32 dnl libraries, but is otherwise very convenient.
33 AC_DEFUN([AC_LIB_PREFIX],
34 [
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_MULTILIB])
39 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
40 dnl By default, look in $includedir and $libdir.
41 use_additional=yes
42 AC_LIB_WITH_FINAL_PREFIX([
43 eval additional_includedir=\"$includedir\"
44 eval additional_libdir=\"$libdir\"
45 ])
46 AC_LIB_ARG_WITH([lib-prefix],
47 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
48 --without-lib-prefix don't search for libraries in includedir and libdir],
49 [
50 if test "X$withval" = "Xno"; then
51 use_additional=no
52 else
53 if test "X$withval" = "X"; then
54 AC_LIB_WITH_FINAL_PREFIX([
55 eval additional_includedir=\"$includedir\"
56 eval additional_libdir=\"$libdir\"
57 ])
58 else
59 additional_includedir="$withval/include"
60 additional_libdir="$withval/$acl_libdirstem"
61 fi
62 fi
63 ])
64 if test $use_additional = yes; then
65 dnl Potentially add $additional_includedir to $CPPFLAGS.
66 dnl But don't add it
67 dnl 1. if it's the standard /usr/include,
68 dnl 2. if it's already present in $CPPFLAGS,
69 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
70 dnl 4. if it doesn't exist as a directory.
71 if test "X$additional_includedir" != "X/usr/include"; then
72 haveit=
73 for x in $CPPFLAGS; do
74 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
75 if test "X$x" = "X-I$additional_includedir"; then
76 haveit=yes
77 break
78 fi
79 done
80 if test -z "$haveit"; then
81 if test "X$additional_includedir" = "X/usr/local/include"; then
82 if test -n "$GCC"; then
83 case $host_os in
84 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
85 esac
86 fi
87 fi
88 if test -z "$haveit"; then
89 if test -d "$additional_includedir"; then
90 dnl Really add $additional_includedir to $CPPFLAGS.
91 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
92 fi
93 fi
94 fi
95 fi
96 dnl Potentially add $additional_libdir to $LDFLAGS.
97 dnl But don't add it
98 dnl 1. if it's the standard /usr/lib,
99 dnl 2. if it's already present in $LDFLAGS,
100 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
101 dnl 4. if it doesn't exist as a directory.
102 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
103 haveit=
104 for x in $LDFLAGS; do
105 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
106 if test "X$x" = "X-L$additional_libdir"; then
107 haveit=yes
108 break
109 fi
110 done
111 if test -z "$haveit"; then
112 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
113 if test -n "$GCC"; then
114 case $host_os in
115 linux*) haveit=yes;;
116 esac
117 fi
118 fi
119 if test -z "$haveit"; then
120 if test -d "$additional_libdir"; then
121 dnl Really add $additional_libdir to $LDFLAGS.
122 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
123 fi
124 fi
125 fi
126 fi
127 fi
128 ])
129
130 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
131 dnl acl_final_exec_prefix, containing the values to which $prefix and
132 dnl $exec_prefix will expand at the end of the configure script.
133 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
134 [
135 dnl Unfortunately, prefix and exec_prefix get only finally determined
136 dnl at the end of configure.
137 if test "X$prefix" = "XNONE"; then
138 acl_final_prefix="$ac_default_prefix"
139 else
140 acl_final_prefix="$prefix"
141 fi
142 if test "X$exec_prefix" = "XNONE"; then
143 acl_final_exec_prefix='${prefix}'
144 else
145 acl_final_exec_prefix="$exec_prefix"
146 fi
147 acl_save_prefix="$prefix"
148 prefix="$acl_final_prefix"
149 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
150 prefix="$acl_save_prefix"
151 ])
152
153 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
154 dnl variables prefix and exec_prefix bound to the values they will have
155 dnl at the end of the configure script.
156 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
157 [
158 acl_save_prefix="$prefix"
159 prefix="$acl_final_prefix"
160 acl_save_exec_prefix="$exec_prefix"
161 exec_prefix="$acl_final_exec_prefix"
162 $1
163 exec_prefix="$acl_save_exec_prefix"
164 prefix="$acl_save_prefix"
165 ])
166
167 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
168 dnl the basename of the libdir, either "lib" or "lib64".
169 AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
170 [
171 dnl There is no formal standard regarding lib and lib64. The current
172 dnl practice is that on a system supporting 32-bit and 64-bit instruction
173 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
174 dnl libraries go under $prefix/lib. We determine the compiler's default
175 dnl mode by looking at the compiler's library search path. If at least
176 dnl of its elements ends in /lib64 or points to a directory whose absolute
177 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
178 dnl default, namely "lib".
179 acl_libdirstem=lib
180 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
181 if test -n "$searchpath"; then
182 acl_save_IFS="${IFS= }"; IFS=":"
183 for searchdir in $searchpath; do
184 if test -d "$searchdir"; then
185 case "$searchdir" in
186 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
187 *) searchdir=`cd "$searchdir" && pwd`
188 case "$searchdir" in
189 */lib64 ) acl_libdirstem=lib64 ;;
190 esac ;;
191 esac
192 fi
193 done
194 IFS="$acl_save_IFS"
195 fi
196 ])
197
198 # lib-link.m4 serial 8 (gettext-0.15)
199 dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.
200 dnl This file is free software; the Free Software Foundation
201 dnl gives unlimited permission to copy and/or distribute it,
202 dnl with or without modifications, as long as this notice is preserved.
203
204 dnl From Bruno Haible.
205
206 AC_PREREQ(2.50)
207
208 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
209 dnl the libraries corresponding to explicit and implicit dependencies.
210 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
211 dnl augments the CPPFLAGS variable.
212 AC_DEFUN([AC_LIB_LINKFLAGS],
213 [
214 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
215 AC_REQUIRE([AC_LIB_RPATH])
216 define([Name],[translit([$1],[./-], [___])])
217 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
218 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
219 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
220 AC_LIB_LINKFLAGS_BODY([$1], [$2])
221 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
222 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
223 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
224 ])
225 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
226 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
227 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
228 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
229 AC_SUBST([LIB]NAME)
230 AC_SUBST([LTLIB]NAME)
231 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
232 dnl results of this search when this library appears as a dependency.
233 HAVE_LIB[]NAME=yes
234 undefine([Name])
235 undefine([NAME])
236 ])
237
238 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
239 dnl searches for libname and the libraries corresponding to explicit and
240 dnl implicit dependencies, together with the specified include files and
241 dnl the ability to compile and link the specified testcode. If found, it
242 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
243 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
244 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
245 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
246 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
247 [
248 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
249 AC_REQUIRE([AC_LIB_RPATH])
250 define([Name],[translit([$1],[./-], [___])])
251 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
252 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
253
254 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
255 dnl accordingly.
256 AC_LIB_LINKFLAGS_BODY([$1], [$2])
257
258 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
259 dnl because if the user has installed lib[]Name and not disabled its use
260 dnl via --without-lib[]Name-prefix, he wants to use it.
261 ac_save_CPPFLAGS="$CPPFLAGS"
262 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
263
264 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
265 ac_save_LIBS="$LIBS"
266 LIBS="$LIBS $LIB[]NAME"
267 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
268 LIBS="$ac_save_LIBS"
269 ])
270 if test "$ac_cv_lib[]Name" = yes; then
271 HAVE_LIB[]NAME=yes
272 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
273 AC_MSG_CHECKING([how to link with lib[]$1])
274 AC_MSG_RESULT([$LIB[]NAME])
275 else
276 HAVE_LIB[]NAME=no
277 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
278 dnl $INC[]NAME either.
279 CPPFLAGS="$ac_save_CPPFLAGS"
280 LIB[]NAME=
281 LTLIB[]NAME=
282 fi
283 AC_SUBST([HAVE_LIB]NAME)
284 AC_SUBST([LIB]NAME)
285 AC_SUBST([LTLIB]NAME)
286 undefine([Name])
287 undefine([NAME])
288 ])
289
290 dnl Determine the platform dependent parameters needed to use rpath:
291 dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
292 dnl hardcode_direct, hardcode_minus_L.
293 AC_DEFUN([AC_LIB_RPATH],
294 [
295 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
296 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
297 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
298 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
299 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
300 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
301 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
302 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
303 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
304 . ./conftest.sh
305 rm -f ./conftest.sh
306 acl_cv_rpath=done
307 ])
308 wl="$acl_cv_wl"
309 libext="$acl_cv_libext"
310 shlibext="$acl_cv_shlibext"
311 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
312 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
313 hardcode_direct="$acl_cv_hardcode_direct"
314 hardcode_minus_L="$acl_cv_hardcode_minus_L"
315 dnl Determine whether the user wants rpath handling at all.
316 AC_ARG_ENABLE(rpath,
317 [ --disable-rpath do not hardcode runtime library paths],
318 :, enable_rpath=yes)
319 ])
320
321 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
322 dnl the libraries corresponding to explicit and implicit dependencies.
323 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
324 AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
325 [
326 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
327 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
328 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
329 dnl By default, look in $includedir and $libdir.
330 use_additional=yes
331 AC_LIB_WITH_FINAL_PREFIX([
332 eval additional_includedir=\"$includedir\"
333 eval additional_libdir=\"$libdir\"
334 ])
335 AC_LIB_ARG_WITH([lib$1-prefix],
336 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
337 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
338 [
339 if test "X$withval" = "Xno"; then
340 use_additional=no
341 else
342 if test "X$withval" = "X"; then
343 AC_LIB_WITH_FINAL_PREFIX([
344 eval additional_includedir=\"$includedir\"
345 eval additional_libdir=\"$libdir\"
346 ])
347 else
348 additional_includedir="$withval/include"
349 additional_libdir="$withval/$acl_libdirstem"
350 fi
351 fi
352 ])
353 dnl Search the library and its dependencies in $additional_libdir and
354 dnl $LDFLAGS. Using breadth-first-seach.
355 LIB[]NAME=
356 LTLIB[]NAME=
357 INC[]NAME=
358 rpathdirs=
359 ltrpathdirs=
360 names_already_handled=
361 names_next_round='$1 $2'
362 while test -n "$names_next_round"; do
363 names_this_round="$names_next_round"
364 names_next_round=
365 for name in $names_this_round; do
366 already_handled=
367 for n in $names_already_handled; do
368 if test "$n" = "$name"; then
369 already_handled=yes
370 break
371 fi
372 done
373 if test -z "$already_handled"; then
374 names_already_handled="$names_already_handled $name"
375 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
376 dnl or AC_LIB_HAVE_LINKFLAGS call.
377 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
378 eval value=\"\$HAVE_LIB$uppername\"
379 if test -n "$value"; then
380 if test "$value" = yes; then
381 eval value=\"\$LIB$uppername\"
382 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
383 eval value=\"\$LTLIB$uppername\"
384 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
385 else
386 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
387 dnl that this library doesn't exist. So just drop it.
388 :
389 fi
390 else
391 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
392 dnl and the already constructed $LIBNAME/$LTLIBNAME.
393 found_dir=
394 found_la=
395 found_so=
396 found_a=
397 if test $use_additional = yes; then
398 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
399 found_dir="$additional_libdir"
400 found_so="$additional_libdir/lib$name.$shlibext"
401 if test -f "$additional_libdir/lib$name.la"; then
402 found_la="$additional_libdir/lib$name.la"
403 fi
404 else
405 if test -f "$additional_libdir/lib$name.$libext"; then
406 found_dir="$additional_libdir"
407 found_a="$additional_libdir/lib$name.$libext"
408 if test -f "$additional_libdir/lib$name.la"; then
409 found_la="$additional_libdir/lib$name.la"
410 fi
411 fi
412 fi
413 fi
414 if test "X$found_dir" = "X"; then
415 for x in $LDFLAGS $LTLIB[]NAME; do
416 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
417 case "$x" in
418 -L*)
419 dir=`echo "X$x" | sed -e 's/^X-L//'`
420 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
421 found_dir="$dir"
422 found_so="$dir/lib$name.$shlibext"
423 if test -f "$dir/lib$name.la"; then
424 found_la="$dir/lib$name.la"
425 fi
426 else
427 if test -f "$dir/lib$name.$libext"; then
428 found_dir="$dir"
429 found_a="$dir/lib$name.$libext"
430 if test -f "$dir/lib$name.la"; then
431 found_la="$dir/lib$name.la"
432 fi
433 fi
434 fi
435 ;;
436 esac
437 if test "X$found_dir" != "X"; then
438 break
439 fi
440 done
441 fi
442 if test "X$found_dir" != "X"; then
443 dnl Found the library.
444 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
445 if test "X$found_so" != "X"; then
446 dnl Linking with a shared library. We attempt to hardcode its
447 dnl directory into the executable's runpath, unless it's the
448 dnl standard /usr/lib.
449 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
450 dnl No hardcoding is needed.
451 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
452 else
453 dnl Use an explicit option to hardcode DIR into the resulting
454 dnl binary.
455 dnl Potentially add DIR to ltrpathdirs.
456 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
457 haveit=
458 for x in $ltrpathdirs; do
459 if test "X$x" = "X$found_dir"; then
460 haveit=yes
461 break
462 fi
463 done
464 if test -z "$haveit"; then
465 ltrpathdirs="$ltrpathdirs $found_dir"
466 fi
467 dnl The hardcoding into $LIBNAME is system dependent.
468 if test "$hardcode_direct" = yes; then
469 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
470 dnl resulting binary.
471 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
472 else
473 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
474 dnl Use an explicit option to hardcode DIR into the resulting
475 dnl binary.
476 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
477 dnl Potentially add DIR to rpathdirs.
478 dnl The rpathdirs will be appended to $LIBNAME at the end.
479 haveit=
480 for x in $rpathdirs; do
481 if test "X$x" = "X$found_dir"; then
482 haveit=yes
483 break
484 fi
485 done
486 if test -z "$haveit"; then
487 rpathdirs="$rpathdirs $found_dir"
488 fi
489 else
490 dnl Rely on "-L$found_dir".
491 dnl But don't add it if it's already contained in the LDFLAGS
492 dnl or the already constructed $LIBNAME
493 haveit=
494 for x in $LDFLAGS $LIB[]NAME; do
495 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
496 if test "X$x" = "X-L$found_dir"; then
497 haveit=yes
498 break
499 fi
500 done
501 if test -z "$haveit"; then
502 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
503 fi
504 if test "$hardcode_minus_L" != no; then
505 dnl FIXME: Not sure whether we should use
506 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
507 dnl here.
508 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
509 else
510 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
511 dnl here, because this doesn't fit in flags passed to the
512 dnl compiler. So give up. No hardcoding. This affects only
513 dnl very old systems.
514 dnl FIXME: Not sure whether we should use
515 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
516 dnl here.
517 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
518 fi
519 fi
520 fi
521 fi
522 else
523 if test "X$found_a" != "X"; then
524 dnl Linking with a static library.
525 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
526 else
527 dnl We shouldn't come here, but anyway it's good to have a
528 dnl fallback.
529 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
530 fi
531 fi
532 dnl Assume the include files are nearby.
533 additional_includedir=
534 case "$found_dir" in
535 */$acl_libdirstem | */$acl_libdirstem/)
536 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
537 additional_includedir="$basedir/include"
538 ;;
539 esac
540 if test "X$additional_includedir" != "X"; then
541 dnl Potentially add $additional_includedir to $INCNAME.
542 dnl But don't add it
543 dnl 1. if it's the standard /usr/include,
544 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
545 dnl 3. if it's already present in $CPPFLAGS or the already
546 dnl constructed $INCNAME,
547 dnl 4. if it doesn't exist as a directory.
548 if test "X$additional_includedir" != "X/usr/include"; then
549 haveit=
550 if test "X$additional_includedir" = "X/usr/local/include"; then
551 if test -n "$GCC"; then
552 case $host_os in
553 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
554 esac
555 fi
556 fi
557 if test -z "$haveit"; then
558 for x in $CPPFLAGS $INC[]NAME; do
559 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
560 if test "X$x" = "X-I$additional_includedir"; then
561 haveit=yes
562 break
563 fi
564 done
565 if test -z "$haveit"; then
566 if test -d "$additional_includedir"; then
567 dnl Really add $additional_includedir to $INCNAME.
568 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
569 fi
570 fi
571 fi
572 fi
573 fi
574 dnl Look for dependencies.
575 if test -n "$found_la"; then
576 dnl Read the .la file. It defines the variables
577 dnl dlname, library_names, old_library, dependency_libs, current,
578 dnl age, revision, installed, dlopen, dlpreopen, libdir.
579 save_libdir="$libdir"
580 case "$found_la" in
581 */* | *\\*) . "$found_la" ;;
582 *) . "./$found_la" ;;
583 esac
584 libdir="$save_libdir"
585 dnl We use only dependency_libs.
586 for dep in $dependency_libs; do
587 case "$dep" in
588 -L*)
589 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
590 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
591 dnl But don't add it
592 dnl 1. if it's the standard /usr/lib,
593 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
594 dnl 3. if it's already present in $LDFLAGS or the already
595 dnl constructed $LIBNAME,
596 dnl 4. if it doesn't exist as a directory.
597 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
598 haveit=
599 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
600 if test -n "$GCC"; then
601 case $host_os in
602 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
603 esac
604 fi
605 fi
606 if test -z "$haveit"; then
607 haveit=
608 for x in $LDFLAGS $LIB[]NAME; do
609 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
610 if test "X$x" = "X-L$additional_libdir"; then
611 haveit=yes
612 break
613 fi
614 done
615 if test -z "$haveit"; then
616 if test -d "$additional_libdir"; then
617 dnl Really add $additional_libdir to $LIBNAME.
618 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
619 fi
620 fi
621 haveit=
622 for x in $LDFLAGS $LTLIB[]NAME; do
623 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
624 if test "X$x" = "X-L$additional_libdir"; then
625 haveit=yes
626 break
627 fi
628 done
629 if test -z "$haveit"; then
630 if test -d "$additional_libdir"; then
631 dnl Really add $additional_libdir to $LTLIBNAME.
632 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
633 fi
634 fi
635 fi
636 fi
637 ;;
638 -R*)
639 dir=`echo "X$dep" | sed -e 's/^X-R//'`
640 if test "$enable_rpath" != no; then
641 dnl Potentially add DIR to rpathdirs.
642 dnl The rpathdirs will be appended to $LIBNAME at the end.
643 haveit=
644 for x in $rpathdirs; do
645 if test "X$x" = "X$dir"; then
646 haveit=yes
647 break
648 fi
649 done
650 if test -z "$haveit"; then
651 rpathdirs="$rpathdirs $dir"
652 fi
653 dnl Potentially add DIR to ltrpathdirs.
654 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
655 haveit=
656 for x in $ltrpathdirs; do
657 if test "X$x" = "X$dir"; then
658 haveit=yes
659 break
660 fi
661 done
662 if test -z "$haveit"; then
663 ltrpathdirs="$ltrpathdirs $dir"
664 fi
665 fi
666 ;;
667 -l*)
668 dnl Handle this in the next round.
669 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
670 ;;
671 *.la)
672 dnl Handle this in the next round. Throw away the .la's
673 dnl directory; it is already contained in a preceding -L
674 dnl option.
675 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
676 ;;
677 *)
678 dnl Most likely an immediate library name.
679 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
680 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
681 ;;
682 esac
683 done
684 fi
685 else
686 dnl Didn't find the library; assume it is in the system directories
687 dnl known to the linker and runtime loader. (All the system
688 dnl directories known to the linker should also be known to the
689 dnl runtime loader, otherwise the system is severely misconfigured.)
690 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
691 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
692 fi
693 fi
694 fi
695 done
696 done
697 if test "X$rpathdirs" != "X"; then
698 if test -n "$hardcode_libdir_separator"; then
699 dnl Weird platform: only the last -rpath option counts, the user must
700 dnl pass all path elements in one option. We can arrange that for a
701 dnl single library, but not when more than one $LIBNAMEs are used.
702 alldirs=
703 for found_dir in $rpathdirs; do
704 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
705 done
706 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
707 acl_save_libdir="$libdir"
708 libdir="$alldirs"
709 eval flag=\"$hardcode_libdir_flag_spec\"
710 libdir="$acl_save_libdir"
711 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
712 else
713 dnl The -rpath options are cumulative.
714 for found_dir in $rpathdirs; do
715 acl_save_libdir="$libdir"
716 libdir="$found_dir"
717 eval flag=\"$hardcode_libdir_flag_spec\"
718 libdir="$acl_save_libdir"
719 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
720 done
721 fi
722 fi
723 if test "X$ltrpathdirs" != "X"; then
724 dnl When using libtool, the option that works for both libraries and
725 dnl executables is -R. The -R options are cumulative.
726 for found_dir in $ltrpathdirs; do
727 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
728 done
729 fi
730 ])
731
732 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
733 dnl unless already present in VAR.
734 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
735 dnl contains two or three consecutive elements that belong together.
736 AC_DEFUN([AC_LIB_APPENDTOVAR],
737 [
738 for element in [$2]; do
739 haveit=
740 for x in $[$1]; do
741 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
742 if test "X$x" = "X$element"; then
743 haveit=yes
744 break
745 fi
746 done
747 if test -z "$haveit"; then
748 [$1]="${[$1]}${[$1]:+ }$element"
749 fi
750 done
751 ])
752
753 dnl For those cases where a variable contains several -L and -l options
754 dnl referring to unknown libraries and directories, this macro determines the
755 dnl necessary additional linker options for the runtime path.
756 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
757 dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
758 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
759 dnl otherwise linking without libtool is assumed.
760 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
761 [
762 AC_REQUIRE([AC_LIB_RPATH])
763 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
764 $1=
765 if test "$enable_rpath" != no; then
766 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
767 dnl Use an explicit option to hardcode directories into the resulting
768 dnl binary.
769 rpathdirs=
770 next=
771 for opt in $2; do
772 if test -n "$next"; then
773 dir="$next"
774 dnl No need to hardcode the standard /usr/lib.
775 if test "X$dir" != "X/usr/$acl_libdirstem"; then
776 rpathdirs="$rpathdirs $dir"
777 fi
778 next=
779 else
780 case $opt in
781 -L) next=yes ;;
782 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
783 dnl No need to hardcode the standard /usr/lib.
784 if test "X$dir" != "X/usr/$acl_libdirstem"; then
785 rpathdirs="$rpathdirs $dir"
786 fi
787 next= ;;
788 *) next= ;;
789 esac
790 fi
791 done
792 if test "X$rpathdirs" != "X"; then
793 if test -n ""$3""; then
794 dnl libtool is used for linking. Use -R options.
795 for dir in $rpathdirs; do
796 $1="${$1}${$1:+ }-R$dir"
797 done
798 else
799 dnl The linker is used for linking directly.
800 if test -n "$hardcode_libdir_separator"; then
801 dnl Weird platform: only the last -rpath option counts, the user
802 dnl must pass all path elements in one option.
803 alldirs=
804 for dir in $rpathdirs; do
805 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"
806 done
807 acl_save_libdir="$libdir"
808 libdir="$alldirs"
809 eval flag=\"$hardcode_libdir_flag_spec\"
810 libdir="$acl_save_libdir"
811 $1="$flag"
812 else
813 dnl The -rpath options are cumulative.
814 for dir in $rpathdirs; do
815 acl_save_libdir="$libdir"
816 libdir="$dir"
817 eval flag=\"$hardcode_libdir_flag_spec\"
818 libdir="$acl_save_libdir"
819 $1="${$1}${$1:+ }$flag"
820 done
821 fi
822 fi
823 fi
824 fi
825 fi
826 AC_SUBST([$1])
827 ])
828
829 # lib-ld.m4 serial 3 (gettext-0.13)
830 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
831 dnl This file is free software; the Free Software Foundation
832 dnl gives unlimited permission to copy and/or distribute it,
833 dnl with or without modifications, as long as this notice is preserved.
834
835 dnl Subroutines of libtool.m4,
836 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
837 dnl with libtool.m4.
838
839 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
840 AC_DEFUN([AC_LIB_PROG_LD_GNU],
841 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
842 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
843 case `$LD -v 2>&1 </dev/null` in
844 *GNU* | *'with BFD'*)
845 acl_cv_prog_gnu_ld=yes ;;
846 *)
847 acl_cv_prog_gnu_ld=no ;;
848 esac])
849 with_gnu_ld=$acl_cv_prog_gnu_ld
850 ])
851
852 dnl From libtool-1.4. Sets the variable LD.
853 AC_DEFUN([AC_LIB_PROG_LD],
854 [AC_ARG_WITH(gnu-ld,
855 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
856 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
857 AC_REQUIRE([AC_PROG_CC])dnl
858 AC_REQUIRE([AC_CANONICAL_HOST])dnl
859 # Prepare PATH_SEPARATOR.
860 # The user is always right.
861 if test "${PATH_SEPARATOR+set}" != set; then
862 echo "#! /bin/sh" >conf$$.sh
863 echo "exit 0" >>conf$$.sh
864 chmod +x conf$$.sh
865 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
866 PATH_SEPARATOR=';'
867 else
868 PATH_SEPARATOR=:
869 fi
870 rm -f conf$$.sh
871 fi
872 ac_prog=ld
873 if test "$GCC" = yes; then
874 # Check if gcc -print-prog-name=ld gives a path.
875 AC_MSG_CHECKING([for ld used by GCC])
876 case $host in
877 *-*-mingw*)
878 # gcc leaves a trailing carriage return which upsets mingw
879 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
880 *)
881 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
882 esac
883 case $ac_prog in
884 # Accept absolute paths.
885 [[\\/]* | [A-Za-z]:[\\/]*)]
886 [re_direlt='/[^/][^/]*/\.\./']
887 # Canonicalize the path of ld
888 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
889 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
890 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
891 done
892 test -z "$LD" && LD="$ac_prog"
893 ;;
894 "")
895 # If it fails, then pretend we aren't using GCC.
896 ac_prog=ld
897 ;;
898 *)
899 # If it is relative, then search for the first ld in PATH.
900 with_gnu_ld=unknown
901 ;;
902 esac
903 elif test "$with_gnu_ld" = yes; then
904 AC_MSG_CHECKING([for GNU ld])
905 else
906 AC_MSG_CHECKING([for non-GNU ld])
907 fi
908 AC_CACHE_VAL(acl_cv_path_LD,
909 [if test -z "$LD"; then
910 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
911 for ac_dir in $PATH; do
912 test -z "$ac_dir" && ac_dir=.
913 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
914 acl_cv_path_LD="$ac_dir/$ac_prog"
915 # Check to see if the program is GNU ld. I'd rather use --version,
916 # but apparently some GNU ld's only accept -v.
917 # Break only if it was the GNU/non-GNU ld that we prefer.
918 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
919 *GNU* | *'with BFD'*)
920 test "$with_gnu_ld" != no && break ;;
921 *)
922 test "$with_gnu_ld" != yes && break ;;
923 esac
924 fi
925 done
926 IFS="$ac_save_ifs"
927 else
928 acl_cv_path_LD="$LD" # Let the user override the test with a path.
929 fi])
930 LD="$acl_cv_path_LD"
931 if test -n "$LD"; then
932 AC_MSG_RESULT($LD)
933 else
934 AC_MSG_RESULT(no)
935 fi
936 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
937 AC_LIB_PROG_LD_GNU
938 ])
939
940 # Like AC_CONFIG_HEADER, but automatically create stamp file.
941
942 AC_DEFUN([AM_CONFIG_HEADER],
943 [AC_PREREQ([2.12])
944 AC_CONFIG_HEADER([$1])
945 dnl When config.status generates a header, we must update the stamp-h file.
946 dnl This file resides in the same directory as the config header
947 dnl that is generated. We must strip everything past the first ":",
948 dnl and everything past the last "/".
949 AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
950 ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
951 <<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
952 <<am_indx=1
953 for am_file in <<$1>>; do
954 case " <<$>>CONFIG_HEADERS " in
955 *" <<$>>am_file "*<<)>>
956 echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
957 ;;
958 esac
959 am_indx=`expr "<<$>>am_indx" + 1`
960 done<<>>dnl>>)
961 changequote([,]))])
962
963 # Do all the work for Automake. This macro actually does too much --
964 # some checks are only needed if your package does certain things.
965 # But this isn't really a big deal.
966
967 # serial 1
968
969 dnl Usage:
970 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
971
972 AC_DEFUN([AM_INIT_AUTOMAKE],
973 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
974 AC_REQUIRE([AC_PROG_INSTALL])
975 PACKAGE=[$1]
976 AC_SUBST(PACKAGE)
977 VERSION=[$2]
978 AC_SUBST(VERSION)
979 dnl test to see if srcdir already configured
980 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
981 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
982 fi
983 ifelse([$3],,
984 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
985 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
986 AC_REQUIRE([AM_SANITY_CHECK])
987 AC_REQUIRE([AC_ARG_PROGRAM])
988 dnl FIXME This is truly gross.
989 missing_dir=`cd $ac_aux_dir && pwd`
990 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
991 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
992 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
993 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
994 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
995 AC_REQUIRE([AC_PROG_MAKE_SET])])
996
997 # Copyright 2002 Free Software Foundation, Inc.
998
999 # This program is free software; you can redistribute it and/or modify
1000 # it under the terms of the GNU General Public License as published by
1001 # the Free Software Foundation; either version 2, or (at your option)
1002 # any later version.
0 # generated automatically by aclocal 1.10 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006 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.
10037
10048 # This program is distributed in the hope that it will be useful,
1005 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1006 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1007 # GNU General Public License for more details.
1008
1009 # You should have received a copy of the GNU General Public License
1010 # along with this program; if not, write to the Free Software
1011 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
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 m4_if(m4_PACKAGE_VERSION, [2.61],,
14 [m4_fatal([this file was generated for autoconf 2.61.
15 You have another version of autoconf. If you want to use that,
16 you should regenerate the build system entirely.], [63])])
17
18 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
19 #
20 # This file is free software; the Free Software Foundation
21 # gives unlimited permission to copy and/or distribute it,
22 # with or without modifications, as long as this notice is preserved.
101223
101324 # AM_AUTOMAKE_VERSION(VERSION)
101425 # ----------------------------
101526 # Automake X.Y traces this macro to ensure aclocal.m4 has been
101627 # generated from the m4 files accompanying Automake X.Y.
1017 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
28 # (This private macro should not be called outside this file.)
29 AC_DEFUN([AM_AUTOMAKE_VERSION],
30 [am__api_version='1.10'
31 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
32 dnl require some minimum version. Point them to the right macro.
33 m4_if([$1], [1.10], [],
34 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
35 ])
36
37 # _AM_AUTOCONF_VERSION(VERSION)
38 # -----------------------------
39 # aclocal traces this macro to find the Autoconf version.
40 # This is a private macro too. Using m4_define simplifies
41 # the logic in aclocal, which can simply ignore this definition.
42 m4_define([_AM_AUTOCONF_VERSION], [])
101843
101944 # AM_SET_CURRENT_AUTOMAKE_VERSION
102045 # -------------------------------
1021 # Call AM_AUTOMAKE_VERSION so it can be traced.
46 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
102247 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
102348 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1024 [AM_AUTOMAKE_VERSION([1.4-p6])])
1025
1026 #
1027 # Check to make sure that the build environment is sane.
1028 #
1029
49 [AM_AUTOMAKE_VERSION([1.10])dnl
50 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
51
52 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
53
54 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
55 #
56 # This file is free software; the Free Software Foundation
57 # gives unlimited permission to copy and/or distribute it,
58 # with or without modifications, as long as this notice is preserved.
59
60 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
61 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
62 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
63 #
64 # Of course, Automake must honor this variable whenever it calls a
65 # tool from the auxiliary directory. The problem is that $srcdir (and
66 # therefore $ac_aux_dir as well) can be either absolute or relative,
67 # depending on how configure is run. This is pretty annoying, since
68 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
69 # source directory, any form will work fine, but in subdirectories a
70 # relative path needs to be adjusted first.
71 #
72 # $ac_aux_dir/missing
73 # fails when called from a subdirectory if $ac_aux_dir is relative
74 # $top_srcdir/$ac_aux_dir/missing
75 # fails if $ac_aux_dir is absolute,
76 # fails when called from a subdirectory in a VPATH build with
77 # a relative $ac_aux_dir
78 #
79 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
80 # are both prefixed by $srcdir. In an in-source build this is usually
81 # harmless because $srcdir is `.', but things will broke when you
82 # start a VPATH build or use an absolute $srcdir.
83 #
84 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
85 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
86 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
87 # and then we would define $MISSING as
88 # MISSING="\${SHELL} $am_aux_dir/missing"
89 # This will work as long as MISSING is not called from configure, because
90 # unfortunately $(top_srcdir) has no meaning in configure.
91 # However there are other variables, like CC, which are often used in
92 # configure, and could therefore not use this "fixed" $ac_aux_dir.
93 #
94 # Another solution, used here, is to always expand $ac_aux_dir to an
95 # absolute PATH. The drawback is that using absolute paths prevent a
96 # configured tree to be moved without reconfiguration.
97
98 AC_DEFUN([AM_AUX_DIR_EXPAND],
99 [dnl Rely on autoconf to set up CDPATH properly.
100 AC_PREREQ([2.50])dnl
101 # expand $ac_aux_dir to an absolute path
102 am_aux_dir=`cd $ac_aux_dir && pwd`
103 ])
104
105 # AM_CONDITIONAL -*- Autoconf -*-
106
107 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
108 # Free Software Foundation, Inc.
109 #
110 # This file is free software; the Free Software Foundation
111 # gives unlimited permission to copy and/or distribute it,
112 # with or without modifications, as long as this notice is preserved.
113
114 # serial 8
115
116 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
117 # -------------------------------------
118 # Define a conditional.
119 AC_DEFUN([AM_CONDITIONAL],
120 [AC_PREREQ(2.52)dnl
121 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
122 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
123 AC_SUBST([$1_TRUE])dnl
124 AC_SUBST([$1_FALSE])dnl
125 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
126 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
127 if $2; then
128 $1_TRUE=
129 $1_FALSE='#'
130 else
131 $1_TRUE='#'
132 $1_FALSE=
133 fi
134 AC_CONFIG_COMMANDS_PRE(
135 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
136 AC_MSG_ERROR([[conditional "$1" was never defined.
137 Usually this means the macro was only invoked conditionally.]])
138 fi])])
139
140 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
141 # Free Software Foundation, Inc.
142 #
143 # This file is free software; the Free Software Foundation
144 # gives unlimited permission to copy and/or distribute it,
145 # with or without modifications, as long as this notice is preserved.
146
147 # serial 9
148
149 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
150 # written in clear, in which case automake, when reading aclocal.m4,
151 # will think it sees a *use*, and therefore will trigger all it's
152 # C support machinery. Also note that it means that autoscan, seeing
153 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
154
155
156 # _AM_DEPENDENCIES(NAME)
157 # ----------------------
158 # See how the compiler implements dependency checking.
159 # NAME is "CC", "CXX", "GCJ", or "OBJC".
160 # We try a few techniques and use that to set a single cache variable.
161 #
162 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
163 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
164 # dependency, and given that the user is not expected to run this macro,
165 # just rely on AC_PROG_CC.
166 AC_DEFUN([_AM_DEPENDENCIES],
167 [AC_REQUIRE([AM_SET_DEPDIR])dnl
168 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
169 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
170 AC_REQUIRE([AM_DEP_TRACK])dnl
171
172 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
173 [$1], CXX, [depcc="$CXX" am_compiler_list=],
174 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
175 [$1], UPC, [depcc="$UPC" am_compiler_list=],
176 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
177 [depcc="$$1" am_compiler_list=])
178
179 AC_CACHE_CHECK([dependency style of $depcc],
180 [am_cv_$1_dependencies_compiler_type],
181 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
182 # We make a subdir and do the tests there. Otherwise we can end up
183 # making bogus files that we don't know about and never remove. For
184 # instance it was reported that on HP-UX the gcc test will end up
185 # making a dummy file named `D' -- because `-MD' means `put the output
186 # in D'.
187 mkdir conftest.dir
188 # Copy depcomp to subdir because otherwise we won't find it if we're
189 # using a relative directory.
190 cp "$am_depcomp" conftest.dir
191 cd conftest.dir
192 # We will build objects and dependencies in a subdirectory because
193 # it helps to detect inapplicable dependency modes. For instance
194 # both Tru64's cc and ICC support -MD to output dependencies as a
195 # side effect of compilation, but ICC will put the dependencies in
196 # the current directory while Tru64 will put them in the object
197 # directory.
198 mkdir sub
199
200 am_cv_$1_dependencies_compiler_type=none
201 if test "$am_compiler_list" = ""; then
202 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
203 fi
204 for depmode in $am_compiler_list; do
205 # Setup a source with many dependencies, because some compilers
206 # like to wrap large dependency lists on column 80 (with \), and
207 # we should not choose a depcomp mode which is confused by this.
208 #
209 # We need to recreate these files for each test, as the compiler may
210 # overwrite some of them when testing with obscure command lines.
211 # This happens at least with the AIX C compiler.
212 : > sub/conftest.c
213 for i in 1 2 3 4 5 6; do
214 echo '#include "conftst'$i'.h"' >> sub/conftest.c
215 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
216 # Solaris 8's {/usr,}/bin/sh.
217 touch sub/conftst$i.h
218 done
219 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
220
221 case $depmode in
222 nosideeffect)
223 # after this tag, mechanisms are not by side-effect, so they'll
224 # only be used when explicitly requested
225 if test "x$enable_dependency_tracking" = xyes; then
226 continue
227 else
228 break
229 fi
230 ;;
231 none) break ;;
232 esac
233 # We check with `-c' and `-o' for the sake of the "dashmstdout"
234 # mode. It turns out that the SunPro C++ compiler does not properly
235 # handle `-M -o', and we need to detect this.
236 if depmode=$depmode \
237 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
238 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
239 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
240 >/dev/null 2>conftest.err &&
241 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
242 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
243 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
244 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
245 # icc doesn't choke on unknown options, it will just issue warnings
246 # or remarks (even with -Werror). So we grep stderr for any message
247 # that says an option was ignored or not supported.
248 # When given -MP, icc 7.0 and 7.1 complain thusly:
249 # icc: Command line warning: ignoring option '-M'; no argument required
250 # The diagnosis changed in icc 8.0:
251 # icc: Command line remark: option '-MP' not supported
252 if (grep 'ignoring option' conftest.err ||
253 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
254 am_cv_$1_dependencies_compiler_type=$depmode
255 break
256 fi
257 fi
258 done
259
260 cd ..
261 rm -rf conftest.dir
262 else
263 am_cv_$1_dependencies_compiler_type=none
264 fi
265 ])
266 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
267 AM_CONDITIONAL([am__fastdep$1], [
268 test "x$enable_dependency_tracking" != xno \
269 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
270 ])
271
272
273 # AM_SET_DEPDIR
274 # -------------
275 # Choose a directory name for dependency files.
276 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
277 AC_DEFUN([AM_SET_DEPDIR],
278 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
279 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
280 ])
281
282
283 # AM_DEP_TRACK
284 # ------------
285 AC_DEFUN([AM_DEP_TRACK],
286 [AC_ARG_ENABLE(dependency-tracking,
287 [ --disable-dependency-tracking speeds up one-time build
288 --enable-dependency-tracking do not reject slow dependency extractors])
289 if test "x$enable_dependency_tracking" != xno; then
290 am_depcomp="$ac_aux_dir/depcomp"
291 AMDEPBACKSLASH='\'
292 fi
293 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
294 AC_SUBST([AMDEPBACKSLASH])dnl
295 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
296 ])
297
298 # Generate code to set up dependency tracking. -*- Autoconf -*-
299
300 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
301 # Free Software Foundation, Inc.
302 #
303 # This file is free software; the Free Software Foundation
304 # gives unlimited permission to copy and/or distribute it,
305 # with or without modifications, as long as this notice is preserved.
306
307 #serial 3
308
309 # _AM_OUTPUT_DEPENDENCY_COMMANDS
310 # ------------------------------
311 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
312 [for mf in $CONFIG_FILES; do
313 # Strip MF so we end up with the name of the file.
314 mf=`echo "$mf" | sed -e 's/:.*$//'`
315 # Check whether this is an Automake generated Makefile or not.
316 # We used to match only the files named `Makefile.in', but
317 # some people rename them; so instead we look at the file content.
318 # Grep'ing the first line is not enough: some people post-process
319 # each Makefile.in and add a new line on top of each file to say so.
320 # Grep'ing the whole file is not good either: AIX grep has a line
321 # limit of 2048, but all sed's we know have understand at least 4000.
322 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
323 dirpart=`AS_DIRNAME("$mf")`
324 else
325 continue
326 fi
327 # Extract the definition of DEPDIR, am__include, and am__quote
328 # from the Makefile without running `make'.
329 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
330 test -z "$DEPDIR" && continue
331 am__include=`sed -n 's/^am__include = //p' < "$mf"`
332 test -z "am__include" && continue
333 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
334 # When using ansi2knr, U may be empty or an underscore; expand it
335 U=`sed -n 's/^U = //p' < "$mf"`
336 # Find all dependency output files, they are included files with
337 # $(DEPDIR) in their names. We invoke sed twice because it is the
338 # simplest approach to changing $(DEPDIR) to its actual value in the
339 # expansion.
340 for file in `sed -n "
341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
343 # Make sure the directory exists.
344 test -f "$dirpart/$file" && continue
345 fdir=`AS_DIRNAME(["$file"])`
346 AS_MKDIR_P([$dirpart/$fdir])
347 # echo "creating $dirpart/$file"
348 echo '# dummy' > "$dirpart/$file"
349 done
350 done
351 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
352
353
354 # AM_OUTPUT_DEPENDENCY_COMMANDS
355 # -----------------------------
356 # This macro should only be invoked once -- use via AC_REQUIRE.
357 #
358 # This code is only required when automatic dependency tracking
359 # is enabled. FIXME. This creates each `.P' file that we will
360 # need in order to bootstrap the dependency handling code.
361 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
362 [AC_CONFIG_COMMANDS([depfiles],
363 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
364 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
365 ])
366
367 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
368 # Free Software Foundation, Inc.
369 #
370 # This file is free software; the Free Software Foundation
371 # gives unlimited permission to copy and/or distribute it,
372 # with or without modifications, as long as this notice is preserved.
373
374 # serial 8
375
376 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
377 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
378
379 # Do all the work for Automake. -*- Autoconf -*-
380
381 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
382 # 2005, 2006 Free Software Foundation, Inc.
383 #
384 # This file is free software; the Free Software Foundation
385 # gives unlimited permission to copy and/or distribute it,
386 # with or without modifications, as long as this notice is preserved.
387
388 # serial 12
389
390 # This macro actually does too much. Some checks are only needed if
391 # your package does certain things. But this isn't really a big deal.
392
393 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
394 # AM_INIT_AUTOMAKE([OPTIONS])
395 # -----------------------------------------------
396 # The call with PACKAGE and VERSION arguments is the old style
397 # call (pre autoconf-2.50), which is being phased out. PACKAGE
398 # and VERSION should now be passed to AC_INIT and removed from
399 # the call to AM_INIT_AUTOMAKE.
400 # We support both call styles for the transition. After
401 # the next Automake release, Autoconf can make the AC_INIT
402 # arguments mandatory, and then we can depend on a new Autoconf
403 # release and drop the old call support.
404 AC_DEFUN([AM_INIT_AUTOMAKE],
405 [AC_PREREQ([2.60])dnl
406 dnl Autoconf wants to disallow AM_ names. We explicitly allow
407 dnl the ones we care about.
408 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
409 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
410 AC_REQUIRE([AC_PROG_INSTALL])dnl
411 if test "`cd $srcdir && pwd`" != "`pwd`"; then
412 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
413 # is not polluted with repeated "-I."
414 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
415 # test to see if srcdir already configured
416 if test -f $srcdir/config.status; then
417 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
418 fi
419 fi
420
421 # test whether we have cygpath
422 if test -z "$CYGPATH_W"; then
423 if (cygpath --version) >/dev/null 2>/dev/null; then
424 CYGPATH_W='cygpath -w'
425 else
426 CYGPATH_W=echo
427 fi
428 fi
429 AC_SUBST([CYGPATH_W])
430
431 # Define the identity of the package.
432 dnl Distinguish between old-style and new-style calls.
433 m4_ifval([$2],
434 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
435 AC_SUBST([PACKAGE], [$1])dnl
436 AC_SUBST([VERSION], [$2])],
437 [_AM_SET_OPTIONS([$1])dnl
438 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
439 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
440 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
441 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
442 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
443
444 _AM_IF_OPTION([no-define],,
445 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
446 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
447
448 # Some tools Automake needs.
449 AC_REQUIRE([AM_SANITY_CHECK])dnl
450 AC_REQUIRE([AC_ARG_PROGRAM])dnl
451 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
452 AM_MISSING_PROG(AUTOCONF, autoconf)
453 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
454 AM_MISSING_PROG(AUTOHEADER, autoheader)
455 AM_MISSING_PROG(MAKEINFO, makeinfo)
456 AM_PROG_INSTALL_SH
457 AM_PROG_INSTALL_STRIP
458 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
459 # We need awk for the "check" target. The system "awk" is bad on
460 # some platforms.
461 AC_REQUIRE([AC_PROG_AWK])dnl
462 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
463 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
464 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
465 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
466 [_AM_PROG_TAR([v7])])])
467 _AM_IF_OPTION([no-dependencies],,
468 [AC_PROVIDE_IFELSE([AC_PROG_CC],
469 [_AM_DEPENDENCIES(CC)],
470 [define([AC_PROG_CC],
471 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
472 AC_PROVIDE_IFELSE([AC_PROG_CXX],
473 [_AM_DEPENDENCIES(CXX)],
474 [define([AC_PROG_CXX],
475 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
476 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
477 [_AM_DEPENDENCIES(OBJC)],
478 [define([AC_PROG_OBJC],
479 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
480 ])
481 ])
482
483
484 # When config.status generates a header, we must update the stamp-h file.
485 # This file resides in the same directory as the config header
486 # that is generated. The stamp files are numbered to have different names.
487
488 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
489 # loop where config.status creates the headers, so we can generate
490 # our stamp files there.
491 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
492 [# Compute $1's index in $config_headers.
493 _am_stamp_count=1
494 for _am_header in $config_headers :; do
495 case $_am_header in
496 $1 | $1:* )
497 break ;;
498 * )
499 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
500 esac
501 done
502 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
503
504 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
505 #
506 # This file is free software; the Free Software Foundation
507 # gives unlimited permission to copy and/or distribute it,
508 # with or without modifications, as long as this notice is preserved.
509
510 # AM_PROG_INSTALL_SH
511 # ------------------
512 # Define $install_sh.
513 AC_DEFUN([AM_PROG_INSTALL_SH],
514 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
515 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
516 AC_SUBST(install_sh)])
517
518 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
519 #
520 # This file is free software; the Free Software Foundation
521 # gives unlimited permission to copy and/or distribute it,
522 # with or without modifications, as long as this notice is preserved.
523
524 # serial 2
525
526 # Check whether the underlying file-system supports filenames
527 # with a leading dot. For instance MS-DOS doesn't.
528 AC_DEFUN([AM_SET_LEADING_DOT],
529 [rm -rf .tst 2>/dev/null
530 mkdir .tst 2>/dev/null
531 if test -d .tst; then
532 am__leading_dot=.
533 else
534 am__leading_dot=_
535 fi
536 rmdir .tst 2>/dev/null
537 AC_SUBST([am__leading_dot])])
538
539 # Check to see how 'make' treats includes. -*- Autoconf -*-
540
541 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
542 #
543 # This file is free software; the Free Software Foundation
544 # gives unlimited permission to copy and/or distribute it,
545 # with or without modifications, as long as this notice is preserved.
546
547 # serial 3
548
549 # AM_MAKE_INCLUDE()
550 # -----------------
551 # Check to see how make treats includes.
552 AC_DEFUN([AM_MAKE_INCLUDE],
553 [am_make=${MAKE-make}
554 cat > confinc << 'END'
555 am__doit:
556 @echo done
557 .PHONY: am__doit
558 END
559 # If we don't find an include directive, just comment out the code.
560 AC_MSG_CHECKING([for style of include used by $am_make])
561 am__include="#"
562 am__quote=
563 _am_result=none
564 # First try GNU make style include.
565 echo "include confinc" > confmf
566 # We grep out `Entering directory' and `Leaving directory'
567 # messages which can occur if `w' ends up in MAKEFLAGS.
568 # In particular we don't look at `^make:' because GNU make might
569 # be invoked under some other name (usually "gmake"), in which
570 # case it prints its new name instead of `make'.
571 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
572 am__include=include
573 am__quote=
574 _am_result=GNU
575 fi
576 # Now try BSD make style include.
577 if test "$am__include" = "#"; then
578 echo '.include "confinc"' > confmf
579 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
580 am__include=.include
581 am__quote="\""
582 _am_result=BSD
583 fi
584 fi
585 AC_SUBST([am__include])
586 AC_SUBST([am__quote])
587 AC_MSG_RESULT([$_am_result])
588 rm -f confinc confmf
589 ])
590
591 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
592
593 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
594 # Free Software Foundation, Inc.
595 #
596 # This file is free software; the Free Software Foundation
597 # gives unlimited permission to copy and/or distribute it,
598 # with or without modifications, as long as this notice is preserved.
599
600 # serial 5
601
602 # AM_MISSING_PROG(NAME, PROGRAM)
603 # ------------------------------
604 AC_DEFUN([AM_MISSING_PROG],
605 [AC_REQUIRE([AM_MISSING_HAS_RUN])
606 $1=${$1-"${am_missing_run}$2"}
607 AC_SUBST($1)])
608
609
610 # AM_MISSING_HAS_RUN
611 # ------------------
612 # Define MISSING if not defined so far and test if it supports --run.
613 # If it does, set am_missing_run to use it, otherwise, to nothing.
614 AC_DEFUN([AM_MISSING_HAS_RUN],
615 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
616 AC_REQUIRE_AUX_FILE([missing])dnl
617 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
618 # Use eval to expand $SHELL
619 if eval "$MISSING --run true"; then
620 am_missing_run="$MISSING --run "
621 else
622 am_missing_run=
623 AC_MSG_WARN([`missing' script is too old or missing])
624 fi
625 ])
626
627 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
628 #
629 # This file is free software; the Free Software Foundation
630 # gives unlimited permission to copy and/or distribute it,
631 # with or without modifications, as long as this notice is preserved.
632
633 # AM_PROG_MKDIR_P
634 # ---------------
635 # Check for `mkdir -p'.
636 AC_DEFUN([AM_PROG_MKDIR_P],
637 [AC_PREREQ([2.60])dnl
638 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
639 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
640 dnl while keeping a definition of mkdir_p for backward compatibility.
641 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
642 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
643 dnl Makefile.ins that do not define MKDIR_P, so we do our own
644 dnl adjustment using top_builddir (which is defined more often than
645 dnl MKDIR_P).
646 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
647 case $mkdir_p in
648 [[\\/$]]* | ?:[[\\/]]*) ;;
649 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
650 esac
651 ])
652
653 # Helper functions for option handling. -*- Autoconf -*-
654
655 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
656 #
657 # This file is free software; the Free Software Foundation
658 # gives unlimited permission to copy and/or distribute it,
659 # with or without modifications, as long as this notice is preserved.
660
661 # serial 3
662
663 # _AM_MANGLE_OPTION(NAME)
664 # -----------------------
665 AC_DEFUN([_AM_MANGLE_OPTION],
666 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
667
668 # _AM_SET_OPTION(NAME)
669 # ------------------------------
670 # Set option NAME. Presently that only means defining a flag for this option.
671 AC_DEFUN([_AM_SET_OPTION],
672 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
673
674 # _AM_SET_OPTIONS(OPTIONS)
675 # ----------------------------------
676 # OPTIONS is a space-separated list of Automake options.
677 AC_DEFUN([_AM_SET_OPTIONS],
678 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
679
680 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
681 # -------------------------------------------
682 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
683 AC_DEFUN([_AM_IF_OPTION],
684 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
685
686 # Check to make sure that the build environment is sane. -*- Autoconf -*-
687
688 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
689 # Free Software Foundation, Inc.
690 #
691 # This file is free software; the Free Software Foundation
692 # gives unlimited permission to copy and/or distribute it,
693 # with or without modifications, as long as this notice is preserved.
694
695 # serial 4
696
697 # AM_SANITY_CHECK
698 # ---------------
1030699 AC_DEFUN([AM_SANITY_CHECK],
1031700 [AC_MSG_CHECKING([whether build environment is sane])
1032701 # Just in case
1033702 sleep 1
1034 echo timestamp > conftestfile
703 echo timestamp > conftest.file
1035704 # Do `set' in a subshell so we don't clobber the current shell's
1036705 # arguments. Must try -L first in case configure is actually a
1037706 # symlink; some systems play weird games with the mod time of symlinks
1038707 # (eg FreeBSD returns the mod time of the symlink's containing
1039708 # directory).
1040709 if (
1041 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1042 if test "[$]*" = "X"; then
710 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
711 if test "$[*]" = "X"; then
1043712 # -L didn't work.
1044 set X `ls -t $srcdir/configure conftestfile`
713 set X `ls -t $srcdir/configure conftest.file`
1045714 fi
1046 if test "[$]*" != "X $srcdir/configure conftestfile" \
1047 && test "[$]*" != "X conftestfile $srcdir/configure"; then
715 rm -f conftest.file
716 if test "$[*]" != "X $srcdir/configure conftest.file" \
717 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1048718
1049719 # If neither matched, then we have a broken ls. This can happen
1050720 # if, for instance, CONFIG_SHELL is bash and it inherits a
1054724 alias in your environment])
1055725 fi
1056726
1057 test "[$]2" = conftestfile
727 test "$[2]" = conftest.file
1058728 )
1059729 then
1060730 # Ok.
1063733 AC_MSG_ERROR([newly created file is older than distributed files!
1064734 Check your system clock])
1065735 fi
1066 rm -f conftest*
1067736 AC_MSG_RESULT(yes)])
1068737
1069 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
1070 dnl The program must properly implement --version.
1071 AC_DEFUN([AM_MISSING_PROG],
1072 [AC_MSG_CHECKING(for working $2)
1073 # Run test in a subshell; some versions of sh will print an error if
1074 # an executable is not found, even if stderr is redirected.
1075 # Redirect stdin to placate older versions of autoconf. Sigh.
1076 if ($2 --version) < /dev/null > /dev/null 2>&1; then
1077 $1=$2
1078 AC_MSG_RESULT(found)
1079 else
1080 $1="$3/missing $2"
1081 AC_MSG_RESULT(missing)
1082 fi
1083 AC_SUBST($1)])
1084
738 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
739 #
740 # This file is free software; the Free Software Foundation
741 # gives unlimited permission to copy and/or distribute it,
742 # with or without modifications, as long as this notice is preserved.
743
744 # AM_PROG_INSTALL_STRIP
745 # ---------------------
746 # One issue with vendor `install' (even GNU) is that you can't
747 # specify the program used to strip binaries. This is especially
748 # annoying in cross-compiling environments, where the build's strip
749 # is unlikely to handle the host's binaries.
750 # Fortunately install-sh will honor a STRIPPROG variable, so we
751 # always use install-sh in `make install-strip', and initialize
752 # STRIPPROG with the value of the STRIP variable (set by the user).
753 AC_DEFUN([AM_PROG_INSTALL_STRIP],
754 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
755 # Installed binaries are usually stripped using `strip' when the user
756 # run `make install-strip'. However `strip' might not be the right
757 # tool to use in cross-compilation environments, therefore Automake
758 # will honor the `STRIP' environment variable to overrule this program.
759 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
760 if test "$cross_compiling" != no; then
761 AC_CHECK_TOOL([STRIP], [strip], :)
762 fi
763 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
764 AC_SUBST([INSTALL_STRIP_PROGRAM])])
765
766 # Copyright (C) 2006 Free Software Foundation, Inc.
767 #
768 # This file is free software; the Free Software Foundation
769 # gives unlimited permission to copy and/or distribute it,
770 # with or without modifications, as long as this notice is preserved.
771
772 # _AM_SUBST_NOTMAKE(VARIABLE)
773 # ---------------------------
774 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
775 # This macro is traced by Automake.
776 AC_DEFUN([_AM_SUBST_NOTMAKE])
777
778 # Check how to create a tarball. -*- Autoconf -*-
779
780 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
781 #
782 # This file is free software; the Free Software Foundation
783 # gives unlimited permission to copy and/or distribute it,
784 # with or without modifications, as long as this notice is preserved.
785
786 # serial 2
787
788 # _AM_PROG_TAR(FORMAT)
789 # --------------------
790 # Check how to create a tarball in format FORMAT.
791 # FORMAT should be one of `v7', `ustar', or `pax'.
792 #
793 # Substitute a variable $(am__tar) that is a command
794 # writing to stdout a FORMAT-tarball containing the directory
795 # $tardir.
796 # tardir=directory && $(am__tar) > result.tar
797 #
798 # Substitute a variable $(am__untar) that extract such
799 # a tarball read from stdin.
800 # $(am__untar) < result.tar
801 AC_DEFUN([_AM_PROG_TAR],
802 [# Always define AMTAR for backward compatibility.
803 AM_MISSING_PROG([AMTAR], [tar])
804 m4_if([$1], [v7],
805 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
806 [m4_case([$1], [ustar],, [pax],,
807 [m4_fatal([Unknown tar format])])
808 AC_MSG_CHECKING([how to create a $1 tar archive])
809 # Loop over all known methods to create a tar archive until one works.
810 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
811 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
812 # Do not fold the above two line into one, because Tru64 sh and
813 # Solaris sh will not grok spaces in the rhs of `-'.
814 for _am_tool in $_am_tools
815 do
816 case $_am_tool in
817 gnutar)
818 for _am_tar in tar gnutar gtar;
819 do
820 AM_RUN_LOG([$_am_tar --version]) && break
821 done
822 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
823 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
824 am__untar="$_am_tar -xf -"
825 ;;
826 plaintar)
827 # Must skip GNU tar: if it does not support --format= it doesn't create
828 # ustar tarball either.
829 (tar --version) >/dev/null 2>&1 && continue
830 am__tar='tar chf - "$$tardir"'
831 am__tar_='tar chf - "$tardir"'
832 am__untar='tar xf -'
833 ;;
834 pax)
835 am__tar='pax -L -x $1 -w "$$tardir"'
836 am__tar_='pax -L -x $1 -w "$tardir"'
837 am__untar='pax -r'
838 ;;
839 cpio)
840 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
841 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
842 am__untar='cpio -i -H $1 -d'
843 ;;
844 none)
845 am__tar=false
846 am__tar_=false
847 am__untar=false
848 ;;
849 esac
850
851 # If the value was cached, stop now. We just wanted to have am__tar
852 # and am__untar set.
853 test -n "${am_cv_prog_tar_$1}" && break
854
855 # tar/untar a dummy directory, and stop if the command works
856 rm -rf conftest.dir
857 mkdir conftest.dir
858 echo GrepMe > conftest.dir/file
859 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
860 rm -rf conftest.dir
861 if test -s conftest.tar; then
862 AM_RUN_LOG([$am__untar <conftest.tar])
863 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
864 fi
865 done
866 rm -rf conftest.dir
867
868 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
869 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
870 AC_SUBST([am__tar])
871 AC_SUBST([am__untar])
872 ]) # _AM_PROG_TAR
873
+0
-0
config.guess less more
(Empty file)
6565 /* Define to the version of this package. */
6666 #undef PACKAGE_VERSION
6767
68 /* install_path */
69 #undef SHAREDIR
70
7168 /* Define to 1 if you have the ANSI C header files. */
7269 #undef STDC_HEADERS
7370
+0
-0
config.sub less more
(Empty file)
+1029
-665
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.60.
2 # Generated by GNU Autoconf 2.61.
33 #
44 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
55 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
99 ## M4sh Initialization. ##
1010 ## --------------------- ##
1111
12 # Be Bourne compatible
12 # Be more Bourne compatible
13 DUALCASE=1; export DUALCASE # for MKS sh
1314 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1415 emulate sh
1516 NULLCMD=:
1819 alias -g '${1+"$@"}'='"$@"'
1920 setopt NO_GLOB_SUBST
2021 else
21 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22 fi
23 BIN_SH=xpg4; export BIN_SH # for Tru64
24 DUALCASE=1; export DUALCASE # for MKS sh
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 esac
25
26 fi
27
28
2529
2630
2731 # PATH needs CR
214218 else
215219 as_candidate_shells=
216220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218222 do
219223 IFS=$as_save_IFS
220224 test -z "$as_dir" && as_dir=.
232236 # Try only shells that exist, to save several forks.
233237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
234238 { ("$as_shell") 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237240 emulate sh
238241 NULLCMD=:
241244 alias -g '${1+"$@"}'='"$@"'
242245 setopt NO_GLOB_SUBST
243246 else
244 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
245 fi
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
248253
249254 :
250255 _ASEOF
252257 CONFIG_SHELL=$as_shell
253258 as_have_required=yes
254259 if { "$as_shell" 2> /dev/null <<\_ASEOF
255 # Be Bourne compatible
256260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
257261 emulate sh
258262 NULLCMD=:
261265 alias -g '${1+"$@"}'='"$@"'
262266 setopt NO_GLOB_SUBST
263267 else
264 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
265 fi
266 BIN_SH=xpg4; export BIN_SH # for Tru64
267 DUALCASE=1; export DUALCASE # for MKS sh
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
268274
269275 :
270276 (as_func_return () {
511517 as_mkdir_p=false
512518 fi
513519
514 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
515 # systems may use methods other than mode bits to determine executability.
516 cat >conf$$.file <<_ASEOF
517 #! /bin/sh
518 exit 0
519 _ASEOF
520 chmod +x conf$$.file
521 if test -x conf$$.file >/dev/null 2>&1; then
522 as_executable_p="test -x"
523 else
524 as_executable_p=:
525 fi
526 rm -f conf$$.file
520 if test -x / >/dev/null 2>&1; then
521 as_test_x='test -x'
522 else
523 if ls -dL / >/dev/null 2>&1; then
524 as_ls_L_option=L
525 else
526 as_ls_L_option=
527 fi
528 as_test_x='
529 eval sh -c '\''
530 if test -d "$1"; then
531 test -d "$1/.";
532 else
533 case $1 in
534 -*)set "./$1";;
535 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
537 ???[sx]*):;;*)false;;esac;fi
538 '\'' sh
539 '
540 fi
541 as_executable_p=$as_test_x
527542
528543 # Sed expression to map a string onto a valid CPP name.
529544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564579 # Factoring default headers for most tests.
565580 ac_includes_default="\
566581 #include <stdio.h>
567 #if HAVE_SYS_TYPES_H
582 #ifdef HAVE_SYS_TYPES_H
568583 # include <sys/types.h>
569584 #endif
570 #if HAVE_SYS_STAT_H
585 #ifdef HAVE_SYS_STAT_H
571586 # include <sys/stat.h>
572587 #endif
573 #if STDC_HEADERS
588 #ifdef STDC_HEADERS
574589 # include <stdlib.h>
575590 # include <stddef.h>
576591 #else
577 # if HAVE_STDLIB_H
592 # ifdef HAVE_STDLIB_H
578593 # include <stdlib.h>
579594 # endif
580595 #endif
581 #if HAVE_STRING_H
582 # if !STDC_HEADERS && HAVE_MEMORY_H
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583598 # include <memory.h>
584599 # endif
585600 # include <string.h>
586601 #endif
587 #if HAVE_STRINGS_H
602 #ifdef HAVE_STRINGS_H
588603 # include <strings.h>
589604 #endif
590 #if HAVE_INTTYPES_H
605 #ifdef HAVE_INTTYPES_H
591606 # include <inttypes.h>
592607 #endif
593 #if HAVE_STDINT_H
608 #ifdef HAVE_STDINT_H
594609 # include <stdint.h>
595610 #endif
596 #if HAVE_UNISTD_H
611 #ifdef HAVE_UNISTD_H
597612 # include <unistd.h>
598613 #endif"
599614
637652 INSTALL_PROGRAM
638653 INSTALL_SCRIPT
639654 INSTALL_DATA
655 am__isrc
656 CYGPATH_W
640657 PACKAGE
641658 VERSION
642659 ACLOCAL
644661 AUTOMAKE
645662 AUTOHEADER
646663 MAKEINFO
664 install_sh
665 STRIP
666 INSTALL_STRIP_PROGRAM
667 mkdir_p
668 AWK
647669 SET_MAKE
670 am__leading_dot
671 AMTAR
672 am__tar
673 am__untar
648674 CXX
649675 CXXFLAGS
650676 LDFLAGS
652678 ac_ct_CXX
653679 EXEEXT
654680 OBJEXT
681 DEPDIR
682 am__include
683 am__quote
684 AMDEP_TRUE
685 AMDEP_FALSE
686 AMDEPBACKSLASH
687 CXXDEPMODE
688 am__fastdepCXX_TRUE
689 am__fastdepCXX_FALSE
655690 CC
656691 CFLAGS
657692 ac_ct_CC
693 CCDEPMODE
694 am__fastdepCC_TRUE
695 am__fastdepCC_FALSE
658696 CPP
659697 GREP
660698 EGREP
668706 CXX
669707 CXXFLAGS
670708 LDFLAGS
709 LIBS
671710 CPPFLAGS
672711 CCC
673712 CC
779818 -disable-* | --disable-*)
780819 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
781820 # Reject names that are not valid shell variable names.
782 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
821 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
783822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
784823 { (exit 1); exit 1; }; }
785 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
786825 eval enable_$ac_feature=no ;;
787826
788827 -docdir | --docdir | --docdi | --doc | --do)
798837 -enable-* | --enable-*)
799838 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
800839 # Reject names that are not valid shell variable names.
801 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
840 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
803842 { (exit 1); exit 1; }; }
804 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
805844 eval enable_$ac_feature=\$ac_optarg ;;
806845
807846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9951034 -with-* | --with-*)
9961035 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9971036 # Reject names that are not valid shell variable names.
998 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1037 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
9991038 { echo "$as_me: error: invalid package name: $ac_package" >&2
10001039 { (exit 1); exit 1; }; }
1001 ac_package=`echo $ac_package| sed 's/-/_/g'`
1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10021041 eval with_$ac_package=\$ac_optarg ;;
10031042
10041043 -without-* | --without-*)
10051044 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10061045 # Reject names that are not valid shell variable names.
1007 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1046 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10081047 { echo "$as_me: error: invalid package name: $ac_package" >&2
10091048 { (exit 1); exit 1; }; }
1010 ac_package=`echo $ac_package | sed 's/-/_/g'`
1049 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10111050 eval with_$ac_package=no ;;
10121051
10131052 --x)
12441283
12451284 cat <<\_ACEOF
12461285
1286 Optional Features:
1287 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1288 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1289 --disable-dependency-tracking speeds up one-time build
1290 --enable-dependency-tracking do not reject slow dependency extractors
1291
12471292 Some influential environment variables:
12481293 CXX C++ compiler command
12491294 CXXFLAGS C++ compiler flags
12501295 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12511296 nonstandard directory <lib dir>
1297 LIBS libraries to pass to the linker, e.g. -l<library>
12521298 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
12531299 you have headers in a nonstandard directory <include dir>
12541300 CC C compiler command
13201366 if $ac_init_version; then
13211367 cat <<\_ACEOF
13221368 configure
1323 generated by GNU Autoconf 2.60
1369 generated by GNU Autoconf 2.61
13241370
13251371 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13261372 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13341380 running configure, to aid debugging if configure makes a mistake.
13351381
13361382 It was created by $as_me, which was
1337 generated by GNU Autoconf 2.60. Invocation command line was
1383 generated by GNU Autoconf 2.61. Invocation command line was
13381384
13391385 $ $0 $@
13401386
16781724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16791725
16801726
1681
16821727 ac_config_headers="$ac_config_headers config.h"
16831728
1684 ac_config_commands="$ac_config_commands default-1"
1685
1686 am__api_version="1.4"
1729 am__api_version='1.10'
1730
16871731 ac_aux_dir=
16881732 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
16891733 if test -f "$ac_dir/install-sh"; then
17511795 # by default.
17521796 for ac_prog in ginstall scoinst install; do
17531797 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1798 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
17551799 if test $ac_prog = install &&
17561800 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17571801 # AIX install. It has an incompatible calling convention.
17991843 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
18001844 # Just in case
18011845 sleep 1
1802 echo timestamp > conftestfile
1846 echo timestamp > conftest.file
18031847 # Do `set' in a subshell so we don't clobber the current shell's
18041848 # arguments. Must try -L first in case configure is actually a
18051849 # symlink; some systems play weird games with the mod time of symlinks
18061850 # (eg FreeBSD returns the mod time of the symlink's containing
18071851 # directory).
18081852 if (
1809 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1853 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
18101854 if test "$*" = "X"; then
18111855 # -L didn't work.
1812 set X `ls -t $srcdir/configure conftestfile`
1856 set X `ls -t $srcdir/configure conftest.file`
18131857 fi
1814 if test "$*" != "X $srcdir/configure conftestfile" \
1815 && test "$*" != "X conftestfile $srcdir/configure"; then
1858 rm -f conftest.file
1859 if test "$*" != "X $srcdir/configure conftest.file" \
1860 && test "$*" != "X conftest.file $srcdir/configure"; then
18161861
18171862 # If neither matched, then we have a broken ls. This can happen
18181863 # if, for instance, CONFIG_SHELL is bash and it inherits a
18251870 { (exit 1); exit 1; }; }
18261871 fi
18271872
1828 test "$2" = conftestfile
1873 test "$2" = conftest.file
18291874 )
18301875 then
18311876 # Ok.
18371882 Check your system clock" >&2;}
18381883 { (exit 1); exit 1; }; }
18391884 fi
1840 rm -f conftest*
18411885 { echo "$as_me:$LINENO: result: yes" >&5
18421886 echo "${ECHO_T}yes" >&6; }
18431887 test "$program_prefix" != NONE &&
18531897 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
18541898 rm -f conftest.sed
18551899
1900 # expand $ac_aux_dir to an absolute path
1901 am_aux_dir=`cd $ac_aux_dir && pwd`
1902
1903 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1904 # Use eval to expand $SHELL
1905 if eval "$MISSING --run true"; then
1906 am_missing_run="$MISSING --run "
1907 else
1908 am_missing_run=
1909 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1910 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1911 fi
1912
1913 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1914 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1915 if test -z "$MKDIR_P"; then
1916 if test "${ac_cv_path_mkdir+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1921 do
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_prog in mkdir gmkdir; do
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1927 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1928 'mkdir (GNU coreutils) '* | \
1929 'mkdir (coreutils) '* | \
1930 'mkdir (fileutils) '4.1*)
1931 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1932 break 3;;
1933 esac
1934 done
1935 done
1936 done
1937 IFS=$as_save_IFS
1938
1939 fi
1940
1941 if test "${ac_cv_path_mkdir+set}" = set; then
1942 MKDIR_P="$ac_cv_path_mkdir -p"
1943 else
1944 # As a last resort, use the slow shell script. Don't cache a
1945 # value for MKDIR_P within a source directory, because that will
1946 # break other packages using the cache if that directory is
1947 # removed, or if the value is a relative name.
1948 test -d ./--version && rmdir ./--version
1949 MKDIR_P="$ac_install_sh -