Codebase list nfdump / 7ad3f1b
Imported Upstream version 1.6.5 Erik Wenzel 12 years ago
36 changed file(s) with 34885 addition(s) and 14911 deletion(s). Raw diff Collapse all Expand all
(No changes)
0 2011-12-xx 1.6.5
1 - Fix 64bit bug when using byte/packet limits
2 - for v5 and sampling use 64bit counters to prevent overflow for large sampled flows.
3 - Fixed Ident printig bug
4
05 2011-07-11 1.6.4
16 - some code restructuring - prepare for IPFIX module
27 - Add netflow v1 module. Some routers still use that
11 *************************
22
33 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
6 Copying and distribution of this file, with or without modification,
7 are permitted in any medium without royalty provided the copyright
8 notice and this notice are preserved. This file is offered as-is,
9 without warranty of any kind.
4 2006 Free Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
108
119 Basic Installation
1210 ==================
1311
14 Briefly, the shell commands `./configure; make; make install' should
12 Briefly, the shell commands `./configure; make; make install' should
1513 configure, build, and install this package. The following
1614 more-detailed instructions are generic; see the `README' file for
17 instructions specific to this package. Some packages provide this
18 `INSTALL' file but do not implement all of the features documented
19 below. The lack of an optional feature in a given package is not
20 necessarily a bug. More recommendations for GNU packages can be found
21 in *note Makefile Conventions: (standards)Makefile Conventions.
15 instructions specific to this package.
2216
2317 The `configure' shell script attempts to guess correct values for
2418 various system-dependent variables used during compilation. It uses
4741 you want to change it or regenerate `configure' using a newer version
4842 of `autoconf'.
4943
50 The simplest way to compile this package is:
44 The simplest way to compile this package is:
5145
5246 1. `cd' to the directory containing the package's source code and type
5347 `./configure' to configure the package for your system.
5852 2. Type `make' to compile the package.
5953
6054 3. Optionally, type `make check' to run any self-tests that come with
61 the package, generally using the just-built uninstalled binaries.
55 the package.
6256
6357 4. Type `make install' to install the programs and any data files and
64 documentation. When installing into a prefix owned by root, it is
65 recommended that the package be configured and built as a regular
66 user, and only the `make install' phase executed with root
67 privileges.
68
69 5. Optionally, type `make installcheck' to repeat any self-tests, but
70 this time using the binaries in their final installed location.
71 This target does not install anything. Running this target as a
72 regular user, particularly if the prior `make install' required
73 root privileges, verifies that the installation completed
74 correctly.
75
76 6. You can remove the program binaries and object files from the
58 documentation.
59
60 5. You can remove the program binaries and object files from the
7761 source code directory by typing `make clean'. To also remove the
7862 files that `configure' created (so you can compile the package for
7963 a different kind of computer), type `make distclean'. There is
8266 all sorts of other programs in order to regenerate files that came
8367 with the distribution.
8468
85 7. Often, you can also type `make uninstall' to remove the installed
86 files again. In practice, not all packages have tested that
87 uninstallation works correctly, even though it is required by the
88 GNU Coding Standards.
89
90 8. Some packages, particularly those that use Automake, provide `make
91 distcheck', which can by used by developers to test that all other
92 targets like `make install' and `make uninstall' work correctly.
93 This target is generally not run by end users.
94
9569 Compilers and Options
9670 =====================
9771
98 Some systems require unusual options for compilation or linking that
99 the `configure' script does not know about. Run `./configure --help'
100 for details on some of the pertinent environment variables.
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
10175
10276 You can give `configure' initial values for configuration parameters
10377 by setting variables in the command line or in the environment. Here
11084 Compiling For Multiple Architectures
11185 ====================================
11286
113 You can compile the package for more than one kind of computer at the
87 You can compile the package for more than one kind of computer at the
11488 same time, by placing the object files for each architecture in their
11589 own directory. To do this, you can use GNU `make'. `cd' to the
11690 directory where you want the object files and executables to go and run
11791 the `configure' script. `configure' automatically checks for the
118 source code in the directory that `configure' is in and in `..'. This
119 is known as a "VPATH" build.
92 source code in the directory that `configure' is in and in `..'.
12093
12194 With a non-GNU `make', it is safer to compile the package for one
12295 architecture at a time in the source code directory. After you have
12396 installed the package for one architecture, use `make distclean' before
12497 reconfiguring for another architecture.
12598
126 On MacOS X 10.5 and later systems, you can create libraries and
127 executables that work on multiple system types--known as "fat" or
128 "universal" binaries--by specifying multiple `-arch' options to the
129 compiler but only a single `-arch' option to the preprocessor. Like
130 this:
131
132 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
133 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CPP="gcc -E" CXXCPP="g++ -E"
135
136 This is not guaranteed to produce working output in all cases, you
137 may have to build one architecture at a time and combine the results
138 using the `lipo' tool if you have problems.
139
14099 Installation Names
141100 ==================
142101
143 By default, `make install' installs the package's commands under
102 By default, `make install' installs the package's commands under
144103 `/usr/local/bin', include files under `/usr/local/include', etc. You
145104 can specify an installation prefix other than `/usr/local' by giving
146 `configure' the option `--prefix=PREFIX', where PREFIX must be an
147 absolute file name.
105 `configure' the option `--prefix=PREFIX'.
148106
149107 You can specify separate installation prefixes for
150108 architecture-specific files and architecture-independent files. If you
155113 In addition, if you use an unusual directory layout you can give
156114 options like `--bindir=DIR' to specify different values for particular
157115 kinds of files. Run `configure --help' for a list of the directories
158 you can set and what kinds of files go in them. In general, the
159 default for these options is expressed in terms of `${prefix}', so that
160 specifying just `--prefix' will affect all of the other directory
161 specifications that were not explicitly provided.
162
163 The most portable way to affect installation locations is to pass the
164 correct locations to `configure'; however, many packages provide one or
165 both of the following shortcuts of passing variable assignments to the
166 `make install' command line to change installation locations without
167 having to reconfigure or recompile.
168
169 The first method involves providing an override variable for each
170 affected directory. For example, `make install
171 prefix=/alternate/directory' will choose an alternate location for all
172 directory configuration variables that were expressed in terms of
173 `${prefix}'. Any directories that were specified during `configure',
174 but not in terms of `${prefix}', must each be overridden at install
175 time for the entire installation to be relocated. The approach of
176 makefile variable overrides for each directory variable is required by
177 the GNU Coding Standards, and ideally causes no recompilation.
178 However, some platforms have known limitations with the semantics of
179 shared libraries that end up requiring recompilation when using this
180 method, particularly noticeable in packages that use GNU Libtool.
181
182 The second method involves providing the `DESTDIR' variable. For
183 example, `make install DESTDIR=/alternate/directory' will prepend
184 `/alternate/directory' before all installation names. The approach of
185 `DESTDIR' overrides is not required by the GNU Coding Standards, and
186 does not work on platforms that have drive letters. On the other hand,
187 it does better at avoiding recompilation issues, and works well even
188 when some directory options were not specified in terms of `${prefix}'
189 at `configure' time.
190
191 Optional Features
192 =================
116 you can set and what kinds of files go in them.
193117
194118 If the package supports it, you can cause programs to be installed
195119 with an extra prefix or suffix on their names by giving `configure' the
196120 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
197121
198 Some packages pay attention to `--enable-FEATURE' options to
122 Optional Features
123 =================
124
125 Some packages pay attention to `--enable-FEATURE' options to
199126 `configure', where FEATURE indicates an optional part of the package.
200127 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
201128 is something like `gnu-as' or `x' (for the X Window System). The
207134 you can use the `configure' options `--x-includes=DIR' and
208135 `--x-libraries=DIR' to specify their locations.
209136
210 Some packages offer the ability to configure how verbose the
211 execution of `make' will be. For these packages, running `./configure
212 --enable-silent-rules' sets the default to minimal output, which can be
213 overridden with `make V=1'; while running `./configure
214 --disable-silent-rules' sets the default to verbose, which can be
215 overridden with `make V=0'.
216
217 Particular systems
218 ==================
219
220 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
221 CC is not installed, it is recommended to use the following options in
222 order to use an ANSI C compiler:
223
224 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
225
226 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
227
228 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
229 parse its `<wchar.h>' header file. The option `-nodtk' can be used as
230 a workaround. If GNU CC is not installed, it is therefore recommended
231 to try
232
233 ./configure CC="cc"
234
235 and if that doesn't work, try
236
237 ./configure CC="cc -nodtk"
238
239 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
240 directory contains several dysfunctional programs; working variants of
241 these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
242 in your `PATH', put it _after_ `/usr/bin'.
243
244 On Haiku, software installed for all users goes in `/boot/common',
245 not `/usr/local'. It is recommended to use the following options:
246
247 ./configure --prefix=/boot/common
248
249137 Specifying the System Type
250138 ==========================
251139
252 There may be some features `configure' cannot figure out
253 automatically, but needs to determine by the type of machine the package
254 will run on. Usually, assuming the package is built to be run on the
255 _same_ architectures, `configure' can figure that out, but if it prints
256 a message saying it cannot guess the machine type, give it the
140 There may be some features `configure' cannot figure out automatically,
141 but needs to determine by the type of machine the package will run on.
142 Usually, assuming the package is built to be run on the _same_
143 architectures, `configure' can figure that out, but if it prints a
144 message saying it cannot guess the machine type, give it the
257145 `--build=TYPE' option. TYPE can either be a short name for the system
258146 type, such as `sun4', or a canonical name which has the form:
259147
261149
262150 where SYSTEM can have one of these forms:
263151
264 OS
265 KERNEL-OS
152 OS KERNEL-OS
266153
267154 See the file `config.sub' for the possible values of each field. If
268155 `config.sub' isn't included in this package, then this package doesn't
280167 Sharing Defaults
281168 ================
282169
283 If you want to set default values for `configure' scripts to share,
284 you can create a site shell script called `config.site' that gives
285 default values for variables like `CC', `cache_file', and `prefix'.
170 If you want to set default values for `configure' scripts to share, you
171 can create a site shell script called `config.site' that gives default
172 values for variables like `CC', `cache_file', and `prefix'.
286173 `configure' looks for `PREFIX/share/config.site' if it exists, then
287174 `PREFIX/etc/config.site' if it exists. Or, you can set the
288175 `CONFIG_SITE' environment variable to the location of the site script.
291178 Defining Variables
292179 ==================
293180
294 Variables not defined in a site shell script can be set in the
181 Variables not defined in a site shell script can be set in the
295182 environment passed to `configure'. However, some packages may run
296183 configure again during the build, and the customized values of these
297184 variables may be lost. In order to avoid this problem, you should set
310197 `configure' Invocation
311198 ======================
312199
313 `configure' recognizes the following options to control how it
314 operates.
200 `configure' recognizes the following options to control how it operates.
315201
316202 `--help'
317203 `-h'
318 Print a summary of all of the options to `configure', and exit.
319
320 `--help=short'
321 `--help=recursive'
322 Print a summary of the options unique to this package's
323 `configure', and exit. The `short' variant lists options used
324 only in the top level, while the `recursive' variant lists options
325 also present in any nested packages.
204 Print a summary of the options to `configure', and exit.
326205
327206 `--version'
328207 `-V'
349228 Look for the package's source code in directory DIR. Usually
350229 `configure' can determine that directory automatically.
351230
352 `--prefix=DIR'
353 Use DIR as the installation prefix. *note Installation Names::
354 for more details, including other options available for fine-tuning
355 the installation locations.
356
357 `--no-create'
358 `-n'
359 Run the configure checks, but stop before creating any output
360 files.
361
362231 `configure' also accepts some other, not widely useful, options. Run
363232 `configure --help' for more details.
364233
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
65 # This Makefile.in is free software; the Free Software Foundation
76 # gives unlimited permission to copy and/or distribute it,
87 # with or without modifications, as long as this notice is preserved.
1514 @SET_MAKE@
1615 VPATH = @srcdir@
1716 pkgdatadir = $(datadir)/@PACKAGE@
17 pkglibdir = $(libdir)/@PACKAGE@
1818 pkgincludedir = $(includedir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkglibexecdir = $(libexecdir)/@PACKAGE@
2119 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2220 install_sh_DATA = $(install_sh) -c -m 644
2321 install_sh_PROGRAM = $(install_sh) -c
4442 mkinstalldirs = $(install_sh) -d
4543 CONFIG_HEADER = config.h
4644 CONFIG_CLEAN_FILES =
47 CONFIG_CLEAN_VPATH_FILES =
4845 SOURCES =
4946 DIST_SOURCES =
5047 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
5653 ps-recursive uninstall-recursive
5754 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
5855 distclean-recursive maintainer-clean-recursive
59 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
60 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
61 distdir dist dist-all distcheck
6256 ETAGS = etags
6357 CTAGS = ctags
6458 DIST_SUBDIRS = $(SUBDIRS)
6660 distdir = $(PACKAGE)-$(VERSION)
6761 top_distdir = $(distdir)
6862 am__remove_distdir = \
69 { test ! -d "$(distdir)" \
70 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
71 && rm -fr "$(distdir)"; }; }
72 am__relativize = \
73 dir0=`pwd`; \
74 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
75 sed_rest='s,^[^/]*/*,,'; \
76 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
77 sed_butlast='s,/*[^/]*$$,,'; \
78 while test -n "$$dir1"; do \
79 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
80 if test "$$first" != "."; then \
81 if test "$$first" = ".."; then \
82 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
83 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
84 else \
85 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
86 if test "$$first2" = "$$first"; then \
87 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
88 else \
89 dir2="../$$dir2"; \
90 fi; \
91 dir0="$$dir0"/"$$first"; \
92 fi; \
93 fi; \
94 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
95 done; \
96 reldir="$$dir2"
63 { test ! -d $(distdir) \
64 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
65 && rm -fr $(distdir); }; }
9766 DIST_ARCHIVES = $(distdir).tar.gz
9867 GZIP_ENV = --best
9968 distuninstallcheck_listfiles = find . -type f -print
142111 PACKAGE_NAME = @PACKAGE_NAME@
143112 PACKAGE_STRING = @PACKAGE_STRING@
144113 PACKAGE_TARNAME = @PACKAGE_TARNAME@
145 PACKAGE_URL = @PACKAGE_URL@
146114 PACKAGE_VERSION = @PACKAGE_VERSION@
147115 PATH_SEPARATOR = @PATH_SEPARATOR@
148116 RRD_LIBS = @RRD_LIBS@
191159 srcdir = @srcdir@
192160 sysconfdir = @sysconfdir@
193161 target_alias = @target_alias@
194 top_build_prefix = @top_build_prefix@
195162 top_builddir = @top_builddir@
196163 top_srcdir = @top_srcdir@
197164 SUBDIRS = . bin man
206173 @for dep in $?; do \
207174 case '$(am__configure_deps)' in \
208175 *$$dep*) \
209 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
210 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
176 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
177 cd $(srcdir) && $(AUTOMAKE) --gnu \
211178 && exit 0; \
212179 exit 1;; \
213180 esac; \
214181 done; \
215 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
216 $(am__cd) $(top_srcdir) && \
217 $(AUTOMAKE) --gnu Makefile
182 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
183 cd $(top_srcdir) && \
184 $(AUTOMAKE) --gnu Makefile
218185 .PRECIOUS: Makefile
219186 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220187 @case '$?' in \
230197 $(SHELL) ./config.status --recheck
231198
232199 $(top_srcdir)/configure: $(am__configure_deps)
233 $(am__cd) $(srcdir) && $(AUTOCONF)
200 cd $(srcdir) && $(AUTOCONF)
234201 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
235 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
236 $(am__aclocal_m4_deps):
202 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
237203
238204 config.h: stamp-h1
239205 @if test ! -f $@; then \
245211 @rm -f stamp-h1
246212 cd $(top_builddir) && $(SHELL) ./config.status config.h
247213 $(srcdir)/config.h.in: $(am__configure_deps)
248 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
214 cd $(top_srcdir) && $(AUTOHEADER)
249215 rm -f stamp-h1
250216 touch $@
251217
259225 # (which will cause the Makefiles to be regenerated when you run `make');
260226 # (2) otherwise, pass the desired values on the `make' command line.
261227 $(RECURSIVE_TARGETS):
262 @fail= failcom='exit 1'; \
228 @failcom='exit 1'; \
263229 for f in x $$MAKEFLAGS; do \
264230 case $$f in \
265231 *=* | --[!k]*);; \
276242 else \
277243 local_target="$$target"; \
278244 fi; \
279 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
245 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
280246 || eval $$failcom; \
281247 done; \
282248 if test "$$dot_seen" = "no"; then \
284250 fi; test -z "$$fail"
285251
286252 $(RECURSIVE_CLEAN_TARGETS):
287 @fail= failcom='exit 1'; \
253 @failcom='exit 1'; \
288254 for f in x $$MAKEFLAGS; do \
289255 case $$f in \
290256 *=* | --[!k]*);; \
310276 else \
311277 local_target="$$target"; \
312278 fi; \
313 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
279 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
314280 || eval $$failcom; \
315281 done && test -z "$$fail"
316282 tags-recursive:
317283 list='$(SUBDIRS)'; for subdir in $$list; do \
318 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
284 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
319285 done
320286 ctags-recursive:
321287 list='$(SUBDIRS)'; for subdir in $$list; do \
322 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
288 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
323289 done
324290
325291 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
327293 unique=`for i in $$list; do \
328294 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329295 done | \
330 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
331 END { if (nonempty) { for (i in files) print i; }; }'`; \
296 $(AWK) ' { files[$$0] = 1; } \
297 END { for (i in files) print i; }'`; \
332298 mkid -fID $$unique
333299 tags: TAGS
334300
335301 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
336302 $(TAGS_FILES) $(LISP)
337 set x; \
303 tags=; \
338304 here=`pwd`; \
339305 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
340306 include_option=--etags-include; \
346312 list='$(SUBDIRS)'; for subdir in $$list; do \
347313 if test "$$subdir" = .; then :; else \
348314 test ! -f $$subdir/TAGS || \
349 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
315 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
350316 fi; \
351317 done; \
352318 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
353319 unique=`for i in $$list; do \
354320 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355321 done | \
356 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
357 END { if (nonempty) { for (i in files) print i; }; }'`; \
358 shift; \
359 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
322 $(AWK) ' { files[$$0] = 1; } \
323 END { for (i in files) print i; }'`; \
324 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
360325 test -n "$$unique" || unique=$$empty_fix; \
361 if test $$# -gt 0; then \
362 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
363 "$$@" $$unique; \
364 else \
365 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
366 $$unique; \
367 fi; \
326 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
327 $$tags $$unique; \
368328 fi
369329 ctags: CTAGS
370330 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
371331 $(TAGS_FILES) $(LISP)
332 tags=; \
333 here=`pwd`; \
372334 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
373335 unique=`for i in $$list; do \
374336 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
375337 done | \
376 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
377 END { if (nonempty) { for (i in files) print i; }; }'`; \
378 test -z "$(CTAGS_ARGS)$$unique" \
338 $(AWK) ' { files[$$0] = 1; } \
339 END { for (i in files) print i; }'`; \
340 test -z "$(CTAGS_ARGS)$$tags$$unique" \
379341 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
380 $$unique
342 $$tags $$unique
381343
382344 GTAGS:
383345 here=`$(am__cd) $(top_builddir) && pwd` \
384 && $(am__cd) $(top_srcdir) \
385 && gtags -i $(GTAGS_ARGS) "$$here"
346 && cd $(top_srcdir) \
347 && gtags -i $(GTAGS_ARGS) $$here
386348
387349 distclean-tags:
388350 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
389351
390352 distdir: $(DISTFILES)
391353 $(am__remove_distdir)
392 test -d "$(distdir)" || mkdir "$(distdir)"
354 test -d $(distdir) || mkdir $(distdir)
393355 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
394356 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
395357 list='$(DISTFILES)'; \
405367 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
406368 if test -d $$d/$$file; then \
407369 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
408 if test -d "$(distdir)/$$file"; then \
409 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
370 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
371 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
410372 fi; \
411 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
412 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
413 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
414 fi; \
415 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
373 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
416374 else \
417 test -f "$(distdir)/$$file" \
418 || cp -p $$d/$$file "$(distdir)/$$file" \
375 test -f $(distdir)/$$file \
376 || cp -p $$d/$$file $(distdir)/$$file \
419377 || exit 1; \
420378 fi; \
421379 done
422 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
380 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
423381 if test "$$subdir" = .; then :; else \
424382 test -d "$(distdir)/$$subdir" \
425383 || $(MKDIR_P) "$(distdir)/$$subdir" \
426384 || exit 1; \
427 fi; \
428 done
429 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
430 if test "$$subdir" = .; then :; else \
431 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
432 $(am__relativize); \
433 new_distdir=$$reldir; \
434 dir1=$$subdir; dir2="$(top_distdir)"; \
435 $(am__relativize); \
436 new_top_distdir=$$reldir; \
437 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
438 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
439 ($(am__cd) $$subdir && \
385 distdir=`$(am__cd) $(distdir) && pwd`; \
386 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
387 (cd $$subdir && \
440388 $(MAKE) $(AM_MAKEFLAGS) \
441 top_distdir="$$new_top_distdir" \
442 distdir="$$new_distdir" \
389 top_distdir="$$top_distdir" \
390 distdir="$$distdir/$$subdir" \
443391 am__remove_distdir=: \
444392 am__skip_length_check=: \
445 am__skip_mode_fix=: \
446393 distdir) \
447394 || exit 1; \
448395 fi; \
449396 done
450 -test -n "$(am__skip_mode_fix)" \
451 || find "$(distdir)" -type d ! -perm -755 \
452 -exec chmod u+rwx,go+rx {} \; -o \
397 -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
453398 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
454399 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
455400 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
456 || chmod -R a+r "$(distdir)"
401 || chmod -R a+r $(distdir)
457402 dist-gzip: distdir
458403 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
459404 $(am__remove_distdir)
460405
461406 dist-bzip2: distdir
462407 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
463 $(am__remove_distdir)
464
465 dist-lzma: distdir
466 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
467 $(am__remove_distdir)
468
469 dist-xz: distdir
470 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
471408 $(am__remove_distdir)
472409
473410 dist-tarZ: distdir
493430 distcheck: dist
494431 case '$(DIST_ARCHIVES)' in \
495432 *.tar.gz*) \
496 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
433 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
497434 *.tar.bz2*) \
498 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
499 *.tar.lzma*) \
500 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
501 *.tar.xz*) \
502 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
435 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
503436 *.tar.Z*) \
504437 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
505438 *.shar.gz*) \
506 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
439 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
507440 *.zip*) \
508441 unzip $(distdir).zip ;;\
509442 esac
511444 mkdir $(distdir)/_build
512445 mkdir $(distdir)/_inst
513446 chmod a-w $(distdir)
514 test -d $(distdir)/_build || exit 0; \
515447 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
516448 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
517 && am__cwd=`pwd` \
518 && $(am__cd) $(distdir)/_build \
449 && cd $(distdir)/_build \
519450 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
520451 $(DISTCHECK_CONFIGURE_FLAGS) \
521452 && $(MAKE) $(AM_MAKEFLAGS) \
537468 && rm -rf "$$dc_destdir" \
538469 && $(MAKE) $(AM_MAKEFLAGS) dist \
539470 && rm -rf $(DIST_ARCHIVES) \
540 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
541 && cd "$$am__cwd" \
542 || exit 1
471 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
543472 $(am__remove_distdir)
544473 @(echo "$(distdir) archives ready for distribution: "; \
545474 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
546475 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
547476 distuninstallcheck:
548 @$(am__cd) '$(distuninstallcheck_dir)' \
477 @cd $(distuninstallcheck_dir) \
549478 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
550479 || { echo "ERROR: files left after uninstall:" ; \
551480 if test -n "$(DESTDIR)"; then \
587516
588517 distclean-generic:
589518 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
590 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
591519
592520 maintainer-clean-generic:
593521 @echo "This command is intended for maintainers to use"
607535
608536 html: html-recursive
609537
610 html-am:
611
612538 info: info-recursive
613539
614540 info-am:
617543
618544 install-dvi: install-dvi-recursive
619545
620 install-dvi-am:
621
622546 install-exec-am:
623547
624548 install-html: install-html-recursive
625549
626 install-html-am:
627
628550 install-info: install-info-recursive
629551
630 install-info-am:
631
632552 install-man:
633553
634554 install-pdf: install-pdf-recursive
635555
636 install-pdf-am:
637
638556 install-ps: install-ps-recursive
639
640 install-ps-am:
641557
642558 installcheck-am:
643559
661577
662578 uninstall-am:
663579
664 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
665 ctags-recursive install-am install-strip tags-recursive
580 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
581 install-strip
666582
667583 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
668584 all all-am am--refresh check check-am clean clean-generic \
669585 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
670 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
671 distclean distclean-generic distclean-hdr distclean-tags \
672 distcleancheck distdir distuninstallcheck dvi dvi-am html \
673 html-am info info-am install install-am install-data \
674 install-data-am install-dvi install-dvi-am install-exec \
675 install-exec-am install-html install-html-am install-info \
676 install-info-am install-man install-pdf install-pdf-am \
677 install-ps install-ps-am install-strip installcheck \
678 installcheck-am installdirs installdirs-am maintainer-clean \
586 dist-shar dist-tarZ dist-zip distcheck distclean \
587 distclean-generic distclean-hdr distclean-tags distcleancheck \
588 distdir distuninstallcheck dvi dvi-am html html-am info \
589 info-am install install-am install-data install-data-am \
590 install-dvi install-dvi-am install-exec install-exec-am \
591 install-html install-html-am install-info install-info-am \
592 install-man install-pdf install-pdf-am install-ps \
593 install-ps-am install-strip installcheck installcheck-am \
594 installdirs installdirs-am maintainer-clean \
679595 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
680596 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
681
682597
683598 # Tell versions [3.59,3.63) of GNU make to not export all variables.
684599 # Otherwise a system limit (for SysV at least) may be exceeded.
00
1 Release stable v1.6.2 Date: Sept. 9th 2010
1 Release stable v1.6.5
22 nfdump-1.6.2 is a bugfix release
3
4 See the Changelog file for changes in release 1.6.5
35
46 NEW in 1.6.1 since 1.5.8
57 ------------------------
(No changes)
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
0 # generated automatically by aclocal 1.10 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
3 # 2005, 2006 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 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
16 [m4_warning([this file was generated for autoconf 2.68.
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.
13 m4_if(m4_PACKAGE_VERSION, [2.61],,
14 [m4_fatal([this file was generated for autoconf 2.61.
15 You have another version of autoconf. If you want to use that,
16 you should regenerate the build system entirely.], [63])])
17
18 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
2219 #
2320 # This file is free software; the Free Software Foundation
2421 # gives unlimited permission to copy and/or distribute it,
3027 # generated from the m4 files accompanying Automake X.Y.
3128 # (This private macro should not be called outside this file.)
3229 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
30 [am__api_version='1.10'
3431 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3532 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11.1], [],
33 m4_if([$1], [1.10], [],
3734 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3835 ])
3936
4744 # AM_SET_CURRENT_AUTOMAKE_VERSION
4845 # -------------------------------
4946 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
47 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
5148 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])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]))])
49 [AM_AUTOMAKE_VERSION([1.10])dnl
50 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
5651
5752 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5853
109104
110105 # AM_CONDITIONAL -*- Autoconf -*-
111106
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
107 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113108 # Free Software Foundation, Inc.
114109 #
115110 # This file is free software; the Free Software Foundation
116111 # gives unlimited permission to copy and/or distribute it,
117112 # with or without modifications, as long as this notice is preserved.
118113
119 # serial 9
114 # serial 8
120115
121116 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122117 # -------------------------------------
129124 AC_SUBST([$1_FALSE])dnl
130125 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131126 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
133127 if $2; then
134128 $1_TRUE=
135129 $1_FALSE='#'
143137 Usually this means the macro was only invoked conditionally.]])
144138 fi])])
145139
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
140 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
147141 # Free Software Foundation, Inc.
148142 #
149143 # This file is free software; the Free Software Foundation
150144 # gives unlimited permission to copy and/or distribute it,
151145 # with or without modifications, as long as this notice is preserved.
152146
153 # serial 10
147 # serial 9
154148
155149 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156150 # written in clear, in which case automake, when reading aclocal.m4,
207201 if test "$am_compiler_list" = ""; then
208202 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209203 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
220204 for depmode in $am_compiler_list; do
221205 # Setup a source with many dependencies, because some compilers
222206 # like to wrap large dependency lists on column 80 (with \), and
234218 done
235219 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
236220
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"
243221 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
248222 nosideeffect)
249223 # after this tag, mechanisms are not by side-effect, so they'll
250224 # only be used when explicitly requested
254228 break
255229 fi
256230 ;;
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 ;;
264231 none) break ;;
265232 esac
233 # We check with `-c' and `-o' for the sake of the "dashmstdout"
234 # mode. It turns out that the SunPro C++ compiler does not properly
235 # handle `-M -o', and we need to detect this.
266236 if depmode=$depmode \
267 source=sub/conftest.c object=$am__obj \
237 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
268238 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
239 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
270240 >/dev/null 2>conftest.err &&
271241 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
272242 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
243 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
274244 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
275245 # icc doesn't choke on unknown options, it will just issue warnings
276246 # or remarks (even with -Werror). So we grep stderr for any message
327297
328298 # Generate code to set up dependency tracking. -*- Autoconf -*-
329299
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
300 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
331301 # Free Software Foundation, Inc.
332302 #
333303 # This file is free software; the Free Software Foundation
334304 # gives unlimited permission to copy and/or distribute it,
335305 # with or without modifications, as long as this notice is preserved.
336306
337 #serial 5
307 #serial 3
338308
339309 # _AM_OUTPUT_DEPENDENCY_COMMANDS
340310 # ------------------------------
341311 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
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
312 [for mf in $CONFIG_FILES; do
313 # Strip MF so we end up with the name of the file.
314 mf=`echo "$mf" | sed -e 's/:.*$//'`
315 # Check whether this is an Automake generated Makefile or not.
316 # We used to match only the files named `Makefile.in', but
317 # some people rename them; so instead we look at the file content.
318 # Grep'ing the first line is not enough: some people post-process
319 # each Makefile.in and add a new line on top of each file to say so.
320 # Grep'ing the whole file is not good either: AIX grep has a line
321 # limit of 2048, but all sed's we know have understand at least 4000.
322 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
323 dirpart=`AS_DIRNAME("$mf")`
324 else
325 continue
326 fi
327 # Extract the definition of DEPDIR, am__include, and am__quote
328 # from the Makefile without running `make'.
329 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
330 test -z "$DEPDIR" && continue
331 am__include=`sed -n 's/^am__include = //p' < "$mf"`
332 test -z "am__include" && continue
333 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
334 # When using ansi2knr, U may be empty or an underscore; expand it
335 U=`sed -n 's/^U = //p' < "$mf"`
336 # Find all dependency output files, they are included files with
337 # $(DEPDIR) in their names. We invoke sed twice because it is the
338 # simplest approach to changing $(DEPDIR) to its actual value in the
339 # expansion.
340 for file in `sed -n "
341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
343 # Make sure the directory exists.
344 test -f "$dirpart/$file" && continue
345 fdir=`AS_DIRNAME(["$file"])`
346 AS_MKDIR_P([$dirpart/$fdir])
347 # echo "creating $dirpart/$file"
348 echo '# dummy' > "$dirpart/$file"
390349 done
391 }
350 done
392351 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
393352
394353
408367 # Do all the work for Automake. -*- Autoconf -*-
409368
410369 # 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
370 # 2005, 2006 Free Software Foundation, Inc.
371 #
372 # This file is free software; the Free Software Foundation
373 # gives unlimited permission to copy and/or distribute it,
374 # with or without modifications, as long as this notice is preserved.
375
376 # serial 12
418377
419378 # This macro actually does too much. Some checks are only needed if
420379 # your package does certain things. But this isn't really a big deal.
431390 # arguments mandatory, and then we can depend on a new Autoconf
432391 # release and drop the old call support.
433392 AC_DEFUN([AM_INIT_AUTOMAKE],
434 [AC_PREREQ([2.62])dnl
393 [AC_PREREQ([2.60])dnl
435394 dnl Autoconf wants to disallow AM_ names. We explicitly allow
436395 dnl the ones we care about.
437396 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
482441 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
483442 AM_MISSING_PROG(AUTOHEADER, autoheader)
484443 AM_MISSING_PROG(MAKEINFO, makeinfo)
485 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
444 AM_PROG_INSTALL_SH
445 AM_PROG_INSTALL_STRIP
487446 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
488447 # We need awk for the "check" target. The system "awk" is bad on
489448 # some platforms.
491450 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
492451 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
493452 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
494 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495 [_AM_PROG_TAR([v7])])])
453 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
454 [_AM_PROG_TAR([v7])])])
496455 _AM_IF_OPTION([no-dependencies],,
497456 [AC_PROVIDE_IFELSE([AC_PROG_CC],
498 [_AM_DEPENDENCIES(CC)],
499 [define([AC_PROG_CC],
500 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
457 [_AM_DEPENDENCIES(CC)],
458 [define([AC_PROG_CC],
459 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
501460 AC_PROVIDE_IFELSE([AC_PROG_CXX],
502 [_AM_DEPENDENCIES(CXX)],
503 [define([AC_PROG_CXX],
504 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
461 [_AM_DEPENDENCIES(CXX)],
462 [define([AC_PROG_CXX],
463 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
505464 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])])
465 [_AM_DEPENDENCIES(OBJC)],
466 [define([AC_PROG_OBJC],
467 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
468 ])
469 ])
524470
525471
526472 # When config.status generates a header, we must update the stamp-h file.
532478 # our stamp files there.
533479 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
534480 [# Compute $1's index in $config_headers.
535 _am_arg=$1
536481 _am_stamp_count=1
537482 for _am_header in $config_headers :; do
538483 case $_am_header in
539 $_am_arg | $_am_arg:* )
484 $1 | $1:* )
540485 break ;;
541486 * )
542487 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
543488 esac
544489 done
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.
490 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
491
492 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
548493 #
549494 # This file is free software; the Free Software Foundation
550495 # gives unlimited permission to copy and/or distribute it,
555500 # Define $install_sh.
556501 AC_DEFUN([AM_PROG_INSTALL_SH],
557502 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
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
503 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
566504 AC_SUBST(install_sh)])
567505
568506 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
588526
589527 # Check to see how 'make' treats includes. -*- Autoconf -*-
590528
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
529 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
530 #
531 # This file is free software; the Free Software Foundation
532 # gives unlimited permission to copy and/or distribute it,
533 # with or without modifications, as long as this notice is preserved.
534
535 # serial 3
598536
599537 # AM_MAKE_INCLUDE()
600538 # -----------------
603541 [am_make=${MAKE-make}
604542 cat > confinc << 'END'
605543 am__doit:
606 @echo this is the am__doit target
544 @echo done
607545 .PHONY: am__doit
608546 END
609547 # If we don't find an include directive, just comment out the code.
613551 _am_result=none
614552 # First try GNU make style include.
615553 echo "include confinc" > confmf
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
554 # We grep out `Entering directory' and `Leaving directory'
555 # messages which can occur if `w' ends up in MAKEFLAGS.
556 # In particular we don't look at `^make:' because GNU make might
557 # be invoked under some other name (usually "gmake"), in which
558 # case it prints its new name instead of `make'.
559 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
560 am__include=include
561 am__quote=
562 _am_result=GNU
563 fi
624564 # Now try BSD make style include.
625565 if test "$am__include" = "#"; then
626566 echo '.include "confinc"' > confmf
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
567 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
568 am__include=.include
569 am__quote="\""
570 _am_result=BSD
571 fi
634572 fi
635573 AC_SUBST([am__include])
636574 AC_SUBST([am__quote])
638576 rm -f confinc confmf
639577 ])
640578
641 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
579 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
642580 # Free Software Foundation, Inc.
643581 #
644582 # This file is free software; the Free Software Foundation
645583 # gives unlimited permission to copy and/or distribute it,
646584 # with or without modifications, as long as this notice is preserved.
647585
648 # serial 6
586 # serial 5
649587
650588 # AM_PROG_CC_C_O
651589 # --------------
657595 # FIXME: we rely on the cache variable name because
658596 # there is no other way.
659597 set dummy $CC
660 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
661 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
662 if test "$am_t" != yes; then
598 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
599 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
663600 # Losing compiler, so override with the script.
664601 # FIXME: It is wrong to rewrite CC.
665602 # But if we don't then we get into trouble of one sort or another.
675612
676613 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
677614
678 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
615 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
679616 # Free Software Foundation, Inc.
680617 #
681618 # This file is free software; the Free Software Foundation
682619 # gives unlimited permission to copy and/or distribute it,
683620 # with or without modifications, as long as this notice is preserved.
684621
685 # serial 6
622 # serial 5
686623
687624 # AM_MISSING_PROG(NAME, PROGRAM)
688625 # ------------------------------
699636 AC_DEFUN([AM_MISSING_HAS_RUN],
700637 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
701638 AC_REQUIRE_AUX_FILE([missing])dnl
702 if test x"${MISSING+set}" != xset; then
703 case $am_aux_dir in
704 *\ * | *\ *)
705 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
706 *)
707 MISSING="\${SHELL} $am_aux_dir/missing" ;;
708 esac
709 fi
639 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
710640 # Use eval to expand $SHELL
711641 if eval "$MISSING --run true"; then
712642 am_missing_run="$MISSING --run "
744674
745675 # Helper functions for option handling. -*- Autoconf -*-
746676
747 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
748 #
749 # This file is free software; the Free Software Foundation
750 # gives unlimited permission to copy and/or distribute it,
751 # with or without modifications, as long as this notice is preserved.
752
753 # serial 4
677 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
678 #
679 # This file is free software; the Free Software Foundation
680 # gives unlimited permission to copy and/or distribute it,
681 # with or without modifications, as long as this notice is preserved.
682
683 # serial 3
754684
755685 # _AM_MANGLE_OPTION(NAME)
756686 # -----------------------
767697 # ----------------------------------
768698 # OPTIONS is a space-separated list of Automake options.
769699 AC_DEFUN([_AM_SET_OPTIONS],
770 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
700 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
771701
772702 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
773703 # -------------------------------------------
777707
778708 # Check to make sure that the build environment is sane. -*- Autoconf -*-
779709
780 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
710 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
781711 # Free Software Foundation, Inc.
782712 #
783713 # This file is free software; the Free Software Foundation
784714 # gives unlimited permission to copy and/or distribute it,
785715 # with or without modifications, as long as this notice is preserved.
786716
787 # serial 5
717 # serial 4
788718
789719 # AM_SANITY_CHECK
790720 # ---------------
793723 # Just in case
794724 sleep 1
795725 echo timestamp > conftest.file
796 # Reject unsafe characters in $srcdir or the absolute working directory
797 # name. Accept space and tab only in the latter.
798 am_lf='
799 '
800 case `pwd` in
801 *[[\\\"\#\$\&\'\`$am_lf]]*)
802 AC_MSG_ERROR([unsafe absolute working directory name]);;
803 esac
804 case $srcdir in
805 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
806 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
807 esac
808
809726 # Do `set' in a subshell so we don't clobber the current shell's
810727 # arguments. Must try -L first in case configure is actually a
811728 # symlink; some systems play weird games with the mod time of symlinks
812729 # (eg FreeBSD returns the mod time of the symlink's containing
813730 # directory).
814731 if (
815 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
732 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
816733 if test "$[*]" = "X"; then
817734 # -L didn't work.
818 set X `ls -t "$srcdir/configure" conftest.file`
735 set X `ls -t $srcdir/configure conftest.file`
819736 fi
820737 rm -f conftest.file
821738 if test "$[*]" != "X $srcdir/configure conftest.file" \
868785 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
869786 AC_SUBST([INSTALL_STRIP_PROGRAM])])
870787
871 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
872 #
873 # This file is free software; the Free Software Foundation
874 # gives unlimited permission to copy and/or distribute it,
875 # with or without modifications, as long as this notice is preserved.
876
877 # serial 2
788 # Copyright (C) 2006 Free Software Foundation, Inc.
789 #
790 # This file is free software; the Free Software Foundation
791 # gives unlimited permission to copy and/or distribute it,
792 # with or without modifications, as long as this notice is preserved.
878793
879794 # _AM_SUBST_NOTMAKE(VARIABLE)
880795 # ---------------------------
881 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
796 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
882797 # This macro is traced by Automake.
883798 AC_DEFUN([_AM_SUBST_NOTMAKE])
884
885 # AM_SUBST_NOTMAKE(VARIABLE)
886 # ---------------------------
887 # Public sister of _AM_SUBST_NOTMAKE.
888 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
889799
890800 # Check how to create a tarball. -*- Autoconf -*-
891801
00 @%:@! /bin/sh
1 @%:@ From configure.in Revision: 69 .
1 @%:@ From configure.in Revision: 69 .
22 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $.
3 @%:@ Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
44 @%:@
55 @%:@ Report bugs to <phaag@users.sourceforge.net>.
66 @%:@
7 @%:@
87 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 @%:@ Foundation, Inc.
11 @%:@
12 @%:@
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
139 @%:@ This configure script is free software; the Free Software Foundation
1410 @%:@ gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
1814
1915 # Be more Bourne compatible
2016 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2218 emulate sh
2319 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2521 # is contrary to our usage. Disable this feature.
2622 alias -g '${1+"$@"}'='"$@"'
2723 setopt NO_GLOB_SUBST
2824 else
29 case `(set -o) 2>/dev/null` in @%:@(
30 *posix*) :
31 set -o posix ;; @%:@(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in @%:@(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
7541
7642 # The user is always right.
7743 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
8360 fi
8461
8562
8865 # there to prevent editors from complaining about space-tab.
8966 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9067 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
9170 IFS=" "" $as_nl"
9271
9372 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in @%:@((
73 case $0 in
9674 *[\\/]* ) as_myself=$0 ;;
9775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 for as_dir in $PATH
9977 do
10078 IFS=$as_save_IFS
10179 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
10482 IFS=$as_save_IFS
10583
10684 ;;
11189 as_myself=$0
11290 fi
11391 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12599 done
126100 PS1='$ '
127101 PS2='> '
128102 PS4='+ '
129103
130104 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in @%:@(
149 *posix*) :
150 set -o posix ;; @%:@(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
189109 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in @%:@(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
208115 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in @%:@ ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: phaag@users.sourceforge.net about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
246 fi
247 exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 @%:@ as_fn_unset VAR
261 @%:@ ---------------
262 @%:@ Portably unset VAR.
263 as_fn_unset ()
264 {
265 { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 @%:@ as_fn_set_status STATUS
270 @%:@ -----------------------
271 @%:@ Set @S|@? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274 return $1
275 } @%:@ as_fn_set_status
276
277 @%:@ as_fn_exit STATUS
278 @%:@ -----------------
279 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } @%:@ as_fn_exit
286
287 @%:@ as_fn_mkdir_p
288 @%:@ -------------
289 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
316 q
317 }
318 /^X\(\/\/\)$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\).*/{
323 s//\1/
324 q
325 }
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } @%:@ as_fn_mkdir_p
334 @%:@ as_fn_append VAR VALUE
335 @%:@ ----------------------
336 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
337 @%:@ advantage of any shell optimizations that allow amortized linear growth over
338 @%:@ repeated appends, instead of the typical quadratic growth present in naive
339 @%:@ implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
342 {
343 eval $1+=\$2
344 }'
345 else
346 as_fn_append ()
347 {
348 eval $1=\$$1\$2
349 }
350 fi # as_fn_append
351
352 @%:@ as_fn_arith ARG...
353 @%:@ ------------------
354 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
355 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
356 @%:@ must be portable across @S|@(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
359 {
360 as_val=$(( $* ))
361 }'
362 else
363 as_fn_arith ()
364 {
365 as_val=`expr "$@" || test $? -eq 1`
366 }
367 fi # as_fn_arith
368
369
370 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
371 @%:@ ----------------------------------------
372 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 @%:@ script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 fi
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } @%:@ as_fn_error
385
116
117 # Required to use basename.
386118 if expr a : '\(a\)' >/dev/null 2>&1 &&
387119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388120 as_expr=expr
396128 as_basename=false
397129 fi
398130
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
403 fi
404
131
132 # Name of the executable.
405133 as_me=`$as_basename -- "$0" ||
406134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407135 X"$0" : 'X\(//\)$' \| \
408136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
137 echo X/"$0" |
410138 sed '/^.*\/\([^/][^/]*\)\/*$/{
411139 s//\1/
412140 q
421149 }
422150 s/.*/./; q'`
423151
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
437440 sed -n '
438441 p
439442 /[$]LINENO/=
450453 s/-\n.*//
451454 ' >$as_me.lineno &&
452455 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
454458
455459 # Don't try to exec as it changes $[0], causing all sort of problems
456460 # (the dirname of $[0] is not the place where we might find the
460464 exit
461465 }
462466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
463474 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in @%:@(((((
475 case `echo -n x` in
465476 -n*)
466 case `echo 'xy\c'` in
477 case `echo 'x\c'` in
467478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
479 *) ECHO_C='\c';;
471480 esac;;
472481 *)
473482 ECHO_N='-n';;
474483 esac
475484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
476492 rm -f conf$$ conf$$.exe conf$$.file
477493 if test -d conf$$.dir; then
478494 rm -f conf$$.dir/conf$$.file
479495 else
480496 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
495507 as_ln_s='cp -p'
496 fi
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
497510 else
498511 as_ln_s='cp -p'
499512 fi
501514 rmdir conf$$.dir 2>/dev/null
502515
503516 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
517 as_mkdir_p=:
505518 else
506519 test -d ./-p && rmdir ./-p
507520 as_mkdir_p=false
518531 as_test_x='
519532 eval sh -c '\''
520533 if test -d "$1"; then
521 test -d "$1/.";
534 test -d "$1/.";
522535 else
523 case $1 in @%:@(
524 -*)set "./$1";;
536 case $1 in
537 -*)set "./$1";;
525538 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
527540 ???[sx]*):;;*)false;;esac;fi
528541 '\'' sh
529542 '
537550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538551
539552
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
553
554 exec 7<&0 </dev/null 6>&1
542555
543556 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545558 # so uname gets run too.
546559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547560
556569 subdirs=
557570 MFLAGS=
558571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
559573
560574 # Identity of this package.
561575 PACKAGE_NAME='nfdump'
562576 PACKAGE_TARNAME='nfdump'
563 PACKAGE_VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
564 PACKAGE_STRING='nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
577 PACKAGE_VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
578 PACKAGE_STRING='nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
565579 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
567580
568581 # Factoring default headers for most tests.
569582 ac_includes_default="\
603616
604617 ac_header_list=
605618 ac_func_list=
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 am__isrc
660 CYGPATH_W
661 PACKAGE
662 VERSION
663 ACLOCAL
664 AUTOCONF
665 AUTOMAKE
666 AUTOHEADER
667 MAKEINFO
668 install_sh
669 STRIP
670 INSTALL_STRIP_PROGRAM
671 mkdir_p
672 AWK
673 SET_MAKE
674 am__leading_dot
675 AMTAR
676 am__tar
677 am__untar
678 CC
679 CFLAGS
680 LDFLAGS
681 CPPFLAGS
682 ac_ct_CC
683 EXEEXT
684 OBJEXT
685 DEPDIR
686 am__include
687 am__quote
688 AMDEP_TRUE
689 AMDEP_FALSE
690 AMDEPBACKSLASH
691 CCDEPMODE
692 am__fastdepCC_TRUE
693 am__fastdepCC_FALSE
694 YACC
695 YFLAGS
696 LEX
697 LEX_OUTPUT_ROOT
698 LEXLIB
699 FT2NFDUMP_TRUE
700 FT2NFDUMP_FALSE
701 NFPROFILE_TRUE
702 NFPROFILE_FALSE
703 RRD_LIBS
704 CPP
705 GREP
706 EGREP
707 NFTRACK_TRUE
708 NFTRACK_FALSE
709 SFLOW_TRUE
710 SFLOW_FALSE
711 READPCAP_TRUE
712 READPCAP_FALSE
713 FT_INCLUDES
714 FT_LDFLAGS
715 LFLAGS
716 FTS_OBJ
609717 LIB@&t@OBJS
610 FTS_OBJ
611 LFLAGS
612 FT_LDFLAGS
613 FT_INCLUDES
614 READPCAP_FALSE
615 READPCAP_TRUE
616 SFLOW_FALSE
617 SFLOW_TRUE
618 NFTRACK_FALSE
619 NFTRACK_TRUE
620 EGREP
621 GREP
622 CPP
623 RRD_LIBS
624 NFPROFILE_FALSE
625 NFPROFILE_TRUE
626 FT2NFDUMP_FALSE
627 FT2NFDUMP_TRUE
628 LEXLIB
629 LEX_OUTPUT_ROOT
630 LEX
631 YFLAGS
632 YACC
633 am__fastdepCC_FALSE
634 am__fastdepCC_TRUE
635 CCDEPMODE
636 AMDEPBACKSLASH
637 AMDEP_FALSE
638 AMDEP_TRUE
639 am__quote
640 am__include
641 DEPDIR
642 OBJEXT
643 EXEEXT
644 ac_ct_CC
645 CPPFLAGS
646 LDFLAGS
647 CFLAGS
648 CC
649 am__untar
650 am__tar
651 AMTAR
652 am__leading_dot
653 SET_MAKE
654 AWK
655 mkdir_p
656 MKDIR_P
657 INSTALL_STRIP_PROGRAM
658 STRIP
659 install_sh
660 MAKEINFO
661 AUTOHEADER
662 AUTOMAKE
663 AUTOCONF
664 ACLOCAL
665 VERSION
666 PACKAGE
667 CYGPATH_W
668 am__isrc
669 INSTALL_DATA
670 INSTALL_SCRIPT
671 INSTALL_PROGRAM
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 localstatedir
692 sharedstatedir
693 sysconfdir
694 datadir
695 datarootdir
696 libexecdir
697 sbindir
698 bindir
699 program_transform_name
700 prefix
701 exec_prefix
702 PACKAGE_URL
703 PACKAGE_BUGREPORT
704 PACKAGE_STRING
705 PACKAGE_VERSION
706 PACKAGE_TARNAME
707 PACKAGE_NAME
708 PATH_SEPARATOR
709 SHELL'
718 LTLIBOBJS'
710719 ac_subst_files=''
711 ac_user_opts='
712 enable_option_checking
713 enable_dependency_tracking
714 enable_devel
715 enable_compat15
716 enable_fixtimebug
717 with_ftpath
718 with_rrdpath
719 enable_ftconv
720 enable_nfprofile
721 enable_nftrack
722 enable_sflow
723 enable_readpcap
724 '
725720 ac_precious_vars='build_alias
726721 host_alias
727722 target_alias
738733 # Initialize some variables set by options.
739734 ac_init_help=
740735 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
743736 # The variables have the same names as the options, with
744737 # dashes changed to underlines.
745738 cache_file=/dev/null
795788 fi
796789
797790 case $ac_option in
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
801793 esac
802794
803795 # Accept the important Cygnus configure options, so we can diagnose typos.
839831 datarootdir=$ac_optarg ;;
840832
841833 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843835 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=no ;;
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=no ;;
856841
857842 -docdir | --docdir | --docdi | --doc | --do)
858843 ac_prev=docdir ;;
865850 dvidir=$ac_optarg ;;
866851
867852 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869854 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error $? "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=\$ac_optarg ;;
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=\$ac_optarg ;;
882860
883861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10691047 ac_init_version=: ;;
10701048
10711049 -with-* | --with-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10731051 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=\$ac_optarg ;;
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=\$ac_optarg ;;
10861057
10871058 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10891060 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error $? "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=no ;;
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_$ac_package=no ;;
11021066
11031067 --x)
11041068 # Obsolete; use --with-x.
11181082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11191083 x_libraries=$ac_optarg ;;
11201084
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
11231088 ;;
11241089
11251090 *=*)
11261091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11271092 # Reject names that are not valid shell variable names.
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
11321096 eval $ac_envvar=\$ac_optarg
11331097 export $ac_envvar ;;
11341098
11351099 *)
11361100 # FIXME: should be removed in autoconf 3.0.
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11381102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11411105 ;;
11421106
11431107 esac
11451109
11461110 if test -n "$ac_prev"; then
11471111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 as_fn_error $? "missing argument to $ac_option"
1149 fi
1150
1151 if test -n "$ac_unrecognized_opts"; then
1152 case $enable_option_checking in
1153 no) ;;
1154 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1156 esac
1157 fi
1158
1159 # Check all directory arguments for consistency.
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1114 fi
1115
1116 # Be sure to have absolute directory names.
11601117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11611118 datadir sysconfdir sharedstatedir localstatedir includedir \
11621119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11631120 libdir localedir mandir
11641121 do
11651122 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1167 case $ac_val in
1168 */ )
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1171 esac
1172 # Be sure to have absolute directory names.
11731123 case $ac_val in
11741124 [\\/$]* | ?:[\\/]* ) continue;;
11751125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11761126 esac
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
11781129 done
11791130
11801131 # There might be people who depend on the old broken behavior: `$host'
11881139 if test "x$host_alias" != x; then
11891140 if test "x$build_alias" = x; then
11901141 cross_compiling=maybe
1191 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used" >&2
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
11931144 elif test "x$build_alias" != "x$host_alias"; then
11941145 cross_compiling=yes
11951146 fi
12041155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12051156 ac_ls_di=`ls -di .` &&
12061157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
12081160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
12101163
12111164
12121165 # Find the source files, if location was not specified.
12131166 if test -z "$srcdir"; then
12141167 ac_srcdir_defaulted=yes
12151168 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1169 ac_confdir=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174 echo X"$0" |
12221175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12231176 s//\1/
12241177 q
12451198 fi
12461199 if test ! -r "$srcdir/$ac_unique_file"; then
12471200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
12491203 fi
12501204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12511205 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
12531208 pwd)`
12541209 # When building in place, set srcdir=.
12551210 if test "$ac_abs_confdir" = "$ac_pwd"; then
12751230 # Omit some internal or obsolete options to make the list less imposing.
12761231 # This message is too long to be a string in the A/UX 3.1 sh.
12771232 cat <<_ACEOF
1278 \`configure' configures nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $ to adapt to many kinds of systems.
1233 \`configure' configures nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $ to adapt to many kinds of systems.
12791234
12801235 Usage: $0 [OPTION]... [VAR=VALUE]...
12811236
12891244 --help=short display options specific to this package
12901245 --help=recursive display the short help of all the included packages
12911246 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1247 -q, --quiet, --silent do not print \`checking...' messages
12931248 --cache-file=FILE cache test results in FILE [disabled]
12941249 -C, --config-cache alias for \`--cache-file=config.cache'
12951250 -n, --no-create do not create output files
12971252
12981253 Installation directories:
12991254 --prefix=PREFIX install architecture-independent files in PREFIX
1300 @<:@@S|@ac_default_prefix@:>@
1255 [$ac_default_prefix]
13011256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 @<:@PREFIX@:>@
1257 [PREFIX]
13031258
13041259 By default, \`make install' will install all the files in
13051260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
13091264 For better control, use the options below.
13101265
13111266 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/nfdump@:>@
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/nfdump@:>@
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
13311286 _ACEOF
13321287
13331288 cat <<\_ACEOF
13411296
13421297 if test -n "$ac_init_help"; then
13431298 case $ac_init_help in
1344 short | recursive ) echo "Configuration of nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $:";;
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
13451300 esac
13461301 cat <<\_ACEOF
13471302
13481303 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13501304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13511305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13521306 --disable-dependency-tracking speeds up one-time build
13721326 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13731327 nonstandard directory <lib dir>
13741328 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13761330 you have headers in a nonstandard directory <include dir>
1377 YACC The `Yet Another Compiler Compiler' implementation to use.
1378 Defaults to the first program found out of: `bison -y', `byacc',
1379 `yacc'.
1380 YFLAGS The list of arguments that will be passed by default to @S|@YACC.
1331 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1332 the first program found out of: `bison -y', `byacc', `yacc'.
1333 YFLAGS The list of arguments that will be passed by default to $YACC.
13811334 This script will default YFLAGS to the empty string to avoid a
13821335 default value of `-d' given by some make applications.
13831336 CPP C preprocessor
13931346 if test "$ac_init_help" = "recursive"; then
13941347 # If there are subdirs, report their specific --help.
13951348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
1349 test -d "$ac_dir" || continue
13991350 ac_builddir=.
14001351
14011352 case "$ac_dir" in
14021353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14031354 *)
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14051356 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14071358 case $ac_top_builddir_sub in
14081359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14091360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14391390 echo &&
14401391 $SHELL "$ac_srcdir/configure" --help=recursive
14411392 else
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14431394 fi || ac_status=$?
14441395 cd "$ac_pwd" || { ac_status=$?; break; }
14451396 done
14481399 test -n "$ac_init_help" && exit $ac_status
14491400 if $ac_init_version; then
14501401 cat <<\_ACEOF
1451 nfdump configure 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
1402 nfdump configure 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
1403 generated by GNU Autoconf 2.61
1404
1405 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1406 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14551407 This configure script is free software; the Free Software Foundation
14561408 gives unlimited permission to copy, distribute and modify it.
14571409 _ACEOF
14581410 exit
14591411 fi
1460
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1464
1465 @%:@ ac_fn_c_try_compile LINENO
1466 @%:@ --------------------------
1467 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_compile ()
1469 {
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 rm -f conftest.$ac_objext
1472 if { { ac_try="$ac_compile"
1473 case "(($ac_try" in
1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1476 esac
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_compile") 2>conftest.err
1480 ac_status=$?
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1485 fi
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest.$ac_objext; then :
1491 ac_retval=0
1492 else
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1495
1496 ac_retval=1
1497 fi
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status $ac_retval
1500
1501 } @%:@ ac_fn_c_try_compile
1502
1503 @%:@ ac_fn_c_try_link LINENO
1504 @%:@ -----------------------
1505 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_link ()
1507 {
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext conftest$ac_exeext
1510 if { { ac_try="$ac_link"
1511 case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_link") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest$ac_exeext && {
1529 test "$cross_compiling" = yes ||
1530 $as_test_x conftest$ac_exeext
1531 }; then :
1532 ac_retval=0
1533 else
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1536
1537 ac_retval=1
1538 fi
1539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1541 # interfere with the next link command; also delete a directory that is
1542 # left behind by Apple's compiler. We do this before executing the actions.
1543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545 as_fn_set_status $ac_retval
1546
1547 } @%:@ ac_fn_c_try_link
1548
1549 @%:@ ac_fn_c_try_cpp LINENO
1550 @%:@ ----------------------
1551 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1552 ac_fn_c_try_cpp ()
1553 {
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 case "(($ac_try" in
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1559 esac
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 ac_status=$?
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1568 fi
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } > conftest.i && {
1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 }; then :
1574 ac_retval=0
1575 else
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579 ac_retval=1
1580 fi
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1583
1584 } @%:@ ac_fn_c_try_cpp
1585
1586 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1587 @%:@ -------------------------------------------------------
1588 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1589 @%:@ the include files in INCLUDES and setting the cache variable VAR
1590 @%:@ accordingly.
1591 ac_fn_c_check_header_mongrel ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if eval \${$3+:} false; then :
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if eval \${$3+:} false; then :
1598 $as_echo_n "(cached) " >&6
1599 fi
1600 eval ac_res=\$$3
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602 $as_echo "$ac_res" >&6; }
1603 else
1604 # Is the header compilable?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1606 $as_echo_n "checking $2 usability... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 $4
1610 @%:@include <$2>
1611 _ACEOF
1612 if ac_fn_c_try_compile "$LINENO"; then :
1613 ac_header_compiler=yes
1614 else
1615 ac_header_compiler=no
1616 fi
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1619 $as_echo "$ac_header_compiler" >&6; }
1620
1621 # Is the header present?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1623 $as_echo_n "checking $2 presence... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1626 @%:@include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_cpp "$LINENO"; then :
1629 ac_header_preproc=yes
1630 else
1631 ac_header_preproc=no
1632 fi
1633 rm -f conftest.err conftest.i conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1635 $as_echo "$ac_header_preproc" >&6; }
1636
1637 # So? What about this header?
1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 yes:no: )
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 ;;
1645 no:yes:* )
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 ( $as_echo "## ------------------------------------------ ##
1657 ## Report this to phaag@users.sourceforge.net ##
1658 ## ------------------------------------------ ##"
1659 ) | sed "s/^/$as_me: WARNING: /" >&2
1660 ;;
1661 esac
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1666 else
1667 eval "$3=\$ac_header_compiler"
1668 fi
1669 eval ac_res=\$$3
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 fi
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674
1675 } @%:@ ac_fn_c_check_header_mongrel
1676
1677 @%:@ ac_fn_c_try_run LINENO
1678 @%:@ ----------------------
1679 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1680 @%:@ that executables *can* be run.
1681 ac_fn_c_try_run ()
1682 {
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1685 case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1692 ac_status=$?
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1702 ac_status=$?
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1710
1711 ac_retval=$ac_status
1712 fi
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1716
1717 } @%:@ ac_fn_c_try_run
1718
1719 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 @%:@ -------------------------------------------------------
1721 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1722 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 else
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 $4
1734 @%:@include <$2>
1735 _ACEOF
1736 if ac_fn_c_try_compile "$LINENO"; then :
1737 eval "$3=yes"
1738 else
1739 eval "$3=no"
1740 fi
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 fi
1743 eval ac_res=\$$3
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747
1748 } @%:@ ac_fn_c_check_header_compile
1749
1750 @%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1751 @%:@ ----------------------------------------------------
1752 @%:@ Tries to find if the field MEMBER exists in type AGGR, after including
1753 @%:@ INCLUDES, setting cache variable VAR accordingly.
1754 ac_fn_c_check_member ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1758 $as_echo_n "checking for $2.$3... " >&6; }
1759 if eval \${$4+:} false; then :
1760 $as_echo_n "(cached) " >&6
1761 else
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 $5
1765 int
1766 main ()
1767 {
1768 static $2 ac_aggr;
1769 if (ac_aggr.$3)
1770 return 0;
1771 ;
1772 return 0;
1773 }
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 eval "$4=yes"
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $5
1781 int
1782 main ()
1783 {
1784 static $2 ac_aggr;
1785 if (sizeof ac_aggr.$3)
1786 return 0;
1787 ;
1788 return 0;
1789 }
1790 _ACEOF
1791 if ac_fn_c_try_compile "$LINENO"; then :
1792 eval "$4=yes"
1793 else
1794 eval "$4=no"
1795 fi
1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 fi
1800 eval ac_res=\$$4
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
1805 } @%:@ ac_fn_c_check_member
1806
1807 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1808 @%:@ ----------------------------------
1809 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1811 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1823
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1828
1829 #ifdef __STDC__
1830 # include <limits.h>
1831 #else
1832 # include <assert.h>
1833 #endif
1834
1835 #undef $2
1836
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1840 #ifdef __cplusplus
1841 extern "C"
1842 #endif
1843 char $2 ();
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1848 choke me
1849 #endif
1850
1851 int
1852 main ()
1853 {
1854 return $2 ();
1855 ;
1856 return 0;
1857 }
1858 _ACEOF
1859 if ac_fn_c_try_link "$LINENO"; then :
1860 eval "$3=yes"
1861 else
1862 eval "$3=no"
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
1872 } @%:@ ac_fn_c_check_func
1873
1874 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1875 @%:@ --------------------------------------------
1876 @%:@ Tries to find the compile-time value of EXPR in a program that includes
1877 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1878 @%:@ computed
1879 ac_fn_c_compute_int ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if test "$cross_compiling" = yes; then
1883 # Depending upon the size, compute the lo and hi bounds.
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 $4
1887 int
1888 main ()
1889 {
1890 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1891 test_array @<:@0@:>@ = 0
1892
1893 ;
1894 return 0;
1895 }
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 ac_lo=0 ac_mid=0
1899 while :; do
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 $4
1903 int
1904 main ()
1905 {
1906 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1907 test_array @<:@0@:>@ = 0
1908
1909 ;
1910 return 0;
1911 }
1912 _ACEOF
1913 if ac_fn_c_try_compile "$LINENO"; then :
1914 ac_hi=$ac_mid; break
1915 else
1916 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1917 if test $ac_lo -le $ac_mid; then
1918 ac_lo= ac_hi=
1919 break
1920 fi
1921 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 done
1925 else
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1928 $4
1929 int
1930 main ()
1931 {
1932 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1933 test_array @<:@0@:>@ = 0
1934
1935 ;
1936 return 0;
1937 }
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 ac_hi=-1 ac_mid=-1
1941 while :; do
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1944 $4
1945 int
1946 main ()
1947 {
1948 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1949 test_array @<:@0@:>@ = 0
1950
1951 ;
1952 return 0;
1953 }
1954 _ACEOF
1955 if ac_fn_c_try_compile "$LINENO"; then :
1956 ac_lo=$ac_mid; break
1957 else
1958 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1959 if test $ac_mid -le $ac_hi; then
1960 ac_lo= ac_hi=
1961 break
1962 fi
1963 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 done
1967 else
1968 ac_lo= ac_hi=
1969 fi
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 fi
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 # Binary search between lo and hi bounds.
1974 while test "x$ac_lo" != "x$ac_hi"; do
1975 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1978 $4
1979 int
1980 main ()
1981 {
1982 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1983 test_array @<:@0@:>@ = 0
1984
1985 ;
1986 return 0;
1987 }
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_hi=$ac_mid
1991 else
1992 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1993 fi
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 done
1996 case $ac_lo in @%:@((
1997 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1998 '') ac_retval=1 ;;
1999 esac
2000 else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2003 $4
2004 static long int longval () { return $2; }
2005 static unsigned long int ulongval () { return $2; }
2006 @%:@include <stdio.h>
2007 @%:@include <stdlib.h>
2008 int
2009 main ()
2010 {
2011
2012 FILE *f = fopen ("conftest.val", "w");
2013 if (! f)
2014 return 1;
2015 if (($2) < 0)
2016 {
2017 long int i = longval ();
2018 if (i != ($2))
2019 return 1;
2020 fprintf (f, "%ld", i);
2021 }
2022 else
2023 {
2024 unsigned long int i = ulongval ();
2025 if (i != ($2))
2026 return 1;
2027 fprintf (f, "%lu", i);
2028 }
2029 /* Do not output a trailing newline, as this causes \r\n confusion
2030 on some platforms. */
2031 return ferror (f) || fclose (f) != 0;
2032
2033 ;
2034 return 0;
2035 }
2036 _ACEOF
2037 if ac_fn_c_try_run "$LINENO"; then :
2038 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2039 else
2040 ac_retval=1
2041 fi
2042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2043 conftest.$ac_objext conftest.beam conftest.$ac_ext
2044 rm -f conftest.val
2045
2046 fi
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2049
2050 } @%:@ ac_fn_c_compute_int
2051
2052 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 @%:@ -------------------------------------------
2054 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2055 @%:@ variable VAR accordingly.
2056 ac_fn_c_check_type ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 eval "$3=no"
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2067 $4
2068 int
2069 main ()
2070 {
2071 if (sizeof ($2))
2072 return 0;
2073 ;
2074 return 0;
2075 }
2076 _ACEOF
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2080 $4
2081 int
2082 main ()
2083 {
2084 if (sizeof (($2)))
2085 return 0;
2086 ;
2087 return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091
2092 else
2093 eval "$3=yes"
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 fi
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 fi
2099 eval ac_res=\$$3
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103
2104 } @%:@ ac_fn_c_check_type
21051412 cat >config.log <<_ACEOF
21061413 This file contains any messages produced by compilers while
21071414 running configure, to aid debugging if configure makes a mistake.
21081415
2109 It was created by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
1416 It was created by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
1417 generated by GNU Autoconf 2.61. Invocation command line was
21111418
21121419 $ $0 $@
21131420
21151422 exec 5>>config.log
21161423 {
21171424 cat <<_ASUNAME
2118 ## --------- ##
2119 ## Platform. ##
2120 ## --------- ##
1425 @%:@@%:@ --------- @%:@@%:@
1426 @%:@@%:@ Platform. @%:@@%:@
1427 @%:@@%:@ --------- @%:@@%:@
21211428
21221429 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
21231430 uname -m = `(uname -m) 2>/dev/null || echo unknown`
21431450 do
21441451 IFS=$as_save_IFS
21451452 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2147 done
1453 echo "PATH: $as_dir"
1454 done
21481455 IFS=$as_save_IFS
21491456
21501457 } >&5
21521459 cat >&5 <<_ACEOF
21531460
21541461
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
1462 @%:@@%:@ ----------- @%:@@%:@
1463 @%:@@%:@ Core tests. @%:@@%:@
1464 @%:@@%:@ ----------- @%:@@%:@
21581465
21591466 _ACEOF
21601467
21781485 | -silent | --silent | --silen | --sile | --sil)
21791486 continue ;;
21801487 *\'*)
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21821489 esac
21831490 case $ac_pass in
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
21851492 2)
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
21871494 if test $ac_must_keep_next = true; then
21881495 ac_must_keep_next=false # Got value, back to normal.
21891496 else
21991506 -* ) ac_must_keep_next=true ;;
22001507 esac
22011508 fi
2202 as_fn_append ac_configure_args " '$ac_arg'"
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
22031510 ;;
22041511 esac
22051512 done
22061513 done
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
1514 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1515 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
22091516
22101517 # When interrupted or exit'd, cleanup temporary files, and complete
22111518 # config.log. We remove comments because anyway the quotes in there
22171524 {
22181525 echo
22191526
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
1527 cat <<\_ASBOX
1528 @%:@@%:@ ---------------- @%:@@%:@
1529 @%:@@%:@ Cache variables. @%:@@%:@
1530 @%:@@%:@ ---------------- @%:@@%:@
1531 _ASBOX
22231532 echo
22241533 # The following way of writing the cache mishandles newlines in values,
22251534 (
22281537 case $ac_val in #(
22291538 *${as_nl}*)
22301539 case $ac_var in #(
2231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1540 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1541 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22331542 esac
22341543 case $ac_var in #(
22351544 _ | IFS | as_nl) ;; #(
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
1545 *) $as_unset $ac_var ;;
22381546 esac ;;
22391547 esac
22401548 done
22531561 )
22541562 echo
22551563
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
1564 cat <<\_ASBOX
1565 @%:@@%:@ ----------------- @%:@@%:@
1566 @%:@@%:@ Output variables. @%:@@%:@
1567 @%:@@%:@ ----------------- @%:@@%:@
1568 _ASBOX
22591569 echo
22601570 for ac_var in $ac_subst_vars
22611571 do
22621572 eval ac_val=\$$ac_var
22631573 case $ac_val in
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22651575 esac
2266 $as_echo "$ac_var='\''$ac_val'\''"
1576 echo "$ac_var='\''$ac_val'\''"
22671577 done | sort
22681578 echo
22691579
22701580 if test -n "$ac_subst_files"; then
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
1581 cat <<\_ASBOX
1582 @%:@@%:@ ------------------- @%:@@%:@
1583 @%:@@%:@ File substitutions. @%:@@%:@
1584 @%:@@%:@ ------------------- @%:@@%:@
1585 _ASBOX
22741586 echo
22751587 for ac_var in $ac_subst_files
22761588 do
22771589 eval ac_val=\$$ac_var
22781590 case $ac_val in
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22801592 esac
2281 $as_echo "$ac_var='\''$ac_val'\''"
1593 echo "$ac_var='\''$ac_val'\''"
22821594 done | sort
22831595 echo
22841596 fi
22851597
22861598 if test -s confdefs.h; then
2287 $as_echo "## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##"
1599 cat <<\_ASBOX
1600 @%:@@%:@ ----------- @%:@@%:@
1601 @%:@@%:@ confdefs.h. @%:@@%:@
1602 @%:@@%:@ ----------- @%:@@%:@
1603 _ASBOX
22901604 echo
22911605 cat confdefs.h
22921606 echo
22931607 fi
22941608 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
22971611 } >&5
22981612 rm -f core *.core core.conftest.* &&
22991613 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23001614 exit $exit_status
23011615 ' 0
23021616 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23041618 done
23051619 ac_signal=0
23061620
23071621 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23081622 rm -f -r conftest* confdefs.h
23091623
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
23121624 # Predefined preprocessor variables.
23131625
23141626 cat >>confdefs.h <<_ACEOF
23151627 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
23161628 _ACEOF
23171629
1630
23181631 cat >>confdefs.h <<_ACEOF
23191632 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
23201633 _ACEOF
23211634
1635
23221636 cat >>confdefs.h <<_ACEOF
23231637 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
23241638 _ACEOF
23251639
1640
23261641 cat >>confdefs.h <<_ACEOF
23271642 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
23281643 _ACEOF
23291644
1645
23301646 cat >>confdefs.h <<_ACEOF
23311647 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
23321648 _ACEOF
23331649
2334 cat >>confdefs.h <<_ACEOF
2335 @%:@define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
23381650
23391651 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
1652 # Prefer explicitly selected file to automatically selected ones.
23431653 if test -n "$CONFIG_SITE"; then
2344 # We do not want a PATH search for config.site.
2345 case $CONFIG_SITE in @%:@((
2346 -*) ac_site_file1=./$CONFIG_SITE;;
2347 */*) ac_site_file1=$CONFIG_SITE;;
2348 *) ac_site_file1=./$CONFIG_SITE;;
2349 esac
1654 set x "$CONFIG_SITE"
23501655 elif test "x$prefix" != xNONE; then
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2353 else
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2356 fi
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1656 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1657 else
1658 set x "$ac_default_prefix/share/config.site" \
1659 "$ac_default_prefix/etc/config.site"
1660 fi
1661 shift
1662 for ac_site_file
23581663 do
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1664 if test -r "$ac_site_file"; then
1665 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1666 echo "$as_me: loading site script $ac_site_file" >&6;}
23631667 sed 's/^/| /' "$ac_site_file" >&5
2364 . "$ac_site_file" \
2365 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "failed to load site script $ac_site_file
2368 See \`config.log' for more details" "$LINENO" 5; }
1668 . "$ac_site_file"
23691669 fi
23701670 done
23711671
23721672 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
1673 # Some versions of bash will fail to source /dev/null (special
1674 # files actually), so we avoid doing that.
1675 if test -f "$cache_file"; then
1676 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1677 echo "$as_me: loading cache $cache_file" >&6;}
23781678 case $cache_file in
23791679 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23801680 *) . "./$cache_file";;
23811681 esac
23821682 fi
23831683 else
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
23861686 >$cache_file
23871687 fi
23881688
2389 as_fn_append ac_header_list " sys/time.h"
2390 as_fn_append ac_header_list " unistd.h"
2391 as_fn_append ac_func_list " alarm"
1689 ac_header_list="$ac_header_list sys/time.h"
1690 ac_header_list="$ac_header_list unistd.h"
1691 ac_func_list="$ac_func_list alarm"
23921692 # Check that the precious variables saved in the cache have kept the same
23931693 # value.
23941694 ac_cache_corrupted=false
23991699 eval ac_new_val=\$ac_env_${ac_var}_value
24001700 case $ac_old_set,$ac_new_set in
24011701 set,)
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1702 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1703 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24041704 ac_cache_corrupted=: ;;
24051705 ,set)
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1706 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1707 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24081708 ac_cache_corrupted=: ;;
24091709 ,);;
24101710 *)
24111711 if test "x$ac_old_val" != "x$ac_new_val"; then
2412 # differences in whitespace do not lead to failure.
2413 ac_old_val_w=`echo x $ac_old_val`
2414 ac_new_val_w=`echo x $ac_new_val`
2415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418 ac_cache_corrupted=:
2419 else
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422 eval $ac_var=\$ac_old_val
2423 fi
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1713 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1714 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1715 echo "$as_me: former value: $ac_old_val" >&2;}
1716 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1717 echo "$as_me: current value: $ac_new_val" >&2;}
1718 ac_cache_corrupted=:
24281719 fi;;
24291720 esac
24301721 # Pass precious variables to config.status.
24311722 if test "$ac_new_set" = set; then
24321723 case $ac_new_val in
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24341725 *) ac_arg=$ac_var=$ac_new_val ;;
24351726 esac
24361727 case " $ac_configure_args " in
24371728 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
24391730 esac
24401731 fi
24411732 done
24421733 if $ac_cache_corrupted; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448 fi
2449 ## -------------------- ##
2450 ## Main body of script. ##
2451 ## -------------------- ##
1734 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1735 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1736 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1737 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1738 { (exit 1); exit 1; }; }
1739 fi
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
24521764
24531765 ac_ext=c
24541766 ac_cpp='$CPP $CPPFLAGS'
24601772 #AC_CONFIG_SRCDIR([grammar.y])
24611773 ac_config_headers="$ac_config_headers config.h"
24621774
2463 am__api_version='1.11'
1775 am__api_version='1.10'
24641776
24651777 ac_aux_dir=
24661778 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
24791791 fi
24801792 done
24811793 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1794 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1795 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1796 { (exit 1); exit 1; }; }
24831797 fi
24841798
24851799 # These three variables are undocumented and unsupported,
25041818 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
25051819 # OS/2's system install, which has a completely different semantic
25061820 # ./install, which can be erroneously created by make from ./install.sh.
2507 # Reject install programs that cannot install multiple files.
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1821 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1822 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
25101823 if test -z "$INSTALL"; then
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
25131826 else
25141827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25151828 for as_dir in $PATH
25161829 do
25171830 IFS=$as_save_IFS
25181831 test -z "$as_dir" && as_dir=.
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in @%:@((
2521 ./ | .// | /[cC]/* | \
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
25221835 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
25241837 /usr/ucb/* ) ;;
25251838 *)
25261839 # OSF1 and SCO ODT 3.0 have their own names for install.
25381851 # program-specific install script used by HP pwplus--don't use.
25391852 :
25401853 else
2541 rm -rf conftest.one conftest.two conftest.dir
2542 echo one > conftest.one
2543 echo two > conftest.two
2544 mkdir conftest.dir
2545 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2546 test -s conftest.one && test -s conftest.two &&
2547 test -s conftest.dir/conftest.one &&
2548 test -s conftest.dir/conftest.two
2549 then
2550 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2551 break 3
2552 fi
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
25531856 fi
25541857 fi
25551858 done
25561859 done
25571860 ;;
25581861 esac
2559
2560 done
1862 done
25611863 IFS=$as_save_IFS
25621864
2563 rm -rf conftest.one conftest.two conftest.dir
25641865
25651866 fi
25661867 if test "${ac_cv_path_install+set}" = set; then
25731874 INSTALL=$ac_install_sh
25741875 fi
25751876 fi
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
25781879
25791880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25801881 # It thinks the first close brace ends the variable substitution.
25841885
25851886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25861887
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2588 $as_echo_n "checking whether build environment is sane... " >&6; }
1888 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1889 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
25891890 # Just in case
25901891 sleep 1
25911892 echo timestamp > conftest.file
2592 # Reject unsafe characters in $srcdir or the absolute working directory
2593 # name. Accept space and tab only in the latter.
2594 am_lf='
2595 '
2596 case `pwd` in
2597 *[\\\"\#\$\&\'\`$am_lf]*)
2598 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2599 esac
2600 case $srcdir in
2601 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2602 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2603 esac
2604
26051893 # Do `set' in a subshell so we don't clobber the current shell's
26061894 # arguments. Must try -L first in case configure is actually a
26071895 # symlink; some systems play weird games with the mod time of symlinks
26081896 # (eg FreeBSD returns the mod time of the symlink's containing
26091897 # directory).
26101898 if (
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
26121900 if test "$*" = "X"; then
26131901 # -L didn't work.
2614 set X `ls -t "$srcdir/configure" conftest.file`
1902 set X `ls -t $srcdir/configure conftest.file`
26151903 fi
26161904 rm -f conftest.file
26171905 if test "$*" != "X $srcdir/configure conftest.file" \
26211909 # if, for instance, CONFIG_SHELL is bash and it inherits a
26221910 # broken ls alias from the environment. This has actually
26231911 # happened. Such a system could not be considered "sane".
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
1912 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1913 alias in your environment" >&5
1914 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1915 alias in your environment" >&2;}
1916 { (exit 1); exit 1; }; }
26261917 fi
26271918
26281919 test "$2" = conftest.file
26311922 # Ok.
26321923 :
26331924 else
2634 as_fn_error $? "newly created file is older than distributed files!
2635 Check your system clock" "$LINENO" 5
2636 fi
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638 $as_echo "yes" >&6; }
1925 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1926 Check your system clock" >&5
1927 echo "$as_me: error: newly created file is older than distributed files!
1928 Check your system clock" >&2;}
1929 { (exit 1); exit 1; }; }
1930 fi
1931 { echo "$as_me:$LINENO: result: yes" >&5
1932 echo "${ECHO_T}yes" >&6; }
26391933 test "$program_prefix" != NONE &&
26401934 program_transform_name="s&^&$program_prefix&;$program_transform_name"
26411935 # Use a double $ so make ignores it.
26421936 test "$program_suffix" != NONE &&
26431937 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2644 # Double any \ or $.
1938 # Double any \ or $. echo might interpret backslashes.
26451939 # By default was `s,x,x', remove it if useless.
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1940 cat <<\_ACEOF >conftest.sed
1941 s/[\\$]/&&/g;s/;s,x,x,$//
1942 _ACEOF
1943 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1944 rm -f conftest.sed
26481945
26491946 # expand $ac_aux_dir to an absolute path
26501947 am_aux_dir=`cd $ac_aux_dir && pwd`
26511948
2652 if test x"${MISSING+set}" != xset; then
2653 case $am_aux_dir in
2654 *\ * | *\ *)
2655 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2656 *)
2657 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2658 esac
2659 fi
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
26601950 # Use eval to expand $SHELL
26611951 if eval "$MISSING --run true"; then
26621952 am_missing_run="$MISSING --run "
26631953 else
26641954 am_missing_run=
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2666 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2667 fi
2668
2669 if test x"${install_sh}" != xset; then
2670 case $am_aux_dir in
2671 *\ * | *\ *)
2672 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2673 *)
2674 install_sh="\${SHELL} $am_aux_dir/install-sh"
2675 esac
2676 fi
2677
2678 # Installed binaries are usually stripped using `strip' when the user
2679 # run `make install-strip'. However `strip' might not be the right
2680 # tool to use in cross-compilation environments, therefore Automake
2681 # will honor the `STRIP' environment variable to overrule this program.
2682 if test "$cross_compiling" != no; then
2683 if test -n "$ac_tool_prefix"; then
2684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2685 set dummy ${ac_tool_prefix}strip; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_STRIP+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 if test -n "$STRIP"; then
2692 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2693 else
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 for as_dir in $PATH
2696 do
2697 IFS=$as_save_IFS
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2704 fi
2705 done
2706 done
2707 IFS=$as_save_IFS
2708
2709 fi
2710 fi
2711 STRIP=$ac_cv_prog_STRIP
2712 if test -n "$STRIP"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2714 $as_echo "$STRIP" >&6; }
2715 else
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 fi
2719
2720
2721 fi
2722 if test -z "$ac_cv_prog_STRIP"; then
2723 ac_ct_STRIP=$STRIP
2724 # Extract the first word of "strip", so it can be a program name with args.
2725 set dummy strip; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 if test -n "$ac_ct_STRIP"; then
2732 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_ac_ct_STRIP="strip"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 break 2
2744 fi
2745 done
2746 done
2747 IFS=$as_save_IFS
2748
2749 fi
2750 fi
2751 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2752 if test -n "$ac_ct_STRIP"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2754 $as_echo "$ac_ct_STRIP" >&6; }
2755 else
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2758 fi
2759
2760 if test "x$ac_ct_STRIP" = x; then
2761 STRIP=":"
2762 else
2763 case $cross_compiling:$ac_tool_warned in
2764 yes:)
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2767 ac_tool_warned=yes ;;
2768 esac
2769 STRIP=$ac_ct_STRIP
2770 fi
2771 else
2772 STRIP="$ac_cv_prog_STRIP"
2773 fi
2774
2775 fi
2776 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2777
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2779 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1955 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1956 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1957 fi
1958
1959 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1960 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
27801961 if test -z "$MKDIR_P"; then
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
27831964 else
27841965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851966 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27861967 do
27871968 IFS=$as_save_IFS
27881969 test -z "$as_dir" && as_dir=.
2789 for ac_prog in mkdir gmkdir; do
1970 for ac_prog in mkdir gmkdir; do
27901971 for ac_exec_ext in '' $ac_executable_extensions; do
27911972 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
27921973 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
27981979 esac
27991980 done
28001981 done
2801 done
1982 done
28021983 IFS=$as_save_IFS
28031984
28041985 fi
28051986
2806 test -d ./--version && rmdir ./--version
28071987 if test "${ac_cv_path_mkdir+set}" = set; then
28081988 MKDIR_P="$ac_cv_path_mkdir -p"
28091989 else
28111991 # value for MKDIR_P within a source directory, because that will
28121992 # break other packages using the cache if that directory is
28131993 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
28141995 MKDIR_P="$ac_install_sh -d"
28151996 fi
28161997 fi
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
28192000
28202001 mkdir_p="$MKDIR_P"
28212002 case $mkdir_p in
28272008 do
28282009 # Extract the first word of "$ac_prog", so it can be a program name with args.
28292010 set dummy $ac_prog; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_AWK+:} false; then :
2833 $as_echo_n "(cached) " >&6
2011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2013 if test "${ac_cv_prog_AWK+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
28342015 else
28352016 if test -n "$AWK"; then
28362017 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28402021 do
28412022 IFS=$as_save_IFS
28422023 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2024 for ac_exec_ext in '' $ac_executable_extensions; do
28442025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28452026 ac_cv_prog_AWK="$ac_prog"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28472028 break 2
28482029 fi
28492030 done
2850 done
2031 done
28512032 IFS=$as_save_IFS
28522033
28532034 fi
28542035 fi
28552036 AWK=$ac_cv_prog_AWK
28562037 if test -n "$AWK"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2858 $as_echo "$AWK" >&6; }
2859 else
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2038 { echo "$as_me:$LINENO: result: $AWK" >&5
2039 echo "${ECHO_T}$AWK" >&6; }
2040 else
2041 { echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6; }
28622043 fi
28632044
28642045
28652046 test -n "$AWK" && break
28662047 done
28672048
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2869 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870 set x ${MAKE-make}
2871 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873 $as_echo_n "(cached) " >&6
2049 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2050 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2051 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2052 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
28742054 else
28752055 cat >conftest.make <<\_ACEOF
28762056 SHELL = /bin/sh
28772057 all:
28782058 @echo '@@@%%%=$(MAKE)=@@@%%%'
28792059 _ACEOF
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28812061 case `${MAKE-make} -f conftest.make 2>/dev/null` in
28822062 *@@@%%%=?*=@@@%%%*)
28832063 eval ac_cv_prog_make_${ac_make}_set=yes;;
28872067 rm -f conftest.make
28882068 fi
28892069 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
28922072 SET_MAKE=
28932073 else
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
28962076 SET_MAKE="MAKE=${MAKE-make}"
28972077 fi
28982078
29112091 am__isrc=' -I$(srcdir)'
29122092 # test to see if srcdir already configured
29132093 if test -f $srcdir/config.status; then
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2094 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2095 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2096 { (exit 1); exit 1; }; }
29152097 fi
29162098 fi
29172099
29272109
29282110 # Define the identity of the package.
29292111 PACKAGE='nfdump'
2930 VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
29312113
29322114
29332115 cat >>confdefs.h <<_ACEOF
29542136
29552137
29562138 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2139
2140 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2141
2142 # Installed binaries are usually stripped using `strip' when the user
2143 # run `make install-strip'. However `strip' might not be the right
2144 # tool to use in cross-compilation environments, therefore Automake
2145 # will honor the `STRIP' environment variable to overrule this program.
2146 if test "$cross_compiling" != no; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}strip; ac_word=$2
2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152 if test "${ac_cv_prog_STRIP+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if test -n "$STRIP"; then
2156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2157 else
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2160 do
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 break 2
2168 fi
2169 done
2170 done
2171 IFS=$as_save_IFS
2172
2173 fi
2174 fi
2175 STRIP=$ac_cv_prog_STRIP
2176 if test -n "$STRIP"; then
2177 { echo "$as_me:$LINENO: result: $STRIP" >&5
2178 echo "${ECHO_T}$STRIP" >&6; }
2179 else
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2182 fi
2183
2184
2185 fi
2186 if test -z "$ac_cv_prog_STRIP"; then
2187 ac_ct_STRIP=$STRIP
2188 # Extract the first word of "strip", so it can be a program name with args.
2189 set dummy strip; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 if test -n "$ac_ct_STRIP"; then
2196 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2197 else
2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 for as_dir in $PATH
2200 do
2201 IFS=$as_save_IFS
2202 test -z "$as_dir" && as_dir=.
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_ac_ct_STRIP="strip"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2208 fi
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214 fi
2215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2216 if test -n "$ac_ct_STRIP"; then
2217 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2218 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2219 else
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 fi
2223
2224 if test "x$ac_ct_STRIP" = x; then
2225 STRIP=":"
2226 else
2227 case $cross_compiling:$ac_tool_warned in
2228 yes:)
2229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2230 whose name does not start with the host triplet. If you think this
2231 configuration is useful to you, please write to autoconf@gnu.org." >&5
2232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2233 whose name does not start with the host triplet. If you think this
2234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2235 ac_tool_warned=yes ;;
2236 esac
2237 STRIP=$ac_ct_STRIP
2238 fi
2239 else
2240 STRIP="$ac_cv_prog_STRIP"
2241 fi
2242
2243 fi
2244 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
29572245
29582246 # We need awk for the "check" target. The system "awk" is bad on
29592247 # some platforms.
29772265 if test -n "$ac_tool_prefix"; then
29782266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
29792267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
29842272 else
29852273 if test -n "$CC"; then
29862274 ac_cv_prog_CC="$CC" # Let the user override the test.
29902278 do
29912279 IFS=$as_save_IFS
29922280 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
29942282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29952283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29972285 break 2
29982286 fi
29992287 done
3000 done
2288 done
30012289 IFS=$as_save_IFS
30022290
30032291 fi
30042292 fi
30052293 CC=$ac_cv_prog_CC
30062294 if test -n "$CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3009 else
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
2295 { echo "$as_me:$LINENO: result: $CC" >&5
2296 echo "${ECHO_T}$CC" >&6; }
2297 else
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
30122300 fi
30132301
30142302
30172305 ac_ct_CC=$CC
30182306 # Extract the first word of "gcc", so it can be a program name with args.
30192307 set dummy gcc; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3023 $as_echo_n "(cached) " >&6
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
30242312 else
30252313 if test -n "$ac_ct_CC"; then
30262314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30302318 do
30312319 IFS=$as_save_IFS
30322320 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
2321 for ac_exec_ext in '' $ac_executable_extensions; do
30342322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30352323 ac_cv_prog_ac_ct_CC="gcc"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30372325 break 2
30382326 fi
30392327 done
3040 done
2328 done
30412329 IFS=$as_save_IFS
30422330
30432331 fi
30442332 fi
30452333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30462334 if test -n "$ac_ct_CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3048 $as_echo "$ac_ct_CC" >&6; }
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
30522340 fi
30532341
30542342 if test "x$ac_ct_CC" = x; then
30562344 else
30572345 case $cross_compiling:$ac_tool_warned in
30582346 yes:)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2348 whose name does not start with the host triplet. If you think this
2349 configuration is useful to you, please write to autoconf@gnu.org." >&5
2350 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30612353 ac_tool_warned=yes ;;
30622354 esac
30632355 CC=$ac_ct_CC
30702362 if test -n "$ac_tool_prefix"; then
30712363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30722364 set dummy ${ac_tool_prefix}cc; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_CC+:} false; then :
3076 $as_echo_n "(cached) " >&6
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
30772369 else
30782370 if test -n "$CC"; then
30792371 ac_cv_prog_CC="$CC" # Let the user override the test.
30832375 do
30842376 IFS=$as_save_IFS
30852377 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
2378 for ac_exec_ext in '' $ac_executable_extensions; do
30872379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30882380 ac_cv_prog_CC="${ac_tool_prefix}cc"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30902382 break 2
30912383 fi
30922384 done
3093 done
2385 done
30942386 IFS=$as_save_IFS
30952387
30962388 fi
30972389 fi
30982390 CC=$ac_cv_prog_CC
30992391 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
2392 { echo "$as_me:$LINENO: result: $CC" >&5
2393 echo "${ECHO_T}$CC" >&6; }
2394 else
2395 { echo "$as_me:$LINENO: result: no" >&5
2396 echo "${ECHO_T}no" >&6; }
31052397 fi
31062398
31072399
31102402 if test -z "$CC"; then
31112403 # Extract the first word of "cc", so it can be a program name with args.
31122404 set dummy cc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false; then :
3116 $as_echo_n "(cached) " >&6
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
31172409 else
31182410 if test -n "$CC"; then
31192411 ac_cv_prog_CC="$CC" # Let the user override the test.
31242416 do
31252417 IFS=$as_save_IFS
31262418 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
2419 for ac_exec_ext in '' $ac_executable_extensions; do
31282420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31292421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31302422 ac_prog_rejected=yes
31312423 continue
31322424 fi
31332425 ac_cv_prog_CC="cc"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31352427 break 2
31362428 fi
31372429 done
3138 done
2430 done
31392431 IFS=$as_save_IFS
31402432
31412433 if test $ac_prog_rejected = yes; then
31542446 fi
31552447 CC=$ac_cv_prog_CC
31562448 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3159 else
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
2449 { echo "$as_me:$LINENO: result: $CC" >&5
2450 echo "${ECHO_T}$CC" >&6; }
2451 else
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
31622454 fi
31632455
31642456
31692461 do
31702462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
31712463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false; then :
3175 $as_echo_n "(cached) " >&6
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
31762468 else
31772469 if test -n "$CC"; then
31782470 ac_cv_prog_CC="$CC" # Let the user override the test.
31822474 do
31832475 IFS=$as_save_IFS
31842476 test -z "$as_dir" && as_dir=.
3185 for ac_exec_ext in '' $ac_executable_extensions; do
2477 for ac_exec_ext in '' $ac_executable_extensions; do
31862478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31872479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31892481 break 2
31902482 fi
31912483 done
3192 done
2484 done
31932485 IFS=$as_save_IFS
31942486
31952487 fi
31962488 fi
31972489 CC=$ac_cv_prog_CC
31982490 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
2491 { echo "$as_me:$LINENO: result: $CC" >&5
2492 echo "${ECHO_T}$CC" >&6; }
2493 else
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
32042496 fi
32052497
32062498
32132505 do
32142506 # Extract the first word of "$ac_prog", so it can be a program name with args.
32152507 set dummy $ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
32202512 else
32212513 if test -n "$ac_ct_CC"; then
32222514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
32262518 do
32272519 IFS=$as_save_IFS
32282520 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
2521 for ac_exec_ext in '' $ac_executable_extensions; do
32302522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32312523 ac_cv_prog_ac_ct_CC="$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32332525 break 2
32342526 fi
32352527 done
3236 done
2528 done
32372529 IFS=$as_save_IFS
32382530
32392531 fi
32402532 fi
32412533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
32422534 if test -n "$ac_ct_CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 $as_echo "$ac_ct_CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
2535 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2536 echo "${ECHO_T}$ac_ct_CC" >&6; }
2537 else
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
32482540 fi
32492541
32502542
32562548 else
32572549 case $cross_compiling:$ac_tool_warned in
32582550 yes:)
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2552 whose name does not start with the host triplet. If you think this
2553 configuration is useful to you, please write to autoconf@gnu.org." >&5
2554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32612557 ac_tool_warned=yes ;;
32622558 esac
32632559 CC=$ac_ct_CC
32672563 fi
32682564
32692565
3270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "no acceptable C compiler found in \$PATH
3273 See \`config.log' for more details" "$LINENO" 5; }
2566 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
32742571
32752572 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3277 set X $ac_compile
3278 ac_compiler=$2
3279 for ac_option in --version -v -V -qversion; do
3280 { { ac_try="$ac_compiler $ac_option >&5"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288 ac_status=$?
3289 if test -s conftest.err; then
3290 sed '10a\
3291 ... rest of stderr output deleted ...
3292 10q' conftest.err >conftest.er1
3293 cat conftest.er1 >&5
3294 fi
3295 rm -f conftest.er1 conftest.err
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }
3298 done
3299
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 echo "$as_me:$LINENO: checking for C compiler version" >&5
2574 ac_compiler=`set X $ac_compile; echo $2`
2575 { (ac_try="$ac_compiler --version >&5"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 (eval "$ac_compiler -v >&5") 2>&5
2592 ac_status=$?
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }
2595 { (ac_try="$ac_compiler -V >&5"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compiler -V >&5") 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }
2605
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
33012611 /* end confdefs.h. */
33022612
33032613 int
33092619 }
33102620 _ACEOF
33112621 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
33132623 # Try to create an executable without -o first, disregard a.out.
33142624 # It will help us diagnose broken compilers, and finding out an intuition
33152625 # of exeext.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3317 $as_echo_n "checking whether the C compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322
2626 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2627 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629 #
2630 # List of possible output files, starting from the most likely.
2631 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2632 # only as a last resort. b.out is created by i960 compilers.
2633 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2634 #
2635 # The IRIX 6 linker writes into existing files which may not be
2636 # executable, retaining their permissions. Remove them first so a
2637 # subsequent execution test works.
33232638 ac_rmfiles=
33242639 for ac_file in $ac_files
33252640 do
33262641 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
33282643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
33292644 esac
33302645 done
33312646 rm -f $ac_rmfiles
33322647
3333 if { { ac_try="$ac_link_default"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
2648 if { (ac_try="$ac_link_default"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402654 (eval "$ac_link_default") 2>&5
33412655 ac_status=$?
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
33442658 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
33452659 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
33462660 # in a Makefile. We should not override ac_cv_exeext if it was cached,
33502664 do
33512665 test -f "$ac_file" || continue
33522666 case $ac_file in
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
33542668 ;;
33552669 [ab].out )
33562670 # We found the default executable, but exeext='' is most
33572671 # certainly right.
33582672 break;;
33592673 *.* )
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
33612675 then :; else
33622676 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
33632677 fi
33762690 else
33772691 ac_file=''
33782692 fi
3379 if test -z "$ac_file"; then :
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
2693
2694 { echo "$as_me:$LINENO: result: $ac_file" >&5
2695 echo "${ECHO_T}$ac_file" >&6; }
2696 if test -z "$ac_file"; then
2697 echo "$as_me: failed program was:" >&5
33832698 sed 's/^/| /' conftest.$ac_ext >&5
33842699
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3394 $as_echo_n "checking for C compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
2700 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2701 See \`config.log' for more details." >&5
2702 echo "$as_me: error: C compiler cannot create executables
2703 See \`config.log' for more details." >&2;}
2704 { (exit 77); exit 77; }; }
2705 fi
2706
33972707 ac_exeext=$ac_cv_exeext
33982708
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2709 # Check that the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile.
2711 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2712 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2713 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2714 # If not cross compiling, check that we can run a simple program.
2715 if test "$cross_compiling" != yes; then
2716 if { ac_try='./$ac_file'
2717 { (case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_try") 2>&5
2723 ac_status=$?
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2726 cross_compiling=no
2727 else
2728 if test "$cross_compiling" = maybe; then
2729 cross_compiling=yes
2730 else
2731 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2732 If you meant to cross compile, use \`--host'.
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2738 fi
2739 fi
2740 fi
2741 { echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6; }
2743
2744 rm -f a.out a.exe conftest$ac_cv_exeext b.out
34002745 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3404 case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
2746 # Check that the compiler produces executables we can run. If not, either
2747 # the compiler is broken, or we cross compile.
2748 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2749 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2750 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2751 echo "${ECHO_T}$cross_compiling" >&6; }
2752
2753 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2754 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2755 if { (ac_try="$ac_link"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34102761 (eval "$ac_link") 2>&5
34112762 ac_status=$?
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
34142765 # If both `conftest.exe' and `conftest' are `present' (well, observable)
34152766 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
34162767 # work properly (i.e., refer to `conftest.exe'), while it won't with
34182769 for ac_file in conftest.exe conftest conftest.*; do
34192770 test -f "$ac_file" || continue
34202771 case $ac_file in
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
34222773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
34232774 break;;
34242775 * ) break;;
34252776 esac
34262777 done
34272778 else
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
2779 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2780 See \`config.log' for more details." >&5
2781 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 rm -f conftest$ac_cv_exeext
2787 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2788 echo "${ECHO_T}$ac_cv_exeext" >&6; }
34362789
34372790 rm -f conftest.$ac_ext
34382791 EXEEXT=$ac_cv_exeext
34392792 ac_exeext=$EXEEXT
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3442 @%:@include <stdio.h>
2793 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2794 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2795 if test "${ac_cv_objext+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 else
2798 cat >conftest.$ac_ext <<_ACEOF
2799 /* confdefs.h. */
2800 _ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2804
34432805 int
34442806 main ()
34452807 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
34482808
34492809 ;
34502810 return 0;
34512811 }
34522812 _ACEOF
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run. If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459 { { ac_try="$ac_link"
3460 case "(($ac_try" in
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_link") 2>&5
3467 ac_status=$?
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }
3470 if { ac_try='./conftest$ac_cv_exeext'
3471 { { case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_try") 2>&5
3478 ac_status=$?
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; }; then
3481 cross_compiling=no
3482 else
3483 if test "$cross_compiling" = maybe; then
3484 cross_compiling=yes
3485 else
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3491 fi
3492 fi
3493 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3496
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506
3507 int
3508 main ()
3509 {
3510
3511 ;
3512 return 0;
3513 }
3514 _ACEOF
35152813 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
2814 if { (ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232820 (eval "$ac_compile") 2>&5
35242821 ac_status=$?
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
35272824 for ac_file in conftest.o conftest.obj conftest.*; do
35282825 test -f "$ac_file" || continue;
35292826 case $ac_file in
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
35312828 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
35322829 break;;
35332830 esac
35342831 done
35352832 else
3536 $as_echo "$as_me: failed program was:" >&5
2833 echo "$as_me: failed program was:" >&5
35372834 sed 's/^/| /' conftest.$ac_ext >&5
35382835
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3543 fi
2836 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
35442843 rm -f conftest.$ac_cv_objext conftest.$ac_ext
35452844 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
35482847 OBJEXT=$ac_cv_objext
35492848 ac_objext=$OBJEXT
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3552 if ${ac_cv_c_compiler_gnu+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2850 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2851 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
35562859 /* end confdefs.h. */
35572860
35582861 int
35662869 return 0;
35672870 }
35682871 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
2872 rm -f conftest.$ac_objext
2873 if { (ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_compile") 2>conftest.er1
2880 ac_status=$?
2881 grep -v '^ *+' conftest.er1 >conftest.err
2882 rm -f conftest.er1
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && {
2886 test -z "$ac_c_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext; then
35702889 ac_compiler_gnu=yes
35712890 else
3572 ac_compiler_gnu=no
3573 fi
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
35742897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35752898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
35762899
35772900 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3581 GCC=yes
3582 else
3583 GCC=
3584 fi
2901 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2902 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2903 GCC=`test $ac_compiler_gnu = yes && echo yes`
35852904 ac_test_CFLAGS=${CFLAGS+set}
35862905 ac_save_CFLAGS=$CFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3589 if ${ac_cv_prog_cc_g+:} false; then :
3590 $as_echo_n "(cached) " >&6
2906 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2907 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2908 if test "${ac_cv_prog_cc_g+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
35912910 else
35922911 ac_save_c_werror_flag=$ac_c_werror_flag
35932912 ac_c_werror_flag=yes
35942913 ac_cv_prog_cc_g=no
35952914 CFLAGS="-g"
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
35972920 /* end confdefs.h. */
35982921
35992922 int
36042927 return 0;
36052928 }
36062929 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
2930 rm -f conftest.$ac_objext
2931 if { (ac_try="$ac_compile"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_compile") 2>conftest.er1
2938 ac_status=$?
2939 grep -v '^ *+' conftest.er1 >conftest.err
2940 rm -f conftest.er1
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } && {
2944 test -z "$ac_c_werror_flag" ||
2945 test ! -s conftest.err
2946 } && test -s conftest.$ac_objext; then
36082947 ac_cv_prog_cc_g=yes
36092948 else
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 CFLAGS=""
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
36122958 /* end confdefs.h. */
36132959
36142960 int
36192965 return 0;
36202966 }
36212967 _ACEOF
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
2968 rm -f conftest.$ac_objext
2969 if { (ac_try="$ac_compile"
2970 case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973 esac
2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_compile") 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
2985 :
2986 else
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 ac_c_werror_flag=$ac_save_c_werror_flag
36262991 CFLAGS="-g"
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
36282997 /* end confdefs.h. */
36292998
36302999 int
36353004 return 0;
36363005 }
36373006 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
3007 rm -f conftest.$ac_objext
3008 if { (ac_try="$ac_compile"
3009 case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012 esac
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>conftest.er1
3015 ac_status=$?
3016 grep -v '^ *+' conftest.er1 >conftest.err
3017 rm -f conftest.er1
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } && {
3021 test -z "$ac_c_werror_flag" ||
3022 test ! -s conftest.err
3023 } && test -s conftest.$ac_objext; then
36393024 ac_cv_prog_cc_g=yes
3640 fi
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
36413032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423033 fi
3034
36433035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443036 fi
3037
36453038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463039 ac_c_werror_flag=$ac_save_c_werror_flag
36473040 fi
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
36503043 if test "$ac_test_CFLAGS" = set; then
36513044 CFLAGS=$ac_save_CFLAGS
36523045 elif test $ac_cv_prog_cc_g = yes; then
36623055 CFLAGS=
36633056 fi
36643057 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3667 if ${ac_cv_prog_cc_c89+:} false; then :
3668 $as_echo_n "(cached) " >&6
3058 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3059 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3060 if test "${ac_cv_prog_cc_c89+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
36693062 else
36703063 ac_cv_prog_cc_c89=no
36713064 ac_save_CC=$CC
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
36733070 /* end confdefs.h. */
36743071 #include <stdarg.h>
36753072 #include <stdio.h>
37263123 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37273124 do
37283125 CC="$ac_save_CC $ac_arg"
3729 if ac_fn_c_try_compile "$LINENO"; then :
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3134 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
37303143 ac_cv_prog_cc_c89=$ac_arg
3731 fi
3732 rm -f core conftest.err conftest.$ac_objext
3144 else
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3147
3148
3149 fi
3150
3151 rm -f core conftest.err conftest.$ac_objext
37333152 test "x$ac_cv_prog_cc_c89" != "xno" && break
37343153 done
37353154 rm -f conftest.$ac_ext
37393158 # AC_CACHE_VAL
37403159 case "x$ac_cv_prog_cc_c89" in
37413160 x)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
37443163 xno)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
37473166 *)
37483167 CC="$CC $ac_cv_prog_cc_c89"
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 esac
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3170 esac
3171
37553172
37563173 ac_ext=c
37573174 ac_cpp='$CPP $CPPFLAGS'
37663183 am_make=${MAKE-make}
37673184 cat > confinc << 'END'
37683185 am__doit:
3769 @echo this is the am__doit target
3186 @echo done
37703187 .PHONY: am__doit
37713188 END
37723189 # If we don't find an include directive, just comment out the code.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3774 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3190 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3191 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
37753192 am__include="#"
37763193 am__quote=
37773194 _am_result=none
37783195 # First try GNU make style include.
37793196 echo "include confinc" > confmf
3780 # Ignore all kinds of additional output from `make'.
3781 case `$am_make -s -f confmf 2> /dev/null` in #(
3782 *the\ am__doit\ target*)
3783 am__include=include
3784 am__quote=
3785 _am_result=GNU
3786 ;;
3787 esac
3197 # We grep out `Entering directory' and `Leaving directory'
3198 # messages which can occur if `w' ends up in MAKEFLAGS.
3199 # In particular we don't look at `^make:' because GNU make might
3200 # be invoked under some other name (usually "gmake"), in which
3201 # case it prints its new name instead of `make'.
3202 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3203 am__include=include
3204 am__quote=
3205 _am_result=GNU
3206 fi
37883207 # Now try BSD make style include.
37893208 if test "$am__include" = "#"; then
37903209 echo '.include "confinc"' > confmf
3791 case `$am_make -s -f confmf 2> /dev/null` in #(
3792 *the\ am__doit\ target*)
3793 am__include=.include
3794 am__quote="\""
3795 _am_result=BSD
3796 ;;
3797 esac
3798 fi
3799
3800
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3802 $as_echo "$_am_result" >&6; }
3210 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3211 am__include=.include
3212 am__quote="\""
3213 _am_result=BSD
3214 fi
3215 fi
3216
3217
3218 { echo "$as_me:$LINENO: result: $_am_result" >&5
3219 echo "${ECHO_T}$_am_result" >&6; }
38033220 rm -f confinc confmf
38043221
3805 @%:@ Check whether --enable-dependency-tracking was given.
3806 if test "${enable_dependency_tracking+set}" = set; then :
3222 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
38073224 enableval=$enable_dependency_tracking;
38083225 fi
38093226
38233240
38243241 depcc="$CC" am_compiler_list=
38253242
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3827 $as_echo_n "checking dependency style of $depcc... " >&6; }
3828 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3829 $as_echo_n "(cached) " >&6
3243 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3244 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3245 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
38303247 else
38313248 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38323249 # We make a subdir and do the tests there. Otherwise we can end up
38513268 if test "$am_compiler_list" = ""; then
38523269 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38533270 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
38593271 for depmode in $am_compiler_list; do
38603272 # Setup a source with many dependencies, because some compilers
38613273 # like to wrap large dependency lists on column 80 (with \), and
38733285 done
38743286 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38753287
3876 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3877 # mode. It turns out that the SunPro C++ compiler does not properly
3878 # handle `-M -o', and we need to detect this. Also, some Intel
3879 # versions had trouble with output in subdirs
3880 am__obj=sub/conftest.${OBJEXT-o}
3881 am__minus_obj="-o $am__obj"
38823288 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
38873289 nosideeffect)
38883290 # after this tag, mechanisms are not by side-effect, so they'll
38893291 # only be used when explicitly requested
38933295 break
38943296 fi
38953297 ;;
3896 msvisualcpp | msvcmsys)
3897 # This compiler won't grok `-c -o', but also, the minuso test has
3898 # not run yet. These depmodes are late enough in the game, and
3899 # so weak that their functioning should not be impacted.
3900 am__obj=conftest.${OBJEXT-o}
3901 am__minus_obj=
3902 ;;
39033298 none) break ;;
39043299 esac
3300 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3301 # mode. It turns out that the SunPro C++ compiler does not properly
3302 # handle `-M -o', and we need to detect this.
39053303 if depmode=$depmode \
3906 source=sub/conftest.c object=$am__obj \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
39073305 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
39093307 >/dev/null 2>conftest.err &&
39103308 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
39113309 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
39133311 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
39143312 # icc doesn't choke on unknown options, it will just issue warnings
39153313 # or remarks (even with -Werror). So we grep stderr for any message
39333331 fi
39343332
39353333 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3937 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
39383336 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
39393337
39403338 if
39493347
39503348
39513349 if test "x$CC" != xcc; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3953 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3954 else
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3956 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3957 fi
3958 set dummy $CC; ac_cc=`$as_echo "$2" |
3350 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3351 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3352 else
3353 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3354 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3355 fi
3356 set dummy $CC; ac_cc=`echo $2 |
39593357 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3960 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 cat >conftest.$ac_ext <<_ACEOF
3362 /* confdefs.h. */
3363 _ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
39643366 /* end confdefs.h. */
39653367
39663368 int
39763378 # existing .o file with -o, though they will create one.
39773379 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
39783380 rm -f conftest2.*
3979 if { { case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3381 if { (case "(($ac_try" in
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3384 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853386 (eval "$ac_try") 2>&5
39863387 ac_status=$?
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; } &&
3989 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3393 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39953395 (eval "$ac_try") 2>&5
39963396 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
39993399 then
40003400 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
40013401 if test "x$CC" != xcc; then
40023402 # Test first that cc exists at all.
40033403 if { ac_try='cc -c conftest.$ac_ext >&5'
4004 { { case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
3404 { (case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103409 (eval "$ac_try") 2>&5
40113410 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
40143413 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
40153414 rm -f conftest2.*
4016 if { { case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
3415 if { (case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40223420 (eval "$ac_try") 2>&5
40233421 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; } &&
4026 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323429 (eval "$ac_try") 2>&5
40333430 ac_status=$?
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
40363433 then
40373434 # cc works too.
40383435 :
40453442 else
40463443 eval ac_cv_prog_cc_${ac_cc}_c_o=no
40473444 fi
4048 rm -f core conftest*
3445 rm -f -r core conftest*
40493446
40503447 fi
40513448 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4053 $as_echo "yes" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
3449 { echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6; }
3451 else
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
40573454
4058 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3455 cat >>confdefs.h <<\_ACEOF
3456 @%:@define NO_MINUS_C_MINUS_O 1
3457 _ACEOF
40593458
40603459 fi
40613460
40623461 # FIXME: we rely on the cache variable name because
40633462 # there is no other way.
40643463 set dummy $CC
4065 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4066 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4067 if test "$am_t" != yes; then
3464 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3465 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
40683466 # Losing compiler, so override with the script.
40693467 # FIXME: It is wrong to rewrite CC.
40703468 # But if we don't then we get into trouble of one sort or another.
40753473
40763474
40773475
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro C" >&5
4079 $as_echo_n "checking whether we are using SunPro C... " >&6; }
4080
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 { echo "$as_me:$LINENO: checking whether we are using SunPro C" >&5
3477 echo $ECHO_N "checking whether we are using SunPro C... $ECHO_C" >&6; }
3478
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h. */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
40823484 /* end confdefs.h. */
40833485
40843486 int
40923494 return 0;
40933495 }
40943496 _ACEOF
4095 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f conftest.$ac_objext
3498 if { (ac_try="$ac_compile"
3499 case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502 esac
3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
40963514 __sunpro_c=yes
40973515 else
4098 __sunpro_c=no
4099 fi
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
41003522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
41033525
41043526 CFLAGS="${CFLAGS=}"
41053527 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
41133535 fi
41143536 fi
41153537
4116 @%:@ Check whether --enable-devel was given.
4117 if test "${enable_devel+set}" = set; then :
3538 # Check whether --enable-devel was given.
3539 if test "${enable_devel+set}" = set; then
41183540 enableval=$enable_devel;
41193541 fi
41203542
41313553 _ACEOF
41323554 fi
41333555
4134 @%:@ Check whether --enable-compat15 was given.
4135 if test "${enable_compat15+set}" = set; then :
3556 # Check whether --enable-compat15 was given.
3557 if test "${enable_compat15+set}" = set; then
41363558 enableval=$enable_compat15;
41373559 fi
41383560
41433565 CFLAGS="$CFLAGS -DCOMPAT15"
41443566 fi
41453567
4146 +@%:@ Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
3568 +# Check whether --enable-fixtimebug was given.
3569 if test "${enable_fixtimebug+set}" = set; then
41483570 enableval=$enable_fixtimebug;
41493571 fi
41503572
41573579 do
41583580 # Extract the first word of "$ac_prog", so it can be a program name with args.
41593581 set dummy $ac_prog; ac_word=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_YACC+:} false; then :
4163 $as_echo_n "(cached) " >&6
3582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584 if test "${ac_cv_prog_YACC+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
41643586 else
41653587 if test -n "$YACC"; then
41663588 ac_cv_prog_YACC="$YACC" # Let the user override the test.
41703592 do
41713593 IFS=$as_save_IFS
41723594 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
3595 for ac_exec_ext in '' $ac_executable_extensions; do
41743596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41753597 ac_cv_prog_YACC="$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41773599 break 2
41783600 fi
41793601 done
4180 done
3602 done
41813603 IFS=$as_save_IFS
41823604
41833605 fi
41843606 fi
41853607 YACC=$ac_cv_prog_YACC
41863608 if test -n "$YACC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4188 $as_echo "$YACC" >&6; }
4189 else
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
3609 { echo "$as_me:$LINENO: result: $YACC" >&5
3610 echo "${ECHO_T}$YACC" >&6; }
3611 else
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
41923614 fi
41933615
41943616
42003622 do
42013623 # Extract the first word of "$ac_prog", so it can be a program name with args.
42023624 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if ${ac_cv_prog_LEX+:} false; then :
4206 $as_echo_n "(cached) " >&6
3625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 if test "${ac_cv_prog_LEX+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
42073629 else
42083630 if test -n "$LEX"; then
42093631 ac_cv_prog_LEX="$LEX" # Let the user override the test.
42133635 do
42143636 IFS=$as_save_IFS
42153637 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
3638 for ac_exec_ext in '' $ac_executable_extensions; do
42173639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42183640 ac_cv_prog_LEX="$ac_prog"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42203642 break 2
42213643 fi
42223644 done
4223 done
3645 done
42243646 IFS=$as_save_IFS
42253647
42263648 fi
42273649 fi
42283650 LEX=$ac_cv_prog_LEX
42293651 if test -n "$LEX"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4231 $as_echo "$LEX" >&6; }
4232 else
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
3652 { echo "$as_me:$LINENO: result: $LEX" >&5
3653 echo "${ECHO_T}$LEX" >&6; }
3654 else
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
42353657 fi
42363658
42373659
42593681 return ! yylex () + ! yywrap ();
42603682 }
42613683 _ACEOF
4262 { { ac_try="$LEX conftest.l"
4263 case "(($ac_try" in
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4266 esac
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
3684 { (ac_try="$LEX conftest.l"
3685 case "(($ac_try" in
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3688 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693690 (eval "$LEX conftest.l") 2>&5
42703691 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4274 $as_echo_n "checking lex output file root... " >&6; }
4275 if ${ac_cv_prog_lex_root+:} false; then :
4276 $as_echo_n "(cached) " >&6
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }
3694 { echo "$as_me:$LINENO: checking lex output file root" >&5
3695 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3696 if test "${ac_cv_prog_lex_root+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
42773698 else
42783699
42793700 if test -f lex.yy.c; then
42813702 elif test -f lexyy.c; then
42823703 ac_cv_prog_lex_root=lexyy
42833704 else
4284 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4285 fi
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4288 $as_echo "$ac_cv_prog_lex_root" >&6; }
3705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709 fi
3710 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
42893712 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
42903713
42913714 if test -z "${LEXLIB+set}"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4293 $as_echo_n "checking lex library... " >&6; }
4294 if ${ac_cv_lib_lex+:} false; then :
4295 $as_echo_n "(cached) " >&6
3715 { echo "$as_me:$LINENO: checking lex library" >&5
3716 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3717 if test "${ac_cv_lib_lex+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
42963719 else
42973720
42983721 ac_save_LIBS=$LIBS
42993722 ac_cv_lib_lex='none needed'
43003723 for ac_lib in '' -lfl -ll; do
43013724 LIBS="$ac_lib $ac_save_LIBS"
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
3725 cat >conftest.$ac_ext <<_ACEOF
43043726 `cat $LEX_OUTPUT_ROOT.c`
43053727 _ACEOF
4306 if ac_fn_c_try_link "$LINENO"; then :
3728 rm -f conftest.$ac_objext conftest$ac_exeext
3729 if { (ac_try="$ac_link"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_link") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } && {
3742 test -z "$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 } && test -s conftest$ac_exeext &&
3745 $as_test_x conftest$ac_exeext; then
43073746 ac_cv_lib_lex=$ac_lib
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
3747 else
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3750
3751
3752 fi
3753
3754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3755 conftest$ac_exeext conftest.$ac_ext
43113756 test "$ac_cv_lib_lex" != 'none needed' && break
43123757 done
43133758 LIBS=$ac_save_LIBS
43143759
43153760 fi
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
43183763 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
43193764 fi
43203765
43213766
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4323 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4324 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4325 $as_echo_n "(cached) " >&6
3767 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3768 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3769 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
43263771 else
43273772 # POSIX says lex can declare yytext either as a pointer or an array; the
43283773 # default is implementation-dependent. Figure out which it is, since
43303775 ac_cv_prog_lex_yytext_pointer=no
43313776 ac_save_LIBS=$LIBS
43323777 LIBS="$LEXLIB $ac_save_LIBS"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
43373780 `cat $LEX_OUTPUT_ROOT.c`
43383781 _ACEOF
4339 if ac_fn_c_try_link "$LINENO"; then :
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (ac_try="$ac_link"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_link") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest$ac_exeext &&
3799 $as_test_x conftest$ac_exeext; then
43403800 ac_cv_prog_lex_yytext_pointer=yes
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
3801 else
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3804
3805
3806 fi
3807
3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3809 conftest$ac_exeext conftest.$ac_ext
43443810 LIBS=$ac_save_LIBS
43453811
43463812 fi
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4348 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
43493815 if test $ac_cv_prog_lex_yytext_pointer = yes; then
43503816
4351 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
3817 cat >>confdefs.h <<\_ACEOF
3818 @%:@define YYTEXT_POINTER 1
3819 _ACEOF
43523820
43533821 fi
43543822 rm -f conftest.l $LEX_OUTPUT_ROOT.c
43563824 fi
43573825 which $LEX > /dev/null 2>&1
43583826 if test $? = 1; then
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
3827 { { echo "$as_me:$LINENO: error: No lex or flex found on system" >&5
3828 echo "$as_me: error: No lex or flex found on system" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831 # Find a good install program. We prefer a C program (faster),
3832 # so one script is as good as another. But avoid the broken or
3833 # incompatible versions:
3834 # SysV /etc/install, /usr/sbin/install
3835 # SunOS /usr/etc/install
3836 # IRIX /sbin/install
3837 # AIX /bin/install
3838 # AmigaOS /C/install, which installs bootblocks on floppy discs
3839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3842 # OS/2's system install, which has a completely different semantic
3843 # ./install, which can be erroneously created by make from ./install.sh.
3844 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3845 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3846 if test -z "$INSTALL"; then
3847 if test "${ac_cv_path_install+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3852 do
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 # Account for people who put trailing slashes in PATH elements.
3856 case $as_dir/ in
3857 ./ | .// | /cC/* | \
3858 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3859 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3860 /usr/ucb/* ) ;;
3861 *)
3862 # OSF1 and SCO ODT 3.0 have their own names for install.
3863 # Don't use installbsd from OSF since it installs stuff as root
3864 # by default.
3865 for ac_prog in ginstall scoinst install; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3868 if test $ac_prog = install &&
3869 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3870 # AIX install. It has an incompatible calling convention.
3871 :
3872 elif test $ac_prog = install &&
3873 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3874 # program-specific install script used by HP pwplus--don't use.
3875 :
3876 else
3877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3878 break 3
3879 fi
3880 fi
3881 done
3882 done
3883 ;;
3884 esac
3885 done
3886 IFS=$as_save_IFS
3887
3888
3889 fi
3890 if test "${ac_cv_path_install+set}" = set; then
3891 INSTALL=$ac_cv_path_install
3892 else
3893 # As a last resort, use the slow shell script. Don't cache a
3894 # value for INSTALL within a source directory, because that will
3895 # break other packages using the cache if that directory is
3896 # removed, or if the value is a relative name.
3897 INSTALL=$ac_install_sh
3898 fi
3899 fi
3900 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3901 echo "${ECHO_T}$INSTALL" >&6; }
3902
3903 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3904 # It thinks the first close brace ends the variable substitution.
3905 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3906
3907 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3908
3909 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43613910
43623911
43633912 if test "x$ac_cv_prog_LEX" = "xflex"; then
43673916 # Check if we need to build the flow-tools converter
43683917 # FIXME? This should use flow-tools-dev if possible, not local sources..
43693918
4370 @%:@ Check whether --with-ftpath was given.
4371 if test "${with_ftpath+set}" = set; then :
3919 # Check whether --with-ftpath was given.
3920 if test "${with_ftpath+set}" = set; then
43723921 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
43733922 WHERE_FTPATH="/usr/local/flow-tools/"
43743923 else
43823931
43833932
43843933
4385 @%:@ Check whether --with-rrdpath was given.
4386 if test "${with_rrdpath+set}" = set; then :
3934 # Check whether --with-rrdpath was given.
3935 if test "${with_rrdpath+set}" = set; then
43873936 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
43883937 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
43893938 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
43963945
43973946
43983947 #Tidz up? esp not using in source dist flow-tools
4399 @%:@ Check whether --enable-ftconv was given.
4400 if test "${enable_ftconv+set}" = set; then :
4401 enableval=$enable_ftconv; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
4402 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
4403 if ${ac_cv_lib_z_zlibVersion+:} false; then :
4404 $as_echo_n "(cached) " >&6
3948 # Check whether --enable-ftconv was given.
3949 if test "${enable_ftconv+set}" = set; then
3950 enableval=$enable_ftconv;
3951 { echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
3952 echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6; }
3953 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
44053955 else
44063956 ac_check_lib_save_LIBS=$LIBS
44073957 LIBS="-lz $LIBS"
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
44093963 /* end confdefs.h. */
44103964
44113965 /* Override any GCC internal prototype to avoid an error.
44233977 return 0;
44243978 }
44253979 _ACEOF
4426 if ac_fn_c_try_link "$LINENO"; then :
3980 rm -f conftest.$ac_objext conftest$ac_exeext
3981 if { (ac_try="$ac_link"
3982 case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3985 esac
3986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987 (eval "$ac_link") 2>conftest.er1
3988 ac_status=$?
3989 grep -v '^ *+' conftest.er1 >conftest.err
3990 rm -f conftest.er1
3991 cat conftest.err >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } && {
3994 test -z "$ac_c_werror_flag" ||
3995 test ! -s conftest.err
3996 } && test -s conftest$ac_exeext &&
3997 $as_test_x conftest$ac_exeext; then
44273998 ac_cv_lib_z_zlibVersion=yes
44283999 else
4429 ac_cv_lib_z_zlibVersion=no
4430 fi
4431 rm -f core conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4002
4003 ac_cv_lib_z_zlibVersion=no
4004 fi
4005
4006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4007 conftest$ac_exeext conftest.$ac_ext
44334008 LIBS=$ac_check_lib_save_LIBS
44344009 fi
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
4436 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
4437 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
4010 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
4011 echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6; }
4012 if test $ac_cv_lib_z_zlibVersion = yes; then
44384013 cat >>confdefs.h <<_ACEOF
44394014 @%:@define HAVE_LIBZ 1
44404015 _ACEOF
44424017 LIBS="-lz $LIBS"
44434018
44444019 else
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
4020 { { echo "$as_me:$LINENO: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&5
4021 echo "$as_me: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&2;}
4022 { (exit 1); exit 1; }; }
44464023
44474024 fi
44484025
44494026 if test -d "$WHERE_FTPATH"; then
44504027 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
4028 { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
4029 echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
4030 { (exit 1); exit 1; }; }
44524031 fi
44534032 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
4033 { { echo "$as_me:$LINENO: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&5
4034 echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
4035 { (exit 1); exit 1; }; }
44554036 fi
44564037 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
44574038 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
44584039 else
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
4040 { { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5
4041 echo "$as_me: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&2;}
4042 { (exit 1); exit 1; }; }
44604043 fi
44614044 if true; then
44624045 FT2NFDUMP_TRUE=
44864069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4490 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
44914074 # On Suns, sometimes $CPP names a directory.
44924075 if test -n "$CPP" && test -d "$CPP"; then
44934076 CPP=
44944077 fi
44954078 if test -z "$CPP"; then
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
44984081 else
44994082 # Double quotes because CPP needs to be expanded
45004083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
45084091 # <limits.h> exists even on freestanding compilers.
45094092 # On the NeXT, cc -E runs the code through the compiler's parser,
45104093 # not just through cpp. "Syntax error" is here to catch this case.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
45124099 /* end confdefs.h. */
45134100 @%:@ifdef __STDC__
45144101 @%:@ include <limits.h>
45174104 @%:@endif
45184105 Syntax error
45194106 _ACEOF
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
4107 if { (ac_try="$ac_cpp conftest.$ac_ext"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4114 ac_status=$?
4115 grep -v '^ *+' conftest.er1 >conftest.err
4116 rm -f conftest.er1
4117 cat conftest.err >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } >/dev/null && {
4120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4121 test ! -s conftest.err
4122 }; then
4123 :
4124 else
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4127
45234128 # Broken: fails on valid input.
45244129 continue
45254130 fi
4526 rm -f conftest.err conftest.i conftest.$ac_ext
4131
4132 rm -f conftest.err conftest.$ac_ext
45274133
45284134 # OK, works on sane cases. Now check whether nonexistent headers
45294135 # can be detected and how.
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
45314141 /* end confdefs.h. */
45324142 @%:@include <ac_nonexistent.h>
45334143 _ACEOF
4534 if ac_fn_c_try_cpp "$LINENO"; then :
4144 if { (ac_try="$ac_cpp conftest.$ac_ext"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } >/dev/null && {
4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 }; then
45354160 # Broken: success on invalid input.
45364161 continue
45374162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
45384166 # Passes both tests.
45394167 ac_preproc_ok=:
45404168 break
45414169 fi
4542 rm -f conftest.err conftest.i conftest.$ac_ext
4170
4171 rm -f conftest.err conftest.$ac_ext
45434172
45444173 done
45454174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
45484177 break
45494178 fi
45504179
45564185 else
45574186 ac_cv_prog_CPP=$CPP
45584187 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
45614190 ac_preproc_ok=false
45624191 for ac_c_preproc_warn_flag in '' yes
45634192 do
45674196 # <limits.h> exists even on freestanding compilers.
45684197 # On the NeXT, cc -E runs the code through the compiler's parser,
45694198 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
45714204 /* end confdefs.h. */
45724205 @%:@ifdef __STDC__
45734206 @%:@ include <limits.h>
45764209 @%:@endif
45774210 Syntax error
45784211 _ACEOF
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
4212 if { (ac_try="$ac_cpp conftest.$ac_ext"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null && {
4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 }; then
4228 :
4229 else
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4232
45824233 # Broken: fails on valid input.
45834234 continue
45844235 fi
4585 rm -f conftest.err conftest.i conftest.$ac_ext
4236
4237 rm -f conftest.err conftest.$ac_ext
45864238
45874239 # OK, works on sane cases. Now check whether nonexistent headers
45884240 # can be detected and how.
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
45904246 /* end confdefs.h. */
45914247 @%:@include <ac_nonexistent.h>
45924248 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4249 if { (ac_try="$ac_cpp conftest.$ac_ext"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4256 ac_status=$?
4257 grep -v '^ *+' conftest.er1 >conftest.err
4258 rm -f conftest.er1
4259 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } >/dev/null && {
4262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 }; then
45944265 # Broken: success on invalid input.
45954266 continue
45964267 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
45974271 # Passes both tests.
45984272 ac_preproc_ok=:
45994273 break
46004274 fi
4601 rm -f conftest.err conftest.i conftest.$ac_ext
4275
4276 rm -f conftest.err conftest.$ac_ext
46024277
46034278 done
46044279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4605 rm -f conftest.i conftest.err conftest.$ac_ext
4606 if $ac_preproc_ok; then :
4607
4608 else
4609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4612 See \`config.log' for more details" "$LINENO" 5; }
4280 rm -f conftest.err conftest.$ac_ext
4281 if $ac_preproc_ok; then
4282 :
4283 else
4284 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4285 See \`config.log' for more details." >&5
4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4287 See \`config.log' for more details." >&2;}
4288 { (exit 1); exit 1; }; }
46134289 fi
46144290
46154291 ac_ext=c
46194295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204296
46214297
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4624 if ${ac_cv_path_GREP+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 if test -z "$GREP"; then
4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4300 if test "${ac_cv_path_GREP+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 else
4303 # Extract the first word of "grep ggrep" to use in msg output
4304 if test -z "$GREP"; then
4305 set dummy grep ggrep; ac_prog_name=$2
4306 if test "${ac_cv_path_GREP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
46284309 ac_path_GREP_found=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46314312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46324313 do
46334314 IFS=$as_save_IFS
46344315 test -z "$as_dir" && as_dir=.
4635 for ac_prog in grep ggrep; do
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4638 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4639 # Check for GNU ac_path_GREP and select it if it is found.
4316 for ac_prog in grep ggrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4320 # Check for GNU ac_path_GREP and select it if it is found.
46404321 # Check for GNU $ac_path_GREP
46414322 case `"$ac_path_GREP" --version 2>&1` in
46424323 *GNU*)
46434324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46444325 *)
46454326 ac_count=0
4646 $as_echo_n 0123456789 >"conftest.in"
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46474328 while :
46484329 do
46494330 cat "conftest.in" "conftest.in" >"conftest.tmp"
46504331 mv "conftest.tmp" "conftest.in"
46514332 cp "conftest.in" "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
46534334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46544335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
4336 ac_count=`expr $ac_count + 1`
46564337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
46574338 # Best one so far, save it but keep looking for a better one
46584339 ac_cv_path_GREP="$ac_path_GREP"
46644345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46654346 esac
46664347
4667 $ac_path_GREP_found && break 3
4668 done
4348
4349 $ac_path_GREP_found && break 3
46694350 done
4670 done
4351 done
4352
4353 done
46714354 IFS=$as_save_IFS
4672 if test -z "$ac_cv_path_GREP"; then
4673 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4674 fi
4355
4356
4357 fi
4358
4359 GREP="$ac_cv_path_GREP"
4360 if test -z "$GREP"; then
4361 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4363 { (exit 1); exit 1; }; }
4364 fi
4365
46754366 else
46764367 ac_cv_path_GREP=$GREP
46774368 fi
46784369
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
46824374 GREP="$ac_cv_path_GREP"
46834375
46844376
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if ${ac_cv_path_EGREP+:} false; then :
4688 $as_echo_n "(cached) " >&6
4377 { echo "$as_me:$LINENO: checking for egrep" >&5
4378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4379 if test "${ac_cv_path_EGREP+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
46894381 else
46904382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46914383 then ac_cv_path_EGREP="$GREP -E"
46924384 else
4693 if test -z "$EGREP"; then
4385 # Extract the first word of "egrep" to use in msg output
4386 if test -z "$EGREP"; then
4387 set dummy egrep; ac_prog_name=$2
4388 if test "${ac_cv_path_EGREP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
46944391 ac_path_EGREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46974394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46984395 do
46994396 IFS=$as_save_IFS
47004397 test -z "$as_dir" && as_dir=.
4701 for ac_prog in egrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4704 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4398 for ac_prog in egrep; do
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4401 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4402 # Check for GNU ac_path_EGREP and select it if it is found.
47064403 # Check for GNU $ac_path_EGREP
47074404 case `"$ac_path_EGREP" --version 2>&1` in
47084405 *GNU*)
47094406 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
47104407 *)
47114408 ac_count=0
4712 $as_echo_n 0123456789 >"conftest.in"
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
47134410 while :
47144411 do
47154412 cat "conftest.in" "conftest.in" >"conftest.tmp"
47164413 mv "conftest.tmp" "conftest.in"
47174414 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
47194416 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
47204417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4418 ac_count=`expr $ac_count + 1`
47224419 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
47234420 # Best one so far, save it but keep looking for a better one
47244421 ac_cv_path_EGREP="$ac_path_EGREP"
47304427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
47314428 esac
47324429
4733 $ac_path_EGREP_found && break 3
4734 done
4430
4431 $ac_path_EGREP_found && break 3
47354432 done
4736 done
4433 done
4434
4435 done
47374436 IFS=$as_save_IFS
4738 if test -z "$ac_cv_path_EGREP"; then
4739 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4740 fi
4437
4438
4439 fi
4440
4441 EGREP="$ac_cv_path_EGREP"
4442 if test -z "$EGREP"; then
4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
47414448 else
47424449 ac_cv_path_EGREP=$EGREP
47434450 fi
47444451
4452
47454453 fi
47464454 fi
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
47494457 EGREP="$ac_cv_path_EGREP"
47504458
47514459
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4753 $as_echo_n "checking for ANSI C header files... " >&6; }
4754 if ${ac_cv_header_stdc+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4462 if test "${ac_cv_header_stdc+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465 cat >conftest.$ac_ext <<_ACEOF
4466 /* confdefs.h. */
4467 _ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
47584470 /* end confdefs.h. */
47594471 #include <stdlib.h>
47604472 #include <stdarg.h>
47694481 return 0;
47704482 }
47714483 _ACEOF
4772 if ac_fn_c_try_compile "$LINENO"; then :
4484 rm -f conftest.$ac_objext
4485 if { (ac_try="$ac_compile"
4486 case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4489 esac
4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491 (eval "$ac_compile") 2>conftest.er1
4492 ac_status=$?
4493 grep -v '^ *+' conftest.er1 >conftest.err
4494 rm -f conftest.er1
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest.$ac_objext; then
47734501 ac_cv_header_stdc=yes
47744502 else
4775 ac_cv_header_stdc=no
4776 fi
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.$ac_ext >&5
4505
4506 ac_cv_header_stdc=no
4507 fi
4508
47774509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47784510
47794511 if test $ac_cv_header_stdc = yes; then
47804512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
47824518 /* end confdefs.h. */
47834519 #include <string.h>
47844520
47854521 _ACEOF
47864522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
47894525 else
47904526 ac_cv_header_stdc=no
47914527 fi
4792 rm -f conftest*
4528 rm -f -r conftest*
47934529
47944530 fi
47954531
47964532 if test $ac_cv_header_stdc = yes; then
47974533 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
47994539 /* end confdefs.h. */
48004540 #include <stdlib.h>
48014541
48024542 _ACEOF
48034543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
48064546 else
48074547 ac_cv_header_stdc=no
48084548 fi
4809 rm -f conftest*
4549 rm -f -r conftest*
48104550
48114551 fi
48124552
48134553 if test $ac_cv_header_stdc = yes; then
48144554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4815 if test "$cross_compiling" = yes; then :
4555 if test "$cross_compiling" = yes; then
48164556 :
48174557 else
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
48194563 /* end confdefs.h. */
48204564 #include <ctype.h>
48214565 #include <stdlib.h>
48424586 return 0;
48434587 }
48444588 _ACEOF
4845 if ac_fn_c_try_run "$LINENO"; then :
4846
4847 else
4848 ac_cv_header_stdc=no
4849 fi
4850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4851 conftest.$ac_objext conftest.beam conftest.$ac_ext
4852 fi
4853
4854 fi
4855 fi
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4857 $as_echo "$ac_cv_header_stdc" >&6; }
4589 rm -f conftest$ac_exeext
4590 if { (ac_try="$ac_link"
4591 case "(($ac_try" in
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4594 esac
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_link") 2>&5
4597 ac_status=$?
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4600 { (case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_try") 2>&5
4606 ac_status=$?
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 :
4610 else
4611 echo "$as_me: program exited with status $ac_status" >&5
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4614
4615 ( exit $ac_status )
4616 ac_cv_header_stdc=no
4617 fi
4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4619 fi
4620
4621
4622 fi
4623 fi
4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
48584626 if test $ac_cv_header_stdc = yes; then
48594627
4860 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4628 cat >>confdefs.h <<\_ACEOF
4629 @%:@define STDC_HEADERS 1
4630 _ACEOF
48614631
48624632 fi
48634633
48644634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
48654644 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
48664645 inttypes.h stdint.h unistd.h
4867 do :
4868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4870 "
4871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4646 do
4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 else
4653 cat >conftest.$ac_ext <<_ACEOF
4654 /* confdefs.h. */
4655 _ACEOF
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4659 $ac_includes_default
4660
4661 @%:@include <$ac_header>
4662 _ACEOF
4663 rm -f conftest.$ac_objext
4664 if { (ac_try="$ac_compile"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_compile") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest.$ac_objext; then
4680 eval "$as_ac_Header=yes"
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4684
4685 eval "$as_ac_Header=no"
4686 fi
4687
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 fi
4690 ac_res=`eval echo '${'$as_ac_Header'}'`
4691 { echo "$as_me:$LINENO: result: $ac_res" >&5
4692 echo "${ECHO_T}$ac_res" >&6; }
4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48724694 cat >>confdefs.h <<_ACEOF
4873 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4695 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48744696 _ACEOF
48754697
48764698 fi
48784700 done
48794701
48804702
4881 @%:@ Check whether --enable-nfprofile was given.
4882 if test "${enable_nfprofile+set}" = set; then :
4703 # Check whether --enable-nfprofile was given.
4704 if test "${enable_nfprofile+set}" = set; then
48834705 enableval=$enable_nfprofile;
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
4885 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
4886 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
4887 $as_echo_n "(cached) " >&6
4706 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
4707 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
4708 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
48884710 else
48894711 ac_check_lib_save_LIBS=$LIBS
48904712 LIBS="-lrrd $LIBS"
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
48924718 /* end confdefs.h. */
48934719
48944720 /* Override any GCC internal prototype to avoid an error.
49064732 return 0;
49074733 }
49084734 _ACEOF
4909 if ac_fn_c_try_link "$LINENO"; then :
4735 rm -f conftest.$ac_objext conftest$ac_exeext
4736 if { (ac_try="$ac_link"
4737 case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_link") 2>conftest.er1
4743 ac_status=$?
4744 grep -v '^ *+' conftest.er1 >conftest.err
4745 rm -f conftest.er1
4746 cat conftest.err >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } && {
4749 test -z "$ac_c_werror_flag" ||
4750 test ! -s conftest.err
4751 } && test -s conftest$ac_exeext &&
4752 $as_test_x conftest$ac_exeext; then
49104753 ac_cv_lib_rrd_rrd_update=yes
49114754 else
4912 ac_cv_lib_rrd_rrd_update=no
4913 fi
4914 rm -f core conftest.err conftest.$ac_objext \
4915 conftest$ac_exeext conftest.$ac_ext
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4757
4758 ac_cv_lib_rrd_rrd_update=no
4759 fi
4760
4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4762 conftest$ac_exeext conftest.$ac_ext
49164763 LIBS=$ac_check_lib_save_LIBS
49174764 fi
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
4919 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
4920 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
4766 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
4767 if test $ac_cv_lib_rrd_rrd_update = yes; then
49214768
49224769 cat >>config.h <<_ACEOF
49234770 #define HAVE_LIBRRD 1
49274774
49284775
49294776 else
4930 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
4931 fi
4932
4933 for ac_header in rrd.h
4934 do :
4935 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
4936 if test "x$ac_cv_header_rrd_h" = xyes; then :
4777 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
4778 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
4779 { (exit 1); exit 1; }; }
4780 fi
4781
4782
4783 for ac_header in rrd.h
4784 do
4785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 fi
4792 ac_res=`eval echo '${'$as_ac_Header'}'`
4793 { echo "$as_me:$LINENO: result: $ac_res" >&5
4794 echo "${ECHO_T}$ac_res" >&6; }
4795 else
4796 # Is the header compilable?
4797 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4799 cat >conftest.$ac_ext <<_ACEOF
4800 /* confdefs.h. */
4801 _ACEOF
4802 cat confdefs.h >>conftest.$ac_ext
4803 cat >>conftest.$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4805 $ac_includes_default
4806 @%:@include <$ac_header>
4807 _ACEOF
4808 rm -f conftest.$ac_objext
4809 if { (ac_try="$ac_compile"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_compile") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest.$ac_objext; then
4825 ac_header_compiler=yes
4826 else
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4829
4830 ac_header_compiler=no
4831 fi
4832
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4835 echo "${ECHO_T}$ac_header_compiler" >&6; }
4836
4837 # Is the header present?
4838 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4840 cat >conftest.$ac_ext <<_ACEOF
4841 /* confdefs.h. */
4842 _ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 @%:@include <$ac_header>
4847 _ACEOF
4848 if { (ac_try="$ac_cpp conftest.$ac_ext"
4849 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4855 ac_status=$?
4856 grep -v '^ *+' conftest.er1 >conftest.err
4857 rm -f conftest.er1
4858 cat conftest.err >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } >/dev/null && {
4861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4862 test ! -s conftest.err
4863 }; then
4864 ac_header_preproc=yes
4865 else
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4868
4869 ac_header_preproc=no
4870 fi
4871
4872 rm -f conftest.err conftest.$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4874 echo "${ECHO_T}$ac_header_preproc" >&6; }
4875
4876 # So? What about this header?
4877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4878 yes:no: )
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4883 ac_header_preproc=yes
4884 ;;
4885 no:yes:* )
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4898 ( cat <<\_ASBOX
4899 @%:@@%:@ ------------------------------------------ @%:@@%:@
4900 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
4901 @%:@@%:@ ------------------------------------------ @%:@@%:@
4902 _ASBOX
4903 ) | sed "s/^/$as_me: WARNING: /" >&2
4904 ;;
4905 esac
4906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 eval "$as_ac_Header=\$ac_header_preproc"
4912 fi
4913 ac_res=`eval echo '${'$as_ac_Header'}'`
4914 { echo "$as_me:$LINENO: result: $ac_res" >&5
4915 echo "${ECHO_T}$ac_res" >&6; }
4916
4917 fi
4918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49374919 cat >>confdefs.h <<_ACEOF
4938 @%:@define HAVE_RRD_H 1
4920 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49394921 _ACEOF
49404922
49414923 fi
49524934 fi
49534935
49544936 else
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
4937 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
4938 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
4939 { (exit 1); exit 1; }; }
49564940 fi
4957 if test "$cross_compiling" = yes; then :
4958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4960 as_fn_error $? "cannot run test program while cross compiling
4961 See \`config.log' for more details" "$LINENO" 5; }
4962 else
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4965
4941 if test "$cross_compiling" = yes; then
4942 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4943 See \`config.log' for more details." >&5
4944 echo "$as_me: error: cannot run test program while cross compiling
4945 See \`config.log' for more details." >&2;}
4946 { (exit 1); exit 1; }; }
4947 else
4948 cat >conftest.$ac_ext <<_ACEOF
4949 /* confdefs.h. */
4950 _ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4954
49664955 #include <stdio.h>
49674956 #include <rrd.h>
49684957
49774966 }
49784967
49794968 _ACEOF
4980 if ac_fn_c_try_run "$LINENO"; then :
4981
4982 else
4983 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
4984 fi
4985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4986 conftest.$ac_objext conftest.beam conftest.$ac_ext
4987 fi
4969 rm -f conftest$ac_exeext
4970 if { (ac_try="$ac_link"
4971 case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_link") 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4980 { (case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4983 esac
4984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4985 (eval "$ac_try") 2>&5
4986 ac_status=$?
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 :
4990 else
4991 echo "$as_me: program exited with status $ac_status" >&5
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4994
4995 ( exit $ac_status )
4996 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
4997 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
4998 { (exit 1); exit 1; }; }
4999 fi
5000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5001 fi
5002
49885003
49895004
49905005
50025017 fi
50035018
50045019
5005 @%:@ Check whether --enable-nftrack was given.
5006 if test "${enable_nftrack+set}" = set; then :
5020 # Check whether --enable-nftrack was given.
5021 if test "${enable_nftrack+set}" = set; then
50075022 enableval=$enable_nftrack;
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
5009 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
5010 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
5011 $as_echo_n "(cached) " >&6
5023 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
5024 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
5025 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
50125027 else
50135028 ac_check_lib_save_LIBS=$LIBS
50145029 LIBS="-lrrd $LIBS"
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
50165035 /* end confdefs.h. */
50175036
50185037 /* Override any GCC internal prototype to avoid an error.
50305049 return 0;
50315050 }
50325051 _ACEOF
5033 if ac_fn_c_try_link "$LINENO"; then :
5052 rm -f conftest.$ac_objext conftest$ac_exeext
5053 if { (ac_try="$ac_link"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest$ac_exeext &&
5069 $as_test_x conftest$ac_exeext; then
50345070 ac_cv_lib_rrd_rrd_update=yes
50355071 else
5036 ac_cv_lib_rrd_rrd_update=no
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5074
5075 ac_cv_lib_rrd_rrd_update=no
5076 fi
5077
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext conftest.$ac_ext
50405080 LIBS=$ac_check_lib_save_LIBS
50415081 fi
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
5043 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
5044 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
5083 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
5084 if test $ac_cv_lib_rrd_rrd_update = yes; then
50455085
50465086 cat >>config.h <<_ACEOF
50475087 #define HAVE_LIBRRD 1
50515091
50525092
50535093 else
5054 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
5055 fi
5056
5057 for ac_header in rrd.h
5058 do :
5059 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
5060 if test "x$ac_cv_header_rrd_h" = xyes; then :
5094 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
5095 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
5096 { (exit 1); exit 1; }; }
5097 fi
5098
5099
5100 for ac_header in rrd.h
5101 do
5102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 fi
5109 ac_res=`eval echo '${'$as_ac_Header'}'`
5110 { echo "$as_me:$LINENO: result: $ac_res" >&5
5111 echo "${ECHO_T}$ac_res" >&6; }
5112 else
5113 # Is the header compilable?
5114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5116 cat >conftest.$ac_ext <<_ACEOF
5117 /* confdefs.h. */
5118 _ACEOF
5119 cat confdefs.h >>conftest.$ac_ext
5120 cat >>conftest.$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5122 $ac_includes_default
5123 @%:@include <$ac_header>
5124 _ACEOF
5125 rm -f conftest.$ac_objext
5126 if { (ac_try="$ac_compile"
5127 case "(($ac_try" in
5128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5130 esac
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5133 ac_status=$?
5134 grep -v '^ *+' conftest.er1 >conftest.err
5135 rm -f conftest.er1
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5142 ac_header_compiler=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5146
5147 ac_header_compiler=no
5148 fi
5149
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5152 echo "${ECHO_T}$ac_header_compiler" >&6; }
5153
5154 # Is the header present?
5155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5157 cat >conftest.$ac_ext <<_ACEOF
5158 /* confdefs.h. */
5159 _ACEOF
5160 cat confdefs.h >>conftest.$ac_ext
5161 cat >>conftest.$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5163 @%:@include <$ac_header>
5164 _ACEOF
5165 if { (ac_try="$ac_cpp conftest.$ac_ext"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5172 ac_status=$?
5173 grep -v '^ *+' conftest.er1 >conftest.err
5174 rm -f conftest.er1
5175 cat conftest.err >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev/null && {
5178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5179 test ! -s conftest.err
5180 }; then
5181 ac_header_preproc=yes
5182 else
5183 echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.$ac_ext >&5
5185
5186 ac_header_preproc=no
5187 fi
5188
5189 rm -f conftest.err conftest.$ac_ext
5190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5191 echo "${ECHO_T}$ac_header_preproc" >&6; }
5192
5193 # So? What about this header?
5194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5195 yes:no: )
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5200 ac_header_preproc=yes
5201 ;;
5202 no:yes:* )
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5215 ( cat <<\_ASBOX
5216 @%:@@%:@ ------------------------------------------ @%:@@%:@
5217 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
5218 @%:@@%:@ ------------------------------------------ @%:@@%:@
5219 _ASBOX
5220 ) | sed "s/^/$as_me: WARNING: /" >&2
5221 ;;
5222 esac
5223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 eval "$as_ac_Header=\$ac_header_preproc"
5229 fi
5230 ac_res=`eval echo '${'$as_ac_Header'}'`
5231 { echo "$as_me:$LINENO: result: $ac_res" >&5
5232 echo "${ECHO_T}$ac_res" >&6; }
5233
5234 fi
5235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50615236 cat >>confdefs.h <<_ACEOF
5062 @%:@define HAVE_RRD_H 1
5237 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50635238 _ACEOF
50645239
50655240 fi
50765251 fi
50775252
50785253 else
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
5254 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
5255 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
5256 { (exit 1); exit 1; }; }
50805257 fi
5081 if test "$cross_compiling" = yes; then :
5082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5084 as_fn_error $? "cannot run test program while cross compiling
5085 See \`config.log' for more details" "$LINENO" 5; }
5086 else
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5089
5258 if test "$cross_compiling" = yes; then
5259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5260 See \`config.log' for more details." >&5
5261 echo "$as_me: error: cannot run test program while cross compiling
5262 See \`config.log' for more details." >&2;}
5263 { (exit 1); exit 1; }; }
5264 else
5265 cat >conftest.$ac_ext <<_ACEOF
5266 /* confdefs.h. */
5267 _ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5271
50905272 #include <stdio.h>
50915273 #include <rrd.h>
50925274
51015283 }
51025284
51035285 _ACEOF
5104 if ac_fn_c_try_run "$LINENO"; then :
5105
5106 else
5107 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
5108 fi
5109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5110 conftest.$ac_objext conftest.beam conftest.$ac_ext
5111 fi
5286 rm -f conftest$ac_exeext
5287 if { (ac_try="$ac_link"
5288 case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5291 esac
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_link") 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5303 ac_status=$?
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 :
5307 else
5308 echo "$as_me: program exited with status $ac_status" >&5
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5311
5312 ( exit $ac_status )
5313 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
5314 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
5315 { (exit 1); exit 1; }; }
5316 fi
5317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5318 fi
5319
51125320
51135321
51145322
51265334 fi
51275335
51285336
5129 @%:@ Check whether --enable-sflow was given.
5130 if test "${enable_sflow+set}" = set; then :
5337 # Check whether --enable-sflow was given.
5338 if test "${enable_sflow+set}" = set; then
51315339 enableval=$enable_sflow;
51325340 fi
51335341
51405348 fi
51415349
51425350
5143 @%:@ Check whether --enable-readpcap was given.
5144 if test "${enable_readpcap+set}" = set; then :
5351 # Check whether --enable-readpcap was given.
5352 if test "${enable_readpcap+set}" = set; then
51455353 enableval=$enable_readpcap;
51465354 fi
51475355
51555363
51565364
51575365 # Check for structures
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5366 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5367 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5368 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371 cat >conftest.$ac_ext <<_ACEOF
5372 /* confdefs.h. */
5373 _ACEOF
5374 cat confdefs.h >>conftest.$ac_ext
5375 cat >>conftest.$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5377
51595378 #include <sys/types.h>
51605379 #include <sys/socket.h>
5161 "
5162 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5163
5164 $as_echo "@%:@define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
5165
5166 fi
5167
5168
5169 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "
5380
5381 int
5382 main ()
5383 {
5384 static struct sockaddr ac_aggr;
5385 if (ac_aggr.sa_len)
5386 return 0;
5387 ;
5388 return 0;
5389 }
5390 _ACEOF
5391 rm -f conftest.$ac_objext
5392 if { (ac_try="$ac_compile"
5393 case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_compile") 2>conftest.er1
5399 ac_status=$?
5400 grep -v '^ *+' conftest.er1 >conftest.err
5401 rm -f conftest.er1
5402 cat conftest.err >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } && {
5405 test -z "$ac_c_werror_flag" ||
5406 test ! -s conftest.err
5407 } && test -s conftest.$ac_objext; then
5408 ac_cv_member_struct_sockaddr_sa_len=yes
5409 else
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5412
5413 cat >conftest.$ac_ext <<_ACEOF
5414 /* confdefs.h. */
5415 _ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419
51705420 #include <sys/types.h>
51715421 #include <sys/socket.h>
51725422
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
5423 int
5424 main ()
5425 {
5426 static struct sockaddr ac_aggr;
5427 if (sizeof ac_aggr.sa_len)
5428 return 0;
5429 ;
5430 return 0;
5431 }
5432 _ACEOF
5433 rm -f conftest.$ac_objext
5434 if { (ac_try="$ac_compile"
5435 case "(($ac_try" in
5436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437 *) ac_try_echo=$ac_try;;
5438 esac
5439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440 (eval "$ac_compile") 2>conftest.er1
5441 ac_status=$?
5442 grep -v '^ *+' conftest.er1 >conftest.err
5443 rm -f conftest.er1
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } && {
5447 test -z "$ac_c_werror_flag" ||
5448 test ! -s conftest.err
5449 } && test -s conftest.$ac_objext; then
5450 ac_cv_member_struct_sockaddr_sa_len=yes
5451 else
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5454
5455 ac_cv_member_struct_sockaddr_sa_len=no
5456 fi
5457
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 fi
5460
5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5462 fi
5463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5464 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
5465 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5466
5467 cat >>confdefs.h <<\_ACEOF
5468 @%:@define HAVE_SOCKADDR_SA_LEN 1
5469 _ACEOF
5470
5471 fi
5472
5473
5474 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
5475 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
5476 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 else
5479 cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h. */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485
5486 #include <sys/types.h>
5487 #include <sys/socket.h>
5488
5489
5490 int
5491 main ()
5492 {
5493 static struct sockaddr_storage ac_aggr;
5494 if (ac_aggr.ss_family)
5495 return 0;
5496 ;
5497 return 0;
5498 }
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (ac_try="$ac_compile"
5502 case "(($ac_try" in
5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5505 esac
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_compile") 2>conftest.er1
5508 ac_status=$?
5509 grep -v '^ *+' conftest.er1 >conftest.err
5510 rm -f conftest.er1
5511 cat conftest.err >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } && {
5514 test -z "$ac_c_werror_flag" ||
5515 test ! -s conftest.err
5516 } && test -s conftest.$ac_objext; then
5517 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5518 else
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5521
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 _ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528
5529 #include <sys/types.h>
5530 #include <sys/socket.h>
5531
5532
5533 int
5534 main ()
5535 {
5536 static struct sockaddr_storage ac_aggr;
5537 if (sizeof ac_aggr.ss_family)
5538 return 0;
5539 ;
5540 return 0;
5541 }
5542 _ACEOF
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5545 case "(($ac_try" in
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5548 esac
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5551 ac_status=$?
5552 grep -v '^ *+' conftest.er1 >conftest.err
5553 rm -f conftest.er1
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5560 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5561 else
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5564
5565 ac_cv_member_struct_sockaddr_storage_ss_family=no
5566 fi
5567
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 fi
5570
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572 fi
5573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
5574 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
5575 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
51755576
51765577 cat >>confdefs.h <<_ACEOF
51775578 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
51795580
51805581
51815582 fi
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
5583 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_family" >&5
5584 echo $ECHO_N "checking for struct sockaddr_storage.__ss_family... $ECHO_C" >&6; }
5585 if test "${ac_cv_member_struct_sockaddr_storage___ss_family+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594
51835595 #include <sys/types.h>
51845596 #include <sys/socket.h>
51855597
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
5598
5599 int
5600 main ()
5601 {
5602 static struct sockaddr_storage ac_aggr;
5603 if (ac_aggr.__ss_family)
5604 return 0;
5605 ;
5606 return 0;
5607 }
5608 _ACEOF
5609 rm -f conftest.$ac_objext
5610 if { (ac_try="$ac_compile"
5611 case "(($ac_try" in
5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613 *) ac_try_echo=$ac_try;;
5614 esac
5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5617 ac_status=$?
5618 grep -v '^ *+' conftest.er1 >conftest.err
5619 rm -f conftest.er1
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5627 else
5628 echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5630
5631 cat >conftest.$ac_ext <<_ACEOF
5632 /* confdefs.h. */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637
5638 #include <sys/types.h>
5639 #include <sys/socket.h>
5640
5641
5642 int
5643 main ()
5644 {
5645 static struct sockaddr_storage ac_aggr;
5646 if (sizeof ac_aggr.__ss_family)
5647 return 0;
5648 ;
5649 return 0;
5650 }
5651 _ACEOF
5652 rm -f conftest.$ac_objext
5653 if { (ac_try="$ac_compile"
5654 case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5657 esac
5658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_compile") 2>conftest.er1
5660 ac_status=$?
5661 grep -v '^ *+' conftest.er1 >conftest.err
5662 rm -f conftest.er1
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && {
5666 test -z "$ac_c_werror_flag" ||
5667 test ! -s conftest.err
5668 } && test -s conftest.$ac_objext; then
5669 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5670 else
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5673
5674 ac_cv_member_struct_sockaddr_storage___ss_family=no
5675 fi
5676
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 fi
5679
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 fi
5682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_family" >&5
5683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_family" >&6; }
5684 if test $ac_cv_member_struct_sockaddr_storage___ss_family = yes; then
51885685
51895686 cat >>confdefs.h <<_ACEOF
51905687 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
51925689
51935690
51945691 fi
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
5692 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_len" >&5
5693 echo $ECHO_N "checking for struct sockaddr_storage.ss_len... $ECHO_C" >&6; }
5694 if test "${ac_cv_member_struct_sockaddr_storage_ss_len+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 else
5697 cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h. */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703
51965704 #include <sys/types.h>
51975705 #include <sys/socket.h>
51985706
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
5707
5708 int
5709 main ()
5710 {
5711 static struct sockaddr_storage ac_aggr;
5712 if (ac_aggr.ss_len)
5713 return 0;
5714 ;
5715 return 0;
5716 }
5717 _ACEOF
5718 rm -f conftest.$ac_objext
5719 if { (ac_try="$ac_compile"
5720 case "(($ac_try" in
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5723 esac
5724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5725 (eval "$ac_compile") 2>conftest.er1
5726 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } && {
5732 test -z "$ac_c_werror_flag" ||
5733 test ! -s conftest.err
5734 } && test -s conftest.$ac_objext; then
5735 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5736 else
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.$ac_ext >&5
5739
5740 cat >conftest.$ac_ext <<_ACEOF
5741 /* confdefs.h. */
5742 _ACEOF
5743 cat confdefs.h >>conftest.$ac_ext
5744 cat >>conftest.$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746
5747 #include <sys/types.h>
5748 #include <sys/socket.h>
5749
5750
5751 int
5752 main ()
5753 {
5754 static struct sockaddr_storage ac_aggr;
5755 if (sizeof ac_aggr.ss_len)
5756 return 0;
5757 ;
5758 return 0;
5759 }
5760 _ACEOF
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5763 case "(($ac_try" in
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5766 esac
5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_compile") 2>conftest.er1
5769 ac_status=$?
5770 grep -v '^ *+' conftest.er1 >conftest.err
5771 rm -f conftest.er1
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest.$ac_objext; then
5778 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5779 else
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5782
5783 ac_cv_member_struct_sockaddr_storage_ss_len=no
5784 fi
5785
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5787 fi
5788
5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5790 fi
5791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_len" >&5
5792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_len" >&6; }
5793 if test $ac_cv_member_struct_sockaddr_storage_ss_len = yes; then
52015794
52025795 cat >>confdefs.h <<_ACEOF
52035796 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
52055798
52065799
52075800 fi
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
5801 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_len" >&5
5802 echo $ECHO_N "checking for struct sockaddr_storage.__ss_len... $ECHO_C" >&6; }
5803 if test "${ac_cv_member_struct_sockaddr_storage___ss_len+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 cat >conftest.$ac_ext <<_ACEOF
5807 /* confdefs.h. */
5808 _ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812
52095813 #include <sys/types.h>
52105814 #include <sys/socket.h>
52115815
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
5816
5817 int
5818 main ()
5819 {
5820 static struct sockaddr_storage ac_aggr;
5821 if (ac_aggr.__ss_len)
5822 return 0;
5823 ;
5824 return 0;
5825 }
5826 _ACEOF
5827 rm -f conftest.$ac_objext
5828 if { (ac_try="$ac_compile"
5829 case "(($ac_try" in
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5832 esac
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5835 ac_status=$?
5836 grep -v '^ *+' conftest.er1 >conftest.err
5837 rm -f conftest.er1
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5844 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5845 else
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5848
5849 cat >conftest.$ac_ext <<_ACEOF
5850 /* confdefs.h. */
5851 _ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855
5856 #include <sys/types.h>
5857 #include <sys/socket.h>
5858
5859
5860 int
5861 main ()
5862 {
5863 static struct sockaddr_storage ac_aggr;
5864 if (sizeof ac_aggr.__ss_len)
5865 return 0;
5866 ;
5867 return 0;
5868 }
5869 _ACEOF
5870 rm -f conftest.$ac_objext
5871 if { (ac_try="$ac_compile"
5872 case "(($ac_try" in
5873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5874 *) ac_try_echo=$ac_try;;
5875 esac
5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5877 (eval "$ac_compile") 2>conftest.er1
5878 ac_status=$?
5879 grep -v '^ *+' conftest.er1 >conftest.err
5880 rm -f conftest.er1
5881 cat conftest.err >&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } && {
5884 test -z "$ac_c_werror_flag" ||
5885 test ! -s conftest.err
5886 } && test -s conftest.$ac_objext; then
5887 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5888 else
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5891
5892 ac_cv_member_struct_sockaddr_storage___ss_len=no
5893 fi
5894
5895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896 fi
5897
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5899 fi
5900 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_len" >&5
5901 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_len" >&6; }
5902 if test $ac_cv_member_struct_sockaddr_storage___ss_len = yes; then
52145903
52155904 cat >>confdefs.h <<_ACEOF
52165905 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
52185907
52195908
52205909 fi
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5910 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5911 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5912 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 else
5915 cat >conftest.$ac_ext <<_ACEOF
5916 /* confdefs.h. */
5917 _ACEOF
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921
52225922 #include <sys/types.h>
52235923 #include <sys/socket.h>
52245924
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5925
5926 int
5927 main ()
5928 {
5929 static struct sockaddr ac_aggr;
5930 if (ac_aggr.sa_len)
5931 return 0;
5932 ;
5933 return 0;
5934 }
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (ac_try="$ac_compile"
5938 case "(($ac_try" in
5939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5940 *) ac_try_echo=$ac_try;;
5941 esac
5942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5943 (eval "$ac_compile") 2>conftest.er1
5944 ac_status=$?
5945 grep -v '^ *+' conftest.er1 >conftest.err
5946 rm -f conftest.er1
5947 cat conftest.err >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } && {
5950 test -z "$ac_c_werror_flag" ||
5951 test ! -s conftest.err
5952 } && test -s conftest.$ac_objext; then
5953 ac_cv_member_struct_sockaddr_sa_len=yes
5954 else
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5957
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964
5965 #include <sys/types.h>
5966 #include <sys/socket.h>
5967
5968
5969 int
5970 main ()
5971 {
5972 static struct sockaddr ac_aggr;
5973 if (sizeof ac_aggr.sa_len)
5974 return 0;
5975 ;
5976 return 0;
5977 }
5978 _ACEOF
5979 rm -f conftest.$ac_objext
5980 if { (ac_try="$ac_compile"
5981 case "(($ac_try" in
5982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983 *) ac_try_echo=$ac_try;;
5984 esac
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 (eval "$ac_compile") 2>conftest.er1
5987 ac_status=$?
5988 grep -v '^ *+' conftest.er1 >conftest.err
5989 rm -f conftest.er1
5990 cat conftest.err >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } && {
5993 test -z "$ac_c_werror_flag" ||
5994 test ! -s conftest.err
5995 } && test -s conftest.$ac_objext; then
5996 ac_cv_member_struct_sockaddr_sa_len=yes
5997 else
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6000
6001 ac_cv_member_struct_sockaddr_sa_len=no
6002 fi
6003
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 fi
6006
6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6008 fi
6009 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6010 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6011 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
52276012
52286013 cat >>confdefs.h <<_ACEOF
52296014 @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
52406025
52416026
52426027 # Checks for libraries.
6028
52436029 for ac_func in gethostbyname
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
6030 do
6031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 else
6037 cat >conftest.$ac_ext <<_ACEOF
6038 /* confdefs.h. */
6039 _ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6045 #define $ac_func innocuous_$ac_func
6046
6047 /* System header to define __stub macros and hopefully few prototypes,
6048 which can conflict with char $ac_func (); below.
6049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6050 <limits.h> exists even on freestanding compilers. */
6051
6052 #ifdef __STDC__
6053 # include <limits.h>
6054 #else
6055 # include <assert.h>
6056 #endif
6057
6058 #undef $ac_func
6059
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6063 #ifdef __cplusplus
6064 extern "C"
6065 #endif
6066 char $ac_func ();
6067 /* The GNU C library defines this for functions which it implements
6068 to always fail with ENOSYS. Some functions are actually named
6069 something starting with __ and the normal name is an alias. */
6070 #if defined __stub_$ac_func || defined __stub___$ac_func
6071 choke me
6072 #endif
6073
6074 int
6075 main ()
6076 {
6077 return $ac_func ();
6078 ;
6079 return 0;
6080 }
6081 _ACEOF
6082 rm -f conftest.$ac_objext conftest$ac_exeext
6083 if { (ac_try="$ac_link"
6084 case "(($ac_try" in
6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 *) ac_try_echo=$ac_try;;
6087 esac
6088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_link") 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } && {
6096 test -z "$ac_c_werror_flag" ||
6097 test ! -s conftest.err
6098 } && test -s conftest$ac_exeext &&
6099 $as_test_x conftest$ac_exeext; then
6100 eval "$as_ac_var=yes"
6101 else
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5
6104
6105 eval "$as_ac_var=no"
6106 fi
6107
6108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6109 conftest$ac_exeext conftest.$ac_ext
6110 fi
6111 ac_res=`eval echo '${'$as_ac_var'}'`
6112 { echo "$as_me:$LINENO: result: $ac_res" >&5
6113 echo "${ECHO_T}$ac_res" >&6; }
6114 if test `eval echo '${'$as_ac_var'}'` = yes; then
52476115 cat >>confdefs.h <<_ACEOF
5248 @%:@define HAVE_GETHOSTBYNAME 1
6116 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52496117 _ACEOF
52506118
52516119 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5253 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5254 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5255 $as_echo_n "(cached) " >&6
6120
6121 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6122 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6123 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
52566125 else
52576126 ac_check_lib_save_LIBS=$LIBS
52586127 LIBS="-lnsl $LIBS"
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
52606133 /* end confdefs.h. */
52616134
52626135 /* Override any GCC internal prototype to avoid an error.
52746147 return 0;
52756148 }
52766149 _ACEOF
5277 if ac_fn_c_try_link "$LINENO"; then :
6150 rm -f conftest.$ac_objext conftest$ac_exeext
6151 if { (ac_try="$ac_link"
6152 case "(($ac_try" in
6153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6154 *) ac_try_echo=$ac_try;;
6155 esac
6156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6157 (eval "$ac_link") 2>conftest.er1
6158 ac_status=$?
6159 grep -v '^ *+' conftest.er1 >conftest.err
6160 rm -f conftest.er1
6161 cat conftest.err >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest$ac_exeext &&
6167 $as_test_x conftest$ac_exeext; then
52786168 ac_cv_lib_nsl_gethostbyname=yes
52796169 else
5280 ac_cv_lib_nsl_gethostbyname=no
5281 fi
5282 rm -f core conftest.err conftest.$ac_objext \
5283 conftest$ac_exeext conftest.$ac_ext
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 ac_cv_lib_nsl_gethostbyname=no
6174 fi
6175
6176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6177 conftest$ac_exeext conftest.$ac_ext
52846178 LIBS=$ac_check_lib_save_LIBS
52856179 fi
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5287 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5288 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
6180 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6181 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6182 if test $ac_cv_lib_nsl_gethostbyname = yes; then
52896183 cat >>confdefs.h <<_ACEOF
52906184 @%:@define HAVE_LIBNSL 1
52916185 _ACEOF
52936187 LIBS="-lnsl $LIBS"
52946188
52956189 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
5297 $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
5298 if ${ac_cv_lib_socket_gethostbyname+:} false; then :
5299 $as_echo_n "(cached) " >&6
6190
6191 { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
6192 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
6193 if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
53006195 else
53016196 ac_check_lib_save_LIBS=$LIBS
53026197 LIBS="-lsocket $LIBS"
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
53046203 /* end confdefs.h. */
53056204
53066205 /* Override any GCC internal prototype to avoid an error.
53186217 return 0;
53196218 }
53206219 _ACEOF
5321 if ac_fn_c_try_link "$LINENO"; then :
6220 rm -f conftest.$ac_objext conftest$ac_exeext
6221 if { (ac_try="$ac_link"
6222 case "(($ac_try" in
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6225 esac
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_link") 2>conftest.er1
6228 ac_status=$?
6229 grep -v '^ *+' conftest.er1 >conftest.err
6230 rm -f conftest.er1
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest$ac_exeext &&
6237 $as_test_x conftest$ac_exeext; then
53226238 ac_cv_lib_socket_gethostbyname=yes
53236239 else
5324 ac_cv_lib_socket_gethostbyname=no
5325 fi
5326 rm -f core conftest.err conftest.$ac_objext \
5327 conftest$ac_exeext conftest.$ac_ext
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6242
6243 ac_cv_lib_socket_gethostbyname=no
6244 fi
6245
6246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247 conftest$ac_exeext conftest.$ac_ext
53286248 LIBS=$ac_check_lib_save_LIBS
53296249 fi
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
5331 $as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
5332 if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
6250 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
6251 echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
6252 if test $ac_cv_lib_socket_gethostbyname = yes; then
53336253 cat >>confdefs.h <<_ACEOF
53346254 @%:@define HAVE_LIBSOCKET 1
53356255 _ACEOF
53436263 fi
53446264 done
53456265
6266
53466267 for ac_func in setsockopt
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
6268 do
6269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 cat >conftest.$ac_ext <<_ACEOF
6276 /* confdefs.h. */
6277 _ACEOF
6278 cat confdefs.h >>conftest.$ac_ext
6279 cat >>conftest.$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6283 #define $ac_func innocuous_$ac_func
6284
6285 /* System header to define __stub macros and hopefully few prototypes,
6286 which can conflict with char $ac_func (); below.
6287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6288 <limits.h> exists even on freestanding compilers. */
6289
6290 #ifdef __STDC__
6291 # include <limits.h>
6292 #else
6293 # include <assert.h>
6294 #endif
6295
6296 #undef $ac_func
6297
6298 /* Override any GCC internal prototype to avoid an error.
6299 Use char because int might match the return type of a GCC
6300 builtin and then its argument prototype would still apply. */
6301 #ifdef __cplusplus
6302 extern "C"
6303 #endif
6304 char $ac_func ();
6305 /* The GNU C library defines this for functions which it implements
6306 to always fail with ENOSYS. Some functions are actually named
6307 something starting with __ and the normal name is an alias. */
6308 #if defined __stub_$ac_func || defined __stub___$ac_func
6309 choke me
6310 #endif
6311
6312 int
6313 main ()
6314 {
6315 return $ac_func ();
6316 ;
6317 return 0;
6318 }
6319 _ACEOF
6320 rm -f conftest.$ac_objext conftest$ac_exeext
6321 if { (ac_try="$ac_link"
6322 case "(($ac_try" in
6323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6324 *) ac_try_echo=$ac_try;;
6325 esac
6326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6327 (eval "$ac_link") 2>conftest.er1
6328 ac_status=$?
6329 grep -v '^ *+' conftest.er1 >conftest.err
6330 rm -f conftest.er1
6331 cat conftest.err >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } && {
6334 test -z "$ac_c_werror_flag" ||
6335 test ! -s conftest.err
6336 } && test -s conftest$ac_exeext &&
6337 $as_test_x conftest$ac_exeext; then
6338 eval "$as_ac_var=yes"
6339 else
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.$ac_ext >&5
6342
6343 eval "$as_ac_var=no"
6344 fi
6345
6346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6347 conftest$ac_exeext conftest.$ac_ext
6348 fi
6349 ac_res=`eval echo '${'$as_ac_var'}'`
6350 { echo "$as_me:$LINENO: result: $ac_res" >&5
6351 echo "${ECHO_T}$ac_res" >&6; }
6352 if test `eval echo '${'$as_ac_var'}'` = yes; then
53506353 cat >>confdefs.h <<_ACEOF
5351 @%:@define HAVE_SETSOCKOPT 1
6354 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53526355 _ACEOF
53536356
53546357 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
5356 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
5357 if ${ac_cv_lib_socket_setsockopt+:} false; then :
5358 $as_echo_n "(cached) " >&6
6358
6359 { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
6360 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
6361 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
53596363 else
53606364 ac_check_lib_save_LIBS=$LIBS
53616365 LIBS="-lsocket $LIBS"
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
53636371 /* end confdefs.h. */
53646372
53656373 /* Override any GCC internal prototype to avoid an error.
53776385 return 0;
53786386 }
53796387 _ACEOF
5380 if ac_fn_c_try_link "$LINENO"; then :
6388 rm -f conftest.$ac_objext conftest$ac_exeext
6389 if { (ac_try="$ac_link"
6390 case "(($ac_try" in
6391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6393 esac
6394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6395 (eval "$ac_link") 2>conftest.er1
6396 ac_status=$?
6397 grep -v '^ *+' conftest.er1 >conftest.err
6398 rm -f conftest.er1
6399 cat conftest.err >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } && {
6402 test -z "$ac_c_werror_flag" ||
6403 test ! -s conftest.err
6404 } && test -s conftest$ac_exeext &&
6405 $as_test_x conftest$ac_exeext; then
53816406 ac_cv_lib_socket_setsockopt=yes
53826407 else
5383 ac_cv_lib_socket_setsockopt=no
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext \
5386 conftest$ac_exeext conftest.$ac_ext
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6410
6411 ac_cv_lib_socket_setsockopt=no
6412 fi
6413
6414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6415 conftest$ac_exeext conftest.$ac_ext
53876416 LIBS=$ac_check_lib_save_LIBS
53886417 fi
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
5390 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
5391 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
6418 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
6419 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
6420 if test $ac_cv_lib_socket_setsockopt = yes; then
53926421 cat >>confdefs.h <<_ACEOF
53936422 @%:@define HAVE_LIBSOCKET 1
53946423 _ACEOF
54016430 done
54026431
54036432
6433
6434
54046435 for ac_func in fpurge __fpurge
5405 do :
5406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6436 do
6437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 else
6443 cat >conftest.$ac_ext <<_ACEOF
6444 /* confdefs.h. */
6445 _ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6451 #define $ac_func innocuous_$ac_func
6452
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func (); below.
6455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 <limits.h> exists even on freestanding compilers. */
6457
6458 #ifdef __STDC__
6459 # include <limits.h>
6460 #else
6461 # include <assert.h>
6462 #endif
6463
6464 #undef $ac_func
6465
6466 /* Override any GCC internal prototype to avoid an error.
6467 Use char because int might match the return type of a GCC
6468 builtin and then its argument prototype would still apply. */
6469 #ifdef __cplusplus
6470 extern "C"
6471 #endif
6472 char $ac_func ();
6473 /* The GNU C library defines this for functions which it implements
6474 to always fail with ENOSYS. Some functions are actually named
6475 something starting with __ and the normal name is an alias. */
6476 #if defined __stub_$ac_func || defined __stub___$ac_func
6477 choke me
6478 #endif
6479
6480 int
6481 main ()
6482 {
6483 return $ac_func ();
6484 ;
6485 return 0;
6486 }
6487 _ACEOF
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6490 case "(($ac_try" in
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6493 esac
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 eval "$as_ac_var=yes"
6507 else
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6510
6511 eval "$as_ac_var=no"
6512 fi
6513
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6516 fi
6517 ac_res=`eval echo '${'$as_ac_var'}'`
6518 { echo "$as_me:$LINENO: result: $ac_res" >&5
6519 echo "${ECHO_T}$ac_res" >&6; }
6520 if test `eval echo '${'$as_ac_var'}'` = yes; then
54096521 cat >>confdefs.h <<_ACEOF
5410 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6522 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54116523 _ACEOF
54126524
54136525 fi
54166528
54176529
54186530 # Checks for header files.
6531
6532
6533
6534
6535
54196536 ac_header_dirent=no
54206537 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5421 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5423 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5424 if eval \${$as_ac_Header+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6539 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6540 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
6541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 else
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
54286549 /* end confdefs.h. */
54296550 #include <sys/types.h>
54306551 #include <$ac_hdr>
54386559 return 0;
54396560 }
54406561 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"; then :
6562 rm -f conftest.$ac_objext
6563 if { (ac_try="$ac_compile"
6564 case "(($ac_try" in
6565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 *) ac_try_echo=$ac_try;;
6567 esac
6568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 (eval "$ac_compile") 2>conftest.er1
6570 ac_status=$?
6571 grep -v '^ *+' conftest.er1 >conftest.err
6572 rm -f conftest.er1
6573 cat conftest.err >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } && {
6576 test -z "$ac_c_werror_flag" ||
6577 test ! -s conftest.err
6578 } && test -s conftest.$ac_objext; then
54426579 eval "$as_ac_Header=yes"
54436580 else
5444 eval "$as_ac_Header=no"
5445 fi
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6583
6584 eval "$as_ac_Header=no"
6585 fi
6586
54466587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476588 fi
5448 eval ac_res=\$$as_ac_Header
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5450 $as_echo "$ac_res" >&6; }
5451 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6589 ac_res=`eval echo '${'$as_ac_Header'}'`
6590 { echo "$as_me:$LINENO: result: $ac_res" >&5
6591 echo "${ECHO_T}$ac_res" >&6; }
6592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54526593 cat >>confdefs.h <<_ACEOF
5453 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6594 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
54546595 _ACEOF
54556596
54566597 ac_header_dirent=$ac_hdr; break
54596600 done
54606601 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
54616602 if test $ac_header_dirent = dirent.h; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5463 $as_echo_n "checking for library containing opendir... " >&6; }
5464 if ${ac_cv_search_opendir+:} false; then :
5465 $as_echo_n "(cached) " >&6
6603 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6604 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6605 if test "${ac_cv_search_opendir+set}" = set; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
54666607 else
54676608 ac_func_search_save_LIBS=$LIBS
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
54696614 /* end confdefs.h. */
54706615
54716616 /* Override any GCC internal prototype to avoid an error.
54906635 ac_res=-l$ac_lib
54916636 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
54926637 fi
5493 if ac_fn_c_try_link "$LINENO"; then :
6638 rm -f conftest.$ac_objext conftest$ac_exeext
6639 if { (ac_try="$ac_link"
6640 case "(($ac_try" in
6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6642 *) ac_try_echo=$ac_try;;
6643 esac
6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6645 (eval "$ac_link") 2>conftest.er1
6646 ac_status=$?
6647 grep -v '^ *+' conftest.er1 >conftest.err
6648 rm -f conftest.er1
6649 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } && {
6652 test -z "$ac_c_werror_flag" ||
6653 test ! -s conftest.err
6654 } && test -s conftest$ac_exeext &&
6655 $as_test_x conftest$ac_exeext; then
54946656 ac_cv_search_opendir=$ac_res
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
6657 else
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6660
6661
6662 fi
6663
6664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6665 conftest$ac_exeext
6666 if test "${ac_cv_search_opendir+set}" = set; then
54996667 break
55006668 fi
55016669 done
5502 if ${ac_cv_search_opendir+:} false; then :
5503
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
55046672 else
55056673 ac_cv_search_opendir=no
55066674 fi
55076675 rm conftest.$ac_ext
55086676 LIBS=$ac_func_search_save_LIBS
55096677 fi
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55126680 ac_res=$ac_cv_search_opendir
5513 if test "$ac_res" != no; then :
6681 if test "$ac_res" != no; then
55146682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55156683
55166684 fi
55176685
55186686 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5520 $as_echo_n "checking for library containing opendir... " >&6; }
5521 if ${ac_cv_search_opendir+:} false; then :
5522 $as_echo_n "(cached) " >&6
6687 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6688 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6689 if test "${ac_cv_search_opendir+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
55236691 else
55246692 ac_func_search_save_LIBS=$LIBS
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
55266698 /* end confdefs.h. */
55276699
55286700 /* Override any GCC internal prototype to avoid an error.
55476719 ac_res=-l$ac_lib
55486720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
55496721 fi
5550 if ac_fn_c_try_link "$LINENO"; then :
6722 rm -f conftest.$ac_objext conftest$ac_exeext
6723 if { (ac_try="$ac_link"
6724 case "(($ac_try" in
6725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6727 esac
6728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6729 (eval "$ac_link") 2>conftest.er1
6730 ac_status=$?
6731 grep -v '^ *+' conftest.er1 >conftest.err
6732 rm -f conftest.er1
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } && {
6736 test -z "$ac_c_werror_flag" ||
6737 test ! -s conftest.err
6738 } && test -s conftest$ac_exeext &&
6739 $as_test_x conftest$ac_exeext; then
55516740 ac_cv_search_opendir=$ac_res
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
6741 else
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6744
6745
6746 fi
6747
6748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6749 conftest$ac_exeext
6750 if test "${ac_cv_search_opendir+set}" = set; then
55566751 break
55576752 fi
55586753 done
5559 if ${ac_cv_search_opendir+:} false; then :
5560
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
55616756 else
55626757 ac_cv_search_opendir=no
55636758 fi
55646759 rm conftest.$ac_ext
55656760 LIBS=$ac_func_search_save_LIBS
55666761 fi
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55696764 ac_res=$ac_cv_search_opendir
5570 if test "$ac_res" != no; then :
6765 if test "$ac_res" != no; then
55716766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55726767
55736768 fi
55746769
55756770 fi
55766771
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5578 $as_echo_n "checking for ANSI C header files... " >&6; }
5579 if ${ac_cv_header_stdc+:} false; then :
5580 $as_echo_n "(cached) " >&6
5581 else
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6773 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6774 if test "${ac_cv_header_stdc+set}" = set; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 else
6777 cat >conftest.$ac_ext <<_ACEOF
6778 /* confdefs.h. */
6779 _ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
55836782 /* end confdefs.h. */
55846783 #include <stdlib.h>
55856784 #include <stdarg.h>
55946793 return 0;
55956794 }
55966795 _ACEOF
5597 if ac_fn_c_try_compile "$LINENO"; then :
6796 rm -f conftest.$ac_objext
6797 if { (ac_try="$ac_compile"
6798 case "(($ac_try" in
6799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6800 *) ac_try_echo=$ac_try;;
6801 esac
6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6803 (eval "$ac_compile") 2>conftest.er1
6804 ac_status=$?
6805 grep -v '^ *+' conftest.er1 >conftest.err
6806 rm -f conftest.er1
6807 cat conftest.err >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } && {
6810 test -z "$ac_c_werror_flag" ||
6811 test ! -s conftest.err
6812 } && test -s conftest.$ac_objext; then
55986813 ac_cv_header_stdc=yes
55996814 else
5600 ac_cv_header_stdc=no
5601 fi
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6817
6818 ac_cv_header_stdc=no
6819 fi
6820
56026821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56036822
56046823 if test $ac_cv_header_stdc = yes; then
56056824 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
56076830 /* end confdefs.h. */
56086831 #include <string.h>
56096832
56106833 _ACEOF
56116834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
56146837 else
56156838 ac_cv_header_stdc=no
56166839 fi
5617 rm -f conftest*
6840 rm -f -r conftest*
56186841
56196842 fi
56206843
56216844 if test $ac_cv_header_stdc = yes; then
56226845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
56246851 /* end confdefs.h. */
56256852 #include <stdlib.h>
56266853
56276854 _ACEOF
56286855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
56316858 else
56326859 ac_cv_header_stdc=no
56336860 fi
5634 rm -f conftest*
6861 rm -f -r conftest*
56356862
56366863 fi
56376864
56386865 if test $ac_cv_header_stdc = yes; then
56396866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5640 if test "$cross_compiling" = yes; then :
6867 if test "$cross_compiling" = yes; then
56416868 :
56426869 else
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
56446875 /* end confdefs.h. */
56456876 #include <ctype.h>
56466877 #include <stdlib.h>
56676898 return 0;
56686899 }
56696900 _ACEOF
5670 if ac_fn_c_try_run "$LINENO"; then :
5671
5672 else
5673 ac_cv_header_stdc=no
5674 fi
5675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5676 conftest.$ac_objext conftest.beam conftest.$ac_ext
5677 fi
5678
5679 fi
5680 fi
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5682 $as_echo "$ac_cv_header_stdc" >&6; }
6901 rm -f conftest$ac_exeext
6902 if { (ac_try="$ac_link"
6903 case "(($ac_try" in
6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905 *) ac_try_echo=$ac_try;;
6906 esac
6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6908 (eval "$ac_link") 2>&5
6909 ac_status=$?
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6912 { (case "(($ac_try" in
6913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6914 *) ac_try_echo=$ac_try;;
6915 esac
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_try") 2>&5
6918 ac_status=$?
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6921 :
6922 else
6923 echo "$as_me: program exited with status $ac_status" >&5
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6926
6927 ( exit $ac_status )
6928 ac_cv_header_stdc=no
6929 fi
6930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6931 fi
6932
6933
6934 fi
6935 fi
6936 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6937 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
56836938 if test $ac_cv_header_stdc = yes; then
56846939
5685 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
6940 cat >>confdefs.h <<\_ACEOF
6941 @%:@define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
56886946
56896947 for ac_header in nameser8_compat.h
5690 do :
5691 ac_fn_c_check_header_mongrel "$LINENO" "nameser8_compat.h" "ac_cv_header_nameser8_compat_h" "$ac_includes_default"
5692 if test "x$ac_cv_header_nameser8_compat_h" = xyes; then :
6948 do
6949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 fi
6956 ac_res=`eval echo '${'$as_ac_Header'}'`
6957 { echo "$as_me:$LINENO: result: $ac_res" >&5
6958 echo "${ECHO_T}$ac_res" >&6; }
6959 else
6960 # Is the header compilable?
6961 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6963 cat >conftest.$ac_ext <<_ACEOF
6964 /* confdefs.h. */
6965 _ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 $ac_includes_default
6970 @%:@include <$ac_header>
6971 _ACEOF
6972 rm -f conftest.$ac_objext
6973 if { (ac_try="$ac_compile"
6974 case "(($ac_try" in
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6977 esac
6978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6979 (eval "$ac_compile") 2>conftest.er1
6980 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && {
6986 test -z "$ac_c_werror_flag" ||
6987 test ! -s conftest.err
6988 } && test -s conftest.$ac_objext; then
6989 ac_header_compiler=yes
6990 else
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6993
6994 ac_header_compiler=no
6995 fi
6996
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6999 echo "${ECHO_T}$ac_header_compiler" >&6; }
7000
7001 # Is the header present?
7002 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7004 cat >conftest.$ac_ext <<_ACEOF
7005 /* confdefs.h. */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 @%:@include <$ac_header>
7011 _ACEOF
7012 if { (ac_try="$ac_cpp conftest.$ac_ext"
7013 case "(($ac_try" in
7014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015 *) ac_try_echo=$ac_try;;
7016 esac
7017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7019 ac_status=$?
7020 grep -v '^ *+' conftest.er1 >conftest.err
7021 rm -f conftest.er1
7022 cat conftest.err >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } >/dev/null && {
7025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7026 test ! -s conftest.err
7027 }; then
7028 ac_header_preproc=yes
7029 else
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7032
7033 ac_header_preproc=no
7034 fi
7035
7036 rm -f conftest.err conftest.$ac_ext
7037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7038 echo "${ECHO_T}$ac_header_preproc" >&6; }
7039
7040 # So? What about this header?
7041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7042 yes:no: )
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7047 ac_header_preproc=yes
7048 ;;
7049 no:yes:* )
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7062 ( cat <<\_ASBOX
7063 @%:@@%:@ ------------------------------------------ @%:@@%:@
7064 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
7065 @%:@@%:@ ------------------------------------------ @%:@@%:@
7066 _ASBOX
7067 ) | sed "s/^/$as_me: WARNING: /" >&2
7068 ;;
7069 esac
7070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 else
7075 eval "$as_ac_Header=\$ac_header_preproc"
7076 fi
7077 ac_res=`eval echo '${'$as_ac_Header'}'`
7078 { echo "$as_me:$LINENO: result: $ac_res" >&5
7079 echo "${ECHO_T}$ac_res" >&6; }
7080
7081 fi
7082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56937083 cat >>confdefs.h <<_ACEOF
5694 @%:@define HAVE_NAMESER8_COMPAT_H 1
7084 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56957085 _ACEOF
56967086
56977087 fi
56987088
56997089 done
57007090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
57017103 for ac_header in arpa/inet.h fcntl.h netinet/in.h fts.h stdint.h stdlib.h stddef.h string.h sys/socket.h syslog.h unistd.h iso/limits_iso.h
5702 do :
5703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5704 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7104 do
7105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 fi
7112 ac_res=`eval echo '${'$as_ac_Header'}'`
7113 { echo "$as_me:$LINENO: result: $ac_res" >&5
7114 echo "${ECHO_T}$ac_res" >&6; }
7115 else
7116 # Is the header compilable?
7117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7119 cat >conftest.$ac_ext <<_ACEOF
7120 /* confdefs.h. */
7121 _ACEOF
7122 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 @%:@include <$ac_header>
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (ac_try="$ac_compile"
7130 case "(($ac_try" in
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7133 esac
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 ac_header_compiler=yes
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7149
7150 ac_header_compiler=no
7151 fi
7152
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7155 echo "${ECHO_T}$ac_header_compiler" >&6; }
7156
7157 # Is the header present?
7158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 @%:@include <$ac_header>
7167 _ACEOF
7168 if { (ac_try="$ac_cpp conftest.$ac_ext"
7169 case "(($ac_try" in
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7172 esac
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7175 ac_status=$?
7176 grep -v '^ *+' conftest.er1 >conftest.err
7177 rm -f conftest.er1
7178 cat conftest.err >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } >/dev/null && {
7181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7182 test ! -s conftest.err
7183 }; then
7184 ac_header_preproc=yes
7185 else
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7188
7189 ac_header_preproc=no
7190 fi
7191
7192 rm -f conftest.err conftest.$ac_ext
7193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7194 echo "${ECHO_T}$ac_header_preproc" >&6; }
7195
7196 # So? What about this header?
7197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7198 yes:no: )
7199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7203 ac_header_preproc=yes
7204 ;;
7205 no:yes:* )
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7218 ( cat <<\_ASBOX
7219 @%:@@%:@ ------------------------------------------ @%:@@%:@
7220 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
7221 @%:@@%:@ ------------------------------------------ @%:@@%:@
7222 _ASBOX
7223 ) | sed "s/^/$as_me: WARNING: /" >&2
7224 ;;
7225 esac
7226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else
7231 eval "$as_ac_Header=\$ac_header_preproc"
7232 fi
7233 ac_res=`eval echo '${'$as_ac_Header'}'`
7234 { echo "$as_me:$LINENO: result: $ac_res" >&5
7235 echo "${ECHO_T}$ac_res" >&6; }
7236
7237 fi
7238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57067239 cat >>confdefs.h <<_ACEOF
5707 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57087241 _ACEOF
57097242
57107243 fi
57127245 done
57137246
57147247
7248
7249
7250
7251
7252
57157253 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
5716 do :
5717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
7254 do
7255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 else
7261 cat >conftest.$ac_ext <<_ACEOF
7262 /* confdefs.h. */
7263 _ACEOF
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 #ifdef HAVE_SYS_TYPES_H
57197268 # include <sys/types.h>
57207269 #endif
57217270 #ifdef HAVE_NETINET_IN_H
57277276 #ifdef HAVE_NETDB_H
57287277 # include <netdb.h>
57297278 #endif
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7279
7280 @%:@include <$ac_header>
7281 _ACEOF
7282 rm -f conftest.$ac_objext
7283 if { (ac_try="$ac_compile"
7284 case "(($ac_try" in
7285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7286 *) ac_try_echo=$ac_try;;
7287 esac
7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7289 (eval "$ac_compile") 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } && {
7296 test -z "$ac_c_werror_flag" ||
7297 test ! -s conftest.err
7298 } && test -s conftest.$ac_objext; then
7299 eval "$as_ac_Header=yes"
7300 else
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7303
7304 eval "$as_ac_Header=no"
7305 fi
7306
7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7308 fi
7309 ac_res=`eval echo '${'$as_ac_Header'}'`
7310 { echo "$as_me:$LINENO: result: $ac_res" >&5
7311 echo "${ECHO_T}$ac_res" >&6; }
7312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57327313 cat >>confdefs.h <<_ACEOF
5733 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7314 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57347315 _ACEOF
57357316
57367317 fi
57467327
57477328
57487329 # Checks for typedefs, structures, and compiler characteristics.
7330 { echo "$as_me:$LINENO: checking for void *" >&5
7331 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
7332 if test "${ac_cv_type_void_p+set}" = set; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335 cat >conftest.$ac_ext <<_ACEOF
7336 /* confdefs.h. */
7337 _ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 $ac_includes_default
7342 typedef void * ac__type_new_;
7343 int
7344 main ()
7345 {
7346 if ((ac__type_new_ *) 0)
7347 return 0;
7348 if (sizeof (ac__type_new_))
7349 return 0;
7350 ;
7351 return 0;
7352 }
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (ac_try="$ac_compile"
7356 case "(($ac_try" in
7357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358 *) ac_try_echo=$ac_try;;
7359 esac
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_compile") 2>conftest.er1
7362 ac_status=$?
7363 grep -v '^ *+' conftest.er1 >conftest.err
7364 rm -f conftest.er1
7365 cat conftest.err >&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } && {
7368 test -z "$ac_c_werror_flag" ||
7369 test ! -s conftest.err
7370 } && test -s conftest.$ac_objext; then
7371 ac_cv_type_void_p=yes
7372 else
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7375
7376 ac_cv_type_void_p=no
7377 fi
7378
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7380 fi
7381 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7382 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
7383
57497384 # The cast to long int works around a bug in the HP C Compiler
57507385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57517386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57527387 # This bug is HP SR number 8606223364.
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5754 $as_echo_n "checking size of void *... " >&6; }
5755 if ${ac_cv_sizeof_void_p+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5759
5760 else
5761 if test "$ac_cv_type_void_p" = yes; then
5762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error 77 "cannot compute sizeof (void *)
5765 See \`config.log' for more details" "$LINENO" 5; }
7388 { echo "$as_me:$LINENO: checking size of void *" >&5
7389 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
7390 if test "${ac_cv_sizeof_void_p+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 else
7393 if test "$cross_compiling" = yes; then
7394 # Depending upon the size, compute the lo and hi bounds.
7395 cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h. */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 $ac_includes_default
7402 typedef void * ac__type_sizeof_;
7403 int
7404 main ()
7405 {
7406 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
7407 test_array @<:@0@:>@ = 0
7408
7409 ;
7410 return 0;
7411 }
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (ac_try="$ac_compile"
7415 case "(($ac_try" in
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7418 esac
7419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7420 (eval "$ac_compile") 2>conftest.er1
7421 ac_status=$?
7422 grep -v '^ *+' conftest.er1 >conftest.err
7423 rm -f conftest.er1
7424 cat conftest.err >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } && {
7427 test -z "$ac_c_werror_flag" ||
7428 test ! -s conftest.err
7429 } && test -s conftest.$ac_objext; then
7430 ac_lo=0 ac_mid=0
7431 while :; do
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 $ac_includes_default
7439 typedef void * ac__type_sizeof_;
7440 int
7441 main ()
7442 {
7443 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
7444 test_array @<:@0@:>@ = 0
7445
7446 ;
7447 return 0;
7448 }
7449 _ACEOF
7450 rm -f conftest.$ac_objext
7451 if { (ac_try="$ac_compile"
7452 case "(($ac_try" in
7453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7454 *) ac_try_echo=$ac_try;;
7455 esac
7456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7457 (eval "$ac_compile") 2>conftest.er1
7458 ac_status=$?
7459 grep -v '^ *+' conftest.er1 >conftest.err
7460 rm -f conftest.er1
7461 cat conftest.err >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } && {
7464 test -z "$ac_c_werror_flag" ||
7465 test ! -s conftest.err
7466 } && test -s conftest.$ac_objext; then
7467 ac_hi=$ac_mid; break
7468 else
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.$ac_ext >&5
7471
7472 ac_lo=`expr $ac_mid + 1`
7473 if test $ac_lo -le $ac_mid; then
7474 ac_lo= ac_hi=
7475 break
7476 fi
7477 ac_mid=`expr 2 '*' $ac_mid + 1`
7478 fi
7479
7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481 done
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7485
7486 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h. */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7492 $ac_includes_default
7493 typedef void * ac__type_sizeof_;
7494 int
7495 main ()
7496 {
7497 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
7498 test_array @<:@0@:>@ = 0
7499
7500 ;
7501 return 0;
7502 }
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (ac_try="$ac_compile"
7506 case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7509 esac
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 ac_hi=-1 ac_mid=-1
7522 while :; do
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7529 $ac_includes_default
7530 typedef void * ac__type_sizeof_;
7531 int
7532 main ()
7533 {
7534 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
7535 test_array @<:@0@:>@ = 0
7536
7537 ;
7538 return 0;
7539 }
7540 _ACEOF
7541 rm -f conftest.$ac_objext
7542 if { (ac_try="$ac_compile"
7543 case "(($ac_try" in
7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 *) ac_try_echo=$ac_try;;
7546 esac
7547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7548 (eval "$ac_compile") 2>conftest.er1
7549 ac_status=$?
7550 grep -v '^ *+' conftest.er1 >conftest.err
7551 rm -f conftest.er1
7552 cat conftest.err >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); } && {
7555 test -z "$ac_c_werror_flag" ||
7556 test ! -s conftest.err
7557 } && test -s conftest.$ac_objext; then
7558 ac_lo=$ac_mid; break
7559 else
7560 echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.$ac_ext >&5
7562
7563 ac_hi=`expr '(' $ac_mid ')' - 1`
7564 if test $ac_mid -le $ac_hi; then
7565 ac_lo= ac_hi=
7566 break
7567 fi
7568 ac_mid=`expr 2 '*' $ac_mid`
7569 fi
7570
7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7572 done
7573 else
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7576
7577 ac_lo= ac_hi=
7578 fi
7579
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7581 fi
7582
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584 # Binary search between lo and hi bounds.
7585 while test "x$ac_lo" != "x$ac_hi"; do
7586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7587 cat >conftest.$ac_ext <<_ACEOF
7588 /* confdefs.h. */
7589 _ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 $ac_includes_default
7594 typedef void * ac__type_sizeof_;
7595 int
7596 main ()
7597 {
7598 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
7599 test_array @<:@0@:>@ = 0
7600
7601 ;
7602 return 0;
7603 }
7604 _ACEOF
7605 rm -f conftest.$ac_objext
7606 if { (ac_try="$ac_compile"
7607 case "(($ac_try" in
7608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7609 *) ac_try_echo=$ac_try;;
7610 esac
7611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7612 (eval "$ac_compile") 2>conftest.er1
7613 ac_status=$?
7614 grep -v '^ *+' conftest.er1 >conftest.err
7615 rm -f conftest.er1
7616 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && {
7619 test -z "$ac_c_werror_flag" ||
7620 test ! -s conftest.err
7621 } && test -s conftest.$ac_objext; then
7622 ac_hi=$ac_mid
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 ac_lo=`expr '(' $ac_mid ')' + 1`
7628 fi
7629
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 done
7632 case $ac_lo in
7633 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7634 '') if test "$ac_cv_type_void_p" = yes; then
7635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7636 See \`config.log' for more details." >&5
7637 echo "$as_me: error: cannot compute sizeof (void *)
7638 See \`config.log' for more details." >&2;}
7639 { (exit 77); exit 77; }; }
7640 else
7641 ac_cv_sizeof_void_p=0
7642 fi ;;
7643 esac
7644 else
7645 cat >conftest.$ac_ext <<_ACEOF
7646 /* confdefs.h. */
7647 _ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 $ac_includes_default
7652 typedef void * ac__type_sizeof_;
7653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7655 @%:@include <stdio.h>
7656 @%:@include <stdlib.h>
7657 int
7658 main ()
7659 {
7660
7661 FILE *f = fopen ("conftest.val", "w");
7662 if (! f)
7663 return 1;
7664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7665 {
7666 long int i = longval ();
7667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7668 return 1;
7669 fprintf (f, "%ld\n", i);
7670 }
7671 else
7672 {
7673 unsigned long int i = ulongval ();
7674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7675 return 1;
7676 fprintf (f, "%lu\n", i);
7677 }
7678 return ferror (f) || fclose (f) != 0;
7679
7680 ;
7681 return 0;
7682 }
7683 _ACEOF
7684 rm -f conftest$ac_exeext
7685 if { (ac_try="$ac_link"
7686 case "(($ac_try" in
7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 *) ac_try_echo=$ac_try;;
7689 esac
7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 (eval "$ac_link") 2>&5
7692 ac_status=$?
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7695 { (case "(($ac_try" in
7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697 *) ac_try_echo=$ac_try;;
7698 esac
7699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7700 (eval "$ac_try") 2>&5
7701 ac_status=$?
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); }; }; then
7704 ac_cv_sizeof_void_p=`cat conftest.val`
7705 else
7706 echo "$as_me: program exited with status $ac_status" >&5
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7709
7710 ( exit $ac_status )
7711 if test "$ac_cv_type_void_p" = yes; then
7712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7713 See \`config.log' for more details." >&5
7714 echo "$as_me: error: cannot compute sizeof (void *)
7715 See \`config.log' for more details." >&2;}
7716 { (exit 77); exit 77; }; }
57667717 else
57677718 ac_cv_sizeof_void_p=0
57687719 fi
57697720 fi
5770
5771 fi
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5773 $as_echo "$ac_cv_sizeof_void_p" >&6; }
7721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7722 fi
7723 rm -f conftest.val
7724 fi
7725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7726 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
57747727
57757728
57767729
57807733
57817734
57827735
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5784 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5785 if ${ac_cv_c_const+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7738 if test "${ac_cv_c_const+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7740 else
7741 cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h. */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
57897746 /* end confdefs.h. */
57907747
57917748 int
58457802 return 0;
58467803 }
58477804 _ACEOF
5848 if ac_fn_c_try_compile "$LINENO"; then :
7805 rm -f conftest.$ac_objext
7806 if { (ac_try="$ac_compile"
7807 case "(($ac_try" in
7808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7809 *) ac_try_echo=$ac_try;;
7810 esac
7811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7812 (eval "$ac_compile") 2>conftest.er1
7813 ac_status=$?
7814 grep -v '^ *+' conftest.er1 >conftest.err
7815 rm -f conftest.er1
7816 cat conftest.err >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } && {
7819 test -z "$ac_c_werror_flag" ||
7820 test ! -s conftest.err
7821 } && test -s conftest.$ac_objext; then
58497822 ac_cv_c_const=yes
58507823 else
5851 ac_cv_c_const=no
5852 fi
7824 echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7826
7827 ac_cv_c_const=no
7828 fi
7829
58537830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547831 fi
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
58577834 if test $ac_cv_c_const = no; then
58587835
5859 $as_echo "@%:@define const /**/" >>confdefs.h
5860
5861 fi
5862
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5864 $as_echo_n "checking for inline... " >&6; }
5865 if ${ac_cv_c_inline+:} false; then :
5866 $as_echo_n "(cached) " >&6
7836 cat >>confdefs.h <<\_ACEOF
7837 @%:@define const
7838 _ACEOF
7839
7840 fi
7841
7842 { echo "$as_me:$LINENO: checking for inline" >&5
7843 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7844 if test "${ac_cv_c_inline+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
58677846 else
58687847 ac_cv_c_inline=no
58697848 for ac_kw in inline __inline__ __inline; do
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
58717854 /* end confdefs.h. */
58727855 #ifndef __cplusplus
58737856 typedef int foo_t;
58767859 #endif
58777860
58787861 _ACEOF
5879 if ac_fn_c_try_compile "$LINENO"; then :
7862 rm -f conftest.$ac_objext
7863 if { (ac_try="$ac_compile"
7864 case "(($ac_try" in
7865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7867 esac
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7870 ac_status=$?
7871 grep -v '^ *+' conftest.er1 >conftest.err
7872 rm -f conftest.er1
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest.$ac_objext; then
58807879 ac_cv_c_inline=$ac_kw
5881 fi
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
58827887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58837888 test "$ac_cv_c_inline" != no && break
58847889 done
58857890
58867891 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
58897895
58907896 case $ac_cv_c_inline in
58917897 inline | yes) ;;
59027908 ;;
59037909 esac
59047910
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5906 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5907 if ${ac_cv_c_bigendian+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 ac_cv_c_bigendian=unknown
5911 # See if we're dealing with a universal compiler.
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #ifndef __APPLE_CC__
5915 not a universal capable compiler
5916 #endif
5917 typedef int dummy;
5918
5919 _ACEOF
5920 if ac_fn_c_try_compile "$LINENO"; then :
5921
5922 # Check for potential -arch flags. It is not universal unless
5923 # there are at least two -arch flags with different values.
5924 ac_arch=
5925 ac_prev=
5926 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5927 if test -n "$ac_prev"; then
5928 case $ac_word in
5929 i?86 | x86_64 | ppc | ppc64)
5930 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5931 ac_arch=$ac_word
5932 else
5933 ac_cv_c_bigendian=universal
5934 break
5935 fi
5936 ;;
5937 esac
5938 ac_prev=
5939 elif test "x$ac_word" = "x-arch"; then
5940 ac_prev=arch
5941 fi
5942 done
5943 fi
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 if test $ac_cv_c_bigendian = unknown; then
5946 # See if sys/param.h defines the BYTE_ORDER macro.
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7912 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
7913 if test "${ac_cv_c_bigendian+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 else
7916 # See if sys/param.h defines the BYTE_ORDER macro.
7917 cat >conftest.$ac_ext <<_ACEOF
7918 /* confdefs.h. */
7919 _ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
59487922 /* end confdefs.h. */
59497923 #include <sys/types.h>
5950 #include <sys/param.h>
5951
7924 #include <sys/param.h>
7925
59527926 int
59537927 main ()
59547928 {
5955 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5956 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5957 && LITTLE_ENDIAN)
5958 bogus endian macros
5959 #endif
5960
7929 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
7930 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
7931 bogus endian macros
7932 #endif
7933
59617934 ;
59627935 return 0;
59637936 }
59647937 _ACEOF
5965 if ac_fn_c_try_compile "$LINENO"; then :
7938 rm -f conftest.$ac_objext
7939 if { (ac_try="$ac_compile"
7940 case "(($ac_try" in
7941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7942 *) ac_try_echo=$ac_try;;
7943 esac
7944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7945 (eval "$ac_compile") 2>conftest.er1
7946 ac_status=$?
7947 grep -v '^ *+' conftest.er1 >conftest.err
7948 rm -f conftest.er1
7949 cat conftest.err >&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } && {
7952 test -z "$ac_c_werror_flag" ||
7953 test ! -s conftest.err
7954 } && test -s conftest.$ac_objext; then
59667955 # It does; now see whether it defined to BIG_ENDIAN or not.
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
59687961 /* end confdefs.h. */
59697962 #include <sys/types.h>
5970 #include <sys/param.h>
5971
7963 #include <sys/param.h>
7964
59727965 int
59737966 main ()
59747967 {
59757968 #if BYTE_ORDER != BIG_ENDIAN
5976 not big endian
5977 #endif
5978
7969 not big endian
7970 #endif
7971
59797972 ;
59807973 return 0;
59817974 }
59827975 _ACEOF
5983 if ac_fn_c_try_compile "$LINENO"; then :
7976 rm -f conftest.$ac_objext
7977 if { (ac_try="$ac_compile"
7978 case "(($ac_try" in
7979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7980 *) ac_try_echo=$ac_try;;
7981 esac
7982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7983 (eval "$ac_compile") 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } && {
7990 test -z "$ac_c_werror_flag" ||
7991 test ! -s conftest.err
7992 } && test -s conftest.$ac_objext; then
59847993 ac_cv_c_bigendian=yes
59857994 else
5986 ac_cv_c_bigendian=no
5987 fi
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7997
7998 ac_cv_c_bigendian=no
7999 fi
8000
59888001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 fi
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5991 fi
5992 if test $ac_cv_c_bigendian = unknown; then
5993 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <limits.h>
5997
8002 else
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8005
8006 # It does not; compile a test program.
8007 if test "$cross_compiling" = yes; then
8008 # try to guess the endianness by grepping values into an object file
8009 ac_cv_c_bigendian=unknown
8010 cat >conftest.$ac_ext <<_ACEOF
8011 /* confdefs.h. */
8012 _ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8017 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8018 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8019 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8020 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8021 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
59988022 int
59998023 main ()
60008024 {
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
8025 _ascii (); _ebcdic ();
60058026 ;
60068027 return 0;
60078028 }
60088029 _ACEOF
6009 if ac_fn_c_try_compile "$LINENO"; then :
6010 # It does; now see whether it defined to _BIG_ENDIAN or not.
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6013 #include <limits.h>
6014
6015 int
6016 main ()
6017 {
6018 #ifndef _BIG_ENDIAN
6019 not big endian
6020 #endif
6021
6022 ;
6023 return 0;
6024 }
6025 _ACEOF
6026 if ac_fn_c_try_compile "$LINENO"; then :
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8032 case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035 esac
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8038 ac_status=$?
8039 grep -v '^ *+' conftest.er1 >conftest.err
8040 rm -f conftest.er1
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.$ac_objext; then
8047 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
60278048 ac_cv_c_bigendian=yes
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
8049 fi
8050 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8051 if test "$ac_cv_c_bigendian" = unknown; then
8052 ac_cv_c_bigendian=no
8053 else
8054 # finding both strings is unlikely to happen, but who knows?
8055 ac_cv_c_bigendian=unknown
8056 fi
8057 fi
8058 else
8059 echo "$as_me: failed program was:" >&5
8060 sed 's/^/| /' conftest.$ac_ext >&5
8061
8062
8063 fi
8064
60318065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6032 fi
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 fi
6035 if test $ac_cv_c_bigendian = unknown; then
6036 # Compile a test program.
6037 if test "$cross_compiling" = yes; then :
6038 # Try to guess by grepping values from an object file.
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 short int ascii_mm[] =
6042 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6043 short int ascii_ii[] =
6044 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6045 int use_ascii (int i) {
6046 return ascii_mm[i] + ascii_ii[i];
6047 }
6048 short int ebcdic_ii[] =
6049 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6050 short int ebcdic_mm[] =
6051 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6052 int use_ebcdic (int i) {
6053 return ebcdic_mm[i] + ebcdic_ii[i];
6054 }
6055 extern int foo;
6056
6057 int
6058 main ()
6059 {
6060 return use_ascii (foo) == use_ebcdic (foo);
6061 ;
6062 return 0;
6063 }
6064 _ACEOF
6065 if ac_fn_c_try_compile "$LINENO"; then :
6066 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6067 ac_cv_c_bigendian=yes
6068 fi
6069 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6070 if test "$ac_cv_c_bigendian" = unknown; then
6071 ac_cv_c_bigendian=no
6072 else
6073 # finding both strings is unlikely to happen, but who knows?
6074 ac_cv_c_bigendian=unknown
6075 fi
6076 fi
6077 fi
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6079 else
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 else
8067 cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h. */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
60818072 /* end confdefs.h. */
60828073 $ac_includes_default
60838074 int
60848075 main ()
60858076 {
60868077
6087 /* Are we little or big endian? From Harbison&Steele. */
6088 union
6089 {
6090 long int l;
6091 char c[sizeof (long int)];
6092 } u;
6093 u.l = 1;
6094 return u.c[sizeof (long int) - 1] == 1;
6095
8078 /* Are we little or big endian? From Harbison&Steele. */
8079 union
8080 {
8081 long int l;
8082 char c[sizeof (long int)];
8083 } u;
8084 u.l = 1;
8085 return u.c[sizeof (long int) - 1] == 1;
8086
60968087 ;
60978088 return 0;
60988089 }
60998090 _ACEOF
6100 if ac_fn_c_try_run "$LINENO"; then :
8091 rm -f conftest$ac_exeext
8092 if { (ac_try="$ac_link"
8093 case "(($ac_try" in
8094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8096 esac
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_link") 2>&5
8099 ac_status=$?
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8102 { (case "(($ac_try" in
8103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8104 *) ac_try_echo=$ac_try;;
8105 esac
8106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8107 (eval "$ac_try") 2>&5
8108 ac_status=$?
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
61018111 ac_cv_c_bigendian=no
61028112 else
6103 ac_cv_c_bigendian=yes
6104 fi
6105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6106 conftest.$ac_objext conftest.beam conftest.$ac_ext
6107 fi
6108
6109 fi
6110 fi
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6112 $as_echo "$ac_cv_c_bigendian" >&6; }
6113 case $ac_cv_c_bigendian in #(
6114 yes)
6115 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
6116 ;; #(
6117 no)
6118 ;; #(
6119 universal)
6120
6121 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6122
6123 ;; #(
6124 *)
6125 as_fn_error $? "unknown endianness
6126 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6127 esac
6128
6129 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6130 if test "x$ac_cv_type_pid_t" = xyes; then :
6131
8113 echo "$as_me: program exited with status $ac_status" >&5
8114 echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8116
8117 ( exit $ac_status )
8118 ac_cv_c_bigendian=yes
8119 fi
8120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8121 fi
8122
8123
8124 fi
8125
8126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8127 fi
8128 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8129 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8130 case $ac_cv_c_bigendian in
8131 yes)
8132
8133 cat >>confdefs.h <<\_ACEOF
8134 @%:@define WORDS_BIGENDIAN 1
8135 _ACEOF
8136 ;;
8137 no)
8138 ;;
8139 *)
8140 { { echo "$as_me:$LINENO: error: unknown endianness
8141 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8142 echo "$as_me: error: unknown endianness
8143 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8144 { (exit 1); exit 1; }; } ;;
8145 esac
8146
8147 { echo "$as_me:$LINENO: checking for pid_t" >&5
8148 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
8149 if test "${ac_cv_type_pid_t+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 else
8152 cat >conftest.$ac_ext <<_ACEOF
8153 /* confdefs.h. */
8154 _ACEOF
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
8160 int
8161 main ()
8162 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
8167 ;
8168 return 0;
8169 }
8170 _ACEOF
8171 rm -f conftest.$ac_objext
8172 if { (ac_try="$ac_compile"
8173 case "(($ac_try" in
8174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8175 *) ac_try_echo=$ac_try;;
8176 esac
8177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8178 (eval "$ac_compile") 2>conftest.er1
8179 ac_status=$?
8180 grep -v '^ *+' conftest.er1 >conftest.err
8181 rm -f conftest.er1
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && {
8185 test -z "$ac_c_werror_flag" ||
8186 test ! -s conftest.err
8187 } && test -s conftest.$ac_objext; then
8188 ac_cv_type_pid_t=yes
8189 else
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8192
8193 ac_cv_type_pid_t=no
8194 fi
8195
8196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8197 fi
8198 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8199 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
8200 if test $ac_cv_type_pid_t = yes; then
8201 :
61328202 else
61338203
61348204 cat >>confdefs.h <<_ACEOF
61378207
61388208 fi
61398209
6140 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6141 if test "x$ac_cv_type_size_t" = xyes; then :
6142
8210 { echo "$as_me:$LINENO: checking for size_t" >&5
8211 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
8212 if test "${ac_cv_type_size_t+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 else
8215 cat >conftest.$ac_ext <<_ACEOF
8216 /* confdefs.h. */
8217 _ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8221 $ac_includes_default
8222 typedef size_t ac__type_new_;
8223 int
8224 main ()
8225 {
8226 if ((ac__type_new_ *) 0)
8227 return 0;
8228 if (sizeof (ac__type_new_))
8229 return 0;
8230 ;
8231 return 0;
8232 }
8233 _ACEOF
8234 rm -f conftest.$ac_objext
8235 if { (ac_try="$ac_compile"
8236 case "(($ac_try" in
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8239 esac
8240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8241 (eval "$ac_compile") 2>conftest.er1
8242 ac_status=$?
8243 grep -v '^ *+' conftest.er1 >conftest.err
8244 rm -f conftest.er1
8245 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then
8251 ac_cv_type_size_t=yes
8252 else
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8255
8256 ac_cv_type_size_t=no
8257 fi
8258
8259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8260 fi
8261 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8262 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
8263 if test $ac_cv_type_size_t = yes; then
8264 :
61438265 else
61448266
61458267 cat >>confdefs.h <<_ACEOF
61488270
61498271 fi
61508272
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6152 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6153 if ${ac_cv_struct_tm+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8274 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8275 if test "${ac_cv_struct_tm+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 else
8278 cat >conftest.$ac_ext <<_ACEOF
8279 /* confdefs.h. */
8280 _ACEOF
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
61578283 /* end confdefs.h. */
61588284 #include <sys/types.h>
61598285 #include <time.h>
61638289 {
61648290 struct tm tm;
61658291 int *p = &tm.tm_sec;
6166 return !p;
8292 return !p;
61678293 ;
61688294 return 0;
61698295 }
61708296 _ACEOF
6171 if ac_fn_c_try_compile "$LINENO"; then :
8297 rm -f conftest.$ac_objext
8298 if { (ac_try="$ac_compile"
8299 case "(($ac_try" in
8300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8301 *) ac_try_echo=$ac_try;;
8302 esac
8303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8304 (eval "$ac_compile") 2>conftest.er1
8305 ac_status=$?
8306 grep -v '^ *+' conftest.er1 >conftest.err
8307 rm -f conftest.er1
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } && {
8311 test -z "$ac_c_werror_flag" ||
8312 test ! -s conftest.err
8313 } && test -s conftest.$ac_objext; then
61728314 ac_cv_struct_tm=time.h
61738315 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8318
8319 ac_cv_struct_tm=sys/time.h
8320 fi
8321
61768322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61778323 fi
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
61808326 if test $ac_cv_struct_tm = sys/time.h; then
61818327
6182 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
6183
6184 fi
6185
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6187 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6188 if ${ac_cv_header_stdbool_h+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 cat >>confdefs.h <<\_ACEOF
8329 @%:@define TM_IN_SYS_TIME 1
8330 _ACEOF
8331
8332 fi
8333
8334 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8335 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
8336 if test "${ac_cv_header_stdbool_h+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
61928344 /* end confdefs.h. */
61938345
61948346 #include <stdbool.h>
62178369 char b[false == 0 ? 1 : -1];
62188370 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
62198371 char d[(bool) 0.5 == true ? 1 : -1];
6220 /* See body of main program for 'e'. */
8372 bool e = &s;
62218373 char f[(_Bool) 0.0 == false ? 1 : -1];
62228374 char g[true];
62238375 char h[sizeof (_Bool)];
62248376 char i[sizeof s.t];
62258377 enum { j = false, k = true, l = false * true, m = true * 256 };
6226 /* The following fails for
6227 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
62288378 _Bool n[m];
62298379 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
62308380 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8381 # if defined __xlc__ || defined __GNUC__
8382 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8383 reported by James Lemley on 2005-10-05; see
8384 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8385 This test is not quite right, since xlc is allowed to
8386 reject this program, as the initializer for xlcbug is
8387 not one of the forms that C requires support for.
8388 However, doing the test right would require a runtime
8389 test, and that would make cross-compilation harder.
8390 Let us hope that IBM fixes the xlc bug, and also adds
8391 support for this kind of constant expression. In the
8392 meantime, this test will reject xlc, which is OK, since
8393 our stdbool.h substitute should suffice. We also test
8394 this with GCC, where it should work, to detect more
8395 quickly whether someone messes up the test in the
8396 future. */
8397 char digs[] = "0123456789";
8398 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8399 # endif
62318400 /* Catch a bug in an HP-UX C compiler. See
62328401 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
62338402 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
62398408 main ()
62408409 {
62418410
6242 bool e = &s;
62438411 *pq |= q;
62448412 *pq |= ! q;
62458413 /* Refer to every declared value, to avoid compiler optimizations. */
62508418 return 0;
62518419 }
62528420 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
8421 rm -f conftest.$ac_objext
8422 if { (ac_try="$ac_compile"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_compile") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest.$ac_objext; then
62548438 ac_cv_header_stdbool_h=yes
62558439 else
6256 ac_cv_header_stdbool_h=no
6257 fi
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8442
8443 ac_cv_header_stdbool_h=no
8444 fi
8445
62588446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62598447 fi
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6261 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6262 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6263 if test "x$ac_cv_type__Bool" = xyes; then :
8448 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8449 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
8450 { echo "$as_me:$LINENO: checking for _Bool" >&5
8451 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
8452 if test "${ac_cv_type__Bool+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 else
8455 cat >conftest.$ac_ext <<_ACEOF
8456 /* confdefs.h. */
8457 _ACEOF
8458 cat confdefs.h >>conftest.$ac_ext
8459 cat >>conftest.$ac_ext <<_ACEOF
8460 /* end confdefs.h. */
8461 $ac_includes_default
8462 typedef _Bool ac__type_new_;
8463 int
8464 main ()
8465 {
8466 if ((ac__type_new_ *) 0)
8467 return 0;
8468 if (sizeof (ac__type_new_))
8469 return 0;
8470 ;
8471 return 0;
8472 }
8473 _ACEOF
8474 rm -f conftest.$ac_objext
8475 if { (ac_try="$ac_compile"
8476 case "(($ac_try" in
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8479 esac
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_compile") 2>conftest.er1
8482 ac_status=$?
8483 grep -v '^ *+' conftest.er1 >conftest.err
8484 rm -f conftest.er1
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } && {
8488 test -z "$ac_c_werror_flag" ||
8489 test ! -s conftest.err
8490 } && test -s conftest.$ac_objext; then
8491 ac_cv_type__Bool=yes
8492 else
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8495
8496 ac_cv_type__Bool=no
8497 fi
8498
8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8500 fi
8501 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8502 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
8503 if test $ac_cv_type__Bool = yes; then
62648504
62658505 cat >>confdefs.h <<_ACEOF
62668506 @%:@define HAVE__BOOL 1
62718511
62728512 if test $ac_cv_header_stdbool_h = yes; then
62738513
6274 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
8514 cat >>confdefs.h <<\_ACEOF
8515 @%:@define HAVE_STDBOOL_H 1
8516 _ACEOF
62758517
62768518 fi
62778519
62788520
62798521 # Checks for library functions.
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
6281 $as_echo_n "checking whether closedir returns void... " >&6; }
6282 if ${ac_cv_func_closedir_void+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test "$cross_compiling" = yes; then :
8522 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8523 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8524 if test "${ac_cv_func_closedir_void+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 else
8527 if test "$cross_compiling" = yes; then
62868528 ac_cv_func_closedir_void=yes
62878529 else
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
62898535 /* end confdefs.h. */
62908536 $ac_includes_default
62918537 #include <$ac_header_dirent>
63018547 return 0;
63028548 }
63038549 _ACEOF
6304 if ac_fn_c_try_run "$LINENO"; then :
8550 rm -f conftest$ac_exeext
8551 if { (ac_try="$ac_link"
8552 case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8555 esac
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_link") 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8561 { (case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
63058570 ac_cv_func_closedir_void=no
63068571 else
6307 ac_cv_func_closedir_void=yes
6308 fi
6309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6310 conftest.$ac_objext conftest.beam conftest.$ac_ext
6311 fi
6312
6313 fi
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
6315 $as_echo "$ac_cv_func_closedir_void" >&6; }
8572 echo "$as_me: program exited with status $ac_status" >&5
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8575
8576 ( exit $ac_status )
8577 ac_cv_func_closedir_void=yes
8578 fi
8579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8580 fi
8581
8582
8583 fi
8584 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8585 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
63168586 if test $ac_cv_func_closedir_void = yes; then
63178587
6318 $as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
8588 cat >>confdefs.h <<\_ACEOF
8589 @%:@define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
63218594
63228595 for ac_header in vfork.h
6323 do :
6324 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
6325 if test "x$ac_cv_header_vfork_h" = xyes; then :
8596 do
8597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 fi
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8607 else
8608 # Is the header compilable?
8609 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8611 cat >conftest.$ac_ext <<_ACEOF
8612 /* confdefs.h. */
8613 _ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8617 $ac_includes_default
8618 @%:@include <$ac_header>
8619 _ACEOF
8620 rm -f conftest.$ac_objext
8621 if { (ac_try="$ac_compile"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_compile") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest.$ac_objext; then
8637 ac_header_compiler=yes
8638 else
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8641
8642 ac_header_compiler=no
8643 fi
8644
8645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8647 echo "${ECHO_T}$ac_header_compiler" >&6; }
8648
8649 # Is the header present?
8650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 @%:@include <$ac_header>
8659 _ACEOF
8660 if { (ac_try="$ac_cpp conftest.$ac_ext"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } >/dev/null && {
8673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 }; then
8676 ac_header_preproc=yes
8677 else
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8680
8681 ac_header_preproc=no
8682 fi
8683
8684 rm -f conftest.err conftest.$ac_ext
8685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8686 echo "${ECHO_T}$ac_header_preproc" >&6; }
8687
8688 # So? What about this header?
8689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8690 yes:no: )
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8695 ac_header_preproc=yes
8696 ;;
8697 no:yes:* )
8698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8710 ( cat <<\_ASBOX
8711 @%:@@%:@ ------------------------------------------ @%:@@%:@
8712 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
8713 @%:@@%:@ ------------------------------------------ @%:@@%:@
8714 _ASBOX
8715 ) | sed "s/^/$as_me: WARNING: /" >&2
8716 ;;
8717 esac
8718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 else
8723 eval "$as_ac_Header=\$ac_header_preproc"
8724 fi
8725 ac_res=`eval echo '${'$as_ac_Header'}'`
8726 { echo "$as_me:$LINENO: result: $ac_res" >&5
8727 echo "${ECHO_T}$ac_res" >&6; }
8728
8729 fi
8730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63268731 cat >>confdefs.h <<_ACEOF
6327 @%:@define HAVE_VFORK_H 1
8732 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63288733 _ACEOF
63298734
63308735 fi
63318736
63328737 done
63338738
8739
8740
63348741 for ac_func in fork vfork
6335 do :
6336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8742 do
8743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749 cat >conftest.$ac_ext <<_ACEOF
8750 /* confdefs.h. */
8751 _ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8757 #define $ac_func innocuous_$ac_func
8758
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func (); below.
8761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762 <limits.h> exists even on freestanding compilers. */
8763
8764 #ifdef __STDC__
8765 # include <limits.h>
8766 #else
8767 # include <assert.h>
8768 #endif
8769
8770 #undef $ac_func
8771
8772 /* Override any GCC internal prototype to avoid an error.
8773 Use char because int might match the return type of a GCC
8774 builtin and then its argument prototype would still apply. */
8775 #ifdef __cplusplus
8776 extern "C"
8777 #endif
8778 char $ac_func ();
8779 /* The GNU C library defines this for functions which it implements
8780 to always fail with ENOSYS. Some functions are actually named
8781 something starting with __ and the normal name is an alias. */
8782 #if defined __stub_$ac_func || defined __stub___$ac_func
8783 choke me
8784 #endif
8785
8786 int
8787 main ()
8788 {
8789 return $ac_func ();
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8796 case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8802 ac_status=$?
8803 grep -v '^ *+' conftest.er1 >conftest.err
8804 rm -f conftest.er1
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 eval "$as_ac_var=yes"
8813 else
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8816
8817 eval "$as_ac_var=no"
8818 fi
8819
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 fi
8823 ac_res=`eval echo '${'$as_ac_var'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8826 if test `eval echo '${'$as_ac_var'}'` = yes; then
63398827 cat >>confdefs.h <<_ACEOF
6340 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8828 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63418829 _ACEOF
63428830
63438831 fi
63448832 done
63458833
63468834 if test "x$ac_cv_func_fork" = xyes; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
6348 $as_echo_n "checking for working fork... " >&6; }
6349 if ${ac_cv_func_fork_works+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test "$cross_compiling" = yes; then :
8835 { echo "$as_me:$LINENO: checking for working fork" >&5
8836 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
8837 if test "${ac_cv_func_fork_works+set}" = set; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test "$cross_compiling" = yes; then
63538841 ac_cv_func_fork_works=cross
63548842 else
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
63568848 /* end confdefs.h. */
63578849 $ac_includes_default
63588850 int
63668858 return 0;
63678859 }
63688860 _ACEOF
6369 if ac_fn_c_try_run "$LINENO"; then :
8861 rm -f conftest$ac_exeext
8862 if { (ac_try="$ac_link"
8863 case "(($ac_try" in
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8866 esac
8867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8868 (eval "$ac_link") 2>&5
8869 ac_status=$?
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8872 { (case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_try") 2>&5
8878 ac_status=$?
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
63708881 ac_cv_func_fork_works=yes
63718882 else
6372 ac_cv_func_fork_works=no
6373 fi
6374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6375 conftest.$ac_objext conftest.beam conftest.$ac_ext
6376 fi
6377
6378 fi
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
6380 $as_echo "$ac_cv_func_fork_works" >&6; }
8883 echo "$as_me: program exited with status $ac_status" >&5
8884 echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.$ac_ext >&5
8886
8887 ( exit $ac_status )
8888 ac_cv_func_fork_works=no
8889 fi
8890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8891 fi
8892
8893
8894 fi
8895 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8896 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
63818897
63828898 else
63838899 ac_cv_func_fork_works=$ac_cv_func_fork
63928908 ac_cv_func_fork_works=yes
63938909 ;;
63948910 esac
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6396 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8911 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8912 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
63978913 fi
63988914 ac_cv_func_vfork_works=$ac_cv_func_vfork
63998915 if test "x$ac_cv_func_vfork" = xyes; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
6401 $as_echo_n "checking for working vfork... " >&6; }
6402 if ${ac_cv_func_vfork_works+:} false; then :
6403 $as_echo_n "(cached) " >&6
6404 else
6405 if test "$cross_compiling" = yes; then :
8916 { echo "$as_me:$LINENO: checking for working vfork" >&5
8917 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
8918 if test "${ac_cv_func_vfork_works+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 else
8921 if test "$cross_compiling" = yes; then
64068922 ac_cv_func_vfork_works=cross
64078923 else
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
64098929 /* end confdefs.h. */
64108930 /* Thanks to Paul Eggert for this test. */
64118931 $ac_includes_default
64979017 }
64989018 }
64999019 _ACEOF
6500 if ac_fn_c_try_run "$LINENO"; then :
9020 rm -f conftest$ac_exeext
9021 if { (ac_try="$ac_link"
9022 case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9025 esac
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9031 { (case "(($ac_try" in
9032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9033 *) ac_try_echo=$ac_try;;
9034 esac
9035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9036 (eval "$ac_try") 2>&5
9037 ac_status=$?
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; }; then
65019040 ac_cv_func_vfork_works=yes
65029041 else
6503 ac_cv_func_vfork_works=no
6504 fi
6505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6506 conftest.$ac_objext conftest.beam conftest.$ac_ext
6507 fi
6508
6509 fi
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
6511 $as_echo "$ac_cv_func_vfork_works" >&6; }
9042 echo "$as_me: program exited with status $ac_status" >&5
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9045
9046 ( exit $ac_status )
9047 ac_cv_func_vfork_works=no
9048 fi
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9050 fi
9051
9052
9053 fi
9054 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9055 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
65129056
65139057 fi;
65149058 if test "x$ac_cv_func_fork_works" = xcross; then
65159059 ac_cv_func_vfork_works=$ac_cv_func_vfork
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6517 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9061 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
65189062 fi
65199063
65209064 if test "x$ac_cv_func_vfork_works" = xyes; then
65219065
6522 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
9066 cat >>confdefs.h <<\_ACEOF
9067 @%:@define HAVE_WORKING_VFORK 1
9068 _ACEOF
65239069
65249070 else
65259071
6526 $as_echo "@%:@define vfork fork" >>confdefs.h
9072 cat >>confdefs.h <<\_ACEOF
9073 @%:@define vfork fork
9074 _ACEOF
65279075
65289076 fi
65299077 if test "x$ac_cv_func_fork_works" = xyes; then
65309078
6531 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
9079 cat >>confdefs.h <<\_ACEOF
9080 @%:@define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
65349085
65359086 for ac_header in stdlib.h
6536 do :
6537 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6538 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9087 do
9088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 fi
9095 ac_res=`eval echo '${'$as_ac_Header'}'`
9096 { echo "$as_me:$LINENO: result: $ac_res" >&5
9097 echo "${ECHO_T}$ac_res" >&6; }
9098 else
9099 # Is the header compilable?
9100 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 $ac_includes_default
9109 @%:@include <$ac_header>
9110 _ACEOF
9111 rm -f conftest.$ac_objext
9112 if { (ac_try="$ac_compile"
9113 case "(($ac_try" in
9114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9115 *) ac_try_echo=$ac_try;;
9116 esac
9117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9118 (eval "$ac_compile") 2>conftest.er1
9119 ac_status=$?
9120 grep -v '^ *+' conftest.er1 >conftest.err
9121 rm -f conftest.er1
9122 cat conftest.err >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); } && {
9125 test -z "$ac_c_werror_flag" ||
9126 test ! -s conftest.err
9127 } && test -s conftest.$ac_objext; then
9128 ac_header_compiler=yes
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9132
9133 ac_header_compiler=no
9134 fi
9135
9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9138 echo "${ECHO_T}$ac_header_compiler" >&6; }
9139
9140 # Is the header present?
9141 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9143 cat >conftest.$ac_ext <<_ACEOF
9144 /* confdefs.h. */
9145 _ACEOF
9146 cat confdefs.h >>conftest.$ac_ext
9147 cat >>conftest.$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9149 @%:@include <$ac_header>
9150 _ACEOF
9151 if { (ac_try="$ac_cpp conftest.$ac_ext"
9152 case "(($ac_try" in
9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9155 esac
9156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9158 ac_status=$?
9159 grep -v '^ *+' conftest.er1 >conftest.err
9160 rm -f conftest.er1
9161 cat conftest.err >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); } >/dev/null && {
9164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9165 test ! -s conftest.err
9166 }; then
9167 ac_header_preproc=yes
9168 else
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9171
9172 ac_header_preproc=no
9173 fi
9174
9175 rm -f conftest.err conftest.$ac_ext
9176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9177 echo "${ECHO_T}$ac_header_preproc" >&6; }
9178
9179 # So? What about this header?
9180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9181 yes:no: )
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9186 ac_header_preproc=yes
9187 ;;
9188 no:yes:* )
9189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9201 ( cat <<\_ASBOX
9202 @%:@@%:@ ------------------------------------------ @%:@@%:@
9203 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
9204 @%:@@%:@ ------------------------------------------ @%:@@%:@
9205 _ASBOX
9206 ) | sed "s/^/$as_me: WARNING: /" >&2
9207 ;;
9208 esac
9209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 else
9214 eval "$as_ac_Header=\$ac_header_preproc"
9215 fi
9216 ac_res=`eval echo '${'$as_ac_Header'}'`
9217 { echo "$as_me:$LINENO: result: $ac_res" >&5
9218 echo "${ECHO_T}$ac_res" >&6; }
9219
9220 fi
9221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65399222 cat >>confdefs.h <<_ACEOF
6540 @%:@define HAVE_STDLIB_H 1
9223 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65419224 _ACEOF
65429225
65439226 fi
65449227
65459228 done
65469229
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6548 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6549 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test "$cross_compiling" = yes; then :
9230 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9231 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
9232 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 if test "$cross_compiling" = yes; then
65539236 ac_cv_func_malloc_0_nonnull=no
65549237 else
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
65569243 /* end confdefs.h. */
65579244 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
65589245 # include <stdlib.h>
65689255 return 0;
65699256 }
65709257 _ACEOF
6571 if ac_fn_c_try_run "$LINENO"; then :
9258 rm -f conftest$ac_exeext
9259 if { (ac_try="$ac_link"
9260 case "(($ac_try" in
9261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;;
9263 esac
9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 (eval "$ac_link") 2>&5
9266 ac_status=$?
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9269 { (case "(($ac_try" in
9270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271 *) ac_try_echo=$ac_try;;
9272 esac
9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_try") 2>&5
9275 ac_status=$?
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; }; then
65729278 ac_cv_func_malloc_0_nonnull=yes
65739279 else
6574 ac_cv_func_malloc_0_nonnull=no
6575 fi
6576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6577 conftest.$ac_objext conftest.beam conftest.$ac_ext
6578 fi
6579
6580 fi
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6582 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6583 if test $ac_cv_func_malloc_0_nonnull = yes; then :
9280 echo "$as_me: program exited with status $ac_status" >&5
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9283
9284 ( exit $ac_status )
9285 ac_cv_func_malloc_0_nonnull=no
9286 fi
9287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9288 fi
9289
9290
9291 fi
9292 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9293 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
9294 if test $ac_cv_func_malloc_0_nonnull = yes; then
65849295
6585 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
6586
6587 else
6588 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
9296 cat >>confdefs.h <<\_ACEOF
9297 @%:@define HAVE_MALLOC 1
9298 _ACEOF
9299
9300 else
9301 cat >>confdefs.h <<\_ACEOF
9302 @%:@define HAVE_MALLOC 0
9303 _ACEOF
65899304
65909305 case " $LIB@&t@OBJS " in
65919306 *" malloc.$ac_objext "* ) ;;
65949309 esac
65959310
65969311
6597 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
6598
6599 fi
6600
6601
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6603 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6604 if ${ac_cv_header_time+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 cat >>confdefs.h <<\_ACEOF
9313 @%:@define malloc rpl_malloc
9314 _ACEOF
9315
9316 fi
9317
9318
9319
9320 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9321 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
9322 if test "${ac_cv_header_time+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 cat >conftest.$ac_ext <<_ACEOF
9326 /* confdefs.h. */
9327 _ACEOF
9328 cat confdefs.h >>conftest.$ac_ext
9329 cat >>conftest.$ac_ext <<_ACEOF
66089330 /* end confdefs.h. */
66099331 #include <sys/types.h>
66109332 #include <sys/time.h>
66199341 return 0;
66209342 }
66219343 _ACEOF
6622 if ac_fn_c_try_compile "$LINENO"; then :
9344 rm -f conftest.$ac_objext
9345 if { (ac_try="$ac_compile"
9346 case "(($ac_try" in
9347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9348 *) ac_try_echo=$ac_try;;
9349 esac
9350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9351 (eval "$ac_compile") 2>conftest.er1
9352 ac_status=$?
9353 grep -v '^ *+' conftest.er1 >conftest.err
9354 rm -f conftest.er1
9355 cat conftest.err >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); } && {
9358 test -z "$ac_c_werror_flag" ||
9359 test ! -s conftest.err
9360 } && test -s conftest.$ac_objext; then
66239361 ac_cv_header_time=yes
66249362 else
6625 ac_cv_header_time=no
6626 fi
9363 echo "$as_me: failed program was:" >&5
9364 sed 's/^/| /' conftest.$ac_ext >&5
9365
9366 ac_cv_header_time=no
9367 fi
9368
66279369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66289370 fi
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
66319373 if test $ac_cv_header_time = yes; then
66329374
6633 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
6634
6635 fi
6636
6637
6638
9375 cat >>confdefs.h <<\_ACEOF
9376 @%:@define TIME_WITH_SYS_TIME 1
9377 _ACEOF
9378
9379 fi
9380
9381
9382
66399383
6640 for ac_header in $ac_header_list
6641 do :
6642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6644 "
6645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9384
9385 for ac_header in $ac_header_list
9386 do
9387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 fi
9394 ac_res=`eval echo '${'$as_ac_Header'}'`
9395 { echo "$as_me:$LINENO: result: $ac_res" >&5
9396 echo "${ECHO_T}$ac_res" >&6; }
9397 else
9398 # Is the header compilable?
9399 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9401 cat >conftest.$ac_ext <<_ACEOF
9402 /* confdefs.h. */
9403 _ACEOF
9404 cat confdefs.h >>conftest.$ac_ext
9405 cat >>conftest.$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9407 $ac_includes_default
9408 @%:@include <$ac_header>
9409 _ACEOF
9410 rm -f conftest.$ac_objext
9411 if { (ac_try="$ac_compile"
9412 case "(($ac_try" in
9413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9414 *) ac_try_echo=$ac_try;;
9415 esac
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_compile") 2>conftest.er1
9418 ac_status=$?
9419 grep -v '^ *+' conftest.er1 >conftest.err
9420 rm -f conftest.er1
9421 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } && {
9424 test -z "$ac_c_werror_flag" ||
9425 test ! -s conftest.err
9426 } && test -s conftest.$ac_objext; then
9427 ac_header_compiler=yes
9428 else
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9431
9432 ac_header_compiler=no
9433 fi
9434
9435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9437 echo "${ECHO_T}$ac_header_compiler" >&6; }
9438
9439 # Is the header present?
9440 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9442 cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h. */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 @%:@include <$ac_header>
9449 _ACEOF
9450 if { (ac_try="$ac_cpp conftest.$ac_ext"
9451 case "(($ac_try" in
9452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9453 *) ac_try_echo=$ac_try;;
9454 esac
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9457 ac_status=$?
9458 grep -v '^ *+' conftest.er1 >conftest.err
9459 rm -f conftest.er1
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } >/dev/null && {
9463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 }; then
9466 ac_header_preproc=yes
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9470
9471 ac_header_preproc=no
9472 fi
9473
9474 rm -f conftest.err conftest.$ac_ext
9475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9476 echo "${ECHO_T}$ac_header_preproc" >&6; }
9477
9478 # So? What about this header?
9479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9480 yes:no: )
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9485 ac_header_preproc=yes
9486 ;;
9487 no:yes:* )
9488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9500 ( cat <<\_ASBOX
9501 @%:@@%:@ ------------------------------------------ @%:@@%:@
9502 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
9503 @%:@@%:@ ------------------------------------------ @%:@@%:@
9504 _ASBOX
9505 ) | sed "s/^/$as_me: WARNING: /" >&2
9506 ;;
9507 esac
9508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9513 eval "$as_ac_Header=\$ac_header_preproc"
9514 fi
9515 ac_res=`eval echo '${'$as_ac_Header'}'`
9516 { echo "$as_me:$LINENO: result: $ac_res" >&5
9517 echo "${ECHO_T}$ac_res" >&6; }
9518
9519 fi
9520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66469521 cat >>confdefs.h <<_ACEOF
6647 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9522 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66489523 _ACEOF
66499524
66509525 fi
66549529
66559530
66569531
6657
6658
6659
9532
9533
9534
66609535
6661 for ac_func in $ac_func_list
6662 do :
6663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9536
9537 for ac_func in $ac_func_list
9538 do
9539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 else
9545 cat >conftest.$ac_ext <<_ACEOF
9546 /* confdefs.h. */
9547 _ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9553 #define $ac_func innocuous_$ac_func
9554
9555 /* System header to define __stub macros and hopefully few prototypes,
9556 which can conflict with char $ac_func (); below.
9557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9558 <limits.h> exists even on freestanding compilers. */
9559
9560 #ifdef __STDC__
9561 # include <limits.h>
9562 #else
9563 # include <assert.h>
9564 #endif
9565
9566 #undef $ac_func
9567
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char $ac_func ();
9575 /* The GNU C library defines this for functions which it implements
9576 to always fail with ENOSYS. Some functions are actually named
9577 something starting with __ and the normal name is an alias. */
9578 #if defined __stub_$ac_func || defined __stub___$ac_func
9579 choke me
9580 #endif
9581
9582 int
9583 main ()
9584 {
9585 return $ac_func ();
9586 ;
9587 return 0;
9588 }
9589 _ACEOF
9590 rm -f conftest.$ac_objext conftest$ac_exeext
9591 if { (ac_try="$ac_link"
9592 case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9595 esac
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_link") 2>conftest.er1
9598 ac_status=$?
9599 grep -v '^ *+' conftest.er1 >conftest.err
9600 rm -f conftest.er1
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest$ac_exeext &&
9607 $as_test_x conftest$ac_exeext; then
9608 eval "$as_ac_var=yes"
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9612
9613 eval "$as_ac_var=no"
9614 fi
9615
9616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9617 conftest$ac_exeext conftest.$ac_ext
9618 fi
9619 ac_res=`eval echo '${'$as_ac_var'}'`
9620 { echo "$as_me:$LINENO: result: $ac_res" >&5
9621 echo "${ECHO_T}$ac_res" >&6; }
9622 if test `eval echo '${'$as_ac_var'}'` = yes; then
66669623 cat >>confdefs.h <<_ACEOF
6667 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9624 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66689625 _ACEOF
66699626
66709627 fi
66739630
66749631
66759632
6676
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
6678 $as_echo_n "checking for working mktime... " >&6; }
6679 if ${ac_cv_func_working_mktime+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test "$cross_compiling" = yes; then :
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646 { echo "$as_me:$LINENO: checking for working mktime" >&5
9647 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
9648 if test "${ac_cv_func_working_mktime+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651 if test "$cross_compiling" = yes; then
66839652 ac_cv_func_working_mktime=no
66849653 else
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
66869659 /* end confdefs.h. */
66879660 /* Test program from Paul Eggert and Tony Leneis. */
66889661 #ifdef TIME_WITH_SYS_TIME
66969669 # endif
66979670 #endif
66989671
6699 #include <limits.h>
67009672 #include <stdlib.h>
67019673
67029674 #ifdef HAVE_UNISTD_H
67149686 static time_t time_t_min;
67159687
67169688 /* Values we'll use to set the TZ environment variable. */
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
67199691 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
67209692 };
67219693 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
67329704 instead of "TZ=America/Vancouver" in order to detect the bug even
67339705 on systems that don't support the Olson extension, or don't have the
67349706 full zoneinfo tables installed. */
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
67369708
67379709 tm.tm_year = 98;
67389710 tm.tm_mon = 3;
67459717 }
67469718
67479719 static int
6748 mktime_test1 (time_t now)
9720 mktime_test1 (now)
9721 time_t now;
67499722 {
67509723 struct tm *lt;
67519724 return ! (lt = localtime (&now)) || mktime (lt) == now;
67529725 }
67539726
67549727 static int
6755 mktime_test (time_t now)
9728 mktime_test (now)
9729 time_t now;
67569730 {
67579731 return (mktime_test1 (now)
67589732 && mktime_test1 ((time_t) (time_t_max - now))
67769750 }
67779751
67789752 static int
6779 bigtime_test (int j)
9753 bigtime_test (j)
9754 int j;
67809755 {
67819756 struct tm tm;
67829757 time_t now;
68209795 instead of "TZ=America/Vancouver" in order to detect the bug even
68219796 on systems that don't support the Olson extension, or don't have the
68229797 full zoneinfo tables installed. */
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
68249799
68259800 t = mktime (&tm);
68269801
68429817 isn't worth using anyway. */
68439818 alarm (60);
68449819
6845 for (;;)
6846 {
6847 t = (time_t_max << 1) + 1;
6848 if (t <= time_t_max)
6849 break;
6850 time_t_max = t;
6851 }
6852 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
6853
9820 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
9821 continue;
9822 time_t_max--;
9823 if ((time_t) -1 < 0)
9824 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
9825 continue;
68549826 delta = time_t_max / 997; /* a suitable prime number */
68559827 for (i = 0; i < N_STRINGS; i++)
68569828 {
68579829 if (tz_strings[i])
6858 putenv ((char*) tz_strings[i]);
9830 putenv (tz_strings[i]);
68599831
68609832 for (t = 0; t <= time_t_max - delta; t += delta)
68619833 if (! mktime_test (t))
68659837 && mktime_test ((time_t) (60 * 60 * 24))))
68669838 return 1;
68679839
6868 for (j = 1; ; j <<= 1)
9840 for (j = 1; 0 < j; j *= 2)
68699841 if (! bigtime_test (j))
68709842 return 1;
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
9843 if (! bigtime_test (j - 1))
68749844 return 1;
68759845 }
68769846 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
68779847 }
68789848 _ACEOF
6879 if ac_fn_c_try_run "$LINENO"; then :
9849 rm -f conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9851 case "(($ac_try" in
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9854 esac
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>&5
9857 ac_status=$?
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9860 { (case "(($ac_try" in
9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9862 *) ac_try_echo=$ac_try;;
9863 esac
9864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9865 (eval "$ac_try") 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
68809869 ac_cv_func_working_mktime=yes
68819870 else
6882 ac_cv_func_working_mktime=no
6883 fi
6884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6885 conftest.$ac_objext conftest.beam conftest.$ac_ext
6886 fi
6887
6888 fi
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
6890 $as_echo "$ac_cv_func_working_mktime" >&6; }
9871 echo "$as_me: program exited with status $ac_status" >&5
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9874
9875 ( exit $ac_status )
9876 ac_cv_func_working_mktime=no
9877 fi
9878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9879 fi
9880
9881
9882 fi
9883 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
9884 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
68919885 if test $ac_cv_func_working_mktime = no; then
68929886 case " $LIB@&t@OBJS " in
68939887 *" mktime.$ac_objext "* ) ;;
68979891
68989892 fi
68999893
9894
69009895 for ac_header in stdlib.h
6901 do :
6902 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6903 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9896 do
9897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 fi
9904 ac_res=`eval echo '${'$as_ac_Header'}'`
9905 { echo "$as_me:$LINENO: result: $ac_res" >&5
9906 echo "${ECHO_T}$ac_res" >&6; }
9907 else
9908 # Is the header compilable?
9909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9911 cat >conftest.$ac_ext <<_ACEOF
9912 /* confdefs.h. */
9913 _ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9917 $ac_includes_default
9918 @%:@include <$ac_header>
9919 _ACEOF
9920 rm -f conftest.$ac_objext
9921 if { (ac_try="$ac_compile"
9922 case "(($ac_try" in
9923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9924 *) ac_try_echo=$ac_try;;
9925 esac
9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9927 (eval "$ac_compile") 2>conftest.er1
9928 ac_status=$?
9929 grep -v '^ *+' conftest.er1 >conftest.err
9930 rm -f conftest.er1
9931 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && {
9934 test -z "$ac_c_werror_flag" ||
9935 test ! -s conftest.err
9936 } && test -s conftest.$ac_objext; then
9937 ac_header_compiler=yes
9938 else
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9941
9942 ac_header_compiler=no
9943 fi
9944
9945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9947 echo "${ECHO_T}$ac_header_compiler" >&6; }
9948
9949 # Is the header present?
9950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 @%:@include <$ac_header>
9959 _ACEOF
9960 if { (ac_try="$ac_cpp conftest.$ac_ext"
9961 case "(($ac_try" in
9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9964 esac
9965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9967 ac_status=$?
9968 grep -v '^ *+' conftest.er1 >conftest.err
9969 rm -f conftest.er1
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } >/dev/null && {
9973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9974 test ! -s conftest.err
9975 }; then
9976 ac_header_preproc=yes
9977 else
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9980
9981 ac_header_preproc=no
9982 fi
9983
9984 rm -f conftest.err conftest.$ac_ext
9985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9986 echo "${ECHO_T}$ac_header_preproc" >&6; }
9987
9988 # So? What about this header?
9989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9990 yes:no: )
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9995 ac_header_preproc=yes
9996 ;;
9997 no:yes:* )
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10010 ( cat <<\_ASBOX
10011 @%:@@%:@ ------------------------------------------ @%:@@%:@
10012 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
10013 @%:@@%:@ ------------------------------------------ @%:@@%:@
10014 _ASBOX
10015 ) | sed "s/^/$as_me: WARNING: /" >&2
10016 ;;
10017 esac
10018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023 eval "$as_ac_Header=\$ac_header_preproc"
10024 fi
10025 ac_res=`eval echo '${'$as_ac_Header'}'`
10026 { echo "$as_me:$LINENO: result: $ac_res" >&5
10027 echo "${ECHO_T}$ac_res" >&6; }
10028
10029 fi
10030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
690410031 cat >>confdefs.h <<_ACEOF
6905 @%:@define HAVE_STDLIB_H 1
10032 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
690610033 _ACEOF
690710034
690810035 fi
690910036
691010037 done
691110038
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6913 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6914 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 if test "$cross_compiling" = yes; then :
10039 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10040 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
10041 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044 if test "$cross_compiling" = yes; then
691810045 ac_cv_func_realloc_0_nonnull=no
691910046 else
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
692110052 /* end confdefs.h. */
692210053 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
692310054 # include <stdlib.h>
693310064 return 0;
693410065 }
693510066 _ACEOF
6936 if ac_fn_c_try_run "$LINENO"; then :
10067 rm -f conftest$ac_exeext
10068 if { (ac_try="$ac_link"
10069 case "(($ac_try" in
10070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10071 *) ac_try_echo=$ac_try;;
10072 esac
10073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10074 (eval "$ac_link") 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080 *) ac_try_echo=$ac_try;;
10081 esac
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
693710087 ac_cv_func_realloc_0_nonnull=yes
693810088 else
6939 ac_cv_func_realloc_0_nonnull=no
6940 fi
6941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6942 conftest.$ac_objext conftest.beam conftest.$ac_ext
6943 fi
6944
6945 fi
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6947 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6948 if test $ac_cv_func_realloc_0_nonnull = yes; then :
10089 echo "$as_me: program exited with status $ac_status" >&5
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10092
10093 ( exit $ac_status )
10094 ac_cv_func_realloc_0_nonnull=no
10095 fi
10096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10097 fi
10098
10099
10100 fi
10101 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10102 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
10103 if test $ac_cv_func_realloc_0_nonnull = yes; then
694910104
6950 $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
6951
6952 else
6953 $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
10105 cat >>confdefs.h <<\_ACEOF
10106 @%:@define HAVE_REALLOC 1
10107 _ACEOF
10108
10109 else
10110 cat >>confdefs.h <<\_ACEOF
10111 @%:@define HAVE_REALLOC 0
10112 _ACEOF
695410113
695510114 case " $LIB@&t@OBJS " in
695610115 *" realloc.$ac_objext "* ) ;;
695910118 esac
696010119
696110120
6962 $as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
6963
6964 fi
6965
6966
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
6968 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
6969 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
6970 $as_echo_n "(cached) " >&6
10121 cat >>confdefs.h <<\_ACEOF
10122 @%:@define realloc rpl_realloc
10123 _ACEOF
10124
10125 fi
10126
10127
10128
10129 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
10130 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
10131 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
697110133 else
697210134 rm -f conftest.sym conftest.file
697310135 echo >conftest.file
697410136 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
6975 if test "$cross_compiling" = yes; then :
10137 if test "$cross_compiling" = yes; then
697610138 ac_cv_func_lstat_dereferences_slashed_symlink=no
697710139 else
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
697910145 /* end confdefs.h. */
698010146 $ac_includes_default
698110147 int
698210148 main ()
698310149 {
698410150 struct stat sbuf;
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
10151 /* Linux will dereference the symlink and fail.
698610152 That is better in the sense that it means we will not
698710153 have to compile and use the lstat wrapper. */
698810154 return lstat ("conftest.sym/", &sbuf) == 0;
699010156 return 0;
699110157 }
699210158 _ACEOF
6993 if ac_fn_c_try_run "$LINENO"; then :
10159 rm -f conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>&5
10167 ac_status=$?
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10173 esac
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10176 ac_status=$?
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
699410179 ac_cv_func_lstat_dereferences_slashed_symlink=yes
699510180 else
6996 ac_cv_func_lstat_dereferences_slashed_symlink=no
6997 fi
6998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6999 conftest.$ac_objext conftest.beam conftest.$ac_ext
7000 fi
10181 echo "$as_me: program exited with status $ac_status" >&5
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10184
10185 ( exit $ac_status )
10186 ac_cv_func_lstat_dereferences_slashed_symlink=no
10187 fi
10188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10189 fi
10190
700110191
700210192 else
700310193 # If the `ln -s' command failed, then we probably don't even
700710197 rm -f conftest.sym conftest.file
700810198
700910199 fi
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7011 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10200 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10201 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
701210202
701310203 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
701410204
701710207 _ACEOF
701810208
701910209
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
702110211 case " $LIB@&t@OBJS " in
702210212 *" lstat.$ac_objext "* ) ;;
702310213 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
702610216
702710217 fi
702810218
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7030 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
7031 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 if test "$cross_compiling" = yes; then :
10219 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10220 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
10221 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 else
10224 if test "$cross_compiling" = yes; then
703510225 ac_cv_func_stat_empty_string_bug=yes
703610226 else
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
703810232 /* end confdefs.h. */
703910233 $ac_includes_default
704010234 int
704610240 return 0;
704710241 }
704810242 _ACEOF
7049 if ac_fn_c_try_run "$LINENO"; then :
10243 rm -f conftest$ac_exeext
10244 if { (ac_try="$ac_link"
10245 case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10248 esac
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_link") 2>&5
10251 ac_status=$?
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10254 { (case "(($ac_try" in
10255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10256 *) ac_try_echo=$ac_try;;
10257 esac
10258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10259 (eval "$ac_try") 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
705010263 ac_cv_func_stat_empty_string_bug=no
705110264 else
7052 ac_cv_func_stat_empty_string_bug=yes
7053 fi
7054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7055 conftest.$ac_objext conftest.beam conftest.$ac_ext
7056 fi
7057
7058 fi
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7060 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10265 echo "$as_me: program exited with status $ac_status" >&5
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10268
10269 ( exit $ac_status )
10270 ac_cv_func_stat_empty_string_bug=yes
10271 fi
10272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10273 fi
10274
10275
10276 fi
10277 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10278 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
706110279 if test $ac_cv_func_stat_empty_string_bug = yes; then
706210280 case " $LIB@&t@OBJS " in
706310281 *" stat.$ac_objext "* ) ;;
707210290
707310291 fi
707410292
10293
707510294 for ac_func in strftime
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
10295 do
10296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 else
10302 cat >conftest.$ac_ext <<_ACEOF
10303 /* confdefs.h. */
10304 _ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10310 #define $ac_func innocuous_$ac_func
10311
10312 /* System header to define __stub macros and hopefully few prototypes,
10313 which can conflict with char $ac_func (); below.
10314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10315 <limits.h> exists even on freestanding compilers. */
10316
10317 #ifdef __STDC__
10318 # include <limits.h>
10319 #else
10320 # include <assert.h>
10321 #endif
10322
10323 #undef $ac_func
10324
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10328 #ifdef __cplusplus
10329 extern "C"
10330 #endif
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined __stub_$ac_func || defined __stub___$ac_func
10336 choke me
10337 #endif
10338
10339 int
10340 main ()
10341 {
10342 return $ac_func ();
10343 ;
10344 return 0;
10345 }
10346 _ACEOF
10347 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (ac_try="$ac_link"
10349 case "(($ac_try" in
10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351 *) ac_try_echo=$ac_try;;
10352 esac
10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354 (eval "$ac_link") 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } && {
10361 test -z "$ac_c_werror_flag" ||
10362 test ! -s conftest.err
10363 } && test -s conftest$ac_exeext &&
10364 $as_test_x conftest$ac_exeext; then
10365 eval "$as_ac_var=yes"
10366 else
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.$ac_ext >&5
10369
10370 eval "$as_ac_var=no"
10371 fi
10372
10373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10374 conftest$ac_exeext conftest.$ac_ext
10375 fi
10376 ac_res=`eval echo '${'$as_ac_var'}'`
10377 { echo "$as_me:$LINENO: result: $ac_res" >&5
10378 echo "${ECHO_T}$ac_res" >&6; }
10379 if test `eval echo '${'$as_ac_var'}'` = yes; then
707910380 cat >>confdefs.h <<_ACEOF
7080 @%:@define HAVE_STRFTIME 1
10381 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
708110382 _ACEOF
708210383
708310384 else
708410385 # strftime is in -lintl on SCO UNIX.
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
7086 $as_echo_n "checking for strftime in -lintl... " >&6; }
7087 if ${ac_cv_lib_intl_strftime+:} false; then :
7088 $as_echo_n "(cached) " >&6
10386 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
10387 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
10388 if test "${ac_cv_lib_intl_strftime+set}" = set; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
708910390 else
709010391 ac_check_lib_save_LIBS=$LIBS
709110392 LIBS="-lintl $LIBS"
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
709310398 /* end confdefs.h. */
709410399
709510400 /* Override any GCC internal prototype to avoid an error.
710710412 return 0;
710810413 }
710910414 _ACEOF
7110 if ac_fn_c_try_link "$LINENO"; then :
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (ac_try="$ac_link"
10417 case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420 esac
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_link") 2>conftest.er1
10423 ac_status=$?
10424 grep -v '^ *+' conftest.er1 >conftest.err
10425 rm -f conftest.er1
10426 cat conftest.err >&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } && {
10429 test -z "$ac_c_werror_flag" ||
10430 test ! -s conftest.err
10431 } && test -s conftest$ac_exeext &&
10432 $as_test_x conftest$ac_exeext; then
711110433 ac_cv_lib_intl_strftime=yes
711210434 else
7113 ac_cv_lib_intl_strftime=no
7114 fi
7115 rm -f core conftest.err conftest.$ac_objext \
7116 conftest$ac_exeext conftest.$ac_ext
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10437
10438 ac_cv_lib_intl_strftime=no
10439 fi
10440
10441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10442 conftest$ac_exeext conftest.$ac_ext
711710443 LIBS=$ac_check_lib_save_LIBS
711810444 fi
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
7120 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
7121 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
7122 $as_echo "@%:@define HAVE_STRFTIME 1" >>confdefs.h
10445 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
10446 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
10447 if test $ac_cv_lib_intl_strftime = yes; then
10448 cat >>confdefs.h <<\_ACEOF
10449 @%:@define HAVE_STRFTIME 1
10450 _ACEOF
712310451
712410452 LIBS="-lintl $LIBS"
712510453 fi
712710455 fi
712810456 done
712910457
10458
10459
10460
10461
10462
10463
10464
10465
713010466 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
7131 do :
7132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10467 do
10468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 else
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10482 #define $ac_func innocuous_$ac_func
10483
10484 /* System header to define __stub macros and hopefully few prototypes,
10485 which can conflict with char $ac_func (); below.
10486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10487 <limits.h> exists even on freestanding compilers. */
10488
10489 #ifdef __STDC__
10490 # include <limits.h>
10491 #else
10492 # include <assert.h>
10493 #endif
10494
10495 #undef $ac_func
10496
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char $ac_func ();
10504 /* The GNU C library defines this for functions which it implements
10505 to always fail with ENOSYS. Some functions are actually named
10506 something starting with __ and the normal name is an alias. */
10507 #if defined __stub_$ac_func || defined __stub___$ac_func
10508 choke me
10509 #endif
10510
10511 int
10512 main ()
10513 {
10514 return $ac_func ();
10515 ;
10516 return 0;
10517 }
10518 _ACEOF
10519 rm -f conftest.$ac_objext conftest$ac_exeext
10520 if { (ac_try="$ac_link"
10521 case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10524 esac
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_link") 2>conftest.er1
10527 ac_status=$?
10528 grep -v '^ *+' conftest.er1 >conftest.err
10529 rm -f conftest.er1
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest$ac_exeext &&
10536 $as_test_x conftest$ac_exeext; then
10537 eval "$as_ac_var=yes"
10538 else
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10541
10542 eval "$as_ac_var=no"
10543 fi
10544
10545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10546 conftest$ac_exeext conftest.$ac_ext
10547 fi
10548 ac_res=`eval echo '${'$as_ac_var'}'`
10549 { echo "$as_me:$LINENO: result: $ac_res" >&5
10550 echo "${ECHO_T}$ac_res" >&6; }
10551 if test `eval echo '${'$as_ac_var'}'` = yes; then
713510552 cat >>confdefs.h <<_ACEOF
7136 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10553 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
713710554 _ACEOF
713810555
713910556 fi
714010557 done
714110558
714210559
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lsocket" >&5
7144 $as_echo_n "checking for res_search in -lsocket... " >&6; }
7145 if ${ac_cv_lib_socket_res_search+:} false; then :
7146 $as_echo_n "(cached) " >&6
10560 { echo "$as_me:$LINENO: checking for res_search in -lsocket" >&5
10561 echo $ECHO_N "checking for res_search in -lsocket... $ECHO_C" >&6; }
10562 if test "${ac_cv_lib_socket_res_search+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
714710564 else
714810565 ac_check_lib_save_LIBS=$LIBS
714910566 LIBS="-lsocket $LIBS"
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
715110572 /* end confdefs.h. */
715210573
715310574 /* Override any GCC internal prototype to avoid an error.
716510586 return 0;
716610587 }
716710588 _ACEOF
7168 if ac_fn_c_try_link "$LINENO"; then :
10589 rm -f conftest.$ac_objext conftest$ac_exeext
10590 if { (ac_try="$ac_link"
10591 case "(($ac_try" in
10592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593 *) ac_try_echo=$ac_try;;
10594 esac
10595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 (eval "$ac_link") 2>conftest.er1
10597 ac_status=$?
10598 grep -v '^ *+' conftest.er1 >conftest.err
10599 rm -f conftest.er1
10600 cat conftest.err >&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } && {
10603 test -z "$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10605 } && test -s conftest$ac_exeext &&
10606 $as_test_x conftest$ac_exeext; then
716910607 ac_cv_lib_socket_res_search=yes
717010608 else
7171 ac_cv_lib_socket_res_search=no
7172 fi
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 ac_cv_lib_socket_res_search=no
10613 fi
10614
10615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10616 conftest$ac_exeext conftest.$ac_ext
717510617 LIBS=$ac_check_lib_save_LIBS
717610618 fi
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_search" >&5
7178 $as_echo "$ac_cv_lib_socket_res_search" >&6; }
7179 if test "x$ac_cv_lib_socket_res_search" = xyes; then :
10619 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_res_search" >&5
10620 echo "${ECHO_T}$ac_cv_lib_socket_res_search" >&6; }
10621 if test $ac_cv_lib_socket_res_search = yes; then
718010622
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7182 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7183 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7184 $as_echo_n "(cached) " >&6
10623
10624 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10625 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10626 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
718510628 else
718610629 ac_check_lib_save_LIBS=$LIBS
718710630 LIBS="-lresolv $LIBS"
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
718910636 /* end confdefs.h. */
719010637
719110638 /* Override any GCC internal prototype to avoid an error.
720310650 return 0;
720410651 }
720510652 _ACEOF
7206 if ac_fn_c_try_link "$LINENO"; then :
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_link") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest$ac_exeext &&
10670 $as_test_x conftest$ac_exeext; then
720710671 ac_cv_lib_resolv_dn_skipname=yes
720810672 else
7209 ac_cv_lib_resolv_dn_skipname=no
7210 fi
7211 rm -f core conftest.err conftest.$ac_objext \
7212 conftest$ac_exeext conftest.$ac_ext
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10675
10676 ac_cv_lib_resolv_dn_skipname=no
10677 fi
10678
10679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10680 conftest$ac_exeext conftest.$ac_ext
721310681 LIBS=$ac_check_lib_save_LIBS
721410682 fi
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7216 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7217 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10683 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10684 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10685 if test $ac_cv_lib_resolv_dn_skipname = yes; then
721810686 cat >>confdefs.h <<_ACEOF
721910687 @%:@define HAVE_LIBRESOLV 1
722010688 _ACEOF
722310691
722410692 fi
722510693
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7227 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7228 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7229 $as_echo_n "(cached) " >&6
10694
10695 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10696 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10697 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
723010699 else
723110700 ac_check_lib_save_LIBS=$LIBS
723210701 LIBS="-lresolv $LIBS"
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
723410707 /* end confdefs.h. */
723510708
723610709 /* Override any GCC internal prototype to avoid an error.
724810721 return 0;
724910722 }
725010723 _ACEOF
7251 if ac_fn_c_try_link "$LINENO"; then :
10724 rm -f conftest.$ac_objext conftest$ac_exeext
10725 if { (ac_try="$ac_link"
10726 case "(($ac_try" in
10727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10728 *) ac_try_echo=$ac_try;;
10729 esac
10730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10731 (eval "$ac_link") 2>conftest.er1
10732 ac_status=$?
10733 grep -v '^ *+' conftest.er1 >conftest.err
10734 rm -f conftest.er1
10735 cat conftest.err >&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } && {
10738 test -z "$ac_c_werror_flag" ||
10739 test ! -s conftest.err
10740 } && test -s conftest$ac_exeext &&
10741 $as_test_x conftest$ac_exeext; then
725210742 ac_cv_lib_resolv___dn_skipname=yes
725310743 else
7254 ac_cv_lib_resolv___dn_skipname=no
7255 fi
7256 rm -f core conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10746
10747 ac_cv_lib_resolv___dn_skipname=no
10748 fi
10749
10750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 conftest$ac_exeext conftest.$ac_ext
725810752 LIBS=$ac_check_lib_save_LIBS
725910753 fi
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7261 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7262 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10754 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10755 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10756 if test $ac_cv_lib_resolv___dn_skipname = yes; then
726310757 cat >>confdefs.h <<_ACEOF
726410758 @%:@define HAVE_LIBRESOLV 1
726510759 _ACEOF
727010764
727110765 LIBS="$LIBS -lsocket"
727210766
7273 $as_echo "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
10767 cat >>confdefs.h <<\_ACEOF
10768 @%:@define HAVE_LIBSOCKET 1
10769 _ACEOF
727410770
727510771 else
727610772
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
7278 $as_echo_n "checking for res_search in -lresolv... " >&6; }
7279 if ${ac_cv_lib_resolv_res_search+:} false; then :
7280 $as_echo_n "(cached) " >&6
10773 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
10774 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
10775 if test "${ac_cv_lib_resolv_res_search+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
728110777 else
728210778 ac_check_lib_save_LIBS=$LIBS
728310779 LIBS="-lresolv $LIBS"
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
728510785 /* end confdefs.h. */
728610786
728710787 /* Override any GCC internal prototype to avoid an error.
729910799 return 0;
730010800 }
730110801 _ACEOF
7302 if ac_fn_c_try_link "$LINENO"; then :
10802 rm -f conftest.$ac_objext conftest$ac_exeext
10803 if { (ac_try="$ac_link"
10804 case "(($ac_try" in
10805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 *) ac_try_echo=$ac_try;;
10807 esac
10808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 (eval "$ac_link") 2>conftest.er1
10810 ac_status=$?
10811 grep -v '^ *+' conftest.er1 >conftest.err
10812 rm -f conftest.er1
10813 cat conftest.err >&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); } && {
10816 test -z "$ac_c_werror_flag" ||
10817 test ! -s conftest.err
10818 } && test -s conftest$ac_exeext &&
10819 $as_test_x conftest$ac_exeext; then
730310820 ac_cv_lib_resolv_res_search=yes
730410821 else
7305 ac_cv_lib_resolv_res_search=no
7306 fi
7307 rm -f core conftest.err conftest.$ac_objext \
7308 conftest$ac_exeext conftest.$ac_ext
10822 echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.$ac_ext >&5
10824
10825 ac_cv_lib_resolv_res_search=no
10826 fi
10827
10828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10829 conftest$ac_exeext conftest.$ac_ext
730910830 LIBS=$ac_check_lib_save_LIBS
731010831 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
7312 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
7313 if test "x$ac_cv_lib_resolv_res_search" = xyes; then :
10832 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
10833 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
10834 if test $ac_cv_lib_resolv_res_search = yes; then
731410835
731510836 LIBS="$LIBS -lresolv"
731610837
7317 $as_echo "@%:@define HAVE_LIBRESOLV 1" >>confdefs.h
10838 cat >>confdefs.h <<\_ACEOF
10839 @%:@define HAVE_LIBRESOLV 1
10840 _ACEOF
731810841
731910842
732010843 else
732110844
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7323 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7324 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7325 $as_echo_n "(cached) " >&6
10845
10846 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10847 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10848 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
732610850 else
732710851 ac_check_lib_save_LIBS=$LIBS
732810852 LIBS="-lresolv $LIBS"
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
733010858 /* end confdefs.h. */
733110859
733210860 /* Override any GCC internal prototype to avoid an error.
734410872 return 0;
734510873 }
734610874 _ACEOF
7347 if ac_fn_c_try_link "$LINENO"; then :
10875 rm -f conftest.$ac_objext conftest$ac_exeext
10876 if { (ac_try="$ac_link"
10877 case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_link") 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest$ac_exeext &&
10892 $as_test_x conftest$ac_exeext; then
734810893 ac_cv_lib_resolv_dn_skipname=yes
734910894 else
7350 ac_cv_lib_resolv_dn_skipname=no
7351 fi
7352 rm -f core conftest.err conftest.$ac_objext \
7353 conftest$ac_exeext conftest.$ac_ext
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.$ac_ext >&5
10897
10898 ac_cv_lib_resolv_dn_skipname=no
10899 fi
10900
10901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10902 conftest$ac_exeext conftest.$ac_ext
735410903 LIBS=$ac_check_lib_save_LIBS
735510904 fi
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7357 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7358 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10905 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10906 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10907 if test $ac_cv_lib_resolv_dn_skipname = yes; then
735910908 cat >>confdefs.h <<_ACEOF
736010909 @%:@define HAVE_LIBRESOLV 1
736110910 _ACEOF
736410913
736510914 fi
736610915
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7368 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7369 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7370 $as_echo_n "(cached) " >&6
10916
10917 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10918 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
737110921 else
737210922 ac_check_lib_save_LIBS=$LIBS
737310923 LIBS="-lresolv $LIBS"
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
737510929 /* end confdefs.h. */
737610930
737710931 /* Override any GCC internal prototype to avoid an error.
738910943 return 0;
739010944 }
739110945 _ACEOF
7392 if ac_fn_c_try_link "$LINENO"; then :
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
10948 case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10951 esac
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_link") 2>conftest.er1
10954 ac_status=$?
10955 grep -v '^ *+' conftest.er1 >conftest.err
10956 rm -f conftest.er1
10957 cat conftest.err >&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } && {
10960 test -z "$ac_c_werror_flag" ||
10961 test ! -s conftest.err
10962 } && test -s conftest$ac_exeext &&
10963 $as_test_x conftest$ac_exeext; then
739310964 ac_cv_lib_resolv___dn_skipname=yes
739410965 else
7395 ac_cv_lib_resolv___dn_skipname=no
7396 fi
7397 rm -f core conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10968
10969 ac_cv_lib_resolv___dn_skipname=no
10970 fi
10971
10972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10973 conftest$ac_exeext conftest.$ac_ext
739910974 LIBS=$ac_check_lib_save_LIBS
740010975 fi
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7402 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7403 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10976 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10977 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10978 if test $ac_cv_lib_resolv___dn_skipname = yes; then
740410979 cat >>confdefs.h <<_ACEOF
740510980 @%:@define HAVE_LIBRESOLV 1
740610981 _ACEOF
741710992
741810993
741910994 # lzo compression requirements
7420 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
7421 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
7422
10995 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10996 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
10997 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 else
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 typedef ptrdiff_t ac__type_new_;
11008 int
11009 main ()
11010 {
11011 if ((ac__type_new_ *) 0)
11012 return 0;
11013 if (sizeof (ac__type_new_))
11014 return 0;
11015 ;
11016 return 0;
11017 }
11018 _ACEOF
11019 rm -f conftest.$ac_objext
11020 if { (ac_try="$ac_compile"
11021 case "(($ac_try" in
11022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;;
11024 esac
11025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11026 (eval "$ac_compile") 2>conftest.er1
11027 ac_status=$?
11028 grep -v '^ *+' conftest.er1 >conftest.err
11029 rm -f conftest.er1
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } && {
11033 test -z "$ac_c_werror_flag" ||
11034 test ! -s conftest.err
11035 } && test -s conftest.$ac_objext; then
11036 ac_cv_type_ptrdiff_t=yes
11037 else
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11040
11041 ac_cv_type_ptrdiff_t=no
11042 fi
11043
11044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11045 fi
11046 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11047 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
11048 if test $ac_cv_type_ptrdiff_t = yes; then
11049 :
742311050 else
742411051
742511052 cat >>confdefs.h <<_ACEOF
742811055
742911056 fi
743011057
7431 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7432 if test "x$ac_cv_type_size_t" = xyes; then :
7433
11058 { echo "$as_me:$LINENO: checking for size_t" >&5
11059 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
11060 if test "${ac_cv_type_size_t+set}" = set; then
11061 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 else
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 $ac_includes_default
11070 typedef size_t ac__type_new_;
11071 int
11072 main ()
11073 {
11074 if ((ac__type_new_ *) 0)
11075 return 0;
11076 if (sizeof (ac__type_new_))
11077 return 0;
11078 ;
11079 return 0;
11080 }
11081 _ACEOF
11082 rm -f conftest.$ac_objext
11083 if { (ac_try="$ac_compile"
11084 case "(($ac_try" in
11085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11086 *) ac_try_echo=$ac_try;;
11087 esac
11088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11089 (eval "$ac_compile") 2>conftest.er1
11090 ac_status=$?
11091 grep -v '^ *+' conftest.er1 >conftest.err
11092 rm -f conftest.er1
11093 cat conftest.err >&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } && {
11096 test -z "$ac_c_werror_flag" ||
11097 test ! -s conftest.err
11098 } && test -s conftest.$ac_objext; then
11099 ac_cv_type_size_t=yes
11100 else
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.$ac_ext >&5
11103
11104 ac_cv_type_size_t=no
11105 fi
11106
11107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11108 fi
11109 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11110 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
11111 if test $ac_cv_type_size_t = yes; then
11112 :
743411113 else
743511114
743611115 cat >>confdefs.h <<_ACEOF
743811117 _ACEOF
743911118
744011119 fi
11120
11121 { echo "$as_me:$LINENO: checking for short" >&5
11122 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
11123 if test "${ac_cv_type_short+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 $ac_includes_default
11133 typedef short ac__type_new_;
11134 int
11135 main ()
11136 {
11137 if ((ac__type_new_ *) 0)
11138 return 0;
11139 if (sizeof (ac__type_new_))
11140 return 0;
11141 ;
11142 return 0;
11143 }
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (ac_try="$ac_compile"
11147 case "(($ac_try" in
11148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11149 *) ac_try_echo=$ac_try;;
11150 esac
11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11152 (eval "$ac_compile") 2>conftest.er1
11153 ac_status=$?
11154 grep -v '^ *+' conftest.er1 >conftest.err
11155 rm -f conftest.er1
11156 cat conftest.err >&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } && {
11159 test -z "$ac_c_werror_flag" ||
11160 test ! -s conftest.err
11161 } && test -s conftest.$ac_objext; then
11162 ac_cv_type_short=yes
11163 else
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 ac_cv_type_short=no
11168 fi
11169
11170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11171 fi
11172 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
11173 echo "${ECHO_T}$ac_cv_type_short" >&6; }
744111174
744211175 # The cast to long int works around a bug in the HP C Compiler
744311176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
744411177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
744511178 # This bug is HP SR number 8606223364.
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
7447 $as_echo_n "checking size of short... " >&6; }
7448 if ${ac_cv_sizeof_short+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
7452
7453 else
7454 if test "$ac_cv_type_short" = yes; then
7455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7457 as_fn_error 77 "cannot compute sizeof (short)
7458 See \`config.log' for more details" "$LINENO" 5; }
11179 { echo "$as_me:$LINENO: checking size of short" >&5
11180 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
11181 if test "${ac_cv_sizeof_short+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 if test "$cross_compiling" = yes; then
11185 # Depending upon the size, compute the lo and hi bounds.
11186 cat >conftest.$ac_ext <<_ACEOF
11187 /* confdefs.h. */
11188 _ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 $ac_includes_default
11193 typedef short ac__type_sizeof_;
11194 int
11195 main ()
11196 {
11197 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
11198 test_array @<:@0@:>@ = 0
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.$ac_objext
11205 if { (ac_try="$ac_compile"
11206 case "(($ac_try" in
11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208 *) ac_try_echo=$ac_try;;
11209 esac
11210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11211 (eval "$ac_compile") 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } && {
11218 test -z "$ac_c_werror_flag" ||
11219 test ! -s conftest.err
11220 } && test -s conftest.$ac_objext; then
11221 ac_lo=0 ac_mid=0
11222 while :; do
11223 cat >conftest.$ac_ext <<_ACEOF
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_includes_default
11230 typedef short ac__type_sizeof_;
11231 int
11232 main ()
11233 {
11234 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11235 test_array @<:@0@:>@ = 0
11236
11237 ;
11238 return 0;
11239 }
11240 _ACEOF
11241 rm -f conftest.$ac_objext
11242 if { (ac_try="$ac_compile"
11243 case "(($ac_try" in
11244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 *) ac_try_echo=$ac_try;;
11246 esac
11247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 (eval "$ac_compile") 2>conftest.er1
11249 ac_status=$?
11250 grep -v '^ *+' conftest.er1 >conftest.err
11251 rm -f conftest.er1
11252 cat conftest.err >&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); } && {
11255 test -z "$ac_c_werror_flag" ||
11256 test ! -s conftest.err
11257 } && test -s conftest.$ac_objext; then
11258 ac_hi=$ac_mid; break
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11262
11263 ac_lo=`expr $ac_mid + 1`
11264 if test $ac_lo -le $ac_mid; then
11265 ac_lo= ac_hi=
11266 break
11267 fi
11268 ac_mid=`expr 2 '*' $ac_mid + 1`
11269 fi
11270
11271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11272 done
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11276
11277 cat >conftest.$ac_ext <<_ACEOF
11278 /* confdefs.h. */
11279 _ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 $ac_includes_default
11284 typedef short ac__type_sizeof_;
11285 int
11286 main ()
11287 {
11288 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
11289 test_array @<:@0@:>@ = 0
11290
11291 ;
11292 return 0;
11293 }
11294 _ACEOF
11295 rm -f conftest.$ac_objext
11296 if { (ac_try="$ac_compile"
11297 case "(($ac_try" in
11298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11299 *) ac_try_echo=$ac_try;;
11300 esac
11301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11302 (eval "$ac_compile") 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && {
11309 test -z "$ac_c_werror_flag" ||
11310 test ! -s conftest.err
11311 } && test -s conftest.$ac_objext; then
11312 ac_hi=-1 ac_mid=-1
11313 while :; do
11314 cat >conftest.$ac_ext <<_ACEOF
11315 /* confdefs.h. */
11316 _ACEOF
11317 cat confdefs.h >>conftest.$ac_ext
11318 cat >>conftest.$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11320 $ac_includes_default
11321 typedef short ac__type_sizeof_;
11322 int
11323 main ()
11324 {
11325 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
11326 test_array @<:@0@:>@ = 0
11327
11328 ;
11329 return 0;
11330 }
11331 _ACEOF
11332 rm -f conftest.$ac_objext
11333 if { (ac_try="$ac_compile"
11334 case "(($ac_try" in
11335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11336 *) ac_try_echo=$ac_try;;
11337 esac
11338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11339 (eval "$ac_compile") 2>conftest.er1
11340 ac_status=$?
11341 grep -v '^ *+' conftest.er1 >conftest.err
11342 rm -f conftest.er1
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } && {
11346 test -z "$ac_c_werror_flag" ||
11347 test ! -s conftest.err
11348 } && test -s conftest.$ac_objext; then
11349 ac_lo=$ac_mid; break
11350 else
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.$ac_ext >&5
11353
11354 ac_hi=`expr '(' $ac_mid ')' - 1`
11355 if test $ac_mid -le $ac_hi; then
11356 ac_lo= ac_hi=
11357 break
11358 fi
11359 ac_mid=`expr 2 '*' $ac_mid`
11360 fi
11361
11362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11363 done
11364 else
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.$ac_ext >&5
11367
11368 ac_lo= ac_hi=
11369 fi
11370
11371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11372 fi
11373
11374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11375 # Binary search between lo and hi bounds.
11376 while test "x$ac_lo" != "x$ac_hi"; do
11377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11378 cat >conftest.$ac_ext <<_ACEOF
11379 /* confdefs.h. */
11380 _ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11384 $ac_includes_default
11385 typedef short ac__type_sizeof_;
11386 int
11387 main ()
11388 {
11389 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11390 test_array @<:@0@:>@ = 0
11391
11392 ;
11393 return 0;
11394 }
11395 _ACEOF
11396 rm -f conftest.$ac_objext
11397 if { (ac_try="$ac_compile"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11401 esac
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_compile") 2>conftest.er1
11404 ac_status=$?
11405 grep -v '^ *+' conftest.er1 >conftest.err
11406 rm -f conftest.er1
11407 cat conftest.err >&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } && {
11410 test -z "$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 } && test -s conftest.$ac_objext; then
11413 ac_hi=$ac_mid
11414 else
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11417
11418 ac_lo=`expr '(' $ac_mid ')' + 1`
11419 fi
11420
11421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11422 done
11423 case $ac_lo in
11424 ?*) ac_cv_sizeof_short=$ac_lo;;
11425 '') if test "$ac_cv_type_short" = yes; then
11426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11427 See \`config.log' for more details." >&5
11428 echo "$as_me: error: cannot compute sizeof (short)
11429 See \`config.log' for more details." >&2;}
11430 { (exit 77); exit 77; }; }
11431 else
11432 ac_cv_sizeof_short=0
11433 fi ;;
11434 esac
11435 else
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 $ac_includes_default
11443 typedef short ac__type_sizeof_;
11444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11446 @%:@include <stdio.h>
11447 @%:@include <stdlib.h>
11448 int
11449 main ()
11450 {
11451
11452 FILE *f = fopen ("conftest.val", "w");
11453 if (! f)
11454 return 1;
11455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11456 {
11457 long int i = longval ();
11458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11459 return 1;
11460 fprintf (f, "%ld\n", i);
11461 }
11462 else
11463 {
11464 unsigned long int i = ulongval ();
11465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11466 return 1;
11467 fprintf (f, "%lu\n", i);
11468 }
11469 return ferror (f) || fclose (f) != 0;
11470
11471 ;
11472 return 0;
11473 }
11474 _ACEOF
11475 rm -f conftest$ac_exeext
11476 if { (ac_try="$ac_link"
11477 case "(($ac_try" in
11478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11479 *) ac_try_echo=$ac_try;;
11480 esac
11481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11482 (eval "$ac_link") 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11486 { (case "(($ac_try" in
11487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11488 *) ac_try_echo=$ac_try;;
11489 esac
11490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11491 (eval "$ac_try") 2>&5
11492 ac_status=$?
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then
11495 ac_cv_sizeof_short=`cat conftest.val`
11496 else
11497 echo "$as_me: program exited with status $ac_status" >&5
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.$ac_ext >&5
11500
11501 ( exit $ac_status )
11502 if test "$ac_cv_type_short" = yes; then
11503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11504 See \`config.log' for more details." >&5
11505 echo "$as_me: error: cannot compute sizeof (short)
11506 See \`config.log' for more details." >&2;}
11507 { (exit 77); exit 77; }; }
745911508 else
746011509 ac_cv_sizeof_short=0
746111510 fi
746211511 fi
7463
7464 fi
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
7466 $as_echo "$ac_cv_sizeof_short" >&6; }
11512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11513 fi
11514 rm -f conftest.val
11515 fi
11516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
11517 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
746711518
746811519
746911520
747111522 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
747211523 _ACEOF
747311524
11525
11526 { echo "$as_me:$LINENO: checking for int" >&5
11527 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
11528 if test "${ac_cv_type_int+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else
11531 cat >conftest.$ac_ext <<_ACEOF
11532 /* confdefs.h. */
11533 _ACEOF
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 $ac_includes_default
11538 typedef int ac__type_new_;
11539 int
11540 main ()
11541 {
11542 if ((ac__type_new_ *) 0)
11543 return 0;
11544 if (sizeof (ac__type_new_))
11545 return 0;
11546 ;
11547 return 0;
11548 }
11549 _ACEOF
11550 rm -f conftest.$ac_objext
11551 if { (ac_try="$ac_compile"
11552 case "(($ac_try" in
11553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554 *) ac_try_echo=$ac_try;;
11555 esac
11556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11557 (eval "$ac_compile") 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } && {
11564 test -z "$ac_c_werror_flag" ||
11565 test ! -s conftest.err
11566 } && test -s conftest.$ac_objext; then
11567 ac_cv_type_int=yes
11568 else
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_type_int=no
11573 fi
11574
11575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11576 fi
11577 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11578 echo "${ECHO_T}$ac_cv_type_int" >&6; }
747411579
747511580 # The cast to long int works around a bug in the HP C Compiler
747611581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
747711582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
747811583 # This bug is HP SR number 8606223364.
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7480 $as_echo_n "checking size of int... " >&6; }
7481 if ${ac_cv_sizeof_int+:} false; then :
7482 $as_echo_n "(cached) " >&6
7483 else
7484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
7485
7486 else
7487 if test "$ac_cv_type_int" = yes; then
7488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7490 as_fn_error 77 "cannot compute sizeof (int)
7491 See \`config.log' for more details" "$LINENO" 5; }
11584 { echo "$as_me:$LINENO: checking size of int" >&5
11585 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
11586 if test "${ac_cv_sizeof_int+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 else
11589 if test "$cross_compiling" = yes; then
11590 # Depending upon the size, compute the lo and hi bounds.
11591 cat >conftest.$ac_ext <<_ACEOF
11592 /* confdefs.h. */
11593 _ACEOF
11594 cat confdefs.h >>conftest.$ac_ext
11595 cat >>conftest.$ac_ext <<_ACEOF
11596 /* end confdefs.h. */
11597 $ac_includes_default
11598 typedef int ac__type_sizeof_;
11599 int
11600 main ()
11601 {
11602 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
11603 test_array @<:@0@:>@ = 0
11604
11605 ;
11606 return 0;
11607 }
11608 _ACEOF
11609 rm -f conftest.$ac_objext
11610 if { (ac_try="$ac_compile"
11611 case "(($ac_try" in
11612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11613 *) ac_try_echo=$ac_try;;
11614 esac
11615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11616 (eval "$ac_compile") 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } && {
11623 test -z "$ac_c_werror_flag" ||
11624 test ! -s conftest.err
11625 } && test -s conftest.$ac_objext; then
11626 ac_lo=0 ac_mid=0
11627 while :; do
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_includes_default
11635 typedef int ac__type_sizeof_;
11636 int
11637 main ()
11638 {
11639 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11640 test_array @<:@0@:>@ = 0
11641
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.$ac_objext
11647 if { (ac_try="$ac_compile"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11651 esac
11652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11653 (eval "$ac_compile") 2>conftest.er1
11654 ac_status=$?
11655 grep -v '^ *+' conftest.er1 >conftest.err
11656 rm -f conftest.er1
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && {
11660 test -z "$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11662 } && test -s conftest.$ac_objext; then
11663 ac_hi=$ac_mid; break
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11667
11668 ac_lo=`expr $ac_mid + 1`
11669 if test $ac_lo -le $ac_mid; then
11670 ac_lo= ac_hi=
11671 break
11672 fi
11673 ac_mid=`expr 2 '*' $ac_mid + 1`
11674 fi
11675
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 done
11678 else
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.$ac_ext >&5
11681
11682 cat >conftest.$ac_ext <<_ACEOF
11683 /* confdefs.h. */
11684 _ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 $ac_includes_default
11689 typedef int ac__type_sizeof_;
11690 int
11691 main ()
11692 {
11693 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
11694 test_array @<:@0@:>@ = 0
11695
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (ac_try="$ac_compile"
11702 case "(($ac_try" in
11703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11704 *) ac_try_echo=$ac_try;;
11705 esac
11706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11707 (eval "$ac_compile") 2>conftest.er1
11708 ac_status=$?
11709 grep -v '^ *+' conftest.er1 >conftest.err
11710 rm -f conftest.er1
11711 cat conftest.err >&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } && {
11714 test -z "$ac_c_werror_flag" ||
11715 test ! -s conftest.err
11716 } && test -s conftest.$ac_objext; then
11717 ac_hi=-1 ac_mid=-1
11718 while :; do
11719 cat >conftest.$ac_ext <<_ACEOF
11720 /* confdefs.h. */
11721 _ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 $ac_includes_default
11726 typedef int ac__type_sizeof_;
11727 int
11728 main ()
11729 {
11730 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
11731 test_array @<:@0@:>@ = 0
11732
11733 ;
11734 return 0;
11735 }
11736 _ACEOF
11737 rm -f conftest.$ac_objext
11738 if { (ac_try="$ac_compile"
11739 case "(($ac_try" in
11740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11742 esac
11743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11744 (eval "$ac_compile") 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && {
11751 test -z "$ac_c_werror_flag" ||
11752 test ! -s conftest.err
11753 } && test -s conftest.$ac_objext; then
11754 ac_lo=$ac_mid; break
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11758
11759 ac_hi=`expr '(' $ac_mid ')' - 1`
11760 if test $ac_mid -le $ac_hi; then
11761 ac_lo= ac_hi=
11762 break
11763 fi
11764 ac_mid=`expr 2 '*' $ac_mid`
11765 fi
11766
11767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11768 done
11769 else
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5
11772
11773 ac_lo= ac_hi=
11774 fi
11775
11776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11777 fi
11778
11779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11780 # Binary search between lo and hi bounds.
11781 while test "x$ac_lo" != "x$ac_hi"; do
11782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789 $ac_includes_default
11790 typedef int ac__type_sizeof_;
11791 int
11792 main ()
11793 {
11794 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11795 test_array @<:@0@:>@ = 0
11796
11797 ;
11798 return 0;
11799 }
11800 _ACEOF
11801 rm -f conftest.$ac_objext
11802 if { (ac_try="$ac_compile"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_compile") 2>conftest.er1
11809 ac_status=$?
11810 grep -v '^ *+' conftest.er1 >conftest.err
11811 rm -f conftest.er1
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest.$ac_objext; then
11818 ac_hi=$ac_mid
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11822
11823 ac_lo=`expr '(' $ac_mid ')' + 1`
11824 fi
11825
11826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11827 done
11828 case $ac_lo in
11829 ?*) ac_cv_sizeof_int=$ac_lo;;
11830 '') if test "$ac_cv_type_int" = yes; then
11831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11832 See \`config.log' for more details." >&5
11833 echo "$as_me: error: cannot compute sizeof (int)
11834 See \`config.log' for more details." >&2;}
11835 { (exit 77); exit 77; }; }
11836 else
11837 ac_cv_sizeof_int=0
11838 fi ;;
11839 esac
11840 else
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 $ac_includes_default
11848 typedef int ac__type_sizeof_;
11849 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11850 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11851 @%:@include <stdio.h>
11852 @%:@include <stdlib.h>
11853 int
11854 main ()
11855 {
11856
11857 FILE *f = fopen ("conftest.val", "w");
11858 if (! f)
11859 return 1;
11860 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11861 {
11862 long int i = longval ();
11863 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11864 return 1;
11865 fprintf (f, "%ld\n", i);
11866 }
11867 else
11868 {
11869 unsigned long int i = ulongval ();
11870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11871 return 1;
11872 fprintf (f, "%lu\n", i);
11873 }
11874 return ferror (f) || fclose (f) != 0;
11875
11876 ;
11877 return 0;
11878 }
11879 _ACEOF
11880 rm -f conftest$ac_exeext
11881 if { (ac_try="$ac_link"
11882 case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_link") 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11891 { (case "(($ac_try" in
11892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11893 *) ac_try_echo=$ac_try;;
11894 esac
11895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11896 (eval "$ac_try") 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_sizeof_int=`cat conftest.val`
11901 else
11902 echo "$as_me: program exited with status $ac_status" >&5
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11905
11906 ( exit $ac_status )
11907 if test "$ac_cv_type_int" = yes; then
11908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11909 See \`config.log' for more details." >&5
11910 echo "$as_me: error: cannot compute sizeof (int)
11911 See \`config.log' for more details." >&2;}
11912 { (exit 77); exit 77; }; }
749211913 else
749311914 ac_cv_sizeof_int=0
749411915 fi
749511916 fi
7496
7497 fi
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7499 $as_echo "$ac_cv_sizeof_int" >&6; }
11917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11918 fi
11919 rm -f conftest.val
11920 fi
11921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11922 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
750011923
750111924
750211925
750411927 @%:@define SIZEOF_INT $ac_cv_sizeof_int
750511928 _ACEOF
750611929
11930
11931 { echo "$as_me:$LINENO: checking for long" >&5
11932 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
11933 if test "${ac_cv_type_long+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h. */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 $ac_includes_default
11943 typedef long ac__type_new_;
11944 int
11945 main ()
11946 {
11947 if ((ac__type_new_ *) 0)
11948 return 0;
11949 if (sizeof (ac__type_new_))
11950 return 0;
11951 ;
11952 return 0;
11953 }
11954 _ACEOF
11955 rm -f conftest.$ac_objext
11956 if { (ac_try="$ac_compile"
11957 case "(($ac_try" in
11958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11959 *) ac_try_echo=$ac_try;;
11960 esac
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_compile") 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } && {
11969 test -z "$ac_c_werror_flag" ||
11970 test ! -s conftest.err
11971 } && test -s conftest.$ac_objext; then
11972 ac_cv_type_long=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11976
11977 ac_cv_type_long=no
11978 fi
11979
11980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 fi
11982 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11983 echo "${ECHO_T}$ac_cv_type_long" >&6; }
750711984
750811985 # The cast to long int works around a bug in the HP C Compiler
750911986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
751011987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
751111988 # This bug is HP SR number 8606223364.
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
7513 $as_echo_n "checking size of long... " >&6; }
7514 if ${ac_cv_sizeof_long+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
7518
7519 else
7520 if test "$ac_cv_type_long" = yes; then
7521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7523 as_fn_error 77 "cannot compute sizeof (long)
7524 See \`config.log' for more details" "$LINENO" 5; }
11989 { echo "$as_me:$LINENO: checking size of long" >&5
11990 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
11991 if test "${ac_cv_sizeof_long+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 else
11994 if test "$cross_compiling" = yes; then
11995 # Depending upon the size, compute the lo and hi bounds.
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 $ac_includes_default
12003 typedef long ac__type_sizeof_;
12004 int
12005 main ()
12006 {
12007 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12008 test_array @<:@0@:>@ = 0
12009
12010 ;
12011 return 0;
12012 }
12013 _ACEOF
12014 rm -f conftest.$ac_objext
12015 if { (ac_try="$ac_compile"
12016 case "(($ac_try" in
12017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12018 *) ac_try_echo=$ac_try;;
12019 esac
12020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12021 (eval "$ac_compile") 2>conftest.er1
12022 ac_status=$?
12023 grep -v '^ *+' conftest.er1 >conftest.err
12024 rm -f conftest.er1
12025 cat conftest.err >&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest.$ac_objext; then
12031 ac_lo=0 ac_mid=0
12032 while :; do
12033 cat >conftest.$ac_ext <<_ACEOF
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 $ac_includes_default
12040 typedef long ac__type_sizeof_;
12041 int
12042 main ()
12043 {
12044 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12045 test_array @<:@0@:>@ = 0
12046
12047 ;
12048 return 0;
12049 }
12050 _ACEOF
12051 rm -f conftest.$ac_objext
12052 if { (ac_try="$ac_compile"
12053 case "(($ac_try" in
12054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12055 *) ac_try_echo=$ac_try;;
12056 esac
12057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12058 (eval "$ac_compile") 2>conftest.er1
12059 ac_status=$?
12060 grep -v '^ *+' conftest.er1 >conftest.err
12061 rm -f conftest.er1
12062 cat conftest.err >&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } && {
12065 test -z "$ac_c_werror_flag" ||
12066 test ! -s conftest.err
12067 } && test -s conftest.$ac_objext; then
12068 ac_hi=$ac_mid; break
12069 else
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5
12072
12073 ac_lo=`expr $ac_mid + 1`
12074 if test $ac_lo -le $ac_mid; then
12075 ac_lo= ac_hi=
12076 break
12077 fi
12078 ac_mid=`expr 2 '*' $ac_mid + 1`
12079 fi
12080
12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12082 done
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 cat >conftest.$ac_ext <<_ACEOF
12088 /* confdefs.h. */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12093 $ac_includes_default
12094 typedef long ac__type_sizeof_;
12095 int
12096 main ()
12097 {
12098 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12099 test_array @<:@0@:>@ = 0
12100
12101 ;
12102 return 0;
12103 }
12104 _ACEOF
12105 rm -f conftest.$ac_objext
12106 if { (ac_try="$ac_compile"
12107 case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_compile") 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && {
12119 test -z "$ac_c_werror_flag" ||
12120 test ! -s conftest.err
12121 } && test -s conftest.$ac_objext; then
12122 ac_hi=-1 ac_mid=-1
12123 while :; do
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130 $ac_includes_default
12131 typedef long ac__type_sizeof_;
12132 int
12133 main ()
12134 {
12135 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12136 test_array @<:@0@:>@ = 0
12137
12138 ;
12139 return 0;
12140 }
12141 _ACEOF
12142 rm -f conftest.$ac_objext
12143 if { (ac_try="$ac_compile"
12144 case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12147 esac
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_compile") 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest.$ac_objext; then
12159 ac_lo=$ac_mid; break
12160 else
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.$ac_ext >&5
12163
12164 ac_hi=`expr '(' $ac_mid ')' - 1`
12165 if test $ac_mid -le $ac_hi; then
12166 ac_lo= ac_hi=
12167 break
12168 fi
12169 ac_mid=`expr 2 '*' $ac_mid`
12170 fi
12171
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 done
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178 ac_lo= ac_hi=
12179 fi
12180
12181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12182 fi
12183
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 # Binary search between lo and hi bounds.
12186 while test "x$ac_lo" != "x$ac_hi"; do
12187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12188 cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 $ac_includes_default
12195 typedef long ac__type_sizeof_;
12196 int
12197 main ()
12198 {
12199 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12200 test_array @<:@0@:>@ = 0
12201
12202 ;
12203 return 0;
12204 }
12205 _ACEOF
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210 *) ac_try_echo=$ac_try;;
12211 esac
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.$ac_objext; then
12223 ac_hi=$ac_mid
12224 else
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12227
12228 ac_lo=`expr '(' $ac_mid ')' + 1`
12229 fi
12230
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 done
12233 case $ac_lo in
12234 ?*) ac_cv_sizeof_long=$ac_lo;;
12235 '') if test "$ac_cv_type_long" = yes; then
12236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12237 See \`config.log' for more details." >&5
12238 echo "$as_me: error: cannot compute sizeof (long)
12239 See \`config.log' for more details." >&2;}
12240 { (exit 77); exit 77; }; }
12241 else
12242 ac_cv_sizeof_long=0
12243 fi ;;
12244 esac
12245 else
12246 cat >conftest.$ac_ext <<_ACEOF
12247 /* confdefs.h. */
12248 _ACEOF
12249 cat confdefs.h >>conftest.$ac_ext
12250 cat >>conftest.$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252 $ac_includes_default
12253 typedef long ac__type_sizeof_;
12254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12256 @%:@include <stdio.h>
12257 @%:@include <stdlib.h>
12258 int
12259 main ()
12260 {
12261
12262 FILE *f = fopen ("conftest.val", "w");
12263 if (! f)
12264 return 1;
12265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12266 {
12267 long int i = longval ();
12268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12269 return 1;
12270 fprintf (f, "%ld\n", i);
12271 }
12272 else
12273 {
12274 unsigned long int i = ulongval ();
12275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12276 return 1;
12277 fprintf (f, "%lu\n", i);
12278 }
12279 return ferror (f) || fclose (f) != 0;
12280
12281 ;
12282 return 0;
12283 }
12284 _ACEOF
12285 rm -f conftest$ac_exeext
12286 if { (ac_try="$ac_link"
12287 case "(($ac_try" in
12288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12289 *) ac_try_echo=$ac_try;;
12290 esac
12291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12292 (eval "$ac_link") 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12296 { (case "(($ac_try" in
12297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12299 esac
12300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_try") 2>&5
12302 ac_status=$?
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 ac_cv_sizeof_long=`cat conftest.val`
12306 else
12307 echo "$as_me: program exited with status $ac_status" >&5
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12310
12311 ( exit $ac_status )
12312 if test "$ac_cv_type_long" = yes; then
12313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12314 See \`config.log' for more details." >&5
12315 echo "$as_me: error: cannot compute sizeof (long)
12316 See \`config.log' for more details." >&2;}
12317 { (exit 77); exit 77; }; }
752512318 else
752612319 ac_cv_sizeof_long=0
752712320 fi
752812321 fi
7529
7530 fi
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
7532 $as_echo "$ac_cv_sizeof_long" >&6; }
12322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12323 fi
12324 rm -f conftest.val
12325 fi
12326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12327 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
753312328
753412329
753512330
753712332 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
753812333 _ACEOF
753912334
12335
12336 { echo "$as_me:$LINENO: checking for long long" >&5
12337 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
12338 if test "${ac_cv_type_long_long+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 else
12341 cat >conftest.$ac_ext <<_ACEOF
12342 /* confdefs.h. */
12343 _ACEOF
12344 cat confdefs.h >>conftest.$ac_ext
12345 cat >>conftest.$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 $ac_includes_default
12348 typedef long long ac__type_new_;
12349 int
12350 main ()
12351 {
12352 if ((ac__type_new_ *) 0)
12353 return 0;
12354 if (sizeof (ac__type_new_))
12355 return 0;
12356 ;
12357 return 0;
12358 }
12359 _ACEOF
12360 rm -f conftest.$ac_objext
12361 if { (ac_try="$ac_compile"
12362 case "(($ac_try" in
12363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12365 esac
12366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12367 (eval "$ac_compile") 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } && {
12374 test -z "$ac_c_werror_flag" ||
12375 test ! -s conftest.err
12376 } && test -s conftest.$ac_objext; then
12377 ac_cv_type_long_long=yes
12378 else
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12381
12382 ac_cv_type_long_long=no
12383 fi
12384
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12388 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
754012389
754112390 # The cast to long int works around a bug in the HP C Compiler
754212391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
754312392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
754412393 # This bug is HP SR number 8606223364.
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
7546 $as_echo_n "checking size of long long... " >&6; }
7547 if ${ac_cv_sizeof_long_long+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
7551
7552 else
7553 if test "$ac_cv_type_long_long" = yes; then
7554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7556 as_fn_error 77 "cannot compute sizeof (long long)
7557 See \`config.log' for more details" "$LINENO" 5; }
12394 { echo "$as_me:$LINENO: checking size of long long" >&5
12395 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
12396 if test "${ac_cv_sizeof_long_long+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 if test "$cross_compiling" = yes; then
12400 # Depending upon the size, compute the lo and hi bounds.
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12408 typedef long long ac__type_sizeof_;
12409 int
12410 main ()
12411 {
12412 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12413 test_array @<:@0@:>@ = 0
12414
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 rm -f conftest.$ac_objext
12420 if { (ac_try="$ac_compile"
12421 case "(($ac_try" in
12422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423 *) ac_try_echo=$ac_try;;
12424 esac
12425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426 (eval "$ac_compile") 2>conftest.er1
12427 ac_status=$?
12428 grep -v '^ *+' conftest.er1 >conftest.err
12429 rm -f conftest.er1
12430 cat conftest.err >&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); } && {
12433 test -z "$ac_c_werror_flag" ||
12434 test ! -s conftest.err
12435 } && test -s conftest.$ac_objext; then
12436 ac_lo=0 ac_mid=0
12437 while :; do
12438 cat >conftest.$ac_ext <<_ACEOF
12439 /* confdefs.h. */
12440 _ACEOF
12441 cat confdefs.h >>conftest.$ac_ext
12442 cat >>conftest.$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 $ac_includes_default
12445 typedef long long ac__type_sizeof_;
12446 int
12447 main ()
12448 {
12449 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12450 test_array @<:@0@:>@ = 0
12451
12452 ;
12453 return 0;
12454 }
12455 _ACEOF
12456 rm -f conftest.$ac_objext
12457 if { (ac_try="$ac_compile"
12458 case "(($ac_try" in
12459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460 *) ac_try_echo=$ac_try;;
12461 esac
12462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12463 (eval "$ac_compile") 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && {
12470 test -z "$ac_c_werror_flag" ||
12471 test ! -s conftest.err
12472 } && test -s conftest.$ac_objext; then
12473 ac_hi=$ac_mid; break
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12477
12478 ac_lo=`expr $ac_mid + 1`
12479 if test $ac_lo -le $ac_mid; then
12480 ac_lo= ac_hi=
12481 break
12482 fi
12483 ac_mid=`expr 2 '*' $ac_mid + 1`
12484 fi
12485
12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12487 done
12488 else
12489 echo "$as_me: failed program was:" >&5
12490 sed 's/^/| /' conftest.$ac_ext >&5
12491
12492 cat >conftest.$ac_ext <<_ACEOF
12493 /* confdefs.h. */
12494 _ACEOF
12495 cat confdefs.h >>conftest.$ac_ext
12496 cat >>conftest.$ac_ext <<_ACEOF
12497 /* end confdefs.h. */
12498 $ac_includes_default
12499 typedef long long ac__type_sizeof_;
12500 int
12501 main ()
12502 {
12503 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12504 test_array @<:@0@:>@ = 0
12505
12506 ;
12507 return 0;
12508 }
12509 _ACEOF
12510 rm -f conftest.$ac_objext
12511 if { (ac_try="$ac_compile"
12512 case "(($ac_try" in
12513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12515 esac
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_compile") 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_c_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest.$ac_objext; then
12527 ac_hi=-1 ac_mid=-1
12528 while :; do
12529 cat >conftest.$ac_ext <<_ACEOF
12530 /* confdefs.h. */
12531 _ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 $ac_includes_default
12536 typedef long long ac__type_sizeof_;
12537 int
12538 main ()
12539 {
12540 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12541 test_array @<:@0@:>@ = 0
12542
12543 ;
12544 return 0;
12545 }
12546 _ACEOF
12547 rm -f conftest.$ac_objext
12548 if { (ac_try="$ac_compile"
12549 case "(($ac_try" in
12550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12551 *) ac_try_echo=$ac_try;;
12552 esac
12553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554 (eval "$ac_compile") 2>conftest.er1
12555 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } && {
12561 test -z "$ac_c_werror_flag" ||
12562 test ! -s conftest.err
12563 } && test -s conftest.$ac_objext; then
12564 ac_lo=$ac_mid; break
12565 else
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12568
12569 ac_hi=`expr '(' $ac_mid ')' - 1`
12570 if test $ac_mid -le $ac_hi; then
12571 ac_lo= ac_hi=
12572 break
12573 fi
12574 ac_mid=`expr 2 '*' $ac_mid`
12575 fi
12576
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 done
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 ac_lo= ac_hi=
12584 fi
12585
12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12587 fi
12588
12589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 # Binary search between lo and hi bounds.
12591 while test "x$ac_lo" != "x$ac_hi"; do
12592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12593 cat >conftest.$ac_ext <<_ACEOF
12594 /* confdefs.h. */
12595 _ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 $ac_includes_default
12600 typedef long long ac__type_sizeof_;
12601 int
12602 main ()
12603 {
12604 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12605 test_array @<:@0@:>@ = 0
12606
12607 ;
12608 return 0;
12609 }
12610 _ACEOF
12611 rm -f conftest.$ac_objext
12612 if { (ac_try="$ac_compile"
12613 case "(($ac_try" in
12614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12616 esac
12617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_compile") 2>conftest.er1
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } && {
12625 test -z "$ac_c_werror_flag" ||
12626 test ! -s conftest.err
12627 } && test -s conftest.$ac_objext; then
12628 ac_hi=$ac_mid
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ac_lo=`expr '(' $ac_mid ')' + 1`
12634 fi
12635
12636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 done
12638 case $ac_lo in
12639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12640 '') if test "$ac_cv_type_long_long" = yes; then
12641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12642 See \`config.log' for more details." >&5
12643 echo "$as_me: error: cannot compute sizeof (long long)
12644 See \`config.log' for more details." >&2;}
12645 { (exit 77); exit 77; }; }
12646 else
12647 ac_cv_sizeof_long_long=0
12648 fi ;;
12649 esac
12650 else
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 typedef long long ac__type_sizeof_;
12659 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12660 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12661 @%:@include <stdio.h>
12662 @%:@include <stdlib.h>
12663 int
12664 main ()
12665 {
12666
12667 FILE *f = fopen ("conftest.val", "w");
12668 if (! f)
12669 return 1;
12670 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12671 {
12672 long int i = longval ();
12673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12674 return 1;
12675 fprintf (f, "%ld\n", i);
12676 }
12677 else
12678 {
12679 unsigned long int i = ulongval ();
12680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12681 return 1;
12682 fprintf (f, "%lu\n", i);
12683 }
12684 return ferror (f) || fclose (f) != 0;
12685
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 rm -f conftest$ac_exeext
12691 if { (ac_try="$ac_link"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695 esac
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_link") 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12701 { (case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12704 esac
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_try") 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_sizeof_long_long=`cat conftest.val`
12711 else
12712 echo "$as_me: program exited with status $ac_status" >&5
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12715
12716 ( exit $ac_status )
12717 if test "$ac_cv_type_long_long" = yes; then
12718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12719 See \`config.log' for more details." >&5
12720 echo "$as_me: error: cannot compute sizeof (long long)
12721 See \`config.log' for more details." >&2;}
12722 { (exit 77); exit 77; }; }
755812723 else
755912724 ac_cv_sizeof_long_long=0
756012725 fi
756112726 fi
7562
7563 fi
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
7565 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12728 fi
12729 rm -f conftest.val
12730 fi
12731 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12732 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
756612733
756712734
756812735
757012737 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
757112738 _ACEOF
757212739
12740
12741 { echo "$as_me:$LINENO: checking for __int64" >&5
12742 echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
12743 if test "${ac_cv_type___int64+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 else
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 $ac_includes_default
12753 typedef __int64 ac__type_new_;
12754 int
12755 main ()
12756 {
12757 if ((ac__type_new_ *) 0)
12758 return 0;
12759 if (sizeof (ac__type_new_))
12760 return 0;
12761 ;
12762 return 0;
12763 }
12764 _ACEOF
12765 rm -f conftest.$ac_objext
12766 if { (ac_try="$ac_compile"
12767 case "(($ac_try" in
12768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12769 *) ac_try_echo=$ac_try;;
12770 esac
12771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772 (eval "$ac_compile") 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } && {
12779 test -z "$ac_c_werror_flag" ||
12780 test ! -s conftest.err
12781 } && test -s conftest.$ac_objext; then
12782 ac_cv_type___int64=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 ac_cv_type___int64=no
12788 fi
12789
12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12791 fi
12792 { echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
12793 echo "${ECHO_T}$ac_cv_type___int64" >&6; }
757312794
757412795 # The cast to long int works around a bug in the HP C Compiler
757512796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
757612797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
757712798 # This bug is HP SR number 8606223364.
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
7579 $as_echo_n "checking size of __int64... " >&6; }
7580 if ${ac_cv_sizeof___int64+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
7584
7585 else
7586 if test "$ac_cv_type___int64" = yes; then
7587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7589 as_fn_error 77 "cannot compute sizeof (__int64)
7590 See \`config.log' for more details" "$LINENO" 5; }
12799 { echo "$as_me:$LINENO: checking size of __int64" >&5
12800 echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
12801 if test "${ac_cv_sizeof___int64+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test "$cross_compiling" = yes; then
12805 # Depending upon the size, compute the lo and hi bounds.
12806 cat >conftest.$ac_ext <<_ACEOF
12807 /* confdefs.h. */
12808 _ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12812 $ac_includes_default
12813 typedef __int64 ac__type_sizeof_;
12814 int
12815 main ()
12816 {
12817 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12818 test_array @<:@0@:>@ = 0
12819
12820 ;
12821 return 0;
12822 }
12823 _ACEOF
12824 rm -f conftest.$ac_objext
12825 if { (ac_try="$ac_compile"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12829 esac
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_compile") 2>conftest.er1
12832 ac_status=$?
12833 grep -v '^ *+' conftest.er1 >conftest.err
12834 rm -f conftest.er1
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } && {
12838 test -z "$ac_c_werror_flag" ||
12839 test ! -s conftest.err
12840 } && test -s conftest.$ac_objext; then
12841 ac_lo=0 ac_mid=0
12842 while :; do
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849 $ac_includes_default
12850 typedef __int64 ac__type_sizeof_;
12851 int
12852 main ()
12853 {
12854 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12855 test_array @<:@0@:>@ = 0
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 rm -f conftest.$ac_objext
12862 if { (ac_try="$ac_compile"
12863 case "(($ac_try" in
12864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12865 *) ac_try_echo=$ac_try;;
12866 esac
12867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12868 (eval "$ac_compile") 2>conftest.er1
12869 ac_status=$?
12870 grep -v '^ *+' conftest.er1 >conftest.err
12871 rm -f conftest.er1
12872 cat conftest.err >&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); } && {
12875 test -z "$ac_c_werror_flag" ||
12876 test ! -s conftest.err
12877 } && test -s conftest.$ac_objext; then
12878 ac_hi=$ac_mid; break
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 ac_lo=`expr $ac_mid + 1`
12884 if test $ac_lo -le $ac_mid; then
12885 ac_lo= ac_hi=
12886 break
12887 fi
12888 ac_mid=`expr 2 '*' $ac_mid + 1`
12889 fi
12890
12891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12892 done
12893 else
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.$ac_ext >&5
12896
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12904 typedef __int64 ac__type_sizeof_;
12905 int
12906 main ()
12907 {
12908 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12909 test_array @<:@0@:>@ = 0
12910
12911 ;
12912 return 0;
12913 }
12914 _ACEOF
12915 rm -f conftest.$ac_objext
12916 if { (ac_try="$ac_compile"
12917 case "(($ac_try" in
12918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12919 *) ac_try_echo=$ac_try;;
12920 esac
12921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922 (eval "$ac_compile") 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && {
12929 test -z "$ac_c_werror_flag" ||
12930 test ! -s conftest.err
12931 } && test -s conftest.$ac_objext; then
12932 ac_hi=-1 ac_mid=-1
12933 while :; do
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 $ac_includes_default
12941 typedef __int64 ac__type_sizeof_;
12942 int
12943 main ()
12944 {
12945 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12946 test_array @<:@0@:>@ = 0
12947
12948 ;
12949 return 0;
12950 }
12951 _ACEOF
12952 rm -f conftest.$ac_objext
12953 if { (ac_try="$ac_compile"
12954 case "(($ac_try" in
12955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12956 *) ac_try_echo=$ac_try;;
12957 esac
12958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12959 (eval "$ac_compile") 2>conftest.er1
12960 ac_status=$?
12961 grep -v '^ *+' conftest.er1 >conftest.err
12962 rm -f conftest.er1
12963 cat conftest.err >&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } && {
12966 test -z "$ac_c_werror_flag" ||
12967 test ! -s conftest.err
12968 } && test -s conftest.$ac_objext; then
12969 ac_lo=$ac_mid; break
12970 else
12971 echo "$as_me: failed program was:" >&5
12972 sed 's/^/| /' conftest.$ac_ext >&5
12973
12974 ac_hi=`expr '(' $ac_mid ')' - 1`
12975 if test $ac_mid -le $ac_hi; then
12976 ac_lo= ac_hi=
12977 break
12978 fi
12979 ac_mid=`expr 2 '*' $ac_mid`
12980 fi
12981
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 done
12984 else
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12987
12988 ac_lo= ac_hi=
12989 fi
12990
12991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12992 fi
12993
12994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12995 # Binary search between lo and hi bounds.
12996 while test "x$ac_lo" != "x$ac_hi"; do
12997 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12998 cat >conftest.$ac_ext <<_ACEOF
12999 /* confdefs.h. */
13000 _ACEOF
13001 cat confdefs.h >>conftest.$ac_ext
13002 cat >>conftest.$ac_ext <<_ACEOF
13003 /* end confdefs.h. */
13004 $ac_includes_default
13005 typedef __int64 ac__type_sizeof_;
13006 int
13007 main ()
13008 {
13009 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13010 test_array @<:@0@:>@ = 0
13011
13012 ;
13013 return 0;
13014 }
13015 _ACEOF
13016 rm -f conftest.$ac_objext
13017 if { (ac_try="$ac_compile"
13018 case "(($ac_try" in
13019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13020 *) ac_try_echo=$ac_try;;
13021 esac
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_compile") 2>conftest.er1
13024 ac_status=$?
13025 grep -v '^ *+' conftest.er1 >conftest.err
13026 rm -f conftest.er1
13027 cat conftest.err >&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } && {
13030 test -z "$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13032 } && test -s conftest.$ac_objext; then
13033 ac_hi=$ac_mid
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13037
13038 ac_lo=`expr '(' $ac_mid ')' + 1`
13039 fi
13040
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13042 done
13043 case $ac_lo in
13044 ?*) ac_cv_sizeof___int64=$ac_lo;;
13045 '') if test "$ac_cv_type___int64" = yes; then
13046 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13047 See \`config.log' for more details." >&5
13048 echo "$as_me: error: cannot compute sizeof (__int64)
13049 See \`config.log' for more details." >&2;}
13050 { (exit 77); exit 77; }; }
13051 else
13052 ac_cv_sizeof___int64=0
13053 fi ;;
13054 esac
13055 else
13056 cat >conftest.$ac_ext <<_ACEOF
13057 /* confdefs.h. */
13058 _ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13063 typedef __int64 ac__type_sizeof_;
13064 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13065 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13066 @%:@include <stdio.h>
13067 @%:@include <stdlib.h>
13068 int
13069 main ()
13070 {
13071
13072 FILE *f = fopen ("conftest.val", "w");
13073 if (! f)
13074 return 1;
13075 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13076 {
13077 long int i = longval ();
13078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13079 return 1;
13080 fprintf (f, "%ld\n", i);
13081 }
13082 else
13083 {
13084 unsigned long int i = ulongval ();
13085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13086 return 1;
13087 fprintf (f, "%lu\n", i);
13088 }
13089 return ferror (f) || fclose (f) != 0;
13090
13091 ;
13092 return 0;
13093 }
13094 _ACEOF
13095 rm -f conftest$ac_exeext
13096 if { (ac_try="$ac_link"
13097 case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13100 esac
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_link") 2>&5
13103 ac_status=$?
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13106 { (case "(($ac_try" in
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108 *) ac_try_echo=$ac_try;;
13109 esac
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_try") 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 ac_cv_sizeof___int64=`cat conftest.val`
13116 else
13117 echo "$as_me: program exited with status $ac_status" >&5
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 ( exit $ac_status )
13122 if test "$ac_cv_type___int64" = yes; then
13123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13124 See \`config.log' for more details." >&5
13125 echo "$as_me: error: cannot compute sizeof (__int64)
13126 See \`config.log' for more details." >&2;}
13127 { (exit 77); exit 77; }; }
759113128 else
759213129 ac_cv_sizeof___int64=0
759313130 fi
759413131 fi
7595
7596 fi
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
7598 $as_echo "$ac_cv_sizeof___int64" >&6; }
13132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13133 fi
13134 rm -f conftest.val
13135 fi
13136 { echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
13137 echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
759913138
760013139
760113140
760313142 @%:@define SIZEOF___INT64 $ac_cv_sizeof___int64
760413143 _ACEOF
760513144
13145
13146 { echo "$as_me:$LINENO: checking for void *" >&5
13147 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
13148 if test "${ac_cv_type_void_p+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13158 typedef void * ac__type_new_;
13159 int
13160 main ()
13161 {
13162 if ((ac__type_new_ *) 0)
13163 return 0;
13164 if (sizeof (ac__type_new_))
13165 return 0;
13166 ;
13167 return 0;
13168 }
13169 _ACEOF
13170 rm -f conftest.$ac_objext
13171 if { (ac_try="$ac_compile"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_compile") 2>conftest.er1
13178 ac_status=$?
13179 grep -v '^ *+' conftest.er1 >conftest.err
13180 rm -f conftest.er1
13181 cat conftest.err >&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest.$ac_objext; then
13187 ac_cv_type_void_p=yes
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 ac_cv_type_void_p=no
13193 fi
13194
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13196 fi
13197 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13198 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
760613199
760713200 # The cast to long int works around a bug in the HP C Compiler
760813201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
760913202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
761013203 # This bug is HP SR number 8606223364.
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
7612 $as_echo_n "checking size of void *... " >&6; }
7613 if ${ac_cv_sizeof_void_p+:} false; then :
7614 $as_echo_n "(cached) " >&6
7615 else
7616 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
7617
7618 else
7619 if test "$ac_cv_type_void_p" = yes; then
7620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7622 as_fn_error 77 "cannot compute sizeof (void *)
7623 See \`config.log' for more details" "$LINENO" 5; }
13204 { echo "$as_me:$LINENO: checking size of void *" >&5
13205 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
13206 if test "${ac_cv_sizeof_void_p+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209 if test "$cross_compiling" = yes; then
13210 # Depending upon the size, compute the lo and hi bounds.
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217 $ac_includes_default
13218 typedef void * ac__type_sizeof_;
13219 int
13220 main ()
13221 {
13222 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
13223 test_array @<:@0@:>@ = 0
13224
13225 ;
13226 return 0;
13227 }
13228 _ACEOF
13229 rm -f conftest.$ac_objext
13230 if { (ac_try="$ac_compile"
13231 case "(($ac_try" in
13232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13233 *) ac_try_echo=$ac_try;;
13234 esac
13235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13236 (eval "$ac_compile") 2>conftest.er1
13237 ac_status=$?
13238 grep -v '^ *+' conftest.er1 >conftest.err
13239 rm -f conftest.er1
13240 cat conftest.err >&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } && {
13243 test -z "$ac_c_werror_flag" ||
13244 test ! -s conftest.err
13245 } && test -s conftest.$ac_objext; then
13246 ac_lo=0 ac_mid=0
13247 while :; do
13248 cat >conftest.$ac_ext <<_ACEOF
13249 /* confdefs.h. */
13250 _ACEOF
13251 cat confdefs.h >>conftest.$ac_ext
13252 cat >>conftest.$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13254 $ac_includes_default
13255 typedef void * ac__type_sizeof_;
13256 int
13257 main ()
13258 {
13259 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13260 test_array @<:@0@:>@ = 0
13261
13262 ;
13263 return 0;
13264 }
13265 _ACEOF
13266 rm -f conftest.$ac_objext
13267 if { (ac_try="$ac_compile"
13268 case "(($ac_try" in
13269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13270 *) ac_try_echo=$ac_try;;
13271 esac
13272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13273 (eval "$ac_compile") 2>conftest.er1
13274 ac_status=$?
13275 grep -v '^ *+' conftest.er1 >conftest.err
13276 rm -f conftest.er1
13277 cat conftest.err >&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } && {
13280 test -z "$ac_c_werror_flag" ||
13281 test ! -s conftest.err
13282 } && test -s conftest.$ac_objext; then
13283 ac_hi=$ac_mid; break
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13287
13288 ac_lo=`expr $ac_mid + 1`
13289 if test $ac_lo -le $ac_mid; then
13290 ac_lo= ac_hi=
13291 break
13292 fi
13293 ac_mid=`expr 2 '*' $ac_mid + 1`
13294 fi
13295
13296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13297 done
13298 else
13299 echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.$ac_ext >&5
13301
13302 cat >conftest.$ac_ext <<_ACEOF
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 $ac_includes_default
13309 typedef void * ac__type_sizeof_;
13310 int
13311 main ()
13312 {
13313 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
13314 test_array @<:@0@:>@ = 0
13315
13316 ;
13317 return 0;
13318 }
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (ac_try="$ac_compile"
13322 case "(($ac_try" in
13323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13324 *) ac_try_echo=$ac_try;;
13325 esac
13326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13327 (eval "$ac_compile") 2>conftest.er1
13328 ac_status=$?
13329 grep -v '^ *+' conftest.er1 >conftest.err
13330 rm -f conftest.er1
13331 cat conftest.err >&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } && {
13334 test -z "$ac_c_werror_flag" ||
13335 test ! -s conftest.err
13336 } && test -s conftest.$ac_objext; then
13337 ac_hi=-1 ac_mid=-1
13338 while :; do
13339 cat >conftest.$ac_ext <<_ACEOF
13340 /* confdefs.h. */
13341 _ACEOF
13342 cat confdefs.h >>conftest.$ac_ext
13343 cat >>conftest.$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 $ac_includes_default
13346 typedef void * ac__type_sizeof_;
13347 int
13348 main ()
13349 {
13350 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
13351 test_array @<:@0@:>@ = 0
13352
13353 ;
13354 return 0;
13355 }
13356 _ACEOF
13357 rm -f conftest.$ac_objext
13358 if { (ac_try="$ac_compile"
13359 case "(($ac_try" in
13360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13361 *) ac_try_echo=$ac_try;;
13362 esac
13363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13364 (eval "$ac_compile") 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } && {
13371 test -z "$ac_c_werror_flag" ||
13372 test ! -s conftest.err
13373 } && test -s conftest.$ac_objext; then
13374 ac_lo=$ac_mid; break
13375 else
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13378
13379 ac_hi=`expr '(' $ac_mid ')' - 1`
13380 if test $ac_mid -le $ac_hi; then
13381 ac_lo= ac_hi=
13382 break
13383 fi
13384 ac_mid=`expr 2 '*' $ac_mid`
13385 fi
13386
13387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 done
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 ac_lo= ac_hi=
13394 fi
13395
13396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 fi
13398
13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400 # Binary search between lo and hi bounds.
13401 while test "x$ac_lo" != "x$ac_hi"; do
13402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 $ac_includes_default
13410 typedef void * ac__type_sizeof_;
13411 int
13412 main ()
13413 {
13414 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13415 test_array @<:@0@:>@ = 0
13416
13417 ;
13418 return 0;
13419 }
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (ac_try="$ac_compile"
13423 case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13426 esac
13427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_compile") 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } && {
13435 test -z "$ac_c_werror_flag" ||
13436 test ! -s conftest.err
13437 } && test -s conftest.$ac_objext; then
13438 ac_hi=$ac_mid
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 ac_lo=`expr '(' $ac_mid ')' + 1`
13444 fi
13445
13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 done
13448 case $ac_lo in
13449 ?*) ac_cv_sizeof_void_p=$ac_lo;;
13450 '') if test "$ac_cv_type_void_p" = yes; then
13451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13452 See \`config.log' for more details." >&5
13453 echo "$as_me: error: cannot compute sizeof (void *)
13454 See \`config.log' for more details." >&2;}
13455 { (exit 77); exit 77; }; }
13456 else
13457 ac_cv_sizeof_void_p=0
13458 fi ;;
13459 esac
13460 else
13461 cat >conftest.$ac_ext <<_ACEOF
13462 /* confdefs.h. */
13463 _ACEOF
13464 cat confdefs.h >>conftest.$ac_ext
13465 cat >>conftest.$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13467 $ac_includes_default
13468 typedef void * ac__type_sizeof_;
13469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13471 @%:@include <stdio.h>
13472 @%:@include <stdlib.h>
13473 int
13474 main ()
13475 {
13476
13477 FILE *f = fopen ("conftest.val", "w");
13478 if (! f)
13479 return 1;
13480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13481 {
13482 long int i = longval ();
13483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13484 return 1;
13485 fprintf (f, "%ld\n", i);
13486 }
13487 else
13488 {
13489 unsigned long int i = ulongval ();
13490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13491 return 1;
13492 fprintf (f, "%lu\n", i);
13493 }
13494 return ferror (f) || fclose (f) != 0;
13495
13496 ;
13497 return 0;
13498 }
13499 _ACEOF
13500 rm -f conftest$ac_exeext
13501 if { (ac_try="$ac_link"
13502 case "(($ac_try" in
13503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13504 *) ac_try_echo=$ac_try;;
13505 esac
13506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507 (eval "$ac_link") 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13514 esac
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 ac_cv_sizeof_void_p=`cat conftest.val`
13521 else
13522 echo "$as_me: program exited with status $ac_status" >&5
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 ( exit $ac_status )
13527 if test "$ac_cv_type_void_p" = yes; then
13528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13529 See \`config.log' for more details." >&5
13530 echo "$as_me: error: cannot compute sizeof (void *)
13531 See \`config.log' for more details." >&2;}
13532 { (exit 77); exit 77; }; }
762413533 else
762513534 ac_cv_sizeof_void_p=0
762613535 fi
762713536 fi
7628
7629 fi
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
7631 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13538 fi
13539 rm -f conftest.val
13540 fi
13541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13542 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
763213543
763313544
763413545
763613547 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
763713548 _ACEOF
763813549
13550
13551 { echo "$as_me:$LINENO: checking for size_t" >&5
13552 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
13553 if test "${ac_cv_type_size_t+set}" = set; then
13554 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 else
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 $ac_includes_default
13563 typedef size_t ac__type_new_;
13564 int
13565 main ()
13566 {
13567 if ((ac__type_new_ *) 0)
13568 return 0;
13569 if (sizeof (ac__type_new_))
13570 return 0;
13571 ;
13572 return 0;
13573 }
13574 _ACEOF
13575 rm -f conftest.$ac_objext
13576 if { (ac_try="$ac_compile"
13577 case "(($ac_try" in
13578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13580 esac
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_compile") 2>conftest.er1
13583 ac_status=$?
13584 grep -v '^ *+' conftest.er1 >conftest.err
13585 rm -f conftest.er1
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest.$ac_objext; then
13592 ac_cv_type_size_t=yes
13593 else
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13596
13597 ac_cv_type_size_t=no
13598 fi
13599
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13601 fi
13602 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13603 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
763913604
764013605 # The cast to long int works around a bug in the HP C Compiler
764113606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
764213607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
764313608 # This bug is HP SR number 8606223364.
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
7645 $as_echo_n "checking size of size_t... " >&6; }
7646 if ${ac_cv_sizeof_size_t+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
7650
7651 else
7652 if test "$ac_cv_type_size_t" = yes; then
7653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7655 as_fn_error 77 "cannot compute sizeof (size_t)
7656 See \`config.log' for more details" "$LINENO" 5; }
13609 { echo "$as_me:$LINENO: checking size of size_t" >&5
13610 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
13611 if test "${ac_cv_sizeof_size_t+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 else
13614 if test "$cross_compiling" = yes; then
13615 # Depending upon the size, compute the lo and hi bounds.
13616 cat >conftest.$ac_ext <<_ACEOF
13617 /* confdefs.h. */
13618 _ACEOF
13619 cat confdefs.h >>conftest.$ac_ext
13620 cat >>conftest.$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13622 $ac_includes_default
13623 typedef size_t ac__type_sizeof_;
13624 int
13625 main ()
13626 {
13627 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
13628 test_array @<:@0@:>@ = 0
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_lo=0 ac_mid=0
13652 while :; do
13653 cat >conftest.$ac_ext <<_ACEOF
13654 /* confdefs.h. */
13655 _ACEOF
13656 cat confdefs.h >>conftest.$ac_ext
13657 cat >>conftest.$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13660 typedef size_t ac__type_sizeof_;
13661 int
13662 main ()
13663 {
13664 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13665 test_array @<:@0@:>@ = 0
13666
13667 ;
13668 return 0;
13669 }
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (ac_try="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13676 esac
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.$ac_objext; then
13688 ac_hi=$ac_mid; break
13689 else
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13692
13693 ac_lo=`expr $ac_mid + 1`
13694 if test $ac_lo -le $ac_mid; then
13695 ac_lo= ac_hi=
13696 break
13697 fi
13698 ac_mid=`expr 2 '*' $ac_mid + 1`
13699 fi
13700
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 done
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13706
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 $ac_includes_default
13714 typedef size_t ac__type_sizeof_;
13715 int
13716 main ()
13717 {
13718 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
13719 test_array @<:@0@:>@ = 0
13720
13721 ;
13722 return 0;
13723 }
13724 _ACEOF
13725 rm -f conftest.$ac_objext
13726 if { (ac_try="$ac_compile"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13730 esac
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && {
13739 test -z "$ac_c_werror_flag" ||
13740 test ! -s conftest.err
13741 } && test -s conftest.$ac_objext; then
13742 ac_hi=-1 ac_mid=-1
13743 while :; do
13744 cat >conftest.$ac_ext <<_ACEOF
13745 /* confdefs.h. */
13746 _ACEOF
13747 cat confdefs.h >>conftest.$ac_ext
13748 cat >>conftest.$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 $ac_includes_default
13751 typedef size_t ac__type_sizeof_;
13752 int
13753 main ()
13754 {
13755 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
13756 test_array @<:@0@:>@ = 0
13757
13758 ;
13759 return 0;
13760 }
13761 _ACEOF
13762 rm -f conftest.$ac_objext
13763 if { (ac_try="$ac_compile"
13764 case "(($ac_try" in
13765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13766 *) ac_try_echo=$ac_try;;
13767 esac
13768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13769 (eval "$ac_compile") 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } && {
13776 test -z "$ac_c_werror_flag" ||
13777 test ! -s conftest.err
13778 } && test -s conftest.$ac_objext; then
13779 ac_lo=$ac_mid; break
13780 else
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13783
13784 ac_hi=`expr '(' $ac_mid ')' - 1`
13785 if test $ac_mid -le $ac_hi; then
13786 ac_lo= ac_hi=
13787 break
13788 fi
13789 ac_mid=`expr 2 '*' $ac_mid`
13790 fi
13791
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13793 done
13794 else
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 ac_lo= ac_hi=
13799 fi
13800
13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13802 fi
13803
13804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13805 # Binary search between lo and hi bounds.
13806 while test "x$ac_lo" != "x$ac_hi"; do
13807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13808 cat >conftest.$ac_ext <<_ACEOF
13809 /* confdefs.h. */
13810 _ACEOF
13811 cat confdefs.h >>conftest.$ac_ext
13812 cat >>conftest.$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13814 $ac_includes_default
13815 typedef size_t ac__type_sizeof_;
13816 int
13817 main ()
13818 {
13819 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13820 test_array @<:@0@:>@ = 0
13821
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 rm -f conftest.$ac_objext
13827 if { (ac_try="$ac_compile"
13828 case "(($ac_try" in
13829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13831 esac
13832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13833 (eval "$ac_compile") 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } && {
13840 test -z "$ac_c_werror_flag" ||
13841 test ! -s conftest.err
13842 } && test -s conftest.$ac_objext; then
13843 ac_hi=$ac_mid
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 ac_lo=`expr '(' $ac_mid ')' + 1`
13849 fi
13850
13851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13852 done
13853 case $ac_lo in
13854 ?*) ac_cv_sizeof_size_t=$ac_lo;;
13855 '') if test "$ac_cv_type_size_t" = yes; then
13856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot compute sizeof (size_t)
13859 See \`config.log' for more details." >&2;}
13860 { (exit 77); exit 77; }; }
13861 else
13862 ac_cv_sizeof_size_t=0
13863 fi ;;
13864 esac
13865 else
13866 cat >conftest.$ac_ext <<_ACEOF
13867 /* confdefs.h. */
13868 _ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 $ac_includes_default
13873 typedef size_t ac__type_sizeof_;
13874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13876 @%:@include <stdio.h>
13877 @%:@include <stdlib.h>
13878 int
13879 main ()
13880 {
13881
13882 FILE *f = fopen ("conftest.val", "w");
13883 if (! f)
13884 return 1;
13885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13886 {
13887 long int i = longval ();
13888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13889 return 1;
13890 fprintf (f, "%ld\n", i);
13891 }
13892 else
13893 {
13894 unsigned long int i = ulongval ();
13895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13896 return 1;
13897 fprintf (f, "%lu\n", i);
13898 }
13899 return ferror (f) || fclose (f) != 0;
13900
13901 ;
13902 return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_link") 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13916 { (case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_try") 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 ac_cv_sizeof_size_t=`cat conftest.val`
13926 else
13927 echo "$as_me: program exited with status $ac_status" >&5
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 ( exit $ac_status )
13932 if test "$ac_cv_type_size_t" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13934 See \`config.log' for more details." >&5
13935 echo "$as_me: error: cannot compute sizeof (size_t)
13936 See \`config.log' for more details." >&2;}
13937 { (exit 77); exit 77; }; }
765713938 else
765813939 ac_cv_sizeof_size_t=0
765913940 fi
766013941 fi
7661
7662 fi
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
7664 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13943 fi
13944 rm -f conftest.val
13945 fi
13946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
13947 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
766513948
766613949
766713950
766913952 @%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
767013953 _ACEOF
767113954
13955
13956 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
13957 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
13958 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
13959 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 else
13961 cat >conftest.$ac_ext <<_ACEOF
13962 /* confdefs.h. */
13963 _ACEOF
13964 cat confdefs.h >>conftest.$ac_ext
13965 cat >>conftest.$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 $ac_includes_default
13968 typedef ptrdiff_t ac__type_new_;
13969 int
13970 main ()
13971 {
13972 if ((ac__type_new_ *) 0)
13973 return 0;
13974 if (sizeof (ac__type_new_))
13975 return 0;
13976 ;
13977 return 0;
13978 }
13979 _ACEOF
13980 rm -f conftest.$ac_objext
13981 if { (ac_try="$ac_compile"
13982 case "(($ac_try" in
13983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13985 esac
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_compile") 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } && {
13994 test -z "$ac_c_werror_flag" ||
13995 test ! -s conftest.err
13996 } && test -s conftest.$ac_objext; then
13997 ac_cv_type_ptrdiff_t=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14001
14002 ac_cv_type_ptrdiff_t=no
14003 fi
14004
14005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14006 fi
14007 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
14008 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
767214009
767314010 # The cast to long int works around a bug in the HP C Compiler
767414011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
767514012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
767614013 # This bug is HP SR number 8606223364.
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
7678 $as_echo_n "checking size of ptrdiff_t... " >&6; }
7679 if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
7683
7684 else
7685 if test "$ac_cv_type_ptrdiff_t" = yes; then
7686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7688 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
7689 See \`config.log' for more details" "$LINENO" 5; }
14014 { echo "$as_me:$LINENO: checking size of ptrdiff_t" >&5
14015 echo $ECHO_N "checking size of ptrdiff_t... $ECHO_C" >&6; }
14016 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 if test "$cross_compiling" = yes; then
14020 # Depending upon the size, compute the lo and hi bounds.
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14028 typedef ptrdiff_t ac__type_sizeof_;
14029 int
14030 main ()
14031 {
14032 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
14033 test_array @<:@0@:>@ = 0
14034
14035 ;
14036 return 0;
14037 }
14038 _ACEOF
14039 rm -f conftest.$ac_objext
14040 if { (ac_try="$ac_compile"
14041 case "(($ac_try" in
14042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14043 *) ac_try_echo=$ac_try;;
14044 esac
14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14046 (eval "$ac_compile") 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } && {
14053 test -z "$ac_c_werror_flag" ||
14054 test ! -s conftest.err
14055 } && test -s conftest.$ac_objext; then
14056 ac_lo=0 ac_mid=0
14057 while :; do
14058 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */
14060 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 $ac_includes_default
14065 typedef ptrdiff_t ac__type_sizeof_;
14066 int
14067 main ()
14068 {
14069 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
14070 test_array @<:@0@:>@ = 0
14071
14072 ;
14073 return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest.$ac_objext
14077 if { (ac_try="$ac_compile"
14078 case "(($ac_try" in
14079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 *) ac_try_echo=$ac_try;;
14081 esac
14082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_compile") 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && {
14090 test -z "$ac_c_werror_flag" ||
14091 test ! -s conftest.err
14092 } && test -s conftest.$ac_objext; then
14093 ac_hi=$ac_mid; break
14094 else
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 ac_lo=`expr $ac_mid + 1`
14099 if test $ac_lo -le $ac_mid; then
14100 ac_lo= ac_hi=
14101 break
14102 fi
14103 ac_mid=`expr 2 '*' $ac_mid + 1`
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 done
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14111
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 $ac_includes_default
14119 typedef ptrdiff_t ac__type_sizeof_;
14120 int
14121 main ()
14122 {
14123 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
14124 test_array @<:@0@:>@ = 0
14125
14126 ;
14127 return 0;
14128 }
14129 _ACEOF
14130 rm -f conftest.$ac_objext
14131 if { (ac_try="$ac_compile"
14132 case "(($ac_try" in
14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14134 *) ac_try_echo=$ac_try;;
14135 esac
14136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14137 (eval "$ac_compile") 2>conftest.er1
14138 ac_status=$?
14139 grep -v '^ *+' conftest.er1 >conftest.err
14140 rm -f conftest.er1
14141 cat conftest.err >&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } && {
14144 test -z "$ac_c_werror_flag" ||
14145 test ! -s conftest.err
14146 } && test -s conftest.$ac_objext; then
14147 ac_hi=-1 ac_mid=-1
14148 while :; do
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14156 typedef ptrdiff_t ac__type_sizeof_;
14157 int
14158 main ()
14159 {
14160 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
14161 test_array @<:@0@:>@ = 0
14162
14163 ;
14164 return 0;
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (ac_try="$ac_compile"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14172 esac
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_compile") 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } && {
14181 test -z "$ac_c_werror_flag" ||
14182 test ! -s conftest.err
14183 } && test -s conftest.$ac_objext; then
14184 ac_lo=$ac_mid; break
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_hi=`expr '(' $ac_mid ')' - 1`
14190 if test $ac_mid -le $ac_hi; then
14191 ac_lo= ac_hi=
14192 break
14193 fi
14194 ac_mid=`expr 2 '*' $ac_mid`
14195 fi
14196
14197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14198 done
14199 else
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14202
14203 ac_lo= ac_hi=
14204 fi
14205
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 fi
14208
14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 # Binary search between lo and hi bounds.
14211 while test "x$ac_lo" != "x$ac_hi"; do
14212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14213 cat >conftest.$ac_ext <<_ACEOF
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 typedef ptrdiff_t ac__type_sizeof_;
14221 int
14222 main ()
14223 {
14224 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
14225 test_array @<:@0@:>@ = 0
14226
14227 ;
14228 return 0;
14229 }
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (ac_try="$ac_compile"
14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14236 esac
14237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14238 (eval "$ac_compile") 2>conftest.er1
14239 ac_status=$?
14240 grep -v '^ *+' conftest.er1 >conftest.err
14241 rm -f conftest.er1
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest.$ac_objext; then
14248 ac_hi=$ac_mid
14249 else
14250 echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.$ac_ext >&5
14252
14253 ac_lo=`expr '(' $ac_mid ')' + 1`
14254 fi
14255
14256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257 done
14258 case $ac_lo in
14259 ?*) ac_cv_sizeof_ptrdiff_t=$ac_lo;;
14260 '') if test "$ac_cv_type_ptrdiff_t" = yes; then
14261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14262 See \`config.log' for more details." >&5
14263 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14264 See \`config.log' for more details." >&2;}
14265 { (exit 77); exit 77; }; }
14266 else
14267 ac_cv_sizeof_ptrdiff_t=0
14268 fi ;;
14269 esac
14270 else
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_includes_default
14278 typedef ptrdiff_t ac__type_sizeof_;
14279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14281 @%:@include <stdio.h>
14282 @%:@include <stdlib.h>
14283 int
14284 main ()
14285 {
14286
14287 FILE *f = fopen ("conftest.val", "w");
14288 if (! f)
14289 return 1;
14290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14291 {
14292 long int i = longval ();
14293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14294 return 1;
14295 fprintf (f, "%ld\n", i);
14296 }
14297 else
14298 {
14299 unsigned long int i = ulongval ();
14300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14301 return 1;
14302 fprintf (f, "%lu\n", i);
14303 }
14304 return ferror (f) || fclose (f) != 0;
14305
14306 ;
14307 return 0;
14308 }
14309 _ACEOF
14310 rm -f conftest$ac_exeext
14311 if { (ac_try="$ac_link"
14312 case "(($ac_try" in
14313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14314 *) ac_try_echo=$ac_try;;
14315 esac
14316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14317 (eval "$ac_link") 2>&5
14318 ac_status=$?
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14321 { (case "(($ac_try" in
14322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323 *) ac_try_echo=$ac_try;;
14324 esac
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_try") 2>&5
14327 ac_status=$?
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; }; then
14330 ac_cv_sizeof_ptrdiff_t=`cat conftest.val`
14331 else
14332 echo "$as_me: program exited with status $ac_status" >&5
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336 ( exit $ac_status )
14337 if test "$ac_cv_type_ptrdiff_t" = yes; then
14338 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14339 See \`config.log' for more details." >&5
14340 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14341 See \`config.log' for more details." >&2;}
14342 { (exit 77); exit 77; }; }
769014343 else
769114344 ac_cv_sizeof_ptrdiff_t=0
769214345 fi
769314346 fi
7694
7695 fi
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
7697 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
14347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14348 fi
14349 rm -f conftest.val
14350 fi
14351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_ptrdiff_t" >&5
14352 echo "${ECHO_T}$ac_cv_sizeof_ptrdiff_t" >&6; }
769814353
769914354
770014355
770314358 _ACEOF
770414359
770514360
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7708 if ${ac_cv_c_const+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14362 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
14363 if test "${ac_cv_c_const+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 else
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
771214371 /* end confdefs.h. */
771314372
771414373 int
776814427 return 0;
776914428 }
777014429 _ACEOF
7771 if ac_fn_c_try_compile "$LINENO"; then :
14430 rm -f conftest.$ac_objext
14431 if { (ac_try="$ac_compile"
14432 case "(($ac_try" in
14433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14434 *) ac_try_echo=$ac_try;;
14435 esac
14436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14437 (eval "$ac_compile") 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } && {
14444 test -z "$ac_c_werror_flag" ||
14445 test ! -s conftest.err
14446 } && test -s conftest.$ac_objext; then
777214447 ac_cv_c_const=yes
777314448 else
7774 ac_cv_c_const=no
7775 fi
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14451
14452 ac_cv_c_const=no
14453 fi
14454
777614455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
777714456 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
778014459 if test $ac_cv_c_const = no; then
778114460
7782 $as_echo "@%:@define const /**/" >>confdefs.h
7783
7784 fi
14461 cat >>confdefs.h <<\_ACEOF
14462 @%:@define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
778514470
778614471 for ac_func in memcmp memcpy memmove memset
7787 do :
7788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14472 do
14473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h. */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14487 #define $ac_func innocuous_$ac_func
14488
14489 /* System header to define __stub macros and hopefully few prototypes,
14490 which can conflict with char $ac_func (); below.
14491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14492 <limits.h> exists even on freestanding compilers. */
14493
14494 #ifdef __STDC__
14495 # include <limits.h>
14496 #else
14497 # include <assert.h>
14498 #endif
14499
14500 #undef $ac_func
14501
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 #ifdef __cplusplus
14506 extern "C"
14507 #endif
14508 char $ac_func ();
14509 /* The GNU C library defines this for functions which it implements
14510 to always fail with ENOSYS. Some functions are actually named
14511 something starting with __ and the normal name is an alias. */
14512 #if defined __stub_$ac_func || defined __stub___$ac_func
14513 choke me
14514 #endif
14515
14516 int
14517 main ()
14518 {
14519 return $ac_func ();
14520 ;
14521 return 0;
14522 }
14523 _ACEOF
14524 rm -f conftest.$ac_objext conftest$ac_exeext
14525 if { (ac_try="$ac_link"
14526 case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_link") 2>conftest.er1
14532 ac_status=$?
14533 grep -v '^ *+' conftest.er1 >conftest.err
14534 rm -f conftest.er1
14535 cat conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } && {
14538 test -z "$ac_c_werror_flag" ||
14539 test ! -s conftest.err
14540 } && test -s conftest$ac_exeext &&
14541 $as_test_x conftest$ac_exeext; then
14542 eval "$as_ac_var=yes"
14543 else
14544 echo "$as_me: failed program was:" >&5
14545 sed 's/^/| /' conftest.$ac_ext >&5
14546
14547 eval "$as_ac_var=no"
14548 fi
14549
14550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14551 conftest$ac_exeext conftest.$ac_ext
14552 fi
14553 ac_res=`eval echo '${'$as_ac_var'}'`
14554 { echo "$as_me:$LINENO: result: $ac_res" >&5
14555 echo "${ECHO_T}$ac_res" >&6; }
14556 if test `eval echo '${'$as_ac_var'}'` = yes; then
779114557 cat >>confdefs.h <<_ACEOF
7792 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14558 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
779314559 _ACEOF
779414560
779514561 fi
779614562 done
779714563
779814564
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union semun" >&5
7800 $as_echo_n "checking for union semun... " >&6; }
7801 if ${ac_cv_struct_semun+:} false; then :
7802 $as_echo_n "(cached) " >&6
14565 { echo "$as_me:$LINENO: checking for union semun" >&5
14566 echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
14567 if test "${ac_cv_struct_semun+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
780314569 else
780414570
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
780614576 /* end confdefs.h. */
780714577
780814578 #include <sys/types.h>
781914589 return 0;
782014590 }
782114591 _ACEOF
7822 if ac_fn_c_try_compile "$LINENO"; then :
14592 rm -f conftest.$ac_objext
14593 if { (ac_try="$ac_compile"
14594 case "(($ac_try" in
14595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14596 *) ac_try_echo=$ac_try;;
14597 esac
14598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14599 (eval "$ac_compile") 2>conftest.er1
14600 ac_status=$?
14601 grep -v '^ *+' conftest.er1 >conftest.err
14602 rm -f conftest.er1
14603 cat conftest.err >&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } && {
14606 test -z "$ac_c_werror_flag" ||
14607 test ! -s conftest.err
14608 } && test -s conftest.$ac_objext; then
782314609 ac_cv_struct_semun=yes
782414610 else
7825 ac_cv_struct_semun=no
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_struct_semun=no
782614615
782714616 fi
14617
782814618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
782914619
783014620
783114621 fi
783214622
783314623
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
783614626 if test "$ac_cv_struct_semun" = "yes"; then
783714627
7838 $as_echo "@%:@define HAVE_SEMUN 1" >>confdefs.h
7839
7840 fi
7841
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the %z format string in printf()" >&5
7843 $as_echo_n "checking for the %z format string in printf()... " >&6; }
7844 if test "$cross_compiling" = yes; then :
14628 cat >>confdefs.h <<\_ACEOF
14629 @%:@define HAVE_SEMUN 1
14630 _ACEOF
14631
14632 fi
14633
14634 { echo "$as_me:$LINENO: checking for the %z format string in printf()" >&5
14635 echo $ECHO_N "checking for the %z format string in printf()... $ECHO_C" >&6; }
14636 if test "$cross_compiling" = yes; then
784514637
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7848
7849
7850 else
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 { echo "$as_me:$LINENO: result: no" >&5
14639 echo "${ECHO_T}no" >&6; }
14640
14641
14642 else
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
785214648 /* end confdefs.h. */
785314649
785414650 #include <stdio.h>
786614662 }
786714663
786814664 _ACEOF
7869 if ac_fn_c_try_run "$LINENO"; then :
14665 rm -f conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14669 *) ac_try_echo=$ac_try;;
14670 esac
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14676 { (case "(($ac_try" in
14677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14678 *) ac_try_echo=$ac_try;;
14679 esac
14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14681 (eval "$ac_try") 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
787014685
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7872 $as_echo "yes" >&6; }
14686 { echo "$as_me:$LINENO: result: yes" >&5
14687 echo "${ECHO_T}yes" >&6; }
787314688
7874 $as_echo "@%:@define HAVE_SIZE_T_Z_FORMAT 1" >>confdefs.h
7875
7876
7877 else
7878
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881
7882 fi
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7885 fi
14689 cat >>confdefs.h <<\_ACEOF
14690 @%:@define HAVE_SIZE_T_Z_FORMAT 1
14691 _ACEOF
14692
14693
14694 else
14695 echo "$as_me: program exited with status $ac_status" >&5
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699 ( exit $ac_status )
14700
14701 { echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6; }
14703
14704 fi
14705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14706 fi
14707
788614708
788714709
788814710 #AC_CONFIG_FILES([Makefile])
791514737 case $ac_val in #(
791614738 *${as_nl}*)
791714739 case $ac_var in #(
7918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14740 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14741 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
792014742 esac
792114743 case $ac_var in #(
792214744 _ | IFS | as_nl) ;; #(
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
14745 *) $as_unset $ac_var ;;
792514746 esac ;;
792614747 esac
792714748 done
792914750 (set) 2>&1 |
793014751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
793114752 *${as_nl}ac_space=\ *)
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
793414755 sed -n \
793514756 "s/'/'\\\\''/g;
793614757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
795214773 :end' >>confcache
795314774 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
795414775 if test -w "$cache_file"; then
7955 if test "x$cache_file" != "x/dev/null"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7957 $as_echo "$as_me: updating cache $cache_file" >&6;}
7958 if test ! -f "$cache_file" || test -h "$cache_file"; then
7959 cat confcache >"$cache_file"
7960 else
7961 case $cache_file in #(
7962 */* | ?:*)
7963 mv -f confcache "$cache_file"$$ &&
7964 mv -f "$cache_file"$$ "$cache_file" ;; #(
7965 *)
7966 mv -f confcache "$cache_file" ;;
7967 esac
7968 fi
7969 fi
14776 test "x$cache_file" != "x/dev/null" &&
14777 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14778 echo "$as_me: updating cache $cache_file" >&6;}
14779 cat confcache >$cache_file
797014780 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7972 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
797314783 fi
797414784 fi
797514785 rm -f confcache
798214792
798314793 ac_libobjs=
798414794 ac_ltlibobjs=
7985 U=
798614795 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
798714796 # 1. Remove the extension, and $U if already installed.
798814797 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
799014799 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
799114800 # will be set to the directory where LIBOBJS objects are built.
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
799414803 done
799514804 LIB@&t@OBJS=$ac_libobjs
799614805
799714806 LTLIBOBJS=$ac_ltlibobjs
799814807
799914808
8000 if test -n "$EXEEXT"; then
8001 am__EXEEXT_TRUE=
8002 am__EXEEXT_FALSE='#'
8003 else
8004 am__EXEEXT_TRUE='#'
8005 am__EXEEXT_FALSE=
8006 fi
8007
800814809 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14811 Usually this means the macro was only invoked conditionally." >&5
14812 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14813 Usually this means the macro was only invoked conditionally." >&2;}
14814 { (exit 1); exit 1; }; }
801114815 fi
801214816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14817 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14818 Usually this means the macro was only invoked conditionally." >&5
14819 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14820 Usually this means the macro was only invoked conditionally." >&2;}
14821 { (exit 1); exit 1; }; }
801514822 fi
801614823 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14825 Usually this means the macro was only invoked conditionally." >&5
14826 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14827 Usually this means the macro was only invoked conditionally." >&2;}
14828 { (exit 1); exit 1; }; }
801914829 fi
802014830 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14831 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14832 Usually this means the macro was only invoked conditionally." >&5
14833 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14834 Usually this means the macro was only invoked conditionally." >&2;}
14835 { (exit 1); exit 1; }; }
802314836 fi
802414837 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14839 Usually this means the macro was only invoked conditionally." >&5
14840 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14841 Usually this means the macro was only invoked conditionally." >&2;}
14842 { (exit 1); exit 1; }; }
802714843 fi
802814844 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14845 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14846 Usually this means the macro was only invoked conditionally." >&5
14847 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14848 Usually this means the macro was only invoked conditionally." >&2;}
14849 { (exit 1); exit 1; }; }
803114850 fi
803214851 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14852 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14853 Usually this means the macro was only invoked conditionally." >&5
14854 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14855 Usually this means the macro was only invoked conditionally." >&2;}
14856 { (exit 1); exit 1; }; }
803514857 fi
803614858 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14860 Usually this means the macro was only invoked conditionally." >&5
14861 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14862 Usually this means the macro was only invoked conditionally." >&2;}
14863 { (exit 1); exit 1; }; }
803914864 fi
804014865 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14866 { { echo "$as_me:$LINENO: error: conditional \"SFLOW\" was never defined.
14867 Usually this means the macro was only invoked conditionally." >&5
14868 echo "$as_me: error: conditional \"SFLOW\" was never defined.
14869 Usually this means the macro was only invoked conditionally." >&2;}
14870 { (exit 1); exit 1; }; }
804314871 fi
804414872 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
8045 as_fn_error $? "conditional \"READPCAP\" was never defined.
8046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8047 fi
8048
8049
8050 : "${CONFIG_STATUS=./config.status}"
8051 ac_write_fail=0
14873 { { echo "$as_me:$LINENO: error: conditional \"READPCAP\" was never defined.
14874 Usually this means the macro was only invoked conditionally." >&5
14875 echo "$as_me: error: conditional \"READPCAP\" was never defined.
14876 Usually this means the macro was only invoked conditionally." >&2;}
14877 { (exit 1); exit 1; }; }
14878 fi
14879
14880 : ${CONFIG_STATUS=./config.status}
805214881 ac_clean_files_save=$ac_clean_files
805314882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8055 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8056 as_write_fail=0
8057 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
805814886 #! $SHELL
805914887 # Generated by $as_me.
806014888 # Run this file to recreate the current configuration.
806414892 debug=false
806514893 ac_cs_recheck=false
806614894 ac_cs_silent=false
8067
806814895 SHELL=\${CONFIG_SHELL-$SHELL}
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
807514902
807614903 # Be more Bourne compatible
807714904 DUALCASE=1; export DUALCASE # for MKS sh
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
807914906 emulate sh
808014907 NULLCMD=:
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
808214909 # is contrary to our usage. Disable this feature.
808314910 alias -g '${1+"$@"}'='"$@"'
808414911 setopt NO_GLOB_SUBST
808514912 else
8086 case `(set -o) 2>/dev/null` in @%:@(
8087 *posix*) :
8088 set -o posix ;; @%:@(
8089 *) :
8090 ;;
8091 esac
8092 fi
8093
8094
8095 as_nl='
8096 '
8097 export as_nl
8098 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8099 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8102 # Prefer a ksh shell builtin over an external printf program on Solaris,
8103 # but without wasting forks for bash or zsh.
8104 if test -z "$BASH_VERSION$ZSH_VERSION" \
8105 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8106 as_echo='print -r --'
8107 as_echo_n='print -rn --'
8108 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8109 as_echo='printf %s\n'
8110 as_echo_n='printf %s'
8111 else
8112 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8113 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8114 as_echo_n='/usr/ucb/echo -n'
8115 else
8116 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8117 as_echo_n_body='eval
8118 arg=$1;
8119 case $arg in @%:@(
8120 *"$as_nl"*)
8121 expr "X$arg" : "X\\(.*\\)$as_nl";
8122 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8123 esac;
8124 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8125 '
8126 export as_echo_n_body
8127 as_echo_n='sh -c $as_echo_n_body as_echo'
8128 fi
8129 export as_echo_body
8130 as_echo='sh -c $as_echo_body as_echo'
8131 fi
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
14915 esac
14916
14917 fi
14918
14919
14920
14921
14922 # PATH needs CR
14923 # Avoid depending upon Character Ranges.
14924 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14925 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14926 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14927 as_cr_digits='0123456789'
14928 as_cr_alnum=$as_cr_Letters$as_cr_digits
813214929
813314930 # The user is always right.
813414931 if test "${PATH_SEPARATOR+set}" != set; then
8135 PATH_SEPARATOR=:
8136 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8137 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8138 PATH_SEPARATOR=';'
8139 }
14932 echo "#! /bin/sh" >conf$$.sh
14933 echo "exit 0" >>conf$$.sh
14934 chmod +x conf$$.sh
14935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14936 PATH_SEPARATOR=';'
14937 else
14938 PATH_SEPARATOR=:
14939 fi
14940 rm -f conf$$.sh
14941 fi
14942
14943 # Support unset when possible.
14944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14945 as_unset=unset
14946 else
14947 as_unset=false
814014948 fi
814114949
814214950
814514953 # there to prevent editors from complaining about space-tab.
814614954 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
814714955 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
814814958 IFS=" "" $as_nl"
814914959
815014960 # Find who we are. Look in the path if we contain no directory separator.
8151 as_myself=
8152 case $0 in @%:@((
14961 case $0 in
815314962 *[\\/]* ) as_myself=$0 ;;
815414963 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
815514964 for as_dir in $PATH
815614965 do
815714966 IFS=$as_save_IFS
815814967 test -z "$as_dir" && as_dir=.
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
816114970 IFS=$as_save_IFS
816214971
816314972 ;;
816814977 as_myself=$0
816914978 fi
817014979 if test ! -f "$as_myself"; then
8171 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8172 exit 1
8173 fi
8174
8175 # Unset variables that we do not need and which cause bugs (e.g. in
8176 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8177 # suppresses any "Segmentation fault" message there. '((' could
8178 # trigger a bug in pdksh 5.2.14.
8179 for as_var in BASH_ENV ENV MAIL MAILPATH
8180 do eval test x\${$as_var+set} = xset \
8181 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14980 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14981 { (exit 1); exit 1; }
14982 fi
14983
14984 # Work around bugs in pre-3.0 UWIN ksh.
14985 for as_var in ENV MAIL MAILPATH
14986 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
818214987 done
818314988 PS1='$ '
818414989 PS2='> '
818514990 PS4='+ '
818614991
818714992 # NLS nuisances.
8188 LC_ALL=C
8189 export LC_ALL
8190 LANGUAGE=C
8191 export LANGUAGE
8192
8193 # CDPATH.
8194 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8195
8196
8197 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
8198 @%:@ ----------------------------------------
8199 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8200 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8201 @%:@ script with STATUS, using 1 if that was 0.
8202 as_fn_error ()
8203 {
8204 as_status=$1; test $as_status -eq 0 && as_status=1
8205 if test "$4"; then
8206 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8207 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14993 for as_var in \
14994 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14995 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14996 LC_TELEPHONE LC_TIME
14997 do
14998 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14999 eval $as_var=C; export $as_var
15000 else
15001 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
820815002 fi
8209 $as_echo "$as_me: error: $2" >&2
8210 as_fn_exit $as_status
8211 } @%:@ as_fn_error
8212
8213
8214 @%:@ as_fn_set_status STATUS
8215 @%:@ -----------------------
8216 @%:@ Set @S|@? to STATUS, without forking.
8217 as_fn_set_status ()
8218 {
8219 return $1
8220 } @%:@ as_fn_set_status
8221
8222 @%:@ as_fn_exit STATUS
8223 @%:@ -----------------
8224 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8225 as_fn_exit ()
8226 {
8227 set +e
8228 as_fn_set_status $1
8229 exit $1
8230 } @%:@ as_fn_exit
8231
8232 @%:@ as_fn_unset VAR
8233 @%:@ ---------------
8234 @%:@ Portably unset VAR.
8235 as_fn_unset ()
8236 {
8237 { eval $1=; unset $1;}
8238 }
8239 as_unset=as_fn_unset
8240 @%:@ as_fn_append VAR VALUE
8241 @%:@ ----------------------
8242 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
8243 @%:@ advantage of any shell optimizations that allow amortized linear growth over
8244 @%:@ repeated appends, instead of the typical quadratic growth present in naive
8245 @%:@ implementations.
8246 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8247 eval 'as_fn_append ()
8248 {
8249 eval $1+=\$2
8250 }'
8251 else
8252 as_fn_append ()
8253 {
8254 eval $1=\$$1\$2
8255 }
8256 fi # as_fn_append
8257
8258 @%:@ as_fn_arith ARG...
8259 @%:@ ------------------
8260 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
8261 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
8262 @%:@ must be portable across @S|@(()) and expr.
8263 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8264 eval 'as_fn_arith ()
8265 {
8266 as_val=$(( $* ))
8267 }'
8268 else
8269 as_fn_arith ()
8270 {
8271 as_val=`expr "$@" || test $? -eq 1`
8272 }
8273 fi # as_fn_arith
8274
8275
15003 done
15004
15005 # Required to use basename.
827615006 if expr a : '\(a\)' >/dev/null 2>&1 &&
827715007 test "X`expr 00001 : '.*\(...\)'`" = X001; then
827815008 as_expr=expr
828615016 as_basename=false
828715017 fi
828815018
8289 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8290 as_dirname=dirname
8291 else
8292 as_dirname=false
8293 fi
8294
15019
15020 # Name of the executable.
829515021 as_me=`$as_basename -- "$0" ||
829615022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
829715023 X"$0" : 'X\(//\)$' \| \
829815024 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8299 $as_echo X/"$0" |
15025 echo X/"$0" |
830015026 sed '/^.*\/\([^/][^/]*\)\/*$/{
830115027 s//\1/
830215028 q
831115037 }
831215038 s/.*/./; q'`
831315039
8314 # Avoid depending upon Character Ranges.
8315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8318 as_cr_digits='0123456789'
8319 as_cr_alnum=$as_cr_Letters$as_cr_digits
15040 # CDPATH.
15041 $as_unset CDPATH
15042
15043
15044
15045 as_lineno_1=$LINENO
15046 as_lineno_2=$LINENO
15047 test "x$as_lineno_1" != "x$as_lineno_2" &&
15048 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15049
15050 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15051 # uniformly replaced by the line number. The first 'sed' inserts a
15052 # line-number line after each line using $LINENO; the second 'sed'
15053 # does the real work. The second script uses 'N' to pair each
15054 # line-number line with the line containing $LINENO, and appends
15055 # trailing '-' during substitution so that $LINENO is not a special
15056 # case at line end.
15057 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15058 # scripts with optimization help from Paolo Bonzini. Blame Lee
15059 # E. McMahon (1931-1989) for sed's syntax. :-)
15060 sed -n '
15061 p
15062 /[$]LINENO/=
15063 ' <$as_myself |
15064 sed '
15065 s/[$]LINENO.*/&-/
15066 t lineno
15067 b
15068 :lineno
15069 N
15070 :loop
15071 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15072 t loop
15073 s/-\n.*//
15074 ' >$as_me.lineno &&
15075 chmod +x "$as_me.lineno" ||
15076 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15077 { (exit 1); exit 1; }; }
15078
15079 # Don't try to exec as it changes $[0], causing all sort of problems
15080 # (the dirname of $[0] is not the place where we might find the
15081 # original and so on. Autoconf is especially sensitive to this).
15082 . "./$as_me.lineno"
15083 # Exit status is that of the last command.
15084 exit
15085 }
15086
15087
15088 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15089 as_dirname=dirname
15090 else
15091 as_dirname=false
15092 fi
832015093
832115094 ECHO_C= ECHO_N= ECHO_T=
8322 case `echo -n x` in @%:@(((((
15095 case `echo -n x` in
832315096 -n*)
8324 case `echo 'xy\c'` in
15097 case `echo 'x\c'` in
832515098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
15099 *) ECHO_C='\c';;
832915100 esac;;
833015101 *)
833115102 ECHO_N='-n';;
833215103 esac
833315104
15105 if expr a : '\(a\)' >/dev/null 2>&1 &&
15106 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15107 as_expr=expr
15108 else
15109 as_expr=false
15110 fi
15111
833415112 rm -f conf$$ conf$$.exe conf$$.file
833515113 if test -d conf$$.dir; then
833615114 rm -f conf$$.dir/conf$$.file
833715115 else
833815116 rm -f conf$$.dir
8339 mkdir conf$$.dir 2>/dev/null
8340 fi
8341 if (echo >conf$$.file) 2>/dev/null; then
8342 if ln -s conf$$.file conf$$ 2>/dev/null; then
8343 as_ln_s='ln -s'
8344 # ... but there are two gotchas:
8345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8347 # In both cases, we have to default to `cp -p'.
8348 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8349 as_ln_s='cp -p'
8350 elif ln conf$$.file conf$$ 2>/dev/null; then
8351 as_ln_s=ln
8352 else
15117 mkdir conf$$.dir
15118 fi
15119 echo >conf$$.file
15120 if ln -s conf$$.file conf$$ 2>/dev/null; then
15121 as_ln_s='ln -s'
15122 # ... but there are two gotchas:
15123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15125 # In both cases, we have to default to `cp -p'.
15126 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
835315127 as_ln_s='cp -p'
8354 fi
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
835515130 else
835615131 as_ln_s='cp -p'
835715132 fi
835815133 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
835915134 rmdir conf$$.dir 2>/dev/null
836015135
8361
8362 @%:@ as_fn_mkdir_p
8363 @%:@ -------------
8364 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
15136 if mkdir -p . 2>/dev/null; then
15137 as_mkdir_p=:
15138 else
15139 test -d ./-p && rmdir ./-p
15140 as_mkdir_p=false
15141 fi
15142
15143 if test -x / >/dev/null 2>&1; then
15144 as_test_x='test -x'
15145 else
15146 if ls -dL / >/dev/null 2>&1; then
15147 as_ls_L_option=L
15148 else
15149 as_ls_L_option=
15150 fi
15151 as_test_x='
15152 eval sh -c '\''
15153 if test -d "$1"; then
15154 test -d "$1/.";
15155 else
15156 case $1 in
15157 -*)set "./$1";;
15158 esac;
15159 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15160 ???[sx]*):;;*)false;;esac;fi
15161 '\'' sh
15162 '
15163 fi
15164 as_executable_p=$as_test_x
15165
15166 # Sed expression to map a string onto a valid CPP name.
15167 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15168
15169 # Sed expression to map a string onto a valid variable name.
15170 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15171
15172
15173 exec 6>&1
15174
15175 # Save the log message, to keep $[0] and so on meaningful, and to
15176 # report actual input values of CONFIG_FILES etc. instead of their
15177 # values after options handling.
15178 ac_log="
15179 This file was extended by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
15180 generated by GNU Autoconf 2.61. Invocation command line was
15181
15182 CONFIG_FILES = $CONFIG_FILES
15183 CONFIG_HEADERS = $CONFIG_HEADERS
15184 CONFIG_LINKS = $CONFIG_LINKS
15185 CONFIG_COMMANDS = $CONFIG_COMMANDS
15186 $ $0 $@
15187
15188 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15189 "
15190
15191 _ACEOF
15192
15193 cat >>$CONFIG_STATUS <<_ACEOF
15194 # Files that config.status was made for.
15195 config_files="$ac_config_files"
15196 config_headers="$ac_config_headers"
15197 config_commands="$ac_config_commands"
15198
15199 _ACEOF
15200
15201 cat >>$CONFIG_STATUS <<\_ACEOF
15202 ac_cs_usage="\
15203 \`$as_me' instantiates files from templates according to the
15204 current configuration.
15205
15206 Usage: $0 [OPTIONS] [FILE]...
15207
15208 -h, --help print this help, then exit
15209 -V, --version print version number and configuration settings, then exit
15210 -q, --quiet do not print progress messages
15211 -d, --debug don't remove temporary files
15212 --recheck update $as_me by reconfiguring in the same conditions
15213 --file=FILE[:TEMPLATE]
15214 instantiate the configuration file FILE
15215 --header=FILE[:TEMPLATE]
15216 instantiate the configuration header FILE
15217
15218 Configuration files:
15219 $config_files
15220
15221 Configuration headers:
15222 $config_headers
15223
15224 Configuration commands:
15225 $config_commands
15226
15227 Report bugs to <bug-autoconf@gnu.org>."
15228
15229 _ACEOF
15230 cat >>$CONFIG_STATUS <<_ACEOF
15231 ac_cs_version="\\
15232 nfdump config.status 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
15233 configured by $0, generated by GNU Autoconf 2.61,
15234 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15235
15236 Copyright (C) 2006 Free Software Foundation, Inc.
15237 This config.status script is free software; the Free Software Foundation
15238 gives unlimited permission to copy, distribute and modify it."
15239
15240 ac_pwd='$ac_pwd'
15241 srcdir='$srcdir'
15242 INSTALL='$INSTALL'
15243 MKDIR_P='$MKDIR_P'
15244 _ACEOF
15245
15246 cat >>$CONFIG_STATUS <<\_ACEOF
15247 # If no file are specified by the user, then we need to provide default
15248 # value. By we need to know if files were specified by the user.
15249 ac_need_defaults=:
15250 while test $# != 0
15251 do
15252 case $1 in
15253 --*=*)
15254 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15256 ac_shift=:
15257 ;;
15258 *)
15259 ac_option=$1
15260 ac_optarg=$2
15261 ac_shift=shift
15262 ;;
15263 esac
15264
15265 case $ac_option in
15266 # Handling of the options.
15267 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15268 ac_cs_recheck=: ;;
15269 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15270 echo "$ac_cs_version"; exit ;;
15271 --debug | --debu | --deb | --de | --d | -d )
15272 debug=: ;;
15273 --file | --fil | --fi | --f )
15274 $ac_shift
15275 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15276 ac_need_defaults=false;;
15277 --header | --heade | --head | --hea )
15278 $ac_shift
15279 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15280 ac_need_defaults=false;;
15281 --he | --h)
15282 # Conflict between --help and --header
15283 { echo "$as_me: error: ambiguous option: $1
15284 Try \`$0 --help' for more information." >&2
15285 { (exit 1); exit 1; }; };;
15286 --help | --hel | -h )
15287 echo "$ac_cs_usage"; exit ;;
15288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15289 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15290 ac_cs_silent=: ;;
15291
15292 # This is an error.
15293 -*) { echo "$as_me: error: unrecognized option: $1
15294 Try \`$0 --help' for more information." >&2
15295 { (exit 1); exit 1; }; } ;;
15296
15297 *) ac_config_targets="$ac_config_targets $1"
15298 ac_need_defaults=false ;;
15299
15300 esac
15301 shift
15302 done
15303
15304 ac_configure_extra_args=
15305
15306 if $ac_cs_silent; then
15307 exec 6>/dev/null
15308 ac_configure_extra_args="$ac_configure_extra_args --silent"
15309 fi
15310
15311 _ACEOF
15312 cat >>$CONFIG_STATUS <<_ACEOF
15313 if \$ac_cs_recheck; then
15314 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15315 CONFIG_SHELL=$SHELL
15316 export CONFIG_SHELL
15317 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15318 fi
15319
15320 _ACEOF
15321 cat >>$CONFIG_STATUS <<\_ACEOF
15322 exec 5>>config.log
836615323 {
8367
15324 echo
15325 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15326 @%:@@%:@ Running $as_me. @%:@@%:@
15327 _ASBOX
15328 echo "$ac_log"
15329 } >&5
15330
15331 _ACEOF
15332 cat >>$CONFIG_STATUS <<_ACEOF
15333 #
15334 # INIT-COMMANDS
15335 #
15336 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15337
15338 _ACEOF
15339
15340 cat >>$CONFIG_STATUS <<\_ACEOF
15341
15342 # Handling of arguments.
15343 for ac_config_target in $ac_config_targets
15344 do
15345 case $ac_config_target in
15346 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15347 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15348 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15349 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15350 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15351
15352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15354 { (exit 1); exit 1; }; };;
15355 esac
15356 done
15357
15358
15359 # If the user did not use the arguments to specify the items to instantiate,
15360 # then the envvar interface is used. Set only those that are not.
15361 # We use the long form for the default assignment because of an extremely
15362 # bizarre bug on SunOS 4.1.3.
15363 if $ac_need_defaults; then
15364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15367 fi
15368
15369 # Have a temporary directory for convenience. Make it in the build tree
15370 # simply because there is no reason against having it here, and in addition,
15371 # creating and moving files from /tmp can sometimes cause problems.
15372 # Hook for its removal unless debugging.
15373 # Note that there is a small window in which the directory will not be cleaned:
15374 # after its creation but before its name has been assigned to `$tmp'.
15375 $debug ||
15376 {
15377 tmp=
15378 trap 'exit_status=$?
15379 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15380 ' 0
15381 trap '{ (exit 1); exit 1; }' 1 2 13 15
15382 }
15383 # Create a (secure) tmp directory for tmp files.
15384
15385 {
15386 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15387 test -n "$tmp" && test -d "$tmp"
15388 } ||
15389 {
15390 tmp=./conf$$-$RANDOM
15391 (umask 077 && mkdir "$tmp")
15392 } ||
15393 {
15394 echo "$me: cannot create a temporary directory in ." >&2
15395 { (exit 1); exit 1; }
15396 }
15397
15398 #
15399 # Set up the sed scripts for CONFIG_FILES section.
15400 #
15401
15402 # No need to generate the scripts if there are no CONFIG_FILES.
15403 # This happens for instance when ./config.status config.h
15404 if test -n "$CONFIG_FILES"; then
15405
15406 _ACEOF
15407
15408
15409
15410 ac_delim='%!_!# '
15411 for ac_last_try in false false false false false :; do
15412 cat >conf$$subs.sed <<_ACEOF
15413 SHELL!$SHELL$ac_delim
15414 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15415 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15416 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15417 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15418 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15419 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15420 exec_prefix!$exec_prefix$ac_delim
15421 prefix!$prefix$ac_delim
15422 program_transform_name!$program_transform_name$ac_delim
15423 bindir!$bindir$ac_delim
15424 sbindir!$sbindir$ac_delim
15425 libexecdir!$libexecdir$ac_delim
15426 datarootdir!$datarootdir$ac_delim
15427 datadir!$datadir$ac_delim
15428 sysconfdir!$sysconfdir$ac_delim
15429 sharedstatedir!$sharedstatedir$ac_delim
15430 localstatedir!$localstatedir$ac_delim
15431 includedir!$includedir$ac_delim
15432 oldincludedir!$oldincludedir$ac_delim
15433 docdir!$docdir$ac_delim
15434 infodir!$infodir$ac_delim
15435 htmldir!$htmldir$ac_delim
15436 dvidir!$dvidir$ac_delim
15437 pdfdir!$pdfdir$ac_delim
15438 psdir!$psdir$ac_delim
15439 libdir!$libdir$ac_delim
15440 localedir!$localedir$ac_delim
15441 mandir!$mandir$ac_delim
15442 DEFS!$DEFS$ac_delim
15443 ECHO_C!$ECHO_C$ac_delim
15444 ECHO_N!$ECHO_N$ac_delim
15445 ECHO_T!$ECHO_T$ac_delim
15446 LIBS!$LIBS$ac_delim
15447 build_alias!$build_alias$ac_delim
15448 host_alias!$host_alias$ac_delim
15449 target_alias!$target_alias$ac_delim
15450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15452 INSTALL_DATA!$INSTALL_DATA$ac_delim
15453 am__isrc!$am__isrc$ac_delim
15454 CYGPATH_W!$CYGPATH_W$ac_delim
15455 PACKAGE!$PACKAGE$ac_delim
15456 VERSION!$VERSION$ac_delim
15457 ACLOCAL!$ACLOCAL$ac_delim
15458 AUTOCONF!$AUTOCONF$ac_delim
15459 AUTOMAKE!$AUTOMAKE$ac_delim
15460 AUTOHEADER!$AUTOHEADER$ac_delim
15461 MAKEINFO!$MAKEINFO$ac_delim
15462 install_sh!$install_sh$ac_delim
15463 STRIP!$STRIP$ac_delim
15464 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15465 mkdir_p!$mkdir_p$ac_delim
15466 AWK!$AWK$ac_delim
15467 SET_MAKE!$SET_MAKE$ac_delim
15468 am__leading_dot!$am__leading_dot$ac_delim
15469 AMTAR!$AMTAR$ac_delim
15470 am__tar!$am__tar$ac_delim
15471 am__untar!$am__untar$ac_delim
15472 CC!$CC$ac_delim
15473 CFLAGS!$CFLAGS$ac_delim
15474 LDFLAGS!$LDFLAGS$ac_delim
15475 CPPFLAGS!$CPPFLAGS$ac_delim
15476 ac_ct_CC!$ac_ct_CC$ac_delim
15477 EXEEXT!$EXEEXT$ac_delim
15478 OBJEXT!$OBJEXT$ac_delim
15479 DEPDIR!$DEPDIR$ac_delim
15480 am__include!$am__include$ac_delim
15481 am__quote!$am__quote$ac_delim
15482 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15483 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15484 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15485 CCDEPMODE!$CCDEPMODE$ac_delim
15486 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15487 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15488 YACC!$YACC$ac_delim
15489 YFLAGS!$YFLAGS$ac_delim
15490 LEX!$LEX$ac_delim
15491 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
15492 LEXLIB!$LEXLIB$ac_delim
15493 FT2NFDUMP_TRUE!$FT2NFDUMP_TRUE$ac_delim
15494 FT2NFDUMP_FALSE!$FT2NFDUMP_FALSE$ac_delim
15495 NFPROFILE_TRUE!$NFPROFILE_TRUE$ac_delim
15496 NFPROFILE_FALSE!$NFPROFILE_FALSE$ac_delim
15497 RRD_LIBS!$RRD_LIBS$ac_delim
15498 CPP!$CPP$ac_delim
15499 GREP!$GREP$ac_delim
15500 EGREP!$EGREP$ac_delim
15501 NFTRACK_TRUE!$NFTRACK_TRUE$ac_delim
15502 NFTRACK_FALSE!$NFTRACK_FALSE$ac_delim
15503 SFLOW_TRUE!$SFLOW_TRUE$ac_delim
15504 SFLOW_FALSE!$SFLOW_FALSE$ac_delim
15505 READPCAP_TRUE!$READPCAP_TRUE$ac_delim
15506 READPCAP_FALSE!$READPCAP_FALSE$ac_delim
15507 FT_INCLUDES!$FT_INCLUDES$ac_delim
15508 FT_LDFLAGS!$FT_LDFLAGS$ac_delim
15509 LFLAGS!$LFLAGS$ac_delim
15510 _ACEOF
15511
15512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15513 break
15514 elif $ac_last_try; then
15515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15517 { (exit 1); exit 1; }; }
15518 else
15519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15520 fi
15521 done
15522
15523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15524 if test -n "$ac_eof"; then
15525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15526 ac_eof=`expr $ac_eof + 1`
15527 fi
15528
15529 cat >>$CONFIG_STATUS <<_ACEOF
15530 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15532 _ACEOF
15533 sed '
15534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15535 s/^/s,@/; s/!/@,|#_!!_#|/
15536 :n
15537 t n
15538 s/'"$ac_delim"'$/,g/; t
15539 s/$/\\/; p
15540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15541 ' >>$CONFIG_STATUS <conf$$subs.sed
15542 rm -f conf$$subs.sed
15543 cat >>$CONFIG_STATUS <<_ACEOF
15544 CEOF$ac_eof
15545 _ACEOF
15546
15547
15548 ac_delim='%!_!# '
15549 for ac_last_try in false false false false false :; do
15550 cat >conf$$subs.sed <<_ACEOF
15551 FTS_OBJ!$FTS_OBJ$ac_delim
15552 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
15553 LTLIBOBJS!$LTLIBOBJS$ac_delim
15554 _ACEOF
15555
15556 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
15557 break
15558 elif $ac_last_try; then
15559 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15560 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15561 { (exit 1); exit 1; }; }
15562 else
15563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15564 fi
15565 done
15566
15567 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15568 if test -n "$ac_eof"; then
15569 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15570 ac_eof=`expr $ac_eof + 1`
15571 fi
15572
15573 cat >>$CONFIG_STATUS <<_ACEOF
15574 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15576 _ACEOF
15577 sed '
15578 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15579 s/^/s,@/; s/!/@,|#_!!_#|/
15580 :n
15581 t n
15582 s/'"$ac_delim"'$/,g/; t
15583 s/$/\\/; p
15584 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15585 ' >>$CONFIG_STATUS <conf$$subs.sed
15586 rm -f conf$$subs.sed
15587 cat >>$CONFIG_STATUS <<_ACEOF
15588 :end
15589 s/|#_!!_#|//g
15590 CEOF$ac_eof
15591 _ACEOF
15592
15593
15594 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15595 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15596 # trailing colons and then remove the whole line if VPATH becomes empty
15597 # (actually we leave an empty line to preserve line numbers).
15598 if test "x$srcdir" = x.; then
15599 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15600 s/:*\$(srcdir):*/:/
15601 s/:*\${srcdir}:*/:/
15602 s/:*@srcdir@:*/:/
15603 s/^\([^=]*=[ ]*\):*/\1/
15604 s/:*$//
15605 s/^[^=]*=[ ]*$//
15606 }'
15607 fi
15608
15609 cat >>$CONFIG_STATUS <<\_ACEOF
15610 fi # test -n "$CONFIG_FILES"
15611
15612
15613 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
15614 do
15615 case $ac_tag in
15616 :[FHLC]) ac_mode=$ac_tag; continue;;
15617 esac
15618 case $ac_mode$ac_tag in
15619 :[FHL]*:*);;
15620 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15621 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15622 { (exit 1); exit 1; }; };;
15623 :[FH]-) ac_tag=-:-;;
15624 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15625 esac
15626 ac_save_IFS=$IFS
15627 IFS=:
15628 set x $ac_tag
15629 IFS=$ac_save_IFS
15630 shift
15631 ac_file=$1
15632 shift
15633
15634 case $ac_mode in
15635 :L) ac_source=$1;;
15636 :[FH])
15637 ac_file_inputs=
15638 for ac_f
15639 do
15640 case $ac_f in
15641 -) ac_f="$tmp/stdin";;
15642 *) # Look for the file first in the build tree, then in the source tree
15643 # (if the path is not absolute). The absolute path cannot be DOS-style,
15644 # because $ac_f cannot contain `:'.
15645 test -f "$ac_f" ||
15646 case $ac_f in
15647 [\\/$]*) false;;
15648 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15649 esac ||
15650 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15651 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15652 { (exit 1); exit 1; }; };;
15653 esac
15654 ac_file_inputs="$ac_file_inputs $ac_f"
15655 done
15656
15657 # Let's still pretend it is `configure' which instantiates (i.e., don't
15658 # use $as_me), people would be surprised to read:
15659 # /* config.h. Generated by config.status. */
15660 configure_input="Generated from "`IFS=:
15661 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15662 if test x"$ac_file" != x-; then
15663 configure_input="$ac_file. $configure_input"
15664 { echo "$as_me:$LINENO: creating $ac_file" >&5
15665 echo "$as_me: creating $ac_file" >&6;}
15666 fi
15667
15668 case $ac_tag in
15669 *:-:* | *:-) cat >"$tmp/stdin";;
15670 esac
15671 ;;
15672 esac
15673
15674 ac_dir=`$as_dirname -- "$ac_file" ||
15675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676 X"$ac_file" : 'X\(//\)[^/]' \| \
15677 X"$ac_file" : 'X\(//\)$' \| \
15678 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15679 echo X"$ac_file" |
15680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15681 s//\1/
15682 q
15683 }
15684 /^X\(\/\/\)[^/].*/{
15685 s//\1/
15686 q
15687 }
15688 /^X\(\/\/\)$/{
15689 s//\1/
15690 q
15691 }
15692 /^X\(\/\).*/{
15693 s//\1/
15694 q
15695 }
15696 s/.*/./; q'`
15697 { as_dir="$ac_dir"
836815698 case $as_dir in #(
836915699 -*) as_dir=./$as_dir;;
837015700 esac
8371 test -d "$as_dir" || eval $as_mkdir_p || {
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
837215702 as_dirs=
837315703 while :; do
837415704 case $as_dir in #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
837615706 *) as_qdir=$as_dir;;
837715707 esac
837815708 as_dirs="'$as_qdir' $as_dirs"
838115711 X"$as_dir" : 'X\(//\)[^/]' \| \
838215712 X"$as_dir" : 'X\(//\)$' \| \
838315713 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8384 $as_echo X"$as_dir" |
15714 echo X"$as_dir" |
838515715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
838615716 s//\1/
838715717 q
840215732 test -d "$as_dir" && break
840315733 done
840415734 test -z "$as_dirs" || eval "mkdir $as_dirs"
8405 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8406
8407
8408 } @%:@ as_fn_mkdir_p
8409 if mkdir -p . 2>/dev/null; then
8410 as_mkdir_p='mkdir -p "$as_dir"'
8411 else
8412 test -d ./-p && rmdir ./-p
8413 as_mkdir_p=false
8414 fi
8415
8416 if test -x / >/dev/null 2>&1; then
8417 as_test_x='test -x'
8418 else
8419 if ls -dL / >/dev/null 2>&1; then
8420 as_ls_L_option=L
8421 else
8422 as_ls_L_option=
8423 fi
8424 as_test_x='
8425 eval sh -c '\''
8426 if test -d "$1"; then
8427 test -d "$1/.";
8428 else
8429 case $1 in @%:@(
8430 -*)set "./$1";;
8431 esac;
8432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
8433 ???[sx]*):;;*)false;;esac;fi
8434 '\'' sh
8435 '
8436 fi
8437 as_executable_p=$as_test_x
8438
8439 # Sed expression to map a string onto a valid CPP name.
8440 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8441
8442 # Sed expression to map a string onto a valid variable name.
8443 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8444
8445
8446 exec 6>&1
8447 ## ----------------------------------- ##
8448 ## Main body of $CONFIG_STATUS script. ##
8449 ## ----------------------------------- ##
8450 _ASEOF
8451 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8452
8453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8454 # Save the log message, to keep $0 and so on meaningful, and to
8455 # report actual input values of CONFIG_FILES etc. instead of their
8456 # values after options handling.
8457 ac_log="
8458 This file was extended by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
8459 generated by GNU Autoconf 2.68. Invocation command line was
8460
8461 CONFIG_FILES = $CONFIG_FILES
8462 CONFIG_HEADERS = $CONFIG_HEADERS
8463 CONFIG_LINKS = $CONFIG_LINKS
8464 CONFIG_COMMANDS = $CONFIG_COMMANDS
8465 $ $0 $@
8466
8467 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8468 "
8469
8470 _ACEOF
8471
8472 case $ac_config_files in *"
8473 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8474 esac
8475
8476 case $ac_config_headers in *"
8477 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8478 esac
8479
8480
8481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8482 # Files that config.status was made for.
8483 config_files="$ac_config_files"
8484 config_headers="$ac_config_headers"
8485 config_commands="$ac_config_commands"
8486
8487 _ACEOF
8488
8489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8490 ac_cs_usage="\
8491 \`$as_me' instantiates files and other configuration actions
8492 from templates according to the current configuration. Unless the files
8493 and actions are specified as TAGs, all are instantiated by default.
8494
8495 Usage: $0 [OPTION]... [TAG]...
8496
8497 -h, --help print this help, then exit
8498 -V, --version print version number and configuration settings, then exit
8499 --config print configuration, then exit
8500 -q, --quiet, --silent
8501 do not print progress messages
8502 -d, --debug don't remove temporary files
8503 --recheck update $as_me by reconfiguring in the same conditions
8504 --file=FILE[:TEMPLATE]
8505 instantiate the configuration file FILE
8506 --header=FILE[:TEMPLATE]
8507 instantiate the configuration header FILE
8508
8509 Configuration files:
8510 $config_files
8511
8512 Configuration headers:
8513 $config_headers
8514
8515 Configuration commands:
8516 $config_commands
8517
8518 Report bugs to <phaag@users.sourceforge.net>."
8519
8520 _ACEOF
8521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8523 ac_cs_version="\\
8524 nfdump config.status 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
8525 configured by $0, generated by GNU Autoconf 2.68,
8526 with options \\"\$ac_cs_config\\"
8527
8528 Copyright (C) 2010 Free Software Foundation, Inc.
8529 This config.status script is free software; the Free Software Foundation
8530 gives unlimited permission to copy, distribute and modify it."
8531
8532 ac_pwd='$ac_pwd'
8533 srcdir='$srcdir'
8534 INSTALL='$INSTALL'
8535 MKDIR_P='$MKDIR_P'
8536 AWK='$AWK'
8537 test -n "\$AWK" || AWK=awk
8538 _ACEOF
8539
8540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8541 # The default lists apply if the user does not specify any file.
8542 ac_need_defaults=:
8543 while test $# != 0
8544 do
8545 case $1 in
8546 --*=?*)
8547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8549 ac_shift=:
8550 ;;
8551 --*=)
8552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8553 ac_optarg=
8554 ac_shift=:
8555 ;;
8556 *)
8557 ac_option=$1
8558 ac_optarg=$2
8559 ac_shift=shift
8560 ;;
8561 esac
8562
8563 case $ac_option in
8564 # Handling of the options.
8565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8566 ac_cs_recheck=: ;;
8567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8568 $as_echo "$ac_cs_version"; exit ;;
8569 --config | --confi | --conf | --con | --co | --c )
8570 $as_echo "$ac_cs_config"; exit ;;
8571 --debug | --debu | --deb | --de | --d | -d )
8572 debug=: ;;
8573 --file | --fil | --fi | --f )
8574 $ac_shift
8575 case $ac_optarg in
8576 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8577 '') as_fn_error $? "missing file argument" ;;
8578 esac
8579 as_fn_append CONFIG_FILES " '$ac_optarg'"
8580 ac_need_defaults=false;;
8581 --header | --heade | --head | --hea )
8582 $ac_shift
8583 case $ac_optarg in
8584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8585 esac
8586 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8587 ac_need_defaults=false;;
8588 --he | --h)
8589 # Conflict between --help and --header
8590 as_fn_error $? "ambiguous option: \`$1'
8591 Try \`$0 --help' for more information.";;
8592 --help | --hel | -h )
8593 $as_echo "$ac_cs_usage"; exit ;;
8594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8596 ac_cs_silent=: ;;
8597
8598 # This is an error.
8599 -*) as_fn_error $? "unrecognized option: \`$1'
8600 Try \`$0 --help' for more information." ;;
8601
8602 *) as_fn_append ac_config_targets " $1"
8603 ac_need_defaults=false ;;
8604
8605 esac
8606 shift
8607 done
8608
8609 ac_configure_extra_args=
8610
8611 if $ac_cs_silent; then
8612 exec 6>/dev/null
8613 ac_configure_extra_args="$ac_configure_extra_args --silent"
8614 fi
8615
8616 _ACEOF
8617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8618 if \$ac_cs_recheck; then
8619 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8620 shift
8621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8622 CONFIG_SHELL='$SHELL'
8623 export CONFIG_SHELL
8624 exec "\$@"
8625 fi
8626
8627 _ACEOF
8628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8629 exec 5>>config.log
8630 {
8631 echo
8632 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
8633 @%:@@%:@ Running $as_me. @%:@@%:@
8634 _ASBOX
8635 $as_echo "$ac_log"
8636 } >&5
8637
8638 _ACEOF
8639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8640 #
8641 # INIT-COMMANDS
8642 #
8643 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8644
8645 _ACEOF
8646
8647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8648
8649 # Handling of arguments.
8650 for ac_config_target in $ac_config_targets
8651 do
8652 case $ac_config_target in
8653 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8656 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
8657 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8658
8659 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8660 esac
8661 done
8662
8663
8664 # If the user did not use the arguments to specify the items to instantiate,
8665 # then the envvar interface is used. Set only those that are not.
8666 # We use the long form for the default assignment because of an extremely
8667 # bizarre bug on SunOS 4.1.3.
8668 if $ac_need_defaults; then
8669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8672 fi
8673
8674 # Have a temporary directory for convenience. Make it in the build tree
8675 # simply because there is no reason against having it here, and in addition,
8676 # creating and moving files from /tmp can sometimes cause problems.
8677 # Hook for its removal unless debugging.
8678 # Note that there is a small window in which the directory will not be cleaned:
8679 # after its creation but before its name has been assigned to `$tmp'.
8680 $debug ||
8681 {
8682 tmp= ac_tmp=
8683 trap 'exit_status=$?
8684 : "${ac_tmp:=$tmp}"
8685 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8686 ' 0
8687 trap 'as_fn_exit 1' 1 2 13 15
8688 }
8689 # Create a (secure) tmp directory for tmp files.
8690
8691 {
8692 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8693 test -d "$tmp"
8694 } ||
8695 {
8696 tmp=./conf$$-$RANDOM
8697 (umask 077 && mkdir "$tmp")
8698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8699 ac_tmp=$tmp
8700
8701 # Set up the scripts for CONFIG_FILES section.
8702 # No need to generate them if there are no CONFIG_FILES.
8703 # This happens for instance with `./config.status config.h'.
8704 if test -n "$CONFIG_FILES"; then
8705
8706
8707 ac_cr=`echo X | tr X '\015'`
8708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8709 # But we know of no other shell where ac_cr would be empty at this
8710 # point, so we can use a bashism as a fallback.
8711 if test "x$ac_cr" = x; then
8712 eval ac_cr=\$\'\\r\'
8713 fi
8714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8716 ac_cs_awk_cr='\\r'
8717 else
8718 ac_cs_awk_cr=$ac_cr
8719 fi
8720
8721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8722 _ACEOF
8723
8724
8725 {
8726 echo "cat >conf$$subs.awk <<_ACEOF" &&
8727 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8728 echo "_ACEOF"
8729 } >conf$$subs.sh ||
8730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8732 ac_delim='%!_!# '
8733 for ac_last_try in false false false false false :; do
8734 . ./conf$$subs.sh ||
8735 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8736
8737 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8738 if test $ac_delim_n = $ac_delim_num; then
8739 break
8740 elif $ac_last_try; then
8741 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8742 else
8743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8744 fi
8745 done
8746 rm -f conf$$subs.sh
8747
8748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8750 _ACEOF
8751 sed -n '
8752 h
8753 s/^/S["/; s/!.*/"]=/
8754 p
8755 g
8756 s/^[^!]*!//
8757 :repl
8758 t repl
8759 s/'"$ac_delim"'$//
8760 t delim
8761 :nl
8762 h
8763 s/\(.\{148\}\)..*/\1/
8764 t more1
8765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8766 p
8767 n
8768 b repl
8769 :more1
8770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8771 p
8772 g
8773 s/.\{148\}//
8774 t nl
8775 :delim
8776 h
8777 s/\(.\{148\}\)..*/\1/
8778 t more2
8779 s/["\\]/\\&/g; s/^/"/; s/$/"/
8780 p
8781 b
8782 :more2
8783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8784 p
8785 g
8786 s/.\{148\}//
8787 t delim
8788 ' <conf$$subs.awk | sed '
8789 /^[^""]/{
8790 N
8791 s/\n//
8792 }
8793 ' >>$CONFIG_STATUS || ac_write_fail=1
8794 rm -f conf$$subs.awk
8795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8796 _ACAWK
8797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8798 for (key in S) S_is_set[key] = 1
8799 FS = ""
8800
8801 }
8802 {
8803 line = $ 0
8804 nfields = split(line, field, "@")
8805 substed = 0
8806 len = length(field[1])
8807 for (i = 2; i < nfields; i++) {
8808 key = field[i]
8809 keylen = length(key)
8810 if (S_is_set[key]) {
8811 value = S[key]
8812 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8813 len += length(value) + length(field[++i])
8814 substed = 1
8815 } else
8816 len += 1 + keylen
8817 }
8818
8819 print line
8820 }
8821
8822 _ACAWK
8823 _ACEOF
8824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8826 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8827 else
8828 cat
8829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8830 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8831 _ACEOF
8832
8833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8835 # trailing colons and then remove the whole line if VPATH becomes empty
8836 # (actually we leave an empty line to preserve line numbers).
8837 if test "x$srcdir" = x.; then
8838 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8839 h
8840 s///
8841 s/^/:/
8842 s/[ ]*$/:/
8843 s/:\$(srcdir):/:/g
8844 s/:\${srcdir}:/:/g
8845 s/:@srcdir@:/:/g
8846 s/^:*//
8847 s/:*$//
8848 x
8849 s/\(=[ ]*\).*/\1/
8850 G
8851 s/\n//
8852 s/^[^=]*=[ ]*$//
8853 }'
8854 fi
8855
8856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8857 fi # test -n "$CONFIG_FILES"
8858
8859 # Set up the scripts for CONFIG_HEADERS section.
8860 # No need to generate them if there are no CONFIG_HEADERS.
8861 # This happens for instance with `./config.status Makefile'.
8862 if test -n "$CONFIG_HEADERS"; then
8863 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8864 BEGIN {
8865 _ACEOF
8866
8867 # Transform confdefs.h into an awk script `defines.awk', embedded as
8868 # here-document in config.status, that substitutes the proper values into
8869 # config.h.in to produce config.h.
8870
8871 # Create a delimiter string that does not exist in confdefs.h, to ease
8872 # handling of long lines.
8873 ac_delim='%!_!# '
8874 for ac_last_try in false false :; do
8875 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8876 if test -z "$ac_tt"; then
8877 break
8878 elif $ac_last_try; then
8879 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8880 else
8881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8882 fi
8883 done
8884
8885 # For the awk script, D is an array of macro values keyed by name,
8886 # likewise P contains macro parameters if any. Preserve backslash
8887 # newline sequences.
8888
8889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8890 sed -n '
8891 s/.\{148\}/&'"$ac_delim"'/g
8892 t rset
8893 :rset
8894 s/^[ ]*#[ ]*define[ ][ ]*/ /
8895 t def
8896 d
8897 :def
8898 s/\\$//
8899 t bsnl
8900 s/["\\]/\\&/g
8901 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8902 D["\1"]=" \3"/p
8903 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8904 d
8905 :bsnl
8906 s/["\\]/\\&/g
8907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8908 D["\1"]=" \3\\\\\\n"\\/p
8909 t cont
8910 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8911 t cont
8912 d
8913 :cont
8914 n
8915 s/.\{148\}/&'"$ac_delim"'/g
8916 t clear
8917 :clear
8918 s/\\$//
8919 t bsnlc
8920 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8921 d
8922 :bsnlc
8923 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8924 b cont
8925 ' <confdefs.h | sed '
8926 s/'"$ac_delim"'/"\\\
8927 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8928
8929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8930 for (key in D) D_is_set[key] = 1
8931 FS = ""
8932 }
8933 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8934 line = \$ 0
8935 split(line, arg, " ")
8936 if (arg[1] == "#") {
8937 defundef = arg[2]
8938 mac1 = arg[3]
8939 } else {
8940 defundef = substr(arg[1], 2)
8941 mac1 = arg[2]
8942 }
8943 split(mac1, mac2, "(") #)
8944 macro = mac2[1]
8945 prefix = substr(line, 1, index(line, defundef) - 1)
8946 if (D_is_set[macro]) {
8947 # Preserve the white space surrounding the "#".
8948 print prefix "define", macro P[macro] D[macro]
8949 next
8950 } else {
8951 # Replace #undef with comments. This is necessary, for example,
8952 # in the case of _POSIX_SOURCE, which is predefined and required
8953 # on some systems where configure will not decide to define it.
8954 if (defundef == "undef") {
8955 print "/*", prefix defundef, macro, "*/"
8956 next
8957 }
8958 }
8959 }
8960 { print }
8961 _ACAWK
8962 _ACEOF
8963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8964 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8965 fi # test -n "$CONFIG_HEADERS"
8966
8967
8968 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8969 shift
8970 for ac_tag
8971 do
8972 case $ac_tag in
8973 :[FHLC]) ac_mode=$ac_tag; continue;;
8974 esac
8975 case $ac_mode$ac_tag in
8976 :[FHL]*:*);;
8977 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8978 :[FH]-) ac_tag=-:-;;
8979 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8980 esac
8981 ac_save_IFS=$IFS
8982 IFS=:
8983 set x $ac_tag
8984 IFS=$ac_save_IFS
8985 shift
8986 ac_file=$1
8987 shift
8988
8989 case $ac_mode in
8990 :L) ac_source=$1;;
8991 :[FH])
8992 ac_file_inputs=
8993 for ac_f
8994 do
8995 case $ac_f in
8996 -) ac_f="$ac_tmp/stdin";;
8997 *) # Look for the file first in the build tree, then in the source tree
8998 # (if the path is not absolute). The absolute path cannot be DOS-style,
8999 # because $ac_f cannot contain `:'.
9000 test -f "$ac_f" ||
9001 case $ac_f in
9002 [\\/$]*) false;;
9003 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9004 esac ||
9005 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9006 esac
9007 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9008 as_fn_append ac_file_inputs " '$ac_f'"
9009 done
9010
9011 # Let's still pretend it is `configure' which instantiates (i.e., don't
9012 # use $as_me), people would be surprised to read:
9013 # /* config.h. Generated by config.status. */
9014 configure_input='Generated from '`
9015 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9016 `' by configure.'
9017 if test x"$ac_file" != x-; then
9018 configure_input="$ac_file. $configure_input"
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9020 $as_echo "$as_me: creating $ac_file" >&6;}
9021 fi
9022 # Neutralize special characters interpreted by sed in replacement strings.
9023 case $configure_input in #(
9024 *\&* | *\|* | *\\* )
9025 ac_sed_conf_input=`$as_echo "$configure_input" |
9026 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9027 *) ac_sed_conf_input=$configure_input;;
9028 esac
9029
9030 case $ac_tag in
9031 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9033 esac
9034 ;;
9035 esac
9036
9037 ac_dir=`$as_dirname -- "$ac_file" ||
9038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9039 X"$ac_file" : 'X\(//\)[^/]' \| \
9040 X"$ac_file" : 'X\(//\)$' \| \
9041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9042 $as_echo X"$ac_file" |
9043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9044 s//\1/
9045 q
9046 }
9047 /^X\(\/\/\)[^/].*/{
9048 s//\1/
9049 q
9050 }
9051 /^X\(\/\/\)$/{
9052 s//\1/
9053 q
9054 }
9055 /^X\(\/\).*/{
9056 s//\1/
9057 q
9058 }
9059 s/.*/./; q'`
9060 as_dir="$ac_dir"; as_fn_mkdir_p
15735 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15736 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15737 { (exit 1); exit 1; }; }; }
906115738 ac_builddir=.
906215739
906315740 case "$ac_dir" in
906415741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
906515742 *)
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906715744 # A ".." for each directory in $ac_dir_suffix.
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
906915746 case $ac_top_builddir_sub in
907015747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
907115748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
911015787 esac
911115788 _ACEOF
911215789
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15790 cat >>$CONFIG_STATUS <<\_ACEOF
911415791 # If the template does not know about datarootdir, expand it.
911515792 # FIXME: This hack should be removed a few years after 2.60.
911615793 ac_datarootdir_hack=; ac_datarootdir_seen=
9117 ac_sed_dataroot='
9118 /datarootdir/ {
15794
15795 case `sed -n '/datarootdir/ {
911915796 p
912015797 q
912115798 }
912315800 /@docdir@/p
912415801 /@infodir@/p
912515802 /@localedir@/p
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
912815805 *datarootdir*) ac_datarootdir_seen=yes;;
912915806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9131 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9132 _ACEOF
9133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15807 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15808 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15809 _ACEOF
15810 cat >>$CONFIG_STATUS <<_ACEOF
913415811 ac_datarootdir_hack='
913515812 s&@datadir@&$datadir&g
913615813 s&@docdir@&$docdir&g
913715814 s&@infodir@&$infodir&g
913815815 s&@localedir@&$localedir&g
913915816 s&@mandir@&$mandir&g
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
914115818 esac
914215819 _ACEOF
914315820
914415821 # Neutralize VPATH when `$srcdir' = `.'.
914515822 # Shell code in configure.ac might set extrasub.
914615823 # FIXME: do we really want to maintain this feature?
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
914915826 $extrasub
915015827 _ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 cat >>$CONFIG_STATUS <<\_ACEOF
915215829 :t
915315830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9154 s|@configure_input@|$ac_sed_conf_input|;t t
15831 s&@configure_input@&$configure_input&;t t
915515832 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
915715833 s&@srcdir@&$ac_srcdir&;t t
915815834 s&@abs_srcdir@&$ac_abs_srcdir&;t t
915915835 s&@top_srcdir@&$ac_top_srcdir&;t t
916415840 s&@INSTALL@&$ac_INSTALL&;t t
916515841 s&@MKDIR_P@&$ac_MKDIR_P&;t t
916615842 $ac_datarootdir_hack
9167 "
9168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9169 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
917015844
917115845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9172 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9173 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9174 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9176 which seems to be undefined. Please make sure it is defined" >&5
9177 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9178 which seems to be undefined. Please make sure it is defined" >&2;}
9179
9180 rm -f "$ac_tmp/stdin"
15846 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15848 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15849 which seems to be undefined. Please make sure it is defined." >&5
15850 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15851 which seems to be undefined. Please make sure it is defined." >&2;}
15852
15853 rm -f "$tmp/stdin"
918115854 case $ac_file in
9182 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9183 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9184 esac \
9185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
918615858 ;;
918715859 :H)
918815860 #
918915861 # CONFIG_HEADER
919015862 #
15863 _ACEOF
15864
15865 # Transform confdefs.h into a sed script `conftest.defines', that
15866 # substitutes the proper values into config.h.in to produce config.h.
15867 rm -f conftest.defines conftest.tail
15868 # First, append a space to every undef/define line, to ease matching.
15869 echo 's/$/ /' >conftest.defines
15870 # Then, protect against being on the right side of a sed subst, or in
15871 # an unquoted here document, in config.status. If some macros were
15872 # called several times there might be several #defines for the same
15873 # symbol, which is useless. But do not sort them, since the last
15874 # AC_DEFINE must be honored.
15875 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15876 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15877 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15878 # PARAMS is the parameter list in the macro definition--in most cases, it's
15879 # just an empty string.
15880 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15881 ac_dB='\\)[ (].*,\\1define\\2'
15882 ac_dC=' '
15883 ac_dD=' ,'
15884
15885 uniq confdefs.h |
15886 sed -n '
15887 t rset
15888 :rset
15889 s/^[ ]*#[ ]*define[ ][ ]*//
15890 t ok
15891 d
15892 :ok
15893 s/[\\&,]/\\&/g
15894 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15895 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15896 ' >>conftest.defines
15897
15898 # Remove the space that was appended to ease matching.
15899 # Then replace #undef with comments. This is necessary, for
15900 # example, in the case of _POSIX_SOURCE, which is predefined and required
15901 # on some systems where configure will not decide to define it.
15902 # (The regexp can be short, since the line contains either #define or #undef.)
15903 echo 's/ $//
15904 s,^[ #]*u.*,/* & */,' >>conftest.defines
15905
15906 # Break up conftest.defines:
15907 ac_max_sed_lines=50
15908
15909 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15910 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15911 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15912 # et cetera.
15913 ac_in='$ac_file_inputs'
15914 ac_out='"$tmp/out1"'
15915 ac_nxt='"$tmp/out2"'
15916
15917 while :
15918 do
15919 # Write a here document:
15920 cat >>$CONFIG_STATUS <<_ACEOF
15921 # First, check the format of the line:
15922 cat >"\$tmp/defines.sed" <<\\CEOF
15923 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def
15924 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15925 b
15926 :def
15927 _ACEOF
15928 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15929 echo 'CEOF
15930 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15931 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15932 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15933 grep . conftest.tail >/dev/null || break
15934 rm -f conftest.defines
15935 mv conftest.tail conftest.defines
15936 done
15937 rm -f conftest.defines conftest.tail
15938
15939 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15940 cat >>$CONFIG_STATUS <<\_ACEOF
919115941 if test x"$ac_file" != x-; then
9192 {
9193 $as_echo "/* $configure_input */" \
9194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9195 } >"$ac_tmp/config.h" \
9196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9197 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9199 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15942 echo "/* $configure_input */" >"$tmp/config.h"
15943 cat "$ac_result" >>"$tmp/config.h"
15944 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15945 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15946 echo "$as_me: $ac_file is unchanged" >&6;}
920015947 else
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
920415950 fi
920515951 else
9206 $as_echo "/* $configure_input */" \
9207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9208 || as_fn_error $? "could not create -" "$LINENO" 5
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
920915954 fi
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
921215957 _am_stamp_count=1
921315958 for _am_header in $config_headers :; do
921415959 case $_am_header in
9215 $_am_arg | $_am_arg:* )
15960 $ac_file | $ac_file:* )
921615961 break ;;
921715962 * )
921815963 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
921915964 esac
922015965 done
9221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223 X"$_am_arg" : 'X\(//\)[^/]' \| \
9224 X"$_am_arg" : 'X\(//\)$' \| \
9225 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9226 $as_echo X"$_am_arg" |
15966 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
15967 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15968 X$ac_file : 'X\(//\)[^/]' \| \
15969 X$ac_file : 'X\(//\)$' \| \
15970 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
15971 echo X$ac_file |
922715972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
922815973 s//\1/
922915974 q
924315988 s/.*/./; q'`/stamp-h$_am_stamp_count
924415989 ;;
924515990
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
924815993 ;;
924915994 esac
925015995
925115996
925215997 case $ac_file$ac_mode in
9253 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9254 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9255 # are listed without --file. Let's play safe and only enable the eval
9256 # if we detect the quoting.
9257 case $CONFIG_FILES in
9258 *\'*) eval set x "$CONFIG_FILES" ;;
9259 *) set x $CONFIG_FILES ;;
9260 esac
9261 shift
9262 for mf
9263 do
9264 # Strip MF so we end up with the name of the file.
9265 mf=`echo "$mf" | sed -e 's/:.*$//'`
9266 # Check whether this is an Automake generated Makefile or not.
9267 # We used to match only the files named `Makefile.in', but
9268 # some people rename them; so instead we look at the file content.
9269 # Grep'ing the first line is not enough: some people post-process
9270 # each Makefile.in and add a new line on top of each file to say so.
9271 # Grep'ing the whole file is not good either: AIX grep has a line
9272 # limit of 2048, but all sed's we know have understand at least 4000.
9273 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9274 dirpart=`$as_dirname -- "$mf" ||
15998 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15999 # Strip MF so we end up with the name of the file.
16000 mf=`echo "$mf" | sed -e 's/:.*$//'`
16001 # Check whether this is an Automake generated Makefile or not.
16002 # We used to match only the files named `Makefile.in', but
16003 # some people rename them; so instead we look at the file content.
16004 # Grep'ing the first line is not enough: some people post-process
16005 # each Makefile.in and add a new line on top of each file to say so.
16006 # Grep'ing the whole file is not good either: AIX grep has a line
16007 # limit of 2048, but all sed's we know have understand at least 4000.
16008 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
16009 dirpart=`$as_dirname -- "$mf" ||
927516010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
927616011 X"$mf" : 'X\(//\)[^/]' \| \
927716012 X"$mf" : 'X\(//\)$' \| \
927816013 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9279 $as_echo X"$mf" |
16014 echo X"$mf" |
928016015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
928116016 s//\1/
928216017 q
929416029 q
929516030 }
929616031 s/.*/./; q'`
9297 else
9298 continue
9299 fi
9300 # Extract the definition of DEPDIR, am__include, and am__quote
9301 # from the Makefile without running `make'.
9302 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9303 test -z "$DEPDIR" && continue
9304 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9305 test -z "am__include" && continue
9306 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9307 # When using ansi2knr, U may be empty or an underscore; expand it
9308 U=`sed -n 's/^U = //p' < "$mf"`
9309 # Find all dependency output files, they are included files with
9310 # $(DEPDIR) in their names. We invoke sed twice because it is the
9311 # simplest approach to changing $(DEPDIR) to its actual value in the
9312 # expansion.
9313 for file in `sed -n "
9314 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9315 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9316 # Make sure the directory exists.
9317 test -f "$dirpart/$file" && continue
9318 fdir=`$as_dirname -- "$file" ||
16032 else
16033 continue
16034 fi
16035 # Extract the definition of DEPDIR, am__include, and am__quote
16036 # from the Makefile without running `make'.
16037 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16038 test -z "$DEPDIR" && continue
16039 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16040 test -z "am__include" && continue
16041 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16042 # When using ansi2knr, U may be empty or an underscore; expand it
16043 U=`sed -n 's/^U = //p' < "$mf"`
16044 # Find all dependency output files, they are included files with
16045 # $(DEPDIR) in their names. We invoke sed twice because it is the
16046 # simplest approach to changing $(DEPDIR) to its actual value in the
16047 # expansion.
16048 for file in `sed -n "
16049 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16051 # Make sure the directory exists.
16052 test -f "$dirpart/$file" && continue
16053 fdir=`$as_dirname -- "$file" ||
931916054 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
932016055 X"$file" : 'X\(//\)[^/]' \| \
932116056 X"$file" : 'X\(//\)$' \| \
932216057 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9323 $as_echo X"$file" |
16058 echo X"$file" |
932416059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
932516060 s//\1/
932616061 q
933816073 q
933916074 }
934016075 s/.*/./; q'`
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
16076 { as_dir=$dirpart/$fdir
16077 case $as_dir in #(
16078 -*) as_dir=./$as_dir;;
16079 esac
16080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16081 as_dirs=
16082 while :; do
16083 case $as_dir in #(
16084 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16085 *) as_qdir=$as_dir;;
16086 esac
16087 as_dirs="'$as_qdir' $as_dirs"
16088 as_dir=`$as_dirname -- "$as_dir" ||
16089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16090 X"$as_dir" : 'X\(//\)[^/]' \| \
16091 X"$as_dir" : 'X\(//\)$' \| \
16092 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16093 echo X"$as_dir" |
16094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16095 s//\1/
16096 q
16097 }
16098 /^X\(\/\/\)[^/].*/{
16099 s//\1/
16100 q
16101 }
16102 /^X\(\/\/\)$/{
16103 s//\1/
16104 q
16105 }
16106 /^X\(\/\).*/{
16107 s//\1/
16108 q
16109 }
16110 s/.*/./; q'`
16111 test -d "$as_dir" && break
934416112 done
16113 test -z "$as_dirs" || eval "mkdir $as_dirs"
16114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16115 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16116 { (exit 1); exit 1; }; }; }
16117 # echo "creating $dirpart/$file"
16118 echo '# dummy' > "$dirpart/$file"
934516119 done
9346 }
16120 done
934716121 ;;
934816122
934916123 esac
935016124 done # for ac_tag
935116125
935216126
9353 as_fn_exit 0
9354 _ACEOF
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
935516130 ac_clean_files=$ac_clean_files_save
9356
9357 test $ac_write_fail = 0 ||
9358 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
935916131
936016132
936116133 # configure is writing to config.log, and then calls config.status.
937616148 exec 5>>config.log
937716149 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
937816150 # would make configure fail if this is the last instruction.
9379 $ac_cs_success || as_fn_exit 1
9380 fi
9381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16151 $ac_cs_success || { (exit 1); exit 1; }
938416152 fi
938516153
938616154
00 @%:@! /bin/sh
1 @%:@ From configure.in Revision: 69 .
1 @%:@ From configure.in Revision: 69 .
22 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $.
3 @%:@ Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
44 @%:@
55 @%:@ Report bugs to <phaag@users.sourceforge.net>.
66 @%:@
7 @%:@
87 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 @%:@ Foundation, Inc.
11 @%:@
12 @%:@
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
139 @%:@ This configure script is free software; the Free Software Foundation
1410 @%:@ gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
1814
1915 # Be more Bourne compatible
2016 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2218 emulate sh
2319 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2521 # is contrary to our usage. Disable this feature.
2622 alias -g '${1+"$@"}'='"$@"'
2723 setopt NO_GLOB_SUBST
2824 else
29 case `(set -o) 2>/dev/null` in @%:@(
30 *posix*) :
31 set -o posix ;; @%:@(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in @%:@(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
7541
7642 # The user is always right.
7743 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
8360 fi
8461
8562
8865 # there to prevent editors from complaining about space-tab.
8966 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9067 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
9170 IFS=" "" $as_nl"
9271
9372 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in @%:@((
73 case $0 in
9674 *[\\/]* ) as_myself=$0 ;;
9775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 for as_dir in $PATH
9977 do
10078 IFS=$as_save_IFS
10179 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
10482 IFS=$as_save_IFS
10583
10684 ;;
11189 as_myself=$0
11290 fi
11391 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12599 done
126100 PS1='$ '
127101 PS2='> '
128102 PS4='+ '
129103
130104 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in @%:@(
149 *posix*) :
150 set -o posix ;; @%:@(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
189109 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in @%:@(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
208115 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in @%:@ ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: phaag@users.sourceforge.net about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
246 fi
247 exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 @%:@ as_fn_unset VAR
261 @%:@ ---------------
262 @%:@ Portably unset VAR.
263 as_fn_unset ()
264 {
265 { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 @%:@ as_fn_set_status STATUS
270 @%:@ -----------------------
271 @%:@ Set @S|@? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274 return $1
275 } @%:@ as_fn_set_status
276
277 @%:@ as_fn_exit STATUS
278 @%:@ -----------------
279 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } @%:@ as_fn_exit
286
287 @%:@ as_fn_mkdir_p
288 @%:@ -------------
289 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
316 q
317 }
318 /^X\(\/\/\)$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\).*/{
323 s//\1/
324 q
325 }
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } @%:@ as_fn_mkdir_p
334 @%:@ as_fn_append VAR VALUE
335 @%:@ ----------------------
336 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
337 @%:@ advantage of any shell optimizations that allow amortized linear growth over
338 @%:@ repeated appends, instead of the typical quadratic growth present in naive
339 @%:@ implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
342 {
343 eval $1+=\$2
344 }'
345 else
346 as_fn_append ()
347 {
348 eval $1=\$$1\$2
349 }
350 fi # as_fn_append
351
352 @%:@ as_fn_arith ARG...
353 @%:@ ------------------
354 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
355 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
356 @%:@ must be portable across @S|@(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
359 {
360 as_val=$(( $* ))
361 }'
362 else
363 as_fn_arith ()
364 {
365 as_val=`expr "$@" || test $? -eq 1`
366 }
367 fi # as_fn_arith
368
369
370 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
371 @%:@ ----------------------------------------
372 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 @%:@ script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 fi
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } @%:@ as_fn_error
385
116
117 # Required to use basename.
386118 if expr a : '\(a\)' >/dev/null 2>&1 &&
387119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388120 as_expr=expr
396128 as_basename=false
397129 fi
398130
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
403 fi
404
131
132 # Name of the executable.
405133 as_me=`$as_basename -- "$0" ||
406134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407135 X"$0" : 'X\(//\)$' \| \
408136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
137 echo X/"$0" |
410138 sed '/^.*\/\([^/][^/]*\)\/*$/{
411139 s//\1/
412140 q
421149 }
422150 s/.*/./; q'`
423151
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
437440 sed -n '
438441 p
439442 /[$]LINENO/=
450453 s/-\n.*//
451454 ' >$as_me.lineno &&
452455 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
454458
455459 # Don't try to exec as it changes $[0], causing all sort of problems
456460 # (the dirname of $[0] is not the place where we might find the
460464 exit
461465 }
462466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
463474 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in @%:@(((((
475 case `echo -n x` in
465476 -n*)
466 case `echo 'xy\c'` in
477 case `echo 'x\c'` in
467478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
479 *) ECHO_C='\c';;
471480 esac;;
472481 *)
473482 ECHO_N='-n';;
474483 esac
475484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
476492 rm -f conf$$ conf$$.exe conf$$.file
477493 if test -d conf$$.dir; then
478494 rm -f conf$$.dir/conf$$.file
479495 else
480496 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
495507 as_ln_s='cp -p'
496 fi
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
497510 else
498511 as_ln_s='cp -p'
499512 fi
501514 rmdir conf$$.dir 2>/dev/null
502515
503516 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
517 as_mkdir_p=:
505518 else
506519 test -d ./-p && rmdir ./-p
507520 as_mkdir_p=false
518531 as_test_x='
519532 eval sh -c '\''
520533 if test -d "$1"; then
521 test -d "$1/.";
534 test -d "$1/.";
522535 else
523 case $1 in @%:@(
524 -*)set "./$1";;
536 case $1 in
537 -*)set "./$1";;
525538 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
527540 ???[sx]*):;;*)false;;esac;fi
528541 '\'' sh
529542 '
537550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538551
539552
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
553
554 exec 7<&0 </dev/null 6>&1
542555
543556 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545558 # so uname gets run too.
546559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547560
556569 subdirs=
557570 MFLAGS=
558571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
559573
560574 # Identity of this package.
561575 PACKAGE_NAME='nfdump'
562576 PACKAGE_TARNAME='nfdump'
563 PACKAGE_VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
564 PACKAGE_STRING='nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
577 PACKAGE_VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
578 PACKAGE_STRING='nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
565579 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
567580
568581 # Factoring default headers for most tests.
569582 ac_includes_default="\
603616
604617 ac_header_list=
605618 ac_func_list=
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 am__isrc
660 CYGPATH_W
661 PACKAGE
662 VERSION
663 ACLOCAL
664 AUTOCONF
665 AUTOMAKE
666 AUTOHEADER
667 MAKEINFO
668 install_sh
669 STRIP
670 INSTALL_STRIP_PROGRAM
671 mkdir_p
672 AWK
673 SET_MAKE
674 am__leading_dot
675 AMTAR
676 am__tar
677 am__untar
678 CC
679 CFLAGS
680 LDFLAGS
681 CPPFLAGS
682 ac_ct_CC
683 EXEEXT
684 OBJEXT
685 DEPDIR
686 am__include
687 am__quote
688 AMDEP_TRUE
689 AMDEP_FALSE
690 AMDEPBACKSLASH
691 CCDEPMODE
692 am__fastdepCC_TRUE
693 am__fastdepCC_FALSE
694 YACC
695 YFLAGS
696 LEX
697 LEX_OUTPUT_ROOT
698 LEXLIB
699 FT2NFDUMP_TRUE
700 FT2NFDUMP_FALSE
701 NFPROFILE_TRUE
702 NFPROFILE_FALSE
703 RRD_LIBS
704 CPP
705 GREP
706 EGREP
707 NFTRACK_TRUE
708 NFTRACK_FALSE
709 SFLOW_TRUE
710 SFLOW_FALSE
711 READPCAP_TRUE
712 READPCAP_FALSE
713 FT_INCLUDES
714 FT_LDFLAGS
715 LFLAGS
716 FTS_OBJ
609717 LIB@&t@OBJS
610 FTS_OBJ
611 LFLAGS
612 FT_LDFLAGS
613 FT_INCLUDES
614 READPCAP_FALSE
615 READPCAP_TRUE
616 SFLOW_FALSE
617 SFLOW_TRUE
618 NFTRACK_FALSE
619 NFTRACK_TRUE
620 EGREP
621 GREP
622 CPP
623 RRD_LIBS
624 NFPROFILE_FALSE
625 NFPROFILE_TRUE
626 FT2NFDUMP_FALSE
627 FT2NFDUMP_TRUE
628 LEXLIB
629 LEX_OUTPUT_ROOT
630 LEX
631 YFLAGS
632 YACC
633 am__fastdepCC_FALSE
634 am__fastdepCC_TRUE
635 CCDEPMODE
636 AMDEPBACKSLASH
637 AMDEP_FALSE
638 AMDEP_TRUE
639 am__quote
640 am__include
641 DEPDIR
642 OBJEXT
643 EXEEXT
644 ac_ct_CC
645 CPPFLAGS
646 LDFLAGS
647 CFLAGS
648 CC
649 am__untar
650 am__tar
651 AMTAR
652 am__leading_dot
653 SET_MAKE
654 AWK
655 mkdir_p
656 MKDIR_P
657 INSTALL_STRIP_PROGRAM
658 STRIP
659 install_sh
660 MAKEINFO
661 AUTOHEADER
662 AUTOMAKE
663 AUTOCONF
664 ACLOCAL
665 VERSION
666 PACKAGE
667 CYGPATH_W
668 am__isrc
669 INSTALL_DATA
670 INSTALL_SCRIPT
671 INSTALL_PROGRAM
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 localstatedir
692 sharedstatedir
693 sysconfdir
694 datadir
695 datarootdir
696 libexecdir
697 sbindir
698 bindir
699 program_transform_name
700 prefix
701 exec_prefix
702 PACKAGE_URL
703 PACKAGE_BUGREPORT
704 PACKAGE_STRING
705 PACKAGE_VERSION
706 PACKAGE_TARNAME
707 PACKAGE_NAME
708 PATH_SEPARATOR
709 SHELL'
718 LTLIBOBJS'
710719 ac_subst_files=''
711 ac_user_opts='
712 enable_option_checking
713 enable_dependency_tracking
714 enable_devel
715 enable_compat15
716 enable_fixtimebug
717 with_ftpath
718 with_rrdpath
719 enable_ftconv
720 enable_nfprofile
721 enable_nftrack
722 enable_sflow
723 enable_readpcap
724 '
725720 ac_precious_vars='build_alias
726721 host_alias
727722 target_alias
738733 # Initialize some variables set by options.
739734 ac_init_help=
740735 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
743736 # The variables have the same names as the options, with
744737 # dashes changed to underlines.
745738 cache_file=/dev/null
795788 fi
796789
797790 case $ac_option in
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
801793 esac
802794
803795 # Accept the important Cygnus configure options, so we can diagnose typos.
839831 datarootdir=$ac_optarg ;;
840832
841833 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843835 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=no ;;
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=no ;;
856841
857842 -docdir | --docdir | --docdi | --doc | --do)
858843 ac_prev=docdir ;;
865850 dvidir=$ac_optarg ;;
866851
867852 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869854 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error $? "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=\$ac_optarg ;;
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=\$ac_optarg ;;
882860
883861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10691047 ac_init_version=: ;;
10701048
10711049 -with-* | --with-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10731051 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=\$ac_optarg ;;
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=\$ac_optarg ;;
10861057
10871058 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10891060 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error $? "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=no ;;
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_$ac_package=no ;;
11021066
11031067 --x)
11041068 # Obsolete; use --with-x.
11181082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11191083 x_libraries=$ac_optarg ;;
11201084
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
11231088 ;;
11241089
11251090 *=*)
11261091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11271092 # Reject names that are not valid shell variable names.
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
11321096 eval $ac_envvar=\$ac_optarg
11331097 export $ac_envvar ;;
11341098
11351099 *)
11361100 # FIXME: should be removed in autoconf 3.0.
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11381102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11411105 ;;
11421106
11431107 esac
11451109
11461110 if test -n "$ac_prev"; then
11471111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 as_fn_error $? "missing argument to $ac_option"
1149 fi
1150
1151 if test -n "$ac_unrecognized_opts"; then
1152 case $enable_option_checking in
1153 no) ;;
1154 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1156 esac
1157 fi
1158
1159 # Check all directory arguments for consistency.
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1114 fi
1115
1116 # Be sure to have absolute directory names.
11601117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11611118 datadir sysconfdir sharedstatedir localstatedir includedir \
11621119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11631120 libdir localedir mandir
11641121 do
11651122 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1167 case $ac_val in
1168 */ )
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1171 esac
1172 # Be sure to have absolute directory names.
11731123 case $ac_val in
11741124 [\\/$]* | ?:[\\/]* ) continue;;
11751125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11761126 esac
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
11781129 done
11791130
11801131 # There might be people who depend on the old broken behavior: `$host'
11881139 if test "x$host_alias" != x; then
11891140 if test "x$build_alias" = x; then
11901141 cross_compiling=maybe
1191 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used" >&2
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
11931144 elif test "x$build_alias" != "x$host_alias"; then
11941145 cross_compiling=yes
11951146 fi
12041155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12051156 ac_ls_di=`ls -di .` &&
12061157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
12081160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
12101163
12111164
12121165 # Find the source files, if location was not specified.
12131166 if test -z "$srcdir"; then
12141167 ac_srcdir_defaulted=yes
12151168 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1169 ac_confdir=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174 echo X"$0" |
12221175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12231176 s//\1/
12241177 q
12451198 fi
12461199 if test ! -r "$srcdir/$ac_unique_file"; then
12471200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
12491203 fi
12501204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12511205 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
12531208 pwd)`
12541209 # When building in place, set srcdir=.
12551210 if test "$ac_abs_confdir" = "$ac_pwd"; then
12751230 # Omit some internal or obsolete options to make the list less imposing.
12761231 # This message is too long to be a string in the A/UX 3.1 sh.
12771232 cat <<_ACEOF
1278 \`configure' configures nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $ to adapt to many kinds of systems.
1233 \`configure' configures nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $ to adapt to many kinds of systems.
12791234
12801235 Usage: $0 [OPTION]... [VAR=VALUE]...
12811236
12891244 --help=short display options specific to this package
12901245 --help=recursive display the short help of all the included packages
12911246 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1247 -q, --quiet, --silent do not print \`checking...' messages
12931248 --cache-file=FILE cache test results in FILE [disabled]
12941249 -C, --config-cache alias for \`--cache-file=config.cache'
12951250 -n, --no-create do not create output files
12971252
12981253 Installation directories:
12991254 --prefix=PREFIX install architecture-independent files in PREFIX
1300 @<:@@S|@ac_default_prefix@:>@
1255 [$ac_default_prefix]
13011256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 @<:@PREFIX@:>@
1257 [PREFIX]
13031258
13041259 By default, \`make install' will install all the files in
13051260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
13091264 For better control, use the options below.
13101265
13111266 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/nfdump@:>@
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/nfdump@:>@
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
13311286 _ACEOF
13321287
13331288 cat <<\_ACEOF
13411296
13421297 if test -n "$ac_init_help"; then
13431298 case $ac_init_help in
1344 short | recursive ) echo "Configuration of nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $:";;
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
13451300 esac
13461301 cat <<\_ACEOF
13471302
13481303 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13501304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13511305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13521306 --disable-dependency-tracking speeds up one-time build
13721326 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13731327 nonstandard directory <lib dir>
13741328 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13761330 you have headers in a nonstandard directory <include dir>
1377 YACC The `Yet Another Compiler Compiler' implementation to use.
1378 Defaults to the first program found out of: `bison -y', `byacc',
1379 `yacc'.
1380 YFLAGS The list of arguments that will be passed by default to @S|@YACC.
1331 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1332 the first program found out of: `bison -y', `byacc', `yacc'.
1333 YFLAGS The list of arguments that will be passed by default to $YACC.
13811334 This script will default YFLAGS to the empty string to avoid a
13821335 default value of `-d' given by some make applications.
13831336 CPP C preprocessor
13931346 if test "$ac_init_help" = "recursive"; then
13941347 # If there are subdirs, report their specific --help.
13951348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
1349 test -d "$ac_dir" || continue
13991350 ac_builddir=.
14001351
14011352 case "$ac_dir" in
14021353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14031354 *)
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14051356 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14071358 case $ac_top_builddir_sub in
14081359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14091360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14391390 echo &&
14401391 $SHELL "$ac_srcdir/configure" --help=recursive
14411392 else
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14431394 fi || ac_status=$?
14441395 cd "$ac_pwd" || { ac_status=$?; break; }
14451396 done
14481399 test -n "$ac_init_help" && exit $ac_status
14491400 if $ac_init_version; then
14501401 cat <<\_ACEOF
1451 nfdump configure 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
1402 nfdump configure 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
1403 generated by GNU Autoconf 2.61
1404
1405 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1406 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14551407 This configure script is free software; the Free Software Foundation
14561408 gives unlimited permission to copy, distribute and modify it.
14571409 _ACEOF
14581410 exit
14591411 fi
1460
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1464
1465 @%:@ ac_fn_c_try_compile LINENO
1466 @%:@ --------------------------
1467 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_compile ()
1469 {
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 rm -f conftest.$ac_objext
1472 if { { ac_try="$ac_compile"
1473 case "(($ac_try" in
1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1476 esac
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_compile") 2>conftest.err
1480 ac_status=$?
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1485 fi
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest.$ac_objext; then :
1491 ac_retval=0
1492 else
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1495
1496 ac_retval=1
1497 fi
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status $ac_retval
1500
1501 } @%:@ ac_fn_c_try_compile
1502
1503 @%:@ ac_fn_c_try_link LINENO
1504 @%:@ -----------------------
1505 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_link ()
1507 {
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext conftest$ac_exeext
1510 if { { ac_try="$ac_link"
1511 case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_link") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest$ac_exeext && {
1529 test "$cross_compiling" = yes ||
1530 $as_test_x conftest$ac_exeext
1531 }; then :
1532 ac_retval=0
1533 else
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1536
1537 ac_retval=1
1538 fi
1539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1541 # interfere with the next link command; also delete a directory that is
1542 # left behind by Apple's compiler. We do this before executing the actions.
1543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545 as_fn_set_status $ac_retval
1546
1547 } @%:@ ac_fn_c_try_link
1548
1549 @%:@ ac_fn_c_try_cpp LINENO
1550 @%:@ ----------------------
1551 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1552 ac_fn_c_try_cpp ()
1553 {
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 case "(($ac_try" in
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1559 esac
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 ac_status=$?
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1568 fi
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } > conftest.i && {
1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 }; then :
1574 ac_retval=0
1575 else
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579 ac_retval=1
1580 fi
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1583
1584 } @%:@ ac_fn_c_try_cpp
1585
1586 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1587 @%:@ -------------------------------------------------------
1588 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1589 @%:@ the include files in INCLUDES and setting the cache variable VAR
1590 @%:@ accordingly.
1591 ac_fn_c_check_header_mongrel ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if eval \${$3+:} false; then :
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if eval \${$3+:} false; then :
1598 $as_echo_n "(cached) " >&6
1599 fi
1600 eval ac_res=\$$3
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602 $as_echo "$ac_res" >&6; }
1603 else
1604 # Is the header compilable?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1606 $as_echo_n "checking $2 usability... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 $4
1610 @%:@include <$2>
1611 _ACEOF
1612 if ac_fn_c_try_compile "$LINENO"; then :
1613 ac_header_compiler=yes
1614 else
1615 ac_header_compiler=no
1616 fi
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1619 $as_echo "$ac_header_compiler" >&6; }
1620
1621 # Is the header present?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1623 $as_echo_n "checking $2 presence... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1626 @%:@include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_cpp "$LINENO"; then :
1629 ac_header_preproc=yes
1630 else
1631 ac_header_preproc=no
1632 fi
1633 rm -f conftest.err conftest.i conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1635 $as_echo "$ac_header_preproc" >&6; }
1636
1637 # So? What about this header?
1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 yes:no: )
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 ;;
1645 no:yes:* )
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 ( $as_echo "## ------------------------------------------ ##
1657 ## Report this to phaag@users.sourceforge.net ##
1658 ## ------------------------------------------ ##"
1659 ) | sed "s/^/$as_me: WARNING: /" >&2
1660 ;;
1661 esac
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1666 else
1667 eval "$3=\$ac_header_compiler"
1668 fi
1669 eval ac_res=\$$3
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 fi
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674
1675 } @%:@ ac_fn_c_check_header_mongrel
1676
1677 @%:@ ac_fn_c_try_run LINENO
1678 @%:@ ----------------------
1679 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1680 @%:@ that executables *can* be run.
1681 ac_fn_c_try_run ()
1682 {
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1685 case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1692 ac_status=$?
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1702 ac_status=$?
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1710
1711 ac_retval=$ac_status
1712 fi
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1716
1717 } @%:@ ac_fn_c_try_run
1718
1719 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 @%:@ -------------------------------------------------------
1721 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1722 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 else
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 $4
1734 @%:@include <$2>
1735 _ACEOF
1736 if ac_fn_c_try_compile "$LINENO"; then :
1737 eval "$3=yes"
1738 else
1739 eval "$3=no"
1740 fi
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 fi
1743 eval ac_res=\$$3
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747
1748 } @%:@ ac_fn_c_check_header_compile
1749
1750 @%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1751 @%:@ ----------------------------------------------------
1752 @%:@ Tries to find if the field MEMBER exists in type AGGR, after including
1753 @%:@ INCLUDES, setting cache variable VAR accordingly.
1754 ac_fn_c_check_member ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1758 $as_echo_n "checking for $2.$3... " >&6; }
1759 if eval \${$4+:} false; then :
1760 $as_echo_n "(cached) " >&6
1761 else
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 $5
1765 int
1766 main ()
1767 {
1768 static $2 ac_aggr;
1769 if (ac_aggr.$3)
1770 return 0;
1771 ;
1772 return 0;
1773 }
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 eval "$4=yes"
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $5
1781 int
1782 main ()
1783 {
1784 static $2 ac_aggr;
1785 if (sizeof ac_aggr.$3)
1786 return 0;
1787 ;
1788 return 0;
1789 }
1790 _ACEOF
1791 if ac_fn_c_try_compile "$LINENO"; then :
1792 eval "$4=yes"
1793 else
1794 eval "$4=no"
1795 fi
1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 fi
1800 eval ac_res=\$$4
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
1805 } @%:@ ac_fn_c_check_member
1806
1807 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1808 @%:@ ----------------------------------
1809 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1811 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1823
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1828
1829 #ifdef __STDC__
1830 # include <limits.h>
1831 #else
1832 # include <assert.h>
1833 #endif
1834
1835 #undef $2
1836
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1840 #ifdef __cplusplus
1841 extern "C"
1842 #endif
1843 char $2 ();
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1848 choke me
1849 #endif
1850
1851 int
1852 main ()
1853 {
1854 return $2 ();
1855 ;
1856 return 0;
1857 }
1858 _ACEOF
1859 if ac_fn_c_try_link "$LINENO"; then :
1860 eval "$3=yes"
1861 else
1862 eval "$3=no"
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
1872 } @%:@ ac_fn_c_check_func
1873
1874 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1875 @%:@ --------------------------------------------
1876 @%:@ Tries to find the compile-time value of EXPR in a program that includes
1877 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1878 @%:@ computed
1879 ac_fn_c_compute_int ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if test "$cross_compiling" = yes; then
1883 # Depending upon the size, compute the lo and hi bounds.
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 $4
1887 int
1888 main ()
1889 {
1890 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1891 test_array @<:@0@:>@ = 0
1892
1893 ;
1894 return 0;
1895 }
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 ac_lo=0 ac_mid=0
1899 while :; do
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 $4
1903 int
1904 main ()
1905 {
1906 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1907 test_array @<:@0@:>@ = 0
1908
1909 ;
1910 return 0;
1911 }
1912 _ACEOF
1913 if ac_fn_c_try_compile "$LINENO"; then :
1914 ac_hi=$ac_mid; break
1915 else
1916 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1917 if test $ac_lo -le $ac_mid; then
1918 ac_lo= ac_hi=
1919 break
1920 fi
1921 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 done
1925 else
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1928 $4
1929 int
1930 main ()
1931 {
1932 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1933 test_array @<:@0@:>@ = 0
1934
1935 ;
1936 return 0;
1937 }
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 ac_hi=-1 ac_mid=-1
1941 while :; do
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1944 $4
1945 int
1946 main ()
1947 {
1948 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1949 test_array @<:@0@:>@ = 0
1950
1951 ;
1952 return 0;
1953 }
1954 _ACEOF
1955 if ac_fn_c_try_compile "$LINENO"; then :
1956 ac_lo=$ac_mid; break
1957 else
1958 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1959 if test $ac_mid -le $ac_hi; then
1960 ac_lo= ac_hi=
1961 break
1962 fi
1963 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 done
1967 else
1968 ac_lo= ac_hi=
1969 fi
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 fi
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 # Binary search between lo and hi bounds.
1974 while test "x$ac_lo" != "x$ac_hi"; do
1975 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1978 $4
1979 int
1980 main ()
1981 {
1982 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1983 test_array @<:@0@:>@ = 0
1984
1985 ;
1986 return 0;
1987 }
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_hi=$ac_mid
1991 else
1992 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1993 fi
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 done
1996 case $ac_lo in @%:@((
1997 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1998 '') ac_retval=1 ;;
1999 esac
2000 else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2003 $4
2004 static long int longval () { return $2; }
2005 static unsigned long int ulongval () { return $2; }
2006 @%:@include <stdio.h>
2007 @%:@include <stdlib.h>
2008 int
2009 main ()
2010 {
2011
2012 FILE *f = fopen ("conftest.val", "w");
2013 if (! f)
2014 return 1;
2015 if (($2) < 0)
2016 {
2017 long int i = longval ();
2018 if (i != ($2))
2019 return 1;
2020 fprintf (f, "%ld", i);
2021 }
2022 else
2023 {
2024 unsigned long int i = ulongval ();
2025 if (i != ($2))
2026 return 1;
2027 fprintf (f, "%lu", i);
2028 }
2029 /* Do not output a trailing newline, as this causes \r\n confusion
2030 on some platforms. */
2031 return ferror (f) || fclose (f) != 0;
2032
2033 ;
2034 return 0;
2035 }
2036 _ACEOF
2037 if ac_fn_c_try_run "$LINENO"; then :
2038 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2039 else
2040 ac_retval=1
2041 fi
2042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2043 conftest.$ac_objext conftest.beam conftest.$ac_ext
2044 rm -f conftest.val
2045
2046 fi
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2049
2050 } @%:@ ac_fn_c_compute_int
2051
2052 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 @%:@ -------------------------------------------
2054 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2055 @%:@ variable VAR accordingly.
2056 ac_fn_c_check_type ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 eval "$3=no"
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2067 $4
2068 int
2069 main ()
2070 {
2071 if (sizeof ($2))
2072 return 0;
2073 ;
2074 return 0;
2075 }
2076 _ACEOF
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2080 $4
2081 int
2082 main ()
2083 {
2084 if (sizeof (($2)))
2085 return 0;
2086 ;
2087 return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091
2092 else
2093 eval "$3=yes"
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 fi
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 fi
2099 eval ac_res=\$$3
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103
2104 } @%:@ ac_fn_c_check_type
21051412 cat >config.log <<_ACEOF
21061413 This file contains any messages produced by compilers while
21071414 running configure, to aid debugging if configure makes a mistake.
21081415
2109 It was created by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
1416 It was created by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
1417 generated by GNU Autoconf 2.61. Invocation command line was
21111418
21121419 $ $0 $@
21131420
21151422 exec 5>>config.log
21161423 {
21171424 cat <<_ASUNAME
2118 ## --------- ##
2119 ## Platform. ##
2120 ## --------- ##
1425 @%:@@%:@ --------- @%:@@%:@
1426 @%:@@%:@ Platform. @%:@@%:@
1427 @%:@@%:@ --------- @%:@@%:@
21211428
21221429 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
21231430 uname -m = `(uname -m) 2>/dev/null || echo unknown`
21431450 do
21441451 IFS=$as_save_IFS
21451452 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2147 done
1453 echo "PATH: $as_dir"
1454 done
21481455 IFS=$as_save_IFS
21491456
21501457 } >&5
21521459 cat >&5 <<_ACEOF
21531460
21541461
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
1462 @%:@@%:@ ----------- @%:@@%:@
1463 @%:@@%:@ Core tests. @%:@@%:@
1464 @%:@@%:@ ----------- @%:@@%:@
21581465
21591466 _ACEOF
21601467
21781485 | -silent | --silent | --silen | --sile | --sil)
21791486 continue ;;
21801487 *\'*)
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21821489 esac
21831490 case $ac_pass in
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
21851492 2)
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
21871494 if test $ac_must_keep_next = true; then
21881495 ac_must_keep_next=false # Got value, back to normal.
21891496 else
21991506 -* ) ac_must_keep_next=true ;;
22001507 esac
22011508 fi
2202 as_fn_append ac_configure_args " '$ac_arg'"
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
22031510 ;;
22041511 esac
22051512 done
22061513 done
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
1514 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1515 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
22091516
22101517 # When interrupted or exit'd, cleanup temporary files, and complete
22111518 # config.log. We remove comments because anyway the quotes in there
22171524 {
22181525 echo
22191526
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
1527 cat <<\_ASBOX
1528 @%:@@%:@ ---------------- @%:@@%:@
1529 @%:@@%:@ Cache variables. @%:@@%:@
1530 @%:@@%:@ ---------------- @%:@@%:@
1531 _ASBOX
22231532 echo
22241533 # The following way of writing the cache mishandles newlines in values,
22251534 (
22281537 case $ac_val in #(
22291538 *${as_nl}*)
22301539 case $ac_var in #(
2231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1540 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1541 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22331542 esac
22341543 case $ac_var in #(
22351544 _ | IFS | as_nl) ;; #(
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
1545 *) $as_unset $ac_var ;;
22381546 esac ;;
22391547 esac
22401548 done
22531561 )
22541562 echo
22551563
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
1564 cat <<\_ASBOX
1565 @%:@@%:@ ----------------- @%:@@%:@
1566 @%:@@%:@ Output variables. @%:@@%:@
1567 @%:@@%:@ ----------------- @%:@@%:@
1568 _ASBOX
22591569 echo
22601570 for ac_var in $ac_subst_vars
22611571 do
22621572 eval ac_val=\$$ac_var
22631573 case $ac_val in
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22651575 esac
2266 $as_echo "$ac_var='\''$ac_val'\''"
1576 echo "$ac_var='\''$ac_val'\''"
22671577 done | sort
22681578 echo
22691579
22701580 if test -n "$ac_subst_files"; then
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
1581 cat <<\_ASBOX
1582 @%:@@%:@ ------------------- @%:@@%:@
1583 @%:@@%:@ File substitutions. @%:@@%:@
1584 @%:@@%:@ ------------------- @%:@@%:@
1585 _ASBOX
22741586 echo
22751587 for ac_var in $ac_subst_files
22761588 do
22771589 eval ac_val=\$$ac_var
22781590 case $ac_val in
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22801592 esac
2281 $as_echo "$ac_var='\''$ac_val'\''"
1593 echo "$ac_var='\''$ac_val'\''"
22821594 done | sort
22831595 echo
22841596 fi
22851597
22861598 if test -s confdefs.h; then
2287 $as_echo "## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##"
1599 cat <<\_ASBOX
1600 @%:@@%:@ ----------- @%:@@%:@
1601 @%:@@%:@ confdefs.h. @%:@@%:@
1602 @%:@@%:@ ----------- @%:@@%:@
1603 _ASBOX
22901604 echo
22911605 cat confdefs.h
22921606 echo
22931607 fi
22941608 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
22971611 } >&5
22981612 rm -f core *.core core.conftest.* &&
22991613 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23001614 exit $exit_status
23011615 ' 0
23021616 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23041618 done
23051619 ac_signal=0
23061620
23071621 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23081622 rm -f -r conftest* confdefs.h
23091623
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
23121624 # Predefined preprocessor variables.
23131625
23141626 cat >>confdefs.h <<_ACEOF
23151627 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
23161628 _ACEOF
23171629
1630
23181631 cat >>confdefs.h <<_ACEOF
23191632 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
23201633 _ACEOF
23211634
1635
23221636 cat >>confdefs.h <<_ACEOF
23231637 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
23241638 _ACEOF
23251639
1640
23261641 cat >>confdefs.h <<_ACEOF
23271642 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
23281643 _ACEOF
23291644
1645
23301646 cat >>confdefs.h <<_ACEOF
23311647 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
23321648 _ACEOF
23331649
2334 cat >>confdefs.h <<_ACEOF
2335 @%:@define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
23381650
23391651 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
1652 # Prefer explicitly selected file to automatically selected ones.
23431653 if test -n "$CONFIG_SITE"; then
2344 # We do not want a PATH search for config.site.
2345 case $CONFIG_SITE in @%:@((
2346 -*) ac_site_file1=./$CONFIG_SITE;;
2347 */*) ac_site_file1=$CONFIG_SITE;;
2348 *) ac_site_file1=./$CONFIG_SITE;;
2349 esac
1654 set x "$CONFIG_SITE"
23501655 elif test "x$prefix" != xNONE; then
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2353 else
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2356 fi
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1656 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1657 else
1658 set x "$ac_default_prefix/share/config.site" \
1659 "$ac_default_prefix/etc/config.site"
1660 fi
1661 shift
1662 for ac_site_file
23581663 do
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1664 if test -r "$ac_site_file"; then
1665 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1666 echo "$as_me: loading site script $ac_site_file" >&6;}
23631667 sed 's/^/| /' "$ac_site_file" >&5
2364 . "$ac_site_file" \
2365 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "failed to load site script $ac_site_file
2368 See \`config.log' for more details" "$LINENO" 5; }
1668 . "$ac_site_file"
23691669 fi
23701670 done
23711671
23721672 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
1673 # Some versions of bash will fail to source /dev/null (special
1674 # files actually), so we avoid doing that.
1675 if test -f "$cache_file"; then
1676 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1677 echo "$as_me: loading cache $cache_file" >&6;}
23781678 case $cache_file in
23791679 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23801680 *) . "./$cache_file";;
23811681 esac
23821682 fi
23831683 else
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
23861686 >$cache_file
23871687 fi
23881688
2389 as_fn_append ac_header_list " sys/time.h"
2390 as_fn_append ac_header_list " unistd.h"
2391 as_fn_append ac_func_list " alarm"
1689 ac_header_list="$ac_header_list sys/time.h"
1690 ac_header_list="$ac_header_list unistd.h"
1691 ac_func_list="$ac_func_list alarm"
23921692 # Check that the precious variables saved in the cache have kept the same
23931693 # value.
23941694 ac_cache_corrupted=false
23991699 eval ac_new_val=\$ac_env_${ac_var}_value
24001700 case $ac_old_set,$ac_new_set in
24011701 set,)
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1702 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1703 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24041704 ac_cache_corrupted=: ;;
24051705 ,set)
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1706 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1707 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24081708 ac_cache_corrupted=: ;;
24091709 ,);;
24101710 *)
24111711 if test "x$ac_old_val" != "x$ac_new_val"; then
2412 # differences in whitespace do not lead to failure.
2413 ac_old_val_w=`echo x $ac_old_val`
2414 ac_new_val_w=`echo x $ac_new_val`
2415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418 ac_cache_corrupted=:
2419 else
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422 eval $ac_var=\$ac_old_val
2423 fi
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1713 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1714 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1715 echo "$as_me: former value: $ac_old_val" >&2;}
1716 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1717 echo "$as_me: current value: $ac_new_val" >&2;}
1718 ac_cache_corrupted=:
24281719 fi;;
24291720 esac
24301721 # Pass precious variables to config.status.
24311722 if test "$ac_new_set" = set; then
24321723 case $ac_new_val in
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24341725 *) ac_arg=$ac_var=$ac_new_val ;;
24351726 esac
24361727 case " $ac_configure_args " in
24371728 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
24391730 esac
24401731 fi
24411732 done
24421733 if $ac_cache_corrupted; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448 fi
2449 ## -------------------- ##
2450 ## Main body of script. ##
2451 ## -------------------- ##
1734 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1735 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1736 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1737 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1738 { (exit 1); exit 1; }; }
1739 fi
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
24521764
24531765 ac_ext=c
24541766 ac_cpp='$CPP $CPPFLAGS'
24601772 #AC_CONFIG_SRCDIR([grammar.y])
24611773 ac_config_headers="$ac_config_headers config.h"
24621774
2463 am__api_version='1.11'
1775 am__api_version='1.10'
24641776
24651777 ac_aux_dir=
24661778 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
24791791 fi
24801792 done
24811793 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1794 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1795 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1796 { (exit 1); exit 1; }; }
24831797 fi
24841798
24851799 # These three variables are undocumented and unsupported,
25041818 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
25051819 # OS/2's system install, which has a completely different semantic
25061820 # ./install, which can be erroneously created by make from ./install.sh.
2507 # Reject install programs that cannot install multiple files.
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1821 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1822 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
25101823 if test -z "$INSTALL"; then
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
25131826 else
25141827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25151828 for as_dir in $PATH
25161829 do
25171830 IFS=$as_save_IFS
25181831 test -z "$as_dir" && as_dir=.
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in @%:@((
2521 ./ | .// | /[cC]/* | \
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
25221835 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
25241837 /usr/ucb/* ) ;;
25251838 *)
25261839 # OSF1 and SCO ODT 3.0 have their own names for install.
25381851 # program-specific install script used by HP pwplus--don't use.
25391852 :
25401853 else
2541 rm -rf conftest.one conftest.two conftest.dir
2542 echo one > conftest.one
2543 echo two > conftest.two
2544 mkdir conftest.dir
2545 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2546 test -s conftest.one && test -s conftest.two &&
2547 test -s conftest.dir/conftest.one &&
2548 test -s conftest.dir/conftest.two
2549 then
2550 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2551 break 3
2552 fi
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
25531856 fi
25541857 fi
25551858 done
25561859 done
25571860 ;;
25581861 esac
2559
2560 done
1862 done
25611863 IFS=$as_save_IFS
25621864
2563 rm -rf conftest.one conftest.two conftest.dir
25641865
25651866 fi
25661867 if test "${ac_cv_path_install+set}" = set; then
25731874 INSTALL=$ac_install_sh
25741875 fi
25751876 fi
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
25781879
25791880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25801881 # It thinks the first close brace ends the variable substitution.
25841885
25851886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25861887
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2588 $as_echo_n "checking whether build environment is sane... " >&6; }
1888 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1889 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
25891890 # Just in case
25901891 sleep 1
25911892 echo timestamp > conftest.file
2592 # Reject unsafe characters in $srcdir or the absolute working directory
2593 # name. Accept space and tab only in the latter.
2594 am_lf='
2595 '
2596 case `pwd` in
2597 *[\\\"\#\$\&\'\`$am_lf]*)
2598 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2599 esac
2600 case $srcdir in
2601 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2602 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2603 esac
2604
26051893 # Do `set' in a subshell so we don't clobber the current shell's
26061894 # arguments. Must try -L first in case configure is actually a
26071895 # symlink; some systems play weird games with the mod time of symlinks
26081896 # (eg FreeBSD returns the mod time of the symlink's containing
26091897 # directory).
26101898 if (
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
26121900 if test "$*" = "X"; then
26131901 # -L didn't work.
2614 set X `ls -t "$srcdir/configure" conftest.file`
1902 set X `ls -t $srcdir/configure conftest.file`
26151903 fi
26161904 rm -f conftest.file
26171905 if test "$*" != "X $srcdir/configure conftest.file" \
26211909 # if, for instance, CONFIG_SHELL is bash and it inherits a
26221910 # broken ls alias from the environment. This has actually
26231911 # happened. Such a system could not be considered "sane".
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
1912 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1913 alias in your environment" >&5
1914 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1915 alias in your environment" >&2;}
1916 { (exit 1); exit 1; }; }
26261917 fi
26271918
26281919 test "$2" = conftest.file
26311922 # Ok.
26321923 :
26331924 else
2634 as_fn_error $? "newly created file is older than distributed files!
2635 Check your system clock" "$LINENO" 5
2636 fi
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638 $as_echo "yes" >&6; }
1925 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1926 Check your system clock" >&5
1927 echo "$as_me: error: newly created file is older than distributed files!
1928 Check your system clock" >&2;}
1929 { (exit 1); exit 1; }; }
1930 fi
1931 { echo "$as_me:$LINENO: result: yes" >&5
1932 echo "${ECHO_T}yes" >&6; }
26391933 test "$program_prefix" != NONE &&
26401934 program_transform_name="s&^&$program_prefix&;$program_transform_name"
26411935 # Use a double $ so make ignores it.
26421936 test "$program_suffix" != NONE &&
26431937 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2644 # Double any \ or $.
1938 # Double any \ or $. echo might interpret backslashes.
26451939 # By default was `s,x,x', remove it if useless.
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1940 cat <<\_ACEOF >conftest.sed
1941 s/[\\$]/&&/g;s/;s,x,x,$//
1942 _ACEOF
1943 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1944 rm -f conftest.sed
26481945
26491946 # expand $ac_aux_dir to an absolute path
26501947 am_aux_dir=`cd $ac_aux_dir && pwd`
26511948
2652 if test x"${MISSING+set}" != xset; then
2653 case $am_aux_dir in
2654 *\ * | *\ *)
2655 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2656 *)
2657 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2658 esac
2659 fi
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
26601950 # Use eval to expand $SHELL
26611951 if eval "$MISSING --run true"; then
26621952 am_missing_run="$MISSING --run "
26631953 else
26641954 am_missing_run=
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2666 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2667 fi
2668
2669 if test x"${install_sh}" != xset; then
2670 case $am_aux_dir in
2671 *\ * | *\ *)
2672 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2673 *)
2674 install_sh="\${SHELL} $am_aux_dir/install-sh"
2675 esac
2676 fi
2677
2678 # Installed binaries are usually stripped using `strip' when the user
2679 # run `make install-strip'. However `strip' might not be the right
2680 # tool to use in cross-compilation environments, therefore Automake
2681 # will honor the `STRIP' environment variable to overrule this program.
2682 if test "$cross_compiling" != no; then
2683 if test -n "$ac_tool_prefix"; then
2684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2685 set dummy ${ac_tool_prefix}strip; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_STRIP+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 if test -n "$STRIP"; then
2692 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2693 else
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 for as_dir in $PATH
2696 do
2697 IFS=$as_save_IFS
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2704 fi
2705 done
2706 done
2707 IFS=$as_save_IFS
2708
2709 fi
2710 fi
2711 STRIP=$ac_cv_prog_STRIP
2712 if test -n "$STRIP"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2714 $as_echo "$STRIP" >&6; }
2715 else
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 fi
2719
2720
2721 fi
2722 if test -z "$ac_cv_prog_STRIP"; then
2723 ac_ct_STRIP=$STRIP
2724 # Extract the first word of "strip", so it can be a program name with args.
2725 set dummy strip; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 if test -n "$ac_ct_STRIP"; then
2732 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_ac_ct_STRIP="strip"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 break 2
2744 fi
2745 done
2746 done
2747 IFS=$as_save_IFS
2748
2749 fi
2750 fi
2751 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2752 if test -n "$ac_ct_STRIP"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2754 $as_echo "$ac_ct_STRIP" >&6; }
2755 else
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2758 fi
2759
2760 if test "x$ac_ct_STRIP" = x; then
2761 STRIP=":"
2762 else
2763 case $cross_compiling:$ac_tool_warned in
2764 yes:)
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2767 ac_tool_warned=yes ;;
2768 esac
2769 STRIP=$ac_ct_STRIP
2770 fi
2771 else
2772 STRIP="$ac_cv_prog_STRIP"
2773 fi
2774
2775 fi
2776 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2777
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2779 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1955 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1956 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1957 fi
1958
1959 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1960 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
27801961 if test -z "$MKDIR_P"; then
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
27831964 else
27841965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851966 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27861967 do
27871968 IFS=$as_save_IFS
27881969 test -z "$as_dir" && as_dir=.
2789 for ac_prog in mkdir gmkdir; do
1970 for ac_prog in mkdir gmkdir; do
27901971 for ac_exec_ext in '' $ac_executable_extensions; do
27911972 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
27921973 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
27981979 esac
27991980 done
28001981 done
2801 done
1982 done
28021983 IFS=$as_save_IFS
28031984
28041985 fi
28051986
2806 test -d ./--version && rmdir ./--version
28071987 if test "${ac_cv_path_mkdir+set}" = set; then
28081988 MKDIR_P="$ac_cv_path_mkdir -p"
28091989 else
28111991 # value for MKDIR_P within a source directory, because that will
28121992 # break other packages using the cache if that directory is
28131993 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
28141995 MKDIR_P="$ac_install_sh -d"
28151996 fi
28161997 fi
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
28192000
28202001 mkdir_p="$MKDIR_P"
28212002 case $mkdir_p in
28272008 do
28282009 # Extract the first word of "$ac_prog", so it can be a program name with args.
28292010 set dummy $ac_prog; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_AWK+:} false; then :
2833 $as_echo_n "(cached) " >&6
2011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2013 if test "${ac_cv_prog_AWK+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
28342015 else
28352016 if test -n "$AWK"; then
28362017 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28402021 do
28412022 IFS=$as_save_IFS
28422023 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2024 for ac_exec_ext in '' $ac_executable_extensions; do
28442025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28452026 ac_cv_prog_AWK="$ac_prog"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28472028 break 2
28482029 fi
28492030 done
2850 done
2031 done
28512032 IFS=$as_save_IFS
28522033
28532034 fi
28542035 fi
28552036 AWK=$ac_cv_prog_AWK
28562037 if test -n "$AWK"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2858 $as_echo "$AWK" >&6; }
2859 else
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2038 { echo "$as_me:$LINENO: result: $AWK" >&5
2039 echo "${ECHO_T}$AWK" >&6; }
2040 else
2041 { echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6; }
28622043 fi
28632044
28642045
28652046 test -n "$AWK" && break
28662047 done
28672048
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2869 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870 set x ${MAKE-make}
2871 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873 $as_echo_n "(cached) " >&6
2049 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2050 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2051 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2052 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
28742054 else
28752055 cat >conftest.make <<\_ACEOF
28762056 SHELL = /bin/sh
28772057 all:
28782058 @echo '@@@%%%=$(MAKE)=@@@%%%'
28792059 _ACEOF
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28812061 case `${MAKE-make} -f conftest.make 2>/dev/null` in
28822062 *@@@%%%=?*=@@@%%%*)
28832063 eval ac_cv_prog_make_${ac_make}_set=yes;;
28872067 rm -f conftest.make
28882068 fi
28892069 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
28922072 SET_MAKE=
28932073 else
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
28962076 SET_MAKE="MAKE=${MAKE-make}"
28972077 fi
28982078
29112091 am__isrc=' -I$(srcdir)'
29122092 # test to see if srcdir already configured
29132093 if test -f $srcdir/config.status; then
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2094 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2095 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2096 { (exit 1); exit 1; }; }
29152097 fi
29162098 fi
29172099
29272109
29282110 # Define the identity of the package.
29292111 PACKAGE='nfdump'
2930 VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
29312113
29322114
29332115 cat >>confdefs.h <<_ACEOF
29542136
29552137
29562138 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2139
2140 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2141
2142 # Installed binaries are usually stripped using `strip' when the user
2143 # run `make install-strip'. However `strip' might not be the right
2144 # tool to use in cross-compilation environments, therefore Automake
2145 # will honor the `STRIP' environment variable to overrule this program.
2146 if test "$cross_compiling" != no; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}strip; ac_word=$2
2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152 if test "${ac_cv_prog_STRIP+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if test -n "$STRIP"; then
2156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2157 else
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2160 do
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 break 2
2168 fi
2169 done
2170 done
2171 IFS=$as_save_IFS
2172
2173 fi
2174 fi
2175 STRIP=$ac_cv_prog_STRIP
2176 if test -n "$STRIP"; then
2177 { echo "$as_me:$LINENO: result: $STRIP" >&5
2178 echo "${ECHO_T}$STRIP" >&6; }
2179 else
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2182 fi
2183
2184
2185 fi
2186 if test -z "$ac_cv_prog_STRIP"; then
2187 ac_ct_STRIP=$STRIP
2188 # Extract the first word of "strip", so it can be a program name with args.
2189 set dummy strip; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 if test -n "$ac_ct_STRIP"; then
2196 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2197 else
2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 for as_dir in $PATH
2200 do
2201 IFS=$as_save_IFS
2202 test -z "$as_dir" && as_dir=.
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_ac_ct_STRIP="strip"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2208 fi
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214 fi
2215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2216 if test -n "$ac_ct_STRIP"; then
2217 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2218 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2219 else
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 fi
2223
2224 if test "x$ac_ct_STRIP" = x; then
2225 STRIP=":"
2226 else
2227 case $cross_compiling:$ac_tool_warned in
2228 yes:)
2229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2230 whose name does not start with the host triplet. If you think this
2231 configuration is useful to you, please write to autoconf@gnu.org." >&5
2232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2233 whose name does not start with the host triplet. If you think this
2234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2235 ac_tool_warned=yes ;;
2236 esac
2237 STRIP=$ac_ct_STRIP
2238 fi
2239 else
2240 STRIP="$ac_cv_prog_STRIP"
2241 fi
2242
2243 fi
2244 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
29572245
29582246 # We need awk for the "check" target. The system "awk" is bad on
29592247 # some platforms.
29772265 if test -n "$ac_tool_prefix"; then
29782266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
29792267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
29842272 else
29852273 if test -n "$CC"; then
29862274 ac_cv_prog_CC="$CC" # Let the user override the test.
29902278 do
29912279 IFS=$as_save_IFS
29922280 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
29942282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29952283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29972285 break 2
29982286 fi
29992287 done
3000 done
2288 done
30012289 IFS=$as_save_IFS
30022290
30032291 fi
30042292 fi
30052293 CC=$ac_cv_prog_CC
30062294 if test -n "$CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3009 else
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
2295 { echo "$as_me:$LINENO: result: $CC" >&5
2296 echo "${ECHO_T}$CC" >&6; }
2297 else
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
30122300 fi
30132301
30142302
30172305 ac_ct_CC=$CC
30182306 # Extract the first word of "gcc", so it can be a program name with args.
30192307 set dummy gcc; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3023 $as_echo_n "(cached) " >&6
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
30242312 else
30252313 if test -n "$ac_ct_CC"; then
30262314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30302318 do
30312319 IFS=$as_save_IFS
30322320 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
2321 for ac_exec_ext in '' $ac_executable_extensions; do
30342322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30352323 ac_cv_prog_ac_ct_CC="gcc"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30372325 break 2
30382326 fi
30392327 done
3040 done
2328 done
30412329 IFS=$as_save_IFS
30422330
30432331 fi
30442332 fi
30452333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30462334 if test -n "$ac_ct_CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3048 $as_echo "$ac_ct_CC" >&6; }
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
30522340 fi
30532341
30542342 if test "x$ac_ct_CC" = x; then
30562344 else
30572345 case $cross_compiling:$ac_tool_warned in
30582346 yes:)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2348 whose name does not start with the host triplet. If you think this
2349 configuration is useful to you, please write to autoconf@gnu.org." >&5
2350 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30612353 ac_tool_warned=yes ;;
30622354 esac
30632355 CC=$ac_ct_CC
30702362 if test -n "$ac_tool_prefix"; then
30712363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30722364 set dummy ${ac_tool_prefix}cc; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_CC+:} false; then :
3076 $as_echo_n "(cached) " >&6
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
30772369 else
30782370 if test -n "$CC"; then
30792371 ac_cv_prog_CC="$CC" # Let the user override the test.
30832375 do
30842376 IFS=$as_save_IFS
30852377 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
2378 for ac_exec_ext in '' $ac_executable_extensions; do
30872379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30882380 ac_cv_prog_CC="${ac_tool_prefix}cc"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30902382 break 2
30912383 fi
30922384 done
3093 done
2385 done
30942386 IFS=$as_save_IFS
30952387
30962388 fi
30972389 fi
30982390 CC=$ac_cv_prog_CC
30992391 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
2392 { echo "$as_me:$LINENO: result: $CC" >&5
2393 echo "${ECHO_T}$CC" >&6; }
2394 else
2395 { echo "$as_me:$LINENO: result: no" >&5
2396 echo "${ECHO_T}no" >&6; }
31052397 fi
31062398
31072399
31102402 if test -z "$CC"; then
31112403 # Extract the first word of "cc", so it can be a program name with args.
31122404 set dummy cc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false; then :
3116 $as_echo_n "(cached) " >&6
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
31172409 else
31182410 if test -n "$CC"; then
31192411 ac_cv_prog_CC="$CC" # Let the user override the test.
31242416 do
31252417 IFS=$as_save_IFS
31262418 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
2419 for ac_exec_ext in '' $ac_executable_extensions; do
31282420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31292421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31302422 ac_prog_rejected=yes
31312423 continue
31322424 fi
31332425 ac_cv_prog_CC="cc"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31352427 break 2
31362428 fi
31372429 done
3138 done
2430 done
31392431 IFS=$as_save_IFS
31402432
31412433 if test $ac_prog_rejected = yes; then
31542446 fi
31552447 CC=$ac_cv_prog_CC
31562448 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3159 else
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
2449 { echo "$as_me:$LINENO: result: $CC" >&5
2450 echo "${ECHO_T}$CC" >&6; }
2451 else
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
31622454 fi
31632455
31642456
31692461 do
31702462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
31712463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false; then :
3175 $as_echo_n "(cached) " >&6
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
31762468 else
31772469 if test -n "$CC"; then
31782470 ac_cv_prog_CC="$CC" # Let the user override the test.
31822474 do
31832475 IFS=$as_save_IFS
31842476 test -z "$as_dir" && as_dir=.
3185 for ac_exec_ext in '' $ac_executable_extensions; do
2477 for ac_exec_ext in '' $ac_executable_extensions; do
31862478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31872479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31892481 break 2
31902482 fi
31912483 done
3192 done
2484 done
31932485 IFS=$as_save_IFS
31942486
31952487 fi
31962488 fi
31972489 CC=$ac_cv_prog_CC
31982490 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
2491 { echo "$as_me:$LINENO: result: $CC" >&5
2492 echo "${ECHO_T}$CC" >&6; }
2493 else
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
32042496 fi
32052497
32062498
32132505 do
32142506 # Extract the first word of "$ac_prog", so it can be a program name with args.
32152507 set dummy $ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
32202512 else
32212513 if test -n "$ac_ct_CC"; then
32222514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
32262518 do
32272519 IFS=$as_save_IFS
32282520 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
2521 for ac_exec_ext in '' $ac_executable_extensions; do
32302522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32312523 ac_cv_prog_ac_ct_CC="$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32332525 break 2
32342526 fi
32352527 done
3236 done
2528 done
32372529 IFS=$as_save_IFS
32382530
32392531 fi
32402532 fi
32412533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
32422534 if test -n "$ac_ct_CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 $as_echo "$ac_ct_CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
2535 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2536 echo "${ECHO_T}$ac_ct_CC" >&6; }
2537 else
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
32482540 fi
32492541
32502542
32562548 else
32572549 case $cross_compiling:$ac_tool_warned in
32582550 yes:)
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2552 whose name does not start with the host triplet. If you think this
2553 configuration is useful to you, please write to autoconf@gnu.org." >&5
2554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32612557 ac_tool_warned=yes ;;
32622558 esac
32632559 CC=$ac_ct_CC
32672563 fi
32682564
32692565
3270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "no acceptable C compiler found in \$PATH
3273 See \`config.log' for more details" "$LINENO" 5; }
2566 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
32742571
32752572 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3277 set X $ac_compile
3278 ac_compiler=$2
3279 for ac_option in --version -v -V -qversion; do
3280 { { ac_try="$ac_compiler $ac_option >&5"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288 ac_status=$?
3289 if test -s conftest.err; then
3290 sed '10a\
3291 ... rest of stderr output deleted ...
3292 10q' conftest.err >conftest.er1
3293 cat conftest.er1 >&5
3294 fi
3295 rm -f conftest.er1 conftest.err
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }
3298 done
3299
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 echo "$as_me:$LINENO: checking for C compiler version" >&5
2574 ac_compiler=`set X $ac_compile; echo $2`
2575 { (ac_try="$ac_compiler --version >&5"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 (eval "$ac_compiler -v >&5") 2>&5
2592 ac_status=$?
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }
2595 { (ac_try="$ac_compiler -V >&5"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compiler -V >&5") 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }
2605
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
33012611 /* end confdefs.h. */
33022612
33032613 int
33092619 }
33102620 _ACEOF
33112621 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
33132623 # Try to create an executable without -o first, disregard a.out.
33142624 # It will help us diagnose broken compilers, and finding out an intuition
33152625 # of exeext.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3317 $as_echo_n "checking whether the C compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322
2626 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2627 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629 #
2630 # List of possible output files, starting from the most likely.
2631 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2632 # only as a last resort. b.out is created by i960 compilers.
2633 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2634 #
2635 # The IRIX 6 linker writes into existing files which may not be
2636 # executable, retaining their permissions. Remove them first so a
2637 # subsequent execution test works.
33232638 ac_rmfiles=
33242639 for ac_file in $ac_files
33252640 do
33262641 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
33282643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
33292644 esac
33302645 done
33312646 rm -f $ac_rmfiles
33322647
3333 if { { ac_try="$ac_link_default"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
2648 if { (ac_try="$ac_link_default"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402654 (eval "$ac_link_default") 2>&5
33412655 ac_status=$?
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
33442658 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
33452659 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
33462660 # in a Makefile. We should not override ac_cv_exeext if it was cached,
33502664 do
33512665 test -f "$ac_file" || continue
33522666 case $ac_file in
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
33542668 ;;
33552669 [ab].out )
33562670 # We found the default executable, but exeext='' is most
33572671 # certainly right.
33582672 break;;
33592673 *.* )
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
33612675 then :; else
33622676 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
33632677 fi
33762690 else
33772691 ac_file=''
33782692 fi
3379 if test -z "$ac_file"; then :
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
2693
2694 { echo "$as_me:$LINENO: result: $ac_file" >&5
2695 echo "${ECHO_T}$ac_file" >&6; }
2696 if test -z "$ac_file"; then
2697 echo "$as_me: failed program was:" >&5
33832698 sed 's/^/| /' conftest.$ac_ext >&5
33842699
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3394 $as_echo_n "checking for C compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
2700 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2701 See \`config.log' for more details." >&5
2702 echo "$as_me: error: C compiler cannot create executables
2703 See \`config.log' for more details." >&2;}
2704 { (exit 77); exit 77; }; }
2705 fi
2706
33972707 ac_exeext=$ac_cv_exeext
33982708
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2709 # Check that the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile.
2711 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2712 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2713 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2714 # If not cross compiling, check that we can run a simple program.
2715 if test "$cross_compiling" != yes; then
2716 if { ac_try='./$ac_file'
2717 { (case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_try") 2>&5
2723 ac_status=$?
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2726 cross_compiling=no
2727 else
2728 if test "$cross_compiling" = maybe; then
2729 cross_compiling=yes
2730 else
2731 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2732 If you meant to cross compile, use \`--host'.
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2738 fi
2739 fi
2740 fi
2741 { echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6; }
2743
2744 rm -f a.out a.exe conftest$ac_cv_exeext b.out
34002745 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3404 case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
2746 # Check that the compiler produces executables we can run. If not, either
2747 # the compiler is broken, or we cross compile.
2748 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2749 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2750 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2751 echo "${ECHO_T}$cross_compiling" >&6; }
2752
2753 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2754 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2755 if { (ac_try="$ac_link"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34102761 (eval "$ac_link") 2>&5
34112762 ac_status=$?
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
34142765 # If both `conftest.exe' and `conftest' are `present' (well, observable)
34152766 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
34162767 # work properly (i.e., refer to `conftest.exe'), while it won't with
34182769 for ac_file in conftest.exe conftest conftest.*; do
34192770 test -f "$ac_file" || continue
34202771 case $ac_file in
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
34222773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
34232774 break;;
34242775 * ) break;;
34252776 esac
34262777 done
34272778 else
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
2779 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2780 See \`config.log' for more details." >&5
2781 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 rm -f conftest$ac_cv_exeext
2787 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2788 echo "${ECHO_T}$ac_cv_exeext" >&6; }
34362789
34372790 rm -f conftest.$ac_ext
34382791 EXEEXT=$ac_cv_exeext
34392792 ac_exeext=$EXEEXT
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3442 @%:@include <stdio.h>
2793 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2794 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2795 if test "${ac_cv_objext+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 else
2798 cat >conftest.$ac_ext <<_ACEOF
2799 /* confdefs.h. */
2800 _ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2804
34432805 int
34442806 main ()
34452807 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
34482808
34492809 ;
34502810 return 0;
34512811 }
34522812 _ACEOF
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run. If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459 { { ac_try="$ac_link"
3460 case "(($ac_try" in
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_link") 2>&5
3467 ac_status=$?
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }
3470 if { ac_try='./conftest$ac_cv_exeext'
3471 { { case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_try") 2>&5
3478 ac_status=$?
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; }; then
3481 cross_compiling=no
3482 else
3483 if test "$cross_compiling" = maybe; then
3484 cross_compiling=yes
3485 else
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3491 fi
3492 fi
3493 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3496
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506
3507 int
3508 main ()
3509 {
3510
3511 ;
3512 return 0;
3513 }
3514 _ACEOF
35152813 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
2814 if { (ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232820 (eval "$ac_compile") 2>&5
35242821 ac_status=$?
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
35272824 for ac_file in conftest.o conftest.obj conftest.*; do
35282825 test -f "$ac_file" || continue;
35292826 case $ac_file in
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
35312828 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
35322829 break;;
35332830 esac
35342831 done
35352832 else
3536 $as_echo "$as_me: failed program was:" >&5
2833 echo "$as_me: failed program was:" >&5
35372834 sed 's/^/| /' conftest.$ac_ext >&5
35382835
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3543 fi
2836 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
35442843 rm -f conftest.$ac_cv_objext conftest.$ac_ext
35452844 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
35482847 OBJEXT=$ac_cv_objext
35492848 ac_objext=$OBJEXT
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3552 if ${ac_cv_c_compiler_gnu+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2850 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2851 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
35562859 /* end confdefs.h. */
35572860
35582861 int
35662869 return 0;
35672870 }
35682871 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
2872 rm -f conftest.$ac_objext
2873 if { (ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_compile") 2>conftest.er1
2880 ac_status=$?
2881 grep -v '^ *+' conftest.er1 >conftest.err
2882 rm -f conftest.er1
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && {
2886 test -z "$ac_c_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext; then
35702889 ac_compiler_gnu=yes
35712890 else
3572 ac_compiler_gnu=no
3573 fi
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
35742897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35752898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
35762899
35772900 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3581 GCC=yes
3582 else
3583 GCC=
3584 fi
2901 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2902 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2903 GCC=`test $ac_compiler_gnu = yes && echo yes`
35852904 ac_test_CFLAGS=${CFLAGS+set}
35862905 ac_save_CFLAGS=$CFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3589 if ${ac_cv_prog_cc_g+:} false; then :
3590 $as_echo_n "(cached) " >&6
2906 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2907 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2908 if test "${ac_cv_prog_cc_g+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
35912910 else
35922911 ac_save_c_werror_flag=$ac_c_werror_flag
35932912 ac_c_werror_flag=yes
35942913 ac_cv_prog_cc_g=no
35952914 CFLAGS="-g"
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
35972920 /* end confdefs.h. */
35982921
35992922 int
36042927 return 0;
36052928 }
36062929 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
2930 rm -f conftest.$ac_objext
2931 if { (ac_try="$ac_compile"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_compile") 2>conftest.er1
2938 ac_status=$?
2939 grep -v '^ *+' conftest.er1 >conftest.err
2940 rm -f conftest.er1
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } && {
2944 test -z "$ac_c_werror_flag" ||
2945 test ! -s conftest.err
2946 } && test -s conftest.$ac_objext; then
36082947 ac_cv_prog_cc_g=yes
36092948 else
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 CFLAGS=""
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
36122958 /* end confdefs.h. */
36132959
36142960 int
36192965 return 0;
36202966 }
36212967 _ACEOF
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
2968 rm -f conftest.$ac_objext
2969 if { (ac_try="$ac_compile"
2970 case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973 esac
2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_compile") 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
2985 :
2986 else
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 ac_c_werror_flag=$ac_save_c_werror_flag
36262991 CFLAGS="-g"
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
36282997 /* end confdefs.h. */
36292998
36302999 int
36353004 return 0;
36363005 }
36373006 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
3007 rm -f conftest.$ac_objext
3008 if { (ac_try="$ac_compile"
3009 case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012 esac
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>conftest.er1
3015 ac_status=$?
3016 grep -v '^ *+' conftest.er1 >conftest.err
3017 rm -f conftest.er1
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } && {
3021 test -z "$ac_c_werror_flag" ||
3022 test ! -s conftest.err
3023 } && test -s conftest.$ac_objext; then
36393024 ac_cv_prog_cc_g=yes
3640 fi
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
36413032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423033 fi
3034
36433035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443036 fi
3037
36453038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463039 ac_c_werror_flag=$ac_save_c_werror_flag
36473040 fi
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
36503043 if test "$ac_test_CFLAGS" = set; then
36513044 CFLAGS=$ac_save_CFLAGS
36523045 elif test $ac_cv_prog_cc_g = yes; then
36623055 CFLAGS=
36633056 fi
36643057 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3667 if ${ac_cv_prog_cc_c89+:} false; then :
3668 $as_echo_n "(cached) " >&6
3058 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3059 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3060 if test "${ac_cv_prog_cc_c89+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
36693062 else
36703063 ac_cv_prog_cc_c89=no
36713064 ac_save_CC=$CC
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
36733070 /* end confdefs.h. */
36743071 #include <stdarg.h>
36753072 #include <stdio.h>
37263123 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37273124 do
37283125 CC="$ac_save_CC $ac_arg"
3729 if ac_fn_c_try_compile "$LINENO"; then :
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3134 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
37303143 ac_cv_prog_cc_c89=$ac_arg
3731 fi
3732 rm -f core conftest.err conftest.$ac_objext
3144 else
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3147
3148
3149 fi
3150
3151 rm -f core conftest.err conftest.$ac_objext
37333152 test "x$ac_cv_prog_cc_c89" != "xno" && break
37343153 done
37353154 rm -f conftest.$ac_ext
37393158 # AC_CACHE_VAL
37403159 case "x$ac_cv_prog_cc_c89" in
37413160 x)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
37443163 xno)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
37473166 *)
37483167 CC="$CC $ac_cv_prog_cc_c89"
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 esac
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3170 esac
3171
37553172
37563173 ac_ext=c
37573174 ac_cpp='$CPP $CPPFLAGS'
37663183 am_make=${MAKE-make}
37673184 cat > confinc << 'END'
37683185 am__doit:
3769 @echo this is the am__doit target
3186 @echo done
37703187 .PHONY: am__doit
37713188 END
37723189 # If we don't find an include directive, just comment out the code.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3774 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3190 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3191 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
37753192 am__include="#"
37763193 am__quote=
37773194 _am_result=none
37783195 # First try GNU make style include.
37793196 echo "include confinc" > confmf
3780 # Ignore all kinds of additional output from `make'.
3781 case `$am_make -s -f confmf 2> /dev/null` in #(
3782 *the\ am__doit\ target*)
3783 am__include=include
3784 am__quote=
3785 _am_result=GNU
3786 ;;
3787 esac
3197 # We grep out `Entering directory' and `Leaving directory'
3198 # messages which can occur if `w' ends up in MAKEFLAGS.
3199 # In particular we don't look at `^make:' because GNU make might
3200 # be invoked under some other name (usually "gmake"), in which
3201 # case it prints its new name instead of `make'.
3202 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3203 am__include=include
3204 am__quote=
3205 _am_result=GNU
3206 fi
37883207 # Now try BSD make style include.
37893208 if test "$am__include" = "#"; then
37903209 echo '.include "confinc"' > confmf
3791 case `$am_make -s -f confmf 2> /dev/null` in #(
3792 *the\ am__doit\ target*)
3793 am__include=.include
3794 am__quote="\""
3795 _am_result=BSD
3796 ;;
3797 esac
3798 fi
3799
3800
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3802 $as_echo "$_am_result" >&6; }
3210 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3211 am__include=.include
3212 am__quote="\""
3213 _am_result=BSD
3214 fi
3215 fi
3216
3217
3218 { echo "$as_me:$LINENO: result: $_am_result" >&5
3219 echo "${ECHO_T}$_am_result" >&6; }
38033220 rm -f confinc confmf
38043221
3805 @%:@ Check whether --enable-dependency-tracking was given.
3806 if test "${enable_dependency_tracking+set}" = set; then :
3222 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
38073224 enableval=$enable_dependency_tracking;
38083225 fi
38093226
38233240
38243241 depcc="$CC" am_compiler_list=
38253242
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3827 $as_echo_n "checking dependency style of $depcc... " >&6; }
3828 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3829 $as_echo_n "(cached) " >&6
3243 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3244 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3245 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
38303247 else
38313248 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38323249 # We make a subdir and do the tests there. Otherwise we can end up
38513268 if test "$am_compiler_list" = ""; then
38523269 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38533270 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
38593271 for depmode in $am_compiler_list; do
38603272 # Setup a source with many dependencies, because some compilers
38613273 # like to wrap large dependency lists on column 80 (with \), and
38733285 done
38743286 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38753287
3876 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3877 # mode. It turns out that the SunPro C++ compiler does not properly
3878 # handle `-M -o', and we need to detect this. Also, some Intel
3879 # versions had trouble with output in subdirs
3880 am__obj=sub/conftest.${OBJEXT-o}
3881 am__minus_obj="-o $am__obj"
38823288 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
38873289 nosideeffect)
38883290 # after this tag, mechanisms are not by side-effect, so they'll
38893291 # only be used when explicitly requested
38933295 break
38943296 fi
38953297 ;;
3896 msvisualcpp | msvcmsys)
3897 # This compiler won't grok `-c -o', but also, the minuso test has
3898 # not run yet. These depmodes are late enough in the game, and
3899 # so weak that their functioning should not be impacted.
3900 am__obj=conftest.${OBJEXT-o}
3901 am__minus_obj=
3902 ;;
39033298 none) break ;;
39043299 esac
3300 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3301 # mode. It turns out that the SunPro C++ compiler does not properly
3302 # handle `-M -o', and we need to detect this.
39053303 if depmode=$depmode \
3906 source=sub/conftest.c object=$am__obj \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
39073305 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
39093307 >/dev/null 2>conftest.err &&
39103308 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
39113309 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
39133311 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
39143312 # icc doesn't choke on unknown options, it will just issue warnings
39153313 # or remarks (even with -Werror). So we grep stderr for any message
39333331 fi
39343332
39353333 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3937 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
39383336 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
39393337
39403338 if
39493347
39503348
39513349 if test "x$CC" != xcc; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3953 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3954 else
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3956 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3957 fi
3958 set dummy $CC; ac_cc=`$as_echo "$2" |
3350 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3351 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3352 else
3353 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3354 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3355 fi
3356 set dummy $CC; ac_cc=`echo $2 |
39593357 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3960 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 cat >conftest.$ac_ext <<_ACEOF
3362 /* confdefs.h. */
3363 _ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
39643366 /* end confdefs.h. */
39653367
39663368 int
39763378 # existing .o file with -o, though they will create one.
39773379 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
39783380 rm -f conftest2.*
3979 if { { case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3381 if { (case "(($ac_try" in
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3384 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853386 (eval "$ac_try") 2>&5
39863387 ac_status=$?
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; } &&
3989 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3393 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39953395 (eval "$ac_try") 2>&5
39963396 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
39993399 then
40003400 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
40013401 if test "x$CC" != xcc; then
40023402 # Test first that cc exists at all.
40033403 if { ac_try='cc -c conftest.$ac_ext >&5'
4004 { { case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
3404 { (case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103409 (eval "$ac_try") 2>&5
40113410 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
40143413 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
40153414 rm -f conftest2.*
4016 if { { case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
3415 if { (case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40223420 (eval "$ac_try") 2>&5
40233421 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; } &&
4026 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323429 (eval "$ac_try") 2>&5
40333430 ac_status=$?
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
40363433 then
40373434 # cc works too.
40383435 :
40453442 else
40463443 eval ac_cv_prog_cc_${ac_cc}_c_o=no
40473444 fi
4048 rm -f core conftest*
3445 rm -f -r core conftest*
40493446
40503447 fi
40513448 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4053 $as_echo "yes" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
3449 { echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6; }
3451 else
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
40573454
4058 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3455 cat >>confdefs.h <<\_ACEOF
3456 @%:@define NO_MINUS_C_MINUS_O 1
3457 _ACEOF
40593458
40603459 fi
40613460
40623461 # FIXME: we rely on the cache variable name because
40633462 # there is no other way.
40643463 set dummy $CC
4065 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4066 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4067 if test "$am_t" != yes; then
3464 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3465 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
40683466 # Losing compiler, so override with the script.
40693467 # FIXME: It is wrong to rewrite CC.
40703468 # But if we don't then we get into trouble of one sort or another.
40753473
40763474
40773475
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro C" >&5
4079 $as_echo_n "checking whether we are using SunPro C... " >&6; }
4080
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 { echo "$as_me:$LINENO: checking whether we are using SunPro C" >&5
3477 echo $ECHO_N "checking whether we are using SunPro C... $ECHO_C" >&6; }
3478
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h. */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
40823484 /* end confdefs.h. */
40833485
40843486 int
40923494 return 0;
40933495 }
40943496 _ACEOF
4095 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f conftest.$ac_objext
3498 if { (ac_try="$ac_compile"
3499 case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502 esac
3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
40963514 __sunpro_c=yes
40973515 else
4098 __sunpro_c=no
4099 fi
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
41003522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
41033525
41043526 CFLAGS="${CFLAGS=}"
41053527 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
41133535 fi
41143536 fi
41153537
4116 @%:@ Check whether --enable-devel was given.
4117 if test "${enable_devel+set}" = set; then :
3538 # Check whether --enable-devel was given.
3539 if test "${enable_devel+set}" = set; then
41183540 enableval=$enable_devel;
41193541 fi
41203542
41313553 _ACEOF
41323554 fi
41333555
4134 @%:@ Check whether --enable-compat15 was given.
4135 if test "${enable_compat15+set}" = set; then :
3556 # Check whether --enable-compat15 was given.
3557 if test "${enable_compat15+set}" = set; then
41363558 enableval=$enable_compat15;
41373559 fi
41383560
41433565 CFLAGS="$CFLAGS -DCOMPAT15"
41443566 fi
41453567
4146 +@%:@ Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
3568 +# Check whether --enable-fixtimebug was given.
3569 if test "${enable_fixtimebug+set}" = set; then
41483570 enableval=$enable_fixtimebug;
41493571 fi
41503572
41573579 do
41583580 # Extract the first word of "$ac_prog", so it can be a program name with args.
41593581 set dummy $ac_prog; ac_word=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_YACC+:} false; then :
4163 $as_echo_n "(cached) " >&6
3582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584 if test "${ac_cv_prog_YACC+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
41643586 else
41653587 if test -n "$YACC"; then
41663588 ac_cv_prog_YACC="$YACC" # Let the user override the test.
41703592 do
41713593 IFS=$as_save_IFS
41723594 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
3595 for ac_exec_ext in '' $ac_executable_extensions; do
41743596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41753597 ac_cv_prog_YACC="$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41773599 break 2
41783600 fi
41793601 done
4180 done
3602 done
41813603 IFS=$as_save_IFS
41823604
41833605 fi
41843606 fi
41853607 YACC=$ac_cv_prog_YACC
41863608 if test -n "$YACC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4188 $as_echo "$YACC" >&6; }
4189 else
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
3609 { echo "$as_me:$LINENO: result: $YACC" >&5
3610 echo "${ECHO_T}$YACC" >&6; }
3611 else
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
41923614 fi
41933615
41943616
42003622 do
42013623 # Extract the first word of "$ac_prog", so it can be a program name with args.
42023624 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if ${ac_cv_prog_LEX+:} false; then :
4206 $as_echo_n "(cached) " >&6
3625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 if test "${ac_cv_prog_LEX+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
42073629 else
42083630 if test -n "$LEX"; then
42093631 ac_cv_prog_LEX="$LEX" # Let the user override the test.
42133635 do
42143636 IFS=$as_save_IFS
42153637 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
3638 for ac_exec_ext in '' $ac_executable_extensions; do
42173639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42183640 ac_cv_prog_LEX="$ac_prog"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42203642 break 2
42213643 fi
42223644 done
4223 done
3645 done
42243646 IFS=$as_save_IFS
42253647
42263648 fi
42273649 fi
42283650 LEX=$ac_cv_prog_LEX
42293651 if test -n "$LEX"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4231 $as_echo "$LEX" >&6; }
4232 else
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
3652 { echo "$as_me:$LINENO: result: $LEX" >&5
3653 echo "${ECHO_T}$LEX" >&6; }
3654 else
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
42353657 fi
42363658
42373659
42593681 return ! yylex () + ! yywrap ();
42603682 }
42613683 _ACEOF
4262 { { ac_try="$LEX conftest.l"
4263 case "(($ac_try" in
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4266 esac
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
3684 { (ac_try="$LEX conftest.l"
3685 case "(($ac_try" in
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3688 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693690 (eval "$LEX conftest.l") 2>&5
42703691 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4274 $as_echo_n "checking lex output file root... " >&6; }
4275 if ${ac_cv_prog_lex_root+:} false; then :
4276 $as_echo_n "(cached) " >&6
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }
3694 { echo "$as_me:$LINENO: checking lex output file root" >&5
3695 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3696 if test "${ac_cv_prog_lex_root+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
42773698 else
42783699
42793700 if test -f lex.yy.c; then
42813702 elif test -f lexyy.c; then
42823703 ac_cv_prog_lex_root=lexyy
42833704 else
4284 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4285 fi
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4288 $as_echo "$ac_cv_prog_lex_root" >&6; }
3705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709 fi
3710 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
42893712 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
42903713
42913714 if test -z "${LEXLIB+set}"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4293 $as_echo_n "checking lex library... " >&6; }
4294 if ${ac_cv_lib_lex+:} false; then :
4295 $as_echo_n "(cached) " >&6
3715 { echo "$as_me:$LINENO: checking lex library" >&5
3716 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3717 if test "${ac_cv_lib_lex+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
42963719 else
42973720
42983721 ac_save_LIBS=$LIBS
42993722 ac_cv_lib_lex='none needed'
43003723 for ac_lib in '' -lfl -ll; do
43013724 LIBS="$ac_lib $ac_save_LIBS"
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
3725 cat >conftest.$ac_ext <<_ACEOF
43043726 `cat $LEX_OUTPUT_ROOT.c`
43053727 _ACEOF
4306 if ac_fn_c_try_link "$LINENO"; then :
3728 rm -f conftest.$ac_objext conftest$ac_exeext
3729 if { (ac_try="$ac_link"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_link") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } && {
3742 test -z "$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 } && test -s conftest$ac_exeext &&
3745 $as_test_x conftest$ac_exeext; then
43073746 ac_cv_lib_lex=$ac_lib
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
3747 else
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3750
3751
3752 fi
3753
3754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3755 conftest$ac_exeext conftest.$ac_ext
43113756 test "$ac_cv_lib_lex" != 'none needed' && break
43123757 done
43133758 LIBS=$ac_save_LIBS
43143759
43153760 fi
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
43183763 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
43193764 fi
43203765
43213766
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4323 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4324 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4325 $as_echo_n "(cached) " >&6
3767 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3768 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3769 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
43263771 else
43273772 # POSIX says lex can declare yytext either as a pointer or an array; the
43283773 # default is implementation-dependent. Figure out which it is, since
43303775 ac_cv_prog_lex_yytext_pointer=no
43313776 ac_save_LIBS=$LIBS
43323777 LIBS="$LEXLIB $ac_save_LIBS"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
43373780 `cat $LEX_OUTPUT_ROOT.c`
43383781 _ACEOF
4339 if ac_fn_c_try_link "$LINENO"; then :
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (ac_try="$ac_link"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_link") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest$ac_exeext &&
3799 $as_test_x conftest$ac_exeext; then
43403800 ac_cv_prog_lex_yytext_pointer=yes
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
3801 else
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3804
3805
3806 fi
3807
3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3809 conftest$ac_exeext conftest.$ac_ext
43443810 LIBS=$ac_save_LIBS
43453811
43463812 fi
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4348 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
43493815 if test $ac_cv_prog_lex_yytext_pointer = yes; then
43503816
4351 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
3817 cat >>confdefs.h <<\_ACEOF
3818 @%:@define YYTEXT_POINTER 1
3819 _ACEOF
43523820
43533821 fi
43543822 rm -f conftest.l $LEX_OUTPUT_ROOT.c
43563824 fi
43573825 which $LEX > /dev/null 2>&1
43583826 if test $? = 1; then
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
3827 { { echo "$as_me:$LINENO: error: No lex or flex found on system" >&5
3828 echo "$as_me: error: No lex or flex found on system" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831 # Find a good install program. We prefer a C program (faster),
3832 # so one script is as good as another. But avoid the broken or
3833 # incompatible versions:
3834 # SysV /etc/install, /usr/sbin/install
3835 # SunOS /usr/etc/install
3836 # IRIX /sbin/install
3837 # AIX /bin/install
3838 # AmigaOS /C/install, which installs bootblocks on floppy discs
3839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3842 # OS/2's system install, which has a completely different semantic
3843 # ./install, which can be erroneously created by make from ./install.sh.
3844 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3845 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3846 if test -z "$INSTALL"; then
3847 if test "${ac_cv_path_install+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3852 do
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 # Account for people who put trailing slashes in PATH elements.
3856 case $as_dir/ in
3857 ./ | .// | /cC/* | \
3858 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3859 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3860 /usr/ucb/* ) ;;
3861 *)
3862 # OSF1 and SCO ODT 3.0 have their own names for install.
3863 # Don't use installbsd from OSF since it installs stuff as root
3864 # by default.
3865 for ac_prog in ginstall scoinst install; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3868 if test $ac_prog = install &&
3869 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3870 # AIX install. It has an incompatible calling convention.
3871 :
3872 elif test $ac_prog = install &&
3873 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3874 # program-specific install script used by HP pwplus--don't use.
3875 :
3876 else
3877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3878 break 3
3879 fi
3880 fi
3881 done
3882 done
3883 ;;
3884 esac
3885 done
3886 IFS=$as_save_IFS
3887
3888
3889 fi
3890 if test "${ac_cv_path_install+set}" = set; then
3891 INSTALL=$ac_cv_path_install
3892 else
3893 # As a last resort, use the slow shell script. Don't cache a
3894 # value for INSTALL within a source directory, because that will
3895 # break other packages using the cache if that directory is
3896 # removed, or if the value is a relative name.
3897 INSTALL=$ac_install_sh
3898 fi
3899 fi
3900 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3901 echo "${ECHO_T}$INSTALL" >&6; }
3902
3903 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3904 # It thinks the first close brace ends the variable substitution.
3905 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3906
3907 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3908
3909 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43613910
43623911
43633912 if test "x$ac_cv_prog_LEX" = "xflex"; then
43673916 # Check if we need to build the flow-tools converter
43683917 # FIXME? This should use flow-tools-dev if possible, not local sources..
43693918
4370 @%:@ Check whether --with-ftpath was given.
4371 if test "${with_ftpath+set}" = set; then :
3919 # Check whether --with-ftpath was given.
3920 if test "${with_ftpath+set}" = set; then
43723921 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
43733922 WHERE_FTPATH="/usr/local/flow-tools/"
43743923 else
43823931
43833932
43843933
4385 @%:@ Check whether --with-rrdpath was given.
4386 if test "${with_rrdpath+set}" = set; then :
3934 # Check whether --with-rrdpath was given.
3935 if test "${with_rrdpath+set}" = set; then
43873936 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
43883937 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
43893938 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
43963945
43973946
43983947 #Tidz up? esp not using in source dist flow-tools
4399 @%:@ Check whether --enable-ftconv was given.
4400 if test "${enable_ftconv+set}" = set; then :
4401 enableval=$enable_ftconv; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
4402 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
4403 if ${ac_cv_lib_z_zlibVersion+:} false; then :
4404 $as_echo_n "(cached) " >&6
3948 # Check whether --enable-ftconv was given.
3949 if test "${enable_ftconv+set}" = set; then
3950 enableval=$enable_ftconv;
3951 { echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
3952 echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6; }
3953 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
44053955 else
44063956 ac_check_lib_save_LIBS=$LIBS
44073957 LIBS="-lz $LIBS"
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
44093963 /* end confdefs.h. */
44103964
44113965 /* Override any GCC internal prototype to avoid an error.
44233977 return 0;
44243978 }
44253979 _ACEOF
4426 if ac_fn_c_try_link "$LINENO"; then :
3980 rm -f conftest.$ac_objext conftest$ac_exeext
3981 if { (ac_try="$ac_link"
3982 case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3985 esac
3986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987 (eval "$ac_link") 2>conftest.er1
3988 ac_status=$?
3989 grep -v '^ *+' conftest.er1 >conftest.err
3990 rm -f conftest.er1
3991 cat conftest.err >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } && {
3994 test -z "$ac_c_werror_flag" ||
3995 test ! -s conftest.err
3996 } && test -s conftest$ac_exeext &&
3997 $as_test_x conftest$ac_exeext; then
44273998 ac_cv_lib_z_zlibVersion=yes
44283999 else
4429 ac_cv_lib_z_zlibVersion=no
4430 fi
4431 rm -f core conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4002
4003 ac_cv_lib_z_zlibVersion=no
4004 fi
4005
4006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4007 conftest$ac_exeext conftest.$ac_ext
44334008 LIBS=$ac_check_lib_save_LIBS
44344009 fi
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
4436 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
4437 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
4010 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
4011 echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6; }
4012 if test $ac_cv_lib_z_zlibVersion = yes; then
44384013 cat >>confdefs.h <<_ACEOF
44394014 @%:@define HAVE_LIBZ 1
44404015 _ACEOF
44424017 LIBS="-lz $LIBS"
44434018
44444019 else
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
4020 { { echo "$as_me:$LINENO: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&5
4021 echo "$as_me: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&2;}
4022 { (exit 1); exit 1; }; }
44464023
44474024 fi
44484025
44494026 if test -d "$WHERE_FTPATH"; then
44504027 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
4028 { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
4029 echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
4030 { (exit 1); exit 1; }; }
44524031 fi
44534032 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
4033 { { echo "$as_me:$LINENO: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&5
4034 echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
4035 { (exit 1); exit 1; }; }
44554036 fi
44564037 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
44574038 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
44584039 else
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
4040 { { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5
4041 echo "$as_me: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&2;}
4042 { (exit 1); exit 1; }; }
44604043 fi
44614044 if true; then
44624045 FT2NFDUMP_TRUE=
44864069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4490 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
44914074 # On Suns, sometimes $CPP names a directory.
44924075 if test -n "$CPP" && test -d "$CPP"; then
44934076 CPP=
44944077 fi
44954078 if test -z "$CPP"; then
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
44984081 else
44994082 # Double quotes because CPP needs to be expanded
45004083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
45084091 # <limits.h> exists even on freestanding compilers.
45094092 # On the NeXT, cc -E runs the code through the compiler's parser,
45104093 # not just through cpp. "Syntax error" is here to catch this case.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
45124099 /* end confdefs.h. */
45134100 @%:@ifdef __STDC__
45144101 @%:@ include <limits.h>
45174104 @%:@endif
45184105 Syntax error
45194106 _ACEOF
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
4107 if { (ac_try="$ac_cpp conftest.$ac_ext"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4114 ac_status=$?
4115 grep -v '^ *+' conftest.er1 >conftest.err
4116 rm -f conftest.er1
4117 cat conftest.err >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } >/dev/null && {
4120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4121 test ! -s conftest.err
4122 }; then
4123 :
4124 else
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4127
45234128 # Broken: fails on valid input.
45244129 continue
45254130 fi
4526 rm -f conftest.err conftest.i conftest.$ac_ext
4131
4132 rm -f conftest.err conftest.$ac_ext
45274133
45284134 # OK, works on sane cases. Now check whether nonexistent headers
45294135 # can be detected and how.
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
45314141 /* end confdefs.h. */
45324142 @%:@include <ac_nonexistent.h>
45334143 _ACEOF
4534 if ac_fn_c_try_cpp "$LINENO"; then :
4144 if { (ac_try="$ac_cpp conftest.$ac_ext"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } >/dev/null && {
4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 }; then
45354160 # Broken: success on invalid input.
45364161 continue
45374162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
45384166 # Passes both tests.
45394167 ac_preproc_ok=:
45404168 break
45414169 fi
4542 rm -f conftest.err conftest.i conftest.$ac_ext
4170
4171 rm -f conftest.err conftest.$ac_ext
45434172
45444173 done
45454174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
45484177 break
45494178 fi
45504179
45564185 else
45574186 ac_cv_prog_CPP=$CPP
45584187 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
45614190 ac_preproc_ok=false
45624191 for ac_c_preproc_warn_flag in '' yes
45634192 do
45674196 # <limits.h> exists even on freestanding compilers.
45684197 # On the NeXT, cc -E runs the code through the compiler's parser,
45694198 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
45714204 /* end confdefs.h. */
45724205 @%:@ifdef __STDC__
45734206 @%:@ include <limits.h>
45764209 @%:@endif
45774210 Syntax error
45784211 _ACEOF
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
4212 if { (ac_try="$ac_cpp conftest.$ac_ext"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null && {
4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 }; then
4228 :
4229 else
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4232
45824233 # Broken: fails on valid input.
45834234 continue
45844235 fi
4585 rm -f conftest.err conftest.i conftest.$ac_ext
4236
4237 rm -f conftest.err conftest.$ac_ext
45864238
45874239 # OK, works on sane cases. Now check whether nonexistent headers
45884240 # can be detected and how.
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
45904246 /* end confdefs.h. */
45914247 @%:@include <ac_nonexistent.h>
45924248 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4249 if { (ac_try="$ac_cpp conftest.$ac_ext"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4256 ac_status=$?
4257 grep -v '^ *+' conftest.er1 >conftest.err
4258 rm -f conftest.er1
4259 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } >/dev/null && {
4262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 }; then
45944265 # Broken: success on invalid input.
45954266 continue
45964267 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
45974271 # Passes both tests.
45984272 ac_preproc_ok=:
45994273 break
46004274 fi
4601 rm -f conftest.err conftest.i conftest.$ac_ext
4275
4276 rm -f conftest.err conftest.$ac_ext
46024277
46034278 done
46044279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4605 rm -f conftest.i conftest.err conftest.$ac_ext
4606 if $ac_preproc_ok; then :
4607
4608 else
4609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4612 See \`config.log' for more details" "$LINENO" 5; }
4280 rm -f conftest.err conftest.$ac_ext
4281 if $ac_preproc_ok; then
4282 :
4283 else
4284 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4285 See \`config.log' for more details." >&5
4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4287 See \`config.log' for more details." >&2;}
4288 { (exit 1); exit 1; }; }
46134289 fi
46144290
46154291 ac_ext=c
46194295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204296
46214297
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4624 if ${ac_cv_path_GREP+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 if test -z "$GREP"; then
4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4300 if test "${ac_cv_path_GREP+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 else
4303 # Extract the first word of "grep ggrep" to use in msg output
4304 if test -z "$GREP"; then
4305 set dummy grep ggrep; ac_prog_name=$2
4306 if test "${ac_cv_path_GREP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
46284309 ac_path_GREP_found=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46314312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46324313 do
46334314 IFS=$as_save_IFS
46344315 test -z "$as_dir" && as_dir=.
4635 for ac_prog in grep ggrep; do
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4638 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4639 # Check for GNU ac_path_GREP and select it if it is found.
4316 for ac_prog in grep ggrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4320 # Check for GNU ac_path_GREP and select it if it is found.
46404321 # Check for GNU $ac_path_GREP
46414322 case `"$ac_path_GREP" --version 2>&1` in
46424323 *GNU*)
46434324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46444325 *)
46454326 ac_count=0
4646 $as_echo_n 0123456789 >"conftest.in"
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46474328 while :
46484329 do
46494330 cat "conftest.in" "conftest.in" >"conftest.tmp"
46504331 mv "conftest.tmp" "conftest.in"
46514332 cp "conftest.in" "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
46534334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46544335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
4336 ac_count=`expr $ac_count + 1`
46564337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
46574338 # Best one so far, save it but keep looking for a better one
46584339 ac_cv_path_GREP="$ac_path_GREP"
46644345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46654346 esac
46664347
4667 $ac_path_GREP_found && break 3
4668 done
4348
4349 $ac_path_GREP_found && break 3
46694350 done
4670 done
4351 done
4352
4353 done
46714354 IFS=$as_save_IFS
4672 if test -z "$ac_cv_path_GREP"; then
4673 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4674 fi
4355
4356
4357 fi
4358
4359 GREP="$ac_cv_path_GREP"
4360 if test -z "$GREP"; then
4361 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4363 { (exit 1); exit 1; }; }
4364 fi
4365
46754366 else
46764367 ac_cv_path_GREP=$GREP
46774368 fi
46784369
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
46824374 GREP="$ac_cv_path_GREP"
46834375
46844376
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if ${ac_cv_path_EGREP+:} false; then :
4688 $as_echo_n "(cached) " >&6
4377 { echo "$as_me:$LINENO: checking for egrep" >&5
4378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4379 if test "${ac_cv_path_EGREP+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
46894381 else
46904382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46914383 then ac_cv_path_EGREP="$GREP -E"
46924384 else
4693 if test -z "$EGREP"; then
4385 # Extract the first word of "egrep" to use in msg output
4386 if test -z "$EGREP"; then
4387 set dummy egrep; ac_prog_name=$2
4388 if test "${ac_cv_path_EGREP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
46944391 ac_path_EGREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46974394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46984395 do
46994396 IFS=$as_save_IFS
47004397 test -z "$as_dir" && as_dir=.
4701 for ac_prog in egrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4704 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4398 for ac_prog in egrep; do
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4401 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4402 # Check for GNU ac_path_EGREP and select it if it is found.
47064403 # Check for GNU $ac_path_EGREP
47074404 case `"$ac_path_EGREP" --version 2>&1` in
47084405 *GNU*)
47094406 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
47104407 *)
47114408 ac_count=0
4712 $as_echo_n 0123456789 >"conftest.in"
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
47134410 while :
47144411 do
47154412 cat "conftest.in" "conftest.in" >"conftest.tmp"
47164413 mv "conftest.tmp" "conftest.in"
47174414 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
47194416 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
47204417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4418 ac_count=`expr $ac_count + 1`
47224419 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
47234420 # Best one so far, save it but keep looking for a better one
47244421 ac_cv_path_EGREP="$ac_path_EGREP"
47304427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
47314428 esac
47324429
4733 $ac_path_EGREP_found && break 3
4734 done
4430
4431 $ac_path_EGREP_found && break 3
47354432 done
4736 done
4433 done
4434
4435 done
47374436 IFS=$as_save_IFS
4738 if test -z "$ac_cv_path_EGREP"; then
4739 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4740 fi
4437
4438
4439 fi
4440
4441 EGREP="$ac_cv_path_EGREP"
4442 if test -z "$EGREP"; then
4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
47414448 else
47424449 ac_cv_path_EGREP=$EGREP
47434450 fi
47444451
4452
47454453 fi
47464454 fi
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
47494457 EGREP="$ac_cv_path_EGREP"
47504458
47514459
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4753 $as_echo_n "checking for ANSI C header files... " >&6; }
4754 if ${ac_cv_header_stdc+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4462 if test "${ac_cv_header_stdc+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465 cat >conftest.$ac_ext <<_ACEOF
4466 /* confdefs.h. */
4467 _ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
47584470 /* end confdefs.h. */
47594471 #include <stdlib.h>
47604472 #include <stdarg.h>
47694481 return 0;
47704482 }
47714483 _ACEOF
4772 if ac_fn_c_try_compile "$LINENO"; then :
4484 rm -f conftest.$ac_objext
4485 if { (ac_try="$ac_compile"
4486 case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4489 esac
4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491 (eval "$ac_compile") 2>conftest.er1
4492 ac_status=$?
4493 grep -v '^ *+' conftest.er1 >conftest.err
4494 rm -f conftest.er1
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest.$ac_objext; then
47734501 ac_cv_header_stdc=yes
47744502 else
4775 ac_cv_header_stdc=no
4776 fi
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.$ac_ext >&5
4505
4506 ac_cv_header_stdc=no
4507 fi
4508
47774509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47784510
47794511 if test $ac_cv_header_stdc = yes; then
47804512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
47824518 /* end confdefs.h. */
47834519 #include <string.h>
47844520
47854521 _ACEOF
47864522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
47894525 else
47904526 ac_cv_header_stdc=no
47914527 fi
4792 rm -f conftest*
4528 rm -f -r conftest*
47934529
47944530 fi
47954531
47964532 if test $ac_cv_header_stdc = yes; then
47974533 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
47994539 /* end confdefs.h. */
48004540 #include <stdlib.h>
48014541
48024542 _ACEOF
48034543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
48064546 else
48074547 ac_cv_header_stdc=no
48084548 fi
4809 rm -f conftest*
4549 rm -f -r conftest*
48104550
48114551 fi
48124552
48134553 if test $ac_cv_header_stdc = yes; then
48144554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4815 if test "$cross_compiling" = yes; then :
4555 if test "$cross_compiling" = yes; then
48164556 :
48174557 else
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
48194563 /* end confdefs.h. */
48204564 #include <ctype.h>
48214565 #include <stdlib.h>
48424586 return 0;
48434587 }
48444588 _ACEOF
4845 if ac_fn_c_try_run "$LINENO"; then :
4846
4847 else
4848 ac_cv_header_stdc=no
4849 fi
4850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4851 conftest.$ac_objext conftest.beam conftest.$ac_ext
4852 fi
4853
4854 fi
4855 fi
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4857 $as_echo "$ac_cv_header_stdc" >&6; }
4589 rm -f conftest$ac_exeext
4590 if { (ac_try="$ac_link"
4591 case "(($ac_try" in
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4594 esac
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_link") 2>&5
4597 ac_status=$?
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4600 { (case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_try") 2>&5
4606 ac_status=$?
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 :
4610 else
4611 echo "$as_me: program exited with status $ac_status" >&5
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4614
4615 ( exit $ac_status )
4616 ac_cv_header_stdc=no
4617 fi
4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4619 fi
4620
4621
4622 fi
4623 fi
4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
48584626 if test $ac_cv_header_stdc = yes; then
48594627
4860 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4628 cat >>confdefs.h <<\_ACEOF
4629 @%:@define STDC_HEADERS 1
4630 _ACEOF
48614631
48624632 fi
48634633
48644634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
48654644 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
48664645 inttypes.h stdint.h unistd.h
4867 do :
4868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4870 "
4871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4646 do
4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 else
4653 cat >conftest.$ac_ext <<_ACEOF
4654 /* confdefs.h. */
4655 _ACEOF
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4659 $ac_includes_default
4660
4661 @%:@include <$ac_header>
4662 _ACEOF
4663 rm -f conftest.$ac_objext
4664 if { (ac_try="$ac_compile"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_compile") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest.$ac_objext; then
4680 eval "$as_ac_Header=yes"
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4684
4685 eval "$as_ac_Header=no"
4686 fi
4687
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 fi
4690 ac_res=`eval echo '${'$as_ac_Header'}'`
4691 { echo "$as_me:$LINENO: result: $ac_res" >&5
4692 echo "${ECHO_T}$ac_res" >&6; }
4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48724694 cat >>confdefs.h <<_ACEOF
4873 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4695 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48744696 _ACEOF
48754697
48764698 fi
48784700 done
48794701
48804702
4881 @%:@ Check whether --enable-nfprofile was given.
4882 if test "${enable_nfprofile+set}" = set; then :
4703 # Check whether --enable-nfprofile was given.
4704 if test "${enable_nfprofile+set}" = set; then
48834705 enableval=$enable_nfprofile;
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
4885 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
4886 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
4887 $as_echo_n "(cached) " >&6
4706 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
4707 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
4708 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
48884710 else
48894711 ac_check_lib_save_LIBS=$LIBS
48904712 LIBS="-lrrd $LIBS"
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
48924718 /* end confdefs.h. */
48934719
48944720 /* Override any GCC internal prototype to avoid an error.
49064732 return 0;
49074733 }
49084734 _ACEOF
4909 if ac_fn_c_try_link "$LINENO"; then :
4735 rm -f conftest.$ac_objext conftest$ac_exeext
4736 if { (ac_try="$ac_link"
4737 case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_link") 2>conftest.er1
4743 ac_status=$?
4744 grep -v '^ *+' conftest.er1 >conftest.err
4745 rm -f conftest.er1
4746 cat conftest.err >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } && {
4749 test -z "$ac_c_werror_flag" ||
4750 test ! -s conftest.err
4751 } && test -s conftest$ac_exeext &&
4752 $as_test_x conftest$ac_exeext; then
49104753 ac_cv_lib_rrd_rrd_update=yes
49114754 else
4912 ac_cv_lib_rrd_rrd_update=no
4913 fi
4914 rm -f core conftest.err conftest.$ac_objext \
4915 conftest$ac_exeext conftest.$ac_ext
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4757
4758 ac_cv_lib_rrd_rrd_update=no
4759 fi
4760
4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4762 conftest$ac_exeext conftest.$ac_ext
49164763 LIBS=$ac_check_lib_save_LIBS
49174764 fi
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
4919 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
4920 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
4766 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
4767 if test $ac_cv_lib_rrd_rrd_update = yes; then
49214768
49224769 cat >>config.h <<_ACEOF
49234770 #define HAVE_LIBRRD 1
49274774
49284775
49294776 else
4930 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
4931 fi
4932
4933 for ac_header in rrd.h
4934 do :
4935 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
4936 if test "x$ac_cv_header_rrd_h" = xyes; then :
4777 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
4778 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
4779 { (exit 1); exit 1; }; }
4780 fi
4781
4782
4783 for ac_header in rrd.h
4784 do
4785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 fi
4792 ac_res=`eval echo '${'$as_ac_Header'}'`
4793 { echo "$as_me:$LINENO: result: $ac_res" >&5
4794 echo "${ECHO_T}$ac_res" >&6; }
4795 else
4796 # Is the header compilable?
4797 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4799 cat >conftest.$ac_ext <<_ACEOF
4800 /* confdefs.h. */
4801 _ACEOF
4802 cat confdefs.h >>conftest.$ac_ext
4803 cat >>conftest.$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4805 $ac_includes_default
4806 @%:@include <$ac_header>
4807 _ACEOF
4808 rm -f conftest.$ac_objext
4809 if { (ac_try="$ac_compile"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_compile") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest.$ac_objext; then
4825 ac_header_compiler=yes
4826 else
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4829
4830 ac_header_compiler=no
4831 fi
4832
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4835 echo "${ECHO_T}$ac_header_compiler" >&6; }
4836
4837 # Is the header present?
4838 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4840 cat >conftest.$ac_ext <<_ACEOF
4841 /* confdefs.h. */
4842 _ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 @%:@include <$ac_header>
4847 _ACEOF
4848 if { (ac_try="$ac_cpp conftest.$ac_ext"
4849 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4855 ac_status=$?
4856 grep -v '^ *+' conftest.er1 >conftest.err
4857 rm -f conftest.er1
4858 cat conftest.err >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } >/dev/null && {
4861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4862 test ! -s conftest.err
4863 }; then
4864 ac_header_preproc=yes
4865 else
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4868
4869 ac_header_preproc=no
4870 fi
4871
4872 rm -f conftest.err conftest.$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4874 echo "${ECHO_T}$ac_header_preproc" >&6; }
4875
4876 # So? What about this header?
4877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4878 yes:no: )
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4883 ac_header_preproc=yes
4884 ;;
4885 no:yes:* )
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4898 ( cat <<\_ASBOX
4899 @%:@@%:@ ------------------------------------------ @%:@@%:@
4900 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
4901 @%:@@%:@ ------------------------------------------ @%:@@%:@
4902 _ASBOX
4903 ) | sed "s/^/$as_me: WARNING: /" >&2
4904 ;;
4905 esac
4906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 eval "$as_ac_Header=\$ac_header_preproc"
4912 fi
4913 ac_res=`eval echo '${'$as_ac_Header'}'`
4914 { echo "$as_me:$LINENO: result: $ac_res" >&5
4915 echo "${ECHO_T}$ac_res" >&6; }
4916
4917 fi
4918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49374919 cat >>confdefs.h <<_ACEOF
4938 @%:@define HAVE_RRD_H 1
4920 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49394921 _ACEOF
49404922
49414923 fi
49524934 fi
49534935
49544936 else
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
4937 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
4938 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
4939 { (exit 1); exit 1; }; }
49564940 fi
4957 if test "$cross_compiling" = yes; then :
4958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4960 as_fn_error $? "cannot run test program while cross compiling
4961 See \`config.log' for more details" "$LINENO" 5; }
4962 else
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4965
4941 if test "$cross_compiling" = yes; then
4942 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4943 See \`config.log' for more details." >&5
4944 echo "$as_me: error: cannot run test program while cross compiling
4945 See \`config.log' for more details." >&2;}
4946 { (exit 1); exit 1; }; }
4947 else
4948 cat >conftest.$ac_ext <<_ACEOF
4949 /* confdefs.h. */
4950 _ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4954
49664955 #include <stdio.h>
49674956 #include <rrd.h>
49684957
49774966 }
49784967
49794968 _ACEOF
4980 if ac_fn_c_try_run "$LINENO"; then :
4981
4982 else
4983 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
4984 fi
4985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4986 conftest.$ac_objext conftest.beam conftest.$ac_ext
4987 fi
4969 rm -f conftest$ac_exeext
4970 if { (ac_try="$ac_link"
4971 case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_link") 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4980 { (case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4983 esac
4984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4985 (eval "$ac_try") 2>&5
4986 ac_status=$?
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 :
4990 else
4991 echo "$as_me: program exited with status $ac_status" >&5
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4994
4995 ( exit $ac_status )
4996 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
4997 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
4998 { (exit 1); exit 1; }; }
4999 fi
5000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5001 fi
5002
49885003
49895004
49905005
50025017 fi
50035018
50045019
5005 @%:@ Check whether --enable-nftrack was given.
5006 if test "${enable_nftrack+set}" = set; then :
5020 # Check whether --enable-nftrack was given.
5021 if test "${enable_nftrack+set}" = set; then
50075022 enableval=$enable_nftrack;
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
5009 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
5010 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
5011 $as_echo_n "(cached) " >&6
5023 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
5024 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
5025 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
50125027 else
50135028 ac_check_lib_save_LIBS=$LIBS
50145029 LIBS="-lrrd $LIBS"
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
50165035 /* end confdefs.h. */
50175036
50185037 /* Override any GCC internal prototype to avoid an error.
50305049 return 0;
50315050 }
50325051 _ACEOF
5033 if ac_fn_c_try_link "$LINENO"; then :
5052 rm -f conftest.$ac_objext conftest$ac_exeext
5053 if { (ac_try="$ac_link"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest$ac_exeext &&
5069 $as_test_x conftest$ac_exeext; then
50345070 ac_cv_lib_rrd_rrd_update=yes
50355071 else
5036 ac_cv_lib_rrd_rrd_update=no
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5074
5075 ac_cv_lib_rrd_rrd_update=no
5076 fi
5077
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext conftest.$ac_ext
50405080 LIBS=$ac_check_lib_save_LIBS
50415081 fi
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
5043 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
5044 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
5083 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
5084 if test $ac_cv_lib_rrd_rrd_update = yes; then
50455085
50465086 cat >>config.h <<_ACEOF
50475087 #define HAVE_LIBRRD 1
50515091
50525092
50535093 else
5054 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
5055 fi
5056
5057 for ac_header in rrd.h
5058 do :
5059 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
5060 if test "x$ac_cv_header_rrd_h" = xyes; then :
5094 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
5095 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
5096 { (exit 1); exit 1; }; }
5097 fi
5098
5099
5100 for ac_header in rrd.h
5101 do
5102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 fi
5109 ac_res=`eval echo '${'$as_ac_Header'}'`
5110 { echo "$as_me:$LINENO: result: $ac_res" >&5
5111 echo "${ECHO_T}$ac_res" >&6; }
5112 else
5113 # Is the header compilable?
5114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5116 cat >conftest.$ac_ext <<_ACEOF
5117 /* confdefs.h. */
5118 _ACEOF
5119 cat confdefs.h >>conftest.$ac_ext
5120 cat >>conftest.$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5122 $ac_includes_default
5123 @%:@include <$ac_header>
5124 _ACEOF
5125 rm -f conftest.$ac_objext
5126 if { (ac_try="$ac_compile"
5127 case "(($ac_try" in
5128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5130 esac
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5133 ac_status=$?
5134 grep -v '^ *+' conftest.er1 >conftest.err
5135 rm -f conftest.er1
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5142 ac_header_compiler=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5146
5147 ac_header_compiler=no
5148 fi
5149
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5152 echo "${ECHO_T}$ac_header_compiler" >&6; }
5153
5154 # Is the header present?
5155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5157 cat >conftest.$ac_ext <<_ACEOF
5158 /* confdefs.h. */
5159 _ACEOF
5160 cat confdefs.h >>conftest.$ac_ext
5161 cat >>conftest.$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5163 @%:@include <$ac_header>
5164 _ACEOF
5165 if { (ac_try="$ac_cpp conftest.$ac_ext"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5172 ac_status=$?
5173 grep -v '^ *+' conftest.er1 >conftest.err
5174 rm -f conftest.er1
5175 cat conftest.err >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev/null && {
5178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5179 test ! -s conftest.err
5180 }; then
5181 ac_header_preproc=yes
5182 else
5183 echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.$ac_ext >&5
5185
5186 ac_header_preproc=no
5187 fi
5188
5189 rm -f conftest.err conftest.$ac_ext
5190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5191 echo "${ECHO_T}$ac_header_preproc" >&6; }
5192
5193 # So? What about this header?
5194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5195 yes:no: )
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5200 ac_header_preproc=yes
5201 ;;
5202 no:yes:* )
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5215 ( cat <<\_ASBOX
5216 @%:@@%:@ ------------------------------------------ @%:@@%:@
5217 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
5218 @%:@@%:@ ------------------------------------------ @%:@@%:@
5219 _ASBOX
5220 ) | sed "s/^/$as_me: WARNING: /" >&2
5221 ;;
5222 esac
5223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 eval "$as_ac_Header=\$ac_header_preproc"
5229 fi
5230 ac_res=`eval echo '${'$as_ac_Header'}'`
5231 { echo "$as_me:$LINENO: result: $ac_res" >&5
5232 echo "${ECHO_T}$ac_res" >&6; }
5233
5234 fi
5235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50615236 cat >>confdefs.h <<_ACEOF
5062 @%:@define HAVE_RRD_H 1
5237 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50635238 _ACEOF
50645239
50655240 fi
50765251 fi
50775252
50785253 else
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
5254 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
5255 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
5256 { (exit 1); exit 1; }; }
50805257 fi
5081 if test "$cross_compiling" = yes; then :
5082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5084 as_fn_error $? "cannot run test program while cross compiling
5085 See \`config.log' for more details" "$LINENO" 5; }
5086 else
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5089
5258 if test "$cross_compiling" = yes; then
5259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5260 See \`config.log' for more details." >&5
5261 echo "$as_me: error: cannot run test program while cross compiling
5262 See \`config.log' for more details." >&2;}
5263 { (exit 1); exit 1; }; }
5264 else
5265 cat >conftest.$ac_ext <<_ACEOF
5266 /* confdefs.h. */
5267 _ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5271
50905272 #include <stdio.h>
50915273 #include <rrd.h>
50925274
51015283 }
51025284
51035285 _ACEOF
5104 if ac_fn_c_try_run "$LINENO"; then :
5105
5106 else
5107 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
5108 fi
5109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5110 conftest.$ac_objext conftest.beam conftest.$ac_ext
5111 fi
5286 rm -f conftest$ac_exeext
5287 if { (ac_try="$ac_link"
5288 case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5291 esac
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_link") 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5303 ac_status=$?
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 :
5307 else
5308 echo "$as_me: program exited with status $ac_status" >&5
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5311
5312 ( exit $ac_status )
5313 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
5314 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
5315 { (exit 1); exit 1; }; }
5316 fi
5317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5318 fi
5319
51125320
51135321
51145322
51265334 fi
51275335
51285336
5129 @%:@ Check whether --enable-sflow was given.
5130 if test "${enable_sflow+set}" = set; then :
5337 # Check whether --enable-sflow was given.
5338 if test "${enable_sflow+set}" = set; then
51315339 enableval=$enable_sflow;
51325340 fi
51335341
51405348 fi
51415349
51425350
5143 @%:@ Check whether --enable-readpcap was given.
5144 if test "${enable_readpcap+set}" = set; then :
5351 # Check whether --enable-readpcap was given.
5352 if test "${enable_readpcap+set}" = set; then
51455353 enableval=$enable_readpcap;
51465354 fi
51475355
51555363
51565364
51575365 # Check for structures
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5366 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5367 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5368 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371 cat >conftest.$ac_ext <<_ACEOF
5372 /* confdefs.h. */
5373 _ACEOF
5374 cat confdefs.h >>conftest.$ac_ext
5375 cat >>conftest.$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5377
51595378 #include <sys/types.h>
51605379 #include <sys/socket.h>
5161 "
5162 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5163
5164 $as_echo "@%:@define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
5165
5166 fi
5167
5168
5169 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "
5380
5381 int
5382 main ()
5383 {
5384 static struct sockaddr ac_aggr;
5385 if (ac_aggr.sa_len)
5386 return 0;
5387 ;
5388 return 0;
5389 }
5390 _ACEOF
5391 rm -f conftest.$ac_objext
5392 if { (ac_try="$ac_compile"
5393 case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_compile") 2>conftest.er1
5399 ac_status=$?
5400 grep -v '^ *+' conftest.er1 >conftest.err
5401 rm -f conftest.er1
5402 cat conftest.err >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } && {
5405 test -z "$ac_c_werror_flag" ||
5406 test ! -s conftest.err
5407 } && test -s conftest.$ac_objext; then
5408 ac_cv_member_struct_sockaddr_sa_len=yes
5409 else
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5412
5413 cat >conftest.$ac_ext <<_ACEOF
5414 /* confdefs.h. */
5415 _ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419
51705420 #include <sys/types.h>
51715421 #include <sys/socket.h>
51725422
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
5423 int
5424 main ()
5425 {
5426 static struct sockaddr ac_aggr;
5427 if (sizeof ac_aggr.sa_len)
5428 return 0;
5429 ;
5430 return 0;
5431 }
5432 _ACEOF
5433 rm -f conftest.$ac_objext
5434 if { (ac_try="$ac_compile"
5435 case "(($ac_try" in
5436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437 *) ac_try_echo=$ac_try;;
5438 esac
5439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440 (eval "$ac_compile") 2>conftest.er1
5441 ac_status=$?
5442 grep -v '^ *+' conftest.er1 >conftest.err
5443 rm -f conftest.er1
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } && {
5447 test -z "$ac_c_werror_flag" ||
5448 test ! -s conftest.err
5449 } && test -s conftest.$ac_objext; then
5450 ac_cv_member_struct_sockaddr_sa_len=yes
5451 else
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5454
5455 ac_cv_member_struct_sockaddr_sa_len=no
5456 fi
5457
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 fi
5460
5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5462 fi
5463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5464 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
5465 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5466
5467 cat >>confdefs.h <<\_ACEOF
5468 @%:@define HAVE_SOCKADDR_SA_LEN 1
5469 _ACEOF
5470
5471 fi
5472
5473
5474 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
5475 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
5476 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 else
5479 cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h. */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485
5486 #include <sys/types.h>
5487 #include <sys/socket.h>
5488
5489
5490 int
5491 main ()
5492 {
5493 static struct sockaddr_storage ac_aggr;
5494 if (ac_aggr.ss_family)
5495 return 0;
5496 ;
5497 return 0;
5498 }
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (ac_try="$ac_compile"
5502 case "(($ac_try" in
5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5505 esac
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_compile") 2>conftest.er1
5508 ac_status=$?
5509 grep -v '^ *+' conftest.er1 >conftest.err
5510 rm -f conftest.er1
5511 cat conftest.err >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } && {
5514 test -z "$ac_c_werror_flag" ||
5515 test ! -s conftest.err
5516 } && test -s conftest.$ac_objext; then
5517 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5518 else
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5521
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 _ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528
5529 #include <sys/types.h>
5530 #include <sys/socket.h>
5531
5532
5533 int
5534 main ()
5535 {
5536 static struct sockaddr_storage ac_aggr;
5537 if (sizeof ac_aggr.ss_family)
5538 return 0;
5539 ;
5540 return 0;
5541 }
5542 _ACEOF
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5545 case "(($ac_try" in
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5548 esac
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5551 ac_status=$?
5552 grep -v '^ *+' conftest.er1 >conftest.err
5553 rm -f conftest.er1
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5560 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5561 else
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5564
5565 ac_cv_member_struct_sockaddr_storage_ss_family=no
5566 fi
5567
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 fi
5570
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572 fi
5573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
5574 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
5575 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
51755576
51765577 cat >>confdefs.h <<_ACEOF
51775578 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
51795580
51805581
51815582 fi
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
5583 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_family" >&5
5584 echo $ECHO_N "checking for struct sockaddr_storage.__ss_family... $ECHO_C" >&6; }
5585 if test "${ac_cv_member_struct_sockaddr_storage___ss_family+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594
51835595 #include <sys/types.h>
51845596 #include <sys/socket.h>
51855597
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
5598
5599 int
5600 main ()
5601 {
5602 static struct sockaddr_storage ac_aggr;
5603 if (ac_aggr.__ss_family)
5604 return 0;
5605 ;
5606 return 0;
5607 }
5608 _ACEOF
5609 rm -f conftest.$ac_objext
5610 if { (ac_try="$ac_compile"
5611 case "(($ac_try" in
5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613 *) ac_try_echo=$ac_try;;
5614 esac
5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5617 ac_status=$?
5618 grep -v '^ *+' conftest.er1 >conftest.err
5619 rm -f conftest.er1
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5627 else
5628 echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5630
5631 cat >conftest.$ac_ext <<_ACEOF
5632 /* confdefs.h. */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637
5638 #include <sys/types.h>
5639 #include <sys/socket.h>
5640
5641
5642 int
5643 main ()
5644 {
5645 static struct sockaddr_storage ac_aggr;
5646 if (sizeof ac_aggr.__ss_family)
5647 return 0;
5648 ;
5649 return 0;
5650 }
5651 _ACEOF
5652 rm -f conftest.$ac_objext
5653 if { (ac_try="$ac_compile"
5654 case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5657 esac
5658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_compile") 2>conftest.er1
5660 ac_status=$?
5661 grep -v '^ *+' conftest.er1 >conftest.err
5662 rm -f conftest.er1
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && {
5666 test -z "$ac_c_werror_flag" ||
5667 test ! -s conftest.err
5668 } && test -s conftest.$ac_objext; then
5669 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5670 else
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5673
5674 ac_cv_member_struct_sockaddr_storage___ss_family=no
5675 fi
5676
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 fi
5679
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 fi
5682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_family" >&5
5683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_family" >&6; }
5684 if test $ac_cv_member_struct_sockaddr_storage___ss_family = yes; then
51885685
51895686 cat >>confdefs.h <<_ACEOF
51905687 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
51925689
51935690
51945691 fi
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
5692 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_len" >&5
5693 echo $ECHO_N "checking for struct sockaddr_storage.ss_len... $ECHO_C" >&6; }
5694 if test "${ac_cv_member_struct_sockaddr_storage_ss_len+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 else
5697 cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h. */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703
51965704 #include <sys/types.h>
51975705 #include <sys/socket.h>
51985706
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
5707
5708 int
5709 main ()
5710 {
5711 static struct sockaddr_storage ac_aggr;
5712 if (ac_aggr.ss_len)
5713 return 0;
5714 ;
5715 return 0;
5716 }
5717 _ACEOF
5718 rm -f conftest.$ac_objext
5719 if { (ac_try="$ac_compile"
5720 case "(($ac_try" in
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5723 esac
5724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5725 (eval "$ac_compile") 2>conftest.er1
5726 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } && {
5732 test -z "$ac_c_werror_flag" ||
5733 test ! -s conftest.err
5734 } && test -s conftest.$ac_objext; then
5735 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5736 else
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.$ac_ext >&5
5739
5740 cat >conftest.$ac_ext <<_ACEOF
5741 /* confdefs.h. */
5742 _ACEOF
5743 cat confdefs.h >>conftest.$ac_ext
5744 cat >>conftest.$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746
5747 #include <sys/types.h>
5748 #include <sys/socket.h>
5749
5750
5751 int
5752 main ()
5753 {
5754 static struct sockaddr_storage ac_aggr;
5755 if (sizeof ac_aggr.ss_len)
5756 return 0;
5757 ;
5758 return 0;
5759 }
5760 _ACEOF
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5763 case "(($ac_try" in
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5766 esac
5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_compile") 2>conftest.er1
5769 ac_status=$?
5770 grep -v '^ *+' conftest.er1 >conftest.err
5771 rm -f conftest.er1
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest.$ac_objext; then
5778 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5779 else
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5782
5783 ac_cv_member_struct_sockaddr_storage_ss_len=no
5784 fi
5785
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5787 fi
5788
5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5790 fi
5791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_len" >&5
5792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_len" >&6; }
5793 if test $ac_cv_member_struct_sockaddr_storage_ss_len = yes; then
52015794
52025795 cat >>confdefs.h <<_ACEOF
52035796 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
52055798
52065799
52075800 fi
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
5801 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_len" >&5
5802 echo $ECHO_N "checking for struct sockaddr_storage.__ss_len... $ECHO_C" >&6; }
5803 if test "${ac_cv_member_struct_sockaddr_storage___ss_len+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 cat >conftest.$ac_ext <<_ACEOF
5807 /* confdefs.h. */
5808 _ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812
52095813 #include <sys/types.h>
52105814 #include <sys/socket.h>
52115815
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
5816
5817 int
5818 main ()
5819 {
5820 static struct sockaddr_storage ac_aggr;
5821 if (ac_aggr.__ss_len)
5822 return 0;
5823 ;
5824 return 0;
5825 }
5826 _ACEOF
5827 rm -f conftest.$ac_objext
5828 if { (ac_try="$ac_compile"
5829 case "(($ac_try" in
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5832 esac
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5835 ac_status=$?
5836 grep -v '^ *+' conftest.er1 >conftest.err
5837 rm -f conftest.er1
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5844 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5845 else
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5848
5849 cat >conftest.$ac_ext <<_ACEOF
5850 /* confdefs.h. */
5851 _ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855
5856 #include <sys/types.h>
5857 #include <sys/socket.h>
5858
5859
5860 int
5861 main ()
5862 {
5863 static struct sockaddr_storage ac_aggr;
5864 if (sizeof ac_aggr.__ss_len)
5865 return 0;
5866 ;
5867 return 0;
5868 }
5869 _ACEOF
5870 rm -f conftest.$ac_objext
5871 if { (ac_try="$ac_compile"
5872 case "(($ac_try" in
5873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5874 *) ac_try_echo=$ac_try;;
5875 esac
5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5877 (eval "$ac_compile") 2>conftest.er1
5878 ac_status=$?
5879 grep -v '^ *+' conftest.er1 >conftest.err
5880 rm -f conftest.er1
5881 cat conftest.err >&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } && {
5884 test -z "$ac_c_werror_flag" ||
5885 test ! -s conftest.err
5886 } && test -s conftest.$ac_objext; then
5887 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5888 else
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5891
5892 ac_cv_member_struct_sockaddr_storage___ss_len=no
5893 fi
5894
5895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896 fi
5897
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5899 fi
5900 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_len" >&5
5901 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_len" >&6; }
5902 if test $ac_cv_member_struct_sockaddr_storage___ss_len = yes; then
52145903
52155904 cat >>confdefs.h <<_ACEOF
52165905 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
52185907
52195908
52205909 fi
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5910 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5911 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5912 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 else
5915 cat >conftest.$ac_ext <<_ACEOF
5916 /* confdefs.h. */
5917 _ACEOF
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921
52225922 #include <sys/types.h>
52235923 #include <sys/socket.h>
52245924
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5925
5926 int
5927 main ()
5928 {
5929 static struct sockaddr ac_aggr;
5930 if (ac_aggr.sa_len)
5931 return 0;
5932 ;
5933 return 0;
5934 }
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (ac_try="$ac_compile"
5938 case "(($ac_try" in
5939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5940 *) ac_try_echo=$ac_try;;
5941 esac
5942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5943 (eval "$ac_compile") 2>conftest.er1
5944 ac_status=$?
5945 grep -v '^ *+' conftest.er1 >conftest.err
5946 rm -f conftest.er1
5947 cat conftest.err >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } && {
5950 test -z "$ac_c_werror_flag" ||
5951 test ! -s conftest.err
5952 } && test -s conftest.$ac_objext; then
5953 ac_cv_member_struct_sockaddr_sa_len=yes
5954 else
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5957
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964
5965 #include <sys/types.h>
5966 #include <sys/socket.h>
5967
5968
5969 int
5970 main ()
5971 {
5972 static struct sockaddr ac_aggr;
5973 if (sizeof ac_aggr.sa_len)
5974 return 0;
5975 ;
5976 return 0;
5977 }
5978 _ACEOF
5979 rm -f conftest.$ac_objext
5980 if { (ac_try="$ac_compile"
5981 case "(($ac_try" in
5982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983 *) ac_try_echo=$ac_try;;
5984 esac
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 (eval "$ac_compile") 2>conftest.er1
5987 ac_status=$?
5988 grep -v '^ *+' conftest.er1 >conftest.err
5989 rm -f conftest.er1
5990 cat conftest.err >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } && {
5993 test -z "$ac_c_werror_flag" ||
5994 test ! -s conftest.err
5995 } && test -s conftest.$ac_objext; then
5996 ac_cv_member_struct_sockaddr_sa_len=yes
5997 else
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6000
6001 ac_cv_member_struct_sockaddr_sa_len=no
6002 fi
6003
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 fi
6006
6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6008 fi
6009 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6010 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6011 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
52276012
52286013 cat >>confdefs.h <<_ACEOF
52296014 @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
52406025
52416026
52426027 # Checks for libraries.
6028
52436029 for ac_func in gethostbyname
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
6030 do
6031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 else
6037 cat >conftest.$ac_ext <<_ACEOF
6038 /* confdefs.h. */
6039 _ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6045 #define $ac_func innocuous_$ac_func
6046
6047 /* System header to define __stub macros and hopefully few prototypes,
6048 which can conflict with char $ac_func (); below.
6049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6050 <limits.h> exists even on freestanding compilers. */
6051
6052 #ifdef __STDC__
6053 # include <limits.h>
6054 #else
6055 # include <assert.h>
6056 #endif
6057
6058 #undef $ac_func
6059
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6063 #ifdef __cplusplus
6064 extern "C"
6065 #endif
6066 char $ac_func ();
6067 /* The GNU C library defines this for functions which it implements
6068 to always fail with ENOSYS. Some functions are actually named
6069 something starting with __ and the normal name is an alias. */
6070 #if defined __stub_$ac_func || defined __stub___$ac_func
6071 choke me
6072 #endif
6073
6074 int
6075 main ()
6076 {
6077 return $ac_func ();
6078 ;
6079 return 0;
6080 }
6081 _ACEOF
6082 rm -f conftest.$ac_objext conftest$ac_exeext
6083 if { (ac_try="$ac_link"
6084 case "(($ac_try" in
6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 *) ac_try_echo=$ac_try;;
6087 esac
6088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_link") 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } && {
6096 test -z "$ac_c_werror_flag" ||
6097 test ! -s conftest.err
6098 } && test -s conftest$ac_exeext &&
6099 $as_test_x conftest$ac_exeext; then
6100 eval "$as_ac_var=yes"
6101 else
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5
6104
6105 eval "$as_ac_var=no"
6106 fi
6107
6108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6109 conftest$ac_exeext conftest.$ac_ext
6110 fi
6111 ac_res=`eval echo '${'$as_ac_var'}'`
6112 { echo "$as_me:$LINENO: result: $ac_res" >&5
6113 echo "${ECHO_T}$ac_res" >&6; }
6114 if test `eval echo '${'$as_ac_var'}'` = yes; then
52476115 cat >>confdefs.h <<_ACEOF
5248 @%:@define HAVE_GETHOSTBYNAME 1
6116 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52496117 _ACEOF
52506118
52516119 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5253 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5254 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5255 $as_echo_n "(cached) " >&6
6120
6121 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6122 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6123 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
52566125 else
52576126 ac_check_lib_save_LIBS=$LIBS
52586127 LIBS="-lnsl $LIBS"
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
52606133 /* end confdefs.h. */
52616134
52626135 /* Override any GCC internal prototype to avoid an error.
52746147 return 0;
52756148 }
52766149 _ACEOF
5277 if ac_fn_c_try_link "$LINENO"; then :
6150 rm -f conftest.$ac_objext conftest$ac_exeext
6151 if { (ac_try="$ac_link"
6152 case "(($ac_try" in
6153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6154 *) ac_try_echo=$ac_try;;
6155 esac
6156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6157 (eval "$ac_link") 2>conftest.er1
6158 ac_status=$?
6159 grep -v '^ *+' conftest.er1 >conftest.err
6160 rm -f conftest.er1
6161 cat conftest.err >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest$ac_exeext &&
6167 $as_test_x conftest$ac_exeext; then
52786168 ac_cv_lib_nsl_gethostbyname=yes
52796169 else
5280 ac_cv_lib_nsl_gethostbyname=no
5281 fi
5282 rm -f core conftest.err conftest.$ac_objext \
5283 conftest$ac_exeext conftest.$ac_ext
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 ac_cv_lib_nsl_gethostbyname=no
6174 fi
6175
6176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6177 conftest$ac_exeext conftest.$ac_ext
52846178 LIBS=$ac_check_lib_save_LIBS
52856179 fi
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5287 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5288 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
6180 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6181 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6182 if test $ac_cv_lib_nsl_gethostbyname = yes; then
52896183 cat >>confdefs.h <<_ACEOF
52906184 @%:@define HAVE_LIBNSL 1
52916185 _ACEOF
52936187 LIBS="-lnsl $LIBS"
52946188
52956189 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
5297 $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
5298 if ${ac_cv_lib_socket_gethostbyname+:} false; then :
5299 $as_echo_n "(cached) " >&6
6190
6191 { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
6192 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
6193 if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
53006195 else
53016196 ac_check_lib_save_LIBS=$LIBS
53026197 LIBS="-lsocket $LIBS"
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
53046203 /* end confdefs.h. */
53056204
53066205 /* Override any GCC internal prototype to avoid an error.
53186217 return 0;
53196218 }
53206219 _ACEOF
5321 if ac_fn_c_try_link "$LINENO"; then :
6220 rm -f conftest.$ac_objext conftest$ac_exeext
6221 if { (ac_try="$ac_link"
6222 case "(($ac_try" in
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6225 esac
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_link") 2>conftest.er1
6228 ac_status=$?
6229 grep -v '^ *+' conftest.er1 >conftest.err
6230 rm -f conftest.er1
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest$ac_exeext &&
6237 $as_test_x conftest$ac_exeext; then
53226238 ac_cv_lib_socket_gethostbyname=yes
53236239 else
5324 ac_cv_lib_socket_gethostbyname=no
5325 fi
5326 rm -f core conftest.err conftest.$ac_objext \
5327 conftest$ac_exeext conftest.$ac_ext
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6242
6243 ac_cv_lib_socket_gethostbyname=no
6244 fi
6245
6246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247 conftest$ac_exeext conftest.$ac_ext
53286248 LIBS=$ac_check_lib_save_LIBS
53296249 fi
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
5331 $as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
5332 if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
6250 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
6251 echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
6252 if test $ac_cv_lib_socket_gethostbyname = yes; then
53336253 cat >>confdefs.h <<_ACEOF
53346254 @%:@define HAVE_LIBSOCKET 1
53356255 _ACEOF
53436263 fi
53446264 done
53456265
6266
53466267 for ac_func in setsockopt
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
6268 do
6269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 cat >conftest.$ac_ext <<_ACEOF
6276 /* confdefs.h. */
6277 _ACEOF
6278 cat confdefs.h >>conftest.$ac_ext
6279 cat >>conftest.$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6283 #define $ac_func innocuous_$ac_func
6284
6285 /* System header to define __stub macros and hopefully few prototypes,
6286 which can conflict with char $ac_func (); below.
6287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6288 <limits.h> exists even on freestanding compilers. */
6289
6290 #ifdef __STDC__
6291 # include <limits.h>
6292 #else
6293 # include <assert.h>
6294 #endif
6295
6296 #undef $ac_func
6297
6298 /* Override any GCC internal prototype to avoid an error.
6299 Use char because int might match the return type of a GCC
6300 builtin and then its argument prototype would still apply. */
6301 #ifdef __cplusplus
6302 extern "C"
6303 #endif
6304 char $ac_func ();
6305 /* The GNU C library defines this for functions which it implements
6306 to always fail with ENOSYS. Some functions are actually named
6307 something starting with __ and the normal name is an alias. */
6308 #if defined __stub_$ac_func || defined __stub___$ac_func
6309 choke me
6310 #endif
6311
6312 int
6313 main ()
6314 {
6315 return $ac_func ();
6316 ;
6317 return 0;
6318 }
6319 _ACEOF
6320 rm -f conftest.$ac_objext conftest$ac_exeext
6321 if { (ac_try="$ac_link"
6322 case "(($ac_try" in
6323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6324 *) ac_try_echo=$ac_try;;
6325 esac
6326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6327 (eval "$ac_link") 2>conftest.er1
6328 ac_status=$?
6329 grep -v '^ *+' conftest.er1 >conftest.err
6330 rm -f conftest.er1
6331 cat conftest.err >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } && {
6334 test -z "$ac_c_werror_flag" ||
6335 test ! -s conftest.err
6336 } && test -s conftest$ac_exeext &&
6337 $as_test_x conftest$ac_exeext; then
6338 eval "$as_ac_var=yes"
6339 else
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.$ac_ext >&5
6342
6343 eval "$as_ac_var=no"
6344 fi
6345
6346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6347 conftest$ac_exeext conftest.$ac_ext
6348 fi
6349 ac_res=`eval echo '${'$as_ac_var'}'`
6350 { echo "$as_me:$LINENO: result: $ac_res" >&5
6351 echo "${ECHO_T}$ac_res" >&6; }
6352 if test `eval echo '${'$as_ac_var'}'` = yes; then
53506353 cat >>confdefs.h <<_ACEOF
5351 @%:@define HAVE_SETSOCKOPT 1
6354 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53526355 _ACEOF
53536356
53546357 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
5356 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
5357 if ${ac_cv_lib_socket_setsockopt+:} false; then :
5358 $as_echo_n "(cached) " >&6
6358
6359 { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
6360 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
6361 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
53596363 else
53606364 ac_check_lib_save_LIBS=$LIBS
53616365 LIBS="-lsocket $LIBS"
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
53636371 /* end confdefs.h. */
53646372
53656373 /* Override any GCC internal prototype to avoid an error.
53776385 return 0;
53786386 }
53796387 _ACEOF
5380 if ac_fn_c_try_link "$LINENO"; then :
6388 rm -f conftest.$ac_objext conftest$ac_exeext
6389 if { (ac_try="$ac_link"
6390 case "(($ac_try" in
6391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6393 esac
6394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6395 (eval "$ac_link") 2>conftest.er1
6396 ac_status=$?
6397 grep -v '^ *+' conftest.er1 >conftest.err
6398 rm -f conftest.er1
6399 cat conftest.err >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } && {
6402 test -z "$ac_c_werror_flag" ||
6403 test ! -s conftest.err
6404 } && test -s conftest$ac_exeext &&
6405 $as_test_x conftest$ac_exeext; then
53816406 ac_cv_lib_socket_setsockopt=yes
53826407 else
5383 ac_cv_lib_socket_setsockopt=no
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext \
5386 conftest$ac_exeext conftest.$ac_ext
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6410
6411 ac_cv_lib_socket_setsockopt=no
6412 fi
6413
6414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6415 conftest$ac_exeext conftest.$ac_ext
53876416 LIBS=$ac_check_lib_save_LIBS
53886417 fi
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
5390 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
5391 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
6418 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
6419 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
6420 if test $ac_cv_lib_socket_setsockopt = yes; then
53926421 cat >>confdefs.h <<_ACEOF
53936422 @%:@define HAVE_LIBSOCKET 1
53946423 _ACEOF
54016430 done
54026431
54036432
6433
6434
54046435 for ac_func in fpurge __fpurge
5405 do :
5406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6436 do
6437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 else
6443 cat >conftest.$ac_ext <<_ACEOF
6444 /* confdefs.h. */
6445 _ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6451 #define $ac_func innocuous_$ac_func
6452
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func (); below.
6455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 <limits.h> exists even on freestanding compilers. */
6457
6458 #ifdef __STDC__
6459 # include <limits.h>
6460 #else
6461 # include <assert.h>
6462 #endif
6463
6464 #undef $ac_func
6465
6466 /* Override any GCC internal prototype to avoid an error.
6467 Use char because int might match the return type of a GCC
6468 builtin and then its argument prototype would still apply. */
6469 #ifdef __cplusplus
6470 extern "C"
6471 #endif
6472 char $ac_func ();
6473 /* The GNU C library defines this for functions which it implements
6474 to always fail with ENOSYS. Some functions are actually named
6475 something starting with __ and the normal name is an alias. */
6476 #if defined __stub_$ac_func || defined __stub___$ac_func
6477 choke me
6478 #endif
6479
6480 int
6481 main ()
6482 {
6483 return $ac_func ();
6484 ;
6485 return 0;
6486 }
6487 _ACEOF
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6490 case "(($ac_try" in
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6493 esac
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 eval "$as_ac_var=yes"
6507 else
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6510
6511 eval "$as_ac_var=no"
6512 fi
6513
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6516 fi
6517 ac_res=`eval echo '${'$as_ac_var'}'`
6518 { echo "$as_me:$LINENO: result: $ac_res" >&5
6519 echo "${ECHO_T}$ac_res" >&6; }
6520 if test `eval echo '${'$as_ac_var'}'` = yes; then
54096521 cat >>confdefs.h <<_ACEOF
5410 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6522 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54116523 _ACEOF
54126524
54136525 fi
54166528
54176529
54186530 # Checks for header files.
6531
6532
6533
6534
6535
54196536 ac_header_dirent=no
54206537 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5421 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5423 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5424 if eval \${$as_ac_Header+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6539 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6540 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
6541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 else
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
54286549 /* end confdefs.h. */
54296550 #include <sys/types.h>
54306551 #include <$ac_hdr>
54386559 return 0;
54396560 }
54406561 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"; then :
6562 rm -f conftest.$ac_objext
6563 if { (ac_try="$ac_compile"
6564 case "(($ac_try" in
6565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 *) ac_try_echo=$ac_try;;
6567 esac
6568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 (eval "$ac_compile") 2>conftest.er1
6570 ac_status=$?
6571 grep -v '^ *+' conftest.er1 >conftest.err
6572 rm -f conftest.er1
6573 cat conftest.err >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } && {
6576 test -z "$ac_c_werror_flag" ||
6577 test ! -s conftest.err
6578 } && test -s conftest.$ac_objext; then
54426579 eval "$as_ac_Header=yes"
54436580 else
5444 eval "$as_ac_Header=no"
5445 fi
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6583
6584 eval "$as_ac_Header=no"
6585 fi
6586
54466587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476588 fi
5448 eval ac_res=\$$as_ac_Header
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5450 $as_echo "$ac_res" >&6; }
5451 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6589 ac_res=`eval echo '${'$as_ac_Header'}'`
6590 { echo "$as_me:$LINENO: result: $ac_res" >&5
6591 echo "${ECHO_T}$ac_res" >&6; }
6592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54526593 cat >>confdefs.h <<_ACEOF
5453 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6594 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
54546595 _ACEOF
54556596
54566597 ac_header_dirent=$ac_hdr; break
54596600 done
54606601 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
54616602 if test $ac_header_dirent = dirent.h; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5463 $as_echo_n "checking for library containing opendir... " >&6; }
5464 if ${ac_cv_search_opendir+:} false; then :
5465 $as_echo_n "(cached) " >&6
6603 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6604 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6605 if test "${ac_cv_search_opendir+set}" = set; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
54666607 else
54676608 ac_func_search_save_LIBS=$LIBS
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
54696614 /* end confdefs.h. */
54706615
54716616 /* Override any GCC internal prototype to avoid an error.
54906635 ac_res=-l$ac_lib
54916636 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
54926637 fi
5493 if ac_fn_c_try_link "$LINENO"; then :
6638 rm -f conftest.$ac_objext conftest$ac_exeext
6639 if { (ac_try="$ac_link"
6640 case "(($ac_try" in
6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6642 *) ac_try_echo=$ac_try;;
6643 esac
6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6645 (eval "$ac_link") 2>conftest.er1
6646 ac_status=$?
6647 grep -v '^ *+' conftest.er1 >conftest.err
6648 rm -f conftest.er1
6649 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } && {
6652 test -z "$ac_c_werror_flag" ||
6653 test ! -s conftest.err
6654 } && test -s conftest$ac_exeext &&
6655 $as_test_x conftest$ac_exeext; then
54946656 ac_cv_search_opendir=$ac_res
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
6657 else
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6660
6661
6662 fi
6663
6664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6665 conftest$ac_exeext
6666 if test "${ac_cv_search_opendir+set}" = set; then
54996667 break
55006668 fi
55016669 done
5502 if ${ac_cv_search_opendir+:} false; then :
5503
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
55046672 else
55056673 ac_cv_search_opendir=no
55066674 fi
55076675 rm conftest.$ac_ext
55086676 LIBS=$ac_func_search_save_LIBS
55096677 fi
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55126680 ac_res=$ac_cv_search_opendir
5513 if test "$ac_res" != no; then :
6681 if test "$ac_res" != no; then
55146682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55156683
55166684 fi
55176685
55186686 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5520 $as_echo_n "checking for library containing opendir... " >&6; }
5521 if ${ac_cv_search_opendir+:} false; then :
5522 $as_echo_n "(cached) " >&6
6687 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6688 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6689 if test "${ac_cv_search_opendir+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
55236691 else
55246692 ac_func_search_save_LIBS=$LIBS
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
55266698 /* end confdefs.h. */
55276699
55286700 /* Override any GCC internal prototype to avoid an error.
55476719 ac_res=-l$ac_lib
55486720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
55496721 fi
5550 if ac_fn_c_try_link "$LINENO"; then :
6722 rm -f conftest.$ac_objext conftest$ac_exeext
6723 if { (ac_try="$ac_link"
6724 case "(($ac_try" in
6725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6727 esac
6728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6729 (eval "$ac_link") 2>conftest.er1
6730 ac_status=$?
6731 grep -v '^ *+' conftest.er1 >conftest.err
6732 rm -f conftest.er1
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } && {
6736 test -z "$ac_c_werror_flag" ||
6737 test ! -s conftest.err
6738 } && test -s conftest$ac_exeext &&
6739 $as_test_x conftest$ac_exeext; then
55516740 ac_cv_search_opendir=$ac_res
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
6741 else
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6744
6745
6746 fi
6747
6748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6749 conftest$ac_exeext
6750 if test "${ac_cv_search_opendir+set}" = set; then
55566751 break
55576752 fi
55586753 done
5559 if ${ac_cv_search_opendir+:} false; then :
5560
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
55616756 else
55626757 ac_cv_search_opendir=no
55636758 fi
55646759 rm conftest.$ac_ext
55656760 LIBS=$ac_func_search_save_LIBS
55666761 fi
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55696764 ac_res=$ac_cv_search_opendir
5570 if test "$ac_res" != no; then :
6765 if test "$ac_res" != no; then
55716766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55726767
55736768 fi
55746769
55756770 fi
55766771
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5578 $as_echo_n "checking for ANSI C header files... " >&6; }
5579 if ${ac_cv_header_stdc+:} false; then :
5580 $as_echo_n "(cached) " >&6
5581 else
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6773 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6774 if test "${ac_cv_header_stdc+set}" = set; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 else
6777 cat >conftest.$ac_ext <<_ACEOF
6778 /* confdefs.h. */
6779 _ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
55836782 /* end confdefs.h. */
55846783 #include <stdlib.h>
55856784 #include <stdarg.h>
55946793 return 0;
55956794 }
55966795 _ACEOF
5597 if ac_fn_c_try_compile "$LINENO"; then :
6796 rm -f conftest.$ac_objext
6797 if { (ac_try="$ac_compile"
6798 case "(($ac_try" in
6799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6800 *) ac_try_echo=$ac_try;;
6801 esac
6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6803 (eval "$ac_compile") 2>conftest.er1
6804 ac_status=$?
6805 grep -v '^ *+' conftest.er1 >conftest.err
6806 rm -f conftest.er1
6807 cat conftest.err >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } && {
6810 test -z "$ac_c_werror_flag" ||
6811 test ! -s conftest.err
6812 } && test -s conftest.$ac_objext; then
55986813 ac_cv_header_stdc=yes
55996814 else
5600 ac_cv_header_stdc=no
5601 fi
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6817
6818 ac_cv_header_stdc=no
6819 fi
6820
56026821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56036822
56046823 if test $ac_cv_header_stdc = yes; then
56056824 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
56076830 /* end confdefs.h. */
56086831 #include <string.h>
56096832
56106833 _ACEOF
56116834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
56146837 else
56156838 ac_cv_header_stdc=no
56166839 fi
5617 rm -f conftest*
6840 rm -f -r conftest*
56186841
56196842 fi
56206843
56216844 if test $ac_cv_header_stdc = yes; then
56226845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
56246851 /* end confdefs.h. */
56256852 #include <stdlib.h>
56266853
56276854 _ACEOF
56286855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
56316858 else
56326859 ac_cv_header_stdc=no
56336860 fi
5634 rm -f conftest*
6861 rm -f -r conftest*
56356862
56366863 fi
56376864
56386865 if test $ac_cv_header_stdc = yes; then
56396866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5640 if test "$cross_compiling" = yes; then :
6867 if test "$cross_compiling" = yes; then
56416868 :
56426869 else
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
56446875 /* end confdefs.h. */
56456876 #include <ctype.h>
56466877 #include <stdlib.h>
56676898 return 0;
56686899 }
56696900 _ACEOF
5670 if ac_fn_c_try_run "$LINENO"; then :
5671
5672 else
5673 ac_cv_header_stdc=no
5674 fi
5675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5676 conftest.$ac_objext conftest.beam conftest.$ac_ext
5677 fi
5678
5679 fi
5680 fi
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5682 $as_echo "$ac_cv_header_stdc" >&6; }
6901 rm -f conftest$ac_exeext
6902 if { (ac_try="$ac_link"
6903 case "(($ac_try" in
6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905 *) ac_try_echo=$ac_try;;
6906 esac
6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6908 (eval "$ac_link") 2>&5
6909 ac_status=$?
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6912 { (case "(($ac_try" in
6913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6914 *) ac_try_echo=$ac_try;;
6915 esac
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_try") 2>&5
6918 ac_status=$?
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6921 :
6922 else
6923 echo "$as_me: program exited with status $ac_status" >&5
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6926
6927 ( exit $ac_status )
6928 ac_cv_header_stdc=no
6929 fi
6930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6931 fi
6932
6933
6934 fi
6935 fi
6936 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6937 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
56836938 if test $ac_cv_header_stdc = yes; then
56846939
5685 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
6940 cat >>confdefs.h <<\_ACEOF
6941 @%:@define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
56886946
56896947 for ac_header in nameser8_compat.h
5690 do :
5691 ac_fn_c_check_header_mongrel "$LINENO" "nameser8_compat.h" "ac_cv_header_nameser8_compat_h" "$ac_includes_default"
5692 if test "x$ac_cv_header_nameser8_compat_h" = xyes; then :
6948 do
6949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 fi
6956 ac_res=`eval echo '${'$as_ac_Header'}'`
6957 { echo "$as_me:$LINENO: result: $ac_res" >&5
6958 echo "${ECHO_T}$ac_res" >&6; }
6959 else
6960 # Is the header compilable?
6961 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6963 cat >conftest.$ac_ext <<_ACEOF
6964 /* confdefs.h. */
6965 _ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 $ac_includes_default
6970 @%:@include <$ac_header>
6971 _ACEOF
6972 rm -f conftest.$ac_objext
6973 if { (ac_try="$ac_compile"
6974 case "(($ac_try" in
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6977 esac
6978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6979 (eval "$ac_compile") 2>conftest.er1
6980 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && {
6986 test -z "$ac_c_werror_flag" ||
6987 test ! -s conftest.err
6988 } && test -s conftest.$ac_objext; then
6989 ac_header_compiler=yes
6990 else
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6993
6994 ac_header_compiler=no
6995 fi
6996
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6999 echo "${ECHO_T}$ac_header_compiler" >&6; }
7000
7001 # Is the header present?
7002 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7004 cat >conftest.$ac_ext <<_ACEOF
7005 /* confdefs.h. */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 @%:@include <$ac_header>
7011 _ACEOF
7012 if { (ac_try="$ac_cpp conftest.$ac_ext"
7013 case "(($ac_try" in
7014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015 *) ac_try_echo=$ac_try;;
7016 esac
7017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7019 ac_status=$?
7020 grep -v '^ *+' conftest.er1 >conftest.err
7021 rm -f conftest.er1
7022 cat conftest.err >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } >/dev/null && {
7025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7026 test ! -s conftest.err
7027 }; then
7028 ac_header_preproc=yes
7029 else
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7032
7033 ac_header_preproc=no
7034 fi
7035
7036 rm -f conftest.err conftest.$ac_ext
7037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7038 echo "${ECHO_T}$ac_header_preproc" >&6; }
7039
7040 # So? What about this header?
7041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7042 yes:no: )
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7047 ac_header_preproc=yes
7048 ;;
7049 no:yes:* )
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7062 ( cat <<\_ASBOX
7063 @%:@@%:@ ------------------------------------------ @%:@@%:@
7064 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
7065 @%:@@%:@ ------------------------------------------ @%:@@%:@
7066 _ASBOX
7067 ) | sed "s/^/$as_me: WARNING: /" >&2
7068 ;;
7069 esac
7070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 else
7075 eval "$as_ac_Header=\$ac_header_preproc"
7076 fi
7077 ac_res=`eval echo '${'$as_ac_Header'}'`
7078 { echo "$as_me:$LINENO: result: $ac_res" >&5
7079 echo "${ECHO_T}$ac_res" >&6; }
7080
7081 fi
7082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56937083 cat >>confdefs.h <<_ACEOF
5694 @%:@define HAVE_NAMESER8_COMPAT_H 1
7084 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56957085 _ACEOF
56967086
56977087 fi
56987088
56997089 done
57007090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
57017103 for ac_header in arpa/inet.h fcntl.h netinet/in.h fts.h stdint.h stdlib.h stddef.h string.h sys/socket.h syslog.h unistd.h iso/limits_iso.h
5702 do :
5703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5704 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7104 do
7105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 fi
7112 ac_res=`eval echo '${'$as_ac_Header'}'`
7113 { echo "$as_me:$LINENO: result: $ac_res" >&5
7114 echo "${ECHO_T}$ac_res" >&6; }
7115 else
7116 # Is the header compilable?
7117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7119 cat >conftest.$ac_ext <<_ACEOF
7120 /* confdefs.h. */
7121 _ACEOF
7122 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 @%:@include <$ac_header>
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (ac_try="$ac_compile"
7130 case "(($ac_try" in
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7133 esac
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 ac_header_compiler=yes
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7149
7150 ac_header_compiler=no
7151 fi
7152
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7155 echo "${ECHO_T}$ac_header_compiler" >&6; }
7156
7157 # Is the header present?
7158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 @%:@include <$ac_header>
7167 _ACEOF
7168 if { (ac_try="$ac_cpp conftest.$ac_ext"
7169 case "(($ac_try" in
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7172 esac
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7175 ac_status=$?
7176 grep -v '^ *+' conftest.er1 >conftest.err
7177 rm -f conftest.er1
7178 cat conftest.err >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } >/dev/null && {
7181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7182 test ! -s conftest.err
7183 }; then
7184 ac_header_preproc=yes
7185 else
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7188
7189 ac_header_preproc=no
7190 fi
7191
7192 rm -f conftest.err conftest.$ac_ext
7193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7194 echo "${ECHO_T}$ac_header_preproc" >&6; }
7195
7196 # So? What about this header?
7197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7198 yes:no: )
7199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7203 ac_header_preproc=yes
7204 ;;
7205 no:yes:* )
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7218 ( cat <<\_ASBOX
7219 @%:@@%:@ ------------------------------------------ @%:@@%:@
7220 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
7221 @%:@@%:@ ------------------------------------------ @%:@@%:@
7222 _ASBOX
7223 ) | sed "s/^/$as_me: WARNING: /" >&2
7224 ;;
7225 esac
7226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else
7231 eval "$as_ac_Header=\$ac_header_preproc"
7232 fi
7233 ac_res=`eval echo '${'$as_ac_Header'}'`
7234 { echo "$as_me:$LINENO: result: $ac_res" >&5
7235 echo "${ECHO_T}$ac_res" >&6; }
7236
7237 fi
7238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57067239 cat >>confdefs.h <<_ACEOF
5707 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57087241 _ACEOF
57097242
57107243 fi
57127245 done
57137246
57147247
7248
7249
7250
7251
7252
57157253 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
5716 do :
5717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
7254 do
7255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 else
7261 cat >conftest.$ac_ext <<_ACEOF
7262 /* confdefs.h. */
7263 _ACEOF
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 #ifdef HAVE_SYS_TYPES_H
57197268 # include <sys/types.h>
57207269 #endif
57217270 #ifdef HAVE_NETINET_IN_H
57277276 #ifdef HAVE_NETDB_H
57287277 # include <netdb.h>
57297278 #endif
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7279
7280 @%:@include <$ac_header>
7281 _ACEOF
7282 rm -f conftest.$ac_objext
7283 if { (ac_try="$ac_compile"
7284 case "(($ac_try" in
7285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7286 *) ac_try_echo=$ac_try;;
7287 esac
7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7289 (eval "$ac_compile") 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } && {
7296 test -z "$ac_c_werror_flag" ||
7297 test ! -s conftest.err
7298 } && test -s conftest.$ac_objext; then
7299 eval "$as_ac_Header=yes"
7300 else
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7303
7304 eval "$as_ac_Header=no"
7305 fi
7306
7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7308 fi
7309 ac_res=`eval echo '${'$as_ac_Header'}'`
7310 { echo "$as_me:$LINENO: result: $ac_res" >&5
7311 echo "${ECHO_T}$ac_res" >&6; }
7312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57327313 cat >>confdefs.h <<_ACEOF
5733 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7314 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57347315 _ACEOF
57357316
57367317 fi
57467327
57477328
57487329 # Checks for typedefs, structures, and compiler characteristics.
7330 { echo "$as_me:$LINENO: checking for void *" >&5
7331 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
7332 if test "${ac_cv_type_void_p+set}" = set; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335 cat >conftest.$ac_ext <<_ACEOF
7336 /* confdefs.h. */
7337 _ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 $ac_includes_default
7342 typedef void * ac__type_new_;
7343 int
7344 main ()
7345 {
7346 if ((ac__type_new_ *) 0)
7347 return 0;
7348 if (sizeof (ac__type_new_))
7349 return 0;
7350 ;
7351 return 0;
7352 }
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (ac_try="$ac_compile"
7356 case "(($ac_try" in
7357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358 *) ac_try_echo=$ac_try;;
7359 esac
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_compile") 2>conftest.er1
7362 ac_status=$?
7363 grep -v '^ *+' conftest.er1 >conftest.err
7364 rm -f conftest.er1
7365 cat conftest.err >&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } && {
7368 test -z "$ac_c_werror_flag" ||
7369 test ! -s conftest.err
7370 } && test -s conftest.$ac_objext; then
7371 ac_cv_type_void_p=yes
7372 else
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7375
7376 ac_cv_type_void_p=no
7377 fi
7378
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7380 fi
7381 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7382 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
7383
57497384 # The cast to long int works around a bug in the HP C Compiler
57507385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57517386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57527387 # This bug is HP SR number 8606223364.
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5754 $as_echo_n "checking size of void *... " >&6; }
5755 if ${ac_cv_sizeof_void_p+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5759
5760 else
5761 if test "$ac_cv_type_void_p" = yes; then
5762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error 77 "cannot compute sizeof (void *)
5765 See \`config.log' for more details" "$LINENO" 5; }
7388 { echo "$as_me:$LINENO: checking size of void *" >&5
7389 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
7390 if test "${ac_cv_sizeof_void_p+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 else
7393 if test "$cross_compiling" = yes; then
7394 # Depending upon the size, compute the lo and hi bounds.
7395 cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h. */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 $ac_includes_default
7402 typedef void * ac__type_sizeof_;
7403 int
7404 main ()
7405 {
7406 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
7407 test_array @<:@0@:>@ = 0
7408
7409 ;
7410 return 0;
7411 }
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (ac_try="$ac_compile"
7415 case "(($ac_try" in
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7418 esac
7419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7420 (eval "$ac_compile") 2>conftest.er1
7421 ac_status=$?
7422 grep -v '^ *+' conftest.er1 >conftest.err
7423 rm -f conftest.er1
7424 cat conftest.err >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } && {
7427 test -z "$ac_c_werror_flag" ||
7428 test ! -s conftest.err
7429 } && test -s conftest.$ac_objext; then
7430 ac_lo=0 ac_mid=0
7431 while :; do
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 $ac_includes_default
7439 typedef void * ac__type_sizeof_;
7440 int
7441 main ()
7442 {
7443 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
7444 test_array @<:@0@:>@ = 0
7445
7446 ;
7447 return 0;
7448 }
7449 _ACEOF
7450 rm -f conftest.$ac_objext
7451 if { (ac_try="$ac_compile"
7452 case "(($ac_try" in
7453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7454 *) ac_try_echo=$ac_try;;
7455 esac
7456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7457 (eval "$ac_compile") 2>conftest.er1
7458 ac_status=$?
7459 grep -v '^ *+' conftest.er1 >conftest.err
7460 rm -f conftest.er1
7461 cat conftest.err >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } && {
7464 test -z "$ac_c_werror_flag" ||
7465 test ! -s conftest.err
7466 } && test -s conftest.$ac_objext; then
7467 ac_hi=$ac_mid; break
7468 else
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.$ac_ext >&5
7471
7472 ac_lo=`expr $ac_mid + 1`
7473 if test $ac_lo -le $ac_mid; then
7474 ac_lo= ac_hi=
7475 break
7476 fi
7477 ac_mid=`expr 2 '*' $ac_mid + 1`
7478 fi
7479
7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481 done
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7485
7486 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h. */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7492 $ac_includes_default
7493 typedef void * ac__type_sizeof_;
7494 int
7495 main ()
7496 {
7497 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
7498 test_array @<:@0@:>@ = 0
7499
7500 ;
7501 return 0;
7502 }
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (ac_try="$ac_compile"
7506 case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7509 esac
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 ac_hi=-1 ac_mid=-1
7522 while :; do
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7529 $ac_includes_default
7530 typedef void * ac__type_sizeof_;
7531 int
7532 main ()
7533 {
7534 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
7535 test_array @<:@0@:>@ = 0
7536
7537 ;
7538 return 0;
7539 }
7540 _ACEOF
7541 rm -f conftest.$ac_objext
7542 if { (ac_try="$ac_compile"
7543 case "(($ac_try" in
7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 *) ac_try_echo=$ac_try;;
7546 esac
7547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7548 (eval "$ac_compile") 2>conftest.er1
7549 ac_status=$?
7550 grep -v '^ *+' conftest.er1 >conftest.err
7551 rm -f conftest.er1
7552 cat conftest.err >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); } && {
7555 test -z "$ac_c_werror_flag" ||
7556 test ! -s conftest.err
7557 } && test -s conftest.$ac_objext; then
7558 ac_lo=$ac_mid; break
7559 else
7560 echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.$ac_ext >&5
7562
7563 ac_hi=`expr '(' $ac_mid ')' - 1`
7564 if test $ac_mid -le $ac_hi; then
7565 ac_lo= ac_hi=
7566 break
7567 fi
7568 ac_mid=`expr 2 '*' $ac_mid`
7569 fi
7570
7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7572 done
7573 else
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7576
7577 ac_lo= ac_hi=
7578 fi
7579
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7581 fi
7582
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584 # Binary search between lo and hi bounds.
7585 while test "x$ac_lo" != "x$ac_hi"; do
7586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7587 cat >conftest.$ac_ext <<_ACEOF
7588 /* confdefs.h. */
7589 _ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 $ac_includes_default
7594 typedef void * ac__type_sizeof_;
7595 int
7596 main ()
7597 {
7598 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
7599 test_array @<:@0@:>@ = 0
7600
7601 ;
7602 return 0;
7603 }
7604 _ACEOF
7605 rm -f conftest.$ac_objext
7606 if { (ac_try="$ac_compile"
7607 case "(($ac_try" in
7608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7609 *) ac_try_echo=$ac_try;;
7610 esac
7611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7612 (eval "$ac_compile") 2>conftest.er1
7613 ac_status=$?
7614 grep -v '^ *+' conftest.er1 >conftest.err
7615 rm -f conftest.er1
7616 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && {
7619 test -z "$ac_c_werror_flag" ||
7620 test ! -s conftest.err
7621 } && test -s conftest.$ac_objext; then
7622 ac_hi=$ac_mid
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 ac_lo=`expr '(' $ac_mid ')' + 1`
7628 fi
7629
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 done
7632 case $ac_lo in
7633 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7634 '') if test "$ac_cv_type_void_p" = yes; then
7635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7636 See \`config.log' for more details." >&5
7637 echo "$as_me: error: cannot compute sizeof (void *)
7638 See \`config.log' for more details." >&2;}
7639 { (exit 77); exit 77; }; }
7640 else
7641 ac_cv_sizeof_void_p=0
7642 fi ;;
7643 esac
7644 else
7645 cat >conftest.$ac_ext <<_ACEOF
7646 /* confdefs.h. */
7647 _ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 $ac_includes_default
7652 typedef void * ac__type_sizeof_;
7653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7655 @%:@include <stdio.h>
7656 @%:@include <stdlib.h>
7657 int
7658 main ()
7659 {
7660
7661 FILE *f = fopen ("conftest.val", "w");
7662 if (! f)
7663 return 1;
7664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7665 {
7666 long int i = longval ();
7667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7668 return 1;
7669 fprintf (f, "%ld\n", i);
7670 }
7671 else
7672 {
7673 unsigned long int i = ulongval ();
7674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7675 return 1;
7676 fprintf (f, "%lu\n", i);
7677 }
7678 return ferror (f) || fclose (f) != 0;
7679
7680 ;
7681 return 0;
7682 }
7683 _ACEOF
7684 rm -f conftest$ac_exeext
7685 if { (ac_try="$ac_link"
7686 case "(($ac_try" in
7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 *) ac_try_echo=$ac_try;;
7689 esac
7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 (eval "$ac_link") 2>&5
7692 ac_status=$?
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7695 { (case "(($ac_try" in
7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697 *) ac_try_echo=$ac_try;;
7698 esac
7699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7700 (eval "$ac_try") 2>&5
7701 ac_status=$?
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); }; }; then
7704 ac_cv_sizeof_void_p=`cat conftest.val`
7705 else
7706 echo "$as_me: program exited with status $ac_status" >&5
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7709
7710 ( exit $ac_status )
7711 if test "$ac_cv_type_void_p" = yes; then
7712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7713 See \`config.log' for more details." >&5
7714 echo "$as_me: error: cannot compute sizeof (void *)
7715 See \`config.log' for more details." >&2;}
7716 { (exit 77); exit 77; }; }
57667717 else
57677718 ac_cv_sizeof_void_p=0
57687719 fi
57697720 fi
5770
5771 fi
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5773 $as_echo "$ac_cv_sizeof_void_p" >&6; }
7721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7722 fi
7723 rm -f conftest.val
7724 fi
7725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7726 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
57747727
57757728
57767729
57807733
57817734
57827735
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5784 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5785 if ${ac_cv_c_const+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7738 if test "${ac_cv_c_const+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7740 else
7741 cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h. */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
57897746 /* end confdefs.h. */
57907747
57917748 int
58457802 return 0;
58467803 }
58477804 _ACEOF
5848 if ac_fn_c_try_compile "$LINENO"; then :
7805 rm -f conftest.$ac_objext
7806 if { (ac_try="$ac_compile"
7807 case "(($ac_try" in
7808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7809 *) ac_try_echo=$ac_try;;
7810 esac
7811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7812 (eval "$ac_compile") 2>conftest.er1
7813 ac_status=$?
7814 grep -v '^ *+' conftest.er1 >conftest.err
7815 rm -f conftest.er1
7816 cat conftest.err >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } && {
7819 test -z "$ac_c_werror_flag" ||
7820 test ! -s conftest.err
7821 } && test -s conftest.$ac_objext; then
58497822 ac_cv_c_const=yes
58507823 else
5851 ac_cv_c_const=no
5852 fi
7824 echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7826
7827 ac_cv_c_const=no
7828 fi
7829
58537830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547831 fi
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
58577834 if test $ac_cv_c_const = no; then
58587835
5859 $as_echo "@%:@define const /**/" >>confdefs.h
5860
5861 fi
5862
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5864 $as_echo_n "checking for inline... " >&6; }
5865 if ${ac_cv_c_inline+:} false; then :
5866 $as_echo_n "(cached) " >&6
7836 cat >>confdefs.h <<\_ACEOF
7837 @%:@define const
7838 _ACEOF
7839
7840 fi
7841
7842 { echo "$as_me:$LINENO: checking for inline" >&5
7843 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7844 if test "${ac_cv_c_inline+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
58677846 else
58687847 ac_cv_c_inline=no
58697848 for ac_kw in inline __inline__ __inline; do
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
58717854 /* end confdefs.h. */
58727855 #ifndef __cplusplus
58737856 typedef int foo_t;
58767859 #endif
58777860
58787861 _ACEOF
5879 if ac_fn_c_try_compile "$LINENO"; then :
7862 rm -f conftest.$ac_objext
7863 if { (ac_try="$ac_compile"
7864 case "(($ac_try" in
7865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7867 esac
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7870 ac_status=$?
7871 grep -v '^ *+' conftest.er1 >conftest.err
7872 rm -f conftest.er1
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest.$ac_objext; then
58807879 ac_cv_c_inline=$ac_kw
5881 fi
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
58827887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58837888 test "$ac_cv_c_inline" != no && break
58847889 done
58857890
58867891 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
58897895
58907896 case $ac_cv_c_inline in
58917897 inline | yes) ;;
59027908 ;;
59037909 esac
59047910
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5906 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5907 if ${ac_cv_c_bigendian+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 ac_cv_c_bigendian=unknown
5911 # See if we're dealing with a universal compiler.
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #ifndef __APPLE_CC__
5915 not a universal capable compiler
5916 #endif
5917 typedef int dummy;
5918
5919 _ACEOF
5920 if ac_fn_c_try_compile "$LINENO"; then :
5921
5922 # Check for potential -arch flags. It is not universal unless
5923 # there are at least two -arch flags with different values.
5924 ac_arch=
5925 ac_prev=
5926 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5927 if test -n "$ac_prev"; then
5928 case $ac_word in
5929 i?86 | x86_64 | ppc | ppc64)
5930 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5931 ac_arch=$ac_word
5932 else
5933 ac_cv_c_bigendian=universal
5934 break
5935 fi
5936 ;;
5937 esac
5938 ac_prev=
5939 elif test "x$ac_word" = "x-arch"; then
5940 ac_prev=arch
5941 fi
5942 done
5943 fi
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 if test $ac_cv_c_bigendian = unknown; then
5946 # See if sys/param.h defines the BYTE_ORDER macro.
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7912 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
7913 if test "${ac_cv_c_bigendian+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 else
7916 # See if sys/param.h defines the BYTE_ORDER macro.
7917 cat >conftest.$ac_ext <<_ACEOF
7918 /* confdefs.h. */
7919 _ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
59487922 /* end confdefs.h. */
59497923 #include <sys/types.h>
5950 #include <sys/param.h>
5951
7924 #include <sys/param.h>
7925
59527926 int
59537927 main ()
59547928 {
5955 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5956 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5957 && LITTLE_ENDIAN)
5958 bogus endian macros
5959 #endif
5960
7929 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
7930 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
7931 bogus endian macros
7932 #endif
7933
59617934 ;
59627935 return 0;
59637936 }
59647937 _ACEOF
5965 if ac_fn_c_try_compile "$LINENO"; then :
7938 rm -f conftest.$ac_objext
7939 if { (ac_try="$ac_compile"
7940 case "(($ac_try" in
7941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7942 *) ac_try_echo=$ac_try;;
7943 esac
7944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7945 (eval "$ac_compile") 2>conftest.er1
7946 ac_status=$?
7947 grep -v '^ *+' conftest.er1 >conftest.err
7948 rm -f conftest.er1
7949 cat conftest.err >&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } && {
7952 test -z "$ac_c_werror_flag" ||
7953 test ! -s conftest.err
7954 } && test -s conftest.$ac_objext; then
59667955 # It does; now see whether it defined to BIG_ENDIAN or not.
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
59687961 /* end confdefs.h. */
59697962 #include <sys/types.h>
5970 #include <sys/param.h>
5971
7963 #include <sys/param.h>
7964
59727965 int
59737966 main ()
59747967 {
59757968 #if BYTE_ORDER != BIG_ENDIAN
5976 not big endian
5977 #endif
5978
7969 not big endian
7970 #endif
7971
59797972 ;
59807973 return 0;
59817974 }
59827975 _ACEOF
5983 if ac_fn_c_try_compile "$LINENO"; then :
7976 rm -f conftest.$ac_objext
7977 if { (ac_try="$ac_compile"
7978 case "(($ac_try" in
7979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7980 *) ac_try_echo=$ac_try;;
7981 esac
7982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7983 (eval "$ac_compile") 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } && {
7990 test -z "$ac_c_werror_flag" ||
7991 test ! -s conftest.err
7992 } && test -s conftest.$ac_objext; then
59847993 ac_cv_c_bigendian=yes
59857994 else
5986 ac_cv_c_bigendian=no
5987 fi
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7997
7998 ac_cv_c_bigendian=no
7999 fi
8000
59888001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 fi
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5991 fi
5992 if test $ac_cv_c_bigendian = unknown; then
5993 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <limits.h>
5997
8002 else
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8005
8006 # It does not; compile a test program.
8007 if test "$cross_compiling" = yes; then
8008 # try to guess the endianness by grepping values into an object file
8009 ac_cv_c_bigendian=unknown
8010 cat >conftest.$ac_ext <<_ACEOF
8011 /* confdefs.h. */
8012 _ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8017 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8018 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8019 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8020 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8021 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
59988022 int
59998023 main ()
60008024 {
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
8025 _ascii (); _ebcdic ();
60058026 ;
60068027 return 0;
60078028 }
60088029 _ACEOF
6009 if ac_fn_c_try_compile "$LINENO"; then :
6010 # It does; now see whether it defined to _BIG_ENDIAN or not.
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6013 #include <limits.h>
6014
6015 int
6016 main ()
6017 {
6018 #ifndef _BIG_ENDIAN
6019 not big endian
6020 #endif
6021
6022 ;
6023 return 0;
6024 }
6025 _ACEOF
6026 if ac_fn_c_try_compile "$LINENO"; then :
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8032 case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035 esac
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8038 ac_status=$?
8039 grep -v '^ *+' conftest.er1 >conftest.err
8040 rm -f conftest.er1
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.$ac_objext; then
8047 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
60278048 ac_cv_c_bigendian=yes
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
8049 fi
8050 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8051 if test "$ac_cv_c_bigendian" = unknown; then
8052 ac_cv_c_bigendian=no
8053 else
8054 # finding both strings is unlikely to happen, but who knows?
8055 ac_cv_c_bigendian=unknown
8056 fi
8057 fi
8058 else
8059 echo "$as_me: failed program was:" >&5
8060 sed 's/^/| /' conftest.$ac_ext >&5
8061
8062
8063 fi
8064
60318065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6032 fi
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 fi
6035 if test $ac_cv_c_bigendian = unknown; then
6036 # Compile a test program.
6037 if test "$cross_compiling" = yes; then :
6038 # Try to guess by grepping values from an object file.
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 short int ascii_mm[] =
6042 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6043 short int ascii_ii[] =
6044 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6045 int use_ascii (int i) {
6046 return ascii_mm[i] + ascii_ii[i];
6047 }
6048 short int ebcdic_ii[] =
6049 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6050 short int ebcdic_mm[] =
6051 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6052 int use_ebcdic (int i) {
6053 return ebcdic_mm[i] + ebcdic_ii[i];
6054 }
6055 extern int foo;
6056
6057 int
6058 main ()
6059 {
6060 return use_ascii (foo) == use_ebcdic (foo);
6061 ;
6062 return 0;
6063 }
6064 _ACEOF
6065 if ac_fn_c_try_compile "$LINENO"; then :
6066 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6067 ac_cv_c_bigendian=yes
6068 fi
6069 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6070 if test "$ac_cv_c_bigendian" = unknown; then
6071 ac_cv_c_bigendian=no
6072 else
6073 # finding both strings is unlikely to happen, but who knows?
6074 ac_cv_c_bigendian=unknown
6075 fi
6076 fi
6077 fi
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6079 else
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 else
8067 cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h. */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
60818072 /* end confdefs.h. */
60828073 $ac_includes_default
60838074 int
60848075 main ()
60858076 {
60868077
6087 /* Are we little or big endian? From Harbison&Steele. */
6088 union
6089 {
6090 long int l;
6091 char c[sizeof (long int)];
6092 } u;
6093 u.l = 1;
6094 return u.c[sizeof (long int) - 1] == 1;
6095
8078 /* Are we little or big endian? From Harbison&Steele. */
8079 union
8080 {
8081 long int l;
8082 char c[sizeof (long int)];
8083 } u;
8084 u.l = 1;
8085 return u.c[sizeof (long int) - 1] == 1;
8086
60968087 ;
60978088 return 0;
60988089 }
60998090 _ACEOF
6100 if ac_fn_c_try_run "$LINENO"; then :
8091 rm -f conftest$ac_exeext
8092 if { (ac_try="$ac_link"
8093 case "(($ac_try" in
8094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8096 esac
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_link") 2>&5
8099 ac_status=$?
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8102 { (case "(($ac_try" in
8103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8104 *) ac_try_echo=$ac_try;;
8105 esac
8106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8107 (eval "$ac_try") 2>&5
8108 ac_status=$?
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
61018111 ac_cv_c_bigendian=no
61028112 else
6103 ac_cv_c_bigendian=yes
6104 fi
6105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6106 conftest.$ac_objext conftest.beam conftest.$ac_ext
6107 fi
6108
6109 fi
6110 fi
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6112 $as_echo "$ac_cv_c_bigendian" >&6; }
6113 case $ac_cv_c_bigendian in #(
6114 yes)
6115 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
6116 ;; #(
6117 no)
6118 ;; #(
6119 universal)
6120
6121 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6122
6123 ;; #(
6124 *)
6125 as_fn_error $? "unknown endianness
6126 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6127 esac
6128
6129 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6130 if test "x$ac_cv_type_pid_t" = xyes; then :
6131
8113 echo "$as_me: program exited with status $ac_status" >&5
8114 echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8116
8117 ( exit $ac_status )
8118 ac_cv_c_bigendian=yes
8119 fi
8120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8121 fi
8122
8123
8124 fi
8125
8126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8127 fi
8128 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8129 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8130 case $ac_cv_c_bigendian in
8131 yes)
8132
8133 cat >>confdefs.h <<\_ACEOF
8134 @%:@define WORDS_BIGENDIAN 1
8135 _ACEOF
8136 ;;
8137 no)
8138 ;;
8139 *)
8140 { { echo "$as_me:$LINENO: error: unknown endianness
8141 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8142 echo "$as_me: error: unknown endianness
8143 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8144 { (exit 1); exit 1; }; } ;;
8145 esac
8146
8147 { echo "$as_me:$LINENO: checking for pid_t" >&5
8148 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
8149 if test "${ac_cv_type_pid_t+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 else
8152 cat >conftest.$ac_ext <<_ACEOF
8153 /* confdefs.h. */
8154 _ACEOF
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
8160 int
8161 main ()
8162 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
8167 ;
8168 return 0;
8169 }
8170 _ACEOF
8171 rm -f conftest.$ac_objext
8172 if { (ac_try="$ac_compile"
8173 case "(($ac_try" in
8174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8175 *) ac_try_echo=$ac_try;;
8176 esac
8177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8178 (eval "$ac_compile") 2>conftest.er1
8179 ac_status=$?
8180 grep -v '^ *+' conftest.er1 >conftest.err
8181 rm -f conftest.er1
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && {
8185 test -z "$ac_c_werror_flag" ||
8186 test ! -s conftest.err
8187 } && test -s conftest.$ac_objext; then
8188 ac_cv_type_pid_t=yes
8189 else
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8192
8193 ac_cv_type_pid_t=no
8194 fi
8195
8196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8197 fi
8198 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8199 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
8200 if test $ac_cv_type_pid_t = yes; then
8201 :
61328202 else
61338203
61348204 cat >>confdefs.h <<_ACEOF
61378207
61388208 fi
61398209
6140 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6141 if test "x$ac_cv_type_size_t" = xyes; then :
6142
8210 { echo "$as_me:$LINENO: checking for size_t" >&5
8211 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
8212 if test "${ac_cv_type_size_t+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 else
8215 cat >conftest.$ac_ext <<_ACEOF
8216 /* confdefs.h. */
8217 _ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8221 $ac_includes_default
8222 typedef size_t ac__type_new_;
8223 int
8224 main ()
8225 {
8226 if ((ac__type_new_ *) 0)
8227 return 0;
8228 if (sizeof (ac__type_new_))
8229 return 0;
8230 ;
8231 return 0;
8232 }
8233 _ACEOF
8234 rm -f conftest.$ac_objext
8235 if { (ac_try="$ac_compile"
8236 case "(($ac_try" in
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8239 esac
8240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8241 (eval "$ac_compile") 2>conftest.er1
8242 ac_status=$?
8243 grep -v '^ *+' conftest.er1 >conftest.err
8244 rm -f conftest.er1
8245 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then
8251 ac_cv_type_size_t=yes
8252 else
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8255
8256 ac_cv_type_size_t=no
8257 fi
8258
8259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8260 fi
8261 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8262 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
8263 if test $ac_cv_type_size_t = yes; then
8264 :
61438265 else
61448266
61458267 cat >>confdefs.h <<_ACEOF
61488270
61498271 fi
61508272
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6152 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6153 if ${ac_cv_struct_tm+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8274 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8275 if test "${ac_cv_struct_tm+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 else
8278 cat >conftest.$ac_ext <<_ACEOF
8279 /* confdefs.h. */
8280 _ACEOF
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
61578283 /* end confdefs.h. */
61588284 #include <sys/types.h>
61598285 #include <time.h>
61638289 {
61648290 struct tm tm;
61658291 int *p = &tm.tm_sec;
6166 return !p;
8292 return !p;
61678293 ;
61688294 return 0;
61698295 }
61708296 _ACEOF
6171 if ac_fn_c_try_compile "$LINENO"; then :
8297 rm -f conftest.$ac_objext
8298 if { (ac_try="$ac_compile"
8299 case "(($ac_try" in
8300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8301 *) ac_try_echo=$ac_try;;
8302 esac
8303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8304 (eval "$ac_compile") 2>conftest.er1
8305 ac_status=$?
8306 grep -v '^ *+' conftest.er1 >conftest.err
8307 rm -f conftest.er1
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } && {
8311 test -z "$ac_c_werror_flag" ||
8312 test ! -s conftest.err
8313 } && test -s conftest.$ac_objext; then
61728314 ac_cv_struct_tm=time.h
61738315 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8318
8319 ac_cv_struct_tm=sys/time.h
8320 fi
8321
61768322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61778323 fi
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
61808326 if test $ac_cv_struct_tm = sys/time.h; then
61818327
6182 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
6183
6184 fi
6185
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6187 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6188 if ${ac_cv_header_stdbool_h+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 cat >>confdefs.h <<\_ACEOF
8329 @%:@define TM_IN_SYS_TIME 1
8330 _ACEOF
8331
8332 fi
8333
8334 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8335 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
8336 if test "${ac_cv_header_stdbool_h+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
61928344 /* end confdefs.h. */
61938345
61948346 #include <stdbool.h>
62178369 char b[false == 0 ? 1 : -1];
62188370 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
62198371 char d[(bool) 0.5 == true ? 1 : -1];
6220 /* See body of main program for 'e'. */
8372 bool e = &s;
62218373 char f[(_Bool) 0.0 == false ? 1 : -1];
62228374 char g[true];
62238375 char h[sizeof (_Bool)];
62248376 char i[sizeof s.t];
62258377 enum { j = false, k = true, l = false * true, m = true * 256 };
6226 /* The following fails for
6227 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
62288378 _Bool n[m];
62298379 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
62308380 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8381 # if defined __xlc__ || defined __GNUC__
8382 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8383 reported by James Lemley on 2005-10-05; see
8384 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8385 This test is not quite right, since xlc is allowed to
8386 reject this program, as the initializer for xlcbug is
8387 not one of the forms that C requires support for.
8388 However, doing the test right would require a runtime
8389 test, and that would make cross-compilation harder.
8390 Let us hope that IBM fixes the xlc bug, and also adds
8391 support for this kind of constant expression. In the
8392 meantime, this test will reject xlc, which is OK, since
8393 our stdbool.h substitute should suffice. We also test
8394 this with GCC, where it should work, to detect more
8395 quickly whether someone messes up the test in the
8396 future. */
8397 char digs[] = "0123456789";
8398 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8399 # endif
62318400 /* Catch a bug in an HP-UX C compiler. See
62328401 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
62338402 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
62398408 main ()
62408409 {
62418410
6242 bool e = &s;
62438411 *pq |= q;
62448412 *pq |= ! q;
62458413 /* Refer to every declared value, to avoid compiler optimizations. */
62508418 return 0;
62518419 }
62528420 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
8421 rm -f conftest.$ac_objext
8422 if { (ac_try="$ac_compile"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_compile") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest.$ac_objext; then
62548438 ac_cv_header_stdbool_h=yes
62558439 else
6256 ac_cv_header_stdbool_h=no
6257 fi
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8442
8443 ac_cv_header_stdbool_h=no
8444 fi
8445
62588446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62598447 fi
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6261 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6262 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6263 if test "x$ac_cv_type__Bool" = xyes; then :
8448 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8449 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
8450 { echo "$as_me:$LINENO: checking for _Bool" >&5
8451 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
8452 if test "${ac_cv_type__Bool+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 else
8455 cat >conftest.$ac_ext <<_ACEOF
8456 /* confdefs.h. */
8457 _ACEOF
8458 cat confdefs.h >>conftest.$ac_ext
8459 cat >>conftest.$ac_ext <<_ACEOF
8460 /* end confdefs.h. */
8461 $ac_includes_default
8462 typedef _Bool ac__type_new_;
8463 int
8464 main ()
8465 {
8466 if ((ac__type_new_ *) 0)
8467 return 0;
8468 if (sizeof (ac__type_new_))
8469 return 0;
8470 ;
8471 return 0;
8472 }
8473 _ACEOF
8474 rm -f conftest.$ac_objext
8475 if { (ac_try="$ac_compile"
8476 case "(($ac_try" in
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8479 esac
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_compile") 2>conftest.er1
8482 ac_status=$?
8483 grep -v '^ *+' conftest.er1 >conftest.err
8484 rm -f conftest.er1
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } && {
8488 test -z "$ac_c_werror_flag" ||
8489 test ! -s conftest.err
8490 } && test -s conftest.$ac_objext; then
8491 ac_cv_type__Bool=yes
8492 else
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8495
8496 ac_cv_type__Bool=no
8497 fi
8498
8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8500 fi
8501 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8502 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
8503 if test $ac_cv_type__Bool = yes; then
62648504
62658505 cat >>confdefs.h <<_ACEOF
62668506 @%:@define HAVE__BOOL 1
62718511
62728512 if test $ac_cv_header_stdbool_h = yes; then
62738513
6274 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
8514 cat >>confdefs.h <<\_ACEOF
8515 @%:@define HAVE_STDBOOL_H 1
8516 _ACEOF
62758517
62768518 fi
62778519
62788520
62798521 # Checks for library functions.
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
6281 $as_echo_n "checking whether closedir returns void... " >&6; }
6282 if ${ac_cv_func_closedir_void+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test "$cross_compiling" = yes; then :
8522 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8523 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8524 if test "${ac_cv_func_closedir_void+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 else
8527 if test "$cross_compiling" = yes; then
62868528 ac_cv_func_closedir_void=yes
62878529 else
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
62898535 /* end confdefs.h. */
62908536 $ac_includes_default
62918537 #include <$ac_header_dirent>
63018547 return 0;
63028548 }
63038549 _ACEOF
6304 if ac_fn_c_try_run "$LINENO"; then :
8550 rm -f conftest$ac_exeext
8551 if { (ac_try="$ac_link"
8552 case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8555 esac
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_link") 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8561 { (case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
63058570 ac_cv_func_closedir_void=no
63068571 else
6307 ac_cv_func_closedir_void=yes
6308 fi
6309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6310 conftest.$ac_objext conftest.beam conftest.$ac_ext
6311 fi
6312
6313 fi
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
6315 $as_echo "$ac_cv_func_closedir_void" >&6; }
8572 echo "$as_me: program exited with status $ac_status" >&5
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8575
8576 ( exit $ac_status )
8577 ac_cv_func_closedir_void=yes
8578 fi
8579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8580 fi
8581
8582
8583 fi
8584 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8585 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
63168586 if test $ac_cv_func_closedir_void = yes; then
63178587
6318 $as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
8588 cat >>confdefs.h <<\_ACEOF
8589 @%:@define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
63218594
63228595 for ac_header in vfork.h
6323 do :
6324 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
6325 if test "x$ac_cv_header_vfork_h" = xyes; then :
8596 do
8597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 fi
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8607 else
8608 # Is the header compilable?
8609 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8611 cat >conftest.$ac_ext <<_ACEOF
8612 /* confdefs.h. */
8613 _ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8617 $ac_includes_default
8618 @%:@include <$ac_header>
8619 _ACEOF
8620 rm -f conftest.$ac_objext
8621 if { (ac_try="$ac_compile"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_compile") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest.$ac_objext; then
8637 ac_header_compiler=yes
8638 else
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8641
8642 ac_header_compiler=no
8643 fi
8644
8645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8647 echo "${ECHO_T}$ac_header_compiler" >&6; }
8648
8649 # Is the header present?
8650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 @%:@include <$ac_header>
8659 _ACEOF
8660 if { (ac_try="$ac_cpp conftest.$ac_ext"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } >/dev/null && {
8673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 }; then
8676 ac_header_preproc=yes
8677 else
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8680
8681 ac_header_preproc=no
8682 fi
8683
8684 rm -f conftest.err conftest.$ac_ext
8685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8686 echo "${ECHO_T}$ac_header_preproc" >&6; }
8687
8688 # So? What about this header?
8689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8690 yes:no: )
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8695 ac_header_preproc=yes
8696 ;;
8697 no:yes:* )
8698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8710 ( cat <<\_ASBOX
8711 @%:@@%:@ ------------------------------------------ @%:@@%:@
8712 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
8713 @%:@@%:@ ------------------------------------------ @%:@@%:@
8714 _ASBOX
8715 ) | sed "s/^/$as_me: WARNING: /" >&2
8716 ;;
8717 esac
8718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 else
8723 eval "$as_ac_Header=\$ac_header_preproc"
8724 fi
8725 ac_res=`eval echo '${'$as_ac_Header'}'`
8726 { echo "$as_me:$LINENO: result: $ac_res" >&5
8727 echo "${ECHO_T}$ac_res" >&6; }
8728
8729 fi
8730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63268731 cat >>confdefs.h <<_ACEOF
6327 @%:@define HAVE_VFORK_H 1
8732 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63288733 _ACEOF
63298734
63308735 fi
63318736
63328737 done
63338738
8739
8740
63348741 for ac_func in fork vfork
6335 do :
6336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8742 do
8743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749 cat >conftest.$ac_ext <<_ACEOF
8750 /* confdefs.h. */
8751 _ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8757 #define $ac_func innocuous_$ac_func
8758
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func (); below.
8761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762 <limits.h> exists even on freestanding compilers. */
8763
8764 #ifdef __STDC__
8765 # include <limits.h>
8766 #else
8767 # include <assert.h>
8768 #endif
8769
8770 #undef $ac_func
8771
8772 /* Override any GCC internal prototype to avoid an error.
8773 Use char because int might match the return type of a GCC
8774 builtin and then its argument prototype would still apply. */
8775 #ifdef __cplusplus
8776 extern "C"
8777 #endif
8778 char $ac_func ();
8779 /* The GNU C library defines this for functions which it implements
8780 to always fail with ENOSYS. Some functions are actually named
8781 something starting with __ and the normal name is an alias. */
8782 #if defined __stub_$ac_func || defined __stub___$ac_func
8783 choke me
8784 #endif
8785
8786 int
8787 main ()
8788 {
8789 return $ac_func ();
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8796 case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8802 ac_status=$?
8803 grep -v '^ *+' conftest.er1 >conftest.err
8804 rm -f conftest.er1
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 eval "$as_ac_var=yes"
8813 else
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8816
8817 eval "$as_ac_var=no"
8818 fi
8819
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 fi
8823 ac_res=`eval echo '${'$as_ac_var'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8826 if test `eval echo '${'$as_ac_var'}'` = yes; then
63398827 cat >>confdefs.h <<_ACEOF
6340 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8828 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63418829 _ACEOF
63428830
63438831 fi
63448832 done
63458833
63468834 if test "x$ac_cv_func_fork" = xyes; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
6348 $as_echo_n "checking for working fork... " >&6; }
6349 if ${ac_cv_func_fork_works+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test "$cross_compiling" = yes; then :
8835 { echo "$as_me:$LINENO: checking for working fork" >&5
8836 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
8837 if test "${ac_cv_func_fork_works+set}" = set; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test "$cross_compiling" = yes; then
63538841 ac_cv_func_fork_works=cross
63548842 else
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
63568848 /* end confdefs.h. */
63578849 $ac_includes_default
63588850 int
63668858 return 0;
63678859 }
63688860 _ACEOF
6369 if ac_fn_c_try_run "$LINENO"; then :
8861 rm -f conftest$ac_exeext
8862 if { (ac_try="$ac_link"
8863 case "(($ac_try" in
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8866 esac
8867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8868 (eval "$ac_link") 2>&5
8869 ac_status=$?
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8872 { (case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_try") 2>&5
8878 ac_status=$?
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
63708881 ac_cv_func_fork_works=yes
63718882 else
6372 ac_cv_func_fork_works=no
6373 fi
6374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6375 conftest.$ac_objext conftest.beam conftest.$ac_ext
6376 fi
6377
6378 fi
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
6380 $as_echo "$ac_cv_func_fork_works" >&6; }
8883 echo "$as_me: program exited with status $ac_status" >&5
8884 echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.$ac_ext >&5
8886
8887 ( exit $ac_status )
8888 ac_cv_func_fork_works=no
8889 fi
8890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8891 fi
8892
8893
8894 fi
8895 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8896 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
63818897
63828898 else
63838899 ac_cv_func_fork_works=$ac_cv_func_fork
63928908 ac_cv_func_fork_works=yes
63938909 ;;
63948910 esac
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6396 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8911 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8912 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
63978913 fi
63988914 ac_cv_func_vfork_works=$ac_cv_func_vfork
63998915 if test "x$ac_cv_func_vfork" = xyes; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
6401 $as_echo_n "checking for working vfork... " >&6; }
6402 if ${ac_cv_func_vfork_works+:} false; then :
6403 $as_echo_n "(cached) " >&6
6404 else
6405 if test "$cross_compiling" = yes; then :
8916 { echo "$as_me:$LINENO: checking for working vfork" >&5
8917 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
8918 if test "${ac_cv_func_vfork_works+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 else
8921 if test "$cross_compiling" = yes; then
64068922 ac_cv_func_vfork_works=cross
64078923 else
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
64098929 /* end confdefs.h. */
64108930 /* Thanks to Paul Eggert for this test. */
64118931 $ac_includes_default
64979017 }
64989018 }
64999019 _ACEOF
6500 if ac_fn_c_try_run "$LINENO"; then :
9020 rm -f conftest$ac_exeext
9021 if { (ac_try="$ac_link"
9022 case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9025 esac
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9031 { (case "(($ac_try" in
9032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9033 *) ac_try_echo=$ac_try;;
9034 esac
9035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9036 (eval "$ac_try") 2>&5
9037 ac_status=$?
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; }; then
65019040 ac_cv_func_vfork_works=yes
65029041 else
6503 ac_cv_func_vfork_works=no
6504 fi
6505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6506 conftest.$ac_objext conftest.beam conftest.$ac_ext
6507 fi
6508
6509 fi
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
6511 $as_echo "$ac_cv_func_vfork_works" >&6; }
9042 echo "$as_me: program exited with status $ac_status" >&5
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9045
9046 ( exit $ac_status )
9047 ac_cv_func_vfork_works=no
9048 fi
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9050 fi
9051
9052
9053 fi
9054 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9055 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
65129056
65139057 fi;
65149058 if test "x$ac_cv_func_fork_works" = xcross; then
65159059 ac_cv_func_vfork_works=$ac_cv_func_vfork
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6517 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9061 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
65189062 fi
65199063
65209064 if test "x$ac_cv_func_vfork_works" = xyes; then
65219065
6522 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
9066 cat >>confdefs.h <<\_ACEOF
9067 @%:@define HAVE_WORKING_VFORK 1
9068 _ACEOF
65239069
65249070 else
65259071
6526 $as_echo "@%:@define vfork fork" >>confdefs.h
9072 cat >>confdefs.h <<\_ACEOF
9073 @%:@define vfork fork
9074 _ACEOF
65279075
65289076 fi
65299077 if test "x$ac_cv_func_fork_works" = xyes; then
65309078
6531 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
9079 cat >>confdefs.h <<\_ACEOF
9080 @%:@define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
65349085
65359086 for ac_header in stdlib.h
6536 do :
6537 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6538 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9087 do
9088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 fi
9095 ac_res=`eval echo '${'$as_ac_Header'}'`
9096 { echo "$as_me:$LINENO: result: $ac_res" >&5
9097 echo "${ECHO_T}$ac_res" >&6; }
9098 else
9099 # Is the header compilable?
9100 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 $ac_includes_default
9109 @%:@include <$ac_header>
9110 _ACEOF
9111 rm -f conftest.$ac_objext
9112 if { (ac_try="$ac_compile"
9113 case "(($ac_try" in
9114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9115 *) ac_try_echo=$ac_try;;
9116 esac
9117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9118 (eval "$ac_compile") 2>conftest.er1
9119 ac_status=$?
9120 grep -v '^ *+' conftest.er1 >conftest.err
9121 rm -f conftest.er1
9122 cat conftest.err >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); } && {
9125 test -z "$ac_c_werror_flag" ||
9126 test ! -s conftest.err
9127 } && test -s conftest.$ac_objext; then
9128 ac_header_compiler=yes
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9132
9133 ac_header_compiler=no
9134 fi
9135
9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9138 echo "${ECHO_T}$ac_header_compiler" >&6; }
9139
9140 # Is the header present?
9141 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9143 cat >conftest.$ac_ext <<_ACEOF
9144 /* confdefs.h. */
9145 _ACEOF
9146 cat confdefs.h >>conftest.$ac_ext
9147 cat >>conftest.$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9149 @%:@include <$ac_header>
9150 _ACEOF
9151 if { (ac_try="$ac_cpp conftest.$ac_ext"
9152 case "(($ac_try" in
9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9155 esac
9156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9158 ac_status=$?
9159 grep -v '^ *+' conftest.er1 >conftest.err
9160 rm -f conftest.er1
9161 cat conftest.err >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); } >/dev/null && {
9164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9165 test ! -s conftest.err
9166 }; then
9167 ac_header_preproc=yes
9168 else
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9171
9172 ac_header_preproc=no
9173 fi
9174
9175 rm -f conftest.err conftest.$ac_ext
9176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9177 echo "${ECHO_T}$ac_header_preproc" >&6; }
9178
9179 # So? What about this header?
9180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9181 yes:no: )
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9186 ac_header_preproc=yes
9187 ;;
9188 no:yes:* )
9189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9201 ( cat <<\_ASBOX
9202 @%:@@%:@ ------------------------------------------ @%:@@%:@
9203 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
9204 @%:@@%:@ ------------------------------------------ @%:@@%:@
9205 _ASBOX
9206 ) | sed "s/^/$as_me: WARNING: /" >&2
9207 ;;
9208 esac
9209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 else
9214 eval "$as_ac_Header=\$ac_header_preproc"
9215 fi
9216 ac_res=`eval echo '${'$as_ac_Header'}'`
9217 { echo "$as_me:$LINENO: result: $ac_res" >&5
9218 echo "${ECHO_T}$ac_res" >&6; }
9219
9220 fi
9221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65399222 cat >>confdefs.h <<_ACEOF
6540 @%:@define HAVE_STDLIB_H 1
9223 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65419224 _ACEOF
65429225
65439226 fi
65449227
65459228 done
65469229
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6548 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6549 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test "$cross_compiling" = yes; then :
9230 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9231 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
9232 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 if test "$cross_compiling" = yes; then
65539236 ac_cv_func_malloc_0_nonnull=no
65549237 else
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
65569243 /* end confdefs.h. */
65579244 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
65589245 # include <stdlib.h>
65689255 return 0;
65699256 }
65709257 _ACEOF
6571 if ac_fn_c_try_run "$LINENO"; then :
9258 rm -f conftest$ac_exeext
9259 if { (ac_try="$ac_link"
9260 case "(($ac_try" in
9261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;;
9263 esac
9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 (eval "$ac_link") 2>&5
9266 ac_status=$?
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9269 { (case "(($ac_try" in
9270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271 *) ac_try_echo=$ac_try;;
9272 esac
9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_try") 2>&5
9275 ac_status=$?
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; }; then
65729278 ac_cv_func_malloc_0_nonnull=yes
65739279 else
6574 ac_cv_func_malloc_0_nonnull=no
6575 fi
6576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6577 conftest.$ac_objext conftest.beam conftest.$ac_ext
6578 fi
6579
6580 fi
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6582 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6583 if test $ac_cv_func_malloc_0_nonnull = yes; then :
9280 echo "$as_me: program exited with status $ac_status" >&5
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9283
9284 ( exit $ac_status )
9285 ac_cv_func_malloc_0_nonnull=no
9286 fi
9287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9288 fi
9289
9290
9291 fi
9292 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9293 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
9294 if test $ac_cv_func_malloc_0_nonnull = yes; then
65849295
6585 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
6586
6587 else
6588 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
9296 cat >>confdefs.h <<\_ACEOF
9297 @%:@define HAVE_MALLOC 1
9298 _ACEOF
9299
9300 else
9301 cat >>confdefs.h <<\_ACEOF
9302 @%:@define HAVE_MALLOC 0
9303 _ACEOF
65899304
65909305 case " $LIB@&t@OBJS " in
65919306 *" malloc.$ac_objext "* ) ;;
65949309 esac
65959310
65969311
6597 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
6598
6599 fi
6600
6601
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6603 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6604 if ${ac_cv_header_time+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 cat >>confdefs.h <<\_ACEOF
9313 @%:@define malloc rpl_malloc
9314 _ACEOF
9315
9316 fi
9317
9318
9319
9320 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9321 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
9322 if test "${ac_cv_header_time+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 cat >conftest.$ac_ext <<_ACEOF
9326 /* confdefs.h. */
9327 _ACEOF
9328 cat confdefs.h >>conftest.$ac_ext
9329 cat >>conftest.$ac_ext <<_ACEOF
66089330 /* end confdefs.h. */
66099331 #include <sys/types.h>
66109332 #include <sys/time.h>
66199341 return 0;
66209342 }
66219343 _ACEOF
6622 if ac_fn_c_try_compile "$LINENO"; then :
9344 rm -f conftest.$ac_objext
9345 if { (ac_try="$ac_compile"
9346 case "(($ac_try" in
9347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9348 *) ac_try_echo=$ac_try;;
9349 esac
9350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9351 (eval "$ac_compile") 2>conftest.er1
9352 ac_status=$?
9353 grep -v '^ *+' conftest.er1 >conftest.err
9354 rm -f conftest.er1
9355 cat conftest.err >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); } && {
9358 test -z "$ac_c_werror_flag" ||
9359 test ! -s conftest.err
9360 } && test -s conftest.$ac_objext; then
66239361 ac_cv_header_time=yes
66249362 else
6625 ac_cv_header_time=no
6626 fi
9363 echo "$as_me: failed program was:" >&5
9364 sed 's/^/| /' conftest.$ac_ext >&5
9365
9366 ac_cv_header_time=no
9367 fi
9368
66279369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66289370 fi
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
66319373 if test $ac_cv_header_time = yes; then
66329374
6633 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
6634
6635 fi
6636
6637
6638
9375 cat >>confdefs.h <<\_ACEOF
9376 @%:@define TIME_WITH_SYS_TIME 1
9377 _ACEOF
9378
9379 fi
9380
9381
9382
66399383
6640 for ac_header in $ac_header_list
6641 do :
6642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6644 "
6645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9384
9385 for ac_header in $ac_header_list
9386 do
9387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 fi
9394 ac_res=`eval echo '${'$as_ac_Header'}'`
9395 { echo "$as_me:$LINENO: result: $ac_res" >&5
9396 echo "${ECHO_T}$ac_res" >&6; }
9397 else
9398 # Is the header compilable?
9399 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9401 cat >conftest.$ac_ext <<_ACEOF
9402 /* confdefs.h. */
9403 _ACEOF
9404 cat confdefs.h >>conftest.$ac_ext
9405 cat >>conftest.$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9407 $ac_includes_default
9408 @%:@include <$ac_header>
9409 _ACEOF
9410 rm -f conftest.$ac_objext
9411 if { (ac_try="$ac_compile"
9412 case "(($ac_try" in
9413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9414 *) ac_try_echo=$ac_try;;
9415 esac
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_compile") 2>conftest.er1
9418 ac_status=$?
9419 grep -v '^ *+' conftest.er1 >conftest.err
9420 rm -f conftest.er1
9421 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } && {
9424 test -z "$ac_c_werror_flag" ||
9425 test ! -s conftest.err
9426 } && test -s conftest.$ac_objext; then
9427 ac_header_compiler=yes
9428 else
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9431
9432 ac_header_compiler=no
9433 fi
9434
9435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9437 echo "${ECHO_T}$ac_header_compiler" >&6; }
9438
9439 # Is the header present?
9440 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9442 cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h. */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 @%:@include <$ac_header>
9449 _ACEOF
9450 if { (ac_try="$ac_cpp conftest.$ac_ext"
9451 case "(($ac_try" in
9452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9453 *) ac_try_echo=$ac_try;;
9454 esac
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9457 ac_status=$?
9458 grep -v '^ *+' conftest.er1 >conftest.err
9459 rm -f conftest.er1
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } >/dev/null && {
9463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 }; then
9466 ac_header_preproc=yes
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9470
9471 ac_header_preproc=no
9472 fi
9473
9474 rm -f conftest.err conftest.$ac_ext
9475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9476 echo "${ECHO_T}$ac_header_preproc" >&6; }
9477
9478 # So? What about this header?
9479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9480 yes:no: )
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9485 ac_header_preproc=yes
9486 ;;
9487 no:yes:* )
9488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9500 ( cat <<\_ASBOX
9501 @%:@@%:@ ------------------------------------------ @%:@@%:@
9502 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
9503 @%:@@%:@ ------------------------------------------ @%:@@%:@
9504 _ASBOX
9505 ) | sed "s/^/$as_me: WARNING: /" >&2
9506 ;;
9507 esac
9508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9513 eval "$as_ac_Header=\$ac_header_preproc"
9514 fi
9515 ac_res=`eval echo '${'$as_ac_Header'}'`
9516 { echo "$as_me:$LINENO: result: $ac_res" >&5
9517 echo "${ECHO_T}$ac_res" >&6; }
9518
9519 fi
9520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66469521 cat >>confdefs.h <<_ACEOF
6647 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9522 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66489523 _ACEOF
66499524
66509525 fi
66549529
66559530
66569531
6657
6658
6659
9532
9533
9534
66609535
6661 for ac_func in $ac_func_list
6662 do :
6663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9536
9537 for ac_func in $ac_func_list
9538 do
9539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 else
9545 cat >conftest.$ac_ext <<_ACEOF
9546 /* confdefs.h. */
9547 _ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9553 #define $ac_func innocuous_$ac_func
9554
9555 /* System header to define __stub macros and hopefully few prototypes,
9556 which can conflict with char $ac_func (); below.
9557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9558 <limits.h> exists even on freestanding compilers. */
9559
9560 #ifdef __STDC__
9561 # include <limits.h>
9562 #else
9563 # include <assert.h>
9564 #endif
9565
9566 #undef $ac_func
9567
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char $ac_func ();
9575 /* The GNU C library defines this for functions which it implements
9576 to always fail with ENOSYS. Some functions are actually named
9577 something starting with __ and the normal name is an alias. */
9578 #if defined __stub_$ac_func || defined __stub___$ac_func
9579 choke me
9580 #endif
9581
9582 int
9583 main ()
9584 {
9585 return $ac_func ();
9586 ;
9587 return 0;
9588 }
9589 _ACEOF
9590 rm -f conftest.$ac_objext conftest$ac_exeext
9591 if { (ac_try="$ac_link"
9592 case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9595 esac
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_link") 2>conftest.er1
9598 ac_status=$?
9599 grep -v '^ *+' conftest.er1 >conftest.err
9600 rm -f conftest.er1
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest$ac_exeext &&
9607 $as_test_x conftest$ac_exeext; then
9608 eval "$as_ac_var=yes"
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9612
9613 eval "$as_ac_var=no"
9614 fi
9615
9616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9617 conftest$ac_exeext conftest.$ac_ext
9618 fi
9619 ac_res=`eval echo '${'$as_ac_var'}'`
9620 { echo "$as_me:$LINENO: result: $ac_res" >&5
9621 echo "${ECHO_T}$ac_res" >&6; }
9622 if test `eval echo '${'$as_ac_var'}'` = yes; then
66669623 cat >>confdefs.h <<_ACEOF
6667 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9624 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66689625 _ACEOF
66699626
66709627 fi
66739630
66749631
66759632
6676
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
6678 $as_echo_n "checking for working mktime... " >&6; }
6679 if ${ac_cv_func_working_mktime+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test "$cross_compiling" = yes; then :
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646 { echo "$as_me:$LINENO: checking for working mktime" >&5
9647 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
9648 if test "${ac_cv_func_working_mktime+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651 if test "$cross_compiling" = yes; then
66839652 ac_cv_func_working_mktime=no
66849653 else
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
66869659 /* end confdefs.h. */
66879660 /* Test program from Paul Eggert and Tony Leneis. */
66889661 #ifdef TIME_WITH_SYS_TIME
66969669 # endif
66979670 #endif
66989671
6699 #include <limits.h>
67009672 #include <stdlib.h>
67019673
67029674 #ifdef HAVE_UNISTD_H
67149686 static time_t time_t_min;
67159687
67169688 /* Values we'll use to set the TZ environment variable. */
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
67199691 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
67209692 };
67219693 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
67329704 instead of "TZ=America/Vancouver" in order to detect the bug even
67339705 on systems that don't support the Olson extension, or don't have the
67349706 full zoneinfo tables installed. */
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
67369708
67379709 tm.tm_year = 98;
67389710 tm.tm_mon = 3;
67459717 }
67469718
67479719 static int
6748 mktime_test1 (time_t now)
9720 mktime_test1 (now)
9721 time_t now;
67499722 {
67509723 struct tm *lt;
67519724 return ! (lt = localtime (&now)) || mktime (lt) == now;
67529725 }
67539726
67549727 static int
6755 mktime_test (time_t now)
9728 mktime_test (now)
9729 time_t now;
67569730 {
67579731 return (mktime_test1 (now)
67589732 && mktime_test1 ((time_t) (time_t_max - now))
67769750 }
67779751
67789752 static int
6779 bigtime_test (int j)
9753 bigtime_test (j)
9754 int j;
67809755 {
67819756 struct tm tm;
67829757 time_t now;
68209795 instead of "TZ=America/Vancouver" in order to detect the bug even
68219796 on systems that don't support the Olson extension, or don't have the
68229797 full zoneinfo tables installed. */
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
68249799
68259800 t = mktime (&tm);
68269801
68429817 isn't worth using anyway. */
68439818 alarm (60);
68449819
6845 for (;;)
6846 {
6847 t = (time_t_max << 1) + 1;
6848 if (t <= time_t_max)
6849 break;
6850 time_t_max = t;
6851 }
6852 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
6853
9820 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
9821 continue;
9822 time_t_max--;
9823 if ((time_t) -1 < 0)
9824 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
9825 continue;
68549826 delta = time_t_max / 997; /* a suitable prime number */
68559827 for (i = 0; i < N_STRINGS; i++)
68569828 {
68579829 if (tz_strings[i])
6858 putenv ((char*) tz_strings[i]);
9830 putenv (tz_strings[i]);
68599831
68609832 for (t = 0; t <= time_t_max - delta; t += delta)
68619833 if (! mktime_test (t))
68659837 && mktime_test ((time_t) (60 * 60 * 24))))
68669838 return 1;
68679839
6868 for (j = 1; ; j <<= 1)
9840 for (j = 1; 0 < j; j *= 2)
68699841 if (! bigtime_test (j))
68709842 return 1;
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
9843 if (! bigtime_test (j - 1))
68749844 return 1;
68759845 }
68769846 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
68779847 }
68789848 _ACEOF
6879 if ac_fn_c_try_run "$LINENO"; then :
9849 rm -f conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9851 case "(($ac_try" in
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9854 esac
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>&5
9857 ac_status=$?
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9860 { (case "(($ac_try" in
9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9862 *) ac_try_echo=$ac_try;;
9863 esac
9864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9865 (eval "$ac_try") 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
68809869 ac_cv_func_working_mktime=yes
68819870 else
6882 ac_cv_func_working_mktime=no
6883 fi
6884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6885 conftest.$ac_objext conftest.beam conftest.$ac_ext
6886 fi
6887
6888 fi
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
6890 $as_echo "$ac_cv_func_working_mktime" >&6; }
9871 echo "$as_me: program exited with status $ac_status" >&5
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9874
9875 ( exit $ac_status )
9876 ac_cv_func_working_mktime=no
9877 fi
9878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9879 fi
9880
9881
9882 fi
9883 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
9884 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
68919885 if test $ac_cv_func_working_mktime = no; then
68929886 case " $LIB@&t@OBJS " in
68939887 *" mktime.$ac_objext "* ) ;;
68979891
68989892 fi
68999893
9894
69009895 for ac_header in stdlib.h
6901 do :
6902 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6903 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9896 do
9897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 fi
9904 ac_res=`eval echo '${'$as_ac_Header'}'`
9905 { echo "$as_me:$LINENO: result: $ac_res" >&5
9906 echo "${ECHO_T}$ac_res" >&6; }
9907 else
9908 # Is the header compilable?
9909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9911 cat >conftest.$ac_ext <<_ACEOF
9912 /* confdefs.h. */
9913 _ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9917 $ac_includes_default
9918 @%:@include <$ac_header>
9919 _ACEOF
9920 rm -f conftest.$ac_objext
9921 if { (ac_try="$ac_compile"
9922 case "(($ac_try" in
9923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9924 *) ac_try_echo=$ac_try;;
9925 esac
9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9927 (eval "$ac_compile") 2>conftest.er1
9928 ac_status=$?
9929 grep -v '^ *+' conftest.er1 >conftest.err
9930 rm -f conftest.er1
9931 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && {
9934 test -z "$ac_c_werror_flag" ||
9935 test ! -s conftest.err
9936 } && test -s conftest.$ac_objext; then
9937 ac_header_compiler=yes
9938 else
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9941
9942 ac_header_compiler=no
9943 fi
9944
9945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9947 echo "${ECHO_T}$ac_header_compiler" >&6; }
9948
9949 # Is the header present?
9950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 @%:@include <$ac_header>
9959 _ACEOF
9960 if { (ac_try="$ac_cpp conftest.$ac_ext"
9961 case "(($ac_try" in
9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9964 esac
9965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9967 ac_status=$?
9968 grep -v '^ *+' conftest.er1 >conftest.err
9969 rm -f conftest.er1
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } >/dev/null && {
9973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9974 test ! -s conftest.err
9975 }; then
9976 ac_header_preproc=yes
9977 else
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9980
9981 ac_header_preproc=no
9982 fi
9983
9984 rm -f conftest.err conftest.$ac_ext
9985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9986 echo "${ECHO_T}$ac_header_preproc" >&6; }
9987
9988 # So? What about this header?
9989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9990 yes:no: )
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9995 ac_header_preproc=yes
9996 ;;
9997 no:yes:* )
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10010 ( cat <<\_ASBOX
10011 @%:@@%:@ ------------------------------------------ @%:@@%:@
10012 @%:@@%:@ Report this to phaag@users.sourceforge.net @%:@@%:@
10013 @%:@@%:@ ------------------------------------------ @%:@@%:@
10014 _ASBOX
10015 ) | sed "s/^/$as_me: WARNING: /" >&2
10016 ;;
10017 esac
10018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023 eval "$as_ac_Header=\$ac_header_preproc"
10024 fi
10025 ac_res=`eval echo '${'$as_ac_Header'}'`
10026 { echo "$as_me:$LINENO: result: $ac_res" >&5
10027 echo "${ECHO_T}$ac_res" >&6; }
10028
10029 fi
10030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
690410031 cat >>confdefs.h <<_ACEOF
6905 @%:@define HAVE_STDLIB_H 1
10032 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
690610033 _ACEOF
690710034
690810035 fi
690910036
691010037 done
691110038
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6913 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6914 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 if test "$cross_compiling" = yes; then :
10039 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10040 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
10041 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044 if test "$cross_compiling" = yes; then
691810045 ac_cv_func_realloc_0_nonnull=no
691910046 else
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
692110052 /* end confdefs.h. */
692210053 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
692310054 # include <stdlib.h>
693310064 return 0;
693410065 }
693510066 _ACEOF
6936 if ac_fn_c_try_run "$LINENO"; then :
10067 rm -f conftest$ac_exeext
10068 if { (ac_try="$ac_link"
10069 case "(($ac_try" in
10070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10071 *) ac_try_echo=$ac_try;;
10072 esac
10073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10074 (eval "$ac_link") 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080 *) ac_try_echo=$ac_try;;
10081 esac
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
693710087 ac_cv_func_realloc_0_nonnull=yes
693810088 else
6939 ac_cv_func_realloc_0_nonnull=no
6940 fi
6941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6942 conftest.$ac_objext conftest.beam conftest.$ac_ext
6943 fi
6944
6945 fi
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6947 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6948 if test $ac_cv_func_realloc_0_nonnull = yes; then :
10089 echo "$as_me: program exited with status $ac_status" >&5
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10092
10093 ( exit $ac_status )
10094 ac_cv_func_realloc_0_nonnull=no
10095 fi
10096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10097 fi
10098
10099
10100 fi
10101 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10102 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
10103 if test $ac_cv_func_realloc_0_nonnull = yes; then
694910104
6950 $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
6951
6952 else
6953 $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
10105 cat >>confdefs.h <<\_ACEOF
10106 @%:@define HAVE_REALLOC 1
10107 _ACEOF
10108
10109 else
10110 cat >>confdefs.h <<\_ACEOF
10111 @%:@define HAVE_REALLOC 0
10112 _ACEOF
695410113
695510114 case " $LIB@&t@OBJS " in
695610115 *" realloc.$ac_objext "* ) ;;
695910118 esac
696010119
696110120
6962 $as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
6963
6964 fi
6965
6966
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
6968 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
6969 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
6970 $as_echo_n "(cached) " >&6
10121 cat >>confdefs.h <<\_ACEOF
10122 @%:@define realloc rpl_realloc
10123 _ACEOF
10124
10125 fi
10126
10127
10128
10129 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
10130 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
10131 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
697110133 else
697210134 rm -f conftest.sym conftest.file
697310135 echo >conftest.file
697410136 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
6975 if test "$cross_compiling" = yes; then :
10137 if test "$cross_compiling" = yes; then
697610138 ac_cv_func_lstat_dereferences_slashed_symlink=no
697710139 else
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
697910145 /* end confdefs.h. */
698010146 $ac_includes_default
698110147 int
698210148 main ()
698310149 {
698410150 struct stat sbuf;
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
10151 /* Linux will dereference the symlink and fail.
698610152 That is better in the sense that it means we will not
698710153 have to compile and use the lstat wrapper. */
698810154 return lstat ("conftest.sym/", &sbuf) == 0;
699010156 return 0;
699110157 }
699210158 _ACEOF
6993 if ac_fn_c_try_run "$LINENO"; then :
10159 rm -f conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>&5
10167 ac_status=$?
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10173 esac
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10176 ac_status=$?
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
699410179 ac_cv_func_lstat_dereferences_slashed_symlink=yes
699510180 else
6996 ac_cv_func_lstat_dereferences_slashed_symlink=no
6997 fi
6998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6999 conftest.$ac_objext conftest.beam conftest.$ac_ext
7000 fi
10181 echo "$as_me: program exited with status $ac_status" >&5
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10184
10185 ( exit $ac_status )
10186 ac_cv_func_lstat_dereferences_slashed_symlink=no
10187 fi
10188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10189 fi
10190
700110191
700210192 else
700310193 # If the `ln -s' command failed, then we probably don't even
700710197 rm -f conftest.sym conftest.file
700810198
700910199 fi
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7011 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10200 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10201 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
701210202
701310203 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
701410204
701710207 _ACEOF
701810208
701910209
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
702110211 case " $LIB@&t@OBJS " in
702210212 *" lstat.$ac_objext "* ) ;;
702310213 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
702610216
702710217 fi
702810218
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7030 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
7031 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 if test "$cross_compiling" = yes; then :
10219 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10220 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
10221 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 else
10224 if test "$cross_compiling" = yes; then
703510225 ac_cv_func_stat_empty_string_bug=yes
703610226 else
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
703810232 /* end confdefs.h. */
703910233 $ac_includes_default
704010234 int
704610240 return 0;
704710241 }
704810242 _ACEOF
7049 if ac_fn_c_try_run "$LINENO"; then :
10243 rm -f conftest$ac_exeext
10244 if { (ac_try="$ac_link"
10245 case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10248 esac
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_link") 2>&5
10251 ac_status=$?
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10254 { (case "(($ac_try" in
10255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10256 *) ac_try_echo=$ac_try;;
10257 esac
10258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10259 (eval "$ac_try") 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
705010263 ac_cv_func_stat_empty_string_bug=no
705110264 else
7052 ac_cv_func_stat_empty_string_bug=yes
7053 fi
7054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7055 conftest.$ac_objext conftest.beam conftest.$ac_ext
7056 fi
7057
7058 fi
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7060 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10265 echo "$as_me: program exited with status $ac_status" >&5
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10268
10269 ( exit $ac_status )
10270 ac_cv_func_stat_empty_string_bug=yes
10271 fi
10272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10273 fi
10274
10275
10276 fi
10277 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10278 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
706110279 if test $ac_cv_func_stat_empty_string_bug = yes; then
706210280 case " $LIB@&t@OBJS " in
706310281 *" stat.$ac_objext "* ) ;;
707210290
707310291 fi
707410292
10293
707510294 for ac_func in strftime
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
10295 do
10296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 else
10302 cat >conftest.$ac_ext <<_ACEOF
10303 /* confdefs.h. */
10304 _ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10310 #define $ac_func innocuous_$ac_func
10311
10312 /* System header to define __stub macros and hopefully few prototypes,
10313 which can conflict with char $ac_func (); below.
10314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10315 <limits.h> exists even on freestanding compilers. */
10316
10317 #ifdef __STDC__
10318 # include <limits.h>
10319 #else
10320 # include <assert.h>
10321 #endif
10322
10323 #undef $ac_func
10324
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10328 #ifdef __cplusplus
10329 extern "C"
10330 #endif
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined __stub_$ac_func || defined __stub___$ac_func
10336 choke me
10337 #endif
10338
10339 int
10340 main ()
10341 {
10342 return $ac_func ();
10343 ;
10344 return 0;
10345 }
10346 _ACEOF
10347 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (ac_try="$ac_link"
10349 case "(($ac_try" in
10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351 *) ac_try_echo=$ac_try;;
10352 esac
10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354 (eval "$ac_link") 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } && {
10361 test -z "$ac_c_werror_flag" ||
10362 test ! -s conftest.err
10363 } && test -s conftest$ac_exeext &&
10364 $as_test_x conftest$ac_exeext; then
10365 eval "$as_ac_var=yes"
10366 else
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.$ac_ext >&5
10369
10370 eval "$as_ac_var=no"
10371 fi
10372
10373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10374 conftest$ac_exeext conftest.$ac_ext
10375 fi
10376 ac_res=`eval echo '${'$as_ac_var'}'`
10377 { echo "$as_me:$LINENO: result: $ac_res" >&5
10378 echo "${ECHO_T}$ac_res" >&6; }
10379 if test `eval echo '${'$as_ac_var'}'` = yes; then
707910380 cat >>confdefs.h <<_ACEOF
7080 @%:@define HAVE_STRFTIME 1
10381 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
708110382 _ACEOF
708210383
708310384 else
708410385 # strftime is in -lintl on SCO UNIX.
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
7086 $as_echo_n "checking for strftime in -lintl... " >&6; }
7087 if ${ac_cv_lib_intl_strftime+:} false; then :
7088 $as_echo_n "(cached) " >&6
10386 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
10387 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
10388 if test "${ac_cv_lib_intl_strftime+set}" = set; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
708910390 else
709010391 ac_check_lib_save_LIBS=$LIBS
709110392 LIBS="-lintl $LIBS"
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
709310398 /* end confdefs.h. */
709410399
709510400 /* Override any GCC internal prototype to avoid an error.
710710412 return 0;
710810413 }
710910414 _ACEOF
7110 if ac_fn_c_try_link "$LINENO"; then :
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (ac_try="$ac_link"
10417 case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420 esac
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_link") 2>conftest.er1
10423 ac_status=$?
10424 grep -v '^ *+' conftest.er1 >conftest.err
10425 rm -f conftest.er1
10426 cat conftest.err >&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } && {
10429 test -z "$ac_c_werror_flag" ||
10430 test ! -s conftest.err
10431 } && test -s conftest$ac_exeext &&
10432 $as_test_x conftest$ac_exeext; then
711110433 ac_cv_lib_intl_strftime=yes
711210434 else
7113 ac_cv_lib_intl_strftime=no
7114 fi
7115 rm -f core conftest.err conftest.$ac_objext \
7116 conftest$ac_exeext conftest.$ac_ext
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10437
10438 ac_cv_lib_intl_strftime=no
10439 fi
10440
10441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10442 conftest$ac_exeext conftest.$ac_ext
711710443 LIBS=$ac_check_lib_save_LIBS
711810444 fi
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
7120 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
7121 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
7122 $as_echo "@%:@define HAVE_STRFTIME 1" >>confdefs.h
10445 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
10446 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
10447 if test $ac_cv_lib_intl_strftime = yes; then
10448 cat >>confdefs.h <<\_ACEOF
10449 @%:@define HAVE_STRFTIME 1
10450 _ACEOF
712310451
712410452 LIBS="-lintl $LIBS"
712510453 fi
712710455 fi
712810456 done
712910457
10458
10459
10460
10461
10462
10463
10464
10465
713010466 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
7131 do :
7132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10467 do
10468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 else
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10482 #define $ac_func innocuous_$ac_func
10483
10484 /* System header to define __stub macros and hopefully few prototypes,
10485 which can conflict with char $ac_func (); below.
10486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10487 <limits.h> exists even on freestanding compilers. */
10488
10489 #ifdef __STDC__
10490 # include <limits.h>
10491 #else
10492 # include <assert.h>
10493 #endif
10494
10495 #undef $ac_func
10496
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char $ac_func ();
10504 /* The GNU C library defines this for functions which it implements
10505 to always fail with ENOSYS. Some functions are actually named
10506 something starting with __ and the normal name is an alias. */
10507 #if defined __stub_$ac_func || defined __stub___$ac_func
10508 choke me
10509 #endif
10510
10511 int
10512 main ()
10513 {
10514 return $ac_func ();
10515 ;
10516 return 0;
10517 }
10518 _ACEOF
10519 rm -f conftest.$ac_objext conftest$ac_exeext
10520 if { (ac_try="$ac_link"
10521 case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10524 esac
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_link") 2>conftest.er1
10527 ac_status=$?
10528 grep -v '^ *+' conftest.er1 >conftest.err
10529 rm -f conftest.er1
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest$ac_exeext &&
10536 $as_test_x conftest$ac_exeext; then
10537 eval "$as_ac_var=yes"
10538 else
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10541
10542 eval "$as_ac_var=no"
10543 fi
10544
10545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10546 conftest$ac_exeext conftest.$ac_ext
10547 fi
10548 ac_res=`eval echo '${'$as_ac_var'}'`
10549 { echo "$as_me:$LINENO: result: $ac_res" >&5
10550 echo "${ECHO_T}$ac_res" >&6; }
10551 if test `eval echo '${'$as_ac_var'}'` = yes; then
713510552 cat >>confdefs.h <<_ACEOF
7136 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10553 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
713710554 _ACEOF
713810555
713910556 fi
714010557 done
714110558
714210559
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lsocket" >&5
7144 $as_echo_n "checking for res_search in -lsocket... " >&6; }
7145 if ${ac_cv_lib_socket_res_search+:} false; then :
7146 $as_echo_n "(cached) " >&6
10560 { echo "$as_me:$LINENO: checking for res_search in -lsocket" >&5
10561 echo $ECHO_N "checking for res_search in -lsocket... $ECHO_C" >&6; }
10562 if test "${ac_cv_lib_socket_res_search+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
714710564 else
714810565 ac_check_lib_save_LIBS=$LIBS
714910566 LIBS="-lsocket $LIBS"
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
715110572 /* end confdefs.h. */
715210573
715310574 /* Override any GCC internal prototype to avoid an error.
716510586 return 0;
716610587 }
716710588 _ACEOF
7168 if ac_fn_c_try_link "$LINENO"; then :
10589 rm -f conftest.$ac_objext conftest$ac_exeext
10590 if { (ac_try="$ac_link"
10591 case "(($ac_try" in
10592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593 *) ac_try_echo=$ac_try;;
10594 esac
10595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 (eval "$ac_link") 2>conftest.er1
10597 ac_status=$?
10598 grep -v '^ *+' conftest.er1 >conftest.err
10599 rm -f conftest.er1
10600 cat conftest.err >&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } && {
10603 test -z "$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10605 } && test -s conftest$ac_exeext &&
10606 $as_test_x conftest$ac_exeext; then
716910607 ac_cv_lib_socket_res_search=yes
717010608 else
7171 ac_cv_lib_socket_res_search=no
7172 fi
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 ac_cv_lib_socket_res_search=no
10613 fi
10614
10615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10616 conftest$ac_exeext conftest.$ac_ext
717510617 LIBS=$ac_check_lib_save_LIBS
717610618 fi
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_search" >&5
7178 $as_echo "$ac_cv_lib_socket_res_search" >&6; }
7179 if test "x$ac_cv_lib_socket_res_search" = xyes; then :
10619 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_res_search" >&5
10620 echo "${ECHO_T}$ac_cv_lib_socket_res_search" >&6; }
10621 if test $ac_cv_lib_socket_res_search = yes; then
718010622
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7182 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7183 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7184 $as_echo_n "(cached) " >&6
10623
10624 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10625 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10626 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
718510628 else
718610629 ac_check_lib_save_LIBS=$LIBS
718710630 LIBS="-lresolv $LIBS"
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
718910636 /* end confdefs.h. */
719010637
719110638 /* Override any GCC internal prototype to avoid an error.
720310650 return 0;
720410651 }
720510652 _ACEOF
7206 if ac_fn_c_try_link "$LINENO"; then :
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_link") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest$ac_exeext &&
10670 $as_test_x conftest$ac_exeext; then
720710671 ac_cv_lib_resolv_dn_skipname=yes
720810672 else
7209 ac_cv_lib_resolv_dn_skipname=no
7210 fi
7211 rm -f core conftest.err conftest.$ac_objext \
7212 conftest$ac_exeext conftest.$ac_ext
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10675
10676 ac_cv_lib_resolv_dn_skipname=no
10677 fi
10678
10679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10680 conftest$ac_exeext conftest.$ac_ext
721310681 LIBS=$ac_check_lib_save_LIBS
721410682 fi
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7216 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7217 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10683 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10684 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10685 if test $ac_cv_lib_resolv_dn_skipname = yes; then
721810686 cat >>confdefs.h <<_ACEOF
721910687 @%:@define HAVE_LIBRESOLV 1
722010688 _ACEOF
722310691
722410692 fi
722510693
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7227 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7228 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7229 $as_echo_n "(cached) " >&6
10694
10695 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10696 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10697 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
723010699 else
723110700 ac_check_lib_save_LIBS=$LIBS
723210701 LIBS="-lresolv $LIBS"
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
723410707 /* end confdefs.h. */
723510708
723610709 /* Override any GCC internal prototype to avoid an error.
724810721 return 0;
724910722 }
725010723 _ACEOF
7251 if ac_fn_c_try_link "$LINENO"; then :
10724 rm -f conftest.$ac_objext conftest$ac_exeext
10725 if { (ac_try="$ac_link"
10726 case "(($ac_try" in
10727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10728 *) ac_try_echo=$ac_try;;
10729 esac
10730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10731 (eval "$ac_link") 2>conftest.er1
10732 ac_status=$?
10733 grep -v '^ *+' conftest.er1 >conftest.err
10734 rm -f conftest.er1
10735 cat conftest.err >&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } && {
10738 test -z "$ac_c_werror_flag" ||
10739 test ! -s conftest.err
10740 } && test -s conftest$ac_exeext &&
10741 $as_test_x conftest$ac_exeext; then
725210742 ac_cv_lib_resolv___dn_skipname=yes
725310743 else
7254 ac_cv_lib_resolv___dn_skipname=no
7255 fi
7256 rm -f core conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10746
10747 ac_cv_lib_resolv___dn_skipname=no
10748 fi
10749
10750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 conftest$ac_exeext conftest.$ac_ext
725810752 LIBS=$ac_check_lib_save_LIBS
725910753 fi
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7261 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7262 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10754 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10755 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10756 if test $ac_cv_lib_resolv___dn_skipname = yes; then
726310757 cat >>confdefs.h <<_ACEOF
726410758 @%:@define HAVE_LIBRESOLV 1
726510759 _ACEOF
727010764
727110765 LIBS="$LIBS -lsocket"
727210766
7273 $as_echo "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
10767 cat >>confdefs.h <<\_ACEOF
10768 @%:@define HAVE_LIBSOCKET 1
10769 _ACEOF
727410770
727510771 else
727610772
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
7278 $as_echo_n "checking for res_search in -lresolv... " >&6; }
7279 if ${ac_cv_lib_resolv_res_search+:} false; then :
7280 $as_echo_n "(cached) " >&6
10773 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
10774 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
10775 if test "${ac_cv_lib_resolv_res_search+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
728110777 else
728210778 ac_check_lib_save_LIBS=$LIBS
728310779 LIBS="-lresolv $LIBS"
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
728510785 /* end confdefs.h. */
728610786
728710787 /* Override any GCC internal prototype to avoid an error.
729910799 return 0;
730010800 }
730110801 _ACEOF
7302 if ac_fn_c_try_link "$LINENO"; then :
10802 rm -f conftest.$ac_objext conftest$ac_exeext
10803 if { (ac_try="$ac_link"
10804 case "(($ac_try" in
10805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 *) ac_try_echo=$ac_try;;
10807 esac
10808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 (eval "$ac_link") 2>conftest.er1
10810 ac_status=$?
10811 grep -v '^ *+' conftest.er1 >conftest.err
10812 rm -f conftest.er1
10813 cat conftest.err >&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); } && {
10816 test -z "$ac_c_werror_flag" ||
10817 test ! -s conftest.err
10818 } && test -s conftest$ac_exeext &&
10819 $as_test_x conftest$ac_exeext; then
730310820 ac_cv_lib_resolv_res_search=yes
730410821 else
7305 ac_cv_lib_resolv_res_search=no
7306 fi
7307 rm -f core conftest.err conftest.$ac_objext \
7308 conftest$ac_exeext conftest.$ac_ext
10822 echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.$ac_ext >&5
10824
10825 ac_cv_lib_resolv_res_search=no
10826 fi
10827
10828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10829 conftest$ac_exeext conftest.$ac_ext
730910830 LIBS=$ac_check_lib_save_LIBS
731010831 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
7312 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
7313 if test "x$ac_cv_lib_resolv_res_search" = xyes; then :
10832 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
10833 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
10834 if test $ac_cv_lib_resolv_res_search = yes; then
731410835
731510836 LIBS="$LIBS -lresolv"
731610837
7317 $as_echo "@%:@define HAVE_LIBRESOLV 1" >>confdefs.h
10838 cat >>confdefs.h <<\_ACEOF
10839 @%:@define HAVE_LIBRESOLV 1
10840 _ACEOF
731810841
731910842
732010843 else
732110844
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7323 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7324 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7325 $as_echo_n "(cached) " >&6
10845
10846 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10847 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10848 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
732610850 else
732710851 ac_check_lib_save_LIBS=$LIBS
732810852 LIBS="-lresolv $LIBS"
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
733010858 /* end confdefs.h. */
733110859
733210860 /* Override any GCC internal prototype to avoid an error.
734410872 return 0;
734510873 }
734610874 _ACEOF
7347 if ac_fn_c_try_link "$LINENO"; then :
10875 rm -f conftest.$ac_objext conftest$ac_exeext
10876 if { (ac_try="$ac_link"
10877 case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_link") 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest$ac_exeext &&
10892 $as_test_x conftest$ac_exeext; then
734810893 ac_cv_lib_resolv_dn_skipname=yes
734910894 else
7350 ac_cv_lib_resolv_dn_skipname=no
7351 fi
7352 rm -f core conftest.err conftest.$ac_objext \
7353 conftest$ac_exeext conftest.$ac_ext
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.$ac_ext >&5
10897
10898 ac_cv_lib_resolv_dn_skipname=no
10899 fi
10900
10901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10902 conftest$ac_exeext conftest.$ac_ext
735410903 LIBS=$ac_check_lib_save_LIBS
735510904 fi
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7357 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7358 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10905 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10906 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10907 if test $ac_cv_lib_resolv_dn_skipname = yes; then
735910908 cat >>confdefs.h <<_ACEOF
736010909 @%:@define HAVE_LIBRESOLV 1
736110910 _ACEOF
736410913
736510914 fi
736610915
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7368 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7369 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7370 $as_echo_n "(cached) " >&6
10916
10917 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10918 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
737110921 else
737210922 ac_check_lib_save_LIBS=$LIBS
737310923 LIBS="-lresolv $LIBS"
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
737510929 /* end confdefs.h. */
737610930
737710931 /* Override any GCC internal prototype to avoid an error.
738910943 return 0;
739010944 }
739110945 _ACEOF
7392 if ac_fn_c_try_link "$LINENO"; then :
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
10948 case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10951 esac
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_link") 2>conftest.er1
10954 ac_status=$?
10955 grep -v '^ *+' conftest.er1 >conftest.err
10956 rm -f conftest.er1
10957 cat conftest.err >&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } && {
10960 test -z "$ac_c_werror_flag" ||
10961 test ! -s conftest.err
10962 } && test -s conftest$ac_exeext &&
10963 $as_test_x conftest$ac_exeext; then
739310964 ac_cv_lib_resolv___dn_skipname=yes
739410965 else
7395 ac_cv_lib_resolv___dn_skipname=no
7396 fi
7397 rm -f core conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10968
10969 ac_cv_lib_resolv___dn_skipname=no
10970 fi
10971
10972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10973 conftest$ac_exeext conftest.$ac_ext
739910974 LIBS=$ac_check_lib_save_LIBS
740010975 fi
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7402 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7403 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10976 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10977 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10978 if test $ac_cv_lib_resolv___dn_skipname = yes; then
740410979 cat >>confdefs.h <<_ACEOF
740510980 @%:@define HAVE_LIBRESOLV 1
740610981 _ACEOF
741710992
741810993
741910994 # lzo compression requirements
7420 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
7421 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
7422
10995 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10996 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
10997 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 else
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 typedef ptrdiff_t ac__type_new_;
11008 int
11009 main ()
11010 {
11011 if ((ac__type_new_ *) 0)
11012 return 0;
11013 if (sizeof (ac__type_new_))
11014 return 0;
11015 ;
11016 return 0;
11017 }
11018 _ACEOF
11019 rm -f conftest.$ac_objext
11020 if { (ac_try="$ac_compile"
11021 case "(($ac_try" in
11022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;;
11024 esac
11025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11026 (eval "$ac_compile") 2>conftest.er1
11027 ac_status=$?
11028 grep -v '^ *+' conftest.er1 >conftest.err
11029 rm -f conftest.er1
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } && {
11033 test -z "$ac_c_werror_flag" ||
11034 test ! -s conftest.err
11035 } && test -s conftest.$ac_objext; then
11036 ac_cv_type_ptrdiff_t=yes
11037 else
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11040
11041 ac_cv_type_ptrdiff_t=no
11042 fi
11043
11044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11045 fi
11046 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11047 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
11048 if test $ac_cv_type_ptrdiff_t = yes; then
11049 :
742311050 else
742411051
742511052 cat >>confdefs.h <<_ACEOF
742811055
742911056 fi
743011057
7431 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7432 if test "x$ac_cv_type_size_t" = xyes; then :
7433
11058 { echo "$as_me:$LINENO: checking for size_t" >&5
11059 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
11060 if test "${ac_cv_type_size_t+set}" = set; then
11061 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 else
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 $ac_includes_default
11070 typedef size_t ac__type_new_;
11071 int
11072 main ()
11073 {
11074 if ((ac__type_new_ *) 0)
11075 return 0;
11076 if (sizeof (ac__type_new_))
11077 return 0;
11078 ;
11079 return 0;
11080 }
11081 _ACEOF
11082 rm -f conftest.$ac_objext
11083 if { (ac_try="$ac_compile"
11084 case "(($ac_try" in
11085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11086 *) ac_try_echo=$ac_try;;
11087 esac
11088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11089 (eval "$ac_compile") 2>conftest.er1
11090 ac_status=$?
11091 grep -v '^ *+' conftest.er1 >conftest.err
11092 rm -f conftest.er1
11093 cat conftest.err >&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } && {
11096 test -z "$ac_c_werror_flag" ||
11097 test ! -s conftest.err
11098 } && test -s conftest.$ac_objext; then
11099 ac_cv_type_size_t=yes
11100 else
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.$ac_ext >&5
11103
11104 ac_cv_type_size_t=no
11105 fi
11106
11107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11108 fi
11109 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11110 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
11111 if test $ac_cv_type_size_t = yes; then
11112 :
743411113 else
743511114
743611115 cat >>confdefs.h <<_ACEOF
743811117 _ACEOF
743911118
744011119 fi
11120
11121 { echo "$as_me:$LINENO: checking for short" >&5
11122 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
11123 if test "${ac_cv_type_short+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 $ac_includes_default
11133 typedef short ac__type_new_;
11134 int
11135 main ()
11136 {
11137 if ((ac__type_new_ *) 0)
11138 return 0;
11139 if (sizeof (ac__type_new_))
11140 return 0;
11141 ;
11142 return 0;
11143 }
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (ac_try="$ac_compile"
11147 case "(($ac_try" in
11148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11149 *) ac_try_echo=$ac_try;;
11150 esac
11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11152 (eval "$ac_compile") 2>conftest.er1
11153 ac_status=$?
11154 grep -v '^ *+' conftest.er1 >conftest.err
11155 rm -f conftest.er1
11156 cat conftest.err >&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } && {
11159 test -z "$ac_c_werror_flag" ||
11160 test ! -s conftest.err
11161 } && test -s conftest.$ac_objext; then
11162 ac_cv_type_short=yes
11163 else
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 ac_cv_type_short=no
11168 fi
11169
11170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11171 fi
11172 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
11173 echo "${ECHO_T}$ac_cv_type_short" >&6; }
744111174
744211175 # The cast to long int works around a bug in the HP C Compiler
744311176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
744411177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
744511178 # This bug is HP SR number 8606223364.
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
7447 $as_echo_n "checking size of short... " >&6; }
7448 if ${ac_cv_sizeof_short+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
7452
7453 else
7454 if test "$ac_cv_type_short" = yes; then
7455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7457 as_fn_error 77 "cannot compute sizeof (short)
7458 See \`config.log' for more details" "$LINENO" 5; }
11179 { echo "$as_me:$LINENO: checking size of short" >&5
11180 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
11181 if test "${ac_cv_sizeof_short+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 if test "$cross_compiling" = yes; then
11185 # Depending upon the size, compute the lo and hi bounds.
11186 cat >conftest.$ac_ext <<_ACEOF
11187 /* confdefs.h. */
11188 _ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 $ac_includes_default
11193 typedef short ac__type_sizeof_;
11194 int
11195 main ()
11196 {
11197 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
11198 test_array @<:@0@:>@ = 0
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.$ac_objext
11205 if { (ac_try="$ac_compile"
11206 case "(($ac_try" in
11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208 *) ac_try_echo=$ac_try;;
11209 esac
11210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11211 (eval "$ac_compile") 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } && {
11218 test -z "$ac_c_werror_flag" ||
11219 test ! -s conftest.err
11220 } && test -s conftest.$ac_objext; then
11221 ac_lo=0 ac_mid=0
11222 while :; do
11223 cat >conftest.$ac_ext <<_ACEOF
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_includes_default
11230 typedef short ac__type_sizeof_;
11231 int
11232 main ()
11233 {
11234 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11235 test_array @<:@0@:>@ = 0
11236
11237 ;
11238 return 0;
11239 }
11240 _ACEOF
11241 rm -f conftest.$ac_objext
11242 if { (ac_try="$ac_compile"
11243 case "(($ac_try" in
11244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 *) ac_try_echo=$ac_try;;
11246 esac
11247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 (eval "$ac_compile") 2>conftest.er1
11249 ac_status=$?
11250 grep -v '^ *+' conftest.er1 >conftest.err
11251 rm -f conftest.er1
11252 cat conftest.err >&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); } && {
11255 test -z "$ac_c_werror_flag" ||
11256 test ! -s conftest.err
11257 } && test -s conftest.$ac_objext; then
11258 ac_hi=$ac_mid; break
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11262
11263 ac_lo=`expr $ac_mid + 1`
11264 if test $ac_lo -le $ac_mid; then
11265 ac_lo= ac_hi=
11266 break
11267 fi
11268 ac_mid=`expr 2 '*' $ac_mid + 1`
11269 fi
11270
11271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11272 done
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11276
11277 cat >conftest.$ac_ext <<_ACEOF
11278 /* confdefs.h. */
11279 _ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 $ac_includes_default
11284 typedef short ac__type_sizeof_;
11285 int
11286 main ()
11287 {
11288 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
11289 test_array @<:@0@:>@ = 0
11290
11291 ;
11292 return 0;
11293 }
11294 _ACEOF
11295 rm -f conftest.$ac_objext
11296 if { (ac_try="$ac_compile"
11297 case "(($ac_try" in
11298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11299 *) ac_try_echo=$ac_try;;
11300 esac
11301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11302 (eval "$ac_compile") 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && {
11309 test -z "$ac_c_werror_flag" ||
11310 test ! -s conftest.err
11311 } && test -s conftest.$ac_objext; then
11312 ac_hi=-1 ac_mid=-1
11313 while :; do
11314 cat >conftest.$ac_ext <<_ACEOF
11315 /* confdefs.h. */
11316 _ACEOF
11317 cat confdefs.h >>conftest.$ac_ext
11318 cat >>conftest.$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11320 $ac_includes_default
11321 typedef short ac__type_sizeof_;
11322 int
11323 main ()
11324 {
11325 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
11326 test_array @<:@0@:>@ = 0
11327
11328 ;
11329 return 0;
11330 }
11331 _ACEOF
11332 rm -f conftest.$ac_objext
11333 if { (ac_try="$ac_compile"
11334 case "(($ac_try" in
11335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11336 *) ac_try_echo=$ac_try;;
11337 esac
11338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11339 (eval "$ac_compile") 2>conftest.er1
11340 ac_status=$?
11341 grep -v '^ *+' conftest.er1 >conftest.err
11342 rm -f conftest.er1
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } && {
11346 test -z "$ac_c_werror_flag" ||
11347 test ! -s conftest.err
11348 } && test -s conftest.$ac_objext; then
11349 ac_lo=$ac_mid; break
11350 else
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.$ac_ext >&5
11353
11354 ac_hi=`expr '(' $ac_mid ')' - 1`
11355 if test $ac_mid -le $ac_hi; then
11356 ac_lo= ac_hi=
11357 break
11358 fi
11359 ac_mid=`expr 2 '*' $ac_mid`
11360 fi
11361
11362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11363 done
11364 else
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.$ac_ext >&5
11367
11368 ac_lo= ac_hi=
11369 fi
11370
11371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11372 fi
11373
11374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11375 # Binary search between lo and hi bounds.
11376 while test "x$ac_lo" != "x$ac_hi"; do
11377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11378 cat >conftest.$ac_ext <<_ACEOF
11379 /* confdefs.h. */
11380 _ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11384 $ac_includes_default
11385 typedef short ac__type_sizeof_;
11386 int
11387 main ()
11388 {
11389 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11390 test_array @<:@0@:>@ = 0
11391
11392 ;
11393 return 0;
11394 }
11395 _ACEOF
11396 rm -f conftest.$ac_objext
11397 if { (ac_try="$ac_compile"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11401 esac
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_compile") 2>conftest.er1
11404 ac_status=$?
11405 grep -v '^ *+' conftest.er1 >conftest.err
11406 rm -f conftest.er1
11407 cat conftest.err >&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } && {
11410 test -z "$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 } && test -s conftest.$ac_objext; then
11413 ac_hi=$ac_mid
11414 else
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11417
11418 ac_lo=`expr '(' $ac_mid ')' + 1`
11419 fi
11420
11421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11422 done
11423 case $ac_lo in
11424 ?*) ac_cv_sizeof_short=$ac_lo;;
11425 '') if test "$ac_cv_type_short" = yes; then
11426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11427 See \`config.log' for more details." >&5
11428 echo "$as_me: error: cannot compute sizeof (short)
11429 See \`config.log' for more details." >&2;}
11430 { (exit 77); exit 77; }; }
11431 else
11432 ac_cv_sizeof_short=0
11433 fi ;;
11434 esac
11435 else
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 $ac_includes_default
11443 typedef short ac__type_sizeof_;
11444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11446 @%:@include <stdio.h>
11447 @%:@include <stdlib.h>
11448 int
11449 main ()
11450 {
11451
11452 FILE *f = fopen ("conftest.val", "w");
11453 if (! f)
11454 return 1;
11455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11456 {
11457 long int i = longval ();
11458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11459 return 1;
11460 fprintf (f, "%ld\n", i);
11461 }
11462 else
11463 {
11464 unsigned long int i = ulongval ();
11465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11466 return 1;
11467 fprintf (f, "%lu\n", i);
11468 }
11469 return ferror (f) || fclose (f) != 0;
11470
11471 ;
11472 return 0;
11473 }
11474 _ACEOF
11475 rm -f conftest$ac_exeext
11476 if { (ac_try="$ac_link"
11477 case "(($ac_try" in
11478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11479 *) ac_try_echo=$ac_try;;
11480 esac
11481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11482 (eval "$ac_link") 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11486 { (case "(($ac_try" in
11487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11488 *) ac_try_echo=$ac_try;;
11489 esac
11490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11491 (eval "$ac_try") 2>&5
11492 ac_status=$?
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then
11495 ac_cv_sizeof_short=`cat conftest.val`
11496 else
11497 echo "$as_me: program exited with status $ac_status" >&5
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.$ac_ext >&5
11500
11501 ( exit $ac_status )
11502 if test "$ac_cv_type_short" = yes; then
11503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11504 See \`config.log' for more details." >&5
11505 echo "$as_me: error: cannot compute sizeof (short)
11506 See \`config.log' for more details." >&2;}
11507 { (exit 77); exit 77; }; }
745911508 else
746011509 ac_cv_sizeof_short=0
746111510 fi
746211511 fi
7463
7464 fi
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
7466 $as_echo "$ac_cv_sizeof_short" >&6; }
11512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11513 fi
11514 rm -f conftest.val
11515 fi
11516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
11517 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
746711518
746811519
746911520
747111522 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
747211523 _ACEOF
747311524
11525
11526 { echo "$as_me:$LINENO: checking for int" >&5
11527 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
11528 if test "${ac_cv_type_int+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else
11531 cat >conftest.$ac_ext <<_ACEOF
11532 /* confdefs.h. */
11533 _ACEOF
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 $ac_includes_default
11538 typedef int ac__type_new_;
11539 int
11540 main ()
11541 {
11542 if ((ac__type_new_ *) 0)
11543 return 0;
11544 if (sizeof (ac__type_new_))
11545 return 0;
11546 ;
11547 return 0;
11548 }
11549 _ACEOF
11550 rm -f conftest.$ac_objext
11551 if { (ac_try="$ac_compile"
11552 case "(($ac_try" in
11553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554 *) ac_try_echo=$ac_try;;
11555 esac
11556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11557 (eval "$ac_compile") 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } && {
11564 test -z "$ac_c_werror_flag" ||
11565 test ! -s conftest.err
11566 } && test -s conftest.$ac_objext; then
11567 ac_cv_type_int=yes
11568 else
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_type_int=no
11573 fi
11574
11575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11576 fi
11577 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11578 echo "${ECHO_T}$ac_cv_type_int" >&6; }
747411579
747511580 # The cast to long int works around a bug in the HP C Compiler
747611581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
747711582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
747811583 # This bug is HP SR number 8606223364.
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7480 $as_echo_n "checking size of int... " >&6; }
7481 if ${ac_cv_sizeof_int+:} false; then :
7482 $as_echo_n "(cached) " >&6
7483 else
7484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
7485
7486 else
7487 if test "$ac_cv_type_int" = yes; then
7488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7490 as_fn_error 77 "cannot compute sizeof (int)
7491 See \`config.log' for more details" "$LINENO" 5; }
11584 { echo "$as_me:$LINENO: checking size of int" >&5
11585 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
11586 if test "${ac_cv_sizeof_int+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 else
11589 if test "$cross_compiling" = yes; then
11590 # Depending upon the size, compute the lo and hi bounds.
11591 cat >conftest.$ac_ext <<_ACEOF
11592 /* confdefs.h. */
11593 _ACEOF
11594 cat confdefs.h >>conftest.$ac_ext
11595 cat >>conftest.$ac_ext <<_ACEOF
11596 /* end confdefs.h. */
11597 $ac_includes_default
11598 typedef int ac__type_sizeof_;
11599 int
11600 main ()
11601 {
11602 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
11603 test_array @<:@0@:>@ = 0
11604
11605 ;
11606 return 0;
11607 }
11608 _ACEOF
11609 rm -f conftest.$ac_objext
11610 if { (ac_try="$ac_compile"
11611 case "(($ac_try" in
11612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11613 *) ac_try_echo=$ac_try;;
11614 esac
11615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11616 (eval "$ac_compile") 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } && {
11623 test -z "$ac_c_werror_flag" ||
11624 test ! -s conftest.err
11625 } && test -s conftest.$ac_objext; then
11626 ac_lo=0 ac_mid=0
11627 while :; do
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_includes_default
11635 typedef int ac__type_sizeof_;
11636 int
11637 main ()
11638 {
11639 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11640 test_array @<:@0@:>@ = 0
11641
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.$ac_objext
11647 if { (ac_try="$ac_compile"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11651 esac
11652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11653 (eval "$ac_compile") 2>conftest.er1
11654 ac_status=$?
11655 grep -v '^ *+' conftest.er1 >conftest.err
11656 rm -f conftest.er1
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && {
11660 test -z "$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11662 } && test -s conftest.$ac_objext; then
11663 ac_hi=$ac_mid; break
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11667
11668 ac_lo=`expr $ac_mid + 1`
11669 if test $ac_lo -le $ac_mid; then
11670 ac_lo= ac_hi=
11671 break
11672 fi
11673 ac_mid=`expr 2 '*' $ac_mid + 1`
11674 fi
11675
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 done
11678 else
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.$ac_ext >&5
11681
11682 cat >conftest.$ac_ext <<_ACEOF
11683 /* confdefs.h. */
11684 _ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 $ac_includes_default
11689 typedef int ac__type_sizeof_;
11690 int
11691 main ()
11692 {
11693 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
11694 test_array @<:@0@:>@ = 0
11695
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (ac_try="$ac_compile"
11702 case "(($ac_try" in
11703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11704 *) ac_try_echo=$ac_try;;
11705 esac
11706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11707 (eval "$ac_compile") 2>conftest.er1
11708 ac_status=$?
11709 grep -v '^ *+' conftest.er1 >conftest.err
11710 rm -f conftest.er1
11711 cat conftest.err >&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } && {
11714 test -z "$ac_c_werror_flag" ||
11715 test ! -s conftest.err
11716 } && test -s conftest.$ac_objext; then
11717 ac_hi=-1 ac_mid=-1
11718 while :; do
11719 cat >conftest.$ac_ext <<_ACEOF
11720 /* confdefs.h. */
11721 _ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 $ac_includes_default
11726 typedef int ac__type_sizeof_;
11727 int
11728 main ()
11729 {
11730 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
11731 test_array @<:@0@:>@ = 0
11732
11733 ;
11734 return 0;
11735 }
11736 _ACEOF
11737 rm -f conftest.$ac_objext
11738 if { (ac_try="$ac_compile"
11739 case "(($ac_try" in
11740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11742 esac
11743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11744 (eval "$ac_compile") 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && {
11751 test -z "$ac_c_werror_flag" ||
11752 test ! -s conftest.err
11753 } && test -s conftest.$ac_objext; then
11754 ac_lo=$ac_mid; break
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11758
11759 ac_hi=`expr '(' $ac_mid ')' - 1`
11760 if test $ac_mid -le $ac_hi; then
11761 ac_lo= ac_hi=
11762 break
11763 fi
11764 ac_mid=`expr 2 '*' $ac_mid`
11765 fi
11766
11767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11768 done
11769 else
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5
11772
11773 ac_lo= ac_hi=
11774 fi
11775
11776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11777 fi
11778
11779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11780 # Binary search between lo and hi bounds.
11781 while test "x$ac_lo" != "x$ac_hi"; do
11782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789 $ac_includes_default
11790 typedef int ac__type_sizeof_;
11791 int
11792 main ()
11793 {
11794 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
11795 test_array @<:@0@:>@ = 0
11796
11797 ;
11798 return 0;
11799 }
11800 _ACEOF
11801 rm -f conftest.$ac_objext
11802 if { (ac_try="$ac_compile"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_compile") 2>conftest.er1
11809 ac_status=$?
11810 grep -v '^ *+' conftest.er1 >conftest.err
11811 rm -f conftest.er1
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest.$ac_objext; then
11818 ac_hi=$ac_mid
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11822
11823 ac_lo=`expr '(' $ac_mid ')' + 1`
11824 fi
11825
11826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11827 done
11828 case $ac_lo in
11829 ?*) ac_cv_sizeof_int=$ac_lo;;
11830 '') if test "$ac_cv_type_int" = yes; then
11831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11832 See \`config.log' for more details." >&5
11833 echo "$as_me: error: cannot compute sizeof (int)
11834 See \`config.log' for more details." >&2;}
11835 { (exit 77); exit 77; }; }
11836 else
11837 ac_cv_sizeof_int=0
11838 fi ;;
11839 esac
11840 else
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 $ac_includes_default
11848 typedef int ac__type_sizeof_;
11849 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11850 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11851 @%:@include <stdio.h>
11852 @%:@include <stdlib.h>
11853 int
11854 main ()
11855 {
11856
11857 FILE *f = fopen ("conftest.val", "w");
11858 if (! f)
11859 return 1;
11860 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11861 {
11862 long int i = longval ();
11863 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11864 return 1;
11865 fprintf (f, "%ld\n", i);
11866 }
11867 else
11868 {
11869 unsigned long int i = ulongval ();
11870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11871 return 1;
11872 fprintf (f, "%lu\n", i);
11873 }
11874 return ferror (f) || fclose (f) != 0;
11875
11876 ;
11877 return 0;
11878 }
11879 _ACEOF
11880 rm -f conftest$ac_exeext
11881 if { (ac_try="$ac_link"
11882 case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_link") 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11891 { (case "(($ac_try" in
11892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11893 *) ac_try_echo=$ac_try;;
11894 esac
11895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11896 (eval "$ac_try") 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_sizeof_int=`cat conftest.val`
11901 else
11902 echo "$as_me: program exited with status $ac_status" >&5
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11905
11906 ( exit $ac_status )
11907 if test "$ac_cv_type_int" = yes; then
11908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11909 See \`config.log' for more details." >&5
11910 echo "$as_me: error: cannot compute sizeof (int)
11911 See \`config.log' for more details." >&2;}
11912 { (exit 77); exit 77; }; }
749211913 else
749311914 ac_cv_sizeof_int=0
749411915 fi
749511916 fi
7496
7497 fi
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7499 $as_echo "$ac_cv_sizeof_int" >&6; }
11917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11918 fi
11919 rm -f conftest.val
11920 fi
11921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11922 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
750011923
750111924
750211925
750411927 @%:@define SIZEOF_INT $ac_cv_sizeof_int
750511928 _ACEOF
750611929
11930
11931 { echo "$as_me:$LINENO: checking for long" >&5
11932 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
11933 if test "${ac_cv_type_long+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h. */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 $ac_includes_default
11943 typedef long ac__type_new_;
11944 int
11945 main ()
11946 {
11947 if ((ac__type_new_ *) 0)
11948 return 0;
11949 if (sizeof (ac__type_new_))
11950 return 0;
11951 ;
11952 return 0;
11953 }
11954 _ACEOF
11955 rm -f conftest.$ac_objext
11956 if { (ac_try="$ac_compile"
11957 case "(($ac_try" in
11958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11959 *) ac_try_echo=$ac_try;;
11960 esac
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_compile") 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } && {
11969 test -z "$ac_c_werror_flag" ||
11970 test ! -s conftest.err
11971 } && test -s conftest.$ac_objext; then
11972 ac_cv_type_long=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11976
11977 ac_cv_type_long=no
11978 fi
11979
11980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 fi
11982 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11983 echo "${ECHO_T}$ac_cv_type_long" >&6; }
750711984
750811985 # The cast to long int works around a bug in the HP C Compiler
750911986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
751011987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
751111988 # This bug is HP SR number 8606223364.
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
7513 $as_echo_n "checking size of long... " >&6; }
7514 if ${ac_cv_sizeof_long+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
7518
7519 else
7520 if test "$ac_cv_type_long" = yes; then
7521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7523 as_fn_error 77 "cannot compute sizeof (long)
7524 See \`config.log' for more details" "$LINENO" 5; }
11989 { echo "$as_me:$LINENO: checking size of long" >&5
11990 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
11991 if test "${ac_cv_sizeof_long+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 else
11994 if test "$cross_compiling" = yes; then
11995 # Depending upon the size, compute the lo and hi bounds.
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 $ac_includes_default
12003 typedef long ac__type_sizeof_;
12004 int
12005 main ()
12006 {
12007 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12008 test_array @<:@0@:>@ = 0
12009
12010 ;
12011 return 0;
12012 }
12013 _ACEOF
12014 rm -f conftest.$ac_objext
12015 if { (ac_try="$ac_compile"
12016 case "(($ac_try" in
12017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12018 *) ac_try_echo=$ac_try;;
12019 esac
12020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12021 (eval "$ac_compile") 2>conftest.er1
12022 ac_status=$?
12023 grep -v '^ *+' conftest.er1 >conftest.err
12024 rm -f conftest.er1
12025 cat conftest.err >&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest.$ac_objext; then
12031 ac_lo=0 ac_mid=0
12032 while :; do
12033 cat >conftest.$ac_ext <<_ACEOF
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 $ac_includes_default
12040 typedef long ac__type_sizeof_;
12041 int
12042 main ()
12043 {
12044 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12045 test_array @<:@0@:>@ = 0
12046
12047 ;
12048 return 0;
12049 }
12050 _ACEOF
12051 rm -f conftest.$ac_objext
12052 if { (ac_try="$ac_compile"
12053 case "(($ac_try" in
12054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12055 *) ac_try_echo=$ac_try;;
12056 esac
12057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12058 (eval "$ac_compile") 2>conftest.er1
12059 ac_status=$?
12060 grep -v '^ *+' conftest.er1 >conftest.err
12061 rm -f conftest.er1
12062 cat conftest.err >&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } && {
12065 test -z "$ac_c_werror_flag" ||
12066 test ! -s conftest.err
12067 } && test -s conftest.$ac_objext; then
12068 ac_hi=$ac_mid; break
12069 else
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5
12072
12073 ac_lo=`expr $ac_mid + 1`
12074 if test $ac_lo -le $ac_mid; then
12075 ac_lo= ac_hi=
12076 break
12077 fi
12078 ac_mid=`expr 2 '*' $ac_mid + 1`
12079 fi
12080
12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12082 done
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 cat >conftest.$ac_ext <<_ACEOF
12088 /* confdefs.h. */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12093 $ac_includes_default
12094 typedef long ac__type_sizeof_;
12095 int
12096 main ()
12097 {
12098 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12099 test_array @<:@0@:>@ = 0
12100
12101 ;
12102 return 0;
12103 }
12104 _ACEOF
12105 rm -f conftest.$ac_objext
12106 if { (ac_try="$ac_compile"
12107 case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_compile") 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && {
12119 test -z "$ac_c_werror_flag" ||
12120 test ! -s conftest.err
12121 } && test -s conftest.$ac_objext; then
12122 ac_hi=-1 ac_mid=-1
12123 while :; do
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130 $ac_includes_default
12131 typedef long ac__type_sizeof_;
12132 int
12133 main ()
12134 {
12135 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12136 test_array @<:@0@:>@ = 0
12137
12138 ;
12139 return 0;
12140 }
12141 _ACEOF
12142 rm -f conftest.$ac_objext
12143 if { (ac_try="$ac_compile"
12144 case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12147 esac
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_compile") 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest.$ac_objext; then
12159 ac_lo=$ac_mid; break
12160 else
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.$ac_ext >&5
12163
12164 ac_hi=`expr '(' $ac_mid ')' - 1`
12165 if test $ac_mid -le $ac_hi; then
12166 ac_lo= ac_hi=
12167 break
12168 fi
12169 ac_mid=`expr 2 '*' $ac_mid`
12170 fi
12171
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 done
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178 ac_lo= ac_hi=
12179 fi
12180
12181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12182 fi
12183
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 # Binary search between lo and hi bounds.
12186 while test "x$ac_lo" != "x$ac_hi"; do
12187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12188 cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 $ac_includes_default
12195 typedef long ac__type_sizeof_;
12196 int
12197 main ()
12198 {
12199 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12200 test_array @<:@0@:>@ = 0
12201
12202 ;
12203 return 0;
12204 }
12205 _ACEOF
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210 *) ac_try_echo=$ac_try;;
12211 esac
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.$ac_objext; then
12223 ac_hi=$ac_mid
12224 else
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12227
12228 ac_lo=`expr '(' $ac_mid ')' + 1`
12229 fi
12230
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 done
12233 case $ac_lo in
12234 ?*) ac_cv_sizeof_long=$ac_lo;;
12235 '') if test "$ac_cv_type_long" = yes; then
12236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12237 See \`config.log' for more details." >&5
12238 echo "$as_me: error: cannot compute sizeof (long)
12239 See \`config.log' for more details." >&2;}
12240 { (exit 77); exit 77; }; }
12241 else
12242 ac_cv_sizeof_long=0
12243 fi ;;
12244 esac
12245 else
12246 cat >conftest.$ac_ext <<_ACEOF
12247 /* confdefs.h. */
12248 _ACEOF
12249 cat confdefs.h >>conftest.$ac_ext
12250 cat >>conftest.$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252 $ac_includes_default
12253 typedef long ac__type_sizeof_;
12254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12256 @%:@include <stdio.h>
12257 @%:@include <stdlib.h>
12258 int
12259 main ()
12260 {
12261
12262 FILE *f = fopen ("conftest.val", "w");
12263 if (! f)
12264 return 1;
12265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12266 {
12267 long int i = longval ();
12268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12269 return 1;
12270 fprintf (f, "%ld\n", i);
12271 }
12272 else
12273 {
12274 unsigned long int i = ulongval ();
12275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12276 return 1;
12277 fprintf (f, "%lu\n", i);
12278 }
12279 return ferror (f) || fclose (f) != 0;
12280
12281 ;
12282 return 0;
12283 }
12284 _ACEOF
12285 rm -f conftest$ac_exeext
12286 if { (ac_try="$ac_link"
12287 case "(($ac_try" in
12288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12289 *) ac_try_echo=$ac_try;;
12290 esac
12291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12292 (eval "$ac_link") 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12296 { (case "(($ac_try" in
12297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12299 esac
12300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_try") 2>&5
12302 ac_status=$?
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 ac_cv_sizeof_long=`cat conftest.val`
12306 else
12307 echo "$as_me: program exited with status $ac_status" >&5
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12310
12311 ( exit $ac_status )
12312 if test "$ac_cv_type_long" = yes; then
12313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12314 See \`config.log' for more details." >&5
12315 echo "$as_me: error: cannot compute sizeof (long)
12316 See \`config.log' for more details." >&2;}
12317 { (exit 77); exit 77; }; }
752512318 else
752612319 ac_cv_sizeof_long=0
752712320 fi
752812321 fi
7529
7530 fi
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
7532 $as_echo "$ac_cv_sizeof_long" >&6; }
12322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12323 fi
12324 rm -f conftest.val
12325 fi
12326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12327 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
753312328
753412329
753512330
753712332 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
753812333 _ACEOF
753912334
12335
12336 { echo "$as_me:$LINENO: checking for long long" >&5
12337 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
12338 if test "${ac_cv_type_long_long+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 else
12341 cat >conftest.$ac_ext <<_ACEOF
12342 /* confdefs.h. */
12343 _ACEOF
12344 cat confdefs.h >>conftest.$ac_ext
12345 cat >>conftest.$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 $ac_includes_default
12348 typedef long long ac__type_new_;
12349 int
12350 main ()
12351 {
12352 if ((ac__type_new_ *) 0)
12353 return 0;
12354 if (sizeof (ac__type_new_))
12355 return 0;
12356 ;
12357 return 0;
12358 }
12359 _ACEOF
12360 rm -f conftest.$ac_objext
12361 if { (ac_try="$ac_compile"
12362 case "(($ac_try" in
12363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12365 esac
12366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12367 (eval "$ac_compile") 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } && {
12374 test -z "$ac_c_werror_flag" ||
12375 test ! -s conftest.err
12376 } && test -s conftest.$ac_objext; then
12377 ac_cv_type_long_long=yes
12378 else
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12381
12382 ac_cv_type_long_long=no
12383 fi
12384
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12388 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
754012389
754112390 # The cast to long int works around a bug in the HP C Compiler
754212391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
754312392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
754412393 # This bug is HP SR number 8606223364.
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
7546 $as_echo_n "checking size of long long... " >&6; }
7547 if ${ac_cv_sizeof_long_long+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
7551
7552 else
7553 if test "$ac_cv_type_long_long" = yes; then
7554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7556 as_fn_error 77 "cannot compute sizeof (long long)
7557 See \`config.log' for more details" "$LINENO" 5; }
12394 { echo "$as_me:$LINENO: checking size of long long" >&5
12395 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
12396 if test "${ac_cv_sizeof_long_long+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 if test "$cross_compiling" = yes; then
12400 # Depending upon the size, compute the lo and hi bounds.
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12408 typedef long long ac__type_sizeof_;
12409 int
12410 main ()
12411 {
12412 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12413 test_array @<:@0@:>@ = 0
12414
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 rm -f conftest.$ac_objext
12420 if { (ac_try="$ac_compile"
12421 case "(($ac_try" in
12422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423 *) ac_try_echo=$ac_try;;
12424 esac
12425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426 (eval "$ac_compile") 2>conftest.er1
12427 ac_status=$?
12428 grep -v '^ *+' conftest.er1 >conftest.err
12429 rm -f conftest.er1
12430 cat conftest.err >&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); } && {
12433 test -z "$ac_c_werror_flag" ||
12434 test ! -s conftest.err
12435 } && test -s conftest.$ac_objext; then
12436 ac_lo=0 ac_mid=0
12437 while :; do
12438 cat >conftest.$ac_ext <<_ACEOF
12439 /* confdefs.h. */
12440 _ACEOF
12441 cat confdefs.h >>conftest.$ac_ext
12442 cat >>conftest.$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 $ac_includes_default
12445 typedef long long ac__type_sizeof_;
12446 int
12447 main ()
12448 {
12449 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12450 test_array @<:@0@:>@ = 0
12451
12452 ;
12453 return 0;
12454 }
12455 _ACEOF
12456 rm -f conftest.$ac_objext
12457 if { (ac_try="$ac_compile"
12458 case "(($ac_try" in
12459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460 *) ac_try_echo=$ac_try;;
12461 esac
12462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12463 (eval "$ac_compile") 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && {
12470 test -z "$ac_c_werror_flag" ||
12471 test ! -s conftest.err
12472 } && test -s conftest.$ac_objext; then
12473 ac_hi=$ac_mid; break
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12477
12478 ac_lo=`expr $ac_mid + 1`
12479 if test $ac_lo -le $ac_mid; then
12480 ac_lo= ac_hi=
12481 break
12482 fi
12483 ac_mid=`expr 2 '*' $ac_mid + 1`
12484 fi
12485
12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12487 done
12488 else
12489 echo "$as_me: failed program was:" >&5
12490 sed 's/^/| /' conftest.$ac_ext >&5
12491
12492 cat >conftest.$ac_ext <<_ACEOF
12493 /* confdefs.h. */
12494 _ACEOF
12495 cat confdefs.h >>conftest.$ac_ext
12496 cat >>conftest.$ac_ext <<_ACEOF
12497 /* end confdefs.h. */
12498 $ac_includes_default
12499 typedef long long ac__type_sizeof_;
12500 int
12501 main ()
12502 {
12503 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12504 test_array @<:@0@:>@ = 0
12505
12506 ;
12507 return 0;
12508 }
12509 _ACEOF
12510 rm -f conftest.$ac_objext
12511 if { (ac_try="$ac_compile"
12512 case "(($ac_try" in
12513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12515 esac
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_compile") 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_c_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest.$ac_objext; then
12527 ac_hi=-1 ac_mid=-1
12528 while :; do
12529 cat >conftest.$ac_ext <<_ACEOF
12530 /* confdefs.h. */
12531 _ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 $ac_includes_default
12536 typedef long long ac__type_sizeof_;
12537 int
12538 main ()
12539 {
12540 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12541 test_array @<:@0@:>@ = 0
12542
12543 ;
12544 return 0;
12545 }
12546 _ACEOF
12547 rm -f conftest.$ac_objext
12548 if { (ac_try="$ac_compile"
12549 case "(($ac_try" in
12550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12551 *) ac_try_echo=$ac_try;;
12552 esac
12553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554 (eval "$ac_compile") 2>conftest.er1
12555 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } && {
12561 test -z "$ac_c_werror_flag" ||
12562 test ! -s conftest.err
12563 } && test -s conftest.$ac_objext; then
12564 ac_lo=$ac_mid; break
12565 else
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12568
12569 ac_hi=`expr '(' $ac_mid ')' - 1`
12570 if test $ac_mid -le $ac_hi; then
12571 ac_lo= ac_hi=
12572 break
12573 fi
12574 ac_mid=`expr 2 '*' $ac_mid`
12575 fi
12576
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 done
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 ac_lo= ac_hi=
12584 fi
12585
12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12587 fi
12588
12589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 # Binary search between lo and hi bounds.
12591 while test "x$ac_lo" != "x$ac_hi"; do
12592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12593 cat >conftest.$ac_ext <<_ACEOF
12594 /* confdefs.h. */
12595 _ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 $ac_includes_default
12600 typedef long long ac__type_sizeof_;
12601 int
12602 main ()
12603 {
12604 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12605 test_array @<:@0@:>@ = 0
12606
12607 ;
12608 return 0;
12609 }
12610 _ACEOF
12611 rm -f conftest.$ac_objext
12612 if { (ac_try="$ac_compile"
12613 case "(($ac_try" in
12614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12616 esac
12617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_compile") 2>conftest.er1
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } && {
12625 test -z "$ac_c_werror_flag" ||
12626 test ! -s conftest.err
12627 } && test -s conftest.$ac_objext; then
12628 ac_hi=$ac_mid
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ac_lo=`expr '(' $ac_mid ')' + 1`
12634 fi
12635
12636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 done
12638 case $ac_lo in
12639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12640 '') if test "$ac_cv_type_long_long" = yes; then
12641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12642 See \`config.log' for more details." >&5
12643 echo "$as_me: error: cannot compute sizeof (long long)
12644 See \`config.log' for more details." >&2;}
12645 { (exit 77); exit 77; }; }
12646 else
12647 ac_cv_sizeof_long_long=0
12648 fi ;;
12649 esac
12650 else
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 typedef long long ac__type_sizeof_;
12659 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12660 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12661 @%:@include <stdio.h>
12662 @%:@include <stdlib.h>
12663 int
12664 main ()
12665 {
12666
12667 FILE *f = fopen ("conftest.val", "w");
12668 if (! f)
12669 return 1;
12670 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12671 {
12672 long int i = longval ();
12673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12674 return 1;
12675 fprintf (f, "%ld\n", i);
12676 }
12677 else
12678 {
12679 unsigned long int i = ulongval ();
12680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12681 return 1;
12682 fprintf (f, "%lu\n", i);
12683 }
12684 return ferror (f) || fclose (f) != 0;
12685
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 rm -f conftest$ac_exeext
12691 if { (ac_try="$ac_link"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695 esac
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_link") 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12701 { (case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12704 esac
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_try") 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_sizeof_long_long=`cat conftest.val`
12711 else
12712 echo "$as_me: program exited with status $ac_status" >&5
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12715
12716 ( exit $ac_status )
12717 if test "$ac_cv_type_long_long" = yes; then
12718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12719 See \`config.log' for more details." >&5
12720 echo "$as_me: error: cannot compute sizeof (long long)
12721 See \`config.log' for more details." >&2;}
12722 { (exit 77); exit 77; }; }
755812723 else
755912724 ac_cv_sizeof_long_long=0
756012725 fi
756112726 fi
7562
7563 fi
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
7565 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12728 fi
12729 rm -f conftest.val
12730 fi
12731 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12732 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
756612733
756712734
756812735
757012737 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
757112738 _ACEOF
757212739
12740
12741 { echo "$as_me:$LINENO: checking for __int64" >&5
12742 echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
12743 if test "${ac_cv_type___int64+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 else
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 $ac_includes_default
12753 typedef __int64 ac__type_new_;
12754 int
12755 main ()
12756 {
12757 if ((ac__type_new_ *) 0)
12758 return 0;
12759 if (sizeof (ac__type_new_))
12760 return 0;
12761 ;
12762 return 0;
12763 }
12764 _ACEOF
12765 rm -f conftest.$ac_objext
12766 if { (ac_try="$ac_compile"
12767 case "(($ac_try" in
12768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12769 *) ac_try_echo=$ac_try;;
12770 esac
12771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772 (eval "$ac_compile") 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } && {
12779 test -z "$ac_c_werror_flag" ||
12780 test ! -s conftest.err
12781 } && test -s conftest.$ac_objext; then
12782 ac_cv_type___int64=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 ac_cv_type___int64=no
12788 fi
12789
12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12791 fi
12792 { echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
12793 echo "${ECHO_T}$ac_cv_type___int64" >&6; }
757312794
757412795 # The cast to long int works around a bug in the HP C Compiler
757512796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
757612797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
757712798 # This bug is HP SR number 8606223364.
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
7579 $as_echo_n "checking size of __int64... " >&6; }
7580 if ${ac_cv_sizeof___int64+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
7584
7585 else
7586 if test "$ac_cv_type___int64" = yes; then
7587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7589 as_fn_error 77 "cannot compute sizeof (__int64)
7590 See \`config.log' for more details" "$LINENO" 5; }
12799 { echo "$as_me:$LINENO: checking size of __int64" >&5
12800 echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
12801 if test "${ac_cv_sizeof___int64+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test "$cross_compiling" = yes; then
12805 # Depending upon the size, compute the lo and hi bounds.
12806 cat >conftest.$ac_ext <<_ACEOF
12807 /* confdefs.h. */
12808 _ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12812 $ac_includes_default
12813 typedef __int64 ac__type_sizeof_;
12814 int
12815 main ()
12816 {
12817 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
12818 test_array @<:@0@:>@ = 0
12819
12820 ;
12821 return 0;
12822 }
12823 _ACEOF
12824 rm -f conftest.$ac_objext
12825 if { (ac_try="$ac_compile"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12829 esac
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_compile") 2>conftest.er1
12832 ac_status=$?
12833 grep -v '^ *+' conftest.er1 >conftest.err
12834 rm -f conftest.er1
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } && {
12838 test -z "$ac_c_werror_flag" ||
12839 test ! -s conftest.err
12840 } && test -s conftest.$ac_objext; then
12841 ac_lo=0 ac_mid=0
12842 while :; do
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849 $ac_includes_default
12850 typedef __int64 ac__type_sizeof_;
12851 int
12852 main ()
12853 {
12854 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
12855 test_array @<:@0@:>@ = 0
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 rm -f conftest.$ac_objext
12862 if { (ac_try="$ac_compile"
12863 case "(($ac_try" in
12864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12865 *) ac_try_echo=$ac_try;;
12866 esac
12867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12868 (eval "$ac_compile") 2>conftest.er1
12869 ac_status=$?
12870 grep -v '^ *+' conftest.er1 >conftest.err
12871 rm -f conftest.er1
12872 cat conftest.err >&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); } && {
12875 test -z "$ac_c_werror_flag" ||
12876 test ! -s conftest.err
12877 } && test -s conftest.$ac_objext; then
12878 ac_hi=$ac_mid; break
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 ac_lo=`expr $ac_mid + 1`
12884 if test $ac_lo -le $ac_mid; then
12885 ac_lo= ac_hi=
12886 break
12887 fi
12888 ac_mid=`expr 2 '*' $ac_mid + 1`
12889 fi
12890
12891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12892 done
12893 else
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.$ac_ext >&5
12896
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12904 typedef __int64 ac__type_sizeof_;
12905 int
12906 main ()
12907 {
12908 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
12909 test_array @<:@0@:>@ = 0
12910
12911 ;
12912 return 0;
12913 }
12914 _ACEOF
12915 rm -f conftest.$ac_objext
12916 if { (ac_try="$ac_compile"
12917 case "(($ac_try" in
12918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12919 *) ac_try_echo=$ac_try;;
12920 esac
12921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922 (eval "$ac_compile") 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && {
12929 test -z "$ac_c_werror_flag" ||
12930 test ! -s conftest.err
12931 } && test -s conftest.$ac_objext; then
12932 ac_hi=-1 ac_mid=-1
12933 while :; do
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 $ac_includes_default
12941 typedef __int64 ac__type_sizeof_;
12942 int
12943 main ()
12944 {
12945 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
12946 test_array @<:@0@:>@ = 0
12947
12948 ;
12949 return 0;
12950 }
12951 _ACEOF
12952 rm -f conftest.$ac_objext
12953 if { (ac_try="$ac_compile"
12954 case "(($ac_try" in
12955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12956 *) ac_try_echo=$ac_try;;
12957 esac
12958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12959 (eval "$ac_compile") 2>conftest.er1
12960 ac_status=$?
12961 grep -v '^ *+' conftest.er1 >conftest.err
12962 rm -f conftest.er1
12963 cat conftest.err >&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } && {
12966 test -z "$ac_c_werror_flag" ||
12967 test ! -s conftest.err
12968 } && test -s conftest.$ac_objext; then
12969 ac_lo=$ac_mid; break
12970 else
12971 echo "$as_me: failed program was:" >&5
12972 sed 's/^/| /' conftest.$ac_ext >&5
12973
12974 ac_hi=`expr '(' $ac_mid ')' - 1`
12975 if test $ac_mid -le $ac_hi; then
12976 ac_lo= ac_hi=
12977 break
12978 fi
12979 ac_mid=`expr 2 '*' $ac_mid`
12980 fi
12981
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 done
12984 else
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12987
12988 ac_lo= ac_hi=
12989 fi
12990
12991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12992 fi
12993
12994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12995 # Binary search between lo and hi bounds.
12996 while test "x$ac_lo" != "x$ac_hi"; do
12997 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12998 cat >conftest.$ac_ext <<_ACEOF
12999 /* confdefs.h. */
13000 _ACEOF
13001 cat confdefs.h >>conftest.$ac_ext
13002 cat >>conftest.$ac_ext <<_ACEOF
13003 /* end confdefs.h. */
13004 $ac_includes_default
13005 typedef __int64 ac__type_sizeof_;
13006 int
13007 main ()
13008 {
13009 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13010 test_array @<:@0@:>@ = 0
13011
13012 ;
13013 return 0;
13014 }
13015 _ACEOF
13016 rm -f conftest.$ac_objext
13017 if { (ac_try="$ac_compile"
13018 case "(($ac_try" in
13019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13020 *) ac_try_echo=$ac_try;;
13021 esac
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_compile") 2>conftest.er1
13024 ac_status=$?
13025 grep -v '^ *+' conftest.er1 >conftest.err
13026 rm -f conftest.er1
13027 cat conftest.err >&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } && {
13030 test -z "$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13032 } && test -s conftest.$ac_objext; then
13033 ac_hi=$ac_mid
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13037
13038 ac_lo=`expr '(' $ac_mid ')' + 1`
13039 fi
13040
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13042 done
13043 case $ac_lo in
13044 ?*) ac_cv_sizeof___int64=$ac_lo;;
13045 '') if test "$ac_cv_type___int64" = yes; then
13046 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13047 See \`config.log' for more details." >&5
13048 echo "$as_me: error: cannot compute sizeof (__int64)
13049 See \`config.log' for more details." >&2;}
13050 { (exit 77); exit 77; }; }
13051 else
13052 ac_cv_sizeof___int64=0
13053 fi ;;
13054 esac
13055 else
13056 cat >conftest.$ac_ext <<_ACEOF
13057 /* confdefs.h. */
13058 _ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13063 typedef __int64 ac__type_sizeof_;
13064 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13065 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13066 @%:@include <stdio.h>
13067 @%:@include <stdlib.h>
13068 int
13069 main ()
13070 {
13071
13072 FILE *f = fopen ("conftest.val", "w");
13073 if (! f)
13074 return 1;
13075 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13076 {
13077 long int i = longval ();
13078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13079 return 1;
13080 fprintf (f, "%ld\n", i);
13081 }
13082 else
13083 {
13084 unsigned long int i = ulongval ();
13085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13086 return 1;
13087 fprintf (f, "%lu\n", i);
13088 }
13089 return ferror (f) || fclose (f) != 0;
13090
13091 ;
13092 return 0;
13093 }
13094 _ACEOF
13095 rm -f conftest$ac_exeext
13096 if { (ac_try="$ac_link"
13097 case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13100 esac
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_link") 2>&5
13103 ac_status=$?
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13106 { (case "(($ac_try" in
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108 *) ac_try_echo=$ac_try;;
13109 esac
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_try") 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 ac_cv_sizeof___int64=`cat conftest.val`
13116 else
13117 echo "$as_me: program exited with status $ac_status" >&5
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 ( exit $ac_status )
13122 if test "$ac_cv_type___int64" = yes; then
13123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13124 See \`config.log' for more details." >&5
13125 echo "$as_me: error: cannot compute sizeof (__int64)
13126 See \`config.log' for more details." >&2;}
13127 { (exit 77); exit 77; }; }
759113128 else
759213129 ac_cv_sizeof___int64=0
759313130 fi
759413131 fi
7595
7596 fi
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
7598 $as_echo "$ac_cv_sizeof___int64" >&6; }
13132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13133 fi
13134 rm -f conftest.val
13135 fi
13136 { echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
13137 echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
759913138
760013139
760113140
760313142 @%:@define SIZEOF___INT64 $ac_cv_sizeof___int64
760413143 _ACEOF
760513144
13145
13146 { echo "$as_me:$LINENO: checking for void *" >&5
13147 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
13148 if test "${ac_cv_type_void_p+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13158 typedef void * ac__type_new_;
13159 int
13160 main ()
13161 {
13162 if ((ac__type_new_ *) 0)
13163 return 0;
13164 if (sizeof (ac__type_new_))
13165 return 0;
13166 ;
13167 return 0;
13168 }
13169 _ACEOF
13170 rm -f conftest.$ac_objext
13171 if { (ac_try="$ac_compile"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_compile") 2>conftest.er1
13178 ac_status=$?
13179 grep -v '^ *+' conftest.er1 >conftest.err
13180 rm -f conftest.er1
13181 cat conftest.err >&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest.$ac_objext; then
13187 ac_cv_type_void_p=yes
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 ac_cv_type_void_p=no
13193 fi
13194
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13196 fi
13197 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13198 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
760613199
760713200 # The cast to long int works around a bug in the HP C Compiler
760813201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
760913202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
761013203 # This bug is HP SR number 8606223364.
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
7612 $as_echo_n "checking size of void *... " >&6; }
7613 if ${ac_cv_sizeof_void_p+:} false; then :
7614 $as_echo_n "(cached) " >&6
7615 else
7616 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
7617
7618 else
7619 if test "$ac_cv_type_void_p" = yes; then
7620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7622 as_fn_error 77 "cannot compute sizeof (void *)
7623 See \`config.log' for more details" "$LINENO" 5; }
13204 { echo "$as_me:$LINENO: checking size of void *" >&5
13205 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
13206 if test "${ac_cv_sizeof_void_p+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209 if test "$cross_compiling" = yes; then
13210 # Depending upon the size, compute the lo and hi bounds.
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217 $ac_includes_default
13218 typedef void * ac__type_sizeof_;
13219 int
13220 main ()
13221 {
13222 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
13223 test_array @<:@0@:>@ = 0
13224
13225 ;
13226 return 0;
13227 }
13228 _ACEOF
13229 rm -f conftest.$ac_objext
13230 if { (ac_try="$ac_compile"
13231 case "(($ac_try" in
13232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13233 *) ac_try_echo=$ac_try;;
13234 esac
13235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13236 (eval "$ac_compile") 2>conftest.er1
13237 ac_status=$?
13238 grep -v '^ *+' conftest.er1 >conftest.err
13239 rm -f conftest.er1
13240 cat conftest.err >&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } && {
13243 test -z "$ac_c_werror_flag" ||
13244 test ! -s conftest.err
13245 } && test -s conftest.$ac_objext; then
13246 ac_lo=0 ac_mid=0
13247 while :; do
13248 cat >conftest.$ac_ext <<_ACEOF
13249 /* confdefs.h. */
13250 _ACEOF
13251 cat confdefs.h >>conftest.$ac_ext
13252 cat >>conftest.$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13254 $ac_includes_default
13255 typedef void * ac__type_sizeof_;
13256 int
13257 main ()
13258 {
13259 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13260 test_array @<:@0@:>@ = 0
13261
13262 ;
13263 return 0;
13264 }
13265 _ACEOF
13266 rm -f conftest.$ac_objext
13267 if { (ac_try="$ac_compile"
13268 case "(($ac_try" in
13269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13270 *) ac_try_echo=$ac_try;;
13271 esac
13272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13273 (eval "$ac_compile") 2>conftest.er1
13274 ac_status=$?
13275 grep -v '^ *+' conftest.er1 >conftest.err
13276 rm -f conftest.er1
13277 cat conftest.err >&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } && {
13280 test -z "$ac_c_werror_flag" ||
13281 test ! -s conftest.err
13282 } && test -s conftest.$ac_objext; then
13283 ac_hi=$ac_mid; break
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13287
13288 ac_lo=`expr $ac_mid + 1`
13289 if test $ac_lo -le $ac_mid; then
13290 ac_lo= ac_hi=
13291 break
13292 fi
13293 ac_mid=`expr 2 '*' $ac_mid + 1`
13294 fi
13295
13296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13297 done
13298 else
13299 echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.$ac_ext >&5
13301
13302 cat >conftest.$ac_ext <<_ACEOF
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 $ac_includes_default
13309 typedef void * ac__type_sizeof_;
13310 int
13311 main ()
13312 {
13313 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
13314 test_array @<:@0@:>@ = 0
13315
13316 ;
13317 return 0;
13318 }
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (ac_try="$ac_compile"
13322 case "(($ac_try" in
13323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13324 *) ac_try_echo=$ac_try;;
13325 esac
13326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13327 (eval "$ac_compile") 2>conftest.er1
13328 ac_status=$?
13329 grep -v '^ *+' conftest.er1 >conftest.err
13330 rm -f conftest.er1
13331 cat conftest.err >&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } && {
13334 test -z "$ac_c_werror_flag" ||
13335 test ! -s conftest.err
13336 } && test -s conftest.$ac_objext; then
13337 ac_hi=-1 ac_mid=-1
13338 while :; do
13339 cat >conftest.$ac_ext <<_ACEOF
13340 /* confdefs.h. */
13341 _ACEOF
13342 cat confdefs.h >>conftest.$ac_ext
13343 cat >>conftest.$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 $ac_includes_default
13346 typedef void * ac__type_sizeof_;
13347 int
13348 main ()
13349 {
13350 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
13351 test_array @<:@0@:>@ = 0
13352
13353 ;
13354 return 0;
13355 }
13356 _ACEOF
13357 rm -f conftest.$ac_objext
13358 if { (ac_try="$ac_compile"
13359 case "(($ac_try" in
13360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13361 *) ac_try_echo=$ac_try;;
13362 esac
13363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13364 (eval "$ac_compile") 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } && {
13371 test -z "$ac_c_werror_flag" ||
13372 test ! -s conftest.err
13373 } && test -s conftest.$ac_objext; then
13374 ac_lo=$ac_mid; break
13375 else
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13378
13379 ac_hi=`expr '(' $ac_mid ')' - 1`
13380 if test $ac_mid -le $ac_hi; then
13381 ac_lo= ac_hi=
13382 break
13383 fi
13384 ac_mid=`expr 2 '*' $ac_mid`
13385 fi
13386
13387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 done
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 ac_lo= ac_hi=
13394 fi
13395
13396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 fi
13398
13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400 # Binary search between lo and hi bounds.
13401 while test "x$ac_lo" != "x$ac_hi"; do
13402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 $ac_includes_default
13410 typedef void * ac__type_sizeof_;
13411 int
13412 main ()
13413 {
13414 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13415 test_array @<:@0@:>@ = 0
13416
13417 ;
13418 return 0;
13419 }
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (ac_try="$ac_compile"
13423 case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13426 esac
13427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_compile") 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } && {
13435 test -z "$ac_c_werror_flag" ||
13436 test ! -s conftest.err
13437 } && test -s conftest.$ac_objext; then
13438 ac_hi=$ac_mid
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 ac_lo=`expr '(' $ac_mid ')' + 1`
13444 fi
13445
13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 done
13448 case $ac_lo in
13449 ?*) ac_cv_sizeof_void_p=$ac_lo;;
13450 '') if test "$ac_cv_type_void_p" = yes; then
13451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13452 See \`config.log' for more details." >&5
13453 echo "$as_me: error: cannot compute sizeof (void *)
13454 See \`config.log' for more details." >&2;}
13455 { (exit 77); exit 77; }; }
13456 else
13457 ac_cv_sizeof_void_p=0
13458 fi ;;
13459 esac
13460 else
13461 cat >conftest.$ac_ext <<_ACEOF
13462 /* confdefs.h. */
13463 _ACEOF
13464 cat confdefs.h >>conftest.$ac_ext
13465 cat >>conftest.$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13467 $ac_includes_default
13468 typedef void * ac__type_sizeof_;
13469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13471 @%:@include <stdio.h>
13472 @%:@include <stdlib.h>
13473 int
13474 main ()
13475 {
13476
13477 FILE *f = fopen ("conftest.val", "w");
13478 if (! f)
13479 return 1;
13480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13481 {
13482 long int i = longval ();
13483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13484 return 1;
13485 fprintf (f, "%ld\n", i);
13486 }
13487 else
13488 {
13489 unsigned long int i = ulongval ();
13490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13491 return 1;
13492 fprintf (f, "%lu\n", i);
13493 }
13494 return ferror (f) || fclose (f) != 0;
13495
13496 ;
13497 return 0;
13498 }
13499 _ACEOF
13500 rm -f conftest$ac_exeext
13501 if { (ac_try="$ac_link"
13502 case "(($ac_try" in
13503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13504 *) ac_try_echo=$ac_try;;
13505 esac
13506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507 (eval "$ac_link") 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13514 esac
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 ac_cv_sizeof_void_p=`cat conftest.val`
13521 else
13522 echo "$as_me: program exited with status $ac_status" >&5
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 ( exit $ac_status )
13527 if test "$ac_cv_type_void_p" = yes; then
13528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13529 See \`config.log' for more details." >&5
13530 echo "$as_me: error: cannot compute sizeof (void *)
13531 See \`config.log' for more details." >&2;}
13532 { (exit 77); exit 77; }; }
762413533 else
762513534 ac_cv_sizeof_void_p=0
762613535 fi
762713536 fi
7628
7629 fi
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
7631 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13538 fi
13539 rm -f conftest.val
13540 fi
13541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13542 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
763213543
763313544
763413545
763613547 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
763713548 _ACEOF
763813549
13550
13551 { echo "$as_me:$LINENO: checking for size_t" >&5
13552 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
13553 if test "${ac_cv_type_size_t+set}" = set; then
13554 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 else
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 $ac_includes_default
13563 typedef size_t ac__type_new_;
13564 int
13565 main ()
13566 {
13567 if ((ac__type_new_ *) 0)
13568 return 0;
13569 if (sizeof (ac__type_new_))
13570 return 0;
13571 ;
13572 return 0;
13573 }
13574 _ACEOF
13575 rm -f conftest.$ac_objext
13576 if { (ac_try="$ac_compile"
13577 case "(($ac_try" in
13578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13580 esac
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_compile") 2>conftest.er1
13583 ac_status=$?
13584 grep -v '^ *+' conftest.er1 >conftest.err
13585 rm -f conftest.er1
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest.$ac_objext; then
13592 ac_cv_type_size_t=yes
13593 else
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13596
13597 ac_cv_type_size_t=no
13598 fi
13599
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13601 fi
13602 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13603 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
763913604
764013605 # The cast to long int works around a bug in the HP C Compiler
764113606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
764213607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
764313608 # This bug is HP SR number 8606223364.
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
7645 $as_echo_n "checking size of size_t... " >&6; }
7646 if ${ac_cv_sizeof_size_t+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
7650
7651 else
7652 if test "$ac_cv_type_size_t" = yes; then
7653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7655 as_fn_error 77 "cannot compute sizeof (size_t)
7656 See \`config.log' for more details" "$LINENO" 5; }
13609 { echo "$as_me:$LINENO: checking size of size_t" >&5
13610 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
13611 if test "${ac_cv_sizeof_size_t+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 else
13614 if test "$cross_compiling" = yes; then
13615 # Depending upon the size, compute the lo and hi bounds.
13616 cat >conftest.$ac_ext <<_ACEOF
13617 /* confdefs.h. */
13618 _ACEOF
13619 cat confdefs.h >>conftest.$ac_ext
13620 cat >>conftest.$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13622 $ac_includes_default
13623 typedef size_t ac__type_sizeof_;
13624 int
13625 main ()
13626 {
13627 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
13628 test_array @<:@0@:>@ = 0
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_lo=0 ac_mid=0
13652 while :; do
13653 cat >conftest.$ac_ext <<_ACEOF
13654 /* confdefs.h. */
13655 _ACEOF
13656 cat confdefs.h >>conftest.$ac_ext
13657 cat >>conftest.$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13660 typedef size_t ac__type_sizeof_;
13661 int
13662 main ()
13663 {
13664 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13665 test_array @<:@0@:>@ = 0
13666
13667 ;
13668 return 0;
13669 }
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (ac_try="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13676 esac
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.$ac_objext; then
13688 ac_hi=$ac_mid; break
13689 else
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13692
13693 ac_lo=`expr $ac_mid + 1`
13694 if test $ac_lo -le $ac_mid; then
13695 ac_lo= ac_hi=
13696 break
13697 fi
13698 ac_mid=`expr 2 '*' $ac_mid + 1`
13699 fi
13700
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 done
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13706
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 $ac_includes_default
13714 typedef size_t ac__type_sizeof_;
13715 int
13716 main ()
13717 {
13718 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
13719 test_array @<:@0@:>@ = 0
13720
13721 ;
13722 return 0;
13723 }
13724 _ACEOF
13725 rm -f conftest.$ac_objext
13726 if { (ac_try="$ac_compile"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13730 esac
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && {
13739 test -z "$ac_c_werror_flag" ||
13740 test ! -s conftest.err
13741 } && test -s conftest.$ac_objext; then
13742 ac_hi=-1 ac_mid=-1
13743 while :; do
13744 cat >conftest.$ac_ext <<_ACEOF
13745 /* confdefs.h. */
13746 _ACEOF
13747 cat confdefs.h >>conftest.$ac_ext
13748 cat >>conftest.$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 $ac_includes_default
13751 typedef size_t ac__type_sizeof_;
13752 int
13753 main ()
13754 {
13755 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
13756 test_array @<:@0@:>@ = 0
13757
13758 ;
13759 return 0;
13760 }
13761 _ACEOF
13762 rm -f conftest.$ac_objext
13763 if { (ac_try="$ac_compile"
13764 case "(($ac_try" in
13765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13766 *) ac_try_echo=$ac_try;;
13767 esac
13768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13769 (eval "$ac_compile") 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } && {
13776 test -z "$ac_c_werror_flag" ||
13777 test ! -s conftest.err
13778 } && test -s conftest.$ac_objext; then
13779 ac_lo=$ac_mid; break
13780 else
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13783
13784 ac_hi=`expr '(' $ac_mid ')' - 1`
13785 if test $ac_mid -le $ac_hi; then
13786 ac_lo= ac_hi=
13787 break
13788 fi
13789 ac_mid=`expr 2 '*' $ac_mid`
13790 fi
13791
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13793 done
13794 else
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 ac_lo= ac_hi=
13799 fi
13800
13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13802 fi
13803
13804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13805 # Binary search between lo and hi bounds.
13806 while test "x$ac_lo" != "x$ac_hi"; do
13807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13808 cat >conftest.$ac_ext <<_ACEOF
13809 /* confdefs.h. */
13810 _ACEOF
13811 cat confdefs.h >>conftest.$ac_ext
13812 cat >>conftest.$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13814 $ac_includes_default
13815 typedef size_t ac__type_sizeof_;
13816 int
13817 main ()
13818 {
13819 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
13820 test_array @<:@0@:>@ = 0
13821
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 rm -f conftest.$ac_objext
13827 if { (ac_try="$ac_compile"
13828 case "(($ac_try" in
13829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13831 esac
13832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13833 (eval "$ac_compile") 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } && {
13840 test -z "$ac_c_werror_flag" ||
13841 test ! -s conftest.err
13842 } && test -s conftest.$ac_objext; then
13843 ac_hi=$ac_mid
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 ac_lo=`expr '(' $ac_mid ')' + 1`
13849 fi
13850
13851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13852 done
13853 case $ac_lo in
13854 ?*) ac_cv_sizeof_size_t=$ac_lo;;
13855 '') if test "$ac_cv_type_size_t" = yes; then
13856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot compute sizeof (size_t)
13859 See \`config.log' for more details." >&2;}
13860 { (exit 77); exit 77; }; }
13861 else
13862 ac_cv_sizeof_size_t=0
13863 fi ;;
13864 esac
13865 else
13866 cat >conftest.$ac_ext <<_ACEOF
13867 /* confdefs.h. */
13868 _ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 $ac_includes_default
13873 typedef size_t ac__type_sizeof_;
13874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13876 @%:@include <stdio.h>
13877 @%:@include <stdlib.h>
13878 int
13879 main ()
13880 {
13881
13882 FILE *f = fopen ("conftest.val", "w");
13883 if (! f)
13884 return 1;
13885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13886 {
13887 long int i = longval ();
13888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13889 return 1;
13890 fprintf (f, "%ld\n", i);
13891 }
13892 else
13893 {
13894 unsigned long int i = ulongval ();
13895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13896 return 1;
13897 fprintf (f, "%lu\n", i);
13898 }
13899 return ferror (f) || fclose (f) != 0;
13900
13901 ;
13902 return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_link") 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13916 { (case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_try") 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 ac_cv_sizeof_size_t=`cat conftest.val`
13926 else
13927 echo "$as_me: program exited with status $ac_status" >&5
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 ( exit $ac_status )
13932 if test "$ac_cv_type_size_t" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13934 See \`config.log' for more details." >&5
13935 echo "$as_me: error: cannot compute sizeof (size_t)
13936 See \`config.log' for more details." >&2;}
13937 { (exit 77); exit 77; }; }
765713938 else
765813939 ac_cv_sizeof_size_t=0
765913940 fi
766013941 fi
7661
7662 fi
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
7664 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13943 fi
13944 rm -f conftest.val
13945 fi
13946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
13947 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
766513948
766613949
766713950
766913952 @%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
767013953 _ACEOF
767113954
13955
13956 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
13957 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
13958 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
13959 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 else
13961 cat >conftest.$ac_ext <<_ACEOF
13962 /* confdefs.h. */
13963 _ACEOF
13964 cat confdefs.h >>conftest.$ac_ext
13965 cat >>conftest.$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 $ac_includes_default
13968 typedef ptrdiff_t ac__type_new_;
13969 int
13970 main ()
13971 {
13972 if ((ac__type_new_ *) 0)
13973 return 0;
13974 if (sizeof (ac__type_new_))
13975 return 0;
13976 ;
13977 return 0;
13978 }
13979 _ACEOF
13980 rm -f conftest.$ac_objext
13981 if { (ac_try="$ac_compile"
13982 case "(($ac_try" in
13983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13985 esac
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_compile") 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } && {
13994 test -z "$ac_c_werror_flag" ||
13995 test ! -s conftest.err
13996 } && test -s conftest.$ac_objext; then
13997 ac_cv_type_ptrdiff_t=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14001
14002 ac_cv_type_ptrdiff_t=no
14003 fi
14004
14005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14006 fi
14007 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
14008 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
767214009
767314010 # The cast to long int works around a bug in the HP C Compiler
767414011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
767514012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
767614013 # This bug is HP SR number 8606223364.
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
7678 $as_echo_n "checking size of ptrdiff_t... " >&6; }
7679 if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
7683
7684 else
7685 if test "$ac_cv_type_ptrdiff_t" = yes; then
7686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7688 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
7689 See \`config.log' for more details" "$LINENO" 5; }
14014 { echo "$as_me:$LINENO: checking size of ptrdiff_t" >&5
14015 echo $ECHO_N "checking size of ptrdiff_t... $ECHO_C" >&6; }
14016 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 if test "$cross_compiling" = yes; then
14020 # Depending upon the size, compute the lo and hi bounds.
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14028 typedef ptrdiff_t ac__type_sizeof_;
14029 int
14030 main ()
14031 {
14032 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
14033 test_array @<:@0@:>@ = 0
14034
14035 ;
14036 return 0;
14037 }
14038 _ACEOF
14039 rm -f conftest.$ac_objext
14040 if { (ac_try="$ac_compile"
14041 case "(($ac_try" in
14042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14043 *) ac_try_echo=$ac_try;;
14044 esac
14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14046 (eval "$ac_compile") 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } && {
14053 test -z "$ac_c_werror_flag" ||
14054 test ! -s conftest.err
14055 } && test -s conftest.$ac_objext; then
14056 ac_lo=0 ac_mid=0
14057 while :; do
14058 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */
14060 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 $ac_includes_default
14065 typedef ptrdiff_t ac__type_sizeof_;
14066 int
14067 main ()
14068 {
14069 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
14070 test_array @<:@0@:>@ = 0
14071
14072 ;
14073 return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest.$ac_objext
14077 if { (ac_try="$ac_compile"
14078 case "(($ac_try" in
14079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 *) ac_try_echo=$ac_try;;
14081 esac
14082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_compile") 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && {
14090 test -z "$ac_c_werror_flag" ||
14091 test ! -s conftest.err
14092 } && test -s conftest.$ac_objext; then
14093 ac_hi=$ac_mid; break
14094 else
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 ac_lo=`expr $ac_mid + 1`
14099 if test $ac_lo -le $ac_mid; then
14100 ac_lo= ac_hi=
14101 break
14102 fi
14103 ac_mid=`expr 2 '*' $ac_mid + 1`
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 done
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14111
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 $ac_includes_default
14119 typedef ptrdiff_t ac__type_sizeof_;
14120 int
14121 main ()
14122 {
14123 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
14124 test_array @<:@0@:>@ = 0
14125
14126 ;
14127 return 0;
14128 }
14129 _ACEOF
14130 rm -f conftest.$ac_objext
14131 if { (ac_try="$ac_compile"
14132 case "(($ac_try" in
14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14134 *) ac_try_echo=$ac_try;;
14135 esac
14136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14137 (eval "$ac_compile") 2>conftest.er1
14138 ac_status=$?
14139 grep -v '^ *+' conftest.er1 >conftest.err
14140 rm -f conftest.er1
14141 cat conftest.err >&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } && {
14144 test -z "$ac_c_werror_flag" ||
14145 test ! -s conftest.err
14146 } && test -s conftest.$ac_objext; then
14147 ac_hi=-1 ac_mid=-1
14148 while :; do
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14156 typedef ptrdiff_t ac__type_sizeof_;
14157 int
14158 main ()
14159 {
14160 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
14161 test_array @<:@0@:>@ = 0
14162
14163 ;
14164 return 0;
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (ac_try="$ac_compile"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14172 esac
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_compile") 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } && {
14181 test -z "$ac_c_werror_flag" ||
14182 test ! -s conftest.err
14183 } && test -s conftest.$ac_objext; then
14184 ac_lo=$ac_mid; break
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_hi=`expr '(' $ac_mid ')' - 1`
14190 if test $ac_mid -le $ac_hi; then
14191 ac_lo= ac_hi=
14192 break
14193 fi
14194 ac_mid=`expr 2 '*' $ac_mid`
14195 fi
14196
14197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14198 done
14199 else
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14202
14203 ac_lo= ac_hi=
14204 fi
14205
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 fi
14208
14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 # Binary search between lo and hi bounds.
14211 while test "x$ac_lo" != "x$ac_hi"; do
14212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14213 cat >conftest.$ac_ext <<_ACEOF
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 typedef ptrdiff_t ac__type_sizeof_;
14221 int
14222 main ()
14223 {
14224 static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
14225 test_array @<:@0@:>@ = 0
14226
14227 ;
14228 return 0;
14229 }
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (ac_try="$ac_compile"
14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14236 esac
14237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14238 (eval "$ac_compile") 2>conftest.er1
14239 ac_status=$?
14240 grep -v '^ *+' conftest.er1 >conftest.err
14241 rm -f conftest.er1
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest.$ac_objext; then
14248 ac_hi=$ac_mid
14249 else
14250 echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.$ac_ext >&5
14252
14253 ac_lo=`expr '(' $ac_mid ')' + 1`
14254 fi
14255
14256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257 done
14258 case $ac_lo in
14259 ?*) ac_cv_sizeof_ptrdiff_t=$ac_lo;;
14260 '') if test "$ac_cv_type_ptrdiff_t" = yes; then
14261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14262 See \`config.log' for more details." >&5
14263 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14264 See \`config.log' for more details." >&2;}
14265 { (exit 77); exit 77; }; }
14266 else
14267 ac_cv_sizeof_ptrdiff_t=0
14268 fi ;;
14269 esac
14270 else
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_includes_default
14278 typedef ptrdiff_t ac__type_sizeof_;
14279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14281 @%:@include <stdio.h>
14282 @%:@include <stdlib.h>
14283 int
14284 main ()
14285 {
14286
14287 FILE *f = fopen ("conftest.val", "w");
14288 if (! f)
14289 return 1;
14290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14291 {
14292 long int i = longval ();
14293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14294 return 1;
14295 fprintf (f, "%ld\n", i);
14296 }
14297 else
14298 {
14299 unsigned long int i = ulongval ();
14300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14301 return 1;
14302 fprintf (f, "%lu\n", i);
14303 }
14304 return ferror (f) || fclose (f) != 0;
14305
14306 ;
14307 return 0;
14308 }
14309 _ACEOF
14310 rm -f conftest$ac_exeext
14311 if { (ac_try="$ac_link"
14312 case "(($ac_try" in
14313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14314 *) ac_try_echo=$ac_try;;
14315 esac
14316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14317 (eval "$ac_link") 2>&5
14318 ac_status=$?
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14321 { (case "(($ac_try" in
14322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323 *) ac_try_echo=$ac_try;;
14324 esac
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_try") 2>&5
14327 ac_status=$?
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; }; then
14330 ac_cv_sizeof_ptrdiff_t=`cat conftest.val`
14331 else
14332 echo "$as_me: program exited with status $ac_status" >&5
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336 ( exit $ac_status )
14337 if test "$ac_cv_type_ptrdiff_t" = yes; then
14338 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14339 See \`config.log' for more details." >&5
14340 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14341 See \`config.log' for more details." >&2;}
14342 { (exit 77); exit 77; }; }
769014343 else
769114344 ac_cv_sizeof_ptrdiff_t=0
769214345 fi
769314346 fi
7694
7695 fi
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
7697 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
14347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14348 fi
14349 rm -f conftest.val
14350 fi
14351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_ptrdiff_t" >&5
14352 echo "${ECHO_T}$ac_cv_sizeof_ptrdiff_t" >&6; }
769814353
769914354
770014355
770314358 _ACEOF
770414359
770514360
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7708 if ${ac_cv_c_const+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14362 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
14363 if test "${ac_cv_c_const+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 else
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
771214371 /* end confdefs.h. */
771314372
771414373 int
776814427 return 0;
776914428 }
777014429 _ACEOF
7771 if ac_fn_c_try_compile "$LINENO"; then :
14430 rm -f conftest.$ac_objext
14431 if { (ac_try="$ac_compile"
14432 case "(($ac_try" in
14433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14434 *) ac_try_echo=$ac_try;;
14435 esac
14436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14437 (eval "$ac_compile") 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } && {
14444 test -z "$ac_c_werror_flag" ||
14445 test ! -s conftest.err
14446 } && test -s conftest.$ac_objext; then
777214447 ac_cv_c_const=yes
777314448 else
7774 ac_cv_c_const=no
7775 fi
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14451
14452 ac_cv_c_const=no
14453 fi
14454
777614455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
777714456 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
778014459 if test $ac_cv_c_const = no; then
778114460
7782 $as_echo "@%:@define const /**/" >>confdefs.h
7783
7784 fi
14461 cat >>confdefs.h <<\_ACEOF
14462 @%:@define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
778514470
778614471 for ac_func in memcmp memcpy memmove memset
7787 do :
7788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14472 do
14473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h. */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14487 #define $ac_func innocuous_$ac_func
14488
14489 /* System header to define __stub macros and hopefully few prototypes,
14490 which can conflict with char $ac_func (); below.
14491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14492 <limits.h> exists even on freestanding compilers. */
14493
14494 #ifdef __STDC__
14495 # include <limits.h>
14496 #else
14497 # include <assert.h>
14498 #endif
14499
14500 #undef $ac_func
14501
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 #ifdef __cplusplus
14506 extern "C"
14507 #endif
14508 char $ac_func ();
14509 /* The GNU C library defines this for functions which it implements
14510 to always fail with ENOSYS. Some functions are actually named
14511 something starting with __ and the normal name is an alias. */
14512 #if defined __stub_$ac_func || defined __stub___$ac_func
14513 choke me
14514 #endif
14515
14516 int
14517 main ()
14518 {
14519 return $ac_func ();
14520 ;
14521 return 0;
14522 }
14523 _ACEOF
14524 rm -f conftest.$ac_objext conftest$ac_exeext
14525 if { (ac_try="$ac_link"
14526 case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_link") 2>conftest.er1
14532 ac_status=$?
14533 grep -v '^ *+' conftest.er1 >conftest.err
14534 rm -f conftest.er1
14535 cat conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } && {
14538 test -z "$ac_c_werror_flag" ||
14539 test ! -s conftest.err
14540 } && test -s conftest$ac_exeext &&
14541 $as_test_x conftest$ac_exeext; then
14542 eval "$as_ac_var=yes"
14543 else
14544 echo "$as_me: failed program was:" >&5
14545 sed 's/^/| /' conftest.$ac_ext >&5
14546
14547 eval "$as_ac_var=no"
14548 fi
14549
14550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14551 conftest$ac_exeext conftest.$ac_ext
14552 fi
14553 ac_res=`eval echo '${'$as_ac_var'}'`
14554 { echo "$as_me:$LINENO: result: $ac_res" >&5
14555 echo "${ECHO_T}$ac_res" >&6; }
14556 if test `eval echo '${'$as_ac_var'}'` = yes; then
779114557 cat >>confdefs.h <<_ACEOF
7792 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14558 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
779314559 _ACEOF
779414560
779514561 fi
779614562 done
779714563
779814564
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union semun" >&5
7800 $as_echo_n "checking for union semun... " >&6; }
7801 if ${ac_cv_struct_semun+:} false; then :
7802 $as_echo_n "(cached) " >&6
14565 { echo "$as_me:$LINENO: checking for union semun" >&5
14566 echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
14567 if test "${ac_cv_struct_semun+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
780314569 else
780414570
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
780614576 /* end confdefs.h. */
780714577
780814578 #include <sys/types.h>
781914589 return 0;
782014590 }
782114591 _ACEOF
7822 if ac_fn_c_try_compile "$LINENO"; then :
14592 rm -f conftest.$ac_objext
14593 if { (ac_try="$ac_compile"
14594 case "(($ac_try" in
14595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14596 *) ac_try_echo=$ac_try;;
14597 esac
14598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14599 (eval "$ac_compile") 2>conftest.er1
14600 ac_status=$?
14601 grep -v '^ *+' conftest.er1 >conftest.err
14602 rm -f conftest.er1
14603 cat conftest.err >&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } && {
14606 test -z "$ac_c_werror_flag" ||
14607 test ! -s conftest.err
14608 } && test -s conftest.$ac_objext; then
782314609 ac_cv_struct_semun=yes
782414610 else
7825 ac_cv_struct_semun=no
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_struct_semun=no
782614615
782714616 fi
14617
782814618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
782914619
783014620
783114621 fi
783214622
783314623
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
783614626 if test "$ac_cv_struct_semun" = "yes"; then
783714627
7838 $as_echo "@%:@define HAVE_SEMUN 1" >>confdefs.h
7839
7840 fi
7841
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the %z format string in printf()" >&5
7843 $as_echo_n "checking for the %z format string in printf()... " >&6; }
7844 if test "$cross_compiling" = yes; then :
14628 cat >>confdefs.h <<\_ACEOF
14629 @%:@define HAVE_SEMUN 1
14630 _ACEOF
14631
14632 fi
14633
14634 { echo "$as_me:$LINENO: checking for the %z format string in printf()" >&5
14635 echo $ECHO_N "checking for the %z format string in printf()... $ECHO_C" >&6; }
14636 if test "$cross_compiling" = yes; then
784514637
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7848
7849
7850 else
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 { echo "$as_me:$LINENO: result: no" >&5
14639 echo "${ECHO_T}no" >&6; }
14640
14641
14642 else
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
785214648 /* end confdefs.h. */
785314649
785414650 #include <stdio.h>
786614662 }
786714663
786814664 _ACEOF
7869 if ac_fn_c_try_run "$LINENO"; then :
14665 rm -f conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14669 *) ac_try_echo=$ac_try;;
14670 esac
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14676 { (case "(($ac_try" in
14677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14678 *) ac_try_echo=$ac_try;;
14679 esac
14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14681 (eval "$ac_try") 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
787014685
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7872 $as_echo "yes" >&6; }
14686 { echo "$as_me:$LINENO: result: yes" >&5
14687 echo "${ECHO_T}yes" >&6; }
787314688
7874 $as_echo "@%:@define HAVE_SIZE_T_Z_FORMAT 1" >>confdefs.h
7875
7876
7877 else
7878
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881
7882 fi
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7885 fi
14689 cat >>confdefs.h <<\_ACEOF
14690 @%:@define HAVE_SIZE_T_Z_FORMAT 1
14691 _ACEOF
14692
14693
14694 else
14695 echo "$as_me: program exited with status $ac_status" >&5
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699 ( exit $ac_status )
14700
14701 { echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6; }
14703
14704 fi
14705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14706 fi
14707
788614708
788714709
788814710 #AC_CONFIG_FILES([Makefile])
791514737 case $ac_val in #(
791614738 *${as_nl}*)
791714739 case $ac_var in #(
7918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14740 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14741 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
792014742 esac
792114743 case $ac_var in #(
792214744 _ | IFS | as_nl) ;; #(
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
14745 *) $as_unset $ac_var ;;
792514746 esac ;;
792614747 esac
792714748 done
792914750 (set) 2>&1 |
793014751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
793114752 *${as_nl}ac_space=\ *)
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
793414755 sed -n \
793514756 "s/'/'\\\\''/g;
793614757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
795214773 :end' >>confcache
795314774 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
795414775 if test -w "$cache_file"; then
7955 if test "x$cache_file" != "x/dev/null"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7957 $as_echo "$as_me: updating cache $cache_file" >&6;}
7958 if test ! -f "$cache_file" || test -h "$cache_file"; then
7959 cat confcache >"$cache_file"
7960 else
7961 case $cache_file in #(
7962 */* | ?:*)
7963 mv -f confcache "$cache_file"$$ &&
7964 mv -f "$cache_file"$$ "$cache_file" ;; #(
7965 *)
7966 mv -f confcache "$cache_file" ;;
7967 esac
7968 fi
7969 fi
14776 test "x$cache_file" != "x/dev/null" &&
14777 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14778 echo "$as_me: updating cache $cache_file" >&6;}
14779 cat confcache >$cache_file
797014780 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7972 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
797314783 fi
797414784 fi
797514785 rm -f confcache
798214792
798314793 ac_libobjs=
798414794 ac_ltlibobjs=
7985 U=
798614795 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
798714796 # 1. Remove the extension, and $U if already installed.
798814797 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
799014799 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
799114800 # will be set to the directory where LIBOBJS objects are built.
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
799414803 done
799514804 LIB@&t@OBJS=$ac_libobjs
799614805
799714806 LTLIBOBJS=$ac_ltlibobjs
799814807
799914808
8000 if test -n "$EXEEXT"; then
8001 am__EXEEXT_TRUE=
8002 am__EXEEXT_FALSE='#'
8003 else
8004 am__EXEEXT_TRUE='#'
8005 am__EXEEXT_FALSE=
8006 fi
8007
800814809 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14811 Usually this means the macro was only invoked conditionally." >&5
14812 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14813 Usually this means the macro was only invoked conditionally." >&2;}
14814 { (exit 1); exit 1; }; }
801114815 fi
801214816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14817 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14818 Usually this means the macro was only invoked conditionally." >&5
14819 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14820 Usually this means the macro was only invoked conditionally." >&2;}
14821 { (exit 1); exit 1; }; }
801514822 fi
801614823 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14825 Usually this means the macro was only invoked conditionally." >&5
14826 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14827 Usually this means the macro was only invoked conditionally." >&2;}
14828 { (exit 1); exit 1; }; }
801914829 fi
802014830 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14831 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14832 Usually this means the macro was only invoked conditionally." >&5
14833 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14834 Usually this means the macro was only invoked conditionally." >&2;}
14835 { (exit 1); exit 1; }; }
802314836 fi
802414837 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14839 Usually this means the macro was only invoked conditionally." >&5
14840 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14841 Usually this means the macro was only invoked conditionally." >&2;}
14842 { (exit 1); exit 1; }; }
802714843 fi
802814844 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14845 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14846 Usually this means the macro was only invoked conditionally." >&5
14847 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14848 Usually this means the macro was only invoked conditionally." >&2;}
14849 { (exit 1); exit 1; }; }
803114850 fi
803214851 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14852 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14853 Usually this means the macro was only invoked conditionally." >&5
14854 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14855 Usually this means the macro was only invoked conditionally." >&2;}
14856 { (exit 1); exit 1; }; }
803514857 fi
803614858 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14860 Usually this means the macro was only invoked conditionally." >&5
14861 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14862 Usually this means the macro was only invoked conditionally." >&2;}
14863 { (exit 1); exit 1; }; }
803914864 fi
804014865 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14866 { { echo "$as_me:$LINENO: error: conditional \"SFLOW\" was never defined.
14867 Usually this means the macro was only invoked conditionally." >&5
14868 echo "$as_me: error: conditional \"SFLOW\" was never defined.
14869 Usually this means the macro was only invoked conditionally." >&2;}
14870 { (exit 1); exit 1; }; }
804314871 fi
804414872 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
8045 as_fn_error $? "conditional \"READPCAP\" was never defined.
8046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8047 fi
8048
8049
8050 : "${CONFIG_STATUS=./config.status}"
8051 ac_write_fail=0
14873 { { echo "$as_me:$LINENO: error: conditional \"READPCAP\" was never defined.
14874 Usually this means the macro was only invoked conditionally." >&5
14875 echo "$as_me: error: conditional \"READPCAP\" was never defined.
14876 Usually this means the macro was only invoked conditionally." >&2;}
14877 { (exit 1); exit 1; }; }
14878 fi
14879
14880 : ${CONFIG_STATUS=./config.status}
805214881 ac_clean_files_save=$ac_clean_files
805314882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8055 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8056 as_write_fail=0
8057 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
805814886 #! $SHELL
805914887 # Generated by $as_me.
806014888 # Run this file to recreate the current configuration.
806414892 debug=false
806514893 ac_cs_recheck=false
806614894 ac_cs_silent=false
8067
806814895 SHELL=\${CONFIG_SHELL-$SHELL}
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
807514902
807614903 # Be more Bourne compatible
807714904 DUALCASE=1; export DUALCASE # for MKS sh
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
807914906 emulate sh
808014907 NULLCMD=:
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
808214909 # is contrary to our usage. Disable this feature.
808314910 alias -g '${1+"$@"}'='"$@"'
808414911 setopt NO_GLOB_SUBST
808514912 else
8086 case `(set -o) 2>/dev/null` in @%:@(
8087 *posix*) :
8088 set -o posix ;; @%:@(
8089 *) :
8090 ;;
8091 esac
8092 fi
8093
8094
8095 as_nl='
8096 '
8097 export as_nl
8098 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8099 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8102 # Prefer a ksh shell builtin over an external printf program on Solaris,
8103 # but without wasting forks for bash or zsh.
8104 if test -z "$BASH_VERSION$ZSH_VERSION" \
8105 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8106 as_echo='print -r --'
8107 as_echo_n='print -rn --'
8108 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8109 as_echo='printf %s\n'
8110 as_echo_n='printf %s'
8111 else
8112 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8113 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8114 as_echo_n='/usr/ucb/echo -n'
8115 else
8116 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8117 as_echo_n_body='eval
8118 arg=$1;
8119 case $arg in @%:@(
8120 *"$as_nl"*)
8121 expr "X$arg" : "X\\(.*\\)$as_nl";
8122 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8123 esac;
8124 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8125 '
8126 export as_echo_n_body
8127 as_echo_n='sh -c $as_echo_n_body as_echo'
8128 fi
8129 export as_echo_body
8130 as_echo='sh -c $as_echo_body as_echo'
8131 fi
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
14915 esac
14916
14917 fi
14918
14919
14920
14921
14922 # PATH needs CR
14923 # Avoid depending upon Character Ranges.
14924 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14925 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14926 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14927 as_cr_digits='0123456789'
14928 as_cr_alnum=$as_cr_Letters$as_cr_digits
813214929
813314930 # The user is always right.
813414931 if test "${PATH_SEPARATOR+set}" != set; then
8135 PATH_SEPARATOR=:
8136 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8137 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8138 PATH_SEPARATOR=';'
8139 }
14932 echo "#! /bin/sh" >conf$$.sh
14933 echo "exit 0" >>conf$$.sh
14934 chmod +x conf$$.sh
14935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14936 PATH_SEPARATOR=';'
14937 else
14938 PATH_SEPARATOR=:
14939 fi
14940 rm -f conf$$.sh
14941 fi
14942
14943 # Support unset when possible.
14944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14945 as_unset=unset
14946 else
14947 as_unset=false
814014948 fi
814114949
814214950
814514953 # there to prevent editors from complaining about space-tab.
814614954 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
814714955 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
814814958 IFS=" "" $as_nl"
814914959
815014960 # Find who we are. Look in the path if we contain no directory separator.
8151 as_myself=
8152 case $0 in @%:@((
14961 case $0 in
815314962 *[\\/]* ) as_myself=$0 ;;
815414963 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
815514964 for as_dir in $PATH
815614965 do
815714966 IFS=$as_save_IFS
815814967 test -z "$as_dir" && as_dir=.
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
816114970 IFS=$as_save_IFS
816214971
816314972 ;;
816814977 as_myself=$0
816914978 fi
817014979 if test ! -f "$as_myself"; then
8171 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8172 exit 1
8173 fi
8174
8175 # Unset variables that we do not need and which cause bugs (e.g. in
8176 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8177 # suppresses any "Segmentation fault" message there. '((' could
8178 # trigger a bug in pdksh 5.2.14.
8179 for as_var in BASH_ENV ENV MAIL MAILPATH
8180 do eval test x\${$as_var+set} = xset \
8181 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14980 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14981 { (exit 1); exit 1; }
14982 fi
14983
14984 # Work around bugs in pre-3.0 UWIN ksh.
14985 for as_var in ENV MAIL MAILPATH
14986 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
818214987 done
818314988 PS1='$ '
818414989 PS2='> '
818514990 PS4='+ '
818614991
818714992 # NLS nuisances.
8188 LC_ALL=C
8189 export LC_ALL
8190 LANGUAGE=C
8191 export LANGUAGE
8192
8193 # CDPATH.
8194 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8195
8196
8197 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
8198 @%:@ ----------------------------------------
8199 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8200 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8201 @%:@ script with STATUS, using 1 if that was 0.
8202 as_fn_error ()
8203 {
8204 as_status=$1; test $as_status -eq 0 && as_status=1
8205 if test "$4"; then
8206 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8207 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14993 for as_var in \
14994 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14995 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14996 LC_TELEPHONE LC_TIME
14997 do
14998 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14999 eval $as_var=C; export $as_var
15000 else
15001 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
820815002 fi
8209 $as_echo "$as_me: error: $2" >&2
8210 as_fn_exit $as_status
8211 } @%:@ as_fn_error
8212
8213
8214 @%:@ as_fn_set_status STATUS
8215 @%:@ -----------------------
8216 @%:@ Set @S|@? to STATUS, without forking.
8217 as_fn_set_status ()
8218 {
8219 return $1
8220 } @%:@ as_fn_set_status
8221
8222 @%:@ as_fn_exit STATUS
8223 @%:@ -----------------
8224 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8225 as_fn_exit ()
8226 {
8227 set +e
8228 as_fn_set_status $1
8229 exit $1
8230 } @%:@ as_fn_exit
8231
8232 @%:@ as_fn_unset VAR
8233 @%:@ ---------------
8234 @%:@ Portably unset VAR.
8235 as_fn_unset ()
8236 {
8237 { eval $1=; unset $1;}
8238 }
8239 as_unset=as_fn_unset
8240 @%:@ as_fn_append VAR VALUE
8241 @%:@ ----------------------
8242 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
8243 @%:@ advantage of any shell optimizations that allow amortized linear growth over
8244 @%:@ repeated appends, instead of the typical quadratic growth present in naive
8245 @%:@ implementations.
8246 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8247 eval 'as_fn_append ()
8248 {
8249 eval $1+=\$2
8250 }'
8251 else
8252 as_fn_append ()
8253 {
8254 eval $1=\$$1\$2
8255 }
8256 fi # as_fn_append
8257
8258 @%:@ as_fn_arith ARG...
8259 @%:@ ------------------
8260 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
8261 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
8262 @%:@ must be portable across @S|@(()) and expr.
8263 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8264 eval 'as_fn_arith ()
8265 {
8266 as_val=$(( $* ))
8267 }'
8268 else
8269 as_fn_arith ()
8270 {
8271 as_val=`expr "$@" || test $? -eq 1`
8272 }
8273 fi # as_fn_arith
8274
8275
15003 done
15004
15005 # Required to use basename.
827615006 if expr a : '\(a\)' >/dev/null 2>&1 &&
827715007 test "X`expr 00001 : '.*\(...\)'`" = X001; then
827815008 as_expr=expr
828615016 as_basename=false
828715017 fi
828815018
8289 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8290 as_dirname=dirname
8291 else
8292 as_dirname=false
8293 fi
8294
15019
15020 # Name of the executable.
829515021 as_me=`$as_basename -- "$0" ||
829615022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
829715023 X"$0" : 'X\(//\)$' \| \
829815024 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8299 $as_echo X/"$0" |
15025 echo X/"$0" |
830015026 sed '/^.*\/\([^/][^/]*\)\/*$/{
830115027 s//\1/
830215028 q
831115037 }
831215038 s/.*/./; q'`
831315039
8314 # Avoid depending upon Character Ranges.
8315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8318 as_cr_digits='0123456789'
8319 as_cr_alnum=$as_cr_Letters$as_cr_digits
15040 # CDPATH.
15041 $as_unset CDPATH
15042
15043
15044
15045 as_lineno_1=$LINENO
15046 as_lineno_2=$LINENO
15047 test "x$as_lineno_1" != "x$as_lineno_2" &&
15048 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15049
15050 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15051 # uniformly replaced by the line number. The first 'sed' inserts a
15052 # line-number line after each line using $LINENO; the second 'sed'
15053 # does the real work. The second script uses 'N' to pair each
15054 # line-number line with the line containing $LINENO, and appends
15055 # trailing '-' during substitution so that $LINENO is not a special
15056 # case at line end.
15057 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15058 # scripts with optimization help from Paolo Bonzini. Blame Lee
15059 # E. McMahon (1931-1989) for sed's syntax. :-)
15060 sed -n '
15061 p
15062 /[$]LINENO/=
15063 ' <$as_myself |
15064 sed '
15065 s/[$]LINENO.*/&-/
15066 t lineno
15067 b
15068 :lineno
15069 N
15070 :loop
15071 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15072 t loop
15073 s/-\n.*//
15074 ' >$as_me.lineno &&
15075 chmod +x "$as_me.lineno" ||
15076 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15077 { (exit 1); exit 1; }; }
15078
15079 # Don't try to exec as it changes $[0], causing all sort of problems
15080 # (the dirname of $[0] is not the place where we might find the
15081 # original and so on. Autoconf is especially sensitive to this).
15082 . "./$as_me.lineno"
15083 # Exit status is that of the last command.
15084 exit
15085 }
15086
15087
15088 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15089 as_dirname=dirname
15090 else
15091 as_dirname=false
15092 fi
832015093
832115094 ECHO_C= ECHO_N= ECHO_T=
8322 case `echo -n x` in @%:@(((((
15095 case `echo -n x` in
832315096 -n*)
8324 case `echo 'xy\c'` in
15097 case `echo 'x\c'` in
832515098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
15099 *) ECHO_C='\c';;
832915100 esac;;
833015101 *)
833115102 ECHO_N='-n';;
833215103 esac
833315104
15105 if expr a : '\(a\)' >/dev/null 2>&1 &&
15106 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15107 as_expr=expr
15108 else
15109 as_expr=false
15110 fi
15111
833415112 rm -f conf$$ conf$$.exe conf$$.file
833515113 if test -d conf$$.dir; then
833615114 rm -f conf$$.dir/conf$$.file
833715115 else
833815116 rm -f conf$$.dir
8339 mkdir conf$$.dir 2>/dev/null
8340 fi
8341 if (echo >conf$$.file) 2>/dev/null; then
8342 if ln -s conf$$.file conf$$ 2>/dev/null; then
8343 as_ln_s='ln -s'
8344 # ... but there are two gotchas:
8345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8347 # In both cases, we have to default to `cp -p'.
8348 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8349 as_ln_s='cp -p'
8350 elif ln conf$$.file conf$$ 2>/dev/null; then
8351 as_ln_s=ln
8352 else
15117 mkdir conf$$.dir
15118 fi
15119 echo >conf$$.file
15120 if ln -s conf$$.file conf$$ 2>/dev/null; then
15121 as_ln_s='ln -s'
15122 # ... but there are two gotchas:
15123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15125 # In both cases, we have to default to `cp -p'.
15126 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
835315127 as_ln_s='cp -p'
8354 fi
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
835515130 else
835615131 as_ln_s='cp -p'
835715132 fi
835815133 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
835915134 rmdir conf$$.dir 2>/dev/null
836015135
8361
8362 @%:@ as_fn_mkdir_p
8363 @%:@ -------------
8364 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
15136 if mkdir -p . 2>/dev/null; then
15137 as_mkdir_p=:
15138 else
15139 test -d ./-p && rmdir ./-p
15140 as_mkdir_p=false
15141 fi
15142
15143 if test -x / >/dev/null 2>&1; then
15144 as_test_x='test -x'
15145 else
15146 if ls -dL / >/dev/null 2>&1; then
15147 as_ls_L_option=L
15148 else
15149 as_ls_L_option=
15150 fi
15151 as_test_x='
15152 eval sh -c '\''
15153 if test -d "$1"; then
15154 test -d "$1/.";
15155 else
15156 case $1 in
15157 -*)set "./$1";;
15158 esac;
15159 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15160 ???[sx]*):;;*)false;;esac;fi
15161 '\'' sh
15162 '
15163 fi
15164 as_executable_p=$as_test_x
15165
15166 # Sed expression to map a string onto a valid CPP name.
15167 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15168
15169 # Sed expression to map a string onto a valid variable name.
15170 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15171
15172
15173 exec 6>&1
15174
15175 # Save the log message, to keep $[0] and so on meaningful, and to
15176 # report actual input values of CONFIG_FILES etc. instead of their
15177 # values after options handling.
15178 ac_log="
15179 This file was extended by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
15180 generated by GNU Autoconf 2.61. Invocation command line was
15181
15182 CONFIG_FILES = $CONFIG_FILES
15183 CONFIG_HEADERS = $CONFIG_HEADERS
15184 CONFIG_LINKS = $CONFIG_LINKS
15185 CONFIG_COMMANDS = $CONFIG_COMMANDS
15186 $ $0 $@
15187
15188 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15189 "
15190
15191 _ACEOF
15192
15193 cat >>$CONFIG_STATUS <<_ACEOF
15194 # Files that config.status was made for.
15195 config_files="$ac_config_files"
15196 config_headers="$ac_config_headers"
15197 config_commands="$ac_config_commands"
15198
15199 _ACEOF
15200
15201 cat >>$CONFIG_STATUS <<\_ACEOF
15202 ac_cs_usage="\
15203 \`$as_me' instantiates files from templates according to the
15204 current configuration.
15205
15206 Usage: $0 [OPTIONS] [FILE]...
15207
15208 -h, --help print this help, then exit
15209 -V, --version print version number and configuration settings, then exit
15210 -q, --quiet do not print progress messages
15211 -d, --debug don't remove temporary files
15212 --recheck update $as_me by reconfiguring in the same conditions
15213 --file=FILE[:TEMPLATE]
15214 instantiate the configuration file FILE
15215 --header=FILE[:TEMPLATE]
15216 instantiate the configuration header FILE
15217
15218 Configuration files:
15219 $config_files
15220
15221 Configuration headers:
15222 $config_headers
15223
15224 Configuration commands:
15225 $config_commands
15226
15227 Report bugs to <bug-autoconf@gnu.org>."
15228
15229 _ACEOF
15230 cat >>$CONFIG_STATUS <<_ACEOF
15231 ac_cs_version="\\
15232 nfdump config.status 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
15233 configured by $0, generated by GNU Autoconf 2.61,
15234 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15235
15236 Copyright (C) 2006 Free Software Foundation, Inc.
15237 This config.status script is free software; the Free Software Foundation
15238 gives unlimited permission to copy, distribute and modify it."
15239
15240 ac_pwd='$ac_pwd'
15241 srcdir='$srcdir'
15242 INSTALL='$INSTALL'
15243 MKDIR_P='$MKDIR_P'
15244 _ACEOF
15245
15246 cat >>$CONFIG_STATUS <<\_ACEOF
15247 # If no file are specified by the user, then we need to provide default
15248 # value. By we need to know if files were specified by the user.
15249 ac_need_defaults=:
15250 while test $# != 0
15251 do
15252 case $1 in
15253 --*=*)
15254 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15256 ac_shift=:
15257 ;;
15258 *)
15259 ac_option=$1
15260 ac_optarg=$2
15261 ac_shift=shift
15262 ;;
15263 esac
15264
15265 case $ac_option in
15266 # Handling of the options.
15267 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15268 ac_cs_recheck=: ;;
15269 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15270 echo "$ac_cs_version"; exit ;;
15271 --debug | --debu | --deb | --de | --d | -d )
15272 debug=: ;;
15273 --file | --fil | --fi | --f )
15274 $ac_shift
15275 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15276 ac_need_defaults=false;;
15277 --header | --heade | --head | --hea )
15278 $ac_shift
15279 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15280 ac_need_defaults=false;;
15281 --he | --h)
15282 # Conflict between --help and --header
15283 { echo "$as_me: error: ambiguous option: $1
15284 Try \`$0 --help' for more information." >&2
15285 { (exit 1); exit 1; }; };;
15286 --help | --hel | -h )
15287 echo "$ac_cs_usage"; exit ;;
15288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15289 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15290 ac_cs_silent=: ;;
15291
15292 # This is an error.
15293 -*) { echo "$as_me: error: unrecognized option: $1
15294 Try \`$0 --help' for more information." >&2
15295 { (exit 1); exit 1; }; } ;;
15296
15297 *) ac_config_targets="$ac_config_targets $1"
15298 ac_need_defaults=false ;;
15299
15300 esac
15301 shift
15302 done
15303
15304 ac_configure_extra_args=
15305
15306 if $ac_cs_silent; then
15307 exec 6>/dev/null
15308 ac_configure_extra_args="$ac_configure_extra_args --silent"
15309 fi
15310
15311 _ACEOF
15312 cat >>$CONFIG_STATUS <<_ACEOF
15313 if \$ac_cs_recheck; then
15314 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15315 CONFIG_SHELL=$SHELL
15316 export CONFIG_SHELL
15317 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15318 fi
15319
15320 _ACEOF
15321 cat >>$CONFIG_STATUS <<\_ACEOF
15322 exec 5>>config.log
836615323 {
8367
15324 echo
15325 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15326 @%:@@%:@ Running $as_me. @%:@@%:@
15327 _ASBOX
15328 echo "$ac_log"
15329 } >&5
15330
15331 _ACEOF
15332 cat >>$CONFIG_STATUS <<_ACEOF
15333 #
15334 # INIT-COMMANDS
15335 #
15336 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15337
15338 _ACEOF
15339
15340 cat >>$CONFIG_STATUS <<\_ACEOF
15341
15342 # Handling of arguments.
15343 for ac_config_target in $ac_config_targets
15344 do
15345 case $ac_config_target in
15346 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15347 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15348 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15349 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15350 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15351
15352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15354 { (exit 1); exit 1; }; };;
15355 esac
15356 done
15357
15358
15359 # If the user did not use the arguments to specify the items to instantiate,
15360 # then the envvar interface is used. Set only those that are not.
15361 # We use the long form for the default assignment because of an extremely
15362 # bizarre bug on SunOS 4.1.3.
15363 if $ac_need_defaults; then
15364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15367 fi
15368
15369 # Have a temporary directory for convenience. Make it in the build tree
15370 # simply because there is no reason against having it here, and in addition,
15371 # creating and moving files from /tmp can sometimes cause problems.
15372 # Hook for its removal unless debugging.
15373 # Note that there is a small window in which the directory will not be cleaned:
15374 # after its creation but before its name has been assigned to `$tmp'.
15375 $debug ||
15376 {
15377 tmp=
15378 trap 'exit_status=$?
15379 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15380 ' 0
15381 trap '{ (exit 1); exit 1; }' 1 2 13 15
15382 }
15383 # Create a (secure) tmp directory for tmp files.
15384
15385 {
15386 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15387 test -n "$tmp" && test -d "$tmp"
15388 } ||
15389 {
15390 tmp=./conf$$-$RANDOM
15391 (umask 077 && mkdir "$tmp")
15392 } ||
15393 {
15394 echo "$me: cannot create a temporary directory in ." >&2
15395 { (exit 1); exit 1; }
15396 }
15397
15398 #
15399 # Set up the sed scripts for CONFIG_FILES section.
15400 #
15401
15402 # No need to generate the scripts if there are no CONFIG_FILES.
15403 # This happens for instance when ./config.status config.h
15404 if test -n "$CONFIG_FILES"; then
15405
15406 _ACEOF
15407
15408
15409
15410 ac_delim='%!_!# '
15411 for ac_last_try in false false false false false :; do
15412 cat >conf$$subs.sed <<_ACEOF
15413 SHELL!$SHELL$ac_delim
15414 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15415 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15416 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15417 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15418 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15419 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15420 exec_prefix!$exec_prefix$ac_delim
15421 prefix!$prefix$ac_delim
15422 program_transform_name!$program_transform_name$ac_delim
15423 bindir!$bindir$ac_delim
15424 sbindir!$sbindir$ac_delim
15425 libexecdir!$libexecdir$ac_delim
15426 datarootdir!$datarootdir$ac_delim
15427 datadir!$datadir$ac_delim
15428 sysconfdir!$sysconfdir$ac_delim
15429 sharedstatedir!$sharedstatedir$ac_delim
15430 localstatedir!$localstatedir$ac_delim
15431 includedir!$includedir$ac_delim
15432 oldincludedir!$oldincludedir$ac_delim
15433 docdir!$docdir$ac_delim
15434 infodir!$infodir$ac_delim
15435 htmldir!$htmldir$ac_delim
15436 dvidir!$dvidir$ac_delim
15437 pdfdir!$pdfdir$ac_delim
15438 psdir!$psdir$ac_delim
15439 libdir!$libdir$ac_delim
15440 localedir!$localedir$ac_delim
15441 mandir!$mandir$ac_delim
15442 DEFS!$DEFS$ac_delim
15443 ECHO_C!$ECHO_C$ac_delim
15444 ECHO_N!$ECHO_N$ac_delim
15445 ECHO_T!$ECHO_T$ac_delim
15446 LIBS!$LIBS$ac_delim
15447 build_alias!$build_alias$ac_delim
15448 host_alias!$host_alias$ac_delim
15449 target_alias!$target_alias$ac_delim
15450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15452 INSTALL_DATA!$INSTALL_DATA$ac_delim
15453 am__isrc!$am__isrc$ac_delim
15454 CYGPATH_W!$CYGPATH_W$ac_delim
15455 PACKAGE!$PACKAGE$ac_delim
15456 VERSION!$VERSION$ac_delim
15457 ACLOCAL!$ACLOCAL$ac_delim
15458 AUTOCONF!$AUTOCONF$ac_delim
15459 AUTOMAKE!$AUTOMAKE$ac_delim
15460 AUTOHEADER!$AUTOHEADER$ac_delim
15461 MAKEINFO!$MAKEINFO$ac_delim
15462 install_sh!$install_sh$ac_delim
15463 STRIP!$STRIP$ac_delim
15464 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15465 mkdir_p!$mkdir_p$ac_delim
15466 AWK!$AWK$ac_delim
15467 SET_MAKE!$SET_MAKE$ac_delim
15468 am__leading_dot!$am__leading_dot$ac_delim
15469 AMTAR!$AMTAR$ac_delim
15470 am__tar!$am__tar$ac_delim
15471 am__untar!$am__untar$ac_delim
15472 CC!$CC$ac_delim
15473 CFLAGS!$CFLAGS$ac_delim
15474 LDFLAGS!$LDFLAGS$ac_delim
15475 CPPFLAGS!$CPPFLAGS$ac_delim
15476 ac_ct_CC!$ac_ct_CC$ac_delim
15477 EXEEXT!$EXEEXT$ac_delim
15478 OBJEXT!$OBJEXT$ac_delim
15479 DEPDIR!$DEPDIR$ac_delim
15480 am__include!$am__include$ac_delim
15481 am__quote!$am__quote$ac_delim
15482 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15483 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15484 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15485 CCDEPMODE!$CCDEPMODE$ac_delim
15486 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15487 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15488 YACC!$YACC$ac_delim
15489 YFLAGS!$YFLAGS$ac_delim
15490 LEX!$LEX$ac_delim
15491 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
15492 LEXLIB!$LEXLIB$ac_delim
15493 FT2NFDUMP_TRUE!$FT2NFDUMP_TRUE$ac_delim
15494 FT2NFDUMP_FALSE!$FT2NFDUMP_FALSE$ac_delim
15495 NFPROFILE_TRUE!$NFPROFILE_TRUE$ac_delim
15496 NFPROFILE_FALSE!$NFPROFILE_FALSE$ac_delim
15497 RRD_LIBS!$RRD_LIBS$ac_delim
15498 CPP!$CPP$ac_delim
15499 GREP!$GREP$ac_delim
15500 EGREP!$EGREP$ac_delim
15501 NFTRACK_TRUE!$NFTRACK_TRUE$ac_delim
15502 NFTRACK_FALSE!$NFTRACK_FALSE$ac_delim
15503 SFLOW_TRUE!$SFLOW_TRUE$ac_delim
15504 SFLOW_FALSE!$SFLOW_FALSE$ac_delim
15505 READPCAP_TRUE!$READPCAP_TRUE$ac_delim
15506 READPCAP_FALSE!$READPCAP_FALSE$ac_delim
15507 FT_INCLUDES!$FT_INCLUDES$ac_delim
15508 FT_LDFLAGS!$FT_LDFLAGS$ac_delim
15509 LFLAGS!$LFLAGS$ac_delim
15510 _ACEOF
15511
15512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15513 break
15514 elif $ac_last_try; then
15515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15517 { (exit 1); exit 1; }; }
15518 else
15519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15520 fi
15521 done
15522
15523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15524 if test -n "$ac_eof"; then
15525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15526 ac_eof=`expr $ac_eof + 1`
15527 fi
15528
15529 cat >>$CONFIG_STATUS <<_ACEOF
15530 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15532 _ACEOF
15533 sed '
15534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15535 s/^/s,@/; s/!/@,|#_!!_#|/
15536 :n
15537 t n
15538 s/'"$ac_delim"'$/,g/; t
15539 s/$/\\/; p
15540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15541 ' >>$CONFIG_STATUS <conf$$subs.sed
15542 rm -f conf$$subs.sed
15543 cat >>$CONFIG_STATUS <<_ACEOF
15544 CEOF$ac_eof
15545 _ACEOF
15546
15547
15548 ac_delim='%!_!# '
15549 for ac_last_try in false false false false false :; do
15550 cat >conf$$subs.sed <<_ACEOF
15551 FTS_OBJ!$FTS_OBJ$ac_delim
15552 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
15553 LTLIBOBJS!$LTLIBOBJS$ac_delim
15554 _ACEOF
15555
15556 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
15557 break
15558 elif $ac_last_try; then
15559 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15560 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15561 { (exit 1); exit 1; }; }
15562 else
15563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15564 fi
15565 done
15566
15567 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15568 if test -n "$ac_eof"; then
15569 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15570 ac_eof=`expr $ac_eof + 1`
15571 fi
15572
15573 cat >>$CONFIG_STATUS <<_ACEOF
15574 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15576 _ACEOF
15577 sed '
15578 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15579 s/^/s,@/; s/!/@,|#_!!_#|/
15580 :n
15581 t n
15582 s/'"$ac_delim"'$/,g/; t
15583 s/$/\\/; p
15584 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15585 ' >>$CONFIG_STATUS <conf$$subs.sed
15586 rm -f conf$$subs.sed
15587 cat >>$CONFIG_STATUS <<_ACEOF
15588 :end
15589 s/|#_!!_#|//g
15590 CEOF$ac_eof
15591 _ACEOF
15592
15593
15594 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15595 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15596 # trailing colons and then remove the whole line if VPATH becomes empty
15597 # (actually we leave an empty line to preserve line numbers).
15598 if test "x$srcdir" = x.; then
15599 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15600 s/:*\$(srcdir):*/:/
15601 s/:*\${srcdir}:*/:/
15602 s/:*@srcdir@:*/:/
15603 s/^\([^=]*=[ ]*\):*/\1/
15604 s/:*$//
15605 s/^[^=]*=[ ]*$//
15606 }'
15607 fi
15608
15609 cat >>$CONFIG_STATUS <<\_ACEOF
15610 fi # test -n "$CONFIG_FILES"
15611
15612
15613 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
15614 do
15615 case $ac_tag in
15616 :[FHLC]) ac_mode=$ac_tag; continue;;
15617 esac
15618 case $ac_mode$ac_tag in
15619 :[FHL]*:*);;
15620 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15621 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15622 { (exit 1); exit 1; }; };;
15623 :[FH]-) ac_tag=-:-;;
15624 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15625 esac
15626 ac_save_IFS=$IFS
15627 IFS=:
15628 set x $ac_tag
15629 IFS=$ac_save_IFS
15630 shift
15631 ac_file=$1
15632 shift
15633
15634 case $ac_mode in
15635 :L) ac_source=$1;;
15636 :[FH])
15637 ac_file_inputs=
15638 for ac_f
15639 do
15640 case $ac_f in
15641 -) ac_f="$tmp/stdin";;
15642 *) # Look for the file first in the build tree, then in the source tree
15643 # (if the path is not absolute). The absolute path cannot be DOS-style,
15644 # because $ac_f cannot contain `:'.
15645 test -f "$ac_f" ||
15646 case $ac_f in
15647 [\\/$]*) false;;
15648 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15649 esac ||
15650 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15651 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15652 { (exit 1); exit 1; }; };;
15653 esac
15654 ac_file_inputs="$ac_file_inputs $ac_f"
15655 done
15656
15657 # Let's still pretend it is `configure' which instantiates (i.e., don't
15658 # use $as_me), people would be surprised to read:
15659 # /* config.h. Generated by config.status. */
15660 configure_input="Generated from "`IFS=:
15661 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15662 if test x"$ac_file" != x-; then
15663 configure_input="$ac_file. $configure_input"
15664 { echo "$as_me:$LINENO: creating $ac_file" >&5
15665 echo "$as_me: creating $ac_file" >&6;}
15666 fi
15667
15668 case $ac_tag in
15669 *:-:* | *:-) cat >"$tmp/stdin";;
15670 esac
15671 ;;
15672 esac
15673
15674 ac_dir=`$as_dirname -- "$ac_file" ||
15675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676 X"$ac_file" : 'X\(//\)[^/]' \| \
15677 X"$ac_file" : 'X\(//\)$' \| \
15678 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15679 echo X"$ac_file" |
15680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15681 s//\1/
15682 q
15683 }
15684 /^X\(\/\/\)[^/].*/{
15685 s//\1/
15686 q
15687 }
15688 /^X\(\/\/\)$/{
15689 s//\1/
15690 q
15691 }
15692 /^X\(\/\).*/{
15693 s//\1/
15694 q
15695 }
15696 s/.*/./; q'`
15697 { as_dir="$ac_dir"
836815698 case $as_dir in #(
836915699 -*) as_dir=./$as_dir;;
837015700 esac
8371 test -d "$as_dir" || eval $as_mkdir_p || {
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
837215702 as_dirs=
837315703 while :; do
837415704 case $as_dir in #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
837615706 *) as_qdir=$as_dir;;
837715707 esac
837815708 as_dirs="'$as_qdir' $as_dirs"
838115711 X"$as_dir" : 'X\(//\)[^/]' \| \
838215712 X"$as_dir" : 'X\(//\)$' \| \
838315713 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8384 $as_echo X"$as_dir" |
15714 echo X"$as_dir" |
838515715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
838615716 s//\1/
838715717 q
840215732 test -d "$as_dir" && break
840315733 done
840415734 test -z "$as_dirs" || eval "mkdir $as_dirs"
8405 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8406
8407
8408 } @%:@ as_fn_mkdir_p
8409 if mkdir -p . 2>/dev/null; then
8410 as_mkdir_p='mkdir -p "$as_dir"'
8411 else
8412 test -d ./-p && rmdir ./-p
8413 as_mkdir_p=false
8414 fi
8415
8416 if test -x / >/dev/null 2>&1; then
8417 as_test_x='test -x'
8418 else
8419 if ls -dL / >/dev/null 2>&1; then
8420 as_ls_L_option=L
8421 else
8422 as_ls_L_option=
8423 fi
8424 as_test_x='
8425 eval sh -c '\''
8426 if test -d "$1"; then
8427 test -d "$1/.";
8428 else
8429 case $1 in @%:@(
8430 -*)set "./$1";;
8431 esac;
8432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
8433 ???[sx]*):;;*)false;;esac;fi
8434 '\'' sh
8435 '
8436 fi
8437 as_executable_p=$as_test_x
8438
8439 # Sed expression to map a string onto a valid CPP name.
8440 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8441
8442 # Sed expression to map a string onto a valid variable name.
8443 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8444
8445
8446 exec 6>&1
8447 ## ----------------------------------- ##
8448 ## Main body of $CONFIG_STATUS script. ##
8449 ## ----------------------------------- ##
8450 _ASEOF
8451 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8452
8453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8454 # Save the log message, to keep $0 and so on meaningful, and to
8455 # report actual input values of CONFIG_FILES etc. instead of their
8456 # values after options handling.
8457 ac_log="
8458 This file was extended by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
8459 generated by GNU Autoconf 2.68. Invocation command line was
8460
8461 CONFIG_FILES = $CONFIG_FILES
8462 CONFIG_HEADERS = $CONFIG_HEADERS
8463 CONFIG_LINKS = $CONFIG_LINKS
8464 CONFIG_COMMANDS = $CONFIG_COMMANDS
8465 $ $0 $@
8466
8467 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8468 "
8469
8470 _ACEOF
8471
8472 case $ac_config_files in *"
8473 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8474 esac
8475
8476 case $ac_config_headers in *"
8477 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8478 esac
8479
8480
8481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8482 # Files that config.status was made for.
8483 config_files="$ac_config_files"
8484 config_headers="$ac_config_headers"
8485 config_commands="$ac_config_commands"
8486
8487 _ACEOF
8488
8489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8490 ac_cs_usage="\
8491 \`$as_me' instantiates files and other configuration actions
8492 from templates according to the current configuration. Unless the files
8493 and actions are specified as TAGs, all are instantiated by default.
8494
8495 Usage: $0 [OPTION]... [TAG]...
8496
8497 -h, --help print this help, then exit
8498 -V, --version print version number and configuration settings, then exit
8499 --config print configuration, then exit
8500 -q, --quiet, --silent
8501 do not print progress messages
8502 -d, --debug don't remove temporary files
8503 --recheck update $as_me by reconfiguring in the same conditions
8504 --file=FILE[:TEMPLATE]
8505 instantiate the configuration file FILE
8506 --header=FILE[:TEMPLATE]
8507 instantiate the configuration header FILE
8508
8509 Configuration files:
8510 $config_files
8511
8512 Configuration headers:
8513 $config_headers
8514
8515 Configuration commands:
8516 $config_commands
8517
8518 Report bugs to <phaag@users.sourceforge.net>."
8519
8520 _ACEOF
8521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8523 ac_cs_version="\\
8524 nfdump config.status 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
8525 configured by $0, generated by GNU Autoconf 2.68,
8526 with options \\"\$ac_cs_config\\"
8527
8528 Copyright (C) 2010 Free Software Foundation, Inc.
8529 This config.status script is free software; the Free Software Foundation
8530 gives unlimited permission to copy, distribute and modify it."
8531
8532 ac_pwd='$ac_pwd'
8533 srcdir='$srcdir'
8534 INSTALL='$INSTALL'
8535 MKDIR_P='$MKDIR_P'
8536 AWK='$AWK'
8537 test -n "\$AWK" || AWK=awk
8538 _ACEOF
8539
8540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8541 # The default lists apply if the user does not specify any file.
8542 ac_need_defaults=:
8543 while test $# != 0
8544 do
8545 case $1 in
8546 --*=?*)
8547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8549 ac_shift=:
8550 ;;
8551 --*=)
8552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8553 ac_optarg=
8554 ac_shift=:
8555 ;;
8556 *)
8557 ac_option=$1
8558 ac_optarg=$2
8559 ac_shift=shift
8560 ;;
8561 esac
8562
8563 case $ac_option in
8564 # Handling of the options.
8565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8566 ac_cs_recheck=: ;;
8567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8568 $as_echo "$ac_cs_version"; exit ;;
8569 --config | --confi | --conf | --con | --co | --c )
8570 $as_echo "$ac_cs_config"; exit ;;
8571 --debug | --debu | --deb | --de | --d | -d )
8572 debug=: ;;
8573 --file | --fil | --fi | --f )
8574 $ac_shift
8575 case $ac_optarg in
8576 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8577 '') as_fn_error $? "missing file argument" ;;
8578 esac
8579 as_fn_append CONFIG_FILES " '$ac_optarg'"
8580 ac_need_defaults=false;;
8581 --header | --heade | --head | --hea )
8582 $ac_shift
8583 case $ac_optarg in
8584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8585 esac
8586 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8587 ac_need_defaults=false;;
8588 --he | --h)
8589 # Conflict between --help and --header
8590 as_fn_error $? "ambiguous option: \`$1'
8591 Try \`$0 --help' for more information.";;
8592 --help | --hel | -h )
8593 $as_echo "$ac_cs_usage"; exit ;;
8594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8596 ac_cs_silent=: ;;
8597
8598 # This is an error.
8599 -*) as_fn_error $? "unrecognized option: \`$1'
8600 Try \`$0 --help' for more information." ;;
8601
8602 *) as_fn_append ac_config_targets " $1"
8603 ac_need_defaults=false ;;
8604
8605 esac
8606 shift
8607 done
8608
8609 ac_configure_extra_args=
8610
8611 if $ac_cs_silent; then
8612 exec 6>/dev/null
8613 ac_configure_extra_args="$ac_configure_extra_args --silent"
8614 fi
8615
8616 _ACEOF
8617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8618 if \$ac_cs_recheck; then
8619 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8620 shift
8621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8622 CONFIG_SHELL='$SHELL'
8623 export CONFIG_SHELL
8624 exec "\$@"
8625 fi
8626
8627 _ACEOF
8628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8629 exec 5>>config.log
8630 {
8631 echo
8632 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
8633 @%:@@%:@ Running $as_me. @%:@@%:@
8634 _ASBOX
8635 $as_echo "$ac_log"
8636 } >&5
8637
8638 _ACEOF
8639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8640 #
8641 # INIT-COMMANDS
8642 #
8643 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8644
8645 _ACEOF
8646
8647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8648
8649 # Handling of arguments.
8650 for ac_config_target in $ac_config_targets
8651 do
8652 case $ac_config_target in
8653 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8656 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
8657 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8658
8659 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8660 esac
8661 done
8662
8663
8664 # If the user did not use the arguments to specify the items to instantiate,
8665 # then the envvar interface is used. Set only those that are not.
8666 # We use the long form for the default assignment because of an extremely
8667 # bizarre bug on SunOS 4.1.3.
8668 if $ac_need_defaults; then
8669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8672 fi
8673
8674 # Have a temporary directory for convenience. Make it in the build tree
8675 # simply because there is no reason against having it here, and in addition,
8676 # creating and moving files from /tmp can sometimes cause problems.
8677 # Hook for its removal unless debugging.
8678 # Note that there is a small window in which the directory will not be cleaned:
8679 # after its creation but before its name has been assigned to `$tmp'.
8680 $debug ||
8681 {
8682 tmp= ac_tmp=
8683 trap 'exit_status=$?
8684 : "${ac_tmp:=$tmp}"
8685 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8686 ' 0
8687 trap 'as_fn_exit 1' 1 2 13 15
8688 }
8689 # Create a (secure) tmp directory for tmp files.
8690
8691 {
8692 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8693 test -d "$tmp"
8694 } ||
8695 {
8696 tmp=./conf$$-$RANDOM
8697 (umask 077 && mkdir "$tmp")
8698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8699 ac_tmp=$tmp
8700
8701 # Set up the scripts for CONFIG_FILES section.
8702 # No need to generate them if there are no CONFIG_FILES.
8703 # This happens for instance with `./config.status config.h'.
8704 if test -n "$CONFIG_FILES"; then
8705
8706
8707 ac_cr=`echo X | tr X '\015'`
8708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8709 # But we know of no other shell where ac_cr would be empty at this
8710 # point, so we can use a bashism as a fallback.
8711 if test "x$ac_cr" = x; then
8712 eval ac_cr=\$\'\\r\'
8713 fi
8714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8716 ac_cs_awk_cr='\\r'
8717 else
8718 ac_cs_awk_cr=$ac_cr
8719 fi
8720
8721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8722 _ACEOF
8723
8724
8725 {
8726 echo "cat >conf$$subs.awk <<_ACEOF" &&
8727 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8728 echo "_ACEOF"
8729 } >conf$$subs.sh ||
8730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8732 ac_delim='%!_!# '
8733 for ac_last_try in false false false false false :; do
8734 . ./conf$$subs.sh ||
8735 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8736
8737 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8738 if test $ac_delim_n = $ac_delim_num; then
8739 break
8740 elif $ac_last_try; then
8741 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8742 else
8743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8744 fi
8745 done
8746 rm -f conf$$subs.sh
8747
8748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8750 _ACEOF
8751 sed -n '
8752 h
8753 s/^/S["/; s/!.*/"]=/
8754 p
8755 g
8756 s/^[^!]*!//
8757 :repl
8758 t repl
8759 s/'"$ac_delim"'$//
8760 t delim
8761 :nl
8762 h
8763 s/\(.\{148\}\)..*/\1/
8764 t more1
8765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8766 p
8767 n
8768 b repl
8769 :more1
8770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8771 p
8772 g
8773 s/.\{148\}//
8774 t nl
8775 :delim
8776 h
8777 s/\(.\{148\}\)..*/\1/
8778 t more2
8779 s/["\\]/\\&/g; s/^/"/; s/$/"/
8780 p
8781 b
8782 :more2
8783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8784 p
8785 g
8786 s/.\{148\}//
8787 t delim
8788 ' <conf$$subs.awk | sed '
8789 /^[^""]/{
8790 N
8791 s/\n//
8792 }
8793 ' >>$CONFIG_STATUS || ac_write_fail=1
8794 rm -f conf$$subs.awk
8795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8796 _ACAWK
8797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8798 for (key in S) S_is_set[key] = 1
8799 FS = ""
8800
8801 }
8802 {
8803 line = $ 0
8804 nfields = split(line, field, "@")
8805 substed = 0
8806 len = length(field[1])
8807 for (i = 2; i < nfields; i++) {
8808 key = field[i]
8809 keylen = length(key)
8810 if (S_is_set[key]) {
8811 value = S[key]
8812 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8813 len += length(value) + length(field[++i])
8814 substed = 1
8815 } else
8816 len += 1 + keylen
8817 }
8818
8819 print line
8820 }
8821
8822 _ACAWK
8823 _ACEOF
8824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8826 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8827 else
8828 cat
8829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8830 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8831 _ACEOF
8832
8833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8835 # trailing colons and then remove the whole line if VPATH becomes empty
8836 # (actually we leave an empty line to preserve line numbers).
8837 if test "x$srcdir" = x.; then
8838 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8839 h
8840 s///
8841 s/^/:/
8842 s/[ ]*$/:/
8843 s/:\$(srcdir):/:/g
8844 s/:\${srcdir}:/:/g
8845 s/:@srcdir@:/:/g
8846 s/^:*//
8847 s/:*$//
8848 x
8849 s/\(=[ ]*\).*/\1/
8850 G
8851 s/\n//
8852 s/^[^=]*=[ ]*$//
8853 }'
8854 fi
8855
8856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8857 fi # test -n "$CONFIG_FILES"
8858
8859 # Set up the scripts for CONFIG_HEADERS section.
8860 # No need to generate them if there are no CONFIG_HEADERS.
8861 # This happens for instance with `./config.status Makefile'.
8862 if test -n "$CONFIG_HEADERS"; then
8863 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8864 BEGIN {
8865 _ACEOF
8866
8867 # Transform confdefs.h into an awk script `defines.awk', embedded as
8868 # here-document in config.status, that substitutes the proper values into
8869 # config.h.in to produce config.h.
8870
8871 # Create a delimiter string that does not exist in confdefs.h, to ease
8872 # handling of long lines.
8873 ac_delim='%!_!# '
8874 for ac_last_try in false false :; do
8875 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8876 if test -z "$ac_tt"; then
8877 break
8878 elif $ac_last_try; then
8879 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8880 else
8881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8882 fi
8883 done
8884
8885 # For the awk script, D is an array of macro values keyed by name,
8886 # likewise P contains macro parameters if any. Preserve backslash
8887 # newline sequences.
8888
8889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8890 sed -n '
8891 s/.\{148\}/&'"$ac_delim"'/g
8892 t rset
8893 :rset
8894 s/^[ ]*#[ ]*define[ ][ ]*/ /
8895 t def
8896 d
8897 :def
8898 s/\\$//
8899 t bsnl
8900 s/["\\]/\\&/g
8901 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8902 D["\1"]=" \3"/p
8903 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8904 d
8905 :bsnl
8906 s/["\\]/\\&/g
8907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8908 D["\1"]=" \3\\\\\\n"\\/p
8909 t cont
8910 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8911 t cont
8912 d
8913 :cont
8914 n
8915 s/.\{148\}/&'"$ac_delim"'/g
8916 t clear
8917 :clear
8918 s/\\$//
8919 t bsnlc
8920 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8921 d
8922 :bsnlc
8923 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8924 b cont
8925 ' <confdefs.h | sed '
8926 s/'"$ac_delim"'/"\\\
8927 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8928
8929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8930 for (key in D) D_is_set[key] = 1
8931 FS = ""
8932 }
8933 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8934 line = \$ 0
8935 split(line, arg, " ")
8936 if (arg[1] == "#") {
8937 defundef = arg[2]
8938 mac1 = arg[3]
8939 } else {
8940 defundef = substr(arg[1], 2)
8941 mac1 = arg[2]
8942 }
8943 split(mac1, mac2, "(") #)
8944 macro = mac2[1]
8945 prefix = substr(line, 1, index(line, defundef) - 1)
8946 if (D_is_set[macro]) {
8947 # Preserve the white space surrounding the "#".
8948 print prefix "define", macro P[macro] D[macro]
8949 next
8950 } else {
8951 # Replace #undef with comments. This is necessary, for example,
8952 # in the case of _POSIX_SOURCE, which is predefined and required
8953 # on some systems where configure will not decide to define it.
8954 if (defundef == "undef") {
8955 print "/*", prefix defundef, macro, "*/"
8956 next
8957 }
8958 }
8959 }
8960 { print }
8961 _ACAWK
8962 _ACEOF
8963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8964 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8965 fi # test -n "$CONFIG_HEADERS"
8966
8967
8968 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8969 shift
8970 for ac_tag
8971 do
8972 case $ac_tag in
8973 :[FHLC]) ac_mode=$ac_tag; continue;;
8974 esac
8975 case $ac_mode$ac_tag in
8976 :[FHL]*:*);;
8977 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8978 :[FH]-) ac_tag=-:-;;
8979 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8980 esac
8981 ac_save_IFS=$IFS
8982 IFS=:
8983 set x $ac_tag
8984 IFS=$ac_save_IFS
8985 shift
8986 ac_file=$1
8987 shift
8988
8989 case $ac_mode in
8990 :L) ac_source=$1;;
8991 :[FH])
8992 ac_file_inputs=
8993 for ac_f
8994 do
8995 case $ac_f in
8996 -) ac_f="$ac_tmp/stdin";;
8997 *) # Look for the file first in the build tree, then in the source tree
8998 # (if the path is not absolute). The absolute path cannot be DOS-style,
8999 # because $ac_f cannot contain `:'.
9000 test -f "$ac_f" ||
9001 case $ac_f in
9002 [\\/$]*) false;;
9003 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9004 esac ||
9005 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9006 esac
9007 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9008 as_fn_append ac_file_inputs " '$ac_f'"
9009 done
9010
9011 # Let's still pretend it is `configure' which instantiates (i.e., don't
9012 # use $as_me), people would be surprised to read:
9013 # /* config.h. Generated by config.status. */
9014 configure_input='Generated from '`
9015 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9016 `' by configure.'
9017 if test x"$ac_file" != x-; then
9018 configure_input="$ac_file. $configure_input"
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9020 $as_echo "$as_me: creating $ac_file" >&6;}
9021 fi
9022 # Neutralize special characters interpreted by sed in replacement strings.
9023 case $configure_input in #(
9024 *\&* | *\|* | *\\* )
9025 ac_sed_conf_input=`$as_echo "$configure_input" |
9026 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9027 *) ac_sed_conf_input=$configure_input;;
9028 esac
9029
9030 case $ac_tag in
9031 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9033 esac
9034 ;;
9035 esac
9036
9037 ac_dir=`$as_dirname -- "$ac_file" ||
9038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9039 X"$ac_file" : 'X\(//\)[^/]' \| \
9040 X"$ac_file" : 'X\(//\)$' \| \
9041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9042 $as_echo X"$ac_file" |
9043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9044 s//\1/
9045 q
9046 }
9047 /^X\(\/\/\)[^/].*/{
9048 s//\1/
9049 q
9050 }
9051 /^X\(\/\/\)$/{
9052 s//\1/
9053 q
9054 }
9055 /^X\(\/\).*/{
9056 s//\1/
9057 q
9058 }
9059 s/.*/./; q'`
9060 as_dir="$ac_dir"; as_fn_mkdir_p
15735 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15736 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15737 { (exit 1); exit 1; }; }; }
906115738 ac_builddir=.
906215739
906315740 case "$ac_dir" in
906415741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
906515742 *)
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906715744 # A ".." for each directory in $ac_dir_suffix.
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
906915746 case $ac_top_builddir_sub in
907015747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
907115748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
911015787 esac
911115788 _ACEOF
911215789
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15790 cat >>$CONFIG_STATUS <<\_ACEOF
911415791 # If the template does not know about datarootdir, expand it.
911515792 # FIXME: This hack should be removed a few years after 2.60.
911615793 ac_datarootdir_hack=; ac_datarootdir_seen=
9117 ac_sed_dataroot='
9118 /datarootdir/ {
15794
15795 case `sed -n '/datarootdir/ {
911915796 p
912015797 q
912115798 }
912315800 /@docdir@/p
912415801 /@infodir@/p
912515802 /@localedir@/p
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
912815805 *datarootdir*) ac_datarootdir_seen=yes;;
912915806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9131 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9132 _ACEOF
9133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15807 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15808 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15809 _ACEOF
15810 cat >>$CONFIG_STATUS <<_ACEOF
913415811 ac_datarootdir_hack='
913515812 s&@datadir@&$datadir&g
913615813 s&@docdir@&$docdir&g
913715814 s&@infodir@&$infodir&g
913815815 s&@localedir@&$localedir&g
913915816 s&@mandir@&$mandir&g
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
914115818 esac
914215819 _ACEOF
914315820
914415821 # Neutralize VPATH when `$srcdir' = `.'.
914515822 # Shell code in configure.ac might set extrasub.
914615823 # FIXME: do we really want to maintain this feature?
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
914915826 $extrasub
915015827 _ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 cat >>$CONFIG_STATUS <<\_ACEOF
915215829 :t
915315830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9154 s|@configure_input@|$ac_sed_conf_input|;t t
15831 s&@configure_input@&$configure_input&;t t
915515832 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
915715833 s&@srcdir@&$ac_srcdir&;t t
915815834 s&@abs_srcdir@&$ac_abs_srcdir&;t t
915915835 s&@top_srcdir@&$ac_top_srcdir&;t t
916415840 s&@INSTALL@&$ac_INSTALL&;t t
916515841 s&@MKDIR_P@&$ac_MKDIR_P&;t t
916615842 $ac_datarootdir_hack
9167 "
9168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9169 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
917015844
917115845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9172 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9173 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9174 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9176 which seems to be undefined. Please make sure it is defined" >&5
9177 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9178 which seems to be undefined. Please make sure it is defined" >&2;}
9179
9180 rm -f "$ac_tmp/stdin"
15846 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15848 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15849 which seems to be undefined. Please make sure it is defined." >&5
15850 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15851 which seems to be undefined. Please make sure it is defined." >&2;}
15852
15853 rm -f "$tmp/stdin"
918115854 case $ac_file in
9182 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9183 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9184 esac \
9185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
918615858 ;;
918715859 :H)
918815860 #
918915861 # CONFIG_HEADER
919015862 #
15863 _ACEOF
15864
15865 # Transform confdefs.h into a sed script `conftest.defines', that
15866 # substitutes the proper values into config.h.in to produce config.h.
15867 rm -f conftest.defines conftest.tail
15868 # First, append a space to every undef/define line, to ease matching.
15869 echo 's/$/ /' >conftest.defines
15870 # Then, protect against being on the right side of a sed subst, or in
15871 # an unquoted here document, in config.status. If some macros were
15872 # called several times there might be several #defines for the same
15873 # symbol, which is useless. But do not sort them, since the last
15874 # AC_DEFINE must be honored.
15875 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15876 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15877 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15878 # PARAMS is the parameter list in the macro definition--in most cases, it's
15879 # just an empty string.
15880 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15881 ac_dB='\\)[ (].*,\\1define\\2'
15882 ac_dC=' '
15883 ac_dD=' ,'
15884
15885 uniq confdefs.h |
15886 sed -n '
15887 t rset
15888 :rset
15889 s/^[ ]*#[ ]*define[ ][ ]*//
15890 t ok
15891 d
15892 :ok
15893 s/[\\&,]/\\&/g
15894 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15895 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15896 ' >>conftest.defines
15897
15898 # Remove the space that was appended to ease matching.
15899 # Then replace #undef with comments. This is necessary, for
15900 # example, in the case of _POSIX_SOURCE, which is predefined and required
15901 # on some systems where configure will not decide to define it.
15902 # (The regexp can be short, since the line contains either #define or #undef.)
15903 echo 's/ $//
15904 s,^[ #]*u.*,/* & */,' >>conftest.defines
15905
15906 # Break up conftest.defines:
15907 ac_max_sed_lines=50
15908
15909 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15910 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15911 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15912 # et cetera.
15913 ac_in='$ac_file_inputs'
15914 ac_out='"$tmp/out1"'
15915 ac_nxt='"$tmp/out2"'
15916
15917 while :
15918 do
15919 # Write a here document:
15920 cat >>$CONFIG_STATUS <<_ACEOF
15921 # First, check the format of the line:
15922 cat >"\$tmp/defines.sed" <<\\CEOF
15923 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def
15924 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15925 b
15926 :def
15927 _ACEOF
15928 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15929 echo 'CEOF
15930 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15931 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15932 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15933 grep . conftest.tail >/dev/null || break
15934 rm -f conftest.defines
15935 mv conftest.tail conftest.defines
15936 done
15937 rm -f conftest.defines conftest.tail
15938
15939 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15940 cat >>$CONFIG_STATUS <<\_ACEOF
919115941 if test x"$ac_file" != x-; then
9192 {
9193 $as_echo "/* $configure_input */" \
9194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9195 } >"$ac_tmp/config.h" \
9196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9197 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9199 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15942 echo "/* $configure_input */" >"$tmp/config.h"
15943 cat "$ac_result" >>"$tmp/config.h"
15944 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15945 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15946 echo "$as_me: $ac_file is unchanged" >&6;}
920015947 else
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
920415950 fi
920515951 else
9206 $as_echo "/* $configure_input */" \
9207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9208 || as_fn_error $? "could not create -" "$LINENO" 5
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
920915954 fi
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
921215957 _am_stamp_count=1
921315958 for _am_header in $config_headers :; do
921415959 case $_am_header in
9215 $_am_arg | $_am_arg:* )
15960 $ac_file | $ac_file:* )
921615961 break ;;
921715962 * )
921815963 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
921915964 esac
922015965 done
9221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223 X"$_am_arg" : 'X\(//\)[^/]' \| \
9224 X"$_am_arg" : 'X\(//\)$' \| \
9225 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9226 $as_echo X"$_am_arg" |
15966 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
15967 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15968 X$ac_file : 'X\(//\)[^/]' \| \
15969 X$ac_file : 'X\(//\)$' \| \
15970 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
15971 echo X$ac_file |
922715972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
922815973 s//\1/
922915974 q
924315988 s/.*/./; q'`/stamp-h$_am_stamp_count
924415989 ;;
924515990
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
924815993 ;;
924915994 esac
925015995
925115996
925215997 case $ac_file$ac_mode in
9253 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9254 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9255 # are listed without --file. Let's play safe and only enable the eval
9256 # if we detect the quoting.
9257 case $CONFIG_FILES in
9258 *\'*) eval set x "$CONFIG_FILES" ;;
9259 *) set x $CONFIG_FILES ;;
9260 esac
9261 shift
9262 for mf
9263 do
9264 # Strip MF so we end up with the name of the file.
9265 mf=`echo "$mf" | sed -e 's/:.*$//'`
9266 # Check whether this is an Automake generated Makefile or not.
9267 # We used to match only the files named `Makefile.in', but
9268 # some people rename them; so instead we look at the file content.
9269 # Grep'ing the first line is not enough: some people post-process
9270 # each Makefile.in and add a new line on top of each file to say so.
9271 # Grep'ing the whole file is not good either: AIX grep has a line
9272 # limit of 2048, but all sed's we know have understand at least 4000.
9273 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9274 dirpart=`$as_dirname -- "$mf" ||
15998 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15999 # Strip MF so we end up with the name of the file.
16000 mf=`echo "$mf" | sed -e 's/:.*$//'`
16001 # Check whether this is an Automake generated Makefile or not.
16002 # We used to match only the files named `Makefile.in', but
16003 # some people rename them; so instead we look at the file content.
16004 # Grep'ing the first line is not enough: some people post-process
16005 # each Makefile.in and add a new line on top of each file to say so.
16006 # Grep'ing the whole file is not good either: AIX grep has a line
16007 # limit of 2048, but all sed's we know have understand at least 4000.
16008 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
16009 dirpart=`$as_dirname -- "$mf" ||
927516010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
927616011 X"$mf" : 'X\(//\)[^/]' \| \
927716012 X"$mf" : 'X\(//\)$' \| \
927816013 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9279 $as_echo X"$mf" |
16014 echo X"$mf" |
928016015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
928116016 s//\1/
928216017 q
929416029 q
929516030 }
929616031 s/.*/./; q'`
9297 else
9298 continue
9299 fi
9300 # Extract the definition of DEPDIR, am__include, and am__quote
9301 # from the Makefile without running `make'.
9302 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9303 test -z "$DEPDIR" && continue
9304 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9305 test -z "am__include" && continue
9306 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9307 # When using ansi2knr, U may be empty or an underscore; expand it
9308 U=`sed -n 's/^U = //p' < "$mf"`
9309 # Find all dependency output files, they are included files with
9310 # $(DEPDIR) in their names. We invoke sed twice because it is the
9311 # simplest approach to changing $(DEPDIR) to its actual value in the
9312 # expansion.
9313 for file in `sed -n "
9314 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9315 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9316 # Make sure the directory exists.
9317 test -f "$dirpart/$file" && continue
9318 fdir=`$as_dirname -- "$file" ||
16032 else
16033 continue
16034 fi
16035 # Extract the definition of DEPDIR, am__include, and am__quote
16036 # from the Makefile without running `make'.
16037 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16038 test -z "$DEPDIR" && continue
16039 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16040 test -z "am__include" && continue
16041 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16042 # When using ansi2knr, U may be empty or an underscore; expand it
16043 U=`sed -n 's/^U = //p' < "$mf"`
16044 # Find all dependency output files, they are included files with
16045 # $(DEPDIR) in their names. We invoke sed twice because it is the
16046 # simplest approach to changing $(DEPDIR) to its actual value in the
16047 # expansion.
16048 for file in `sed -n "
16049 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16051 # Make sure the directory exists.
16052 test -f "$dirpart/$file" && continue
16053 fdir=`$as_dirname -- "$file" ||
931916054 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
932016055 X"$file" : 'X\(//\)[^/]' \| \
932116056 X"$file" : 'X\(//\)$' \| \
932216057 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9323 $as_echo X"$file" |
16058 echo X"$file" |
932416059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
932516060 s//\1/
932616061 q
933816073 q
933916074 }
934016075 s/.*/./; q'`
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
16076 { as_dir=$dirpart/$fdir
16077 case $as_dir in #(
16078 -*) as_dir=./$as_dir;;
16079 esac
16080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16081 as_dirs=
16082 while :; do
16083 case $as_dir in #(
16084 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16085 *) as_qdir=$as_dir;;
16086 esac
16087 as_dirs="'$as_qdir' $as_dirs"
16088 as_dir=`$as_dirname -- "$as_dir" ||
16089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16090 X"$as_dir" : 'X\(//\)[^/]' \| \
16091 X"$as_dir" : 'X\(//\)$' \| \
16092 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16093 echo X"$as_dir" |
16094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16095 s//\1/
16096 q
16097 }
16098 /^X\(\/\/\)[^/].*/{
16099 s//\1/
16100 q
16101 }
16102 /^X\(\/\/\)$/{
16103 s//\1/
16104 q
16105 }
16106 /^X\(\/\).*/{
16107 s//\1/
16108 q
16109 }
16110 s/.*/./; q'`
16111 test -d "$as_dir" && break
934416112 done
16113 test -z "$as_dirs" || eval "mkdir $as_dirs"
16114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16115 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16116 { (exit 1); exit 1; }; }; }
16117 # echo "creating $dirpart/$file"
16118 echo '# dummy' > "$dirpart/$file"
934516119 done
9346 }
16120 done
934716121 ;;
934816122
934916123 esac
935016124 done # for ac_tag
935116125
935216126
9353 as_fn_exit 0
9354 _ACEOF
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
935516130 ac_clean_files=$ac_clean_files_save
9356
9357 test $ac_write_fail = 0 ||
9358 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
935916131
936016132
936116133 # configure is writing to config.log, and then calls config.status.
937616148 exec 5>>config.log
937716149 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
937816150 # would make configure fail if this is the last instruction.
9379 $ac_cs_success || as_fn_exit 1
9380 fi
9381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16151 $ac_cs_success || { (exit 1); exit 1; }
938416152 fi
938516153
938616154
66 '0',
77 1,
88 [
9 '/opt/local/share/autoconf'
9 '/usr/share/autoconf'
1010 ],
1111 [
12 '/opt/local/share/autoconf/autoconf/autoconf.m4f',
13 '/opt/local/share/aclocal-1.11/amversion.m4',
14 '/opt/local/share/aclocal-1.11/auxdir.m4',
15 '/opt/local/share/aclocal-1.11/cond.m4',
16 '/opt/local/share/aclocal-1.11/depend.m4',
17 '/opt/local/share/aclocal-1.11/depout.m4',
18 '/opt/local/share/aclocal-1.11/init.m4',
19 '/opt/local/share/aclocal-1.11/install-sh.m4',
20 '/opt/local/share/aclocal-1.11/lead-dot.m4',
21 '/opt/local/share/aclocal-1.11/make.m4',
22 '/opt/local/share/aclocal-1.11/minuso.m4',
23 '/opt/local/share/aclocal-1.11/missing.m4',
24 '/opt/local/share/aclocal-1.11/mkdirp.m4',
25 '/opt/local/share/aclocal-1.11/options.m4',
26 '/opt/local/share/aclocal-1.11/runlog.m4',
27 '/opt/local/share/aclocal-1.11/sanity.m4',
28 '/opt/local/share/aclocal-1.11/silent.m4',
29 '/opt/local/share/aclocal-1.11/strip.m4',
30 '/opt/local/share/aclocal-1.11/substnot.m4',
31 '/opt/local/share/aclocal-1.11/tar.m4',
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/bin/../share/aclocal-1.10/amversion.m4',
14 '/usr/bin/../share/aclocal-1.10/auxdir.m4',
15 '/usr/bin/../share/aclocal-1.10/cond.m4',
16 '/usr/bin/../share/aclocal-1.10/depend.m4',
17 '/usr/bin/../share/aclocal-1.10/depout.m4',
18 '/usr/bin/../share/aclocal-1.10/init.m4',
19 '/usr/bin/../share/aclocal-1.10/install-sh.m4',
20 '/usr/bin/../share/aclocal-1.10/lead-dot.m4',
21 '/usr/bin/../share/aclocal-1.10/make.m4',
22 '/usr/bin/../share/aclocal-1.10/minuso.m4',
23 '/usr/bin/../share/aclocal-1.10/missing.m4',
24 '/usr/bin/../share/aclocal-1.10/mkdirp.m4',
25 '/usr/bin/../share/aclocal-1.10/options.m4',
26 '/usr/bin/../share/aclocal-1.10/runlog.m4',
27 '/usr/bin/../share/aclocal-1.10/sanity.m4',
28 '/usr/bin/../share/aclocal-1.10/strip.m4',
29 '/usr/bin/../share/aclocal-1.10/substnot.m4',
30 '/usr/bin/../share/aclocal-1.10/tar.m4',
3231 'configure.in'
3332 ],
3433 {
4039 'AM_INIT_AUTOMAKE' => 1,
4140 'AM_AUTOMAKE_VERSION' => 1,
4241 'AM_MISSING_HAS_RUN' => 1,
43 'AM_SUBST_NOTMAKE' => 1,
4442 'AM_MISSING_PROG' => 1,
4543 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
4644 'AC_DEFUN_ONCE' => 1,
4745 'AM_PROG_INSTALL_STRIP' => 1,
4846 '_m4_warn' => 1,
4947 'AM_SANITY_CHECK' => 1,
50 'AM_SILENT_RULES' => 1,
5148 'include' => 1,
5249 '_AM_PROG_TAR' => 1,
5350 'AM_AUX_DIR_EXPAND' => 1,
5451 'AM_DEP_TRACK' => 1,
5552 '_AM_SET_OPTIONS' => 1,
53 'AM_RUN_LOG' => 1,
5654 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
57 'AM_RUN_LOG' => 1,
5855 '_AM_IF_OPTION' => 1,
5956 '_AM_SUBST_NOTMAKE' => 1,
60 'm4_pattern_allow' => 1,
6157 '_AM_AUTOCONF_VERSION' => 1,
6258 'AM_PROG_CC_C_O' => 1,
59 'm4_pattern_allow' => 1,
6360 '_AM_MANGLE_OPTION' => 1,
61 'AM_SET_LEADING_DOT' => 1,
6462 'AM_CONDITIONAL' => 1,
65 'AM_SET_LEADING_DOT' => 1,
6663 'AM_SET_DEPDIR' => 1,
6764 '_AM_DEPENDENCIES' => 1,
65 'm4_include' => 1,
6866 'AM_PROG_INSTALL_SH' => 1,
69 'm4_include' => 1,
7067 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
7168 'AU_DEFUN' => 1,
7269 'AM_MAKE_INCLUDE' => 1
7673 '1',
7774 1,
7875 [
79 '/opt/local/share/autoconf'
76 '/usr/share/autoconf'
8077 ],
8178 [
82 '/opt/local/share/autoconf/autoconf/autoconf.m4f',
79 '/usr/share/autoconf/autoconf/autoconf.m4f',
8380 'aclocal.m4',
8481 'configure.in'
8582 ],
8885 '_LT_AC_TAGCONFIG' => 1,
8986 'm4_pattern_forbid' => 1,
9087 'AC_INIT' => 1,
91 '_AM_COND_IF' => 1,
9288 'AC_CANONICAL_TARGET' => 1,
9389 'AC_SUBST' => 1,
9490 'AC_CONFIG_LIBOBJ_DIR' => 1,
9692 'AC_CANONICAL_HOST' => 1,
9793 'AC_PROG_LIBTOOL' => 1,
9894 'AM_INIT_AUTOMAKE' => 1,
99 'AM_PATH_GUILE' => 1,
10095 'AC_CONFIG_SUBDIRS' => 1,
10196 'AM_AUTOMAKE_VERSION' => 1,
10297 'LT_CONFIG_LTDL_DIR' => 1,
98 'AC_CONFIG_LINKS' => 1,
10399 'AC_REQUIRE_AUX_FILE' => 1,
104 'AC_CONFIG_LINKS' => 1,
100 'm4_sinclude' => 1,
105101 'LT_SUPPORTED_TAG' => 1,
106 'm4_sinclude' => 1,
107102 'AM_MAINTAINER_MODE' => 1,
108 'AM_NLS' => 1,
109103 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
110 'AM_MAKEFILE_INCLUDE' => 1,
111104 '_m4_warn' => 1,
112105 'AM_PROG_CXX_C_O' => 1,
113 '_AM_MAKEFILE_INCLUDE' => 1,
114 '_AM_COND_ENDIF' => 1,
115106 'AM_ENABLE_MULTILIB' => 1,
116 'AM_PROG_MOC' => 1,
117 'AM_SILENT_RULES' => 1,
118107 'AC_CONFIG_FILES' => 1,
119108 'LT_INIT' => 1,
120109 'include' => 1,
121 'AM_PROG_AR' => 1,
122110 'AM_GNU_GETTEXT' => 1,
123111 'AC_LIBSOURCE' => 1,
124112 'AM_PROG_FC_C_O' => 1,
127115 'AH_OUTPUT' => 1,
128116 '_AM_SUBST_NOTMAKE' => 1,
129117 'AC_CONFIG_AUX_DIR' => 1,
130 'm4_pattern_allow' => 1,
131118 'sinclude' => 1,
132119 'AM_PROG_CC_C_O' => 1,
133 'AM_XGETTEXT_OPTION' => 1,
120 'm4_pattern_allow' => 1,
134121 'AC_CANONICAL_SYSTEM' => 1,
135122 'AM_CONDITIONAL' => 1,
136123 'AC_CONFIG_HEADERS' => 1,
137124 'AC_DEFINE_TRACE_LITERAL' => 1,
138 'AM_POT_TOOLS' => 1,
139125 'm4_include' => 1,
140 '_AM_COND_ELSE' => 1,
141126 'AC_SUBST_TRACE' => 1
142127 }
143128 ], 'Autom4te::Request' )
0 m4trace:/opt/local/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
0 m4trace:/usr/bin/../share/aclocal-1.10/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
11 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
22 dnl require some minimum version. Point them to the right macro.
3 m4_if([$1], [1.11.1], [],
3 m4_if([$1], [1.10], [],
44 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
55 ])
6 m4trace:/opt/local/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
7 m4_ifndef([AC_AUTOCONF_VERSION],
8 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
10 m4trace:/opt/local/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
6 m4trace:/usr/bin/../share/aclocal-1.10/amversion.m4:35: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10])dnl
7 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
8 m4trace:/usr/bin/../share/aclocal-1.10/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
119 AC_PREREQ([2.50])dnl
1210 # expand $ac_aux_dir to an absolute path
1311 am_aux_dir=`cd $ac_aux_dir && pwd`
1412 ])
15 m4trace:/opt/local/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
13 m4trace:/usr/bin/../share/aclocal-1.10/cond.m4:34: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1614 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1715 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1816 AC_SUBST([$1_TRUE])dnl
1917 AC_SUBST([$1_FALSE])dnl
2018 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
2119 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
22 m4_define([_AM_COND_VALUE_$1], [$2])dnl
2320 if $2; then
2421 $1_TRUE=
2522 $1_FALSE='#'
3229 AC_MSG_ERROR([[conditional "$1" was never defined.
3330 Usually this means the macro was only invoked conditionally.]])
3431 fi])])
35 m4trace:/opt/local/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
32 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:132: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
3633 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
3734 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
3835 AC_REQUIRE([AM_DEP_TRACK])dnl
6966 if test "$am_compiler_list" = ""; then
7067 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
7168 fi
72 am__universal=false
73 m4_case([$1], [CC],
74 [case " $depcc " in #(
75 *\ -arch\ *\ -arch\ *) am__universal=true ;;
76 esac],
77 [CXX],
78 [case " $depcc " in #(
79 *\ -arch\ *\ -arch\ *) am__universal=true ;;
80 esac])
81
8269 for depmode in $am_compiler_list; do
8370 # Setup a source with many dependencies, because some compilers
8471 # like to wrap large dependency lists on column 80 (with \), and
9683 done
9784 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9885
99 # We check with `-c' and `-o' for the sake of the "dashmstdout"
100 # mode. It turns out that the SunPro C++ compiler does not properly
101 # handle `-M -o', and we need to detect this. Also, some Intel
102 # versions had trouble with output in subdirs
103 am__obj=sub/conftest.${OBJEXT-o}
104 am__minus_obj="-o $am__obj"
10586 case $depmode in
106 gcc)
107 # This depmode causes a compiler race in universal mode.
108 test "$am__universal" = false || continue
109 ;;
11087 nosideeffect)
11188 # after this tag, mechanisms are not by side-effect, so they'll
11289 # only be used when explicitly requested
11693 break
11794 fi
11895 ;;
119 msvisualcpp | msvcmsys)
120 # This compiler won't grok `-c -o', but also, the minuso test has
121 # not run yet. These depmodes are late enough in the game, and
122 # so weak that their functioning should not be impacted.
123 am__obj=conftest.${OBJEXT-o}
124 am__minus_obj=
125 ;;
12696 none) break ;;
12797 esac
98 # We check with `-c' and `-o' for the sake of the "dashmstdout"
99 # mode. It turns out that the SunPro C++ compiler does not properly
100 # handle `-M -o', and we need to detect this.
128101 if depmode=$depmode \
129 source=sub/conftest.c object=$am__obj \
102 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
130103 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
104 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
132105 >/dev/null 2>conftest.err &&
133106 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
134107 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
108 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
136109 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
137110 # icc doesn't choke on unknown options, it will just issue warnings
138111 # or remarks (even with -Werror). So we grep stderr for any message
160133 test "x$enable_dependency_tracking" != xno \
161134 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
162135 ])
163 m4trace:/opt/local/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
136 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:142: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
164137 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
165138 ])
166 m4trace:/opt/local/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
139 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:158: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
167140 [ --disable-dependency-tracking speeds up one-time build
168141 --enable-dependency-tracking do not reject slow dependency extractors])
169142 if test "x$enable_dependency_tracking" != xno; then
174147 AC_SUBST([AMDEPBACKSLASH])dnl
175148 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
176149 ])
177 m4trace:/opt/local/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
178 # Autoconf 2.62 quotes --file arguments for eval, but not when files
179 # are listed without --file. Let's play safe and only enable the eval
180 # if we detect the quoting.
181 case $CONFIG_FILES in
182 *\'*) eval set x "$CONFIG_FILES" ;;
183 *) set x $CONFIG_FILES ;;
184 esac
185 shift
186 for mf
187 do
188 # Strip MF so we end up with the name of the file.
189 mf=`echo "$mf" | sed -e 's/:.*$//'`
190 # Check whether this is an Automake generated Makefile or not.
191 # We used to match only the files named `Makefile.in', but
192 # some people rename them; so instead we look at the file content.
193 # Grep'ing the first line is not enough: some people post-process
194 # each Makefile.in and add a new line on top of each file to say so.
195 # Grep'ing the whole file is not good either: AIX grep has a line
196 # limit of 2048, but all sed's we know have understand at least 4000.
197 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
198 dirpart=`AS_DIRNAME("$mf")`
199 else
200 continue
201 fi
202 # Extract the definition of DEPDIR, am__include, and am__quote
203 # from the Makefile without running `make'.
204 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
205 test -z "$DEPDIR" && continue
206 am__include=`sed -n 's/^am__include = //p' < "$mf"`
207 test -z "am__include" && continue
208 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
209 # When using ansi2knr, U may be empty or an underscore; expand it
210 U=`sed -n 's/^U = //p' < "$mf"`
211 # Find all dependency output files, they are included files with
212 # $(DEPDIR) in their names. We invoke sed twice because it is the
213 # simplest approach to changing $(DEPDIR) to its actual value in the
214 # expansion.
215 for file in `sed -n "
216 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
217 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
218 # Make sure the directory exists.
219 test -f "$dirpart/$file" && continue
220 fdir=`AS_DIRNAME(["$file"])`
221 AS_MKDIR_P([$dirpart/$fdir])
222 # echo "creating $dirpart/$file"
223 echo '# dummy' > "$dirpart/$file"
224 done
150 m4trace:/usr/bin/../share/aclocal-1.10/depout.m4:54: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
151 # Strip MF so we end up with the name of the file.
152 mf=`echo "$mf" | sed -e 's/:.*$//'`
153 # Check whether this is an Automake generated Makefile or not.
154 # We used to match only the files named `Makefile.in', but
155 # some people rename them; so instead we look at the file content.
156 # Grep'ing the first line is not enough: some people post-process
157 # each Makefile.in and add a new line on top of each file to say so.
158 # Grep'ing the whole file is not good either: AIX grep has a line
159 # limit of 2048, but all sed's we know have understand at least 4000.
160 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
161 dirpart=`AS_DIRNAME("$mf")`
162 else
163 continue
164 fi
165 # Extract the definition of DEPDIR, am__include, and am__quote
166 # from the Makefile without running `make'.
167 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
168 test -z "$DEPDIR" && continue
169 am__include=`sed -n 's/^am__include = //p' < "$mf"`
170 test -z "am__include" && continue
171 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
172 # When using ansi2knr, U may be empty or an underscore; expand it
173 U=`sed -n 's/^U = //p' < "$mf"`
174 # Find all dependency output files, they are included files with
175 # $(DEPDIR) in their names. We invoke sed twice because it is the
176 # simplest approach to changing $(DEPDIR) to its actual value in the
177 # expansion.
178 for file in `sed -n "
179 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
181 # Make sure the directory exists.
182 test -f "$dirpart/$file" && continue
183 fdir=`AS_DIRNAME(["$file"])`
184 AS_MKDIR_P([$dirpart/$fdir])
185 # echo "creating $dirpart/$file"
186 echo '# dummy' > "$dirpart/$file"
225187 done
226 }
227 ])
228 m4trace:/opt/local/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
188 done
189 ])
190 m4trace:/usr/bin/../share/aclocal-1.10/depout.m4:68: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
229191 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
230192 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
231193 ])
232 m4trace:/opt/local/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
194 m4trace:/usr/bin/../share/aclocal-1.10/init.m4:103: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
233195 dnl Autoconf wants to disallow AM_ names. We explicitly allow
234196 dnl the ones we care about.
235197 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
280242 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
281243 AM_MISSING_PROG(AUTOHEADER, autoheader)
282244 AM_MISSING_PROG(MAKEINFO, makeinfo)
283 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
284 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
245 AM_PROG_INSTALL_SH
246 AM_PROG_INSTALL_STRIP
285247 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
286248 # We need awk for the "check" target. The system "awk" is bad on
287249 # some platforms.
289251 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
290252 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
291253 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
292 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
293 [_AM_PROG_TAR([v7])])])
254 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
255 [_AM_PROG_TAR([v7])])])
294256 _AM_IF_OPTION([no-dependencies],,
295257 [AC_PROVIDE_IFELSE([AC_PROG_CC],
296 [_AM_DEPENDENCIES(CC)],
297 [define([AC_PROG_CC],
298 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
258 [_AM_DEPENDENCIES(CC)],
259 [define([AC_PROG_CC],
260 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
299261 AC_PROVIDE_IFELSE([AC_PROG_CXX],
300 [_AM_DEPENDENCIES(CXX)],
301 [define([AC_PROG_CXX],
302 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
262 [_AM_DEPENDENCIES(CXX)],
263 [define([AC_PROG_CXX],
264 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
303265 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
304 [_AM_DEPENDENCIES(OBJC)],
305 [define([AC_PROG_OBJC],
306 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
307 ])
308 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
309 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
310 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
311 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
312 AC_CONFIG_COMMANDS_PRE(dnl
313 [m4_provide_if([_AM_COMPILER_EXEEXT],
314 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
315 ])
316 m4trace:/opt/local/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
317 _am_arg=$1
266 [_AM_DEPENDENCIES(OBJC)],
267 [define([AC_PROG_OBJC],
268 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
269 ])
270 ])
271 m4trace:/usr/bin/../share/aclocal-1.10/init.m4:124: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
318272 _am_stamp_count=1
319273 for _am_header in $config_headers :; do
320274 case $_am_header in
321 $_am_arg | $_am_arg:* )
275 $1 | $1:* )
322276 break ;;
323277 * )
324278 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
325279 esac
326280 done
327 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
328 m4trace:/opt/local/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
329 if test x"${install_sh}" != xset; then
330 case $am_aux_dir in
331 *\ * | *\ *)
332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
333 *)
334 install_sh="\${SHELL} $am_aux_dir/install-sh"
335 esac
336 fi
281 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
282 m4trace:/usr/bin/../share/aclocal-1.10/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
283 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
337284 AC_SUBST(install_sh)])
338 m4trace:/opt/local/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
285 m4trace:/usr/bin/../share/aclocal-1.10/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
339286 mkdir .tst 2>/dev/null
340287 if test -d .tst; then
341288 am__leading_dot=.
344291 fi
345292 rmdir .tst 2>/dev/null
346293 AC_SUBST([am__leading_dot])])
347 m4trace:/opt/local/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
294 m4trace:/usr/bin/../share/aclocal-1.10/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
348295 cat > confinc << 'END'
349296 am__doit:
350 @echo this is the am__doit target
297 @echo done
351298 .PHONY: am__doit
352299 END
353300 # If we don't find an include directive, just comment out the code.
357304 _am_result=none
358305 # First try GNU make style include.
359306 echo "include confinc" > confmf
360 # Ignore all kinds of additional output from `make'.
361 case `$am_make -s -f confmf 2> /dev/null` in #(
362 *the\ am__doit\ target*)
363 am__include=include
364 am__quote=
365 _am_result=GNU
366 ;;
367 esac
307 # We grep out `Entering directory' and `Leaving directory'
308 # messages which can occur if `w' ends up in MAKEFLAGS.
309 # In particular we don't look at `^make:' because GNU make might
310 # be invoked under some other name (usually "gmake"), in which
311 # case it prints its new name instead of `make'.
312 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
313 am__include=include
314 am__quote=
315 _am_result=GNU
316 fi
368317 # Now try BSD make style include.
369318 if test "$am__include" = "#"; then
370319 echo '.include "confinc"' > confmf
371 case `$am_make -s -f confmf 2> /dev/null` in #(
372 *the\ am__doit\ target*)
373 am__include=.include
374 am__quote="\""
375 _am_result=BSD
376 ;;
377 esac
320 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
321 am__include=.include
322 am__quote="\""
323 _am_result=BSD
324 fi
378325 fi
379326 AC_SUBST([am__include])
380327 AC_SUBST([am__quote])
381328 AC_MSG_RESULT([$_am_result])
382329 rm -f confinc confmf
383330 ])
384 m4trace:/opt/local/share/aclocal-1.11/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
331 m4trace:/usr/bin/../share/aclocal-1.10/minuso.m4:34: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
385332 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
386333 AC_REQUIRE_AUX_FILE([compile])dnl
387334 # FIXME: we rely on the cache variable name because
388335 # there is no other way.
389336 set dummy $CC
390 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
391 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
392 if test "$am_t" != yes; then
337 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
338 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
393339 # Losing compiler, so override with the script.
394340 # FIXME: It is wrong to rewrite CC.
395341 # But if we don't then we get into trouble of one sort or another.
402348 m4_define([AC_PROG_CC],
403349 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
404350 ])
405 m4trace:/opt/local/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
351 m4trace:/usr/bin/../share/aclocal-1.10/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
406352 $1=${$1-"${am_missing_run}$2"}
407353 AC_SUBST($1)])
408 m4trace:/opt/local/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
354 m4trace:/usr/bin/../share/aclocal-1.10/missing.m4:35: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
409355 AC_REQUIRE_AUX_FILE([missing])dnl
410 if test x"${MISSING+set}" != xset; then
411 case $am_aux_dir in
412 *\ * | *\ *)
413 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
414 *)
415 MISSING="\${SHELL} $am_aux_dir/missing" ;;
416 esac
417 fi
356 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
418357 # Use eval to expand $SHELL
419358 if eval "$MISSING --run true"; then
420359 am_missing_run="$MISSING --run "
423362 AC_MSG_WARN([`missing' script is too old or missing])
424363 fi
425364 ])
426 m4trace:/opt/local/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
365 m4trace:/usr/bin/../share/aclocal-1.10/mkdirp.m4:26: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
427366 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
428367 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
429368 dnl while keeping a definition of mkdir_p for backward compatibility.
438377 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
439378 esac
440379 ])
441 m4trace:/opt/local/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
442 m4trace:/opt/local/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
443 m4trace:/opt/local/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
444 m4trace:/opt/local/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
445 m4trace:/opt/local/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
380 m4trace:/usr/bin/../share/aclocal-1.10/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
381 m4trace:/usr/bin/../share/aclocal-1.10/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
382 m4trace:/usr/bin/../share/aclocal-1.10/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
383 m4trace:/usr/bin/../share/aclocal-1.10/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
384 m4trace:/usr/bin/../share/aclocal-1.10/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
446385 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
447386 ac_status=$?
448387 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
449388 (exit $ac_status); }])
450 m4trace:/opt/local/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
389 m4trace:/usr/bin/../share/aclocal-1.10/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
451390 # Just in case
452391 sleep 1
453392 echo timestamp > conftest.file
454 # Reject unsafe characters in $srcdir or the absolute working directory
455 # name. Accept space and tab only in the latter.
456 am_lf='
457 '
458 case `pwd` in
459 *[[\\\"\#\$\&\'\`$am_lf]]*)
460 AC_MSG_ERROR([unsafe absolute working directory name]);;
461 esac
462 case $srcdir in
463 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
464 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
465 esac
466
467393 # Do `set' in a subshell so we don't clobber the current shell's
468394 # arguments. Must try -L first in case configure is actually a
469395 # symlink; some systems play weird games with the mod time of symlinks
470396 # (eg FreeBSD returns the mod time of the symlink's containing
471397 # directory).
472398 if (
473 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
399 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
474400 if test "$[*]" = "X"; then
475401 # -L didn't work.
476 set X `ls -t "$srcdir/configure" conftest.file`
402 set X `ls -t $srcdir/configure conftest.file`
477403 fi
478404 rm -f conftest.file
479405 if test "$[*]" != "X $srcdir/configure conftest.file" \
497423 Check your system clock])
498424 fi
499425 AC_MSG_RESULT(yes)])
500 m4trace:/opt/local/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
501 [ --enable-silent-rules less verbose build output (undo: `make V=1')
502 --disable-silent-rules verbose build output (undo: `make V=0')])
503 case $enable_silent_rules in
504 yes) AM_DEFAULT_VERBOSITY=0;;
505 no) AM_DEFAULT_VERBOSITY=1;;
506 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
507 esac
508 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
509 AM_BACKSLASH='\'
510 AC_SUBST([AM_BACKSLASH])dnl
511 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
512 ])
513 m4trace:/opt/local/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
426 m4trace:/usr/bin/../share/aclocal-1.10/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
514427 # Installed binaries are usually stripped using `strip' when the user
515428 # run `make install-strip'. However `strip' might not be the right
516429 # tool to use in cross-compilation environments, therefore Automake
521434 fi
522435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
523436 AC_SUBST([INSTALL_STRIP_PROGRAM])])
524 m4trace:/opt/local/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
525 m4trace:/opt/local/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
526 m4trace:/opt/local/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
437 m4trace:/usr/bin/../share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
438 m4trace:/usr/bin/../share/aclocal-1.10/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
527439 AM_MISSING_PROG([AMTAR], [tar])
528440 m4_if([$1], [v7],
529441 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
601513 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?m4_])
602514 m4trace:configure.in:6: -1- m4_pattern_forbid([^dnl$])
603515 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?AS_])
604 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $], [])
516 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $], [])
605517 m4trace:configure.in:6: -1- m4_pattern_allow([^SHELL$])
606518 m4trace:configure.in:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
607519 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
609521 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
610522 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
611523 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
612 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
613524 m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
614525 m4trace:configure.in:6: -1- m4_pattern_allow([^prefix$])
615526 m4trace:configure.in:6: -1- m4_pattern_allow([^program_transform_name$])
637548 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
638549 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
639550 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
640 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
641551 m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
642552 m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_C$])
643553 m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_N$])
649559 m4trace:configure.in:9: -1- AM_INIT_AUTOMAKE([])
650560 m4trace:configure.in:9: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
651561 m4trace:configure.in:9: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
652 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.11.1])
653 m4trace:configure.in:9: -1- _AM_AUTOCONF_VERSION([2.68])
562 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.10])
563 m4trace:configure.in:9: -1- _AM_AUTOCONF_VERSION([2.61])
654564 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
655565 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
656566 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_DATA$])
658568 m4trace:configure.in:9: -1- _AM_SUBST_NOTMAKE([am__isrc])
659569 m4trace:configure.in:9: -1- m4_pattern_allow([^CYGPATH_W$])
660570 m4trace:configure.in:9: -1- _AM_SET_OPTIONS([])
571 m4trace:configure.in:9: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
572 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:198: AC_FOREACH is expanded from...
573 /usr/bin/../share/aclocal-1.10/options.m4:26: _AM_SET_OPTIONS is expanded from...
574 /usr/bin/../share/aclocal-1.10/init.m4:103: AM_INIT_AUTOMAKE is expanded from...
575 configure.in:9: the top level])
661576 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
662577 m4trace:configure.in:9: -1- m4_pattern_allow([^VERSION$])
663578 m4trace:configure.in:9: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
684599 m4trace:configure.in:9: -1- m4_pattern_allow([^STRIP$])
685600 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
686601 m4trace:configure.in:9: -1- AM_PROG_MKDIR_P
687 m4trace:configure.in:9: -1- m4_pattern_allow([^MKDIR_P$])
688602 m4trace:configure.in:9: -1- m4_pattern_allow([^mkdir_p$])
689603 m4trace:configure.in:9: -1- m4_pattern_allow([^AWK$])
690604 m4trace:configure.in:9: -1- m4_pattern_allow([^SET_MAKE$])
691605 m4trace:configure.in:9: -1- AM_SET_LEADING_DOT
692606 m4trace:configure.in:9: -1- m4_pattern_allow([^am__leading_dot$])
693607 m4trace:configure.in:9: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
694 [_AM_PROG_TAR([v7])])])
608 [_AM_PROG_TAR([v7])])])
695609 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([tar-ustar])
696610 m4trace:configure.in:9: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
697611 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([tar-pax])
701615 m4trace:configure.in:9: -1- m4_pattern_allow([^am__tar$])
702616 m4trace:configure.in:9: -1- m4_pattern_allow([^am__untar$])
703617 m4trace:configure.in:9: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
704 [_AM_DEPENDENCIES(CC)],
705 [define([AC_PROG_CC],
706 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
618 [_AM_DEPENDENCIES(CC)],
619 [define([AC_PROG_CC],
620 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
707621 AC_PROVIDE_IFELSE([AC_PROG_CXX],
708 [_AM_DEPENDENCIES(CXX)],
709 [define([AC_PROG_CXX],
710 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
622 [_AM_DEPENDENCIES(CXX)],
623 [define([AC_PROG_CXX],
624 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
711625 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
712 [_AM_DEPENDENCIES(OBJC)],
713 [define([AC_PROG_OBJC],
714 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
626 [_AM_DEPENDENCIES(OBJC)],
627 [define([AC_PROG_OBJC],
628 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
715629 ])
716630 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([no-dependencies])
717 m4trace:configure.in:9: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
718 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([silent-rules])
719631 m4trace:configure.in:12: -1- m4_pattern_allow([^CC$])
720632 m4trace:configure.in:12: -1- m4_pattern_allow([^CFLAGS$])
721633 m4trace:configure.in:12: -1- m4_pattern_allow([^LDFLAGS$])
753665 m4trace:configure.in:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
754666 m4trace:configure.in:13: -1- AM_PROG_CC_C_O
755667 m4trace:configure.in:13: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
756 m4trace:configure.in:16: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
757 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
758 configure.in:16: the top level])
668 m4trace:configure.in:19: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
669 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2368: AC_TRY_COMPILE is expanded from...
670 configure.in:19: the top level])
759671 m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
760 You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from...
672 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/c.m4:511: ac_cv_prog_gcc is expanded from...
761673 configure.in:24: the top level])
762674 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
763675 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
766678 m4trace:configure.in:67: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
767679 m4trace:configure.in:67: -1- m4_pattern_allow([^LEXLIB$])
768680 m4trace:configure.in:67: -1- m4_pattern_allow([^YYTEXT_POINTER$])
769 m4trace:configure.in:106: -2- m4_pattern_allow([^HAVE_LIBZ$])
681 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
682 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
683 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_DATA$])
684 m4trace:configure.in:108: -2- m4_pattern_allow([^HAVE_LIBZ$])
770685 m4trace:configure.in:121: -2- AM_CONDITIONAL([FT2NFDUMP], [true])
771686 m4trace:configure.in:121: -2- m4_pattern_allow([^FT2NFDUMP_TRUE$])
772687 m4trace:configure.in:121: -2- m4_pattern_allow([^FT2NFDUMP_FALSE$])
782697 m4trace:configure.in:157: -2- m4_pattern_allow([^NFPROFILE_FALSE$])
783698 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
784699 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
785 m4trace:configure.in:127: -1- m4_pattern_allow([^RRD_LIBS$])
786 m4trace:configure.in:127: -1- m4_pattern_allow([^CPP$])
787 m4trace:configure.in:127: -1- m4_pattern_allow([^CPPFLAGS$])
788 m4trace:configure.in:127: -1- m4_pattern_allow([^CPP$])
789 m4trace:configure.in:127: -1- m4_pattern_allow([^GREP$])
790 m4trace:configure.in:127: -1- m4_pattern_allow([^EGREP$])
791 m4trace:configure.in:127: -1- m4_pattern_allow([^STDC_HEADERS$])
792 m4trace:configure.in:127: -1- m4_pattern_allow([^HAVE_RRD_H$])
793 m4trace:configure.in:127: -1- AM_CONDITIONAL([NFPROFILE], [true])
794 m4trace:configure.in:127: -1- m4_pattern_allow([^NFPROFILE_TRUE$])
795 m4trace:configure.in:127: -1- m4_pattern_allow([^NFPROFILE_FALSE$])
796 m4trace:configure.in:127: -1- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
797 m4trace:configure.in:127: -1- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
798 m4trace:configure.in:127: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
799 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
800 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
801 configure.in:127: the top level])
700 m4trace:configure.in:158: -1- m4_pattern_allow([^RRD_LIBS$])
701 m4trace:configure.in:158: -1- m4_pattern_allow([^CPP$])
702 m4trace:configure.in:158: -1- m4_pattern_allow([^CPPFLAGS$])
703 m4trace:configure.in:158: -1- m4_pattern_allow([^CPP$])
704 m4trace:configure.in:158: -1- m4_pattern_allow([^GREP$])
705 m4trace:configure.in:158: -1- m4_pattern_allow([^GREP$])
706 m4trace:configure.in:158: -1- m4_pattern_allow([^EGREP$])
707 m4trace:configure.in:158: -1- m4_pattern_allow([^EGREP$])
708 m4trace:configure.in:158: -1- m4_pattern_allow([^STDC_HEADERS$])
709 m4trace:configure.in:158: -1- AM_CONDITIONAL([NFPROFILE], [true])
710 m4trace:configure.in:158: -1- m4_pattern_allow([^NFPROFILE_TRUE$])
711 m4trace:configure.in:158: -1- m4_pattern_allow([^NFPROFILE_FALSE$])
712 m4trace:configure.in:158: -1- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
713 m4trace:configure.in:158: -1- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
714 m4trace:configure.in:158: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2471: AC_RUN_IFELSE is expanded from...
715 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
716 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1373: AC_ARG_ENABLE is expanded from...
717 configure.in:158: the top level])
802718 m4trace:configure.in:190: -2- AM_CONDITIONAL([NFTRACK], [false])
803719 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_TRUE$])
804720 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_FALSE$])
805721 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
806722 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
807 m4trace:configure.in:160: -1- m4_pattern_allow([^RRD_LIBS$])
808 m4trace:configure.in:160: -1- m4_pattern_allow([^HAVE_RRD_H$])
809 m4trace:configure.in:160: -1- AM_CONDITIONAL([NFTRACK], [true])
810 m4trace:configure.in:160: -1- m4_pattern_allow([^NFTRACK_TRUE$])
811 m4trace:configure.in:160: -1- m4_pattern_allow([^NFTRACK_FALSE$])
812 m4trace:configure.in:160: -1- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
813 m4trace:configure.in:160: -1- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
814 m4trace:configure.in:160: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
815 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
816 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
817 configure.in:160: the top level])
723 m4trace:configure.in:191: -1- m4_pattern_allow([^RRD_LIBS$])
724 m4trace:configure.in:191: -1- AM_CONDITIONAL([NFTRACK], [true])
725 m4trace:configure.in:191: -1- m4_pattern_allow([^NFTRACK_TRUE$])
726 m4trace:configure.in:191: -1- m4_pattern_allow([^NFTRACK_FALSE$])
727 m4trace:configure.in:191: -1- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
728 m4trace:configure.in:191: -1- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
729 m4trace:configure.in:191: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2471: AC_RUN_IFELSE is expanded from...
730 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
731 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1373: AC_ARG_ENABLE is expanded from...
732 configure.in:191: the top level])
818733 m4trace:configure.in:195: -1- AM_CONDITIONAL([SFLOW], [test "$enable_sflow" = yes])
819734 m4trace:configure.in:195: -1- m4_pattern_allow([^SFLOW_TRUE$])
820735 m4trace:configure.in:195: -1- m4_pattern_allow([^SFLOW_FALSE$])
826741 m4trace:configure.in:199: -1- _AM_SUBST_NOTMAKE([READPCAP_TRUE])
827742 m4trace:configure.in:199: -1- _AM_SUBST_NOTMAKE([READPCAP_FALSE])
828743 m4trace:configure.in:203: -2- m4_pattern_allow([^HAVE_SOCKADDR_SA_LEN$])
829 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
830 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY$])
831 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN$])
832 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN$])
833 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
744 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
745 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY$])
746 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN$])
747 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN$])
748 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
834749 m4trace:configure.in:217: -1- m4_pattern_allow([^FT_INCLUDES$])
835750 m4trace:configure.in:218: -1- m4_pattern_allow([^FT_LDFLAGS$])
836751 m4trace:configure.in:219: -1- m4_pattern_allow([^LFLAGS$])
837 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
838752 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBNSL$])
839753 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
840 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_SETSOCKOPT$])
841754 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
842755 m4trace:configure.in:232: -1- m4_pattern_allow([^STDC_HEADERS$])
843 m4trace:configure.in:233: -1- m4_pattern_allow([^HAVE_NAMESER8_COMPAT_H$])
844756 m4trace:configure.in:255: -1- m4_pattern_allow([^FTS_OBJ$])
845757 m4trace:configure.in:259: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
846758 m4trace:configure.in:261: -1- m4_pattern_allow([^const$])
847759 m4trace:configure.in:263: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
848 m4trace:configure.in:263: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
849760 m4trace:configure.in:264: -1- m4_pattern_allow([^pid_t$])
850761 m4trace:configure.in:265: -1- m4_pattern_allow([^size_t$])
851762 m4trace:configure.in:266: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
852763 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE__BOOL$])
853764 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
854765 m4trace:configure.in:270: -1- m4_pattern_allow([^CLOSEDIR_VOID$])
855 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_VFORK_H$])
856766 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
857767 m4trace:configure.in:271: -1- m4_pattern_allow([^vfork$])
858768 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
859 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
860769 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
861770 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
862771 m4trace:configure.in:272: -1- m4_pattern_allow([^LIB@&t@OBJS$])
863772 m4trace:configure.in:272: -1- m4_pattern_allow([^malloc$])
864773 m4trace:configure.in:273: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
865 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
866 _AC_HEADERS_EXPANSION])
867 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
868 _AC_HEADERS_EXPANSION])
869 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Func_alarm], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" alarm"])])
870 _AC_FUNCS_EXPANSION])
774 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE],
775 [ac_header_list="$ac_header_list AC_Header"])
776 _AC_HEADERS_EXPANSION])
777 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE],
778 [ac_header_list="$ac_header_list AC_Header"])
779 _AC_HEADERS_EXPANSION])
780 m4trace:configure.in:273: -1- AC_DEFUN([_AC_Func_alarm], [m4_divert_text([INIT_PREPARE],
781 [ac_func_list="$ac_func_list AC_Func"])
782 _AC_FUNCS_EXPANSION])
871783 m4trace:configure.in:273: -1- m4_pattern_allow([^LIB@&t@OBJS$])
872 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
873784 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
874785 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
875786 m4trace:configure.in:274: -1- m4_pattern_allow([^LIB@&t@OBJS$])
879790 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
880791 m4trace:configure.in:275: -1- m4_pattern_allow([^HAVE_STAT_EMPTY_STRING_BUG$])
881792 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
882 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
883 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
884 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
885 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
886 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
887 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
888 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
793 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
794 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
795 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
796 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
797 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
798 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
889799 m4trace:configure.in:297: -1- m4_pattern_allow([^ptrdiff_t$])
890800 m4trace:configure.in:298: -1- m4_pattern_allow([^size_t$])
891801 m4trace:configure.in:299: -1- m4_pattern_allow([^SIZEOF_SHORT$])
897807 m4trace:configure.in:305: -1- m4_pattern_allow([^SIZEOF_SIZE_T$])
898808 m4trace:configure.in:306: -1- m4_pattern_allow([^SIZEOF_PTRDIFF_T$])
899809 m4trace:configure.in:307: -1- m4_pattern_allow([^const$])
900 m4trace:configure.in:311: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
901 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
902 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
903 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
904 configure.in:311: the top level])
810 m4trace:configure.in:325: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
811 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2368: AC_TRY_COMPILE is expanded from...
812 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
813 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1905: AC_CACHE_VAL is expanded from...
814 configure.in:325: the top level])
905815 m4trace:configure.in:329: -1- m4_pattern_allow([^HAVE_SEMUN$])
906 m4trace:configure.in:333: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
907 You should run autoupdate.], [../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
908 configure.in:333: the top level])
909 m4trace:configure.in:333: -1- m4_pattern_allow([^HAVE_SIZE_T_Z_FORMAT$])
816 m4trace:configure.in:359: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
817 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2479: AC_TRY_RUN is expanded from...
818 configure.in:359: the top level])
819 m4trace:configure.in:359: -1- m4_pattern_allow([^HAVE_SIZE_T_Z_FORMAT$])
910820 m4trace:configure.in:362: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
911821 You should run autoupdate.], [])
912822 m4trace:configure.in:362: -1- m4_pattern_allow([^LIB@&t@OBJS$])
913823 m4trace:configure.in:362: -1- m4_pattern_allow([^LTLIBOBJS$])
914 m4trace:configure.in:362: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
915 m4trace:configure.in:362: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
916 m4trace:configure.in:362: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
917 m4trace:configure.in:362: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
918 m4trace:configure.in:362: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
919 m4trace:configure.in:362: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
824 m4trace:configure.in:362: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
920825 m4trace:configure.in:362: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
0 m4trace:configure.in:6: -1- AC_INIT([nfdump], [1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $], [phaag@users.sourceforge.net])
0 m4trace:configure.in:6: -1- AC_INIT([nfdump], [1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $], [phaag@users.sourceforge.net])
11 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
22 m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_])
33 m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
55 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?m4_])
66 m4trace:configure.in:6: -1- m4_pattern_forbid([^dnl$])
77 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?AS_])
8 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $], [])
9 m4trace:configure.in:6: -1- AC_SUBST([SHELL])
8 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $], [])
9 m4trace:configure.in:6: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
1010 m4trace:configure.in:6: -1- AC_SUBST_TRACE([SHELL])
1111 m4trace:configure.in:6: -1- m4_pattern_allow([^SHELL$])
1212 m4trace:configure.in:6: -1- AC_SUBST([PATH_SEPARATOR])
2727 m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
2828 m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
2929 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
30 m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
31 m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_URL])
32 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
3330 m4trace:configure.in:6: -1- AC_SUBST([exec_prefix], [NONE])
3431 m4trace:configure.in:6: -1- AC_SUBST_TRACE([exec_prefix])
3532 m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
10198 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
10299 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
103100 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
104 @%:@undef PACKAGE_NAME])
101 #undef PACKAGE_NAME])
105102 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
106103 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
107104 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
108 @%:@undef PACKAGE_TARNAME])
105 #undef PACKAGE_TARNAME])
109106 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
110107 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
111108 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
112 @%:@undef PACKAGE_VERSION])
109 #undef PACKAGE_VERSION])
113110 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
114111 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
115112 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
116 @%:@undef PACKAGE_STRING])
113 #undef PACKAGE_STRING])
117114 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
118115 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
119116 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
120 @%:@undef PACKAGE_BUGREPORT])
121 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
122 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
123 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
124 @%:@undef PACKAGE_URL])
117 #undef PACKAGE_BUGREPORT])
125118 m4trace:configure.in:6: -1- AC_SUBST([DEFS])
126119 m4trace:configure.in:6: -1- AC_SUBST_TRACE([DEFS])
127120 m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
149142 m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([config.h])
150143 m4trace:configure.in:9: -1- AM_INIT_AUTOMAKE([])
151144 m4trace:configure.in:9: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
152 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.11.1])
145 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.10])
153146 m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([install-sh])
154147 m4trace:configure.in:9: -1- AC_SUBST([INSTALL_PROGRAM])
155148 m4trace:configure.in:9: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
167160 m4trace:configure.in:9: -1- AC_SUBST([CYGPATH_W])
168161 m4trace:configure.in:9: -1- AC_SUBST_TRACE([CYGPATH_W])
169162 m4trace:configure.in:9: -1- m4_pattern_allow([^CYGPATH_W$])
163 m4trace:configure.in:9: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
164 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:198: AC_FOREACH is expanded from...
165 aclocal.m4:701: _AM_SET_OPTIONS is expanded from...
166 aclocal.m4:470: AM_INIT_AUTOMAKE is expanded from...
167 configure.in:9: the top level])
170168 m4trace:configure.in:9: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
171169 m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE])
172170 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
176174 m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
177175 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
178176 m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
179 @%:@undef PACKAGE])
177 #undef PACKAGE])
180178 m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
181179 m4trace:configure.in:9: -1- m4_pattern_allow([^VERSION$])
182180 m4trace:configure.in:9: -1- AH_OUTPUT([VERSION], [/* Version number of package */
183 @%:@undef VERSION])
181 #undef VERSION])
184182 m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([missing])
185183 m4trace:configure.in:9: -1- AC_SUBST([ACLOCAL])
186184 m4trace:configure.in:9: -1- AC_SUBST_TRACE([ACLOCAL])
207205 m4trace:configure.in:9: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
208206 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
209207 m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([install-sh])
210 m4trace:configure.in:9: -1- AC_SUBST([MKDIR_P])
211 m4trace:configure.in:9: -1- AC_SUBST_TRACE([MKDIR_P])
212 m4trace:configure.in:9: -1- m4_pattern_allow([^MKDIR_P$])
213208 m4trace:configure.in:9: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
214209 m4trace:configure.in:9: -1- AC_SUBST_TRACE([mkdir_p])
215210 m4trace:configure.in:9: -1- m4_pattern_allow([^mkdir_p$])
307302 m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O])
308303 m4trace:configure.in:13: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
309304 m4trace:configure.in:13: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */
310 @%:@undef NO_MINUS_C_MINUS_O])
305 #undef NO_MINUS_C_MINUS_O])
311306 m4trace:configure.in:13: -1- AC_REQUIRE_AUX_FILE([compile])
312 m4trace:configure.in:16: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
313 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
314 configure.in:16: the top level])
307 m4trace:configure.in:19: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
308 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2368: AC_TRY_COMPILE is expanded from...
309 configure.in:19: the top level])
315310 m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
316 You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from...
311 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/c.m4:511: ac_cv_prog_gcc is expanded from...
317312 configure.in:24: the top level])
318313 m4trace:configure.in:66: -1- AC_SUBST([YACC])
319314 m4trace:configure.in:66: -1- AC_SUBST_TRACE([YACC])
336331 m4trace:configure.in:67: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
337332 m4trace:configure.in:67: -1- m4_pattern_allow([^YYTEXT_POINTER$])
338333 m4trace:configure.in:67: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
339 `char@<:@@:>@\'. */
340 @%:@undef YYTEXT_POINTER])
341 m4trace:configure.in:106: -2- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the `z\' library (-lz). */
342 @%:@undef HAVE_LIBZ])
343 m4trace:configure.in:106: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ])
344 m4trace:configure.in:106: -2- m4_pattern_allow([^HAVE_LIBZ$])
334 `char[]\'. */
335 #undef YYTEXT_POINTER])
336 m4trace:configure.in:72: -1- AC_REQUIRE_AUX_FILE([install-sh])
337 m4trace:configure.in:72: -1- AC_SUBST([INSTALL_PROGRAM])
338 m4trace:configure.in:72: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
339 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
340 m4trace:configure.in:72: -1- AC_SUBST([INSTALL_SCRIPT])
341 m4trace:configure.in:72: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
342 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
343 m4trace:configure.in:72: -1- AC_SUBST([INSTALL_DATA])
344 m4trace:configure.in:72: -1- AC_SUBST_TRACE([INSTALL_DATA])
345 m4trace:configure.in:72: -1- m4_pattern_allow([^INSTALL_DATA$])
346 m4trace:configure.in:108: -2- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the `z\' library (-lz). */
347 #undef HAVE_LIBZ])
348 m4trace:configure.in:108: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ])
349 m4trace:configure.in:108: -2- m4_pattern_allow([^HAVE_LIBZ$])
345350 m4trace:configure.in:121: -2- AM_CONDITIONAL([FT2NFDUMP], [true])
346351 m4trace:configure.in:121: -2- AC_SUBST([FT2NFDUMP_TRUE])
347352 m4trace:configure.in:121: -2- AC_SUBST_TRACE([FT2NFDUMP_TRUE])
369374 m4trace:configure.in:157: -2- m4_pattern_allow([^NFPROFILE_FALSE$])
370375 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
371376 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
372 m4trace:configure.in:127: -1- AC_SUBST([RRD_LIBS])
373 m4trace:configure.in:127: -1- AC_SUBST_TRACE([RRD_LIBS])
374 m4trace:configure.in:127: -1- m4_pattern_allow([^RRD_LIBS$])
375 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_RRD_H], [/* Define to 1 if you have the <rrd.h> header file. */
376 @%:@undef HAVE_RRD_H])
377 m4trace:configure.in:127: -1- AC_SUBST([CPP])
378 m4trace:configure.in:127: -1- AC_SUBST_TRACE([CPP])
379 m4trace:configure.in:127: -1- m4_pattern_allow([^CPP$])
380 m4trace:configure.in:127: -1- AC_SUBST([CPPFLAGS])
381 m4trace:configure.in:127: -1- AC_SUBST_TRACE([CPPFLAGS])
382 m4trace:configure.in:127: -1- m4_pattern_allow([^CPPFLAGS$])
383 m4trace:configure.in:127: -1- AC_SUBST([CPP])
384 m4trace:configure.in:127: -1- AC_SUBST_TRACE([CPP])
385 m4trace:configure.in:127: -1- m4_pattern_allow([^CPP$])
386 m4trace:configure.in:127: -1- AC_SUBST([GREP])
387 m4trace:configure.in:127: -1- AC_SUBST_TRACE([GREP])
388 m4trace:configure.in:127: -1- m4_pattern_allow([^GREP$])
389 m4trace:configure.in:127: -1- AC_SUBST([EGREP])
390 m4trace:configure.in:127: -1- AC_SUBST_TRACE([EGREP])
391 m4trace:configure.in:127: -1- m4_pattern_allow([^EGREP$])
392 m4trace:configure.in:127: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
393 m4trace:configure.in:127: -1- m4_pattern_allow([^STDC_HEADERS$])
394 m4trace:configure.in:127: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
395 @%:@undef STDC_HEADERS])
396 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
397 @%:@undef HAVE_SYS_TYPES_H])
398 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
399 @%:@undef HAVE_SYS_STAT_H])
400 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
401 @%:@undef HAVE_STDLIB_H])
402 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
403 @%:@undef HAVE_STRING_H])
404 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
405 @%:@undef HAVE_MEMORY_H])
406 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
407 @%:@undef HAVE_STRINGS_H])
408 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
409 @%:@undef HAVE_INTTYPES_H])
410 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
411 @%:@undef HAVE_STDINT_H])
412 m4trace:configure.in:127: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
413 @%:@undef HAVE_UNISTD_H])
414 m4trace:configure.in:127: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RRD_H])
415 m4trace:configure.in:127: -1- m4_pattern_allow([^HAVE_RRD_H$])
416 m4trace:configure.in:127: -1- AM_CONDITIONAL([NFPROFILE], [true])
417 m4trace:configure.in:127: -1- AC_SUBST([NFPROFILE_TRUE])
418 m4trace:configure.in:127: -1- AC_SUBST_TRACE([NFPROFILE_TRUE])
419 m4trace:configure.in:127: -1- m4_pattern_allow([^NFPROFILE_TRUE$])
420 m4trace:configure.in:127: -1- AC_SUBST([NFPROFILE_FALSE])
421 m4trace:configure.in:127: -1- AC_SUBST_TRACE([NFPROFILE_FALSE])
422 m4trace:configure.in:127: -1- m4_pattern_allow([^NFPROFILE_FALSE$])
423 m4trace:configure.in:127: -1- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
424 m4trace:configure.in:127: -1- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
425 m4trace:configure.in:127: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
426 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
427 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
428 configure.in:127: the top level])
377 m4trace:configure.in:158: -1- AC_SUBST([RRD_LIBS])
378 m4trace:configure.in:158: -1- AC_SUBST_TRACE([RRD_LIBS])
379 m4trace:configure.in:158: -1- m4_pattern_allow([^RRD_LIBS$])
380 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_RRD_H], [/* Define to 1 if you have the <rrd.h> header file. */
381 #undef HAVE_RRD_H])
382 m4trace:configure.in:158: -1- AC_SUBST([CPP])
383 m4trace:configure.in:158: -1- AC_SUBST_TRACE([CPP])
384 m4trace:configure.in:158: -1- m4_pattern_allow([^CPP$])
385 m4trace:configure.in:158: -1- AC_SUBST([CPPFLAGS])
386 m4trace:configure.in:158: -1- AC_SUBST_TRACE([CPPFLAGS])
387 m4trace:configure.in:158: -1- m4_pattern_allow([^CPPFLAGS$])
388 m4trace:configure.in:158: -1- AC_SUBST([CPP])
389 m4trace:configure.in:158: -1- AC_SUBST_TRACE([CPP])
390 m4trace:configure.in:158: -1- m4_pattern_allow([^CPP$])
391 m4trace:configure.in:158: -1- AC_SUBST([GREP])
392 m4trace:configure.in:158: -1- AC_SUBST_TRACE([GREP])
393 m4trace:configure.in:158: -1- m4_pattern_allow([^GREP$])
394 m4trace:configure.in:158: -1- AC_SUBST([GREP])
395 m4trace:configure.in:158: -1- AC_SUBST_TRACE([GREP])
396 m4trace:configure.in:158: -1- m4_pattern_allow([^GREP$])
397 m4trace:configure.in:158: -1- AC_SUBST([EGREP])
398 m4trace:configure.in:158: -1- AC_SUBST_TRACE([EGREP])
399 m4trace:configure.in:158: -1- m4_pattern_allow([^EGREP$])
400 m4trace:configure.in:158: -1- AC_SUBST([EGREP])
401 m4trace:configure.in:158: -1- AC_SUBST_TRACE([EGREP])
402 m4trace:configure.in:158: -1- m4_pattern_allow([^EGREP$])
403 m4trace:configure.in:158: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
404 m4trace:configure.in:158: -1- m4_pattern_allow([^STDC_HEADERS$])
405 m4trace:configure.in:158: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
406 #undef STDC_HEADERS])
407 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
408 #undef HAVE_SYS_TYPES_H])
409 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
410 #undef HAVE_SYS_STAT_H])
411 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
412 #undef HAVE_STDLIB_H])
413 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
414 #undef HAVE_STRING_H])
415 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
416 #undef HAVE_MEMORY_H])
417 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
418 #undef HAVE_STRINGS_H])
419 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
420 #undef HAVE_INTTYPES_H])
421 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
422 #undef HAVE_STDINT_H])
423 m4trace:configure.in:158: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
424 #undef HAVE_UNISTD_H])
425 m4trace:configure.in:158: -1- AM_CONDITIONAL([NFPROFILE], [true])
426 m4trace:configure.in:158: -1- AC_SUBST([NFPROFILE_TRUE])
427 m4trace:configure.in:158: -1- AC_SUBST_TRACE([NFPROFILE_TRUE])
428 m4trace:configure.in:158: -1- m4_pattern_allow([^NFPROFILE_TRUE$])
429 m4trace:configure.in:158: -1- AC_SUBST([NFPROFILE_FALSE])
430 m4trace:configure.in:158: -1- AC_SUBST_TRACE([NFPROFILE_FALSE])
431 m4trace:configure.in:158: -1- m4_pattern_allow([^NFPROFILE_FALSE$])
432 m4trace:configure.in:158: -1- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
433 m4trace:configure.in:158: -1- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
434 m4trace:configure.in:158: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2471: AC_RUN_IFELSE is expanded from...
435 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
436 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1373: AC_ARG_ENABLE is expanded from...
437 configure.in:158: the top level])
429438 m4trace:configure.in:190: -2- AM_CONDITIONAL([NFTRACK], [false])
430439 m4trace:configure.in:190: -2- AC_SUBST([NFTRACK_TRUE])
431440 m4trace:configure.in:190: -2- AC_SUBST_TRACE([NFTRACK_TRUE])
435444 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_FALSE$])
436445 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
437446 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
438 m4trace:configure.in:160: -1- AC_SUBST([RRD_LIBS])
439 m4trace:configure.in:160: -1- AC_SUBST_TRACE([RRD_LIBS])
440 m4trace:configure.in:160: -1- m4_pattern_allow([^RRD_LIBS$])
441 m4trace:configure.in:160: -1- AH_OUTPUT([HAVE_RRD_H], [/* Define to 1 if you have the <rrd.h> header file. */
442 @%:@undef HAVE_RRD_H])
443 m4trace:configure.in:160: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RRD_H])
444 m4trace:configure.in:160: -1- m4_pattern_allow([^HAVE_RRD_H$])
445 m4trace:configure.in:160: -1- AM_CONDITIONAL([NFTRACK], [true])
446 m4trace:configure.in:160: -1- AC_SUBST([NFTRACK_TRUE])
447 m4trace:configure.in:160: -1- AC_SUBST_TRACE([NFTRACK_TRUE])
448 m4trace:configure.in:160: -1- m4_pattern_allow([^NFTRACK_TRUE$])
449 m4trace:configure.in:160: -1- AC_SUBST([NFTRACK_FALSE])
450 m4trace:configure.in:160: -1- AC_SUBST_TRACE([NFTRACK_FALSE])
451 m4trace:configure.in:160: -1- m4_pattern_allow([^NFTRACK_FALSE$])
452 m4trace:configure.in:160: -1- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
453 m4trace:configure.in:160: -1- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
454 m4trace:configure.in:160: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
455 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
456 ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
457 configure.in:160: the top level])
447 m4trace:configure.in:191: -1- AC_SUBST([RRD_LIBS])
448 m4trace:configure.in:191: -1- AC_SUBST_TRACE([RRD_LIBS])
449 m4trace:configure.in:191: -1- m4_pattern_allow([^RRD_LIBS$])
450 m4trace:configure.in:191: -1- AH_OUTPUT([HAVE_RRD_H], [/* Define to 1 if you have the <rrd.h> header file. */
451 #undef HAVE_RRD_H])
452 m4trace:configure.in:191: -1- AM_CONDITIONAL([NFTRACK], [true])
453 m4trace:configure.in:191: -1- AC_SUBST([NFTRACK_TRUE])
454 m4trace:configure.in:191: -1- AC_SUBST_TRACE([NFTRACK_TRUE])
455 m4trace:configure.in:191: -1- m4_pattern_allow([^NFTRACK_TRUE$])
456 m4trace:configure.in:191: -1- AC_SUBST([NFTRACK_FALSE])
457 m4trace:configure.in:191: -1- AC_SUBST_TRACE([NFTRACK_FALSE])
458 m4trace:configure.in:191: -1- m4_pattern_allow([^NFTRACK_FALSE$])
459 m4trace:configure.in:191: -1- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
460 m4trace:configure.in:191: -1- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
461 m4trace:configure.in:191: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2471: AC_RUN_IFELSE is expanded from...
462 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
463 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1373: AC_ARG_ENABLE is expanded from...
464 configure.in:191: the top level])
458465 m4trace:configure.in:195: -1- AM_CONDITIONAL([SFLOW], [test "$enable_sflow" = yes])
459466 m4trace:configure.in:195: -1- AC_SUBST([SFLOW_TRUE])
460467 m4trace:configure.in:195: -1- AC_SUBST_TRACE([SFLOW_TRUE])
476483 m4trace:configure.in:203: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_SA_LEN])
477484 m4trace:configure.in:203: -2- m4_pattern_allow([^HAVE_SOCKADDR_SA_LEN$])
478485 m4trace:configure.in:203: -2- AH_OUTPUT([HAVE_SOCKADDR_SA_LEN], [/* define if socket address structures have length fields */
479 @%:@undef HAVE_SOCKADDR_SA_LEN])
480 m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
481 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
482 m4trace:configure.in:207: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY], [/* Define to 1 if `ss_family\' is a member of `struct sockaddr_storage\'. */
483 @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
484 m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY])
485 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY$])
486 m4trace:configure.in:207: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY], [/* Define to 1 if `__ss_family\' is a member of `struct sockaddr_storage\'. */
487 @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY])
488 m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN])
489 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN$])
490 m4trace:configure.in:207: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN], [/* Define to 1 if `ss_len\' is a member of `struct sockaddr_storage\'. */
491 @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN])
492 m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN])
493 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN$])
494 m4trace:configure.in:207: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN], [/* Define to 1 if `__ss_len\' is a member of `struct sockaddr_storage\'. */
495 @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN])
496 m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
497 m4trace:configure.in:207: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
498 m4trace:configure.in:207: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define to 1 if `sa_len\' is a member of `struct sockaddr\'. */
499 @%:@undef HAVE_STRUCT_SOCKADDR_SA_LEN])
486 #undef HAVE_SOCKADDR_SA_LEN])
487 m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
488 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
489 m4trace:configure.in:214: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY], [/* Define to 1 if `ss_family\' is member of `struct sockaddr_storage\'. */
490 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
491 m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY])
492 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY$])
493 m4trace:configure.in:214: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY], [/* Define to 1 if `__ss_family\' is member of `struct sockaddr_storage\'. */
494 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY])
495 m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN])
496 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN$])
497 m4trace:configure.in:214: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN], [/* Define to 1 if `ss_len\' is member of `struct sockaddr_storage\'. */
498 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN])
499 m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN])
500 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN$])
501 m4trace:configure.in:214: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN], [/* Define to 1 if `__ss_len\' is member of `struct sockaddr_storage\'. */
502 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN])
503 m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
504 m4trace:configure.in:214: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
505 m4trace:configure.in:214: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define to 1 if `sa_len\' is member of `struct sockaddr\'. */
506 #undef HAVE_STRUCT_SOCKADDR_SA_LEN])
500507 m4trace:configure.in:217: -1- AC_SUBST([FT_INCLUDES])
501508 m4trace:configure.in:217: -1- AC_SUBST_TRACE([FT_INCLUDES])
502509 m4trace:configure.in:217: -1- m4_pattern_allow([^FT_INCLUDES$])
507514 m4trace:configure.in:219: -1- AC_SUBST_TRACE([LFLAGS])
508515 m4trace:configure.in:219: -1- m4_pattern_allow([^LFLAGS$])
509516 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
510 @%:@undef HAVE_GETHOSTBYNAME])
511 m4trace:configure.in:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME])
512 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
517 #undef HAVE_GETHOSTBYNAME])
513518 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
514 @%:@undef HAVE_LIBNSL])
519 #undef HAVE_LIBNSL])
515520 m4trace:configure.in:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
516521 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBNSL$])
517522 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
518 @%:@undef HAVE_LIBSOCKET])
523 #undef HAVE_LIBSOCKET])
519524 m4trace:configure.in:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
520525 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
521526 m4trace:configure.in:224: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the `setsockopt\' function. */
522 @%:@undef HAVE_SETSOCKOPT])
523 m4trace:configure.in:224: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETSOCKOPT])
524 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_SETSOCKOPT$])
527 #undef HAVE_SETSOCKOPT])
525528 m4trace:configure.in:224: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
526 @%:@undef HAVE_LIBSOCKET])
529 #undef HAVE_LIBSOCKET])
527530 m4trace:configure.in:224: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
528531 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
529532 m4trace:configure.in:227: -1- AH_OUTPUT([HAVE_FPURGE], [/* Define to 1 if you have the `fpurge\' function. */
530 @%:@undef HAVE_FPURGE])
533 #undef HAVE_FPURGE])
531534 m4trace:configure.in:227: -1- AH_OUTPUT([HAVE___FPURGE], [/* Define to 1 if you have the `__fpurge\' function. */
532 @%:@undef HAVE___FPURGE])
535 #undef HAVE___FPURGE])
533536 m4trace:configure.in:231: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
534537 */
535 @%:@undef HAVE_DIRENT_H])
538 #undef HAVE_DIRENT_H])
536539 m4trace:configure.in:231: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
537540 */
538 @%:@undef HAVE_SYS_NDIR_H])
541 #undef HAVE_SYS_NDIR_H])
539542 m4trace:configure.in:231: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
540543 */
541 @%:@undef HAVE_SYS_DIR_H])
544 #undef HAVE_SYS_DIR_H])
542545 m4trace:configure.in:231: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
543 @%:@undef HAVE_NDIR_H])
546 #undef HAVE_NDIR_H])
544547 m4trace:configure.in:232: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
545548 m4trace:configure.in:232: -1- m4_pattern_allow([^STDC_HEADERS$])
546549 m4trace:configure.in:232: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
547 @%:@undef STDC_HEADERS])
550 #undef STDC_HEADERS])
548551 m4trace:configure.in:233: -1- AH_OUTPUT([HAVE_NAMESER8_COMPAT_H], [/* Define to 1 if you have the <nameser8_compat.h> header file. */
549 @%:@undef HAVE_NAMESER8_COMPAT_H])
550 m4trace:configure.in:233: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NAMESER8_COMPAT_H])
551 m4trace:configure.in:233: -1- m4_pattern_allow([^HAVE_NAMESER8_COMPAT_H$])
552 #undef HAVE_NAMESER8_COMPAT_H])
552553 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
553 @%:@undef HAVE_ARPA_INET_H])
554 #undef HAVE_ARPA_INET_H])
554555 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
555 @%:@undef HAVE_FCNTL_H])
556 #undef HAVE_FCNTL_H])
556557 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
557 @%:@undef HAVE_NETINET_IN_H])
558 #undef HAVE_NETINET_IN_H])
558559 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_FTS_H], [/* Define to 1 if you have the <fts.h> header file. */
559 @%:@undef HAVE_FTS_H])
560 #undef HAVE_FTS_H])
560561 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
561 @%:@undef HAVE_STDINT_H])
562 #undef HAVE_STDINT_H])
562563 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
563 @%:@undef HAVE_STDLIB_H])
564 #undef HAVE_STDLIB_H])
564565 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
565 @%:@undef HAVE_STDDEF_H])
566 #undef HAVE_STDDEF_H])
566567 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
567 @%:@undef HAVE_STRING_H])
568 #undef HAVE_STRING_H])
568569 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
569 @%:@undef HAVE_SYS_SOCKET_H])
570 #undef HAVE_SYS_SOCKET_H])
570571 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
571 @%:@undef HAVE_SYSLOG_H])
572 #undef HAVE_SYSLOG_H])
572573 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
573 @%:@undef HAVE_UNISTD_H])
574 #undef HAVE_UNISTD_H])
574575 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_ISO_LIMITS_ISO_H], [/* Define to 1 if you have the <iso/limits_iso.h> header file. */
575 @%:@undef HAVE_ISO_LIMITS_ISO_H])
576 m4trace:configure.in:236: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
577 @%:@undef HAVE_SYS_TYPES_H])
578 m4trace:configure.in:236: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
579 @%:@undef HAVE_NETINET_IN_H])
580 m4trace:configure.in:236: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
581 @%:@undef HAVE_ARPA_NAMESER_H])
582 m4trace:configure.in:236: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
583 @%:@undef HAVE_NETDB_H])
584 m4trace:configure.in:236: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
585 @%:@undef HAVE_RESOLV_H])
576 #undef HAVE_ISO_LIMITS_ISO_H])
577 m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
578 #undef HAVE_SYS_TYPES_H])
579 m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
580 #undef HAVE_NETINET_IN_H])
581 m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
582 #undef HAVE_ARPA_NAMESER_H])
583 m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
584 #undef HAVE_NETDB_H])
585 m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
586 #undef HAVE_RESOLV_H])
586587 m4trace:configure.in:255: -1- AC_SUBST([FTS_OBJ])
587588 m4trace:configure.in:255: -1- AC_SUBST_TRACE([FTS_OBJ])
588589 m4trace:configure.in:255: -1- m4_pattern_allow([^FTS_OBJ$])
589590 m4trace:configure.in:259: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
590591 m4trace:configure.in:259: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
591592 m4trace:configure.in:259: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */
592 @%:@undef SIZEOF_VOID_P])
593 #undef SIZEOF_VOID_P])
593594 m4trace:configure.in:261: -1- AC_DEFINE_TRACE_LITERAL([const])
594595 m4trace:configure.in:261: -1- m4_pattern_allow([^const$])
595596 m4trace:configure.in:261: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
596 @%:@undef const])
597 #undef const])
597598 m4trace:configure.in:262: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
598599 calls it, or to nothing if \'inline\' is not supported under any name. */
599600 #ifndef __cplusplus
600601 #undef inline
601602 #endif])
602 m4trace:configure.in:263: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
603 significant byte first (like Motorola and SPARC, unlike Intel). */
604 #if defined AC_APPLE_UNIVERSAL_BUILD
605 # if defined __BIG_ENDIAN__
606 # define WORDS_BIGENDIAN 1
607 # endif
608 #else
609 # ifndef WORDS_BIGENDIAN
610 # undef WORDS_BIGENDIAN
611 # endif
612 #endif])
613603 m4trace:configure.in:263: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
614604 m4trace:configure.in:263: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
615 m4trace:configure.in:263: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
616 m4trace:configure.in:263: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
617 m4trace:configure.in:263: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
618 @%:@undef AC_APPLE_UNIVERSAL_BUILD])
605 m4trace:configure.in:263: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define to 1 if your processor stores words with the most significant byte
606 first (like Motorola and SPARC, unlike Intel and VAX). */
607 #undef WORDS_BIGENDIAN])
619608 m4trace:configure.in:264: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
620609 m4trace:configure.in:264: -1- m4_pattern_allow([^pid_t$])
621610 m4trace:configure.in:264: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
622 @%:@undef pid_t])
611 #undef pid_t])
623612 m4trace:configure.in:265: -1- AC_DEFINE_TRACE_LITERAL([size_t])
624613 m4trace:configure.in:265: -1- m4_pattern_allow([^size_t$])
625614 m4trace:configure.in:265: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
626 @%:@undef size_t])
615 #undef size_t])
627616 m4trace:configure.in:266: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
628617 m4trace:configure.in:266: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
629618 m4trace:configure.in:266: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
630 @%:@undef TM_IN_SYS_TIME])
619 #undef TM_IN_SYS_TIME])
631620 m4trace:configure.in:267: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
632621 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE__BOOL$])
633622 m4trace:configure.in:267: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
634 @%:@undef HAVE__BOOL])
623 #undef HAVE__BOOL])
635624 m4trace:configure.in:267: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
636625 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
637626 m4trace:configure.in:267: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
638 @%:@undef HAVE_STDBOOL_H])
627 #undef HAVE_STDBOOL_H])
639628 m4trace:configure.in:270: -1- AC_DEFINE_TRACE_LITERAL([CLOSEDIR_VOID])
640629 m4trace:configure.in:270: -1- m4_pattern_allow([^CLOSEDIR_VOID$])
641630 m4trace:configure.in:270: -1- AH_OUTPUT([CLOSEDIR_VOID], [/* Define to 1 if the `closedir\' function returns void instead of `int\'. */
642 @%:@undef CLOSEDIR_VOID])
631 #undef CLOSEDIR_VOID])
643632 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
644 @%:@undef HAVE_VFORK_H])
645 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VFORK_H])
646 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_VFORK_H$])
633 #undef HAVE_VFORK_H])
647634 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
648 @%:@undef HAVE_FORK])
635 #undef HAVE_FORK])
649636 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
650 @%:@undef HAVE_VFORK])
637 #undef HAVE_VFORK])
651638 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
652639 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
653640 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
654 @%:@undef HAVE_WORKING_VFORK])
641 #undef HAVE_WORKING_VFORK])
655642 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([vfork])
656643 m4trace:configure.in:271: -1- m4_pattern_allow([^vfork$])
657644 m4trace:configure.in:271: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
658 @%:@undef vfork])
645 #undef vfork])
659646 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
660647 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
661648 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
662 @%:@undef HAVE_WORKING_FORK])
649 #undef HAVE_WORKING_FORK])
663650 m4trace:configure.in:272: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
664 @%:@undef HAVE_STDLIB_H])
665 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
666 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
651 #undef HAVE_STDLIB_H])
667652 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
668653 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
669654 m4trace:configure.in:272: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
670655 to 0 otherwise. */
671 @%:@undef HAVE_MALLOC])
656 #undef HAVE_MALLOC])
672657 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
673658 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
659 m4trace:configure.in:272: -1- AC_LIBSOURCE([malloc.c])
674660 m4trace:configure.in:272: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
675661 m4trace:configure.in:272: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
676662 m4trace:configure.in:272: -1- m4_pattern_allow([^LIB@&t@OBJS$])
677 m4trace:configure.in:272: -1- AC_LIBSOURCE([malloc.c])
678663 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([malloc])
679664 m4trace:configure.in:272: -1- m4_pattern_allow([^malloc$])
680665 m4trace:configure.in:272: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
681 @%:@undef malloc])
666 #undef malloc])
682667 m4trace:configure.in:273: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
683668 m4trace:configure.in:273: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
684669 m4trace:configure.in:273: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
685 @%:@undef TIME_WITH_SYS_TIME])
670 #undef TIME_WITH_SYS_TIME])
686671 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
687 @%:@undef HAVE_SYS_TIME_H])
672 #undef HAVE_SYS_TIME_H])
688673 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
689 @%:@undef HAVE_UNISTD_H])
674 #undef HAVE_UNISTD_H])
690675 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the `alarm\' function. */
691 @%:@undef HAVE_ALARM])
676 #undef HAVE_ALARM])
677 m4trace:configure.in:273: -1- AC_LIBSOURCE([mktime.c])
692678 m4trace:configure.in:273: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS mktime.$ac_objext"])
693679 m4trace:configure.in:273: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
694680 m4trace:configure.in:273: -1- m4_pattern_allow([^LIB@&t@OBJS$])
695 m4trace:configure.in:273: -1- AC_LIBSOURCE([mktime.c])
696681 m4trace:configure.in:274: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
697 @%:@undef HAVE_STDLIB_H])
698 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
699 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
682 #undef HAVE_STDLIB_H])
700683 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
701684 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
702685 m4trace:configure.in:274: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
703686 and to 0 otherwise. */
704 @%:@undef HAVE_REALLOC])
687 #undef HAVE_REALLOC])
705688 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
706689 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
690 m4trace:configure.in:274: -1- AC_LIBSOURCE([realloc.c])
707691 m4trace:configure.in:274: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
708692 m4trace:configure.in:274: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
709693 m4trace:configure.in:274: -1- m4_pattern_allow([^LIB@&t@OBJS$])
710 m4trace:configure.in:274: -1- AC_LIBSOURCE([realloc.c])
711694 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([realloc])
712695 m4trace:configure.in:274: -1- m4_pattern_allow([^realloc$])
713696 m4trace:configure.in:274: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
714 @%:@undef realloc])
697 #undef realloc])
715698 m4trace:configure.in:275: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
716699 m4trace:configure.in:275: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
717700 m4trace:configure.in:275: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
718701 slash. */
719 @%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
702 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
703 m4trace:configure.in:275: -1- AC_LIBSOURCE([lstat.c])
720704 m4trace:configure.in:275: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS lstat.$ac_objext"])
721705 m4trace:configure.in:275: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
722706 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
723 m4trace:configure.in:275: -1- AC_LIBSOURCE([lstat.c])
707 m4trace:configure.in:275: -1- AC_LIBSOURCE([stat.c])
724708 m4trace:configure.in:275: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS stat.$ac_objext"])
725709 m4trace:configure.in:275: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
726710 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
727 m4trace:configure.in:275: -1- AC_LIBSOURCE([stat.c])
728711 m4trace:configure.in:275: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG])
729712 m4trace:configure.in:275: -1- m4_pattern_allow([^HAVE_STAT_EMPTY_STRING_BUG$])
730713 m4trace:configure.in:275: -1- AH_OUTPUT([HAVE_STAT_EMPTY_STRING_BUG], [/* Define to 1 if `stat\' has the bug that it succeeds when given the
731714 zero-length file name argument. */
732 @%:@undef HAVE_STAT_EMPTY_STRING_BUG])
715 #undef HAVE_STAT_EMPTY_STRING_BUG])
733716 m4trace:configure.in:276: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the `strftime\' function. */
734 @%:@undef HAVE_STRFTIME])
735 m4trace:configure.in:276: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
736 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
717 #undef HAVE_STRFTIME])
737718 m4trace:configure.in:276: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
738719 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
739720 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */
740 @%:@undef HAVE_INET_NTOA])
721 #undef HAVE_INET_NTOA])
741722 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
742 @%:@undef HAVE_SOCKET])
723 #undef HAVE_SOCKET])
743724 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
744 @%:@undef HAVE_STRCHR])
725 #undef HAVE_STRCHR])
745726 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
746 @%:@undef HAVE_STRDUP])
727 #undef HAVE_STRDUP])
747728 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
748 @%:@undef HAVE_STRERROR])
729 #undef HAVE_STRERROR])
749730 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
750 @%:@undef HAVE_STRRCHR])
731 #undef HAVE_STRRCHR])
751732 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
752 @%:@undef HAVE_STRSTR])
733 #undef HAVE_STRSTR])
753734 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_SCANDIR], [/* Define to 1 if you have the `scandir\' function. */
754 @%:@undef HAVE_SCANDIR])
755 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
756 @%:@undef HAVE_LIBRESOLV])
757 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
758 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
759 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
760 @%:@undef HAVE_LIBRESOLV])
761 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
762 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
763 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
764 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
765 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* */
766 @%:@undef HAVE_LIBSOCKET])
767 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
768 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
769 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* */
770 @%:@undef HAVE_LIBRESOLV])
771 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
772 @%:@undef HAVE_LIBRESOLV])
773 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
774 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
775 m4trace:configure.in:282: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
776 @%:@undef HAVE_LIBRESOLV])
777 m4trace:configure.in:282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
778 m4trace:configure.in:282: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
735 #undef HAVE_SCANDIR])
736 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
737 #undef HAVE_LIBRESOLV])
738 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
739 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
740 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
741 #undef HAVE_LIBRESOLV])
742 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
743 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
744 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
745 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
746 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* */
747 #undef HAVE_LIBSOCKET])
748 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
749 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
750 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* */
751 #undef HAVE_LIBRESOLV])
752 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
753 #undef HAVE_LIBRESOLV])
754 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
755 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
756 m4trace:configure.in:294: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
757 #undef HAVE_LIBRESOLV])
758 m4trace:configure.in:294: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
759 m4trace:configure.in:294: -1- m4_pattern_allow([^HAVE_LIBRESOLV$])
779760 m4trace:configure.in:297: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
780761 m4trace:configure.in:297: -1- m4_pattern_allow([^ptrdiff_t$])
781762 m4trace:configure.in:297: -1- AH_OUTPUT([ptrdiff_t], [/* Define to `long\' if <sys/types.h> does not define. */
782 @%:@undef ptrdiff_t])
763 #undef ptrdiff_t])
783764 m4trace:configure.in:298: -1- AC_DEFINE_TRACE_LITERAL([size_t])
784765 m4trace:configure.in:298: -1- m4_pattern_allow([^size_t$])
785766 m4trace:configure.in:298: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
786 @%:@undef size_t])
767 #undef size_t])
787768 m4trace:configure.in:299: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT])
788769 m4trace:configure.in:299: -1- m4_pattern_allow([^SIZEOF_SHORT$])
789770 m4trace:configure.in:299: -1- AH_OUTPUT([SIZEOF_SHORT], [/* The size of `short\', as computed by sizeof. */
790 @%:@undef SIZEOF_SHORT])
771 #undef SIZEOF_SHORT])
791772 m4trace:configure.in:300: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
792773 m4trace:configure.in:300: -1- m4_pattern_allow([^SIZEOF_INT$])
793774 m4trace:configure.in:300: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of `int\', as computed by sizeof. */
794 @%:@undef SIZEOF_INT])
775 #undef SIZEOF_INT])
795776 m4trace:configure.in:301: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
796777 m4trace:configure.in:301: -1- m4_pattern_allow([^SIZEOF_LONG$])
797778 m4trace:configure.in:301: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of `long\', as computed by sizeof. */
798 @%:@undef SIZEOF_LONG])
779 #undef SIZEOF_LONG])
799780 m4trace:configure.in:302: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG])
800781 m4trace:configure.in:302: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$])
801782 m4trace:configure.in:302: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* The size of `long long\', as computed by sizeof. */
802 @%:@undef SIZEOF_LONG_LONG])
783 #undef SIZEOF_LONG_LONG])
803784 m4trace:configure.in:303: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF___INT64])
804785 m4trace:configure.in:303: -1- m4_pattern_allow([^SIZEOF___INT64$])
805786 m4trace:configure.in:303: -1- AH_OUTPUT([SIZEOF___INT64], [/* The size of `__int64\', as computed by sizeof. */
806 @%:@undef SIZEOF___INT64])
787 #undef SIZEOF___INT64])
807788 m4trace:configure.in:304: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
808789 m4trace:configure.in:304: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
809790 m4trace:configure.in:304: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */
810 @%:@undef SIZEOF_VOID_P])
791 #undef SIZEOF_VOID_P])
811792 m4trace:configure.in:305: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T])
812793 m4trace:configure.in:305: -1- m4_pattern_allow([^SIZEOF_SIZE_T$])
813794 m4trace:configure.in:305: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* The size of `size_t\', as computed by sizeof. */
814 @%:@undef SIZEOF_SIZE_T])
795 #undef SIZEOF_SIZE_T])
815796 m4trace:configure.in:306: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_PTRDIFF_T])
816797 m4trace:configure.in:306: -1- m4_pattern_allow([^SIZEOF_PTRDIFF_T$])
817798 m4trace:configure.in:306: -1- AH_OUTPUT([SIZEOF_PTRDIFF_T], [/* The size of `ptrdiff_t\', as computed by sizeof. */
818 @%:@undef SIZEOF_PTRDIFF_T])
799 #undef SIZEOF_PTRDIFF_T])
819800 m4trace:configure.in:307: -1- AC_DEFINE_TRACE_LITERAL([const])
820801 m4trace:configure.in:307: -1- m4_pattern_allow([^const$])
821802 m4trace:configure.in:307: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
822 @%:@undef const])
803 #undef const])
823804 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMCMP], [/* Define to 1 if you have the `memcmp\' function. */
824 @%:@undef HAVE_MEMCMP])
805 #undef HAVE_MEMCMP])
825806 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMCPY], [/* Define to 1 if you have the `memcpy\' function. */
826 @%:@undef HAVE_MEMCPY])
807 #undef HAVE_MEMCPY])
827808 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
828 @%:@undef HAVE_MEMMOVE])
809 #undef HAVE_MEMMOVE])
829810 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
830 @%:@undef HAVE_MEMSET])
831 m4trace:configure.in:311: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
832 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
833 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
834 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
835 configure.in:311: the top level])
811 #undef HAVE_MEMSET])
812 m4trace:configure.in:325: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
813 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2368: AC_TRY_COMPILE is expanded from...
814 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/m4sugar/m4sh.m4:523: AS_IF is expanded from...
815 /private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:1905: AC_CACHE_VAL is expanded from...
816 configure.in:325: the top level])
836817 m4trace:configure.in:329: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEMUN])
837818 m4trace:configure.in:329: -1- m4_pattern_allow([^HAVE_SEMUN$])
838819 m4trace:configure.in:329: -1- AH_OUTPUT([HAVE_SEMUN], [/* Define if sys/sem.h defines struct semun */
839 @%:@undef HAVE_SEMUN])
840 m4trace:configure.in:333: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
841 You should run autoupdate.], [../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
842 configure.in:333: the top level])
843 m4trace:configure.in:333: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T_Z_FORMAT])
844 m4trace:configure.in:333: -1- m4_pattern_allow([^HAVE_SIZE_T_Z_FORMAT$])
845 m4trace:configure.in:333: -1- AH_OUTPUT([HAVE_SIZE_T_Z_FORMAT], [/* Define to 1 if you have a printf() that supports the %z format string. */
846 @%:@undef HAVE_SIZE_T_Z_FORMAT])
820 #undef HAVE_SEMUN])
821 m4trace:configure.in:359: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
822 You should run autoupdate.], [/private/var/tmp/autoconf/autoconf-17.1~328/SRC/autoconf/lib/autoconf/general.m4:2479: AC_TRY_RUN is expanded from...
823 configure.in:359: the top level])
824 m4trace:configure.in:359: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T_Z_FORMAT])
825 m4trace:configure.in:359: -1- m4_pattern_allow([^HAVE_SIZE_T_Z_FORMAT$])
826 m4trace:configure.in:359: -1- AH_OUTPUT([HAVE_SIZE_T_Z_FORMAT], [/* Define to 1 if you have a printf() that supports the %z format string. */
827 #undef HAVE_SIZE_T_Z_FORMAT])
847828 m4trace:configure.in:362: -1- AC_CONFIG_FILES([Makefile bin/Makefile man/Makefile])
848829 m4trace:configure.in:362: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
849830 You should run autoupdate.], [])
853834 m4trace:configure.in:362: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
854835 m4trace:configure.in:362: -1- AC_SUBST_TRACE([LTLIBOBJS])
855836 m4trace:configure.in:362: -1- m4_pattern_allow([^LTLIBOBJS$])
856 m4trace:configure.in:362: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
857 m4trace:configure.in:362: -1- AC_SUBST([am__EXEEXT_TRUE])
858 m4trace:configure.in:362: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
859 m4trace:configure.in:362: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
860 m4trace:configure.in:362: -1- AC_SUBST([am__EXEEXT_FALSE])
861 m4trace:configure.in:362: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
862 m4trace:configure.in:362: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
863 m4trace:configure.in:362: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
864 m4trace:configure.in:362: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
865837 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_builddir])
866 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_build_prefix])
867838 m4trace:configure.in:362: -1- AC_SUBST_TRACE([srcdir])
868839 m4trace:configure.in:362: -1- AC_SUBST_TRACE([abs_srcdir])
869840 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_srcdir])
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
65 # This Makefile.in is free software; the Free Software Foundation
76 # gives unlimited permission to copy and/or distribute it,
87 # with or without modifications, as long as this notice is preserved.
1615
1716 VPATH = @srcdir@
1817 pkgdatadir = $(datadir)/@PACKAGE@
18 pkglibdir = $(libdir)/@PACKAGE@
1919 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
2220 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2321 install_sh_DATA = $(install_sh) -c -m 644
2422 install_sh_PROGRAM = $(install_sh) -c
5250 mkinstalldirs = $(install_sh) -d
5351 CONFIG_HEADER = $(top_builddir)/config.h
5452 CONFIG_CLEAN_FILES =
55 CONFIG_CLEAN_VPATH_FILES =
5653 @SFLOW_TRUE@am__EXEEXT_1 = sfcapd$(EXEEXT)
5754 @NFPROFILE_TRUE@am__EXEEXT_2 = nfprofile$(EXEEXT)
5855 @NFTRACK_TRUE@am__EXEEXT_3 = nftrack$(EXEEXT)
5956 @FT2NFDUMP_TRUE@am__EXEEXT_4 = ft2nfdump$(EXEEXT)
6057 am__installdirs = "$(DESTDIR)$(bindir)"
58 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
6159 PROGRAMS = $(bin_PROGRAMS)
6260 am__ft2nfdump_SOURCES_DIST = ft2nfdump.c nf_common.c nf_common.h \
6361 version.h minilzo.c minilzo.h lzoconf.h lzodefs.h nffile.c \
210208 sfcapd_DEPENDENCIES =
211209 sfcapd_LINK = $(CCLD) $(sfcapd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
212210 $(LDFLAGS) -o $@
213 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
211 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
214212 depcomp = $(SHELL) $(top_srcdir)/depcomp
215213 am__depfiles_maybe = depfiles
216 am__mv = mv -f
217214 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
218215 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
219216 CCLD = $(CC)
232229 $(nftrack_SOURCES) $(am__sfcapd_SOURCES_DIST)
233230 ETAGS = etags
234231 CTAGS = ctags
235 am__tty_colors = \
236 red=; grn=; lgn=; blu=; std=
237232 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
238233 ACLOCAL = @ACLOCAL@
239234 AMTAR = @AMTAR@
279274 PACKAGE_NAME = @PACKAGE_NAME@
280275 PACKAGE_STRING = @PACKAGE_STRING@
281276 PACKAGE_TARNAME = @PACKAGE_TARNAME@
282 PACKAGE_URL = @PACKAGE_URL@
283277 PACKAGE_VERSION = @PACKAGE_VERSION@
284278 PATH_SEPARATOR = @PATH_SEPARATOR@
285279 RRD_LIBS = @RRD_LIBS@
328322 srcdir = @srcdir@
329323 sysconfdir = @sysconfdir@
330324 target_alias = @target_alias@
331 top_build_prefix = @top_build_prefix@
332325 top_builddir = @top_builddir@
333326 top_srcdir = @top_srcdir@
334327 check_PROGRAMMS = test.sh
409402 @for dep in $?; do \
410403 case '$(am__configure_deps)' in \
411404 *$$dep*) \
412 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
413 && { if test -f $@; then exit 0; else break; fi; }; \
405 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
406 && exit 0; \
414407 exit 1;; \
415408 esac; \
416409 done; \
417 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
418 $(am__cd) $(top_srcdir) && \
419 $(AUTOMAKE) --gnu bin/Makefile
410 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
411 cd $(top_srcdir) && \
412 $(AUTOMAKE) --gnu bin/Makefile
420413 .PRECIOUS: Makefile
421414 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
422415 @case '$?' in \
434427 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
435428 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
436429 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
437 $(am__aclocal_m4_deps):
438430 install-binPROGRAMS: $(bin_PROGRAMS)
439431 @$(NORMAL_INSTALL)
440432 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
441 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
442 for p in $$list; do echo "$$p $$p"; done | \
443 sed 's/$(EXEEXT)$$//' | \
444 while read p p1; do if test -f $$p; \
445 then echo "$$p"; echo "$$p"; else :; fi; \
446 done | \
447 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
448 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
449 sed 'N;N;N;s,\n, ,g' | \
450 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
451 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
452 if ($$2 == $$4) files[d] = files[d] " " $$1; \
453 else { print "f", $$3 "/" $$4, $$1; } } \
454 END { for (d in files) print "f", d, files[d] }' | \
455 while read type dir files; do \
456 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
457 test -z "$$files" || { \
458 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
459 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
460 } \
461 ; done
433 @list='$(bin_PROGRAMS)'; for p in $$list; do \
434 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
435 if test -f $$p \
436 ; then \
437 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
438 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
439 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
440 else :; fi; \
441 done
462442
463443 uninstall-binPROGRAMS:
464444 @$(NORMAL_UNINSTALL)
465 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
466 files=`for p in $$list; do echo "$$p"; done | \
467 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
468 -e 's/$$/$(EXEEXT)/' `; \
469 test -n "$$list" || exit 0; \
470 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
471 cd "$(DESTDIR)$(bindir)" && rm -f $$files
445 @list='$(bin_PROGRAMS)'; for p in $$list; do \
446 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
447 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
448 rm -f "$(DESTDIR)$(bindir)/$$f"; \
449 done
472450
473451 clean-binPROGRAMS:
474452 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
616594
617595 .c.o:
618596 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
619 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
597 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
620598 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
621599 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
622600 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
623601
624602 .c.obj:
625603 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
626 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
604 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
627605 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
628606 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
629607 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
630608
631609 ft2nfdump-ft2nfdump.o: ft2nfdump.c
632610 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-ft2nfdump.o -MD -MP -MF $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo -c -o ft2nfdump-ft2nfdump.o `test -f 'ft2nfdump.c' || echo '$(srcdir)/'`ft2nfdump.c
633 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
611 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
634612 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ft2nfdump.c' object='ft2nfdump-ft2nfdump.o' libtool=no @AMDEPBACKSLASH@
635613 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
636614 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-ft2nfdump.o `test -f 'ft2nfdump.c' || echo '$(srcdir)/'`ft2nfdump.c
637615
638616 ft2nfdump-ft2nfdump.obj: ft2nfdump.c
639617 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-ft2nfdump.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo -c -o ft2nfdump-ft2nfdump.obj `if test -f 'ft2nfdump.c'; then $(CYGPATH_W) 'ft2nfdump.c'; else $(CYGPATH_W) '$(srcdir)/ft2nfdump.c'; fi`
640 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
618 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
641619 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ft2nfdump.c' object='ft2nfdump-ft2nfdump.obj' libtool=no @AMDEPBACKSLASH@
642620 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
643621 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-ft2nfdump.obj `if test -f 'ft2nfdump.c'; then $(CYGPATH_W) 'ft2nfdump.c'; else $(CYGPATH_W) '$(srcdir)/ft2nfdump.c'; fi`
644622
645623 ft2nfdump-nf_common.o: nf_common.c
646624 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nf_common.o -MD -MP -MF $(DEPDIR)/ft2nfdump-nf_common.Tpo -c -o ft2nfdump-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
647 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
625 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
648626 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='ft2nfdump-nf_common.o' libtool=no @AMDEPBACKSLASH@
649627 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
650628 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
651629
652630 ft2nfdump-nf_common.obj: nf_common.c
653631 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nf_common.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-nf_common.Tpo -c -o ft2nfdump-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
654 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
632 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
655633 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='ft2nfdump-nf_common.obj' libtool=no @AMDEPBACKSLASH@
656634 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
657635 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
658636
659637 ft2nfdump-minilzo.o: minilzo.c
660638 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-minilzo.o -MD -MP -MF $(DEPDIR)/ft2nfdump-minilzo.Tpo -c -o ft2nfdump-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
661 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
639 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
662640 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='ft2nfdump-minilzo.o' libtool=no @AMDEPBACKSLASH@
663641 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
664642 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
665643
666644 ft2nfdump-minilzo.obj: minilzo.c
667645 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-minilzo.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-minilzo.Tpo -c -o ft2nfdump-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
668 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
646 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
669647 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='ft2nfdump-minilzo.obj' libtool=no @AMDEPBACKSLASH@
670648 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
671649 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
672650
673651 ft2nfdump-nffile.o: nffile.c
674652 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nffile.o -MD -MP -MF $(DEPDIR)/ft2nfdump-nffile.Tpo -c -o ft2nfdump-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
675 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
653 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
676654 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='ft2nfdump-nffile.o' libtool=no @AMDEPBACKSLASH@
677655 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
678656 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
679657
680658 ft2nfdump-nffile.obj: nffile.c
681659 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nffile.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-nffile.Tpo -c -o ft2nfdump-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
682 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
660 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
683661 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='ft2nfdump-nffile.obj' libtool=no @AMDEPBACKSLASH@
684662 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
685663 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
686664
687665 ft2nfdump-nfx.o: nfx.c
688666 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nfx.o -MD -MP -MF $(DEPDIR)/ft2nfdump-nfx.Tpo -c -o ft2nfdump-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
689 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
667 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
690668 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='ft2nfdump-nfx.o' libtool=no @AMDEPBACKSLASH@
691669 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
692670 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
693671
694672 ft2nfdump-nfx.obj: nfx.c
695673 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nfx.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-nfx.Tpo -c -o ft2nfdump-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
696 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
674 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
697675 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='ft2nfdump-nfx.obj' libtool=no @AMDEPBACKSLASH@
698676 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
699677 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
700678
701679 ft2nfdump-nfxstat.o: nfxstat.c
702680 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nfxstat.o -MD -MP -MF $(DEPDIR)/ft2nfdump-nfxstat.Tpo -c -o ft2nfdump-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
703 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
681 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
704682 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='ft2nfdump-nfxstat.o' libtool=no @AMDEPBACKSLASH@
705683 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
706684 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
707685
708686 ft2nfdump-nfxstat.obj: nfxstat.c
709687 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-nfxstat.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-nfxstat.Tpo -c -o ft2nfdump-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
710 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
688 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
711689 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='ft2nfdump-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
712690 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
713691 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
714692
715693 ft2nfdump-util.o: util.c
716694 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-util.o -MD -MP -MF $(DEPDIR)/ft2nfdump-util.Tpo -c -o ft2nfdump-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
717 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
695 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
718696 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='ft2nfdump-util.o' libtool=no @AMDEPBACKSLASH@
719697 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
720698 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
721699
722700 ft2nfdump-util.obj: util.c
723701 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -MT ft2nfdump-util.obj -MD -MP -MF $(DEPDIR)/ft2nfdump-util.Tpo -c -o ft2nfdump-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
724 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
702 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
725703 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='ft2nfdump-util.obj' libtool=no @AMDEPBACKSLASH@
726704 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
727705 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ft2nfdump_CFLAGS) $(CFLAGS) -c -o ft2nfdump-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
728706
729707 nfcapd-nfcapd.o: nfcapd.c
730708 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfcapd.o -MD -MP -MF $(DEPDIR)/nfcapd-nfcapd.Tpo -c -o nfcapd-nfcapd.o `test -f 'nfcapd.c' || echo '$(srcdir)/'`nfcapd.c
731 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
709 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
732710 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfcapd.c' object='nfcapd-nfcapd.o' libtool=no @AMDEPBACKSLASH@
733711 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
734712 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfcapd.o `test -f 'nfcapd.c' || echo '$(srcdir)/'`nfcapd.c
735713
736714 nfcapd-nfcapd.obj: nfcapd.c
737715 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfcapd.obj -MD -MP -MF $(DEPDIR)/nfcapd-nfcapd.Tpo -c -o nfcapd-nfcapd.obj `if test -f 'nfcapd.c'; then $(CYGPATH_W) 'nfcapd.c'; else $(CYGPATH_W) '$(srcdir)/nfcapd.c'; fi`
738 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
716 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
739717 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfcapd.c' object='nfcapd-nfcapd.obj' libtool=no @AMDEPBACKSLASH@
740718 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
741719 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfcapd.obj `if test -f 'nfcapd.c'; then $(CYGPATH_W) 'nfcapd.c'; else $(CYGPATH_W) '$(srcdir)/nfcapd.c'; fi`
742720
743721 nfcapd-nf_common.o: nf_common.c
744722 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nf_common.o -MD -MP -MF $(DEPDIR)/nfcapd-nf_common.Tpo -c -o nfcapd-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
745 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
723 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
746724 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nfcapd-nf_common.o' libtool=no @AMDEPBACKSLASH@
747725 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
748726 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
749727
750728 nfcapd-nf_common.obj: nf_common.c
751729 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nf_common.obj -MD -MP -MF $(DEPDIR)/nfcapd-nf_common.Tpo -c -o nfcapd-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
752 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
730 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
753731 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nfcapd-nf_common.obj' libtool=no @AMDEPBACKSLASH@
754732 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
755733 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
756734
757735 nfcapd-util.o: util.c
758736 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-util.o -MD -MP -MF $(DEPDIR)/nfcapd-util.Tpo -c -o nfcapd-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
759 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
737 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
760738 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nfcapd-util.o' libtool=no @AMDEPBACKSLASH@
761739 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
762740 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
763741
764742 nfcapd-util.obj: util.c
765743 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-util.obj -MD -MP -MF $(DEPDIR)/nfcapd-util.Tpo -c -o nfcapd-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
766 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
744 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
767745 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nfcapd-util.obj' libtool=no @AMDEPBACKSLASH@
768746 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
769747 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
770748
771749 nfcapd-minilzo.o: minilzo.c
772750 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-minilzo.o -MD -MP -MF $(DEPDIR)/nfcapd-minilzo.Tpo -c -o nfcapd-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
773 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
751 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
774752 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nfcapd-minilzo.o' libtool=no @AMDEPBACKSLASH@
775753 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
776754 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
777755
778756 nfcapd-minilzo.obj: minilzo.c
779757 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-minilzo.obj -MD -MP -MF $(DEPDIR)/nfcapd-minilzo.Tpo -c -o nfcapd-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
780 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
758 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
781759 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nfcapd-minilzo.obj' libtool=no @AMDEPBACKSLASH@
782760 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
783761 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
784762
785763 nfcapd-nffile.o: nffile.c
786764 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nffile.o -MD -MP -MF $(DEPDIR)/nfcapd-nffile.Tpo -c -o nfcapd-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
787 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
765 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
788766 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nfcapd-nffile.o' libtool=no @AMDEPBACKSLASH@
789767 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
790768 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
791769
792770 nfcapd-nffile.obj: nffile.c
793771 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nffile.obj -MD -MP -MF $(DEPDIR)/nfcapd-nffile.Tpo -c -o nfcapd-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
794 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
772 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
795773 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nfcapd-nffile.obj' libtool=no @AMDEPBACKSLASH@
796774 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
797775 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
798776
799777 nfcapd-nfx.o: nfx.c
800778 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfx.o -MD -MP -MF $(DEPDIR)/nfcapd-nfx.Tpo -c -o nfcapd-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
801 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
779 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
802780 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nfcapd-nfx.o' libtool=no @AMDEPBACKSLASH@
803781 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
804782 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
805783
806784 nfcapd-nfx.obj: nfx.c
807785 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfx.obj -MD -MP -MF $(DEPDIR)/nfcapd-nfx.Tpo -c -o nfcapd-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
808 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
786 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
809787 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nfcapd-nfx.obj' libtool=no @AMDEPBACKSLASH@
810788 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
811789 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
812790
813791 nfcapd-nfxstat.o: nfxstat.c
814792 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfxstat.o -MD -MP -MF $(DEPDIR)/nfcapd-nfxstat.Tpo -c -o nfcapd-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
815 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
793 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
816794 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nfcapd-nfxstat.o' libtool=no @AMDEPBACKSLASH@
817795 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
818796 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
819797
820798 nfcapd-nfxstat.obj: nfxstat.c
821799 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfxstat.obj -MD -MP -MF $(DEPDIR)/nfcapd-nfxstat.Tpo -c -o nfcapd-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
822 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
800 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
823801 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nfcapd-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
824802 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
825803 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
826804
827805 nfcapd-flist.o: flist.c
828806 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-flist.o -MD -MP -MF $(DEPDIR)/nfcapd-flist.Tpo -c -o nfcapd-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
829 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
807 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
830808 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nfcapd-flist.o' libtool=no @AMDEPBACKSLASH@
831809 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
832810 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
833811
834812 nfcapd-flist.obj: flist.c
835813 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-flist.obj -MD -MP -MF $(DEPDIR)/nfcapd-flist.Tpo -c -o nfcapd-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
836 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
814 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
837815 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nfcapd-flist.obj' libtool=no @AMDEPBACKSLASH@
838816 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
839817 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
840818
841819 nfcapd-fts_compat.o: fts_compat.c
842820 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-fts_compat.o -MD -MP -MF $(DEPDIR)/nfcapd-fts_compat.Tpo -c -o nfcapd-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
843 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
821 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
844822 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nfcapd-fts_compat.o' libtool=no @AMDEPBACKSLASH@
845823 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
846824 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
847825
848826 nfcapd-fts_compat.obj: fts_compat.c
849827 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-fts_compat.obj -MD -MP -MF $(DEPDIR)/nfcapd-fts_compat.Tpo -c -o nfcapd-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
850 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
828 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
851829 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nfcapd-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
852830 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
853831 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
854832
855833 nfcapd-nfstatfile.o: nfstatfile.c
856834 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfstatfile.o -MD -MP -MF $(DEPDIR)/nfcapd-nfstatfile.Tpo -c -o nfcapd-nfstatfile.o `test -f 'nfstatfile.c' || echo '$(srcdir)/'`nfstatfile.c
857 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
835 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
858836 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='nfcapd-nfstatfile.o' libtool=no @AMDEPBACKSLASH@
859837 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
860838 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfstatfile.o `test -f 'nfstatfile.c' || echo '$(srcdir)/'`nfstatfile.c
861839
862840 nfcapd-nfstatfile.obj: nfstatfile.c
863841 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfstatfile.obj -MD -MP -MF $(DEPDIR)/nfcapd-nfstatfile.Tpo -c -o nfcapd-nfstatfile.obj `if test -f 'nfstatfile.c'; then $(CYGPATH_W) 'nfstatfile.c'; else $(CYGPATH_W) '$(srcdir)/nfstatfile.c'; fi`
864 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
842 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
865843 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='nfcapd-nfstatfile.obj' libtool=no @AMDEPBACKSLASH@
866844 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
867845 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfstatfile.obj `if test -f 'nfstatfile.c'; then $(CYGPATH_W) 'nfstatfile.c'; else $(CYGPATH_W) '$(srcdir)/nfstatfile.c'; fi`
868846
869847 nfcapd-launch.o: launch.c
870848 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-launch.o -MD -MP -MF $(DEPDIR)/nfcapd-launch.Tpo -c -o nfcapd-launch.o `test -f 'launch.c' || echo '$(srcdir)/'`launch.c
871 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
849 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
872850 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='nfcapd-launch.o' libtool=no @AMDEPBACKSLASH@
873851 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
874852 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-launch.o `test -f 'launch.c' || echo '$(srcdir)/'`launch.c
875853
876854 nfcapd-launch.obj: launch.c
877855 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-launch.obj -MD -MP -MF $(DEPDIR)/nfcapd-launch.Tpo -c -o nfcapd-launch.obj `if test -f 'launch.c'; then $(CYGPATH_W) 'launch.c'; else $(CYGPATH_W) '$(srcdir)/launch.c'; fi`
878 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
856 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
879857 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='nfcapd-launch.obj' libtool=no @AMDEPBACKSLASH@
880858 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
881859 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-launch.obj `if test -f 'launch.c'; then $(CYGPATH_W) 'launch.c'; else $(CYGPATH_W) '$(srcdir)/launch.c'; fi`
882860
883861 nfcapd-nfnet.o: nfnet.c
884862 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfnet.o -MD -MP -MF $(DEPDIR)/nfcapd-nfnet.Tpo -c -o nfcapd-nfnet.o `test -f 'nfnet.c' || echo '$(srcdir)/'`nfnet.c
885 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
863 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
886864 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='nfcapd-nfnet.o' libtool=no @AMDEPBACKSLASH@
887865 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
888866 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfnet.o `test -f 'nfnet.c' || echo '$(srcdir)/'`nfnet.c
889867
890868 nfcapd-nfnet.obj: nfnet.c
891869 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-nfnet.obj -MD -MP -MF $(DEPDIR)/nfcapd-nfnet.Tpo -c -o nfcapd-nfnet.obj `if test -f 'nfnet.c'; then $(CYGPATH_W) 'nfnet.c'; else $(CYGPATH_W) '$(srcdir)/nfnet.c'; fi`
892 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
870 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
893871 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='nfcapd-nfnet.obj' libtool=no @AMDEPBACKSLASH@
894872 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
895873 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-nfnet.obj `if test -f 'nfnet.c'; then $(CYGPATH_W) 'nfnet.c'; else $(CYGPATH_W) '$(srcdir)/nfnet.c'; fi`
896874
897875 nfcapd-collector.o: collector.c
898876 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-collector.o -MD -MP -MF $(DEPDIR)/nfcapd-collector.Tpo -c -o nfcapd-collector.o `test -f 'collector.c' || echo '$(srcdir)/'`collector.c
899 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
877 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
900878 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='nfcapd-collector.o' libtool=no @AMDEPBACKSLASH@
901879 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
902880 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-collector.o `test -f 'collector.c' || echo '$(srcdir)/'`collector.c
903881
904882 nfcapd-collector.obj: collector.c
905883 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-collector.obj -MD -MP -MF $(DEPDIR)/nfcapd-collector.Tpo -c -o nfcapd-collector.obj `if test -f 'collector.c'; then $(CYGPATH_W) 'collector.c'; else $(CYGPATH_W) '$(srcdir)/collector.c'; fi`
906 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
884 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
907885 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='nfcapd-collector.obj' libtool=no @AMDEPBACKSLASH@
908886 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
909887 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-collector.obj `if test -f 'collector.c'; then $(CYGPATH_W) 'collector.c'; else $(CYGPATH_W) '$(srcdir)/collector.c'; fi`
910888
911889 nfcapd-netflow_v1.o: netflow_v1.c
912890 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v1.o -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v1.Tpo -c -o nfcapd-netflow_v1.o `test -f 'netflow_v1.c' || echo '$(srcdir)/'`netflow_v1.c
913 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
891 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
914892 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v1.c' object='nfcapd-netflow_v1.o' libtool=no @AMDEPBACKSLASH@
915893 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
916894 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v1.o `test -f 'netflow_v1.c' || echo '$(srcdir)/'`netflow_v1.c
917895
918896 nfcapd-netflow_v1.obj: netflow_v1.c
919897 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v1.obj -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v1.Tpo -c -o nfcapd-netflow_v1.obj `if test -f 'netflow_v1.c'; then $(CYGPATH_W) 'netflow_v1.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v1.c'; fi`
920 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
898 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
921899 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v1.c' object='nfcapd-netflow_v1.obj' libtool=no @AMDEPBACKSLASH@
922900 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923901 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v1.obj `if test -f 'netflow_v1.c'; then $(CYGPATH_W) 'netflow_v1.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v1.c'; fi`
924902
925903 nfcapd-netflow_v9.o: netflow_v9.c
926904 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v9.o -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v9.Tpo -c -o nfcapd-netflow_v9.o `test -f 'netflow_v9.c' || echo '$(srcdir)/'`netflow_v9.c
927 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
905 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
928906 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v9.c' object='nfcapd-netflow_v9.o' libtool=no @AMDEPBACKSLASH@
929907 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
930908 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v9.o `test -f 'netflow_v9.c' || echo '$(srcdir)/'`netflow_v9.c
931909
932910 nfcapd-netflow_v9.obj: netflow_v9.c
933911 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v9.obj -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v9.Tpo -c -o nfcapd-netflow_v9.obj `if test -f 'netflow_v9.c'; then $(CYGPATH_W) 'netflow_v9.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v9.c'; fi`
934 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
912 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
935913 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v9.c' object='nfcapd-netflow_v9.obj' libtool=no @AMDEPBACKSLASH@
936914 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
937915 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v9.obj `if test -f 'netflow_v9.c'; then $(CYGPATH_W) 'netflow_v9.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v9.c'; fi`
938916
939917 nfcapd-netflow_v5_v7.o: netflow_v5_v7.c
940918 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v5_v7.o -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo -c -o nfcapd-netflow_v5_v7.o `test -f 'netflow_v5_v7.c' || echo '$(srcdir)/'`netflow_v5_v7.c
941 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
919 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
942920 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.o' libtool=no @AMDEPBACKSLASH@
943921 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
944922 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v5_v7.o `test -f 'netflow_v5_v7.c' || echo '$(srcdir)/'`netflow_v5_v7.c
945923
946924 nfcapd-netflow_v5_v7.obj: netflow_v5_v7.c
947925 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-netflow_v5_v7.obj -MD -MP -MF $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo -c -o nfcapd-netflow_v5_v7.obj `if test -f 'netflow_v5_v7.c'; then $(CYGPATH_W) 'netflow_v5_v7.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v5_v7.c'; fi`
948 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
926 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
949927 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.obj' libtool=no @AMDEPBACKSLASH@
950928 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
951929 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-netflow_v5_v7.obj `if test -f 'netflow_v5_v7.c'; then $(CYGPATH_W) 'netflow_v5_v7.c'; else $(CYGPATH_W) '$(srcdir)/netflow_v5_v7.c'; fi`
952930
953931 nfcapd-bookkeeper.o: bookkeeper.c
954932 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-bookkeeper.o -MD -MP -MF $(DEPDIR)/nfcapd-bookkeeper.Tpo -c -o nfcapd-bookkeeper.o `test -f 'bookkeeper.c' || echo '$(srcdir)/'`bookkeeper.c
955 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
933 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
956934 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='nfcapd-bookkeeper.o' libtool=no @AMDEPBACKSLASH@
957935 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
958936 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-bookkeeper.o `test -f 'bookkeeper.c' || echo '$(srcdir)/'`bookkeeper.c
959937
960938 nfcapd-bookkeeper.obj: bookkeeper.c
961939 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-bookkeeper.obj -MD -MP -MF $(DEPDIR)/nfcapd-bookkeeper.Tpo -c -o nfcapd-bookkeeper.obj `if test -f 'bookkeeper.c'; then $(CYGPATH_W) 'bookkeeper.c'; else $(CYGPATH_W) '$(srcdir)/bookkeeper.c'; fi`
962 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
940 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
963941 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='nfcapd-bookkeeper.obj' libtool=no @AMDEPBACKSLASH@
964942 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
965943 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-bookkeeper.obj `if test -f 'bookkeeper.c'; then $(CYGPATH_W) 'bookkeeper.c'; else $(CYGPATH_W) '$(srcdir)/bookkeeper.c'; fi`
966944
967945 nfcapd-expire.o: expire.c
968946 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-expire.o -MD -MP -MF $(DEPDIR)/nfcapd-expire.Tpo -c -o nfcapd-expire.o `test -f 'expire.c' || echo '$(srcdir)/'`expire.c
969 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
947 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
970948 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='nfcapd-expire.o' libtool=no @AMDEPBACKSLASH@
971949 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
972950 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-expire.o `test -f 'expire.c' || echo '$(srcdir)/'`expire.c
973951
974952 nfcapd-expire.obj: expire.c
975953 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-expire.obj -MD -MP -MF $(DEPDIR)/nfcapd-expire.Tpo -c -o nfcapd-expire.obj `if test -f 'expire.c'; then $(CYGPATH_W) 'expire.c'; else $(CYGPATH_W) '$(srcdir)/expire.c'; fi`
976 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
954 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
977955 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='nfcapd-expire.obj' libtool=no @AMDEPBACKSLASH@
978956 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
979957 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-expire.obj `if test -f 'expire.c'; then $(CYGPATH_W) 'expire.c'; else $(CYGPATH_W) '$(srcdir)/expire.c'; fi`
980958
981959 nfcapd-pcap_reader.o: pcap_reader.c
982960 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-pcap_reader.o -MD -MP -MF $(DEPDIR)/nfcapd-pcap_reader.Tpo -c -o nfcapd-pcap_reader.o `test -f 'pcap_reader.c' || echo '$(srcdir)/'`pcap_reader.c
983 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
961 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
984962 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='nfcapd-pcap_reader.o' libtool=no @AMDEPBACKSLASH@
985963 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
986964 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-pcap_reader.o `test -f 'pcap_reader.c' || echo '$(srcdir)/'`pcap_reader.c
987965
988966 nfcapd-pcap_reader.obj: pcap_reader.c
989967 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-pcap_reader.obj -MD -MP -MF $(DEPDIR)/nfcapd-pcap_reader.Tpo -c -o nfcapd-pcap_reader.obj `if test -f 'pcap_reader.c'; then $(CYGPATH_W) 'pcap_reader.c'; else $(CYGPATH_W) '$(srcdir)/pcap_reader.c'; fi`
990 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
968 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
991969 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='nfcapd-pcap_reader.obj' libtool=no @AMDEPBACKSLASH@
992970 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
993971 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-pcap_reader.obj `if test -f 'pcap_reader.c'; then $(CYGPATH_W) 'pcap_reader.c'; else $(CYGPATH_W) '$(srcdir)/pcap_reader.c'; fi`
994972
995973 nftrack-nftrack.o: ../extra/nftrack/nftrack.c
996974 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack.o -MD -MP -MF $(DEPDIR)/nftrack-nftrack.Tpo -c -o nftrack-nftrack.o `test -f '../extra/nftrack/nftrack.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack.c
997 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
975 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
998976 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack.c' object='nftrack-nftrack.o' libtool=no @AMDEPBACKSLASH@
999977 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1000978 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack.o `test -f '../extra/nftrack/nftrack.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack.c
1001979
1002980 nftrack-nftrack.obj: ../extra/nftrack/nftrack.c
1003981 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack.obj -MD -MP -MF $(DEPDIR)/nftrack-nftrack.Tpo -c -o nftrack-nftrack.obj `if test -f '../extra/nftrack/nftrack.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack.c'; fi`
1004 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
982 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
1005983 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack.c' object='nftrack-nftrack.obj' libtool=no @AMDEPBACKSLASH@
1006984 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1007985 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack.obj `if test -f '../extra/nftrack/nftrack.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack.c'; fi`
1008986
1009987 nftrack-nftrack_rrd.o: ../extra/nftrack/nftrack_rrd.c
1010988 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack_rrd.o -MD -MP -MF $(DEPDIR)/nftrack-nftrack_rrd.Tpo -c -o nftrack-nftrack_rrd.o `test -f '../extra/nftrack/nftrack_rrd.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack_rrd.c
1011 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
989 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
1012990 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_rrd.c' object='nftrack-nftrack_rrd.o' libtool=no @AMDEPBACKSLASH@
1013991 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1014992 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack_rrd.o `test -f '../extra/nftrack/nftrack_rrd.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack_rrd.c
1015993
1016994 nftrack-nftrack_rrd.obj: ../extra/nftrack/nftrack_rrd.c
1017995 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack_rrd.obj -MD -MP -MF $(DEPDIR)/nftrack-nftrack_rrd.Tpo -c -o nftrack-nftrack_rrd.obj `if test -f '../extra/nftrack/nftrack_rrd.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack_rrd.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack_rrd.c'; fi`
1018 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
996 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
1019997 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_rrd.c' object='nftrack-nftrack_rrd.obj' libtool=no @AMDEPBACKSLASH@
1020998 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1021999 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack_rrd.obj `if test -f '../extra/nftrack/nftrack_rrd.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack_rrd.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack_rrd.c'; fi`
10221000
10231001 nftrack-nftrack_stat.o: ../extra/nftrack/nftrack_stat.c
10241002 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack_stat.o -MD -MP -MF $(DEPDIR)/nftrack-nftrack_stat.Tpo -c -o nftrack-nftrack_stat.o `test -f '../extra/nftrack/nftrack_stat.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack_stat.c
1025 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
1003 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
10261004 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_stat.c' object='nftrack-nftrack_stat.o' libtool=no @AMDEPBACKSLASH@
10271005 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10281006 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack_stat.o `test -f '../extra/nftrack/nftrack_stat.c' || echo '$(srcdir)/'`../extra/nftrack/nftrack_stat.c
10291007
10301008 nftrack-nftrack_stat.obj: ../extra/nftrack/nftrack_stat.c
10311009 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftrack_stat.obj -MD -MP -MF $(DEPDIR)/nftrack-nftrack_stat.Tpo -c -o nftrack-nftrack_stat.obj `if test -f '../extra/nftrack/nftrack_stat.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack_stat.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack_stat.c'; fi`
1032 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
1010 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
10331011 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_stat.c' object='nftrack-nftrack_stat.obj' libtool=no @AMDEPBACKSLASH@
10341012 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10351013 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftrack_stat.obj `if test -f '../extra/nftrack/nftrack_stat.c'; then $(CYGPATH_W) '../extra/nftrack/nftrack_stat.c'; else $(CYGPATH_W) '$(srcdir)/../extra/nftrack/nftrack_stat.c'; fi`
10361014
10371015 nftrack-nf_common.o: nf_common.c
10381016 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nf_common.o -MD -MP -MF $(DEPDIR)/nftrack-nf_common.Tpo -c -o nftrack-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
1039 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
1017 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
10401018 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nftrack-nf_common.o' libtool=no @AMDEPBACKSLASH@
10411019 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10421020 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
10431021
10441022 nftrack-nf_common.obj: nf_common.c
10451023 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nf_common.obj -MD -MP -MF $(DEPDIR)/nftrack-nf_common.Tpo -c -o nftrack-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
1046 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
1024 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
10471025 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nftrack-nf_common.obj' libtool=no @AMDEPBACKSLASH@
10481026 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10491027 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
10501028
10511029 nftrack-util.o: util.c
10521030 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-util.o -MD -MP -MF $(DEPDIR)/nftrack-util.Tpo -c -o nftrack-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
1053 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
1031 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
10541032 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nftrack-util.o' libtool=no @AMDEPBACKSLASH@
10551033 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10561034 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
10571035
10581036 nftrack-util.obj: util.c
10591037 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-util.obj -MD -MP -MF $(DEPDIR)/nftrack-util.Tpo -c -o nftrack-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
1060 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
1038 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
10611039 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nftrack-util.obj' libtool=no @AMDEPBACKSLASH@
10621040 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10631041 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
10641042
10651043 nftrack-minilzo.o: minilzo.c
10661044 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-minilzo.o -MD -MP -MF $(DEPDIR)/nftrack-minilzo.Tpo -c -o nftrack-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
1067 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
1045 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
10681046 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nftrack-minilzo.o' libtool=no @AMDEPBACKSLASH@
10691047 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10701048 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
10711049
10721050 nftrack-minilzo.obj: minilzo.c
10731051 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-minilzo.obj -MD -MP -MF $(DEPDIR)/nftrack-minilzo.Tpo -c -o nftrack-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
1074 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
1052 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
10751053 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nftrack-minilzo.obj' libtool=no @AMDEPBACKSLASH@
10761054 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10771055 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
10781056
10791057 nftrack-nffile.o: nffile.c
10801058 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nffile.o -MD -MP -MF $(DEPDIR)/nftrack-nffile.Tpo -c -o nftrack-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
1081 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
1059 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
10821060 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nftrack-nffile.o' libtool=no @AMDEPBACKSLASH@
10831061 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10841062 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
10851063
10861064 nftrack-nffile.obj: nffile.c
10871065 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nffile.obj -MD -MP -MF $(DEPDIR)/nftrack-nffile.Tpo -c -o nftrack-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
1088 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
1066 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
10891067 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nftrack-nffile.obj' libtool=no @AMDEPBACKSLASH@
10901068 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10911069 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
10921070
10931071 nftrack-nfx.o: nfx.c
10941072 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nfx.o -MD -MP -MF $(DEPDIR)/nftrack-nfx.Tpo -c -o nftrack-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
1095 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
1073 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
10961074 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nftrack-nfx.o' libtool=no @AMDEPBACKSLASH@
10971075 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10981076 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
10991077
11001078 nftrack-nfx.obj: nfx.c
11011079 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nfx.obj -MD -MP -MF $(DEPDIR)/nftrack-nfx.Tpo -c -o nftrack-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
1102 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
1080 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
11031081 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nftrack-nfx.obj' libtool=no @AMDEPBACKSLASH@
11041082 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11051083 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
11061084
11071085 nftrack-nfxstat.o: nfxstat.c
11081086 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nfxstat.o -MD -MP -MF $(DEPDIR)/nftrack-nfxstat.Tpo -c -o nftrack-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
1109 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
1087 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
11101088 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nftrack-nfxstat.o' libtool=no @AMDEPBACKSLASH@
11111089 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11121090 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
11131091
11141092 nftrack-nfxstat.obj: nfxstat.c
11151093 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nfxstat.obj -MD -MP -MF $(DEPDIR)/nftrack-nfxstat.Tpo -c -o nftrack-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
1116 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
1094 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
11171095 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nftrack-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
11181096 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11191097 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
11201098
11211099 nftrack-flist.o: flist.c
11221100 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-flist.o -MD -MP -MF $(DEPDIR)/nftrack-flist.Tpo -c -o nftrack-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
1123 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
1101 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
11241102 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nftrack-flist.o' libtool=no @AMDEPBACKSLASH@
11251103 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11261104 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
11271105
11281106 nftrack-flist.obj: flist.c
11291107 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-flist.obj -MD -MP -MF $(DEPDIR)/nftrack-flist.Tpo -c -o nftrack-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
1130 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
1108 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
11311109 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nftrack-flist.obj' libtool=no @AMDEPBACKSLASH@
11321110 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11331111 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
11341112
11351113 nftrack-fts_compat.o: fts_compat.c
11361114 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-fts_compat.o -MD -MP -MF $(DEPDIR)/nftrack-fts_compat.Tpo -c -o nftrack-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
1137 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
1115 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
11381116 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nftrack-fts_compat.o' libtool=no @AMDEPBACKSLASH@
11391117 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11401118 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
11411119
11421120 nftrack-fts_compat.obj: fts_compat.c
11431121 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-fts_compat.obj -MD -MP -MF $(DEPDIR)/nftrack-fts_compat.Tpo -c -o nftrack-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
1144 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
1122 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
11451123 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nftrack-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
11461124 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11471125 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
11481126
11491127 nftrack-grammar.o: grammar.c
11501128 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-grammar.o -MD -MP -MF $(DEPDIR)/nftrack-grammar.Tpo -c -o nftrack-grammar.o `test -f 'grammar.c' || echo '$(srcdir)/'`grammar.c
1151 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
1129 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
11521130 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grammar.c' object='nftrack-grammar.o' libtool=no @AMDEPBACKSLASH@
11531131 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11541132 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-grammar.o `test -f 'grammar.c' || echo '$(srcdir)/'`grammar.c
11551133
11561134 nftrack-grammar.obj: grammar.c
11571135 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-grammar.obj -MD -MP -MF $(DEPDIR)/nftrack-grammar.Tpo -c -o nftrack-grammar.obj `if test -f 'grammar.c'; then $(CYGPATH_W) 'grammar.c'; else $(CYGPATH_W) '$(srcdir)/grammar.c'; fi`
1158 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
1136 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
11591137 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grammar.c' object='nftrack-grammar.obj' libtool=no @AMDEPBACKSLASH@
11601138 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11611139 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-grammar.obj `if test -f 'grammar.c'; then $(CYGPATH_W) 'grammar.c'; else $(CYGPATH_W) '$(srcdir)/grammar.c'; fi`
11621140
11631141 nftrack-scanner.o: scanner.c
11641142 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-scanner.o -MD -MP -MF $(DEPDIR)/nftrack-scanner.Tpo -c -o nftrack-scanner.o `test -f 'scanner.c' || echo '$(srcdir)/'`scanner.c
1165 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
1143 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
11661144 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scanner.c' object='nftrack-scanner.o' libtool=no @AMDEPBACKSLASH@
11671145 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11681146 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-scanner.o `test -f 'scanner.c' || echo '$(srcdir)/'`scanner.c
11691147
11701148 nftrack-scanner.obj: scanner.c
11711149 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-scanner.obj -MD -MP -MF $(DEPDIR)/nftrack-scanner.Tpo -c -o nftrack-scanner.obj `if test -f 'scanner.c'; then $(CYGPATH_W) 'scanner.c'; else $(CYGPATH_W) '$(srcdir)/scanner.c'; fi`
1172 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
1150 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
11731151 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scanner.c' object='nftrack-scanner.obj' libtool=no @AMDEPBACKSLASH@
11741152 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11751153 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-scanner.obj `if test -f 'scanner.c'; then $(CYGPATH_W) 'scanner.c'; else $(CYGPATH_W) '$(srcdir)/scanner.c'; fi`
11761154
11771155 nftrack-nftree.o: nftree.c
11781156 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftree.o -MD -MP -MF $(DEPDIR)/nftrack-nftree.Tpo -c -o nftrack-nftree.o `test -f 'nftree.c' || echo '$(srcdir)/'`nftree.c
1179 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
1157 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
11801158 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nftree.c' object='nftrack-nftree.o' libtool=no @AMDEPBACKSLASH@
11811159 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11821160 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftree.o `test -f 'nftree.c' || echo '$(srcdir)/'`nftree.c
11831161
11841162 nftrack-nftree.obj: nftree.c
11851163 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-nftree.obj -MD -MP -MF $(DEPDIR)/nftrack-nftree.Tpo -c -o nftrack-nftree.obj `if test -f 'nftree.c'; then $(CYGPATH_W) 'nftree.c'; else $(CYGPATH_W) '$(srcdir)/nftree.c'; fi`
1186 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
1164 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
11871165 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nftree.c' object='nftrack-nftree.obj' libtool=no @AMDEPBACKSLASH@
11881166 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11891167 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-nftree.obj `if test -f 'nftree.c'; then $(CYGPATH_W) 'nftree.c'; else $(CYGPATH_W) '$(srcdir)/nftree.c'; fi`
11901168
11911169 nftrack-ipconv.o: ipconv.c
11921170 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-ipconv.o -MD -MP -MF $(DEPDIR)/nftrack-ipconv.Tpo -c -o nftrack-ipconv.o `test -f 'ipconv.c' || echo '$(srcdir)/'`ipconv.c
1193 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
1171 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
11941172 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipconv.c' object='nftrack-ipconv.o' libtool=no @AMDEPBACKSLASH@
11951173 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11961174 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-ipconv.o `test -f 'ipconv.c' || echo '$(srcdir)/'`ipconv.c
11971175
11981176 nftrack-ipconv.obj: ipconv.c
11991177 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -MT nftrack-ipconv.obj -MD -MP -MF $(DEPDIR)/nftrack-ipconv.Tpo -c -o nftrack-ipconv.obj `if test -f 'ipconv.c'; then $(CYGPATH_W) 'ipconv.c'; else $(CYGPATH_W) '$(srcdir)/ipconv.c'; fi`
1200 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
1178 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
12011179 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipconv.c' object='nftrack-ipconv.obj' libtool=no @AMDEPBACKSLASH@
12021180 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12031181 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nftrack_CFLAGS) $(CFLAGS) -c -o nftrack-ipconv.obj `if test -f 'ipconv.c'; then $(CYGPATH_W) 'ipconv.c'; else $(CYGPATH_W) '$(srcdir)/ipconv.c'; fi`
12041182
12051183 sfcapd-sfcapd.o: sfcapd.c
12061184 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-sfcapd.o -MD -MP -MF $(DEPDIR)/sfcapd-sfcapd.Tpo -c -o sfcapd-sfcapd.o `test -f 'sfcapd.c' || echo '$(srcdir)/'`sfcapd.c
1207 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
1185 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
12081186 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sfcapd.c' object='sfcapd-sfcapd.o' libtool=no @AMDEPBACKSLASH@
12091187 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12101188 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-sfcapd.o `test -f 'sfcapd.c' || echo '$(srcdir)/'`sfcapd.c
12111189
12121190 sfcapd-sfcapd.obj: sfcapd.c
12131191 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-sfcapd.obj -MD -MP -MF $(DEPDIR)/sfcapd-sfcapd.Tpo -c -o sfcapd-sfcapd.obj `if test -f 'sfcapd.c'; then $(CYGPATH_W) 'sfcapd.c'; else $(CYGPATH_W) '$(srcdir)/sfcapd.c'; fi`
1214 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
1192 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
12151193 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sfcapd.c' object='sfcapd-sfcapd.obj' libtool=no @AMDEPBACKSLASH@
12161194 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12171195 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-sfcapd.obj `if test -f 'sfcapd.c'; then $(CYGPATH_W) 'sfcapd.c'; else $(CYGPATH_W) '$(srcdir)/sfcapd.c'; fi`
12181196
12191197 sfcapd-sflow.o: sflow.c
12201198 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-sflow.o -MD -MP -MF $(DEPDIR)/sfcapd-sflow.Tpo -c -o sfcapd-sflow.o `test -f 'sflow.c' || echo '$(srcdir)/'`sflow.c
1221 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
1199 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
12221200 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sflow.c' object='sfcapd-sflow.o' libtool=no @AMDEPBACKSLASH@
12231201 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12241202 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-sflow.o `test -f 'sflow.c' || echo '$(srcdir)/'`sflow.c
12251203
12261204 sfcapd-sflow.obj: sflow.c
12271205 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-sflow.obj -MD -MP -MF $(DEPDIR)/sfcapd-sflow.Tpo -c -o sfcapd-sflow.obj `if test -f 'sflow.c'; then $(CYGPATH_W) 'sflow.c'; else $(CYGPATH_W) '$(srcdir)/sflow.c'; fi`
1228 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
1206 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
12291207 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sflow.c' object='sfcapd-sflow.obj' libtool=no @AMDEPBACKSLASH@
12301208 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12311209 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-sflow.obj `if test -f 'sflow.c'; then $(CYGPATH_W) 'sflow.c'; else $(CYGPATH_W) '$(srcdir)/sflow.c'; fi`
12321210
12331211 sfcapd-nf_common.o: nf_common.c
12341212 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nf_common.o -MD -MP -MF $(DEPDIR)/sfcapd-nf_common.Tpo -c -o sfcapd-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
1235 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
1213 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
12361214 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='sfcapd-nf_common.o' libtool=no @AMDEPBACKSLASH@
12371215 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12381216 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nf_common.o `test -f 'nf_common.c' || echo '$(srcdir)/'`nf_common.c
12391217
12401218 sfcapd-nf_common.obj: nf_common.c
12411219 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nf_common.obj -MD -MP -MF $(DEPDIR)/sfcapd-nf_common.Tpo -c -o sfcapd-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
1242 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
1220 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
12431221 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='sfcapd-nf_common.obj' libtool=no @AMDEPBACKSLASH@
12441222 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12451223 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nf_common.obj `if test -f 'nf_common.c'; then $(CYGPATH_W) 'nf_common.c'; else $(CYGPATH_W) '$(srcdir)/nf_common.c'; fi`
12461224
12471225 sfcapd-util.o: util.c
12481226 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-util.o -MD -MP -MF $(DEPDIR)/sfcapd-util.Tpo -c -o sfcapd-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
1249 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
1227 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
12501228 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='sfcapd-util.o' libtool=no @AMDEPBACKSLASH@
12511229 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12521230 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
12531231
12541232 sfcapd-util.obj: util.c
12551233 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-util.obj -MD -MP -MF $(DEPDIR)/sfcapd-util.Tpo -c -o sfcapd-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
1256 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
1234 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
12571235 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='sfcapd-util.obj' libtool=no @AMDEPBACKSLASH@
12581236 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12591237 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
12601238
12611239 sfcapd-minilzo.o: minilzo.c
12621240 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-minilzo.o -MD -MP -MF $(DEPDIR)/sfcapd-minilzo.Tpo -c -o sfcapd-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
1263 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
1241 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
12641242 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='sfcapd-minilzo.o' libtool=no @AMDEPBACKSLASH@
12651243 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12661244 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-minilzo.o `test -f 'minilzo.c' || echo '$(srcdir)/'`minilzo.c
12671245
12681246 sfcapd-minilzo.obj: minilzo.c
12691247 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-minilzo.obj -MD -MP -MF $(DEPDIR)/sfcapd-minilzo.Tpo -c -o sfcapd-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
1270 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
1248 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
12711249 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='sfcapd-minilzo.obj' libtool=no @AMDEPBACKSLASH@
12721250 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12731251 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-minilzo.obj `if test -f 'minilzo.c'; then $(CYGPATH_W) 'minilzo.c'; else $(CYGPATH_W) '$(srcdir)/minilzo.c'; fi`
12741252
12751253 sfcapd-nffile.o: nffile.c
12761254 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nffile.o -MD -MP -MF $(DEPDIR)/sfcapd-nffile.Tpo -c -o sfcapd-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
1277 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
1255 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
12781256 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='sfcapd-nffile.o' libtool=no @AMDEPBACKSLASH@
12791257 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12801258 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nffile.o `test -f 'nffile.c' || echo '$(srcdir)/'`nffile.c
12811259
12821260 sfcapd-nffile.obj: nffile.c
12831261 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nffile.obj -MD -MP -MF $(DEPDIR)/sfcapd-nffile.Tpo -c -o sfcapd-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
1284 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
1262 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
12851263 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='sfcapd-nffile.obj' libtool=no @AMDEPBACKSLASH@
12861264 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12871265 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nffile.obj `if test -f 'nffile.c'; then $(CYGPATH_W) 'nffile.c'; else $(CYGPATH_W) '$(srcdir)/nffile.c'; fi`
12881266
12891267 sfcapd-nfx.o: nfx.c
12901268 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfx.o -MD -MP -MF $(DEPDIR)/sfcapd-nfx.Tpo -c -o sfcapd-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
1291 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
1269 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
12921270 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='sfcapd-nfx.o' libtool=no @AMDEPBACKSLASH@
12931271 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12941272 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfx.o `test -f 'nfx.c' || echo '$(srcdir)/'`nfx.c
12951273
12961274 sfcapd-nfx.obj: nfx.c
12971275 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfx.obj -MD -MP -MF $(DEPDIR)/sfcapd-nfx.Tpo -c -o sfcapd-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
1298 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
1276 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
12991277 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='sfcapd-nfx.obj' libtool=no @AMDEPBACKSLASH@
13001278 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13011279 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfx.obj `if test -f 'nfx.c'; then $(CYGPATH_W) 'nfx.c'; else $(CYGPATH_W) '$(srcdir)/nfx.c'; fi`
13021280
13031281 sfcapd-nfxstat.o: nfxstat.c
13041282 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfxstat.o -MD -MP -MF $(DEPDIR)/sfcapd-nfxstat.Tpo -c -o sfcapd-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
1305 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
1283 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
13061284 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='sfcapd-nfxstat.o' libtool=no @AMDEPBACKSLASH@
13071285 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13081286 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfxstat.o `test -f 'nfxstat.c' || echo '$(srcdir)/'`nfxstat.c
13091287
13101288 sfcapd-nfxstat.obj: nfxstat.c
13111289 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfxstat.obj -MD -MP -MF $(DEPDIR)/sfcapd-nfxstat.Tpo -c -o sfcapd-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
1312 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
1290 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
13131291 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='sfcapd-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
13141292 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13151293 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfxstat.obj `if test -f 'nfxstat.c'; then $(CYGPATH_W) 'nfxstat.c'; else $(CYGPATH_W) '$(srcdir)/nfxstat.c'; fi`
13161294
13171295 sfcapd-flist.o: flist.c
13181296 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-flist.o -MD -MP -MF $(DEPDIR)/sfcapd-flist.Tpo -c -o sfcapd-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
1319 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
1297 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
13201298 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='sfcapd-flist.o' libtool=no @AMDEPBACKSLASH@
13211299 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13221300 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-flist.o `test -f 'flist.c' || echo '$(srcdir)/'`flist.c
13231301
13241302 sfcapd-flist.obj: flist.c
13251303 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-flist.obj -MD -MP -MF $(DEPDIR)/sfcapd-flist.Tpo -c -o sfcapd-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
1326 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
1304 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
13271305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='sfcapd-flist.obj' libtool=no @AMDEPBACKSLASH@
13281306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13291307 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-flist.obj `if test -f 'flist.c'; then $(CYGPATH_W) 'flist.c'; else $(CYGPATH_W) '$(srcdir)/flist.c'; fi`
13301308
13311309 sfcapd-fts_compat.o: fts_compat.c
13321310 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-fts_compat.o -MD -MP -MF $(DEPDIR)/sfcapd-fts_compat.Tpo -c -o sfcapd-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
1333 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
1311 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
13341312 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='sfcapd-fts_compat.o' libtool=no @AMDEPBACKSLASH@
13351313 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13361314 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-fts_compat.o `test -f 'fts_compat.c' || echo '$(srcdir)/'`fts_compat.c
13371315
13381316 sfcapd-fts_compat.obj: fts_compat.c
13391317 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-fts_compat.obj -MD -MP -MF $(DEPDIR)/sfcapd-fts_compat.Tpo -c -o sfcapd-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
1340 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
1318 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
13411319 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='sfcapd-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
13421320 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13431321 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-fts_compat.obj `if test -f 'fts_compat.c'; then $(CYGPATH_W) 'fts_compat.c'; else $(CYGPATH_W) '$(srcdir)/fts_compat.c'; fi`
13441322
13451323 sfcapd-nfstatfile.o: nfstatfile.c
13461324 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfstatfile.o -MD -MP -MF $(DEPDIR)/sfcapd-nfstatfile.Tpo -c -o sfcapd-nfstatfile.o `test -f 'nfstatfile.c' || echo '$(srcdir)/'`nfstatfile.c
1347 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
1325 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
13481326 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='sfcapd-nfstatfile.o' libtool=no @AMDEPBACKSLASH@
13491327 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13501328 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfstatfile.o `test -f 'nfstatfile.c' || echo '$(srcdir)/'`nfstatfile.c
13511329
13521330 sfcapd-nfstatfile.obj: nfstatfile.c
13531331 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfstatfile.obj -MD -MP -MF $(DEPDIR)/sfcapd-nfstatfile.Tpo -c -o sfcapd-nfstatfile.obj `if test -f 'nfstatfile.c'; then $(CYGPATH_W) 'nfstatfile.c'; else $(CYGPATH_W) '$(srcdir)/nfstatfile.c'; fi`
1354 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
1332 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
13551333 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='sfcapd-nfstatfile.obj' libtool=no @AMDEPBACKSLASH@
13561334 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13571335 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfstatfile.obj `if test -f 'nfstatfile.c'; then $(CYGPATH_W) 'nfstatfile.c'; else $(CYGPATH_W) '$(srcdir)/nfstatfile.c'; fi`
13581336
13591337 sfcapd-launch.o: launch.c
13601338 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-launch.o -MD -MP -MF $(DEPDIR)/sfcapd-launch.Tpo -c -o sfcapd-launch.o `test -f 'launch.c' || echo '$(srcdir)/'`launch.c
1361 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
1339 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
13621340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='sfcapd-launch.o' libtool=no @AMDEPBACKSLASH@
13631341 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13641342 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-launch.o `test -f 'launch.c' || echo '$(srcdir)/'`launch.c
13651343
13661344 sfcapd-launch.obj: launch.c
13671345 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-launch.obj -MD -MP -MF $(DEPDIR)/sfcapd-launch.Tpo -c -o sfcapd-launch.obj `if test -f 'launch.c'; then $(CYGPATH_W) 'launch.c'; else $(CYGPATH_W) '$(srcdir)/launch.c'; fi`
1368 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
1346 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
13691347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='sfcapd-launch.obj' libtool=no @AMDEPBACKSLASH@
13701348 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13711349 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-launch.obj `if test -f 'launch.c'; then $(CYGPATH_W) 'launch.c'; else $(CYGPATH_W) '$(srcdir)/launch.c'; fi`
13721350
13731351 sfcapd-nfnet.o: nfnet.c
13741352 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfnet.o -MD -MP -MF $(DEPDIR)/sfcapd-nfnet.Tpo -c -o sfcapd-nfnet.o `test -f 'nfnet.c' || echo '$(srcdir)/'`nfnet.c
1375 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
1353 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
13761354 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='sfcapd-nfnet.o' libtool=no @AMDEPBACKSLASH@
13771355 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13781356 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfnet.o `test -f 'nfnet.c' || echo '$(srcdir)/'`nfnet.c
13791357
13801358 sfcapd-nfnet.obj: nfnet.c
13811359 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-nfnet.obj -MD -MP -MF $(DEPDIR)/sfcapd-nfnet.Tpo -c -o sfcapd-nfnet.obj `if test -f 'nfnet.c'; then $(CYGPATH_W) 'nfnet.c'; else $(CYGPATH_W) '$(srcdir)/nfnet.c'; fi`
1382 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
1360 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
13831361 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='sfcapd-nfnet.obj' libtool=no @AMDEPBACKSLASH@
13841362 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13851363 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-nfnet.obj `if test -f 'nfnet.c'; then $(CYGPATH_W) 'nfnet.c'; else $(CYGPATH_W) '$(srcdir)/nfnet.c'; fi`
13861364
13871365 sfcapd-collector.o: collector.c
13881366 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-collector.o -MD -MP -MF $(DEPDIR)/sfcapd-collector.Tpo -c -o sfcapd-collector.o `test -f 'collector.c' || echo '$(srcdir)/'`collector.c
1389 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
1367 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
13901368 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='sfcapd-collector.o' libtool=no @AMDEPBACKSLASH@
13911369 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13921370 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-collector.o `test -f 'collector.c' || echo '$(srcdir)/'`collector.c
13931371
13941372 sfcapd-collector.obj: collector.c
13951373 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-collector.obj -MD -MP -MF $(DEPDIR)/sfcapd-collector.Tpo -c -o sfcapd-collector.obj `if test -f 'collector.c'; then $(CYGPATH_W) 'collector.c'; else $(CYGPATH_W) '$(srcdir)/collector.c'; fi`
1396 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
1374 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
13971375 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='sfcapd-collector.obj' libtool=no @AMDEPBACKSLASH@
13981376 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13991377 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-collector.obj `if test -f 'collector.c'; then $(CYGPATH_W) 'collector.c'; else $(CYGPATH_W) '$(srcdir)/collector.c'; fi`
14001378
14011379 sfcapd-bookkeeper.o: bookkeeper.c
14021380 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-bookkeeper.o -MD -MP -MF $(DEPDIR)/sfcapd-bookkeeper.Tpo -c -o sfcapd-bookkeeper.o `test -f 'bookkeeper.c' || echo '$(srcdir)/'`bookkeeper.c
1403 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
1381 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
14041382 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='sfcapd-bookkeeper.o' libtool=no @AMDEPBACKSLASH@
14051383 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14061384 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-bookkeeper.o `test -f 'bookkeeper.c' || echo '$(srcdir)/'`bookkeeper.c
14071385
14081386 sfcapd-bookkeeper.obj: bookkeeper.c
14091387 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-bookkeeper.obj -MD -MP -MF $(DEPDIR)/sfcapd-bookkeeper.Tpo -c -o sfcapd-bookkeeper.obj `if test -f 'bookkeeper.c'; then $(CYGPATH_W) 'bookkeeper.c'; else $(CYGPATH_W) '$(srcdir)/bookkeeper.c'; fi`
1410 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
1388 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
14111389 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='sfcapd-bookkeeper.obj' libtool=no @AMDEPBACKSLASH@
14121390 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14131391 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-bookkeeper.obj `if test -f 'bookkeeper.c'; then $(CYGPATH_W) 'bookkeeper.c'; else $(CYGPATH_W) '$(srcdir)/bookkeeper.c'; fi`
14141392
14151393 sfcapd-expire.o: expire.c
14161394 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-expire.o -MD -MP -MF $(DEPDIR)/sfcapd-expire.Tpo -c -o sfcapd-expire.o `test -f 'expire.c' || echo '$(srcdir)/'`expire.c
1417 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
1395 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
14181396 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='sfcapd-expire.o' libtool=no @AMDEPBACKSLASH@
14191397 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14201398 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-expire.o `test -f 'expire.c' || echo '$(srcdir)/'`expire.c
14211399
14221400 sfcapd-expire.obj: expire.c
14231401 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-expire.obj -MD -MP -MF $(DEPDIR)/sfcapd-expire.Tpo -c -o sfcapd-expire.obj `if test -f 'expire.c'; then $(CYGPATH_W) 'expire.c'; else $(CYGPATH_W) '$(srcdir)/expire.c'; fi`
1424 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
1402 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
14251403 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='sfcapd-expire.obj' libtool=no @AMDEPBACKSLASH@
14261404 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14271405 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-expire.obj `if test -f 'expire.c'; then $(CYGPATH_W) 'expire.c'; else $(CYGPATH_W) '$(srcdir)/expire.c'; fi`
14281406
14291407 sfcapd-pcap_reader.o: pcap_reader.c
14301408 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-pcap_reader.o -MD -MP -MF $(DEPDIR)/sfcapd-pcap_reader.Tpo -c -o sfcapd-pcap_reader.o `test -f 'pcap_reader.c' || echo '$(srcdir)/'`pcap_reader.c
1431 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
1409 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
14321410 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='sfcapd-pcap_reader.o' libtool=no @AMDEPBACKSLASH@
14331411 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14341412 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-pcap_reader.o `test -f 'pcap_reader.c' || echo '$(srcdir)/'`pcap_reader.c
14351413
14361414 sfcapd-pcap_reader.obj: pcap_reader.c
14371415 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -MT sfcapd-pcap_reader.obj -MD -MP -MF $(DEPDIR)/sfcapd-pcap_reader.Tpo -c -o sfcapd-pcap_reader.obj `if test -f 'pcap_reader.c'; then $(CYGPATH_W) 'pcap_reader.c'; else $(CYGPATH_W) '$(srcdir)/pcap_reader.c'; fi`
1438 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
1416 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
14391417 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='sfcapd-pcap_reader.obj' libtool=no @AMDEPBACKSLASH@
14401418 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14411419 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfcapd_CFLAGS) $(CFLAGS) -c -o sfcapd-pcap_reader.obj `if test -f 'pcap_reader.c'; then $(CYGPATH_W) 'pcap_reader.c'; else $(CYGPATH_W) '$(srcdir)/pcap_reader.c'; fi`
14511429 unique=`for i in $$list; do \
14521430 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14531431 done | \
1454 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1455 END { if (nonempty) { for (i in files) print i; }; }'`; \
1432 $(AWK) ' { files[$$0] = 1; } \
1433 END { for (i in files) print i; }'`; \
14561434 mkid -fID $$unique
14571435 tags: TAGS
14581436
14591437 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
14601438 $(TAGS_FILES) $(LISP)
1461 set x; \
1439 tags=; \
14621440 here=`pwd`; \
14631441 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
14641442 unique=`for i in $$list; do \
14651443 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14661444 done | \
1467 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1468 END { if (nonempty) { for (i in files) print i; }; }'`; \
1469 shift; \
1470 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1445 $(AWK) ' { files[$$0] = 1; } \
1446 END { for (i in files) print i; }'`; \
1447 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
14711448 test -n "$$unique" || unique=$$empty_fix; \
1472 if test $$# -gt 0; then \
1473 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1474 "$$@" $$unique; \
1475 else \
1476 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1477 $$unique; \
1478 fi; \
1449 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1450 $$tags $$unique; \
14791451 fi
14801452 ctags: CTAGS
14811453 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
14821454 $(TAGS_FILES) $(LISP)
1455 tags=; \
1456 here=`pwd`; \
14831457 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
14841458 unique=`for i in $$list; do \
14851459 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14861460 done | \
1487 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1488 END { if (nonempty) { for (i in files) print i; }; }'`; \
1489 test -z "$(CTAGS_ARGS)$$unique" \
1461 $(AWK) ' { files[$$0] = 1; } \
1462 END { for (i in files) print i; }'`; \
1463 test -z "$(CTAGS_ARGS)$$tags$$unique" \
14901464 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1491 $$unique
1465 $$tags $$unique
14921466
14931467 GTAGS:
14941468 here=`$(am__cd) $(top_builddir) && pwd` \
1495 && $(am__cd) $(top_srcdir) \
1496 && gtags -i $(GTAGS_ARGS) "$$here"
1469 && cd $(top_srcdir) \
1470 && gtags -i $(GTAGS_ARGS) $$here
14971471
14981472 distclean-tags:
14991473 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
15001474
15011475 check-TESTS: $(TESTS)
1502 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
1476 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
15031477 srcdir=$(srcdir); export srcdir; \
15041478 list=' $(TESTS) '; \
1505 $(am__tty_colors); \
15061479 if test -n "$$list"; then \
15071480 for tst in $$list; do \
15081481 if test -f ./$$tst; then dir=./; \
15111484 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
15121485 all=`expr $$all + 1`; \
15131486 case " $(XFAIL_TESTS) " in \
1514 *[\ \ ]$$tst[\ \ ]*) \
1487 *$$ws$$tst$$ws*) \
15151488 xpass=`expr $$xpass + 1`; \
15161489 failed=`expr $$failed + 1`; \
1517 col=$$red; res=XPASS; \
1490 echo "XPASS: $$tst"; \
15181491 ;; \
15191492 *) \
1520 col=$$grn; res=PASS; \
1493 echo "PASS: $$tst"; \
15211494 ;; \
15221495 esac; \
15231496 elif test $$? -ne 77; then \
15241497 all=`expr $$all + 1`; \
15251498 case " $(XFAIL_TESTS) " in \
1526 *[\ \ ]$$tst[\ \ ]*) \
1499 *$$ws$$tst$$ws*) \
15271500 xfail=`expr $$xfail + 1`; \
1528 col=$$lgn; res=XFAIL; \
1501 echo "XFAIL: $$tst"; \
15291502 ;; \
15301503 *) \
15311504 failed=`expr $$failed + 1`; \
1532 col=$$red; res=FAIL; \
1505 echo "FAIL: $$tst"; \
15331506 ;; \
15341507 esac; \
15351508 else \
15361509 skip=`expr $$skip + 1`; \
1537 col=$$blu; res=SKIP; \
1510 echo "SKIP: $$tst"; \
15381511 fi; \
1539 echo "$${col}$$res$${std}: $$tst"; \
15401512 done; \
1541 if test "$$all" -eq 1; then \
1542 tests="test"; \
1543 All=""; \
1544 else \
1545 tests="tests"; \
1546 All="All "; \
1547 fi; \
15481513 if test "$$failed" -eq 0; then \
15491514 if test "$$xfail" -eq 0; then \
1550 banner="$$All$$all $$tests passed"; \
1515 banner="All $$all tests passed"; \
15511516 else \
1552 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
1553 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
1517 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
15541518 fi; \
15551519 else \
15561520 if test "$$xpass" -eq 0; then \
1557 banner="$$failed of $$all $$tests failed"; \
1521 banner="$$failed of $$all tests failed"; \
15581522 else \
1559 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
1560 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
1523 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
15611524 fi; \
15621525 fi; \
15631526 dashes="$$banner"; \
15641527 skipped=""; \
15651528 if test "$$skip" -ne 0; then \
1566 if test "$$skip" -eq 1; then \
1567 skipped="($$skip test was not run)"; \
1568 else \
1569 skipped="($$skip tests were not run)"; \
1570 fi; \
1529 skipped="($$skip tests were not run)"; \
15711530 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
15721531 dashes="$$skipped"; \
15731532 fi; \
15781537 dashes="$$report"; \
15791538 fi; \
15801539 dashes=`echo "$$dashes" | sed s/./=/g`; \
1581 if test "$$failed" -eq 0; then \
1582 echo "$$grn$$dashes"; \
1583 else \
1584 echo "$$red$$dashes"; \
1585 fi; \
1540 echo "$$dashes"; \
15861541 echo "$$banner"; \
15871542 test -z "$$skipped" || echo "$$skipped"; \
15881543 test -z "$$report" || echo "$$report"; \
1589 echo "$$dashes$$std"; \
1544 echo "$$dashes"; \
15901545 test "$$failed" -eq 0; \
15911546 else :; fi
15921547
16061561 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
16071562 if test -d $$d/$$file; then \
16081563 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1609 if test -d "$(distdir)/$$file"; then \
1610 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1564 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1565 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
16111566 fi; \
1612 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1613 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1614 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1615 fi; \
1616 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1567 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
16171568 else \
1618 test -f "$(distdir)/$$file" \
1619 || cp -p $$d/$$file "$(distdir)/$$file" \
1569 test -f $(distdir)/$$file \
1570 || cp -p $$d/$$file $(distdir)/$$file \
16201571 || exit 1; \
16211572 fi; \
16221573 done
16511602
16521603 distclean-generic:
16531604 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1654 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
16551605
16561606 maintainer-clean-generic:
16571607 @echo "This command is intended for maintainers to use"
16761626
16771627 html: html-am
16781628
1679 html-am:
1680
16811629 info: info-am
16821630
16831631 info-am:
16861634
16871635 install-dvi: install-dvi-am
16881636
1689 install-dvi-am:
1690
16911637 install-exec-am: install-binPROGRAMS
16921638
16931639 install-html: install-html-am
16941640
1695 install-html-am:
1696
16971641 install-info: install-info-am
16981642
1699 install-info-am:
1700
17011643 install-man:
17021644
17031645 install-pdf: install-pdf-am
17041646
1705 install-pdf-am:
1706
17071647 install-ps: install-ps-am
1708
1709 install-ps-am:
17101648
17111649 installcheck-am:
17121650
17291667
17301668 uninstall-am: uninstall-binPROGRAMS
17311669
1732 .MAKE: all check check-am install install-am install-strip
1670 .MAKE: install-am install-strip
17331671
17341672 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
17351673 clean-binPROGRAMS clean-generic ctags distclean \
17441682 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
17451683 tags uninstall uninstall-am uninstall-binPROGRAMS
17461684
1747
17481685 # Tell versions [3.59,3.63) of GNU make to not export all variables.
17491686 # Otherwise a system limit (for SysV at least) may be exceeded.
17501687 .NOEXPORT:
7474
7575 /* module limited globals */
7676 static extension_info_t v5_extension_info; // common for all v5 records
77 static uint16_t v5_output_record_size;
77 static uint16_t v5_output_record_size, v5_output_record_base_size;
7878
7979 // All required extension to save full v5 records
8080 static uint16_t v5_full_mapp[] = { EX_IO_SNMP_2, EX_AS_2, EX_MULIPLE, EX_NEXT_HOP_v4, EX_ROUTER_IP_v4, EX_ROUTER_ID, 0 };
8181
82 typedef struct v5_block_s {
83 uint32_t srcaddr;
84 uint32_t dstaddr;
85 uint32_t dPkts;
86 uint32_t dOctets;
87 uint32_t data[1]; // link to next record
88 } v5_block_t;
89 #define V5_BLOCK_DATA_SIZE (sizeof(v5_block_t) - sizeof(uint32_t))
82 // to simplify, assume blocks with 64 bit counters to check for enough buffer space
83 // regardless if 32 or 64 bit packet/byte counters
84 #define V5_BLOCK_DATA_SIZE (sizeof(ipv4_block_t) - sizeof(uint32_t) + 2 * sizeof(uint64_t))
9085
9186 typedef struct exporter_v5_s {
9287 // link chain
145140 i++;
146141 }
147142 // extension_size contains the sum of all optional extensions
148 // caculate the record size
149 v5_output_record_size = COMMON_RECORD_DATA_SIZE + V5_BLOCK_DATA_SIZE + extension_size;
143 // caculate the record size without counters!
144 v5_output_record_base_size = COMMON_RECORD_DATA_SIZE + 8 + extension_size; // + 8 for 2 x IPv4 addr
150145
151146 // now the full extension map size
152147 map_size += sizeof(extension_map_t);
291286 syslog(LOG_ERR,"Process_v5: Exporter NULL: Abort v5/v7 record processing");
292287 return;
293288 }
294 flags = exporter->sampling_interval == 1 ? 0 : FLAG_SAMPLED;
289
290 // calculate record size depending on counter size
291 // sigh .. one day I should fix switch to 64bits
292 if ( exporter->sampling_interval == 1 ) {
293 flags = 0;
294 v5_output_record_size = v5_output_record_base_size + 8; // 2 x 4 byte counters
295 } else {
296 flags = 0;
297 SetFlag(flags, FLAG_SAMPLED);
298 SetFlag(flags, FLAG_PKG_64);
299 SetFlag(flags, FLAG_BYTES_64);
300 v5_output_record_size = v5_output_record_base_size + 16; // 2 x 8 byte counters
301 }
295302
296303 extension_map = exporter->extension_map;
297304
304311 common_record = fs->nffile->buff_ptr;
305312 done = 0;
306313 while ( !done ) {
307 v5_block_t *v5_block;
314 ipv4_block_t *ipv4_block;
308315
309316 /* Process header */
310317
332339
333340 // map output record to memory buffer
334341 common_record = (common_record_t *)fs->nffile->buff_ptr;
335 v5_block = (v5_block_t *)common_record->data;
342 ipv4_block = (ipv4_block_t *)common_record->data;
336343
337344 // sequence check
338345 if ( exporter->first ) {
373380 /* loop over each records associated with this header */
374381 for (i = 0; i < count; i++) {
375382 pointer_addr_t bsize;
383 uint64_t packets, bytes;
376384 void *data_ptr;
377385 uint8_t *s1, *s2;
378386 int j, id;
392400 common_record->fwd_status = 0;
393401
394402 // v5 typed data as fixed struct v5_block
395 v5_block->srcaddr = ntohl(v5_record->srcaddr);
396 v5_block->dstaddr = ntohl(v5_record->dstaddr);
397 v5_block->dPkts = ntohl(v5_record->dPkts);
398 v5_block->dOctets = ntohl(v5_record->dOctets);
403 ipv4_block->srcaddr = ntohl(v5_record->srcaddr);
404 ipv4_block->dstaddr = ntohl(v5_record->dstaddr);
405
406 if ( exporter->sampling_interval == 1 ) {
407 value32_t *v = (value32_t *)ipv4_block->data;
408
409 packets = (uint64_t)ntohl(v5_record->dPkts);
410 bytes = (uint64_t)ntohl(v5_record->dOctets);
411
412 v->val = packets;
413 v = (value32_t *)v->data;
414 v->val = bytes;
415
416 data_ptr = (void *)v->data;
417 } else {
418 value64_t *v = (value64_t *)ipv4_block->data;
419 uint32_t *ptr = (uint32_t *)&packets;
420
421 packets = (uint64_t)ntohl(v5_record->dPkts) * (uint64_t)exporter->sampling_interval;
422 bytes = (uint64_t)ntohl(v5_record->dOctets) * (uint64_t)exporter->sampling_interval;
423
424 // pack packets in 32bit chunks
425 v->val.val32[0] = ptr[0];
426 v->val.val32[1] = ptr[1];
427
428 // pack bytes in 32bit chunks
429 v = (value64_t *)v->data;
430 ptr = (uint32_t *)&bytes;
431 v->val.val32[0] = ptr[0];
432 v->val.val32[1] = ptr[1];
433
434 data_ptr = (void *)v->data;
435 }
399436
400437 // process optional extensions
401 data_ptr = (void *)v5_block->data;
402438 j = 0;
403439 while ( (id = extension_map->ex_id[j]) != 0 ) {
404440 switch (id) {
496532
497533
498534 // Update stats
499 v5_block->dPkts *= exporter->sampling_interval;
500 v5_block->dOctets *= exporter->sampling_interval;
501535 switch (common_record->prot) {
502536 case IPPROTO_ICMP:
503537 fs->nffile->stat_record->numflows_icmp++;
504 fs->nffile->stat_record->numpackets_icmp += v5_block->dPkts;
505 fs->nffile->stat_record->numbytes_icmp += v5_block->dOctets;
538 fs->nffile->stat_record->numpackets_icmp += packets;
539 fs->nffile->stat_record->numbytes_icmp += bytes;
506540 // fix odd CISCO behaviour for ICMP port/type in src port
507541 if ( common_record->srcport != 0 ) {
508542 s1 = (uint8_t *)&(common_record->srcport);
514548 break;
515549 case IPPROTO_TCP:
516550 fs->nffile->stat_record->numflows_tcp++;
517 fs->nffile->stat_record->numpackets_tcp += v5_block->dPkts;
518 fs->nffile->stat_record->numbytes_tcp += v5_block->dOctets;
551 fs->nffile->stat_record->numpackets_tcp += packets;
552 fs->nffile->stat_record->numbytes_tcp += bytes;
519553 break;
520554 case IPPROTO_UDP:
521555 fs->nffile->stat_record->numflows_udp++;
522 fs->nffile->stat_record->numpackets_udp += v5_block->dPkts;
523 fs->nffile->stat_record->numbytes_udp += v5_block->dOctets;
556 fs->nffile->stat_record->numpackets_udp += packets;
557 fs->nffile->stat_record->numbytes_udp += bytes;
524558 break;
525559 default:
526560 fs->nffile->stat_record->numflows_other++;
527 fs->nffile->stat_record->numpackets_other += v5_block->dPkts;
528 fs->nffile->stat_record->numbytes_other += v5_block->dOctets;
561 fs->nffile->stat_record->numpackets_other += packets;
562 fs->nffile->stat_record->numbytes_other += bytes;
529563 }
530564 fs->nffile->stat_record->numflows++;
531 fs->nffile->stat_record->numpackets += v5_block->dPkts;
532 fs->nffile->stat_record->numbytes += v5_block->dOctets;
565 fs->nffile->stat_record->numpackets += packets;
566 fs->nffile->stat_record->numbytes += bytes;
533567
534568 if ( fs->xstat ) {
535 uint32_t bpp = v5_block->dPkts ? v5_block->dOctets/v5_block->dPkts : 0;
569 uint32_t bpp = packets ? (bytes/packets) : 0;
536570 if ( bpp > MAX_BPP )
537571 bpp = MAX_BPP;
538572 if ( common_record->prot == IPPROTO_TCP ) {
572606 }
573607 // advance to next output record
574608 common_record = (common_record_t *)data_ptr;
575 v5_block = (v5_block_t *)common_record->data;
609 ipv4_block = (ipv4_block_t *)common_record->data;
576610
577611 // buffer size sanity check - should never happen, but check it anyway
578612 bsize = (pointer_addr_t)common_record - (pointer_addr_t)fs->nffile->block_header - sizeof(data_block_header_t);
149149 uint16_t extension;
150150 } element_info[128] = {
151151 { 0, 0, 0 }, // 0 - empty
152 { 4, 8, 0 }, // 1 - NF9_IN_BYTES
153 { 4, 8, 0 }, // 2 - NF9_IN_PACKETS
152 { 8, 8, 0 }, // 1 - NF9_IN_BYTES
153 { 8, 8, 0 }, // 2 - NF9_IN_PACKETS
154154 { 4, 8, 18 }, // 3 - NF9_FLOWS
155155 { 1, 1, 0 }, // 4 - NF9_IN_PROTOCOL
156156 { 1, 1, 0 }, // 5 - NF9_SRC_TOS
482482 table->element[input_index].length = input_template[element].length;
483483 (*offset) += output_length;
484484 table->input_index++;
485
486 if ( input_template[element].length < output_length ) {
487
488 }
485489 } else {
486490
487491 dbg_printf("Zero: %u, v9: %i, Output Offset %u, len: %u\n",
603607 if ( input_template[NF9_IN_PACKETS].length ) {
604608 table->packet_offset = offset;
605609 FillElement( table, NF9_IN_PACKETS, &offset);
606 if ( input_template[NF9_IN_PACKETS].length == 8 )
607 SetFlag(table->flags, FLAG_PKG_64);
610 // fix: always have 64byte counters if ( input_template[NF9_IN_PACKETS].length == 8 )
611 SetFlag(table->flags, FLAG_PKG_64);
608612 } else
609613 table->packet_offset = 0;
610614
615619 if ( input_template[NF9_IN_BYTES].length ) {
616620 table->byte_offset = offset;
617621 FillElement( table, NF9_IN_BYTES, &offset);
618 if ( input_template[NF9_IN_BYTES].length == 8 )
619 SetFlag(table->flags, FLAG_BYTES_64);
622 // fix: always have 64byte counters if ( input_template[NF9_IN_BYTES].length == 8 )
623 SetFlag(table->flags, FLAG_BYTES_64);
620624 } else
621625 table->byte_offset = 0;
622626
11731177 *((uint32_t *)&out[output_offset]) = Get_val24((void *)&in[input_offset]);
11741178 break;
11751179 case 4: {
1176 uint32_t p = Get_val32((void *)&in[input_offset]);
1177 if ( output_offset == table->packet_offset || output_offset == table->byte_offset )
1178 *((uint32_t *)&out[output_offset]) = (uint32_t)(p * sampling_rate);
1179 else
1180 if ( output_offset == table->packet_offset || output_offset == table->byte_offset ) {
1181 // although bayte and packets are 4 bytes only, we store 8 bytes, as sampling
1182 // may overflow 4 bytes. this is a tmp fix.
1183 type_mask_t t;
1184 t.val.val64 = (uint64_t)Get_val32((void *)&in[input_offset]);
1185 t.val.val64 *= sampling_rate;
1186
1187 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1188 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1189 } else {
1190 uint32_t p = Get_val32((void *)&in[input_offset]);
11801191 *((uint32_t *)&out[output_offset]) = p;
1192 }
11811193 } break;
11821194 case 5:
11831195 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
17811793 fields->record[count].length = htons(element_info[NF9_IN_PACKETS].max);
17821794 record_length += element_info[NF9_IN_PACKETS].max;
17831795 } else {
1784 fields->record[count].length = htons(element_info[NF9_IN_PACKETS].min);
1785 record_length += element_info[NF9_IN_PACKETS].min;
1796 // fields->record[count].length = htons(element_info[NF9_IN_PACKETS].min);
1797 fields->record[count].length = htons(4);
1798 // record_length += element_info[NF9_IN_PACKETS].min;
1799 record_length += 4;
17861800 }
17871801 count++;
17881802
17921806 fields->record[count].length = htons(element_info[NF9_IN_BYTES].max);
17931807 record_length += element_info[NF9_IN_BYTES].max;
17941808 } else {
1795 fields->record[count].length = htons(element_info[NF9_IN_BYTES].min);
1796 record_length += element_info[NF9_IN_BYTES].min;
1809 // fields->record[count].length = htons(element_info[NF9_IN_BYTES].min);
1810 fields->record[count].length = htons(4);
1811 // record_length += element_info[NF9_IN_BYTES].min;
1812 record_length += 4;
17971813 }
17981814 count++;
17991815 // process extension map
0 3,4c3,4
1 < Flags = 0x06 Unsampled
2 < size = 168
3 ---
4 > Flags = 0x00 Unsampled
5 > size = 160
6 54,55c54,55
7 < Flags = 0x06 Unsampled
8 < size = 168
9 ---
10 > Flags = 0x00 Unsampled
11 > size = 160
12 105,106c105,106
13 < Flags = 0x06 Unsampled
14 < size = 168
15 ---
16 > Flags = 0x00 Unsampled
17 > size = 160
18 156,157c156,157
19 < Flags = 0x06 Unsampled
20 < size = 168
21 ---
22 > Flags = 0x00 Unsampled
23 > size = 160
24 207,208c207,208
25 < Flags = 0x06 Unsampled
26 < size = 168
27 ---
28 > Flags = 0x00 Unsampled
29 > size = 160
30 258,259c258,259
31 < Flags = 0x06 Unsampled
32 < size = 168
33 ---
34 > Flags = 0x00 Unsampled
35 > size = 160
36 309,310c309,310
37 < Flags = 0x06 Unsampled
38 < size = 168
39 ---
40 > Flags = 0x00 Unsampled
41 > size = 160
42 360,361c360,361
43 < Flags = 0x06 Unsampled
44 < size = 168
45 ---
46 > Flags = 0x00 Unsampled
47 > size = 160
48 411,412c411,412
49 < Flags = 0x06 Unsampled
50 < size = 168
51 ---
52 > Flags = 0x00 Unsampled
53 > size = 160
54 462,463c462,463
55 < Flags = 0x06 Unsampled
56 < size = 168
57 ---
58 > Flags = 0x00 Unsampled
59 > size = 160
60 513,514c513,514
61 < Flags = 0x06 Unsampled
62 < size = 168
63 ---
64 > Flags = 0x00 Unsampled
65 > size = 160
66 564,565c564,565
67 < Flags = 0x06 Unsampled
68 < size = 168
69 ---
70 > Flags = 0x00 Unsampled
71 > size = 160
72 615,616c615,616
73 < Flags = 0x06 Unsampled
74 < size = 168
75 ---
76 > Flags = 0x00 Unsampled
77 > size = 160
78 666,667c666,667
79 < Flags = 0x06 Unsampled
80 < size = 168
81 ---
82 > Flags = 0x00 Unsampled
83 > size = 160
84 717,718c717,718
85 < Flags = 0x06 Unsampled
86 < size = 168
87 ---
88 > Flags = 0x00 Unsampled
89 > size = 160
90 768,769c768,769
91 < Flags = 0x07 Unsampled
92 < size = 192
93 ---
94 > Flags = 0x01 Unsampled
95 > size = 184
96 819,820c819,820
97 < Flags = 0x07 Unsampled
98 < size = 192
99 ---
100 > Flags = 0x01 Unsampled
101 > size = 184
102 870,871c870,871
103 < Flags = 0x07 Unsampled
104 < size = 192
105 ---
106 > Flags = 0x05 Unsampled
107 > size = 188
108 921,922c921,922
109 < Flags = 0x07 Unsampled
110 < size = 192
111 ---
112 > Flags = 0x03 Unsampled
113 > size = 188
114 1023,1024c1023,1024
115 < Flags = 0x06 Unsampled
116 < size = 168
117 ---
118 > Flags = 0x04 Unsampled
119 > size = 164
120 1074,1075c1074,1075
121 < Flags = 0x06 Unsampled
122 < size = 168
123 ---
124 > Flags = 0x02 Unsampled
125 > size = 164
6262 // required for idet filter in nftree.c
6363 char *CurrentIdent;
6464
65 /* local vars */
66 static file_header_t FileHeader;
6765
6866 #define READ_FILE 1
6967 #define WRITE_FILE 1
197195
198196 ret = read(nffile->fd, (void *)nffile->file_header, sizeof(file_header_t));
199197 if ( nffile->file_header->magic != MAGIC ) {
200 LogError("Open file '%s': bad magic: 0x%X\n", filename ? filename : "<stdin>", FileHeader.magic );
198 LogError("Open file '%s': bad magic: 0x%X\n", filename ? filename : "<stdin>", nffile->file_header->magic );
201199 CloseFile(nffile);
202200 if ( allocated ) {
203201 DisposeFile(nffile);
206204 }
207205
208206 if ( nffile->file_header->version != LAYOUT_VERSION_1 ) {
209 LogError("Open file %s: bad version: %u\n", filename, FileHeader.version );
207 LogError("Open file %s: bad version: %u\n", filename, nffile->file_header->version );
210208 CloseFile(nffile);
211209 if ( allocated ) {
212210 DisposeFile(nffile);
249247 } // End of CloseFile
250248
251249 int ChangeIdent(char *filename, char *Ident) {
250 file_header_t FileHeader;
252251 struct stat stat_buf;
253252 int fd, ret;
254253
313312
314313 // format info: make compiler happy with conversion to (unsigned long long),
315314 // which does not change the size of the parameter
316 printf("Ident: %s\n", FileHeader.ident);
315 printf("Ident: %s\n", CurrentIdent);
317316 printf("Flows: %llu\n", (unsigned long long)s->numflows);
318317 printf("Flows_tcp: %llu\n", (unsigned long long)s->numflows_tcp);
319318 printf("Flows_udp: %llu\n", (unsigned long long)s->numflows_udp);
10101009 }
10111010
10121011 if ( file_header.magic != MAGIC ) {
1013 LogError("Open file '%s': bad magic: 0x%X\n", filename ? filename : "<stdin>", FileHeader.magic );
1012 LogError("Open file '%s': bad magic: 0x%X\n", filename ? filename : "<stdin>", file_header.magic );
10141013 close(fd);
10151014 return NULL;
10161015 }
10171016
10181017 if ( file_header.version != LAYOUT_VERSION_1 ) {
1019 LogError("Open file %s: bad version: %u\n", filename, FileHeader.version );
1018 LogError("Open file %s: bad version: %u\n", filename, file_header.version );
10201019 close(fd);
10211020 return NULL;
10221021 }
Binary diff not shown
318318 { NULL, 0, NULL}
319319 };
320320
321 static uint32_t byte_limit, packet_limit;
321 static uint64_t byte_limit, packet_limit;
322322 static int byte_mode, packet_mode;
323323 enum { NONE = 0, LESS, MORE };
324324
489489 exit(250);
490490 }
491491 }
492 packet_limit = atol(s) * scale;
492 packet_limit = (uint64_t)atol(s) * (uint64_t)scale;
493493 }
494494
495495 if ( byte_limit_string ) {
536536 }
537537 scale = 1;
538538 }
539 byte_limit = atol(s) * scale;
539 byte_limit = (uint64_t)atol(s) * (uint64_t)scale;
540540 }
541541
542542 if ( byte_limit )
543 printf("Byte limit: %c %u bytes\n", byte_mode == LESS ? '<' : '>', byte_limit);
543 printf("Byte limit: %c %llu bytes\n", byte_mode == LESS ? '<' : '>', byte_limit);
544544
545545 if ( packet_limit )
546 printf("Packet limit: %c %u packets\n", packet_mode == LESS ? '<' : '>', packet_limit);
546 printf("Packet limit: %c %llu packets\n", packet_mode == LESS ? '<' : '>', packet_limit);
547547
548548
549549 } // End of SetLimits
Binary diff not shown
6767 #ifdef FLEX_SCANNER
6868 #define YY_NO_UNPUT
6969 static YY_BUFFER_STATE in_buffer;
70
7170 #else
7271 static char *in_buffer;
72
7373 #undef getc
7474 #define getc(fp) (*in_buffer == 0 ? EOF : *in_buffer++)
7575 #endif
8585 fi
8686
8787 ./nfdump -r tmp/nfcapd.* -q -o raw > test3.out
88 diff -u test3.out nfdump.test.out
88 # nfdump 1.6.5 always uses 64 bits. therefore we have a predictable diff
89 # so diff the diff
90 diff test3.out nfdump.test.out > test3.diff || true
91 diff test3.diff nfdump.test.diff
8992
9093 rm test.flows tmp/nfcapd.* test3.out
9194 rmdir tmp
0 3,4c3,4
1 < Flags = 0x06 Unsampled
2 < size = 168
3 ---
4 > Flags = 0x00 Unsampled
5 > size = 160
6 54,55c54,55
7 < Flags = 0x06 Unsampled
8 < size = 168
9 ---
10 > Flags = 0x00 Unsampled
11 > size = 160
12 105,106c105,106
13 < Flags = 0x06 Unsampled
14 < size = 168
15 ---
16 > Flags = 0x00 Unsampled
17 > size = 160
18 156,157c156,157
19 < Flags = 0x06 Unsampled
20 < size = 168
21 ---
22 > Flags = 0x00 Unsampled
23 > size = 160
24 207,208c207,208
25 < Flags = 0x06 Unsampled
26 < size = 168
27 ---
28 > Flags = 0x00 Unsampled
29 > size = 160
30 258,259c258,259
31 < Flags = 0x06 Unsampled
32 < size = 168
33 ---
34 > Flags = 0x00 Unsampled
35 > size = 160
36 309,310c309,310
37 < Flags = 0x06 Unsampled
38 < size = 168
39 ---
40 > Flags = 0x00 Unsampled
41 > size = 160
42 360,361c360,361
43 < Flags = 0x06 Unsampled
44 < size = 168
45 ---
46 > Flags = 0x00 Unsampled
47 > size = 160
48 411,412c411,412
49 < Flags = 0x06 Unsampled
50 < size = 168
51 ---
52 > Flags = 0x00 Unsampled
53 > size = 160
54 462,463c462,463
55 < Flags = 0x06 Unsampled
56 < size = 168
57 ---
58 > Flags = 0x00 Unsampled
59 > size = 160
60 513,514c513,514
61 < Flags = 0x06 Unsampled
62 < size = 168
63 ---
64 > Flags = 0x00 Unsampled
65 > size = 160
66 564,565c564,565
67 < Flags = 0x06 Unsampled
68 < size = 168
69 ---
70 > Flags = 0x00 Unsampled
71 > size = 160
72 615,616c615,616
73 < Flags = 0x06 Unsampled
74 < size = 168
75 ---
76 > Flags = 0x00 Unsampled
77 > size = 160
78 666,667c666,667
79 < Flags = 0x06 Unsampled
80 < size = 168
81 ---
82 > Flags = 0x00 Unsampled
83 > size = 160
84 717,718c717,718
85 < Flags = 0x06 Unsampled
86 < size = 168
87 ---
88 > Flags = 0x00 Unsampled
89 > size = 160
90 768,769c768,769
91 < Flags = 0x07 Unsampled
92 < size = 192
93 ---
94 > Flags = 0x01 Unsampled
95 > size = 184
96 819,820c819,820
97 < Flags = 0x07 Unsampled
98 < size = 192
99 ---
100 > Flags = 0x01 Unsampled
101 > size = 184
102 870,871c870,871
103 < Flags = 0x07 Unsampled
104 < size = 192
105 ---
106 > Flags = 0x05 Unsampled
107 > size = 188
108 921,922c921,922
109 < Flags = 0x07 Unsampled
110 < size = 192
111 ---
112 > Flags = 0x03 Unsampled
113 > size = 188
114 1023,1024c1023,1024
115 < Flags = 0x06 Unsampled
116 < size = 168
117 ---
118 > Flags = 0x04 Unsampled
119 > size = 164
120 1074,1075c1074,1075
121 < Flags = 0x06 Unsampled
122 < size = 168
123 ---
124 > Flags = 0x02 Unsampled
125 > size = 164
00 #! /bin/sh
11 # Wrapper for compilers which do not understand `-c -o'.
22
3 scriptversion=2009-10-06.20; # UTC
3 scriptversion=2005-05-14.22
44
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
6 # Foundation, Inc.
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
76 # Written by Tom Tromey <tromey@cygnus.com>.
87 #
98 # This program is free software; you can redistribute it and/or modify
1716 # GNU General Public License for more details.
1817 #
1918 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2121
2222 # As a special exception to the GNU General Public License, if you
2323 # distribute this file as part of a program that contains a
102102 fi
103103
104104 # Name of file we expect compiler to create.
105 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
105 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
106106
107107 # Create the lock directory.
108 # Note: use `[/\\:.-]' here to ensure that we don't use the same name
108 # Note: use `[/.-]' here to ensure that we don't use the same name
109109 # that we are using for the .o file. Also, base the name on the expected
110110 # object file name, since that is what matters with a parallel build.
111 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
111 lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
112112 while true; do
113113 if mkdir "$lockdir" >/dev/null 2>&1; then
114114 break
123123 ret=$?
124124
125125 if test -f "$cofile"; then
126 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
126 mv "$cofile" "$ofile"
127127 elif test -f "${cofile}bj"; then
128 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
128 mv "${cofile}bj" "$ofile"
129129 fi
130130
131131 rmdir "$lockdir"
137137 # eval: (add-hook 'write-file-hooks 'time-stamp)
138138 # time-stamp-start: "scriptversion="
139139 # time-stamp-format: "%:y-%02m-%02d.%02H"
140 # time-stamp-time-zone: "UTC"
141 # time-stamp-end: "; # UTC"
140 # time-stamp-end: "$"
142141 # End:
00 /* config.h.in. Generated from configure.in by autoheader. */
1
2 /* Define if building universal (internal helper macro) */
3 #undef AC_APPLE_UNIVERSAL_BUILD
41
52 /* Define to 1 if the `closedir' function returns void instead of `int'. */
63 #undef CLOSEDIR_VOID
153150 /* Define to 1 if you have the `strstr' function. */
154151 #undef HAVE_STRSTR
155152
156 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
153 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */
157154 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
158155
159 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
156 /* Define to 1 if `ss_family' is member of `struct sockaddr_storage'. */
160157 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
161158
162 /* Define to 1 if `ss_len' is a member of `struct sockaddr_storage'. */
159 /* Define to 1 if `ss_len' is member of `struct sockaddr_storage'. */
163160 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN
164161
165 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
162 /* Define to 1 if `__ss_family' is member of `struct sockaddr_storage'. */
166163 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY
167164
168 /* Define to 1 if `__ss_len' is a member of `struct sockaddr_storage'. */
165 /* Define to 1 if `__ss_len' is member of `struct sockaddr_storage'. */
169166 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN
170167
171168 /* Define to 1 if you have the <syslog.h> header file. */
234231 /* Define to the one symbol short name of this package. */
235232 #undef PACKAGE_TARNAME
236233
237 /* Define to the home page for this package. */
238 #undef PACKAGE_URL
239
240234 /* Define to the version of this package. */
241235 #undef PACKAGE_VERSION
242236
276270 /* Version number of package */
277271 #undef VERSION
278272
279 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
280 significant byte first (like Motorola and SPARC, unlike Intel). */
281 #if defined AC_APPLE_UNIVERSAL_BUILD
282 # if defined __BIG_ENDIAN__
283 # define WORDS_BIGENDIAN 1
284 # endif
285 #else
286 # ifndef WORDS_BIGENDIAN
287 # undef WORDS_BIGENDIAN
288 # endif
289 #endif
273 /* Define to 1 if your processor stores words with the most significant byte
274 first (like Motorola and SPARC, unlike Intel and VAX). */
275 #undef WORDS_BIGENDIAN
290276
291277 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
292278 `char[]'. */
+11108
-4340
configure less more
00 #! /bin/sh
1 # From configure.in Revision: 69 .
1 # From configure.in Revision: 69 .
22 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $.
3 # Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
44 #
55 # Report bugs to <phaag@users.sourceforge.net>.
66 #
7 #
87 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
139 # This configure script is free software; the Free Software Foundation
1410 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
1814
1915 # Be more Bourne compatible
2016 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2218 emulate sh
2319 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2521 # is contrary to our usage. Disable this feature.
2622 alias -g '${1+"$@"}'='"$@"'
2723 setopt NO_GLOB_SUBST
2824 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
7541
7642 # The user is always right.
7743 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
8360 fi
8461
8562
8865 # there to prevent editors from complaining about space-tab.
8966 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9067 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
9170 IFS=" "" $as_nl"
9271
9372 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
73 case $0 in
9674 *[\\/]* ) as_myself=$0 ;;
9775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 for as_dir in $PATH
9977 do
10078 IFS=$as_save_IFS
10179 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
10482 IFS=$as_save_IFS
10583
10684 ;;
11189 as_myself=$0
11290 fi
11391 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12599 done
126100 PS1='$ '
127101 PS2='> '
128102 PS4='+ '
129103
130104 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
189109 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
208115 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: phaag@users.sourceforge.net about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
246 fi
247 exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265 { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274 return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
316 q
317 }
318 /^X\(\/\/\)$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\).*/{
323 s//\1/
324 q
325 }
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
342 {
343 eval $1+=\$2
344 }'
345 else
346 as_fn_append ()
347 {
348 eval $1=\$$1\$2
349 }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
359 {
360 as_val=$(( $* ))
361 }'
362 else
363 as_fn_arith ()
364 {
365 as_val=`expr "$@" || test $? -eq 1`
366 }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 fi
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } # as_fn_error
385
116
117 # Required to use basename.
386118 if expr a : '\(a\)' >/dev/null 2>&1 &&
387119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388120 as_expr=expr
396128 as_basename=false
397129 fi
398130
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
403 fi
404
131
132 # Name of the executable.
405133 as_me=`$as_basename -- "$0" ||
406134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407135 X"$0" : 'X\(//\)$' \| \
408136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
137 echo X/"$0" |
410138 sed '/^.*\/\([^/][^/]*\)\/*$/{
411139 s//\1/
412140 q
421149 }
422150 s/.*/./; q'`
423151
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
437440 sed -n '
438441 p
439442 /[$]LINENO/=
450453 s/-\n.*//
451454 ' >$as_me.lineno &&
452455 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
454458
455459 # Don't try to exec as it changes $[0], causing all sort of problems
456460 # (the dirname of $[0] is not the place where we might find the
460464 exit
461465 }
462466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
463474 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
475 case `echo -n x` in
465476 -n*)
466 case `echo 'xy\c'` in
477 case `echo 'x\c'` in
467478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
479 *) ECHO_C='\c';;
471480 esac;;
472481 *)
473482 ECHO_N='-n';;
474483 esac
475484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
476492 rm -f conf$$ conf$$.exe conf$$.file
477493 if test -d conf$$.dir; then
478494 rm -f conf$$.dir/conf$$.file
479495 else
480496 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
495507 as_ln_s='cp -p'
496 fi
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
497510 else
498511 as_ln_s='cp -p'
499512 fi
501514 rmdir conf$$.dir 2>/dev/null
502515
503516 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
517 as_mkdir_p=:
505518 else
506519 test -d ./-p && rmdir ./-p
507520 as_mkdir_p=false
518531 as_test_x='
519532 eval sh -c '\''
520533 if test -d "$1"; then
521 test -d "$1/.";
534 test -d "$1/.";
522535 else
523 case $1 in #(
524 -*)set "./$1";;
536 case $1 in
537 -*)set "./$1";;
525538 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
527540 ???[sx]*):;;*)false;;esac;fi
528541 '\'' sh
529542 '
537550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538551
539552
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
553
554 exec 7<&0 </dev/null 6>&1
542555
543556 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545558 # so uname gets run too.
546559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547560
556569 subdirs=
557570 MFLAGS=
558571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
559573
560574 # Identity of this package.
561575 PACKAGE_NAME='nfdump'
562576 PACKAGE_TARNAME='nfdump'
563 PACKAGE_VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
564 PACKAGE_STRING='nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
577 PACKAGE_VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
578 PACKAGE_STRING='nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
565579 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
567580
568581 # Factoring default headers for most tests.
569582 ac_includes_default="\
603616
604617 ac_header_list=
605618 ac_func_list=
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 am__isrc
660 CYGPATH_W
661 PACKAGE
662 VERSION
663 ACLOCAL
664 AUTOCONF
665 AUTOMAKE
666 AUTOHEADER
667 MAKEINFO
668 install_sh
669 STRIP
670 INSTALL_STRIP_PROGRAM
671 mkdir_p
672 AWK
673 SET_MAKE
674 am__leading_dot
675 AMTAR
676 am__tar
677 am__untar
678 CC
679 CFLAGS
680 LDFLAGS
681 CPPFLAGS
682 ac_ct_CC
683 EXEEXT
684 OBJEXT
685 DEPDIR
686 am__include
687 am__quote
688 AMDEP_TRUE
689 AMDEP_FALSE
690 AMDEPBACKSLASH
691 CCDEPMODE
692 am__fastdepCC_TRUE
693 am__fastdepCC_FALSE
694 YACC
695 YFLAGS
696 LEX
697 LEX_OUTPUT_ROOT
698 LEXLIB
699 FT2NFDUMP_TRUE
700 FT2NFDUMP_FALSE
701 NFPROFILE_TRUE
702 NFPROFILE_FALSE
703 RRD_LIBS
704 CPP
705 GREP
706 EGREP
707 NFTRACK_TRUE
708 NFTRACK_FALSE
709 SFLOW_TRUE
710 SFLOW_FALSE
711 READPCAP_TRUE
712 READPCAP_FALSE
713 FT_INCLUDES
714 FT_LDFLAGS
715 LFLAGS
716 FTS_OBJ
609717 LIBOBJS
610 FTS_OBJ
611 LFLAGS
612 FT_LDFLAGS
613 FT_INCLUDES
614 READPCAP_FALSE
615 READPCAP_TRUE
616 SFLOW_FALSE
617 SFLOW_TRUE
618 NFTRACK_FALSE
619 NFTRACK_TRUE
620 EGREP
621 GREP
622 CPP
623 RRD_LIBS
624 NFPROFILE_FALSE
625 NFPROFILE_TRUE
626 FT2NFDUMP_FALSE
627 FT2NFDUMP_TRUE
628 LEXLIB
629 LEX_OUTPUT_ROOT
630 LEX
631 YFLAGS
632 YACC
633 am__fastdepCC_FALSE
634 am__fastdepCC_TRUE
635 CCDEPMODE
636 AMDEPBACKSLASH
637 AMDEP_FALSE
638 AMDEP_TRUE
639 am__quote
640 am__include
641 DEPDIR
642 OBJEXT
643 EXEEXT
644 ac_ct_CC
645 CPPFLAGS
646 LDFLAGS
647 CFLAGS
648 CC
649 am__untar
650 am__tar
651 AMTAR
652 am__leading_dot
653 SET_MAKE
654 AWK
655 mkdir_p
656 MKDIR_P
657 INSTALL_STRIP_PROGRAM
658 STRIP
659 install_sh
660 MAKEINFO
661 AUTOHEADER
662 AUTOMAKE
663 AUTOCONF
664 ACLOCAL
665 VERSION
666 PACKAGE
667 CYGPATH_W
668 am__isrc
669 INSTALL_DATA
670 INSTALL_SCRIPT
671 INSTALL_PROGRAM
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 localstatedir
692 sharedstatedir
693 sysconfdir
694 datadir
695 datarootdir
696 libexecdir
697 sbindir
698 bindir
699 program_transform_name
700 prefix
701 exec_prefix
702 PACKAGE_URL
703 PACKAGE_BUGREPORT
704 PACKAGE_STRING
705 PACKAGE_VERSION
706 PACKAGE_TARNAME
707 PACKAGE_NAME
708 PATH_SEPARATOR
709 SHELL'
718 LTLIBOBJS'
710719 ac_subst_files=''
711 ac_user_opts='
712 enable_option_checking
713 enable_dependency_tracking
714 enable_devel
715 enable_compat15
716 enable_fixtimebug
717 with_ftpath
718 with_rrdpath
719 enable_ftconv
720 enable_nfprofile
721 enable_nftrack
722 enable_sflow
723 enable_readpcap
724 '
725720 ac_precious_vars='build_alias
726721 host_alias
727722 target_alias
738733 # Initialize some variables set by options.
739734 ac_init_help=
740735 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
743736 # The variables have the same names as the options, with
744737 # dashes changed to underlines.
745738 cache_file=/dev/null
795788 fi
796789
797790 case $ac_option in
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
801793 esac
802794
803795 # Accept the important Cygnus configure options, so we can diagnose typos.
839831 datarootdir=$ac_optarg ;;
840832
841833 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843835 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=no ;;
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=no ;;
856841
857842 -docdir | --docdir | --docdi | --doc | --do)
858843 ac_prev=docdir ;;
865850 dvidir=$ac_optarg ;;
866851
867852 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869854 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error $? "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=\$ac_optarg ;;
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=\$ac_optarg ;;
882860
883861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10691047 ac_init_version=: ;;
10701048
10711049 -with-* | --with-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10731051 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=\$ac_optarg ;;
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=\$ac_optarg ;;
10861057
10871058 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10891060 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error $? "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=no ;;
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_$ac_package=no ;;
11021066
11031067 --x)
11041068 # Obsolete; use --with-x.
11181082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11191083 x_libraries=$ac_optarg ;;
11201084
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
11231088 ;;
11241089
11251090 *=*)
11261091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11271092 # Reject names that are not valid shell variable names.
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
11321096 eval $ac_envvar=\$ac_optarg
11331097 export $ac_envvar ;;
11341098
11351099 *)
11361100 # FIXME: should be removed in autoconf 3.0.
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11381102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11411105 ;;
11421106
11431107 esac
11451109
11461110 if test -n "$ac_prev"; then
11471111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 as_fn_error $? "missing argument to $ac_option"
1149 fi
1150
1151 if test -n "$ac_unrecognized_opts"; then
1152 case $enable_option_checking in
1153 no) ;;
1154 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1156 esac
1157 fi
1158
1159 # Check all directory arguments for consistency.
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1114 fi
1115
1116 # Be sure to have absolute directory names.
11601117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11611118 datadir sysconfdir sharedstatedir localstatedir includedir \
11621119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11631120 libdir localedir mandir
11641121 do
11651122 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1167 case $ac_val in
1168 */ )
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1171 esac
1172 # Be sure to have absolute directory names.
11731123 case $ac_val in
11741124 [\\/$]* | ?:[\\/]* ) continue;;
11751125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11761126 esac
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
11781129 done
11791130
11801131 # There might be people who depend on the old broken behavior: `$host'
11881139 if test "x$host_alias" != x; then
11891140 if test "x$build_alias" = x; then
11901141 cross_compiling=maybe
1191 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used" >&2
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
11931144 elif test "x$build_alias" != "x$host_alias"; then
11941145 cross_compiling=yes
11951146 fi
12041155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12051156 ac_ls_di=`ls -di .` &&
12061157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
12081160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
12101163
12111164
12121165 # Find the source files, if location was not specified.
12131166 if test -z "$srcdir"; then
12141167 ac_srcdir_defaulted=yes
12151168 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1169 ac_confdir=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174 echo X"$0" |
12221175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12231176 s//\1/
12241177 q
12451198 fi
12461199 if test ! -r "$srcdir/$ac_unique_file"; then
12471200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
12491203 fi
12501204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12511205 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
12531208 pwd)`
12541209 # When building in place, set srcdir=.
12551210 if test "$ac_abs_confdir" = "$ac_pwd"; then
12751230 # Omit some internal or obsolete options to make the list less imposing.
12761231 # This message is too long to be a string in the A/UX 3.1 sh.
12771232 cat <<_ACEOF
1278 \`configure' configures nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $ to adapt to many kinds of systems.
1233 \`configure' configures nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $ to adapt to many kinds of systems.
12791234
12801235 Usage: $0 [OPTION]... [VAR=VALUE]...
12811236
12891244 --help=short display options specific to this package
12901245 --help=recursive display the short help of all the included packages
12911246 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1247 -q, --quiet, --silent do not print \`checking...' messages
12931248 --cache-file=FILE cache test results in FILE [disabled]
12941249 -C, --config-cache alias for \`--cache-file=config.cache'
12951250 -n, --no-create do not create output files
12971252
12981253 Installation directories:
12991254 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1255 [$ac_default_prefix]
13011256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 [PREFIX]
1257 [PREFIX]
13031258
13041259 By default, \`make install' will install all the files in
13051260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
13091264 For better control, use the options below.
13101265
13111266 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root [DATAROOTDIR/doc/nfdump]
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/nfdump]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
13311286 _ACEOF
13321287
13331288 cat <<\_ACEOF
13411296
13421297 if test -n "$ac_init_help"; then
13431298 case $ac_init_help in
1344 short | recursive ) echo "Configuration of nfdump 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $:";;
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
13451300 esac
13461301 cat <<\_ACEOF
13471302
13481303 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13501304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13511305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13521306 --disable-dependency-tracking speeds up one-time build
13721326 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13731327 nonstandard directory <lib dir>
13741328 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13761330 you have headers in a nonstandard directory <include dir>
1377 YACC The `Yet Another Compiler Compiler' implementation to use.
1378 Defaults to the first program found out of: `bison -y', `byacc',
1379 `yacc'.
1331 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1332 the first program found out of: `bison -y', `byacc', `yacc'.
13801333 YFLAGS The list of arguments that will be passed by default to $YACC.
13811334 This script will default YFLAGS to the empty string to avoid a
13821335 default value of `-d' given by some make applications.
13931346 if test "$ac_init_help" = "recursive"; then
13941347 # If there are subdirs, report their specific --help.
13951348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
1349 test -d "$ac_dir" || continue
13991350 ac_builddir=.
14001351
14011352 case "$ac_dir" in
14021353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14031354 *)
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14051356 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14071358 case $ac_top_builddir_sub in
14081359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14091360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14391390 echo &&
14401391 $SHELL "$ac_srcdir/configure" --help=recursive
14411392 else
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14431394 fi || ac_status=$?
14441395 cd "$ac_pwd" || { ac_status=$?; break; }
14451396 done
14481399 test -n "$ac_init_help" && exit $ac_status
14491400 if $ac_init_version; then
14501401 cat <<\_ACEOF
1451 nfdump configure 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
1402 nfdump configure 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
1403 generated by GNU Autoconf 2.61
1404
1405 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1406 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14551407 This configure script is free software; the Free Software Foundation
14561408 gives unlimited permission to copy, distribute and modify it.
14571409 _ACEOF
14581410 exit
14591411 fi
1460
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1464
1465 # ac_fn_c_try_compile LINENO
1466 # --------------------------
1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_compile ()
1469 {
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 rm -f conftest.$ac_objext
1472 if { { ac_try="$ac_compile"
1473 case "(($ac_try" in
1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1476 esac
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_compile") 2>conftest.err
1480 ac_status=$?
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1485 fi
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest.$ac_objext; then :
1491 ac_retval=0
1492 else
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1495
1496 ac_retval=1
1497 fi
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status $ac_retval
1500
1501 } # ac_fn_c_try_compile
1502
1503 # ac_fn_c_try_link LINENO
1504 # -----------------------
1505 # Try to link conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_link ()
1507 {
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext conftest$ac_exeext
1510 if { { ac_try="$ac_link"
1511 case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_link") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest$ac_exeext && {
1529 test "$cross_compiling" = yes ||
1530 $as_test_x conftest$ac_exeext
1531 }; then :
1532 ac_retval=0
1533 else
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1536
1537 ac_retval=1
1538 fi
1539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1541 # interfere with the next link command; also delete a directory that is
1542 # left behind by Apple's compiler. We do this before executing the actions.
1543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545 as_fn_set_status $ac_retval
1546
1547 } # ac_fn_c_try_link
1548
1549 # ac_fn_c_try_cpp LINENO
1550 # ----------------------
1551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 ac_fn_c_try_cpp ()
1553 {
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 case "(($ac_try" in
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1559 esac
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 ac_status=$?
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1568 fi
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } > conftest.i && {
1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 }; then :
1574 ac_retval=0
1575 else
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579 ac_retval=1
1580 fi
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582 as_fn_set_status $ac_retval
1583
1584 } # ac_fn_c_try_cpp
1585
1586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1587 # -------------------------------------------------------
1588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1589 # the include files in INCLUDES and setting the cache variable VAR
1590 # accordingly.
1591 ac_fn_c_check_header_mongrel ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if eval \${$3+:} false; then :
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if eval \${$3+:} false; then :
1598 $as_echo_n "(cached) " >&6
1599 fi
1600 eval ac_res=\$$3
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602 $as_echo "$ac_res" >&6; }
1603 else
1604 # Is the header compilable?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1606 $as_echo_n "checking $2 usability... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 $4
1610 #include <$2>
1611 _ACEOF
1612 if ac_fn_c_try_compile "$LINENO"; then :
1613 ac_header_compiler=yes
1614 else
1615 ac_header_compiler=no
1616 fi
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1619 $as_echo "$ac_header_compiler" >&6; }
1620
1621 # Is the header present?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1623 $as_echo_n "checking $2 presence... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1626 #include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_cpp "$LINENO"; then :
1629 ac_header_preproc=yes
1630 else
1631 ac_header_preproc=no
1632 fi
1633 rm -f conftest.err conftest.i conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1635 $as_echo "$ac_header_preproc" >&6; }
1636
1637 # So? What about this header?
1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 yes:no: )
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 ;;
1645 no:yes:* )
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 ( $as_echo "## ------------------------------------------ ##
1657 ## Report this to phaag@users.sourceforge.net ##
1658 ## ------------------------------------------ ##"
1659 ) | sed "s/^/$as_me: WARNING: /" >&2
1660 ;;
1661 esac
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1666 else
1667 eval "$3=\$ac_header_compiler"
1668 fi
1669 eval ac_res=\$$3
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 fi
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674
1675 } # ac_fn_c_check_header_mongrel
1676
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1681 ac_fn_c_try_run ()
1682 {
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1685 case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1692 ac_status=$?
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1702 ac_status=$?
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1710
1711 ac_retval=$ac_status
1712 fi
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1716
1717 } # ac_fn_c_try_run
1718
1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 # -------------------------------------------------------
1721 # Tests whether HEADER exists and can be compiled using the include files in
1722 # INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 else
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 $4
1734 #include <$2>
1735 _ACEOF
1736 if ac_fn_c_try_compile "$LINENO"; then :
1737 eval "$3=yes"
1738 else
1739 eval "$3=no"
1740 fi
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 fi
1743 eval ac_res=\$$3
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747
1748 } # ac_fn_c_check_header_compile
1749
1750 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1751 # ----------------------------------------------------
1752 # Tries to find if the field MEMBER exists in type AGGR, after including
1753 # INCLUDES, setting cache variable VAR accordingly.
1754 ac_fn_c_check_member ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1758 $as_echo_n "checking for $2.$3... " >&6; }
1759 if eval \${$4+:} false; then :
1760 $as_echo_n "(cached) " >&6
1761 else
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 $5
1765 int
1766 main ()
1767 {
1768 static $2 ac_aggr;
1769 if (ac_aggr.$3)
1770 return 0;
1771 ;
1772 return 0;
1773 }
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 eval "$4=yes"
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $5
1781 int
1782 main ()
1783 {
1784 static $2 ac_aggr;
1785 if (sizeof ac_aggr.$3)
1786 return 0;
1787 ;
1788 return 0;
1789 }
1790 _ACEOF
1791 if ac_fn_c_try_compile "$LINENO"; then :
1792 eval "$4=yes"
1793 else
1794 eval "$4=no"
1795 fi
1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 fi
1800 eval ac_res=\$$4
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
1805 } # ac_fn_c_check_member
1806
1807 # ac_fn_c_check_func LINENO FUNC VAR
1808 # ----------------------------------
1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1811 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1823
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1828
1829 #ifdef __STDC__
1830 # include <limits.h>
1831 #else
1832 # include <assert.h>
1833 #endif
1834
1835 #undef $2
1836
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1840 #ifdef __cplusplus
1841 extern "C"
1842 #endif
1843 char $2 ();
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1848 choke me
1849 #endif
1850
1851 int
1852 main ()
1853 {
1854 return $2 ();
1855 ;
1856 return 0;
1857 }
1858 _ACEOF
1859 if ac_fn_c_try_link "$LINENO"; then :
1860 eval "$3=yes"
1861 else
1862 eval "$3=no"
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
1872 } # ac_fn_c_check_func
1873
1874 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1875 # --------------------------------------------
1876 # Tries to find the compile-time value of EXPR in a program that includes
1877 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1878 # computed
1879 ac_fn_c_compute_int ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if test "$cross_compiling" = yes; then
1883 # Depending upon the size, compute the lo and hi bounds.
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 $4
1887 int
1888 main ()
1889 {
1890 static int test_array [1 - 2 * !(($2) >= 0)];
1891 test_array [0] = 0
1892
1893 ;
1894 return 0;
1895 }
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 ac_lo=0 ac_mid=0
1899 while :; do
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 $4
1903 int
1904 main ()
1905 {
1906 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1907 test_array [0] = 0
1908
1909 ;
1910 return 0;
1911 }
1912 _ACEOF
1913 if ac_fn_c_try_compile "$LINENO"; then :
1914 ac_hi=$ac_mid; break
1915 else
1916 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1917 if test $ac_lo -le $ac_mid; then
1918 ac_lo= ac_hi=
1919 break
1920 fi
1921 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 done
1925 else
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1928 $4
1929 int
1930 main ()
1931 {
1932 static int test_array [1 - 2 * !(($2) < 0)];
1933 test_array [0] = 0
1934
1935 ;
1936 return 0;
1937 }
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 ac_hi=-1 ac_mid=-1
1941 while :; do
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1944 $4
1945 int
1946 main ()
1947 {
1948 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1949 test_array [0] = 0
1950
1951 ;
1952 return 0;
1953 }
1954 _ACEOF
1955 if ac_fn_c_try_compile "$LINENO"; then :
1956 ac_lo=$ac_mid; break
1957 else
1958 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1959 if test $ac_mid -le $ac_hi; then
1960 ac_lo= ac_hi=
1961 break
1962 fi
1963 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 done
1967 else
1968 ac_lo= ac_hi=
1969 fi
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 fi
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 # Binary search between lo and hi bounds.
1974 while test "x$ac_lo" != "x$ac_hi"; do
1975 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1978 $4
1979 int
1980 main ()
1981 {
1982 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1983 test_array [0] = 0
1984
1985 ;
1986 return 0;
1987 }
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_hi=$ac_mid
1991 else
1992 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1993 fi
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 done
1996 case $ac_lo in #((
1997 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1998 '') ac_retval=1 ;;
1999 esac
2000 else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2003 $4
2004 static long int longval () { return $2; }
2005 static unsigned long int ulongval () { return $2; }
2006 #include <stdio.h>
2007 #include <stdlib.h>
2008 int
2009 main ()
2010 {
2011
2012 FILE *f = fopen ("conftest.val", "w");
2013 if (! f)
2014 return 1;
2015 if (($2) < 0)
2016 {
2017 long int i = longval ();
2018 if (i != ($2))
2019 return 1;
2020 fprintf (f, "%ld", i);
2021 }
2022 else
2023 {
2024 unsigned long int i = ulongval ();
2025 if (i != ($2))
2026 return 1;
2027 fprintf (f, "%lu", i);
2028 }
2029 /* Do not output a trailing newline, as this causes \r\n confusion
2030 on some platforms. */
2031 return ferror (f) || fclose (f) != 0;
2032
2033 ;
2034 return 0;
2035 }
2036 _ACEOF
2037 if ac_fn_c_try_run "$LINENO"; then :
2038 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2039 else
2040 ac_retval=1
2041 fi
2042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2043 conftest.$ac_objext conftest.beam conftest.$ac_ext
2044 rm -f conftest.val
2045
2046 fi
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2049
2050 } # ac_fn_c_compute_int
2051
2052 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 # -------------------------------------------
2054 # Tests whether TYPE exists after having included INCLUDES, setting cache
2055 # variable VAR accordingly.
2056 ac_fn_c_check_type ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 eval "$3=no"
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2067 $4
2068 int
2069 main ()
2070 {
2071 if (sizeof ($2))
2072 return 0;
2073 ;
2074 return 0;
2075 }
2076 _ACEOF
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2080 $4
2081 int
2082 main ()
2083 {
2084 if (sizeof (($2)))
2085 return 0;
2086 ;
2087 return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091
2092 else
2093 eval "$3=yes"
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 fi
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 fi
2099 eval ac_res=\$$3
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103
2104 } # ac_fn_c_check_type
21051412 cat >config.log <<_ACEOF
21061413 This file contains any messages produced by compilers while
21071414 running configure, to aid debugging if configure makes a mistake.
21081415
2109 It was created by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
1416 It was created by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
1417 generated by GNU Autoconf 2.61. Invocation command line was
21111418
21121419 $ $0 $@
21131420
21431450 do
21441451 IFS=$as_save_IFS
21451452 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2147 done
1453 echo "PATH: $as_dir"
1454 done
21481455 IFS=$as_save_IFS
21491456
21501457 } >&5
21781485 | -silent | --silent | --silen | --sile | --sil)
21791486 continue ;;
21801487 *\'*)
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21821489 esac
21831490 case $ac_pass in
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
21851492 2)
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
21871494 if test $ac_must_keep_next = true; then
21881495 ac_must_keep_next=false # Got value, back to normal.
21891496 else
21991506 -* ) ac_must_keep_next=true ;;
22001507 esac
22011508 fi
2202 as_fn_append ac_configure_args " '$ac_arg'"
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
22031510 ;;
22041511 esac
22051512 done
22061513 done
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
1514 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1515 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
22091516
22101517 # When interrupted or exit'd, cleanup temporary files, and complete
22111518 # config.log. We remove comments because anyway the quotes in there
22171524 {
22181525 echo
22191526
2220 $as_echo "## ---------------- ##
1527 cat <<\_ASBOX
1528 ## ---------------- ##
22211529 ## Cache variables. ##
2222 ## ---------------- ##"
1530 ## ---------------- ##
1531 _ASBOX
22231532 echo
22241533 # The following way of writing the cache mishandles newlines in values,
22251534 (
22281537 case $ac_val in #(
22291538 *${as_nl}*)
22301539 case $ac_var in #(
2231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1540 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1541 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22331542 esac
22341543 case $ac_var in #(
22351544 _ | IFS | as_nl) ;; #(
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
1545 *) $as_unset $ac_var ;;
22381546 esac ;;
22391547 esac
22401548 done
22531561 )
22541562 echo
22551563
2256 $as_echo "## ----------------- ##
1564 cat <<\_ASBOX
1565 ## ----------------- ##
22571566 ## Output variables. ##
2258 ## ----------------- ##"
1567 ## ----------------- ##
1568 _ASBOX
22591569 echo
22601570 for ac_var in $ac_subst_vars
22611571 do
22621572 eval ac_val=\$$ac_var
22631573 case $ac_val in
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22651575 esac
2266 $as_echo "$ac_var='\''$ac_val'\''"
1576 echo "$ac_var='\''$ac_val'\''"
22671577 done | sort
22681578 echo
22691579
22701580 if test -n "$ac_subst_files"; then
2271 $as_echo "## ------------------- ##
1581 cat <<\_ASBOX
1582 ## ------------------- ##
22721583 ## File substitutions. ##
2273 ## ------------------- ##"
1584 ## ------------------- ##
1585 _ASBOX
22741586 echo
22751587 for ac_var in $ac_subst_files
22761588 do
22771589 eval ac_val=\$$ac_var
22781590 case $ac_val in
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22801592 esac
2281 $as_echo "$ac_var='\''$ac_val'\''"
1593 echo "$ac_var='\''$ac_val'\''"
22821594 done | sort
22831595 echo
22841596 fi
22851597
22861598 if test -s confdefs.h; then
2287 $as_echo "## ----------- ##
1599 cat <<\_ASBOX
1600 ## ----------- ##
22881601 ## confdefs.h. ##
2289 ## ----------- ##"
1602 ## ----------- ##
1603 _ASBOX
22901604 echo
22911605 cat confdefs.h
22921606 echo
22931607 fi
22941608 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
22971611 } >&5
22981612 rm -f core *.core core.conftest.* &&
22991613 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23001614 exit $exit_status
23011615 ' 0
23021616 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23041618 done
23051619 ac_signal=0
23061620
23071621 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23081622 rm -f -r conftest* confdefs.h
23091623
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
23121624 # Predefined preprocessor variables.
23131625
23141626 cat >>confdefs.h <<_ACEOF
23151627 #define PACKAGE_NAME "$PACKAGE_NAME"
23161628 _ACEOF
23171629
1630
23181631 cat >>confdefs.h <<_ACEOF
23191632 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
23201633 _ACEOF
23211634
1635
23221636 cat >>confdefs.h <<_ACEOF
23231637 #define PACKAGE_VERSION "$PACKAGE_VERSION"
23241638 _ACEOF
23251639
1640
23261641 cat >>confdefs.h <<_ACEOF
23271642 #define PACKAGE_STRING "$PACKAGE_STRING"
23281643 _ACEOF
23291644
1645
23301646 cat >>confdefs.h <<_ACEOF
23311647 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
23321648 _ACEOF
23331649
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
23381650
23391651 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
1652 # Prefer explicitly selected file to automatically selected ones.
23431653 if test -n "$CONFIG_SITE"; then
2344 # We do not want a PATH search for config.site.
2345 case $CONFIG_SITE in #((
2346 -*) ac_site_file1=./$CONFIG_SITE;;
2347 */*) ac_site_file1=$CONFIG_SITE;;
2348 *) ac_site_file1=./$CONFIG_SITE;;
2349 esac
1654 set x "$CONFIG_SITE"
23501655 elif test "x$prefix" != xNONE; then
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2353 else
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2356 fi
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1656 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1657 else
1658 set x "$ac_default_prefix/share/config.site" \
1659 "$ac_default_prefix/etc/config.site"
1660 fi
1661 shift
1662 for ac_site_file
23581663 do
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1664 if test -r "$ac_site_file"; then
1665 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1666 echo "$as_me: loading site script $ac_site_file" >&6;}
23631667 sed 's/^/| /' "$ac_site_file" >&5
2364 . "$ac_site_file" \
2365 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "failed to load site script $ac_site_file
2368 See \`config.log' for more details" "$LINENO" 5; }
1668 . "$ac_site_file"
23691669 fi
23701670 done
23711671
23721672 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
1673 # Some versions of bash will fail to source /dev/null (special
1674 # files actually), so we avoid doing that.
1675 if test -f "$cache_file"; then
1676 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1677 echo "$as_me: loading cache $cache_file" >&6;}
23781678 case $cache_file in
23791679 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23801680 *) . "./$cache_file";;
23811681 esac
23821682 fi
23831683 else
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
23861686 >$cache_file
23871687 fi
23881688
2389 as_fn_append ac_header_list " sys/time.h"
2390 as_fn_append ac_header_list " unistd.h"
2391 as_fn_append ac_func_list " alarm"
1689 ac_header_list="$ac_header_list sys/time.h"
1690 ac_header_list="$ac_header_list unistd.h"
1691 ac_func_list="$ac_func_list alarm"
23921692 # Check that the precious variables saved in the cache have kept the same
23931693 # value.
23941694 ac_cache_corrupted=false
23991699 eval ac_new_val=\$ac_env_${ac_var}_value
24001700 case $ac_old_set,$ac_new_set in
24011701 set,)
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1702 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1703 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24041704 ac_cache_corrupted=: ;;
24051705 ,set)
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1706 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1707 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24081708 ac_cache_corrupted=: ;;
24091709 ,);;
24101710 *)
24111711 if test "x$ac_old_val" != "x$ac_new_val"; then
2412 # differences in whitespace do not lead to failure.
2413 ac_old_val_w=`echo x $ac_old_val`
2414 ac_new_val_w=`echo x $ac_new_val`
2415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418 ac_cache_corrupted=:
2419 else
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422 eval $ac_var=\$ac_old_val
2423 fi
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1713 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1714 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1715 echo "$as_me: former value: $ac_old_val" >&2;}
1716 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1717 echo "$as_me: current value: $ac_new_val" >&2;}
1718 ac_cache_corrupted=:
24281719 fi;;
24291720 esac
24301721 # Pass precious variables to config.status.
24311722 if test "$ac_new_set" = set; then
24321723 case $ac_new_val in
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24341725 *) ac_arg=$ac_var=$ac_new_val ;;
24351726 esac
24361727 case " $ac_configure_args " in
24371728 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
24391730 esac
24401731 fi
24411732 done
24421733 if $ac_cache_corrupted; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448 fi
2449 ## -------------------- ##
2450 ## Main body of script. ##
2451 ## -------------------- ##
1734 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1735 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1736 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1737 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1738 { (exit 1); exit 1; }; }
1739 fi
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
24521764
24531765 ac_ext=c
24541766 ac_cpp='$CPP $CPPFLAGS'
24601772 #AC_CONFIG_SRCDIR([grammar.y])
24611773 ac_config_headers="$ac_config_headers config.h"
24621774
2463 am__api_version='1.11'
1775 am__api_version='1.10'
24641776
24651777 ac_aux_dir=
24661778 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
24791791 fi
24801792 done
24811793 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1794 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1795 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1796 { (exit 1); exit 1; }; }
24831797 fi
24841798
24851799 # These three variables are undocumented and unsupported,
25041818 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
25051819 # OS/2's system install, which has a completely different semantic
25061820 # ./install, which can be erroneously created by make from ./install.sh.
2507 # Reject install programs that cannot install multiple files.
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1821 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1822 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
25101823 if test -z "$INSTALL"; then
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
25131826 else
25141827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25151828 for as_dir in $PATH
25161829 do
25171830 IFS=$as_save_IFS
25181831 test -z "$as_dir" && as_dir=.
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in #((
2521 ./ | .// | /[cC]/* | \
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
25221835 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
25241837 /usr/ucb/* ) ;;
25251838 *)
25261839 # OSF1 and SCO ODT 3.0 have their own names for install.
25381851 # program-specific install script used by HP pwplus--don't use.
25391852 :
25401853 else
2541 rm -rf conftest.one conftest.two conftest.dir
2542 echo one > conftest.one
2543 echo two > conftest.two
2544 mkdir conftest.dir
2545 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2546 test -s conftest.one && test -s conftest.two &&
2547 test -s conftest.dir/conftest.one &&
2548 test -s conftest.dir/conftest.two
2549 then
2550 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2551 break 3
2552 fi
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
25531856 fi
25541857 fi
25551858 done
25561859 done
25571860 ;;
25581861 esac
2559
2560 done
1862 done
25611863 IFS=$as_save_IFS
25621864
2563 rm -rf conftest.one conftest.two conftest.dir
25641865
25651866 fi
25661867 if test "${ac_cv_path_install+set}" = set; then
25731874 INSTALL=$ac_install_sh
25741875 fi
25751876 fi
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
25781879
25791880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25801881 # It thinks the first close brace ends the variable substitution.
25841885
25851886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25861887
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2588 $as_echo_n "checking whether build environment is sane... " >&6; }
1888 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1889 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
25891890 # Just in case
25901891 sleep 1
25911892 echo timestamp > conftest.file
2592 # Reject unsafe characters in $srcdir or the absolute working directory
2593 # name. Accept space and tab only in the latter.
2594 am_lf='
2595 '
2596 case `pwd` in
2597 *[\\\"\#\$\&\'\`$am_lf]*)
2598 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2599 esac
2600 case $srcdir in
2601 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2602 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2603 esac
2604
26051893 # Do `set' in a subshell so we don't clobber the current shell's
26061894 # arguments. Must try -L first in case configure is actually a
26071895 # symlink; some systems play weird games with the mod time of symlinks
26081896 # (eg FreeBSD returns the mod time of the symlink's containing
26091897 # directory).
26101898 if (
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
26121900 if test "$*" = "X"; then
26131901 # -L didn't work.
2614 set X `ls -t "$srcdir/configure" conftest.file`
1902 set X `ls -t $srcdir/configure conftest.file`
26151903 fi
26161904 rm -f conftest.file
26171905 if test "$*" != "X $srcdir/configure conftest.file" \
26211909 # if, for instance, CONFIG_SHELL is bash and it inherits a
26221910 # broken ls alias from the environment. This has actually
26231911 # happened. Such a system could not be considered "sane".
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
1912 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1913 alias in your environment" >&5
1914 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1915 alias in your environment" >&2;}
1916 { (exit 1); exit 1; }; }
26261917 fi
26271918
26281919 test "$2" = conftest.file
26311922 # Ok.
26321923 :
26331924 else
2634 as_fn_error $? "newly created file is older than distributed files!
2635 Check your system clock" "$LINENO" 5
2636 fi
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638 $as_echo "yes" >&6; }
1925 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1926 Check your system clock" >&5
1927 echo "$as_me: error: newly created file is older than distributed files!
1928 Check your system clock" >&2;}
1929 { (exit 1); exit 1; }; }
1930 fi
1931 { echo "$as_me:$LINENO: result: yes" >&5
1932 echo "${ECHO_T}yes" >&6; }
26391933 test "$program_prefix" != NONE &&
26401934 program_transform_name="s&^&$program_prefix&;$program_transform_name"
26411935 # Use a double $ so make ignores it.
26421936 test "$program_suffix" != NONE &&
26431937 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2644 # Double any \ or $.
1938 # Double any \ or $. echo might interpret backslashes.
26451939 # By default was `s,x,x', remove it if useless.
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1940 cat <<\_ACEOF >conftest.sed
1941 s/[\\$]/&&/g;s/;s,x,x,$//
1942 _ACEOF
1943 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1944 rm -f conftest.sed
26481945
26491946 # expand $ac_aux_dir to an absolute path
26501947 am_aux_dir=`cd $ac_aux_dir && pwd`
26511948
2652 if test x"${MISSING+set}" != xset; then
2653 case $am_aux_dir in
2654 *\ * | *\ *)
2655 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2656 *)
2657 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2658 esac
2659 fi
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
26601950 # Use eval to expand $SHELL
26611951 if eval "$MISSING --run true"; then
26621952 am_missing_run="$MISSING --run "
26631953 else
26641954 am_missing_run=
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2666 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2667 fi
2668
2669 if test x"${install_sh}" != xset; then
2670 case $am_aux_dir in
2671 *\ * | *\ *)
2672 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2673 *)
2674 install_sh="\${SHELL} $am_aux_dir/install-sh"
2675 esac
2676 fi
2677
2678 # Installed binaries are usually stripped using `strip' when the user
2679 # run `make install-strip'. However `strip' might not be the right
2680 # tool to use in cross-compilation environments, therefore Automake
2681 # will honor the `STRIP' environment variable to overrule this program.
2682 if test "$cross_compiling" != no; then
2683 if test -n "$ac_tool_prefix"; then
2684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2685 set dummy ${ac_tool_prefix}strip; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_STRIP+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 if test -n "$STRIP"; then
2692 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2693 else
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 for as_dir in $PATH
2696 do
2697 IFS=$as_save_IFS
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2704 fi
2705 done
2706 done
2707 IFS=$as_save_IFS
2708
2709 fi
2710 fi
2711 STRIP=$ac_cv_prog_STRIP
2712 if test -n "$STRIP"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2714 $as_echo "$STRIP" >&6; }
2715 else
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 fi
2719
2720
2721 fi
2722 if test -z "$ac_cv_prog_STRIP"; then
2723 ac_ct_STRIP=$STRIP
2724 # Extract the first word of "strip", so it can be a program name with args.
2725 set dummy strip; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 if test -n "$ac_ct_STRIP"; then
2732 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_ac_ct_STRIP="strip"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 break 2
2744 fi
2745 done
2746 done
2747 IFS=$as_save_IFS
2748
2749 fi
2750 fi
2751 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2752 if test -n "$ac_ct_STRIP"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2754 $as_echo "$ac_ct_STRIP" >&6; }
2755 else
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2758 fi
2759
2760 if test "x$ac_ct_STRIP" = x; then
2761 STRIP=":"
2762 else
2763 case $cross_compiling:$ac_tool_warned in
2764 yes:)
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2767 ac_tool_warned=yes ;;
2768 esac
2769 STRIP=$ac_ct_STRIP
2770 fi
2771 else
2772 STRIP="$ac_cv_prog_STRIP"
2773 fi
2774
2775 fi
2776 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2777
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2779 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1955 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1956 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1957 fi
1958
1959 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1960 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
27801961 if test -z "$MKDIR_P"; then
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
27831964 else
27841965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851966 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27861967 do
27871968 IFS=$as_save_IFS
27881969 test -z "$as_dir" && as_dir=.
2789 for ac_prog in mkdir gmkdir; do
1970 for ac_prog in mkdir gmkdir; do
27901971 for ac_exec_ext in '' $ac_executable_extensions; do
27911972 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
27921973 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
27981979 esac
27991980 done
28001981 done
2801 done
1982 done
28021983 IFS=$as_save_IFS
28031984
28041985 fi
28051986
2806 test -d ./--version && rmdir ./--version
28071987 if test "${ac_cv_path_mkdir+set}" = set; then
28081988 MKDIR_P="$ac_cv_path_mkdir -p"
28091989 else
28111991 # value for MKDIR_P within a source directory, because that will
28121992 # break other packages using the cache if that directory is
28131993 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
28141995 MKDIR_P="$ac_install_sh -d"
28151996 fi
28161997 fi
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
28192000
28202001 mkdir_p="$MKDIR_P"
28212002 case $mkdir_p in
28272008 do
28282009 # Extract the first word of "$ac_prog", so it can be a program name with args.
28292010 set dummy $ac_prog; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_AWK+:} false; then :
2833 $as_echo_n "(cached) " >&6
2011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2013 if test "${ac_cv_prog_AWK+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
28342015 else
28352016 if test -n "$AWK"; then
28362017 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28402021 do
28412022 IFS=$as_save_IFS
28422023 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2024 for ac_exec_ext in '' $ac_executable_extensions; do
28442025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28452026 ac_cv_prog_AWK="$ac_prog"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28472028 break 2
28482029 fi
28492030 done
2850 done
2031 done
28512032 IFS=$as_save_IFS
28522033
28532034 fi
28542035 fi
28552036 AWK=$ac_cv_prog_AWK
28562037 if test -n "$AWK"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2858 $as_echo "$AWK" >&6; }
2859 else
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2038 { echo "$as_me:$LINENO: result: $AWK" >&5
2039 echo "${ECHO_T}$AWK" >&6; }
2040 else
2041 { echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6; }
28622043 fi
28632044
28642045
28652046 test -n "$AWK" && break
28662047 done
28672048
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2869 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870 set x ${MAKE-make}
2871 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873 $as_echo_n "(cached) " >&6
2049 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2050 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2051 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2052 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
28742054 else
28752055 cat >conftest.make <<\_ACEOF
28762056 SHELL = /bin/sh
28772057 all:
28782058 @echo '@@@%%%=$(MAKE)=@@@%%%'
28792059 _ACEOF
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28812061 case `${MAKE-make} -f conftest.make 2>/dev/null` in
28822062 *@@@%%%=?*=@@@%%%*)
28832063 eval ac_cv_prog_make_${ac_make}_set=yes;;
28872067 rm -f conftest.make
28882068 fi
28892069 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
28922072 SET_MAKE=
28932073 else
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
28962076 SET_MAKE="MAKE=${MAKE-make}"
28972077 fi
28982078
29112091 am__isrc=' -I$(srcdir)'
29122092 # test to see if srcdir already configured
29132093 if test -f $srcdir/config.status; then
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2094 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2095 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2096 { (exit 1); exit 1; }; }
29152097 fi
29162098 fi
29172099
29272109
29282110 # Define the identity of the package.
29292111 PACKAGE='nfdump'
2930 VERSION='1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
29312113
29322114
29332115 cat >>confdefs.h <<_ACEOF
29542136
29552137
29562138 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2139
2140 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2141
2142 # Installed binaries are usually stripped using `strip' when the user
2143 # run `make install-strip'. However `strip' might not be the right
2144 # tool to use in cross-compilation environments, therefore Automake
2145 # will honor the `STRIP' environment variable to overrule this program.
2146 if test "$cross_compiling" != no; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}strip; ac_word=$2
2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152 if test "${ac_cv_prog_STRIP+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if test -n "$STRIP"; then
2156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2157 else
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2160 do
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 break 2
2168 fi
2169 done
2170 done
2171 IFS=$as_save_IFS
2172
2173 fi
2174 fi
2175 STRIP=$ac_cv_prog_STRIP
2176 if test -n "$STRIP"; then
2177 { echo "$as_me:$LINENO: result: $STRIP" >&5
2178 echo "${ECHO_T}$STRIP" >&6; }
2179 else
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2182 fi
2183
2184
2185 fi
2186 if test -z "$ac_cv_prog_STRIP"; then
2187 ac_ct_STRIP=$STRIP
2188 # Extract the first word of "strip", so it can be a program name with args.
2189 set dummy strip; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 if test -n "$ac_ct_STRIP"; then
2196 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2197 else
2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 for as_dir in $PATH
2200 do
2201 IFS=$as_save_IFS
2202 test -z "$as_dir" && as_dir=.
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_ac_ct_STRIP="strip"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2208 fi
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214 fi
2215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2216 if test -n "$ac_ct_STRIP"; then
2217 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2218 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2219 else
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 fi
2223
2224 if test "x$ac_ct_STRIP" = x; then
2225 STRIP=":"
2226 else
2227 case $cross_compiling:$ac_tool_warned in
2228 yes:)
2229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2230 whose name does not start with the host triplet. If you think this
2231 configuration is useful to you, please write to autoconf@gnu.org." >&5
2232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2233 whose name does not start with the host triplet. If you think this
2234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2235 ac_tool_warned=yes ;;
2236 esac
2237 STRIP=$ac_ct_STRIP
2238 fi
2239 else
2240 STRIP="$ac_cv_prog_STRIP"
2241 fi
2242
2243 fi
2244 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
29572245
29582246 # We need awk for the "check" target. The system "awk" is bad on
29592247 # some platforms.
29772265 if test -n "$ac_tool_prefix"; then
29782266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
29792267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
29842272 else
29852273 if test -n "$CC"; then
29862274 ac_cv_prog_CC="$CC" # Let the user override the test.
29902278 do
29912279 IFS=$as_save_IFS
29922280 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
29942282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29952283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29972285 break 2
29982286 fi
29992287 done
3000 done
2288 done
30012289 IFS=$as_save_IFS
30022290
30032291 fi
30042292 fi
30052293 CC=$ac_cv_prog_CC
30062294 if test -n "$CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3009 else
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
2295 { echo "$as_me:$LINENO: result: $CC" >&5
2296 echo "${ECHO_T}$CC" >&6; }
2297 else
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
30122300 fi
30132301
30142302
30172305 ac_ct_CC=$CC
30182306 # Extract the first word of "gcc", so it can be a program name with args.
30192307 set dummy gcc; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3023 $as_echo_n "(cached) " >&6
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
30242312 else
30252313 if test -n "$ac_ct_CC"; then
30262314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30302318 do
30312319 IFS=$as_save_IFS
30322320 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
2321 for ac_exec_ext in '' $ac_executable_extensions; do
30342322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30352323 ac_cv_prog_ac_ct_CC="gcc"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30372325 break 2
30382326 fi
30392327 done
3040 done
2328 done
30412329 IFS=$as_save_IFS
30422330
30432331 fi
30442332 fi
30452333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30462334 if test -n "$ac_ct_CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3048 $as_echo "$ac_ct_CC" >&6; }
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
30522340 fi
30532341
30542342 if test "x$ac_ct_CC" = x; then
30562344 else
30572345 case $cross_compiling:$ac_tool_warned in
30582346 yes:)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2348 whose name does not start with the host triplet. If you think this
2349 configuration is useful to you, please write to autoconf@gnu.org." >&5
2350 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30612353 ac_tool_warned=yes ;;
30622354 esac
30632355 CC=$ac_ct_CC
30702362 if test -n "$ac_tool_prefix"; then
30712363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30722364 set dummy ${ac_tool_prefix}cc; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_CC+:} false; then :
3076 $as_echo_n "(cached) " >&6
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
30772369 else
30782370 if test -n "$CC"; then
30792371 ac_cv_prog_CC="$CC" # Let the user override the test.
30832375 do
30842376 IFS=$as_save_IFS
30852377 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
2378 for ac_exec_ext in '' $ac_executable_extensions; do
30872379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30882380 ac_cv_prog_CC="${ac_tool_prefix}cc"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30902382 break 2
30912383 fi
30922384 done
3093 done
2385 done
30942386 IFS=$as_save_IFS
30952387
30962388 fi
30972389 fi
30982390 CC=$ac_cv_prog_CC
30992391 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
2392 { echo "$as_me:$LINENO: result: $CC" >&5
2393 echo "${ECHO_T}$CC" >&6; }
2394 else
2395 { echo "$as_me:$LINENO: result: no" >&5
2396 echo "${ECHO_T}no" >&6; }
31052397 fi
31062398
31072399
31102402 if test -z "$CC"; then
31112403 # Extract the first word of "cc", so it can be a program name with args.
31122404 set dummy cc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false; then :
3116 $as_echo_n "(cached) " >&6
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
31172409 else
31182410 if test -n "$CC"; then
31192411 ac_cv_prog_CC="$CC" # Let the user override the test.
31242416 do
31252417 IFS=$as_save_IFS
31262418 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
2419 for ac_exec_ext in '' $ac_executable_extensions; do
31282420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31292421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31302422 ac_prog_rejected=yes
31312423 continue
31322424 fi
31332425 ac_cv_prog_CC="cc"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31352427 break 2
31362428 fi
31372429 done
3138 done
2430 done
31392431 IFS=$as_save_IFS
31402432
31412433 if test $ac_prog_rejected = yes; then
31542446 fi
31552447 CC=$ac_cv_prog_CC
31562448 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3159 else
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
2449 { echo "$as_me:$LINENO: result: $CC" >&5
2450 echo "${ECHO_T}$CC" >&6; }
2451 else
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
31622454 fi
31632455
31642456
31692461 do
31702462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
31712463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false; then :
3175 $as_echo_n "(cached) " >&6
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
31762468 else
31772469 if test -n "$CC"; then
31782470 ac_cv_prog_CC="$CC" # Let the user override the test.
31822474 do
31832475 IFS=$as_save_IFS
31842476 test -z "$as_dir" && as_dir=.
3185 for ac_exec_ext in '' $ac_executable_extensions; do
2477 for ac_exec_ext in '' $ac_executable_extensions; do
31862478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31872479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31892481 break 2
31902482 fi
31912483 done
3192 done
2484 done
31932485 IFS=$as_save_IFS
31942486
31952487 fi
31962488 fi
31972489 CC=$ac_cv_prog_CC
31982490 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
2491 { echo "$as_me:$LINENO: result: $CC" >&5
2492 echo "${ECHO_T}$CC" >&6; }
2493 else
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
32042496 fi
32052497
32062498
32132505 do
32142506 # Extract the first word of "$ac_prog", so it can be a program name with args.
32152507 set dummy $ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
32202512 else
32212513 if test -n "$ac_ct_CC"; then
32222514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
32262518 do
32272519 IFS=$as_save_IFS
32282520 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
2521 for ac_exec_ext in '' $ac_executable_extensions; do
32302522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32312523 ac_cv_prog_ac_ct_CC="$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32332525 break 2
32342526 fi
32352527 done
3236 done
2528 done
32372529 IFS=$as_save_IFS
32382530
32392531 fi
32402532 fi
32412533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
32422534 if test -n "$ac_ct_CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 $as_echo "$ac_ct_CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
2535 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2536 echo "${ECHO_T}$ac_ct_CC" >&6; }
2537 else
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
32482540 fi
32492541
32502542
32562548 else
32572549 case $cross_compiling:$ac_tool_warned in
32582550 yes:)
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2552 whose name does not start with the host triplet. If you think this
2553 configuration is useful to you, please write to autoconf@gnu.org." >&5
2554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32612557 ac_tool_warned=yes ;;
32622558 esac
32632559 CC=$ac_ct_CC
32672563 fi
32682564
32692565
3270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "no acceptable C compiler found in \$PATH
3273 See \`config.log' for more details" "$LINENO" 5; }
2566 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
32742571
32752572 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3277 set X $ac_compile
3278 ac_compiler=$2
3279 for ac_option in --version -v -V -qversion; do
3280 { { ac_try="$ac_compiler $ac_option >&5"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288 ac_status=$?
3289 if test -s conftest.err; then
3290 sed '10a\
3291 ... rest of stderr output deleted ...
3292 10q' conftest.err >conftest.er1
3293 cat conftest.er1 >&5
3294 fi
3295 rm -f conftest.er1 conftest.err
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }
3298 done
3299
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 echo "$as_me:$LINENO: checking for C compiler version" >&5
2574 ac_compiler=`set X $ac_compile; echo $2`
2575 { (ac_try="$ac_compiler --version >&5"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 (eval "$ac_compiler -v >&5") 2>&5
2592 ac_status=$?
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }
2595 { (ac_try="$ac_compiler -V >&5"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compiler -V >&5") 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }
2605
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
33012611 /* end confdefs.h. */
33022612
33032613 int
33092619 }
33102620 _ACEOF
33112621 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
33132623 # Try to create an executable without -o first, disregard a.out.
33142624 # It will help us diagnose broken compilers, and finding out an intuition
33152625 # of exeext.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3317 $as_echo_n "checking whether the C compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322
2626 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2627 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629 #
2630 # List of possible output files, starting from the most likely.
2631 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2632 # only as a last resort. b.out is created by i960 compilers.
2633 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2634 #
2635 # The IRIX 6 linker writes into existing files which may not be
2636 # executable, retaining their permissions. Remove them first so a
2637 # subsequent execution test works.
33232638 ac_rmfiles=
33242639 for ac_file in $ac_files
33252640 do
33262641 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
33282643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
33292644 esac
33302645 done
33312646 rm -f $ac_rmfiles
33322647
3333 if { { ac_try="$ac_link_default"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
2648 if { (ac_try="$ac_link_default"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402654 (eval "$ac_link_default") 2>&5
33412655 ac_status=$?
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
33442658 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
33452659 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
33462660 # in a Makefile. We should not override ac_cv_exeext if it was cached,
33502664 do
33512665 test -f "$ac_file" || continue
33522666 case $ac_file in
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
33542668 ;;
33552669 [ab].out )
33562670 # We found the default executable, but exeext='' is most
33572671 # certainly right.
33582672 break;;
33592673 *.* )
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
33612675 then :; else
33622676 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
33632677 fi
33762690 else
33772691 ac_file=''
33782692 fi
3379 if test -z "$ac_file"; then :
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
2693
2694 { echo "$as_me:$LINENO: result: $ac_file" >&5
2695 echo "${ECHO_T}$ac_file" >&6; }
2696 if test -z "$ac_file"; then
2697 echo "$as_me: failed program was:" >&5
33832698 sed 's/^/| /' conftest.$ac_ext >&5
33842699
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3394 $as_echo_n "checking for C compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
2700 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2701 See \`config.log' for more details." >&5
2702 echo "$as_me: error: C compiler cannot create executables
2703 See \`config.log' for more details." >&2;}
2704 { (exit 77); exit 77; }; }
2705 fi
2706
33972707 ac_exeext=$ac_cv_exeext
33982708
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2709 # Check that the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile.
2711 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2712 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2713 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2714 # If not cross compiling, check that we can run a simple program.
2715 if test "$cross_compiling" != yes; then
2716 if { ac_try='./$ac_file'
2717 { (case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_try") 2>&5
2723 ac_status=$?
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2726 cross_compiling=no
2727 else
2728 if test "$cross_compiling" = maybe; then
2729 cross_compiling=yes
2730 else
2731 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2732 If you meant to cross compile, use \`--host'.
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2738 fi
2739 fi
2740 fi
2741 { echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6; }
2743
2744 rm -f a.out a.exe conftest$ac_cv_exeext b.out
34002745 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3404 case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
2746 # Check that the compiler produces executables we can run. If not, either
2747 # the compiler is broken, or we cross compile.
2748 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2749 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2750 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2751 echo "${ECHO_T}$cross_compiling" >&6; }
2752
2753 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2754 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2755 if { (ac_try="$ac_link"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34102761 (eval "$ac_link") 2>&5
34112762 ac_status=$?
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
34142765 # If both `conftest.exe' and `conftest' are `present' (well, observable)
34152766 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
34162767 # work properly (i.e., refer to `conftest.exe'), while it won't with
34182769 for ac_file in conftest.exe conftest conftest.*; do
34192770 test -f "$ac_file" || continue
34202771 case $ac_file in
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
34222773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
34232774 break;;
34242775 * ) break;;
34252776 esac
34262777 done
34272778 else
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
2779 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2780 See \`config.log' for more details." >&5
2781 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 rm -f conftest$ac_cv_exeext
2787 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2788 echo "${ECHO_T}$ac_cv_exeext" >&6; }
34362789
34372790 rm -f conftest.$ac_ext
34382791 EXEEXT=$ac_cv_exeext
34392792 ac_exeext=$EXEEXT
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3442 #include <stdio.h>
2793 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2794 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2795 if test "${ac_cv_objext+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 else
2798 cat >conftest.$ac_ext <<_ACEOF
2799 /* confdefs.h. */
2800 _ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2804
34432805 int
34442806 main ()
34452807 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
34482808
34492809 ;
34502810 return 0;
34512811 }
34522812 _ACEOF
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run. If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459 { { ac_try="$ac_link"
3460 case "(($ac_try" in
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_link") 2>&5
3467 ac_status=$?
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }
3470 if { ac_try='./conftest$ac_cv_exeext'
3471 { { case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_try") 2>&5
3478 ac_status=$?
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; }; then
3481 cross_compiling=no
3482 else
3483 if test "$cross_compiling" = maybe; then
3484 cross_compiling=yes
3485 else
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3491 fi
3492 fi
3493 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3496
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506
3507 int
3508 main ()
3509 {
3510
3511 ;
3512 return 0;
3513 }
3514 _ACEOF
35152813 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
2814 if { (ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232820 (eval "$ac_compile") 2>&5
35242821 ac_status=$?
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
35272824 for ac_file in conftest.o conftest.obj conftest.*; do
35282825 test -f "$ac_file" || continue;
35292826 case $ac_file in
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
35312828 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
35322829 break;;
35332830 esac
35342831 done
35352832 else
3536 $as_echo "$as_me: failed program was:" >&5
2833 echo "$as_me: failed program was:" >&5
35372834 sed 's/^/| /' conftest.$ac_ext >&5
35382835
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3543 fi
2836 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
35442843 rm -f conftest.$ac_cv_objext conftest.$ac_ext
35452844 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
35482847 OBJEXT=$ac_cv_objext
35492848 ac_objext=$OBJEXT
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3552 if ${ac_cv_c_compiler_gnu+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2850 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2851 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
35562859 /* end confdefs.h. */
35572860
35582861 int
35662869 return 0;
35672870 }
35682871 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
2872 rm -f conftest.$ac_objext
2873 if { (ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_compile") 2>conftest.er1
2880 ac_status=$?
2881 grep -v '^ *+' conftest.er1 >conftest.err
2882 rm -f conftest.er1
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && {
2886 test -z "$ac_c_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext; then
35702889 ac_compiler_gnu=yes
35712890 else
3572 ac_compiler_gnu=no
3573 fi
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
35742897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35752898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
35762899
35772900 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3581 GCC=yes
3582 else
3583 GCC=
3584 fi
2901 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2902 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2903 GCC=`test $ac_compiler_gnu = yes && echo yes`
35852904 ac_test_CFLAGS=${CFLAGS+set}
35862905 ac_save_CFLAGS=$CFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3589 if ${ac_cv_prog_cc_g+:} false; then :
3590 $as_echo_n "(cached) " >&6
2906 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2907 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2908 if test "${ac_cv_prog_cc_g+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
35912910 else
35922911 ac_save_c_werror_flag=$ac_c_werror_flag
35932912 ac_c_werror_flag=yes
35942913 ac_cv_prog_cc_g=no
35952914 CFLAGS="-g"
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
35972920 /* end confdefs.h. */
35982921
35992922 int
36042927 return 0;
36052928 }
36062929 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
2930 rm -f conftest.$ac_objext
2931 if { (ac_try="$ac_compile"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_compile") 2>conftest.er1
2938 ac_status=$?
2939 grep -v '^ *+' conftest.er1 >conftest.err
2940 rm -f conftest.er1
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } && {
2944 test -z "$ac_c_werror_flag" ||
2945 test ! -s conftest.err
2946 } && test -s conftest.$ac_objext; then
36082947 ac_cv_prog_cc_g=yes
36092948 else
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 CFLAGS=""
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
36122958 /* end confdefs.h. */
36132959
36142960 int
36192965 return 0;
36202966 }
36212967 _ACEOF
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
2968 rm -f conftest.$ac_objext
2969 if { (ac_try="$ac_compile"
2970 case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973 esac
2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_compile") 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
2985 :
2986 else
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 ac_c_werror_flag=$ac_save_c_werror_flag
36262991 CFLAGS="-g"
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
36282997 /* end confdefs.h. */
36292998
36302999 int
36353004 return 0;
36363005 }
36373006 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
3007 rm -f conftest.$ac_objext
3008 if { (ac_try="$ac_compile"
3009 case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012 esac
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>conftest.er1
3015 ac_status=$?
3016 grep -v '^ *+' conftest.er1 >conftest.err
3017 rm -f conftest.er1
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } && {
3021 test -z "$ac_c_werror_flag" ||
3022 test ! -s conftest.err
3023 } && test -s conftest.$ac_objext; then
36393024 ac_cv_prog_cc_g=yes
3640 fi
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
36413032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423033 fi
3034
36433035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443036 fi
3037
36453038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463039 ac_c_werror_flag=$ac_save_c_werror_flag
36473040 fi
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
36503043 if test "$ac_test_CFLAGS" = set; then
36513044 CFLAGS=$ac_save_CFLAGS
36523045 elif test $ac_cv_prog_cc_g = yes; then
36623055 CFLAGS=
36633056 fi
36643057 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3667 if ${ac_cv_prog_cc_c89+:} false; then :
3668 $as_echo_n "(cached) " >&6
3058 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3059 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3060 if test "${ac_cv_prog_cc_c89+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
36693062 else
36703063 ac_cv_prog_cc_c89=no
36713064 ac_save_CC=$CC
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
36733070 /* end confdefs.h. */
36743071 #include <stdarg.h>
36753072 #include <stdio.h>
37263123 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37273124 do
37283125 CC="$ac_save_CC $ac_arg"
3729 if ac_fn_c_try_compile "$LINENO"; then :
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3134 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
37303143 ac_cv_prog_cc_c89=$ac_arg
3731 fi
3144 else
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3147
3148
3149 fi
3150
37323151 rm -f core conftest.err conftest.$ac_objext
37333152 test "x$ac_cv_prog_cc_c89" != "xno" && break
37343153 done
37393158 # AC_CACHE_VAL
37403159 case "x$ac_cv_prog_cc_c89" in
37413160 x)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
37443163 xno)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
37473166 *)
37483167 CC="$CC $ac_cv_prog_cc_c89"
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 esac
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3170 esac
3171
37553172
37563173 ac_ext=c
37573174 ac_cpp='$CPP $CPPFLAGS'
37663183 am_make=${MAKE-make}
37673184 cat > confinc << 'END'
37683185 am__doit:
3769 @echo this is the am__doit target
3186 @echo done
37703187 .PHONY: am__doit
37713188 END
37723189 # If we don't find an include directive, just comment out the code.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3774 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3190 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3191 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
37753192 am__include="#"
37763193 am__quote=
37773194 _am_result=none
37783195 # First try GNU make style include.
37793196 echo "include confinc" > confmf
3780 # Ignore all kinds of additional output from `make'.
3781 case `$am_make -s -f confmf 2> /dev/null` in #(
3782 *the\ am__doit\ target*)
3783 am__include=include
3784 am__quote=
3785 _am_result=GNU
3786 ;;
3787 esac
3197 # We grep out `Entering directory' and `Leaving directory'
3198 # messages which can occur if `w' ends up in MAKEFLAGS.
3199 # In particular we don't look at `^make:' because GNU make might
3200 # be invoked under some other name (usually "gmake"), in which
3201 # case it prints its new name instead of `make'.
3202 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3203 am__include=include
3204 am__quote=
3205 _am_result=GNU
3206 fi
37883207 # Now try BSD make style include.
37893208 if test "$am__include" = "#"; then
37903209 echo '.include "confinc"' > confmf
3791 case `$am_make -s -f confmf 2> /dev/null` in #(
3792 *the\ am__doit\ target*)
3793 am__include=.include
3794 am__quote="\""
3795 _am_result=BSD
3796 ;;
3797 esac
3798 fi
3799
3800
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3802 $as_echo "$_am_result" >&6; }
3210 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3211 am__include=.include
3212 am__quote="\""
3213 _am_result=BSD
3214 fi
3215 fi
3216
3217
3218 { echo "$as_me:$LINENO: result: $_am_result" >&5
3219 echo "${ECHO_T}$_am_result" >&6; }
38033220 rm -f confinc confmf
38043221
38053222 # Check whether --enable-dependency-tracking was given.
3806 if test "${enable_dependency_tracking+set}" = set; then :
3223 if test "${enable_dependency_tracking+set}" = set; then
38073224 enableval=$enable_dependency_tracking;
38083225 fi
38093226
38233240
38243241 depcc="$CC" am_compiler_list=
38253242
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3827 $as_echo_n "checking dependency style of $depcc... " >&6; }
3828 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3829 $as_echo_n "(cached) " >&6
3243 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3244 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3245 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
38303247 else
38313248 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38323249 # We make a subdir and do the tests there. Otherwise we can end up
38513268 if test "$am_compiler_list" = ""; then
38523269 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38533270 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
38593271 for depmode in $am_compiler_list; do
38603272 # Setup a source with many dependencies, because some compilers
38613273 # like to wrap large dependency lists on column 80 (with \), and
38733285 done
38743286 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38753287
3876 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3877 # mode. It turns out that the SunPro C++ compiler does not properly
3878 # handle `-M -o', and we need to detect this. Also, some Intel
3879 # versions had trouble with output in subdirs
3880 am__obj=sub/conftest.${OBJEXT-o}
3881 am__minus_obj="-o $am__obj"
38823288 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
38873289 nosideeffect)
38883290 # after this tag, mechanisms are not by side-effect, so they'll
38893291 # only be used when explicitly requested
38933295 break
38943296 fi
38953297 ;;
3896 msvisualcpp | msvcmsys)
3897 # This compiler won't grok `-c -o', but also, the minuso test has
3898 # not run yet. These depmodes are late enough in the game, and
3899 # so weak that their functioning should not be impacted.
3900 am__obj=conftest.${OBJEXT-o}
3901 am__minus_obj=
3902 ;;
39033298 none) break ;;
39043299 esac
3300 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3301 # mode. It turns out that the SunPro C++ compiler does not properly
3302 # handle `-M -o', and we need to detect this.
39053303 if depmode=$depmode \
3906 source=sub/conftest.c object=$am__obj \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
39073305 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
39093307 >/dev/null 2>conftest.err &&
39103308 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
39113309 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
39133311 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
39143312 # icc doesn't choke on unknown options, it will just issue warnings
39153313 # or remarks (even with -Werror). So we grep stderr for any message
39333331 fi
39343332
39353333 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3937 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
39383336 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
39393337
39403338 if
39493347
39503348
39513349 if test "x$CC" != xcc; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3953 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3954 else
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3956 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3957 fi
3958 set dummy $CC; ac_cc=`$as_echo "$2" |
3350 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3351 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3352 else
3353 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3354 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3355 fi
3356 set dummy $CC; ac_cc=`echo $2 |
39593357 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3960 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 cat >conftest.$ac_ext <<_ACEOF
3362 /* confdefs.h. */
3363 _ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
39643366 /* end confdefs.h. */
39653367
39663368 int
39763378 # existing .o file with -o, though they will create one.
39773379 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
39783380 rm -f conftest2.*
3979 if { { case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3381 if { (case "(($ac_try" in
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3384 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853386 (eval "$ac_try") 2>&5
39863387 ac_status=$?
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; } &&
3989 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3393 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39953395 (eval "$ac_try") 2>&5
39963396 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
39993399 then
40003400 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
40013401 if test "x$CC" != xcc; then
40023402 # Test first that cc exists at all.
40033403 if { ac_try='cc -c conftest.$ac_ext >&5'
4004 { { case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
3404 { (case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3407 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103409 (eval "$ac_try") 2>&5
40113410 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
40143413 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
40153414 rm -f conftest2.*
4016 if { { case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
3415 if { (case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40223420 (eval "$ac_try") 2>&5
40233421 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; } &&
4026 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323429 (eval "$ac_try") 2>&5
40333430 ac_status=$?
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
40363433 then
40373434 # cc works too.
40383435 :
40453442 else
40463443 eval ac_cv_prog_cc_${ac_cc}_c_o=no
40473444 fi
4048 rm -f core conftest*
3445 rm -f -r core conftest*
40493446
40503447 fi
40513448 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4053 $as_echo "yes" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4057
4058 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3449 { echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6; }
3451 else
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
3454
3455 cat >>confdefs.h <<\_ACEOF
3456 #define NO_MINUS_C_MINUS_O 1
3457 _ACEOF
40593458
40603459 fi
40613460
40623461 # FIXME: we rely on the cache variable name because
40633462 # there is no other way.
40643463 set dummy $CC
4065 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4066 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4067 if test "$am_t" != yes; then
3464 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3465 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
40683466 # Losing compiler, so override with the script.
40693467 # FIXME: It is wrong to rewrite CC.
40703468 # But if we don't then we get into trouble of one sort or another.
40753473
40763474
40773475
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro C" >&5
4079 $as_echo_n "checking whether we are using SunPro C... " >&6; }
4080
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 { echo "$as_me:$LINENO: checking whether we are using SunPro C" >&5
3477 echo $ECHO_N "checking whether we are using SunPro C... $ECHO_C" >&6; }
3478
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h. */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
40823484 /* end confdefs.h. */
40833485
40843486 int
40923494 return 0;
40933495 }
40943496 _ACEOF
4095 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f conftest.$ac_objext
3498 if { (ac_try="$ac_compile"
3499 case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502 esac
3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
40963514 __sunpro_c=yes
40973515 else
4098 __sunpro_c=no
4099 fi
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
41003522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
41033525
41043526 CFLAGS="${CFLAGS=}"
41053527 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
41143536 fi
41153537
41163538 # Check whether --enable-devel was given.
4117 if test "${enable_devel+set}" = set; then :
3539 if test "${enable_devel+set}" = set; then
41183540 enableval=$enable_devel;
41193541 fi
41203542
41323554 fi
41333555
41343556 # Check whether --enable-compat15 was given.
4135 if test "${enable_compat15+set}" = set; then :
3557 if test "${enable_compat15+set}" = set; then
41363558 enableval=$enable_compat15;
41373559 fi
41383560
41443566 fi
41453567
41463568 +# Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
3569 if test "${enable_fixtimebug+set}" = set; then
41483570 enableval=$enable_fixtimebug;
41493571 fi
41503572
41573579 do
41583580 # Extract the first word of "$ac_prog", so it can be a program name with args.
41593581 set dummy $ac_prog; ac_word=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_YACC+:} false; then :
4163 $as_echo_n "(cached) " >&6
3582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584 if test "${ac_cv_prog_YACC+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
41643586 else
41653587 if test -n "$YACC"; then
41663588 ac_cv_prog_YACC="$YACC" # Let the user override the test.
41703592 do
41713593 IFS=$as_save_IFS
41723594 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
3595 for ac_exec_ext in '' $ac_executable_extensions; do
41743596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41753597 ac_cv_prog_YACC="$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41773599 break 2
41783600 fi
41793601 done
4180 done
3602 done
41813603 IFS=$as_save_IFS
41823604
41833605 fi
41843606 fi
41853607 YACC=$ac_cv_prog_YACC
41863608 if test -n "$YACC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4188 $as_echo "$YACC" >&6; }
4189 else
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
3609 { echo "$as_me:$LINENO: result: $YACC" >&5
3610 echo "${ECHO_T}$YACC" >&6; }
3611 else
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
41923614 fi
41933615
41943616
42003622 do
42013623 # Extract the first word of "$ac_prog", so it can be a program name with args.
42023624 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if ${ac_cv_prog_LEX+:} false; then :
4206 $as_echo_n "(cached) " >&6
3625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 if test "${ac_cv_prog_LEX+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
42073629 else
42083630 if test -n "$LEX"; then
42093631 ac_cv_prog_LEX="$LEX" # Let the user override the test.
42133635 do
42143636 IFS=$as_save_IFS
42153637 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
3638 for ac_exec_ext in '' $ac_executable_extensions; do
42173639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42183640 ac_cv_prog_LEX="$ac_prog"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42203642 break 2
42213643 fi
42223644 done
4223 done
3645 done
42243646 IFS=$as_save_IFS
42253647
42263648 fi
42273649 fi
42283650 LEX=$ac_cv_prog_LEX
42293651 if test -n "$LEX"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4231 $as_echo "$LEX" >&6; }
4232 else
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
3652 { echo "$as_me:$LINENO: result: $LEX" >&5
3653 echo "${ECHO_T}$LEX" >&6; }
3654 else
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
42353657 fi
42363658
42373659
42593681 return ! yylex () + ! yywrap ();
42603682 }
42613683 _ACEOF
4262 { { ac_try="$LEX conftest.l"
4263 case "(($ac_try" in
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4266 esac
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
3684 { (ac_try="$LEX conftest.l"
3685 case "(($ac_try" in
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3688 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693690 (eval "$LEX conftest.l") 2>&5
42703691 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4274 $as_echo_n "checking lex output file root... " >&6; }
4275 if ${ac_cv_prog_lex_root+:} false; then :
4276 $as_echo_n "(cached) " >&6
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }
3694 { echo "$as_me:$LINENO: checking lex output file root" >&5
3695 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3696 if test "${ac_cv_prog_lex_root+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
42773698 else
42783699
42793700 if test -f lex.yy.c; then
42813702 elif test -f lexyy.c; then
42823703 ac_cv_prog_lex_root=lexyy
42833704 else
4284 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4285 fi
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4288 $as_echo "$ac_cv_prog_lex_root" >&6; }
3705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709 fi
3710 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
42893712 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
42903713
42913714 if test -z "${LEXLIB+set}"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4293 $as_echo_n "checking lex library... " >&6; }
4294 if ${ac_cv_lib_lex+:} false; then :
4295 $as_echo_n "(cached) " >&6
3715 { echo "$as_me:$LINENO: checking lex library" >&5
3716 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3717 if test "${ac_cv_lib_lex+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
42963719 else
42973720
42983721 ac_save_LIBS=$LIBS
42993722 ac_cv_lib_lex='none needed'
43003723 for ac_lib in '' -lfl -ll; do
43013724 LIBS="$ac_lib $ac_save_LIBS"
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
3725 cat >conftest.$ac_ext <<_ACEOF
43043726 `cat $LEX_OUTPUT_ROOT.c`
43053727 _ACEOF
4306 if ac_fn_c_try_link "$LINENO"; then :
3728 rm -f conftest.$ac_objext conftest$ac_exeext
3729 if { (ac_try="$ac_link"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_link") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } && {
3742 test -z "$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 } && test -s conftest$ac_exeext &&
3745 $as_test_x conftest$ac_exeext; then
43073746 ac_cv_lib_lex=$ac_lib
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
3747 else
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3750
3751
3752 fi
3753
3754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3755 conftest$ac_exeext conftest.$ac_ext
43113756 test "$ac_cv_lib_lex" != 'none needed' && break
43123757 done
43133758 LIBS=$ac_save_LIBS
43143759
43153760 fi
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
43183763 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
43193764 fi
43203765
43213766
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4323 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4324 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4325 $as_echo_n "(cached) " >&6
3767 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3768 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3769 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
43263771 else
43273772 # POSIX says lex can declare yytext either as a pointer or an array; the
43283773 # default is implementation-dependent. Figure out which it is, since
43303775 ac_cv_prog_lex_yytext_pointer=no
43313776 ac_save_LIBS=$LIBS
43323777 LIBS="$LEXLIB $ac_save_LIBS"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
43373780 `cat $LEX_OUTPUT_ROOT.c`
43383781 _ACEOF
4339 if ac_fn_c_try_link "$LINENO"; then :
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (ac_try="$ac_link"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_link") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest$ac_exeext &&
3799 $as_test_x conftest$ac_exeext; then
43403800 ac_cv_prog_lex_yytext_pointer=yes
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
3801 else
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3804
3805
3806 fi
3807
3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3809 conftest$ac_exeext conftest.$ac_ext
43443810 LIBS=$ac_save_LIBS
43453811
43463812 fi
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4348 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
43493815 if test $ac_cv_prog_lex_yytext_pointer = yes; then
43503816
4351 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3817 cat >>confdefs.h <<\_ACEOF
3818 #define YYTEXT_POINTER 1
3819 _ACEOF
43523820
43533821 fi
43543822 rm -f conftest.l $LEX_OUTPUT_ROOT.c
43563824 fi
43573825 which $LEX > /dev/null 2>&1
43583826 if test $? = 1; then
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
3827 { { echo "$as_me:$LINENO: error: No lex or flex found on system" >&5
3828 echo "$as_me: error: No lex or flex found on system" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831 # Find a good install program. We prefer a C program (faster),
3832 # so one script is as good as another. But avoid the broken or
3833 # incompatible versions:
3834 # SysV /etc/install, /usr/sbin/install
3835 # SunOS /usr/etc/install
3836 # IRIX /sbin/install
3837 # AIX /bin/install
3838 # AmigaOS /C/install, which installs bootblocks on floppy discs
3839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3842 # OS/2's system install, which has a completely different semantic
3843 # ./install, which can be erroneously created by make from ./install.sh.
3844 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3845 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3846 if test -z "$INSTALL"; then
3847 if test "${ac_cv_path_install+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3852 do
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 # Account for people who put trailing slashes in PATH elements.
3856 case $as_dir/ in
3857 ./ | .// | /cC/* | \
3858 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3859 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3860 /usr/ucb/* ) ;;
3861 *)
3862 # OSF1 and SCO ODT 3.0 have their own names for install.
3863 # Don't use installbsd from OSF since it installs stuff as root
3864 # by default.
3865 for ac_prog in ginstall scoinst install; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3868 if test $ac_prog = install &&
3869 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3870 # AIX install. It has an incompatible calling convention.
3871 :
3872 elif test $ac_prog = install &&
3873 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3874 # program-specific install script used by HP pwplus--don't use.
3875 :
3876 else
3877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3878 break 3
3879 fi
3880 fi
3881 done
3882 done
3883 ;;
3884 esac
3885 done
3886 IFS=$as_save_IFS
3887
3888
3889 fi
3890 if test "${ac_cv_path_install+set}" = set; then
3891 INSTALL=$ac_cv_path_install
3892 else
3893 # As a last resort, use the slow shell script. Don't cache a
3894 # value for INSTALL within a source directory, because that will
3895 # break other packages using the cache if that directory is
3896 # removed, or if the value is a relative name.
3897 INSTALL=$ac_install_sh
3898 fi
3899 fi
3900 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3901 echo "${ECHO_T}$INSTALL" >&6; }
3902
3903 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3904 # It thinks the first close brace ends the variable substitution.
3905 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3906
3907 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3908
3909 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43613910
43623911
43633912 if test "x$ac_cv_prog_LEX" = "xflex"; then
43683917 # FIXME? This should use flow-tools-dev if possible, not local sources..
43693918
43703919 # Check whether --with-ftpath was given.
4371 if test "${with_ftpath+set}" = set; then :
3920 if test "${with_ftpath+set}" = set; then
43723921 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
43733922 WHERE_FTPATH="/usr/local/flow-tools/"
43743923 else
43833932
43843933
43853934 # Check whether --with-rrdpath was given.
4386 if test "${with_rrdpath+set}" = set; then :
3935 if test "${with_rrdpath+set}" = set; then
43873936 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
43883937 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
43893938 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
43973946
43983947 #Tidz up? esp not using in source dist flow-tools
43993948 # Check whether --enable-ftconv was given.
4400 if test "${enable_ftconv+set}" = set; then :
4401 enableval=$enable_ftconv; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
4402 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
4403 if ${ac_cv_lib_z_zlibVersion+:} false; then :
4404 $as_echo_n "(cached) " >&6
3949 if test "${enable_ftconv+set}" = set; then
3950 enableval=$enable_ftconv;
3951 { echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5
3952 echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6; }
3953 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
44053955 else
44063956 ac_check_lib_save_LIBS=$LIBS
44073957 LIBS="-lz $LIBS"
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
44093963 /* end confdefs.h. */
44103964
44113965 /* Override any GCC internal prototype to avoid an error.
44233977 return 0;
44243978 }
44253979 _ACEOF
4426 if ac_fn_c_try_link "$LINENO"; then :
3980 rm -f conftest.$ac_objext conftest$ac_exeext
3981 if { (ac_try="$ac_link"
3982 case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3985 esac
3986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987 (eval "$ac_link") 2>conftest.er1
3988 ac_status=$?
3989 grep -v '^ *+' conftest.er1 >conftest.err
3990 rm -f conftest.er1
3991 cat conftest.err >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } && {
3994 test -z "$ac_c_werror_flag" ||
3995 test ! -s conftest.err
3996 } && test -s conftest$ac_exeext &&
3997 $as_test_x conftest$ac_exeext; then
44273998 ac_cv_lib_z_zlibVersion=yes
44283999 else
4429 ac_cv_lib_z_zlibVersion=no
4430 fi
4431 rm -f core conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4002
4003 ac_cv_lib_z_zlibVersion=no
4004 fi
4005
4006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4007 conftest$ac_exeext conftest.$ac_ext
44334008 LIBS=$ac_check_lib_save_LIBS
44344009 fi
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
4436 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
4437 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
4010 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5
4011 echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6; }
4012 if test $ac_cv_lib_z_zlibVersion = yes; then
44384013 cat >>confdefs.h <<_ACEOF
44394014 #define HAVE_LIBZ 1
44404015 _ACEOF
44424017 LIBS="-lz $LIBS"
44434018
44444019 else
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
4020 { { echo "$as_me:$LINENO: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&5
4021 echo "$as_me: error: Link with \"-lz\" failed! (Need zlib >= 1.0.2)" >&2;}
4022 { (exit 1); exit 1; }; }
44464023
44474024 fi
44484025
44494026 if test -d "$WHERE_FTPATH"; then
44504027 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
4028 { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
4029 echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
4030 { (exit 1); exit 1; }; }
44524031 fi
44534032 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
4033 { { echo "$as_me:$LINENO: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&5
4034 echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
4035 { (exit 1); exit 1; }; }
44554036 fi
44564037 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
44574038 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
44584039 else
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
4040 { { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5
4041 echo "$as_me: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&2;}
4042 { (exit 1); exit 1; }; }
44604043 fi
44614044 if true; then
44624045 FT2NFDUMP_TRUE=
44864069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4490 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
44914074 # On Suns, sometimes $CPP names a directory.
44924075 if test -n "$CPP" && test -d "$CPP"; then
44934076 CPP=
44944077 fi
44954078 if test -z "$CPP"; then
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
44984081 else
44994082 # Double quotes because CPP needs to be expanded
45004083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
45084091 # <limits.h> exists even on freestanding compilers.
45094092 # On the NeXT, cc -E runs the code through the compiler's parser,
45104093 # not just through cpp. "Syntax error" is here to catch this case.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
45124099 /* end confdefs.h. */
45134100 #ifdef __STDC__
45144101 # include <limits.h>
45174104 #endif
45184105 Syntax error
45194106 _ACEOF
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
4107 if { (ac_try="$ac_cpp conftest.$ac_ext"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4114 ac_status=$?
4115 grep -v '^ *+' conftest.er1 >conftest.err
4116 rm -f conftest.er1
4117 cat conftest.err >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } >/dev/null && {
4120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4121 test ! -s conftest.err
4122 }; then
4123 :
4124 else
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4127
45234128 # Broken: fails on valid input.
45244129 continue
45254130 fi
4526 rm -f conftest.err conftest.i conftest.$ac_ext
4131
4132 rm -f conftest.err conftest.$ac_ext
45274133
45284134 # OK, works on sane cases. Now check whether nonexistent headers
45294135 # can be detected and how.
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
45314141 /* end confdefs.h. */
45324142 #include <ac_nonexistent.h>
45334143 _ACEOF
4534 if ac_fn_c_try_cpp "$LINENO"; then :
4144 if { (ac_try="$ac_cpp conftest.$ac_ext"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } >/dev/null && {
4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 }; then
45354160 # Broken: success on invalid input.
45364161 continue
45374162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
45384166 # Passes both tests.
45394167 ac_preproc_ok=:
45404168 break
45414169 fi
4542 rm -f conftest.err conftest.i conftest.$ac_ext
4170
4171 rm -f conftest.err conftest.$ac_ext
45434172
45444173 done
45454174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
45484177 break
45494178 fi
45504179
45564185 else
45574186 ac_cv_prog_CPP=$CPP
45584187 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
45614190 ac_preproc_ok=false
45624191 for ac_c_preproc_warn_flag in '' yes
45634192 do
45674196 # <limits.h> exists even on freestanding compilers.
45684197 # On the NeXT, cc -E runs the code through the compiler's parser,
45694198 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
45714204 /* end confdefs.h. */
45724205 #ifdef __STDC__
45734206 # include <limits.h>
45764209 #endif
45774210 Syntax error
45784211 _ACEOF
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
4212 if { (ac_try="$ac_cpp conftest.$ac_ext"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null && {
4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 }; then
4228 :
4229 else
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4232
45824233 # Broken: fails on valid input.
45834234 continue
45844235 fi
4585 rm -f conftest.err conftest.i conftest.$ac_ext
4236
4237 rm -f conftest.err conftest.$ac_ext
45864238
45874239 # OK, works on sane cases. Now check whether nonexistent headers
45884240 # can be detected and how.
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
45904246 /* end confdefs.h. */
45914247 #include <ac_nonexistent.h>
45924248 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4249 if { (ac_try="$ac_cpp conftest.$ac_ext"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4256 ac_status=$?
4257 grep -v '^ *+' conftest.er1 >conftest.err
4258 rm -f conftest.er1
4259 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } >/dev/null && {
4262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 }; then
45944265 # Broken: success on invalid input.
45954266 continue
45964267 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
45974271 # Passes both tests.
45984272 ac_preproc_ok=:
45994273 break
46004274 fi
4601 rm -f conftest.err conftest.i conftest.$ac_ext
4275
4276 rm -f conftest.err conftest.$ac_ext
46024277
46034278 done
46044279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4605 rm -f conftest.i conftest.err conftest.$ac_ext
4606 if $ac_preproc_ok; then :
4607
4608 else
4609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4612 See \`config.log' for more details" "$LINENO" 5; }
4280 rm -f conftest.err conftest.$ac_ext
4281 if $ac_preproc_ok; then
4282 :
4283 else
4284 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4285 See \`config.log' for more details." >&5
4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4287 See \`config.log' for more details." >&2;}
4288 { (exit 1); exit 1; }; }
46134289 fi
46144290
46154291 ac_ext=c
46194295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204296
46214297
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4624 if ${ac_cv_path_GREP+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 if test -z "$GREP"; then
4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4300 if test "${ac_cv_path_GREP+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 else
4303 # Extract the first word of "grep ggrep" to use in msg output
4304 if test -z "$GREP"; then
4305 set dummy grep ggrep; ac_prog_name=$2
4306 if test "${ac_cv_path_GREP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
46284309 ac_path_GREP_found=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46314312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46324313 do
46334314 IFS=$as_save_IFS
46344315 test -z "$as_dir" && as_dir=.
4635 for ac_prog in grep ggrep; do
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4638 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4639 # Check for GNU ac_path_GREP and select it if it is found.
4316 for ac_prog in grep ggrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4320 # Check for GNU ac_path_GREP and select it if it is found.
46404321 # Check for GNU $ac_path_GREP
46414322 case `"$ac_path_GREP" --version 2>&1` in
46424323 *GNU*)
46434324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46444325 *)
46454326 ac_count=0
4646 $as_echo_n 0123456789 >"conftest.in"
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
46474328 while :
46484329 do
46494330 cat "conftest.in" "conftest.in" >"conftest.tmp"
46504331 mv "conftest.tmp" "conftest.in"
46514332 cp "conftest.in" "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
46534334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46544335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
4336 ac_count=`expr $ac_count + 1`
46564337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
46574338 # Best one so far, save it but keep looking for a better one
46584339 ac_cv_path_GREP="$ac_path_GREP"
46644345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46654346 esac
46664347
4667 $ac_path_GREP_found && break 3
4668 done
4348
4349 $ac_path_GREP_found && break 3
46694350 done
4670 done
4351 done
4352
4353 done
46714354 IFS=$as_save_IFS
4672 if test -z "$ac_cv_path_GREP"; then
4673 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4674 fi
4355
4356
4357 fi
4358
4359 GREP="$ac_cv_path_GREP"
4360 if test -z "$GREP"; then
4361 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4363 { (exit 1); exit 1; }; }
4364 fi
4365
46754366 else
46764367 ac_cv_path_GREP=$GREP
46774368 fi
46784369
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
46824374 GREP="$ac_cv_path_GREP"
46834375
46844376
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if ${ac_cv_path_EGREP+:} false; then :
4688 $as_echo_n "(cached) " >&6
4377 { echo "$as_me:$LINENO: checking for egrep" >&5
4378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4379 if test "${ac_cv_path_EGREP+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
46894381 else
46904382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46914383 then ac_cv_path_EGREP="$GREP -E"
46924384 else
4693 if test -z "$EGREP"; then
4385 # Extract the first word of "egrep" to use in msg output
4386 if test -z "$EGREP"; then
4387 set dummy egrep; ac_prog_name=$2
4388 if test "${ac_cv_path_EGREP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
46944391 ac_path_EGREP_found=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46974394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46984395 do
46994396 IFS=$as_save_IFS
47004397 test -z "$as_dir" && as_dir=.
4701 for ac_prog in egrep; do
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4704 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4398 for ac_prog in egrep; do
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4401 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4402 # Check for GNU ac_path_EGREP and select it if it is found.
47064403 # Check for GNU $ac_path_EGREP
47074404 case `"$ac_path_EGREP" --version 2>&1` in
47084405 *GNU*)
47094406 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
47104407 *)
47114408 ac_count=0
4712 $as_echo_n 0123456789 >"conftest.in"
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
47134410 while :
47144411 do
47154412 cat "conftest.in" "conftest.in" >"conftest.tmp"
47164413 mv "conftest.tmp" "conftest.in"
47174414 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
47194416 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
47204417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
4418 ac_count=`expr $ac_count + 1`
47224419 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
47234420 # Best one so far, save it but keep looking for a better one
47244421 ac_cv_path_EGREP="$ac_path_EGREP"
47304427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
47314428 esac
47324429
4733 $ac_path_EGREP_found && break 3
4734 done
4430
4431 $ac_path_EGREP_found && break 3
47354432 done
4736 done
4433 done
4434
4435 done
47374436 IFS=$as_save_IFS
4738 if test -z "$ac_cv_path_EGREP"; then
4739 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4740 fi
4437
4438
4439 fi
4440
4441 EGREP="$ac_cv_path_EGREP"
4442 if test -z "$EGREP"; then
4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
47414448 else
47424449 ac_cv_path_EGREP=$EGREP
47434450 fi
47444451
4452
47454453 fi
47464454 fi
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
47494457 EGREP="$ac_cv_path_EGREP"
47504458
47514459
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4753 $as_echo_n "checking for ANSI C header files... " >&6; }
4754 if ${ac_cv_header_stdc+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4462 if test "${ac_cv_header_stdc+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465 cat >conftest.$ac_ext <<_ACEOF
4466 /* confdefs.h. */
4467 _ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
47584470 /* end confdefs.h. */
47594471 #include <stdlib.h>
47604472 #include <stdarg.h>
47694481 return 0;
47704482 }
47714483 _ACEOF
4772 if ac_fn_c_try_compile "$LINENO"; then :
4484 rm -f conftest.$ac_objext
4485 if { (ac_try="$ac_compile"
4486 case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4489 esac
4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491 (eval "$ac_compile") 2>conftest.er1
4492 ac_status=$?
4493 grep -v '^ *+' conftest.er1 >conftest.err
4494 rm -f conftest.er1
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest.$ac_objext; then
47734501 ac_cv_header_stdc=yes
47744502 else
4775 ac_cv_header_stdc=no
4776 fi
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.$ac_ext >&5
4505
4506 ac_cv_header_stdc=no
4507 fi
4508
47774509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47784510
47794511 if test $ac_cv_header_stdc = yes; then
47804512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
47824518 /* end confdefs.h. */
47834519 #include <string.h>
47844520
47854521 _ACEOF
47864522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
47894525 else
47904526 ac_cv_header_stdc=no
47914527 fi
4792 rm -f conftest*
4528 rm -f -r conftest*
47934529
47944530 fi
47954531
47964532 if test $ac_cv_header_stdc = yes; then
47974533 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
47994539 /* end confdefs.h. */
48004540 #include <stdlib.h>
48014541
48024542 _ACEOF
48034543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
48064546 else
48074547 ac_cv_header_stdc=no
48084548 fi
4809 rm -f conftest*
4549 rm -f -r conftest*
48104550
48114551 fi
48124552
48134553 if test $ac_cv_header_stdc = yes; then
48144554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4815 if test "$cross_compiling" = yes; then :
4555 if test "$cross_compiling" = yes; then
48164556 :
48174557 else
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
48194563 /* end confdefs.h. */
48204564 #include <ctype.h>
48214565 #include <stdlib.h>
48424586 return 0;
48434587 }
48444588 _ACEOF
4845 if ac_fn_c_try_run "$LINENO"; then :
4846
4847 else
4848 ac_cv_header_stdc=no
4849 fi
4850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4851 conftest.$ac_objext conftest.beam conftest.$ac_ext
4852 fi
4853
4854 fi
4855 fi
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4857 $as_echo "$ac_cv_header_stdc" >&6; }
4589 rm -f conftest$ac_exeext
4590 if { (ac_try="$ac_link"
4591 case "(($ac_try" in
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4594 esac
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_link") 2>&5
4597 ac_status=$?
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4600 { (case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_try") 2>&5
4606 ac_status=$?
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 :
4610 else
4611 echo "$as_me: program exited with status $ac_status" >&5
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4614
4615 ( exit $ac_status )
4616 ac_cv_header_stdc=no
4617 fi
4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4619 fi
4620
4621
4622 fi
4623 fi
4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
48584626 if test $ac_cv_header_stdc = yes; then
48594627
4860 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4628 cat >>confdefs.h <<\_ACEOF
4629 #define STDC_HEADERS 1
4630 _ACEOF
48614631
48624632 fi
48634633
48644634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
48654644 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
48664645 inttypes.h stdint.h unistd.h
4867 do :
4868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4870 "
4871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4646 do
4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 else
4653 cat >conftest.$ac_ext <<_ACEOF
4654 /* confdefs.h. */
4655 _ACEOF
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4659 $ac_includes_default
4660
4661 #include <$ac_header>
4662 _ACEOF
4663 rm -f conftest.$ac_objext
4664 if { (ac_try="$ac_compile"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_compile") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest.$ac_objext; then
4680 eval "$as_ac_Header=yes"
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4684
4685 eval "$as_ac_Header=no"
4686 fi
4687
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 fi
4690 ac_res=`eval echo '${'$as_ac_Header'}'`
4691 { echo "$as_me:$LINENO: result: $ac_res" >&5
4692 echo "${ECHO_T}$ac_res" >&6; }
4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48724694 cat >>confdefs.h <<_ACEOF
4873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48744696 _ACEOF
48754697
48764698 fi
48794701
48804702
48814703 # Check whether --enable-nfprofile was given.
4882 if test "${enable_nfprofile+set}" = set; then :
4704 if test "${enable_nfprofile+set}" = set; then
48834705 enableval=$enable_nfprofile;
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
4885 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
4886 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
4887 $as_echo_n "(cached) " >&6
4706 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
4707 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
4708 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
48884710 else
48894711 ac_check_lib_save_LIBS=$LIBS
48904712 LIBS="-lrrd $LIBS"
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
48924718 /* end confdefs.h. */
48934719
48944720 /* Override any GCC internal prototype to avoid an error.
49064732 return 0;
49074733 }
49084734 _ACEOF
4909 if ac_fn_c_try_link "$LINENO"; then :
4735 rm -f conftest.$ac_objext conftest$ac_exeext
4736 if { (ac_try="$ac_link"
4737 case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_link") 2>conftest.er1
4743 ac_status=$?
4744 grep -v '^ *+' conftest.er1 >conftest.err
4745 rm -f conftest.er1
4746 cat conftest.err >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } && {
4749 test -z "$ac_c_werror_flag" ||
4750 test ! -s conftest.err
4751 } && test -s conftest$ac_exeext &&
4752 $as_test_x conftest$ac_exeext; then
49104753 ac_cv_lib_rrd_rrd_update=yes
49114754 else
4912 ac_cv_lib_rrd_rrd_update=no
4913 fi
4914 rm -f core conftest.err conftest.$ac_objext \
4915 conftest$ac_exeext conftest.$ac_ext
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4757
4758 ac_cv_lib_rrd_rrd_update=no
4759 fi
4760
4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4762 conftest$ac_exeext conftest.$ac_ext
49164763 LIBS=$ac_check_lib_save_LIBS
49174764 fi
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
4919 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
4920 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
4766 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
4767 if test $ac_cv_lib_rrd_rrd_update = yes; then
49214768
49224769 cat >>config.h <<_ACEOF
49234770 #define HAVE_LIBRRD 1
49274774
49284775
49294776 else
4930 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
4931 fi
4932
4933 for ac_header in rrd.h
4934 do :
4935 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
4936 if test "x$ac_cv_header_rrd_h" = xyes; then :
4777 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
4778 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
4779 { (exit 1); exit 1; }; }
4780 fi
4781
4782
4783 for ac_header in rrd.h
4784 do
4785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 fi
4792 ac_res=`eval echo '${'$as_ac_Header'}'`
4793 { echo "$as_me:$LINENO: result: $ac_res" >&5
4794 echo "${ECHO_T}$ac_res" >&6; }
4795 else
4796 # Is the header compilable?
4797 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4799 cat >conftest.$ac_ext <<_ACEOF
4800 /* confdefs.h. */
4801 _ACEOF
4802 cat confdefs.h >>conftest.$ac_ext
4803 cat >>conftest.$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4805 $ac_includes_default
4806 #include <$ac_header>
4807 _ACEOF
4808 rm -f conftest.$ac_objext
4809 if { (ac_try="$ac_compile"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_compile") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest.$ac_objext; then
4825 ac_header_compiler=yes
4826 else
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4829
4830 ac_header_compiler=no
4831 fi
4832
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4835 echo "${ECHO_T}$ac_header_compiler" >&6; }
4836
4837 # Is the header present?
4838 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4840 cat >conftest.$ac_ext <<_ACEOF
4841 /* confdefs.h. */
4842 _ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 #include <$ac_header>
4847 _ACEOF
4848 if { (ac_try="$ac_cpp conftest.$ac_ext"
4849 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4855 ac_status=$?
4856 grep -v '^ *+' conftest.er1 >conftest.err
4857 rm -f conftest.er1
4858 cat conftest.err >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } >/dev/null && {
4861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4862 test ! -s conftest.err
4863 }; then
4864 ac_header_preproc=yes
4865 else
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4868
4869 ac_header_preproc=no
4870 fi
4871
4872 rm -f conftest.err conftest.$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4874 echo "${ECHO_T}$ac_header_preproc" >&6; }
4875
4876 # So? What about this header?
4877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4878 yes:no: )
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4883 ac_header_preproc=yes
4884 ;;
4885 no:yes:* )
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4898 ( cat <<\_ASBOX
4899 ## ------------------------------------------ ##
4900 ## Report this to phaag@users.sourceforge.net ##
4901 ## ------------------------------------------ ##
4902 _ASBOX
4903 ) | sed "s/^/$as_me: WARNING: /" >&2
4904 ;;
4905 esac
4906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 eval "$as_ac_Header=\$ac_header_preproc"
4912 fi
4913 ac_res=`eval echo '${'$as_ac_Header'}'`
4914 { echo "$as_me:$LINENO: result: $ac_res" >&5
4915 echo "${ECHO_T}$ac_res" >&6; }
4916
4917 fi
4918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49374919 cat >>confdefs.h <<_ACEOF
4938 #define HAVE_RRD_H 1
4920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49394921 _ACEOF
49404922
49414923 fi
49524934 fi
49534935
49544936 else
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
4937 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
4938 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
4939 { (exit 1); exit 1; }; }
49564940 fi
4957 if test "$cross_compiling" = yes; then :
4958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4960 as_fn_error $? "cannot run test program while cross compiling
4961 See \`config.log' for more details" "$LINENO" 5; }
4962 else
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 if test "$cross_compiling" = yes; then
4942 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4943 See \`config.log' for more details." >&5
4944 echo "$as_me: error: cannot run test program while cross compiling
4945 See \`config.log' for more details." >&2;}
4946 { (exit 1); exit 1; }; }
4947 else
4948 cat >conftest.$ac_ext <<_ACEOF
4949 /* confdefs.h. */
4950 _ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
49644953 /* end confdefs.h. */
49654954
49664955 #include <stdio.h>
49774966 }
49784967
49794968 _ACEOF
4980 if ac_fn_c_try_run "$LINENO"; then :
4981
4982 else
4983 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
4984 fi
4985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4986 conftest.$ac_objext conftest.beam conftest.$ac_ext
4987 fi
4969 rm -f conftest$ac_exeext
4970 if { (ac_try="$ac_link"
4971 case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_link") 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4980 { (case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4983 esac
4984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4985 (eval "$ac_try") 2>&5
4986 ac_status=$?
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 :
4990 else
4991 echo "$as_me: program exited with status $ac_status" >&5
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4994
4995 ( exit $ac_status )
4996 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
4997 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
4998 { (exit 1); exit 1; }; }
4999 fi
5000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5001 fi
5002
49885003
49895004
49905005
50035018
50045019
50055020 # Check whether --enable-nftrack was given.
5006 if test "${enable_nftrack+set}" = set; then :
5021 if test "${enable_nftrack+set}" = set; then
50075022 enableval=$enable_nftrack;
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rrd_update in -lrrd" >&5
5009 $as_echo_n "checking for rrd_update in -lrrd... " >&6; }
5010 if ${ac_cv_lib_rrd_rrd_update+:} false; then :
5011 $as_echo_n "(cached) " >&6
5023 { echo "$as_me:$LINENO: checking for rrd_update in -lrrd" >&5
5024 echo $ECHO_N "checking for rrd_update in -lrrd... $ECHO_C" >&6; }
5025 if test "${ac_cv_lib_rrd_rrd_update+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
50125027 else
50135028 ac_check_lib_save_LIBS=$LIBS
50145029 LIBS="-lrrd $LIBS"
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
50165035 /* end confdefs.h. */
50175036
50185037 /* Override any GCC internal prototype to avoid an error.
50305049 return 0;
50315050 }
50325051 _ACEOF
5033 if ac_fn_c_try_link "$LINENO"; then :
5052 rm -f conftest.$ac_objext conftest$ac_exeext
5053 if { (ac_try="$ac_link"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest$ac_exeext &&
5069 $as_test_x conftest$ac_exeext; then
50345070 ac_cv_lib_rrd_rrd_update=yes
50355071 else
5036 ac_cv_lib_rrd_rrd_update=no
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5074
5075 ac_cv_lib_rrd_rrd_update=no
5076 fi
5077
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext conftest.$ac_ext
50405080 LIBS=$ac_check_lib_save_LIBS
50415081 fi
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rrd_rrd_update" >&5
5043 $as_echo "$ac_cv_lib_rrd_rrd_update" >&6; }
5044 if test "x$ac_cv_lib_rrd_rrd_update" = xyes; then :
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_rrd_rrd_update" >&5
5083 echo "${ECHO_T}$ac_cv_lib_rrd_rrd_update" >&6; }
5084 if test $ac_cv_lib_rrd_rrd_update = yes; then
50455085
50465086 cat >>config.h <<_ACEOF
50475087 #define HAVE_LIBRRD 1
50515091
50525092
50535093 else
5054 as_fn_error $? "Can not link librrd. Please specify --with-rrdpath=.. configure failed! " "$LINENO" 5
5055 fi
5056
5057 for ac_header in rrd.h
5058 do :
5059 ac_fn_c_check_header_mongrel "$LINENO" "rrd.h" "ac_cv_header_rrd_h" "$ac_includes_default"
5060 if test "x$ac_cv_header_rrd_h" = xyes; then :
5094 { { echo "$as_me:$LINENO: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&5
5095 echo "$as_me: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed! " >&2;}
5096 { (exit 1); exit 1; }; }
5097 fi
5098
5099
5100 for ac_header in rrd.h
5101 do
5102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 fi
5109 ac_res=`eval echo '${'$as_ac_Header'}'`
5110 { echo "$as_me:$LINENO: result: $ac_res" >&5
5111 echo "${ECHO_T}$ac_res" >&6; }
5112 else
5113 # Is the header compilable?
5114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5116 cat >conftest.$ac_ext <<_ACEOF
5117 /* confdefs.h. */
5118 _ACEOF
5119 cat confdefs.h >>conftest.$ac_ext
5120 cat >>conftest.$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5122 $ac_includes_default
5123 #include <$ac_header>
5124 _ACEOF
5125 rm -f conftest.$ac_objext
5126 if { (ac_try="$ac_compile"
5127 case "(($ac_try" in
5128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5130 esac
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5133 ac_status=$?
5134 grep -v '^ *+' conftest.er1 >conftest.err
5135 rm -f conftest.er1
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5142 ac_header_compiler=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5146
5147 ac_header_compiler=no
5148 fi
5149
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5152 echo "${ECHO_T}$ac_header_compiler" >&6; }
5153
5154 # Is the header present?
5155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5157 cat >conftest.$ac_ext <<_ACEOF
5158 /* confdefs.h. */
5159 _ACEOF
5160 cat confdefs.h >>conftest.$ac_ext
5161 cat >>conftest.$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5163 #include <$ac_header>
5164 _ACEOF
5165 if { (ac_try="$ac_cpp conftest.$ac_ext"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5172 ac_status=$?
5173 grep -v '^ *+' conftest.er1 >conftest.err
5174 rm -f conftest.er1
5175 cat conftest.err >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev/null && {
5178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5179 test ! -s conftest.err
5180 }; then
5181 ac_header_preproc=yes
5182 else
5183 echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.$ac_ext >&5
5185
5186 ac_header_preproc=no
5187 fi
5188
5189 rm -f conftest.err conftest.$ac_ext
5190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5191 echo "${ECHO_T}$ac_header_preproc" >&6; }
5192
5193 # So? What about this header?
5194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5195 yes:no: )
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5200 ac_header_preproc=yes
5201 ;;
5202 no:yes:* )
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5215 ( cat <<\_ASBOX
5216 ## ------------------------------------------ ##
5217 ## Report this to phaag@users.sourceforge.net ##
5218 ## ------------------------------------------ ##
5219 _ASBOX
5220 ) | sed "s/^/$as_me: WARNING: /" >&2
5221 ;;
5222 esac
5223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 eval "$as_ac_Header=\$ac_header_preproc"
5229 fi
5230 ac_res=`eval echo '${'$as_ac_Header'}'`
5231 { echo "$as_me:$LINENO: result: $ac_res" >&5
5232 echo "${ECHO_T}$ac_res" >&6; }
5233
5234 fi
5235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50615236 cat >>confdefs.h <<_ACEOF
5062 #define HAVE_RRD_H 1
5237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50635238 _ACEOF
50645239
50655240 fi
50765251 fi
50775252
50785253 else
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
5254 { { echo "$as_me:$LINENO: error: Required rrd.h header file not found!" >&5
5255 echo "$as_me: error: Required rrd.h header file not found!" >&2;}
5256 { (exit 1); exit 1; }; }
50805257 fi
5081 if test "$cross_compiling" = yes; then :
5082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5084 as_fn_error $? "cannot run test program while cross compiling
5085 See \`config.log' for more details" "$LINENO" 5; }
5086 else
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 if test "$cross_compiling" = yes; then
5259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5260 See \`config.log' for more details." >&5
5261 echo "$as_me: error: cannot run test program while cross compiling
5262 See \`config.log' for more details." >&2;}
5263 { (exit 1); exit 1; }; }
5264 else
5265 cat >conftest.$ac_ext <<_ACEOF
5266 /* confdefs.h. */
5267 _ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
50885270 /* end confdefs.h. */
50895271
50905272 #include <stdio.h>
51015283 }
51025284
51035285 _ACEOF
5104 if ac_fn_c_try_run "$LINENO"; then :
5105
5106 else
5107 as_fn_error $? "Can not load rrd library. Not in loader search path! " "$LINENO" 5
5108 fi
5109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5110 conftest.$ac_objext conftest.beam conftest.$ac_ext
5111 fi
5286 rm -f conftest$ac_exeext
5287 if { (ac_try="$ac_link"
5288 case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5291 esac
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_link") 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5303 ac_status=$?
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 :
5307 else
5308 echo "$as_me: program exited with status $ac_status" >&5
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5311
5312 ( exit $ac_status )
5313 { { echo "$as_me:$LINENO: error: Can not load rrd library. Not in loader search path! " >&5
5314 echo "$as_me: error: Can not load rrd library. Not in loader search path! " >&2;}
5315 { (exit 1); exit 1; }; }
5316 fi
5317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5318 fi
5319
51125320
51135321
51145322
51275335
51285336
51295337 # Check whether --enable-sflow was given.
5130 if test "${enable_sflow+set}" = set; then :
5338 if test "${enable_sflow+set}" = set; then
51315339 enableval=$enable_sflow;
51325340 fi
51335341
51415349
51425350
51435351 # Check whether --enable-readpcap was given.
5144 if test "${enable_readpcap+set}" = set; then :
5352 if test "${enable_readpcap+set}" = set; then
51455353 enableval=$enable_readpcap;
51465354 fi
51475355
51555363
51565364
51575365 # Check for structures
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5366 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5367 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5368 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371 cat >conftest.$ac_ext <<_ACEOF
5372 /* confdefs.h. */
5373 _ACEOF
5374 cat confdefs.h >>conftest.$ac_ext
5375 cat >>conftest.$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5377
51595378 #include <sys/types.h>
51605379 #include <sys/socket.h>
5161 "
5162 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5163
5164 $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
5165
5166 fi
5167
5168
5169 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "
5380
5381 int
5382 main ()
5383 {
5384 static struct sockaddr ac_aggr;
5385 if (ac_aggr.sa_len)
5386 return 0;
5387 ;
5388 return 0;
5389 }
5390 _ACEOF
5391 rm -f conftest.$ac_objext
5392 if { (ac_try="$ac_compile"
5393 case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_compile") 2>conftest.er1
5399 ac_status=$?
5400 grep -v '^ *+' conftest.er1 >conftest.err
5401 rm -f conftest.er1
5402 cat conftest.err >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } && {
5405 test -z "$ac_c_werror_flag" ||
5406 test ! -s conftest.err
5407 } && test -s conftest.$ac_objext; then
5408 ac_cv_member_struct_sockaddr_sa_len=yes
5409 else
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5412
5413 cat >conftest.$ac_ext <<_ACEOF
5414 /* confdefs.h. */
5415 _ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419
51705420 #include <sys/types.h>
51715421 #include <sys/socket.h>
51725422
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
5423 int
5424 main ()
5425 {
5426 static struct sockaddr ac_aggr;
5427 if (sizeof ac_aggr.sa_len)
5428 return 0;
5429 ;
5430 return 0;
5431 }
5432 _ACEOF
5433 rm -f conftest.$ac_objext
5434 if { (ac_try="$ac_compile"
5435 case "(($ac_try" in
5436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437 *) ac_try_echo=$ac_try;;
5438 esac
5439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440 (eval "$ac_compile") 2>conftest.er1
5441 ac_status=$?
5442 grep -v '^ *+' conftest.er1 >conftest.err
5443 rm -f conftest.er1
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } && {
5447 test -z "$ac_c_werror_flag" ||
5448 test ! -s conftest.err
5449 } && test -s conftest.$ac_objext; then
5450 ac_cv_member_struct_sockaddr_sa_len=yes
5451 else
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5454
5455 ac_cv_member_struct_sockaddr_sa_len=no
5456 fi
5457
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 fi
5460
5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5462 fi
5463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5464 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
5465 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5466
5467 cat >>confdefs.h <<\_ACEOF
5468 #define HAVE_SOCKADDR_SA_LEN 1
5469 _ACEOF
5470
5471 fi
5472
5473
5474 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
5475 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
5476 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 else
5479 cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h. */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485
5486 #include <sys/types.h>
5487 #include <sys/socket.h>
5488
5489
5490 int
5491 main ()
5492 {
5493 static struct sockaddr_storage ac_aggr;
5494 if (ac_aggr.ss_family)
5495 return 0;
5496 ;
5497 return 0;
5498 }
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (ac_try="$ac_compile"
5502 case "(($ac_try" in
5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5505 esac
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_compile") 2>conftest.er1
5508 ac_status=$?
5509 grep -v '^ *+' conftest.er1 >conftest.err
5510 rm -f conftest.er1
5511 cat conftest.err >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } && {
5514 test -z "$ac_c_werror_flag" ||
5515 test ! -s conftest.err
5516 } && test -s conftest.$ac_objext; then
5517 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5518 else
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5521
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 _ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528
5529 #include <sys/types.h>
5530 #include <sys/socket.h>
5531
5532
5533 int
5534 main ()
5535 {
5536 static struct sockaddr_storage ac_aggr;
5537 if (sizeof ac_aggr.ss_family)
5538 return 0;
5539 ;
5540 return 0;
5541 }
5542 _ACEOF
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5545 case "(($ac_try" in
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5548 esac
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5551 ac_status=$?
5552 grep -v '^ *+' conftest.er1 >conftest.err
5553 rm -f conftest.er1
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5560 ac_cv_member_struct_sockaddr_storage_ss_family=yes
5561 else
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5564
5565 ac_cv_member_struct_sockaddr_storage_ss_family=no
5566 fi
5567
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 fi
5570
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572 fi
5573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
5574 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
5575 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
51755576
51765577 cat >>confdefs.h <<_ACEOF
51775578 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
51795580
51805581
51815582 fi
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
5583 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_family" >&5
5584 echo $ECHO_N "checking for struct sockaddr_storage.__ss_family... $ECHO_C" >&6; }
5585 if test "${ac_cv_member_struct_sockaddr_storage___ss_family+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594
51835595 #include <sys/types.h>
51845596 #include <sys/socket.h>
51855597
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
5598
5599 int
5600 main ()
5601 {
5602 static struct sockaddr_storage ac_aggr;
5603 if (ac_aggr.__ss_family)
5604 return 0;
5605 ;
5606 return 0;
5607 }
5608 _ACEOF
5609 rm -f conftest.$ac_objext
5610 if { (ac_try="$ac_compile"
5611 case "(($ac_try" in
5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613 *) ac_try_echo=$ac_try;;
5614 esac
5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5617 ac_status=$?
5618 grep -v '^ *+' conftest.er1 >conftest.err
5619 rm -f conftest.er1
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5627 else
5628 echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5630
5631 cat >conftest.$ac_ext <<_ACEOF
5632 /* confdefs.h. */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637
5638 #include <sys/types.h>
5639 #include <sys/socket.h>
5640
5641
5642 int
5643 main ()
5644 {
5645 static struct sockaddr_storage ac_aggr;
5646 if (sizeof ac_aggr.__ss_family)
5647 return 0;
5648 ;
5649 return 0;
5650 }
5651 _ACEOF
5652 rm -f conftest.$ac_objext
5653 if { (ac_try="$ac_compile"
5654 case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5657 esac
5658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_compile") 2>conftest.er1
5660 ac_status=$?
5661 grep -v '^ *+' conftest.er1 >conftest.err
5662 rm -f conftest.er1
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && {
5666 test -z "$ac_c_werror_flag" ||
5667 test ! -s conftest.err
5668 } && test -s conftest.$ac_objext; then
5669 ac_cv_member_struct_sockaddr_storage___ss_family=yes
5670 else
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5673
5674 ac_cv_member_struct_sockaddr_storage___ss_family=no
5675 fi
5676
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 fi
5679
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 fi
5682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_family" >&5
5683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_family" >&6; }
5684 if test $ac_cv_member_struct_sockaddr_storage___ss_family = yes; then
51885685
51895686 cat >>confdefs.h <<_ACEOF
51905687 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
51925689
51935690
51945691 fi
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
5692 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_len" >&5
5693 echo $ECHO_N "checking for struct sockaddr_storage.ss_len... $ECHO_C" >&6; }
5694 if test "${ac_cv_member_struct_sockaddr_storage_ss_len+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 else
5697 cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h. */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703
51965704 #include <sys/types.h>
51975705 #include <sys/socket.h>
51985706
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
5707
5708 int
5709 main ()
5710 {
5711 static struct sockaddr_storage ac_aggr;
5712 if (ac_aggr.ss_len)
5713 return 0;
5714 ;
5715 return 0;
5716 }
5717 _ACEOF
5718 rm -f conftest.$ac_objext
5719 if { (ac_try="$ac_compile"
5720 case "(($ac_try" in
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5723 esac
5724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5725 (eval "$ac_compile") 2>conftest.er1
5726 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } && {
5732 test -z "$ac_c_werror_flag" ||
5733 test ! -s conftest.err
5734 } && test -s conftest.$ac_objext; then
5735 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5736 else
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.$ac_ext >&5
5739
5740 cat >conftest.$ac_ext <<_ACEOF
5741 /* confdefs.h. */
5742 _ACEOF
5743 cat confdefs.h >>conftest.$ac_ext
5744 cat >>conftest.$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746
5747 #include <sys/types.h>
5748 #include <sys/socket.h>
5749
5750
5751 int
5752 main ()
5753 {
5754 static struct sockaddr_storage ac_aggr;
5755 if (sizeof ac_aggr.ss_len)
5756 return 0;
5757 ;
5758 return 0;
5759 }
5760 _ACEOF
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5763 case "(($ac_try" in
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5766 esac
5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_compile") 2>conftest.er1
5769 ac_status=$?
5770 grep -v '^ *+' conftest.er1 >conftest.err
5771 rm -f conftest.er1
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest.$ac_objext; then
5778 ac_cv_member_struct_sockaddr_storage_ss_len=yes
5779 else
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5782
5783 ac_cv_member_struct_sockaddr_storage_ss_len=no
5784 fi
5785
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5787 fi
5788
5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5790 fi
5791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_len" >&5
5792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_len" >&6; }
5793 if test $ac_cv_member_struct_sockaddr_storage_ss_len = yes; then
52015794
52025795 cat >>confdefs.h <<_ACEOF
52035796 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
52055798
52065799
52075800 fi
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
5801 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.__ss_len" >&5
5802 echo $ECHO_N "checking for struct sockaddr_storage.__ss_len... $ECHO_C" >&6; }
5803 if test "${ac_cv_member_struct_sockaddr_storage___ss_len+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 cat >conftest.$ac_ext <<_ACEOF
5807 /* confdefs.h. */
5808 _ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812
52095813 #include <sys/types.h>
52105814 #include <sys/socket.h>
52115815
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
5816
5817 int
5818 main ()
5819 {
5820 static struct sockaddr_storage ac_aggr;
5821 if (ac_aggr.__ss_len)
5822 return 0;
5823 ;
5824 return 0;
5825 }
5826 _ACEOF
5827 rm -f conftest.$ac_objext
5828 if { (ac_try="$ac_compile"
5829 case "(($ac_try" in
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5832 esac
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5835 ac_status=$?
5836 grep -v '^ *+' conftest.er1 >conftest.err
5837 rm -f conftest.er1
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5844 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5845 else
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5848
5849 cat >conftest.$ac_ext <<_ACEOF
5850 /* confdefs.h. */
5851 _ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855
5856 #include <sys/types.h>
5857 #include <sys/socket.h>
5858
5859
5860 int
5861 main ()
5862 {
5863 static struct sockaddr_storage ac_aggr;
5864 if (sizeof ac_aggr.__ss_len)
5865 return 0;
5866 ;
5867 return 0;
5868 }
5869 _ACEOF
5870 rm -f conftest.$ac_objext
5871 if { (ac_try="$ac_compile"
5872 case "(($ac_try" in
5873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5874 *) ac_try_echo=$ac_try;;
5875 esac
5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5877 (eval "$ac_compile") 2>conftest.er1
5878 ac_status=$?
5879 grep -v '^ *+' conftest.er1 >conftest.err
5880 rm -f conftest.er1
5881 cat conftest.err >&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } && {
5884 test -z "$ac_c_werror_flag" ||
5885 test ! -s conftest.err
5886 } && test -s conftest.$ac_objext; then
5887 ac_cv_member_struct_sockaddr_storage___ss_len=yes
5888 else
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5891
5892 ac_cv_member_struct_sockaddr_storage___ss_len=no
5893 fi
5894
5895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896 fi
5897
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5899 fi
5900 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage___ss_len" >&5
5901 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage___ss_len" >&6; }
5902 if test $ac_cv_member_struct_sockaddr_storage___ss_len = yes; then
52145903
52155904 cat >>confdefs.h <<_ACEOF
52165905 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
52185907
52195908
52205909 fi
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
5910 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5911 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5912 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 else
5915 cat >conftest.$ac_ext <<_ACEOF
5916 /* confdefs.h. */
5917 _ACEOF
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921
52225922 #include <sys/types.h>
52235923 #include <sys/socket.h>
52245924
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
5925
5926 int
5927 main ()
5928 {
5929 static struct sockaddr ac_aggr;
5930 if (ac_aggr.sa_len)
5931 return 0;
5932 ;
5933 return 0;
5934 }
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (ac_try="$ac_compile"
5938 case "(($ac_try" in
5939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5940 *) ac_try_echo=$ac_try;;
5941 esac
5942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5943 (eval "$ac_compile") 2>conftest.er1
5944 ac_status=$?
5945 grep -v '^ *+' conftest.er1 >conftest.err
5946 rm -f conftest.er1
5947 cat conftest.err >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } && {
5950 test -z "$ac_c_werror_flag" ||
5951 test ! -s conftest.err
5952 } && test -s conftest.$ac_objext; then
5953 ac_cv_member_struct_sockaddr_sa_len=yes
5954 else
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5957
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964
5965 #include <sys/types.h>
5966 #include <sys/socket.h>
5967
5968
5969 int
5970 main ()
5971 {
5972 static struct sockaddr ac_aggr;
5973 if (sizeof ac_aggr.sa_len)
5974 return 0;
5975 ;
5976 return 0;
5977 }
5978 _ACEOF
5979 rm -f conftest.$ac_objext
5980 if { (ac_try="$ac_compile"
5981 case "(($ac_try" in
5982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983 *) ac_try_echo=$ac_try;;
5984 esac
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 (eval "$ac_compile") 2>conftest.er1
5987 ac_status=$?
5988 grep -v '^ *+' conftest.er1 >conftest.err
5989 rm -f conftest.er1
5990 cat conftest.err >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } && {
5993 test -z "$ac_c_werror_flag" ||
5994 test ! -s conftest.err
5995 } && test -s conftest.$ac_objext; then
5996 ac_cv_member_struct_sockaddr_sa_len=yes
5997 else
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6000
6001 ac_cv_member_struct_sockaddr_sa_len=no
6002 fi
6003
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 fi
6006
6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6008 fi
6009 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6010 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6011 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
52276012
52286013 cat >>confdefs.h <<_ACEOF
52296014 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
52406025
52416026
52426027 # Checks for libraries.
6028
52436029 for ac_func in gethostbyname
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
6030 do
6031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 else
6037 cat >conftest.$ac_ext <<_ACEOF
6038 /* confdefs.h. */
6039 _ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6045 #define $ac_func innocuous_$ac_func
6046
6047 /* System header to define __stub macros and hopefully few prototypes,
6048 which can conflict with char $ac_func (); below.
6049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6050 <limits.h> exists even on freestanding compilers. */
6051
6052 #ifdef __STDC__
6053 # include <limits.h>
6054 #else
6055 # include <assert.h>
6056 #endif
6057
6058 #undef $ac_func
6059
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6063 #ifdef __cplusplus
6064 extern "C"
6065 #endif
6066 char $ac_func ();
6067 /* The GNU C library defines this for functions which it implements
6068 to always fail with ENOSYS. Some functions are actually named
6069 something starting with __ and the normal name is an alias. */
6070 #if defined __stub_$ac_func || defined __stub___$ac_func
6071 choke me
6072 #endif
6073
6074 int
6075 main ()
6076 {
6077 return $ac_func ();
6078 ;
6079 return 0;
6080 }
6081 _ACEOF
6082 rm -f conftest.$ac_objext conftest$ac_exeext
6083 if { (ac_try="$ac_link"
6084 case "(($ac_try" in
6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 *) ac_try_echo=$ac_try;;
6087 esac
6088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_link") 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } && {
6096 test -z "$ac_c_werror_flag" ||
6097 test ! -s conftest.err
6098 } && test -s conftest$ac_exeext &&
6099 $as_test_x conftest$ac_exeext; then
6100 eval "$as_ac_var=yes"
6101 else
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5
6104
6105 eval "$as_ac_var=no"
6106 fi
6107
6108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6109 conftest$ac_exeext conftest.$ac_ext
6110 fi
6111 ac_res=`eval echo '${'$as_ac_var'}'`
6112 { echo "$as_me:$LINENO: result: $ac_res" >&5
6113 echo "${ECHO_T}$ac_res" >&6; }
6114 if test `eval echo '${'$as_ac_var'}'` = yes; then
52476115 cat >>confdefs.h <<_ACEOF
5248 #define HAVE_GETHOSTBYNAME 1
5249 _ACEOF
5250
5251 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5253 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5254 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5255 $as_echo_n "(cached) " >&6
6116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6117 _ACEOF
6118
6119 else
6120
6121 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6122 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6123 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
52566125 else
52576126 ac_check_lib_save_LIBS=$LIBS
52586127 LIBS="-lnsl $LIBS"
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
52606133 /* end confdefs.h. */
52616134
52626135 /* Override any GCC internal prototype to avoid an error.
52746147 return 0;
52756148 }
52766149 _ACEOF
5277 if ac_fn_c_try_link "$LINENO"; then :
6150 rm -f conftest.$ac_objext conftest$ac_exeext
6151 if { (ac_try="$ac_link"
6152 case "(($ac_try" in
6153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6154 *) ac_try_echo=$ac_try;;
6155 esac
6156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6157 (eval "$ac_link") 2>conftest.er1
6158 ac_status=$?
6159 grep -v '^ *+' conftest.er1 >conftest.err
6160 rm -f conftest.er1
6161 cat conftest.err >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest$ac_exeext &&
6167 $as_test_x conftest$ac_exeext; then
52786168 ac_cv_lib_nsl_gethostbyname=yes
52796169 else
5280 ac_cv_lib_nsl_gethostbyname=no
5281 fi
5282 rm -f core conftest.err conftest.$ac_objext \
5283 conftest$ac_exeext conftest.$ac_ext
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 ac_cv_lib_nsl_gethostbyname=no
6174 fi
6175
6176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6177 conftest$ac_exeext conftest.$ac_ext
52846178 LIBS=$ac_check_lib_save_LIBS
52856179 fi
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5287 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5288 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
6180 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6181 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6182 if test $ac_cv_lib_nsl_gethostbyname = yes; then
52896183 cat >>confdefs.h <<_ACEOF
52906184 #define HAVE_LIBNSL 1
52916185 _ACEOF
52936187 LIBS="-lnsl $LIBS"
52946188
52956189 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
5297 $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
5298 if ${ac_cv_lib_socket_gethostbyname+:} false; then :
5299 $as_echo_n "(cached) " >&6
6190
6191 { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
6192 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
6193 if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
53006195 else
53016196 ac_check_lib_save_LIBS=$LIBS
53026197 LIBS="-lsocket $LIBS"
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
53046203 /* end confdefs.h. */
53056204
53066205 /* Override any GCC internal prototype to avoid an error.
53186217 return 0;
53196218 }
53206219 _ACEOF
5321 if ac_fn_c_try_link "$LINENO"; then :
6220 rm -f conftest.$ac_objext conftest$ac_exeext
6221 if { (ac_try="$ac_link"
6222 case "(($ac_try" in
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6225 esac
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_link") 2>conftest.er1
6228 ac_status=$?
6229 grep -v '^ *+' conftest.er1 >conftest.err
6230 rm -f conftest.er1
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest$ac_exeext &&
6237 $as_test_x conftest$ac_exeext; then
53226238 ac_cv_lib_socket_gethostbyname=yes
53236239 else
5324 ac_cv_lib_socket_gethostbyname=no
5325 fi
5326 rm -f core conftest.err conftest.$ac_objext \
5327 conftest$ac_exeext conftest.$ac_ext
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6242
6243 ac_cv_lib_socket_gethostbyname=no
6244 fi
6245
6246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247 conftest$ac_exeext conftest.$ac_ext
53286248 LIBS=$ac_check_lib_save_LIBS
53296249 fi
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
5331 $as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
5332 if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
6250 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
6251 echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
6252 if test $ac_cv_lib_socket_gethostbyname = yes; then
53336253 cat >>confdefs.h <<_ACEOF
53346254 #define HAVE_LIBSOCKET 1
53356255 _ACEOF
53436263 fi
53446264 done
53456265
6266
53466267 for ac_func in setsockopt
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
6268 do
6269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 cat >conftest.$ac_ext <<_ACEOF
6276 /* confdefs.h. */
6277 _ACEOF
6278 cat confdefs.h >>conftest.$ac_ext
6279 cat >>conftest.$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6283 #define $ac_func innocuous_$ac_func
6284
6285 /* System header to define __stub macros and hopefully few prototypes,
6286 which can conflict with char $ac_func (); below.
6287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6288 <limits.h> exists even on freestanding compilers. */
6289
6290 #ifdef __STDC__
6291 # include <limits.h>
6292 #else
6293 # include <assert.h>
6294 #endif
6295
6296 #undef $ac_func
6297
6298 /* Override any GCC internal prototype to avoid an error.
6299 Use char because int might match the return type of a GCC
6300 builtin and then its argument prototype would still apply. */
6301 #ifdef __cplusplus
6302 extern "C"
6303 #endif
6304 char $ac_func ();
6305 /* The GNU C library defines this for functions which it implements
6306 to always fail with ENOSYS. Some functions are actually named
6307 something starting with __ and the normal name is an alias. */
6308 #if defined __stub_$ac_func || defined __stub___$ac_func
6309 choke me
6310 #endif
6311
6312 int
6313 main ()
6314 {
6315 return $ac_func ();
6316 ;
6317 return 0;
6318 }
6319 _ACEOF
6320 rm -f conftest.$ac_objext conftest$ac_exeext
6321 if { (ac_try="$ac_link"
6322 case "(($ac_try" in
6323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6324 *) ac_try_echo=$ac_try;;
6325 esac
6326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6327 (eval "$ac_link") 2>conftest.er1
6328 ac_status=$?
6329 grep -v '^ *+' conftest.er1 >conftest.err
6330 rm -f conftest.er1
6331 cat conftest.err >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } && {
6334 test -z "$ac_c_werror_flag" ||
6335 test ! -s conftest.err
6336 } && test -s conftest$ac_exeext &&
6337 $as_test_x conftest$ac_exeext; then
6338 eval "$as_ac_var=yes"
6339 else
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.$ac_ext >&5
6342
6343 eval "$as_ac_var=no"
6344 fi
6345
6346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6347 conftest$ac_exeext conftest.$ac_ext
6348 fi
6349 ac_res=`eval echo '${'$as_ac_var'}'`
6350 { echo "$as_me:$LINENO: result: $ac_res" >&5
6351 echo "${ECHO_T}$ac_res" >&6; }
6352 if test `eval echo '${'$as_ac_var'}'` = yes; then
53506353 cat >>confdefs.h <<_ACEOF
5351 #define HAVE_SETSOCKOPT 1
5352 _ACEOF
5353
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
5356 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
5357 if ${ac_cv_lib_socket_setsockopt+:} false; then :
5358 $as_echo_n "(cached) " >&6
6354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6355 _ACEOF
6356
6357 else
6358
6359 { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
6360 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
6361 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
53596363 else
53606364 ac_check_lib_save_LIBS=$LIBS
53616365 LIBS="-lsocket $LIBS"
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
53636371 /* end confdefs.h. */
53646372
53656373 /* Override any GCC internal prototype to avoid an error.
53776385 return 0;
53786386 }
53796387 _ACEOF
5380 if ac_fn_c_try_link "$LINENO"; then :
6388 rm -f conftest.$ac_objext conftest$ac_exeext
6389 if { (ac_try="$ac_link"
6390 case "(($ac_try" in
6391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6393 esac
6394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6395 (eval "$ac_link") 2>conftest.er1
6396 ac_status=$?
6397 grep -v '^ *+' conftest.er1 >conftest.err
6398 rm -f conftest.er1
6399 cat conftest.err >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } && {
6402 test -z "$ac_c_werror_flag" ||
6403 test ! -s conftest.err
6404 } && test -s conftest$ac_exeext &&
6405 $as_test_x conftest$ac_exeext; then
53816406 ac_cv_lib_socket_setsockopt=yes
53826407 else
5383 ac_cv_lib_socket_setsockopt=no
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext \
5386 conftest$ac_exeext conftest.$ac_ext
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6410
6411 ac_cv_lib_socket_setsockopt=no
6412 fi
6413
6414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6415 conftest$ac_exeext conftest.$ac_ext
53876416 LIBS=$ac_check_lib_save_LIBS
53886417 fi
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
5390 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
5391 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
6418 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
6419 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
6420 if test $ac_cv_lib_socket_setsockopt = yes; then
53926421 cat >>confdefs.h <<_ACEOF
53936422 #define HAVE_LIBSOCKET 1
53946423 _ACEOF
54016430 done
54026431
54036432
6433
6434
54046435 for ac_func in fpurge __fpurge
5405 do :
5406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6436 do
6437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 else
6443 cat >conftest.$ac_ext <<_ACEOF
6444 /* confdefs.h. */
6445 _ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6451 #define $ac_func innocuous_$ac_func
6452
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func (); below.
6455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 <limits.h> exists even on freestanding compilers. */
6457
6458 #ifdef __STDC__
6459 # include <limits.h>
6460 #else
6461 # include <assert.h>
6462 #endif
6463
6464 #undef $ac_func
6465
6466 /* Override any GCC internal prototype to avoid an error.
6467 Use char because int might match the return type of a GCC
6468 builtin and then its argument prototype would still apply. */
6469 #ifdef __cplusplus
6470 extern "C"
6471 #endif
6472 char $ac_func ();
6473 /* The GNU C library defines this for functions which it implements
6474 to always fail with ENOSYS. Some functions are actually named
6475 something starting with __ and the normal name is an alias. */
6476 #if defined __stub_$ac_func || defined __stub___$ac_func
6477 choke me
6478 #endif
6479
6480 int
6481 main ()
6482 {
6483 return $ac_func ();
6484 ;
6485 return 0;
6486 }
6487 _ACEOF
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6490 case "(($ac_try" in
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6493 esac
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 eval "$as_ac_var=yes"
6507 else
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6510
6511 eval "$as_ac_var=no"
6512 fi
6513
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6516 fi
6517 ac_res=`eval echo '${'$as_ac_var'}'`
6518 { echo "$as_me:$LINENO: result: $ac_res" >&5
6519 echo "${ECHO_T}$ac_res" >&6; }
6520 if test `eval echo '${'$as_ac_var'}'` = yes; then
54096521 cat >>confdefs.h <<_ACEOF
5410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54116523 _ACEOF
54126524
54136525 fi
54166528
54176529
54186530 # Checks for header files.
6531
6532
6533
6534
6535
54196536 ac_header_dirent=no
54206537 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5421 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5423 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5424 if eval \${$as_ac_Header+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6539 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6540 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
6541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 else
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
54286549 /* end confdefs.h. */
54296550 #include <sys/types.h>
54306551 #include <$ac_hdr>
54386559 return 0;
54396560 }
54406561 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"; then :
6562 rm -f conftest.$ac_objext
6563 if { (ac_try="$ac_compile"
6564 case "(($ac_try" in
6565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 *) ac_try_echo=$ac_try;;
6567 esac
6568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 (eval "$ac_compile") 2>conftest.er1
6570 ac_status=$?
6571 grep -v '^ *+' conftest.er1 >conftest.err
6572 rm -f conftest.er1
6573 cat conftest.err >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } && {
6576 test -z "$ac_c_werror_flag" ||
6577 test ! -s conftest.err
6578 } && test -s conftest.$ac_objext; then
54426579 eval "$as_ac_Header=yes"
54436580 else
5444 eval "$as_ac_Header=no"
5445 fi
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6583
6584 eval "$as_ac_Header=no"
6585 fi
6586
54466587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476588 fi
5448 eval ac_res=\$$as_ac_Header
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5450 $as_echo "$ac_res" >&6; }
5451 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6589 ac_res=`eval echo '${'$as_ac_Header'}'`
6590 { echo "$as_me:$LINENO: result: $ac_res" >&5
6591 echo "${ECHO_T}$ac_res" >&6; }
6592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54526593 cat >>confdefs.h <<_ACEOF
5453 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6594 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
54546595 _ACEOF
54556596
54566597 ac_header_dirent=$ac_hdr; break
54596600 done
54606601 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
54616602 if test $ac_header_dirent = dirent.h; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5463 $as_echo_n "checking for library containing opendir... " >&6; }
5464 if ${ac_cv_search_opendir+:} false; then :
5465 $as_echo_n "(cached) " >&6
6603 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6604 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6605 if test "${ac_cv_search_opendir+set}" = set; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
54666607 else
54676608 ac_func_search_save_LIBS=$LIBS
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
54696614 /* end confdefs.h. */
54706615
54716616 /* Override any GCC internal prototype to avoid an error.
54906635 ac_res=-l$ac_lib
54916636 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
54926637 fi
5493 if ac_fn_c_try_link "$LINENO"; then :
6638 rm -f conftest.$ac_objext conftest$ac_exeext
6639 if { (ac_try="$ac_link"
6640 case "(($ac_try" in
6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6642 *) ac_try_echo=$ac_try;;
6643 esac
6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6645 (eval "$ac_link") 2>conftest.er1
6646 ac_status=$?
6647 grep -v '^ *+' conftest.er1 >conftest.err
6648 rm -f conftest.er1
6649 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } && {
6652 test -z "$ac_c_werror_flag" ||
6653 test ! -s conftest.err
6654 } && test -s conftest$ac_exeext &&
6655 $as_test_x conftest$ac_exeext; then
54946656 ac_cv_search_opendir=$ac_res
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
6657 else
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6660
6661
6662 fi
6663
6664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6665 conftest$ac_exeext
6666 if test "${ac_cv_search_opendir+set}" = set; then
54996667 break
55006668 fi
55016669 done
5502 if ${ac_cv_search_opendir+:} false; then :
5503
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
55046672 else
55056673 ac_cv_search_opendir=no
55066674 fi
55076675 rm conftest.$ac_ext
55086676 LIBS=$ac_func_search_save_LIBS
55096677 fi
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55126680 ac_res=$ac_cv_search_opendir
5513 if test "$ac_res" != no; then :
6681 if test "$ac_res" != no; then
55146682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55156683
55166684 fi
55176685
55186686 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5520 $as_echo_n "checking for library containing opendir... " >&6; }
5521 if ${ac_cv_search_opendir+:} false; then :
5522 $as_echo_n "(cached) " >&6
6687 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6688 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6689 if test "${ac_cv_search_opendir+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
55236691 else
55246692 ac_func_search_save_LIBS=$LIBS
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
55266698 /* end confdefs.h. */
55276699
55286700 /* Override any GCC internal prototype to avoid an error.
55476719 ac_res=-l$ac_lib
55486720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
55496721 fi
5550 if ac_fn_c_try_link "$LINENO"; then :
6722 rm -f conftest.$ac_objext conftest$ac_exeext
6723 if { (ac_try="$ac_link"
6724 case "(($ac_try" in
6725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6727 esac
6728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6729 (eval "$ac_link") 2>conftest.er1
6730 ac_status=$?
6731 grep -v '^ *+' conftest.er1 >conftest.err
6732 rm -f conftest.er1
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } && {
6736 test -z "$ac_c_werror_flag" ||
6737 test ! -s conftest.err
6738 } && test -s conftest$ac_exeext &&
6739 $as_test_x conftest$ac_exeext; then
55516740 ac_cv_search_opendir=$ac_res
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
6741 else
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6744
6745
6746 fi
6747
6748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6749 conftest$ac_exeext
6750 if test "${ac_cv_search_opendir+set}" = set; then
55566751 break
55576752 fi
55586753 done
5559 if ${ac_cv_search_opendir+:} false; then :
5560
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
55616756 else
55626757 ac_cv_search_opendir=no
55636758 fi
55646759 rm conftest.$ac_ext
55656760 LIBS=$ac_func_search_save_LIBS
55666761 fi
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
55696764 ac_res=$ac_cv_search_opendir
5570 if test "$ac_res" != no; then :
6765 if test "$ac_res" != no; then
55716766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55726767
55736768 fi
55746769
55756770 fi
55766771
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5578 $as_echo_n "checking for ANSI C header files... " >&6; }
5579 if ${ac_cv_header_stdc+:} false; then :
5580 $as_echo_n "(cached) " >&6
5581 else
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6773 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6774 if test "${ac_cv_header_stdc+set}" = set; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 else
6777 cat >conftest.$ac_ext <<_ACEOF
6778 /* confdefs.h. */
6779 _ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
55836782 /* end confdefs.h. */
55846783 #include <stdlib.h>
55856784 #include <stdarg.h>
55946793 return 0;
55956794 }
55966795 _ACEOF
5597 if ac_fn_c_try_compile "$LINENO"; then :
6796 rm -f conftest.$ac_objext
6797 if { (ac_try="$ac_compile"
6798 case "(($ac_try" in
6799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6800 *) ac_try_echo=$ac_try;;
6801 esac
6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6803 (eval "$ac_compile") 2>conftest.er1
6804 ac_status=$?
6805 grep -v '^ *+' conftest.er1 >conftest.err
6806 rm -f conftest.er1
6807 cat conftest.err >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } && {
6810 test -z "$ac_c_werror_flag" ||
6811 test ! -s conftest.err
6812 } && test -s conftest.$ac_objext; then
55986813 ac_cv_header_stdc=yes
55996814 else
5600 ac_cv_header_stdc=no
5601 fi
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6817
6818 ac_cv_header_stdc=no
6819 fi
6820
56026821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56036822
56046823 if test $ac_cv_header_stdc = yes; then
56056824 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
56076830 /* end confdefs.h. */
56086831 #include <string.h>
56096832
56106833 _ACEOF
56116834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
56146837 else
56156838 ac_cv_header_stdc=no
56166839 fi
5617 rm -f conftest*
6840 rm -f -r conftest*
56186841
56196842 fi
56206843
56216844 if test $ac_cv_header_stdc = yes; then
56226845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
56246851 /* end confdefs.h. */
56256852 #include <stdlib.h>
56266853
56276854 _ACEOF
56286855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
56316858 else
56326859 ac_cv_header_stdc=no
56336860 fi
5634 rm -f conftest*
6861 rm -f -r conftest*
56356862
56366863 fi
56376864
56386865 if test $ac_cv_header_stdc = yes; then
56396866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5640 if test "$cross_compiling" = yes; then :
6867 if test "$cross_compiling" = yes; then
56416868 :
56426869 else
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
56446875 /* end confdefs.h. */
56456876 #include <ctype.h>
56466877 #include <stdlib.h>
56676898 return 0;
56686899 }
56696900 _ACEOF
5670 if ac_fn_c_try_run "$LINENO"; then :
5671
5672 else
5673 ac_cv_header_stdc=no
5674 fi
5675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5676 conftest.$ac_objext conftest.beam conftest.$ac_ext
5677 fi
5678
5679 fi
5680 fi
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5682 $as_echo "$ac_cv_header_stdc" >&6; }
6901 rm -f conftest$ac_exeext
6902 if { (ac_try="$ac_link"
6903 case "(($ac_try" in
6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905 *) ac_try_echo=$ac_try;;
6906 esac
6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6908 (eval "$ac_link") 2>&5
6909 ac_status=$?
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6912 { (case "(($ac_try" in
6913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6914 *) ac_try_echo=$ac_try;;
6915 esac
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_try") 2>&5
6918 ac_status=$?
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6921 :
6922 else
6923 echo "$as_me: program exited with status $ac_status" >&5
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6926
6927 ( exit $ac_status )
6928 ac_cv_header_stdc=no
6929 fi
6930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6931 fi
6932
6933
6934 fi
6935 fi
6936 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6937 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
56836938 if test $ac_cv_header_stdc = yes; then
56846939
5685 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
6940 cat >>confdefs.h <<\_ACEOF
6941 #define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
56886946
56896947 for ac_header in nameser8_compat.h
5690 do :
5691 ac_fn_c_check_header_mongrel "$LINENO" "nameser8_compat.h" "ac_cv_header_nameser8_compat_h" "$ac_includes_default"
5692 if test "x$ac_cv_header_nameser8_compat_h" = xyes; then :
6948 do
6949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 fi
6956 ac_res=`eval echo '${'$as_ac_Header'}'`
6957 { echo "$as_me:$LINENO: result: $ac_res" >&5
6958 echo "${ECHO_T}$ac_res" >&6; }
6959 else
6960 # Is the header compilable?
6961 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6963 cat >conftest.$ac_ext <<_ACEOF
6964 /* confdefs.h. */
6965 _ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 $ac_includes_default
6970 #include <$ac_header>
6971 _ACEOF
6972 rm -f conftest.$ac_objext
6973 if { (ac_try="$ac_compile"
6974 case "(($ac_try" in
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6977 esac
6978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6979 (eval "$ac_compile") 2>conftest.er1
6980 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && {
6986 test -z "$ac_c_werror_flag" ||
6987 test ! -s conftest.err
6988 } && test -s conftest.$ac_objext; then
6989 ac_header_compiler=yes
6990 else
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6993
6994 ac_header_compiler=no
6995 fi
6996
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6999 echo "${ECHO_T}$ac_header_compiler" >&6; }
7000
7001 # Is the header present?
7002 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7004 cat >conftest.$ac_ext <<_ACEOF
7005 /* confdefs.h. */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 #include <$ac_header>
7011 _ACEOF
7012 if { (ac_try="$ac_cpp conftest.$ac_ext"
7013 case "(($ac_try" in
7014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015 *) ac_try_echo=$ac_try;;
7016 esac
7017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7019 ac_status=$?
7020 grep -v '^ *+' conftest.er1 >conftest.err
7021 rm -f conftest.er1
7022 cat conftest.err >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } >/dev/null && {
7025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7026 test ! -s conftest.err
7027 }; then
7028 ac_header_preproc=yes
7029 else
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7032
7033 ac_header_preproc=no
7034 fi
7035
7036 rm -f conftest.err conftest.$ac_ext
7037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7038 echo "${ECHO_T}$ac_header_preproc" >&6; }
7039
7040 # So? What about this header?
7041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7042 yes:no: )
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7047 ac_header_preproc=yes
7048 ;;
7049 no:yes:* )
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7062 ( cat <<\_ASBOX
7063 ## ------------------------------------------ ##
7064 ## Report this to phaag@users.sourceforge.net ##
7065 ## ------------------------------------------ ##
7066 _ASBOX
7067 ) | sed "s/^/$as_me: WARNING: /" >&2
7068 ;;
7069 esac
7070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 else
7075 eval "$as_ac_Header=\$ac_header_preproc"
7076 fi
7077 ac_res=`eval echo '${'$as_ac_Header'}'`
7078 { echo "$as_me:$LINENO: result: $ac_res" >&5
7079 echo "${ECHO_T}$ac_res" >&6; }
7080
7081 fi
7082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56937083 cat >>confdefs.h <<_ACEOF
5694 #define HAVE_NAMESER8_COMPAT_H 1
7084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56957085 _ACEOF
56967086
56977087 fi
56987088
56997089 done
57007090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
57017103 for ac_header in arpa/inet.h fcntl.h netinet/in.h fts.h stdint.h stdlib.h stddef.h string.h sys/socket.h syslog.h unistd.h iso/limits_iso.h
5702 do :
5703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5704 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7104 do
7105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 fi
7112 ac_res=`eval echo '${'$as_ac_Header'}'`
7113 { echo "$as_me:$LINENO: result: $ac_res" >&5
7114 echo "${ECHO_T}$ac_res" >&6; }
7115 else
7116 # Is the header compilable?
7117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7119 cat >conftest.$ac_ext <<_ACEOF
7120 /* confdefs.h. */
7121 _ACEOF
7122 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 #include <$ac_header>
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (ac_try="$ac_compile"
7130 case "(($ac_try" in
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7133 esac
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 ac_header_compiler=yes
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7149
7150 ac_header_compiler=no
7151 fi
7152
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7155 echo "${ECHO_T}$ac_header_compiler" >&6; }
7156
7157 # Is the header present?
7158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <$ac_header>
7167 _ACEOF
7168 if { (ac_try="$ac_cpp conftest.$ac_ext"
7169 case "(($ac_try" in
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7172 esac
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7175 ac_status=$?
7176 grep -v '^ *+' conftest.er1 >conftest.err
7177 rm -f conftest.er1
7178 cat conftest.err >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } >/dev/null && {
7181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7182 test ! -s conftest.err
7183 }; then
7184 ac_header_preproc=yes
7185 else
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7188
7189 ac_header_preproc=no
7190 fi
7191
7192 rm -f conftest.err conftest.$ac_ext
7193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7194 echo "${ECHO_T}$ac_header_preproc" >&6; }
7195
7196 # So? What about this header?
7197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7198 yes:no: )
7199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7203 ac_header_preproc=yes
7204 ;;
7205 no:yes:* )
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7218 ( cat <<\_ASBOX
7219 ## ------------------------------------------ ##
7220 ## Report this to phaag@users.sourceforge.net ##
7221 ## ------------------------------------------ ##
7222 _ASBOX
7223 ) | sed "s/^/$as_me: WARNING: /" >&2
7224 ;;
7225 esac
7226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else
7231 eval "$as_ac_Header=\$ac_header_preproc"
7232 fi
7233 ac_res=`eval echo '${'$as_ac_Header'}'`
7234 { echo "$as_me:$LINENO: result: $ac_res" >&5
7235 echo "${ECHO_T}$ac_res" >&6; }
7236
7237 fi
7238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57067239 cat >>confdefs.h <<_ACEOF
5707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57087241 _ACEOF
57097242
57107243 fi
57127245 done
57137246
57147247
7248
7249
7250
7251
7252
57157253 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
5716 do :
5717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
7254 do
7255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 else
7261 cat >conftest.$ac_ext <<_ACEOF
7262 /* confdefs.h. */
7263 _ACEOF
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 #ifdef HAVE_SYS_TYPES_H
57197268 # include <sys/types.h>
57207269 #endif
57217270 #ifdef HAVE_NETINET_IN_H
57277276 #ifdef HAVE_NETDB_H
57287277 # include <netdb.h>
57297278 #endif
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7279
7280 #include <$ac_header>
7281 _ACEOF
7282 rm -f conftest.$ac_objext
7283 if { (ac_try="$ac_compile"
7284 case "(($ac_try" in
7285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7286 *) ac_try_echo=$ac_try;;
7287 esac
7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7289 (eval "$ac_compile") 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } && {
7296 test -z "$ac_c_werror_flag" ||
7297 test ! -s conftest.err
7298 } && test -s conftest.$ac_objext; then
7299 eval "$as_ac_Header=yes"
7300 else
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7303
7304 eval "$as_ac_Header=no"
7305 fi
7306
7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7308 fi
7309 ac_res=`eval echo '${'$as_ac_Header'}'`
7310 { echo "$as_me:$LINENO: result: $ac_res" >&5
7311 echo "${ECHO_T}$ac_res" >&6; }
7312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57327313 cat >>confdefs.h <<_ACEOF
5733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57347315 _ACEOF
57357316
57367317 fi
57467327
57477328
57487329 # Checks for typedefs, structures, and compiler characteristics.
7330 { echo "$as_me:$LINENO: checking for void *" >&5
7331 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
7332 if test "${ac_cv_type_void_p+set}" = set; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335 cat >conftest.$ac_ext <<_ACEOF
7336 /* confdefs.h. */
7337 _ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 $ac_includes_default
7342 typedef void * ac__type_new_;
7343 int
7344 main ()
7345 {
7346 if ((ac__type_new_ *) 0)
7347 return 0;
7348 if (sizeof (ac__type_new_))
7349 return 0;
7350 ;
7351 return 0;
7352 }
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (ac_try="$ac_compile"
7356 case "(($ac_try" in
7357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358 *) ac_try_echo=$ac_try;;
7359 esac
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_compile") 2>conftest.er1
7362 ac_status=$?
7363 grep -v '^ *+' conftest.er1 >conftest.err
7364 rm -f conftest.er1
7365 cat conftest.err >&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } && {
7368 test -z "$ac_c_werror_flag" ||
7369 test ! -s conftest.err
7370 } && test -s conftest.$ac_objext; then
7371 ac_cv_type_void_p=yes
7372 else
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7375
7376 ac_cv_type_void_p=no
7377 fi
7378
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7380 fi
7381 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7382 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
7383
57497384 # The cast to long int works around a bug in the HP C Compiler
57507385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57517386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57527387 # This bug is HP SR number 8606223364.
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5754 $as_echo_n "checking size of void *... " >&6; }
5755 if ${ac_cv_sizeof_void_p+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5759
5760 else
5761 if test "$ac_cv_type_void_p" = yes; then
5762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error 77 "cannot compute sizeof (void *)
5765 See \`config.log' for more details" "$LINENO" 5; }
7388 { echo "$as_me:$LINENO: checking size of void *" >&5
7389 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
7390 if test "${ac_cv_sizeof_void_p+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 else
7393 if test "$cross_compiling" = yes; then
7394 # Depending upon the size, compute the lo and hi bounds.
7395 cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h. */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 $ac_includes_default
7402 typedef void * ac__type_sizeof_;
7403 int
7404 main ()
7405 {
7406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7407 test_array [0] = 0
7408
7409 ;
7410 return 0;
7411 }
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (ac_try="$ac_compile"
7415 case "(($ac_try" in
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7418 esac
7419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7420 (eval "$ac_compile") 2>conftest.er1
7421 ac_status=$?
7422 grep -v '^ *+' conftest.er1 >conftest.err
7423 rm -f conftest.er1
7424 cat conftest.err >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } && {
7427 test -z "$ac_c_werror_flag" ||
7428 test ! -s conftest.err
7429 } && test -s conftest.$ac_objext; then
7430 ac_lo=0 ac_mid=0
7431 while :; do
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 $ac_includes_default
7439 typedef void * ac__type_sizeof_;
7440 int
7441 main ()
7442 {
7443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7444 test_array [0] = 0
7445
7446 ;
7447 return 0;
7448 }
7449 _ACEOF
7450 rm -f conftest.$ac_objext
7451 if { (ac_try="$ac_compile"
7452 case "(($ac_try" in
7453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7454 *) ac_try_echo=$ac_try;;
7455 esac
7456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7457 (eval "$ac_compile") 2>conftest.er1
7458 ac_status=$?
7459 grep -v '^ *+' conftest.er1 >conftest.err
7460 rm -f conftest.er1
7461 cat conftest.err >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } && {
7464 test -z "$ac_c_werror_flag" ||
7465 test ! -s conftest.err
7466 } && test -s conftest.$ac_objext; then
7467 ac_hi=$ac_mid; break
7468 else
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.$ac_ext >&5
7471
7472 ac_lo=`expr $ac_mid + 1`
7473 if test $ac_lo -le $ac_mid; then
7474 ac_lo= ac_hi=
7475 break
7476 fi
7477 ac_mid=`expr 2 '*' $ac_mid + 1`
7478 fi
7479
7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481 done
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7485
7486 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h. */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7492 $ac_includes_default
7493 typedef void * ac__type_sizeof_;
7494 int
7495 main ()
7496 {
7497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7498 test_array [0] = 0
7499
7500 ;
7501 return 0;
7502 }
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (ac_try="$ac_compile"
7506 case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7509 esac
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 ac_hi=-1 ac_mid=-1
7522 while :; do
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7529 $ac_includes_default
7530 typedef void * ac__type_sizeof_;
7531 int
7532 main ()
7533 {
7534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7535 test_array [0] = 0
7536
7537 ;
7538 return 0;
7539 }
7540 _ACEOF
7541 rm -f conftest.$ac_objext
7542 if { (ac_try="$ac_compile"
7543 case "(($ac_try" in
7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 *) ac_try_echo=$ac_try;;
7546 esac
7547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7548 (eval "$ac_compile") 2>conftest.er1
7549 ac_status=$?
7550 grep -v '^ *+' conftest.er1 >conftest.err
7551 rm -f conftest.er1
7552 cat conftest.err >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); } && {
7555 test -z "$ac_c_werror_flag" ||
7556 test ! -s conftest.err
7557 } && test -s conftest.$ac_objext; then
7558 ac_lo=$ac_mid; break
7559 else
7560 echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.$ac_ext >&5
7562
7563 ac_hi=`expr '(' $ac_mid ')' - 1`
7564 if test $ac_mid -le $ac_hi; then
7565 ac_lo= ac_hi=
7566 break
7567 fi
7568 ac_mid=`expr 2 '*' $ac_mid`
7569 fi
7570
7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7572 done
7573 else
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7576
7577 ac_lo= ac_hi=
7578 fi
7579
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7581 fi
7582
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584 # Binary search between lo and hi bounds.
7585 while test "x$ac_lo" != "x$ac_hi"; do
7586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7587 cat >conftest.$ac_ext <<_ACEOF
7588 /* confdefs.h. */
7589 _ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 $ac_includes_default
7594 typedef void * ac__type_sizeof_;
7595 int
7596 main ()
7597 {
7598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7599 test_array [0] = 0
7600
7601 ;
7602 return 0;
7603 }
7604 _ACEOF
7605 rm -f conftest.$ac_objext
7606 if { (ac_try="$ac_compile"
7607 case "(($ac_try" in
7608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7609 *) ac_try_echo=$ac_try;;
7610 esac
7611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7612 (eval "$ac_compile") 2>conftest.er1
7613 ac_status=$?
7614 grep -v '^ *+' conftest.er1 >conftest.err
7615 rm -f conftest.er1
7616 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && {
7619 test -z "$ac_c_werror_flag" ||
7620 test ! -s conftest.err
7621 } && test -s conftest.$ac_objext; then
7622 ac_hi=$ac_mid
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 ac_lo=`expr '(' $ac_mid ')' + 1`
7628 fi
7629
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 done
7632 case $ac_lo in
7633 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7634 '') if test "$ac_cv_type_void_p" = yes; then
7635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7636 See \`config.log' for more details." >&5
7637 echo "$as_me: error: cannot compute sizeof (void *)
7638 See \`config.log' for more details." >&2;}
7639 { (exit 77); exit 77; }; }
7640 else
7641 ac_cv_sizeof_void_p=0
7642 fi ;;
7643 esac
7644 else
7645 cat >conftest.$ac_ext <<_ACEOF
7646 /* confdefs.h. */
7647 _ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 $ac_includes_default
7652 typedef void * ac__type_sizeof_;
7653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7655 #include <stdio.h>
7656 #include <stdlib.h>
7657 int
7658 main ()
7659 {
7660
7661 FILE *f = fopen ("conftest.val", "w");
7662 if (! f)
7663 return 1;
7664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7665 {
7666 long int i = longval ();
7667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7668 return 1;
7669 fprintf (f, "%ld\n", i);
7670 }
7671 else
7672 {
7673 unsigned long int i = ulongval ();
7674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7675 return 1;
7676 fprintf (f, "%lu\n", i);
7677 }
7678 return ferror (f) || fclose (f) != 0;
7679
7680 ;
7681 return 0;
7682 }
7683 _ACEOF
7684 rm -f conftest$ac_exeext
7685 if { (ac_try="$ac_link"
7686 case "(($ac_try" in
7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 *) ac_try_echo=$ac_try;;
7689 esac
7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 (eval "$ac_link") 2>&5
7692 ac_status=$?
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7695 { (case "(($ac_try" in
7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697 *) ac_try_echo=$ac_try;;
7698 esac
7699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7700 (eval "$ac_try") 2>&5
7701 ac_status=$?
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); }; }; then
7704 ac_cv_sizeof_void_p=`cat conftest.val`
7705 else
7706 echo "$as_me: program exited with status $ac_status" >&5
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7709
7710 ( exit $ac_status )
7711 if test "$ac_cv_type_void_p" = yes; then
7712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
7713 See \`config.log' for more details." >&5
7714 echo "$as_me: error: cannot compute sizeof (void *)
7715 See \`config.log' for more details." >&2;}
7716 { (exit 77); exit 77; }; }
57667717 else
57677718 ac_cv_sizeof_void_p=0
57687719 fi
57697720 fi
5770
5771 fi
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5773 $as_echo "$ac_cv_sizeof_void_p" >&6; }
7721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7722 fi
7723 rm -f conftest.val
7724 fi
7725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7726 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
57747727
57757728
57767729
57807733
57817734
57827735
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5784 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5785 if ${ac_cv_c_const+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7738 if test "${ac_cv_c_const+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7740 else
7741 cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h. */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
57897746 /* end confdefs.h. */
57907747
57917748 int
58457802 return 0;
58467803 }
58477804 _ACEOF
5848 if ac_fn_c_try_compile "$LINENO"; then :
7805 rm -f conftest.$ac_objext
7806 if { (ac_try="$ac_compile"
7807 case "(($ac_try" in
7808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7809 *) ac_try_echo=$ac_try;;
7810 esac
7811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7812 (eval "$ac_compile") 2>conftest.er1
7813 ac_status=$?
7814 grep -v '^ *+' conftest.er1 >conftest.err
7815 rm -f conftest.er1
7816 cat conftest.err >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } && {
7819 test -z "$ac_c_werror_flag" ||
7820 test ! -s conftest.err
7821 } && test -s conftest.$ac_objext; then
58497822 ac_cv_c_const=yes
58507823 else
5851 ac_cv_c_const=no
5852 fi
7824 echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7826
7827 ac_cv_c_const=no
7828 fi
7829
58537830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547831 fi
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
58577834 if test $ac_cv_c_const = no; then
58587835
5859 $as_echo "#define const /**/" >>confdefs.h
5860
5861 fi
5862
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5864 $as_echo_n "checking for inline... " >&6; }
5865 if ${ac_cv_c_inline+:} false; then :
5866 $as_echo_n "(cached) " >&6
7836 cat >>confdefs.h <<\_ACEOF
7837 #define const
7838 _ACEOF
7839
7840 fi
7841
7842 { echo "$as_me:$LINENO: checking for inline" >&5
7843 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7844 if test "${ac_cv_c_inline+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
58677846 else
58687847 ac_cv_c_inline=no
58697848 for ac_kw in inline __inline__ __inline; do
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
58717854 /* end confdefs.h. */
58727855 #ifndef __cplusplus
58737856 typedef int foo_t;
58767859 #endif
58777860
58787861 _ACEOF
5879 if ac_fn_c_try_compile "$LINENO"; then :
7862 rm -f conftest.$ac_objext
7863 if { (ac_try="$ac_compile"
7864 case "(($ac_try" in
7865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7867 esac
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7870 ac_status=$?
7871 grep -v '^ *+' conftest.er1 >conftest.err
7872 rm -f conftest.er1
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest.$ac_objext; then
58807879 ac_cv_c_inline=$ac_kw
5881 fi
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
58827887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58837888 test "$ac_cv_c_inline" != no && break
58847889 done
58857890
58867891 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
58897895
58907896 case $ac_cv_c_inline in
58917897 inline | yes) ;;
59027908 ;;
59037909 esac
59047910
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5906 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5907 if ${ac_cv_c_bigendian+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 ac_cv_c_bigendian=unknown
5911 # See if we're dealing with a universal compiler.
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #ifndef __APPLE_CC__
5915 not a universal capable compiler
5916 #endif
5917 typedef int dummy;
5918
5919 _ACEOF
5920 if ac_fn_c_try_compile "$LINENO"; then :
5921
5922 # Check for potential -arch flags. It is not universal unless
5923 # there are at least two -arch flags with different values.
5924 ac_arch=
5925 ac_prev=
5926 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5927 if test -n "$ac_prev"; then
5928 case $ac_word in
5929 i?86 | x86_64 | ppc | ppc64)
5930 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5931 ac_arch=$ac_word
5932 else
5933 ac_cv_c_bigendian=universal
5934 break
5935 fi
5936 ;;
5937 esac
5938 ac_prev=
5939 elif test "x$ac_word" = "x-arch"; then
5940 ac_prev=arch
5941 fi
5942 done
5943 fi
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 if test $ac_cv_c_bigendian = unknown; then
5946 # See if sys/param.h defines the BYTE_ORDER macro.
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7912 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
7913 if test "${ac_cv_c_bigendian+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 else
7916 # See if sys/param.h defines the BYTE_ORDER macro.
7917 cat >conftest.$ac_ext <<_ACEOF
7918 /* confdefs.h. */
7919 _ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
59487922 /* end confdefs.h. */
59497923 #include <sys/types.h>
5950 #include <sys/param.h>
7924 #include <sys/param.h>
59517925
59527926 int
59537927 main ()
59547928 {
5955 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5956 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5957 && LITTLE_ENDIAN)
5958 bogus endian macros
5959 #endif
7929 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
7930 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
7931 bogus endian macros
7932 #endif
59607933
59617934 ;
59627935 return 0;
59637936 }
59647937 _ACEOF
5965 if ac_fn_c_try_compile "$LINENO"; then :
7938 rm -f conftest.$ac_objext
7939 if { (ac_try="$ac_compile"
7940 case "(($ac_try" in
7941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7942 *) ac_try_echo=$ac_try;;
7943 esac
7944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7945 (eval "$ac_compile") 2>conftest.er1
7946 ac_status=$?
7947 grep -v '^ *+' conftest.er1 >conftest.err
7948 rm -f conftest.er1
7949 cat conftest.err >&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } && {
7952 test -z "$ac_c_werror_flag" ||
7953 test ! -s conftest.err
7954 } && test -s conftest.$ac_objext; then
59667955 # It does; now see whether it defined to BIG_ENDIAN or not.
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
59687961 /* end confdefs.h. */
59697962 #include <sys/types.h>
5970 #include <sys/param.h>
7963 #include <sys/param.h>
59717964
59727965 int
59737966 main ()
59747967 {
59757968 #if BYTE_ORDER != BIG_ENDIAN
5976 not big endian
5977 #endif
7969 not big endian
7970 #endif
59787971
59797972 ;
59807973 return 0;
59817974 }
59827975 _ACEOF
5983 if ac_fn_c_try_compile "$LINENO"; then :
7976 rm -f conftest.$ac_objext
7977 if { (ac_try="$ac_compile"
7978 case "(($ac_try" in
7979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7980 *) ac_try_echo=$ac_try;;
7981 esac
7982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7983 (eval "$ac_compile") 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } && {
7990 test -z "$ac_c_werror_flag" ||
7991 test ! -s conftest.err
7992 } && test -s conftest.$ac_objext; then
59847993 ac_cv_c_bigendian=yes
59857994 else
5986 ac_cv_c_bigendian=no
5987 fi
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7997
7998 ac_cv_c_bigendian=no
7999 fi
8000
59888001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 fi
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5991 fi
5992 if test $ac_cv_c_bigendian = unknown; then
5993 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <limits.h>
5997
8002 else
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8005
8006 # It does not; compile a test program.
8007 if test "$cross_compiling" = yes; then
8008 # try to guess the endianness by grepping values into an object file
8009 ac_cv_c_bigendian=unknown
8010 cat >conftest.$ac_ext <<_ACEOF
8011 /* confdefs.h. */
8012 _ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8017 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8018 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8019 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8020 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8021 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
59988022 int
59998023 main ()
60008024 {
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
8025 _ascii (); _ebcdic ();
60058026 ;
60068027 return 0;
60078028 }
60088029 _ACEOF
6009 if ac_fn_c_try_compile "$LINENO"; then :
6010 # It does; now see whether it defined to _BIG_ENDIAN or not.
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6013 #include <limits.h>
6014
6015 int
6016 main ()
6017 {
6018 #ifndef _BIG_ENDIAN
6019 not big endian
6020 #endif
6021
6022 ;
6023 return 0;
6024 }
6025 _ACEOF
6026 if ac_fn_c_try_compile "$LINENO"; then :
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8032 case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035 esac
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8038 ac_status=$?
8039 grep -v '^ *+' conftest.er1 >conftest.err
8040 rm -f conftest.er1
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.$ac_objext; then
8047 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
60278048 ac_cv_c_bigendian=yes
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
8049 fi
8050 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8051 if test "$ac_cv_c_bigendian" = unknown; then
8052 ac_cv_c_bigendian=no
8053 else
8054 # finding both strings is unlikely to happen, but who knows?
8055 ac_cv_c_bigendian=unknown
8056 fi
8057 fi
8058 else
8059 echo "$as_me: failed program was:" >&5
8060 sed 's/^/| /' conftest.$ac_ext >&5
8061
8062
8063 fi
8064
60318065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6032 fi
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 fi
6035 if test $ac_cv_c_bigendian = unknown; then
6036 # Compile a test program.
6037 if test "$cross_compiling" = yes; then :
6038 # Try to guess by grepping values from an object file.
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 short int ascii_mm[] =
6042 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6043 short int ascii_ii[] =
6044 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6045 int use_ascii (int i) {
6046 return ascii_mm[i] + ascii_ii[i];
6047 }
6048 short int ebcdic_ii[] =
6049 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6050 short int ebcdic_mm[] =
6051 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6052 int use_ebcdic (int i) {
6053 return ebcdic_mm[i] + ebcdic_ii[i];
6054 }
6055 extern int foo;
6056
6057 int
6058 main ()
6059 {
6060 return use_ascii (foo) == use_ebcdic (foo);
6061 ;
6062 return 0;
6063 }
6064 _ACEOF
6065 if ac_fn_c_try_compile "$LINENO"; then :
6066 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6067 ac_cv_c_bigendian=yes
6068 fi
6069 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6070 if test "$ac_cv_c_bigendian" = unknown; then
6071 ac_cv_c_bigendian=no
6072 else
6073 # finding both strings is unlikely to happen, but who knows?
6074 ac_cv_c_bigendian=unknown
6075 fi
6076 fi
6077 fi
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6079 else
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 else
8067 cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h. */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
60818072 /* end confdefs.h. */
60828073 $ac_includes_default
60838074 int
60848075 main ()
60858076 {
60868077
6087 /* Are we little or big endian? From Harbison&Steele. */
6088 union
6089 {
6090 long int l;
6091 char c[sizeof (long int)];
6092 } u;
6093 u.l = 1;
6094 return u.c[sizeof (long int) - 1] == 1;
8078 /* Are we little or big endian? From Harbison&Steele. */
8079 union
8080 {
8081 long int l;
8082 char c[sizeof (long int)];
8083 } u;
8084 u.l = 1;
8085 return u.c[sizeof (long int) - 1] == 1;
60958086
60968087 ;
60978088 return 0;
60988089 }
60998090 _ACEOF
6100 if ac_fn_c_try_run "$LINENO"; then :
8091 rm -f conftest$ac_exeext
8092 if { (ac_try="$ac_link"
8093 case "(($ac_try" in
8094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8096 esac
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_link") 2>&5
8099 ac_status=$?
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8102 { (case "(($ac_try" in
8103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8104 *) ac_try_echo=$ac_try;;
8105 esac
8106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8107 (eval "$ac_try") 2>&5
8108 ac_status=$?
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
61018111 ac_cv_c_bigendian=no
61028112 else
6103 ac_cv_c_bigendian=yes
6104 fi
6105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6106 conftest.$ac_objext conftest.beam conftest.$ac_ext
6107 fi
6108
6109 fi
6110 fi
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6112 $as_echo "$ac_cv_c_bigendian" >&6; }
6113 case $ac_cv_c_bigendian in #(
6114 yes)
6115 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6116 ;; #(
6117 no)
6118 ;; #(
6119 universal)
6120
6121 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6122
6123 ;; #(
6124 *)
6125 as_fn_error $? "unknown endianness
6126 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6127 esac
6128
6129 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6130 if test "x$ac_cv_type_pid_t" = xyes; then :
6131
8113 echo "$as_me: program exited with status $ac_status" >&5
8114 echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8116
8117 ( exit $ac_status )
8118 ac_cv_c_bigendian=yes
8119 fi
8120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8121 fi
8122
8123
8124 fi
8125
8126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8127 fi
8128 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8129 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8130 case $ac_cv_c_bigendian in
8131 yes)
8132
8133 cat >>confdefs.h <<\_ACEOF
8134 #define WORDS_BIGENDIAN 1
8135 _ACEOF
8136 ;;
8137 no)
8138 ;;
8139 *)
8140 { { echo "$as_me:$LINENO: error: unknown endianness
8141 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8142 echo "$as_me: error: unknown endianness
8143 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8144 { (exit 1); exit 1; }; } ;;
8145 esac
8146
8147 { echo "$as_me:$LINENO: checking for pid_t" >&5
8148 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
8149 if test "${ac_cv_type_pid_t+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 else
8152 cat >conftest.$ac_ext <<_ACEOF
8153 /* confdefs.h. */
8154 _ACEOF
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
8160 int
8161 main ()
8162 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
8167 ;
8168 return 0;
8169 }
8170 _ACEOF
8171 rm -f conftest.$ac_objext
8172 if { (ac_try="$ac_compile"
8173 case "(($ac_try" in
8174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8175 *) ac_try_echo=$ac_try;;
8176 esac
8177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8178 (eval "$ac_compile") 2>conftest.er1
8179 ac_status=$?
8180 grep -v '^ *+' conftest.er1 >conftest.err
8181 rm -f conftest.er1
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && {
8185 test -z "$ac_c_werror_flag" ||
8186 test ! -s conftest.err
8187 } && test -s conftest.$ac_objext; then
8188 ac_cv_type_pid_t=yes
8189 else
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8192
8193 ac_cv_type_pid_t=no
8194 fi
8195
8196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8197 fi
8198 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8199 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
8200 if test $ac_cv_type_pid_t = yes; then
8201 :
61328202 else
61338203
61348204 cat >>confdefs.h <<_ACEOF
61378207
61388208 fi
61398209
6140 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6141 if test "x$ac_cv_type_size_t" = xyes; then :
6142
8210 { echo "$as_me:$LINENO: checking for size_t" >&5
8211 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
8212 if test "${ac_cv_type_size_t+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 else
8215 cat >conftest.$ac_ext <<_ACEOF
8216 /* confdefs.h. */
8217 _ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8221 $ac_includes_default
8222 typedef size_t ac__type_new_;
8223 int
8224 main ()
8225 {
8226 if ((ac__type_new_ *) 0)
8227 return 0;
8228 if (sizeof (ac__type_new_))
8229 return 0;
8230 ;
8231 return 0;
8232 }
8233 _ACEOF
8234 rm -f conftest.$ac_objext
8235 if { (ac_try="$ac_compile"
8236 case "(($ac_try" in
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8239 esac
8240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8241 (eval "$ac_compile") 2>conftest.er1
8242 ac_status=$?
8243 grep -v '^ *+' conftest.er1 >conftest.err
8244 rm -f conftest.er1
8245 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then
8251 ac_cv_type_size_t=yes
8252 else
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8255
8256 ac_cv_type_size_t=no
8257 fi
8258
8259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8260 fi
8261 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8262 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
8263 if test $ac_cv_type_size_t = yes; then
8264 :
61438265 else
61448266
61458267 cat >>confdefs.h <<_ACEOF
61488270
61498271 fi
61508272
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6152 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6153 if ${ac_cv_struct_tm+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8274 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8275 if test "${ac_cv_struct_tm+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 else
8278 cat >conftest.$ac_ext <<_ACEOF
8279 /* confdefs.h. */
8280 _ACEOF
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
61578283 /* end confdefs.h. */
61588284 #include <sys/types.h>
61598285 #include <time.h>
61638289 {
61648290 struct tm tm;
61658291 int *p = &tm.tm_sec;
6166 return !p;
8292 return !p;
61678293 ;
61688294 return 0;
61698295 }
61708296 _ACEOF
6171 if ac_fn_c_try_compile "$LINENO"; then :
8297 rm -f conftest.$ac_objext
8298 if { (ac_try="$ac_compile"
8299 case "(($ac_try" in
8300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8301 *) ac_try_echo=$ac_try;;
8302 esac
8303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8304 (eval "$ac_compile") 2>conftest.er1
8305 ac_status=$?
8306 grep -v '^ *+' conftest.er1 >conftest.err
8307 rm -f conftest.er1
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } && {
8311 test -z "$ac_c_werror_flag" ||
8312 test ! -s conftest.err
8313 } && test -s conftest.$ac_objext; then
61728314 ac_cv_struct_tm=time.h
61738315 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8318
8319 ac_cv_struct_tm=sys/time.h
8320 fi
8321
61768322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61778323 fi
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
61808326 if test $ac_cv_struct_tm = sys/time.h; then
61818327
6182 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6183
6184 fi
6185
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6187 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6188 if ${ac_cv_header_stdbool_h+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 cat >>confdefs.h <<\_ACEOF
8329 #define TM_IN_SYS_TIME 1
8330 _ACEOF
8331
8332 fi
8333
8334 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8335 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
8336 if test "${ac_cv_header_stdbool_h+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
61928344 /* end confdefs.h. */
61938345
61948346 #include <stdbool.h>
62178369 char b[false == 0 ? 1 : -1];
62188370 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
62198371 char d[(bool) 0.5 == true ? 1 : -1];
6220 /* See body of main program for 'e'. */
8372 bool e = &s;
62218373 char f[(_Bool) 0.0 == false ? 1 : -1];
62228374 char g[true];
62238375 char h[sizeof (_Bool)];
62248376 char i[sizeof s.t];
62258377 enum { j = false, k = true, l = false * true, m = true * 256 };
6226 /* The following fails for
6227 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
62288378 _Bool n[m];
62298379 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
62308380 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8381 # if defined __xlc__ || defined __GNUC__
8382 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8383 reported by James Lemley on 2005-10-05; see
8384 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8385 This test is not quite right, since xlc is allowed to
8386 reject this program, as the initializer for xlcbug is
8387 not one of the forms that C requires support for.
8388 However, doing the test right would require a runtime
8389 test, and that would make cross-compilation harder.
8390 Let us hope that IBM fixes the xlc bug, and also adds
8391 support for this kind of constant expression. In the
8392 meantime, this test will reject xlc, which is OK, since
8393 our stdbool.h substitute should suffice. We also test
8394 this with GCC, where it should work, to detect more
8395 quickly whether someone messes up the test in the
8396 future. */
8397 char digs[] = "0123456789";
8398 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8399 # endif
62318400 /* Catch a bug in an HP-UX C compiler. See
62328401 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
62338402 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
62398408 main ()
62408409 {
62418410
6242 bool e = &s;
62438411 *pq |= q;
62448412 *pq |= ! q;
62458413 /* Refer to every declared value, to avoid compiler optimizations. */
62508418 return 0;
62518419 }
62528420 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
8421 rm -f conftest.$ac_objext
8422 if { (ac_try="$ac_compile"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_compile") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest.$ac_objext; then
62548438 ac_cv_header_stdbool_h=yes
62558439 else
6256 ac_cv_header_stdbool_h=no
6257 fi
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8442
8443 ac_cv_header_stdbool_h=no
8444 fi
8445
62588446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62598447 fi
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6261 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6262 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6263 if test "x$ac_cv_type__Bool" = xyes; then :
8448 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8449 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
8450 { echo "$as_me:$LINENO: checking for _Bool" >&5
8451 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
8452 if test "${ac_cv_type__Bool+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 else
8455 cat >conftest.$ac_ext <<_ACEOF
8456 /* confdefs.h. */
8457 _ACEOF
8458 cat confdefs.h >>conftest.$ac_ext
8459 cat >>conftest.$ac_ext <<_ACEOF
8460 /* end confdefs.h. */
8461 $ac_includes_default
8462 typedef _Bool ac__type_new_;
8463 int
8464 main ()
8465 {
8466 if ((ac__type_new_ *) 0)
8467 return 0;
8468 if (sizeof (ac__type_new_))
8469 return 0;
8470 ;
8471 return 0;
8472 }
8473 _ACEOF
8474 rm -f conftest.$ac_objext
8475 if { (ac_try="$ac_compile"
8476 case "(($ac_try" in
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8479 esac
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_compile") 2>conftest.er1
8482 ac_status=$?
8483 grep -v '^ *+' conftest.er1 >conftest.err
8484 rm -f conftest.er1
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } && {
8488 test -z "$ac_c_werror_flag" ||
8489 test ! -s conftest.err
8490 } && test -s conftest.$ac_objext; then
8491 ac_cv_type__Bool=yes
8492 else
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8495
8496 ac_cv_type__Bool=no
8497 fi
8498
8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8500 fi
8501 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8502 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
8503 if test $ac_cv_type__Bool = yes; then
62648504
62658505 cat >>confdefs.h <<_ACEOF
62668506 #define HAVE__BOOL 1
62718511
62728512 if test $ac_cv_header_stdbool_h = yes; then
62738513
6274 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
8514 cat >>confdefs.h <<\_ACEOF
8515 #define HAVE_STDBOOL_H 1
8516 _ACEOF
62758517
62768518 fi
62778519
62788520
62798521 # Checks for library functions.
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
6281 $as_echo_n "checking whether closedir returns void... " >&6; }
6282 if ${ac_cv_func_closedir_void+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test "$cross_compiling" = yes; then :
8522 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8523 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8524 if test "${ac_cv_func_closedir_void+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 else
8527 if test "$cross_compiling" = yes; then
62868528 ac_cv_func_closedir_void=yes
62878529 else
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
62898535 /* end confdefs.h. */
62908536 $ac_includes_default
62918537 #include <$ac_header_dirent>
63018547 return 0;
63028548 }
63038549 _ACEOF
6304 if ac_fn_c_try_run "$LINENO"; then :
8550 rm -f conftest$ac_exeext
8551 if { (ac_try="$ac_link"
8552 case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8555 esac
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_link") 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8561 { (case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
63058570 ac_cv_func_closedir_void=no
63068571 else
6307 ac_cv_func_closedir_void=yes
6308 fi
6309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6310 conftest.$ac_objext conftest.beam conftest.$ac_ext
6311 fi
6312
6313 fi
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
6315 $as_echo "$ac_cv_func_closedir_void" >&6; }
8572 echo "$as_me: program exited with status $ac_status" >&5
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8575
8576 ( exit $ac_status )
8577 ac_cv_func_closedir_void=yes
8578 fi
8579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8580 fi
8581
8582
8583 fi
8584 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8585 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
63168586 if test $ac_cv_func_closedir_void = yes; then
63178587
6318 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
8588 cat >>confdefs.h <<\_ACEOF
8589 #define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
63218594
63228595 for ac_header in vfork.h
6323 do :
6324 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
6325 if test "x$ac_cv_header_vfork_h" = xyes; then :
8596 do
8597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 fi
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8607 else
8608 # Is the header compilable?
8609 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8611 cat >conftest.$ac_ext <<_ACEOF
8612 /* confdefs.h. */
8613 _ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8617 $ac_includes_default
8618 #include <$ac_header>
8619 _ACEOF
8620 rm -f conftest.$ac_objext
8621 if { (ac_try="$ac_compile"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_compile") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest.$ac_objext; then
8637 ac_header_compiler=yes
8638 else
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8641
8642 ac_header_compiler=no
8643 fi
8644
8645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8647 echo "${ECHO_T}$ac_header_compiler" >&6; }
8648
8649 # Is the header present?
8650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 #include <$ac_header>
8659 _ACEOF
8660 if { (ac_try="$ac_cpp conftest.$ac_ext"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } >/dev/null && {
8673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 }; then
8676 ac_header_preproc=yes
8677 else
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8680
8681 ac_header_preproc=no
8682 fi
8683
8684 rm -f conftest.err conftest.$ac_ext
8685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8686 echo "${ECHO_T}$ac_header_preproc" >&6; }
8687
8688 # So? What about this header?
8689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8690 yes:no: )
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8695 ac_header_preproc=yes
8696 ;;
8697 no:yes:* )
8698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8710 ( cat <<\_ASBOX
8711 ## ------------------------------------------ ##
8712 ## Report this to phaag@users.sourceforge.net ##
8713 ## ------------------------------------------ ##
8714 _ASBOX
8715 ) | sed "s/^/$as_me: WARNING: /" >&2
8716 ;;
8717 esac
8718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 else
8723 eval "$as_ac_Header=\$ac_header_preproc"
8724 fi
8725 ac_res=`eval echo '${'$as_ac_Header'}'`
8726 { echo "$as_me:$LINENO: result: $ac_res" >&5
8727 echo "${ECHO_T}$ac_res" >&6; }
8728
8729 fi
8730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63268731 cat >>confdefs.h <<_ACEOF
6327 #define HAVE_VFORK_H 1
8732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63288733 _ACEOF
63298734
63308735 fi
63318736
63328737 done
63338738
8739
8740
63348741 for ac_func in fork vfork
6335 do :
6336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8742 do
8743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749 cat >conftest.$ac_ext <<_ACEOF
8750 /* confdefs.h. */
8751 _ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8757 #define $ac_func innocuous_$ac_func
8758
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func (); below.
8761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762 <limits.h> exists even on freestanding compilers. */
8763
8764 #ifdef __STDC__
8765 # include <limits.h>
8766 #else
8767 # include <assert.h>
8768 #endif
8769
8770 #undef $ac_func
8771
8772 /* Override any GCC internal prototype to avoid an error.
8773 Use char because int might match the return type of a GCC
8774 builtin and then its argument prototype would still apply. */
8775 #ifdef __cplusplus
8776 extern "C"
8777 #endif
8778 char $ac_func ();
8779 /* The GNU C library defines this for functions which it implements
8780 to always fail with ENOSYS. Some functions are actually named
8781 something starting with __ and the normal name is an alias. */
8782 #if defined __stub_$ac_func || defined __stub___$ac_func
8783 choke me
8784 #endif
8785
8786 int
8787 main ()
8788 {
8789 return $ac_func ();
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8796 case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8802 ac_status=$?
8803 grep -v '^ *+' conftest.er1 >conftest.err
8804 rm -f conftest.er1
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 eval "$as_ac_var=yes"
8813 else
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8816
8817 eval "$as_ac_var=no"
8818 fi
8819
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 fi
8823 ac_res=`eval echo '${'$as_ac_var'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8826 if test `eval echo '${'$as_ac_var'}'` = yes; then
63398827 cat >>confdefs.h <<_ACEOF
6340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63418829 _ACEOF
63428830
63438831 fi
63448832 done
63458833
63468834 if test "x$ac_cv_func_fork" = xyes; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
6348 $as_echo_n "checking for working fork... " >&6; }
6349 if ${ac_cv_func_fork_works+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test "$cross_compiling" = yes; then :
8835 { echo "$as_me:$LINENO: checking for working fork" >&5
8836 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
8837 if test "${ac_cv_func_fork_works+set}" = set; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test "$cross_compiling" = yes; then
63538841 ac_cv_func_fork_works=cross
63548842 else
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
63568848 /* end confdefs.h. */
63578849 $ac_includes_default
63588850 int
63668858 return 0;
63678859 }
63688860 _ACEOF
6369 if ac_fn_c_try_run "$LINENO"; then :
8861 rm -f conftest$ac_exeext
8862 if { (ac_try="$ac_link"
8863 case "(($ac_try" in
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8866 esac
8867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8868 (eval "$ac_link") 2>&5
8869 ac_status=$?
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8872 { (case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_try") 2>&5
8878 ac_status=$?
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
63708881 ac_cv_func_fork_works=yes
63718882 else
6372 ac_cv_func_fork_works=no
6373 fi
6374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6375 conftest.$ac_objext conftest.beam conftest.$ac_ext
6376 fi
6377
6378 fi
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
6380 $as_echo "$ac_cv_func_fork_works" >&6; }
8883 echo "$as_me: program exited with status $ac_status" >&5
8884 echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.$ac_ext >&5
8886
8887 ( exit $ac_status )
8888 ac_cv_func_fork_works=no
8889 fi
8890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8891 fi
8892
8893
8894 fi
8895 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8896 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
63818897
63828898 else
63838899 ac_cv_func_fork_works=$ac_cv_func_fork
63928908 ac_cv_func_fork_works=yes
63938909 ;;
63948910 esac
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6396 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8911 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8912 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
63978913 fi
63988914 ac_cv_func_vfork_works=$ac_cv_func_vfork
63998915 if test "x$ac_cv_func_vfork" = xyes; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
6401 $as_echo_n "checking for working vfork... " >&6; }
6402 if ${ac_cv_func_vfork_works+:} false; then :
6403 $as_echo_n "(cached) " >&6
6404 else
6405 if test "$cross_compiling" = yes; then :
8916 { echo "$as_me:$LINENO: checking for working vfork" >&5
8917 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
8918 if test "${ac_cv_func_vfork_works+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 else
8921 if test "$cross_compiling" = yes; then
64068922 ac_cv_func_vfork_works=cross
64078923 else
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
64098929 /* end confdefs.h. */
64108930 /* Thanks to Paul Eggert for this test. */
64118931 $ac_includes_default
64979017 }
64989018 }
64999019 _ACEOF
6500 if ac_fn_c_try_run "$LINENO"; then :
9020 rm -f conftest$ac_exeext
9021 if { (ac_try="$ac_link"
9022 case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9025 esac
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9031 { (case "(($ac_try" in
9032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9033 *) ac_try_echo=$ac_try;;
9034 esac
9035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9036 (eval "$ac_try") 2>&5
9037 ac_status=$?
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; }; then
65019040 ac_cv_func_vfork_works=yes
65029041 else
6503 ac_cv_func_vfork_works=no
6504 fi
6505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6506 conftest.$ac_objext conftest.beam conftest.$ac_ext
6507 fi
6508
6509 fi
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
6511 $as_echo "$ac_cv_func_vfork_works" >&6; }
9042 echo "$as_me: program exited with status $ac_status" >&5
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9045
9046 ( exit $ac_status )
9047 ac_cv_func_vfork_works=no
9048 fi
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9050 fi
9051
9052
9053 fi
9054 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9055 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
65129056
65139057 fi;
65149058 if test "x$ac_cv_func_fork_works" = xcross; then
65159059 ac_cv_func_vfork_works=$ac_cv_func_vfork
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6517 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9061 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
65189062 fi
65199063
65209064 if test "x$ac_cv_func_vfork_works" = xyes; then
65219065
6522 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
6523
6524 else
6525
6526 $as_echo "#define vfork fork" >>confdefs.h
9066 cat >>confdefs.h <<\_ACEOF
9067 #define HAVE_WORKING_VFORK 1
9068 _ACEOF
9069
9070 else
9071
9072 cat >>confdefs.h <<\_ACEOF
9073 #define vfork fork
9074 _ACEOF
65279075
65289076 fi
65299077 if test "x$ac_cv_func_fork_works" = xyes; then
65309078
6531 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
9079 cat >>confdefs.h <<\_ACEOF
9080 #define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
65349085
65359086 for ac_header in stdlib.h
6536 do :
6537 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6538 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9087 do
9088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 fi
9095 ac_res=`eval echo '${'$as_ac_Header'}'`
9096 { echo "$as_me:$LINENO: result: $ac_res" >&5
9097 echo "${ECHO_T}$ac_res" >&6; }
9098 else
9099 # Is the header compilable?
9100 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 $ac_includes_default
9109 #include <$ac_header>
9110 _ACEOF
9111 rm -f conftest.$ac_objext
9112 if { (ac_try="$ac_compile"
9113 case "(($ac_try" in
9114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9115 *) ac_try_echo=$ac_try;;
9116 esac
9117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9118 (eval "$ac_compile") 2>conftest.er1
9119 ac_status=$?
9120 grep -v '^ *+' conftest.er1 >conftest.err
9121 rm -f conftest.er1
9122 cat conftest.err >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); } && {
9125 test -z "$ac_c_werror_flag" ||
9126 test ! -s conftest.err
9127 } && test -s conftest.$ac_objext; then
9128 ac_header_compiler=yes
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9132
9133 ac_header_compiler=no
9134 fi
9135
9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9138 echo "${ECHO_T}$ac_header_compiler" >&6; }
9139
9140 # Is the header present?
9141 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9143 cat >conftest.$ac_ext <<_ACEOF
9144 /* confdefs.h. */
9145 _ACEOF
9146 cat confdefs.h >>conftest.$ac_ext
9147 cat >>conftest.$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9149 #include <$ac_header>
9150 _ACEOF
9151 if { (ac_try="$ac_cpp conftest.$ac_ext"
9152 case "(($ac_try" in
9153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9155 esac
9156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9158 ac_status=$?
9159 grep -v '^ *+' conftest.er1 >conftest.err
9160 rm -f conftest.er1
9161 cat conftest.err >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); } >/dev/null && {
9164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9165 test ! -s conftest.err
9166 }; then
9167 ac_header_preproc=yes
9168 else
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9171
9172 ac_header_preproc=no
9173 fi
9174
9175 rm -f conftest.err conftest.$ac_ext
9176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9177 echo "${ECHO_T}$ac_header_preproc" >&6; }
9178
9179 # So? What about this header?
9180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9181 yes:no: )
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9186 ac_header_preproc=yes
9187 ;;
9188 no:yes:* )
9189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9201 ( cat <<\_ASBOX
9202 ## ------------------------------------------ ##
9203 ## Report this to phaag@users.sourceforge.net ##
9204 ## ------------------------------------------ ##
9205 _ASBOX
9206 ) | sed "s/^/$as_me: WARNING: /" >&2
9207 ;;
9208 esac
9209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 else
9214 eval "$as_ac_Header=\$ac_header_preproc"
9215 fi
9216 ac_res=`eval echo '${'$as_ac_Header'}'`
9217 { echo "$as_me:$LINENO: result: $ac_res" >&5
9218 echo "${ECHO_T}$ac_res" >&6; }
9219
9220 fi
9221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65399222 cat >>confdefs.h <<_ACEOF
6540 #define HAVE_STDLIB_H 1
9223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65419224 _ACEOF
65429225
65439226 fi
65449227
65459228 done
65469229
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6548 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6549 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test "$cross_compiling" = yes; then :
9230 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9231 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
9232 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 if test "$cross_compiling" = yes; then
65539236 ac_cv_func_malloc_0_nonnull=no
65549237 else
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
65569243 /* end confdefs.h. */
65579244 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
65589245 # include <stdlib.h>
65689255 return 0;
65699256 }
65709257 _ACEOF
6571 if ac_fn_c_try_run "$LINENO"; then :
9258 rm -f conftest$ac_exeext
9259 if { (ac_try="$ac_link"
9260 case "(($ac_try" in
9261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;;
9263 esac
9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 (eval "$ac_link") 2>&5
9266 ac_status=$?
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9269 { (case "(($ac_try" in
9270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271 *) ac_try_echo=$ac_try;;
9272 esac
9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_try") 2>&5
9275 ac_status=$?
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; }; then
65729278 ac_cv_func_malloc_0_nonnull=yes
65739279 else
6574 ac_cv_func_malloc_0_nonnull=no
6575 fi
6576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6577 conftest.$ac_objext conftest.beam conftest.$ac_ext
6578 fi
6579
6580 fi
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6582 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6583 if test $ac_cv_func_malloc_0_nonnull = yes; then :
6584
6585 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6586
6587 else
6588 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
9280 echo "$as_me: program exited with status $ac_status" >&5
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9283
9284 ( exit $ac_status )
9285 ac_cv_func_malloc_0_nonnull=no
9286 fi
9287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9288 fi
9289
9290
9291 fi
9292 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9293 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
9294 if test $ac_cv_func_malloc_0_nonnull = yes; then
9295
9296 cat >>confdefs.h <<\_ACEOF
9297 #define HAVE_MALLOC 1
9298 _ACEOF
9299
9300 else
9301 cat >>confdefs.h <<\_ACEOF
9302 #define HAVE_MALLOC 0
9303 _ACEOF
65899304
65909305 case " $LIBOBJS " in
65919306 *" malloc.$ac_objext "* ) ;;
65949309 esac
65959310
65969311
6597 $as_echo "#define malloc rpl_malloc" >>confdefs.h
6598
6599 fi
6600
6601
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6603 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6604 if ${ac_cv_header_time+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 cat >>confdefs.h <<\_ACEOF
9313 #define malloc rpl_malloc
9314 _ACEOF
9315
9316 fi
9317
9318
9319
9320 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9321 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
9322 if test "${ac_cv_header_time+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 cat >conftest.$ac_ext <<_ACEOF
9326 /* confdefs.h. */
9327 _ACEOF
9328 cat confdefs.h >>conftest.$ac_ext
9329 cat >>conftest.$ac_ext <<_ACEOF
66089330 /* end confdefs.h. */
66099331 #include <sys/types.h>
66109332 #include <sys/time.h>
66199341 return 0;
66209342 }
66219343 _ACEOF
6622 if ac_fn_c_try_compile "$LINENO"; then :
9344 rm -f conftest.$ac_objext
9345 if { (ac_try="$ac_compile"
9346 case "(($ac_try" in
9347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9348 *) ac_try_echo=$ac_try;;
9349 esac
9350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9351 (eval "$ac_compile") 2>conftest.er1
9352 ac_status=$?
9353 grep -v '^ *+' conftest.er1 >conftest.err
9354 rm -f conftest.er1
9355 cat conftest.err >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); } && {
9358 test -z "$ac_c_werror_flag" ||
9359 test ! -s conftest.err
9360 } && test -s conftest.$ac_objext; then
66239361 ac_cv_header_time=yes
66249362 else
6625 ac_cv_header_time=no
6626 fi
9363 echo "$as_me: failed program was:" >&5
9364 sed 's/^/| /' conftest.$ac_ext >&5
9365
9366 ac_cv_header_time=no
9367 fi
9368
66279369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66289370 fi
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
66319373 if test $ac_cv_header_time = yes; then
66329374
6633 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6634
6635 fi
6636
6637
6638
6639
6640 for ac_header in $ac_header_list
6641 do :
6642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6644 "
6645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9375 cat >>confdefs.h <<\_ACEOF
9376 #define TIME_WITH_SYS_TIME 1
9377 _ACEOF
9378
9379 fi
9380
9381
9382
9383
9384
9385 for ac_header in $ac_header_list
9386 do
9387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 fi
9394 ac_res=`eval echo '${'$as_ac_Header'}'`
9395 { echo "$as_me:$LINENO: result: $ac_res" >&5
9396 echo "${ECHO_T}$ac_res" >&6; }
9397 else
9398 # Is the header compilable?
9399 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9401 cat >conftest.$ac_ext <<_ACEOF
9402 /* confdefs.h. */
9403 _ACEOF
9404 cat confdefs.h >>conftest.$ac_ext
9405 cat >>conftest.$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9407 $ac_includes_default
9408 #include <$ac_header>
9409 _ACEOF
9410 rm -f conftest.$ac_objext
9411 if { (ac_try="$ac_compile"
9412 case "(($ac_try" in
9413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9414 *) ac_try_echo=$ac_try;;
9415 esac
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_compile") 2>conftest.er1
9418 ac_status=$?
9419 grep -v '^ *+' conftest.er1 >conftest.err
9420 rm -f conftest.er1
9421 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } && {
9424 test -z "$ac_c_werror_flag" ||
9425 test ! -s conftest.err
9426 } && test -s conftest.$ac_objext; then
9427 ac_header_compiler=yes
9428 else
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9431
9432 ac_header_compiler=no
9433 fi
9434
9435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9437 echo "${ECHO_T}$ac_header_compiler" >&6; }
9438
9439 # Is the header present?
9440 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9442 cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h. */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 #include <$ac_header>
9449 _ACEOF
9450 if { (ac_try="$ac_cpp conftest.$ac_ext"
9451 case "(($ac_try" in
9452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9453 *) ac_try_echo=$ac_try;;
9454 esac
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9457 ac_status=$?
9458 grep -v '^ *+' conftest.er1 >conftest.err
9459 rm -f conftest.er1
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } >/dev/null && {
9463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 }; then
9466 ac_header_preproc=yes
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9470
9471 ac_header_preproc=no
9472 fi
9473
9474 rm -f conftest.err conftest.$ac_ext
9475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9476 echo "${ECHO_T}$ac_header_preproc" >&6; }
9477
9478 # So? What about this header?
9479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9480 yes:no: )
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9485 ac_header_preproc=yes
9486 ;;
9487 no:yes:* )
9488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9500 ( cat <<\_ASBOX
9501 ## ------------------------------------------ ##
9502 ## Report this to phaag@users.sourceforge.net ##
9503 ## ------------------------------------------ ##
9504 _ASBOX
9505 ) | sed "s/^/$as_me: WARNING: /" >&2
9506 ;;
9507 esac
9508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9513 eval "$as_ac_Header=\$ac_header_preproc"
9514 fi
9515 ac_res=`eval echo '${'$as_ac_Header'}'`
9516 { echo "$as_me:$LINENO: result: $ac_res" >&5
9517 echo "${ECHO_T}$ac_res" >&6; }
9518
9519 fi
9520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66469521 cat >>confdefs.h <<_ACEOF
6647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66489523 _ACEOF
66499524
66509525 fi
66589533
66599534
66609535
6661 for ac_func in $ac_func_list
6662 do :
6663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9536
9537 for ac_func in $ac_func_list
9538 do
9539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 else
9545 cat >conftest.$ac_ext <<_ACEOF
9546 /* confdefs.h. */
9547 _ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9553 #define $ac_func innocuous_$ac_func
9554
9555 /* System header to define __stub macros and hopefully few prototypes,
9556 which can conflict with char $ac_func (); below.
9557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9558 <limits.h> exists even on freestanding compilers. */
9559
9560 #ifdef __STDC__
9561 # include <limits.h>
9562 #else
9563 # include <assert.h>
9564 #endif
9565
9566 #undef $ac_func
9567
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char $ac_func ();
9575 /* The GNU C library defines this for functions which it implements
9576 to always fail with ENOSYS. Some functions are actually named
9577 something starting with __ and the normal name is an alias. */
9578 #if defined __stub_$ac_func || defined __stub___$ac_func
9579 choke me
9580 #endif
9581
9582 int
9583 main ()
9584 {
9585 return $ac_func ();
9586 ;
9587 return 0;
9588 }
9589 _ACEOF
9590 rm -f conftest.$ac_objext conftest$ac_exeext
9591 if { (ac_try="$ac_link"
9592 case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9595 esac
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_link") 2>conftest.er1
9598 ac_status=$?
9599 grep -v '^ *+' conftest.er1 >conftest.err
9600 rm -f conftest.er1
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest$ac_exeext &&
9607 $as_test_x conftest$ac_exeext; then
9608 eval "$as_ac_var=yes"
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9612
9613 eval "$as_ac_var=no"
9614 fi
9615
9616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9617 conftest$ac_exeext conftest.$ac_ext
9618 fi
9619 ac_res=`eval echo '${'$as_ac_var'}'`
9620 { echo "$as_me:$LINENO: result: $ac_res" >&5
9621 echo "${ECHO_T}$ac_res" >&6; }
9622 if test `eval echo '${'$as_ac_var'}'` = yes; then
66669623 cat >>confdefs.h <<_ACEOF
6667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66689625 _ACEOF
66699626
66709627 fi
66749631
66759632
66769633
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
6678 $as_echo_n "checking for working mktime... " >&6; }
6679 if ${ac_cv_func_working_mktime+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test "$cross_compiling" = yes; then :
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646 { echo "$as_me:$LINENO: checking for working mktime" >&5
9647 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
9648 if test "${ac_cv_func_working_mktime+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651 if test "$cross_compiling" = yes; then
66839652 ac_cv_func_working_mktime=no
66849653 else
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
66869659 /* end confdefs.h. */
66879660 /* Test program from Paul Eggert and Tony Leneis. */
66889661 #ifdef TIME_WITH_SYS_TIME
66969669 # endif
66979670 #endif
66989671
6699 #include <limits.h>
67009672 #include <stdlib.h>
67019673
67029674 #ifdef HAVE_UNISTD_H
67149686 static time_t time_t_min;
67159687
67169688 /* Values we'll use to set the TZ environment variable. */
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
67199691 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
67209692 };
67219693 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
67329704 instead of "TZ=America/Vancouver" in order to detect the bug even
67339705 on systems that don't support the Olson extension, or don't have the
67349706 full zoneinfo tables installed. */
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
67369708
67379709 tm.tm_year = 98;
67389710 tm.tm_mon = 3;
67459717 }
67469718
67479719 static int
6748 mktime_test1 (time_t now)
9720 mktime_test1 (now)
9721 time_t now;
67499722 {
67509723 struct tm *lt;
67519724 return ! (lt = localtime (&now)) || mktime (lt) == now;
67529725 }
67539726
67549727 static int
6755 mktime_test (time_t now)
9728 mktime_test (now)
9729 time_t now;
67569730 {
67579731 return (mktime_test1 (now)
67589732 && mktime_test1 ((time_t) (time_t_max - now))
67769750 }
67779751
67789752 static int
6779 bigtime_test (int j)
9753 bigtime_test (j)
9754 int j;
67809755 {
67819756 struct tm tm;
67829757 time_t now;
68209795 instead of "TZ=America/Vancouver" in order to detect the bug even
68219796 on systems that don't support the Olson extension, or don't have the
68229797 full zoneinfo tables installed. */
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
68249799
68259800 t = mktime (&tm);
68269801
68429817 isn't worth using anyway. */
68439818 alarm (60);
68449819
6845 for (;;)
6846 {
6847 t = (time_t_max << 1) + 1;
6848 if (t <= time_t_max)
6849 break;
6850 time_t_max = t;
6851 }
6852 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
6853
9820 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
9821 continue;
9822 time_t_max--;
9823 if ((time_t) -1 < 0)
9824 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
9825 continue;
68549826 delta = time_t_max / 997; /* a suitable prime number */
68559827 for (i = 0; i < N_STRINGS; i++)
68569828 {
68579829 if (tz_strings[i])
6858 putenv ((char*) tz_strings[i]);
9830 putenv (tz_strings[i]);
68599831
68609832 for (t = 0; t <= time_t_max - delta; t += delta)
68619833 if (! mktime_test (t))
68659837 && mktime_test ((time_t) (60 * 60 * 24))))
68669838 return 1;
68679839
6868 for (j = 1; ; j <<= 1)
9840 for (j = 1; 0 < j; j *= 2)
68699841 if (! bigtime_test (j))
68709842 return 1;
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
9843 if (! bigtime_test (j - 1))
68749844 return 1;
68759845 }
68769846 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
68779847 }
68789848 _ACEOF
6879 if ac_fn_c_try_run "$LINENO"; then :
9849 rm -f conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9851 case "(($ac_try" in
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9854 esac
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>&5
9857 ac_status=$?
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9860 { (case "(($ac_try" in
9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9862 *) ac_try_echo=$ac_try;;
9863 esac
9864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9865 (eval "$ac_try") 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
68809869 ac_cv_func_working_mktime=yes
68819870 else
6882 ac_cv_func_working_mktime=no
6883 fi
6884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6885 conftest.$ac_objext conftest.beam conftest.$ac_ext
6886 fi
6887
6888 fi
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
6890 $as_echo "$ac_cv_func_working_mktime" >&6; }
9871 echo "$as_me: program exited with status $ac_status" >&5
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9874
9875 ( exit $ac_status )
9876 ac_cv_func_working_mktime=no
9877 fi
9878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9879 fi
9880
9881
9882 fi
9883 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
9884 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
68919885 if test $ac_cv_func_working_mktime = no; then
68929886 case " $LIBOBJS " in
68939887 *" mktime.$ac_objext "* ) ;;
68979891
68989892 fi
68999893
9894
69009895 for ac_header in stdlib.h
6901 do :
6902 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6903 if test "x$ac_cv_header_stdlib_h" = xyes; then :
9896 do
9897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 fi
9904 ac_res=`eval echo '${'$as_ac_Header'}'`
9905 { echo "$as_me:$LINENO: result: $ac_res" >&5
9906 echo "${ECHO_T}$ac_res" >&6; }
9907 else
9908 # Is the header compilable?
9909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9911 cat >conftest.$ac_ext <<_ACEOF
9912 /* confdefs.h. */
9913 _ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9917 $ac_includes_default
9918 #include <$ac_header>
9919 _ACEOF
9920 rm -f conftest.$ac_objext
9921 if { (ac_try="$ac_compile"
9922 case "(($ac_try" in
9923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9924 *) ac_try_echo=$ac_try;;
9925 esac
9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9927 (eval "$ac_compile") 2>conftest.er1
9928 ac_status=$?
9929 grep -v '^ *+' conftest.er1 >conftest.err
9930 rm -f conftest.er1
9931 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && {
9934 test -z "$ac_c_werror_flag" ||
9935 test ! -s conftest.err
9936 } && test -s conftest.$ac_objext; then
9937 ac_header_compiler=yes
9938 else
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9941
9942 ac_header_compiler=no
9943 fi
9944
9945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9947 echo "${ECHO_T}$ac_header_compiler" >&6; }
9948
9949 # Is the header present?
9950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 #include <$ac_header>
9959 _ACEOF
9960 if { (ac_try="$ac_cpp conftest.$ac_ext"
9961 case "(($ac_try" in
9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9964 esac
9965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9967 ac_status=$?
9968 grep -v '^ *+' conftest.er1 >conftest.err
9969 rm -f conftest.er1
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } >/dev/null && {
9973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9974 test ! -s conftest.err
9975 }; then
9976 ac_header_preproc=yes
9977 else
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9980
9981 ac_header_preproc=no
9982 fi
9983
9984 rm -f conftest.err conftest.$ac_ext
9985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9986 echo "${ECHO_T}$ac_header_preproc" >&6; }
9987
9988 # So? What about this header?
9989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9990 yes:no: )
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9995 ac_header_preproc=yes
9996 ;;
9997 no:yes:* )
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10010 ( cat <<\_ASBOX
10011 ## ------------------------------------------ ##
10012 ## Report this to phaag@users.sourceforge.net ##
10013 ## ------------------------------------------ ##
10014 _ASBOX
10015 ) | sed "s/^/$as_me: WARNING: /" >&2
10016 ;;
10017 esac
10018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023 eval "$as_ac_Header=\$ac_header_preproc"
10024 fi
10025 ac_res=`eval echo '${'$as_ac_Header'}'`
10026 { echo "$as_me:$LINENO: result: $ac_res" >&5
10027 echo "${ECHO_T}$ac_res" >&6; }
10028
10029 fi
10030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
690410031 cat >>confdefs.h <<_ACEOF
6905 #define HAVE_STDLIB_H 1
10032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
690610033 _ACEOF
690710034
690810035 fi
690910036
691010037 done
691110038
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6913 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6914 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 if test "$cross_compiling" = yes; then :
10039 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10040 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
10041 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044 if test "$cross_compiling" = yes; then
691810045 ac_cv_func_realloc_0_nonnull=no
691910046 else
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
692110052 /* end confdefs.h. */
692210053 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
692310054 # include <stdlib.h>
693310064 return 0;
693410065 }
693510066 _ACEOF
6936 if ac_fn_c_try_run "$LINENO"; then :
10067 rm -f conftest$ac_exeext
10068 if { (ac_try="$ac_link"
10069 case "(($ac_try" in
10070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10071 *) ac_try_echo=$ac_try;;
10072 esac
10073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10074 (eval "$ac_link") 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080 *) ac_try_echo=$ac_try;;
10081 esac
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
693710087 ac_cv_func_realloc_0_nonnull=yes
693810088 else
6939 ac_cv_func_realloc_0_nonnull=no
6940 fi
6941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6942 conftest.$ac_objext conftest.beam conftest.$ac_ext
6943 fi
6944
6945 fi
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6947 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6948 if test $ac_cv_func_realloc_0_nonnull = yes; then :
6949
6950 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
6951
6952 else
6953 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
10089 echo "$as_me: program exited with status $ac_status" >&5
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10092
10093 ( exit $ac_status )
10094 ac_cv_func_realloc_0_nonnull=no
10095 fi
10096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10097 fi
10098
10099
10100 fi
10101 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10102 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
10103 if test $ac_cv_func_realloc_0_nonnull = yes; then
10104
10105 cat >>confdefs.h <<\_ACEOF
10106 #define HAVE_REALLOC 1
10107 _ACEOF
10108
10109 else
10110 cat >>confdefs.h <<\_ACEOF
10111 #define HAVE_REALLOC 0
10112 _ACEOF
695410113
695510114 case " $LIBOBJS " in
695610115 *" realloc.$ac_objext "* ) ;;
695910118 esac
696010119
696110120
6962 $as_echo "#define realloc rpl_realloc" >>confdefs.h
6963
6964 fi
6965
6966
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
6968 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
6969 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
6970 $as_echo_n "(cached) " >&6
10121 cat >>confdefs.h <<\_ACEOF
10122 #define realloc rpl_realloc
10123 _ACEOF
10124
10125 fi
10126
10127
10128
10129 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
10130 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
10131 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
697110133 else
697210134 rm -f conftest.sym conftest.file
697310135 echo >conftest.file
697410136 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
6975 if test "$cross_compiling" = yes; then :
10137 if test "$cross_compiling" = yes; then
697610138 ac_cv_func_lstat_dereferences_slashed_symlink=no
697710139 else
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
697910145 /* end confdefs.h. */
698010146 $ac_includes_default
698110147 int
698210148 main ()
698310149 {
698410150 struct stat sbuf;
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
10151 /* Linux will dereference the symlink and fail.
698610152 That is better in the sense that it means we will not
698710153 have to compile and use the lstat wrapper. */
698810154 return lstat ("conftest.sym/", &sbuf) == 0;
699010156 return 0;
699110157 }
699210158 _ACEOF
6993 if ac_fn_c_try_run "$LINENO"; then :
10159 rm -f conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>&5
10167 ac_status=$?
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10173 esac
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10176 ac_status=$?
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
699410179 ac_cv_func_lstat_dereferences_slashed_symlink=yes
699510180 else
6996 ac_cv_func_lstat_dereferences_slashed_symlink=no
6997 fi
6998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6999 conftest.$ac_objext conftest.beam conftest.$ac_ext
7000 fi
10181 echo "$as_me: program exited with status $ac_status" >&5
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10184
10185 ( exit $ac_status )
10186 ac_cv_func_lstat_dereferences_slashed_symlink=no
10187 fi
10188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10189 fi
10190
700110191
700210192 else
700310193 # If the `ln -s' command failed, then we probably don't even
700710197 rm -f conftest.sym conftest.file
700810198
700910199 fi
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7011 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10200 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
10201 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
701210202
701310203 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
701410204
701710207 _ACEOF
701810208
701910209
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
702110211 case " $LIBOBJS " in
702210212 *" lstat.$ac_objext "* ) ;;
702310213 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
702610216
702710217 fi
702810218
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7030 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
7031 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 if test "$cross_compiling" = yes; then :
10219 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10220 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
10221 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 else
10224 if test "$cross_compiling" = yes; then
703510225 ac_cv_func_stat_empty_string_bug=yes
703610226 else
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
703810232 /* end confdefs.h. */
703910233 $ac_includes_default
704010234 int
704610240 return 0;
704710241 }
704810242 _ACEOF
7049 if ac_fn_c_try_run "$LINENO"; then :
10243 rm -f conftest$ac_exeext
10244 if { (ac_try="$ac_link"
10245 case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10248 esac
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_link") 2>&5
10251 ac_status=$?
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10254 { (case "(($ac_try" in
10255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10256 *) ac_try_echo=$ac_try;;
10257 esac
10258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10259 (eval "$ac_try") 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
705010263 ac_cv_func_stat_empty_string_bug=no
705110264 else
7052 ac_cv_func_stat_empty_string_bug=yes
7053 fi
7054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7055 conftest.$ac_objext conftest.beam conftest.$ac_ext
7056 fi
7057
7058 fi
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7060 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10265 echo "$as_me: program exited with status $ac_status" >&5
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10268
10269 ( exit $ac_status )
10270 ac_cv_func_stat_empty_string_bug=yes
10271 fi
10272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10273 fi
10274
10275
10276 fi
10277 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10278 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
706110279 if test $ac_cv_func_stat_empty_string_bug = yes; then
706210280 case " $LIBOBJS " in
706310281 *" stat.$ac_objext "* ) ;;
707210290
707310291 fi
707410292
10293
707510294 for ac_func in strftime
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
10295 do
10296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 else
10302 cat >conftest.$ac_ext <<_ACEOF
10303 /* confdefs.h. */
10304 _ACEOF
10305 cat confdefs.h >>conftest.$ac_ext
10306 cat >>conftest.$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10310 #define $ac_func innocuous_$ac_func
10311
10312 /* System header to define __stub macros and hopefully few prototypes,
10313 which can conflict with char $ac_func (); below.
10314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10315 <limits.h> exists even on freestanding compilers. */
10316
10317 #ifdef __STDC__
10318 # include <limits.h>
10319 #else
10320 # include <assert.h>
10321 #endif
10322
10323 #undef $ac_func
10324
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10328 #ifdef __cplusplus
10329 extern "C"
10330 #endif
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined __stub_$ac_func || defined __stub___$ac_func
10336 choke me
10337 #endif
10338
10339 int
10340 main ()
10341 {
10342 return $ac_func ();
10343 ;
10344 return 0;
10345 }
10346 _ACEOF
10347 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (ac_try="$ac_link"
10349 case "(($ac_try" in
10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351 *) ac_try_echo=$ac_try;;
10352 esac
10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354 (eval "$ac_link") 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } && {
10361 test -z "$ac_c_werror_flag" ||
10362 test ! -s conftest.err
10363 } && test -s conftest$ac_exeext &&
10364 $as_test_x conftest$ac_exeext; then
10365 eval "$as_ac_var=yes"
10366 else
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.$ac_ext >&5
10369
10370 eval "$as_ac_var=no"
10371 fi
10372
10373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10374 conftest$ac_exeext conftest.$ac_ext
10375 fi
10376 ac_res=`eval echo '${'$as_ac_var'}'`
10377 { echo "$as_me:$LINENO: result: $ac_res" >&5
10378 echo "${ECHO_T}$ac_res" >&6; }
10379 if test `eval echo '${'$as_ac_var'}'` = yes; then
707910380 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_STRFTIME 1
10381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
708110382 _ACEOF
708210383
708310384 else
708410385 # strftime is in -lintl on SCO UNIX.
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
7086 $as_echo_n "checking for strftime in -lintl... " >&6; }
7087 if ${ac_cv_lib_intl_strftime+:} false; then :
7088 $as_echo_n "(cached) " >&6
10386 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
10387 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
10388 if test "${ac_cv_lib_intl_strftime+set}" = set; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
708910390 else
709010391 ac_check_lib_save_LIBS=$LIBS
709110392 LIBS="-lintl $LIBS"
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
709310398 /* end confdefs.h. */
709410399
709510400 /* Override any GCC internal prototype to avoid an error.
710710412 return 0;
710810413 }
710910414 _ACEOF
7110 if ac_fn_c_try_link "$LINENO"; then :
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (ac_try="$ac_link"
10417 case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420 esac
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_link") 2>conftest.er1
10423 ac_status=$?
10424 grep -v '^ *+' conftest.er1 >conftest.err
10425 rm -f conftest.er1
10426 cat conftest.err >&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } && {
10429 test -z "$ac_c_werror_flag" ||
10430 test ! -s conftest.err
10431 } && test -s conftest$ac_exeext &&
10432 $as_test_x conftest$ac_exeext; then
711110433 ac_cv_lib_intl_strftime=yes
711210434 else
7113 ac_cv_lib_intl_strftime=no
7114 fi
7115 rm -f core conftest.err conftest.$ac_objext \
7116 conftest$ac_exeext conftest.$ac_ext
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10437
10438 ac_cv_lib_intl_strftime=no
10439 fi
10440
10441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10442 conftest$ac_exeext conftest.$ac_ext
711710443 LIBS=$ac_check_lib_save_LIBS
711810444 fi
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
7120 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
7121 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
7122 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
10445 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
10446 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
10447 if test $ac_cv_lib_intl_strftime = yes; then
10448 cat >>confdefs.h <<\_ACEOF
10449 #define HAVE_STRFTIME 1
10450 _ACEOF
712310451
712410452 LIBS="-lintl $LIBS"
712510453 fi
712710455 fi
712810456 done
712910457
10458
10459
10460
10461
10462
10463
10464
10465
713010466 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
7131 do :
7132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10467 do
10468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 else
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10482 #define $ac_func innocuous_$ac_func
10483
10484 /* System header to define __stub macros and hopefully few prototypes,
10485 which can conflict with char $ac_func (); below.
10486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10487 <limits.h> exists even on freestanding compilers. */
10488
10489 #ifdef __STDC__
10490 # include <limits.h>
10491 #else
10492 # include <assert.h>
10493 #endif
10494
10495 #undef $ac_func
10496
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char $ac_func ();
10504 /* The GNU C library defines this for functions which it implements
10505 to always fail with ENOSYS. Some functions are actually named
10506 something starting with __ and the normal name is an alias. */
10507 #if defined __stub_$ac_func || defined __stub___$ac_func
10508 choke me
10509 #endif
10510
10511 int
10512 main ()
10513 {
10514 return $ac_func ();
10515 ;
10516 return 0;
10517 }
10518 _ACEOF
10519 rm -f conftest.$ac_objext conftest$ac_exeext
10520 if { (ac_try="$ac_link"
10521 case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10524 esac
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_link") 2>conftest.er1
10527 ac_status=$?
10528 grep -v '^ *+' conftest.er1 >conftest.err
10529 rm -f conftest.er1
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest$ac_exeext &&
10536 $as_test_x conftest$ac_exeext; then
10537 eval "$as_ac_var=yes"
10538 else
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10541
10542 eval "$as_ac_var=no"
10543 fi
10544
10545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10546 conftest$ac_exeext conftest.$ac_ext
10547 fi
10548 ac_res=`eval echo '${'$as_ac_var'}'`
10549 { echo "$as_me:$LINENO: result: $ac_res" >&5
10550 echo "${ECHO_T}$ac_res" >&6; }
10551 if test `eval echo '${'$as_ac_var'}'` = yes; then
713510552 cat >>confdefs.h <<_ACEOF
7136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
713710554 _ACEOF
713810555
713910556 fi
714010557 done
714110558
714210559
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lsocket" >&5
7144 $as_echo_n "checking for res_search in -lsocket... " >&6; }
7145 if ${ac_cv_lib_socket_res_search+:} false; then :
7146 $as_echo_n "(cached) " >&6
10560 { echo "$as_me:$LINENO: checking for res_search in -lsocket" >&5
10561 echo $ECHO_N "checking for res_search in -lsocket... $ECHO_C" >&6; }
10562 if test "${ac_cv_lib_socket_res_search+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
714710564 else
714810565 ac_check_lib_save_LIBS=$LIBS
714910566 LIBS="-lsocket $LIBS"
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
715110572 /* end confdefs.h. */
715210573
715310574 /* Override any GCC internal prototype to avoid an error.
716510586 return 0;
716610587 }
716710588 _ACEOF
7168 if ac_fn_c_try_link "$LINENO"; then :
10589 rm -f conftest.$ac_objext conftest$ac_exeext
10590 if { (ac_try="$ac_link"
10591 case "(($ac_try" in
10592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593 *) ac_try_echo=$ac_try;;
10594 esac
10595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 (eval "$ac_link") 2>conftest.er1
10597 ac_status=$?
10598 grep -v '^ *+' conftest.er1 >conftest.err
10599 rm -f conftest.er1
10600 cat conftest.err >&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } && {
10603 test -z "$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10605 } && test -s conftest$ac_exeext &&
10606 $as_test_x conftest$ac_exeext; then
716910607 ac_cv_lib_socket_res_search=yes
717010608 else
7171 ac_cv_lib_socket_res_search=no
7172 fi
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 ac_cv_lib_socket_res_search=no
10613 fi
10614
10615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10616 conftest$ac_exeext conftest.$ac_ext
717510617 LIBS=$ac_check_lib_save_LIBS
717610618 fi
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_res_search" >&5
7178 $as_echo "$ac_cv_lib_socket_res_search" >&6; }
7179 if test "x$ac_cv_lib_socket_res_search" = xyes; then :
7180
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7182 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7183 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7184 $as_echo_n "(cached) " >&6
10619 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_res_search" >&5
10620 echo "${ECHO_T}$ac_cv_lib_socket_res_search" >&6; }
10621 if test $ac_cv_lib_socket_res_search = yes; then
10622
10623
10624 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10625 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10626 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
718510628 else
718610629 ac_check_lib_save_LIBS=$LIBS
718710630 LIBS="-lresolv $LIBS"
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
718910636 /* end confdefs.h. */
719010637
719110638 /* Override any GCC internal prototype to avoid an error.
720310650 return 0;
720410651 }
720510652 _ACEOF
7206 if ac_fn_c_try_link "$LINENO"; then :
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_link") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest$ac_exeext &&
10670 $as_test_x conftest$ac_exeext; then
720710671 ac_cv_lib_resolv_dn_skipname=yes
720810672 else
7209 ac_cv_lib_resolv_dn_skipname=no
7210 fi
7211 rm -f core conftest.err conftest.$ac_objext \
7212 conftest$ac_exeext conftest.$ac_ext
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10675
10676 ac_cv_lib_resolv_dn_skipname=no
10677 fi
10678
10679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10680 conftest$ac_exeext conftest.$ac_ext
721310681 LIBS=$ac_check_lib_save_LIBS
721410682 fi
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7216 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7217 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10683 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10684 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10685 if test $ac_cv_lib_resolv_dn_skipname = yes; then
721810686 cat >>confdefs.h <<_ACEOF
721910687 #define HAVE_LIBRESOLV 1
722010688 _ACEOF
722310691
722410692 fi
722510693
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7227 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7228 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7229 $as_echo_n "(cached) " >&6
10694
10695 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10696 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10697 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
723010699 else
723110700 ac_check_lib_save_LIBS=$LIBS
723210701 LIBS="-lresolv $LIBS"
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
723410707 /* end confdefs.h. */
723510708
723610709 /* Override any GCC internal prototype to avoid an error.
724810721 return 0;
724910722 }
725010723 _ACEOF
7251 if ac_fn_c_try_link "$LINENO"; then :
10724 rm -f conftest.$ac_objext conftest$ac_exeext
10725 if { (ac_try="$ac_link"
10726 case "(($ac_try" in
10727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10728 *) ac_try_echo=$ac_try;;
10729 esac
10730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10731 (eval "$ac_link") 2>conftest.er1
10732 ac_status=$?
10733 grep -v '^ *+' conftest.er1 >conftest.err
10734 rm -f conftest.er1
10735 cat conftest.err >&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } && {
10738 test -z "$ac_c_werror_flag" ||
10739 test ! -s conftest.err
10740 } && test -s conftest$ac_exeext &&
10741 $as_test_x conftest$ac_exeext; then
725210742 ac_cv_lib_resolv___dn_skipname=yes
725310743 else
7254 ac_cv_lib_resolv___dn_skipname=no
7255 fi
7256 rm -f core conftest.err conftest.$ac_objext \
7257 conftest$ac_exeext conftest.$ac_ext
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10746
10747 ac_cv_lib_resolv___dn_skipname=no
10748 fi
10749
10750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10751 conftest$ac_exeext conftest.$ac_ext
725810752 LIBS=$ac_check_lib_save_LIBS
725910753 fi
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7261 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7262 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10754 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10755 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10756 if test $ac_cv_lib_resolv___dn_skipname = yes; then
726310757 cat >>confdefs.h <<_ACEOF
726410758 #define HAVE_LIBRESOLV 1
726510759 _ACEOF
727010764
727110765 LIBS="$LIBS -lsocket"
727210766
7273 $as_echo "#define HAVE_LIBSOCKET 1" >>confdefs.h
7274
7275 else
7276
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
7278 $as_echo_n "checking for res_search in -lresolv... " >&6; }
7279 if ${ac_cv_lib_resolv_res_search+:} false; then :
7280 $as_echo_n "(cached) " >&6
10767 cat >>confdefs.h <<\_ACEOF
10768 #define HAVE_LIBSOCKET 1
10769 _ACEOF
10770
10771 else
10772
10773 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
10774 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
10775 if test "${ac_cv_lib_resolv_res_search+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
728110777 else
728210778 ac_check_lib_save_LIBS=$LIBS
728310779 LIBS="-lresolv $LIBS"
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
728510785 /* end confdefs.h. */
728610786
728710787 /* Override any GCC internal prototype to avoid an error.
729910799 return 0;
730010800 }
730110801 _ACEOF
7302 if ac_fn_c_try_link "$LINENO"; then :
10802 rm -f conftest.$ac_objext conftest$ac_exeext
10803 if { (ac_try="$ac_link"
10804 case "(($ac_try" in
10805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 *) ac_try_echo=$ac_try;;
10807 esac
10808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 (eval "$ac_link") 2>conftest.er1
10810 ac_status=$?
10811 grep -v '^ *+' conftest.er1 >conftest.err
10812 rm -f conftest.er1
10813 cat conftest.err >&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); } && {
10816 test -z "$ac_c_werror_flag" ||
10817 test ! -s conftest.err
10818 } && test -s conftest$ac_exeext &&
10819 $as_test_x conftest$ac_exeext; then
730310820 ac_cv_lib_resolv_res_search=yes
730410821 else
7305 ac_cv_lib_resolv_res_search=no
7306 fi
7307 rm -f core conftest.err conftest.$ac_objext \
7308 conftest$ac_exeext conftest.$ac_ext
10822 echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.$ac_ext >&5
10824
10825 ac_cv_lib_resolv_res_search=no
10826 fi
10827
10828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10829 conftest$ac_exeext conftest.$ac_ext
730910830 LIBS=$ac_check_lib_save_LIBS
731010831 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
7312 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
7313 if test "x$ac_cv_lib_resolv_res_search" = xyes; then :
10832 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
10833 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
10834 if test $ac_cv_lib_resolv_res_search = yes; then
731410835
731510836 LIBS="$LIBS -lresolv"
731610837
7317 $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h
7318
7319
7320 else
7321
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_skipname in -lresolv" >&5
7323 $as_echo_n "checking for dn_skipname in -lresolv... " >&6; }
7324 if ${ac_cv_lib_resolv_dn_skipname+:} false; then :
7325 $as_echo_n "(cached) " >&6
10838 cat >>confdefs.h <<\_ACEOF
10839 #define HAVE_LIBRESOLV 1
10840 _ACEOF
10841
10842
10843 else
10844
10845
10846 { echo "$as_me:$LINENO: checking for dn_skipname in -lresolv" >&5
10847 echo $ECHO_N "checking for dn_skipname in -lresolv... $ECHO_C" >&6; }
10848 if test "${ac_cv_lib_resolv_dn_skipname+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
732610850 else
732710851 ac_check_lib_save_LIBS=$LIBS
732810852 LIBS="-lresolv $LIBS"
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
733010858 /* end confdefs.h. */
733110859
733210860 /* Override any GCC internal prototype to avoid an error.
734410872 return 0;
734510873 }
734610874 _ACEOF
7347 if ac_fn_c_try_link "$LINENO"; then :
10875 rm -f conftest.$ac_objext conftest$ac_exeext
10876 if { (ac_try="$ac_link"
10877 case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_link") 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest$ac_exeext &&
10892 $as_test_x conftest$ac_exeext; then
734810893 ac_cv_lib_resolv_dn_skipname=yes
734910894 else
7350 ac_cv_lib_resolv_dn_skipname=no
7351 fi
7352 rm -f core conftest.err conftest.$ac_objext \
7353 conftest$ac_exeext conftest.$ac_ext
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.$ac_ext >&5
10897
10898 ac_cv_lib_resolv_dn_skipname=no
10899 fi
10900
10901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10902 conftest$ac_exeext conftest.$ac_ext
735410903 LIBS=$ac_check_lib_save_LIBS
735510904 fi
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_dn_skipname" >&5
7357 $as_echo "$ac_cv_lib_resolv_dn_skipname" >&6; }
7358 if test "x$ac_cv_lib_resolv_dn_skipname" = xyes; then :
10905 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_skipname" >&5
10906 echo "${ECHO_T}$ac_cv_lib_resolv_dn_skipname" >&6; }
10907 if test $ac_cv_lib_resolv_dn_skipname = yes; then
735910908 cat >>confdefs.h <<_ACEOF
736010909 #define HAVE_LIBRESOLV 1
736110910 _ACEOF
736410913
736510914 fi
736610915
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __dn_skipname in -lresolv" >&5
7368 $as_echo_n "checking for __dn_skipname in -lresolv... " >&6; }
7369 if ${ac_cv_lib_resolv___dn_skipname+:} false; then :
7370 $as_echo_n "(cached) " >&6
10916
10917 { echo "$as_me:$LINENO: checking for __dn_skipname in -lresolv" >&5
10918 echo $ECHO_N "checking for __dn_skipname in -lresolv... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_resolv___dn_skipname+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
737110921 else
737210922 ac_check_lib_save_LIBS=$LIBS
737310923 LIBS="-lresolv $LIBS"
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
737510929 /* end confdefs.h. */
737610930
737710931 /* Override any GCC internal prototype to avoid an error.
738910943 return 0;
739010944 }
739110945 _ACEOF
7392 if ac_fn_c_try_link "$LINENO"; then :
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
10948 case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10951 esac
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_link") 2>conftest.er1
10954 ac_status=$?
10955 grep -v '^ *+' conftest.er1 >conftest.err
10956 rm -f conftest.er1
10957 cat conftest.err >&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } && {
10960 test -z "$ac_c_werror_flag" ||
10961 test ! -s conftest.err
10962 } && test -s conftest$ac_exeext &&
10963 $as_test_x conftest$ac_exeext; then
739310964 ac_cv_lib_resolv___dn_skipname=yes
739410965 else
7395 ac_cv_lib_resolv___dn_skipname=no
7396 fi
7397 rm -f core conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10968
10969 ac_cv_lib_resolv___dn_skipname=no
10970 fi
10971
10972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10973 conftest$ac_exeext conftest.$ac_ext
739910974 LIBS=$ac_check_lib_save_LIBS
740010975 fi
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___dn_skipname" >&5
7402 $as_echo "$ac_cv_lib_resolv___dn_skipname" >&6; }
7403 if test "x$ac_cv_lib_resolv___dn_skipname" = xyes; then :
10976 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_skipname" >&5
10977 echo "${ECHO_T}$ac_cv_lib_resolv___dn_skipname" >&6; }
10978 if test $ac_cv_lib_resolv___dn_skipname = yes; then
740410979 cat >>confdefs.h <<_ACEOF
740510980 #define HAVE_LIBRESOLV 1
740610981 _ACEOF
741710992
741810993
741910994 # lzo compression requirements
7420 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
7421 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
7422
10995 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10996 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
10997 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 else
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 typedef ptrdiff_t ac__type_new_;
11008 int
11009 main ()
11010 {
11011 if ((ac__type_new_ *) 0)
11012 return 0;
11013 if (sizeof (ac__type_new_))
11014 return 0;
11015 ;
11016 return 0;
11017 }
11018 _ACEOF
11019 rm -f conftest.$ac_objext
11020 if { (ac_try="$ac_compile"
11021 case "(($ac_try" in
11022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;;
11024 esac
11025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11026 (eval "$ac_compile") 2>conftest.er1
11027 ac_status=$?
11028 grep -v '^ *+' conftest.er1 >conftest.err
11029 rm -f conftest.er1
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } && {
11033 test -z "$ac_c_werror_flag" ||
11034 test ! -s conftest.err
11035 } && test -s conftest.$ac_objext; then
11036 ac_cv_type_ptrdiff_t=yes
11037 else
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11040
11041 ac_cv_type_ptrdiff_t=no
11042 fi
11043
11044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11045 fi
11046 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11047 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
11048 if test $ac_cv_type_ptrdiff_t = yes; then
11049 :
742311050 else
742411051
742511052 cat >>confdefs.h <<_ACEOF
742811055
742911056 fi
743011057
7431 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7432 if test "x$ac_cv_type_size_t" = xyes; then :
7433
11058 { echo "$as_me:$LINENO: checking for size_t" >&5
11059 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
11060 if test "${ac_cv_type_size_t+set}" = set; then
11061 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 else
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 $ac_includes_default
11070 typedef size_t ac__type_new_;
11071 int
11072 main ()
11073 {
11074 if ((ac__type_new_ *) 0)
11075 return 0;
11076 if (sizeof (ac__type_new_))
11077 return 0;
11078 ;
11079 return 0;
11080 }
11081 _ACEOF
11082 rm -f conftest.$ac_objext
11083 if { (ac_try="$ac_compile"
11084 case "(($ac_try" in
11085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11086 *) ac_try_echo=$ac_try;;
11087 esac
11088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11089 (eval "$ac_compile") 2>conftest.er1
11090 ac_status=$?
11091 grep -v '^ *+' conftest.er1 >conftest.err
11092 rm -f conftest.er1
11093 cat conftest.err >&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } && {
11096 test -z "$ac_c_werror_flag" ||
11097 test ! -s conftest.err
11098 } && test -s conftest.$ac_objext; then
11099 ac_cv_type_size_t=yes
11100 else
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.$ac_ext >&5
11103
11104 ac_cv_type_size_t=no
11105 fi
11106
11107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11108 fi
11109 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11110 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
11111 if test $ac_cv_type_size_t = yes; then
11112 :
743411113 else
743511114
743611115 cat >>confdefs.h <<_ACEOF
743811117 _ACEOF
743911118
744011119 fi
11120
11121 { echo "$as_me:$LINENO: checking for short" >&5
11122 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
11123 if test "${ac_cv_type_short+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 $ac_includes_default
11133 typedef short ac__type_new_;
11134 int
11135 main ()
11136 {
11137 if ((ac__type_new_ *) 0)
11138 return 0;
11139 if (sizeof (ac__type_new_))
11140 return 0;
11141 ;
11142 return 0;
11143 }
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (ac_try="$ac_compile"
11147 case "(($ac_try" in
11148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11149 *) ac_try_echo=$ac_try;;
11150 esac
11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11152 (eval "$ac_compile") 2>conftest.er1
11153 ac_status=$?
11154 grep -v '^ *+' conftest.er1 >conftest.err
11155 rm -f conftest.er1
11156 cat conftest.err >&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } && {
11159 test -z "$ac_c_werror_flag" ||
11160 test ! -s conftest.err
11161 } && test -s conftest.$ac_objext; then
11162 ac_cv_type_short=yes
11163 else
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 ac_cv_type_short=no
11168 fi
11169
11170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11171 fi
11172 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
11173 echo "${ECHO_T}$ac_cv_type_short" >&6; }
744111174
744211175 # The cast to long int works around a bug in the HP C Compiler
744311176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
744411177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
744511178 # This bug is HP SR number 8606223364.
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
7447 $as_echo_n "checking size of short... " >&6; }
7448 if ${ac_cv_sizeof_short+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
7452
7453 else
7454 if test "$ac_cv_type_short" = yes; then
7455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7457 as_fn_error 77 "cannot compute sizeof (short)
7458 See \`config.log' for more details" "$LINENO" 5; }
11179 { echo "$as_me:$LINENO: checking size of short" >&5
11180 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
11181 if test "${ac_cv_sizeof_short+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 if test "$cross_compiling" = yes; then
11185 # Depending upon the size, compute the lo and hi bounds.
11186 cat >conftest.$ac_ext <<_ACEOF
11187 /* confdefs.h. */
11188 _ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 $ac_includes_default
11193 typedef short ac__type_sizeof_;
11194 int
11195 main ()
11196 {
11197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11198 test_array [0] = 0
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.$ac_objext
11205 if { (ac_try="$ac_compile"
11206 case "(($ac_try" in
11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208 *) ac_try_echo=$ac_try;;
11209 esac
11210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11211 (eval "$ac_compile") 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } && {
11218 test -z "$ac_c_werror_flag" ||
11219 test ! -s conftest.err
11220 } && test -s conftest.$ac_objext; then
11221 ac_lo=0 ac_mid=0
11222 while :; do
11223 cat >conftest.$ac_ext <<_ACEOF
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_includes_default
11230 typedef short ac__type_sizeof_;
11231 int
11232 main ()
11233 {
11234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11235 test_array [0] = 0
11236
11237 ;
11238 return 0;
11239 }
11240 _ACEOF
11241 rm -f conftest.$ac_objext
11242 if { (ac_try="$ac_compile"
11243 case "(($ac_try" in
11244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 *) ac_try_echo=$ac_try;;
11246 esac
11247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 (eval "$ac_compile") 2>conftest.er1
11249 ac_status=$?
11250 grep -v '^ *+' conftest.er1 >conftest.err
11251 rm -f conftest.er1
11252 cat conftest.err >&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); } && {
11255 test -z "$ac_c_werror_flag" ||
11256 test ! -s conftest.err
11257 } && test -s conftest.$ac_objext; then
11258 ac_hi=$ac_mid; break
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11262
11263 ac_lo=`expr $ac_mid + 1`
11264 if test $ac_lo -le $ac_mid; then
11265 ac_lo= ac_hi=
11266 break
11267 fi
11268 ac_mid=`expr 2 '*' $ac_mid + 1`
11269 fi
11270
11271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11272 done
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11276
11277 cat >conftest.$ac_ext <<_ACEOF
11278 /* confdefs.h. */
11279 _ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 $ac_includes_default
11284 typedef short ac__type_sizeof_;
11285 int
11286 main ()
11287 {
11288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11289 test_array [0] = 0
11290
11291 ;
11292 return 0;
11293 }
11294 _ACEOF
11295 rm -f conftest.$ac_objext
11296 if { (ac_try="$ac_compile"
11297 case "(($ac_try" in
11298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11299 *) ac_try_echo=$ac_try;;
11300 esac
11301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11302 (eval "$ac_compile") 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && {
11309 test -z "$ac_c_werror_flag" ||
11310 test ! -s conftest.err
11311 } && test -s conftest.$ac_objext; then
11312 ac_hi=-1 ac_mid=-1
11313 while :; do
11314 cat >conftest.$ac_ext <<_ACEOF
11315 /* confdefs.h. */
11316 _ACEOF
11317 cat confdefs.h >>conftest.$ac_ext
11318 cat >>conftest.$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11320 $ac_includes_default
11321 typedef short ac__type_sizeof_;
11322 int
11323 main ()
11324 {
11325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11326 test_array [0] = 0
11327
11328 ;
11329 return 0;
11330 }
11331 _ACEOF
11332 rm -f conftest.$ac_objext
11333 if { (ac_try="$ac_compile"
11334 case "(($ac_try" in
11335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11336 *) ac_try_echo=$ac_try;;
11337 esac
11338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11339 (eval "$ac_compile") 2>conftest.er1
11340 ac_status=$?
11341 grep -v '^ *+' conftest.er1 >conftest.err
11342 rm -f conftest.er1
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } && {
11346 test -z "$ac_c_werror_flag" ||
11347 test ! -s conftest.err
11348 } && test -s conftest.$ac_objext; then
11349 ac_lo=$ac_mid; break
11350 else
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.$ac_ext >&5
11353
11354 ac_hi=`expr '(' $ac_mid ')' - 1`
11355 if test $ac_mid -le $ac_hi; then
11356 ac_lo= ac_hi=
11357 break
11358 fi
11359 ac_mid=`expr 2 '*' $ac_mid`
11360 fi
11361
11362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11363 done
11364 else
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.$ac_ext >&5
11367
11368 ac_lo= ac_hi=
11369 fi
11370
11371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11372 fi
11373
11374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11375 # Binary search between lo and hi bounds.
11376 while test "x$ac_lo" != "x$ac_hi"; do
11377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11378 cat >conftest.$ac_ext <<_ACEOF
11379 /* confdefs.h. */
11380 _ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11384 $ac_includes_default
11385 typedef short ac__type_sizeof_;
11386 int
11387 main ()
11388 {
11389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11390 test_array [0] = 0
11391
11392 ;
11393 return 0;
11394 }
11395 _ACEOF
11396 rm -f conftest.$ac_objext
11397 if { (ac_try="$ac_compile"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11401 esac
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_compile") 2>conftest.er1
11404 ac_status=$?
11405 grep -v '^ *+' conftest.er1 >conftest.err
11406 rm -f conftest.er1
11407 cat conftest.err >&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } && {
11410 test -z "$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 } && test -s conftest.$ac_objext; then
11413 ac_hi=$ac_mid
11414 else
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11417
11418 ac_lo=`expr '(' $ac_mid ')' + 1`
11419 fi
11420
11421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11422 done
11423 case $ac_lo in
11424 ?*) ac_cv_sizeof_short=$ac_lo;;
11425 '') if test "$ac_cv_type_short" = yes; then
11426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11427 See \`config.log' for more details." >&5
11428 echo "$as_me: error: cannot compute sizeof (short)
11429 See \`config.log' for more details." >&2;}
11430 { (exit 77); exit 77; }; }
11431 else
11432 ac_cv_sizeof_short=0
11433 fi ;;
11434 esac
11435 else
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 $ac_includes_default
11443 typedef short ac__type_sizeof_;
11444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11446 #include <stdio.h>
11447 #include <stdlib.h>
11448 int
11449 main ()
11450 {
11451
11452 FILE *f = fopen ("conftest.val", "w");
11453 if (! f)
11454 return 1;
11455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11456 {
11457 long int i = longval ();
11458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11459 return 1;
11460 fprintf (f, "%ld\n", i);
11461 }
11462 else
11463 {
11464 unsigned long int i = ulongval ();
11465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11466 return 1;
11467 fprintf (f, "%lu\n", i);
11468 }
11469 return ferror (f) || fclose (f) != 0;
11470
11471 ;
11472 return 0;
11473 }
11474 _ACEOF
11475 rm -f conftest$ac_exeext
11476 if { (ac_try="$ac_link"
11477 case "(($ac_try" in
11478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11479 *) ac_try_echo=$ac_try;;
11480 esac
11481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11482 (eval "$ac_link") 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11486 { (case "(($ac_try" in
11487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11488 *) ac_try_echo=$ac_try;;
11489 esac
11490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11491 (eval "$ac_try") 2>&5
11492 ac_status=$?
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then
11495 ac_cv_sizeof_short=`cat conftest.val`
11496 else
11497 echo "$as_me: program exited with status $ac_status" >&5
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.$ac_ext >&5
11500
11501 ( exit $ac_status )
11502 if test "$ac_cv_type_short" = yes; then
11503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
11504 See \`config.log' for more details." >&5
11505 echo "$as_me: error: cannot compute sizeof (short)
11506 See \`config.log' for more details." >&2;}
11507 { (exit 77); exit 77; }; }
745911508 else
746011509 ac_cv_sizeof_short=0
746111510 fi
746211511 fi
7463
7464 fi
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
7466 $as_echo "$ac_cv_sizeof_short" >&6; }
11512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11513 fi
11514 rm -f conftest.val
11515 fi
11516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
11517 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
746711518
746811519
746911520
747111522 #define SIZEOF_SHORT $ac_cv_sizeof_short
747211523 _ACEOF
747311524
11525
11526 { echo "$as_me:$LINENO: checking for int" >&5
11527 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
11528 if test "${ac_cv_type_int+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else
11531 cat >conftest.$ac_ext <<_ACEOF
11532 /* confdefs.h. */
11533 _ACEOF
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 $ac_includes_default
11538 typedef int ac__type_new_;
11539 int
11540 main ()
11541 {
11542 if ((ac__type_new_ *) 0)
11543 return 0;
11544 if (sizeof (ac__type_new_))
11545 return 0;
11546 ;
11547 return 0;
11548 }
11549 _ACEOF
11550 rm -f conftest.$ac_objext
11551 if { (ac_try="$ac_compile"
11552 case "(($ac_try" in
11553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554 *) ac_try_echo=$ac_try;;
11555 esac
11556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11557 (eval "$ac_compile") 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } && {
11564 test -z "$ac_c_werror_flag" ||
11565 test ! -s conftest.err
11566 } && test -s conftest.$ac_objext; then
11567 ac_cv_type_int=yes
11568 else
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_type_int=no
11573 fi
11574
11575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11576 fi
11577 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11578 echo "${ECHO_T}$ac_cv_type_int" >&6; }
747411579
747511580 # The cast to long int works around a bug in the HP C Compiler
747611581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
747711582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
747811583 # This bug is HP SR number 8606223364.
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7480 $as_echo_n "checking size of int... " >&6; }
7481 if ${ac_cv_sizeof_int+:} false; then :
7482 $as_echo_n "(cached) " >&6
7483 else
7484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
7485
7486 else
7487 if test "$ac_cv_type_int" = yes; then
7488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7490 as_fn_error 77 "cannot compute sizeof (int)
7491 See \`config.log' for more details" "$LINENO" 5; }
11584 { echo "$as_me:$LINENO: checking size of int" >&5
11585 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
11586 if test "${ac_cv_sizeof_int+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 else
11589 if test "$cross_compiling" = yes; then
11590 # Depending upon the size, compute the lo and hi bounds.
11591 cat >conftest.$ac_ext <<_ACEOF
11592 /* confdefs.h. */
11593 _ACEOF
11594 cat confdefs.h >>conftest.$ac_ext
11595 cat >>conftest.$ac_ext <<_ACEOF
11596 /* end confdefs.h. */
11597 $ac_includes_default
11598 typedef int ac__type_sizeof_;
11599 int
11600 main ()
11601 {
11602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11603 test_array [0] = 0
11604
11605 ;
11606 return 0;
11607 }
11608 _ACEOF
11609 rm -f conftest.$ac_objext
11610 if { (ac_try="$ac_compile"
11611 case "(($ac_try" in
11612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11613 *) ac_try_echo=$ac_try;;
11614 esac
11615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11616 (eval "$ac_compile") 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } && {
11623 test -z "$ac_c_werror_flag" ||
11624 test ! -s conftest.err
11625 } && test -s conftest.$ac_objext; then
11626 ac_lo=0 ac_mid=0
11627 while :; do
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_includes_default
11635 typedef int ac__type_sizeof_;
11636 int
11637 main ()
11638 {
11639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11640 test_array [0] = 0
11641
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.$ac_objext
11647 if { (ac_try="$ac_compile"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11651 esac
11652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11653 (eval "$ac_compile") 2>conftest.er1
11654 ac_status=$?
11655 grep -v '^ *+' conftest.er1 >conftest.err
11656 rm -f conftest.er1
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && {
11660 test -z "$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11662 } && test -s conftest.$ac_objext; then
11663 ac_hi=$ac_mid; break
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11667
11668 ac_lo=`expr $ac_mid + 1`
11669 if test $ac_lo -le $ac_mid; then
11670 ac_lo= ac_hi=
11671 break
11672 fi
11673 ac_mid=`expr 2 '*' $ac_mid + 1`
11674 fi
11675
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 done
11678 else
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.$ac_ext >&5
11681
11682 cat >conftest.$ac_ext <<_ACEOF
11683 /* confdefs.h. */
11684 _ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 $ac_includes_default
11689 typedef int ac__type_sizeof_;
11690 int
11691 main ()
11692 {
11693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11694 test_array [0] = 0
11695
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (ac_try="$ac_compile"
11702 case "(($ac_try" in
11703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11704 *) ac_try_echo=$ac_try;;
11705 esac
11706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11707 (eval "$ac_compile") 2>conftest.er1
11708 ac_status=$?
11709 grep -v '^ *+' conftest.er1 >conftest.err
11710 rm -f conftest.er1
11711 cat conftest.err >&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } && {
11714 test -z "$ac_c_werror_flag" ||
11715 test ! -s conftest.err
11716 } && test -s conftest.$ac_objext; then
11717 ac_hi=-1 ac_mid=-1
11718 while :; do
11719 cat >conftest.$ac_ext <<_ACEOF
11720 /* confdefs.h. */
11721 _ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 $ac_includes_default
11726 typedef int ac__type_sizeof_;
11727 int
11728 main ()
11729 {
11730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11731 test_array [0] = 0
11732
11733 ;
11734 return 0;
11735 }
11736 _ACEOF
11737 rm -f conftest.$ac_objext
11738 if { (ac_try="$ac_compile"
11739 case "(($ac_try" in
11740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11742 esac
11743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11744 (eval "$ac_compile") 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && {
11751 test -z "$ac_c_werror_flag" ||
11752 test ! -s conftest.err
11753 } && test -s conftest.$ac_objext; then
11754 ac_lo=$ac_mid; break
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11758
11759 ac_hi=`expr '(' $ac_mid ')' - 1`
11760 if test $ac_mid -le $ac_hi; then
11761 ac_lo= ac_hi=
11762 break
11763 fi
11764 ac_mid=`expr 2 '*' $ac_mid`
11765 fi
11766
11767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11768 done
11769 else
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5
11772
11773 ac_lo= ac_hi=
11774 fi
11775
11776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11777 fi
11778
11779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11780 # Binary search between lo and hi bounds.
11781 while test "x$ac_lo" != "x$ac_hi"; do
11782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789 $ac_includes_default
11790 typedef int ac__type_sizeof_;
11791 int
11792 main ()
11793 {
11794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11795 test_array [0] = 0
11796
11797 ;
11798 return 0;
11799 }
11800 _ACEOF
11801 rm -f conftest.$ac_objext
11802 if { (ac_try="$ac_compile"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_compile") 2>conftest.er1
11809 ac_status=$?
11810 grep -v '^ *+' conftest.er1 >conftest.err
11811 rm -f conftest.er1
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest.$ac_objext; then
11818 ac_hi=$ac_mid
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11822
11823 ac_lo=`expr '(' $ac_mid ')' + 1`
11824 fi
11825
11826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11827 done
11828 case $ac_lo in
11829 ?*) ac_cv_sizeof_int=$ac_lo;;
11830 '') if test "$ac_cv_type_int" = yes; then
11831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11832 See \`config.log' for more details." >&5
11833 echo "$as_me: error: cannot compute sizeof (int)
11834 See \`config.log' for more details." >&2;}
11835 { (exit 77); exit 77; }; }
11836 else
11837 ac_cv_sizeof_int=0
11838 fi ;;
11839 esac
11840 else
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 $ac_includes_default
11848 typedef int ac__type_sizeof_;
11849 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11850 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11851 #include <stdio.h>
11852 #include <stdlib.h>
11853 int
11854 main ()
11855 {
11856
11857 FILE *f = fopen ("conftest.val", "w");
11858 if (! f)
11859 return 1;
11860 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11861 {
11862 long int i = longval ();
11863 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11864 return 1;
11865 fprintf (f, "%ld\n", i);
11866 }
11867 else
11868 {
11869 unsigned long int i = ulongval ();
11870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
11871 return 1;
11872 fprintf (f, "%lu\n", i);
11873 }
11874 return ferror (f) || fclose (f) != 0;
11875
11876 ;
11877 return 0;
11878 }
11879 _ACEOF
11880 rm -f conftest$ac_exeext
11881 if { (ac_try="$ac_link"
11882 case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_link") 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11891 { (case "(($ac_try" in
11892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11893 *) ac_try_echo=$ac_try;;
11894 esac
11895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11896 (eval "$ac_try") 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_sizeof_int=`cat conftest.val`
11901 else
11902 echo "$as_me: program exited with status $ac_status" >&5
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11905
11906 ( exit $ac_status )
11907 if test "$ac_cv_type_int" = yes; then
11908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11909 See \`config.log' for more details." >&5
11910 echo "$as_me: error: cannot compute sizeof (int)
11911 See \`config.log' for more details." >&2;}
11912 { (exit 77); exit 77; }; }
749211913 else
749311914 ac_cv_sizeof_int=0
749411915 fi
749511916 fi
7496
7497 fi
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7499 $as_echo "$ac_cv_sizeof_int" >&6; }
11917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11918 fi
11919 rm -f conftest.val
11920 fi
11921 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11922 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
750011923
750111924
750211925
750411927 #define SIZEOF_INT $ac_cv_sizeof_int
750511928 _ACEOF
750611929
11930
11931 { echo "$as_me:$LINENO: checking for long" >&5
11932 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
11933 if test "${ac_cv_type_long+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h. */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 $ac_includes_default
11943 typedef long ac__type_new_;
11944 int
11945 main ()
11946 {
11947 if ((ac__type_new_ *) 0)
11948 return 0;
11949 if (sizeof (ac__type_new_))
11950 return 0;
11951 ;
11952 return 0;
11953 }
11954 _ACEOF
11955 rm -f conftest.$ac_objext
11956 if { (ac_try="$ac_compile"
11957 case "(($ac_try" in
11958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11959 *) ac_try_echo=$ac_try;;
11960 esac
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_compile") 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } && {
11969 test -z "$ac_c_werror_flag" ||
11970 test ! -s conftest.err
11971 } && test -s conftest.$ac_objext; then
11972 ac_cv_type_long=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11976
11977 ac_cv_type_long=no
11978 fi
11979
11980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 fi
11982 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11983 echo "${ECHO_T}$ac_cv_type_long" >&6; }
750711984
750811985 # The cast to long int works around a bug in the HP C Compiler
750911986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
751011987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
751111988 # This bug is HP SR number 8606223364.
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
7513 $as_echo_n "checking size of long... " >&6; }
7514 if ${ac_cv_sizeof_long+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
7518
7519 else
7520 if test "$ac_cv_type_long" = yes; then
7521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7523 as_fn_error 77 "cannot compute sizeof (long)
7524 See \`config.log' for more details" "$LINENO" 5; }
11989 { echo "$as_me:$LINENO: checking size of long" >&5
11990 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
11991 if test "${ac_cv_sizeof_long+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 else
11994 if test "$cross_compiling" = yes; then
11995 # Depending upon the size, compute the lo and hi bounds.
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 $ac_includes_default
12003 typedef long ac__type_sizeof_;
12004 int
12005 main ()
12006 {
12007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12008 test_array [0] = 0
12009
12010 ;
12011 return 0;
12012 }
12013 _ACEOF
12014 rm -f conftest.$ac_objext
12015 if { (ac_try="$ac_compile"
12016 case "(($ac_try" in
12017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12018 *) ac_try_echo=$ac_try;;
12019 esac
12020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12021 (eval "$ac_compile") 2>conftest.er1
12022 ac_status=$?
12023 grep -v '^ *+' conftest.er1 >conftest.err
12024 rm -f conftest.er1
12025 cat conftest.err >&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest.$ac_objext; then
12031 ac_lo=0 ac_mid=0
12032 while :; do
12033 cat >conftest.$ac_ext <<_ACEOF
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 $ac_includes_default
12040 typedef long ac__type_sizeof_;
12041 int
12042 main ()
12043 {
12044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12045 test_array [0] = 0
12046
12047 ;
12048 return 0;
12049 }
12050 _ACEOF
12051 rm -f conftest.$ac_objext
12052 if { (ac_try="$ac_compile"
12053 case "(($ac_try" in
12054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12055 *) ac_try_echo=$ac_try;;
12056 esac
12057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12058 (eval "$ac_compile") 2>conftest.er1
12059 ac_status=$?
12060 grep -v '^ *+' conftest.er1 >conftest.err
12061 rm -f conftest.er1
12062 cat conftest.err >&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } && {
12065 test -z "$ac_c_werror_flag" ||
12066 test ! -s conftest.err
12067 } && test -s conftest.$ac_objext; then
12068 ac_hi=$ac_mid; break
12069 else
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5
12072
12073 ac_lo=`expr $ac_mid + 1`
12074 if test $ac_lo -le $ac_mid; then
12075 ac_lo= ac_hi=
12076 break
12077 fi
12078 ac_mid=`expr 2 '*' $ac_mid + 1`
12079 fi
12080
12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12082 done
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 cat >conftest.$ac_ext <<_ACEOF
12088 /* confdefs.h. */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12093 $ac_includes_default
12094 typedef long ac__type_sizeof_;
12095 int
12096 main ()
12097 {
12098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12099 test_array [0] = 0
12100
12101 ;
12102 return 0;
12103 }
12104 _ACEOF
12105 rm -f conftest.$ac_objext
12106 if { (ac_try="$ac_compile"
12107 case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_compile") 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && {
12119 test -z "$ac_c_werror_flag" ||
12120 test ! -s conftest.err
12121 } && test -s conftest.$ac_objext; then
12122 ac_hi=-1 ac_mid=-1
12123 while :; do
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130 $ac_includes_default
12131 typedef long ac__type_sizeof_;
12132 int
12133 main ()
12134 {
12135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12136 test_array [0] = 0
12137
12138 ;
12139 return 0;
12140 }
12141 _ACEOF
12142 rm -f conftest.$ac_objext
12143 if { (ac_try="$ac_compile"
12144 case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12147 esac
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_compile") 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest.$ac_objext; then
12159 ac_lo=$ac_mid; break
12160 else
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.$ac_ext >&5
12163
12164 ac_hi=`expr '(' $ac_mid ')' - 1`
12165 if test $ac_mid -le $ac_hi; then
12166 ac_lo= ac_hi=
12167 break
12168 fi
12169 ac_mid=`expr 2 '*' $ac_mid`
12170 fi
12171
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 done
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178 ac_lo= ac_hi=
12179 fi
12180
12181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12182 fi
12183
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 # Binary search between lo and hi bounds.
12186 while test "x$ac_lo" != "x$ac_hi"; do
12187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12188 cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 $ac_includes_default
12195 typedef long ac__type_sizeof_;
12196 int
12197 main ()
12198 {
12199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12200 test_array [0] = 0
12201
12202 ;
12203 return 0;
12204 }
12205 _ACEOF
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210 *) ac_try_echo=$ac_try;;
12211 esac
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.$ac_objext; then
12223 ac_hi=$ac_mid
12224 else
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12227
12228 ac_lo=`expr '(' $ac_mid ')' + 1`
12229 fi
12230
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 done
12233 case $ac_lo in
12234 ?*) ac_cv_sizeof_long=$ac_lo;;
12235 '') if test "$ac_cv_type_long" = yes; then
12236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12237 See \`config.log' for more details." >&5
12238 echo "$as_me: error: cannot compute sizeof (long)
12239 See \`config.log' for more details." >&2;}
12240 { (exit 77); exit 77; }; }
12241 else
12242 ac_cv_sizeof_long=0
12243 fi ;;
12244 esac
12245 else
12246 cat >conftest.$ac_ext <<_ACEOF
12247 /* confdefs.h. */
12248 _ACEOF
12249 cat confdefs.h >>conftest.$ac_ext
12250 cat >>conftest.$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252 $ac_includes_default
12253 typedef long ac__type_sizeof_;
12254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12256 #include <stdio.h>
12257 #include <stdlib.h>
12258 int
12259 main ()
12260 {
12261
12262 FILE *f = fopen ("conftest.val", "w");
12263 if (! f)
12264 return 1;
12265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12266 {
12267 long int i = longval ();
12268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12269 return 1;
12270 fprintf (f, "%ld\n", i);
12271 }
12272 else
12273 {
12274 unsigned long int i = ulongval ();
12275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12276 return 1;
12277 fprintf (f, "%lu\n", i);
12278 }
12279 return ferror (f) || fclose (f) != 0;
12280
12281 ;
12282 return 0;
12283 }
12284 _ACEOF
12285 rm -f conftest$ac_exeext
12286 if { (ac_try="$ac_link"
12287 case "(($ac_try" in
12288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12289 *) ac_try_echo=$ac_try;;
12290 esac
12291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12292 (eval "$ac_link") 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12296 { (case "(($ac_try" in
12297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12299 esac
12300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_try") 2>&5
12302 ac_status=$?
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 ac_cv_sizeof_long=`cat conftest.val`
12306 else
12307 echo "$as_me: program exited with status $ac_status" >&5
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12310
12311 ( exit $ac_status )
12312 if test "$ac_cv_type_long" = yes; then
12313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
12314 See \`config.log' for more details." >&5
12315 echo "$as_me: error: cannot compute sizeof (long)
12316 See \`config.log' for more details." >&2;}
12317 { (exit 77); exit 77; }; }
752512318 else
752612319 ac_cv_sizeof_long=0
752712320 fi
752812321 fi
7529
7530 fi
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
7532 $as_echo "$ac_cv_sizeof_long" >&6; }
12322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12323 fi
12324 rm -f conftest.val
12325 fi
12326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12327 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
753312328
753412329
753512330
753712332 #define SIZEOF_LONG $ac_cv_sizeof_long
753812333 _ACEOF
753912334
12335
12336 { echo "$as_me:$LINENO: checking for long long" >&5
12337 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
12338 if test "${ac_cv_type_long_long+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 else
12341 cat >conftest.$ac_ext <<_ACEOF
12342 /* confdefs.h. */
12343 _ACEOF
12344 cat confdefs.h >>conftest.$ac_ext
12345 cat >>conftest.$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 $ac_includes_default
12348 typedef long long ac__type_new_;
12349 int
12350 main ()
12351 {
12352 if ((ac__type_new_ *) 0)
12353 return 0;
12354 if (sizeof (ac__type_new_))
12355 return 0;
12356 ;
12357 return 0;
12358 }
12359 _ACEOF
12360 rm -f conftest.$ac_objext
12361 if { (ac_try="$ac_compile"
12362 case "(($ac_try" in
12363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12365 esac
12366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12367 (eval "$ac_compile") 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } && {
12374 test -z "$ac_c_werror_flag" ||
12375 test ! -s conftest.err
12376 } && test -s conftest.$ac_objext; then
12377 ac_cv_type_long_long=yes
12378 else
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12381
12382 ac_cv_type_long_long=no
12383 fi
12384
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12388 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
754012389
754112390 # The cast to long int works around a bug in the HP C Compiler
754212391 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
754312392 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
754412393 # This bug is HP SR number 8606223364.
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
7546 $as_echo_n "checking size of long long... " >&6; }
7547 if ${ac_cv_sizeof_long_long+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
7551
7552 else
7553 if test "$ac_cv_type_long_long" = yes; then
7554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7556 as_fn_error 77 "cannot compute sizeof (long long)
7557 See \`config.log' for more details" "$LINENO" 5; }
12394 { echo "$as_me:$LINENO: checking size of long long" >&5
12395 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
12396 if test "${ac_cv_sizeof_long_long+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 if test "$cross_compiling" = yes; then
12400 # Depending upon the size, compute the lo and hi bounds.
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12408 typedef long long ac__type_sizeof_;
12409 int
12410 main ()
12411 {
12412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12413 test_array [0] = 0
12414
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 rm -f conftest.$ac_objext
12420 if { (ac_try="$ac_compile"
12421 case "(($ac_try" in
12422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423 *) ac_try_echo=$ac_try;;
12424 esac
12425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426 (eval "$ac_compile") 2>conftest.er1
12427 ac_status=$?
12428 grep -v '^ *+' conftest.er1 >conftest.err
12429 rm -f conftest.er1
12430 cat conftest.err >&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); } && {
12433 test -z "$ac_c_werror_flag" ||
12434 test ! -s conftest.err
12435 } && test -s conftest.$ac_objext; then
12436 ac_lo=0 ac_mid=0
12437 while :; do
12438 cat >conftest.$ac_ext <<_ACEOF
12439 /* confdefs.h. */
12440 _ACEOF
12441 cat confdefs.h >>conftest.$ac_ext
12442 cat >>conftest.$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 $ac_includes_default
12445 typedef long long ac__type_sizeof_;
12446 int
12447 main ()
12448 {
12449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12450 test_array [0] = 0
12451
12452 ;
12453 return 0;
12454 }
12455 _ACEOF
12456 rm -f conftest.$ac_objext
12457 if { (ac_try="$ac_compile"
12458 case "(($ac_try" in
12459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460 *) ac_try_echo=$ac_try;;
12461 esac
12462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12463 (eval "$ac_compile") 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && {
12470 test -z "$ac_c_werror_flag" ||
12471 test ! -s conftest.err
12472 } && test -s conftest.$ac_objext; then
12473 ac_hi=$ac_mid; break
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12477
12478 ac_lo=`expr $ac_mid + 1`
12479 if test $ac_lo -le $ac_mid; then
12480 ac_lo= ac_hi=
12481 break
12482 fi
12483 ac_mid=`expr 2 '*' $ac_mid + 1`
12484 fi
12485
12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12487 done
12488 else
12489 echo "$as_me: failed program was:" >&5
12490 sed 's/^/| /' conftest.$ac_ext >&5
12491
12492 cat >conftest.$ac_ext <<_ACEOF
12493 /* confdefs.h. */
12494 _ACEOF
12495 cat confdefs.h >>conftest.$ac_ext
12496 cat >>conftest.$ac_ext <<_ACEOF
12497 /* end confdefs.h. */
12498 $ac_includes_default
12499 typedef long long ac__type_sizeof_;
12500 int
12501 main ()
12502 {
12503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12504 test_array [0] = 0
12505
12506 ;
12507 return 0;
12508 }
12509 _ACEOF
12510 rm -f conftest.$ac_objext
12511 if { (ac_try="$ac_compile"
12512 case "(($ac_try" in
12513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12515 esac
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_compile") 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_c_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest.$ac_objext; then
12527 ac_hi=-1 ac_mid=-1
12528 while :; do
12529 cat >conftest.$ac_ext <<_ACEOF
12530 /* confdefs.h. */
12531 _ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 $ac_includes_default
12536 typedef long long ac__type_sizeof_;
12537 int
12538 main ()
12539 {
12540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12541 test_array [0] = 0
12542
12543 ;
12544 return 0;
12545 }
12546 _ACEOF
12547 rm -f conftest.$ac_objext
12548 if { (ac_try="$ac_compile"
12549 case "(($ac_try" in
12550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12551 *) ac_try_echo=$ac_try;;
12552 esac
12553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554 (eval "$ac_compile") 2>conftest.er1
12555 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } && {
12561 test -z "$ac_c_werror_flag" ||
12562 test ! -s conftest.err
12563 } && test -s conftest.$ac_objext; then
12564 ac_lo=$ac_mid; break
12565 else
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12568
12569 ac_hi=`expr '(' $ac_mid ')' - 1`
12570 if test $ac_mid -le $ac_hi; then
12571 ac_lo= ac_hi=
12572 break
12573 fi
12574 ac_mid=`expr 2 '*' $ac_mid`
12575 fi
12576
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 done
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 ac_lo= ac_hi=
12584 fi
12585
12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12587 fi
12588
12589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 # Binary search between lo and hi bounds.
12591 while test "x$ac_lo" != "x$ac_hi"; do
12592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12593 cat >conftest.$ac_ext <<_ACEOF
12594 /* confdefs.h. */
12595 _ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 $ac_includes_default
12600 typedef long long ac__type_sizeof_;
12601 int
12602 main ()
12603 {
12604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12605 test_array [0] = 0
12606
12607 ;
12608 return 0;
12609 }
12610 _ACEOF
12611 rm -f conftest.$ac_objext
12612 if { (ac_try="$ac_compile"
12613 case "(($ac_try" in
12614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12616 esac
12617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_compile") 2>conftest.er1
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } && {
12625 test -z "$ac_c_werror_flag" ||
12626 test ! -s conftest.err
12627 } && test -s conftest.$ac_objext; then
12628 ac_hi=$ac_mid
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ac_lo=`expr '(' $ac_mid ')' + 1`
12634 fi
12635
12636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 done
12638 case $ac_lo in
12639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12640 '') if test "$ac_cv_type_long_long" = yes; then
12641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12642 See \`config.log' for more details." >&5
12643 echo "$as_me: error: cannot compute sizeof (long long)
12644 See \`config.log' for more details." >&2;}
12645 { (exit 77); exit 77; }; }
12646 else
12647 ac_cv_sizeof_long_long=0
12648 fi ;;
12649 esac
12650 else
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 typedef long long ac__type_sizeof_;
12659 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12660 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12661 #include <stdio.h>
12662 #include <stdlib.h>
12663 int
12664 main ()
12665 {
12666
12667 FILE *f = fopen ("conftest.val", "w");
12668 if (! f)
12669 return 1;
12670 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12671 {
12672 long int i = longval ();
12673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12674 return 1;
12675 fprintf (f, "%ld\n", i);
12676 }
12677 else
12678 {
12679 unsigned long int i = ulongval ();
12680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12681 return 1;
12682 fprintf (f, "%lu\n", i);
12683 }
12684 return ferror (f) || fclose (f) != 0;
12685
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 rm -f conftest$ac_exeext
12691 if { (ac_try="$ac_link"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695 esac
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_link") 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12701 { (case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12704 esac
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_try") 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_sizeof_long_long=`cat conftest.val`
12711 else
12712 echo "$as_me: program exited with status $ac_status" >&5
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12715
12716 ( exit $ac_status )
12717 if test "$ac_cv_type_long_long" = yes; then
12718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12719 See \`config.log' for more details." >&5
12720 echo "$as_me: error: cannot compute sizeof (long long)
12721 See \`config.log' for more details." >&2;}
12722 { (exit 77); exit 77; }; }
755812723 else
755912724 ac_cv_sizeof_long_long=0
756012725 fi
756112726 fi
7562
7563 fi
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
7565 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12728 fi
12729 rm -f conftest.val
12730 fi
12731 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12732 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
756612733
756712734
756812735
757012737 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
757112738 _ACEOF
757212739
12740
12741 { echo "$as_me:$LINENO: checking for __int64" >&5
12742 echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
12743 if test "${ac_cv_type___int64+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 else
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 $ac_includes_default
12753 typedef __int64 ac__type_new_;
12754 int
12755 main ()
12756 {
12757 if ((ac__type_new_ *) 0)
12758 return 0;
12759 if (sizeof (ac__type_new_))
12760 return 0;
12761 ;
12762 return 0;
12763 }
12764 _ACEOF
12765 rm -f conftest.$ac_objext
12766 if { (ac_try="$ac_compile"
12767 case "(($ac_try" in
12768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12769 *) ac_try_echo=$ac_try;;
12770 esac
12771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772 (eval "$ac_compile") 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } && {
12779 test -z "$ac_c_werror_flag" ||
12780 test ! -s conftest.err
12781 } && test -s conftest.$ac_objext; then
12782 ac_cv_type___int64=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 ac_cv_type___int64=no
12788 fi
12789
12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12791 fi
12792 { echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
12793 echo "${ECHO_T}$ac_cv_type___int64" >&6; }
757312794
757412795 # The cast to long int works around a bug in the HP C Compiler
757512796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
757612797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
757712798 # This bug is HP SR number 8606223364.
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
7579 $as_echo_n "checking size of __int64... " >&6; }
7580 if ${ac_cv_sizeof___int64+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
7584
7585 else
7586 if test "$ac_cv_type___int64" = yes; then
7587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7589 as_fn_error 77 "cannot compute sizeof (__int64)
7590 See \`config.log' for more details" "$LINENO" 5; }
12799 { echo "$as_me:$LINENO: checking size of __int64" >&5
12800 echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
12801 if test "${ac_cv_sizeof___int64+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test "$cross_compiling" = yes; then
12805 # Depending upon the size, compute the lo and hi bounds.
12806 cat >conftest.$ac_ext <<_ACEOF
12807 /* confdefs.h. */
12808 _ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12812 $ac_includes_default
12813 typedef __int64 ac__type_sizeof_;
12814 int
12815 main ()
12816 {
12817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12818 test_array [0] = 0
12819
12820 ;
12821 return 0;
12822 }
12823 _ACEOF
12824 rm -f conftest.$ac_objext
12825 if { (ac_try="$ac_compile"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12829 esac
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_compile") 2>conftest.er1
12832 ac_status=$?
12833 grep -v '^ *+' conftest.er1 >conftest.err
12834 rm -f conftest.er1
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } && {
12838 test -z "$ac_c_werror_flag" ||
12839 test ! -s conftest.err
12840 } && test -s conftest.$ac_objext; then
12841 ac_lo=0 ac_mid=0
12842 while :; do
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849 $ac_includes_default
12850 typedef __int64 ac__type_sizeof_;
12851 int
12852 main ()
12853 {
12854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12855 test_array [0] = 0
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 rm -f conftest.$ac_objext
12862 if { (ac_try="$ac_compile"
12863 case "(($ac_try" in
12864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12865 *) ac_try_echo=$ac_try;;
12866 esac
12867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12868 (eval "$ac_compile") 2>conftest.er1
12869 ac_status=$?
12870 grep -v '^ *+' conftest.er1 >conftest.err
12871 rm -f conftest.er1
12872 cat conftest.err >&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); } && {
12875 test -z "$ac_c_werror_flag" ||
12876 test ! -s conftest.err
12877 } && test -s conftest.$ac_objext; then
12878 ac_hi=$ac_mid; break
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 ac_lo=`expr $ac_mid + 1`
12884 if test $ac_lo -le $ac_mid; then
12885 ac_lo= ac_hi=
12886 break
12887 fi
12888 ac_mid=`expr 2 '*' $ac_mid + 1`
12889 fi
12890
12891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12892 done
12893 else
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.$ac_ext >&5
12896
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12904 typedef __int64 ac__type_sizeof_;
12905 int
12906 main ()
12907 {
12908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12909 test_array [0] = 0
12910
12911 ;
12912 return 0;
12913 }
12914 _ACEOF
12915 rm -f conftest.$ac_objext
12916 if { (ac_try="$ac_compile"
12917 case "(($ac_try" in
12918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12919 *) ac_try_echo=$ac_try;;
12920 esac
12921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922 (eval "$ac_compile") 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && {
12929 test -z "$ac_c_werror_flag" ||
12930 test ! -s conftest.err
12931 } && test -s conftest.$ac_objext; then
12932 ac_hi=-1 ac_mid=-1
12933 while :; do
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 $ac_includes_default
12941 typedef __int64 ac__type_sizeof_;
12942 int
12943 main ()
12944 {
12945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12946 test_array [0] = 0
12947
12948 ;
12949 return 0;
12950 }
12951 _ACEOF
12952 rm -f conftest.$ac_objext
12953 if { (ac_try="$ac_compile"
12954 case "(($ac_try" in
12955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12956 *) ac_try_echo=$ac_try;;
12957 esac
12958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12959 (eval "$ac_compile") 2>conftest.er1
12960 ac_status=$?
12961 grep -v '^ *+' conftest.er1 >conftest.err
12962 rm -f conftest.er1
12963 cat conftest.err >&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } && {
12966 test -z "$ac_c_werror_flag" ||
12967 test ! -s conftest.err
12968 } && test -s conftest.$ac_objext; then
12969 ac_lo=$ac_mid; break
12970 else
12971 echo "$as_me: failed program was:" >&5
12972 sed 's/^/| /' conftest.$ac_ext >&5
12973
12974 ac_hi=`expr '(' $ac_mid ')' - 1`
12975 if test $ac_mid -le $ac_hi; then
12976 ac_lo= ac_hi=
12977 break
12978 fi
12979 ac_mid=`expr 2 '*' $ac_mid`
12980 fi
12981
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 done
12984 else
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12987
12988 ac_lo= ac_hi=
12989 fi
12990
12991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12992 fi
12993
12994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12995 # Binary search between lo and hi bounds.
12996 while test "x$ac_lo" != "x$ac_hi"; do
12997 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12998 cat >conftest.$ac_ext <<_ACEOF
12999 /* confdefs.h. */
13000 _ACEOF
13001 cat confdefs.h >>conftest.$ac_ext
13002 cat >>conftest.$ac_ext <<_ACEOF
13003 /* end confdefs.h. */
13004 $ac_includes_default
13005 typedef __int64 ac__type_sizeof_;
13006 int
13007 main ()
13008 {
13009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13010 test_array [0] = 0
13011
13012 ;
13013 return 0;
13014 }
13015 _ACEOF
13016 rm -f conftest.$ac_objext
13017 if { (ac_try="$ac_compile"
13018 case "(($ac_try" in
13019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13020 *) ac_try_echo=$ac_try;;
13021 esac
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_compile") 2>conftest.er1
13024 ac_status=$?
13025 grep -v '^ *+' conftest.er1 >conftest.err
13026 rm -f conftest.er1
13027 cat conftest.err >&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } && {
13030 test -z "$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13032 } && test -s conftest.$ac_objext; then
13033 ac_hi=$ac_mid
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13037
13038 ac_lo=`expr '(' $ac_mid ')' + 1`
13039 fi
13040
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13042 done
13043 case $ac_lo in
13044 ?*) ac_cv_sizeof___int64=$ac_lo;;
13045 '') if test "$ac_cv_type___int64" = yes; then
13046 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13047 See \`config.log' for more details." >&5
13048 echo "$as_me: error: cannot compute sizeof (__int64)
13049 See \`config.log' for more details." >&2;}
13050 { (exit 77); exit 77; }; }
13051 else
13052 ac_cv_sizeof___int64=0
13053 fi ;;
13054 esac
13055 else
13056 cat >conftest.$ac_ext <<_ACEOF
13057 /* confdefs.h. */
13058 _ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13063 typedef __int64 ac__type_sizeof_;
13064 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13065 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13066 #include <stdio.h>
13067 #include <stdlib.h>
13068 int
13069 main ()
13070 {
13071
13072 FILE *f = fopen ("conftest.val", "w");
13073 if (! f)
13074 return 1;
13075 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13076 {
13077 long int i = longval ();
13078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13079 return 1;
13080 fprintf (f, "%ld\n", i);
13081 }
13082 else
13083 {
13084 unsigned long int i = ulongval ();
13085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13086 return 1;
13087 fprintf (f, "%lu\n", i);
13088 }
13089 return ferror (f) || fclose (f) != 0;
13090
13091 ;
13092 return 0;
13093 }
13094 _ACEOF
13095 rm -f conftest$ac_exeext
13096 if { (ac_try="$ac_link"
13097 case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13100 esac
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_link") 2>&5
13103 ac_status=$?
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13106 { (case "(($ac_try" in
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108 *) ac_try_echo=$ac_try;;
13109 esac
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_try") 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 ac_cv_sizeof___int64=`cat conftest.val`
13116 else
13117 echo "$as_me: program exited with status $ac_status" >&5
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 ( exit $ac_status )
13122 if test "$ac_cv_type___int64" = yes; then
13123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
13124 See \`config.log' for more details." >&5
13125 echo "$as_me: error: cannot compute sizeof (__int64)
13126 See \`config.log' for more details." >&2;}
13127 { (exit 77); exit 77; }; }
759113128 else
759213129 ac_cv_sizeof___int64=0
759313130 fi
759413131 fi
7595
7596 fi
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
7598 $as_echo "$ac_cv_sizeof___int64" >&6; }
13132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13133 fi
13134 rm -f conftest.val
13135 fi
13136 { echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
13137 echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
759913138
760013139
760113140
760313142 #define SIZEOF___INT64 $ac_cv_sizeof___int64
760413143 _ACEOF
760513144
13145
13146 { echo "$as_me:$LINENO: checking for void *" >&5
13147 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
13148 if test "${ac_cv_type_void_p+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13158 typedef void * ac__type_new_;
13159 int
13160 main ()
13161 {
13162 if ((ac__type_new_ *) 0)
13163 return 0;
13164 if (sizeof (ac__type_new_))
13165 return 0;
13166 ;
13167 return 0;
13168 }
13169 _ACEOF
13170 rm -f conftest.$ac_objext
13171 if { (ac_try="$ac_compile"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_compile") 2>conftest.er1
13178 ac_status=$?
13179 grep -v '^ *+' conftest.er1 >conftest.err
13180 rm -f conftest.er1
13181 cat conftest.err >&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest.$ac_objext; then
13187 ac_cv_type_void_p=yes
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 ac_cv_type_void_p=no
13193 fi
13194
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13196 fi
13197 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13198 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
760613199
760713200 # The cast to long int works around a bug in the HP C Compiler
760813201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
760913202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
761013203 # This bug is HP SR number 8606223364.
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
7612 $as_echo_n "checking size of void *... " >&6; }
7613 if ${ac_cv_sizeof_void_p+:} false; then :
7614 $as_echo_n "(cached) " >&6
7615 else
7616 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
7617
7618 else
7619 if test "$ac_cv_type_void_p" = yes; then
7620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7622 as_fn_error 77 "cannot compute sizeof (void *)
7623 See \`config.log' for more details" "$LINENO" 5; }
13204 { echo "$as_me:$LINENO: checking size of void *" >&5
13205 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
13206 if test "${ac_cv_sizeof_void_p+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209 if test "$cross_compiling" = yes; then
13210 # Depending upon the size, compute the lo and hi bounds.
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217 $ac_includes_default
13218 typedef void * ac__type_sizeof_;
13219 int
13220 main ()
13221 {
13222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13223 test_array [0] = 0
13224
13225 ;
13226 return 0;
13227 }
13228 _ACEOF
13229 rm -f conftest.$ac_objext
13230 if { (ac_try="$ac_compile"
13231 case "(($ac_try" in
13232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13233 *) ac_try_echo=$ac_try;;
13234 esac
13235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13236 (eval "$ac_compile") 2>conftest.er1
13237 ac_status=$?
13238 grep -v '^ *+' conftest.er1 >conftest.err
13239 rm -f conftest.er1
13240 cat conftest.err >&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } && {
13243 test -z "$ac_c_werror_flag" ||
13244 test ! -s conftest.err
13245 } && test -s conftest.$ac_objext; then
13246 ac_lo=0 ac_mid=0
13247 while :; do
13248 cat >conftest.$ac_ext <<_ACEOF
13249 /* confdefs.h. */
13250 _ACEOF
13251 cat confdefs.h >>conftest.$ac_ext
13252 cat >>conftest.$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13254 $ac_includes_default
13255 typedef void * ac__type_sizeof_;
13256 int
13257 main ()
13258 {
13259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13260 test_array [0] = 0
13261
13262 ;
13263 return 0;
13264 }
13265 _ACEOF
13266 rm -f conftest.$ac_objext
13267 if { (ac_try="$ac_compile"
13268 case "(($ac_try" in
13269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13270 *) ac_try_echo=$ac_try;;
13271 esac
13272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13273 (eval "$ac_compile") 2>conftest.er1
13274 ac_status=$?
13275 grep -v '^ *+' conftest.er1 >conftest.err
13276 rm -f conftest.er1
13277 cat conftest.err >&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } && {
13280 test -z "$ac_c_werror_flag" ||
13281 test ! -s conftest.err
13282 } && test -s conftest.$ac_objext; then
13283 ac_hi=$ac_mid; break
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13287
13288 ac_lo=`expr $ac_mid + 1`
13289 if test $ac_lo -le $ac_mid; then
13290 ac_lo= ac_hi=
13291 break
13292 fi
13293 ac_mid=`expr 2 '*' $ac_mid + 1`
13294 fi
13295
13296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13297 done
13298 else
13299 echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.$ac_ext >&5
13301
13302 cat >conftest.$ac_ext <<_ACEOF
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 $ac_includes_default
13309 typedef void * ac__type_sizeof_;
13310 int
13311 main ()
13312 {
13313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13314 test_array [0] = 0
13315
13316 ;
13317 return 0;
13318 }
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (ac_try="$ac_compile"
13322 case "(($ac_try" in
13323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13324 *) ac_try_echo=$ac_try;;
13325 esac
13326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13327 (eval "$ac_compile") 2>conftest.er1
13328 ac_status=$?
13329 grep -v '^ *+' conftest.er1 >conftest.err
13330 rm -f conftest.er1
13331 cat conftest.err >&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } && {
13334 test -z "$ac_c_werror_flag" ||
13335 test ! -s conftest.err
13336 } && test -s conftest.$ac_objext; then
13337 ac_hi=-1 ac_mid=-1
13338 while :; do
13339 cat >conftest.$ac_ext <<_ACEOF
13340 /* confdefs.h. */
13341 _ACEOF
13342 cat confdefs.h >>conftest.$ac_ext
13343 cat >>conftest.$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 $ac_includes_default
13346 typedef void * ac__type_sizeof_;
13347 int
13348 main ()
13349 {
13350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13351 test_array [0] = 0
13352
13353 ;
13354 return 0;
13355 }
13356 _ACEOF
13357 rm -f conftest.$ac_objext
13358 if { (ac_try="$ac_compile"
13359 case "(($ac_try" in
13360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13361 *) ac_try_echo=$ac_try;;
13362 esac
13363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13364 (eval "$ac_compile") 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } && {
13371 test -z "$ac_c_werror_flag" ||
13372 test ! -s conftest.err
13373 } && test -s conftest.$ac_objext; then
13374 ac_lo=$ac_mid; break
13375 else
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13378
13379 ac_hi=`expr '(' $ac_mid ')' - 1`
13380 if test $ac_mid -le $ac_hi; then
13381 ac_lo= ac_hi=
13382 break
13383 fi
13384 ac_mid=`expr 2 '*' $ac_mid`
13385 fi
13386
13387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 done
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 ac_lo= ac_hi=
13394 fi
13395
13396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 fi
13398
13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400 # Binary search between lo and hi bounds.
13401 while test "x$ac_lo" != "x$ac_hi"; do
13402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 $ac_includes_default
13410 typedef void * ac__type_sizeof_;
13411 int
13412 main ()
13413 {
13414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13415 test_array [0] = 0
13416
13417 ;
13418 return 0;
13419 }
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (ac_try="$ac_compile"
13423 case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13426 esac
13427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_compile") 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } && {
13435 test -z "$ac_c_werror_flag" ||
13436 test ! -s conftest.err
13437 } && test -s conftest.$ac_objext; then
13438 ac_hi=$ac_mid
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 ac_lo=`expr '(' $ac_mid ')' + 1`
13444 fi
13445
13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 done
13448 case $ac_lo in
13449 ?*) ac_cv_sizeof_void_p=$ac_lo;;
13450 '') if test "$ac_cv_type_void_p" = yes; then
13451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13452 See \`config.log' for more details." >&5
13453 echo "$as_me: error: cannot compute sizeof (void *)
13454 See \`config.log' for more details." >&2;}
13455 { (exit 77); exit 77; }; }
13456 else
13457 ac_cv_sizeof_void_p=0
13458 fi ;;
13459 esac
13460 else
13461 cat >conftest.$ac_ext <<_ACEOF
13462 /* confdefs.h. */
13463 _ACEOF
13464 cat confdefs.h >>conftest.$ac_ext
13465 cat >>conftest.$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13467 $ac_includes_default
13468 typedef void * ac__type_sizeof_;
13469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13471 #include <stdio.h>
13472 #include <stdlib.h>
13473 int
13474 main ()
13475 {
13476
13477 FILE *f = fopen ("conftest.val", "w");
13478 if (! f)
13479 return 1;
13480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13481 {
13482 long int i = longval ();
13483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13484 return 1;
13485 fprintf (f, "%ld\n", i);
13486 }
13487 else
13488 {
13489 unsigned long int i = ulongval ();
13490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13491 return 1;
13492 fprintf (f, "%lu\n", i);
13493 }
13494 return ferror (f) || fclose (f) != 0;
13495
13496 ;
13497 return 0;
13498 }
13499 _ACEOF
13500 rm -f conftest$ac_exeext
13501 if { (ac_try="$ac_link"
13502 case "(($ac_try" in
13503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13504 *) ac_try_echo=$ac_try;;
13505 esac
13506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507 (eval "$ac_link") 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13514 esac
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 ac_cv_sizeof_void_p=`cat conftest.val`
13521 else
13522 echo "$as_me: program exited with status $ac_status" >&5
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 ( exit $ac_status )
13527 if test "$ac_cv_type_void_p" = yes; then
13528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
13529 See \`config.log' for more details." >&5
13530 echo "$as_me: error: cannot compute sizeof (void *)
13531 See \`config.log' for more details." >&2;}
13532 { (exit 77); exit 77; }; }
762413533 else
762513534 ac_cv_sizeof_void_p=0
762613535 fi
762713536 fi
7628
7629 fi
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
7631 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13538 fi
13539 rm -f conftest.val
13540 fi
13541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13542 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
763213543
763313544
763413545
763613547 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
763713548 _ACEOF
763813549
13550
13551 { echo "$as_me:$LINENO: checking for size_t" >&5
13552 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
13553 if test "${ac_cv_type_size_t+set}" = set; then
13554 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 else
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 $ac_includes_default
13563 typedef size_t ac__type_new_;
13564 int
13565 main ()
13566 {
13567 if ((ac__type_new_ *) 0)
13568 return 0;
13569 if (sizeof (ac__type_new_))
13570 return 0;
13571 ;
13572 return 0;
13573 }
13574 _ACEOF
13575 rm -f conftest.$ac_objext
13576 if { (ac_try="$ac_compile"
13577 case "(($ac_try" in
13578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13580 esac
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_compile") 2>conftest.er1
13583 ac_status=$?
13584 grep -v '^ *+' conftest.er1 >conftest.err
13585 rm -f conftest.er1
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest.$ac_objext; then
13592 ac_cv_type_size_t=yes
13593 else
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13596
13597 ac_cv_type_size_t=no
13598 fi
13599
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13601 fi
13602 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13603 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
763913604
764013605 # The cast to long int works around a bug in the HP C Compiler
764113606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
764213607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
764313608 # This bug is HP SR number 8606223364.
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
7645 $as_echo_n "checking size of size_t... " >&6; }
7646 if ${ac_cv_sizeof_size_t+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
7650
7651 else
7652 if test "$ac_cv_type_size_t" = yes; then
7653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7655 as_fn_error 77 "cannot compute sizeof (size_t)
7656 See \`config.log' for more details" "$LINENO" 5; }
13609 { echo "$as_me:$LINENO: checking size of size_t" >&5
13610 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
13611 if test "${ac_cv_sizeof_size_t+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 else
13614 if test "$cross_compiling" = yes; then
13615 # Depending upon the size, compute the lo and hi bounds.
13616 cat >conftest.$ac_ext <<_ACEOF
13617 /* confdefs.h. */
13618 _ACEOF
13619 cat confdefs.h >>conftest.$ac_ext
13620 cat >>conftest.$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13622 $ac_includes_default
13623 typedef size_t ac__type_sizeof_;
13624 int
13625 main ()
13626 {
13627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13628 test_array [0] = 0
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_lo=0 ac_mid=0
13652 while :; do
13653 cat >conftest.$ac_ext <<_ACEOF
13654 /* confdefs.h. */
13655 _ACEOF
13656 cat confdefs.h >>conftest.$ac_ext
13657 cat >>conftest.$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13660 typedef size_t ac__type_sizeof_;
13661 int
13662 main ()
13663 {
13664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13665 test_array [0] = 0
13666
13667 ;
13668 return 0;
13669 }
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (ac_try="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13676 esac
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.$ac_objext; then
13688 ac_hi=$ac_mid; break
13689 else
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13692
13693 ac_lo=`expr $ac_mid + 1`
13694 if test $ac_lo -le $ac_mid; then
13695 ac_lo= ac_hi=
13696 break
13697 fi
13698 ac_mid=`expr 2 '*' $ac_mid + 1`
13699 fi
13700
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 done
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13706
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 $ac_includes_default
13714 typedef size_t ac__type_sizeof_;
13715 int
13716 main ()
13717 {
13718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13719 test_array [0] = 0
13720
13721 ;
13722 return 0;
13723 }
13724 _ACEOF
13725 rm -f conftest.$ac_objext
13726 if { (ac_try="$ac_compile"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13730 esac
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && {
13739 test -z "$ac_c_werror_flag" ||
13740 test ! -s conftest.err
13741 } && test -s conftest.$ac_objext; then
13742 ac_hi=-1 ac_mid=-1
13743 while :; do
13744 cat >conftest.$ac_ext <<_ACEOF
13745 /* confdefs.h. */
13746 _ACEOF
13747 cat confdefs.h >>conftest.$ac_ext
13748 cat >>conftest.$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 $ac_includes_default
13751 typedef size_t ac__type_sizeof_;
13752 int
13753 main ()
13754 {
13755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13756 test_array [0] = 0
13757
13758 ;
13759 return 0;
13760 }
13761 _ACEOF
13762 rm -f conftest.$ac_objext
13763 if { (ac_try="$ac_compile"
13764 case "(($ac_try" in
13765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13766 *) ac_try_echo=$ac_try;;
13767 esac
13768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13769 (eval "$ac_compile") 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } && {
13776 test -z "$ac_c_werror_flag" ||
13777 test ! -s conftest.err
13778 } && test -s conftest.$ac_objext; then
13779 ac_lo=$ac_mid; break
13780 else
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13783
13784 ac_hi=`expr '(' $ac_mid ')' - 1`
13785 if test $ac_mid -le $ac_hi; then
13786 ac_lo= ac_hi=
13787 break
13788 fi
13789 ac_mid=`expr 2 '*' $ac_mid`
13790 fi
13791
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13793 done
13794 else
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 ac_lo= ac_hi=
13799 fi
13800
13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13802 fi
13803
13804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13805 # Binary search between lo and hi bounds.
13806 while test "x$ac_lo" != "x$ac_hi"; do
13807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13808 cat >conftest.$ac_ext <<_ACEOF
13809 /* confdefs.h. */
13810 _ACEOF
13811 cat confdefs.h >>conftest.$ac_ext
13812 cat >>conftest.$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13814 $ac_includes_default
13815 typedef size_t ac__type_sizeof_;
13816 int
13817 main ()
13818 {
13819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13820 test_array [0] = 0
13821
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 rm -f conftest.$ac_objext
13827 if { (ac_try="$ac_compile"
13828 case "(($ac_try" in
13829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13831 esac
13832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13833 (eval "$ac_compile") 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } && {
13840 test -z "$ac_c_werror_flag" ||
13841 test ! -s conftest.err
13842 } && test -s conftest.$ac_objext; then
13843 ac_hi=$ac_mid
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 ac_lo=`expr '(' $ac_mid ')' + 1`
13849 fi
13850
13851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13852 done
13853 case $ac_lo in
13854 ?*) ac_cv_sizeof_size_t=$ac_lo;;
13855 '') if test "$ac_cv_type_size_t" = yes; then
13856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot compute sizeof (size_t)
13859 See \`config.log' for more details." >&2;}
13860 { (exit 77); exit 77; }; }
13861 else
13862 ac_cv_sizeof_size_t=0
13863 fi ;;
13864 esac
13865 else
13866 cat >conftest.$ac_ext <<_ACEOF
13867 /* confdefs.h. */
13868 _ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 $ac_includes_default
13873 typedef size_t ac__type_sizeof_;
13874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13876 #include <stdio.h>
13877 #include <stdlib.h>
13878 int
13879 main ()
13880 {
13881
13882 FILE *f = fopen ("conftest.val", "w");
13883 if (! f)
13884 return 1;
13885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13886 {
13887 long int i = longval ();
13888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13889 return 1;
13890 fprintf (f, "%ld\n", i);
13891 }
13892 else
13893 {
13894 unsigned long int i = ulongval ();
13895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13896 return 1;
13897 fprintf (f, "%lu\n", i);
13898 }
13899 return ferror (f) || fclose (f) != 0;
13900
13901 ;
13902 return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_link") 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13916 { (case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_try") 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 ac_cv_sizeof_size_t=`cat conftest.val`
13926 else
13927 echo "$as_me: program exited with status $ac_status" >&5
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 ( exit $ac_status )
13932 if test "$ac_cv_type_size_t" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
13934 See \`config.log' for more details." >&5
13935 echo "$as_me: error: cannot compute sizeof (size_t)
13936 See \`config.log' for more details." >&2;}
13937 { (exit 77); exit 77; }; }
765713938 else
765813939 ac_cv_sizeof_size_t=0
765913940 fi
766013941 fi
7661
7662 fi
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
7664 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13943 fi
13944 rm -f conftest.val
13945 fi
13946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
13947 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
766513948
766613949
766713950
766913952 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
767013953 _ACEOF
767113954
13955
13956 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
13957 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
13958 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
13959 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 else
13961 cat >conftest.$ac_ext <<_ACEOF
13962 /* confdefs.h. */
13963 _ACEOF
13964 cat confdefs.h >>conftest.$ac_ext
13965 cat >>conftest.$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 $ac_includes_default
13968 typedef ptrdiff_t ac__type_new_;
13969 int
13970 main ()
13971 {
13972 if ((ac__type_new_ *) 0)
13973 return 0;
13974 if (sizeof (ac__type_new_))
13975 return 0;
13976 ;
13977 return 0;
13978 }
13979 _ACEOF
13980 rm -f conftest.$ac_objext
13981 if { (ac_try="$ac_compile"
13982 case "(($ac_try" in
13983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13985 esac
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_compile") 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } && {
13994 test -z "$ac_c_werror_flag" ||
13995 test ! -s conftest.err
13996 } && test -s conftest.$ac_objext; then
13997 ac_cv_type_ptrdiff_t=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14001
14002 ac_cv_type_ptrdiff_t=no
14003 fi
14004
14005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14006 fi
14007 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
14008 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
767214009
767314010 # The cast to long int works around a bug in the HP C Compiler
767414011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
767514012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
767614013 # This bug is HP SR number 8606223364.
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
7678 $as_echo_n "checking size of ptrdiff_t... " >&6; }
7679 if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
7683
7684 else
7685 if test "$ac_cv_type_ptrdiff_t" = yes; then
7686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7688 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
7689 See \`config.log' for more details" "$LINENO" 5; }
14014 { echo "$as_me:$LINENO: checking size of ptrdiff_t" >&5
14015 echo $ECHO_N "checking size of ptrdiff_t... $ECHO_C" >&6; }
14016 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 if test "$cross_compiling" = yes; then
14020 # Depending upon the size, compute the lo and hi bounds.
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14028 typedef ptrdiff_t ac__type_sizeof_;
14029 int
14030 main ()
14031 {
14032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14033 test_array [0] = 0
14034
14035 ;
14036 return 0;
14037 }
14038 _ACEOF
14039 rm -f conftest.$ac_objext
14040 if { (ac_try="$ac_compile"
14041 case "(($ac_try" in
14042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14043 *) ac_try_echo=$ac_try;;
14044 esac
14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14046 (eval "$ac_compile") 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } && {
14053 test -z "$ac_c_werror_flag" ||
14054 test ! -s conftest.err
14055 } && test -s conftest.$ac_objext; then
14056 ac_lo=0 ac_mid=0
14057 while :; do
14058 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */
14060 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 $ac_includes_default
14065 typedef ptrdiff_t ac__type_sizeof_;
14066 int
14067 main ()
14068 {
14069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14070 test_array [0] = 0
14071
14072 ;
14073 return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest.$ac_objext
14077 if { (ac_try="$ac_compile"
14078 case "(($ac_try" in
14079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 *) ac_try_echo=$ac_try;;
14081 esac
14082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_compile") 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && {
14090 test -z "$ac_c_werror_flag" ||
14091 test ! -s conftest.err
14092 } && test -s conftest.$ac_objext; then
14093 ac_hi=$ac_mid; break
14094 else
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 ac_lo=`expr $ac_mid + 1`
14099 if test $ac_lo -le $ac_mid; then
14100 ac_lo= ac_hi=
14101 break
14102 fi
14103 ac_mid=`expr 2 '*' $ac_mid + 1`
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 done
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14111
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 $ac_includes_default
14119 typedef ptrdiff_t ac__type_sizeof_;
14120 int
14121 main ()
14122 {
14123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14124 test_array [0] = 0
14125
14126 ;
14127 return 0;
14128 }
14129 _ACEOF
14130 rm -f conftest.$ac_objext
14131 if { (ac_try="$ac_compile"
14132 case "(($ac_try" in
14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14134 *) ac_try_echo=$ac_try;;
14135 esac
14136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14137 (eval "$ac_compile") 2>conftest.er1
14138 ac_status=$?
14139 grep -v '^ *+' conftest.er1 >conftest.err
14140 rm -f conftest.er1
14141 cat conftest.err >&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } && {
14144 test -z "$ac_c_werror_flag" ||
14145 test ! -s conftest.err
14146 } && test -s conftest.$ac_objext; then
14147 ac_hi=-1 ac_mid=-1
14148 while :; do
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14156 typedef ptrdiff_t ac__type_sizeof_;
14157 int
14158 main ()
14159 {
14160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14161 test_array [0] = 0
14162
14163 ;
14164 return 0;
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (ac_try="$ac_compile"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14172 esac
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_compile") 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } && {
14181 test -z "$ac_c_werror_flag" ||
14182 test ! -s conftest.err
14183 } && test -s conftest.$ac_objext; then
14184 ac_lo=$ac_mid; break
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_hi=`expr '(' $ac_mid ')' - 1`
14190 if test $ac_mid -le $ac_hi; then
14191 ac_lo= ac_hi=
14192 break
14193 fi
14194 ac_mid=`expr 2 '*' $ac_mid`
14195 fi
14196
14197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14198 done
14199 else
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14202
14203 ac_lo= ac_hi=
14204 fi
14205
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 fi
14208
14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 # Binary search between lo and hi bounds.
14211 while test "x$ac_lo" != "x$ac_hi"; do
14212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14213 cat >conftest.$ac_ext <<_ACEOF
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 typedef ptrdiff_t ac__type_sizeof_;
14221 int
14222 main ()
14223 {
14224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14225 test_array [0] = 0
14226
14227 ;
14228 return 0;
14229 }
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (ac_try="$ac_compile"
14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14236 esac
14237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14238 (eval "$ac_compile") 2>conftest.er1
14239 ac_status=$?
14240 grep -v '^ *+' conftest.er1 >conftest.err
14241 rm -f conftest.er1
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest.$ac_objext; then
14248 ac_hi=$ac_mid
14249 else
14250 echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.$ac_ext >&5
14252
14253 ac_lo=`expr '(' $ac_mid ')' + 1`
14254 fi
14255
14256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257 done
14258 case $ac_lo in
14259 ?*) ac_cv_sizeof_ptrdiff_t=$ac_lo;;
14260 '') if test "$ac_cv_type_ptrdiff_t" = yes; then
14261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14262 See \`config.log' for more details." >&5
14263 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14264 See \`config.log' for more details." >&2;}
14265 { (exit 77); exit 77; }; }
14266 else
14267 ac_cv_sizeof_ptrdiff_t=0
14268 fi ;;
14269 esac
14270 else
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_includes_default
14278 typedef ptrdiff_t ac__type_sizeof_;
14279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14281 #include <stdio.h>
14282 #include <stdlib.h>
14283 int
14284 main ()
14285 {
14286
14287 FILE *f = fopen ("conftest.val", "w");
14288 if (! f)
14289 return 1;
14290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14291 {
14292 long int i = longval ();
14293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14294 return 1;
14295 fprintf (f, "%ld\n", i);
14296 }
14297 else
14298 {
14299 unsigned long int i = ulongval ();
14300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14301 return 1;
14302 fprintf (f, "%lu\n", i);
14303 }
14304 return ferror (f) || fclose (f) != 0;
14305
14306 ;
14307 return 0;
14308 }
14309 _ACEOF
14310 rm -f conftest$ac_exeext
14311 if { (ac_try="$ac_link"
14312 case "(($ac_try" in
14313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14314 *) ac_try_echo=$ac_try;;
14315 esac
14316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14317 (eval "$ac_link") 2>&5
14318 ac_status=$?
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14321 { (case "(($ac_try" in
14322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323 *) ac_try_echo=$ac_try;;
14324 esac
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_try") 2>&5
14327 ac_status=$?
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; }; then
14330 ac_cv_sizeof_ptrdiff_t=`cat conftest.val`
14331 else
14332 echo "$as_me: program exited with status $ac_status" >&5
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336 ( exit $ac_status )
14337 if test "$ac_cv_type_ptrdiff_t" = yes; then
14338 { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t)
14339 See \`config.log' for more details." >&5
14340 echo "$as_me: error: cannot compute sizeof (ptrdiff_t)
14341 See \`config.log' for more details." >&2;}
14342 { (exit 77); exit 77; }; }
769014343 else
769114344 ac_cv_sizeof_ptrdiff_t=0
769214345 fi
769314346 fi
7694
7695 fi
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
7697 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
14347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14348 fi
14349 rm -f conftest.val
14350 fi
14351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_ptrdiff_t" >&5
14352 echo "${ECHO_T}$ac_cv_sizeof_ptrdiff_t" >&6; }
769814353
769914354
770014355
770314358 _ACEOF
770414359
770514360
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7708 if ${ac_cv_c_const+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14362 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
14363 if test "${ac_cv_c_const+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 else
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
771214371 /* end confdefs.h. */
771314372
771414373 int
776814427 return 0;
776914428 }
777014429 _ACEOF
7771 if ac_fn_c_try_compile "$LINENO"; then :
14430 rm -f conftest.$ac_objext
14431 if { (ac_try="$ac_compile"
14432 case "(($ac_try" in
14433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14434 *) ac_try_echo=$ac_try;;
14435 esac
14436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14437 (eval "$ac_compile") 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } && {
14444 test -z "$ac_c_werror_flag" ||
14445 test ! -s conftest.err
14446 } && test -s conftest.$ac_objext; then
777214447 ac_cv_c_const=yes
777314448 else
7774 ac_cv_c_const=no
7775 fi
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14451
14452 ac_cv_c_const=no
14453 fi
14454
777614455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
777714456 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
778014459 if test $ac_cv_c_const = no; then
778114460
7782 $as_echo "#define const /**/" >>confdefs.h
7783
7784 fi
14461 cat >>confdefs.h <<\_ACEOF
14462 #define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
778514470
778614471 for ac_func in memcmp memcpy memmove memset
7787 do :
7788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14472 do
14473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h. */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14487 #define $ac_func innocuous_$ac_func
14488
14489 /* System header to define __stub macros and hopefully few prototypes,
14490 which can conflict with char $ac_func (); below.
14491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14492 <limits.h> exists even on freestanding compilers. */
14493
14494 #ifdef __STDC__
14495 # include <limits.h>
14496 #else
14497 # include <assert.h>
14498 #endif
14499
14500 #undef $ac_func
14501
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 #ifdef __cplusplus
14506 extern "C"
14507 #endif
14508 char $ac_func ();
14509 /* The GNU C library defines this for functions which it implements
14510 to always fail with ENOSYS. Some functions are actually named
14511 something starting with __ and the normal name is an alias. */
14512 #if defined __stub_$ac_func || defined __stub___$ac_func
14513 choke me
14514 #endif
14515
14516 int
14517 main ()
14518 {
14519 return $ac_func ();
14520 ;
14521 return 0;
14522 }
14523 _ACEOF
14524 rm -f conftest.$ac_objext conftest$ac_exeext
14525 if { (ac_try="$ac_link"
14526 case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_link") 2>conftest.er1
14532 ac_status=$?
14533 grep -v '^ *+' conftest.er1 >conftest.err
14534 rm -f conftest.er1
14535 cat conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } && {
14538 test -z "$ac_c_werror_flag" ||
14539 test ! -s conftest.err
14540 } && test -s conftest$ac_exeext &&
14541 $as_test_x conftest$ac_exeext; then
14542 eval "$as_ac_var=yes"
14543 else
14544 echo "$as_me: failed program was:" >&5
14545 sed 's/^/| /' conftest.$ac_ext >&5
14546
14547 eval "$as_ac_var=no"
14548 fi
14549
14550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14551 conftest$ac_exeext conftest.$ac_ext
14552 fi
14553 ac_res=`eval echo '${'$as_ac_var'}'`
14554 { echo "$as_me:$LINENO: result: $ac_res" >&5
14555 echo "${ECHO_T}$ac_res" >&6; }
14556 if test `eval echo '${'$as_ac_var'}'` = yes; then
779114557 cat >>confdefs.h <<_ACEOF
7792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
779314559 _ACEOF
779414560
779514561 fi
779614562 done
779714563
779814564
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union semun" >&5
7800 $as_echo_n "checking for union semun... " >&6; }
7801 if ${ac_cv_struct_semun+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 { echo "$as_me:$LINENO: checking for union semun" >&5
14566 echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
14567 if test "${ac_cv_struct_semun+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 else
14570
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
780614576 /* end confdefs.h. */
780714577
780814578 #include <sys/types.h>
781914589 return 0;
782014590 }
782114591 _ACEOF
7822 if ac_fn_c_try_compile "$LINENO"; then :
14592 rm -f conftest.$ac_objext
14593 if { (ac_try="$ac_compile"
14594 case "(($ac_try" in
14595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14596 *) ac_try_echo=$ac_try;;
14597 esac
14598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14599 (eval "$ac_compile") 2>conftest.er1
14600 ac_status=$?
14601 grep -v '^ *+' conftest.er1 >conftest.err
14602 rm -f conftest.er1
14603 cat conftest.err >&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } && {
14606 test -z "$ac_c_werror_flag" ||
14607 test ! -s conftest.err
14608 } && test -s conftest.$ac_objext; then
782314609 ac_cv_struct_semun=yes
782414610 else
7825 ac_cv_struct_semun=no
7826
7827 fi
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_struct_semun=no
14615
14616 fi
14617
782814618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
782914619
783014620
783114621 fi
783214622
783314623
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
783614626 if test "$ac_cv_struct_semun" = "yes"; then
783714627
7838 $as_echo "#define HAVE_SEMUN 1" >>confdefs.h
7839
7840 fi
7841
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the %z format string in printf()" >&5
7843 $as_echo_n "checking for the %z format string in printf()... " >&6; }
7844 if test "$cross_compiling" = yes; then :
7845
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7848
7849
7850 else
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 cat >>confdefs.h <<\_ACEOF
14629 #define HAVE_SEMUN 1
14630 _ACEOF
14631
14632 fi
14633
14634 { echo "$as_me:$LINENO: checking for the %z format string in printf()" >&5
14635 echo $ECHO_N "checking for the %z format string in printf()... $ECHO_C" >&6; }
14636 if test "$cross_compiling" = yes; then
14637
14638 { echo "$as_me:$LINENO: result: no" >&5
14639 echo "${ECHO_T}no" >&6; }
14640
14641
14642 else
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
785214648 /* end confdefs.h. */
785314649
785414650 #include <stdio.h>
786614662 }
786714663
786814664 _ACEOF
7869 if ac_fn_c_try_run "$LINENO"; then :
7870
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7872 $as_echo "yes" >&6; }
7873
7874 $as_echo "#define HAVE_SIZE_T_Z_FORMAT 1" >>confdefs.h
7875
7876
7877 else
7878
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881
7882 fi
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7885 fi
14665 rm -f conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14669 *) ac_try_echo=$ac_try;;
14670 esac
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14676 { (case "(($ac_try" in
14677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14678 *) ac_try_echo=$ac_try;;
14679 esac
14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14681 (eval "$ac_try") 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685
14686 { echo "$as_me:$LINENO: result: yes" >&5
14687 echo "${ECHO_T}yes" >&6; }
14688
14689 cat >>confdefs.h <<\_ACEOF
14690 #define HAVE_SIZE_T_Z_FORMAT 1
14691 _ACEOF
14692
14693
14694 else
14695 echo "$as_me: program exited with status $ac_status" >&5
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699 ( exit $ac_status )
14700
14701 { echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6; }
14703
14704 fi
14705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14706 fi
14707
788614708
788714709
788814710 #AC_CONFIG_FILES([Makefile])
791514737 case $ac_val in #(
791614738 *${as_nl}*)
791714739 case $ac_var in #(
7918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14740 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14741 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
792014742 esac
792114743 case $ac_var in #(
792214744 _ | IFS | as_nl) ;; #(
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
14745 *) $as_unset $ac_var ;;
792514746 esac ;;
792614747 esac
792714748 done
792914750 (set) 2>&1 |
793014751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
793114752 *${as_nl}ac_space=\ *)
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
793414755 sed -n \
793514756 "s/'/'\\\\''/g;
793614757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
795214773 :end' >>confcache
795314774 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
795414775 if test -w "$cache_file"; then
7955 if test "x$cache_file" != "x/dev/null"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7957 $as_echo "$as_me: updating cache $cache_file" >&6;}
7958 if test ! -f "$cache_file" || test -h "$cache_file"; then
7959 cat confcache >"$cache_file"
7960 else
7961 case $cache_file in #(
7962 */* | ?:*)
7963 mv -f confcache "$cache_file"$$ &&
7964 mv -f "$cache_file"$$ "$cache_file" ;; #(
7965 *)
7966 mv -f confcache "$cache_file" ;;
7967 esac
7968 fi
7969 fi
14776 test "x$cache_file" != "x/dev/null" &&
14777 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14778 echo "$as_me: updating cache $cache_file" >&6;}
14779 cat confcache >$cache_file
797014780 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7972 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
797314783 fi
797414784 fi
797514785 rm -f confcache
798214792
798314793 ac_libobjs=
798414794 ac_ltlibobjs=
7985 U=
798614795 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
798714796 # 1. Remove the extension, and $U if already installed.
798814797 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
799014799 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
799114800 # will be set to the directory where LIBOBJS objects are built.
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
799414803 done
799514804 LIBOBJS=$ac_libobjs
799614805
799714806 LTLIBOBJS=$ac_ltlibobjs
799814807
799914808
8000 if test -n "$EXEEXT"; then
8001 am__EXEEXT_TRUE=
8002 am__EXEEXT_FALSE='#'
8003 else
8004 am__EXEEXT_TRUE='#'
8005 am__EXEEXT_FALSE=
8006 fi
8007
800814809 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14811 Usually this means the macro was only invoked conditionally." >&5
14812 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14813 Usually this means the macro was only invoked conditionally." >&2;}
14814 { (exit 1); exit 1; }; }
801114815 fi
801214816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14817 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14818 Usually this means the macro was only invoked conditionally." >&5
14819 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14820 Usually this means the macro was only invoked conditionally." >&2;}
14821 { (exit 1); exit 1; }; }
801514822 fi
801614823 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14825 Usually this means the macro was only invoked conditionally." >&5
14826 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14827 Usually this means the macro was only invoked conditionally." >&2;}
14828 { (exit 1); exit 1; }; }
801914829 fi
802014830 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14831 { { echo "$as_me:$LINENO: error: conditional \"FT2NFDUMP\" was never defined.
14832 Usually this means the macro was only invoked conditionally." >&5
14833 echo "$as_me: error: conditional \"FT2NFDUMP\" was never defined.
14834 Usually this means the macro was only invoked conditionally." >&2;}
14835 { (exit 1); exit 1; }; }
802314836 fi
802414837 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14839 Usually this means the macro was only invoked conditionally." >&5
14840 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14841 Usually this means the macro was only invoked conditionally." >&2;}
14842 { (exit 1); exit 1; }; }
802714843 fi
802814844 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14845 { { echo "$as_me:$LINENO: error: conditional \"NFPROFILE\" was never defined.
14846 Usually this means the macro was only invoked conditionally." >&5
14847 echo "$as_me: error: conditional \"NFPROFILE\" was never defined.
14848 Usually this means the macro was only invoked conditionally." >&2;}
14849 { (exit 1); exit 1; }; }
803114850 fi
803214851 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14852 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14853 Usually this means the macro was only invoked conditionally." >&5
14854 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14855 Usually this means the macro was only invoked conditionally." >&2;}
14856 { (exit 1); exit 1; }; }
803514857 fi
803614858 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 { { echo "$as_me:$LINENO: error: conditional \"NFTRACK\" was never defined.
14860 Usually this means the macro was only invoked conditionally." >&5
14861 echo "$as_me: error: conditional \"NFTRACK\" was never defined.
14862 Usually this means the macro was only invoked conditionally." >&2;}
14863 { (exit 1); exit 1; }; }
803914864 fi
804014865 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14866 { { echo "$as_me:$LINENO: error: conditional \"SFLOW\" was never defined.
14867 Usually this means the macro was only invoked conditionally." >&5
14868 echo "$as_me: error: conditional \"SFLOW\" was never defined.
14869 Usually this means the macro was only invoked conditionally." >&2;}
14870 { (exit 1); exit 1; }; }
804314871 fi
804414872 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
8045 as_fn_error $? "conditional \"READPCAP\" was never defined.
8046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8047 fi
8048
8049
8050 : "${CONFIG_STATUS=./config.status}"
8051 ac_write_fail=0
14873 { { echo "$as_me:$LINENO: error: conditional \"READPCAP\" was never defined.
14874 Usually this means the macro was only invoked conditionally." >&5
14875 echo "$as_me: error: conditional \"READPCAP\" was never defined.
14876 Usually this means the macro was only invoked conditionally." >&2;}
14877 { (exit 1); exit 1; }; }
14878 fi
14879
14880 : ${CONFIG_STATUS=./config.status}
805214881 ac_clean_files_save=$ac_clean_files
805314882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8055 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8056 as_write_fail=0
8057 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
805814886 #! $SHELL
805914887 # Generated by $as_me.
806014888 # Run this file to recreate the current configuration.
806414892 debug=false
806514893 ac_cs_recheck=false
806614894 ac_cs_silent=false
8067
806814895 SHELL=\${CONFIG_SHELL-$SHELL}
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
807514902
807614903 # Be more Bourne compatible
807714904 DUALCASE=1; export DUALCASE # for MKS sh
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
807914906 emulate sh
808014907 NULLCMD=:
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
808214909 # is contrary to our usage. Disable this feature.
808314910 alias -g '${1+"$@"}'='"$@"'
808414911 setopt NO_GLOB_SUBST
808514912 else
8086 case `(set -o) 2>/dev/null` in #(
8087 *posix*) :
8088 set -o posix ;; #(
8089 *) :
8090 ;;
8091 esac
8092 fi
8093
8094
8095 as_nl='
8096 '
8097 export as_nl
8098 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8099 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8102 # Prefer a ksh shell builtin over an external printf program on Solaris,
8103 # but without wasting forks for bash or zsh.
8104 if test -z "$BASH_VERSION$ZSH_VERSION" \
8105 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8106 as_echo='print -r --'
8107 as_echo_n='print -rn --'
8108 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8109 as_echo='printf %s\n'
8110 as_echo_n='printf %s'
8111 else
8112 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8113 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8114 as_echo_n='/usr/ucb/echo -n'
8115 else
8116 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8117 as_echo_n_body='eval
8118 arg=$1;
8119 case $arg in #(
8120 *"$as_nl"*)
8121 expr "X$arg" : "X\\(.*\\)$as_nl";
8122 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8123 esac;
8124 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8125 '
8126 export as_echo_n_body
8127 as_echo_n='sh -c $as_echo_n_body as_echo'
8128 fi
8129 export as_echo_body
8130 as_echo='sh -c $as_echo_body as_echo'
8131 fi
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
14915 esac
14916
14917 fi
14918
14919
14920
14921
14922 # PATH needs CR
14923 # Avoid depending upon Character Ranges.
14924 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14925 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14926 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14927 as_cr_digits='0123456789'
14928 as_cr_alnum=$as_cr_Letters$as_cr_digits
813214929
813314930 # The user is always right.
813414931 if test "${PATH_SEPARATOR+set}" != set; then
8135 PATH_SEPARATOR=:
8136 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8137 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8138 PATH_SEPARATOR=';'
8139 }
14932 echo "#! /bin/sh" >conf$$.sh
14933 echo "exit 0" >>conf$$.sh
14934 chmod +x conf$$.sh
14935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14936 PATH_SEPARATOR=';'
14937 else
14938 PATH_SEPARATOR=:
14939 fi
14940 rm -f conf$$.sh
14941 fi
14942
14943 # Support unset when possible.
14944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14945 as_unset=unset
14946 else
14947 as_unset=false
814014948 fi
814114949
814214950
814514953 # there to prevent editors from complaining about space-tab.
814614954 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
814714955 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
814814958 IFS=" "" $as_nl"
814914959
815014960 # Find who we are. Look in the path if we contain no directory separator.
8151 as_myself=
8152 case $0 in #((
14961 case $0 in
815314962 *[\\/]* ) as_myself=$0 ;;
815414963 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
815514964 for as_dir in $PATH
815614965 do
815714966 IFS=$as_save_IFS
815814967 test -z "$as_dir" && as_dir=.
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
816114970 IFS=$as_save_IFS
816214971
816314972 ;;
816814977 as_myself=$0
816914978 fi
817014979 if test ! -f "$as_myself"; then
8171 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8172 exit 1
8173 fi
8174
8175 # Unset variables that we do not need and which cause bugs (e.g. in
8176 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8177 # suppresses any "Segmentation fault" message there. '((' could
8178 # trigger a bug in pdksh 5.2.14.
8179 for as_var in BASH_ENV ENV MAIL MAILPATH
8180 do eval test x\${$as_var+set} = xset \
8181 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14980 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14981 { (exit 1); exit 1; }
14982 fi
14983
14984 # Work around bugs in pre-3.0 UWIN ksh.
14985 for as_var in ENV MAIL MAILPATH
14986 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
818214987 done
818314988 PS1='$ '
818414989 PS2='> '
818514990 PS4='+ '
818614991
818714992 # NLS nuisances.
8188 LC_ALL=C
8189 export LC_ALL
8190 LANGUAGE=C
8191 export LANGUAGE
8192
8193 # CDPATH.
8194 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8195
8196
8197 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8198 # ----------------------------------------
8199 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8200 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8201 # script with STATUS, using 1 if that was 0.
8202 as_fn_error ()
8203 {
8204 as_status=$1; test $as_status -eq 0 && as_status=1
8205 if test "$4"; then
8206 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8207 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14993 for as_var in \
14994 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14995 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14996 LC_TELEPHONE LC_TIME
14997 do
14998 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14999 eval $as_var=C; export $as_var
15000 else
15001 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
820815002 fi
8209 $as_echo "$as_me: error: $2" >&2
8210 as_fn_exit $as_status
8211 } # as_fn_error
8212
8213
8214 # as_fn_set_status STATUS
8215 # -----------------------
8216 # Set $? to STATUS, without forking.
8217 as_fn_set_status ()
8218 {
8219 return $1
8220 } # as_fn_set_status
8221
8222 # as_fn_exit STATUS
8223 # -----------------
8224 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8225 as_fn_exit ()
8226 {
8227 set +e
8228 as_fn_set_status $1
8229 exit $1
8230 } # as_fn_exit
8231
8232 # as_fn_unset VAR
8233 # ---------------
8234 # Portably unset VAR.
8235 as_fn_unset ()
8236 {
8237 { eval $1=; unset $1;}
8238 }
8239 as_unset=as_fn_unset
8240 # as_fn_append VAR VALUE
8241 # ----------------------
8242 # Append the text in VALUE to the end of the definition contained in VAR. Take
8243 # advantage of any shell optimizations that allow amortized linear growth over
8244 # repeated appends, instead of the typical quadratic growth present in naive
8245 # implementations.
8246 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8247 eval 'as_fn_append ()
8248 {
8249 eval $1+=\$2
8250 }'
8251 else
8252 as_fn_append ()
8253 {
8254 eval $1=\$$1\$2
8255 }
8256 fi # as_fn_append
8257
8258 # as_fn_arith ARG...
8259 # ------------------
8260 # Perform arithmetic evaluation on the ARGs, and store the result in the
8261 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8262 # must be portable across $(()) and expr.
8263 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8264 eval 'as_fn_arith ()
8265 {
8266 as_val=$(( $* ))
8267 }'
8268 else
8269 as_fn_arith ()
8270 {
8271 as_val=`expr "$@" || test $? -eq 1`
8272 }
8273 fi # as_fn_arith
8274
8275
15003 done
15004
15005 # Required to use basename.
827615006 if expr a : '\(a\)' >/dev/null 2>&1 &&
827715007 test "X`expr 00001 : '.*\(...\)'`" = X001; then
827815008 as_expr=expr
828615016 as_basename=false
828715017 fi
828815018
8289 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8290 as_dirname=dirname
8291 else
8292 as_dirname=false
8293 fi
8294
15019
15020 # Name of the executable.
829515021 as_me=`$as_basename -- "$0" ||
829615022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
829715023 X"$0" : 'X\(//\)$' \| \
829815024 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8299 $as_echo X/"$0" |
15025 echo X/"$0" |
830015026 sed '/^.*\/\([^/][^/]*\)\/*$/{
830115027 s//\1/
830215028 q
831115037 }
831215038 s/.*/./; q'`
831315039
8314 # Avoid depending upon Character Ranges.
8315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8318 as_cr_digits='0123456789'
8319 as_cr_alnum=$as_cr_Letters$as_cr_digits
15040 # CDPATH.
15041 $as_unset CDPATH
15042
15043
15044
15045 as_lineno_1=$LINENO
15046 as_lineno_2=$LINENO
15047 test "x$as_lineno_1" != "x$as_lineno_2" &&
15048 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15049
15050 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15051 # uniformly replaced by the line number. The first 'sed' inserts a
15052 # line-number line after each line using $LINENO; the second 'sed'
15053 # does the real work. The second script uses 'N' to pair each
15054 # line-number line with the line containing $LINENO, and appends
15055 # trailing '-' during substitution so that $LINENO is not a special
15056 # case at line end.
15057 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15058 # scripts with optimization help from Paolo Bonzini. Blame Lee
15059 # E. McMahon (1931-1989) for sed's syntax. :-)
15060 sed -n '
15061 p
15062 /[$]LINENO/=
15063 ' <$as_myself |
15064 sed '
15065 s/[$]LINENO.*/&-/
15066 t lineno
15067 b
15068 :lineno
15069 N
15070 :loop
15071 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15072 t loop
15073 s/-\n.*//
15074 ' >$as_me.lineno &&
15075 chmod +x "$as_me.lineno" ||
15076 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15077 { (exit 1); exit 1; }; }
15078
15079 # Don't try to exec as it changes $[0], causing all sort of problems
15080 # (the dirname of $[0] is not the place where we might find the
15081 # original and so on. Autoconf is especially sensitive to this).
15082 . "./$as_me.lineno"
15083 # Exit status is that of the last command.
15084 exit
15085 }
15086
15087
15088 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15089 as_dirname=dirname
15090 else
15091 as_dirname=false
15092 fi
832015093
832115094 ECHO_C= ECHO_N= ECHO_T=
8322 case `echo -n x` in #(((((
15095 case `echo -n x` in
832315096 -n*)
8324 case `echo 'xy\c'` in
15097 case `echo 'x\c'` in
832515098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
15099 *) ECHO_C='\c';;
832915100 esac;;
833015101 *)
833115102 ECHO_N='-n';;
833215103 esac
833315104
15105 if expr a : '\(a\)' >/dev/null 2>&1 &&
15106 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15107 as_expr=expr
15108 else
15109 as_expr=false
15110 fi
15111
833415112 rm -f conf$$ conf$$.exe conf$$.file
833515113 if test -d conf$$.dir; then
833615114 rm -f conf$$.dir/conf$$.file
833715115 else
833815116 rm -f conf$$.dir
8339 mkdir conf$$.dir 2>/dev/null
8340 fi
8341 if (echo >conf$$.file) 2>/dev/null; then
8342 if ln -s conf$$.file conf$$ 2>/dev/null; then
8343 as_ln_s='ln -s'
8344 # ... but there are two gotchas:
8345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8347 # In both cases, we have to default to `cp -p'.
8348 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8349 as_ln_s='cp -p'
8350 elif ln conf$$.file conf$$ 2>/dev/null; then
8351 as_ln_s=ln
8352 else
15117 mkdir conf$$.dir
15118 fi
15119 echo >conf$$.file
15120 if ln -s conf$$.file conf$$ 2>/dev/null; then
15121 as_ln_s='ln -s'
15122 # ... but there are two gotchas:
15123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15125 # In both cases, we have to default to `cp -p'.
15126 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
835315127 as_ln_s='cp -p'
8354 fi
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
835515130 else
835615131 as_ln_s='cp -p'
835715132 fi
835815133 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
835915134 rmdir conf$$.dir 2>/dev/null
836015135
8361
8362 # as_fn_mkdir_p
8363 # -------------
8364 # Create "$as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
15136 if mkdir -p . 2>/dev/null; then
15137 as_mkdir_p=:
15138 else
15139 test -d ./-p && rmdir ./-p
15140 as_mkdir_p=false
15141 fi
15142
15143 if test -x / >/dev/null 2>&1; then
15144 as_test_x='test -x'
15145 else
15146 if ls -dL / >/dev/null 2>&1; then
15147 as_ls_L_option=L
15148 else
15149 as_ls_L_option=
15150 fi
15151 as_test_x='
15152 eval sh -c '\''
15153 if test -d "$1"; then
15154 test -d "$1/.";
15155 else
15156 case $1 in
15157 -*)set "./$1";;
15158 esac;
15159 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15160 ???[sx]*):;;*)false;;esac;fi
15161 '\'' sh
15162 '
15163 fi
15164 as_executable_p=$as_test_x
15165
15166 # Sed expression to map a string onto a valid CPP name.
15167 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15168
15169 # Sed expression to map a string onto a valid variable name.
15170 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15171
15172
15173 exec 6>&1
15174
15175 # Save the log message, to keep $[0] and so on meaningful, and to
15176 # report actual input values of CONFIG_FILES etc. instead of their
15177 # values after options handling.
15178 ac_log="
15179 This file was extended by nfdump $as_me 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, which was
15180 generated by GNU Autoconf 2.61. Invocation command line was
15181
15182 CONFIG_FILES = $CONFIG_FILES
15183 CONFIG_HEADERS = $CONFIG_HEADERS
15184 CONFIG_LINKS = $CONFIG_LINKS
15185 CONFIG_COMMANDS = $CONFIG_COMMANDS
15186 $ $0 $@
15187
15188 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15189 "
15190
15191 _ACEOF
15192
15193 cat >>$CONFIG_STATUS <<_ACEOF
15194 # Files that config.status was made for.
15195 config_files="$ac_config_files"
15196 config_headers="$ac_config_headers"
15197 config_commands="$ac_config_commands"
15198
15199 _ACEOF
15200
15201 cat >>$CONFIG_STATUS <<\_ACEOF
15202 ac_cs_usage="\
15203 \`$as_me' instantiates files from templates according to the
15204 current configuration.
15205
15206 Usage: $0 [OPTIONS] [FILE]...
15207
15208 -h, --help print this help, then exit
15209 -V, --version print version number and configuration settings, then exit
15210 -q, --quiet do not print progress messages
15211 -d, --debug don't remove temporary files
15212 --recheck update $as_me by reconfiguring in the same conditions
15213 --file=FILE[:TEMPLATE]
15214 instantiate the configuration file FILE
15215 --header=FILE[:TEMPLATE]
15216 instantiate the configuration header FILE
15217
15218 Configuration files:
15219 $config_files
15220
15221 Configuration headers:
15222 $config_headers
15223
15224 Configuration commands:
15225 $config_commands
15226
15227 Report bugs to <bug-autoconf@gnu.org>."
15228
15229 _ACEOF
15230 cat >>$CONFIG_STATUS <<_ACEOF
15231 ac_cs_version="\\
15232 nfdump config.status 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $
15233 configured by $0, generated by GNU Autoconf 2.61,
15234 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15235
15236 Copyright (C) 2006 Free Software Foundation, Inc.
15237 This config.status script is free software; the Free Software Foundation
15238 gives unlimited permission to copy, distribute and modify it."
15239
15240 ac_pwd='$ac_pwd'
15241 srcdir='$srcdir'
15242 INSTALL='$INSTALL'
15243 MKDIR_P='$MKDIR_P'
15244 _ACEOF
15245
15246 cat >>$CONFIG_STATUS <<\_ACEOF
15247 # If no file are specified by the user, then we need to provide default
15248 # value. By we need to know if files were specified by the user.
15249 ac_need_defaults=:
15250 while test $# != 0
15251 do
15252 case $1 in
15253 --*=*)
15254 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15256 ac_shift=:
15257 ;;
15258 *)
15259 ac_option=$1
15260 ac_optarg=$2
15261 ac_shift=shift
15262 ;;
15263 esac
15264
15265 case $ac_option in
15266 # Handling of the options.
15267 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15268 ac_cs_recheck=: ;;
15269 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15270 echo "$ac_cs_version"; exit ;;
15271 --debug | --debu | --deb | --de | --d | -d )
15272 debug=: ;;
15273 --file | --fil | --fi | --f )
15274 $ac_shift
15275 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15276 ac_need_defaults=false;;
15277 --header | --heade | --head | --hea )
15278 $ac_shift
15279 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15280 ac_need_defaults=false;;
15281 --he | --h)
15282 # Conflict between --help and --header
15283 { echo "$as_me: error: ambiguous option: $1
15284 Try \`$0 --help' for more information." >&2
15285 { (exit 1); exit 1; }; };;
15286 --help | --hel | -h )
15287 echo "$ac_cs_usage"; exit ;;
15288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15289 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15290 ac_cs_silent=: ;;
15291
15292 # This is an error.
15293 -*) { echo "$as_me: error: unrecognized option: $1
15294 Try \`$0 --help' for more information." >&2
15295 { (exit 1); exit 1; }; } ;;
15296
15297 *) ac_config_targets="$ac_config_targets $1"
15298 ac_need_defaults=false ;;
15299
15300 esac
15301 shift
15302 done
15303
15304 ac_configure_extra_args=
15305
15306 if $ac_cs_silent; then
15307 exec 6>/dev/null
15308 ac_configure_extra_args="$ac_configure_extra_args --silent"
15309 fi
15310
15311 _ACEOF
15312 cat >>$CONFIG_STATUS <<_ACEOF
15313 if \$ac_cs_recheck; then
15314 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15315 CONFIG_SHELL=$SHELL
15316 export CONFIG_SHELL
15317 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15318 fi
15319
15320 _ACEOF
15321 cat >>$CONFIG_STATUS <<\_ACEOF
15322 exec 5>>config.log
836615323 {
8367
15324 echo
15325 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15326 ## Running $as_me. ##
15327 _ASBOX
15328 echo "$ac_log"
15329 } >&5
15330
15331 _ACEOF
15332 cat >>$CONFIG_STATUS <<_ACEOF
15333 #
15334 # INIT-COMMANDS
15335 #
15336 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15337
15338 _ACEOF
15339
15340 cat >>$CONFIG_STATUS <<\_ACEOF
15341
15342 # Handling of arguments.
15343 for ac_config_target in $ac_config_targets
15344 do
15345 case $ac_config_target in
15346 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15347 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15348 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15349 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
15350 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15351
15352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15354 { (exit 1); exit 1; }; };;
15355 esac
15356 done
15357
15358
15359 # If the user did not use the arguments to specify the items to instantiate,
15360 # then the envvar interface is used. Set only those that are not.
15361 # We use the long form for the default assignment because of an extremely
15362 # bizarre bug on SunOS 4.1.3.
15363 if $ac_need_defaults; then
15364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15367 fi
15368
15369 # Have a temporary directory for convenience. Make it in the build tree
15370 # simply because there is no reason against having it here, and in addition,
15371 # creating and moving files from /tmp can sometimes cause problems.
15372 # Hook for its removal unless debugging.
15373 # Note that there is a small window in which the directory will not be cleaned:
15374 # after its creation but before its name has been assigned to `$tmp'.
15375 $debug ||
15376 {
15377 tmp=
15378 trap 'exit_status=$?
15379 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15380 ' 0
15381 trap '{ (exit 1); exit 1; }' 1 2 13 15
15382 }
15383 # Create a (secure) tmp directory for tmp files.
15384
15385 {
15386 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15387 test -n "$tmp" && test -d "$tmp"
15388 } ||
15389 {
15390 tmp=./conf$$-$RANDOM
15391 (umask 077 && mkdir "$tmp")
15392 } ||
15393 {
15394 echo "$me: cannot create a temporary directory in ." >&2
15395 { (exit 1); exit 1; }
15396 }
15397
15398 #
15399 # Set up the sed scripts for CONFIG_FILES section.
15400 #
15401
15402 # No need to generate the scripts if there are no CONFIG_FILES.
15403 # This happens for instance when ./config.status config.h
15404 if test -n "$CONFIG_FILES"; then
15405
15406 _ACEOF
15407
15408
15409
15410 ac_delim='%!_!# '
15411 for ac_last_try in false false false false false :; do
15412 cat >conf$$subs.sed <<_ACEOF
15413 SHELL!$SHELL$ac_delim
15414 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15415 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15416 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15417 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15418 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15419 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15420 exec_prefix!$exec_prefix$ac_delim
15421 prefix!$prefix$ac_delim
15422 program_transform_name!$program_transform_name$ac_delim
15423 bindir!$bindir$ac_delim
15424 sbindir!$sbindir$ac_delim
15425 libexecdir!$libexecdir$ac_delim
15426 datarootdir!$datarootdir$ac_delim
15427 datadir!$datadir$ac_delim
15428 sysconfdir!$sysconfdir$ac_delim
15429 sharedstatedir!$sharedstatedir$ac_delim
15430 localstatedir!$localstatedir$ac_delim
15431 includedir!$includedir$ac_delim
15432 oldincludedir!$oldincludedir$ac_delim
15433 docdir!$docdir$ac_delim
15434 infodir!$infodir$ac_delim
15435 htmldir!$htmldir$ac_delim
15436 dvidir!$dvidir$ac_delim
15437 pdfdir!$pdfdir$ac_delim
15438 psdir!$psdir$ac_delim
15439 libdir!$libdir$ac_delim
15440 localedir!$localedir$ac_delim
15441 mandir!$mandir$ac_delim
15442 DEFS!$DEFS$ac_delim
15443 ECHO_C!$ECHO_C$ac_delim
15444 ECHO_N!$ECHO_N$ac_delim
15445 ECHO_T!$ECHO_T$ac_delim
15446 LIBS!$LIBS$ac_delim
15447 build_alias!$build_alias$ac_delim
15448 host_alias!$host_alias$ac_delim
15449 target_alias!$target_alias$ac_delim
15450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15452 INSTALL_DATA!$INSTALL_DATA$ac_delim
15453 am__isrc!$am__isrc$ac_delim
15454 CYGPATH_W!$CYGPATH_W$ac_delim
15455 PACKAGE!$PACKAGE$ac_delim
15456 VERSION!$VERSION$ac_delim
15457 ACLOCAL!$ACLOCAL$ac_delim
15458 AUTOCONF!$AUTOCONF$ac_delim
15459 AUTOMAKE!$AUTOMAKE$ac_delim
15460 AUTOHEADER!$AUTOHEADER$ac_delim
15461 MAKEINFO!$MAKEINFO$ac_delim
15462 install_sh!$install_sh$ac_delim
15463 STRIP!$STRIP$ac_delim
15464 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15465 mkdir_p!$mkdir_p$ac_delim
15466 AWK!$AWK$ac_delim
15467 SET_MAKE!$SET_MAKE$ac_delim
15468 am__leading_dot!$am__leading_dot$ac_delim
15469 AMTAR!$AMTAR$ac_delim
15470 am__tar!$am__tar$ac_delim
15471 am__untar!$am__untar$ac_delim
15472 CC!$CC$ac_delim
15473 CFLAGS!$CFLAGS$ac_delim
15474 LDFLAGS!$LDFLAGS$ac_delim
15475 CPPFLAGS!$CPPFLAGS$ac_delim
15476 ac_ct_CC!$ac_ct_CC$ac_delim
15477 EXEEXT!$EXEEXT$ac_delim
15478 OBJEXT!$OBJEXT$ac_delim
15479 DEPDIR!$DEPDIR$ac_delim
15480 am__include!$am__include$ac_delim
15481 am__quote!$am__quote$ac_delim
15482 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15483 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15484 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15485 CCDEPMODE!$CCDEPMODE$ac_delim
15486 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15487 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15488 YACC!$YACC$ac_delim
15489 YFLAGS!$YFLAGS$ac_delim
15490 LEX!$LEX$ac_delim
15491 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
15492 LEXLIB!$LEXLIB$ac_delim
15493 FT2NFDUMP_TRUE!$FT2NFDUMP_TRUE$ac_delim
15494 FT2NFDUMP_FALSE!$FT2NFDUMP_FALSE$ac_delim
15495 NFPROFILE_TRUE!$NFPROFILE_TRUE$ac_delim
15496 NFPROFILE_FALSE!$NFPROFILE_FALSE$ac_delim
15497 RRD_LIBS!$RRD_LIBS$ac_delim
15498 CPP!$CPP$ac_delim
15499 GREP!$GREP$ac_delim
15500 EGREP!$EGREP$ac_delim
15501 NFTRACK_TRUE!$NFTRACK_TRUE$ac_delim
15502 NFTRACK_FALSE!$NFTRACK_FALSE$ac_delim
15503 SFLOW_TRUE!$SFLOW_TRUE$ac_delim
15504 SFLOW_FALSE!$SFLOW_FALSE$ac_delim
15505 READPCAP_TRUE!$READPCAP_TRUE$ac_delim
15506 READPCAP_FALSE!$READPCAP_FALSE$ac_delim
15507 FT_INCLUDES!$FT_INCLUDES$ac_delim
15508 FT_LDFLAGS!$FT_LDFLAGS$ac_delim
15509 LFLAGS!$LFLAGS$ac_delim
15510 _ACEOF
15511
15512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15513 break
15514 elif $ac_last_try; then
15515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15517 { (exit 1); exit 1; }; }
15518 else
15519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15520 fi
15521 done
15522
15523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15524 if test -n "$ac_eof"; then
15525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15526 ac_eof=`expr $ac_eof + 1`
15527 fi
15528
15529 cat >>$CONFIG_STATUS <<_ACEOF
15530 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15532 _ACEOF
15533 sed '
15534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15535 s/^/s,@/; s/!/@,|#_!!_#|/
15536 :n
15537 t n
15538 s/'"$ac_delim"'$/,g/; t
15539 s/$/\\/; p
15540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15541 ' >>$CONFIG_STATUS <conf$$subs.sed
15542 rm -f conf$$subs.sed
15543 cat >>$CONFIG_STATUS <<_ACEOF
15544 CEOF$ac_eof
15545 _ACEOF
15546
15547
15548 ac_delim='%!_!# '
15549 for ac_last_try in false false false false false :; do
15550 cat >conf$$subs.sed <<_ACEOF
15551 FTS_OBJ!$FTS_OBJ$ac_delim
15552 LIBOBJS!$LIBOBJS$ac_delim
15553 LTLIBOBJS!$LTLIBOBJS$ac_delim
15554 _ACEOF
15555
15556 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
15557 break
15558 elif $ac_last_try; then
15559 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15560 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15561 { (exit 1); exit 1; }; }
15562 else
15563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15564 fi
15565 done
15566
15567 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15568 if test -n "$ac_eof"; then
15569 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15570 ac_eof=`expr $ac_eof + 1`
15571 fi
15572
15573 cat >>$CONFIG_STATUS <<_ACEOF
15574 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15576 _ACEOF
15577 sed '
15578 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15579 s/^/s,@/; s/!/@,|#_!!_#|/
15580 :n
15581 t n
15582 s/'"$ac_delim"'$/,g/; t
15583 s/$/\\/; p
15584 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15585 ' >>$CONFIG_STATUS <conf$$subs.sed
15586 rm -f conf$$subs.sed
15587 cat >>$CONFIG_STATUS <<_ACEOF
15588 :end
15589 s/|#_!!_#|//g
15590 CEOF$ac_eof
15591 _ACEOF
15592
15593
15594 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15595 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15596 # trailing colons and then remove the whole line if VPATH becomes empty
15597 # (actually we leave an empty line to preserve line numbers).
15598 if test "x$srcdir" = x.; then
15599 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15600 s/:*\$(srcdir):*/:/
15601 s/:*\${srcdir}:*/:/
15602 s/:*@srcdir@:*/:/
15603 s/^\([^=]*=[ ]*\):*/\1/
15604 s/:*$//
15605 s/^[^=]*=[ ]*$//
15606 }'
15607 fi
15608
15609 cat >>$CONFIG_STATUS <<\_ACEOF
15610 fi # test -n "$CONFIG_FILES"
15611
15612
15613 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
15614 do
15615 case $ac_tag in
15616 :[FHLC]) ac_mode=$ac_tag; continue;;
15617 esac
15618 case $ac_mode$ac_tag in
15619 :[FHL]*:*);;
15620 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15621 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15622 { (exit 1); exit 1; }; };;
15623 :[FH]-) ac_tag=-:-;;
15624 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15625 esac
15626 ac_save_IFS=$IFS
15627 IFS=:
15628 set x $ac_tag
15629 IFS=$ac_save_IFS
15630 shift
15631 ac_file=$1
15632 shift
15633
15634 case $ac_mode in
15635 :L) ac_source=$1;;
15636 :[FH])
15637 ac_file_inputs=
15638 for ac_f
15639 do
15640 case $ac_f in
15641 -) ac_f="$tmp/stdin";;
15642 *) # Look for the file first in the build tree, then in the source tree
15643 # (if the path is not absolute). The absolute path cannot be DOS-style,
15644 # because $ac_f cannot contain `:'.
15645 test -f "$ac_f" ||
15646 case $ac_f in
15647 [\\/$]*) false;;
15648 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15649 esac ||
15650 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15651 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15652 { (exit 1); exit 1; }; };;
15653 esac
15654 ac_file_inputs="$ac_file_inputs $ac_f"
15655 done
15656
15657 # Let's still pretend it is `configure' which instantiates (i.e., don't
15658 # use $as_me), people would be surprised to read:
15659 # /* config.h. Generated by config.status. */
15660 configure_input="Generated from "`IFS=:
15661 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15662 if test x"$ac_file" != x-; then
15663 configure_input="$ac_file. $configure_input"
15664 { echo "$as_me:$LINENO: creating $ac_file" >&5
15665 echo "$as_me: creating $ac_file" >&6;}
15666 fi
15667
15668 case $ac_tag in
15669 *:-:* | *:-) cat >"$tmp/stdin";;
15670 esac
15671 ;;
15672 esac
15673
15674 ac_dir=`$as_dirname -- "$ac_file" ||
15675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676 X"$ac_file" : 'X\(//\)[^/]' \| \
15677 X"$ac_file" : 'X\(//\)$' \| \
15678 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15679 echo X"$ac_file" |
15680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15681 s//\1/
15682 q
15683 }
15684 /^X\(\/\/\)[^/].*/{
15685 s//\1/
15686 q
15687 }
15688 /^X\(\/\/\)$/{
15689 s//\1/
15690 q
15691 }
15692 /^X\(\/\).*/{
15693 s//\1/
15694 q
15695 }
15696 s/.*/./; q'`
15697 { as_dir="$ac_dir"
836815698 case $as_dir in #(
836915699 -*) as_dir=./$as_dir;;
837015700 esac
8371 test -d "$as_dir" || eval $as_mkdir_p || {
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
837215702 as_dirs=
837315703 while :; do
837415704 case $as_dir in #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
837615706 *) as_qdir=$as_dir;;
837715707 esac
837815708 as_dirs="'$as_qdir' $as_dirs"
838115711 X"$as_dir" : 'X\(//\)[^/]' \| \
838215712 X"$as_dir" : 'X\(//\)$' \| \
838315713 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8384 $as_echo X"$as_dir" |
15714 echo X"$as_dir" |
838515715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
838615716 s//\1/
838715717 q
840215732 test -d "$as_dir" && break
840315733 done
840415734 test -z "$as_dirs" || eval "mkdir $as_dirs"
8405 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8406
8407
8408 } # as_fn_mkdir_p
8409 if mkdir -p . 2>/dev/null; then
8410 as_mkdir_p='mkdir -p "$as_dir"'
8411 else
8412 test -d ./-p && rmdir ./-p
8413 as_mkdir_p=false
8414 fi
8415
8416 if test -x / >/dev/null 2>&1; then
8417 as_test_x='test -x'
8418 else
8419 if ls -dL / >/dev/null 2>&1; then
8420 as_ls_L_option=L
8421 else
8422 as_ls_L_option=
8423 fi
8424 as_test_x='
8425 eval sh -c '\''
8426 if test -d "$1"; then
8427 test -d "$1/.";
8428 else
8429 case $1 in #(
8430 -*)set "./$1";;
8431 esac;
8432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8433 ???[sx]*):;;*)false;;esac;fi
8434 '\'' sh
8435 '
8436 fi
8437 as_executable_p=$as_test_x
8438
8439 # Sed expression to map a string onto a valid CPP name.
8440 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8441
8442 # Sed expression to map a string onto a valid variable name.
8443 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8444
8445
8446 exec 6>&1
8447 ## ----------------------------------- ##
8448 ## Main body of $CONFIG_STATUS script. ##
8449 ## ----------------------------------- ##
8450 _ASEOF
8451 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8452
8453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8454 # Save the log message, to keep $0 and so on meaningful, and to
8455 # report actual input values of CONFIG_FILES etc. instead of their
8456 # values after options handling.
8457 ac_log="
8458 This file was extended by nfdump $as_me 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, which was
8459 generated by GNU Autoconf 2.68. Invocation command line was
8460
8461 CONFIG_FILES = $CONFIG_FILES
8462 CONFIG_HEADERS = $CONFIG_HEADERS
8463 CONFIG_LINKS = $CONFIG_LINKS
8464 CONFIG_COMMANDS = $CONFIG_COMMANDS
8465 $ $0 $@
8466
8467 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8468 "
8469
8470 _ACEOF
8471
8472 case $ac_config_files in *"
8473 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8474 esac
8475
8476 case $ac_config_headers in *"
8477 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8478 esac
8479
8480
8481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8482 # Files that config.status was made for.
8483 config_files="$ac_config_files"
8484 config_headers="$ac_config_headers"
8485 config_commands="$ac_config_commands"
8486
8487 _ACEOF
8488
8489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8490 ac_cs_usage="\
8491 \`$as_me' instantiates files and other configuration actions
8492 from templates according to the current configuration. Unless the files
8493 and actions are specified as TAGs, all are instantiated by default.
8494
8495 Usage: $0 [OPTION]... [TAG]...
8496
8497 -h, --help print this help, then exit
8498 -V, --version print version number and configuration settings, then exit
8499 --config print configuration, then exit
8500 -q, --quiet, --silent
8501 do not print progress messages
8502 -d, --debug don't remove temporary files
8503 --recheck update $as_me by reconfiguring in the same conditions
8504 --file=FILE[:TEMPLATE]
8505 instantiate the configuration file FILE
8506 --header=FILE[:TEMPLATE]
8507 instantiate the configuration header FILE
8508
8509 Configuration files:
8510 $config_files
8511
8512 Configuration headers:
8513 $config_headers
8514
8515 Configuration commands:
8516 $config_commands
8517
8518 Report bugs to <phaag@users.sourceforge.net>."
8519
8520 _ACEOF
8521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8523 ac_cs_version="\\
8524 nfdump config.status 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $
8525 configured by $0, generated by GNU Autoconf 2.68,
8526 with options \\"\$ac_cs_config\\"
8527
8528 Copyright (C) 2010 Free Software Foundation, Inc.
8529 This config.status script is free software; the Free Software Foundation
8530 gives unlimited permission to copy, distribute and modify it."
8531
8532 ac_pwd='$ac_pwd'
8533 srcdir='$srcdir'
8534 INSTALL='$INSTALL'
8535 MKDIR_P='$MKDIR_P'
8536 AWK='$AWK'
8537 test -n "\$AWK" || AWK=awk
8538 _ACEOF
8539
8540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8541 # The default lists apply if the user does not specify any file.
8542 ac_need_defaults=:
8543 while test $# != 0
8544 do
8545 case $1 in
8546 --*=?*)
8547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8549 ac_shift=:
8550 ;;
8551 --*=)
8552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8553 ac_optarg=
8554 ac_shift=:
8555 ;;
8556 *)
8557 ac_option=$1
8558 ac_optarg=$2
8559 ac_shift=shift
8560 ;;
8561 esac
8562
8563 case $ac_option in
8564 # Handling of the options.
8565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8566 ac_cs_recheck=: ;;
8567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8568 $as_echo "$ac_cs_version"; exit ;;
8569 --config | --confi | --conf | --con | --co | --c )
8570 $as_echo "$ac_cs_config"; exit ;;
8571 --debug | --debu | --deb | --de | --d | -d )
8572 debug=: ;;
8573 --file | --fil | --fi | --f )
8574 $ac_shift
8575 case $ac_optarg in
8576 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8577 '') as_fn_error $? "missing file argument" ;;
8578 esac
8579 as_fn_append CONFIG_FILES " '$ac_optarg'"
8580 ac_need_defaults=false;;
8581 --header | --heade | --head | --hea )
8582 $ac_shift
8583 case $ac_optarg in
8584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8585 esac
8586 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8587 ac_need_defaults=false;;
8588 --he | --h)
8589 # Conflict between --help and --header
8590 as_fn_error $? "ambiguous option: \`$1'
8591 Try \`$0 --help' for more information.";;
8592 --help | --hel | -h )
8593 $as_echo "$ac_cs_usage"; exit ;;
8594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8596 ac_cs_silent=: ;;
8597
8598 # This is an error.
8599 -*) as_fn_error $? "unrecognized option: \`$1'
8600 Try \`$0 --help' for more information." ;;
8601
8602 *) as_fn_append ac_config_targets " $1"
8603 ac_need_defaults=false ;;
8604
8605 esac
8606 shift
8607 done
8608
8609 ac_configure_extra_args=
8610
8611 if $ac_cs_silent; then
8612 exec 6>/dev/null
8613 ac_configure_extra_args="$ac_configure_extra_args --silent"
8614 fi
8615
8616 _ACEOF
8617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8618 if \$ac_cs_recheck; then
8619 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8620 shift
8621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8622 CONFIG_SHELL='$SHELL'
8623 export CONFIG_SHELL
8624 exec "\$@"
8625 fi
8626
8627 _ACEOF
8628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8629 exec 5>>config.log
8630 {
8631 echo
8632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8633 ## Running $as_me. ##
8634 _ASBOX
8635 $as_echo "$ac_log"
8636 } >&5
8637
8638 _ACEOF
8639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8640 #
8641 # INIT-COMMANDS
8642 #
8643 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8644
8645 _ACEOF
8646
8647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8648
8649 # Handling of arguments.
8650 for ac_config_target in $ac_config_targets
8651 do
8652 case $ac_config_target in
8653 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8656 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
8657 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8658
8659 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8660 esac
8661 done
8662
8663
8664 # If the user did not use the arguments to specify the items to instantiate,
8665 # then the envvar interface is used. Set only those that are not.
8666 # We use the long form for the default assignment because of an extremely
8667 # bizarre bug on SunOS 4.1.3.
8668 if $ac_need_defaults; then
8669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8672 fi
8673
8674 # Have a temporary directory for convenience. Make it in the build tree
8675 # simply because there is no reason against having it here, and in addition,
8676 # creating and moving files from /tmp can sometimes cause problems.
8677 # Hook for its removal unless debugging.
8678 # Note that there is a small window in which the directory will not be cleaned:
8679 # after its creation but before its name has been assigned to `$tmp'.
8680 $debug ||
8681 {
8682 tmp= ac_tmp=
8683 trap 'exit_status=$?
8684 : "${ac_tmp:=$tmp}"
8685 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8686 ' 0
8687 trap 'as_fn_exit 1' 1 2 13 15
8688 }
8689 # Create a (secure) tmp directory for tmp files.
8690
8691 {
8692 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8693 test -d "$tmp"
8694 } ||
8695 {
8696 tmp=./conf$$-$RANDOM
8697 (umask 077 && mkdir "$tmp")
8698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8699 ac_tmp=$tmp
8700
8701 # Set up the scripts for CONFIG_FILES section.
8702 # No need to generate them if there are no CONFIG_FILES.
8703 # This happens for instance with `./config.status config.h'.
8704 if test -n "$CONFIG_FILES"; then
8705
8706
8707 ac_cr=`echo X | tr X '\015'`
8708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8709 # But we know of no other shell where ac_cr would be empty at this
8710 # point, so we can use a bashism as a fallback.
8711 if test "x$ac_cr" = x; then
8712 eval ac_cr=\$\'\\r\'
8713 fi
8714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8716 ac_cs_awk_cr='\\r'
8717 else
8718 ac_cs_awk_cr=$ac_cr
8719 fi
8720
8721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8722 _ACEOF
8723
8724
8725 {
8726 echo "cat >conf$$subs.awk <<_ACEOF" &&
8727 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8728 echo "_ACEOF"
8729 } >conf$$subs.sh ||
8730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8732 ac_delim='%!_!# '
8733 for ac_last_try in false false false false false :; do
8734 . ./conf$$subs.sh ||
8735 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8736
8737 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8738 if test $ac_delim_n = $ac_delim_num; then
8739 break
8740 elif $ac_last_try; then
8741 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8742 else
8743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8744 fi
8745 done
8746 rm -f conf$$subs.sh
8747
8748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8750 _ACEOF
8751 sed -n '
8752 h
8753 s/^/S["/; s/!.*/"]=/
8754 p
8755 g
8756 s/^[^!]*!//
8757 :repl
8758 t repl
8759 s/'"$ac_delim"'$//
8760 t delim
8761 :nl
8762 h
8763 s/\(.\{148\}\)..*/\1/
8764 t more1
8765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8766 p
8767 n
8768 b repl
8769 :more1
8770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8771 p
8772 g
8773 s/.\{148\}//
8774 t nl
8775 :delim
8776 h
8777 s/\(.\{148\}\)..*/\1/
8778 t more2
8779 s/["\\]/\\&/g; s/^/"/; s/$/"/
8780 p
8781 b
8782 :more2
8783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8784 p
8785 g
8786 s/.\{148\}//
8787 t delim
8788 ' <conf$$subs.awk | sed '
8789 /^[^""]/{
8790 N
8791 s/\n//
8792 }
8793 ' >>$CONFIG_STATUS || ac_write_fail=1
8794 rm -f conf$$subs.awk
8795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8796 _ACAWK
8797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8798 for (key in S) S_is_set[key] = 1
8799 FS = ""
8800
8801 }
8802 {
8803 line = $ 0
8804 nfields = split(line, field, "@")
8805 substed = 0
8806 len = length(field[1])
8807 for (i = 2; i < nfields; i++) {
8808 key = field[i]
8809 keylen = length(key)
8810 if (S_is_set[key]) {
8811 value = S[key]
8812 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8813 len += length(value) + length(field[++i])
8814 substed = 1
8815 } else
8816 len += 1 + keylen
8817 }
8818
8819 print line
8820 }
8821
8822 _ACAWK
8823 _ACEOF
8824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8826 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8827 else
8828 cat
8829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8830 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8831 _ACEOF
8832
8833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8835 # trailing colons and then remove the whole line if VPATH becomes empty
8836 # (actually we leave an empty line to preserve line numbers).
8837 if test "x$srcdir" = x.; then
8838 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8839 h
8840 s///
8841 s/^/:/
8842 s/[ ]*$/:/
8843 s/:\$(srcdir):/:/g
8844 s/:\${srcdir}:/:/g
8845 s/:@srcdir@:/:/g
8846 s/^:*//
8847 s/:*$//
8848 x
8849 s/\(=[ ]*\).*/\1/
8850 G
8851 s/\n//
8852 s/^[^=]*=[ ]*$//
8853 }'
8854 fi
8855
8856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8857 fi # test -n "$CONFIG_FILES"
8858
8859 # Set up the scripts for CONFIG_HEADERS section.
8860 # No need to generate them if there are no CONFIG_HEADERS.
8861 # This happens for instance with `./config.status Makefile'.
8862 if test -n "$CONFIG_HEADERS"; then
8863 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8864 BEGIN {
8865 _ACEOF
8866
8867 # Transform confdefs.h into an awk script `defines.awk', embedded as
8868 # here-document in config.status, that substitutes the proper values into
8869 # config.h.in to produce config.h.
8870
8871 # Create a delimiter string that does not exist in confdefs.h, to ease
8872 # handling of long lines.
8873 ac_delim='%!_!# '
8874 for ac_last_try in false false :; do
8875 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8876 if test -z "$ac_tt"; then
8877 break
8878 elif $ac_last_try; then
8879 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8880 else
8881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8882 fi
8883 done
8884
8885 # For the awk script, D is an array of macro values keyed by name,
8886 # likewise P contains macro parameters if any. Preserve backslash
8887 # newline sequences.
8888
8889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8890 sed -n '
8891 s/.\{148\}/&'"$ac_delim"'/g
8892 t rset
8893 :rset
8894 s/^[ ]*#[ ]*define[ ][ ]*/ /
8895 t def
8896 d
8897 :def
8898 s/\\$//
8899 t bsnl
8900 s/["\\]/\\&/g
8901 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8902 D["\1"]=" \3"/p
8903 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8904 d
8905 :bsnl
8906 s/["\\]/\\&/g
8907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8908 D["\1"]=" \3\\\\\\n"\\/p
8909 t cont
8910 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8911 t cont
8912 d
8913 :cont
8914 n
8915 s/.\{148\}/&'"$ac_delim"'/g
8916 t clear
8917 :clear
8918 s/\\$//
8919 t bsnlc
8920 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8921 d
8922 :bsnlc
8923 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8924 b cont
8925 ' <confdefs.h | sed '
8926 s/'"$ac_delim"'/"\\\
8927 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8928
8929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8930 for (key in D) D_is_set[key] = 1
8931 FS = ""
8932 }
8933 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8934 line = \$ 0
8935 split(line, arg, " ")
8936 if (arg[1] == "#") {
8937 defundef = arg[2]
8938 mac1 = arg[3]
8939 } else {
8940 defundef = substr(arg[1], 2)
8941 mac1 = arg[2]
8942 }
8943 split(mac1, mac2, "(") #)
8944 macro = mac2[1]
8945 prefix = substr(line, 1, index(line, defundef) - 1)
8946 if (D_is_set[macro]) {
8947 # Preserve the white space surrounding the "#".
8948 print prefix "define", macro P[macro] D[macro]
8949 next
8950 } else {
8951 # Replace #undef with comments. This is necessary, for example,
8952 # in the case of _POSIX_SOURCE, which is predefined and required
8953 # on some systems where configure will not decide to define it.
8954 if (defundef == "undef") {
8955 print "/*", prefix defundef, macro, "*/"
8956 next
8957 }
8958 }
8959 }
8960 { print }
8961 _ACAWK
8962 _ACEOF
8963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8964 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8965 fi # test -n "$CONFIG_HEADERS"
8966
8967
8968 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8969 shift
8970 for ac_tag
8971 do
8972 case $ac_tag in
8973 :[FHLC]) ac_mode=$ac_tag; continue;;
8974 esac
8975 case $ac_mode$ac_tag in
8976 :[FHL]*:*);;
8977 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8978 :[FH]-) ac_tag=-:-;;
8979 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8980 esac
8981 ac_save_IFS=$IFS
8982 IFS=:
8983 set x $ac_tag
8984 IFS=$ac_save_IFS
8985 shift
8986 ac_file=$1
8987 shift
8988
8989 case $ac_mode in
8990 :L) ac_source=$1;;
8991 :[FH])
8992 ac_file_inputs=
8993 for ac_f
8994 do
8995 case $ac_f in
8996 -) ac_f="$ac_tmp/stdin";;
8997 *) # Look for the file first in the build tree, then in the source tree
8998 # (if the path is not absolute). The absolute path cannot be DOS-style,
8999 # because $ac_f cannot contain `:'.
9000 test -f "$ac_f" ||
9001 case $ac_f in
9002 [\\/$]*) false;;
9003 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9004 esac ||
9005 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9006 esac
9007 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9008 as_fn_append ac_file_inputs " '$ac_f'"
9009 done
9010
9011 # Let's still pretend it is `configure' which instantiates (i.e., don't
9012 # use $as_me), people would be surprised to read:
9013 # /* config.h. Generated by config.status. */
9014 configure_input='Generated from '`
9015 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9016 `' by configure.'
9017 if test x"$ac_file" != x-; then
9018 configure_input="$ac_file. $configure_input"
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9020 $as_echo "$as_me: creating $ac_file" >&6;}
9021 fi
9022 # Neutralize special characters interpreted by sed in replacement strings.
9023 case $configure_input in #(
9024 *\&* | *\|* | *\\* )
9025 ac_sed_conf_input=`$as_echo "$configure_input" |
9026 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9027 *) ac_sed_conf_input=$configure_input;;
9028 esac
9029
9030 case $ac_tag in
9031 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9033 esac
9034 ;;
9035 esac
9036
9037 ac_dir=`$as_dirname -- "$ac_file" ||
9038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9039 X"$ac_file" : 'X\(//\)[^/]' \| \
9040 X"$ac_file" : 'X\(//\)$' \| \
9041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9042 $as_echo X"$ac_file" |
9043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9044 s//\1/
9045 q
9046 }
9047 /^X\(\/\/\)[^/].*/{
9048 s//\1/
9049 q
9050 }
9051 /^X\(\/\/\)$/{
9052 s//\1/
9053 q
9054 }
9055 /^X\(\/\).*/{
9056 s//\1/
9057 q
9058 }
9059 s/.*/./; q'`
9060 as_dir="$ac_dir"; as_fn_mkdir_p
15735 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15736 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15737 { (exit 1); exit 1; }; }; }
906115738 ac_builddir=.
906215739
906315740 case "$ac_dir" in
906415741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
906515742 *)
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906715744 # A ".." for each directory in $ac_dir_suffix.
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
906915746 case $ac_top_builddir_sub in
907015747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
907115748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
911015787 esac
911115788 _ACEOF
911215789
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15790 cat >>$CONFIG_STATUS <<\_ACEOF
911415791 # If the template does not know about datarootdir, expand it.
911515792 # FIXME: This hack should be removed a few years after 2.60.
911615793 ac_datarootdir_hack=; ac_datarootdir_seen=
9117 ac_sed_dataroot='
9118 /datarootdir/ {
15794
15795 case `sed -n '/datarootdir/ {
911915796 p
912015797 q
912115798 }
912315800 /@docdir@/p
912415801 /@infodir@/p
912515802 /@localedir@/p
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
912815805 *datarootdir*) ac_datarootdir_seen=yes;;
912915806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9131 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9132 _ACEOF
9133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15807 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15808 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15809 _ACEOF
15810 cat >>$CONFIG_STATUS <<_ACEOF
913415811 ac_datarootdir_hack='
913515812 s&@datadir@&$datadir&g
913615813 s&@docdir@&$docdir&g
913715814 s&@infodir@&$infodir&g
913815815 s&@localedir@&$localedir&g
913915816 s&@mandir@&$mandir&g
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
914115818 esac
914215819 _ACEOF
914315820
914415821 # Neutralize VPATH when `$srcdir' = `.'.
914515822 # Shell code in configure.ac might set extrasub.
914615823 # FIXME: do we really want to maintain this feature?
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
914915826 $extrasub
915015827 _ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 cat >>$CONFIG_STATUS <<\_ACEOF
915215829 :t
915315830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9154 s|@configure_input@|$ac_sed_conf_input|;t t
15831 s&@configure_input@&$configure_input&;t t
915515832 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
915715833 s&@srcdir@&$ac_srcdir&;t t
915815834 s&@abs_srcdir@&$ac_abs_srcdir&;t t
915915835 s&@top_srcdir@&$ac_top_srcdir&;t t
916415840 s&@INSTALL@&$ac_INSTALL&;t t
916515841 s&@MKDIR_P@&$ac_MKDIR_P&;t t
916615842 $ac_datarootdir_hack
9167 "
9168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9169 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
917015844
917115845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9172 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9173 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9174 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9176 which seems to be undefined. Please make sure it is defined" >&5
9177 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9178 which seems to be undefined. Please make sure it is defined" >&2;}
9179
9180 rm -f "$ac_tmp/stdin"
15846 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15848 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15849 which seems to be undefined. Please make sure it is defined." >&5
15850 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15851 which seems to be undefined. Please make sure it is defined." >&2;}
15852
15853 rm -f "$tmp/stdin"
918115854 case $ac_file in
9182 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9183 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9184 esac \
9185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
918615858 ;;
918715859 :H)
918815860 #
918915861 # CONFIG_HEADER
919015862 #
15863 _ACEOF
15864
15865 # Transform confdefs.h into a sed script `conftest.defines', that
15866 # substitutes the proper values into config.h.in to produce config.h.
15867 rm -f conftest.defines conftest.tail
15868 # First, append a space to every undef/define line, to ease matching.
15869 echo 's/$/ /' >conftest.defines
15870 # Then, protect against being on the right side of a sed subst, or in
15871 # an unquoted here document, in config.status. If some macros were
15872 # called several times there might be several #defines for the same
15873 # symbol, which is useless. But do not sort them, since the last
15874 # AC_DEFINE must be honored.
15875 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15876 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15877 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15878 # PARAMS is the parameter list in the macro definition--in most cases, it's
15879 # just an empty string.
15880 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15881 ac_dB='\\)[ (].*,\\1define\\2'
15882 ac_dC=' '
15883 ac_dD=' ,'
15884
15885 uniq confdefs.h |
15886 sed -n '
15887 t rset
15888 :rset
15889 s/^[ ]*#[ ]*define[ ][ ]*//
15890 t ok
15891 d
15892 :ok
15893 s/[\\&,]/\\&/g
15894 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15895 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15896 ' >>conftest.defines
15897
15898 # Remove the space that was appended to ease matching.
15899 # Then replace #undef with comments. This is necessary, for
15900 # example, in the case of _POSIX_SOURCE, which is predefined and required
15901 # on some systems where configure will not decide to define it.
15902 # (The regexp can be short, since the line contains either #define or #undef.)
15903 echo 's/ $//
15904 s,^[ #]*u.*,/* & */,' >>conftest.defines
15905
15906 # Break up conftest.defines:
15907 ac_max_sed_lines=50
15908
15909 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15910 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15911 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15912 # et cetera.
15913 ac_in='$ac_file_inputs'
15914 ac_out='"$tmp/out1"'
15915 ac_nxt='"$tmp/out2"'
15916
15917 while :
15918 do
15919 # Write a here document:
15920 cat >>$CONFIG_STATUS <<_ACEOF
15921 # First, check the format of the line:
15922 cat >"\$tmp/defines.sed" <<\\CEOF
15923 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def
15924 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15925 b
15926 :def
15927 _ACEOF
15928 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15929 echo 'CEOF
15930 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15931 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15932 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15933 grep . conftest.tail >/dev/null || break
15934 rm -f conftest.defines
15935 mv conftest.tail conftest.defines
15936 done
15937 rm -f conftest.defines conftest.tail
15938
15939 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15940 cat >>$CONFIG_STATUS <<\_ACEOF
919115941 if test x"$ac_file" != x-; then
9192 {
9193 $as_echo "/* $configure_input */" \
9194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9195 } >"$ac_tmp/config.h" \
9196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9197 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9199 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15942 echo "/* $configure_input */" >"$tmp/config.h"
15943 cat "$ac_result" >>"$tmp/config.h"
15944 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15945 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15946 echo "$as_me: $ac_file is unchanged" >&6;}
920015947 else
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
920415950 fi
920515951 else
9206 $as_echo "/* $configure_input */" \
9207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9208 || as_fn_error $? "could not create -" "$LINENO" 5
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
920915954 fi
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
921215957 _am_stamp_count=1
921315958 for _am_header in $config_headers :; do
921415959 case $_am_header in
9215 $_am_arg | $_am_arg:* )
15960 $ac_file | $ac_file:* )
921615961 break ;;
921715962 * )
921815963 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
921915964 esac
922015965 done
9221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223 X"$_am_arg" : 'X\(//\)[^/]' \| \
9224 X"$_am_arg" : 'X\(//\)$' \| \
9225 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9226 $as_echo X"$_am_arg" |
15966 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
15967 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15968 X$ac_file : 'X\(//\)[^/]' \| \
15969 X$ac_file : 'X\(//\)$' \| \
15970 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
15971 echo X$ac_file |
922715972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
922815973 s//\1/
922915974 q
924315988 s/.*/./; q'`/stamp-h$_am_stamp_count
924415989 ;;
924515990
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
924815993 ;;
924915994 esac
925015995
925115996
925215997 case $ac_file$ac_mode in
9253 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9254 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9255 # are listed without --file. Let's play safe and only enable the eval
9256 # if we detect the quoting.
9257 case $CONFIG_FILES in
9258 *\'*) eval set x "$CONFIG_FILES" ;;
9259 *) set x $CONFIG_FILES ;;
9260 esac
9261 shift
9262 for mf
9263 do
9264 # Strip MF so we end up with the name of the file.
9265 mf=`echo "$mf" | sed -e 's/:.*$//'`
9266 # Check whether this is an Automake generated Makefile or not.
9267 # We used to match only the files named `Makefile.in', but
9268 # some people rename them; so instead we look at the file content.
9269 # Grep'ing the first line is not enough: some people post-process
9270 # each Makefile.in and add a new line on top of each file to say so.
9271 # Grep'ing the whole file is not good either: AIX grep has a line
9272 # limit of 2048, but all sed's we know have understand at least 4000.
9273 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9274 dirpart=`$as_dirname -- "$mf" ||
15998 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15999 # Strip MF so we end up with the name of the file.
16000 mf=`echo "$mf" | sed -e 's/:.*$//'`
16001 # Check whether this is an Automake generated Makefile or not.
16002 # We used to match only the files named `Makefile.in', but
16003 # some people rename them; so instead we look at the file content.
16004 # Grep'ing the first line is not enough: some people post-process
16005 # each Makefile.in and add a new line on top of each file to say so.
16006 # Grep'ing the whole file is not good either: AIX grep has a line
16007 # limit of 2048, but all sed's we know have understand at least 4000.
16008 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
16009 dirpart=`$as_dirname -- "$mf" ||
927516010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
927616011 X"$mf" : 'X\(//\)[^/]' \| \
927716012 X"$mf" : 'X\(//\)$' \| \
927816013 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9279 $as_echo X"$mf" |
16014 echo X"$mf" |
928016015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
928116016 s//\1/
928216017 q
929416029 q
929516030 }
929616031 s/.*/./; q'`
9297 else
9298 continue
9299 fi
9300 # Extract the definition of DEPDIR, am__include, and am__quote
9301 # from the Makefile without running `make'.
9302 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9303 test -z "$DEPDIR" && continue
9304 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9305 test -z "am__include" && continue
9306 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9307 # When using ansi2knr, U may be empty or an underscore; expand it
9308 U=`sed -n 's/^U = //p' < "$mf"`
9309 # Find all dependency output files, they are included files with
9310 # $(DEPDIR) in their names. We invoke sed twice because it is the
9311 # simplest approach to changing $(DEPDIR) to its actual value in the
9312 # expansion.
9313 for file in `sed -n "
9314 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9315 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9316 # Make sure the directory exists.
9317 test -f "$dirpart/$file" && continue
9318 fdir=`$as_dirname -- "$file" ||
16032 else
16033 continue
16034 fi
16035 # Extract the definition of DEPDIR, am__include, and am__quote
16036 # from the Makefile without running `make'.
16037 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16038 test -z "$DEPDIR" && continue
16039 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16040 test -z "am__include" && continue
16041 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16042 # When using ansi2knr, U may be empty or an underscore; expand it
16043 U=`sed -n 's/^U = //p' < "$mf"`
16044 # Find all dependency output files, they are included files with
16045 # $(DEPDIR) in their names. We invoke sed twice because it is the
16046 # simplest approach to changing $(DEPDIR) to its actual value in the
16047 # expansion.
16048 for file in `sed -n "
16049 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16051 # Make sure the directory exists.
16052 test -f "$dirpart/$file" && continue
16053 fdir=`$as_dirname -- "$file" ||
931916054 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
932016055 X"$file" : 'X\(//\)[^/]' \| \
932116056 X"$file" : 'X\(//\)$' \| \
932216057 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9323 $as_echo X"$file" |
16058 echo X"$file" |
932416059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
932516060 s//\1/
932616061 q
933816073 q
933916074 }
934016075 s/.*/./; q'`
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
16076 { as_dir=$dirpart/$fdir
16077 case $as_dir in #(
16078 -*) as_dir=./$as_dir;;
16079 esac
16080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16081 as_dirs=
16082 while :; do
16083 case $as_dir in #(
16084 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16085 *) as_qdir=$as_dir;;
16086 esac
16087 as_dirs="'$as_qdir' $as_dirs"
16088 as_dir=`$as_dirname -- "$as_dir" ||
16089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16090 X"$as_dir" : 'X\(//\)[^/]' \| \
16091 X"$as_dir" : 'X\(//\)$' \| \
16092 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16093 echo X"$as_dir" |
16094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16095 s//\1/
16096 q
16097 }
16098 /^X\(\/\/\)[^/].*/{
16099 s//\1/
16100 q
16101 }
16102 /^X\(\/\/\)$/{
16103 s//\1/
16104 q
16105 }
16106 /^X\(\/\).*/{
16107 s//\1/
16108 q
16109 }
16110 s/.*/./; q'`
16111 test -d "$as_dir" && break
934416112 done
16113 test -z "$as_dirs" || eval "mkdir $as_dirs"
16114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16115 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16116 { (exit 1); exit 1; }; }; }
16117 # echo "creating $dirpart/$file"
16118 echo '# dummy' > "$dirpart/$file"
934516119 done
9346 }
16120 done
934716121 ;;
934816122
934916123 esac
935016124 done # for ac_tag
935116125
935216126
9353 as_fn_exit 0
9354 _ACEOF
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
935516130 ac_clean_files=$ac_clean_files_save
9356
9357 test $ac_write_fail = 0 ||
9358 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
935916131
936016132
936116133 # configure is writing to config.log, and then calls config.status.
937616148 exec 5>>config.log
937716149 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
937816150 # would make configure fail if this is the last instruction.
9379 $ac_cs_success || as_fn_exit 1
9380 fi
9381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16151 $ac_cs_success || { (exit 1); exit 1; }
938416152 fi
938516153
938616154
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.59)
4 AC_REVISION($Revision: 69 $)dnl
5 AC_INIT(nfdump, 1.6.4 $Date: 2011-07-19 12:43:31 +0200 (Tue, 19 Jul 2011) $, phaag@users.sourceforge.net)
4 AC_REVISION($Revision: 69 $)dnl
5 AC_INIT(nfdump, 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, phaag@users.sourceforge.net)
66 #AC_CONFIG_SRCDIR([grammar.y])
77 AC_CONFIG_HEADER([config.h])
88 AM_INIT_AUTOMAKE()
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
6 # Software Foundation, Inc.
3 scriptversion=2006-10-15.18
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
6 # Foundation, Inc.
77
88 # This program is free software; you can redistribute it and/or modify
99 # it under the terms of the GNU General Public License as published by
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301, USA.
2022
2123 # As a special exception to the GNU General Public License, if you
2224 # distribute this file as part of a program that contains a
8284 # This is just like dashmstdout with a different argument.
8385 dashmflag=-xM
8486 depmode=dashmstdout
85 fi
86
87 cygpath_u="cygpath -u -f -"
88 if test "$depmode" = msvcmsys; then
89 # This is just like msvisualcpp but w/o cygpath translation.
90 # Just convert the backslash-escaped backslashes to single forward
91 # slashes to satisfy depend.m4
92 cygpath_u="sed s,\\\\\\\\,/,g"
93 depmode=msvisualcpp
9487 fi
9588
9689 case "$depmode" in
198191 ' < "$tmpdepfile" \
199192 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
200193 tr '
201 ' ' ' >> "$depfile"
202 echo >> "$depfile"
194 ' ' ' >> $depfile
195 echo >> $depfile
203196
204197 # The second pass generates a dummy entry for each header file.
205198 tr ' ' '
206199 ' < "$tmpdepfile" \
207200 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
208 >> "$depfile"
201 >> $depfile
209202 else
210203 # The sourcefile does not contain any dependencies, so just
211204 # store a dummy comment line, to avoid errors with the Makefile
221214 # current directory. Also, the AIX compiler puts `$object:' at the
222215 # start of each line; $object doesn't have directory information.
223216 # Version 6 uses the directory in both cases.
224 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
225 test "x$dir" = "x$object" && dir=
226 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
217 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
218 tmpdepfile="$stripped.u"
227219 if test "$libtool" = yes; then
228 tmpdepfile1=$dir$base.u
229 tmpdepfile2=$base.u
230 tmpdepfile3=$dir.libs/$base.u
231220 "$@" -Wc,-M
232221 else
233 tmpdepfile1=$dir$base.u
234 tmpdepfile2=$dir$base.u
235 tmpdepfile3=$dir$base.u
236222 "$@" -M
237223 fi
238224 stat=$?
239225
226 if test -f "$tmpdepfile"; then :
227 else
228 stripped=`echo "$stripped" | sed 's,^.*/,,'`
229 tmpdepfile="$stripped.u"
230 fi
231
240232 if test $stat -eq 0; then :
241233 else
242 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
234 rm -f "$tmpdepfile"
243235 exit $stat
244236 fi
245237
246 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
247 do
248 test -f "$tmpdepfile" && break
249 done
250238 if test -f "$tmpdepfile"; then
239 outname="$stripped.o"
251240 # Each line is of the form `foo.o: dependent.h'.
252241 # Do two passes, one to just change these to
253242 # `$object: dependent.h' and one to simply `dependent.h:'.
254 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
255 # That's a tab and a space in the [].
256 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
243 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
244 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
257245 else
258246 # The sourcefile does not contain any dependencies, so just
259247 # store a dummy comment line, to avoid errors with the Makefile
334322 if test -f "$tmpdepfile"; then
335323 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
336324 # Add `dependent.h:' lines.
337 sed -ne '2,${
338 s/^ *//
339 s/ \\*$//
340 s/$/:/
341 p
342 }' "$tmpdepfile" >> "$depfile"
325 sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
343326 else
344327 echo "#dummy" > "$depfile"
345328 fi
415398
416399 # Remove the call to Libtool.
417400 if test "$libtool" = yes; then
418 while test "X$1" != 'X--mode=compile'; do
401 while test $1 != '--mode=compile'; do
419402 shift
420403 done
421404 shift
466449 "$@" || exit $?
467450 # Remove any Libtool call
468451 if test "$libtool" = yes; then
469 while test "X$1" != 'X--mode=compile'; do
452 while test $1 != '--mode=compile'; do
470453 shift
471454 done
472455 shift
473456 fi
474457 # X makedepend
475458 shift
476 cleared=no eat=no
477 for arg
478 do
459 cleared=no
460 for arg in "$@"; do
479461 case $cleared in
480462 no)
481463 set ""; shift
482464 cleared=yes ;;
483465 esac
484 if test $eat = yes; then
485 eat=no
486 continue
487 fi
488466 case "$arg" in
489467 -D*|-I*)
490468 set fnord "$@" "$arg"; shift ;;
491469 # Strip any option that makedepend may not understand. Remove
492470 # the object too, otherwise makedepend will parse it as a source file.
493 -arch)
494 eat=yes ;;
495471 -*|$object)
496472 ;;
497473 *)
498474 set fnord "$@" "$arg"; shift ;;
499475 esac
500476 done
501 obj_suffix=`echo "$object" | sed 's/^.*\././'`
477 obj_suffix="`echo $object | sed 's/^.*\././'`"
502478 touch "$tmpdepfile"
503479 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
504480 rm -f "$depfile"
518494
519495 # Remove the call to Libtool.
520496 if test "$libtool" = yes; then
521 while test "X$1" != 'X--mode=compile'; do
497 while test $1 != '--mode=compile'; do
522498 shift
523499 done
524500 shift
556532
557533 msvisualcpp)
558534 # Important note: in order to support this mode, a compiler *must*
559 # always write the preprocessed file to stdout.
535 # always write the preprocessed file to stdout, regardless of -o,
536 # because we must use -o when running libtool.
560537 "$@" || exit $?
561
562 # Remove the call to Libtool.
563 if test "$libtool" = yes; then
564 while test "X$1" != 'X--mode=compile'; do
565 shift
566 done
567 shift
568 fi
569
570538 IFS=" "
571539 for arg
572540 do
573541 case "$arg" in
574 -o)
575 shift
576 ;;
577 $object)
578 shift
579 ;;
580542 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
581543 set fnord "$@"
582544 shift
589551 ;;
590552 esac
591553 done
592 "$@" -E 2>/dev/null |
593 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
554 "$@" -E |
555 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
594556 rm -f "$depfile"
595557 echo "$object : \\" > "$depfile"
596 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
558 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
597559 echo " " >> "$depfile"
598 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
599 rm -f "$tmpdepfile"
600 ;;
601
602 msvcmsys)
603 # This case exists only to let depend.m4 do its work. It works by
604 # looking at the text of this script. This case will never be run,
605 # since it is checked for above.
606 exit 1
560 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
561 rm -f "$tmpdepfile"
607562 ;;
608563
609564 none)
624579 # eval: (add-hook 'write-file-hooks 'time-stamp)
625580 # time-stamp-start: "scriptversion="
626581 # time-stamp-format: "%:y-%02m-%02d.%02H"
627 # time-stamp-time-zone: "UTC"
628 # time-stamp-end: "; # UTC"
582 # time-stamp-end: "$"
629583 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2009-04-28.21; # UTC
3 scriptversion=2006-10-14.15
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
4747 # set DOITPROG to echo to test this script
4848
4949 # Don't use :- since 4.3BSD and earlier shells don't like it.
50 doit=${DOITPROG-}
50 doit="${DOITPROG-}"
5151 if test -z "$doit"; then
5252 doit_exec=exec
5353 else
5757 # Put in absolute file names if you don't have them in your path;
5858 # or use environment vars.
5959
60 chgrpprog=${CHGRPPROG-chgrp}
61 chmodprog=${CHMODPROG-chmod}
62 chownprog=${CHOWNPROG-chown}
63 cmpprog=${CMPPROG-cmp}
64 cpprog=${CPPROG-cp}
65 mkdirprog=${MKDIRPROG-mkdir}
66 mvprog=${MVPROG-mv}
67 rmprog=${RMPROG-rm}
68 stripprog=${STRIPPROG-strip}
69
70 posix_glob='?'
71 initialize_posix_glob='
72 test "$posix_glob" != "?" || {
73 if (set -f) 2>/dev/null; then
74 posix_glob=
75 else
76 posix_glob=:
77 fi
78 }
79 '
80
60 mvprog="${MVPROG-mv}"
61 cpprog="${CPPROG-cp}"
62 chmodprog="${CHMODPROG-chmod}"
63 chownprog="${CHOWNPROG-chown}"
64 chgrpprog="${CHGRPPROG-chgrp}"
65 stripprog="${STRIPPROG-strip}"
66 rmprog="${RMPROG-rm}"
67 mkdirprog="${MKDIRPROG-mkdir}"
68
69 posix_glob=
8170 posix_mkdir=
8271
8372 # Desired mode of installed file.
8473 mode=0755
8574
86 chgrpcmd=
8775 chmodcmd=$chmodprog
8876 chowncmd=
89 mvcmd=$mvprog
77 chgrpcmd=
78 stripcmd=
9079 rmcmd="$rmprog -f"
91 stripcmd=
92
80 mvcmd="$mvprog"
9381 src=
9482 dst=
9583 dir_arg=
96 dst_arg=
97
98 copy_on_change=false
84 dstarg=
9985 no_target_directory=
10086
101 usage="\
102 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
87 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
10388 or: $0 [OPTION]... SRCFILES... DIRECTORY
10489 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
10590 or: $0 [OPTION]... -d DIRECTORIES...
10994 In the 4th, create DIRECTORIES.
11095
11196 Options:
112 --help display this help and exit.
113 --version display version info and exit.
114
115 -c (ignored)
116 -C install only if different (preserve the last data modification time)
117 -d create directories instead of installing files.
118 -g GROUP $chgrpprog installed files to GROUP.
119 -m MODE $chmodprog installed files to MODE.
120 -o USER $chownprog installed files to USER.
121 -s $stripprog installed files.
122 -t DIRECTORY install into DIRECTORY.
123 -T report an error if DSTFILE is a directory.
97 -c (ignored)
98 -d create directories instead of installing files.
99 -g GROUP $chgrpprog installed files to GROUP.
100 -m MODE $chmodprog installed files to MODE.
101 -o USER $chownprog installed files to USER.
102 -s $stripprog installed files.
103 -t DIRECTORY install into DIRECTORY.
104 -T report an error if DSTFILE is a directory.
105 --help display this help and exit.
106 --version display version info and exit.
124107
125108 Environment variables override the default commands:
126 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
127 RMPROG STRIPPROG
109 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
128110 "
129111
130112 while test $# -ne 0; do
131113 case $1 in
132 -c) ;;
133
134 -C) copy_on_change=true;;
135
136 -d) dir_arg=true;;
114 -c) shift
115 continue;;
116
117 -d) dir_arg=true
118 shift
119 continue;;
137120
138121 -g) chgrpcmd="$chgrpprog $2"
139 shift;;
122 shift
123 shift
124 continue;;
140125
141126 --help) echo "$usage"; exit $?;;
142127
143128 -m) mode=$2
129 shift
130 shift
144131 case $mode in
145132 *' '* | *' '* | *'
146133 '* | *'*'* | *'?'* | *'['*)
147134 echo "$0: invalid mode: $mode" >&2
148135 exit 1;;
149136 esac
150 shift;;
137 continue;;
151138
152139 -o) chowncmd="$chownprog $2"
153 shift;;
154
155 -s) stripcmd=$stripprog;;
156
157 -t) dst_arg=$2
158 shift;;
159
160 -T) no_target_directory=true;;
140 shift
141 shift
142 continue;;
143
144 -s) stripcmd=$stripprog
145 shift
146 continue;;
147
148 -t) dstarg=$2
149 shift
150 shift
151 continue;;
152
153 -T) no_target_directory=true
154 shift
155 continue;;
161156
162157 --version) echo "$0 $scriptversion"; exit $?;;
163158
169164
170165 *) break;;
171166 esac
172 shift
173167 done
174168
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
169 if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
176170 # When -d is used, all remaining arguments are directories to create.
177171 # When -t is used, the destination is already specified.
178172 # Otherwise, the last argument is the destination. Remove it from $@.
179173 for arg
180174 do
181 if test -n "$dst_arg"; then
175 if test -n "$dstarg"; then
182176 # $@ is not empty: it contains at least $arg.
183 set fnord "$@" "$dst_arg"
177 set fnord "$@" "$dstarg"
184178 shift # fnord
185179 fi
186180 shift # arg
187 dst_arg=$arg
181 dstarg=$arg
188182 done
189183 fi
190184
229223 do
230224 # Protect names starting with `-'.
231225 case $src in
232 -*) src=./$src;;
226 -*) src=./$src ;;
233227 esac
234228
235229 if test -n "$dir_arg"; then
247241 exit 1
248242 fi
249243
250 if test -z "$dst_arg"; then
244 if test -z "$dstarg"; then
251245 echo "$0: no destination specified." >&2
252246 exit 1
253247 fi
254248
255 dst=$dst_arg
249 dst=$dstarg
256250 # Protect names starting with `-'.
257251 case $dst in
258 -*) dst=./$dst;;
252 -*) dst=./$dst ;;
259253 esac
260254
261255 # If destination is a directory, append the input filename; won't work
262256 # if double slashes aren't ignored.
263257 if test -d "$dst"; then
264258 if test -n "$no_target_directory"; then
265 echo "$0: $dst_arg: Is a directory" >&2
259 echo "$0: $dstarg: Is a directory" >&2
266260 exit 1
267261 fi
268262 dstdir=$dst
383377 # directory the slow way, step by step, checking for races as we go.
384378
385379 case $dstdir in
386 /*) prefix='/';;
387 -*) prefix='./';;
388 *) prefix='';;
380 /*) prefix=/ ;;
381 -*) prefix=./ ;;
382 *) prefix= ;;
389383 esac
390384
391 eval "$initialize_posix_glob"
385 case $posix_glob in
386 '')
387 if (set -f) 2>/dev/null; then
388 posix_glob=true
389 else
390 posix_glob=false
391 fi ;;
392 esac
392393
393394 oIFS=$IFS
394395 IFS=/
395 $posix_glob set -f
396 $posix_glob && set -f
396397 set fnord $dstdir
397398 shift
398 $posix_glob set +f
399 $posix_glob && set +f
399400 IFS=$oIFS
400401
401402 prefixes=
457458 # ignore errors from any of these, just make sure not to ignore
458459 # errors from the above "$doit $cpprog $src $dsttmp" command.
459460 #
460 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
461 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
462 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
463 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
464
465 # If -C, don't bother to copy if it wouldn't change the file.
466 if $copy_on_change &&
467 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
468 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
469
470 eval "$initialize_posix_glob" &&
471 $posix_glob set -f &&
472 set X $old && old=:$2:$4:$5:$6 &&
473 set X $new && new=:$2:$4:$5:$6 &&
474 $posix_glob set +f &&
475
476 test "$old" = "$new" &&
477 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
478 then
479 rm -f "$dsttmp"
480 else
481 # Rename the file to the real destination.
482 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
483
484 # The rename failed, perhaps because mv can't rename something else
485 # to itself, or perhaps because mv is so ancient that it does not
486 # support -f.
487 {
488 # Now remove or move aside any old file at destination location.
489 # We try this two ways since rm can't unlink itself on some
490 # systems and the destination file might be busy for other
491 # reasons. In this case, the final cleanup might fail but the new
492 # file should still install successfully.
493 {
494 test ! -f "$dst" ||
495 $doit $rmcmd -f "$dst" 2>/dev/null ||
496 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
497 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
498 } ||
499 { echo "$0: cannot unlink or rename $dst" >&2
500 (exit 1); exit 1
501 }
502 } &&
503
504 # Now rename the file to the real destination.
505 $doit $mvcmd "$dsttmp" "$dst"
506 }
507 fi || exit 1
461 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
462 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
463 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
464 && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
465
466 # Now rename the file to the real destination.
467 { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
468 || {
469 # The rename failed, perhaps because mv can't rename something else
470 # to itself, or perhaps because mv is so ancient that it does not
471 # support -f.
472
473 # Now remove or move aside any old file at destination location.
474 # We try this two ways since rm can't unlink itself on some
475 # systems and the destination file might be busy for other
476 # reasons. In this case, the final cleanup might fail but the new
477 # file should still install successfully.
478 {
479 if test -f "$dst"; then
480 $doit $rmcmd -f "$dst" 2>/dev/null \
481 || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
482 && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
483 || {
484 echo "$0: cannot unlink or rename $dst" >&2
485 (exit 1); exit 1
486 }
487 else
488 :
489 fi
490 } &&
491
492 # Now rename the file to the real destination.
493 $doit $mvcmd "$dsttmp" "$dst"
494 }
495 } || exit 1
508496
509497 trap '' 0
510498 fi
514502 # eval: (add-hook 'write-file-hooks 'time-stamp)
515503 # time-stamp-start: "scriptversion="
516504 # time-stamp-format: "%:y-%02m-%02d.%02H"
517 # time-stamp-time-zone: "UTC"
518 # time-stamp-end: "; # UTC"
505 # time-stamp-end: "$"
519506 # End:
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
65 # This Makefile.in is free software; the Free Software Foundation
76 # gives unlimited permission to copy and/or distribute it,
87 # with or without modifications, as long as this notice is preserved.
1514 @SET_MAKE@
1615 VPATH = @srcdir@
1716 pkgdatadir = $(datadir)/@PACKAGE@
17 pkglibdir = $(libdir)/@PACKAGE@
1818 pkgincludedir = $(includedir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkglibexecdir = $(libexecdir)/@PACKAGE@
2119 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2220 install_sh_DATA = $(install_sh) -c -m 644
2321 install_sh_PROGRAM = $(install_sh) -c
4038 mkinstalldirs = $(install_sh) -d
4139 CONFIG_HEADER = $(top_builddir)/config.h
4240 CONFIG_CLEAN_FILES =
43 CONFIG_CLEAN_VPATH_FILES =
4441 SOURCES =
4542 DIST_SOURCES =
46 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
47 am__vpath_adj = case $$p in \
48 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
49 *) f=$$p;; \
50 esac;
51 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
52 am__install_max = 40
53 am__nobase_strip_setup = \
54 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
55 am__nobase_strip = \
56 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
57 am__nobase_list = $(am__nobase_strip_setup); \
58 for p in $$list; do echo "$$p $$p"; done | \
59 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
60 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
61 if (++n[$$2] == $(am__install_max)) \
62 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
63 END { for (dir in files) print dir, files[dir] }'
64 am__base_list = \
65 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
66 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
6743 man1dir = $(mandir)/man1
6844 am__installdirs = "$(DESTDIR)$(man1dir)"
6945 NROFF = nroff
11389 PACKAGE_NAME = @PACKAGE_NAME@
11490 PACKAGE_STRING = @PACKAGE_STRING@
11591 PACKAGE_TARNAME = @PACKAGE_TARNAME@
116 PACKAGE_URL = @PACKAGE_URL@
11792 PACKAGE_VERSION = @PACKAGE_VERSION@
11893 PATH_SEPARATOR = @PATH_SEPARATOR@
11994 RRD_LIBS = @RRD_LIBS@
162137 srcdir = @srcdir@
163138 sysconfdir = @sysconfdir@
164139 target_alias = @target_alias@
165 top_build_prefix = @top_build_prefix@
166140 top_builddir = @top_builddir@
167141 top_srcdir = @top_srcdir@
168142 dist_man_MANS = ft2nfdump.1 nfcapd.1 nfdump.1 nfexpire.1 nfprofile.1 nfreplay.1 nfanon.1 \
175149 @for dep in $?; do \
176150 case '$(am__configure_deps)' in \
177151 *$$dep*) \
178 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
179 && { if test -f $@; then exit 0; else break; fi; }; \
152 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
153 && exit 0; \
180154 exit 1;; \
181155 esac; \
182156 done; \
183 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
184 $(am__cd) $(top_srcdir) && \
185 $(AUTOMAKE) --gnu man/Makefile
157 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
158 cd $(top_srcdir) && \
159 $(AUTOMAKE) --gnu man/Makefile
186160 .PRECIOUS: Makefile
187161 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
188162 @case '$?' in \
200174 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
201175 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
202176 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
203 $(am__aclocal_m4_deps):
204 install-man1: $(dist_man_MANS)
177 install-man1: $(man1_MANS) $(man_MANS)
205178 @$(NORMAL_INSTALL)
206179 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
207 @list=''; test -n "$(man1dir)" || exit 0; \
208 { for i in $$list; do echo "$$i"; done; \
209 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
210 sed -n '/\.1[a-z]*$$/p'; \
211 } | while read p; do \
212 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
213 echo "$$d$$p"; echo "$$p"; \
214 done | \
215 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
216 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
217 sed 'N;N;s,\n, ,g' | { \
218 list=; while read file base inst; do \
219 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
220 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
221 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
222 fi; \
180 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
181 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
182 for i in $$l2; do \
183 case "$$i" in \
184 *.1*) list="$$list $$i" ;; \
185 esac; \
223186 done; \
224 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
225 while read files; do \
226 test -z "$$files" || { \
227 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
228 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
229 done; }
230
187 for i in $$list; do \
188 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
189 else file=$$i; fi; \
190 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
191 case "$$ext" in \
192 1*) ;; \
193 *) ext='1' ;; \
194 esac; \
195 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
196 inst=`echo $$inst | sed -e 's/^.*\///'`; \
197 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
198 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
199 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
200 done
231201 uninstall-man1:
232202 @$(NORMAL_UNINSTALL)
233 @list=''; test -n "$(man1dir)" || exit 0; \
234 files=`{ for i in $$list; do echo "$$i"; done; \
235 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
236 sed -n '/\.1[a-z]*$$/p'; \
237 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
238 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
239 test -z "$$files" || { \
240 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
241 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
203 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
204 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
205 for i in $$l2; do \
206 case "$$i" in \
207 *.1*) list="$$list $$i" ;; \
208 esac; \
209 done; \
210 for i in $$list; do \
211 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
212 case "$$ext" in \
213 1*) ;; \
214 *) ext='1' ;; \
215 esac; \
216 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
217 inst=`echo $$inst | sed -e 's/^.*\///'`; \
218 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
219 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
220 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
221 done
242222 tags: TAGS
243223 TAGS:
244224
247227
248228
249229 distdir: $(DISTFILES)
250 @list='$(MANS)'; if test -n "$$list"; then \
251 list=`for p in $$list; do \
252 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
253 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
254 if test -n "$$list" && \
255 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
256 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
257 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
258 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
259 echo " typically \`make maintainer-clean' will remove them" >&2; \
260 exit 1; \
261 else :; fi; \
262 else :; fi
263230 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
264231 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
265232 list='$(DISTFILES)'; \
275242 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
276243 if test -d $$d/$$file; then \
277244 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
278 if test -d "$(distdir)/$$file"; then \
279 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
245 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
246 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
280247 fi; \
281 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
282 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
283 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
284 fi; \
285 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
248 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
286249 else \
287 test -f "$(distdir)/$$file" \
288 || cp -p $$d/$$file "$(distdir)/$$file" \
250 test -f $(distdir)/$$file \
251 || cp -p $$d/$$file $(distdir)/$$file \
289252 || exit 1; \
290253 fi; \
291254 done
316279
317280 distclean-generic:
318281 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
319 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
320282
321283 maintainer-clean-generic:
322284 @echo "This command is intended for maintainers to use"
335297
336298 html: html-am
337299
338 html-am:
339
340300 info: info-am
341301
342302 info-am:
345305
346306 install-dvi: install-dvi-am
347307
348 install-dvi-am:
349
350308 install-exec-am:
351309
352310 install-html: install-html-am
353311
354 install-html-am:
355
356312 install-info: install-info-am
357313
358 install-info-am:
359
360314 install-man: install-man1
361315
362316 install-pdf: install-pdf-am
363317
364 install-pdf-am:
365
366318 install-ps: install-ps-am
367
368 install-ps-am:
369319
370320 installcheck-am:
371321
402352 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
403353 uninstall-am uninstall-man uninstall-man1
404354
405
406355 # Tell versions [3.59,3.63) of GNU make to not export all variables.
407356 # Otherwise a system limit (for SysV at least) may be exceeded.
408357 .NOEXPORT:
(No changes)
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
22
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
6 # 2008, 2009 Free Software Foundation, Inc.
3 scriptversion=2006-05-10.23
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
6 # Free Software Foundation, Inc.
77 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
88
99 # This program is free software; you can redistribute it and/or modify
1717 # GNU General Public License for more details.
1818
1919 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
2123
2224 # As a special exception to the GNU General Public License, if you
2325 # distribute this file as part of a program that contains a
8688 tar try tar, gnutar, gtar, then tar without non-portable flags
8789 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
8890
89 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
90 \`g' are ignored when checking the name.
91
9291 Send bug reports to <bug-automake@gnu.org>."
9392 exit $?
9493 ;;
106105
107106 esac
108107
109 # normalize program name to check for.
110 program=`echo "$1" | sed '
111 s/^gnu-//; t
112 s/^gnu//; t
113 s/^g//; t'`
114
115108 # Now exit if we have it, but it failed. Also exit now if we
116109 # don't have it and --version was passed (most likely to detect
117 # the program). This is about non-GNU programs, so use $1 not
118 # $program.
110 # the program).
119111 case $1 in
120 lex*|yacc*)
112 lex|yacc)
121113 # Not GNU programs, they don't have --version.
122114 ;;
123115
124 tar*)
116 tar)
125117 if test -n "$run"; then
126118 echo 1>&2 "ERROR: \`tar' requires --run"
127119 exit 1
145137
146138 # If it does not exist, or fails to run (possibly an outdated version),
147139 # try to emulate it.
148 case $program in
140 case $1 in
149141 aclocal*)
150142 echo 1>&2 "\
151143 WARNING: \`$1' is $msg. You should only need it if
155147 touch aclocal.m4
156148 ;;
157149
158 autoconf*)
150 autoconf)
159151 echo 1>&2 "\
160152 WARNING: \`$1' is $msg. You should only need it if
161153 you modified \`${configure_ac}'. You might want to install the
164156 touch configure
165157 ;;
166158
167 autoheader*)
159 autoheader)
168160 echo 1>&2 "\
169161 WARNING: \`$1' is $msg. You should only need it if
170162 you modified \`acconfig.h' or \`${configure_ac}'. You might want
194186 while read f; do touch "$f"; done
195187 ;;
196188
197 autom4te*)
189 autom4te)
198190 echo 1>&2 "\
199191 WARNING: \`$1' is needed, but is $msg.
200192 You might have modified some files without having the
217209 fi
218210 ;;
219211
220 bison*|yacc*)
212 bison|yacc)
221213 echo 1>&2 "\
222214 WARNING: \`$1' $msg. You should only need it if
223215 you modified a \`.y' file. You may need the \`Bison' package
247239 fi
248240 ;;
249241
250 lex*|flex*)
242 lex|flex)
251243 echo 1>&2 "\
252244 WARNING: \`$1' is $msg. You should only need it if
253245 you modified a \`.l' file. You may need the \`Flex' package
270262 fi
271263 ;;
272264
273 help2man*)
265 help2man)
274266 echo 1>&2 "\
275267 WARNING: \`$1' is $msg. You should only need it if
276268 you modified a dependency of a manual page. You may need the
284276 else
285277 test -z "$file" || exec >$file
286278 echo ".ab help2man is required to generate this page"
287 exit $?
288 fi
289 ;;
290
291 makeinfo*)
279 exit 1
280 fi
281 ;;
282
283 makeinfo)
292284 echo 1>&2 "\
293285 WARNING: \`$1' is $msg. You should only need it if
294286 you modified a \`.texi' or \`.texinfo' file, or any other file
317309 touch $file
318310 ;;
319311
320 tar*)
312 tar)
321313 shift
322314
323315 # We have already tried tar in the generic part.
370362 # eval: (add-hook 'write-file-hooks 'time-stamp)
371363 # time-stamp-start: "scriptversion="
372364 # time-stamp-format: "%:y-%02m-%02d.%02H"
373 # time-stamp-time-zone: "UTC"
374 # time-stamp-end: "; # UTC"
365 # time-stamp-end: "$"
375366 # End:
(No changes)
00 #! /bin/sh
11 # ylwrap - wrapper for lex/yacc invocations.
22
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
6 # 2007, 2009 Free Software Foundation, Inc.
3 scriptversion=2005-05-14.22
4
5 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
6 # Free Software Foundation, Inc.
77 #
88 # Written by Tom Tromey <tromey@cygnus.com>.
99 #
1818 # GNU General Public License for more details.
1919 #
2020 # You should have received a copy of the GNU General Public License
21 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 # 02110-1301, USA.
2224
2325 # As a special exception to the GNU General Public License, if you
2426 # distribute this file as part of a program that contains a
98100 # FIXME: add hostname here for parallel makes that run commands on
99101 # other machines. But that might take us over the 14-char limit.
100102 dirname=ylwrap$$
101 trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
103 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
102104 mkdir $dirname || exit 1
103105
104106 cd $dirname
105107
106108 case $# in
107 0) "$prog" "$input" ;;
108 *) "$prog" "$@" "$input" ;;
109 0) $prog "$input" ;;
110 *) $prog "$@" "$input" ;;
109111 esac
110112 ret=$?
111113
216218 # eval: (add-hook 'write-file-hooks 'time-stamp)
217219 # time-stamp-start: "scriptversion="
218220 # time-stamp-format: "%:y-%02m-%02d.%02H"
219 # time-stamp-time-zone: "UTC"
220 # time-stamp-end: "; # UTC"
221 # time-stamp-end: "$"
221222 # End: