Codebase list esniper / fa58dcb
Import Debian patch 2.20.0-1 Dima Barsky 7 years ago
12 changed file(s) with 3724 addition(s) and 2927 deletion(s). Raw diff Collapse all Expand all
0 2009-10-14
1 * 2.20.0 released
2 * Fixed bug 2875827 and others: Error encountered in function ebayLogin
3 * Fixed bug 2862437 and others: Unknown time interval "Duration:"
4 remaining time could not be converted
5
06 2008-08-04
17 * 2.19.0 released
28 * Fixed bug 2036585: enable cookies
0 # Makefile.in generated by automake 1.9.5 from Makefile.am.
0 # Makefile.in generated by automake 1.11 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1314
1415 @SET_MAKE@
1516
16 SOURCES = $(esniper_SOURCES)
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
2017 VPATH = @srcdir@
2118 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
2220 pkglibdir = $(libdir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
24 top_builddir = .
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
2522 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
2723 install_sh_DATA = $(install_sh) -c -m 644
2824 install_sh_PROGRAM = $(install_sh) -c
2925 install_sh_SCRIPT = $(install_sh) -c
4541 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4642 $(ACLOCAL_M4)
4743 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
48 configure.lineno configure.status.lineno
44 configure.lineno config.status.lineno
4945 mkinstalldirs = $(install_sh) -d
5046 CONFIG_CLEAN_FILES =
47 CONFIG_CLEAN_VPATH_FILES =
5148 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
5349 PROGRAMS = $(bin_PROGRAMS)
5450 am_esniper_OBJECTS = auction.$(OBJEXT) auctionfile.$(OBJEXT) \
5551 auctioninfo.$(OBJEXT) buffer.$(OBJEXT) esniper.$(OBJEXT) \
5854 esniper_OBJECTS = $(am_esniper_OBJECTS)
5955 esniper_LDADD = $(LDADD)
6056 esniper_DEPENDENCIES =
61 DEFAULT_INCLUDES = -I. -I$(srcdir)
57 DEFAULT_INCLUDES = -I.@am__isrc@
6258 depcomp = $(SHELL) $(top_srcdir)/depcomp
6359 am__depfiles_maybe = depfiles
60 am__mv = mv -f
6461 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
6562 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
6663 CCLD = $(CC)
6764 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
6865 SOURCES = $(esniper_SOURCES)
6966 DIST_SOURCES = $(esniper_SOURCES)
67 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
68 am__vpath_adj = case $$p in \
69 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
70 *) f=$$p;; \
71 esac;
72 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
73 am__install_max = 40
74 am__nobase_strip_setup = \
75 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
76 am__nobase_strip = \
77 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
78 am__nobase_list = $(am__nobase_strip_setup); \
79 for p in $$list; do echo "$$p $$p"; done | \
80 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
81 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
82 if (++n[$$2] == $(am__install_max)) \
83 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
84 END { for (dir in files) print dir, files[dir] }'
85 am__base_list = \
86 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
87 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
7088 man1dir = $(mandir)/man1
7189 NROFF = nroff
7290 MANS = $(man_MANS)
7694 distdir = $(PACKAGE)-$(VERSION)
7795 top_distdir = $(distdir)
7896 am__remove_distdir = \
79 { test ! -d $(distdir) \
80 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
81 && rm -fr $(distdir); }; }
97 { test ! -d "$(distdir)" \
98 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
99 && rm -fr "$(distdir)"; }; }
82100 DIST_ARCHIVES = $(distdir).tar.gz
83101 GZIP_ENV = --best
84102 distuninstallcheck_listfiles = find . -type f -print
85103 distcleancheck_listfiles = find . -type f -print
86104 ACLOCAL = @ACLOCAL@
87 AMDEP_FALSE = @AMDEP_FALSE@
88 AMDEP_TRUE = @AMDEP_TRUE@
89105 AMTAR = @AMTAR@
90106 AUTOCONF = @AUTOCONF@
91107 AUTOHEADER = @AUTOHEADER@
105121 ECHO_N = @ECHO_N@
106122 ECHO_T = @ECHO_T@
107123 EXEEXT = @EXEEXT@
124 INSTALL = @INSTALL@
108125 INSTALL_DATA = @INSTALL_DATA@
109126 INSTALL_PROGRAM = @INSTALL_PROGRAM@
110127 INSTALL_SCRIPT = @INSTALL_SCRIPT@
114131 LIBS = @LIBS@
115132 LTLIBOBJS = @LTLIBOBJS@
116133 MAKEINFO = @MAKEINFO@
134 MKDIR_P = @MKDIR_P@
117135 OBJEXT = @OBJEXT@
118136 PACKAGE = @PACKAGE@
119137 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
120138 PACKAGE_NAME = @PACKAGE_NAME@
121139 PACKAGE_STRING = @PACKAGE_STRING@
122140 PACKAGE_TARNAME = @PACKAGE_TARNAME@
141 PACKAGE_URL = @PACKAGE_URL@
123142 PACKAGE_VERSION = @PACKAGE_VERSION@
124143 PATH_SEPARATOR = @PATH_SEPARATOR@
125144 SET_MAKE = @SET_MAKE@
126145 SHELL = @SHELL@
127146 STRIP = @STRIP@
128147 VERSION = @VERSION@
148 abs_builddir = @abs_builddir@
149 abs_srcdir = @abs_srcdir@
150 abs_top_builddir = @abs_top_builddir@
151 abs_top_srcdir = @abs_top_srcdir@
129152 ac_ct_CC = @ac_ct_CC@
130 ac_ct_STRIP = @ac_ct_STRIP@
131 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
132 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
133153 am__include = @am__include@
134154 am__leading_dot = @am__leading_dot@
135155 am__quote = @am__quote@
137157 am__untar = @am__untar@
138158 bindir = @bindir@
139159 build_alias = @build_alias@
160 builddir = @builddir@
140161 datadir = @datadir@
162 datarootdir = @datarootdir@
163 docdir = @docdir@
164 dvidir = @dvidir@
141165 exec_prefix = @exec_prefix@
142166 host_alias = @host_alias@
167 htmldir = @htmldir@
143168 includedir = @includedir@
144169 infodir = @infodir@
145170 install_sh = @install_sh@
146171 libdir = @libdir@
147172 libexecdir = @libexecdir@
173 localedir = @localedir@
148174 localstatedir = @localstatedir@
149175 mandir = @mandir@
150176 mkdir_p = @mkdir_p@
151177 oldincludedir = @oldincludedir@
178 pdfdir = @pdfdir@
152179 prefix = @prefix@
153180 program_transform_name = @program_transform_name@
181 psdir = @psdir@
154182 sbindir = @sbindir@
155183 sharedstatedir = @sharedstatedir@
184 srcdir = @srcdir@
156185 sysconfdir = @sysconfdir@
157186 target_alias = @target_alias@
187 top_build_prefix = @top_build_prefix@
188 top_builddir = @top_builddir@
189 top_srcdir = @top_srcdir@
158190 AM_CFLAGS = @CURLCFLAGS@
159191 LDADD = @CURLLDFLAGS@
160192 esniper_SOURCES = auction.c auctionfile.c auctioninfo.c buffer.c esniper.c \
177209 @for dep in $?; do \
178210 case '$(am__configure_deps)' in \
179211 *$$dep*) \
180 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
181 cd $(srcdir) && $(AUTOMAKE) --gnu \
212 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
213 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
182214 && exit 0; \
183215 exit 1;; \
184216 esac; \
185217 done; \
186 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
187 cd $(top_srcdir) && \
188 $(AUTOMAKE) --gnu Makefile
218 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
219 $(am__cd) $(top_srcdir) && \
220 $(AUTOMAKE) --gnu Makefile
189221 .PRECIOUS: Makefile
190222 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
191223 @case '$?' in \
201233 $(SHELL) ./config.status --recheck
202234
203235 $(top_srcdir)/configure: $(am__configure_deps)
204 cd $(srcdir) && $(AUTOCONF)
236 $(am__cd) $(srcdir) && $(AUTOCONF)
205237 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
206 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
238 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
239 $(am__aclocal_m4_deps):
207240 install-binPROGRAMS: $(bin_PROGRAMS)
208241 @$(NORMAL_INSTALL)
209 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
210 @list='$(bin_PROGRAMS)'; for p in $$list; do \
211 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
212 if test -f $$p \
213 ; then \
214 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
215 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
216 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
217 else :; fi; \
218 done
242 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
243 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
244 for p in $$list; do echo "$$p $$p"; done | \
245 sed 's/$(EXEEXT)$$//' | \
246 while read p p1; do if test -f $$p; \
247 then echo "$$p"; echo "$$p"; else :; fi; \
248 done | \
249 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
250 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
251 sed 'N;N;N;s,\n, ,g' | \
252 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
253 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
254 if ($$2 == $$4) files[d] = files[d] " " $$1; \
255 else { print "f", $$3 "/" $$4, $$1; } } \
256 END { for (d in files) print "f", d, files[d] }' | \
257 while read type dir files; do \
258 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
259 test -z "$$files" || { \
260 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
261 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
262 } \
263 ; done
219264
220265 uninstall-binPROGRAMS:
221266 @$(NORMAL_UNINSTALL)
222 @list='$(bin_PROGRAMS)'; for p in $$list; do \
223 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
224 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
225 rm -f "$(DESTDIR)$(bindir)/$$f"; \
226 done
267 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
268 files=`for p in $$list; do echo "$$p"; done | \
269 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
270 -e 's/$$/$(EXEEXT)/' `; \
271 test -n "$$list" || exit 0; \
272 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
273 cd "$(DESTDIR)$(bindir)" && rm -f $$files
227274
228275 clean-binPROGRAMS:
229276 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
230277 esniper$(EXEEXT): $(esniper_OBJECTS) $(esniper_DEPENDENCIES)
231278 @rm -f esniper$(EXEEXT)
232 $(LINK) $(esniper_LDFLAGS) $(esniper_OBJECTS) $(esniper_LDADD) $(LIBS)
279 $(LINK) $(esniper_OBJECTS) $(esniper_LDADD) $(LIBS)
233280
234281 mostlyclean-compile:
235282 -rm -f *.$(OBJEXT)
249296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
250297
251298 .c.o:
252 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
253 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
299 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
300 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
254301 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
255302 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
256303 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
257304
258305 .c.obj:
259 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
260 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
306 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
307 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
261308 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
262309 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
263310 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
264 uninstall-info-am:
265 install-man1: $(man1_MANS) $(man_MANS)
311 install-man1: $(man_MANS)
266312 @$(NORMAL_INSTALL)
267 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
268 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
269 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
270 for i in $$l2; do \
271 case "$$i" in \
272 *.1*) list="$$list $$i" ;; \
273 esac; \
313 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
314 @list=''; test -n "$(man1dir)" || exit 0; \
315 { for i in $$list; do echo "$$i"; done; \
316 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
317 sed -n '/\.1[a-z]*$$/p'; \
318 } | while read p; do \
319 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
320 echo "$$d$$p"; echo "$$p"; \
321 done | \
322 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
323 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
324 sed 'N;N;s,\n, ,g' | { \
325 list=; while read file base inst; do \
326 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
327 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
328 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
329 fi; \
274330 done; \
275 for i in $$list; do \
276 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
277 else file=$$i; fi; \
278 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
279 case "$$ext" in \
280 1*) ;; \
281 *) ext='1' ;; \
282 esac; \
283 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
284 inst=`echo $$inst | sed -e 's/^.*\///'`; \
285 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
286 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
287 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
288 done
331 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
332 while read files; do \
333 test -z "$$files" || { \
334 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
335 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
336 done; }
337
289338 uninstall-man1:
290339 @$(NORMAL_UNINSTALL)
291 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
292 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
293 for i in $$l2; do \
294 case "$$i" in \
295 *.1*) list="$$list $$i" ;; \
296 esac; \
297 done; \
298 for i in $$list; do \
299 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
300 case "$$ext" in \
301 1*) ;; \
302 *) ext='1' ;; \
303 esac; \
304 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
305 inst=`echo $$inst | sed -e 's/^.*\///'`; \
306 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
307 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
308 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
309 done
340 @list=''; test -n "$(man1dir)" || exit 0; \
341 files=`{ for i in $$list; do echo "$$i"; done; \
342 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
343 sed -n '/\.1[a-z]*$$/p'; \
344 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
345 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
346 test -z "$$files" || { \
347 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
348 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
310349
311350 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
312351 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
313352 unique=`for i in $$list; do \
314353 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
315354 done | \
316 $(AWK) ' { files[$$0] = 1; } \
317 END { for (i in files) print i; }'`; \
355 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
356 END { if (nonempty) { for (i in files) print i; }; }'`; \
318357 mkid -fID $$unique
319358 tags: TAGS
320359
321360 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
322361 $(TAGS_FILES) $(LISP)
323 tags=; \
362 set x; \
324363 here=`pwd`; \
325364 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
326365 unique=`for i in $$list; do \
327366 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
328367 done | \
329 $(AWK) ' { files[$$0] = 1; } \
330 END { for (i in files) print i; }'`; \
331 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
368 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
369 END { if (nonempty) { for (i in files) print i; }; }'`; \
370 shift; \
371 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
332372 test -n "$$unique" || unique=$$empty_fix; \
333 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
334 $$tags $$unique; \
373 if test $$# -gt 0; then \
374 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
375 "$$@" $$unique; \
376 else \
377 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
378 $$unique; \
379 fi; \
335380 fi
336381 ctags: CTAGS
337382 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
338383 $(TAGS_FILES) $(LISP)
339 tags=; \
340 here=`pwd`; \
341384 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
342385 unique=`for i in $$list; do \
343386 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
344387 done | \
345 $(AWK) ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 test -z "$(CTAGS_ARGS)$$tags$$unique" \
388 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
389 END { if (nonempty) { for (i in files) print i; }; }'`; \
390 test -z "$(CTAGS_ARGS)$$unique" \
348391 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
349 $$tags $$unique
392 $$unique
350393
351394 GTAGS:
352395 here=`$(am__cd) $(top_builddir) && pwd` \
353 && cd $(top_srcdir) \
354 && gtags -i $(GTAGS_ARGS) $$here
396 && $(am__cd) $(top_srcdir) \
397 && gtags -i $(GTAGS_ARGS) "$$here"
355398
356399 distclean-tags:
357400 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
358401
359402 distdir: $(DISTFILES)
360 $(am__remove_distdir)
361 mkdir $(distdir)
362 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
363 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
364 list='$(DISTFILES)'; for file in $$list; do \
365 case $$file in \
366 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
367 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
368 esac; \
403 @list='$(MANS)'; if test -n "$$list"; then \
404 list=`for p in $$list; do \
405 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
406 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
407 if test -n "$$list" && \
408 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
409 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
410 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
411 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
412 echo " typically \`make maintainer-clean' will remove them" >&2; \
413 exit 1; \
414 else :; fi; \
415 else :; fi
416 $(am__remove_distdir)
417 test -d "$(distdir)" || mkdir "$(distdir)"
418 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
419 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
420 list='$(DISTFILES)'; \
421 dist_files=`for file in $$list; do echo $$file; done | \
422 sed -e "s|^$$srcdirstrip/||;t" \
423 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
424 case $$dist_files in \
425 */*) $(MKDIR_P) `echo "$$dist_files" | \
426 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
427 sort -u` ;; \
428 esac; \
429 for file in $$dist_files; do \
369430 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
370 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
371 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
372 dir="/$$dir"; \
373 $(mkdir_p) "$(distdir)$$dir"; \
431 if test -d $$d/$$file; then \
432 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
433 if test -d "$(distdir)/$$file"; then \
434 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
435 fi; \
436 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
437 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
438 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
439 fi; \
440 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
374441 else \
375 dir=''; \
376 fi; \
377 if test -d $$d/$$file; then \
378 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
379 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
380 fi; \
381 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
382 else \
383 test -f $(distdir)/$$file \
384 || cp -p $$d/$$file $(distdir)/$$file \
442 test -f "$(distdir)/$$file" \
443 || cp -p $$d/$$file "$(distdir)/$$file" \
385444 || exit 1; \
386445 fi; \
387446 done
388 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
447 -test -n "$(am__skip_mode_fix)" \
448 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
389449 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
390450 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
391 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
392 || chmod -R a+r $(distdir)
451 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
452 || chmod -R a+r "$(distdir)"
393453 dist-gzip: distdir
394454 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
395455 $(am__remove_distdir)
396456
397457 dist-bzip2: distdir
398458 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
459 $(am__remove_distdir)
460
461 dist-lzma: distdir
462 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
463 $(am__remove_distdir)
464
465 dist-xz: distdir
466 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
399467 $(am__remove_distdir)
400468
401469 dist-tarZ: distdir
424492 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
425493 *.tar.bz2*) \
426494 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
495 *.tar.lzma*) \
496 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
497 *.tar.xz*) \
498 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
427499 *.tar.Z*) \
428500 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
429501 *.shar.gz*) \
435507 mkdir $(distdir)/_build
436508 mkdir $(distdir)/_inst
437509 chmod a-w $(distdir)
510 test -d $(distdir)/_build || exit 0; \
438511 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
439512 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
440 && cd $(distdir)/_build \
513 && am__cwd=`pwd` \
514 && $(am__cd) $(distdir)/_build \
441515 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
442516 $(DISTCHECK_CONFIGURE_FLAGS) \
443517 && $(MAKE) $(AM_MAKEFLAGS) \
459533 && rm -rf "$$dc_destdir" \
460534 && $(MAKE) $(AM_MAKEFLAGS) dist \
461535 && rm -rf $(DIST_ARCHIVES) \
462 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
536 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
537 && cd "$$am__cwd" \
538 || exit 1
463539 $(am__remove_distdir)
464540 @(echo "$(distdir) archives ready for distribution: "; \
465541 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
466 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
542 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
467543 distuninstallcheck:
468 @cd $(distuninstallcheck_dir) \
544 @$(am__cd) '$(distuninstallcheck_dir)' \
469545 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
470546 || { echo "ERROR: files left after uninstall:" ; \
471547 if test -n "$(DESTDIR)"; then \
487563 all-am: Makefile $(PROGRAMS) $(MANS)
488564 installdirs:
489565 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
490 test -z "$$dir" || $(mkdir_p) "$$dir"; \
566 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
491567 done
492568 install: install-am
493569 install-exec: install-exec-am
509585
510586 distclean-generic:
511587 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
588 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
512589
513590 maintainer-clean-generic:
514591 @echo "This command is intended for maintainers to use"
530607
531608 html: html-am
532609
610 html-am:
611
533612 info: info-am
534613
535614 info-am:
536615
537616 install-data-am: install-man
538617
618 install-dvi: install-dvi-am
619
620 install-dvi-am:
621
539622 install-exec-am: install-binPROGRAMS
540623
624 install-html: install-html-am
625
626 install-html-am:
627
541628 install-info: install-info-am
542629
630 install-info-am:
631
543632 install-man: install-man1
633
634 install-pdf: install-pdf-am
635
636 install-pdf-am:
637
638 install-ps: install-ps-am
639
640 install-ps-am:
544641
545642 installcheck-am:
546643
563660
564661 ps-am:
565662
566 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
663 uninstall-am: uninstall-binPROGRAMS uninstall-man
567664
568665 uninstall-man: uninstall-man1
666
667 .MAKE: install-am install-strip
569668
570669 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
571670 clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
572 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
573 distclean-compile distclean-generic distclean-tags \
574 distcleancheck distdir distuninstallcheck dvi dvi-am html \
575 html-am info info-am install install-am install-binPROGRAMS \
576 install-data install-data-am install-exec install-exec-am \
577 install-info install-info-am install-man install-man1 \
578 install-strip installcheck installcheck-am installdirs \
579 maintainer-clean maintainer-clean-generic mostlyclean \
580 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
581 tags uninstall uninstall-am uninstall-binPROGRAMS \
582 uninstall-info-am uninstall-man uninstall-man1
671 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
672 distcheck distclean distclean-compile distclean-generic \
673 distclean-tags distcleancheck distdir distuninstallcheck dvi \
674 dvi-am html html-am info info-am install install-am \
675 install-binPROGRAMS install-data install-data-am install-dvi \
676 install-dvi-am install-exec install-exec-am install-html \
677 install-html-am install-info install-info-am install-man \
678 install-man1 install-pdf install-pdf-am install-ps \
679 install-ps-am install-strip installcheck installcheck-am \
680 installdirs maintainer-clean maintainer-clean-generic \
681 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
682 ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
683 uninstall-man uninstall-man1
684
583685
584686 # Tell versions [3.59,3.63) of GNU make to not export all variables.
585687 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # generated automatically by aclocal 1.9.5 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
16 [m4_warning([this file was generated for autoconf 2.64.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1422 #
1523 # This file is free software; the Free Software Foundation
1624 # gives unlimited permission to copy and/or distribute it,
2028 # ----------------------------
2129 # Automake X.Y traces this macro to ensure aclocal.m4 has been
2230 # generated from the m4 files accompanying Automake X.Y.
23 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
2446
2547 # AM_SET_CURRENT_AUTOMAKE_VERSION
2648 # -------------------------------
27 # Call AM_AUTOMAKE_VERSION so it can be traced.
28 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2951 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
30 [AM_AUTOMAKE_VERSION([1.9.5])])
52 [AM_AUTOMAKE_VERSION([1.11])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3156
3257 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3358
84109
85110 # AM_CONDITIONAL -*- Autoconf -*-
86111
87 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
88113 # Free Software Foundation, Inc.
89114 #
90115 # This file is free software; the Free Software Foundation
91116 # gives unlimited permission to copy and/or distribute it,
92117 # with or without modifications, as long as this notice is preserved.
93118
94 # serial 7
119 # serial 9
95120
96121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
97122 # -------------------------------------
100125 [AC_PREREQ(2.52)dnl
101126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
102127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
103 AC_SUBST([$1_TRUE])
104 AC_SUBST([$1_FALSE])
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
105133 if $2; then
106134 $1_TRUE=
107135 $1_FALSE='#'
115143 Usually this means the macro was only invoked conditionally.]])
116144 fi])])
117145
118
119 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
120147 # Free Software Foundation, Inc.
121148 #
122149 # This file is free software; the Free Software Foundation
123150 # gives unlimited permission to copy and/or distribute it,
124151 # with or without modifications, as long as this notice is preserved.
125152
126 # serial 8
153 # serial 10
127154
128155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
129156 # written in clear, in which case automake, when reading aclocal.m4,
151178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
152179 [$1], CXX, [depcc="$CXX" am_compiler_list=],
153180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
181 [$1], UPC, [depcc="$UPC" am_compiler_list=],
154182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
155183 [depcc="$$1" am_compiler_list=])
156184
179207 if test "$am_compiler_list" = ""; then
180208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
181209 fi
210 am__universal=false
211 m4_case([$1], [CC],
212 [case " $depcc " in #(
213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
214 esac],
215 [CXX],
216 [case " $depcc " in #(
217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
218 esac])
219
182220 for depmode in $am_compiler_list; do
183221 # Setup a source with many dependencies, because some compilers
184222 # like to wrap large dependency lists on column 80 (with \), and
196234 done
197235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
198236
237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
238 # mode. It turns out that the SunPro C++ compiler does not properly
239 # handle `-M -o', and we need to detect this. Also, some Intel
240 # versions had trouble with output in subdirs
241 am__obj=sub/conftest.${OBJEXT-o}
242 am__minus_obj="-o $am__obj"
199243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
200248 nosideeffect)
201249 # after this tag, mechanisms are not by side-effect, so they'll
202250 # only be used when explicitly requested
206254 break
207255 fi
208256 ;;
257 msvisualcpp | msvcmsys)
258 # This compiler won't grok `-c -o', but also, the minuso test has
259 # not run yet. These depmodes are late enough in the game, and
260 # so weak that their functioning should not be impacted.
261 am__obj=conftest.${OBJEXT-o}
262 am__minus_obj=
263 ;;
209264 none) break ;;
210265 esac
211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
212 # mode. It turns out that the SunPro C++ compiler does not properly
213 # handle `-M -o', and we need to detect this.
214266 if depmode=$depmode \
215 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
267 source=sub/conftest.c object=$am__obj \
216268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
217 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
218270 >/dev/null 2>conftest.err &&
271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
219272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
220 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
221274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
222275 # icc doesn't choke on unknown options, it will just issue warnings
223276 # or remarks (even with -Werror). So we grep stderr for any message
268321 AMDEPBACKSLASH='\'
269322 fi
270323 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
271 AC_SUBST([AMDEPBACKSLASH])
324 AC_SUBST([AMDEPBACKSLASH])dnl
325 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
272326 ])
273327
274328 # Generate code to set up dependency tracking. -*- Autoconf -*-
275329
276 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
277331 # Free Software Foundation, Inc.
278332 #
279333 # This file is free software; the Free Software Foundation
280334 # gives unlimited permission to copy and/or distribute it,
281335 # with or without modifications, as long as this notice is preserved.
282336
283 #serial 3
337 #serial 5
284338
285339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
286340 # ------------------------------
287341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
288 [for mf in $CONFIG_FILES; do
289 # Strip MF so we end up with the name of the file.
290 mf=`echo "$mf" | sed -e 's/:.*$//'`
291 # Check whether this is an Automake generated Makefile or not.
292 # We used to match only the files named `Makefile.in', but
293 # some people rename them; so instead we look at the file content.
294 # Grep'ing the first line is not enough: some people post-process
295 # each Makefile.in and add a new line on top of each file to say so.
296 # So let's grep whole file.
297 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
298 dirpart=`AS_DIRNAME("$mf")`
299 else
300 continue
301 fi
302 # Extract the definition of DEPDIR, am__include, and am__quote
303 # from the Makefile without running `make'.
304 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
305 test -z "$DEPDIR" && continue
306 am__include=`sed -n 's/^am__include = //p' < "$mf"`
307 test -z "am__include" && continue
308 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
309 # When using ansi2knr, U may be empty or an underscore; expand it
310 U=`sed -n 's/^U = //p' < "$mf"`
311 # Find all dependency output files, they are included files with
312 # $(DEPDIR) in their names. We invoke sed twice because it is the
313 # simplest approach to changing $(DEPDIR) to its actual value in the
314 # expansion.
315 for file in `sed -n "
316 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
317 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
318 # Make sure the directory exists.
319 test -f "$dirpart/$file" && continue
320 fdir=`AS_DIRNAME(["$file"])`
321 AS_MKDIR_P([$dirpart/$fdir])
322 # echo "creating $dirpart/$file"
323 echo '# dummy' > "$dirpart/$file"
342 [{
343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
344 # are listed without --file. Let's play safe and only enable the eval
345 # if we detect the quoting.
346 case $CONFIG_FILES in
347 *\'*) eval set x "$CONFIG_FILES" ;;
348 *) set x $CONFIG_FILES ;;
349 esac
350 shift
351 for mf
352 do
353 # Strip MF so we end up with the name of the file.
354 mf=`echo "$mf" | sed -e 's/:.*$//'`
355 # Check whether this is an Automake generated Makefile or not.
356 # We used to match only the files named `Makefile.in', but
357 # some people rename them; so instead we look at the file content.
358 # Grep'ing the first line is not enough: some people post-process
359 # each Makefile.in and add a new line on top of each file to say so.
360 # Grep'ing the whole file is not good either: AIX grep has a line
361 # limit of 2048, but all sed's we know have understand at least 4000.
362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
363 dirpart=`AS_DIRNAME("$mf")`
364 else
365 continue
366 fi
367 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370 test -z "$DEPDIR" && continue
371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372 test -z "am__include" && continue
373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
374 # When using ansi2knr, U may be empty or an underscore; expand it
375 U=`sed -n 's/^U = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
324390 done
325 done
391 }
326392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
327393
328394
341407
342408 # Do all the work for Automake. -*- Autoconf -*-
343409
344 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
345 # Free Software Foundation, Inc.
346 #
347 # This file is free software; the Free Software Foundation
348 # gives unlimited permission to copy and/or distribute it,
349 # with or without modifications, as long as this notice is preserved.
350
351 # serial 12
410 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
411 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
412 #
413 # This file is free software; the Free Software Foundation
414 # gives unlimited permission to copy and/or distribute it,
415 # with or without modifications, as long as this notice is preserved.
416
417 # serial 16
352418
353419 # This macro actually does too much. Some checks are only needed if
354420 # your package does certain things. But this isn't really a big deal.
365431 # arguments mandatory, and then we can depend on a new Autoconf
366432 # release and drop the old call support.
367433 AC_DEFUN([AM_INIT_AUTOMAKE],
368 [AC_PREREQ([2.58])dnl
434 [AC_PREREQ([2.62])dnl
369435 dnl Autoconf wants to disallow AM_ names. We explicitly allow
370436 dnl the ones we care about.
371437 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
372438 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
373439 AC_REQUIRE([AC_PROG_INSTALL])dnl
374 # test to see if srcdir already configured
375 if test "`cd $srcdir && pwd`" != "`pwd`" &&
376 test -f $srcdir/config.status; then
377 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
442 # is not polluted with repeated "-I."
443 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
444 # test to see if srcdir already configured
445 if test -f $srcdir/config.status; then
446 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
447 fi
378448 fi
379449
380450 # test whether we have cygpath
394464 AC_SUBST([PACKAGE], [$1])dnl
395465 AC_SUBST([VERSION], [$2])],
396466 [_AM_SET_OPTIONS([$1])dnl
467 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
468 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
469 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
397470 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
398471 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
399472
409482 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
410483 AM_MISSING_PROG(AUTOHEADER, autoheader)
411484 AM_MISSING_PROG(MAKEINFO, makeinfo)
412 AM_PROG_INSTALL_SH
413 AM_PROG_INSTALL_STRIP
485 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
414487 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
415488 # We need awk for the "check" target. The system "awk" is bad on
416489 # some platforms.
418491 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
419492 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
420493 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
421 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
422 [_AM_PROG_TAR([v7])])])
494 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495 [_AM_PROG_TAR([v7])])])
423496 _AM_IF_OPTION([no-dependencies],,
424497 [AC_PROVIDE_IFELSE([AC_PROG_CC],
425 [_AM_DEPENDENCIES(CC)],
426 [define([AC_PROG_CC],
427 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
498 [_AM_DEPENDENCIES(CC)],
499 [define([AC_PROG_CC],
500 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
428501 AC_PROVIDE_IFELSE([AC_PROG_CXX],
429 [_AM_DEPENDENCIES(CXX)],
430 [define([AC_PROG_CXX],
431 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
432 ])
433 ])
502 [_AM_DEPENDENCIES(CXX)],
503 [define([AC_PROG_CXX],
504 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
505 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
506 [_AM_DEPENDENCIES(OBJC)],
507 [define([AC_PROG_OBJC],
508 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
509 ])
510 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
511 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
512 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
513 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
514 AC_CONFIG_COMMANDS_PRE(dnl
515 [m4_provide_if([_AM_COMPILER_EXEEXT],
516 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
517 ])
518
519 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
520 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
521 dnl mangled by Autoconf and run in a shell conditional statement.
522 m4_define([_AC_COMPILER_EXEEXT],
523 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
434524
435525
436526 # When config.status generates a header, we must update the stamp-h file.
442532 # our stamp files there.
443533 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
444534 [# Compute $1's index in $config_headers.
535 _am_arg=$1
445536 _am_stamp_count=1
446537 for _am_header in $config_headers :; do
447538 case $_am_header in
448 $1 | $1:* )
539 $_am_arg | $_am_arg:* )
449540 break ;;
450541 * )
451542 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
452543 esac
453544 done
454 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
455
456 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
545 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546
547 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
457548 #
458549 # This file is free software; the Free Software Foundation
459550 # gives unlimited permission to copy and/or distribute it,
464555 # Define $install_sh.
465556 AC_DEFUN([AM_PROG_INSTALL_SH],
466557 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
467 install_sh=${install_sh-"$am_aux_dir/install-sh"}
558 if test x"${install_sh}" != xset; then
559 case $am_aux_dir in
560 *\ * | *\ *)
561 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
562 *)
563 install_sh="\${SHELL} $am_aux_dir/install-sh"
564 esac
565 fi
468566 AC_SUBST(install_sh)])
469567
470568 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
490588
491589 # Check to see how 'make' treats includes. -*- Autoconf -*-
492590
493 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
494 #
495 # This file is free software; the Free Software Foundation
496 # gives unlimited permission to copy and/or distribute it,
497 # with or without modifications, as long as this notice is preserved.
498
499 # serial 3
591 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
592 #
593 # This file is free software; the Free Software Foundation
594 # gives unlimited permission to copy and/or distribute it,
595 # with or without modifications, as long as this notice is preserved.
596
597 # serial 4
500598
501599 # AM_MAKE_INCLUDE()
502600 # -----------------
505603 [am_make=${MAKE-make}
506604 cat > confinc << 'END'
507605 am__doit:
508 @echo done
606 @echo this is the am__doit target
509607 .PHONY: am__doit
510608 END
511609 # If we don't find an include directive, just comment out the code.
515613 _am_result=none
516614 # First try GNU make style include.
517615 echo "include confinc" > confmf
518 # We grep out `Entering directory' and `Leaving directory'
519 # messages which can occur if `w' ends up in MAKEFLAGS.
520 # In particular we don't look at `^make:' because GNU make might
521 # be invoked under some other name (usually "gmake"), in which
522 # case it prints its new name instead of `make'.
523 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
524 am__include=include
525 am__quote=
526 _am_result=GNU
527 fi
616 # Ignore all kinds of additional output from `make'.
617 case `$am_make -s -f confmf 2> /dev/null` in #(
618 *the\ am__doit\ target*)
619 am__include=include
620 am__quote=
621 _am_result=GNU
622 ;;
623 esac
528624 # Now try BSD make style include.
529625 if test "$am__include" = "#"; then
530626 echo '.include "confinc"' > confmf
531 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
532 am__include=.include
533 am__quote="\""
534 _am_result=BSD
535 fi
627 case `$am_make -s -f confmf 2> /dev/null` in #(
628 *the\ am__doit\ target*)
629 am__include=.include
630 am__quote="\""
631 _am_result=BSD
632 ;;
633 esac
536634 fi
537635 AC_SUBST([am__include])
538636 AC_SUBST([am__quote])
542640
543641 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
544642
545 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
643 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
546644 # Free Software Foundation, Inc.
547645 #
548646 # This file is free software; the Free Software Foundation
549647 # gives unlimited permission to copy and/or distribute it,
550648 # with or without modifications, as long as this notice is preserved.
551649
552 # serial 4
650 # serial 6
553651
554652 # AM_MISSING_PROG(NAME, PROGRAM)
555653 # ------------------------------
565663 # If it does, set am_missing_run to use it, otherwise, to nothing.
566664 AC_DEFUN([AM_MISSING_HAS_RUN],
567665 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
568 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
666 AC_REQUIRE_AUX_FILE([missing])dnl
667 if test x"${MISSING+set}" != xset; then
668 case $am_aux_dir in
669 *\ * | *\ *)
670 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
671 *)
672 MISSING="\${SHELL} $am_aux_dir/missing" ;;
673 esac
674 fi
569675 # Use eval to expand $SHELL
570676 if eval "$MISSING --run true"; then
571677 am_missing_run="$MISSING --run "
575681 fi
576682 ])
577683
578 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
684 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
579685 #
580686 # This file is free software; the Free Software Foundation
581687 # gives unlimited permission to copy and/or distribute it,
583689
584690 # AM_PROG_MKDIR_P
585691 # ---------------
586 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
587 #
588 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
589 # created by `make install' are always world readable, even if the
590 # installer happens to have an overly restrictive umask (e.g. 077).
591 # This was a mistake. There are at least two reasons why we must not
592 # use `-m 0755':
593 # - it causes special bits like SGID to be ignored,
594 # - it may be too restrictive (some setups expect 775 directories).
595 #
596 # Do not use -m 0755 and let people choose whatever they expect by
597 # setting umask.
598 #
599 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
600 # Some implementations (such as Solaris 8's) are not thread-safe: if a
601 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
602 # concurrently, both version can detect that a/ is missing, but only
603 # one can create it and the other will error out. Consequently we
604 # restrict ourselves to GNU make (using the --version option ensures
605 # this.)
692 # Check for `mkdir -p'.
606693 AC_DEFUN([AM_PROG_MKDIR_P],
607 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
608 # We used to keeping the `.' as first argument, in order to
609 # allow $(mkdir_p) to be used without argument. As in
610 # $(mkdir_p) $(somedir)
611 # where $(somedir) is conditionally defined. However this is wrong
612 # for two reasons:
613 # 1. if the package is installed by a user who cannot write `.'
614 # make install will fail,
615 # 2. the above comment should most certainly read
616 # $(mkdir_p) $(DESTDIR)$(somedir)
617 # so it does not work when $(somedir) is undefined and
618 # $(DESTDIR) is not.
619 # To support the latter case, we have to write
620 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
621 # so the `.' trick is pointless.
622 mkdir_p='mkdir -p --'
623 else
624 # On NextStep and OpenStep, the `mkdir' command does not
625 # recognize any option. It will interpret all options as
626 # directories to create, and then abort because `.' already
627 # exists.
628 for d in ./-p ./--version;
629 do
630 test -d $d && rmdir $d
631 done
632 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
633 if test -f "$ac_aux_dir/mkinstalldirs"; then
634 mkdir_p='$(mkinstalldirs)'
635 else
636 mkdir_p='$(install_sh) -d'
637 fi
638 fi
639 AC_SUBST([mkdir_p])])
694 [AC_PREREQ([2.60])dnl
695 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
696 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
697 dnl while keeping a definition of mkdir_p for backward compatibility.
698 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
699 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
700 dnl Makefile.ins that do not define MKDIR_P, so we do our own
701 dnl adjustment using top_builddir (which is defined more often than
702 dnl MKDIR_P).
703 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
704 case $mkdir_p in
705 [[\\/$]]* | ?:[[\\/]]*) ;;
706 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
707 esac
708 ])
640709
641710 # Helper functions for option handling. -*- Autoconf -*-
642711
643 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
644 #
645 # This file is free software; the Free Software Foundation
646 # gives unlimited permission to copy and/or distribute it,
647 # with or without modifications, as long as this notice is preserved.
648
649 # serial 3
712 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
713 #
714 # This file is free software; the Free Software Foundation
715 # gives unlimited permission to copy and/or distribute it,
716 # with or without modifications, as long as this notice is preserved.
717
718 # serial 4
650719
651720 # _AM_MANGLE_OPTION(NAME)
652721 # -----------------------
663732 # ----------------------------------
664733 # OPTIONS is a space-separated list of Automake options.
665734 AC_DEFUN([_AM_SET_OPTIONS],
666 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
735 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
667736
668737 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
669738 # -------------------------------------------
673742
674743 # Check to make sure that the build environment is sane. -*- Autoconf -*-
675744
676 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
745 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
677746 # Free Software Foundation, Inc.
678747 #
679748 # This file is free software; the Free Software Foundation
680749 # gives unlimited permission to copy and/or distribute it,
681750 # with or without modifications, as long as this notice is preserved.
682751
683 # serial 4
752 # serial 5
684753
685754 # AM_SANITY_CHECK
686755 # ---------------
689758 # Just in case
690759 sleep 1
691760 echo timestamp > conftest.file
761 # Reject unsafe characters in $srcdir or the absolute working directory
762 # name. Accept space and tab only in the latter.
763 am_lf='
764 '
765 case `pwd` in
766 *[[\\\"\#\$\&\'\`$am_lf]]*)
767 AC_MSG_ERROR([unsafe absolute working directory name]);;
768 esac
769 case $srcdir in
770 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
771 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
772 esac
773
692774 # Do `set' in a subshell so we don't clobber the current shell's
693775 # arguments. Must try -L first in case configure is actually a
694776 # symlink; some systems play weird games with the mod time of symlinks
695777 # (eg FreeBSD returns the mod time of the symlink's containing
696778 # directory).
697779 if (
698 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
780 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
699781 if test "$[*]" = "X"; then
700782 # -L didn't work.
701 set X `ls -t $srcdir/configure conftest.file`
783 set X `ls -t "$srcdir/configure" conftest.file`
702784 fi
703785 rm -f conftest.file
704786 if test "$[*]" != "X $srcdir/configure conftest.file" \
748830 if test "$cross_compiling" != no; then
749831 AC_CHECK_TOOL([STRIP], [strip], :)
750832 fi
751 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
833 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
752834 AC_SUBST([INSTALL_STRIP_PROGRAM])])
835
836 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
837 #
838 # This file is free software; the Free Software Foundation
839 # gives unlimited permission to copy and/or distribute it,
840 # with or without modifications, as long as this notice is preserved.
841
842 # serial 2
843
844 # _AM_SUBST_NOTMAKE(VARIABLE)
845 # ---------------------------
846 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
847 # This macro is traced by Automake.
848 AC_DEFUN([_AM_SUBST_NOTMAKE])
849
850 # AM_SUBST_NOTMAKE(VARIABLE)
851 # ---------------------------
852 # Public sister of _AM_SUBST_NOTMAKE.
853 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
753854
754855 # Check how to create a tarball. -*- Autoconf -*-
755856
106106 int needPageId = 1;
107107 int needSrcId = 1;
108108 int needMore = 3;
109 char *title = NULL;
109110
110111 log(("getPageInfo():\n"));
111112 memReset(mp);
112113 while (needMore && (line = getTag(mp))) {
113114 char *tmp;
114115
116 if (!strcasecmp(line, "title"))
117 {
118 line = getNonTag(mp);
119 if(line) title = myStrdup(line);
120 continue;
121 }
115122 if (strncmp(line, "!--", 3))
116123 continue;
117124 if (needPageName && (tmp = strstr(line, PAGENAME))) {
134141 }
135142 }
136143 }
144 if(needPageName && title) {
145 log(("using title as page name: %s", title));
146 p.pageName = title;
147 --needPageName;
148 --needMore;
149 title = NULL;
150 }
151 if(title) free(title);
137152 log(("getPageInfo(): pageName = %s, pageId = %s, srcId = %s\n", nullStr(p.pageName), nullStr(p.pageId), nullStr(p.srcId)));
138153 memReset(mp);
139154 if (needMore == 3)
398413 * esniper must use strncasecmp().
399414 */
400415 if ((pp->srcId && !strcmp(pp->srcId, "SignInAlertSupressor"))||
401 (pp->pageName && !strncasecmp(pp->pageName, "MyeBay", 6)))
416 (pp->pageName &&
417 (!strncasecmp(pp->pageName, "MyeBay", 6) ||
418 !strncasecmp(pp->pageName, "My eBay", 7))
419 ))
402420 loginTime = time(NULL);
403421 else if (pp->pageName && !strcmp(pp->pageName, "PageSignIn"))
404422 ret = auctionError(aip, ae_login, NULL);
+3029
-2592
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59.
2 # Generated by GNU Autoconf 2.64.
33 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
6 # Foundation, Inc.
7 #
58 # This configure script is free software; the Free Software Foundation
69 # gives unlimited permission to copy, distribute and modify it.
7 ## --------------------- ##
8 ## M4sh Initialization. ##
9 ## --------------------- ##
10
11 # Be Bourne compatible
12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1317 emulate sh
1418 NULLCMD=:
15 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1620 # is contrary to our usage. Disable this feature.
1721 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 test -z "$as_dir" && as_dir=.
96 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97 done
98 IFS=$as_save_IFS
99
100 ;;
101 esac
102 # We did not find ourselves, most probably we were run as `sh COMMAND'
103 # in which case we are not to be found in the path.
104 if test "x$as_myself" = x; then
105 as_myself=$0
106 fi
107 if test ! -f "$as_myself"; then
108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
109 exit 1
110 fi
111
112 # Unset variables that we do not need and which cause bugs (e.g. in
113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
114 # suppresses any "Segmentation fault" message there. '((' could
115 # trigger a bug in pdksh 5.2.14.
116 for as_var in BASH_ENV ENV MAIL MAILPATH
117 do eval test x\${$as_var+set} = xset \
118 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
119 done
33120 PS1='$ '
34121 PS2='> '
35122 PS4='+ '
36123
37124 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
125 LC_ALL=C
126 export LC_ALL
127 LANGUAGE=C
128 export LANGUAGE
129
130 # CDPATH.
131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
132
133 if test "x$CONFIG_SHELL" = x; then
134 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
135 emulate sh
136 NULLCMD=:
137 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
138 # is contrary to our usage. Disable this feature.
139 alias -g '\${1+\"\$@\"}'='\"\$@\"'
140 setopt NO_GLOB_SUBST
141 else
142 case \`(set -o) 2>/dev/null\` in #(
143 *posix*) :
144 set -o posix ;; #(
145 *) :
146 ;;
147 esac
148 fi
149 "
150 as_required="as_fn_return () { (exit \$1); }
151 as_fn_success () { as_fn_return 0; }
152 as_fn_failure () { as_fn_return 1; }
153 as_fn_ret_success () { return 0; }
154 as_fn_ret_failure () { return 1; }
155
156 exitcode=0
157 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
158 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
159 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
160 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
161 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
162
163 else
164 exitcode=1; echo positional parameters were not saved.
165 fi
166 test x\$exitcode = x0 || exit 1"
167 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
168 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
169 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
170 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
171 if (eval "$as_required") 2>/dev/null; then :
172 as_have_required=yes
173 else
174 as_have_required=no
175 fi
176 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
177
178 else
179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180 as_found=false
181 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42182 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
183 IFS=$as_save_IFS
184 test -z "$as_dir" && as_dir=.
185 as_found=:
186 case $as_dir in #(
187 /*)
188 for as_base in sh bash ksh sh5; do
189 # Try only shells that exist, to save several forks.
190 as_shell=$as_dir/$as_base
191 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
192 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
193 CONFIG_SHELL=$as_shell as_have_required=yes
194 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 break 2
196 fi
197 fi
198 done;;
199 esac
200 as_found=false
201 done
202 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
203 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
204 CONFIG_SHELL=$SHELL as_have_required=yes
205 fi; }
206 IFS=$as_save_IFS
207
208
209 if test "x$CONFIG_SHELL" != x; then :
210 # We cannot yet assume a decent shell, so we have to provide a
211 # neutralization value for shells without unset; and this also
212 # works around shells that cannot unset nonexistent variables.
213 BASH_ENV=/dev/null
214 ENV=/dev/null
215 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
216 export CONFIG_SHELL
217 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
218 fi
219
220 if test x$as_have_required = xno; then :
221 $as_echo "$0: This script requires a shell more modern than all"
222 $as_echo "$0: the shells that I found on your system."
223 if test x${ZSH_VERSION+set} = xset ; then
224 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
225 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
45226 else
46 $as_unset $as_var
227 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
228 $0: including any error possibly output before this
229 $0: message. Then install a modern shell, or manually run
230 $0: the script under such a shell if you do have one."
47231 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
232 exit 1
233 fi
234 fi
235 fi
236 SHELL=${CONFIG_SHELL-/bin/sh}
237 export SHELL
238 # Unset more variables known to interfere with behavior of common tools.
239 CLICOLOR_FORCE= GREP_OPTIONS=
240 unset CLICOLOR_FORCE GREP_OPTIONS
241
242 ## --------------------- ##
243 ## M4sh Shell Functions. ##
244 ## --------------------- ##
245 # as_fn_unset VAR
246 # ---------------
247 # Portably unset VAR.
248 as_fn_unset ()
249 {
250 { eval $1=; unset $1;}
251 }
252 as_unset=as_fn_unset
253
254 # as_fn_set_status STATUS
255 # -----------------------
256 # Set $? to STATUS, without forking.
257 as_fn_set_status ()
258 {
259 return $1
260 } # as_fn_set_status
261
262 # as_fn_exit STATUS
263 # -----------------
264 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
265 as_fn_exit ()
266 {
267 set +e
268 as_fn_set_status $1
269 exit $1
270 } # as_fn_exit
271
272 # as_fn_mkdir_p
273 # -------------
274 # Create "$as_dir" as a directory, including parents if necessary.
275 as_fn_mkdir_p ()
276 {
277
278 case $as_dir in #(
279 -*) as_dir=./$as_dir;;
280 esac
281 test -d "$as_dir" || eval $as_mkdir_p || {
282 as_dirs=
283 while :; do
284 case $as_dir in #(
285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
286 *) as_qdir=$as_dir;;
287 esac
288 as_dirs="'$as_qdir' $as_dirs"
289 as_dir=`$as_dirname -- "$as_dir" ||
290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
291 X"$as_dir" : 'X\(//\)[^/]' \| \
292 X"$as_dir" : 'X\(//\)$' \| \
293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
294 $as_echo X"$as_dir" |
295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
296 s//\1/
297 q
298 }
299 /^X\(\/\/\)[^/].*/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\).*/{
308 s//\1/
309 q
310 }
311 s/.*/./; q'`
312 test -d "$as_dir" && break
313 done
314 test -z "$as_dirs" || eval "mkdir $as_dirs"
315 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
316
317
318 } # as_fn_mkdir_p
319 # as_fn_append VAR VALUE
320 # ----------------------
321 # Append the text in VALUE to the end of the definition contained in VAR. Take
322 # advantage of any shell optimizations that allow amortized linear growth over
323 # repeated appends, instead of the typical quadratic growth present in naive
324 # implementations.
325 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
326 eval 'as_fn_append ()
327 {
328 eval $1+=\$2
329 }'
330 else
331 as_fn_append ()
332 {
333 eval $1=\$$1\$2
334 }
335 fi # as_fn_append
336
337 # as_fn_arith ARG...
338 # ------------------
339 # Perform arithmetic evaluation on the ARGs, and store the result in the
340 # global $as_val. Take advantage of shells that can avoid forks. The arguments
341 # must be portable across $(()) and expr.
342 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
343 eval 'as_fn_arith ()
344 {
345 as_val=$(( $* ))
346 }'
347 else
348 as_fn_arith ()
349 {
350 as_val=`expr "$@" || test $? -eq 1`
351 }
352 fi # as_fn_arith
353
354
355 # as_fn_error ERROR [LINENO LOG_FD]
356 # ---------------------------------
357 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
358 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
359 # script with status $?, using 1 if that was 0.
360 as_fn_error ()
361 {
362 as_status=$?; test $as_status -eq 0 && as_status=1
363 if test "$3"; then
364 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
365 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
366 fi
367 $as_echo "$as_me: error: $1" >&2
368 as_fn_exit $as_status
369 } # as_fn_error
370
371 if expr a : '\(a\)' >/dev/null 2>&1 &&
372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52373 as_expr=expr
53374 else
54375 as_expr=false
55376 fi
56377
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
378 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
58379 as_basename=basename
59380 else
60381 as_basename=false
61382 fi
62383
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
384 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
385 as_dirname=dirname
386 else
387 as_dirname=false
388 fi
389
390 as_me=`$as_basename -- "$0" ||
66391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67392 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
394 $as_echo X/"$0" |
395 sed '/^.*\/\([^/][^/]*\)\/*$/{
396 s//\1/
397 q
398 }
399 /^X\/\(\/\/\)$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\).*/{
404 s//\1/
405 q
406 }
407 s/.*/./; q'`
408
78409 # Avoid depending upon Character Ranges.
79410 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80411 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82413 as_cr_digits='0123456789'
83414 as_cr_alnum=$as_cr_Letters$as_cr_digits
84415
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conf$$.sh
88 echo "exit 0" >>conf$$.sh
89 chmod +x conf$$.sh
90 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conf$$.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
154
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
416
417 as_lineno_1=$LINENO as_lineno_1a=$LINENO
418 as_lineno_2=$LINENO as_lineno_2a=$LINENO
419 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
420 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
421 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
422 sed -n '
423 p
424 /[$]LINENO/=
425 ' <$as_myself |
164426 sed '
427 s/[$]LINENO.*/&-/
428 t lineno
429 b
430 :lineno
165431 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
432 :loop
433 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169434 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
435 s/-\n.*//
172436 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
437 chmod +x "$as_me.lineno" ||
438 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
176439
177440 # Don't try to exec as it changes $[0], causing all sort of problems
178441 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
442 # original and so on. Autoconf is especially sensitive to this).
443 . "./$as_me.lineno"
181444 # Exit status is that of the last command.
182445 exit
183446 }
184447
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
448 ECHO_C= ECHO_N= ECHO_T=
449 case `echo -n x` in #(((((
450 -n*)
451 case `echo 'xy\c'` in
452 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
453 xy) ECHO_C='\c';;
454 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
455 ECHO_T=' ';;
456 esac;;
457 *)
458 ECHO_N='-n';;
191459 esac
192460
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194 as_expr=expr
195 else
196 as_expr=false
197 fi
198
199461 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
462 if test -d conf$$.dir; then
463 rm -f conf$$.dir/conf$$.file
464 else
465 rm -f conf$$.dir
466 mkdir conf$$.dir 2>/dev/null
467 fi
468 if (echo >conf$$.file) 2>/dev/null; then
469 if ln -s conf$$.file conf$$ 2>/dev/null; then
470 as_ln_s='ln -s'
471 # ... but there are two gotchas:
472 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
473 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
474 # In both cases, we have to default to `cp -p'.
475 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
476 as_ln_s='cp -p'
477 elif ln conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s=ln
479 else
206480 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209481 fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211 as_ln_s=ln
212482 else
213483 as_ln_s='cp -p'
214484 fi
215 rm -f conf$$ conf$$.exe conf$$.file
485 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
486 rmdir conf$$.dir 2>/dev/null
216487
217488 if mkdir -p . 2>/dev/null; then
218 as_mkdir_p=:
489 as_mkdir_p='mkdir -p "$as_dir"'
219490 else
220491 test -d ./-p && rmdir ./-p
221492 as_mkdir_p=false
222493 fi
223494
224 as_executable_p="test -f"
495 if test -x / >/dev/null 2>&1; then
496 as_test_x='test -x'
497 else
498 if ls -dL / >/dev/null 2>&1; then
499 as_ls_L_option=L
500 else
501 as_ls_L_option=
502 fi
503 as_test_x='
504 eval sh -c '\''
505 if test -d "$1"; then
506 test -d "$1/.";
507 else
508 case $1 in #(
509 -*)set "./$1";;
510 esac;
511 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
512 ???[sx]*):;;*)false;;esac;fi
513 '\'' sh
514 '
515 fi
516 as_executable_p=$as_test_x
225517
226518 # Sed expression to map a string onto a valid CPP name.
227519 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230522 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231523
232524
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
525 exec 7<&0 </dev/null 6>&1
242526
243527 # Name of the host.
244528 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245529 # so uname gets run too.
246530 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247531
248 exec 6>&1
249
250532 #
251533 # Initializations.
252534 #
253535 ac_default_prefix=/usr/local
536 ac_clean_files=
254537 ac_config_libobj_dir=.
538 LIBOBJS=
255539 cross_compiling=no
256540 subdirs=
257541 MFLAGS=
258542 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265543
266544 # Identity of this package.
267545 PACKAGE_NAME=
269547 PACKAGE_VERSION=
270548 PACKAGE_STRING=
271549 PACKAGE_BUGREPORT=
550 PACKAGE_URL=
272551
273552 ac_unique_file="esniper.c"
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CURL_CONFIG CURLCFLAGS CURLLDFLAGS LIBOBJS LTLIBOBJS'
553 ac_subst_vars='am__EXEEXT_FALSE
554 am__EXEEXT_TRUE
555 LTLIBOBJS
556 LIBOBJS
557 CURLLDFLAGS
558 CURLCFLAGS
559 CURL_CONFIG
560 am__fastdepCC_FALSE
561 am__fastdepCC_TRUE
562 CCDEPMODE
563 AMDEPBACKSLASH
564 AMDEP_FALSE
565 AMDEP_TRUE
566 am__quote
567 am__include
568 DEPDIR
569 OBJEXT
570 EXEEXT
571 ac_ct_CC
572 CPPFLAGS
573 LDFLAGS
574 CFLAGS
575 CC
576 am__untar
577 am__tar
578 AMTAR
579 am__leading_dot
580 SET_MAKE
581 AWK
582 mkdir_p
583 MKDIR_P
584 INSTALL_STRIP_PROGRAM
585 STRIP
586 install_sh
587 MAKEINFO
588 AUTOHEADER
589 AUTOMAKE
590 AUTOCONF
591 ACLOCAL
592 VERSION
593 PACKAGE
594 CYGPATH_W
595 am__isrc
596 INSTALL_DATA
597 INSTALL_SCRIPT
598 INSTALL_PROGRAM
599 target_alias
600 host_alias
601 build_alias
602 LIBS
603 ECHO_T
604 ECHO_N
605 ECHO_C
606 DEFS
607 mandir
608 localedir
609 libdir
610 psdir
611 pdfdir
612 dvidir
613 htmldir
614 infodir
615 docdir
616 oldincludedir
617 includedir
618 localstatedir
619 sharedstatedir
620 sysconfdir
621 datadir
622 datarootdir
623 libexecdir
624 sbindir
625 bindir
626 program_transform_name
627 prefix
628 exec_prefix
629 PACKAGE_URL
630 PACKAGE_BUGREPORT
631 PACKAGE_STRING
632 PACKAGE_VERSION
633 PACKAGE_TARNAME
634 PACKAGE_NAME
635 PATH_SEPARATOR
636 SHELL'
275637 ac_subst_files=''
638 ac_user_opts='
639 enable_option_checking
640 enable_dependency_tracking
641 with_curl_config
642 '
643 ac_precious_vars='build_alias
644 host_alias
645 target_alias
646 CC
647 CFLAGS
648 LDFLAGS
649 LIBS
650 CPPFLAGS'
651
276652
277653 # Initialize some variables set by options.
278654 ac_init_help=
279655 ac_init_version=false
656 ac_unrecognized_opts=
657 ac_unrecognized_sep=
280658 # The variables have the same names as the options, with
281659 # dashes changed to underlines.
282660 cache_file=/dev/null
299677 # and all the variables that are supposed to be based on exec_prefix
300678 # by default will actually change.
301679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
302681 bindir='${exec_prefix}/bin'
303682 sbindir='${exec_prefix}/sbin'
304683 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
306686 sysconfdir='${prefix}/etc'
307687 sharedstatedir='${prefix}/com'
308688 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310689 includedir='${prefix}/include'
311690 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
691 docdir='${datarootdir}/doc/${PACKAGE}'
692 infodir='${datarootdir}/info'
693 htmldir='${docdir}'
694 dvidir='${docdir}'
695 pdfdir='${docdir}'
696 psdir='${docdir}'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
314700
315701 ac_prev=
702 ac_dashdash=
316703 for ac_option
317704 do
318705 # If the previous option needs an argument, assign it.
319706 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
707 eval $ac_prev=\$ac_option
321708 ac_prev=
322709 continue
323710 fi
324711
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
712 case $ac_option in
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 *) ac_optarg=yes ;;
715 esac
326716
327717 # Accept the important Cygnus configure options, so we can diagnose typos.
328718
329 case $ac_option in
719 case $ac_dashdash$ac_option in
720 --)
721 ac_dashdash=yes ;;
330722
331723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332724 ac_prev=bindir ;;
348740 --config-cache | -C)
349741 cache_file=config.cache ;;
350742
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
743 -datadir | --datadir | --datadi | --datad)
352744 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
355746 datadir=$ac_optarg ;;
356747
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
754
357755 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359757 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
763 *"
764 "enable_$ac_useropt"
765 "*) ;;
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
768 esac
769 eval enable_$ac_useropt=no ;;
770
771 -docdir | --docdir | --docdi | --doc | --do)
772 ac_prev=docdir ;;
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774 docdir=$ac_optarg ;;
775
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 ac_prev=dvidir ;;
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779 dvidir=$ac_optarg ;;
365780
366781 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368783 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
789 *"
790 "enable_$ac_useropt"
791 "*) ;;
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
376794 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
795 eval enable_$ac_useropt=\$ac_optarg ;;
378796
379797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
401819 -host=* | --host=* | --hos=* | --ho=*)
402820 host_alias=$ac_optarg ;;
403821
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
823 ac_prev=htmldir ;;
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
825 | --ht=*)
826 htmldir=$ac_optarg ;;
827
404828 -includedir | --includedir | --includedi | --included | --include \
405829 | --includ | --inclu | --incl | --inc)
406830 ac_prev=includedir ;;
425849 | --libexe=* | --libex=* | --libe=*)
426850 libexecdir=$ac_optarg ;;
427851
852 -localedir | --localedir | --localedi | --localed | --locale)
853 ac_prev=localedir ;;
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
856
428857 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
858 | --localstate | --localstat | --localsta | --localst | --locals)
431859 ac_prev=localstatedir ;;
432860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
435862 localstatedir=$ac_optarg ;;
436863
437864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
496923 | --progr-tra=* | --program-tr=* | --program-t=*)
497924 program_transform_name=$ac_optarg ;;
498925
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
927 ac_prev=pdfdir ;;
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
929 pdfdir=$ac_optarg ;;
930
931 -psdir | --psdir | --psdi | --psd | --ps)
932 ac_prev=psdir ;;
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
934 psdir=$ac_optarg ;;
935
499936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500937 | -silent | --silent | --silen | --sile | --sil)
501938 silent=yes ;;
546983 ac_init_version=: ;;
547984
548985 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550987 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
993 *"
994 "with_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
558998 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
999 eval with_$ac_useropt=\$ac_optarg ;;
5601000
5611001 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5631003 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1009 *"
1010 "with_$ac_useropt"
1011 "*) ;;
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1014 esac
1015 eval with_$ac_useropt=no ;;
5691016
5701017 --x)
5711018 # Obsolete; use --with-x.
5851032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5861033 x_libraries=$ac_optarg ;;
5871034
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
1035 -*) as_fn_error "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information."
5911037 ;;
5921038
5931039 *=*)
5941040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
5951041 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1045 esac
1046 eval $ac_envvar=\$ac_optarg
6011047 export $ac_envvar ;;
6021048
6031049 *)
6041050 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6061052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6081054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6091055 ;;
6101056
6131059
6141060 if test -n "$ac_prev"; then
6151061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
618 fi
619
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
1062 as_fn_error "missing argument to $ac_option"
1063 fi
1064
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1067 no) ;;
1068 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1070 esac
1071 fi
1072
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
6221078 do
623 eval ac_val=$`echo $ac_var`
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
6241081 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
1082 */ )
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
6281085 esac
629 done
630
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634 do
635 eval ac_val=$`echo $ac_var`
1086 # Be sure to have absolute directory names.
6361087 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6401090 esac
1091 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
6411092 done
6421093
6431094 # There might be people who depend on the old broken behavior: `$host'
6511102 if test "x$host_alias" != x; then
6521103 if test "x$build_alias" = x; then
6531104 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1105 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6551106 If a cross compiler is detected then cross compile mode will be used." >&2
6561107 elif test "x$build_alias" != "x$host_alias"; then
6571108 cross_compiling=yes
6641115 test "$silent" = yes && exec 6>/dev/null
6651116
6661117
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error "pwd does not report name of working directory"
1124
1125
6671126 # Find the source files, if location was not specified.
6681127 if test -z "$srcdir"; then
6691128 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
677 echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1137 s//\1/
1138 q
1139 }
1140 /^X\(\/\/\)[^/].*/{
1141 s//\1/
1142 q
1143 }
1144 /^X\(\/\/\)$/{
1145 s//\1/
1146 q
1147 }
1148 /^X\(\/\).*/{
1149 s//\1/
1150 q
1151 }
1152 s/.*/./; q'`
6831153 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
1154 if test ! -r "$srcdir/$ac_unique_file"; then
6851155 srcdir=..
6861156 fi
6871157 else
6881158 ac_srcdir_defaulted=no
6891159 fi
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
697 fi
698 fi
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
716 ac_env_CC_value=$CC
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1163 fi
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1167 pwd)`
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 srcdir=.
1171 fi
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1175 case $srcdir in
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 esac
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1183 done
7311184
7321185 #
7331186 # Report the --help message.
7561209 -n, --no-create do not create output files
7571210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
7581211
759 _ACEOF
760
761 cat <<_ACEOF
7621212 Installation directories:
7631213 --prefix=PREFIX install architecture-independent files in PREFIX
764 [$ac_default_prefix]
1214 [$ac_default_prefix]
7651215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
766 [PREFIX]
1216 [PREFIX]
7671217
7681218 By default, \`make install' will install all the files in
7691219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
7731223 For better control, use the options below.
7741224
7751225 Fine tuning of the installation directories:
776 --bindir=DIR user executables [EPREFIX/bin]
777 --sbindir=DIR system admin executables [EPREFIX/sbin]
778 --libexecdir=DIR program executables [EPREFIX/libexec]
779 --datadir=DIR read-only architecture-independent data [PREFIX/share]
780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
782 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
783 --libdir=DIR object code libraries [EPREFIX/lib]
784 --includedir=DIR C header files [PREFIX/include]
785 --oldincludedir=DIR C header files for non-gcc [/usr/include]
786 --infodir=DIR info documentation [PREFIX/info]
787 --mandir=DIR man documentation [PREFIX/man]
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
7881245 _ACEOF
7891246
7901247 cat <<\_ACEOF
8011258 cat <<\_ACEOF
8021259
8031260 Optional Features:
1261 --disable-option-checking ignore unrecognized --enable/--with options
8041262 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8051263 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
8061264 --disable-dependency-tracking speeds up one-time build
8161274 CFLAGS C compiler flags
8171275 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8181276 nonstandard directory <lib dir>
819 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820 headers in a nonstandard directory <include dir>
1277 LIBS libraries to pass to the linker, e.g. -l<library>
1278 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1279 you have headers in a nonstandard directory <include dir>
8211280
8221281 Use these variables to override the choices made by `configure' or to help
8231282 it to find libraries and programs with nonstandard names/locations.
8241283
1284 Report bugs to the package provider.
8251285 _ACEOF
1286 ac_status=$?
8261287 fi
8271288
8281289 if test "$ac_init_help" = "recursive"; then
8291290 # If there are subdirs, report their specific --help.
830 ac_popdir=`pwd`
8311291 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
832 test -d $ac_dir || continue
1292 test -d "$ac_dir" ||
1293 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1294 continue
8331295 ac_builddir=.
8341296
835 if test "$ac_dir" != .; then
836 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
837 # A "../" for each directory in $ac_dir_suffix.
838 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
839 else
840 ac_dir_suffix= ac_top_builddir=
841 fi
1297 case "$ac_dir" in
1298 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1299 *)
1300 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1301 # A ".." for each directory in $ac_dir_suffix.
1302 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1303 case $ac_top_builddir_sub in
1304 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1305 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1306 esac ;;
1307 esac
1308 ac_abs_top_builddir=$ac_pwd
1309 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1310 # for backward compatibility:
1311 ac_top_builddir=$ac_top_build_prefix
8421312
8431313 case $srcdir in
844 .) # No --srcdir option. We are building in place.
1314 .) # We are building in place.
8451315 ac_srcdir=.
846 if test -z "$ac_top_builddir"; then
847 ac_top_srcdir=.
1316 ac_top_srcdir=$ac_top_builddir_sub
1317 ac_abs_top_srcdir=$ac_pwd ;;
1318 [\\/]* | ?:[\\/]* ) # Absolute name.
1319 ac_srcdir=$srcdir$ac_dir_suffix;
1320 ac_top_srcdir=$srcdir
1321 ac_abs_top_srcdir=$srcdir ;;
1322 *) # Relative name.
1323 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1324 ac_top_srcdir=$ac_top_build_prefix$srcdir
1325 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1326 esac
1327 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1328
1329 cd "$ac_dir" || { ac_status=$?; continue; }
1330 # Check for guested configure.
1331 if test -f "$ac_srcdir/configure.gnu"; then
1332 echo &&
1333 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1334 elif test -f "$ac_srcdir/configure"; then
1335 echo &&
1336 $SHELL "$ac_srcdir/configure" --help=recursive
8481337 else
849 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
850 fi ;;
851 [\\/]* | ?:[\\/]* ) # Absolute path.
852 ac_srcdir=$srcdir$ac_dir_suffix;
853 ac_top_srcdir=$srcdir ;;
854 *) # Relative path.
855 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
856 ac_top_srcdir=$ac_top_builddir$srcdir ;;
857 esac
858
859 # Do not use `cd foo && pwd` to compute absolute paths, because
860 # the directories may not exist.
861 case `pwd` in
862 .) ac_abs_builddir="$ac_dir";;
863 *)
864 case "$ac_dir" in
865 .) ac_abs_builddir=`pwd`;;
866 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
867 *) ac_abs_builddir=`pwd`/"$ac_dir";;
868 esac;;
869 esac
870 case $ac_abs_builddir in
871 .) ac_abs_top_builddir=${ac_top_builddir}.;;
872 *)
873 case ${ac_top_builddir}. in
874 .) ac_abs_top_builddir=$ac_abs_builddir;;
875 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
876 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
877 esac;;
878 esac
879 case $ac_abs_builddir in
880 .) ac_abs_srcdir=$ac_srcdir;;
881 *)
882 case $ac_srcdir in
883 .) ac_abs_srcdir=$ac_abs_builddir;;
884 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
885 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
886 esac;;
887 esac
888 case $ac_abs_builddir in
889 .) ac_abs_top_srcdir=$ac_top_srcdir;;
890 *)
891 case $ac_top_srcdir in
892 .) ac_abs_top_srcdir=$ac_abs_builddir;;
893 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
894 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
895 esac;;
896 esac
897
898 cd $ac_dir
899 # Check for guested configure; otherwise get Cygnus style configure.
900 if test -f $ac_srcdir/configure.gnu; then
901 echo
902 $SHELL $ac_srcdir/configure.gnu --help=recursive
903 elif test -f $ac_srcdir/configure; then
904 echo
905 $SHELL $ac_srcdir/configure --help=recursive
906 elif test -f $ac_srcdir/configure.ac ||
907 test -f $ac_srcdir/configure.in; then
908 echo
909 $ac_configure --help
910 else
911 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
912 fi
913 cd $ac_popdir
1338 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1339 fi || ac_status=$?
1340 cd "$ac_pwd" || { ac_status=$?; break; }
9141341 done
9151342 fi
9161343
917 test -n "$ac_init_help" && exit 0
1344 test -n "$ac_init_help" && exit $ac_status
9181345 if $ac_init_version; then
9191346 cat <<\_ACEOF
920
921 Copyright (C) 2003 Free Software Foundation, Inc.
1347 configure
1348 generated by GNU Autoconf 2.64
1349
1350 Copyright (C) 2009 Free Software Foundation, Inc.
9221351 This configure script is free software; the Free Software Foundation
9231352 gives unlimited permission to copy, distribute and modify it.
9241353 _ACEOF
925 exit 0
926 fi
927 exec 5>config.log
928 cat >&5 <<_ACEOF
1354 exit
1355 fi
1356
1357 ## ------------------------ ##
1358 ## Autoconf initialization. ##
1359 ## ------------------------ ##
1360
1361 # ac_fn_c_try_compile LINENO
1362 # --------------------------
1363 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1364 ac_fn_c_try_compile ()
1365 {
1366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1367 rm -f conftest.$ac_objext
1368 if { { ac_try="$ac_compile"
1369 case "(($ac_try" in
1370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1371 *) ac_try_echo=$ac_try;;
1372 esac
1373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1374 $as_echo "$ac_try_echo"; } >&5
1375 (eval "$ac_compile") 2>conftest.err
1376 ac_status=$?
1377 if test -s conftest.err; then
1378 grep -v '^ *+' conftest.err >conftest.er1
1379 cat conftest.er1 >&5
1380 mv -f conftest.er1 conftest.err
1381 fi
1382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1383 test $ac_status = 0; } && {
1384 test -z "$ac_c_werror_flag" ||
1385 test ! -s conftest.err
1386 } && test -s conftest.$ac_objext; then :
1387 ac_retval=0
1388 else
1389 $as_echo "$as_me: failed program was:" >&5
1390 sed 's/^/| /' conftest.$ac_ext >&5
1391
1392 ac_retval=1
1393 fi
1394 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1395 return $ac_retval
1396
1397 } # ac_fn_c_try_compile
1398
1399 # ac_fn_c_try_link LINENO
1400 # -----------------------
1401 # Try to link conftest.$ac_ext, and return whether this succeeded.
1402 ac_fn_c_try_link ()
1403 {
1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405 rm -f conftest.$ac_objext conftest$ac_exeext
1406 if { { ac_try="$ac_link"
1407 case "(($ac_try" in
1408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409 *) ac_try_echo=$ac_try;;
1410 esac
1411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412 $as_echo "$ac_try_echo"; } >&5
1413 (eval "$ac_link") 2>conftest.err
1414 ac_status=$?
1415 if test -s conftest.err; then
1416 grep -v '^ *+' conftest.err >conftest.er1
1417 cat conftest.er1 >&5
1418 mv -f conftest.er1 conftest.err
1419 fi
1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 test $ac_status = 0; } && {
1422 test -z "$ac_c_werror_flag" ||
1423 test ! -s conftest.err
1424 } && test -s conftest$ac_exeext && {
1425 test "$cross_compiling" = yes ||
1426 $as_test_x conftest$ac_exeext
1427 }; then :
1428 ac_retval=0
1429 else
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1432
1433 ac_retval=1
1434 fi
1435 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1436 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1437 # interfere with the next link command; also delete a directory that is
1438 # left behind by Apple's compiler. We do this before executing the actions.
1439 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1440 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1441 return $ac_retval
1442
1443 } # ac_fn_c_try_link
1444
1445 # ac_fn_c_check_func LINENO FUNC VAR
1446 # ----------------------------------
1447 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1448 ac_fn_c_check_func ()
1449 {
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1452 $as_echo_n "checking for $2... " >&6; }
1453 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1454 $as_echo_n "(cached) " >&6
1455 else
1456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1457 /* end confdefs.h. */
1458 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1460 #define $2 innocuous_$2
1461
1462 /* System header to define __stub macros and hopefully few prototypes,
1463 which can conflict with char $2 (); below.
1464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1465 <limits.h> exists even on freestanding compilers. */
1466
1467 #ifdef __STDC__
1468 # include <limits.h>
1469 #else
1470 # include <assert.h>
1471 #endif
1472
1473 #undef $2
1474
1475 /* Override any GCC internal prototype to avoid an error.
1476 Use char because int might match the return type of a GCC
1477 builtin and then its argument prototype would still apply. */
1478 #ifdef __cplusplus
1479 extern "C"
1480 #endif
1481 char $2 ();
1482 /* The GNU C library defines this for functions which it implements
1483 to always fail with ENOSYS. Some functions are actually named
1484 something starting with __ and the normal name is an alias. */
1485 #if defined __stub_$2 || defined __stub___$2
1486 choke me
1487 #endif
1488
1489 int
1490 main ()
1491 {
1492 return $2 ();
1493 ;
1494 return 0;
1495 }
1496 _ACEOF
1497 if ac_fn_c_try_link "$LINENO"; then :
1498 eval "$3=yes"
1499 else
1500 eval "$3=no"
1501 fi
1502 rm -f core conftest.err conftest.$ac_objext \
1503 conftest$ac_exeext conftest.$ac_ext
1504 fi
1505 eval ac_res=\$$3
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1507 $as_echo "$ac_res" >&6; }
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509
1510 } # ac_fn_c_check_func
1511 cat >config.log <<_ACEOF
9291512 This file contains any messages produced by compilers while
9301513 running configure, to aid debugging if configure makes a mistake.
9311514
9321515 It was created by $as_me, which was
933 generated by GNU Autoconf 2.59. Invocation command line was
1516 generated by GNU Autoconf 2.64. Invocation command line was
9341517
9351518 $ $0 $@
9361519
9371520 _ACEOF
1521 exec 5>>config.log
9381522 {
9391523 cat <<_ASUNAME
9401524 ## --------- ##
9531537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9541538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9551539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
956 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
9571541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9581542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9591543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9651549 do
9661550 IFS=$as_save_IFS
9671551 test -z "$as_dir" && as_dir=.
968 echo "PATH: $as_dir"
969 done
1552 $as_echo "PATH: $as_dir"
1553 done
1554 IFS=$as_save_IFS
9701555
9711556 } >&5
9721557
9881573 ac_configure_args=
9891574 ac_configure_args0=
9901575 ac_configure_args1=
991 ac_sep=
9921576 ac_must_keep_next=false
9931577 for ac_pass in 1 2
9941578 do
9991583 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10001584 | -silent | --silent | --silen | --sile | --sil)
10011585 continue ;;
1002 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1003 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1586 *\'*)
1587 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10041588 esac
10051589 case $ac_pass in
1006 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1590 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
10071591 2)
1008 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1592 as_fn_append ac_configure_args1 " '$ac_arg'"
10091593 if test $ac_must_keep_next = true; then
10101594 ac_must_keep_next=false # Got value, back to normal.
10111595 else
10211605 -* ) ac_must_keep_next=true ;;
10221606 esac
10231607 fi
1024 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1025 # Get rid of the leading space.
1026 ac_sep=" "
1608 as_fn_append ac_configure_args " '$ac_arg'"
10271609 ;;
10281610 esac
10291611 done
10301612 done
1031 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1032 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1613 { ac_configure_args0=; unset ac_configure_args0;}
1614 { ac_configure_args1=; unset ac_configure_args1;}
10331615
10341616 # When interrupted or exit'd, cleanup temporary files, and complete
10351617 # config.log. We remove comments because anyway the quotes in there
10361618 # would cause problems or look ugly.
1037 # WARNING: Be sure not to use single quotes in there, as some shells,
1038 # such as our DU 5.0 friend, will then `close' the trap.
1619 # WARNING: Use '\'' to represent an apostrophe within the trap.
1620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10391621 trap 'exit_status=$?
10401622 # Save into config.log some information that might help in debugging.
10411623 {
10481630 _ASBOX
10491631 echo
10501632 # The following way of writing the cache mishandles newlines in values,
1051 {
1633 (
1634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1635 eval ac_val=\$$ac_var
1636 case $ac_val in #(
1637 *${as_nl}*)
1638 case $ac_var in #(
1639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1640 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641 esac
1642 case $ac_var in #(
1643 _ | IFS | as_nl) ;; #(
1644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1645 *) { eval $ac_var=; unset $ac_var;} ;;
1646 esac ;;
1647 esac
1648 done
10521649 (set) 2>&1 |
1053 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1054 *ac_space=\ *)
1650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651 *${as_nl}ac_space=\ *)
10551652 sed -n \
1056 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1653 "s/'\''/'\''\\\\'\'''\''/g;
1654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655 ;; #(
1656 *)
1657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10581658 ;;
1059 *)
1060 sed -n \
1061 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1062 ;;
1063 esac;
1064 }
1659 esac |
1660 sort
1661 )
10651662 echo
10661663
10671664 cat <<\_ASBOX
10721669 echo
10731670 for ac_var in $ac_subst_vars
10741671 do
1075 eval ac_val=$`echo $ac_var`
1076 echo "$ac_var='"'"'$ac_val'"'"'"
1672 eval ac_val=\$$ac_var
1673 case $ac_val in
1674 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675 esac
1676 $as_echo "$ac_var='\''$ac_val'\''"
10771677 done | sort
10781678 echo
10791679
10801680 if test -n "$ac_subst_files"; then
10811681 cat <<\_ASBOX
1082 ## ------------- ##
1083 ## Output files. ##
1084 ## ------------- ##
1682 ## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##
10851685 _ASBOX
10861686 echo
10871687 for ac_var in $ac_subst_files
10881688 do
1089 eval ac_val=$`echo $ac_var`
1090 echo "$ac_var='"'"'$ac_val'"'"'"
1689 eval ac_val=\$$ac_var
1690 case $ac_val in
1691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 esac
1693 $as_echo "$ac_var='\''$ac_val'\''"
10911694 done | sort
10921695 echo
10931696 fi
10991702 ## ----------- ##
11001703 _ASBOX
11011704 echo
1102 sed "/^$/d" confdefs.h | sort
1705 cat confdefs.h
11031706 echo
11041707 fi
11051708 test "$ac_signal" != 0 &&
1106 echo "$as_me: caught signal $ac_signal"
1107 echo "$as_me: exit $exit_status"
1709 $as_echo "$as_me: caught signal $ac_signal"
1710 $as_echo "$as_me: exit $exit_status"
11081711 } >&5
1109 rm -f core *.core &&
1110 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1712 rm -f core *.core core.conftest.* &&
1713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11111714 exit $exit_status
1112 ' 0
1715 ' 0
11131716 for ac_signal in 1 2 13 15; do
1114 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1717 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
11151718 done
11161719 ac_signal=0
11171720
11181721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1119 rm -rf conftest* confdefs.h
1120 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1121 echo >confdefs.h
1722 rm -f -r conftest* confdefs.h
1723
1724 $as_echo "/* confdefs.h */" > confdefs.h
11221725
11231726 # Predefined preprocessor variables.
11241727
11261729 #define PACKAGE_NAME "$PACKAGE_NAME"
11271730 _ACEOF
11281731
1129
11301732 cat >>confdefs.h <<_ACEOF
11311733 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11321734 _ACEOF
11331735
1134
11351736 cat >>confdefs.h <<_ACEOF
11361737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
11371738 _ACEOF
11381739
1139
11401740 cat >>confdefs.h <<_ACEOF
11411741 #define PACKAGE_STRING "$PACKAGE_STRING"
11421742 _ACEOF
11431743
1144
11451744 cat >>confdefs.h <<_ACEOF
11461745 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11471746 _ACEOF
11481747
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_URL "$PACKAGE_URL"
1750 _ACEOF
1751
11491752
11501753 # Let the site file select an alternate cache file if it wants to.
1151 # Prefer explicitly selected file to automatically selected ones.
1152 if test -z "$CONFIG_SITE"; then
1153 if test "x$prefix" != xNONE; then
1154 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1155 else
1156 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1157 fi
1158 fi
1159 for ac_site_file in $CONFIG_SITE; do
1754 # Prefer an explicitly selected file to automatically selected ones.
1755 ac_site_file1=NONE
1756 ac_site_file2=NONE
1757 if test -n "$CONFIG_SITE"; then
1758 ac_site_file1=$CONFIG_SITE
1759 elif test "x$prefix" != xNONE; then
1760 ac_site_file1=$prefix/share/config.site
1761 ac_site_file2=$prefix/etc/config.site
1762 else
1763 ac_site_file1=$ac_default_prefix/share/config.site
1764 ac_site_file2=$ac_default_prefix/etc/config.site
1765 fi
1766 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1767 do
1768 test "x$ac_site_file" = xNONE && continue
11601769 if test -r "$ac_site_file"; then
1161 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1162 echo "$as_me: loading site script $ac_site_file" >&6;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1771 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
11631772 sed 's/^/| /' "$ac_site_file" >&5
11641773 . "$ac_site_file"
11651774 fi
11691778 # Some versions of bash will fail to source /dev/null (special
11701779 # files actually), so we avoid doing that.
11711780 if test -f "$cache_file"; then
1172 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1173 echo "$as_me: loading cache $cache_file" >&6;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1782 $as_echo "$as_me: loading cache $cache_file" >&6;}
11741783 case $cache_file in
1175 [\\/]* | ?:[\\/]* ) . $cache_file;;
1176 *) . ./$cache_file;;
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
11771786 esac
11781787 fi
11791788 else
1180 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1181 echo "$as_me: creating cache $cache_file" >&6;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1790 $as_echo "$as_me: creating cache $cache_file" >&6;}
11821791 >$cache_file
11831792 fi
11841793
11851794 # Check that the precious variables saved in the cache have kept the same
11861795 # value.
11871796 ac_cache_corrupted=false
1188 for ac_var in `(set) 2>&1 |
1189 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1797 for ac_var in $ac_precious_vars; do
11901798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11911799 eval ac_new_set=\$ac_env_${ac_var}_set
1192 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1193 eval ac_new_val="\$ac_env_${ac_var}_value"
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
11941802 case $ac_old_set,$ac_new_set in
11951803 set,)
1196 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1197 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11981806 ac_cache_corrupted=: ;;
11991807 ,set)
1200 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1201 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12021810 ac_cache_corrupted=: ;;
12031811 ,);;
12041812 *)
12051813 if test "x$ac_old_val" != "x$ac_new_val"; then
1206 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1207 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1208 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1209 echo "$as_me: former value: $ac_old_val" >&2;}
1210 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1211 echo "$as_me: current value: $ac_new_val" >&2;}
1212 ac_cache_corrupted=:
1814 # differences in whitespace do not lead to failure.
1815 ac_old_val_w=`echo x $ac_old_val`
1816 ac_new_val_w=`echo x $ac_new_val`
1817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1819 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 ac_cache_corrupted=:
1821 else
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 eval $ac_var=\$ac_old_val
1825 fi
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1827 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1829 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
12131830 fi;;
12141831 esac
12151832 # Pass precious variables to config.status.
12161833 if test "$ac_new_set" = set; then
12171834 case $ac_new_val in
1218 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1219 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12201836 *) ac_arg=$ac_var=$ac_new_val ;;
12211837 esac
12221838 case " $ac_configure_args " in
12231839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1224 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1840 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
12251841 esac
12261842 fi
12271843 done
12281844 if $ac_cache_corrupted; then
1229 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1230 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1231 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1232 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1233 { (exit 1); exit 1; }; }
1234 fi
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1848 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1849 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1850 fi
1851 ## -------------------- ##
1852 ## Main body of script. ##
1853 ## -------------------- ##
12351854
12361855 ac_ext=c
12371856 ac_cpp='$CPP $CPPFLAGS'
12401859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12411860
12421861
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260 am__api_version="1.9"
1862 am__api_version='1.11'
1863
12611864 ac_aux_dir=
1262 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1263 if test -f $ac_dir/install-sh; then
1264 ac_aux_dir=$ac_dir
1265 ac_install_sh="$ac_aux_dir/install-sh -c"
1266 break
1267 elif test -f $ac_dir/install.sh; then
1268 ac_aux_dir=$ac_dir
1269 ac_install_sh="$ac_aux_dir/install.sh -c"
1270 break
1271 elif test -f $ac_dir/shtool; then
1272 ac_aux_dir=$ac_dir
1273 ac_install_sh="$ac_aux_dir/shtool install -c"
1274 break
1275 fi
1865 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1866 for ac_t in install-sh install.sh shtool; do
1867 if test -f "$ac_dir/$ac_t"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/$ac_t -c"
1870 break 2
1871 fi
1872 done
12761873 done
12771874 if test -z "$ac_aux_dir"; then
1278 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1279 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1280 { (exit 1); exit 1; }; }
1281 fi
1282 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1283 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1284 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1875 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1876 fi
1877
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1885
12851886
12861887 # Find a good install program. We prefer a C program (faster),
12871888 # so one script is as good as another. But avoid the broken or
12961897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12971898 # OS/2's system install, which has a completely different semantic
12981899 # ./install, which can be erroneously created by make from ./install.sh.
1299 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1300 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1900 # Reject install programs that cannot install multiple files.
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1902 $as_echo_n "checking for a BSD-compatible install... " >&6; }
13011903 if test -z "$INSTALL"; then
1302 if test "${ac_cv_path_install+set}" = set; then
1303 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 if test "${ac_cv_path_install+set}" = set; then :
1905 $as_echo_n "(cached) " >&6
13041906 else
13051907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13061908 for as_dir in $PATH
13071909 do
13081910 IFS=$as_save_IFS
13091911 test -z "$as_dir" && as_dir=.
1310 # Account for people who put trailing slashes in PATH elements.
1311 case $as_dir/ in
1312 ./ | .// | /cC/* | \
1912 # Account for people who put trailing slashes in PATH elements.
1913 case $as_dir/ in #((
1914 ./ | .// | /[cC]/* | \
13131915 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1314 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1916 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
13151917 /usr/ucb/* ) ;;
13161918 *)
13171919 # OSF1 and SCO ODT 3.0 have their own names for install.
13191921 # by default.
13201922 for ac_prog in ginstall scoinst install; do
13211923 for ac_exec_ext in '' $ac_executable_extensions; do
1322 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
13231925 if test $ac_prog = install &&
13241926 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13251927 # AIX install. It has an incompatible calling convention.
13291931 # program-specific install script used by HP pwplus--don't use.
13301932 :
13311933 else
1332 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1333 break 3
1934 rm -rf conftest.one conftest.two conftest.dir
1935 echo one > conftest.one
1936 echo two > conftest.two
1937 mkdir conftest.dir
1938 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1939 test -s conftest.one && test -s conftest.two &&
1940 test -s conftest.dir/conftest.one &&
1941 test -s conftest.dir/conftest.two
1942 then
1943 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1944 break 3
1945 fi
13341946 fi
13351947 fi
13361948 done
13371949 done
13381950 ;;
13391951 esac
1340 done
1341
1952
1953 done
1954 IFS=$as_save_IFS
1955
1956 rm -rf conftest.one conftest.two conftest.dir
13421957
13431958 fi
13441959 if test "${ac_cv_path_install+set}" = set; then
13451960 INSTALL=$ac_cv_path_install
13461961 else
1347 # As a last resort, use the slow shell script. We don't cache a
1348 # path for INSTALL within a source directory, because that will
1962 # As a last resort, use the slow shell script. Don't cache a
1963 # value for INSTALL within a source directory, because that will
13491964 # break other packages using the cache if that directory is
1350 # removed, or if the path is relative.
1965 # removed, or if the value is a relative name.
13511966 INSTALL=$ac_install_sh
13521967 fi
13531968 fi
1354 echo "$as_me:$LINENO: result: $INSTALL" >&5
1355 echo "${ECHO_T}$INSTALL" >&6
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1970 $as_echo "$INSTALL" >&6; }
13561971
13571972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13581973 # It thinks the first close brace ends the variable substitution.
13621977
13631978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13641979
1365 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1366 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1981 $as_echo_n "checking whether build environment is sane... " >&6; }
13671982 # Just in case
13681983 sleep 1
13691984 echo timestamp > conftest.file
1985 # Reject unsafe characters in $srcdir or the absolute working directory
1986 # name. Accept space and tab only in the latter.
1987 am_lf='
1988 '
1989 case `pwd` in
1990 *[\\\"\#\$\&\'\`$am_lf]*)
1991 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1992 esac
1993 case $srcdir in
1994 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1995 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1996 esac
1997
13701998 # Do `set' in a subshell so we don't clobber the current shell's
13711999 # arguments. Must try -L first in case configure is actually a
13722000 # symlink; some systems play weird games with the mod time of symlinks
13732001 # (eg FreeBSD returns the mod time of the symlink's containing
13742002 # directory).
13752003 if (
1376 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2004 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
13772005 if test "$*" = "X"; then
13782006 # -L didn't work.
1379 set X `ls -t $srcdir/configure conftest.file`
2007 set X `ls -t "$srcdir/configure" conftest.file`
13802008 fi
13812009 rm -f conftest.file
13822010 if test "$*" != "X $srcdir/configure conftest.file" \
13862014 # if, for instance, CONFIG_SHELL is bash and it inherits a
13872015 # broken ls alias from the environment. This has actually
13882016 # happened. Such a system could not be considered "sane".
1389 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1390 alias in your environment" >&5
1391 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1392 alias in your environment" >&2;}
1393 { (exit 1); exit 1; }; }
2017 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2018 alias in your environment" "$LINENO" 5
13942019 fi
13952020
13962021 test "$2" = conftest.file
13992024 # Ok.
14002025 :
14012026 else
1402 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1403 Check your system clock" >&5
1404 echo "$as_me: error: newly created file is older than distributed files!
1405 Check your system clock" >&2;}
1406 { (exit 1); exit 1; }; }
1407 fi
1408 echo "$as_me:$LINENO: result: yes" >&5
1409 echo "${ECHO_T}yes" >&6
2027 as_fn_error "newly created file is older than distributed files!
2028 Check your system clock" "$LINENO" 5
2029 fi
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2031 $as_echo "yes" >&6; }
14102032 test "$program_prefix" != NONE &&
1411 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2033 program_transform_name="s&^&$program_prefix&;$program_transform_name"
14122034 # Use a double $ so make ignores it.
14132035 test "$program_suffix" != NONE &&
1414 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1415 # Double any \ or $. echo might interpret backslashes.
2036 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2037 # Double any \ or $.
14162038 # By default was `s,x,x', remove it if useless.
1417 cat <<\_ACEOF >conftest.sed
1418 s/[\\$]/&&/g;s/;s,x,x,$//
1419 _ACEOF
1420 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1421 rm conftest.sed
2039 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2040 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
14222041
14232042 # expand $ac_aux_dir to an absolute path
14242043 am_aux_dir=`cd $ac_aux_dir && pwd`
14252044
1426 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2045 if test x"${MISSING+set}" != xset; then
2046 case $am_aux_dir in
2047 *\ * | *\ *)
2048 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2049 *)
2050 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2051 esac
2052 fi
14272053 # Use eval to expand $SHELL
14282054 if eval "$MISSING --run true"; then
14292055 am_missing_run="$MISSING --run "
14302056 else
14312057 am_missing_run=
1432 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1433 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1434 fi
1435
1436 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1437 # We used to keeping the `.' as first argument, in order to
1438 # allow $(mkdir_p) to be used without argument. As in
1439 # $(mkdir_p) $(somedir)
1440 # where $(somedir) is conditionally defined. However this is wrong
1441 # for two reasons:
1442 # 1. if the package is installed by a user who cannot write `.'
1443 # make install will fail,
1444 # 2. the above comment should most certainly read
1445 # $(mkdir_p) $(DESTDIR)$(somedir)
1446 # so it does not work when $(somedir) is undefined and
1447 # $(DESTDIR) is not.
1448 # To support the latter case, we have to write
1449 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1450 # so the `.' trick is pointless.
1451 mkdir_p='mkdir -p --'
1452 else
1453 # On NextStep and OpenStep, the `mkdir' command does not
1454 # recognize any option. It will interpret all options as
1455 # directories to create, and then abort because `.' already
1456 # exists.
1457 for d in ./-p ./--version;
1458 do
1459 test -d $d && rmdir $d
1460 done
1461 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1462 if test -f "$ac_aux_dir/mkinstalldirs"; then
1463 mkdir_p='$(mkinstalldirs)'
1464 else
1465 mkdir_p='$(install_sh) -d'
1466 fi
1467 fi
1468
1469 for ac_prog in gawk mawk nawk awk
1470 do
1471 # Extract the first word of "$ac_prog", so it can be a program name with args.
1472 set dummy $ac_prog; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_AWK+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 if test -n "$AWK"; then
1479 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1480 else
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 for as_dir in $PATH
1483 do
1484 IFS=$as_save_IFS
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_AWK="$ac_prog"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1490 break 2
1491 fi
1492 done
1493 done
1494
1495 fi
1496 fi
1497 AWK=$ac_cv_prog_AWK
1498 if test -n "$AWK"; then
1499 echo "$as_me:$LINENO: result: $AWK" >&5
1500 echo "${ECHO_T}$AWK" >&6
1501 else
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1504 fi
1505
1506 test -n "$AWK" && break
1507 done
1508
1509 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1510 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1511 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1512 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 else
1515 cat >conftest.make <<\_ACEOF
1516 all:
1517 @echo 'ac_maketemp="$(MAKE)"'
1518 _ACEOF
1519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1520 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1521 if test -n "$ac_maketemp"; then
1522 eval ac_cv_prog_make_${ac_make}_set=yes
1523 else
1524 eval ac_cv_prog_make_${ac_make}_set=no
1525 fi
1526 rm -f conftest.make
1527 fi
1528 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1529 echo "$as_me:$LINENO: result: yes" >&5
1530 echo "${ECHO_T}yes" >&6
1531 SET_MAKE=
1532 else
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1535 SET_MAKE="MAKE=${MAKE-make}"
1536 fi
1537
1538 rm -rf .tst 2>/dev/null
1539 mkdir .tst 2>/dev/null
1540 if test -d .tst; then
1541 am__leading_dot=.
1542 else
1543 am__leading_dot=_
1544 fi
1545 rmdir .tst 2>/dev/null
1546
1547 # test to see if srcdir already configured
1548 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1549 test -f $srcdir/config.status; then
1550 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1551 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1552 { (exit 1); exit 1; }; }
1553 fi
1554
1555 # test whether we have cygpath
1556 if test -z "$CYGPATH_W"; then
1557 if (cygpath --version) >/dev/null 2>/dev/null; then
1558 CYGPATH_W='cygpath -w'
1559 else
1560 CYGPATH_W=echo
1561 fi
1562 fi
1563
1564
1565 # Define the identity of the package.
1566 PACKAGE=esniper
1567 VERSION=2.19.0
1568
1569
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE "$PACKAGE"
1572 _ACEOF
1573
1574
1575 cat >>confdefs.h <<_ACEOF
1576 #define VERSION "$VERSION"
1577 _ACEOF
1578
1579 # Some tools Automake needs.
1580
1581 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1582
1583
1584 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1585
1586
1587 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1588
1589
1590 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1591
1592
1593 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1594
1595 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2059 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2060 fi
2061
2062 if test x"${install_sh}" != xset; then
2063 case $am_aux_dir in
2064 *\ * | *\ *)
2065 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2066 *)
2067 install_sh="\${SHELL} $am_aux_dir/install-sh"
2068 esac
2069 fi
15962070
15972071 # Installed binaries are usually stripped using `strip' when the user
15982072 # run `make install-strip'. However `strip' might not be the right
16022076 if test -n "$ac_tool_prefix"; then
16032077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16042078 set dummy ${ac_tool_prefix}strip; ac_word=$2
1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1607 if test "${ac_cv_prog_STRIP+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2080 $as_echo_n "checking for $ac_word... " >&6; }
2081 if test "${ac_cv_prog_STRIP+set}" = set; then :
2082 $as_echo_n "(cached) " >&6
16092083 else
16102084 if test -n "$STRIP"; then
16112085 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16152089 do
16162090 IFS=$as_save_IFS
16172091 test -z "$as_dir" && as_dir=.
1618 for ac_exec_ext in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16202094 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16222096 break 2
16232097 fi
16242098 done
1625 done
2099 done
2100 IFS=$as_save_IFS
16262101
16272102 fi
16282103 fi
16292104 STRIP=$ac_cv_prog_STRIP
16302105 if test -n "$STRIP"; then
1631 echo "$as_me:$LINENO: result: $STRIP" >&5
1632 echo "${ECHO_T}$STRIP" >&6
1633 else
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1636 fi
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2107 $as_echo "$STRIP" >&6; }
2108 else
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2110 $as_echo "no" >&6; }
2111 fi
2112
16372113
16382114 fi
16392115 if test -z "$ac_cv_prog_STRIP"; then
16402116 ac_ct_STRIP=$STRIP
16412117 # Extract the first word of "strip", so it can be a program name with args.
16422118 set dummy strip; ac_word=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2120 $as_echo_n "checking for $ac_word... " >&6; }
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2122 $as_echo_n "(cached) " >&6
16472123 else
16482124 if test -n "$ac_ct_STRIP"; then
16492125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16532129 do
16542130 IFS=$as_save_IFS
16552131 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16582134 ac_cv_prog_ac_ct_STRIP="strip"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16602136 break 2
16612137 fi
16622138 done
1663 done
1664
1665 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2139 done
2140 IFS=$as_save_IFS
2141
16662142 fi
16672143 fi
16682144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16692145 if test -n "$ac_ct_STRIP"; then
1670 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1671 echo "${ECHO_T}$ac_ct_STRIP" >&6
1672 else
1673 echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6
1675 fi
1676
1677 STRIP=$ac_ct_STRIP
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2147 $as_echo "$ac_ct_STRIP" >&6; }
2148 else
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2151 fi
2152
2153 if test "x$ac_ct_STRIP" = x; then
2154 STRIP=":"
2155 else
2156 case $cross_compiling:$ac_tool_warned in
2157 yes:)
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2160 ac_tool_warned=yes ;;
2161 esac
2162 STRIP=$ac_ct_STRIP
2163 fi
16782164 else
16792165 STRIP="$ac_cv_prog_STRIP"
16802166 fi
16812167
16822168 fi
1683 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2169 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2170
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2172 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2173 if test -z "$MKDIR_P"; then
2174 if test "${ac_cv_path_mkdir+set}" = set; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2179 do
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_prog in mkdir gmkdir; do
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2185 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2186 'mkdir (GNU coreutils) '* | \
2187 'mkdir (coreutils) '* | \
2188 'mkdir (fileutils) '4.1*)
2189 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2190 break 3;;
2191 esac
2192 done
2193 done
2194 done
2195 IFS=$as_save_IFS
2196
2197 fi
2198
2199 if test "${ac_cv_path_mkdir+set}" = set; then
2200 MKDIR_P="$ac_cv_path_mkdir -p"
2201 else
2202 # As a last resort, use the slow shell script. Don't cache a
2203 # value for MKDIR_P within a source directory, because that will
2204 # break other packages using the cache if that directory is
2205 # removed, or if the value is a relative name.
2206 test -d ./--version && rmdir ./--version
2207 MKDIR_P="$ac_install_sh -d"
2208 fi
2209 fi
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2211 $as_echo "$MKDIR_P" >&6; }
2212
2213 mkdir_p="$MKDIR_P"
2214 case $mkdir_p in
2215 [\\/$]* | ?:[\\/]*) ;;
2216 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2217 esac
2218
2219 for ac_prog in gawk mawk nawk awk
2220 do
2221 # Extract the first word of "$ac_prog", so it can be a program name with args.
2222 set dummy $ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if test "${ac_cv_prog_AWK+set}" = set; then :
2226 $as_echo_n "(cached) " >&6
2227 else
2228 if test -n "$AWK"; then
2229 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2233 do
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238 ac_cv_prog_AWK="$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 break 2
2241 fi
2242 done
2243 done
2244 IFS=$as_save_IFS
2245
2246 fi
2247 fi
2248 AWK=$ac_cv_prog_AWK
2249 if test -n "$AWK"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2251 $as_echo "$AWK" >&6; }
2252 else
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2255 fi
2256
2257
2258 test -n "$AWK" && break
2259 done
2260
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2263 set x ${MAKE-make}
2264 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2265 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2266 $as_echo_n "(cached) " >&6
2267 else
2268 cat >conftest.make <<\_ACEOF
2269 SHELL = /bin/sh
2270 all:
2271 @echo '@@@%%%=$(MAKE)=@@@%%%'
2272 _ACEOF
2273 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2275 *@@@%%%=?*=@@@%%%*)
2276 eval ac_cv_prog_make_${ac_make}_set=yes;;
2277 *)
2278 eval ac_cv_prog_make_${ac_make}_set=no;;
2279 esac
2280 rm -f conftest.make
2281 fi
2282 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2284 $as_echo "yes" >&6; }
2285 SET_MAKE=
2286 else
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2289 SET_MAKE="MAKE=${MAKE-make}"
2290 fi
2291
2292 rm -rf .tst 2>/dev/null
2293 mkdir .tst 2>/dev/null
2294 if test -d .tst; then
2295 am__leading_dot=.
2296 else
2297 am__leading_dot=_
2298 fi
2299 rmdir .tst 2>/dev/null
2300
2301 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2302 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2303 # is not polluted with repeated "-I."
2304 am__isrc=' -I$(srcdir)'
2305 # test to see if srcdir already configured
2306 if test -f $srcdir/config.status; then
2307 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2308 fi
2309 fi
2310
2311 # test whether we have cygpath
2312 if test -z "$CYGPATH_W"; then
2313 if (cygpath --version) >/dev/null 2>/dev/null; then
2314 CYGPATH_W='cygpath -w'
2315 else
2316 CYGPATH_W=echo
2317 fi
2318 fi
2319
2320
2321 # Define the identity of the package.
2322 PACKAGE=esniper
2323 VERSION=2.20.0
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE "$PACKAGE"
2328 _ACEOF
2329
2330
2331 cat >>confdefs.h <<_ACEOF
2332 #define VERSION "$VERSION"
2333 _ACEOF
2334
2335 # Some tools Automake needs.
2336
2337 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2338
2339
2340 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2341
2342
2343 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2344
2345
2346 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2347
2348
2349 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
16842350
16852351 # We need awk for the "check" target. The system "awk" is bad on
16862352 # some platforms.
17022368 if test -n "$ac_tool_prefix"; then
17032369 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17042370 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if test "${ac_cv_prog_CC+set}" = set; then :
2374 $as_echo_n "(cached) " >&6
17092375 else
17102376 if test -n "$CC"; then
17112377 ac_cv_prog_CC="$CC" # Let the user override the test.
17152381 do
17162382 IFS=$as_save_IFS
17172383 test -z "$as_dir" && as_dir=.
1718 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17202386 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17222388 break 2
17232389 fi
17242390 done
1725 done
2391 done
2392 IFS=$as_save_IFS
17262393
17272394 fi
17282395 fi
17292396 CC=$ac_cv_prog_CC
17302397 if test -n "$CC"; then
1731 echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6
1733 else
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2399 $as_echo "$CC" >&6; }
2400 else
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2402 $as_echo "no" >&6; }
2403 fi
2404
17372405
17382406 fi
17392407 if test -z "$ac_cv_prog_CC"; then
17402408 ac_ct_CC=$CC
17412409 # Extract the first word of "gcc", so it can be a program name with args.
17422410 set dummy gcc; ac_word=$2
1743 echo "$as_me:$LINENO: checking for $ac_word" >&5
1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
2413 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2414 $as_echo_n "(cached) " >&6
17472415 else
17482416 if test -n "$ac_ct_CC"; then
17492417 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17532421 do
17542422 IFS=$as_save_IFS
17552423 test -z "$as_dir" && as_dir=.
1756 for ac_exec_ext in '' $ac_executable_extensions; do
1757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17582426 ac_cv_prog_ac_ct_CC="gcc"
1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17602428 break 2
17612429 fi
17622430 done
1763 done
2431 done
2432 IFS=$as_save_IFS
17642433
17652434 fi
17662435 fi
17672436 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17682437 if test -n "$ac_ct_CC"; then
1769 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1770 echo "${ECHO_T}$ac_ct_CC" >&6
1771 else
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1774 fi
1775
1776 CC=$ac_ct_CC
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2439 $as_echo "$ac_ct_CC" >&6; }
2440 else
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 $as_echo "no" >&6; }
2443 fi
2444
2445 if test "x$ac_ct_CC" = x; then
2446 CC=""
2447 else
2448 case $cross_compiling:$ac_tool_warned in
2449 yes:)
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2452 ac_tool_warned=yes ;;
2453 esac
2454 CC=$ac_ct_CC
2455 fi
17772456 else
17782457 CC="$ac_cv_prog_CC"
17792458 fi
17802459
17812460 if test -z "$CC"; then
1782 if test -n "$ac_tool_prefix"; then
1783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17842463 set dummy ${ac_tool_prefix}cc; ac_word=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_CC+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then :
2467 $as_echo_n "(cached) " >&6
17892468 else
17902469 if test -n "$CC"; then
17912470 ac_cv_prog_CC="$CC" # Let the user override the test.
17952474 do
17962475 IFS=$as_save_IFS
17972476 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18002479 ac_cv_prog_CC="${ac_tool_prefix}cc"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18022481 break 2
18032482 fi
18042483 done
1805 done
2484 done
2485 IFS=$as_save_IFS
18062486
18072487 fi
18082488 fi
18092489 CC=$ac_cv_prog_CC
18102490 if test -n "$CC"; then
1811 echo "$as_me:$LINENO: result: $CC" >&5
1812 echo "${ECHO_T}$CC" >&6
1813 else
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 fi
1817
1818 fi
1819 if test -z "$ac_cv_prog_CC"; then
1820 ac_ct_CC=$CC
1821 # Extract the first word of "cc", so it can be a program name with args.
1822 set dummy cc; ac_word=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 else
1828 if test -n "$ac_ct_CC"; then
1829 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 else
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834 IFS=$as_save_IFS
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_ac_ct_CC="cc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 break 2
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2492 $as_echo "$CC" >&6; }
2493 else
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2495 $as_echo "no" >&6; }
2496 fi
2497
2498
18412499 fi
1842 done
1843 done
1844
1845 fi
1846 fi
1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1848 if test -n "$ac_ct_CC"; then
1849 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850 echo "${ECHO_T}$ac_ct_CC" >&6
1851 else
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1854 fi
1855
1856 CC=$ac_ct_CC
1857 else
1858 CC="$ac_cv_prog_CC"
1859 fi
1860
18612500 fi
18622501 if test -z "$CC"; then
18632502 # Extract the first word of "cc", so it can be a program name with args.
18642503 set dummy cc; ac_word=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if test "${ac_cv_prog_CC+set}" = set; then :
2507 $as_echo_n "(cached) " >&6
18692508 else
18702509 if test -n "$CC"; then
18712510 ac_cv_prog_CC="$CC" # Let the user override the test.
18762515 do
18772516 IFS=$as_save_IFS
18782517 test -z "$as_dir" && as_dir=.
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18812520 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18822521 ac_prog_rejected=yes
18832522 continue
18842523 fi
18852524 ac_cv_prog_CC="cc"
1886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18872526 break 2
18882527 fi
18892528 done
1890 done
2529 done
2530 IFS=$as_save_IFS
18912531
18922532 if test $ac_prog_rejected = yes; then
18932533 # We found a bogon in the path, so make sure we never use it.
19052545 fi
19062546 CC=$ac_cv_prog_CC
19072547 if test -n "$CC"; then
1908 echo "$as_me:$LINENO: result: $CC" >&5
1909 echo "${ECHO_T}$CC" >&6
1910 else
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1913 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2549 $as_echo "$CC" >&6; }
2550 else
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2553 fi
2554
19142555
19152556 fi
19162557 if test -z "$CC"; then
19172558 if test -n "$ac_tool_prefix"; then
1918 for ac_prog in cl
2559 for ac_prog in cl.exe
19192560 do
19202561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19212562 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if test "${ac_cv_prog_CC+set}" = set; then :
2566 $as_echo_n "(cached) " >&6
19262567 else
19272568 if test -n "$CC"; then
19282569 ac_cv_prog_CC="$CC" # Let the user override the test.
19322573 do
19332574 IFS=$as_save_IFS
19342575 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19372578 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19392580 break 2
19402581 fi
19412582 done
1942 done
2583 done
2584 IFS=$as_save_IFS
19432585
19442586 fi
19452587 fi
19462588 CC=$ac_cv_prog_CC
19472589 if test -n "$CC"; then
1948 echo "$as_me:$LINENO: result: $CC" >&5
1949 echo "${ECHO_T}$CC" >&6
1950 else
1951 echo "$as_me:$LINENO: result: no" >&5
1952 echo "${ECHO_T}no" >&6
1953 fi
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2591 $as_echo "$CC" >&6; }
2592 else
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2595 fi
2596
19542597
19552598 test -n "$CC" && break
19562599 done
19572600 fi
19582601 if test -z "$CC"; then
19592602 ac_ct_CC=$CC
1960 for ac_prog in cl
2603 for ac_prog in cl.exe
19612604 do
19622605 # Extract the first word of "$ac_prog", so it can be a program name with args.
19632606 set dummy $ac_prog; ac_word=$2
1964 echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
19682611 else
19692612 if test -n "$ac_ct_CC"; then
19702613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19742617 do
19752618 IFS=$as_save_IFS
19762619 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19792622 ac_cv_prog_ac_ct_CC="$ac_prog"
1980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19812624 break 2
19822625 fi
19832626 done
1984 done
2627 done
2628 IFS=$as_save_IFS
19852629
19862630 fi
19872631 fi
19882632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19892633 if test -n "$ac_ct_CC"; then
1990 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 echo "${ECHO_T}$ac_ct_CC" >&6
1992 else
1993 echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6
1995 fi
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2635 $as_echo "$ac_ct_CC" >&6; }
2636 else
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2639 fi
2640
19962641
19972642 test -n "$ac_ct_CC" && break
19982643 done
19992644
2000 CC=$ac_ct_CC
2001 fi
2002
2003 fi
2004
2005
2006 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: no acceptable C compiler found in \$PATH
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }
2645 if test "x$ac_ct_CC" = x; then
2646 CC=""
2647 else
2648 case $cross_compiling:$ac_tool_warned in
2649 yes:)
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2652 ac_tool_warned=yes ;;
2653 esac
2654 CC=$ac_ct_CC
2655 fi
2656 fi
2657
2658 fi
2659
2660
2661 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 as_fn_error "no acceptable C compiler found in \$PATH
2664 See \`config.log' for more details." "$LINENO" 5; }
20112665
20122666 # Provide some information about the compiler.
2013 echo "$as_me:$LINENO:" \
2014 "checking for C compiler version" >&5
2015 ac_compiler=`set X $ac_compile; echo $2`
2016 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2017 (eval $ac_compiler --version </dev/null >&5) 2>&5
2667 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2668 set X $ac_compile
2669 ac_compiler=$2
2670 for ac_option in --version -v -V -qversion; do
2671 { { ac_try="$ac_compiler $ac_option >&5"
2672 case "(($ac_try" in
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2675 esac
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
20182679 ac_status=$?
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2022 (eval $ac_compiler -v </dev/null >&5) 2>&5
2023 ac_status=$?
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2027 (eval $ac_compiler -V </dev/null >&5) 2>&5
2028 ac_status=$?
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }
2031
2032 cat >conftest.$ac_ext <<_ACEOF
2033 /* confdefs.h. */
2034 _ACEOF
2035 cat confdefs.h >>conftest.$ac_ext
2036 cat >>conftest.$ac_ext <<_ACEOF
2680 if test -s conftest.err; then
2681 sed '10a\
2682 ... rest of stderr output deleted ...
2683 10q' conftest.err >conftest.er1
2684 cat conftest.er1 >&5
2685 rm -f conftest.er1 conftest.err
2686 fi
2687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2688 test $ac_status = 0; }
2689 done
2690
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372692 /* end confdefs.h. */
2038
2693 #include <stdio.h>
20392694 int
20402695 main ()
20412696 {
2697 FILE *f = fopen ("conftest.out", "w");
2698 return ferror (f) || fclose (f) != 0;
20422699
20432700 ;
20442701 return 0;
20452702 }
20462703 _ACEOF
20472704 ac_clean_files_save=$ac_clean_files
2048 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2705 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
20492706 # Try to create an executable without -o first, disregard a.out.
20502707 # It will help us diagnose broken compilers, and finding out an intuition
20512708 # of exeext.
2052 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2053 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2054 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2055 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2056 (eval $ac_link_default) 2>&5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2710 $as_echo_n "checking for C compiler default output file name... " >&6; }
2711 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2712
2713 # The possible output files:
2714 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2715
2716 ac_rmfiles=
2717 for ac_file in $ac_files
2718 do
2719 case $ac_file in
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2721 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2722 esac
2723 done
2724 rm -f $ac_rmfiles
2725
2726 if { { ac_try="$ac_link_default"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 $as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_link_default") 2>&5
20572734 ac_status=$?
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); }; then
2060 # Find the output, starting from the most likely. This scheme is
2061 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2062 # resort.
2063
2064 # Be careful to initialize this variable, since it used to be cached.
2065 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2066 ac_cv_exeext=
2067 # b.out is created by i960 compilers.
2068 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; }; then :
2737 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2738 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2739 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2740 # so that the user can short-circuit this test for compilers unknown to
2741 # Autoconf.
2742 for ac_file in $ac_files ''
20692743 do
20702744 test -f "$ac_file" || continue
20712745 case $ac_file in
2072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2073 ;;
2074 conftest.$ac_ext )
2075 # This is the source file.
2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
20762747 ;;
20772748 [ab].out )
20782749 # We found the default executable, but exeext='' is most
20792750 # certainly right.
20802751 break;;
20812752 *.* )
2082 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2083 # FIXME: I believe we export ac_cv_exeext for Libtool,
2084 # but it would be cool to find out if it's true. Does anybody
2085 # maintain Libtool? --akim.
2086 export ac_cv_exeext
2753 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2754 then :; else
2755 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2756 fi
2757 # We set ac_cv_exeext here because the later test for it is not
2758 # safe: cross compilers may not add the suffix if given an `-o'
2759 # argument, so we may need to know it at that point already.
2760 # Even if this section looks crufty: it has the advantage of
2761 # actually working.
20872762 break;;
20882763 * )
20892764 break;;
20902765 esac
20912766 done
2092 else
2093 echo "$as_me: failed program was:" >&5
2767 test "$ac_cv_exeext" = no && ac_cv_exeext=
2768
2769 else
2770 ac_file=''
2771 fi
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2773 $as_echo "$ac_file" >&6; }
2774 if test -z "$ac_file"; then :
2775 $as_echo "$as_me: failed program was:" >&5
20942776 sed 's/^/| /' conftest.$ac_ext >&5
20952777
2096 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: C compiler cannot create executables
2099 See \`config.log' for more details." >&2;}
2100 { (exit 77); exit 77; }; }
2101 fi
2102
2778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2780 { as_fn_set_status 77
2781 as_fn_error "C compiler cannot create executables
2782 See \`config.log' for more details." "$LINENO" 5; }; }
2783 fi
21032784 ac_exeext=$ac_cv_exeext
2104 echo "$as_me:$LINENO: result: $ac_file" >&5
2105 echo "${ECHO_T}$ac_file" >&6
2106
2107 # Check the compiler produces executables we can run. If not, either
2785
2786 # Check that the compiler produces executables we can run. If not, either
21082787 # the compiler is broken, or we cross compile.
2109 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2110 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2111 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2789 $as_echo_n "checking whether the C compiler works... " >&6; }
21122790 # If not cross compiling, check that we can run a simple program.
21132791 if test "$cross_compiling" != yes; then
21142792 if { ac_try='./$ac_file'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 (eval $ac_try) 2>&5
2793 { { case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_try") 2>&5
21172800 ac_status=$?
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; }; }; then
21202803 cross_compiling=no
21212804 else
21222805 if test "$cross_compiling" = maybe; then
21232806 cross_compiling=yes
21242807 else
2125 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 as_fn_error "cannot run C compiled programs.
21262811 If you meant to cross compile, use \`--host'.
2127 See \`config.log' for more details." >&5
2128 echo "$as_me: error: cannot run C compiled programs.
2129 If you meant to cross compile, use \`--host'.
2130 See \`config.log' for more details." >&2;}
2131 { (exit 1); exit 1; }; }
2812 See \`config.log' for more details." "$LINENO" 5; }
21322813 fi
21332814 fi
21342815 fi
2135 echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6
2137
2138 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2817 $as_echo "yes" >&6; }
2818
2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
21392820 ac_clean_files=$ac_clean_files_save
2140 # Check the compiler produces executables we can run. If not, either
2821 # Check that the compiler produces executables we can run. If not, either
21412822 # the compiler is broken, or we cross compile.
2142 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2143 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2144 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2145 echo "${ECHO_T}$cross_compiling" >&6
2146
2147 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2148 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2150 (eval $ac_link) 2>&5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2824 $as_echo_n "checking whether we are cross compiling... " >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2826 $as_echo "$cross_compiling" >&6; }
2827
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2829 $as_echo_n "checking for suffix of executables... " >&6; }
2830 if { { ac_try="$ac_link"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>&5
21512838 ac_status=$?
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; then
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; }; then :
21542841 # If both `conftest.exe' and `conftest' are `present' (well, observable)
21552842 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
21562843 # work properly (i.e., refer to `conftest.exe'), while it won't with
21582845 for ac_file in conftest.exe conftest conftest.*; do
21592846 test -f "$ac_file" || continue
21602847 case $ac_file in
2161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2848 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
21622849 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2163 export ac_cv_exeext
21642850 break;;
21652851 * ) break;;
21662852 esac
21672853 done
21682854 else
2169 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2174 fi
2175
2855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_error "cannot compute suffix of executables: cannot compile and link
2858 See \`config.log' for more details." "$LINENO" 5; }
2859 fi
21762860 rm -f conftest$ac_cv_exeext
2177 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178 echo "${ECHO_T}$ac_cv_exeext" >&6
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2862 $as_echo "$ac_cv_exeext" >&6; }
21792863
21802864 rm -f conftest.$ac_ext
21812865 EXEEXT=$ac_cv_exeext
21822866 ac_exeext=$EXEEXT
2183 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2185 if test "${ac_cv_objext+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 cat >conftest.$ac_ext <<_ACEOF
2189 /* confdefs.h. */
2190 _ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2868 $as_echo_n "checking for suffix of object files... " >&6; }
2869 if test "${ac_cv_objext+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2871 else
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21932873 /* end confdefs.h. */
21942874
21952875 int
22012881 }
22022882 _ACEOF
22032883 rm -f conftest.o conftest.obj
2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2205 (eval $ac_compile) 2>&5
2884 if { { ac_try="$ac_compile"
2885 case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2888 esac
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 $as_echo "$ac_try_echo"; } >&5
2891 (eval "$ac_compile") 2>&5
22062892 ac_status=$?
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; then
2209 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; }; then :
2895 for ac_file in conftest.o conftest.obj conftest.*; do
2896 test -f "$ac_file" || continue;
22102897 case $ac_file in
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
22122899 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
22132900 break;;
22142901 esac
22152902 done
22162903 else
2217 echo "$as_me: failed program was:" >&5
2904 $as_echo "$as_me: failed program was:" >&5
22182905 sed 's/^/| /' conftest.$ac_ext >&5
22192906
2220 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2225 fi
2226
2907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909 as_fn_error "cannot compute suffix of object files: cannot compile
2910 See \`config.log' for more details." "$LINENO" 5; }
2911 fi
22272912 rm -f conftest.$ac_cv_objext conftest.$ac_ext
22282913 fi
2229 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2230 echo "${ECHO_T}$ac_cv_objext" >&6
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2915 $as_echo "$ac_cv_objext" >&6; }
22312916 OBJEXT=$ac_cv_objext
22322917 ac_objext=$OBJEXT
2233 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2234 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2235 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238 cat >conftest.$ac_ext <<_ACEOF
2239 /* confdefs.h. */
2240 _ACEOF
2241 cat confdefs.h >>conftest.$ac_ext
2242 cat >>conftest.$ac_ext <<_ACEOF
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2919 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2920 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22432924 /* end confdefs.h. */
22442925
22452926 int
22532934 return 0;
22542935 }
22552936 _ACEOF
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2259 ac_status=$?
2260 grep -v '^ *+' conftest.er1 >conftest.err
2261 rm -f conftest.er1
2262 cat conftest.err >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try='test -z "$ac_c_werror_flag"
2266 || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 (eval $ac_try) 2>&5
2269 ac_status=$?
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 (eval $ac_try) 2>&5
2275 ac_status=$?
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2937 if ac_fn_c_try_compile "$LINENO"; then :
22782938 ac_compiler_gnu=yes
22792939 else
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2282
2283 ac_compiler_gnu=no
2284 fi
2285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2940 ac_compiler_gnu=no
2941 fi
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22862943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
22872944
22882945 fi
2289 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2290 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2291 GCC=`test $ac_compiler_gnu = yes && echo yes`
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2947 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2948 if test $ac_compiler_gnu = yes; then
2949 GCC=yes
2950 else
2951 GCC=
2952 fi
22922953 ac_test_CFLAGS=${CFLAGS+set}
22932954 ac_save_CFLAGS=$CFLAGS
2294 CFLAGS="-g"
2295 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2296 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2297 if test "${ac_cv_prog_cc_g+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 else
2300 cat >conftest.$ac_ext <<_ACEOF
2301 /* confdefs.h. */
2302 _ACEOF
2303 cat confdefs.h >>conftest.$ac_ext
2304 cat >>conftest.$ac_ext <<_ACEOF
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2956 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2957 if test "${ac_cv_prog_cc_g+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 ac_save_c_werror_flag=$ac_c_werror_flag
2961 ac_c_werror_flag=yes
2962 ac_cv_prog_cc_g=no
2963 CFLAGS="-g"
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052965 /* end confdefs.h. */
23062966
23072967 int
23122972 return 0;
23132973 }
23142974 _ACEOF
2315 rm -f conftest.$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2318 ac_status=$?
2319 grep -v '^ *+' conftest.er1 >conftest.err
2320 rm -f conftest.er1
2321 cat conftest.err >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try='test -z "$ac_c_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 (eval $ac_try) 2>&5
2328 ac_status=$?
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 (eval $ac_try) 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2975 if ac_fn_c_try_compile "$LINENO"; then :
23372976 ac_cv_prog_cc_g=yes
23382977 else
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2341
2342 ac_cv_prog_cc_g=no
2343 fi
2344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2345 fi
2346 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2347 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2978 CFLAGS=""
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2981
2982 int
2983 main ()
2984 {
2985
2986 ;
2987 return 0;
2988 }
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991
2992 else
2993 ac_c_werror_flag=$ac_save_c_werror_flag
2994 CFLAGS="-g"
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2997
2998 int
2999 main ()
3000 {
3001
3002 ;
3003 return 0;
3004 }
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"; then :
3007 ac_cv_prog_cc_g=yes
3008 fi
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 fi
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 fi
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3015 fi
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3017 $as_echo "$ac_cv_prog_cc_g" >&6; }
23483018 if test "$ac_test_CFLAGS" = set; then
23493019 CFLAGS=$ac_save_CFLAGS
23503020 elif test $ac_cv_prog_cc_g = yes; then
23603030 CFLAGS=
23613031 fi
23623032 fi
2363 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2364 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2365 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 else
2368 ac_cv_prog_cc_stdc=no
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3034 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3035 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 ac_cv_prog_cc_c89=no
23693039 ac_save_CC=$CC
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h. */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753041 /* end confdefs.h. */
23763042 #include <stdarg.h>
23773043 #include <stdio.h>
23993065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24003066 function prototypes and stuff, but not '\xHH' hex character constants.
24013067 These don't provoke an error unfortunately, instead are silently treated
2402 as 'x'. The following induces an error, until -std1 is added to get
3068 as 'x'. The following induces an error, until -std is added to get
24033069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24043070 array size at least. It's necessary to write '\x00'==0 to get something
2405 that's true only with -std1. */
3071 that's true only with -std. */
24063072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3073
3074 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3075 inside strings and character constants. */
3076 #define FOO(x) 'x'
3077 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
24073078
24083079 int test (int i, double x);
24093080 struct s1 {int (*f) (int a);};
24193090 return 0;
24203091 }
24213092 _ACEOF
2422 # Don't try gcc -ansi; that turns off useful extensions and
2423 # breaks some systems' header files.
2424 # AIX -qlanglvl=ansi
2425 # Ultrix and OSF/1 -std1
2426 # HP-UX 10.20 and later -Ae
2427 # HP-UX older versions -Aa -D_HPUX_SOURCE
2428 # SVR4 -Xc -D__EXTENSIONS__
2429 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3093 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3094 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24303095 do
24313096 CC="$ac_save_CC $ac_arg"
2432 rm -f conftest.$ac_objext
2433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434 (eval $ac_compile) 2>conftest.er1
2435 ac_status=$?
2436 grep -v '^ *+' conftest.er1 >conftest.err
2437 rm -f conftest.er1
2438 cat conftest.err >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); } &&
2441 { ac_try='test -z "$ac_c_werror_flag"
2442 || test ! -s conftest.err'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 (eval $ac_try) 2>&5
2445 ac_status=$?
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; } &&
2448 { ac_try='test -s conftest.$ac_objext'
2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 (eval $ac_try) 2>&5
2451 ac_status=$?
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2454 ac_cv_prog_cc_stdc=$ac_arg
2455 break
2456 else
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.$ac_ext >&5
2459
2460 fi
2461 rm -f conftest.err conftest.$ac_objext
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 ac_cv_prog_cc_c89=$ac_arg
3099 fi
3100 rm -f core conftest.err conftest.$ac_objext
3101 test "x$ac_cv_prog_cc_c89" != "xno" && break
24623102 done
2463 rm -f conftest.$ac_ext conftest.$ac_objext
3103 rm -f conftest.$ac_ext
24643104 CC=$ac_save_CC
24653105
24663106 fi
2467
2468 case "x$ac_cv_prog_cc_stdc" in
2469 x|xno)
2470 echo "$as_me:$LINENO: result: none needed" >&5
2471 echo "${ECHO_T}none needed" >&6 ;;
3107 # AC_CACHE_VAL
3108 case "x$ac_cv_prog_cc_c89" in
3109 x)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3111 $as_echo "none needed" >&6; } ;;
3112 xno)
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3114 $as_echo "unsupported" >&6; } ;;
24723115 *)
2473 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2474 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2475 CC="$CC $ac_cv_prog_cc_stdc" ;;
3116 CC="$CC $ac_cv_prog_cc_c89"
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3118 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
24763119 esac
2477
2478 # Some people use a C++ compiler to compile C. Since we use `exit',
2479 # in C++ we need to declare it. In case someone uses the same compiler
2480 # for both compiling C and C++ we need to have the C++ compiler decide
2481 # the declaration of exit, since it's the most demanding environment.
2482 cat >conftest.$ac_ext <<_ACEOF
2483 #ifndef __cplusplus
2484 choke me
2485 #endif
2486 _ACEOF
2487 rm -f conftest.$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489 (eval $ac_compile) 2>conftest.er1
2490 ac_status=$?
2491 grep -v '^ *+' conftest.er1 >conftest.err
2492 rm -f conftest.er1
2493 cat conftest.err >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } &&
2496 { ac_try='test -z "$ac_c_werror_flag"
2497 || test ! -s conftest.err'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 (eval $ac_try) 2>&5
2500 ac_status=$?
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; } &&
2503 { ac_try='test -s conftest.$ac_objext'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 (eval $ac_try) 2>&5
2506 ac_status=$?
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2509 for ac_declaration in \
2510 '' \
2511 'extern "C" void std::exit (int) throw (); using std::exit;' \
2512 'extern "C" void std::exit (int); using std::exit;' \
2513 'extern "C" void exit (int) throw ();' \
2514 'extern "C" void exit (int);' \
2515 'void exit (int);'
2516 do
2517 cat >conftest.$ac_ext <<_ACEOF
2518 /* confdefs.h. */
2519 _ACEOF
2520 cat confdefs.h >>conftest.$ac_ext
2521 cat >>conftest.$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2523 $ac_declaration
2524 #include <stdlib.h>
2525 int
2526 main ()
2527 {
2528 exit (42);
2529 ;
2530 return 0;
2531 }
2532 _ACEOF
2533 rm -f conftest.$ac_objext
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535 (eval $ac_compile) 2>conftest.er1
2536 ac_status=$?
2537 grep -v '^ *+' conftest.er1 >conftest.err
2538 rm -f conftest.er1
2539 cat conftest.err >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } &&
2542 { ac_try='test -z "$ac_c_werror_flag"
2543 || test ! -s conftest.err'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 (eval $ac_try) 2>&5
2546 ac_status=$?
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; } &&
2549 { ac_try='test -s conftest.$ac_objext'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 (eval $ac_try) 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; }; then
2555 :
2556 else
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2559
2560 continue
2561 fi
2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2569 $ac_declaration
2570 int
2571 main ()
2572 {
2573 exit (42);
2574 ;
2575 return 0;
2576 }
2577 _ACEOF
2578 rm -f conftest.$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>conftest.er1
2581 ac_status=$?
2582 grep -v '^ *+' conftest.er1 >conftest.err
2583 rm -f conftest.er1
2584 cat conftest.err >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 (eval $ac_try) 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 break
2601 else
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 fi
2606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2607 done
2608 rm -f conftest*
2609 if test -n "$ac_declaration"; then
2610 echo '#ifdef __cplusplus' >>confdefs.h
2611 echo $ac_declaration >>confdefs.h
2612 echo '#endif' >>confdefs.h
2613 fi
2614
2615 else
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2618
2619 fi
2620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3120 if test "x$ac_cv_prog_cc_c89" != xno; then :
3121
3122 fi
3123
26213124 ac_ext=c
26223125 ac_cpp='$CPP $CPPFLAGS'
26233126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26253128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26263129 DEPDIR="${am__leading_dot}deps"
26273130
2628 ac_config_commands="$ac_config_commands depfiles"
3131 ac_config_commands="$ac_config_commands depfiles"
26293132
26303133
26313134 am_make=${MAKE-make}
26323135 cat > confinc << 'END'
26333136 am__doit:
2634 @echo done
3137 @echo this is the am__doit target
26353138 .PHONY: am__doit
26363139 END
26373140 # If we don't find an include directive, just comment out the code.
2638 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2639 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3142 $as_echo_n "checking for style of include used by $am_make... " >&6; }
26403143 am__include="#"
26413144 am__quote=
26423145 _am_result=none
26433146 # First try GNU make style include.
26443147 echo "include confinc" > confmf
2645 # We grep out `Entering directory' and `Leaving directory'
2646 # messages which can occur if `w' ends up in MAKEFLAGS.
2647 # In particular we don't look at `^make:' because GNU make might
2648 # be invoked under some other name (usually "gmake"), in which
2649 # case it prints its new name instead of `make'.
2650 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2651 am__include=include
2652 am__quote=
2653 _am_result=GNU
2654 fi
3148 # Ignore all kinds of additional output from `make'.
3149 case `$am_make -s -f confmf 2> /dev/null` in #(
3150 *the\ am__doit\ target*)
3151 am__include=include
3152 am__quote=
3153 _am_result=GNU
3154 ;;
3155 esac
26553156 # Now try BSD make style include.
26563157 if test "$am__include" = "#"; then
26573158 echo '.include "confinc"' > confmf
2658 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2659 am__include=.include
2660 am__quote="\""
2661 _am_result=BSD
2662 fi
2663 fi
2664
2665
2666 echo "$as_me:$LINENO: result: $_am_result" >&5
2667 echo "${ECHO_T}$_am_result" >&6
3159 case `$am_make -s -f confmf 2> /dev/null` in #(
3160 *the\ am__doit\ target*)
3161 am__include=.include
3162 am__quote="\""
3163 _am_result=BSD
3164 ;;
3165 esac
3166 fi
3167
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3170 $as_echo "$_am_result" >&6; }
26683171 rm -f confinc confmf
26693172
2670 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2671 if test "${enable_dependency_tracking+set}" = set; then
2672 enableval="$enable_dependency_tracking"
2673
2674 fi;
3173 # Check whether --enable-dependency-tracking was given.
3174 if test "${enable_dependency_tracking+set}" = set; then :
3175 enableval=$enable_dependency_tracking;
3176 fi
3177
26753178 if test "x$enable_dependency_tracking" != xno; then
26763179 am_depcomp="$ac_aux_dir/depcomp"
26773180 AMDEPBACKSLASH='\'
26783181 fi
2679
2680
2681 if test "x$enable_dependency_tracking" != xno; then
3182 if test "x$enable_dependency_tracking" != xno; then
26823183 AMDEP_TRUE=
26833184 AMDEP_FALSE='#'
26843185 else
26883189
26893190
26903191
2691
26923192 depcc="$CC" am_compiler_list=
26933193
2694 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2695 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2696 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3195 $as_echo_n "checking dependency style of $depcc... " >&6; }
3196 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
26983198 else
26993199 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
27003200 # We make a subdir and do the tests there. Otherwise we can end up
27193219 if test "$am_compiler_list" = ""; then
27203220 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
27213221 fi
3222 am__universal=false
3223 case " $depcc " in #(
3224 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3225 esac
3226
27223227 for depmode in $am_compiler_list; do
27233228 # Setup a source with many dependencies, because some compilers
27243229 # like to wrap large dependency lists on column 80 (with \), and
27363241 done
27373242 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
27383243
3244 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3245 # mode. It turns out that the SunPro C++ compiler does not properly
3246 # handle `-M -o', and we need to detect this. Also, some Intel
3247 # versions had trouble with output in subdirs
3248 am__obj=sub/conftest.${OBJEXT-o}
3249 am__minus_obj="-o $am__obj"
27393250 case $depmode in
3251 gcc)
3252 # This depmode causes a compiler race in universal mode.
3253 test "$am__universal" = false || continue
3254 ;;
27403255 nosideeffect)
27413256 # after this tag, mechanisms are not by side-effect, so they'll
27423257 # only be used when explicitly requested
27463261 break
27473262 fi
27483263 ;;
3264 msvisualcpp | msvcmsys)
3265 # This compiler won't grok `-c -o', but also, the minuso test has
3266 # not run yet. These depmodes are late enough in the game, and
3267 # so weak that their functioning should not be impacted.
3268 am__obj=conftest.${OBJEXT-o}
3269 am__minus_obj=
3270 ;;
27493271 none) break ;;
27503272 esac
2751 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2752 # mode. It turns out that the SunPro C++ compiler does not properly
2753 # handle `-M -o', and we need to detect this.
27543273 if depmode=$depmode \
2755 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3274 source=sub/conftest.c object=$am__obj \
27563275 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2757 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3276 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
27583277 >/dev/null 2>conftest.err &&
3278 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
27593279 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2760 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3280 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
27613281 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
27623282 # icc doesn't choke on unknown options, it will just issue warnings
27633283 # or remarks (even with -Werror). So we grep stderr for any message
27813301 fi
27823302
27833303 fi
2784 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2785 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3305 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
27863306 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
27873307
2788
2789
2790 if
3308 if
27913309 test "x$enable_dependency_tracking" != xno \
27923310 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
27933311 am__fastdepCC_TRUE=
27983316 fi
27993317
28003318
2801 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2802 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2803 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2804 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3320 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3321 set x ${MAKE-make}
3322 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3323 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3324 $as_echo_n "(cached) " >&6
28063325 else
28073326 cat >conftest.make <<\_ACEOF
3327 SHELL = /bin/sh
28083328 all:
2809 @echo 'ac_maketemp="$(MAKE)"'
3329 @echo '@@@%%%=$(MAKE)=@@@%%%'
28103330 _ACEOF
28113331 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2812 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2813 if test -n "$ac_maketemp"; then
2814 eval ac_cv_prog_make_${ac_make}_set=yes
2815 else
2816 eval ac_cv_prog_make_${ac_make}_set=no
2817 fi
3332 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3333 *@@@%%%=?*=@@@%%%*)
3334 eval ac_cv_prog_make_${ac_make}_set=yes;;
3335 *)
3336 eval ac_cv_prog_make_${ac_make}_set=no;;
3337 esac
28183338 rm -f conftest.make
28193339 fi
2820 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2821 echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6
3340 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3342 $as_echo "yes" >&6; }
28233343 SET_MAKE=
28243344 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
28273347 SET_MAKE="MAKE=${MAKE-make}"
28283348 fi
28293349
28303350
28313351
2832 # Check whether --with-curl-config or --without-curl-config was given.
2833 if test "${with_curl_config+set}" = set; then
2834 withval="$with_curl_config"
2835 curl_config="$withval"
3352 # Check whether --with-curl-config was given.
3353 if test "${with_curl_config+set}" = set; then :
3354 withval=$with_curl_config; curl_config="$withval"
28363355 else
28373356 curl_config="curl-config"
2838 fi;
3357 fi
3358
28393359
28403360 if test -f $curl_config ; then
28413361 CURL_CONFIG=$curl_config
2842 echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
28443364 else for ac_prog in curl-config
28453365 do
28463366 # Extract the first word of "$ac_prog", so it can be a program name with args.
28473367 set dummy $ac_prog; ac_word=$2
2848 echo "$as_me:$LINENO: checking for $ac_word" >&5
2849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2850 if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then
2851 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
28523372 else
28533373 if test -n "$CURL_CONFIG"; then
28543374 ac_cv_prog_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test.
28583378 do
28593379 IFS=$as_save_IFS
28603380 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28633383 ac_cv_prog_CURL_CONFIG="$ac_prog"
2864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28653385 break 2
28663386 fi
28673387 done
2868 done
3388 done
3389 IFS=$as_save_IFS
28693390
28703391 fi
28713392 fi
28723393 CURL_CONFIG=$ac_cv_prog_CURL_CONFIG
28733394 if test -n "$CURL_CONFIG"; then
2874 echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
2875 echo "${ECHO_T}$CURL_CONFIG" >&6
2876 else
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 fi
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
3396 $as_echo "$CURL_CONFIG" >&6; }
3397 else
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3400 fi
3401
28803402
28813403 test -n "$CURL_CONFIG" && break
28823404 done
28843406 fi
28853407
28863408 if test "X$CURL_CONFIG" = "X"; then
2887 { { echo "$as_me:$LINENO: error: $curl_config not found.
2888 cURL is available from http://curl.haxx.se/" >&5
2889 echo "$as_me: error: $curl_config not found.
2890 cURL is available from http://curl.haxx.se/" >&2;}
2891 { (exit 1); exit 1; }; }
3409 as_fn_error "$curl_config not found.
3410 cURL is available from http://curl.haxx.se/" "$LINENO" 5
28923411 fi
28933412
28943413 CURLCFLAGS="`$CURL_CONFIG --cflags`"
29013420 check_min=7.1.1
29023421
29033422
2904 echo "$as_me:$LINENO: checking for curl_easy_setopt" >&5
2905 echo $ECHO_N "checking for curl_easy_setopt... $ECHO_C" >&6
2906 if test "${ac_cv_func_curl_easy_setopt+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 else
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 /* Define curl_easy_setopt to an innocuous variant, in case <limits.h> declares curl_easy_setopt.
2916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2917 #define curl_easy_setopt innocuous_curl_easy_setopt
2918
2919 /* System header to define __stub macros and hopefully few prototypes,
2920 which can conflict with char curl_easy_setopt (); below.
2921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2922 <limits.h> exists even on freestanding compilers. */
2923
2924 #ifdef __STDC__
2925 # include <limits.h>
2926 #else
2927 # include <assert.h>
2928 #endif
2929
2930 #undef curl_easy_setopt
2931
2932 /* Override any gcc2 internal prototype to avoid an error. */
2933 #ifdef __cplusplus
2934 extern "C"
2935 {
2936 #endif
2937 /* We use char because int might match the return type of a gcc2
2938 builtin and then its argument prototype would still apply. */
2939 char curl_easy_setopt ();
2940 /* The GNU C library defines this for functions which it implements
2941 to always fail with ENOSYS. Some functions are actually named
2942 something starting with __ and the normal name is an alias. */
2943 #if defined (__stub_curl_easy_setopt) || defined (__stub___curl_easy_setopt)
2944 choke me
2945 #else
2946 char (*f) () = curl_easy_setopt;
2947 #endif
2948 #ifdef __cplusplus
2949 }
2950 #endif
2951
2952 int
2953 main ()
2954 {
2955 return f != curl_easy_setopt;
2956 ;
2957 return 0;
2958 }
2959 _ACEOF
2960 rm -f conftest.$ac_objext conftest$ac_exeext
2961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2962 (eval $ac_link) 2>conftest.er1
2963 ac_status=$?
2964 grep -v '^ *+' conftest.er1 >conftest.err
2965 rm -f conftest.er1
2966 cat conftest.err >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } &&
2969 { ac_try='test -z "$ac_c_werror_flag"
2970 || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 (eval $ac_try) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest$ac_exeext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 (eval $ac_try) 2>&5
2979 ac_status=$?
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2982 ac_cv_func_curl_easy_setopt=yes
2983 else
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2986
2987 ac_cv_func_curl_easy_setopt=no
2988 fi
2989 rm -f conftest.err conftest.$ac_objext \
2990 conftest$ac_exeext conftest.$ac_ext
2991 fi
2992 echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_setopt" >&5
2993 echo "${ECHO_T}$ac_cv_func_curl_easy_setopt" >&6
2994 if test $ac_cv_func_curl_easy_setopt = yes; then
2995 :
2996 else
2997 { { echo "$as_me:$LINENO: error: cURL $check_min or newer required \
2998 (cURL is available from http://curl.haxx.se/)" >&5
2999 echo "$as_me: error: cURL $check_min or newer required \
3000 (cURL is available from http://curl.haxx.se/)" >&2;}
3001 { (exit 1); exit 1; }; }
3002 fi
3003
3004
3005 echo "$as_me:$LINENO: checking for curl_easy_strerror" >&5
3006 echo $ECHO_N "checking for curl_easy_strerror... $ECHO_C" >&6
3007 if test "${ac_cv_func_curl_easy_strerror+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 else
3010 cat >conftest.$ac_ext <<_ACEOF
3011 /* confdefs.h. */
3012 _ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3016 /* Define curl_easy_strerror to an innocuous variant, in case <limits.h> declares curl_easy_strerror.
3017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3018 #define curl_easy_strerror innocuous_curl_easy_strerror
3019
3020 /* System header to define __stub macros and hopefully few prototypes,
3021 which can conflict with char curl_easy_strerror (); below.
3022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3023 <limits.h> exists even on freestanding compilers. */
3024
3025 #ifdef __STDC__
3026 # include <limits.h>
3027 #else
3028 # include <assert.h>
3029 #endif
3030
3031 #undef curl_easy_strerror
3032
3033 /* Override any gcc2 internal prototype to avoid an error. */
3034 #ifdef __cplusplus
3035 extern "C"
3036 {
3037 #endif
3038 /* We use char because int might match the return type of a gcc2
3039 builtin and then its argument prototype would still apply. */
3040 char curl_easy_strerror ();
3041 /* The GNU C library defines this for functions which it implements
3042 to always fail with ENOSYS. Some functions are actually named
3043 something starting with __ and the normal name is an alias. */
3044 #if defined (__stub_curl_easy_strerror) || defined (__stub___curl_easy_strerror)
3045 choke me
3046 #else
3047 char (*f) () = curl_easy_strerror;
3048 #endif
3049 #ifdef __cplusplus
3050 }
3051 #endif
3052
3053 int
3054 main ()
3055 {
3056 return f != curl_easy_strerror;
3057 ;
3058 return 0;
3059 }
3060 _ACEOF
3061 rm -f conftest.$ac_objext conftest$ac_exeext
3062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3063 (eval $ac_link) 2>conftest.er1
3064 ac_status=$?
3065 grep -v '^ *+' conftest.er1 >conftest.err
3066 rm -f conftest.er1
3067 cat conftest.err >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } &&
3070 { ac_try='test -z "$ac_c_werror_flag"
3071 || test ! -s conftest.err'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3073 (eval $ac_try) 2>&5
3074 ac_status=$?
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try='test -s conftest$ac_exeext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3079 (eval $ac_try) 2>&5
3080 ac_status=$?
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3083 ac_cv_func_curl_easy_strerror=yes
3084 else
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3087
3088 ac_cv_func_curl_easy_strerror=no
3089 fi
3090 rm -f conftest.err conftest.$ac_objext \
3091 conftest$ac_exeext conftest.$ac_ext
3092 fi
3093 echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_strerror" >&5
3094 echo "${ECHO_T}$ac_cv_func_curl_easy_strerror" >&6
3095 if test $ac_cv_func_curl_easy_strerror = yes; then
3096 :
3423 ac_fn_c_check_func "$LINENO" "curl_easy_setopt" "ac_cv_func_curl_easy_setopt"
3424 if test "x$ac_cv_func_curl_easy_setopt" = x""yes; then :
3425
3426 else
3427 as_fn_error "cURL $check_min or newer required \
3428 (cURL is available from http://curl.haxx.se/)" "$LINENO" 5
3429 fi
3430
3431
3432 ac_fn_c_check_func "$LINENO" "curl_easy_strerror" "ac_cv_func_curl_easy_strerror"
3433 if test "x$ac_cv_func_curl_easy_strerror" = x""yes; then :
3434
30973435 else
30983436 CURLCFLAGS="$CURLCFLAGS -D NEED_CURL_EASY_STRERROR"
30993437 fi
31003438
31013439
3102 echo "$as_me:$LINENO: checking for cURL SSL support" >&5
3103 echo $ECHO_N "checking for cURL SSL support... $ECHO_C" >&6
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cURL SSL support" >&5
3441 $as_echo_n "checking for cURL SSL support... " >&6; }
31043442 if test XSSL != X`$CURL_CONFIG --feature|grep SSL`; then
3105 { { echo "$as_me:$LINENO: error: no SSL
3106 cURL is available from http://curl.haxx.se/" >&5
3107 echo "$as_me: error: no SSL
3108 cURL is available from http://curl.haxx.se/" >&2;}
3109 { (exit 1); exit 1; }; }
3110 else
3111 echo "$as_me:$LINENO: result: yes" >&5
3112 echo "${ECHO_T}yes" >&6
3113 fi
3114
3115 ac_config_files="$ac_config_files Makefile"
3443 as_fn_error "no SSL
3444 cURL is available from http://curl.haxx.se/" "$LINENO" 5
3445 else
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3447 $as_echo "yes" >&6; }
3448 fi
3449
3450 ac_config_files="$ac_config_files Makefile"
3451
31163452 cat >confcache <<\_ACEOF
31173453 # This file is a shell script that caches the results of configure
31183454 # tests run on this system so they can be shared between configure
31313467
31323468 # The following way of writing the cache mishandles newlines in values,
31333469 # but we know of no workaround that is simple, portable, and efficient.
3134 # So, don't put newlines in cache variables' values.
3470 # So, we kill variables containing newlines.
31353471 # Ultrix sh set writes to stderr and can't be redirected directly,
31363472 # and sets the high bit in the cache file unless we assign to the vars.
3137 {
3473 (
3474 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3475 eval ac_val=\$$ac_var
3476 case $ac_val in #(
3477 *${as_nl}*)
3478 case $ac_var in #(
3479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3481 esac
3482 case $ac_var in #(
3483 _ | IFS | as_nl) ;; #(
3484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3485 *) { eval $ac_var=; unset $ac_var;} ;;
3486 esac ;;
3487 esac
3488 done
3489
31383490 (set) 2>&1 |
3139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3140 *ac_space=\ *)
3141 # `set' does not quote correctly, so add quotes (double-quote
3142 # substitution turns \\\\ into \\, and sed turns \\ into \).
3491 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3492 *${as_nl}ac_space=\ *)
3493 # `set' does not quote correctly, so add quotes: double-quote
3494 # substitution turns \\\\ into \\, and sed turns \\ into \.
31433495 sed -n \
31443496 "s/'/'\\\\''/g;
31453497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3146 ;;
3498 ;; #(
31473499 *)
31483500 # `set' quotes correctly as required by POSIX, so do not add quotes.
3149 sed -n \
3150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31513502 ;;
3152 esac;
3153 } |
3503 esac |
3504 sort
3505 ) |
31543506 sed '
3507 /^ac_cv_env_/b end
31553508 t clear
3156 : clear
3509 :clear
31573510 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31583511 t end
3159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3160 : end' >>confcache
3161 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3162 if test -w $cache_file; then
3163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3512 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3513 :end' >>confcache
3514 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3515 if test -w "$cache_file"; then
3516 test "x$cache_file" != "x/dev/null" &&
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3518 $as_echo "$as_me: updating cache $cache_file" >&6;}
31643519 cat confcache >$cache_file
31653520 else
3166 echo "not updating unwritable cache $cache_file"
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3522 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31673523 fi
31683524 fi
31693525 rm -f confcache
31713527 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31723528 # Let make expand exec_prefix.
31733529 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3174
3175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3177 # trailing colons and then remove the whole line if VPATH becomes empty
3178 # (actually we leave an empty line to preserve line numbers).
3179 if test "x$srcdir" = x.; then
3180 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3181 s/:*\$(srcdir):*/:/;
3182 s/:*\${srcdir}:*/:/;
3183 s/:*@srcdir@:*/:/;
3184 s/^\([^=]*=[ ]*\):*/\1/;
3185 s/:*$//;
3186 s/^[^=]*=[ ]*$//;
3187 }'
3188 fi
31893530
31903531 # Transform confdefs.h into DEFS.
31913532 # Protect against shell expansion while executing Makefile rules.
31923533 # Protect against Makefile macro expansion.
31933534 #
31943535 # If the first sed substitution is executed (which looks for macros that
3195 # take arguments), then we branch to the quote section. Otherwise,
3536 # take arguments), then branch to the quote section. Otherwise,
31963537 # look for a macro that doesn't take arguments.
3197 cat >confdef2opt.sed <<\_ACEOF
3538 ac_script='
3539 :mline
3540 /\\$/{
3541 N
3542 s,\\\n,,
3543 b mline
3544 }
31983545 t clear
3199 : clear
3200 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3546 :clear
3547 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
32013548 t quote
3202 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3549 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
32033550 t quote
3204 d
3205 : quote
3206 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3207 s,\[,\\&,g
3208 s,\],\\&,g
3209 s,\$,$$,g
3210 p
3211 _ACEOF
3212 # We use echo to avoid assuming a particular line-breaking character.
3213 # The extra dot is to prevent the shell from consuming trailing
3214 # line-breaks from the sub-command output. A line-break within
3215 # single-quotes doesn't work because, if this script is created in a
3216 # platform that uses two characters for line-breaks (e.g., DOS), tr
3217 # would break.
3218 ac_LF_and_DOT=`echo; echo .`
3219 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3220 rm -f confdef2opt.sed
3551 b any
3552 :quote
3553 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3554 s/\[/\\&/g
3555 s/\]/\\&/g
3556 s/\$/$$/g
3557 H
3558 :any
3559 ${
3560 g
3561 s/^\n//
3562 s/\n/ /g
3563 p
3564 }
3565 '
3566 DEFS=`sed -n "$ac_script" confdefs.h`
32213567
32223568
32233569 ac_libobjs=
32243570 ac_ltlibobjs=
32253571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32263572 # 1. Remove the extension, and $U if already installed.
3227 ac_i=`echo "$ac_i" |
3228 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3229 # 2. Add them.
3230 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3231 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3573 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3574 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3575 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3576 # will be set to the directory where LIBOBJS objects are built.
3577 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3578 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32323579 done
32333580 LIBOBJS=$ac_libobjs
32343581
32353582 LTLIBOBJS=$ac_ltlibobjs
32363583
32373584
3585 if test -n "$EXEEXT"; then
3586 am__EXEEXT_TRUE=
3587 am__EXEEXT_FALSE='#'
3588 else
3589 am__EXEEXT_TRUE='#'
3590 am__EXEEXT_FALSE=
3591 fi
3592
32383593 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3239 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3240 Usually this means the macro was only invoked conditionally." >&5
3241 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3242 Usually this means the macro was only invoked conditionally." >&2;}
3243 { (exit 1); exit 1; }; }
3594 as_fn_error "conditional \"AMDEP\" was never defined.
3595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32443596 fi
32453597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3246 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3247 Usually this means the macro was only invoked conditionally." >&5
3248 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3249 Usually this means the macro was only invoked conditionally." >&2;}
3250 { (exit 1); exit 1; }; }
3598 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32513600 fi
32523601
32533602 : ${CONFIG_STATUS=./config.status}
3603 ac_write_fail=0
32543604 ac_clean_files_save=$ac_clean_files
32553605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3256 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3257 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3258 cat >$CONFIG_STATUS <<_ACEOF
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3608 as_write_fail=0
3609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32593610 #! $SHELL
32603611 # Generated by $as_me.
32613612 # Run this file to recreate the current configuration.
32653616 debug=false
32663617 ac_cs_recheck=false
32673618 ac_cs_silent=false
3619
32683620 SHELL=\${CONFIG_SHELL-$SHELL}
3269 _ACEOF
3270
3271 cat >>$CONFIG_STATUS <<\_ACEOF
3272 ## --------------------- ##
3273 ## M4sh Initialization. ##
3274 ## --------------------- ##
3275
3276 # Be Bourne compatible
3277 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3621 export SHELL
3622 _ASEOF
3623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3624 ## -------------------- ##
3625 ## M4sh Initialization. ##
3626 ## -------------------- ##
3627
3628 # Be more Bourne compatible
3629 DUALCASE=1; export DUALCASE # for MKS sh
3630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32783631 emulate sh
32793632 NULLCMD=:
3280 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32813634 # is contrary to our usage. Disable this feature.
32823635 alias -g '${1+"$@"}'='"$@"'
3283 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3284 set -o posix
3285 fi
3286 DUALCASE=1; export DUALCASE # for MKS sh
3287
3288 # Support unset when possible.
3289 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3290 as_unset=unset
3291 else
3292 as_unset=false
3293 fi
3294
3295
3296 # Work around bugs in pre-3.0 UWIN ksh.
3297 $as_unset ENV MAIL MAILPATH
3636 setopt NO_GLOB_SUBST
3637 else
3638 case `(set -o) 2>/dev/null` in #(
3639 *posix*) :
3640 set -o posix ;; #(
3641 *) :
3642 ;;
3643 esac
3644 fi
3645
3646
3647 as_nl='
3648 '
3649 export as_nl
3650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3654 # Prefer a ksh shell builtin over an external printf program on Solaris,
3655 # but without wasting forks for bash or zsh.
3656 if test -z "$BASH_VERSION$ZSH_VERSION" \
3657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3658 as_echo='print -r --'
3659 as_echo_n='print -rn --'
3660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3661 as_echo='printf %s\n'
3662 as_echo_n='printf %s'
3663 else
3664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3665 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3666 as_echo_n='/usr/ucb/echo -n'
3667 else
3668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3669 as_echo_n_body='eval
3670 arg=$1;
3671 case $arg in #(
3672 *"$as_nl"*)
3673 expr "X$arg" : "X\\(.*\\)$as_nl";
3674 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3675 esac;
3676 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3677 '
3678 export as_echo_n_body
3679 as_echo_n='sh -c $as_echo_n_body as_echo'
3680 fi
3681 export as_echo_body
3682 as_echo='sh -c $as_echo_body as_echo'
3683 fi
3684
3685 # The user is always right.
3686 if test "${PATH_SEPARATOR+set}" != set; then
3687 PATH_SEPARATOR=:
3688 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3689 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3690 PATH_SEPARATOR=';'
3691 }
3692 fi
3693
3694
3695 # IFS
3696 # We need space, tab and new line, in precisely that order. Quoting is
3697 # there to prevent editors from complaining about space-tab.
3698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3699 # splitting by setting IFS to empty value.)
3700 IFS=" "" $as_nl"
3701
3702 # Find who we are. Look in the path if we contain no directory separator.
3703 case $0 in #((
3704 *[\\/]* ) as_myself=$0 ;;
3705 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3707 do
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3711 done
3712 IFS=$as_save_IFS
3713
3714 ;;
3715 esac
3716 # We did not find ourselves, most probably we were run as `sh COMMAND'
3717 # in which case we are not to be found in the path.
3718 if test "x$as_myself" = x; then
3719 as_myself=$0
3720 fi
3721 if test ! -f "$as_myself"; then
3722 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3723 exit 1
3724 fi
3725
3726 # Unset variables that we do not need and which cause bugs (e.g. in
3727 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3728 # suppresses any "Segmentation fault" message there. '((' could
3729 # trigger a bug in pdksh 5.2.14.
3730 for as_var in BASH_ENV ENV MAIL MAILPATH
3731 do eval test x\${$as_var+set} = xset \
3732 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3733 done
32983734 PS1='$ '
32993735 PS2='> '
33003736 PS4='+ '
33013737
33023738 # NLS nuisances.
3303 for as_var in \
3304 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3305 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3306 LC_TELEPHONE LC_TIME
3307 do
3308 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3309 eval $as_var=C; export $as_var
3310 else
3311 $as_unset $as_var
3739 LC_ALL=C
3740 export LC_ALL
3741 LANGUAGE=C
3742 export LANGUAGE
3743
3744 # CDPATH.
3745 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3746
3747
3748 # as_fn_error ERROR [LINENO LOG_FD]
3749 # ---------------------------------
3750 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3751 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3752 # script with status $?, using 1 if that was 0.
3753 as_fn_error ()
3754 {
3755 as_status=$?; test $as_status -eq 0 && as_status=1
3756 if test "$3"; then
3757 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3758 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
33123759 fi
3313 done
3314
3315 # Required to use basename.
3316 if expr a : '\(a\)' >/dev/null 2>&1; then
3760 $as_echo "$as_me: error: $1" >&2
3761 as_fn_exit $as_status
3762 } # as_fn_error
3763
3764
3765 # as_fn_set_status STATUS
3766 # -----------------------
3767 # Set $? to STATUS, without forking.
3768 as_fn_set_status ()
3769 {
3770 return $1
3771 } # as_fn_set_status
3772
3773 # as_fn_exit STATUS
3774 # -----------------
3775 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3776 as_fn_exit ()
3777 {
3778 set +e
3779 as_fn_set_status $1
3780 exit $1
3781 } # as_fn_exit
3782
3783 # as_fn_unset VAR
3784 # ---------------
3785 # Portably unset VAR.
3786 as_fn_unset ()
3787 {
3788 { eval $1=; unset $1;}
3789 }
3790 as_unset=as_fn_unset
3791 # as_fn_append VAR VALUE
3792 # ----------------------
3793 # Append the text in VALUE to the end of the definition contained in VAR. Take
3794 # advantage of any shell optimizations that allow amortized linear growth over
3795 # repeated appends, instead of the typical quadratic growth present in naive
3796 # implementations.
3797 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3798 eval 'as_fn_append ()
3799 {
3800 eval $1+=\$2
3801 }'
3802 else
3803 as_fn_append ()
3804 {
3805 eval $1=\$$1\$2
3806 }
3807 fi # as_fn_append
3808
3809 # as_fn_arith ARG...
3810 # ------------------
3811 # Perform arithmetic evaluation on the ARGs, and store the result in the
3812 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3813 # must be portable across $(()) and expr.
3814 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3815 eval 'as_fn_arith ()
3816 {
3817 as_val=$(( $* ))
3818 }'
3819 else
3820 as_fn_arith ()
3821 {
3822 as_val=`expr "$@" || test $? -eq 1`
3823 }
3824 fi # as_fn_arith
3825
3826
3827 if expr a : '\(a\)' >/dev/null 2>&1 &&
3828 test "X`expr 00001 : '.*\(...\)'`" = X001; then
33173829 as_expr=expr
33183830 else
33193831 as_expr=false
33203832 fi
33213833
3322 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3834 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33233835 as_basename=basename
33243836 else
33253837 as_basename=false
33263838 fi
33273839
3328
3329 # Name of the executable.
3330 as_me=`$as_basename "$0" ||
3840 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3841 as_dirname=dirname
3842 else
3843 as_dirname=false
3844 fi
3845
3846 as_me=`$as_basename -- "$0" ||
33313847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33323848 X"$0" : 'X\(//\)$' \| \
3333 X"$0" : 'X\(/\)$' \| \
3334 . : '\(.\)' 2>/dev/null ||
3335 echo X/"$0" |
3336 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3337 /^X\/\(\/\/\)$/{ s//\1/; q; }
3338 /^X\/\(\/\).*/{ s//\1/; q; }
3339 s/.*/./; q'`
3340
3341
3342 # PATH needs CR, and LINENO needs CR and PATH.
3849 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3850 $as_echo X/"$0" |
3851 sed '/^.*\/\([^/][^/]*\)\/*$/{
3852 s//\1/
3853 q
3854 }
3855 /^X\/\(\/\/\)$/{
3856 s//\1/
3857 q
3858 }
3859 /^X\/\(\/\).*/{
3860 s//\1/
3861 q
3862 }
3863 s/.*/./; q'`
3864
33433865 # Avoid depending upon Character Ranges.
33443866 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33453867 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33473869 as_cr_digits='0123456789'
33483870 as_cr_alnum=$as_cr_Letters$as_cr_digits
33493871
3350 # The user is always right.
3351 if test "${PATH_SEPARATOR+set}" != set; then
3352 echo "#! /bin/sh" >conf$$.sh
3353 echo "exit 0" >>conf$$.sh
3354 chmod +x conf$$.sh
3355 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3356 PATH_SEPARATOR=';'
3872 ECHO_C= ECHO_N= ECHO_T=
3873 case `echo -n x` in #(((((
3874 -n*)
3875 case `echo 'xy\c'` in
3876 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3877 xy) ECHO_C='\c';;
3878 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3879 ECHO_T=' ';;
3880 esac;;
3881 *)
3882 ECHO_N='-n';;
3883 esac
3884
3885 rm -f conf$$ conf$$.exe conf$$.file
3886 if test -d conf$$.dir; then
3887 rm -f conf$$.dir/conf$$.file
3888 else
3889 rm -f conf$$.dir
3890 mkdir conf$$.dir 2>/dev/null
3891 fi
3892 if (echo >conf$$.file) 2>/dev/null; then
3893 if ln -s conf$$.file conf$$ 2>/dev/null; then
3894 as_ln_s='ln -s'
3895 # ... but there are two gotchas:
3896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3898 # In both cases, we have to default to `cp -p'.
3899 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3900 as_ln_s='cp -p'
3901 elif ln conf$$.file conf$$ 2>/dev/null; then
3902 as_ln_s=ln
33573903 else
3358 PATH_SEPARATOR=:
3904 as_ln_s='cp -p'
33593905 fi
3360 rm -f conf$$.sh
3361 fi
3362
3363
3364 as_lineno_1=$LINENO
3365 as_lineno_2=$LINENO
3366 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3367 test "x$as_lineno_1" != "x$as_lineno_2" &&
3368 test "x$as_lineno_3" = "x$as_lineno_2" || {
3369 # Find who we are. Look in the path if we contain no path at all
3370 # relative or not.
3371 case $0 in
3372 *[\\/]* ) as_myself=$0 ;;
3373 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3375 do
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3379 done
3380
3381 ;;
3906 else
3907 as_ln_s='cp -p'
3908 fi
3909 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3910 rmdir conf$$.dir 2>/dev/null
3911
3912
3913 # as_fn_mkdir_p
3914 # -------------
3915 # Create "$as_dir" as a directory, including parents if necessary.
3916 as_fn_mkdir_p ()
3917 {
3918
3919 case $as_dir in #(
3920 -*) as_dir=./$as_dir;;
33823921 esac
3383 # We did not find ourselves, most probably we were run as `sh COMMAND'
3384 # in which case we are not to be found in the path.
3385 if test "x$as_myself" = x; then
3386 as_myself=$0
3387 fi
3388 if test ! -f "$as_myself"; then
3389 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3390 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3391 { (exit 1); exit 1; }; }
3392 fi
3393 case $CONFIG_SHELL in
3394 '')
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3397 do
3398 IFS=$as_save_IFS
3399 test -z "$as_dir" && as_dir=.
3400 for as_base in sh bash ksh sh5; do
3401 case $as_dir in
3402 /*)
3403 if ("$as_dir/$as_base" -c '
3404 as_lineno_1=$LINENO
3405 as_lineno_2=$LINENO
3406 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3407 test "x$as_lineno_1" != "x$as_lineno_2" &&
3408 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3409 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3410 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3411 CONFIG_SHELL=$as_dir/$as_base
3412 export CONFIG_SHELL
3413 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3414 fi;;
3415 esac
3416 done
3417 done
3418 ;;
3419 esac
3420
3421 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3422 # uniformly replaced by the line number. The first 'sed' inserts a
3423 # line-number line before each line; the second 'sed' does the real
3424 # work. The second script uses 'N' to pair each line-number line
3425 # with the numbered line, and appends trailing '-' during
3426 # substitution so that $LINENO is not a special case at line end.
3427 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3428 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3429 sed '=' <$as_myself |
3430 sed '
3431 N
3432 s,$,-,
3433 : loop
3434 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3435 t loop
3436 s,-$,,
3437 s,^['$as_cr_digits']*\n,,
3438 ' >$as_me.lineno &&
3439 chmod +x $as_me.lineno ||
3440 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3441 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3442 { (exit 1); exit 1; }; }
3443
3444 # Don't try to exec as it changes $[0], causing all sort of problems
3445 # (the dirname of $[0] is not the place where we might find the
3446 # original and so on. Autoconf is especially sensible to this).
3447 . ./$as_me.lineno
3448 # Exit status is that of the last command.
3449 exit
3450 }
3451
3452
3453 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3454 *c*,-n*) ECHO_N= ECHO_C='
3455 ' ECHO_T=' ' ;;
3456 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3457 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3458 esac
3459
3460 if expr a : '\(a\)' >/dev/null 2>&1; then
3461 as_expr=expr
3462 else
3463 as_expr=false
3464 fi
3465
3466 rm -f conf$$ conf$$.exe conf$$.file
3467 echo >conf$$.file
3468 if ln -s conf$$.file conf$$ 2>/dev/null; then
3469 # We could just check for DJGPP; but this test a) works b) is more generic
3470 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3471 if test -f conf$$.exe; then
3472 # Don't use ln at all; we don't have any links
3473 as_ln_s='cp -p'
3474 else
3475 as_ln_s='ln -s'
3476 fi
3477 elif ln conf$$.file conf$$ 2>/dev/null; then
3478 as_ln_s=ln
3479 else
3480 as_ln_s='cp -p'
3481 fi
3482 rm -f conf$$ conf$$.exe conf$$.file
3483
3922 test -d "$as_dir" || eval $as_mkdir_p || {
3923 as_dirs=
3924 while :; do
3925 case $as_dir in #(
3926 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3927 *) as_qdir=$as_dir;;
3928 esac
3929 as_dirs="'$as_qdir' $as_dirs"
3930 as_dir=`$as_dirname -- "$as_dir" ||
3931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3932 X"$as_dir" : 'X\(//\)[^/]' \| \
3933 X"$as_dir" : 'X\(//\)$' \| \
3934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3935 $as_echo X"$as_dir" |
3936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3937 s//\1/
3938 q
3939 }
3940 /^X\(\/\/\)[^/].*/{
3941 s//\1/
3942 q
3943 }
3944 /^X\(\/\/\)$/{
3945 s//\1/
3946 q
3947 }
3948 /^X\(\/\).*/{
3949 s//\1/
3950 q
3951 }
3952 s/.*/./; q'`
3953 test -d "$as_dir" && break
3954 done
3955 test -z "$as_dirs" || eval "mkdir $as_dirs"
3956 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3957
3958
3959 } # as_fn_mkdir_p
34843960 if mkdir -p . 2>/dev/null; then
3485 as_mkdir_p=:
3961 as_mkdir_p='mkdir -p "$as_dir"'
34863962 else
34873963 test -d ./-p && rmdir ./-p
34883964 as_mkdir_p=false
34893965 fi
34903966
3491 as_executable_p="test -f"
3967 if test -x / >/dev/null 2>&1; then
3968 as_test_x='test -x'
3969 else
3970 if ls -dL / >/dev/null 2>&1; then
3971 as_ls_L_option=L
3972 else
3973 as_ls_L_option=
3974 fi
3975 as_test_x='
3976 eval sh -c '\''
3977 if test -d "$1"; then
3978 test -d "$1/.";
3979 else
3980 case $1 in #(
3981 -*)set "./$1";;
3982 esac;
3983 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3984 ???[sx]*):;;*)false;;esac;fi
3985 '\'' sh
3986 '
3987 fi
3988 as_executable_p=$as_test_x
34923989
34933990 # Sed expression to map a string onto a valid CPP name.
34943991 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34973994 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34983995
34993996
3500 # IFS
3501 # We need space, tab and new line, in precisely that order.
3502 as_nl='
3503 '
3504 IFS=" $as_nl"
3505
3506 # CDPATH.
3507 $as_unset CDPATH
3508
35093997 exec 6>&1
3510
3511 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3998 ## ----------------------------------- ##
3999 ## Main body of $CONFIG_STATUS script. ##
4000 ## ----------------------------------- ##
4001 _ASEOF
4002 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4003
4004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4005 # Save the log message, to keep $0 and so on meaningful, and to
35124006 # report actual input values of CONFIG_FILES etc. instead of their
3513 # values after options handling. Logging --version etc. is OK.
4007 # values after options handling.
4008 ac_log="
4009 This file was extended by $as_me, which was
4010 generated by GNU Autoconf 2.64. Invocation command line was
4011
4012 CONFIG_FILES = $CONFIG_FILES
4013 CONFIG_HEADERS = $CONFIG_HEADERS
4014 CONFIG_LINKS = $CONFIG_LINKS
4015 CONFIG_COMMANDS = $CONFIG_COMMANDS
4016 $ $0 $@
4017
4018 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4019 "
4020
4021 _ACEOF
4022
4023 case $ac_config_files in *"
4024 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4025 esac
4026
4027
4028
4029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4030 # Files that config.status was made for.
4031 config_files="$ac_config_files"
4032 config_commands="$ac_config_commands"
4033
4034 _ACEOF
4035
4036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4037 ac_cs_usage="\
4038 \`$as_me' instantiates files and other configuration actions
4039 from templates according to the current configuration. Unless the files
4040 and actions are specified as TAGs, all are instantiated by default.
4041
4042 Usage: $0 [OPTION]... [TAG]...
4043
4044 -h, --help print this help, then exit
4045 -V, --version print version number and configuration settings, then exit
4046 -q, --quiet, --silent
4047 do not print progress messages
4048 -d, --debug don't remove temporary files
4049 --recheck update $as_me by reconfiguring in the same conditions
4050 --file=FILE[:TEMPLATE]
4051 instantiate the configuration file FILE
4052
4053 Configuration files:
4054 $config_files
4055
4056 Configuration commands:
4057 $config_commands
4058
4059 Report bugs to the package provider."
4060
4061 _ACEOF
4062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4063 ac_cs_version="\\
4064 config.status
4065 configured by $0, generated by GNU Autoconf 2.64,
4066 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4067
4068 Copyright (C) 2009 Free Software Foundation, Inc.
4069 This config.status script is free software; the Free Software Foundation
4070 gives unlimited permission to copy, distribute and modify it."
4071
4072 ac_pwd='$ac_pwd'
4073 srcdir='$srcdir'
4074 INSTALL='$INSTALL'
4075 MKDIR_P='$MKDIR_P'
4076 AWK='$AWK'
4077 test -n "\$AWK" || AWK=awk
4078 _ACEOF
4079
4080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4081 # The default lists apply if the user does not specify any file.
4082 ac_need_defaults=:
4083 while test $# != 0
4084 do
4085 case $1 in
4086 --*=*)
4087 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4089 ac_shift=:
4090 ;;
4091 *)
4092 ac_option=$1
4093 ac_optarg=$2
4094 ac_shift=shift
4095 ;;
4096 esac
4097
4098 case $ac_option in
4099 # Handling of the options.
4100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4101 ac_cs_recheck=: ;;
4102 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4103 $as_echo "$ac_cs_version"; exit ;;
4104 --debug | --debu | --deb | --de | --d | -d )
4105 debug=: ;;
4106 --file | --fil | --fi | --f )
4107 $ac_shift
4108 case $ac_optarg in
4109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4110 esac
4111 as_fn_append CONFIG_FILES " '$ac_optarg'"
4112 ac_need_defaults=false;;
4113 --he | --h | --help | --hel | -h )
4114 $as_echo "$ac_cs_usage"; exit ;;
4115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4116 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4117 ac_cs_silent=: ;;
4118
4119 # This is an error.
4120 -*) as_fn_error "unrecognized option: \`$1'
4121 Try \`$0 --help' for more information." ;;
4122
4123 *) as_fn_append ac_config_targets " $1"
4124 ac_need_defaults=false ;;
4125
4126 esac
4127 shift
4128 done
4129
4130 ac_configure_extra_args=
4131
4132 if $ac_cs_silent; then
4133 exec 6>/dev/null
4134 ac_configure_extra_args="$ac_configure_extra_args --silent"
4135 fi
4136
4137 _ACEOF
4138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4139 if \$ac_cs_recheck; then
4140 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4141 shift
4142 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4143 CONFIG_SHELL='$SHELL'
4144 export CONFIG_SHELL
4145 exec "\$@"
4146 fi
4147
4148 _ACEOF
4149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35144150 exec 5>>config.log
35154151 {
35164152 echo
35174153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35184154 ## Running $as_me. ##
35194155 _ASBOX
4156 $as_echo "$ac_log"
35204157 } >&5
3521 cat >&5 <<_CSEOF
3522
3523 This file was extended by $as_me, which was
3524 generated by GNU Autoconf 2.59. Invocation command line was
3525
3526 CONFIG_FILES = $CONFIG_FILES
3527 CONFIG_HEADERS = $CONFIG_HEADERS
3528 CONFIG_LINKS = $CONFIG_LINKS
3529 CONFIG_COMMANDS = $CONFIG_COMMANDS
3530 $ $0 $@
3531
3532 _CSEOF
3533 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3534 echo >&5
4158
35354159 _ACEOF
3536
3537 # Files that config.status was made for.
3538 if test -n "$ac_config_files"; then
3539 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3540 fi
3541
3542 if test -n "$ac_config_headers"; then
3543 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3544 fi
3545
3546 if test -n "$ac_config_links"; then
3547 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3548 fi
3549
3550 if test -n "$ac_config_commands"; then
3551 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3552 fi
3553
3554 cat >>$CONFIG_STATUS <<\_ACEOF
3555
3556 ac_cs_usage="\
3557 \`$as_me' instantiates files from templates according to the
3558 current configuration.
3559
3560 Usage: $0 [OPTIONS] [FILE]...
3561
3562 -h, --help print this help, then exit
3563 -V, --version print version number, then exit
3564 -q, --quiet do not print progress messages
3565 -d, --debug don't remove temporary files
3566 --recheck update $as_me by reconfiguring in the same conditions
3567 --file=FILE[:TEMPLATE]
3568 instantiate the configuration file FILE
3569
3570 Configuration files:
3571 $config_files
3572
3573 Configuration commands:
3574 $config_commands
3575
3576 Report bugs to <bug-autoconf@gnu.org>."
4160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4161 #
4162 # INIT-COMMANDS
4163 #
4164 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4165
35774166 _ACEOF
35784167
3579 cat >>$CONFIG_STATUS <<_ACEOF
3580 ac_cs_version="\\
3581 config.status
3582 configured by $0, generated by GNU Autoconf 2.59,
3583 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3584
3585 Copyright (C) 2003 Free Software Foundation, Inc.
3586 This config.status script is free software; the Free Software Foundation
3587 gives unlimited permission to copy, distribute and modify it."
3588 srcdir=$srcdir
3589 INSTALL="$INSTALL"
3590 _ACEOF
3591
3592 cat >>$CONFIG_STATUS <<\_ACEOF
3593 # If no file are specified by the user, then we need to provide default
3594 # value. By we need to know if files were specified by the user.
3595 ac_need_defaults=:
3596 while test $# != 0
3597 do
3598 case $1 in
3599 --*=*)
3600 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3601 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3602 ac_shift=:
3603 ;;
3604 -*)
3605 ac_option=$1
3606 ac_optarg=$2
3607 ac_shift=shift
3608 ;;
3609 *) # This is not an option, so the user has probably given explicit
3610 # arguments.
3611 ac_option=$1
3612 ac_need_defaults=false;;
3613 esac
3614
3615 case $ac_option in
3616 # Handling of the options.
3617 _ACEOF
3618 cat >>$CONFIG_STATUS <<\_ACEOF
3619 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3620 ac_cs_recheck=: ;;
3621 --version | --vers* | -V )
3622 echo "$ac_cs_version"; exit 0 ;;
3623 --he | --h)
3624 # Conflict between --help and --header
3625 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3626 Try \`$0 --help' for more information." >&5
3627 echo "$as_me: error: ambiguous option: $1
3628 Try \`$0 --help' for more information." >&2;}
3629 { (exit 1); exit 1; }; };;
3630 --help | --hel | -h )
3631 echo "$ac_cs_usage"; exit 0 ;;
3632 --debug | --d* | -d )
3633 debug=: ;;
3634 --file | --fil | --fi | --f )
3635 $ac_shift
3636 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3637 ac_need_defaults=false;;
3638 --header | --heade | --head | --hea )
3639 $ac_shift
3640 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3641 ac_need_defaults=false;;
3642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3643 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3644 ac_cs_silent=: ;;
3645
3646 # This is an error.
3647 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3648 Try \`$0 --help' for more information." >&5
3649 echo "$as_me: error: unrecognized option: $1
3650 Try \`$0 --help' for more information." >&2;}
3651 { (exit 1); exit 1; }; } ;;
3652
3653 *) ac_config_targets="$ac_config_targets $1" ;;
3654
3655 esac
3656 shift
3657 done
3658
3659 ac_configure_extra_args=
3660
3661 if $ac_cs_silent; then
3662 exec 6>/dev/null
3663 ac_configure_extra_args="$ac_configure_extra_args --silent"
3664 fi
3665
3666 _ACEOF
3667 cat >>$CONFIG_STATUS <<_ACEOF
3668 if \$ac_cs_recheck; then
3669 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3670 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3671 fi
3672
3673 _ACEOF
3674
3675 cat >>$CONFIG_STATUS <<_ACEOF
3676 #
3677 # INIT-COMMANDS section.
3678 #
3679
3680 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3681
3682 _ACEOF
3683
3684
3685
3686 cat >>$CONFIG_STATUS <<\_ACEOF
4168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4169
4170 # Handling of arguments.
36874171 for ac_config_target in $ac_config_targets
36884172 do
3689 case "$ac_config_target" in
3690 # Handling of arguments.
3691 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3692 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3693 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3694 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3695 { (exit 1); exit 1; }; };;
4173 case $ac_config_target in
4174 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4175 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4176
4177 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
36964178 esac
36974179 done
4180
36984181
36994182 # If the user did not use the arguments to specify the items to instantiate,
37004183 # then the envvar interface is used. Set only those that are not.
37064189 fi
37074190
37084191 # Have a temporary directory for convenience. Make it in the build tree
3709 # simply because there is no reason to put it here, and in addition,
4192 # simply because there is no reason against having it here, and in addition,
37104193 # creating and moving files from /tmp can sometimes cause problems.
3711 # Create a temporary directory, and hook for its removal unless debugging.
4194 # Hook for its removal unless debugging.
4195 # Note that there is a small window in which the directory will not be cleaned:
4196 # after its creation but before its name has been assigned to `$tmp'.
37124197 $debug ||
37134198 {
3714 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3715 trap '{ (exit 1); exit 1; }' 1 2 13 15
4199 tmp=
4200 trap 'exit_status=$?
4201 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4202 ' 0
4203 trap 'as_fn_exit 1' 1 2 13 15
37164204 }
3717
37184205 # Create a (secure) tmp directory for tmp files.
37194206
37204207 {
3721 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4208 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
37224209 test -n "$tmp" && test -d "$tmp"
37234210 } ||
37244211 {
3725 tmp=./confstat$$-$RANDOM
3726 (umask 077 && mkdir $tmp)
3727 } ||
4212 tmp=./conf$$-$RANDOM
4213 (umask 077 && mkdir "$tmp")
4214 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4215
4216 # Set up the scripts for CONFIG_FILES section.
4217 # No need to generate them if there are no CONFIG_FILES.
4218 # This happens for instance with `./config.status config.h'.
4219 if test -n "$CONFIG_FILES"; then
4220
4221
4222 ac_cr=`echo X | tr X '\015'`
4223 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4224 # But we know of no other shell where ac_cr would be empty at this
4225 # point, so we can use a bashism as a fallback.
4226 if test "x$ac_cr" = x; then
4227 eval ac_cr=\$\'\\r\'
4228 fi
4229 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4230 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4231 ac_cs_awk_cr='\r'
4232 else
4233 ac_cs_awk_cr=$ac_cr
4234 fi
4235
4236 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4237 _ACEOF
4238
4239
37284240 {
3729 echo "$me: cannot create a temporary directory in ." >&2
3730 { (exit 1); exit 1; }
4241 echo "cat >conf$$subs.awk <<_ACEOF" &&
4242 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4243 echo "_ACEOF"
4244 } >conf$$subs.sh ||
4245 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4246 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4247 ac_delim='%!_!# '
4248 for ac_last_try in false false false false false :; do
4249 . ./conf$$subs.sh ||
4250 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4251
4252 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4253 if test $ac_delim_n = $ac_delim_num; then
4254 break
4255 elif $ac_last_try; then
4256 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4257 else
4258 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4259 fi
4260 done
4261 rm -f conf$$subs.sh
4262
4263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4264 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4265 _ACEOF
4266 sed -n '
4267 h
4268 s/^/S["/; s/!.*/"]=/
4269 p
4270 g
4271 s/^[^!]*!//
4272 :repl
4273 t repl
4274 s/'"$ac_delim"'$//
4275 t delim
4276 :nl
4277 h
4278 s/\(.\{148\}\).*/\1/
4279 t more1
4280 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4281 p
4282 n
4283 b repl
4284 :more1
4285 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4286 p
4287 g
4288 s/.\{148\}//
4289 t nl
4290 :delim
4291 h
4292 s/\(.\{148\}\).*/\1/
4293 t more2
4294 s/["\\]/\\&/g; s/^/"/; s/$/"/
4295 p
4296 b
4297 :more2
4298 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4299 p
4300 g
4301 s/.\{148\}//
4302 t delim
4303 ' <conf$$subs.awk | sed '
4304 /^[^""]/{
4305 N
4306 s/\n//
37314307 }
3732
4308 ' >>$CONFIG_STATUS || ac_write_fail=1
4309 rm -f conf$$subs.awk
4310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4311 _ACAWK
4312 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4313 for (key in S) S_is_set[key] = 1
4314 FS = ""
4315
4316 }
4317 {
4318 line = $ 0
4319 nfields = split(line, field, "@")
4320 substed = 0
4321 len = length(field[1])
4322 for (i = 2; i < nfields; i++) {
4323 key = field[i]
4324 keylen = length(key)
4325 if (S_is_set[key]) {
4326 value = S[key]
4327 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4328 len += length(value) + length(field[++i])
4329 substed = 1
4330 } else
4331 len += 1 + keylen
4332 }
4333
4334 print line
4335 }
4336
4337 _ACAWK
37334338 _ACEOF
3734
3735 cat >>$CONFIG_STATUS <<_ACEOF
3736
3737 #
3738 # CONFIG_FILES section.
3739 #
3740
3741 # No need to generate the scripts if there are no CONFIG_FILES.
3742 # This happens for instance when ./config.status config.h
3743 if test -n "\$CONFIG_FILES"; then
3744 # Protect against being on the right side of a sed subst in config.status.
3745 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3746 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3747 s,@SHELL@,$SHELL,;t t
3748 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3749 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3750 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3751 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3752 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3753 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3754 s,@exec_prefix@,$exec_prefix,;t t
3755 s,@prefix@,$prefix,;t t
3756 s,@program_transform_name@,$program_transform_name,;t t
3757 s,@bindir@,$bindir,;t t
3758 s,@sbindir@,$sbindir,;t t
3759 s,@libexecdir@,$libexecdir,;t t
3760 s,@datadir@,$datadir,;t t
3761 s,@sysconfdir@,$sysconfdir,;t t
3762 s,@sharedstatedir@,$sharedstatedir,;t t
3763 s,@localstatedir@,$localstatedir,;t t
3764 s,@libdir@,$libdir,;t t
3765 s,@includedir@,$includedir,;t t
3766 s,@oldincludedir@,$oldincludedir,;t t
3767 s,@infodir@,$infodir,;t t
3768 s,@mandir@,$mandir,;t t
3769 s,@build_alias@,$build_alias,;t t
3770 s,@host_alias@,$host_alias,;t t
3771 s,@target_alias@,$target_alias,;t t
3772 s,@DEFS@,$DEFS,;t t
3773 s,@ECHO_C@,$ECHO_C,;t t
3774 s,@ECHO_N@,$ECHO_N,;t t
3775 s,@ECHO_T@,$ECHO_T,;t t
3776 s,@LIBS@,$LIBS,;t t
3777 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3778 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3779 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3780 s,@CYGPATH_W@,$CYGPATH_W,;t t
3781 s,@PACKAGE@,$PACKAGE,;t t
3782 s,@VERSION@,$VERSION,;t t
3783 s,@ACLOCAL@,$ACLOCAL,;t t
3784 s,@AUTOCONF@,$AUTOCONF,;t t
3785 s,@AUTOMAKE@,$AUTOMAKE,;t t
3786 s,@AUTOHEADER@,$AUTOHEADER,;t t
3787 s,@MAKEINFO@,$MAKEINFO,;t t
3788 s,@install_sh@,$install_sh,;t t
3789 s,@STRIP@,$STRIP,;t t
3790 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3791 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3792 s,@mkdir_p@,$mkdir_p,;t t
3793 s,@AWK@,$AWK,;t t
3794 s,@SET_MAKE@,$SET_MAKE,;t t
3795 s,@am__leading_dot@,$am__leading_dot,;t t
3796 s,@AMTAR@,$AMTAR,;t t
3797 s,@am__tar@,$am__tar,;t t
3798 s,@am__untar@,$am__untar,;t t
3799 s,@CC@,$CC,;t t
3800 s,@CFLAGS@,$CFLAGS,;t t
3801 s,@LDFLAGS@,$LDFLAGS,;t t
3802 s,@CPPFLAGS@,$CPPFLAGS,;t t
3803 s,@ac_ct_CC@,$ac_ct_CC,;t t
3804 s,@EXEEXT@,$EXEEXT,;t t
3805 s,@OBJEXT@,$OBJEXT,;t t
3806 s,@DEPDIR@,$DEPDIR,;t t
3807 s,@am__include@,$am__include,;t t
3808 s,@am__quote@,$am__quote,;t t
3809 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3810 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3811 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3812 s,@CCDEPMODE@,$CCDEPMODE,;t t
3813 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3814 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3815 s,@CURL_CONFIG@,$CURL_CONFIG,;t t
3816 s,@CURLCFLAGS@,$CURLCFLAGS,;t t
3817 s,@CURLLDFLAGS@,$CURLLDFLAGS,;t t
3818 s,@LIBOBJS@,$LIBOBJS,;t t
3819 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3820 CEOF
3821
4339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4340 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4341 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4342 else
4343 cat
4344 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4345 || as_fn_error "could not setup config files machinery" "$LINENO" 5
38224346 _ACEOF
38234347
3824 cat >>$CONFIG_STATUS <<\_ACEOF
3825 # Split the substitutions into bite-sized pieces for seds with
3826 # small command number limits, like on Digital OSF/1 and HP-UX.
3827 ac_max_sed_lines=48
3828 ac_sed_frag=1 # Number of current file.
3829 ac_beg=1 # First line for current file.
3830 ac_end=$ac_max_sed_lines # Line after last line for current file.
3831 ac_more_lines=:
3832 ac_sed_cmds=
3833 while $ac_more_lines; do
3834 if test $ac_beg -gt 1; then
3835 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3836 else
3837 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4348 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4349 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4350 # trailing colons and then remove the whole line if VPATH becomes empty
4351 # (actually we leave an empty line to preserve line numbers).
4352 if test "x$srcdir" = x.; then
4353 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4354 s/:*\$(srcdir):*/:/
4355 s/:*\${srcdir}:*/:/
4356 s/:*@srcdir@:*/:/
4357 s/^\([^=]*=[ ]*\):*/\1/
4358 s/:*$//
4359 s/^[^=]*=[ ]*$//
4360 }'
4361 fi
4362
4363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4364 fi # test -n "$CONFIG_FILES"
4365
4366
4367 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4368 shift
4369 for ac_tag
4370 do
4371 case $ac_tag in
4372 :[FHLC]) ac_mode=$ac_tag; continue;;
4373 esac
4374 case $ac_mode$ac_tag in
4375 :[FHL]*:*);;
4376 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4377 :[FH]-) ac_tag=-:-;;
4378 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4379 esac
4380 ac_save_IFS=$IFS
4381 IFS=:
4382 set x $ac_tag
4383 IFS=$ac_save_IFS
4384 shift
4385 ac_file=$1
4386 shift
4387
4388 case $ac_mode in
4389 :L) ac_source=$1;;
4390 :[FH])
4391 ac_file_inputs=
4392 for ac_f
4393 do
4394 case $ac_f in
4395 -) ac_f="$tmp/stdin";;
4396 *) # Look for the file first in the build tree, then in the source tree
4397 # (if the path is not absolute). The absolute path cannot be DOS-style,
4398 # because $ac_f cannot contain `:'.
4399 test -f "$ac_f" ||
4400 case $ac_f in
4401 [\\/$]*) false;;
4402 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4403 esac ||
4404 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4405 esac
4406 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4407 as_fn_append ac_file_inputs " '$ac_f'"
4408 done
4409
4410 # Let's still pretend it is `configure' which instantiates (i.e., don't
4411 # use $as_me), people would be surprised to read:
4412 # /* config.h. Generated by config.status. */
4413 configure_input='Generated from '`
4414 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4415 `' by configure.'
4416 if test x"$ac_file" != x-; then
4417 configure_input="$ac_file. $configure_input"
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4419 $as_echo "$as_me: creating $ac_file" >&6;}
38384420 fi
3839 if test ! -s $tmp/subs.frag; then
3840 ac_more_lines=false
3841 else
3842 # The purpose of the label and of the branching condition is to
3843 # speed up the sed processing (if there are no `@' at all, there
3844 # is no need to browse any of the substitutions).
3845 # These are the two extra sed commands mentioned above.
3846 (echo ':t
3847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3848 if test -z "$ac_sed_cmds"; then
3849 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3850 else
3851 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3852 fi
3853 ac_sed_frag=`expr $ac_sed_frag + 1`
3854 ac_beg=$ac_end
3855 ac_end=`expr $ac_end + $ac_max_sed_lines`
3856 fi
3857 done
3858 if test -z "$ac_sed_cmds"; then
3859 ac_sed_cmds=cat
3860 fi
3861 fi # test -n "$CONFIG_FILES"
3862
3863 _ACEOF
3864 cat >>$CONFIG_STATUS <<\_ACEOF
3865 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3866 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3867 case $ac_file in
3868 - | *:- | *:-:* ) # input from stdin
3869 cat >$tmp/stdin
3870 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3871 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3872 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3873 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3874 * ) ac_file_in=$ac_file.in ;;
4421 # Neutralize special characters interpreted by sed in replacement strings.
4422 case $configure_input in #(
4423 *\&* | *\|* | *\\* )
4424 ac_sed_conf_input=`$as_echo "$configure_input" |
4425 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4426 *) ac_sed_conf_input=$configure_input;;
4427 esac
4428
4429 case $ac_tag in
4430 *:-:* | *:-) cat >"$tmp/stdin" \
4431 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4432 esac
4433 ;;
38754434 esac
38764435
3877 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3878 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4436 ac_dir=`$as_dirname -- "$ac_file" ||
38794437 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38804438 X"$ac_file" : 'X\(//\)[^/]' \| \
38814439 X"$ac_file" : 'X\(//\)$' \| \
3882 X"$ac_file" : 'X\(/\)' \| \
3883 . : '\(.\)' 2>/dev/null ||
3884 echo X"$ac_file" |
3885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3886 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3887 /^X\(\/\/\)$/{ s//\1/; q; }
3888 /^X\(\/\).*/{ s//\1/; q; }
3889 s/.*/./; q'`
3890 { if $as_mkdir_p; then
3891 mkdir -p "$ac_dir"
3892 else
3893 as_dir="$ac_dir"
3894 as_dirs=
3895 while test ! -d "$as_dir"; do
3896 as_dirs="$as_dir $as_dirs"
3897 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3898 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3899 X"$as_dir" : 'X\(//\)[^/]' \| \
3900 X"$as_dir" : 'X\(//\)$' \| \
3901 X"$as_dir" : 'X\(/\)' \| \
3902 . : '\(.\)' 2>/dev/null ||
3903 echo X"$as_dir" |
3904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3906 /^X\(\/\/\)$/{ s//\1/; q; }
3907 /^X\(\/\).*/{ s//\1/; q; }
3908 s/.*/./; q'`
3909 done
3910 test ! -n "$as_dirs" || mkdir $as_dirs
3911 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3912 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3913 { (exit 1); exit 1; }; }; }
3914
4440 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4441 $as_echo X"$ac_file" |
4442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4443 s//\1/
4444 q
4445 }
4446 /^X\(\/\/\)[^/].*/{
4447 s//\1/
4448 q
4449 }
4450 /^X\(\/\/\)$/{
4451 s//\1/
4452 q
4453 }
4454 /^X\(\/\).*/{
4455 s//\1/
4456 q
4457 }
4458 s/.*/./; q'`
4459 as_dir="$ac_dir"; as_fn_mkdir_p
39154460 ac_builddir=.
39164461
3917 if test "$ac_dir" != .; then
3918 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3919 # A "../" for each directory in $ac_dir_suffix.
3920 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3921 else
3922 ac_dir_suffix= ac_top_builddir=
3923 fi
4462 case "$ac_dir" in
4463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4464 *)
4465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4466 # A ".." for each directory in $ac_dir_suffix.
4467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4468 case $ac_top_builddir_sub in
4469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4471 esac ;;
4472 esac
4473 ac_abs_top_builddir=$ac_pwd
4474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4475 # for backward compatibility:
4476 ac_top_builddir=$ac_top_build_prefix
39244477
39254478 case $srcdir in
3926 .) # No --srcdir option. We are building in place.
4479 .) # We are building in place.
39274480 ac_srcdir=.
3928 if test -z "$ac_top_builddir"; then
3929 ac_top_srcdir=.
3930 else
3931 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3932 fi ;;
3933 [\\/]* | ?:[\\/]* ) # Absolute path.
4481 ac_top_srcdir=$ac_top_builddir_sub
4482 ac_abs_top_srcdir=$ac_pwd ;;
4483 [\\/]* | ?:[\\/]* ) # Absolute name.
39344484 ac_srcdir=$srcdir$ac_dir_suffix;
3935 ac_top_srcdir=$srcdir ;;
3936 *) # Relative path.
3937 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3938 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4485 ac_top_srcdir=$srcdir
4486 ac_abs_top_srcdir=$srcdir ;;
4487 *) # Relative name.
4488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4489 ac_top_srcdir=$ac_top_build_prefix$srcdir
4490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
39394491 esac
3940
3941 # Do not use `cd foo && pwd` to compute absolute paths, because
3942 # the directories may not exist.
3943 case `pwd` in
3944 .) ac_abs_builddir="$ac_dir";;
3945 *)
3946 case "$ac_dir" in
3947 .) ac_abs_builddir=`pwd`;;
3948 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3949 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3950 esac;;
3951 esac
3952 case $ac_abs_builddir in
3953 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3954 *)
3955 case ${ac_top_builddir}. in
3956 .) ac_abs_top_builddir=$ac_abs_builddir;;
3957 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3958 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3959 esac;;
3960 esac
3961 case $ac_abs_builddir in
3962 .) ac_abs_srcdir=$ac_srcdir;;
3963 *)
3964 case $ac_srcdir in
3965 .) ac_abs_srcdir=$ac_abs_builddir;;
3966 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3967 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3968 esac;;
3969 esac
3970 case $ac_abs_builddir in
3971 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3972 *)
3973 case $ac_top_srcdir in
3974 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3975 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3976 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3977 esac;;
3978 esac
3979
4492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4493
4494
4495 case $ac_mode in
4496 :F)
4497 #
4498 # CONFIG_FILE
4499 #
39804500
39814501 case $INSTALL in
39824502 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3983 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4503 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
39844504 esac
3985
3986 if test x"$ac_file" != x-; then
3987 { echo "$as_me:$LINENO: creating $ac_file" >&5
3988 echo "$as_me: creating $ac_file" >&6;}
3989 rm -f "$ac_file"
3990 fi
3991 # Let's still pretend it is `configure' which instantiates (i.e., don't
3992 # use $as_me), people would be surprised to read:
3993 # /* config.h. Generated by config.status. */
3994 if test x"$ac_file" = x-; then
3995 configure_input=
3996 else
3997 configure_input="$ac_file. "
3998 fi
3999 configure_input=$configure_input"Generated from `echo $ac_file_in |
4000 sed 's,.*/,,'` by configure."
4001
4002 # First look for the input files in the build tree, otherwise in the
4003 # src tree.
4004 ac_file_inputs=`IFS=:
4005 for f in $ac_file_in; do
4006 case $f in
4007 -) echo $tmp/stdin ;;
4008 [\\/$]*)
4009 # Absolute (can't be DOS-style, as IFS=:)
4010 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4011 echo "$as_me: error: cannot find input file: $f" >&2;}
4012 { (exit 1); exit 1; }; }
4013 echo "$f";;
4014 *) # Relative
4015 if test -f "$f"; then
4016 # Build tree
4017 echo "$f"
4018 elif test -f "$srcdir/$f"; then
4019 # Source tree
4020 echo "$srcdir/$f"
4021 else
4022 # /dev/null tree
4023 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4024 echo "$as_me: error: cannot find input file: $f" >&2;}
4025 { (exit 1); exit 1; }; }
4026 fi;;
4027 esac
4028 done` || { (exit 1); exit 1; }
4505 ac_MKDIR_P=$MKDIR_P
4506 case $MKDIR_P in
4507 [\\/$]* | ?:[\\/]* ) ;;
4508 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4509 esac
40294510 _ACEOF
4030 cat >>$CONFIG_STATUS <<_ACEOF
4031 sed "$ac_vpsub
4511
4512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4513 # If the template does not know about datarootdir, expand it.
4514 # FIXME: This hack should be removed a few years after 2.60.
4515 ac_datarootdir_hack=; ac_datarootdir_seen=
4516 ac_sed_dataroot='
4517 /datarootdir/ {
4518 p
4519 q
4520 }
4521 /@datadir@/p
4522 /@docdir@/p
4523 /@infodir@/p
4524 /@localedir@/p
4525 /@mandir@/p'
4526 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4527 *datarootdir*) ac_datarootdir_seen=yes;;
4528 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4530 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4531 _ACEOF
4532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4533 ac_datarootdir_hack='
4534 s&@datadir@&$datadir&g
4535 s&@docdir@&$docdir&g
4536 s&@infodir@&$infodir&g
4537 s&@localedir@&$localedir&g
4538 s&@mandir@&$mandir&g
4539 s&\\\${datarootdir}&$datarootdir&g' ;;
4540 esac
4541 _ACEOF
4542
4543 # Neutralize VPATH when `$srcdir' = `.'.
4544 # Shell code in configure.ac might set extrasub.
4545 # FIXME: do we really want to maintain this feature?
4546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4547 ac_sed_extra="$ac_vpsub
40324548 $extrasub
40334549 _ACEOF
4034 cat >>$CONFIG_STATUS <<\_ACEOF
4550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40354551 :t
40364552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4037 s,@configure_input@,$configure_input,;t t
4038 s,@srcdir@,$ac_srcdir,;t t
4039 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4040 s,@top_srcdir@,$ac_top_srcdir,;t t
4041 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4042 s,@builddir@,$ac_builddir,;t t
4043 s,@abs_builddir@,$ac_abs_builddir,;t t
4044 s,@top_builddir@,$ac_top_builddir,;t t
4045 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4046 s,@INSTALL@,$ac_INSTALL,;t t
4047 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4048 rm -f $tmp/stdin
4049 if test x"$ac_file" != x-; then
4050 mv $tmp/out $ac_file
4051 else
4052 cat $tmp/out
4053 rm -f $tmp/out
4054 fi
4055
4056 done
4057 _ACEOF
4058 cat >>$CONFIG_STATUS <<\_ACEOF
4059
4060 #
4061 # CONFIG_COMMANDS section.
4062 #
4063 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4064 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4065 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4066 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4067 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4068 X"$ac_dest" : 'X\(//\)[^/]' \| \
4069 X"$ac_dest" : 'X\(//\)$' \| \
4070 X"$ac_dest" : 'X\(/\)' \| \
4071 . : '\(.\)' 2>/dev/null ||
4072 echo X"$ac_dest" |
4073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4075 /^X\(\/\/\)$/{ s//\1/; q; }
4076 /^X\(\/\).*/{ s//\1/; q; }
4077 s/.*/./; q'`
4078 { if $as_mkdir_p; then
4079 mkdir -p "$ac_dir"
4080 else
4081 as_dir="$ac_dir"
4082 as_dirs=
4083 while test ! -d "$as_dir"; do
4084 as_dirs="$as_dir $as_dirs"
4085 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4087 X"$as_dir" : 'X\(//\)[^/]' \| \
4088 X"$as_dir" : 'X\(//\)$' \| \
4089 X"$as_dir" : 'X\(/\)' \| \
4090 . : '\(.\)' 2>/dev/null ||
4091 echo X"$as_dir" |
4092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4094 /^X\(\/\/\)$/{ s//\1/; q; }
4095 /^X\(\/\).*/{ s//\1/; q; }
4096 s/.*/./; q'`
4097 done
4098 test ! -n "$as_dirs" || mkdir $as_dirs
4099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4101 { (exit 1); exit 1; }; }; }
4102
4103 ac_builddir=.
4104
4105 if test "$ac_dir" != .; then
4106 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4107 # A "../" for each directory in $ac_dir_suffix.
4108 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4109 else
4110 ac_dir_suffix= ac_top_builddir=
4111 fi
4112
4113 case $srcdir in
4114 .) # No --srcdir option. We are building in place.
4115 ac_srcdir=.
4116 if test -z "$ac_top_builddir"; then
4117 ac_top_srcdir=.
4118 else
4119 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4120 fi ;;
4121 [\\/]* | ?:[\\/]* ) # Absolute path.
4122 ac_srcdir=$srcdir$ac_dir_suffix;
4123 ac_top_srcdir=$srcdir ;;
4124 *) # Relative path.
4125 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4126 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4127 esac
4128
4129 # Do not use `cd foo && pwd` to compute absolute paths, because
4130 # the directories may not exist.
4131 case `pwd` in
4132 .) ac_abs_builddir="$ac_dir";;
4133 *)
4134 case "$ac_dir" in
4135 .) ac_abs_builddir=`pwd`;;
4136 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4137 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4138 esac;;
4139 esac
4140 case $ac_abs_builddir in
4141 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4142 *)
4143 case ${ac_top_builddir}. in
4144 .) ac_abs_top_builddir=$ac_abs_builddir;;
4145 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4146 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4147 esac;;
4148 esac
4149 case $ac_abs_builddir in
4150 .) ac_abs_srcdir=$ac_srcdir;;
4151 *)
4152 case $ac_srcdir in
4153 .) ac_abs_srcdir=$ac_abs_builddir;;
4154 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4155 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4156 esac;;
4157 esac
4158 case $ac_abs_builddir in
4159 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4160 *)
4161 case $ac_top_srcdir in
4162 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4163 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4164 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4165 esac;;
4166 esac
4167
4168
4169 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4170 echo "$as_me: executing $ac_dest commands" >&6;}
4171 case $ac_dest in
4172 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4173 # Strip MF so we end up with the name of the file.
4174 mf=`echo "$mf" | sed -e 's/:.*$//'`
4175 # Check whether this is an Automake generated Makefile or not.
4176 # We used to match only the files named `Makefile.in', but
4177 # some people rename them; so instead we look at the file content.
4178 # Grep'ing the first line is not enough: some people post-process
4179 # each Makefile.in and add a new line on top of each file to say so.
4180 # So let's grep whole file.
4181 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4182 dirpart=`(dirname "$mf") 2>/dev/null ||
4553 s|@configure_input@|$ac_sed_conf_input|;t t
4554 s&@top_builddir@&$ac_top_builddir_sub&;t t
4555 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4556 s&@srcdir@&$ac_srcdir&;t t
4557 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4558 s&@top_srcdir@&$ac_top_srcdir&;t t
4559 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4560 s&@builddir@&$ac_builddir&;t t
4561 s&@abs_builddir@&$ac_abs_builddir&;t t
4562 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4563 s&@INSTALL@&$ac_INSTALL&;t t
4564 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4565 $ac_datarootdir_hack
4566 "
4567 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4568 || as_fn_error "could not create $ac_file" "$LINENO" 5
4569
4570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4571 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4574 which seems to be undefined. Please make sure it is defined." >&5
4575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4576 which seems to be undefined. Please make sure it is defined." >&2;}
4577
4578 rm -f "$tmp/stdin"
4579 case $ac_file in
4580 -) cat "$tmp/out" && rm -f "$tmp/out";;
4581 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4582 esac \
4583 || as_fn_error "could not create $ac_file" "$LINENO" 5
4584 ;;
4585
4586
4587 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4588 $as_echo "$as_me: executing $ac_file commands" >&6;}
4589 ;;
4590 esac
4591
4592
4593 case $ac_file$ac_mode in
4594 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4595 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4596 # are listed without --file. Let's play safe and only enable the eval
4597 # if we detect the quoting.
4598 case $CONFIG_FILES in
4599 *\'*) eval set x "$CONFIG_FILES" ;;
4600 *) set x $CONFIG_FILES ;;
4601 esac
4602 shift
4603 for mf
4604 do
4605 # Strip MF so we end up with the name of the file.
4606 mf=`echo "$mf" | sed -e 's/:.*$//'`
4607 # Check whether this is an Automake generated Makefile or not.
4608 # We used to match only the files named `Makefile.in', but
4609 # some people rename them; so instead we look at the file content.
4610 # Grep'ing the first line is not enough: some people post-process
4611 # each Makefile.in and add a new line on top of each file to say so.
4612 # Grep'ing the whole file is not good either: AIX grep has a line
4613 # limit of 2048, but all sed's we know have understand at least 4000.
4614 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4615 dirpart=`$as_dirname -- "$mf" ||
41834616 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41844617 X"$mf" : 'X\(//\)[^/]' \| \
41854618 X"$mf" : 'X\(//\)$' \| \
4186 X"$mf" : 'X\(/\)' \| \
4187 . : '\(.\)' 2>/dev/null ||
4188 echo X"$mf" |
4189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4191 /^X\(\/\/\)$/{ s//\1/; q; }
4192 /^X\(\/\).*/{ s//\1/; q; }
4193 s/.*/./; q'`
4194 else
4195 continue
4196 fi
4197 # Extract the definition of DEPDIR, am__include, and am__quote
4198 # from the Makefile without running `make'.
4199 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4200 test -z "$DEPDIR" && continue
4201 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4202 test -z "am__include" && continue
4203 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4204 # When using ansi2knr, U may be empty or an underscore; expand it
4205 U=`sed -n 's/^U = //p' < "$mf"`
4206 # Find all dependency output files, they are included files with
4207 # $(DEPDIR) in their names. We invoke sed twice because it is the
4208 # simplest approach to changing $(DEPDIR) to its actual value in the
4209 # expansion.
4210 for file in `sed -n "
4211 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4212 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4213 # Make sure the directory exists.
4214 test -f "$dirpart/$file" && continue
4215 fdir=`(dirname "$file") 2>/dev/null ||
4619 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4620 $as_echo X"$mf" |
4621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4622 s//\1/
4623 q
4624 }
4625 /^X\(\/\/\)[^/].*/{
4626 s//\1/
4627 q
4628 }
4629 /^X\(\/\/\)$/{
4630 s//\1/
4631 q
4632 }
4633 /^X\(\/\).*/{
4634 s//\1/
4635 q
4636 }
4637 s/.*/./; q'`
4638 else
4639 continue
4640 fi
4641 # Extract the definition of DEPDIR, am__include, and am__quote
4642 # from the Makefile without running `make'.
4643 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4644 test -z "$DEPDIR" && continue
4645 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4646 test -z "am__include" && continue
4647 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4648 # When using ansi2knr, U may be empty or an underscore; expand it
4649 U=`sed -n 's/^U = //p' < "$mf"`
4650 # Find all dependency output files, they are included files with
4651 # $(DEPDIR) in their names. We invoke sed twice because it is the
4652 # simplest approach to changing $(DEPDIR) to its actual value in the
4653 # expansion.
4654 for file in `sed -n "
4655 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4656 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4657 # Make sure the directory exists.
4658 test -f "$dirpart/$file" && continue
4659 fdir=`$as_dirname -- "$file" ||
42164660 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42174661 X"$file" : 'X\(//\)[^/]' \| \
42184662 X"$file" : 'X\(//\)$' \| \
4219 X"$file" : 'X\(/\)' \| \
4220 . : '\(.\)' 2>/dev/null ||
4221 echo X"$file" |
4222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4224 /^X\(\/\/\)$/{ s//\1/; q; }
4225 /^X\(\/\).*/{ s//\1/; q; }
4226 s/.*/./; q'`
4227 { if $as_mkdir_p; then
4228 mkdir -p $dirpart/$fdir
4229 else
4230 as_dir=$dirpart/$fdir
4231 as_dirs=
4232 while test ! -d "$as_dir"; do
4233 as_dirs="$as_dir $as_dirs"
4234 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4236 X"$as_dir" : 'X\(//\)[^/]' \| \
4237 X"$as_dir" : 'X\(//\)$' \| \
4238 X"$as_dir" : 'X\(/\)' \| \
4239 . : '\(.\)' 2>/dev/null ||
4240 echo X"$as_dir" |
4241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4243 /^X\(\/\/\)$/{ s//\1/; q; }
4244 /^X\(\/\).*/{ s//\1/; q; }
4245 s/.*/./; q'`
4663 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4664 $as_echo X"$file" |
4665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4666 s//\1/
4667 q
4668 }
4669 /^X\(\/\/\)[^/].*/{
4670 s//\1/
4671 q
4672 }
4673 /^X\(\/\/\)$/{
4674 s//\1/
4675 q
4676 }
4677 /^X\(\/\).*/{
4678 s//\1/
4679 q
4680 }
4681 s/.*/./; q'`
4682 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4683 # echo "creating $dirpart/$file"
4684 echo '# dummy' > "$dirpart/$file"
42464685 done
4247 test ! -n "$as_dirs" || mkdir $as_dirs
4248 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4249 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4250 { (exit 1); exit 1; }; }; }
4251
4252 # echo "creating $dirpart/$file"
4253 echo '# dummy' > "$dirpart/$file"
42544686 done
4255 done
4687 }
42564688 ;;
4689
42574690 esac
4258 done
4691 done # for ac_tag
4692
4693
4694 as_fn_exit 0
42594695 _ACEOF
4260
4261 cat >>$CONFIG_STATUS <<\_ACEOF
4262
4263 { (exit 0); exit 0; }
4264 _ACEOF
4265 chmod +x $CONFIG_STATUS
42664696 ac_clean_files=$ac_clean_files_save
4697
4698 test $ac_write_fail = 0 ||
4699 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
42674700
42684701
42694702 # configure is writing to config.log, and then calls config.status.
42844717 exec 5>>config.log
42854718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42864719 # would make configure fail if this is the last instruction.
4287 $ac_cs_success || { (exit 1); exit 1; }
4288 fi
4289
4720 $ac_cs_success || as_fn_exit $?
4721 fi
4722 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4724 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4725 fi
4726
00 AC_INIT(esniper.c)
1 AM_INIT_AUTOMAKE(esniper,2.19.0)
1 AM_INIT_AUTOMAKE(esniper,2.20.0)
22 AC_PROG_CC
33 AC_PROG_MAKE_SET
44
0 esniper (2.20.0-1) unstable; urgency=low
1
2 * New upstream release (Closes: #539413)
3
4 -- Dima Barsky <dima@debian.org> Sat, 17 Oct 2009 23:09:05 +0100
5
06 esniper (2.19.0-1) unstable; urgency=low
17
28 * New upstream release
22 Priority: extra
33 Maintainer: Dima Barsky <dima@debian.org>
44 Build-Depends: debhelper (>= 5), autotools-dev, libcurl4-openssl-dev (>= 7.16.2-3), comerr-dev (>= 1.33), libidn11-dev (>= 0.5.18), libssl-dev (>= 0.9.8c), libkrb5-dev (>= 1.4.2), zlib1g-dev (>= 1:1.2.1)
5 Standards-Version: 3.8.0
5 Standards-Version: 3.8.3
66
77 Package: esniper
88 Architecture: any
233233 memSkip(mp, 1);
234234 free(aip->remainRaw);
235235 aip->remainRaw = myStrdup(getNonTag(mp));
236 if (!strcasecmp(aip->remainRaw, "Duration:")) {
237 /* Duration may follow Time left. If we
238 * see this, time left must be empty. Assume 1 second.
239 */
240 free(aip->remainRaw);
241 aip->remainRaw = myStrdup("");
242 aip->remain = 1;
243 }
236244 if (!strcasecmp(aip->remainRaw, "Refresh")) {
237245 /* Refresh is the label on the next button. If we
238246 * see this, time left must be empty. Assume 1 second.
625633 static char ended[] = "ended";
626634 long accum = 0;
627635 long num;
636
637 /* skip leading space */
638 while (*timestr && isspace((int)*timestr))
639 ++timestr;
628640
629641 /* Time is blank in transition between "Time left: 1 seconds" and
630642 * "Time left: auction has ended". I don't know if blank means
141141 {
142142 const char *nonNullData = data ? data : "";
143143 memBuf_t *mp = (memBuf_t *)myMalloc(sizeof(memBuf_t));
144 char *metaRefresh;
144145
145146 mp->memory = mp->readptr = NULL;
146147 mp->size = 0;
173174 if ((curlrc = curl_easy_perform(easyhandle)))
174175 return httpRequestFailed(mp);
175176
177 log(("checking for META Refresh"));
178 if((metaRefresh = memGetMetaRefresh(mp)) != NULL)
179 {
180 log(("page redirection by META Refresh: %s\n", metaRefresh));
181 freeMembuf(mp);
182 return httpGet(metaRefresh, NULL);
183 }
184
176185 return mp;
177186 }
178187
330339 if (ret)
331340 mp->readptr = ret;
332341 return ret;
342 }
343
344 /* get META refresh URL (if any) */
345 char *
346 memGetMetaRefresh(memBuf_t *mp)
347 {
348 char *cp;
349 static char *buf = NULL;
350 char *bufptr;
351 static int bufsize = 0;
352 char c;
353 char *metaRefresh = NULL;
354
355 if(!buf)
356 {
357 bufsize = 1024;
358 buf = myMalloc(bufsize);
359 }
360
361 /* look for all "meta" tags until Refresh found */
362 while(!metaRefresh && (cp = memStr(mp, "<meta")) != NULL)
363 {
364 bufptr = buf;
365 /* copy whole tag to buffer for processing */
366 do
367 {
368 *bufptr++ = c = memGetc(mp);
369 if(bufptr > buf + (bufsize -1))
370 {
371 bufsize += 1024;
372 buf = myRealloc(buf, bufsize);
373 }
374 }
375 while(c && c != '>');
376
377 /* terminate string */
378 *bufptr = '\0';
379 log(("found META tag: %s", buf));
380
381 cp = strstr(buf, "http-equiv=");
382 if(!cp)
383 {
384 log(("no http-equiv, looking for next"));
385 continue;
386 }
387 cp += 11;
388
389 if(strncasecmp(cp, "\"Refresh\"", 9))
390 {
391 log(("no Refresh, looking for next"));
392 continue;
393 }
394
395 cp = strstr(buf, "content=\"");
396 if(!cp)
397 {
398 log(("no content, looking for next"));
399 continue;
400 }
401 cp += 9;
402
403 /* skip delay value (everything until ';') */
404 while(*cp && *cp != ';') cp++;
405 /* if not end of string skip ';' */
406 if(*cp) cp++;
407 /* and skip whitespace */
408 while(*cp && isspace(*cp)) cp++;
409
410 /* now there should be "url=" with optional whitespace around '=' */
411 if(strncasecmp(cp, "url", 3))
412 {
413 log(("no url key, looking for next"));
414 continue;
415 }
416 cp += 3;
417
418 while(*cp && isspace(*cp)) cp++;
419 if(*cp != '=')
420 {
421 log(("no = after url, looking for next"));
422 continue;
423 }
424 cp++;
425 while(*cp && isspace(*cp)) cp++;
426
427 /* this is the beginning of the redirection URL */
428 bufptr = cp;
429 cp = strchr(bufptr, '"');
430 if(!cp)
431 {
432 log(("no closing \", looking for next"));
433 continue;
434 }
435 /* cut off terminating '"' and other trailing garbage */
436 *cp = '\0';
437 metaRefresh = bufptr;
438 }
439
440 if(metaRefresh)
441 log(("found redirection"));
442 else
443 log(("no redirection found"));
444
445 memReset(mp);
446
447 return metaRefresh;
333448 }
334449
335450 time_t
4242 extern void memSkip(memBuf_t *mp, int n);
4343 extern char *memStr(memBuf_t *mp, const char *s);
4444 extern char *memChr(memBuf_t *mp, char c);
45 extern char *memGetMetaRefresh(memBuf_t *mp);
4546 extern time_t getTimeToFirstByte(memBuf_t *mp);
4647
4748 extern int initCurlStuff(void);
639639
640640 /* http escape password, clear original */
641641 len = strlen(password);
642 toLowerString(password);
643642 escapedPassword = curl_escape(password, len);
644643 for (i = 0; i < len; ++i)
645644 password[i] = '\0';